From d745655063f461a1c4d8a6df238f003fe4122033 Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Wed, 14 Aug 2024 23:25:42 +0300 Subject: [PATCH] Regenerate gem RBI files --- sorbet/rbi/gems/aasm@5.5.0.rbi | 16 +- sorbet/rbi/gems/actioncable@7.1.5.1.rbi | 1122 +- sorbet/rbi/gems/actionmailbox@7.1.5.1.rbi | 1189 +- sorbet/rbi/gems/actionmailer@7.1.5.1.rbi | 745 +- sorbet/rbi/gems/actionpack@7.1.5.1.rbi | 6625 +++--- sorbet/rbi/gems/actiontext@7.1.5.1.rbi | 999 +- sorbet/rbi/gems/actionview@7.1.5.1.rbi | 4226 ++-- sorbet/rbi/gems/activejob@7.1.5.1.rbi | 796 +- .../activemodel-serializers-xml@1.0.3.rbi | 17 +- sorbet/rbi/gems/activemodel@7.1.5.1.rbi | 1587 +- .../gems/activerecord-typedstore@1.6.0.rbi | 6 +- sorbet/rbi/gems/activerecord@7.1.5.1.rbi | 13466 +++++------ sorbet/rbi/gems/activeresource@6.1.4.rbi | 257 +- sorbet/rbi/gems/activestorage@7.1.5.1.rbi | 1998 +- sorbet/rbi/gems/activesupport@7.1.5.1.rbi | 6007 ++--- sorbet/rbi/gems/addressable@2.8.7.rbi | 37 +- sorbet/rbi/gems/ansi@1.5.0.rbi | 12 +- sorbet/rbi/gems/ast@2.4.2.rbi | 11 +- sorbet/rbi/gems/base64@0.2.0.rbi | 28 +- sorbet/rbi/gems/bcrypt@3.1.20.rbi | 2 +- sorbet/rbi/gems/benchmark@0.4.0.rbi | 90 +- sorbet/rbi/gems/bigdecimal@3.1.9.rbi | 14 +- sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi | 459 +- sorbet/rbi/gems/config@5.5.2.rbi | 4 +- sorbet/rbi/gems/connection_pool@2.5.0.rbi | 104 +- sorbet/rbi/gems/date@3.4.1.rbi | 32 +- sorbet/rbi/gems/drb@2.2.1.rbi | 50 +- sorbet/rbi/gems/erubi@1.13.1.rbi | 48 +- sorbet/rbi/gems/faraday@2.9.0.rbi | 447 +- sorbet/rbi/gems/frozen_record@0.27.4.rbi | 50 +- sorbet/rbi/gems/globalid@1.2.1.rbi | 32 +- sorbet/rbi/gems/google-protobuf@4.29.3.rbi | 208 +- sorbet/rbi/gems/graphql@2.4.8.rbi | 7978 +++---- sorbet/rbi/gems/i18n@1.14.6.rbi | 97 +- sorbet/rbi/gems/identity_cache@1.6.3.rbi | 6 +- sorbet/rbi/gems/json@2.9.1.rbi | 179 +- sorbet/rbi/gems/json_api_client@1.23.0.rbi | 178 +- sorbet/rbi/gems/kramdown@2.5.1.rbi | 141 +- sorbet/rbi/gems/kredis@1.7.0.rbi | 246 +- sorbet/rbi/gems/logger@1.6.5.rbi | 154 +- sorbet/rbi/gems/loofah@2.23.1.rbi | 14 +- sorbet/rbi/gems/mail@2.8.1.rbi | 322 +- sorbet/rbi/gems/marcel@1.0.4.rbi | 2 +- sorbet/rbi/gems/minitest-reporters@1.7.1.rbi | 90 +- sorbet/rbi/gems/minitest@5.25.4.rbi | 751 +- sorbet/rbi/gems/mutex_m@0.3.0.rbi | 30 +- sorbet/rbi/gems/net-http@0.4.1.rbi | 1366 +- sorbet/rbi/gems/net-imap@0.5.0.rbi | 476 +- sorbet/rbi/gems/net-pop@0.1.2.rbi | 14 +- sorbet/rbi/gems/net-protocol@0.2.2.rbi | 136 +- sorbet/rbi/gems/net-smtp@0.5.0.rbi | 18 +- sorbet/rbi/gems/netrc@0.11.0.rbi | 18 + sorbet/rbi/gems/nokogiri@1.18.2.rbi | 2270 +- sorbet/rbi/gems/ostruct@0.6.0.rbi | 346 +- sorbet/rbi/gems/parser@3.3.7.0.rbi | 2134 +- sorbet/rbi/gems/pp@0.6.2.rbi | 2 +- sorbet/rbi/gems/prism@1.3.0.rbi | 12054 +++++----- sorbet/rbi/gems/psych@5.2.3.rbi | 60 +- sorbet/rbi/gems/public_suffix@6.0.1.rbi | 27 +- sorbet/rbi/gems/racc@1.8.1.rbi | 4 +- sorbet/rbi/gems/rack-session@2.0.0.rbi | 20 +- sorbet/rbi/gems/rack-test@2.1.0.rbi | 84 +- sorbet/rbi/gems/rack@3.1.8.rbi | 132 +- sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi | 6 +- .../rbi/gems/rails-html-sanitizer@1.6.1.rbi | 365 +- sorbet/rbi/gems/railties@7.1.5.1.rbi | 2276 +- sorbet/rbi/gems/rainbow@3.1.1.rbi | 24 +- sorbet/rbi/gems/rake@13.2.1.rbi | 432 +- sorbet/rbi/gems/rbi@0.2.4.rbi | 92 +- sorbet/rbi/gems/rbs@3.8.1.rbi | 3540 +-- sorbet/rbi/gems/rdoc@6.11.0.rbi | 380 +- sorbet/rbi/gems/redis-client@0.23.2.rbi | 750 +- sorbet/rbi/gems/redis@5.0.8.rbi | 2 +- sorbet/rbi/gems/regexp_parser@2.10.0.rbi | 1950 +- sorbet/rbi/gems/reline@0.6.0.rbi | 1780 +- sorbet/rbi/gems/rexml@3.3.9.rbi | 37 +- sorbet/rbi/gems/rubocop-ast@1.37.0.rbi | 3415 ++- sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi | 2291 +- sorbet/rbi/gems/rubocop-sorbet@0.8.7.rbi | 12 +- sorbet/rbi/gems/rubocop@1.70.0.rbi | 19195 ++++++++-------- sorbet/rbi/gems/ruby-lsp@0.23.7.rbi | 48 +- sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi | 21 +- sorbet/rbi/gems/securerandom@0.4.0.rbi | 12 +- sorbet/rbi/gems/shopify-money@2.2.2.rbi | 989 - sorbet/rbi/gems/shopify-money@3.0.0.rbi | 44 +- sorbet/rbi/gems/sidekiq@7.3.8.rbi | 959 +- sorbet/rbi/gems/smart_properties@1.17.0.rbi | 1 + sorbet/rbi/gems/spoom@1.5.2.rbi | 86 +- sorbet/rbi/gems/sprockets@4.2.1.rbi | 45 +- sorbet/rbi/gems/sqlite3@2.5.0.rbi | 614 +- sorbet/rbi/gems/state_machines@0.6.0.rbi | 16 +- sorbet/rbi/gems/thor@1.3.2.rbi | 106 +- sorbet/rbi/gems/timeout@0.4.1.rbi | 42 +- sorbet/rbi/gems/tzinfo@2.0.6.rbi | 45 +- .../rbi/gems/unicode-display_width@3.1.4.rbi | 64 +- sorbet/rbi/gems/unicode-emoji@4.0.4.rbi | 112 +- sorbet/rbi/gems/uri@0.13.0.rbi | 491 +- sorbet/rbi/gems/webmock@3.24.0.rbi | 55 +- sorbet/rbi/gems/websocket-driver@0.7.6.rbi | 74 + .../rbi/gems/websocket-extensions@0.1.5.rbi | 2 +- sorbet/rbi/gems/xpath@3.2.0.rbi | 44 +- sorbet/rbi/gems/yard-sorbet@0.9.0.rbi | 11 +- sorbet/rbi/gems/yard@0.9.37.rbi | 1029 +- sorbet/rbi/gems/zeitwerk@2.6.18.rbi | 42 +- 104 files changed, 55573 insertions(+), 55959 deletions(-) delete mode 100644 sorbet/rbi/gems/shopify-money@2.2.2.rbi diff --git a/sorbet/rbi/gems/aasm@5.5.0.rbi b/sorbet/rbi/gems/aasm@5.5.0.rbi index 3c35f53a0..d86b2be75 100644 --- a/sorbet/rbi/gems/aasm@5.5.0.rbi +++ b/sorbet/rbi/gems/aasm@5.5.0.rbi @@ -114,7 +114,7 @@ class AASM::Base # make sure to create a (named) scope for each state # - # source://aasm//lib/aasm/persistence/base.rb#60 + # source://aasm//lib/aasm/base.rb#90 def state(*args); end # Returns the value of attribute state_machine. @@ -135,7 +135,7 @@ class AASM::Base # [0] state # [1..] state # - # source://aasm//lib/aasm/base.rb#90 + # source://aasm//lib/aasm/persistence/base.rb#66 def state_without_scope(*args); end # source://aasm//lib/aasm/base.rb#173 @@ -788,7 +788,7 @@ class AASM::Core::State # source://aasm//lib/aasm/core/state.rb#72 def for_select; end - # source://aasm//lib/aasm/core/state.rb#67 + # source://aasm//lib/aasm/core/state.rb#70 def human_name; end # source://aasm//lib/aasm/core/state.rb#67 @@ -871,7 +871,7 @@ class AASM::Core::Transition # Returns the value of attribute opts. # - # source://aasm//lib/aasm/core/transition.rb#7 + # source://aasm//lib/aasm/core/transition.rb#8 def options; end # Returns the value of attribute opts. @@ -1288,13 +1288,13 @@ class AASM::StateMachineStore # source://aasm//lib/aasm/state_machine_store.rb#43 def initialize; end - # source://aasm//lib/aasm/state_machine_store.rb#55 + # source://aasm//lib/aasm/state_machine_store.rb#58 def [](name); end # source://aasm//lib/aasm/state_machine_store.rb#47 def clone; end - # source://aasm//lib/aasm/state_machine_store.rb#60 + # source://aasm//lib/aasm/state_machine_store.rb#63 def keys; end # source://aasm//lib/aasm/state_machine_store.rb#55 @@ -1307,13 +1307,13 @@ class AASM::StateMachineStore def register(name, machine, force = T.unsafe(nil)); end class << self - # source://aasm//lib/aasm/state_machine_store.rb#27 + # source://aasm//lib/aasm/state_machine_store.rb#36 def [](klass, fallback = T.unsafe(nil)); end # do not overwrite existing state machines, which could have been created by # inheritance, see AASM::ClassMethods method inherited # - # source://aasm//lib/aasm/state_machine_store.rb#13 + # source://aasm//lib/aasm/state_machine_store.rb#25 def []=(klass, overwrite = T.unsafe(nil), state_machine = T.unsafe(nil)); end # source://aasm//lib/aasm/state_machine_store.rb#27 diff --git a/sorbet/rbi/gems/actioncable@7.1.5.1.rbi b/sorbet/rbi/gems/actioncable@7.1.5.1.rbi index a3dbfbcf5..cc4d47731 100644 --- a/sorbet/rbi/gems/actioncable@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actioncable@7.1.5.1.rbi @@ -4,40 +4,41 @@ # This is an autogenerated file for types exported from the `actioncable` gem. # Please instead update this file by running `bin/tapioca gem actioncable`. + # :markup: markdown # :include: ../README.md # -# source://actioncable/lib/action_cable.rb#48 +# source://actioncable//lib/action_cable.rb#48 module ActionCable private # Singleton instance of the server # - # source://actioncable/lib/action_cable.rb#71 + # source://actioncable//lib/action_cable.rb#71 def server; end class << self - # source://actioncable/lib/action_cable/deprecator.rb#4 + # source://actioncable//lib/action_cable/deprecator.rb#4 def deprecator; end # Returns the currently loaded version of Action Cable as a +Gem::Version+. # - # source://actioncable/lib/action_cable/gem_version.rb#5 + # source://actioncable//lib/action_cable/gem_version.rb#5 def gem_version; end # Singleton instance of the server # - # source://actioncable/lib/action_cable.rb#71 + # source://actioncable//lib/action_cable.rb#71 def server; end # Returns the currently loaded version of Action Cable as a +Gem::Version+. # - # source://actioncable/lib/action_cable/version.rb#7 + # source://actioncable//lib/action_cable/version.rb#7 def version; end end end -# source://actioncable/lib/action_cable/channel/base.rb#8 +# source://actioncable//lib/action_cable/channel/base.rb#8 module ActionCable::Channel; end # = Action Cable \Channel \Base @@ -132,7 +133,7 @@ module ActionCable::Channel; end # client-side, the Channel#rejected callback will get invoked when # the server rejects the subscription request. # -# source://actioncable/lib/action_cable/channel/base.rb#100 +# source://actioncable//lib/action_cable/channel/base.rb#100 class ActionCable::Channel::Base include ::ActiveSupport::Callbacks include ::ActionCable::Channel::Callbacks @@ -151,178 +152,178 @@ class ActionCable::Channel::Base # @return [Base] a new instance of Base # - # source://actioncable/lib/action_cable/channel/base.rb#147 + # source://actioncable//lib/action_cable/channel/base.rb#142 def initialize(connection, identifier, params = T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _run_subscribe_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _run_unsubscribe_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks; end - # source://actioncable/lib/action_cable/channel/broadcasting.rb#11 + # source://actioncable//lib/action_cable/channel/base.rb#105 def broadcast_to(model, message, &block); end - # source://actioncable/lib/action_cable/channel/broadcasting.rb#11 + # source://actioncable//lib/action_cable/channel/base.rb#105 def broadcasting_for(model, &block); end - # source://actioncable/lib/action_cable/channel/naming.rb#23 + # source://actioncable//lib/action_cable/channel/base.rb#104 def channel_name(&block); end # Returns the value of attribute connection. # - # source://actioncable/lib/action_cable/channel/base.rb#108 + # source://actioncable//lib/action_cable/channel/base.rb#108 def connection; end # Returns the value of attribute identifier. # - # source://actioncable/lib/action_cable/channel/base.rb#108 + # source://actioncable//lib/action_cable/channel/base.rb#108 def identifier; end - # source://actioncable/lib/action_cable/channel/base.rb#109 + # source://actioncable//lib/action_cable/channel/base.rb#109 def logger(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute params. # - # source://actioncable/lib/action_cable/channel/base.rb#108 + # source://actioncable//lib/action_cable/channel/base.rb#108 def params; end # Extract the action name from the passed data and process it via the channel. The process will ensure # that the action requested is a public method on the channel declared by the user (so not one of the callbacks # like #subscribed). # - # source://actioncable/lib/action_cable/channel/base.rb#167 + # source://actioncable//lib/action_cable/channel/base.rb#142 def perform_action(data); end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers?; end # This method is called after subscription has been added to the connection # and confirms or rejects the subscription. # - # source://actioncable/lib/action_cable/channel/base.rb#182 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscribe_to_channel; end # Called by the cable connection when it's cut, so the channel has a chance to cleanup with callbacks. # This method is not intended to be called directly by the user. Instead, override the #unsubscribed callback. # - # source://actioncable/lib/action_cable/channel/base.rb#193 + # source://actioncable//lib/action_cable/channel/base.rb#142 def unsubscribe_from_channel; end private - # source://actioncable/lib/action_cable/channel/base.rb#281 + # source://actioncable//lib/action_cable/channel/base.rb#142 def action_signature(action, data); end - # source://actioncable/lib/action_cable/channel/base.rb#233 + # source://actioncable//lib/action_cable/channel/base.rb#142 def defer_subscription_confirmation!; end # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/base.rb#237 + # source://actioncable//lib/action_cable/channel/base.rb#142 def defer_subscription_confirmation?; end - # source://actioncable/lib/action_cable/channel/base.rb#253 + # source://actioncable//lib/action_cable/channel/base.rb#142 def delegate_connection_identifiers; end - # source://actioncable/lib/action_cable/channel/base.rb#269 + # source://actioncable//lib/action_cable/channel/base.rb#142 def dispatch_action(action, data); end - # source://actioncable/lib/action_cable/channel/base.rb#227 + # source://actioncable//lib/action_cable/channel/base.rb#142 def ensure_confirmation_sent; end - # source://actioncable/lib/action_cable/channel/base.rb#261 + # source://actioncable//lib/action_cable/channel/base.rb#142 def extract_action(data); end - # source://actioncable/lib/action_cable/channel/base.rb#292 + # source://actioncable//lib/action_cable/channel/base.rb#142 def parameter_filter; end # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/base.rb#265 + # source://actioncable//lib/action_cable/channel/base.rb#142 def processable_action?(action); end - # source://actioncable/lib/action_cable/channel/base.rb#245 + # source://actioncable//lib/action_cable/channel/base.rb#142 def reject; end - # source://actioncable/lib/action_cable/channel/base.rb#307 + # source://actioncable//lib/action_cable/channel/base.rb#142 def reject_subscription; end # Called once a consumer has become a subscriber of the channel. Usually the place to set up any streams # you want this channel to be sending to the subscriber. # - # source://actioncable/lib/action_cable/channel/base.rb#202 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscribed; end # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/base.rb#241 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscription_confirmation_sent?; end # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/base.rb#249 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscription_rejected?; end # Transmit a hash of data to the subscriber. The hash will automatically be wrapped in a JSON envelope with # the proper channel identifier marked as the recipient. # - # source://actioncable/lib/action_cable/channel/base.rb#214 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit(data, via: T.unsafe(nil)); end - # source://actioncable/lib/action_cable/channel/base.rb#296 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit_subscription_confirmation; end - # source://actioncable/lib/action_cable/channel/base.rb#312 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit_subscription_rejection; end # Called once a consumer has cut its cable connection. Can be used for cleaning up connections or marking # users as offline or the like. # - # source://actioncable/lib/action_cable/channel/base.rb#208 + # source://actioncable//lib/action_cable/channel/base.rb#142 def unsubscribed; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks=(value); end # A list of method names that should be considered actions. This @@ -334,25 +335,25 @@ class ActionCable::Channel::Base # ==== Returns # * Set - A set of all methods that should be considered actions. # - # source://actioncable/lib/action_cable/channel/base.rb#120 + # source://actioncable//lib/action_cable/channel/base.rb#120 def action_methods; end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers; end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers=(value); end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers?; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers?; end private @@ -361,28 +362,28 @@ class ActionCable::Channel::Base # them. ::clear_action_methods! allows you to do that, so next time # you run action_methods, they will be recalculated. # - # source://actioncable/lib/action_cable/channel/base.rb#136 + # source://actioncable//lib/action_cable/channel/base.rb#136 def clear_action_methods!; end # Refresh the cached action_methods when a new action_method is added. # - # source://actioncable/lib/action_cable/channel/base.rb#141 + # source://actioncable//lib/action_cable/channel/base.rb#141 def method_added(name); end end end -# source://actioncable/lib/action_cable/channel/broadcasting.rb#7 +# source://actioncable//lib/action_cable/channel/broadcasting.rb#7 module ActionCable::Channel::Broadcasting extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionCable::Channel::Broadcasting::ClassMethods end -# source://actioncable/lib/action_cable/channel/broadcasting.rb#14 +# source://actioncable//lib/action_cable/channel/broadcasting.rb#14 module ActionCable::Channel::Broadcasting::ClassMethods # Broadcast a hash to a unique broadcasting for this model in this channel. # - # source://actioncable/lib/action_cable/channel/broadcasting.rb#16 + # source://actioncable//lib/action_cable/channel/broadcasting.rb#16 def broadcast_to(model, message); end # Returns a unique broadcasting identifier for this model in this channel: @@ -392,10 +393,10 @@ module ActionCable::Channel::Broadcasting::ClassMethods # You can pass any object as a target (e.g. Active Record model), and it # would be serialized into a string under the hood. # - # source://actioncable/lib/action_cable/channel/broadcasting.rb#26 + # source://actioncable//lib/action_cable/channel/broadcasting.rb#26 def broadcasting_for(model); end - # source://actioncable/lib/action_cable/channel/broadcasting.rb#30 + # source://actioncable//lib/action_cable/channel/broadcasting.rb#30 def serialize_broadcasting(object); end end @@ -427,7 +428,7 @@ end # end # end # -# source://actioncable/lib/action_cable/channel/callbacks.rb#35 +# source://actioncable//lib/action_cable/channel/callbacks.rb#35 module ActionCable::Channel::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -450,7 +451,7 @@ module ActionCable::Channel::Callbacks end end -# source://actioncable/lib/action_cable/channel/callbacks.rb#44 +# source://actioncable//lib/action_cable/channel/callbacks.rb#44 module ActionCable::Channel::Callbacks::ClassMethods # This callback will be triggered after the Base#subscribed method is # called, even if the subscription was rejected with the Base#reject @@ -461,16 +462,16 @@ module ActionCable::Channel::Callbacks::ClassMethods # # after_subscribe :my_method, unless: :subscription_rejected? # - # source://actioncable/lib/action_cable/channel/callbacks.rb#58 + # source://actioncable//lib/action_cable/channel/callbacks.rb#58 def after_subscribe(*methods, &block); end - # source://actioncable/lib/action_cable/channel/callbacks.rb#67 + # source://actioncable//lib/action_cable/channel/callbacks.rb#67 def after_unsubscribe(*methods, &block); end - # source://actioncable/lib/action_cable/channel/callbacks.rb#45 + # source://actioncable//lib/action_cable/channel/callbacks.rb#45 def before_subscribe(*methods, &block); end - # source://actioncable/lib/action_cable/channel/callbacks.rb#63 + # source://actioncable//lib/action_cable/channel/callbacks.rb#63 def before_unsubscribe(*methods, &block); end # This callback will be triggered after the Base#subscribed method is @@ -482,10 +483,10 @@ module ActionCable::Channel::Callbacks::ClassMethods # # after_subscribe :my_method, unless: :subscription_rejected? # - # source://actioncable/lib/action_cable/channel/callbacks.rb#58 + # source://actioncable//lib/action_cable/channel/callbacks.rb#61 def on_subscribe(*methods, &block); end - # source://actioncable/lib/action_cable/channel/callbacks.rb#67 + # source://actioncable//lib/action_cable/channel/callbacks.rb#70 def on_unsubscribe(*methods, &block); end end @@ -495,96 +496,96 @@ end # Add public aliases for +subscription_confirmation_sent?+ and # +subscription_rejected?+. # -# source://actioncable/lib/action_cable/channel/test_case.rb#23 +# source://actioncable//lib/action_cable/channel/test_case.rb#23 module ActionCable::Channel::ChannelStub # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/test_case.rb#24 + # source://actioncable//lib/action_cable/channel/test_case.rb#24 def confirmed?; end # @return [Boolean] # - # source://actioncable/lib/action_cable/channel/test_case.rb#28 + # source://actioncable//lib/action_cable/channel/test_case.rb#28 def rejected?; end # Make periodic timers no-op # - # source://actioncable/lib/action_cable/channel/test_case.rb#45 + # source://actioncable//lib/action_cable/channel/test_case.rb#45 def start_periodic_timers; end - # source://actioncable/lib/action_cable/channel/test_case.rb#36 + # source://actioncable//lib/action_cable/channel/test_case.rb#36 def stop_all_streams; end # Make periodic timers no-op # - # source://actioncable/lib/action_cable/channel/test_case.rb#45 + # source://actioncable//lib/action_cable/channel/test_case.rb#46 def stop_periodic_timers; end - # source://actioncable/lib/action_cable/channel/test_case.rb#32 + # source://actioncable//lib/action_cable/channel/test_case.rb#32 def stream_from(broadcasting, *_arg1); end - # source://actioncable/lib/action_cable/channel/test_case.rb#40 + # source://actioncable//lib/action_cable/channel/test_case.rb#40 def streams; end end -# source://actioncable/lib/action_cable/channel/test_case.rb#49 +# source://actioncable//lib/action_cable/channel/test_case.rb#49 class ActionCable::Channel::ConnectionStub # @return [ConnectionStub] a new instance of ConnectionStub # - # source://actioncable/lib/action_cable/channel/test_case.rb#54 + # source://actioncable//lib/action_cable/channel/test_case.rb#54 def initialize(identifiers = T.unsafe(nil)); end - # source://actioncable/lib/action_cable/channel/test_case.rb#52 + # source://actioncable//lib/action_cable/channel/test_case.rb#52 def config(*_arg0, **_arg1, &_arg2); end - # source://actioncable/lib/action_cable/channel/test_case.rb#71 + # source://actioncable//lib/action_cable/channel/test_case.rb#71 def connection_identifier; end # Returns the value of attribute identifiers. # - # source://actioncable/lib/action_cable/channel/test_case.rb#50 + # source://actioncable//lib/action_cable/channel/test_case.rb#50 def identifiers; end # Returns the value of attribute logger. # - # source://actioncable/lib/action_cable/channel/test_case.rb#50 + # source://actioncable//lib/action_cable/channel/test_case.rb#50 def logger; end - # source://actioncable/lib/action_cable/channel/test_case.rb#52 + # source://actioncable//lib/action_cable/channel/test_case.rb#52 def pubsub(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/channel/test_case.rb#50 + # source://actioncable//lib/action_cable/channel/test_case.rb#50 def server; end # Returns the value of attribute subscriptions. # - # source://actioncable/lib/action_cable/channel/test_case.rb#50 + # source://actioncable//lib/action_cable/channel/test_case.rb#50 def subscriptions; end # Returns the value of attribute transmissions. # - # source://actioncable/lib/action_cable/channel/test_case.rb#50 + # source://actioncable//lib/action_cable/channel/test_case.rb#50 def transmissions; end - # source://actioncable/lib/action_cable/channel/test_case.rb#67 + # source://actioncable//lib/action_cable/channel/test_case.rb#67 def transmit(cable_message); end private - # source://actioncable/lib/action_cable/channel/test_case.rb#76 + # source://actioncable//lib/action_cable/channel/test_case.rb#76 def connection_gid(ids); end end -# source://actioncable/lib/action_cable/channel/naming.rb#5 +# source://actioncable//lib/action_cable/channel/naming.rb#5 module ActionCable::Channel::Naming extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionCable::Channel::Naming::ClassMethods end -# source://actioncable/lib/action_cable/channel/naming.rb#8 +# source://actioncable//lib/action_cable/channel/naming.rb#8 module ActionCable::Channel::Naming::ClassMethods # Returns the name of the channel, underscored, without the Channel ending. # If the channel is in a namespace, then the namespaces are represented by single @@ -594,19 +595,19 @@ module ActionCable::Channel::Naming::ClassMethods # Chats::AppearancesChannel.channel_name # => 'chats:appearances' # FooChats::BarAppearancesChannel.channel_name # => 'foo_chats:bar_appearances' # - # source://actioncable/lib/action_cable/channel/naming.rb#16 + # source://actioncable//lib/action_cable/channel/naming.rb#16 def channel_name; end end -# source://actioncable/lib/action_cable/channel/test_case.rb#10 +# source://actioncable//lib/action_cable/channel/test_case.rb#10 class ActionCable::Channel::NonInferrableChannelError < ::StandardError # @return [NonInferrableChannelError] a new instance of NonInferrableChannelError # - # source://actioncable/lib/action_cable/channel/test_case.rb#11 + # source://actioncable//lib/action_cable/channel/test_case.rb#11 def initialize(name); end end -# source://actioncable/lib/action_cable/channel/periodic_timers.rb#5 +# source://actioncable//lib/action_cable/channel/periodic_timers.rb#5 module ActionCable::Channel::PeriodicTimers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -616,16 +617,16 @@ module ActionCable::Channel::PeriodicTimers private - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#56 + # source://actioncable//lib/action_cable/channel/periodic_timers.rb#56 def active_periodic_timers; end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#66 + # source://actioncable//lib/action_cable/channel/periodic_timers.rb#66 def start_periodic_timer(callback, every:); end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#60 + # source://actioncable//lib/action_cable/channel/periodic_timers.rb#60 def start_periodic_timers; end - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#72 + # source://actioncable//lib/action_cable/channel/periodic_timers.rb#72 def stop_periodic_timers; end module GeneratedClassMethods @@ -639,7 +640,7 @@ module ActionCable::Channel::PeriodicTimers end end -# source://actioncable/lib/action_cable/channel/periodic_timers.rb#15 +# source://actioncable//lib/action_cable/channel/periodic_timers.rb#15 module ActionCable::Channel::PeriodicTimers::ClassMethods # Periodically performs a task on the channel, like updating an online # user counter, polling a backend for new status messages, sending @@ -656,7 +657,7 @@ module ActionCable::Channel::PeriodicTimers::ClassMethods # transmit action: :update_count, count: current_count # end # - # source://actioncable/lib/action_cable/channel/periodic_timers.rb#31 + # source://actioncable//lib/action_cable/channel/periodic_timers.rb#31 def periodically(callback_or_method_name = T.unsafe(nil), every:, &block); end end @@ -723,26 +724,26 @@ end # # You can stop streaming from all broadcasts by calling #stop_all_streams. # -# source://actioncable/lib/action_cable/channel/streams.rb#67 +# source://actioncable//lib/action_cable/channel/streams.rb#67 module ActionCable::Channel::Streams extend ::ActiveSupport::Concern - # source://actioncable/lib/action_cable/channel/streams.rb#140 + # source://actioncable//lib/action_cable/channel/streams.rb#140 def pubsub(*_arg0, **_arg1, &_arg2); end # Unsubscribes all streams associated with this channel from the pubsub queue. # - # source://actioncable/lib/action_cable/channel/streams.rb#122 + # source://actioncable//lib/action_cable/channel/streams.rb#122 def stop_all_streams; end # Unsubscribes streams for the model. # - # source://actioncable/lib/action_cable/channel/streams.rb#117 + # source://actioncable//lib/action_cable/channel/streams.rb#117 def stop_stream_for(model); end # Unsubscribes streams from the named broadcasting. # - # source://actioncable/lib/action_cable/channel/streams.rb#108 + # source://actioncable//lib/action_cable/channel/streams.rb#108 def stop_stream_from(broadcasting); end # Start streaming the pubsub queue for the model in this channel. Optionally, you can pass a @@ -752,7 +753,7 @@ module ActionCable::Channel::Streams # Pass coder: ActiveSupport::JSON to decode messages as JSON before passing to the callback. # Defaults to coder: nil which does no decoding, passes raw messages. # - # source://actioncable/lib/action_cable/channel/streams.rb#103 + # source://actioncable//lib/action_cable/channel/streams.rb#103 def stream_for(model, callback = T.unsafe(nil), coder: T.unsafe(nil), &block); end # Start streaming from the named broadcasting pubsub queue. Optionally, you can pass a callback that'll be used @@ -760,13 +761,13 @@ module ActionCable::Channel::Streams # Pass coder: ActiveSupport::JSON to decode messages as JSON before passing to the callback. # Defaults to coder: nil which does no decoding, passes raw messages. # - # source://actioncable/lib/action_cable/channel/streams.rb#78 + # source://actioncable//lib/action_cable/channel/streams.rb#78 def stream_from(broadcasting, callback = T.unsafe(nil), coder: T.unsafe(nil), &block); end # Calls stream_for with the given model if it's present to start streaming, # otherwise rejects the subscription. # - # source://actioncable/lib/action_cable/channel/streams.rb#131 + # source://actioncable//lib/action_cable/channel/streams.rb#131 def stream_or_reject_for(model); end private @@ -780,13 +781,13 @@ module ActionCable::Channel::Streams # so we can no-op when pubsub and connection are both JSON-encoded. # Then we can skip decode+encode if we're just proxying messages. # - # source://actioncable/lib/action_cable/channel/streams.rb#176 + # source://actioncable//lib/action_cable/channel/streams.rb#176 def default_stream_handler(broadcasting, coder:); end - # source://actioncable/lib/action_cable/channel/streams.rb#197 + # source://actioncable//lib/action_cable/channel/streams.rb#197 def identity_handler; end - # source://actioncable/lib/action_cable/channel/streams.rb#181 + # source://actioncable//lib/action_cable/channel/streams.rb#181 def stream_decoder(handler = T.unsafe(nil), coder:); end # May be overridden to add instrumentation, logging, specialized error @@ -794,19 +795,19 @@ module ActionCable::Channel::Streams # # TODO: Tests demonstrating this. # - # source://actioncable/lib/action_cable/channel/streams.rb#160 + # source://actioncable//lib/action_cable/channel/streams.rb#160 def stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end - # source://actioncable/lib/action_cable/channel/streams.rb#189 + # source://actioncable//lib/action_cable/channel/streams.rb#189 def stream_transmitter(handler = T.unsafe(nil), broadcasting:); end - # source://actioncable/lib/action_cable/channel/streams.rb#142 + # source://actioncable//lib/action_cable/channel/streams.rb#142 def streams; end # Always wrap the outermost handler to invoke the user handler on the # worker pool rather than blocking the event loop. # - # source://actioncable/lib/action_cable/channel/streams.rb#148 + # source://actioncable//lib/action_cable/channel/streams.rb#148 def worker_pool_stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end end @@ -910,7 +911,7 @@ end # end # end # -# source://actioncable/lib/action_cable/channel/test_case.rb#186 +# source://actioncable//lib/action_cable/channel/test_case.rb#186 class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionCable::TestHelper @@ -918,34 +919,34 @@ class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionCable::Channel::TestCase::Behavior::ClassMethods - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class; end - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class=(_arg0); end - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class?; end - # source://actioncable/lib/action_cable/channel/test_case.rb#198 + # source://actioncable//lib/action_cable/channel/test_case.rb#198 def connection; end - # source://actioncable/lib/action_cable/channel/test_case.rb#198 + # source://actioncable//lib/action_cable/channel/test_case.rb#198 def subscription; end class << self - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class; end - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class=(value); end - # source://actioncable/lib/action_cable/channel/test_case.rb#196 + # source://actioncable//lib/action_cable/channel/test_case.rb#196 def _channel_class?; end end end -# source://actioncable/lib/action_cable/channel/test_case.rb#187 +# source://actioncable//lib/action_cable/channel/test_case.rb#187 module ActionCable::Channel::TestCase::Behavior include ::ActionCable::TestHelper extend ::ActiveSupport::Concern @@ -956,13 +957,13 @@ module ActionCable::Channel::TestCase::Behavior mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods mixes_in_class_methods ::ActionCable::Channel::TestCase::Behavior::ClassMethods - # source://actioncable/lib/action_cable/channel/test_case.rb#278 + # source://actioncable//lib/action_cable/channel/test_case.rb#278 def assert_broadcast_on(stream_or_object, *args); end # Enhance TestHelper assertions to handle non-String # broadcastings # - # source://actioncable/lib/action_cable/channel/test_case.rb#274 + # source://actioncable//lib/action_cable/channel/test_case.rb#274 def assert_broadcasts(stream_or_object, *args); end # Asserts that the specified stream has been started. @@ -972,7 +973,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_stream 'messages' # end # - # source://actioncable/lib/action_cable/channel/test_case.rb#300 + # source://actioncable//lib/action_cable/channel/test_case.rb#300 def assert_has_stream(stream); end # Asserts that the specified stream for a model has started. @@ -982,7 +983,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_stream_for User.find(42) # end # - # source://actioncable/lib/action_cable/channel/test_case.rb#311 + # source://actioncable//lib/action_cable/channel/test_case.rb#311 def assert_has_stream_for(object); end # Asserts that no streams have been started. @@ -992,14 +993,14 @@ module ActionCable::Channel::TestCase::Behavior # assert_no_streams # end # - # source://actioncable/lib/action_cable/channel/test_case.rb#289 + # source://actioncable//lib/action_cable/channel/test_case.rb#289 def assert_no_streams; end # Perform action on a channel. # # NOTE: Must be subscribed. # - # source://actioncable/lib/action_cable/channel/test_case.rb#261 + # source://actioncable//lib/action_cable/channel/test_case.rb#261 def perform(action, data = T.unsafe(nil)); end # Set up test connection with the specified identifiers: @@ -1010,30 +1011,30 @@ module ActionCable::Channel::TestCase::Behavior # # stub_connection(user: users[:john], token: 'my-secret-token') # - # source://actioncable/lib/action_cable/channel/test_case.rb#239 + # source://actioncable//lib/action_cable/channel/test_case.rb#239 def stub_connection(identifiers = T.unsafe(nil)); end # Subscribe to the channel under test. Optionally pass subscription parameters as a Hash. # - # source://actioncable/lib/action_cable/channel/test_case.rb#244 + # source://actioncable//lib/action_cable/channel/test_case.rb#244 def subscribe(params = T.unsafe(nil)); end # Returns messages transmitted into channel # - # source://actioncable/lib/action_cable/channel/test_case.rb#267 + # source://actioncable//lib/action_cable/channel/test_case.rb#267 def transmissions; end # Unsubscribe the subscription under test. # - # source://actioncable/lib/action_cable/channel/test_case.rb#253 + # source://actioncable//lib/action_cable/channel/test_case.rb#253 def unsubscribe; end private - # source://actioncable/lib/action_cable/channel/test_case.rb#320 + # source://actioncable//lib/action_cable/channel/test_case.rb#320 def broadcasting_for(stream_or_object); end - # source://actioncable/lib/action_cable/channel/test_case.rb#316 + # source://actioncable//lib/action_cable/channel/test_case.rb#316 def check_subscribed!; end module GeneratedClassMethods @@ -1049,48 +1050,48 @@ module ActionCable::Channel::TestCase::Behavior end end -# source://actioncable/lib/action_cable/channel/test_case.rb#193 +# source://actioncable//lib/action_cable/channel/test_case.rb#193 ActionCable::Channel::TestCase::Behavior::CHANNEL_IDENTIFIER = T.let(T.unsafe(nil), String) -# source://actioncable/lib/action_cable/channel/test_case.rb#203 +# source://actioncable//lib/action_cable/channel/test_case.rb#203 module ActionCable::Channel::TestCase::Behavior::ClassMethods - # source://actioncable/lib/action_cable/channel/test_case.rb#215 + # source://actioncable//lib/action_cable/channel/test_case.rb#215 def channel_class; end # @raise [NonInferrableChannelError] # - # source://actioncable/lib/action_cable/channel/test_case.rb#223 + # source://actioncable//lib/action_cable/channel/test_case.rb#223 def determine_default_channel(name); end - # source://actioncable/lib/action_cable/channel/test_case.rb#204 + # source://actioncable//lib/action_cable/channel/test_case.rb#204 def tests(channel); end end -# source://actioncable/lib/action_cable/connection/identification.rb#6 +# source://actioncable//lib/action_cable/connection/identification.rb#6 module ActionCable::Connection; end -# source://actioncable/lib/action_cable/connection/test_case.rb#20 +# source://actioncable//lib/action_cable/connection/test_case.rb#20 module ActionCable::Connection::Assertions # Asserts that the connection is rejected (via +reject_unauthorized_connection+). # # # Asserts that connection without user_id fails # assert_reject_connection { connect params: { user_id: '' } } # - # source://actioncable/lib/action_cable/connection/test_case.rb#25 + # source://actioncable//lib/action_cable/connection/test_case.rb#25 def assert_reject_connection(&block); end end -# source://actioncable/lib/action_cable/connection/authorization.rb#5 +# source://actioncable//lib/action_cable/connection/authorization.rb#5 module ActionCable::Connection::Authorization # Closes the WebSocket connection if it is open and returns an "unauthorized" reason. # # @raise [UnauthorizedError] # - # source://actioncable/lib/action_cable/connection/authorization.rb#9 + # source://actioncable//lib/action_cable/connection/authorization.rb#9 def reject_unauthorized_connection; end end -# source://actioncable/lib/action_cable/connection/authorization.rb#6 +# source://actioncable//lib/action_cable/connection/authorization.rb#6 class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardError; end # = Action Cable \Connection \Base @@ -1134,7 +1135,7 @@ class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardErro # # Pretty simple, eh? # -# source://actioncable/lib/action_cable/connection/base.rb#48 +# source://actioncable//lib/action_cable/connection/base.rb#48 class ActionCable::Connection::Base include ::ActionCable::Connection::Identification include ::ActionCable::Connection::InternalChannel @@ -1150,230 +1151,230 @@ class ActionCable::Connection::Base # @return [Base] a new instance of Base # - # source://actioncable/lib/action_cable/connection/base.rb#58 + # source://actioncable//lib/action_cable/connection/base.rb#58 def initialize(server, env, coder: T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _run_command_callbacks(&block); end - # source://actioncable/lib/action_cable/connection/base.rb#134 + # source://actioncable//lib/action_cable/connection/base.rb#134 def beat; end # Close the WebSocket connection. # - # source://actioncable/lib/action_cable/connection/base.rb#109 + # source://actioncable//lib/action_cable/connection/base.rb#109 def close(reason: T.unsafe(nil), reconnect: T.unsafe(nil)); end - # source://actioncable/lib/action_cable/connection/base.rb#56 + # source://actioncable//lib/action_cable/connection/base.rb#56 def config(*_arg0, **_arg1, &_arg2); end - # source://actioncable/lib/action_cable/connection/base.rb#90 + # source://actioncable//lib/action_cable/connection/base.rb#90 def dispatch_websocket_message(websocket_message); end # Returns the value of attribute env. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def env; end - # source://actioncable/lib/action_cable/connection/base.rb#56 + # source://actioncable//lib/action_cable/connection/base.rb#56 def event_loop(*_arg0, **_arg1, &_arg2); end - # source://actioncable/lib/action_cable/connection/base.rb#98 + # source://actioncable//lib/action_cable/connection/base.rb#98 def handle_channel_command(payload); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers; end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers=(_arg0); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers?; end - # source://actioncable/lib/action_cable/connection/base.rb#155 + # source://actioncable//lib/action_cable/connection/base.rb#155 def inspect; end # Returns the value of attribute logger. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def logger; end - # source://actioncable/lib/action_cable/connection/base.rb#151 + # source://actioncable//lib/action_cable/connection/base.rb#151 def on_close(reason, code); end - # source://actioncable/lib/action_cable/connection/base.rb#146 + # source://actioncable//lib/action_cable/connection/base.rb#146 def on_error(message); end - # source://actioncable/lib/action_cable/connection/base.rb#142 + # source://actioncable//lib/action_cable/connection/base.rb#142 def on_message(message); end - # source://actioncable/lib/action_cable/connection/base.rb#138 + # source://actioncable//lib/action_cable/connection/base.rb#138 def on_open; end # Called by the server when a new WebSocket connection is established. This configures the callbacks intended for overwriting by the user. # This method should not be called directly -- instead rely upon on the #connect (and #disconnect) callbacks. # - # source://actioncable/lib/action_cable/connection/base.rb#74 + # source://actioncable//lib/action_cable/connection/base.rb#74 def process; end # Returns the value of attribute protocol. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def protocol; end - # source://actioncable/lib/action_cable/connection/base.rb#56 + # source://actioncable//lib/action_cable/connection/base.rb#56 def pubsub(*_arg0, **_arg1, &_arg2); end # Decodes WebSocket messages and dispatches them to subscribed channels. # WebSocket message transfer encoding is always JSON. # - # source://actioncable/lib/action_cable/connection/base.rb#86 + # source://actioncable//lib/action_cable/connection/base.rb#86 def receive(websocket_message); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers?; end # Invoke a method on the connection asynchronously through the pool of thread workers. # - # source://actioncable/lib/action_cable/connection/base.rb#119 + # source://actioncable//lib/action_cable/connection/base.rb#119 def send_async(method, *arguments); end # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def server; end # Return a basic hash of statistics for the connection keyed with identifier, started_at, subscriptions, and request_id. # This can be returned by a health check against the connection. # - # source://actioncable/lib/action_cable/connection/base.rb#125 + # source://actioncable//lib/action_cable/connection/base.rb#125 def statistics; end # Returns the value of attribute subscriptions. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def subscriptions; end - # source://actioncable/lib/action_cable/connection/base.rb#104 + # source://actioncable//lib/action_cable/connection/base.rb#104 def transmit(cable_message); end # Returns the value of attribute worker_pool. # - # source://actioncable/lib/action_cable/connection/base.rb#55 + # source://actioncable//lib/action_cable/connection/base.rb#55 def worker_pool; end private # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/base.rb#214 + # source://actioncable//lib/action_cable/connection/base.rb#214 def allow_request_origin?; end # The cookies of the request that initiated the WebSocket connection. Useful for performing authorization checks. # - # source://actioncable/lib/action_cable/connection/base.rb#172 + # source://actioncable//lib/action_cable/connection/base.rb#172 def cookies; end - # source://actioncable/lib/action_cable/connection/base.rb#180 + # source://actioncable//lib/action_cable/connection/base.rb#180 def decode(websocket_message); end - # source://actioncable/lib/action_cable/connection/base.rb#176 + # source://actioncable//lib/action_cable/connection/base.rb#176 def encode(cable_message); end - # source://actioncable/lib/action_cable/connection/base.rb#256 + # source://actioncable//lib/action_cable/connection/base.rb#256 def finished_request_message; end - # source://actioncable/lib/action_cable/connection/base.rb#196 + # source://actioncable//lib/action_cable/connection/base.rb#196 def handle_close; end - # source://actioncable/lib/action_cable/connection/base.rb#184 + # source://actioncable//lib/action_cable/connection/base.rb#184 def handle_open; end - # source://actioncable/lib/action_cable/connection/base.rb#264 + # source://actioncable//lib/action_cable/connection/base.rb#264 def invalid_request_message; end # Returns the value of attribute message_buffer. # - # source://actioncable/lib/action_cable/connection/base.rb#161 + # source://actioncable//lib/action_cable/connection/base.rb#161 def message_buffer; end # Tags are declared in the server but computed in the connection. This allows us per-connection tailored tags. # - # source://actioncable/lib/action_cable/connection/base.rb#242 + # source://actioncable//lib/action_cable/connection/base.rb#242 def new_tagged_logger; end # The request that initiated the WebSocket connection is available here. This gives access to the environment, cookies, etc. # - # source://actioncable/lib/action_cable/connection/base.rb#164 + # source://actioncable//lib/action_cable/connection/base.rb#164 def request; end - # source://actioncable/lib/action_cable/connection/base.rb#233 + # source://actioncable//lib/action_cable/connection/base.rb#233 def respond_to_invalid_request; end - # source://actioncable/lib/action_cable/connection/base.rb#228 + # source://actioncable//lib/action_cable/connection/base.rb#228 def respond_to_successful_request; end - # source://actioncable/lib/action_cable/connection/base.rb#207 + # source://actioncable//lib/action_cable/connection/base.rb#207 def send_welcome_message; end - # source://actioncable/lib/action_cable/connection/base.rb#247 + # source://actioncable//lib/action_cable/connection/base.rb#247 def started_request_message; end - # source://actioncable/lib/action_cable/connection/base.rb#270 + # source://actioncable//lib/action_cable/connection/base.rb#270 def successful_request_message; end # Returns the value of attribute websocket. # - # source://actioncable/lib/action_cable/connection/base.rb#160 + # source://actioncable//lib/action_cable/connection/base.rb#160 def websocket; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks=(value); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers; end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers=(value); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers?; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers?; end end end @@ -1403,7 +1404,7 @@ end # end # end # -# source://actioncable/lib/action_cable/connection/callbacks.rb#32 +# source://actioncable//lib/action_cable/connection/callbacks.rb#32 module ActionCable::Connection::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1426,105 +1427,105 @@ module ActionCable::Connection::Callbacks end end -# source://actioncable/lib/action_cable/connection/callbacks.rb#40 +# source://actioncable//lib/action_cable/connection/callbacks.rb#40 module ActionCable::Connection::Callbacks::ClassMethods - # source://actioncable/lib/action_cable/connection/callbacks.rb#45 + # source://actioncable//lib/action_cable/connection/callbacks.rb#45 def after_command(*methods, &block); end - # source://actioncable/lib/action_cable/connection/callbacks.rb#49 + # source://actioncable//lib/action_cable/connection/callbacks.rb#49 def around_command(*methods, &block); end - # source://actioncable/lib/action_cable/connection/callbacks.rb#41 + # source://actioncable//lib/action_cable/connection/callbacks.rb#41 def before_command(*methods, &block); end end -# source://actioncable/lib/action_cable/connection/client_socket.rb#11 +# source://actioncable//lib/action_cable/connection/client_socket.rb#11 class ActionCable::Connection::ClientSocket # @return [ClientSocket] a new instance of ClientSocket # - # source://actioncable/lib/action_cable/connection/client_socket.rb#34 + # source://actioncable//lib/action_cable/connection/client_socket.rb#34 def initialize(env, event_target, event_loop, protocols); end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/client_socket.rb#112 + # source://actioncable//lib/action_cable/connection/client_socket.rb#112 def alive?; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#108 + # source://actioncable//lib/action_cable/connection/client_socket.rb#108 def client_gone; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#90 + # source://actioncable//lib/action_cable/connection/client_socket.rb#90 def close(code = T.unsafe(nil), reason = T.unsafe(nil)); end # Returns the value of attribute env. # - # source://actioncable/lib/action_cable/connection/client_socket.rb#32 + # source://actioncable//lib/action_cable/connection/client_socket.rb#32 def env; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#104 + # source://actioncable//lib/action_cable/connection/client_socket.rb#104 def parse(data); end - # source://actioncable/lib/action_cable/connection/client_socket.rb#116 + # source://actioncable//lib/action_cable/connection/client_socket.rb#116 def protocol; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#69 + # source://actioncable//lib/action_cable/connection/client_socket.rb#69 def rack_response; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#57 + # source://actioncable//lib/action_cable/connection/client_socket.rb#57 def start_driver; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#80 + # source://actioncable//lib/action_cable/connection/client_socket.rb#80 def transmit(message); end # Returns the value of attribute url. # - # source://actioncable/lib/action_cable/connection/client_socket.rb#32 + # source://actioncable//lib/action_cable/connection/client_socket.rb#32 def url; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#74 + # source://actioncable//lib/action_cable/connection/client_socket.rb#74 def write(data); end private - # source://actioncable/lib/action_cable/connection/client_socket.rb#140 + # source://actioncable//lib/action_cable/connection/client_socket.rb#140 def begin_close(reason, code); end - # source://actioncable/lib/action_cable/connection/client_socket.rb#134 + # source://actioncable//lib/action_cable/connection/client_socket.rb#134 def emit_error(message); end - # source://actioncable/lib/action_cable/connection/client_socket.rb#149 + # source://actioncable//lib/action_cable/connection/client_socket.rb#149 def finalize_close; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#121 + # source://actioncable//lib/action_cable/connection/client_socket.rb#121 def open; end - # source://actioncable/lib/action_cable/connection/client_socket.rb#128 + # source://actioncable//lib/action_cable/connection/client_socket.rb#128 def receive_message(data); end class << self - # source://actioncable/lib/action_cable/connection/client_socket.rb#12 + # source://actioncable//lib/action_cable/connection/client_socket.rb#12 def determine_url(env); end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/client_socket.rb#17 + # source://actioncable//lib/action_cable/connection/client_socket.rb#17 def secure_request?(env); end end end -# source://actioncable/lib/action_cable/connection/client_socket.rb#30 +# source://actioncable//lib/action_cable/connection/client_socket.rb#30 ActionCable::Connection::ClientSocket::CLOSED = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/connection/client_socket.rb#29 +# source://actioncable//lib/action_cable/connection/client_socket.rb#29 ActionCable::Connection::ClientSocket::CLOSING = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/connection/client_socket.rb#27 +# source://actioncable//lib/action_cable/connection/client_socket.rb#27 ActionCable::Connection::ClientSocket::CONNECTING = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/connection/client_socket.rb#28 +# source://actioncable//lib/action_cable/connection/client_socket.rb#28 ActionCable::Connection::ClientSocket::OPEN = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/connection/identification.rb#7 +# source://actioncable//lib/action_cable/connection/identification.rb#7 module ActionCable::Connection::Identification extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1534,12 +1535,12 @@ module ActionCable::Connection::Identification # Return a single connection identifier that combines the value of all the registered identifiers into a single gid. # - # source://actioncable/lib/action_cable/connection/identification.rb#27 + # source://actioncable//lib/action_cable/connection/identification.rb#27 def connection_identifier; end private - # source://actioncable/lib/action_cable/connection/identification.rb#36 + # source://actioncable//lib/action_cable/connection/identification.rb#36 def connection_gid(ids); end module GeneratedClassMethods @@ -1555,7 +1556,7 @@ module ActionCable::Connection::Identification end end -# source://actioncable/lib/action_cable/connection/identification.rb#14 +# source://actioncable//lib/action_cable/connection/identification.rb#14 module ActionCable::Connection::Identification::ClassMethods # Mark a key as being a connection identifier index that can then be used to find the specific connection again later. # Common identifiers are current_user and current_account, but could be anything, really. @@ -1563,7 +1564,7 @@ module ActionCable::Connection::Identification::ClassMethods # Note that anything marked as an identifier will automatically create a delegate by the same name on any # channel instances created off the connection. # - # source://actioncable/lib/action_cable/connection/identification.rb#20 + # source://actioncable//lib/action_cable/connection/identification.rb#20 def identified_by(*identifiers); end end @@ -1571,148 +1572,148 @@ end # # Makes it possible for the RemoteConnection to disconnect a specific connection. # -# source://actioncable/lib/action_cable/connection/internal_channel.rb#8 +# source://actioncable//lib/action_cable/connection/internal_channel.rb#8 module ActionCable::Connection::InternalChannel extend ::ActiveSupport::Concern private - # source://actioncable/lib/action_cable/connection/internal_channel.rb#12 + # source://actioncable//lib/action_cable/connection/internal_channel.rb#12 def internal_channel; end - # source://actioncable/lib/action_cable/connection/internal_channel.rb#33 + # source://actioncable//lib/action_cable/connection/internal_channel.rb#33 def process_internal_message(message); end - # source://actioncable/lib/action_cable/connection/internal_channel.rb#16 + # source://actioncable//lib/action_cable/connection/internal_channel.rb#16 def subscribe_to_internal_channel; end - # source://actioncable/lib/action_cable/connection/internal_channel.rb#27 + # source://actioncable//lib/action_cable/connection/internal_channel.rb#27 def unsubscribe_from_internal_channel; end end # Allows us to buffer messages received from the WebSocket before the Connection has been fully initialized, and is ready to receive them. # -# source://actioncable/lib/action_cable/connection/message_buffer.rb#6 +# source://actioncable//lib/action_cable/connection/message_buffer.rb#6 class ActionCable::Connection::MessageBuffer # @return [MessageBuffer] a new instance of MessageBuffer # - # source://actioncable/lib/action_cable/connection/message_buffer.rb#7 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#7 def initialize(connection); end - # source://actioncable/lib/action_cable/connection/message_buffer.rb#12 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#12 def append(message); end - # source://actioncable/lib/action_cable/connection/message_buffer.rb#28 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#28 def process!; end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/message_buffer.rb#24 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#24 def processing?; end private - # source://actioncable/lib/action_cable/connection/message_buffer.rb#45 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#45 def buffer(message); end # Returns the value of attribute buffered_messages. # - # source://actioncable/lib/action_cable/connection/message_buffer.rb#35 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#35 def buffered_messages; end # Returns the value of attribute connection. # - # source://actioncable/lib/action_cable/connection/message_buffer.rb#34 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#34 def connection; end - # source://actioncable/lib/action_cable/connection/message_buffer.rb#41 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#41 def receive(message); end - # source://actioncable/lib/action_cable/connection/message_buffer.rb#49 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#49 def receive_buffered_messages; end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/message_buffer.rb#37 + # source://actioncable//lib/action_cable/connection/message_buffer.rb#37 def valid?(message); end end -# source://actioncable/lib/action_cable/connection/test_case.rb#12 +# source://actioncable//lib/action_cable/connection/test_case.rb#12 class ActionCable::Connection::NonInferrableConnectionError < ::StandardError # @return [NonInferrableConnectionError] a new instance of NonInferrableConnectionError # - # source://actioncable/lib/action_cable/connection/test_case.rb#13 + # source://actioncable//lib/action_cable/connection/test_case.rb#13 def initialize(name); end end -# source://actioncable/lib/action_cable/connection/stream.rb#9 +# source://actioncable//lib/action_cable/connection/stream.rb#9 class ActionCable::Connection::Stream # @return [Stream] a new instance of Stream # - # source://actioncable/lib/action_cable/connection/stream.rb#10 + # source://actioncable//lib/action_cable/connection/stream.rb#10 def initialize(event_loop, socket); end - # source://actioncable/lib/action_cable/connection/stream.rb#26 + # source://actioncable//lib/action_cable/connection/stream.rb#26 def close; end - # source://actioncable/lib/action_cable/connection/stream.rb#22 + # source://actioncable//lib/action_cable/connection/stream.rb#22 def each(&callback); end - # source://actioncable/lib/action_cable/connection/stream.rb#70 + # source://actioncable//lib/action_cable/connection/stream.rb#70 def flush_write_buffer; end - # source://actioncable/lib/action_cable/connection/stream.rb#96 + # source://actioncable//lib/action_cable/connection/stream.rb#96 def hijack_rack_socket; end - # source://actioncable/lib/action_cable/connection/stream.rb#92 + # source://actioncable//lib/action_cable/connection/stream.rb#92 def receive(data); end - # source://actioncable/lib/action_cable/connection/stream.rb#31 + # source://actioncable//lib/action_cable/connection/stream.rb#31 def shutdown; end - # source://actioncable/lib/action_cable/connection/stream.rb#35 + # source://actioncable//lib/action_cable/connection/stream.rb#35 def write(data); end private - # source://actioncable/lib/action_cable/connection/stream.rb#108 + # source://actioncable//lib/action_cable/connection/stream.rb#108 def clean_rack_hijack; end end -# source://actioncable/lib/action_cable/connection/stream_event_loop.rb#7 +# source://actioncable//lib/action_cable/connection/stream_event_loop.rb#7 class ActionCable::Connection::StreamEventLoop # @return [StreamEventLoop] a new instance of StreamEventLoop # - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#8 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#8 def initialize; end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#28 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#28 def attach(io, stream); end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#36 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#36 def detach(io, stream); end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#21 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#21 def post(task = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#54 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#54 def stop; end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#17 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#17 def timer(interval, &block); end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#45 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#45 def writes_pending(io); end private - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#84 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#84 def run; end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#60 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#60 def spawn; end - # source://actioncable/lib/action_cable/connection/stream_event_loop.rb#80 + # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#80 def wakeup; end end @@ -1721,50 +1722,50 @@ end # Collection class for all the channel subscriptions established on a given connection. Responsible for routing incoming commands that arrive on # the connection to the proper channel. # -# source://actioncable/lib/action_cable/connection/subscriptions.rb#11 +# source://actioncable//lib/action_cable/connection/subscriptions.rb#11 class ActionCable::Connection::Subscriptions # @return [Subscriptions] a new instance of Subscriptions # - # source://actioncable/lib/action_cable/connection/subscriptions.rb#12 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#12 def initialize(connection); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#30 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#30 def add(data); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#17 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#17 def execute_command(data); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#61 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#61 def identifiers; end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#71 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#71 def logger(*_arg0, **_arg1, &_arg2); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#57 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#57 def perform_action(data); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#47 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#47 def remove(data); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#52 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#52 def remove_subscription(subscription); end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#65 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#65 def unsubscribe_from_all; end private # Returns the value of attribute connection. # - # source://actioncable/lib/action_cable/connection/subscriptions.rb#70 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#70 def connection; end - # source://actioncable/lib/action_cable/connection/subscriptions.rb#73 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#73 def find(data); end # Returns the value of attribute subscriptions. # - # source://actioncable/lib/action_cable/connection/subscriptions.rb#70 + # source://actioncable//lib/action_cable/connection/subscriptions.rb#70 def subscriptions; end end @@ -1774,45 +1775,45 @@ end # ActiveSupport::TaggedLogging enhanced Rails.logger, as that logger will reset the tags between requests. # The connection is long-lived, so it needs its own set of tags for its independent duration. # -# source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#10 +# source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#10 class ActionCable::Connection::TaggedLoggerProxy # @return [TaggedLoggerProxy] a new instance of TaggedLoggerProxy # - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#13 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#13 def initialize(logger, tags:); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#18 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#18 def add_tags(*tags); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def debug(message = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def error(message = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def fatal(message = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def info(message = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#23 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#23 def tag(logger, &block); end # Returns the value of attribute tags. # - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#11 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#11 def tags; end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def unknown(message = T.unsafe(nil), &block); end - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#33 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#33 def warn(message = T.unsafe(nil), &block); end private - # source://actioncable/lib/action_cable/connection/tagged_logger_proxy.rb#39 + # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#39 def log(type, message, &block); end end @@ -1888,7 +1889,7 @@ end # tests ApplicationCable::Connection # end # -# source://actioncable/lib/action_cable/connection/test_case.rb#131 +# source://actioncable//lib/action_cable/connection/test_case.rb#131 class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionCable::Connection::Assertions @@ -1896,31 +1897,31 @@ class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionCable::Connection::TestCase::Behavior::ClassMethods - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class; end - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class=(_arg0); end - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class?; end - # source://actioncable/lib/action_cable/connection/test_case.rb#143 + # source://actioncable//lib/action_cable/connection/test_case.rb#143 def connection; end class << self - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class; end - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class=(value); end - # source://actioncable/lib/action_cable/connection/test_case.rb#141 + # source://actioncable//lib/action_cable/connection/test_case.rb#141 def _connection_class?; end end end -# source://actioncable/lib/action_cable/connection/test_case.rb#132 +# source://actioncable//lib/action_cable/connection/test_case.rb#132 module ActionCable::Connection::TestCase::Behavior include ::ActionCable::Connection::Assertions extend ::ActiveSupport::Concern @@ -1940,20 +1941,20 @@ module ActionCable::Connection::TestCase::Behavior # - session – session data (Hash) # - env – additional Rack env configuration (Hash) # - # source://actioncable/lib/action_cable/connection/test_case.rb#185 + # source://actioncable//lib/action_cable/connection/test_case.rb#185 def connect(path = T.unsafe(nil), **request_params); end - # source://actioncable/lib/action_cable/connection/test_case.rb#205 + # source://actioncable//lib/action_cable/connection/test_case.rb#205 def cookies; end # Exert #disconnect on the connection under test. # - # source://actioncable/lib/action_cable/connection/test_case.rb#198 + # source://actioncable//lib/action_cable/connection/test_case.rb#198 def disconnect; end private - # source://actioncable/lib/action_cable/connection/test_case.rb#210 + # source://actioncable//lib/action_cable/connection/test_case.rb#210 def build_test_request(path, params: T.unsafe(nil), headers: T.unsafe(nil), session: T.unsafe(nil), env: T.unsafe(nil)); end module GeneratedClassMethods @@ -1969,36 +1970,36 @@ module ActionCable::Connection::TestCase::Behavior end end -# source://actioncable/lib/action_cable/connection/test_case.rb#148 +# source://actioncable//lib/action_cable/connection/test_case.rb#148 module ActionCable::Connection::TestCase::Behavior::ClassMethods - # source://actioncable/lib/action_cable/connection/test_case.rb#160 + # source://actioncable//lib/action_cable/connection/test_case.rb#160 def connection_class; end # @raise [NonInferrableConnectionError] # - # source://actioncable/lib/action_cable/connection/test_case.rb#168 + # source://actioncable//lib/action_cable/connection/test_case.rb#168 def determine_default_connection(name); end - # source://actioncable/lib/action_cable/connection/test_case.rb#149 + # source://actioncable//lib/action_cable/connection/test_case.rb#149 def tests(connection); end end -# source://actioncable/lib/action_cable/connection/test_case.rb#135 +# source://actioncable//lib/action_cable/connection/test_case.rb#135 ActionCable::Connection::TestCase::Behavior::DEFAULT_PATH = T.let(T.unsafe(nil), String) -# source://actioncable/lib/action_cable/connection/test_case.rb#47 +# source://actioncable//lib/action_cable/connection/test_case.rb#47 module ActionCable::Connection::TestConnection - # source://actioncable/lib/action_cable/connection/test_case.rb#50 + # source://actioncable//lib/action_cable/connection/test_case.rb#50 def initialize(request); end # Returns the value of attribute logger. # - # source://actioncable/lib/action_cable/connection/test_case.rb#48 + # source://actioncable//lib/action_cable/connection/test_case.rb#48 def logger; end # Returns the value of attribute request. # - # source://actioncable/lib/action_cable/connection/test_case.rb#48 + # source://actioncable//lib/action_cable/connection/test_case.rb#48 def request; end end @@ -2006,39 +2007,39 @@ end # unit-tests, but we want to make sure that users test against the correct types # of cookies (i.e. signed or encrypted or plain) # -# source://actioncable/lib/action_cable/connection/test_case.rb#33 +# source://actioncable//lib/action_cable/connection/test_case.rb#33 class ActionCable::Connection::TestCookieJar < ::ActiveSupport::HashWithIndifferentAccess - # source://actioncable/lib/action_cable/connection/test_case.rb#38 + # source://actioncable//lib/action_cable/connection/test_case.rb#38 def encrypted; end - # source://actioncable/lib/action_cable/connection/test_case.rb#34 + # source://actioncable//lib/action_cable/connection/test_case.rb#34 def signed; end end -# source://actioncable/lib/action_cable/connection/test_case.rb#43 +# source://actioncable//lib/action_cable/connection/test_case.rb#43 class ActionCable::Connection::TestRequest < ::ActionDispatch::TestRequest # Returns the value of attribute cookie_jar. # - # source://actioncable/lib/action_cable/connection/test_case.rb#44 + # source://actioncable//lib/action_cable/connection/test_case.rb#44 def cookie_jar; end # Sets the attribute cookie_jar # # @param value the value to set the attribute cookie_jar to. # - # source://actioncable/lib/action_cable/connection/test_case.rb#44 + # source://actioncable//lib/action_cable/connection/test_case.rb#44 def cookie_jar=(_arg0); end # Returns the value of attribute session. # - # source://actioncable/lib/action_cable/connection/test_case.rb#44 + # source://actioncable//lib/action_cable/connection/test_case.rb#44 def session; end # Sets the attribute session # # @param value the value to set the attribute session to. # - # source://actioncable/lib/action_cable/connection/test_case.rb#44 + # source://actioncable//lib/action_cable/connection/test_case.rb#44 def session=(_arg0); end end @@ -2046,55 +2047,50 @@ end # # Wrap the real socket to minimize the externally-presented API # -# source://actioncable/lib/action_cable/connection/web_socket.rb#10 +# source://actioncable//lib/action_cable/connection/web_socket.rb#10 class ActionCable::Connection::WebSocket # @return [WebSocket] a new instance of WebSocket # - # source://actioncable/lib/action_cable/connection/web_socket.rb#11 + # source://actioncable//lib/action_cable/connection/web_socket.rb#11 def initialize(env, event_target, event_loop, protocols: T.unsafe(nil)); end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/web_socket.rb#19 + # source://actioncable//lib/action_cable/connection/web_socket.rb#19 def alive?; end - # source://actioncable/lib/action_cable/connection/web_socket.rb#27 + # source://actioncable//lib/action_cable/connection/web_socket.rb#27 def close; end # @return [Boolean] # - # source://actioncable/lib/action_cable/connection/web_socket.rb#15 + # source://actioncable//lib/action_cable/connection/web_socket.rb#15 def possible?; end - # source://actioncable/lib/action_cable/connection/web_socket.rb#31 + # source://actioncable//lib/action_cable/connection/web_socket.rb#31 def protocol; end - # source://actioncable/lib/action_cable/connection/web_socket.rb#35 + # source://actioncable//lib/action_cable/connection/web_socket.rb#35 def rack_response; end - # source://actioncable/lib/action_cable/connection/web_socket.rb#23 + # source://actioncable//lib/action_cable/connection/web_socket.rb#23 def transmit(data); end private # Returns the value of attribute websocket. # - # source://actioncable/lib/action_cable/connection/web_socket.rb#40 + # source://actioncable//lib/action_cable/connection/web_socket.rb#40 def websocket; end end -# source://actioncable/lib/action_cable/engine.rb#8 -class ActionCable::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://actioncable//lib/action_cable/engine.rb#8 +class ActionCable::Engine < ::Rails::Engine; end -# source://actioncable/lib/action_cable/helpers/action_cable_helper.rb#4 +# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#4 module ActionCable::Helpers; end -# source://actioncable/lib/action_cable/helpers/action_cable_helper.rb#5 +# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#5 module ActionCable::Helpers::ActionCableHelper # Returns an "action-cable-url" meta tag with the value of the URL specified in your # configuration. Ensure this is above your JavaScript tag: @@ -2124,11 +2120,11 @@ module ActionCable::Helpers::ActionCableHelper # <%= action_cable_meta_tag %> would render: # => # - # source://actioncable/lib/action_cable/helpers/action_cable_helper.rb#34 + # source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#34 def action_cable_meta_tag; end end -# source://actioncable/lib/action_cable.rb#52 +# source://actioncable//lib/action_cable.rb#52 ActionCable::INTERNAL = T.let(T.unsafe(nil), Hash) # = Action Cable Remote Connections @@ -2155,19 +2151,19 @@ ActionCable::INTERNAL = T.let(T.unsafe(nil), Hash) # # ActionCable.server.remote_connections.where(current_user: User.find(1)).disconnect(reconnect: false) # -# source://actioncable/lib/action_cable/remote_connections.rb#29 +# source://actioncable//lib/action_cable/remote_connections.rb#29 class ActionCable::RemoteConnections # @return [RemoteConnections] a new instance of RemoteConnections # - # source://actioncable/lib/action_cable/remote_connections.rb#32 + # source://actioncable//lib/action_cable/remote_connections.rb#32 def initialize(server); end # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/remote_connections.rb#30 + # source://actioncable//lib/action_cable/remote_connections.rb#30 def server; end - # source://actioncable/lib/action_cable/remote_connections.rb#36 + # source://actioncable//lib/action_cable/remote_connections.rb#36 def where(identifier); end end @@ -2176,7 +2172,7 @@ end # Represents a single remote connection found via ActionCable.server.remote_connections.where(*). # Exists solely for the purpose of calling #disconnect on that connection. # -# source://actioncable/lib/action_cable/remote_connections.rb#45 +# source://actioncable//lib/action_cable/remote_connections.rb#45 class ActionCable::RemoteConnections::RemoteConnection include ::ActionCable::Connection::InternalChannel include ::ActionCable::Connection::Identification @@ -2184,58 +2180,58 @@ class ActionCable::RemoteConnections::RemoteConnection # @return [RemoteConnection] a new instance of RemoteConnection # - # source://actioncable/lib/action_cable/remote_connections.rb#50 + # source://actioncable//lib/action_cable/remote_connections.rb#50 def initialize(server, ids); end # Uses the internal channel to disconnect the connection. # - # source://actioncable/lib/action_cable/remote_connections.rb#56 + # source://actioncable//lib/action_cable/remote_connections.rb#56 def disconnect(reconnect: T.unsafe(nil)); end - # source://actioncable/lib/action_cable/remote_connections.rb#61 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers; end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers=(_arg0); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers?; end protected # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/remote_connections.rb#66 + # source://actioncable//lib/action_cable/remote_connections.rb#66 def server; end private # @raise [InvalidIdentifiersError] # - # source://actioncable/lib/action_cable/remote_connections.rb#69 + # source://actioncable//lib/action_cable/remote_connections.rb#69 def set_identifier_instance_vars(ids); end # @return [Boolean] # - # source://actioncable/lib/action_cable/remote_connections.rb#74 + # source://actioncable//lib/action_cable/remote_connections.rb#74 def valid_identifiers?(ids); end class << self - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers; end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers=(value); end - # source://actioncable/lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers?; end end end -# source://actioncable/lib/action_cable/remote_connections.rb#46 +# source://actioncable//lib/action_cable/remote_connections.rb#46 class ActionCable::RemoteConnections::RemoteConnection::InvalidIdentifiersError < ::StandardError; end -# source://actioncable/lib/action_cable/server/base.rb#6 +# source://actioncable//lib/action_cable/server/base.rb#6 module ActionCable::Server; end # = Action Cable \Server \Base @@ -2245,58 +2241,58 @@ module ActionCable::Server; end # # Also, this is the server instance used for broadcasting. See Broadcasting for more information. # -# source://actioncable/lib/action_cable/server/base.rb#13 +# source://actioncable//lib/action_cable/server/base.rb#13 class ActionCable::Server::Base include ::ActionCable::Server::Broadcasting include ::ActionCable::Server::Connections # @return [Base] a new instance of Base # - # source://actioncable/lib/action_cable/server/base.rb#26 + # source://actioncable//lib/action_cable/server/base.rb#26 def initialize(config: T.unsafe(nil)); end # Called by Rack to set up the server. # - # source://actioncable/lib/action_cable/server/base.rb#33 + # source://actioncable//lib/action_cable/server/base.rb#33 def call(env); end # Returns the value of attribute config. # - # source://actioncable/lib/action_cable/server/base.rb#19 + # source://actioncable//lib/action_cable/server/base.rb#19 def config; end # All of the identifiers applied to the connection class associated with this server. # - # source://actioncable/lib/action_cable/server/base.rb#90 + # source://actioncable//lib/action_cable/server/base.rb#90 def connection_identifiers; end # Disconnect all the connections identified by +identifiers+ on this server or any others via RemoteConnections. # - # source://actioncable/lib/action_cable/server/base.rb#40 + # source://actioncable//lib/action_cable/server/base.rb#40 def disconnect(identifiers); end - # source://actioncable/lib/action_cable/server/base.rb#65 + # source://actioncable//lib/action_cable/server/base.rb#65 def event_loop; end - # source://actioncable/lib/action_cable/server/base.rb#22 + # source://actioncable//lib/action_cable/server/base.rb#22 def logger(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute mutex. # - # source://actioncable/lib/action_cable/server/base.rb#24 + # source://actioncable//lib/action_cable/server/base.rb#24 def mutex; end # Adapter used for all streams/broadcasting. # - # source://actioncable/lib/action_cable/server/base.rb#85 + # source://actioncable//lib/action_cable/server/base.rb#85 def pubsub; end # Gateway to RemoteConnections. See that class for details. # - # source://actioncable/lib/action_cable/server/base.rb#61 + # source://actioncable//lib/action_cable/server/base.rb#61 def remote_connections; end - # source://actioncable/lib/action_cable/server/base.rb#44 + # source://actioncable//lib/action_cable/server/base.rb#44 def restart; end # The worker pool is where we run connection callbacks and channel actions. We do as little as possible on the server's main thread. @@ -2311,17 +2307,17 @@ class ActionCable::Server::Base # the database connection pool and block while they wait for other workers to release their connections. Use a smaller worker pool or a larger # database connection pool instead. # - # source://actioncable/lib/action_cable/server/base.rb#80 + # source://actioncable//lib/action_cable/server/base.rb#80 def worker_pool; end class << self - # source://actioncable/lib/action_cable/server/base.rb#17 + # source://actioncable//lib/action_cable/server/base.rb#17 def config; end - # source://actioncable/lib/action_cable/server/base.rb#17 + # source://actioncable//lib/action_cable/server/base.rb#17 def config=(val); end - # source://actioncable/lib/action_cable/server/base.rb#21 + # source://actioncable//lib/action_cable/server/base.rb#21 def logger; end end end @@ -2346,43 +2342,43 @@ end # received: (data) -> # new Notification data['title'], body: data['body'] # -# source://actioncable/lib/action_cable/server/broadcasting.rb#24 +# source://actioncable//lib/action_cable/server/broadcasting.rb#24 module ActionCable::Server::Broadcasting # Broadcast a hash directly to a named broadcasting. This will later be JSON encoded. # - # source://actioncable/lib/action_cable/server/broadcasting.rb#26 + # source://actioncable//lib/action_cable/server/broadcasting.rb#26 def broadcast(broadcasting, message, coder: T.unsafe(nil)); end # Returns a broadcaster for a named broadcasting that can be reused. Useful when you have an object that # may need multiple spots to transmit to a specific broadcasting over and over. # - # source://actioncable/lib/action_cable/server/broadcasting.rb#32 + # source://actioncable//lib/action_cable/server/broadcasting.rb#32 def broadcaster_for(broadcasting, coder: T.unsafe(nil)); end end -# source://actioncable/lib/action_cable/server/broadcasting.rb#37 +# source://actioncable//lib/action_cable/server/broadcasting.rb#37 class ActionCable::Server::Broadcasting::Broadcaster # @return [Broadcaster] a new instance of Broadcaster # - # source://actioncable/lib/action_cable/server/broadcasting.rb#40 + # source://actioncable//lib/action_cable/server/broadcasting.rb#40 def initialize(server, broadcasting, coder:); end - # source://actioncable/lib/action_cable/server/broadcasting.rb#44 + # source://actioncable//lib/action_cable/server/broadcasting.rb#44 def broadcast(message); end # Returns the value of attribute broadcasting. # - # source://actioncable/lib/action_cable/server/broadcasting.rb#38 + # source://actioncable//lib/action_cable/server/broadcasting.rb#38 def broadcasting; end # Returns the value of attribute coder. # - # source://actioncable/lib/action_cable/server/broadcasting.rb#38 + # source://actioncable//lib/action_cable/server/broadcasting.rb#38 def coder; end # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/server/broadcasting.rb#38 + # source://actioncable//lib/action_cable/server/broadcasting.rb#38 def server; end end @@ -2391,186 +2387,186 @@ end # An instance of this configuration object is available via ActionCable.server.config, which allows you to tweak Action Cable configuration # in a \Rails config initializer. # -# source://actioncable/lib/action_cable/server/configuration.rb#11 +# source://actioncable//lib/action_cable/server/configuration.rb#11 class ActionCable::Server::Configuration # @return [Configuration] a new instance of Configuration # - # source://actioncable/lib/action_cable/server/configuration.rb#19 + # source://actioncable//lib/action_cable/server/configuration.rb#19 def initialize; end # Returns the value of attribute allow_same_origin_as_host. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def allow_same_origin_as_host; end # Sets the attribute allow_same_origin_as_host # # @param value the value to set the attribute allow_same_origin_as_host to. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def allow_same_origin_as_host=(_arg0); end # Returns the value of attribute allowed_request_origins. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def allowed_request_origins; end # Sets the attribute allowed_request_origins # # @param value the value to set the attribute allowed_request_origins to. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def allowed_request_origins=(_arg0); end # Returns the value of attribute cable. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def cable; end # Sets the attribute cable # # @param value the value to set the attribute cable to. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def cable=(_arg0); end # Returns the value of attribute connection_class. # - # source://actioncable/lib/action_cable/server/configuration.rb#13 + # source://actioncable//lib/action_cable/server/configuration.rb#13 def connection_class; end # Sets the attribute connection_class # # @param value the value to set the attribute connection_class to. # - # source://actioncable/lib/action_cable/server/configuration.rb#13 + # source://actioncable//lib/action_cable/server/configuration.rb#13 def connection_class=(_arg0); end # Returns the value of attribute disable_request_forgery_protection. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def disable_request_forgery_protection; end # Sets the attribute disable_request_forgery_protection # # @param value the value to set the attribute disable_request_forgery_protection to. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def disable_request_forgery_protection=(_arg0); end # Returns the value of attribute filter_parameters. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def filter_parameters; end # Sets the attribute filter_parameters # # @param value the value to set the attribute filter_parameters to. # - # source://actioncable/lib/action_cable/server/configuration.rb#14 + # source://actioncable//lib/action_cable/server/configuration.rb#14 def filter_parameters=(_arg0); end # Returns the value of attribute health_check_application. # - # source://actioncable/lib/action_cable/server/configuration.rb#17 + # source://actioncable//lib/action_cable/server/configuration.rb#17 def health_check_application; end # Sets the attribute health_check_application # # @param value the value to set the attribute health_check_application to. # - # source://actioncable/lib/action_cable/server/configuration.rb#17 + # source://actioncable//lib/action_cable/server/configuration.rb#17 def health_check_application=(_arg0); end # Returns the value of attribute health_check_path. # - # source://actioncable/lib/action_cable/server/configuration.rb#17 + # source://actioncable//lib/action_cable/server/configuration.rb#17 def health_check_path; end # Sets the attribute health_check_path # # @param value the value to set the attribute health_check_path to. # - # source://actioncable/lib/action_cable/server/configuration.rb#17 + # source://actioncable//lib/action_cable/server/configuration.rb#17 def health_check_path=(_arg0); end # Returns the value of attribute log_tags. # - # source://actioncable/lib/action_cable/server/configuration.rb#12 + # source://actioncable//lib/action_cable/server/configuration.rb#12 def log_tags; end # Sets the attribute log_tags # # @param value the value to set the attribute log_tags to. # - # source://actioncable/lib/action_cable/server/configuration.rb#12 + # source://actioncable//lib/action_cable/server/configuration.rb#12 def log_tags=(_arg0); end # Returns the value of attribute logger. # - # source://actioncable/lib/action_cable/server/configuration.rb#12 + # source://actioncable//lib/action_cable/server/configuration.rb#12 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://actioncable/lib/action_cable/server/configuration.rb#12 + # source://actioncable//lib/action_cable/server/configuration.rb#12 def logger=(_arg0); end # Returns the value of attribute mount_path. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def mount_path; end # Sets the attribute mount_path # # @param value the value to set the attribute mount_path to. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def mount_path=(_arg0); end # Returns the value of attribute precompile_assets. # - # source://actioncable/lib/action_cable/server/configuration.rb#16 + # source://actioncable//lib/action_cable/server/configuration.rb#16 def precompile_assets; end # Sets the attribute precompile_assets # # @param value the value to set the attribute precompile_assets to. # - # source://actioncable/lib/action_cable/server/configuration.rb#16 + # source://actioncable//lib/action_cable/server/configuration.rb#16 def precompile_assets=(_arg0); end # Returns constant of subscription adapter specified in config/cable.yml. # If the adapter cannot be found, this will default to the Redis adapter. # Also makes sure proper dependencies are required. # - # source://actioncable/lib/action_cable/server/configuration.rb#37 + # source://actioncable//lib/action_cable/server/configuration.rb#37 def pubsub_adapter; end # Returns the value of attribute url. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def url; end # Sets the attribute url # # @param value the value to set the attribute url to. # - # source://actioncable/lib/action_cable/server/configuration.rb#15 + # source://actioncable//lib/action_cable/server/configuration.rb#15 def url=(_arg0); end # Returns the value of attribute worker_pool_size. # - # source://actioncable/lib/action_cable/server/configuration.rb#13 + # source://actioncable//lib/action_cable/server/configuration.rb#13 def worker_pool_size; end # Sets the attribute worker_pool_size # # @param value the value to set the attribute worker_pool_size to. # - # source://actioncable/lib/action_cable/server/configuration.rb#13 + # source://actioncable//lib/action_cable/server/configuration.rb#13 def worker_pool_size=(_arg0); end end @@ -2579,34 +2575,34 @@ end # Collection class for all the connections that have been established on this specific server. Remember, usually you'll run many Action Cable servers, so # you can't use this collection as a full list of all of the connections established against your application. Instead, use RemoteConnections for that. # -# source://actioncable/lib/action_cable/server/connections.rb#9 +# source://actioncable//lib/action_cable/server/connections.rb#9 module ActionCable::Server::Connections - # source://actioncable/lib/action_cable/server/connections.rb#16 + # source://actioncable//lib/action_cable/server/connections.rb#16 def add_connection(connection); end - # source://actioncable/lib/action_cable/server/connections.rb#12 + # source://actioncable//lib/action_cable/server/connections.rb#12 def connections; end - # source://actioncable/lib/action_cable/server/connections.rb#33 + # source://actioncable//lib/action_cable/server/connections.rb#33 def open_connections_statistics; end - # source://actioncable/lib/action_cable/server/connections.rb#20 + # source://actioncable//lib/action_cable/server/connections.rb#20 def remove_connection(connection); end # WebSocket connection implementations differ on when they'll mark a connection as stale. We basically never want a connection to go stale, as you # then can't rely on being able to communicate with the connection. To solve this, a 3 second heartbeat runs on all connections. If the beat fails, we automatically # disconnect. # - # source://actioncable/lib/action_cable/server/connections.rb#27 + # source://actioncable//lib/action_cable/server/connections.rb#27 def setup_heartbeat_timer; end end -# source://actioncable/lib/action_cable/server/connections.rb#10 +# source://actioncable//lib/action_cable/server/connections.rb#10 ActionCable::Server::Connections::BEAT_INTERVAL = T.let(T.unsafe(nil), Integer) # Worker used by Server.send_async to do connection work in threads. # -# source://actioncable/lib/action_cable/server/worker.rb#10 +# source://actioncable//lib/action_cable/server/worker.rb#10 class ActionCable::Server::Worker include ::ActiveSupport::Callbacks include ::ActionCable::Server::Worker::ActiveRecordConnectionManagement @@ -2615,329 +2611,329 @@ class ActionCable::Server::Worker # @return [Worker] a new instance of Worker # - # source://actioncable/lib/action_cable/server/worker.rb#19 + # source://actioncable//lib/action_cable/server/worker.rb#19 def initialize(max_size: T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _run_work_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks; end - # source://actioncable/lib/action_cable/server/worker.rb#46 + # source://actioncable//lib/action_cable/server/worker.rb#46 def async_exec(receiver, *args, connection:, &block); end - # source://actioncable/lib/action_cable/server/worker.rb#50 + # source://actioncable//lib/action_cable/server/worker.rb#50 def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection=(obj); end # Returns the value of attribute executor. # - # source://actioncable/lib/action_cable/server/worker.rb#17 + # source://actioncable//lib/action_cable/server/worker.rb#17 def executor; end # Stop processing work: any work that has not already started # running will be discarded from the queue # - # source://actioncable/lib/action_cable/server/worker.rb#30 + # source://actioncable//lib/action_cable/server/worker.rb#30 def halt; end - # source://actioncable/lib/action_cable/server/worker.rb#56 + # source://actioncable//lib/action_cable/server/worker.rb#56 def invoke(receiver, method, *args, connection:, &block); end # @return [Boolean] # - # source://actioncable/lib/action_cable/server/worker.rb#34 + # source://actioncable//lib/action_cable/server/worker.rb#34 def stopping?; end - # source://actioncable/lib/action_cable/server/worker.rb#38 + # source://actioncable//lib/action_cable/server/worker.rb#38 def work(connection, &block); end private - # source://actioncable/lib/action_cable/server/worker.rb#68 + # source://actioncable//lib/action_cable/server/worker.rb#68 def logger; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection=(obj); end end end -# source://actioncable/lib/action_cable/server/worker/active_record_connection_management.rb#6 +# source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#6 module ActionCable::Server::Worker::ActiveRecordConnectionManagement extend ::ActiveSupport::Concern - # source://actioncable/lib/action_cable/server/worker/active_record_connection_management.rb#15 + # source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#15 def with_database_connections(&block); end end -# source://actioncable/lib/action_cable/subscription_adapter/async.rb#4 +# source://actioncable//lib/action_cable/subscription_adapter/async.rb#4 module ActionCable::SubscriptionAdapter; end -# source://actioncable/lib/action_cable/subscription_adapter/async.rb#5 +# source://actioncable//lib/action_cable/subscription_adapter/async.rb#5 class ActionCable::SubscriptionAdapter::Async < ::ActionCable::SubscriptionAdapter::Inline private - # source://actioncable/lib/action_cable/subscription_adapter/async.rb#7 + # source://actioncable//lib/action_cable/subscription_adapter/async.rb#7 def new_subscriber_map; end end -# source://actioncable/lib/action_cable/subscription_adapter/async.rb#11 +# source://actioncable//lib/action_cable/subscription_adapter/async.rb#11 class ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap < ::ActionCable::SubscriptionAdapter::SubscriberMap # @return [AsyncSubscriberMap] a new instance of AsyncSubscriberMap # - # source://actioncable/lib/action_cable/subscription_adapter/async.rb#12 + # source://actioncable//lib/action_cable/subscription_adapter/async.rb#12 def initialize(event_loop); end - # source://actioncable/lib/action_cable/subscription_adapter/async.rb#17 + # source://actioncable//lib/action_cable/subscription_adapter/async.rb#17 def add_subscriber(*_arg0); end - # source://actioncable/lib/action_cable/subscription_adapter/async.rb#21 + # source://actioncable//lib/action_cable/subscription_adapter/async.rb#21 def invoke_callback(*_arg0); end end -# source://actioncable/lib/action_cable/subscription_adapter/base.rb#5 +# source://actioncable//lib/action_cable/subscription_adapter/base.rb#5 class ActionCable::SubscriptionAdapter::Base # @return [Base] a new instance of Base # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#8 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#8 def initialize(server); end # @raise [NotImplementedError] # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#13 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#13 def broadcast(channel, payload); end - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#29 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#29 def identifier; end # Returns the value of attribute logger. # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#6 def logger; end # Returns the value of attribute server. # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#6 def server; end # @raise [NotImplementedError] # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#25 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#25 def shutdown; end # @raise [NotImplementedError] # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#17 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#17 def subscribe(channel, message_callback, success_callback = T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://actioncable/lib/action_cable/subscription_adapter/base.rb#21 + # source://actioncable//lib/action_cable/subscription_adapter/base.rb#21 def unsubscribe(channel, message_callback); end end -# source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#5 +# source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#5 module ActionCable::SubscriptionAdapter::ChannelPrefix - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#6 def broadcast(channel, payload); end - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#11 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#16 + # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#16 def unsubscribe(channel, callback); end private # Returns the channel name, including channel_prefix specified in cable.yml # - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#23 + # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#23 def channel_with_prefix(channel); end end -# source://actioncable/lib/action_cable/subscription_adapter/inline.rb#5 +# source://actioncable//lib/action_cable/subscription_adapter/inline.rb#5 class ActionCable::SubscriptionAdapter::Inline < ::ActionCable::SubscriptionAdapter::Base # @return [Inline] a new instance of Inline # - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#6 def initialize(*_arg0); end - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#11 def broadcast(channel, payload); end - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#23 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#23 def shutdown; end - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#15 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#19 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#19 def unsubscribe(channel, callback); end private - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#32 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#32 def new_subscriber_map; end - # source://actioncable/lib/action_cable/subscription_adapter/inline.rb#28 + # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#28 def subscriber_map; end end -# source://actioncable/lib/action_cable/subscription_adapter/redis.rb#10 +# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#10 class ActionCable::SubscriptionAdapter::Redis < ::ActionCable::SubscriptionAdapter::Base include ::ActionCable::SubscriptionAdapter::ChannelPrefix # @return [Redis] a new instance of Redis # - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#19 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#19 def initialize(*_arg0); end - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#25 def broadcast(channel, payload); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#41 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#41 def redis_connection_for_subscriptions; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#15 def redis_connector; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#15 def redis_connector=(val); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#37 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#37 def shutdown; end - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#29 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb#16 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#33 def unsubscribe(channel, callback); end private - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#60 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#60 def config_options; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#46 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#46 def listener; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#56 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#56 def redis_connection; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#50 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#50 def redis_connection_for_broadcasts; end class << self - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#15 def redis_connector; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#15 def redis_connector=(val); end end end -# source://actioncable/lib/action_cable/subscription_adapter/redis.rb#64 +# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#64 class ActionCable::SubscriptionAdapter::Redis::Listener < ::ActionCable::SubscriptionAdapter::SubscriberMap # @return [Listener] a new instance of Listener # - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#65 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#65 def initialize(adapter, config_options, event_loop); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#138 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#138 def add_channel(channel, on_success); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#152 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#152 def invoke_callback(*_arg0); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#86 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#86 def listen(conn); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#146 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#146 def remove_channel(channel); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#125 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#125 def shutdown; end private - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#157 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#157 def ensure_listener_running; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#246 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#246 def extract_subscribed_client(conn); end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#201 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#201 def reset; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#194 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#194 def resubscribe; end # @return [Boolean] # - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#182 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#182 def retry_connecting?; end - # source://actioncable/lib/action_cable/subscription_adapter/redis.rb#174 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#174 def when_connected(&block); end end -# source://actioncable/lib/action_cable/subscription_adapter/redis.rb#244 +# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#244 ActionCable::SubscriptionAdapter::Redis::Listener::ConnectionError = RedisClient::ConnectionError -# source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#5 +# source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#5 class ActionCable::SubscriptionAdapter::SubscriberMap # @return [SubscriberMap] a new instance of SubscriberMap # - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#6 def initialize; end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#47 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#47 def add_channel(channel, on_success); end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#11 def add_subscriber(channel, subscriber, on_success); end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#36 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#36 def broadcast(channel, message); end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#54 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#54 def invoke_callback(callback, message); end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#51 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#51 def remove_channel(channel); end - # source://actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb#25 + # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#25 def remove_subscriber(channel, subscriber); end end @@ -2951,36 +2947,36 @@ end # NOTE: +Test+ adapter extends the +ActionCable::SubscriptionAdapter::Async+ adapter, # so it could be used in system tests too. # -# source://actioncable/lib/action_cable/subscription_adapter/test.rb#14 +# source://actioncable//lib/action_cable/subscription_adapter/test.rb#14 class ActionCable::SubscriptionAdapter::Test < ::ActionCable::SubscriptionAdapter::Async - # source://actioncable/lib/action_cable/subscription_adapter/test.rb#15 + # source://actioncable//lib/action_cable/subscription_adapter/test.rb#15 def broadcast(channel, payload); end - # source://actioncable/lib/action_cable/subscription_adapter/test.rb#20 + # source://actioncable//lib/action_cable/subscription_adapter/test.rb#20 def broadcasts(channel); end - # source://actioncable/lib/action_cable/subscription_adapter/test.rb#28 + # source://actioncable//lib/action_cable/subscription_adapter/test.rb#28 def clear; end - # source://actioncable/lib/action_cable/subscription_adapter/test.rb#24 + # source://actioncable//lib/action_cable/subscription_adapter/test.rb#24 def clear_messages(channel); end private - # source://actioncable/lib/action_cable/subscription_adapter/test.rb#33 + # source://actioncable//lib/action_cable/subscription_adapter/test.rb#33 def channels_data; end end -# source://actioncable/lib/action_cable/test_case.rb#6 +# source://actioncable//lib/action_cable/test_case.rb#6 class ActionCable::TestCase < ::ActiveSupport::TestCase include ::ActionCable::TestHelper end # Provides helper methods for testing Action Cable broadcasting # -# source://actioncable/lib/action_cable/test_helper.rb#5 +# source://actioncable//lib/action_cable/test_helper.rb#5 module ActionCable::TestHelper - # source://actioncable/lib/action_cable/test_helper.rb#16 + # source://actioncable//lib/action_cable/test_helper.rb#16 def after_teardown; end # Asserts that the specified message has been sent to the stream. @@ -2998,7 +2994,7 @@ module ActionCable::TestHelper # end # end # - # source://actioncable/lib/action_cable/test_helper.rb#112 + # source://actioncable//lib/action_cable/test_helper.rb#112 def assert_broadcast_on(stream, data, &block); end # Asserts that the number of broadcasted messages to the stream matches the given number. @@ -3025,7 +3021,7 @@ module ActionCable::TestHelper # end # end # - # source://actioncable/lib/action_cable/test_helper.rb#45 + # source://actioncable//lib/action_cable/test_helper.rb#45 def assert_broadcasts(stream, number, &block); end # Asserts that no messages have been sent to the stream. @@ -3048,13 +3044,13 @@ module ActionCable::TestHelper # # assert_broadcasts 'messages', 0, &block # - # source://actioncable/lib/action_cable/test_helper.rb#77 + # source://actioncable//lib/action_cable/test_helper.rb#77 def assert_no_broadcasts(stream, &block); end - # source://actioncable/lib/action_cable/test_helper.rb#6 + # source://actioncable//lib/action_cable/test_helper.rb#6 def before_setup; end - # source://actioncable/lib/action_cable/test_helper.rb#143 + # source://actioncable//lib/action_cable/test_helper.rb#143 def broadcasts(*_arg0, **_arg1, &_arg2); end # Returns the messages that are broadcasted in the block. @@ -3069,35 +3065,35 @@ module ActionCable::TestHelper # assert_equal({ text: 'how are you?' }, messages.last) # end # - # source://actioncable/lib/action_cable/test_helper.rb#93 + # source://actioncable//lib/action_cable/test_helper.rb#93 def capture_broadcasts(stream, &block); end - # source://actioncable/lib/action_cable/test_helper.rb#143 + # source://actioncable//lib/action_cable/test_helper.rb#143 def clear_messages(*_arg0, **_arg1, &_arg2); end - # source://actioncable/lib/action_cable/test_helper.rb#139 + # source://actioncable//lib/action_cable/test_helper.rb#139 def pubsub_adapter; end private - # source://actioncable/lib/action_cable/test_helper.rb#146 + # source://actioncable//lib/action_cable/test_helper.rb#146 def new_broadcasts_from(current_messages, stream, assertion, &block); end end -# source://actioncable/lib/action_cable/gem_version.rb#9 +# source://actioncable//lib/action_cable/gem_version.rb#9 module ActionCable::VERSION; end -# source://actioncable/lib/action_cable/gem_version.rb#10 +# source://actioncable//lib/action_cable/gem_version.rb#10 ActionCable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/gem_version.rb#11 +# source://actioncable//lib/action_cable/gem_version.rb#11 ActionCable::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actioncable/lib/action_cable/gem_version.rb#13 +# source://actioncable//lib/action_cable/gem_version.rb#13 ActionCable::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actioncable/lib/action_cable/gem_version.rb#15 +# source://actioncable//lib/action_cable/gem_version.rb#15 ActionCable::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actioncable/lib/action_cable/gem_version.rb#12 +# source://actioncable//lib/action_cable/gem_version.rb#12 ActionCable::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/actionmailbox@7.1.5.1.rbi b/sorbet/rbi/gems/actionmailbox@7.1.5.1.rbi index df9cd9aec..e88915c25 100644 --- a/sorbet/rbi/gems/actionmailbox@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actionmailbox@7.1.5.1.rbi @@ -4,112 +4,113 @@ # This is an autogenerated file for types exported from the `actionmailbox` gem. # Please instead update this file by running `bin/tapioca gem actionmailbox`. + # :markup: markdown # :include: ../README.md # -# source://actionmailbox/lib/action_mailbox/gem_version.rb#3 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#3 module ActionMailbox extend ::ActiveSupport::Autoload - # source://actionmailbox/lib/action_mailbox.rb#22 + # source://actionmailbox//lib/action_mailbox.rb#22 def incinerate; end - # source://actionmailbox/lib/action_mailbox.rb#22 + # source://actionmailbox//lib/action_mailbox.rb#22 def incinerate=(val); end - # source://actionmailbox/lib/action_mailbox.rb#23 + # source://actionmailbox//lib/action_mailbox.rb#23 def incinerate_after; end - # source://actionmailbox/lib/action_mailbox.rb#23 + # source://actionmailbox//lib/action_mailbox.rb#23 def incinerate_after=(val); end - # source://actionmailbox/lib/action_mailbox.rb#20 + # source://actionmailbox//lib/action_mailbox.rb#20 def ingress; end - # source://actionmailbox/lib/action_mailbox.rb#20 + # source://actionmailbox//lib/action_mailbox.rb#20 def ingress=(val); end - # source://actionmailbox/lib/action_mailbox.rb#21 + # source://actionmailbox//lib/action_mailbox.rb#21 def logger; end - # source://actionmailbox/lib/action_mailbox.rb#21 + # source://actionmailbox//lib/action_mailbox.rb#21 def logger=(val); end - # source://actionmailbox/lib/action_mailbox.rb#24 + # source://actionmailbox//lib/action_mailbox.rb#24 def queues; end - # source://actionmailbox/lib/action_mailbox.rb#24 + # source://actionmailbox//lib/action_mailbox.rb#24 def queues=(val); end - # source://actionmailbox/lib/action_mailbox.rb#25 + # source://actionmailbox//lib/action_mailbox.rb#25 def storage_service; end - # source://actionmailbox/lib/action_mailbox.rb#25 + # source://actionmailbox//lib/action_mailbox.rb#25 def storage_service=(val); end class << self - # source://actionmailbox/lib/action_mailbox/deprecator.rb#4 + # source://actionmailbox//lib/action_mailbox/deprecator.rb#4 def deprecator; end # Returns the currently loaded version of Action Mailbox as a +Gem::Version+. # - # source://actionmailbox/lib/action_mailbox/gem_version.rb#5 + # source://actionmailbox//lib/action_mailbox/gem_version.rb#5 def gem_version; end - # source://actionmailbox/lib/action_mailbox.rb#22 + # source://actionmailbox//lib/action_mailbox.rb#22 def incinerate; end - # source://actionmailbox/lib/action_mailbox.rb#22 + # source://actionmailbox//lib/action_mailbox.rb#22 def incinerate=(val); end - # source://actionmailbox/lib/action_mailbox.rb#23 + # source://actionmailbox//lib/action_mailbox.rb#23 def incinerate_after; end - # source://actionmailbox/lib/action_mailbox.rb#23 + # source://actionmailbox//lib/action_mailbox.rb#23 def incinerate_after=(val); end - # source://actionmailbox/lib/action_mailbox.rb#20 + # source://actionmailbox//lib/action_mailbox.rb#20 def ingress; end - # source://actionmailbox/lib/action_mailbox.rb#20 + # source://actionmailbox//lib/action_mailbox.rb#20 def ingress=(val); end - # source://actionmailbox/lib/action_mailbox.rb#21 + # source://actionmailbox//lib/action_mailbox.rb#21 def logger; end - # source://actionmailbox/lib/action_mailbox.rb#21 + # source://actionmailbox//lib/action_mailbox.rb#21 def logger=(val); end - # source://actionmailbox/lib/action_mailbox.rb#24 + # source://actionmailbox//lib/action_mailbox.rb#24 def queues; end - # source://actionmailbox/lib/action_mailbox.rb#24 + # source://actionmailbox//lib/action_mailbox.rb#24 def queues=(val); end - # source://railties/7.1.5.1lib/rails/engine.rb#412 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_helpers_paths; end - # source://railties/7.1.5.1lib/rails/engine.rb#395 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_namespace; end - # source://railties/7.1.5.1lib/rails/engine.rb#416 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://actionmailbox/lib/action_mailbox.rb#25 + # source://actionmailbox//lib/action_mailbox.rb#25 def storage_service; end - # source://actionmailbox/lib/action_mailbox.rb#25 + # source://actionmailbox//lib/action_mailbox.rb#25 def storage_service=(val); end - # source://railties/7.1.5.1lib/rails/engine.rb#401 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def table_name_prefix; end - # source://railties/7.1.5.1lib/rails/engine.rb#408 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def use_relative_model_naming?; end # Returns the currently loaded version of Action Mailbox as a +Gem::Version+. # - # source://actionmailbox/lib/action_mailbox/version.rb#7 + # source://actionmailbox//lib/action_mailbox/version.rb#7 def version; end end end @@ -172,7 +173,7 @@ end # rescue_from(ApplicationSpecificVerificationError) { bounced! } # end # -# source://actionmailbox/lib/action_mailbox/base.rb#66 +# source://actionmailbox//lib/action_mailbox/base.rb#66 class ActionMailbox::Base include ::ActiveSupport::Rescuable include ::ActionMailbox::Routing @@ -186,114 +187,114 @@ class ActionMailbox::Base # @return [Base] a new instance of Base # - # source://actionmailbox/lib/action_mailbox/base.rb#79 + # source://actionmailbox//lib/action_mailbox/base.rb#79 def initialize(inbound_email); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _run_process_callbacks(&block); end # Immediately sends the given +message+ and changes the inbound email's status to +:bounced+. # - # source://actionmailbox/lib/action_mailbox/base.rb#111 + # source://actionmailbox//lib/action_mailbox/base.rb#111 def bounce_now_with(message); end # Enqueues the given +message+ for delivery and changes the inbound email's status to +:bounced+. # - # source://actionmailbox/lib/action_mailbox/base.rb#105 + # source://actionmailbox//lib/action_mailbox/base.rb#105 def bounce_with(message); end - # source://actionmailbox/lib/action_mailbox/base.rb#71 + # source://actionmailbox//lib/action_mailbox/base.rb#71 def bounced!(*_arg0, **_arg1, &_arg2); end - # source://actionmailbox/lib/action_mailbox/base.rb#71 + # source://actionmailbox//lib/action_mailbox/base.rb#71 def delivered!(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://actionmailbox/lib/action_mailbox/base.rb#100 + # source://actionmailbox//lib/action_mailbox/base.rb#100 def finished_processing?; end # Returns the value of attribute inbound_email. # - # source://actionmailbox/lib/action_mailbox/base.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#70 def inbound_email; end - # source://actionmailbox/lib/action_mailbox/base.rb#73 + # source://actionmailbox//lib/action_mailbox/base.rb#73 def logger(&block); end - # source://actionmailbox/lib/action_mailbox/base.rb#71 + # source://actionmailbox//lib/action_mailbox/base.rb#71 def mail(*_arg0, **_arg1, &_arg2); end - # source://actionmailbox/lib/action_mailbox/base.rb#83 + # source://actionmailbox//lib/action_mailbox/base.rb#83 def perform_processing; end - # source://actionmailbox/lib/action_mailbox/base.rb#96 + # source://actionmailbox//lib/action_mailbox/base.rb#96 def process; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers?; end - # source://actionmailbox/lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router; end - # source://actionmailbox/lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router=(val); end private - # source://actionmailbox/lib/action_mailbox/base.rb#117 + # source://actionmailbox//lib/action_mailbox/base.rb#117 def instrumentation_payload; end - # source://actionmailbox/lib/action_mailbox/base.rb#124 + # source://actionmailbox//lib/action_mailbox/base.rb#124 def track_status_of_inbound_email; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks=(value); end - # source://actionmailbox/lib/action_mailbox/base.rb#75 + # source://actionmailbox//lib/action_mailbox/base.rb#75 def receive(inbound_email); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers?; end - # source://actionmailbox/lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router; end - # source://actionmailbox/lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router=(val); end end end @@ -301,19 +302,14 @@ end class ActionMailbox::BaseController < ::ActionController::Base private - # source://actionview/7.1.5.1lib/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.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -322,7 +318,7 @@ end # # Defines the callbacks related to processing. # -# source://actionmailbox/lib/action_mailbox/callbacks.rb#9 +# source://actionmailbox//lib/action_mailbox/callbacks.rb#9 module ActionMailbox::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -345,28 +341,23 @@ module ActionMailbox::Callbacks end end -# source://actionmailbox/lib/action_mailbox/callbacks.rb#0 +# source://actionmailbox//lib/action_mailbox/callbacks.rb#22 module ActionMailbox::Callbacks::ClassMethods - # source://actionmailbox/lib/action_mailbox/callbacks.rb#27 + # source://actionmailbox//lib/action_mailbox/callbacks.rb#27 def after_processing(*methods, &block); end - # source://actionmailbox/lib/action_mailbox/callbacks.rb#31 + # source://actionmailbox//lib/action_mailbox/callbacks.rb#31 def around_processing(*methods, &block); end - # source://actionmailbox/lib/action_mailbox/callbacks.rb#23 + # source://actionmailbox//lib/action_mailbox/callbacks.rb#23 def before_processing(*methods, &block); end end -# source://actionmailbox/lib/action_mailbox/callbacks.rb#13 +# source://actionmailbox//lib/action_mailbox/callbacks.rb#13 ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc) -# source://actionmailbox/lib/action_mailbox/engine.rb#12 -class ActionMailbox::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://actionmailbox//lib/action_mailbox/engine.rb#12 +class ActionMailbox::Engine < ::Rails::Engine; end class ActionMailbox::InboundEmail < ::ActionMailbox::Record include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods @@ -376,125 +367,33 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record include ::ActionMailbox::InboundEmail::Incineratable extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_raw_email_attachment(*args); end - - # source://activerecord/7.1.5.1lib/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.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def bounced(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def delivered(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def failed(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def not_bounced(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def not_delivered(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def not_failed(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def not_pending(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def not_processing(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def pending(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def processing(*args, **_arg1); end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#242 - def statuses; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def with_attached_raw_email(*args, **_arg1); end - end end module ActionMailbox::InboundEmail::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_raw_email_attachment(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_raw_email_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_raw_email_attachment(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_raw_email_attachment!(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_raw_email_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_raw_email_blob!(*args, &block); end - - # source://activestorage/7.1.5.1lib/active_storage/attached/model.rb#101 def raw_email; end - - # source://activestorage/7.1.5.1lib/active_storage/attached/model.rb#106 def raw_email=(attachable); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def raw_email_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def raw_email_attachment=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def raw_email_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def raw_email_blob=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_raw_email_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_raw_email_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_raw_email_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_raw_email_blob; end end -module ActionMailbox::InboundEmail::GeneratedAssociationMethods; end module ActionMailbox::InboundEmail::GeneratedAttributeMethods; end module ActionMailbox::InboundEmail::Incineratable @@ -542,12 +441,8 @@ class ActionMailbox::IncinerationJob < ::ActiveJob::Base def perform(inbound_email); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end - def schedule(inbound_email); end end end @@ -560,19 +455,14 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb private - # source://actionview/7.1.5.1lib/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.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -601,9 +491,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def authenticate; end def authenticated?; end def events; end @@ -611,10 +499,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail def raw_emails; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -640,14 +525,10 @@ class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -659,16 +540,11 @@ class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def require_valid_rfc822_message; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -680,17 +556,12 @@ class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def envelope; end def mail; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -698,14 +569,6 @@ end class ActionMailbox::Record < ::ActiveRecord::Base include ::ActionMailbox::Record::GeneratedAttributeMethods include ::ActionMailbox::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActionMailbox::Record::GeneratedAssociationMethods; end @@ -716,77 +579,77 @@ module ActionMailbox::Record::GeneratedAttributeMethods; end # Encapsulates the routes that live on the ApplicationMailbox and performs the actual routing when # an inbound_email is received. # -# source://actionmailbox/lib/action_mailbox/router.rb#8 +# source://actionmailbox//lib/action_mailbox/router.rb#8 class ActionMailbox::Router # @return [Router] a new instance of Router # - # source://actionmailbox/lib/action_mailbox/router.rb#11 + # source://actionmailbox//lib/action_mailbox/router.rb#11 def initialize; end - # source://actionmailbox/lib/action_mailbox/router.rb#21 + # source://actionmailbox//lib/action_mailbox/router.rb#21 def add_route(address, to:); end - # source://actionmailbox/lib/action_mailbox/router.rb#15 + # source://actionmailbox//lib/action_mailbox/router.rb#15 def add_routes(routes); end - # source://actionmailbox/lib/action_mailbox/router.rb#35 + # source://actionmailbox//lib/action_mailbox/router.rb#35 def mailbox_for(inbound_email); end - # source://actionmailbox/lib/action_mailbox/router.rb#25 + # source://actionmailbox//lib/action_mailbox/router.rb#25 def route(inbound_email); end private # Returns the value of attribute routes. # - # source://actionmailbox/lib/action_mailbox/router.rb#40 + # source://actionmailbox//lib/action_mailbox/router.rb#40 def routes; end end -# source://actionmailbox/lib/action_mailbox/router/route.rb#7 +# source://actionmailbox//lib/action_mailbox/router/route.rb#7 class ActionMailbox::Router::Route - # source://actionmailbox/lib/action_mailbox/router/route.rb#10 + # source://actionmailbox//lib/action_mailbox/router/route.rb#10 def initialize(address, to:); end - # source://actionmailbox/lib/action_mailbox/router/route.rb#8 + # source://actionmailbox//lib/action_mailbox/router/route.rb#8 def address; end - # source://actionmailbox/lib/action_mailbox/router/route.rb#31 + # source://actionmailbox//lib/action_mailbox/router/route.rb#31 def mailbox_class; end - # source://actionmailbox/lib/action_mailbox/router/route.rb#8 + # source://actionmailbox//lib/action_mailbox/router/route.rb#8 def mailbox_name; end - # source://actionmailbox/lib/action_mailbox/router/route.rb#16 + # source://actionmailbox//lib/action_mailbox/router/route.rb#16 def match?(inbound_email); end private - # source://actionmailbox/lib/action_mailbox/router/route.rb#36 + # source://actionmailbox//lib/action_mailbox/router/route.rb#36 def ensure_valid_address; end end -# source://actionmailbox/lib/action_mailbox/router.rb#9 +# source://actionmailbox//lib/action_mailbox/router.rb#9 class ActionMailbox::Router::RoutingError < ::StandardError; end # See ActionMailbox::Base for how to specify routing. # -# source://actionmailbox/lib/action_mailbox/routing.rb#5 +# source://actionmailbox//lib/action_mailbox/routing.rb#5 module ActionMailbox::Routing extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods end -# source://actionmailbox/lib/action_mailbox/routing.rb#0 +# source://actionmailbox//lib/action_mailbox/routing.rb#12 module ActionMailbox::Routing::ClassMethods - # source://actionmailbox/lib/action_mailbox/routing.rb#21 + # source://actionmailbox//lib/action_mailbox/routing.rb#21 def mailbox_for(inbound_email); end - # source://actionmailbox/lib/action_mailbox/routing.rb#17 + # source://actionmailbox//lib/action_mailbox/routing.rb#17 def route(inbound_email); end - # source://actionmailbox/lib/action_mailbox/routing.rb#13 + # source://actionmailbox//lib/action_mailbox/routing.rb#13 def routing(routes); end end @@ -794,22 +657,21 @@ class ActionMailbox::RoutingJob < ::ActiveJob::Base def perform(inbound_email); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end end end -# source://actionmailbox/lib/action_mailbox/test_case.rb#7 +# source://actionmailbox//lib/action_mailbox/test_case.rb#7 class ActionMailbox::TestCase < ::ActiveSupport::TestCase include ::ActionMailbox::TestHelper end -# source://actionmailbox/lib/action_mailbox/test_helper.rb#6 +# source://actionmailbox//lib/action_mailbox/test_helper.rb#6 module ActionMailbox::TestHelper # Create an InboundEmail record using an eml fixture in the format of message/rfc822 # referenced with +fixture_name+ located in +test/fixtures/files/fixture_name+. # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#9 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#9 def create_inbound_email_from_fixture(fixture_name, status: T.unsafe(nil)); end # Creates an InboundEmail by specifying through options or a block. @@ -863,882 +725,100 @@ module ActionMailbox::TestHelper # end # end # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#63 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#63 def create_inbound_email_from_mail(status: T.unsafe(nil), **mail_options, &block); end # Create an InboundEmail using the raw rfc822 +source+ as text. # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#72 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#72 def create_inbound_email_from_source(source, status: T.unsafe(nil)); end # Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture # and immediately route it to processing. # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#79 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#79 def receive_inbound_email_from_fixture(*args); end # Create an InboundEmail using the same options or block as # create_inbound_email_from_mail, then immediately route it for processing. # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#85 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#85 def receive_inbound_email_from_mail(**kwargs, &block); end # Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it # to processing. # - # source://actionmailbox/lib/action_mailbox/test_helper.rb#91 + # source://actionmailbox//lib/action_mailbox/test_helper.rb#91 def receive_inbound_email_from_source(*args); end end -# source://actionmailbox/lib/action_mailbox/gem_version.rb#9 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#9 module ActionMailbox::VERSION; end -# source://actionmailbox/lib/action_mailbox/gem_version.rb#10 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#10 ActionMailbox::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actionmailbox/lib/action_mailbox/gem_version.rb#11 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#11 ActionMailbox::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actionmailbox/lib/action_mailbox/gem_version.rb#13 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#13 ActionMailbox::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actionmailbox/lib/action_mailbox/gem_version.rb#15 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#15 ActionMailbox::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actionmailbox/lib/action_mailbox/gem_version.rb#12 +# source://actionmailbox//lib/action_mailbox/gem_version.rb#12 ActionMailbox::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb#3 +# source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#3 module Mail class << self - # source://mail/2.8.1lib/mail/mail.rb#163 - def all(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#183 - def connection(&block); end - - # source://mail/2.8.1lib/mail/mail.rb#98 - def defaults(&block); end - - # source://mail/2.8.1lib/mail/mail.rb#174 - def delete_all(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#131 - def deliver(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#103 - def delivery_method; end - - # source://mail/2.8.1lib/mail.rb#35 - def eager_autoload!; end - - # source://mail/2.8.1lib/mail/mail.rb#139 - def find(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#145 - def find_and_delete(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#151 - def first(*args, &block); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/from_source.rb#4 + # source://actionmailbox//lib/action_mailbox/mail_ext/from_source.rb#4 def from_source(source); end - - # source://mail/2.8.1lib/mail/mail.rb#233 - def inform_interceptors(mail); end - - # source://mail/2.8.1lib/mail/mail.rb#227 - def inform_observers(mail); end - - # source://mail/2.8.1lib/mail/mail.rb#157 - def last(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#50 - def new(*args, &block); end - - # source://mail/2.8.1lib/mail/mail.rb#243 - def random_tag; end - - # source://mail/2.8.1lib/mail/mail.rb#168 - def read(filename); end - - # source://mail/2.8.1lib/mail/mail.rb#179 - def read_from_string(mail_as_string); end - - # source://mail/2.8.1lib/mail.rb#23 - def register_autoload(name, path); end - - # source://mail/2.8.1lib/mail/mail.rb#215 - def register_interceptor(interceptor); end - - # source://mail/2.8.1lib/mail/mail.rb#196 - def register_observer(observer); end - - # source://mail/2.8.1lib/mail/mail.rb#108 - def retriever_method; end - - # source://mail/2.8.1lib/mail/mail.rb#252 - def something_random; end - - # source://mail/2.8.1lib/mail/mail.rb#256 - def uniq; end - - # source://mail/2.8.1lib/mail/mail.rb#223 - def unregister_interceptor(interceptor); end - - # source://mail/2.8.1lib/mail/mail.rb#204 - def unregister_observer(observer); end end end -# source://actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb#4 +# source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#4 class Mail::Address - # source://mail/2.8.1lib/mail/elements/address.rb#25 - def initialize(value = T.unsafe(nil)); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb#5 + # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#5 def ==(other_address); end - # source://mail/2.8.1lib/mail/elements/address.rb#65 - def address(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#79 - def address=(value); end - - # source://mail/2.8.1lib/mail/elements/address.rb#132 - def comments; end - - # source://mail/2.8.1lib/mail/elements/address.rb#173 - def decoded; end - - # source://mail/2.8.1lib/mail/elements/address.rb#87 - def display_name(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#99 - def display_name=(str); end - - # source://mail/2.8.1lib/mail/elements/address.rb#118 - def domain(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#169 - def encoded; end - - # source://mail/2.8.1lib/mail/elements/address.rb#47 - def format(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#177 - def group; end - - # source://mail/2.8.1lib/mail/elements/address.rb#164 - def inspect; end - - # source://mail/2.8.1lib/mail/elements/address.rb#108 - def local(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#147 - def name; end - - # source://mail/2.8.1lib/mail/elements/address.rb#36 - def raw; end - - # source://mail/2.8.1lib/mail/elements/address.rb#156 - def to_s; end - - private - - # source://mail/2.8.1lib/mail/elements/address.rb#237 - def format_comments; end - - # source://mail/2.8.1lib/mail/elements/address.rb#254 - def get_comments; end - - # source://mail/2.8.1lib/mail/elements/address.rb#218 - def get_display_name; end - - # source://mail/2.8.1lib/mail/elements/address.rb#250 - def get_domain; end - - # source://mail/2.8.1lib/mail/elements/address.rb#246 - def get_local; end - - # source://mail/2.8.1lib/mail/elements/address.rb#227 - def get_name; end - - # source://mail/2.8.1lib/mail/elements/address.rb#183 - def parse(value = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/elements/address.rb#198 - def strip_all_comments(string); end - - # source://mail/2.8.1lib/mail/elements/address.rb#207 - def strip_domain_comments(value); end - class << self - # source://actionmailbox/lib/action_mailbox/mail_ext/address_wrapping.rb#5 + # source://actionmailbox//lib/action_mailbox/mail_ext/address_wrapping.rb#5 def wrap(address); end end end -# source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#4 +# source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#4 class Mail::Message - # source://mail/2.8.1lib/mail/message.rb#107 - def initialize(*args, &block); end - - # source://mail/2.8.1lib/mail/message.rb#334 - def <=>(other); end - - # source://mail/2.8.1lib/mail/message.rb#373 - def ==(other); end - - # source://mail/2.8.1lib/mail/message.rb#1334 - def [](name); end - - # source://mail/2.8.1lib/mail/message.rb#1316 - def []=(name, value); end - - # source://mail/2.8.1lib/mail/message.rb#1558 - def action; end - - # source://mail/2.8.1lib/mail/message.rb#1472 - def add_charset; end - - # source://mail/2.8.1lib/mail/message.rb#1487 - def add_content_transfer_encoding; end - - # source://mail/2.8.1lib/mail/message.rb#1465 - def add_content_type; end - - # source://mail/2.8.1lib/mail/message.rb#1448 - def add_date(date_val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1757 - def add_file(values); end - - # source://mail/2.8.1lib/mail/message.rb#1438 - def add_message_id(msg_id_val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1458 - def add_mime_version(ver_val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1701 - def add_part(part); end - - # source://mail/2.8.1lib/mail/message.rb#1927 - def all_parts; end - - # source://mail/2.8.1lib/mail/message.rb#1918 - def attachment; end - - # source://mail/2.8.1lib/mail/message.rb#1913 - def attachment?; end - - # source://mail/2.8.1lib/mail/message.rb#1626 - def attachments; end - - # source://mail/2.8.1lib/mail/message.rb#500 - def bcc(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#512 - def bcc=(val); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#21 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#21 def bcc_addresses; end - # source://mail/2.8.1lib/mail/message.rb#1306 - def bcc_addrs; end - - # source://mail/2.8.1lib/mail/message.rb#1251 - def body(value = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1237 - def body=(value); end - - # source://mail/2.8.1lib/mail/message.rb#1260 - def body_encoding(value = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1268 - def body_encoding=(value); end - - # source://mail/2.8.1lib/mail/message.rb#1554 - def bounced?; end - - # source://mail/2.8.1lib/mail/message.rb#1583 - def boundary; end - - # source://mail/2.8.1lib/mail/message.rb#541 - def cc(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#553 - def cc=(val); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#17 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#17 def cc_addresses; end - # source://mail/2.8.1lib/mail/message.rb#1300 - def cc_addrs; end - - # source://mail/2.8.1lib/mail/message.rb#1497 - def charset; end - - # source://mail/2.8.1lib/mail/message.rb#1506 - def charset=(value); end - - # source://mail/2.8.1lib/mail/message.rb#557 - def comments(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#561 - def comments=(val); end - - # source://mail/2.8.1lib/mail/message.rb#565 - def content_description(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#569 - def content_description=(val); end - - # source://mail/2.8.1lib/mail/message.rb#573 - def content_disposition(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#577 - def content_disposition=(val); end - - # source://mail/2.8.1lib/mail/message.rb#581 - def content_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#585 - def content_id=(val); end - - # source://mail/2.8.1lib/mail/message.rb#589 - def content_location(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#593 - def content_location=(val); end - - # source://mail/2.8.1lib/mail/message.rb#597 - def content_transfer_encoding(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#601 - def content_transfer_encoding=(val); end - - # source://mail/2.8.1lib/mail/message.rb#605 - def content_type(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#609 - def content_type=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1523 - def content_type_parameters; end - - # source://mail/2.8.1lib/mail/message.rb#1773 - def convert_to_multipart; end - - # source://mail/2.8.1lib/mail/message.rb#613 - def date(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#617 - def date=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1907 - def decode_body; end - - # source://mail/2.8.1lib/mail/message.rb#1886 - def decoded; end - - # source://mail/2.8.1lib/mail/message.rb#1204 - def default(sym, val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#250 - def deliver; end - - # source://mail/2.8.1lib/mail/message.rb#267 - def deliver!; end - - # source://mail/2.8.1lib/mail/message.rb#199 - def delivery_handler; end - - # source://mail/2.8.1lib/mail/message.rb#199 - def delivery_handler=(_arg0); end - - # source://mail/2.8.1lib/mail/message.rb#274 - def delivery_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1543 - def delivery_status_part; end - - # source://mail/2.8.1lib/mail/message.rb#1538 - def delivery_status_report?; end - - # source://mail/2.8.1lib/mail/message.rb#1282 - def destinations; end - - # source://mail/2.8.1lib/mail/message.rb#1570 - def diagnostic_code; end - - # source://mail/2.8.1lib/mail/message.rb#1803 - def encoded; end - - # source://mail/2.8.1lib/mail/message.rb#418 - def envelope_date; end - - # source://mail/2.8.1lib/mail/message.rb#414 - def envelope_from; end - - # source://mail/2.8.1lib/mail/message.rb#1566 - def error_status; end - - # source://mail/2.8.1lib/mail/message.rb#471 - def errors; end - - # source://mail/2.8.1lib/mail/message.rb#1923 - def filename; end - - # source://mail/2.8.1lib/mail/message.rb#1562 - def final_recipient; end - - # source://mail/2.8.1lib/mail/message.rb#1931 - def find_first_mime_type(mt); end - - # source://mail/2.8.1lib/mail/message.rb#658 - def from(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#670 - def from=(val); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#5 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#5 def from_address; end - # source://mail/2.8.1lib/mail/message.rb#1288 - def from_addrs; end - - # source://mail/2.8.1lib/mail/message.rb#1630 - def has_attachments?; end - - # source://mail/2.8.1lib/mail/message.rb#1423 - def has_charset?; end - - # source://mail/2.8.1lib/mail/message.rb#1428 - def has_content_transfer_encoding?; end - - # source://mail/2.8.1lib/mail/message.rb#1418 - def has_content_type?; end - - # source://mail/2.8.1lib/mail/message.rb#1408 - def has_date?; end - - # source://mail/2.8.1lib/mail/message.rb#1402 - def has_message_id?; end - - # source://mail/2.8.1lib/mail/message.rb#1414 - def has_mime_version?; end - - # source://mail/2.8.1lib/mail/message.rb#443 - def header(value = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#428 - def header=(value); end - - # source://mail/2.8.1lib/mail/message.rb#1396 - def header_fields; end - - # source://mail/2.8.1lib/mail/message.rb#448 - def headers(hash = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1635 - def html_part(&block); end - - # source://mail/2.8.1lib/mail/message.rb#1655 - def html_part=(msg); end - - # source://mail/2.8.1lib/mail/message.rb#674 - def in_reply_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#678 - def in_reply_to=(val); end - - # source://mail/2.8.1lib/mail/message.rb#240 - def inform_interceptors; end - - # source://mail/2.8.1lib/mail/message.rb#236 - def inform_observers; end - - # source://mail/2.8.1lib/mail/message.rb#1873 - def inspect; end - - # source://mail/2.8.1lib/mail/message.rb#1877 - def inspect_structure; end - - # source://mail/2.8.1lib/mail/message.rb#1960 - def is_marked_for_delete?; end - - # source://mail/2.8.1lib/mail/message.rb#682 - def keywords(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#686 - def keywords=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1513 - def main_type; end - - # source://mail/2.8.1lib/mail/message.rb#1947 - def mark_for_delete=(value = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#703 - def message_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#712 - def message_id=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1377 - def method_missing(name, *args, &block); end - - # source://mail/2.8.1lib/mail/message.rb#1492 - def mime_type; end - - # source://mail/2.8.1lib/mail/message.rb#729 - def mime_version(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#739 - def mime_version=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1528 - def multipart?; end - - # source://mail/2.8.1lib/mail/message.rb#1533 - def multipart_report?; end - - # source://mail/2.8.1lib/mail/message.rb#1722 - def part(params = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1588 - def parts; end - - # source://mail/2.8.1lib/mail/message.rb#223 - def perform_deliveries; end - - # source://mail/2.8.1lib/mail/message.rb#223 - def perform_deliveries=(_arg0); end - - # source://mail/2.8.1lib/mail/message.rb#230 - def raise_delivery_errors; end - - # source://mail/2.8.1lib/mail/message.rb#230 - def raise_delivery_errors=(_arg0); end - - # source://mail/2.8.1lib/mail/message.rb#410 - def raw_envelope; end - - # source://mail/2.8.1lib/mail/message.rb#397 - def raw_source; end - - # source://mail/2.8.1lib/mail/message.rb#1899 - def read; end - - # source://mail/2.8.1lib/mail/message.rb#1791 - def ready_to_send!; end - - # source://mail/2.8.1lib/mail/message.rb#743 - def received(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#751 - def received=(val); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/recipients.rb#5 + # source://actionmailbox//lib/action_mailbox/mail_ext/recipients.rb#5 def recipients; end - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#9 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#9 def recipients_addresses; end - # source://mail/2.8.1lib/mail/message.rb#755 - def references(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#759 - def references=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1574 - def remote_mta; end - - # source://mail/2.8.1lib/mail/message.rb#282 - def reply(*args, &block); end - - # source://mail/2.8.1lib/mail/message.rb#788 - def reply_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#800 - def reply_to=(val); end - - # source://mail/2.8.1lib/mail/message.rb#829 - def resent_bcc(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#841 - def resent_bcc=(val); end - - # source://mail/2.8.1lib/mail/message.rb#870 - def resent_cc(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#882 - def resent_cc=(val); end - - # source://mail/2.8.1lib/mail/message.rb#886 - def resent_date(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#890 - def resent_date=(val); end - - # source://mail/2.8.1lib/mail/message.rb#919 - def resent_from(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#931 - def resent_from=(val); end - - # source://mail/2.8.1lib/mail/message.rb#935 - def resent_message_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#939 - def resent_message_id=(val); end - - # source://mail/2.8.1lib/mail/message.rb#958 - def resent_sender(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#968 - def resent_sender=(val); end - - # source://mail/2.8.1lib/mail/message.rb#997 - def resent_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1009 - def resent_to=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1578 - def retryable?; end - - # source://mail/2.8.1lib/mail/message.rb#1014 - def return_path(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1019 - def return_path=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1037 - def sender(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1047 - def sender=(val); end - - # source://mail/2.8.1lib/mail/message.rb#402 - def set_envelope(val); end - - # source://mail/2.8.1lib/mail/message.rb#1939 - def skip_deletion; end - - # source://mail/2.8.1lib/mail/message.rb#1067 - def smtp_envelope_from(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1081 - def smtp_envelope_from=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1100 - def smtp_envelope_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1117 - def smtp_envelope_to=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1518 - def sub_type; end - - # source://mail/2.8.1lib/mail/message.rb#1142 - def subject(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1152 - def subject=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1964 - def text?; end - - # source://mail/2.8.1lib/mail/message.rb#1644 - def text_part(&block); end - - # source://mail/2.8.1lib/mail/message.rb#1679 - def text_part=(msg); end - - # source://mail/2.8.1lib/mail/message.rb#1181 - def to(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#1193 - def to=(val); end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#13 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#13 def to_addresses; end - # source://mail/2.8.1lib/mail/message.rb#1294 - def to_addrs; end - - # source://mail/2.8.1lib/mail/message.rb#1869 - def to_s; end - - # source://mail/2.8.1lib/mail/message.rb#1823 - def to_yaml(opts = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#621 - def transport_encoding(val = T.unsafe(nil)); end - - # source://mail/2.8.1lib/mail/message.rb#629 - def transport_encoding=(val); end - - # source://mail/2.8.1lib/mail/message.rb#1811 - def without_attachments!; end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#29 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#29 def x_forwarded_to_addresses; end - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#25 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#25 def x_original_to_addresses; end private - # source://mail/2.8.1lib/mail/message.rb#2067 - def add_boundary; end - - # source://mail/2.8.1lib/mail/message.rb#2032 - def add_encoding_to_body; end - - # source://mail/2.8.1lib/mail/message.rb#2062 - def add_multipart_alternate_header; end - - # source://mail/2.8.1lib/mail/message.rb#2079 - def add_multipart_mixed_header; end - - # source://mail/2.8.1lib/mail/message.rb#2048 - def add_required_fields; end - - # source://mail/2.8.1lib/mail/message.rb#2056 - def add_required_message_fields; end - - # source://actionmailbox/lib/action_mailbox/mail_ext/addresses.rb#34 + # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#34 def address_list(obj); end - - # source://mail/2.8.1lib/mail/message.rb#2025 - def allowed_encodings; end - - # source://mail/2.8.1lib/mail/message.rb#1990 - def body_lazy(value); end - - # source://mail/2.8.1lib/mail/message.rb#2152 - def decode_body_as_text; end - - # source://mail/2.8.1lib/mail/message.rb#2142 - def do_delivery; end - - # source://mail/2.8.1lib/mail/message.rb#2124 - def find_attachment; end - - # source://mail/2.8.1lib/mail/message.rb#2038 - def identify_and_set_transfer_encoding; end - - # source://mail/2.8.1lib/mail/message.rb#2086 - def init_with_hash(hash); end - - # source://mail/2.8.1lib/mail/message.rb#2116 - def init_with_string(string); end - - # source://mail/2.8.1lib/mail/message.rb#384 - def initialize_copy(original); end - - # source://mail/2.8.1lib/mail/message.rb#1979 - def parse_message; end - - # source://mail/2.8.1lib/mail/message.rb#2005 - def process_body_raw; end - - # source://mail/2.8.1lib/mail/message.rb#1985 - def raw_source=(value); end - - # source://mail/2.8.1lib/mail/message.rb#2021 - def separate_parts; end - - # source://mail/2.8.1lib/mail/message.rb#2013 - def set_envelope_header; end - - class << self - # source://mail/2.8.1lib/mail/message.rb#232 - def default_charset; end - - # source://mail/2.8.1lib/mail/message.rb#233 - def default_charset=(charset); end - - # source://mail/2.8.1lib/mail/message.rb#1865 - def from_hash(hash); end - - # source://mail/2.8.1lib/mail/message.rb#1843 - def from_yaml(str); end - end -end - -module Rails - class << self - # source://railties/7.1.5.1lib/rails.rb#42 - def app_class; end - - # source://railties/7.1.5.1lib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.1.5.1lib/rails.rb#43 - def application; end - - # source://railties/7.1.5.1lib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.1.5.1lib/rails.rb#123 - def autoloaders; end - - # source://railties/7.1.5.1lib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.1.5.1lib/rails.rb#42 - def cache; end - - # source://railties/7.1.5.1lib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.1.5.1lib/rails.rb#50 - def configuration; end - - # source://railties/7.1.5.1lib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.1.5.1lib/rails.rb#72 - def env; end - - # source://railties/7.1.5.1lib/rails.rb#79 - def env=(environment); end - - # source://railties/7.1.5.1lib/rails.rb#90 - def error; end - - # source://railties/7.1.5.1lib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.1.5.1lib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.1.5.1lib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.5.1lib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.5.1lib/rails.rb#42 - def logger; end - - # source://railties/7.1.5.1lib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.1.5.1lib/rails.rb#119 - def public_path; end - - # source://railties/7.1.5.1lib/rails.rb#63 - def root; end - - # source://railties/7.1.5.1lib/rails/version.rb#7 - def version; end - end end module Rails; end @@ -1752,11 +832,9 @@ class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rail private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1769,15 +847,12 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc private - # source://actionview/7.1.5.1lib/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.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1787,11 +862,9 @@ class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conducto private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1801,13 +874,10 @@ class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor:: private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def reroute(inbound_email); end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1815,22 +885,13 @@ end class Rails::Conductor::BaseController < ::ActionController::Base private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def ensure_development_env; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 def _layout; end - - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 def _layout_conditions; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end diff --git a/sorbet/rbi/gems/actionmailer@7.1.5.1.rbi b/sorbet/rbi/gems/actionmailer@7.1.5.1.rbi index bb6c0f4ba..f341d2a9e 100644 --- a/sorbet/rbi/gems/actionmailer@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actionmailer@7.1.5.1.rbi @@ -4,28 +4,29 @@ # This is an autogenerated file for types exported from the `actionmailer` gem. # Please instead update this file by running `bin/tapioca gem actionmailer`. + # :include: ../README.rdoc # -# source://actionmailer/lib/action_mailer/gem_version.rb#3 +# source://actionmailer//lib/action_mailer/gem_version.rb#3 module ActionMailer extend ::ActiveSupport::Autoload class << self - # source://actionmailer/lib/action_mailer/deprecator.rb#4 + # source://actionmailer//lib/action_mailer/deprecator.rb#4 def deprecator; end - # source://actionmailer/lib/action_mailer.rb#61 + # source://actionmailer//lib/action_mailer.rb#61 def eager_load!; end # Returns the currently loaded version of Action Mailer as a +Gem::Version+. # - # source://actionmailer/lib/action_mailer/gem_version.rb#5 + # source://actionmailer//lib/action_mailer/gem_version.rb#5 def gem_version; end # Returns the currently loaded version of Action Mailer as a # +Gem::Version+. # - # source://actionmailer/lib/action_mailer/version.rb#8 + # source://actionmailer//lib/action_mailer/version.rb#8 def version; end end end @@ -495,7 +496,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionmailer/lib/action_mailer/base.rb#476 +# source://actionmailer//lib/action_mailer/base.rb#476 class ActionMailer::Base < ::AbstractController::Base include ::ActionMailer::Callbacks include ::ActiveSupport::Callbacks @@ -540,58 +541,58 @@ class ActionMailer::Base < ::AbstractController::Base # @return [Base] a new instance of Base # - # source://actionmailer/lib/action_mailer/base.rb#644 + # source://actionmailer//lib/action_mailer/base.rb#644 def initialize; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods=(_arg0); end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods?; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#216 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionmailer//lib/action_mailer/base.rb#477 def _run_deliver_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionmailer//lib/action_mailer/base.rb#493 def _run_process_action_callbacks(&block); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies=(_arg0); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir=(value); end # Allows you to add attachments to an email, like so: @@ -623,95 +624,95 @@ class ActionMailer::Base < ::AbstractController::Base # # or by index # mail.attachments[0] # => Mail::Part (first attachment) # - # source://actionmailer/lib/action_mailer/base.rb#761 + # source://actionmailer//lib/action_mailer/base.rb#761 def attachments; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol=(value); end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params; end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params=(_arg0); end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension=(value); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name; end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name=(_arg0); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name?; end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job; end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job=(_arg0); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods?; end # Returns an email in the format "Name ". # # If the name is a blank string, it returns just the address. # - # source://actionmailer/lib/action_mailer/base.rb#685 + # source://actionmailer//lib/action_mailer/base.rb#685 def email_address_with_name(address, name); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings?; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys=(_arg0); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys?; end # Allows you to pass random and unusual headers to the new +Mail::Message+ @@ -749,19 +750,19 @@ class ActionMailer::Base < ::AbstractController::Base # +nil+ in order to reset the value otherwise another field will be added # for the same header. # - # source://actionmailer/lib/action_mailer/base.rb#723 + # source://actionmailer//lib/action_mailer/base.rb#723 def headers(args = T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger=(value); end # The main method that creates the message and renders the email templates. There are @@ -853,142 +854,142 @@ class ActionMailer::Base < ::AbstractController::Base # format.html # end # - # source://actionmailer/lib/action_mailer/base.rb#870 + # source://actionmailer//lib/action_mailer/base.rb#870 def mail(headers = T.unsafe(nil), &block); end # Returns the name of the mailer object. # - # source://actionmailer/lib/action_mailer/base.rb#678 + # source://actionmailer//lib/action_mailer/base.rb#678 def mailer_name; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#642 def message; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#642 def message=(_arg0); end - # source://actionmailer/lib/action_mailer/parameterized.rb#95 + # source://actionmailer//lib/action_mailer/base.rb#481 def params; end - # source://actionmailer/lib/action_mailer/parameterized.rb#93 + # source://actionmailer//lib/action_mailer/base.rb#481 def params=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries=(val); end - # source://actionmailer/lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors; end - # source://actionmailer/lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths; end - # source://actionmailer/lib/action_mailer/base.rb#650 + # source://actionmailer//lib/action_mailer/base.rb#650 def process(method_name, *args, **_arg2); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors=(val); end - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions; end - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions=(val); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings?; end - # source://actionmailer/lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings=(_arg0); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings?; end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout(lookup_context, formats); end - # source://actionmailer/lib/action_mailer/base.rb#1071 + # source://actionmailer//lib/action_mailer/base.rb#1071 def _protected_ivars; end - # source://actionmailer/lib/action_mailer/base.rb#947 + # source://actionmailer//lib/action_mailer/base.rb#947 def apply_defaults(headers); end - # source://actionmailer/lib/action_mailer/base.rb#967 + # source://actionmailer//lib/action_mailer/base.rb#967 def assign_headers_to_message(message, headers); end - # source://actionmailer/lib/action_mailer/base.rb#973 + # source://actionmailer//lib/action_mailer/base.rb#973 def collect_responses(headers, &block); end # @yield [collector] # - # source://actionmailer/lib/action_mailer/base.rb#983 + # source://actionmailer//lib/action_mailer/base.rb#983 def collect_responses_from_block(headers); end - # source://actionmailer/lib/action_mailer/base.rb#997 + # source://actionmailer//lib/action_mailer/base.rb#997 def collect_responses_from_templates(headers); end - # source://actionmailer/lib/action_mailer/base.rb#990 + # source://actionmailer//lib/action_mailer/base.rb#990 def collect_responses_from_text(headers); end - # source://actionmailer/lib/action_mailer/base.rb#957 + # source://actionmailer//lib/action_mailer/base.rb#957 def compute_default(value); end - # source://actionmailer/lib/action_mailer/base.rb#1040 + # source://actionmailer//lib/action_mailer/base.rb#1040 def create_parts_from_responses(m, responses); end # Translates the +subject+ using \Rails I18n class under [mailer_scope, action_name] scope. @@ -996,21 +997,21 @@ class ActionMailer::Base < ::AbstractController::Base # humanized version of the action_name. # If the subject has interpolations, you can pass them through the +interpolations+ parameter. # - # source://actionmailer/lib/action_mailer/base.rb#937 + # source://actionmailer//lib/action_mailer/base.rb#937 def default_i18n_subject(interpolations = T.unsafe(nil)); end - # source://actionmailer/lib/action_mailer/base.rb#1010 + # source://actionmailer//lib/action_mailer/base.rb#1010 def each_template(paths, name, &block); end - # source://actionmailer/lib/action_mailer/base.rb#1053 + # source://actionmailer//lib/action_mailer/base.rb#1053 def insert_part(container, response, charset); end - # source://actionmailer/lib/action_mailer/base.rb#1067 + # source://actionmailer//lib/action_mailer/base.rb#1067 def instrument_name; end # This and #instrument_name is for caching instrument # - # source://actionmailer/lib/action_mailer/base.rb#1060 + # source://actionmailer//lib/action_mailer/base.rb#1060 def instrument_payload(key); end # Used by #mail to set the content type of the message. @@ -1023,98 +1024,98 @@ class ActionMailer::Base < ::AbstractController::Base # attachments, or the message is multipart, then the default content type is # used. # - # source://actionmailer/lib/action_mailer/base.rb#915 + # source://actionmailer//lib/action_mailer/base.rb#915 def set_content_type(m, user_content_type, class_default); end - # source://actionmailer/lib/action_mailer/base.rb#1019 + # source://actionmailer//lib/action_mailer/base.rb#1019 def wrap_inline_attachments(message); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks?; end - # source://actionmailer/lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder; end - # source://actionmailer/lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder=(value); end - # source://actionmailer/lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods?; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helpers; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout=(value); end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout?; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions=(value); end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir=(value); end # Returns the name of the current mailer. This method is also being used as a path for a view lookup. # If this is an anonymous mailer, this method will return +anonymous+ instead. # - # source://actionmailer/lib/action_mailer/base.rb#570 + # source://actionmailer//lib/action_mailer/base.rb#575 def controller_path; end # Sets the defaults through app configuration: @@ -1123,13 +1124,13 @@ class ActionMailer::Base < ::AbstractController::Base # # Aliased by ::default_options= # - # source://actionmailer/lib/action_mailer/base.rb#582 + # source://actionmailer//lib/action_mailer/base.rb#582 def default(value = T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol=(value); end # Sets the defaults through app configuration: @@ -1141,31 +1142,31 @@ class ActionMailer::Base < ::AbstractController::Base # # config.action_mailer.default_options = { from: "no-reply@example.org" } # - # source://actionmailer/lib/action_mailer/base.rb#582 + # source://actionmailer//lib/action_mailer/base.rb#589 def default_options=(value = T.unsafe(nil)); end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params; end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params=(value); end - # source://actionmailer/lib/action_mailer/base.rb#502 + # source://actionmailer//lib/action_mailer/base.rb#502 def default_params?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension=(value); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name; end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name=(value); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name?; end # Wraps an email delivery inside of ActiveSupport::Notifications instrumentation. @@ -1175,303 +1176,303 @@ class ActionMailer::Base < ::AbstractController::Base # calling +deliver_mail+ directly and passing a +Mail::Message+ will do # nothing except tell the logger you sent the email. # - # source://actionmailer/lib/action_mailer/base.rb#597 + # source://actionmailer//lib/action_mailer/base.rb#597 def deliver_mail(mail); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job; end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job=(value); end - # source://actionmailer/lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods?; end # Returns an email in the format "Name ". # # If the name is a blank string, it returns just the address. # - # source://actionmailer/lib/action_mailer/base.rb#607 + # source://actionmailer//lib/action_mailer/base.rb#607 def email_address_with_name(address, name); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings?; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys; end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger=(value); end # Returns the name of the current mailer. This method is also being used as a path for a view lookup. # If this is an anonymous mailer, this method will return +anonymous+ instead. # - # source://actionmailer/lib/action_mailer/base.rb#570 + # source://actionmailer//lib/action_mailer/base.rb#570 def mailer_name; end # Allows to set the name of current mailer. # - # source://actionmailer/lib/action_mailer/base.rb#574 + # source://actionmailer//lib/action_mailer/base.rb#574 def mailer_name=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries=(val); end - # source://actionmailer/lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors; end - # source://actionmailer/lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors=(val); end - # source://actionmailer/lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths; end - # source://actionmailer/lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths=(val); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors=(val); end - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions; end - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions=(val); end # Register an Interceptor which will be called before mail is sent. # Either a class, string, or symbol can be passed in as the Interceptor. # If a string or symbol is passed in it will be camelized and constantized. # - # source://actionmailer/lib/action_mailer/base.rb#547 + # source://actionmailer//lib/action_mailer/base.rb#547 def register_interceptor(interceptor); end # Register one or more Interceptors which will be called before mail is sent. # - # source://actionmailer/lib/action_mailer/base.rb#521 + # source://actionmailer//lib/action_mailer/base.rb#521 def register_interceptors(*interceptors); end # Register an Observer which will be notified when mail is delivered. # Either a class, string, or symbol can be passed in as the Observer. # If a string or symbol is passed in it will be camelized and constantized. # - # source://actionmailer/lib/action_mailer/base.rb#533 + # source://actionmailer//lib/action_mailer/base.rb#533 def register_observer(observer); end # Register one or more Observers which will be notified when mail is delivered. # - # source://actionmailer/lib/action_mailer/base.rb#511 + # source://actionmailer//lib/action_mailer/base.rb#511 def register_observers(*observers); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings?; end - # source://actionmailer/lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews; end - # source://actionmailer/lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews=(val); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir=(value); end # Emails do not support relative path links. # # @return [Boolean] # - # source://actionmailer/lib/action_mailer/base.rb#943 + # source://actionmailer//lib/action_mailer/base.rb#943 def supports_path?; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings; end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings=(value); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings?; end # Unregister a previously registered Interceptor. # Either a class, string, or symbol can be passed in as the Interceptor. # If a string or symbol is passed in it will be camelized and constantized. # - # source://actionmailer/lib/action_mailer/base.rb#554 + # source://actionmailer//lib/action_mailer/base.rb#554 def unregister_interceptor(interceptor); end # Unregister one or more previously registered Interceptors. # - # source://actionmailer/lib/action_mailer/base.rb#526 + # source://actionmailer//lib/action_mailer/base.rb#526 def unregister_interceptors(*interceptors); end # Unregister a previously registered Observer. # Either a class, string, or symbol can be passed in as the Observer. # If a string or symbol is passed in it will be camelized and constantized. # - # source://actionmailer/lib/action_mailer/base.rb#540 + # source://actionmailer//lib/action_mailer/base.rb#540 def unregister_observer(observer); end # Unregister one or more previously registered Observers. # - # source://actionmailer/lib/action_mailer/base.rb#516 + # source://actionmailer//lib/action_mailer/base.rb#516 def unregister_observers(*observers); end private - # source://actionmailer/lib/action_mailer/base.rb#628 + # source://actionmailer//lib/action_mailer/base.rb#628 def method_missing(method_name, *args, **_arg2); end - # source://actionmailer/lib/action_mailer/base.rb#558 + # source://actionmailer//lib/action_mailer/base.rb#558 def observer_class_for(value); end # @return [Boolean] # - # source://actionmailer/lib/action_mailer/base.rb#637 + # source://actionmailer//lib/action_mailer/base.rb#637 def respond_to_missing?(method, include_all = T.unsafe(nil)); end - # source://actionmailer/lib/action_mailer/base.rb#615 + # source://actionmailer//lib/action_mailer/base.rb#615 def set_payload_for_mail(payload, mail); end end end -# source://actionmailer/lib/action_mailer/base.rb#0 +# source://actionmailer//lib/action_mailer/base.rb#490 module ActionMailer::Base::HelperMethods include ::ActionMailer::MailHelper include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#494 def combined_fragment_cache_key(*args, **_arg1, &block); end - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#43 + # source://actionmailer//lib/action_mailer/base.rb#494 def view_cache_dependencies(*args, **_arg1, &block); end end -# source://actionmailer/lib/action_mailer/base.rb#769 +# source://actionmailer//lib/action_mailer/base.rb#769 class ActionMailer::Base::LateAttachmentsProxy < ::SimpleDelegator - # source://actionmailer/lib/action_mailer/base.rb#771 + # source://actionmailer//lib/action_mailer/base.rb#771 def []=(_name, _content); end - # source://actionmailer/lib/action_mailer/base.rb#770 + # source://actionmailer//lib/action_mailer/base.rb#770 def inline; end private # @raise [RuntimeError] # - # source://actionmailer/lib/action_mailer/base.rb#774 + # source://actionmailer//lib/action_mailer/base.rb#774 def _raise_error; end end -# source://actionmailer/lib/action_mailer/base.rb#664 +# source://actionmailer//lib/action_mailer/base.rb#664 class ActionMailer::Base::NullMail - # source://actionmailer/lib/action_mailer/base.rb#665 + # source://actionmailer//lib/action_mailer/base.rb#665 def body; end - # source://actionmailer/lib/action_mailer/base.rb#666 + # source://actionmailer//lib/action_mailer/base.rb#666 def header; end - # source://actionmailer/lib/action_mailer/base.rb#672 + # source://actionmailer//lib/action_mailer/base.rb#672 def method_missing(*args); end # @return [Boolean] # - # source://actionmailer/lib/action_mailer/base.rb#668 + # source://actionmailer//lib/action_mailer/base.rb#668 def respond_to?(string, include_all = T.unsafe(nil)); end end -# source://actionmailer/lib/action_mailer/base.rb#498 +# source://actionmailer//lib/action_mailer/base.rb#498 ActionMailer::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array) -# source://actionmailer/lib/action_mailer/callbacks.rb#4 +# source://actionmailer//lib/action_mailer/callbacks.rb#4 module ActionMailer::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1494,51 +1495,51 @@ module ActionMailer::Callbacks end end -# source://actionmailer/lib/action_mailer/callbacks.rb#12 +# source://actionmailer//lib/action_mailer/callbacks.rb#12 module ActionMailer::Callbacks::ClassMethods # Defines a callback that will get called right after the # message's delivery method is finished. # - # source://actionmailer/lib/action_mailer/callbacks.rb#21 + # source://actionmailer//lib/action_mailer/callbacks.rb#21 def after_deliver(*filters, &blk); end # Defines a callback that will get called around the message's deliver method. # - # source://actionmailer/lib/action_mailer/callbacks.rb#26 + # source://actionmailer//lib/action_mailer/callbacks.rb#26 def around_deliver(*filters, &blk); end # Defines a callback that will get called right before the # message is sent to the delivery method. # - # source://actionmailer/lib/action_mailer/callbacks.rb#15 + # source://actionmailer//lib/action_mailer/callbacks.rb#15 def before_deliver(*filters, &blk); end end -# source://actionmailer/lib/action_mailer/collector.rb#8 +# source://actionmailer//lib/action_mailer/collector.rb#8 class ActionMailer::Collector include ::AbstractController::Collector # @return [Collector] a new instance of Collector # - # source://actionmailer/lib/action_mailer/collector.rb#12 + # source://actionmailer//lib/action_mailer/collector.rb#12 def initialize(context, &block); end # @raise [ArgumentError] # - # source://actionmailer/lib/action_mailer/collector.rb#18 + # source://actionmailer//lib/action_mailer/collector.rb#23 def all(*args, &block); end # @raise [ArgumentError] # - # source://actionmailer/lib/action_mailer/collector.rb#18 + # source://actionmailer//lib/action_mailer/collector.rb#18 def any(*args, &block); end - # source://actionmailer/lib/action_mailer/collector.rb#25 + # source://actionmailer//lib/action_mailer/collector.rb#25 def custom(mime, options = T.unsafe(nil)); end # Returns the value of attribute responses. # - # source://actionmailer/lib/action_mailer/collector.rb#10 + # source://actionmailer//lib/action_mailer/collector.rb#10 def responses; end end @@ -1547,7 +1548,7 @@ end # This module handles everything related to mail delivery, from registering # new delivery methods to configuring the mail object to be sent. # -# source://actionmailer/lib/action_mailer/delivery_methods.rb#10 +# source://actionmailer//lib/action_mailer/delivery_methods.rb#10 module ActionMailer::DeliveryMethods extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1555,7 +1556,7 @@ module ActionMailer::DeliveryMethods mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActionMailer::DeliveryMethods::ClassMethods - # source://actionmailer/lib/action_mailer/delivery_methods.rb#80 + # source://actionmailer//lib/action_mailer/delivery_methods.rb#80 def wrap_delivery_behavior!(*args); end module GeneratedClassMethods @@ -1603,7 +1604,7 @@ end # Helpers for creating and wrapping delivery behavior, used by DeliveryMethods. # -# source://actionmailer/lib/action_mailer/delivery_methods.rb#42 +# source://actionmailer//lib/action_mailer/delivery_methods.rb#42 module ActionMailer::DeliveryMethods::ClassMethods # Adds a new delivery method through the given class using the given # symbol as alias and the default options supplied. @@ -1612,16 +1613,16 @@ module ActionMailer::DeliveryMethods::ClassMethods # location: '/usr/sbin/sendmail', # arguments: %w[ -i ] # - # source://actionmailer/lib/action_mailer/delivery_methods.rb#52 + # source://actionmailer//lib/action_mailer/delivery_methods.rb#52 def add_delivery_method(symbol, klass, default_options = T.unsafe(nil)); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#44 + # source://actionmailer//lib/action_mailer/delivery_methods.rb#44 def deliveries(&block); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#44 + # source://actionmailer//lib/action_mailer/delivery_methods.rb#44 def deliveries=(arg); end - # source://actionmailer/lib/action_mailer/delivery_methods.rb#58 + # source://actionmailer//lib/action_mailer/delivery_methods.rb#58 def wrap_delivery_behavior(mail, method = T.unsafe(nil), options = T.unsafe(nil)); end end @@ -1636,7 +1637,7 @@ end # # For more information, see +ActionController::FormBuilder+. # -# source://actionmailer/lib/action_mailer/form_builder.rb#14 +# source://actionmailer//lib/action_mailer/form_builder.rb#14 module ActionMailer::FormBuilder extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1646,7 +1647,7 @@ module ActionMailer::FormBuilder # Default form builder for the mailer # - # source://actionmailer/lib/action_mailer/form_builder.rb#33 + # source://actionmailer//lib/action_mailer/form_builder.rb#33 def default_form_builder; end module GeneratedClassMethods @@ -1658,7 +1659,7 @@ module ActionMailer::FormBuilder module GeneratedInstanceMethods; end end -# source://actionmailer/lib/action_mailer/form_builder.rb#21 +# source://actionmailer//lib/action_mailer/form_builder.rb#21 module ActionMailer::FormBuilder::ClassMethods # Set the form builder to be used as the default for all forms # in the views rendered by this mailer and its subclasses. @@ -1666,7 +1667,7 @@ module ActionMailer::FormBuilder::ClassMethods # ==== Parameters # * builder - Default form builder, an instance of ActionView::Helpers::FormBuilder # - # source://actionmailer/lib/action_mailer/form_builder.rb#27 + # source://actionmailer//lib/action_mailer/form_builder.rb#27 def default_form_builder(builder); end end @@ -1681,41 +1682,41 @@ end # # ActionMailer::Base.preview_interceptors.delete(ActionMailer::InlinePreviewInterceptor) # -# source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#17 +# source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#17 class ActionMailer::InlinePreviewInterceptor include ::Base64 # @return [InlinePreviewInterceptor] a new instance of InlinePreviewInterceptor # - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#26 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#26 def initialize(message); end - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#30 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#30 def transform!; end private - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#51 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#51 def data_url(part); end - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#55 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#55 def find_part(cid); end - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#47 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#47 def html_part; end # Returns the value of attribute message. # - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#45 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#45 def message; end class << self - # source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#22 + # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#22 def previewing_email(message); end end end -# source://actionmailer/lib/action_mailer/inline_preview_interceptor.rb#18 +# source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#18 ActionMailer::InlinePreviewInterceptor::PATTERN = T.let(T.unsafe(nil), Regexp) # = Action Mailer \LogSubscriber @@ -1723,25 +1724,25 @@ ActionMailer::InlinePreviewInterceptor::PATTERN = T.let(T.unsafe(nil), Regexp) # Implements the ActiveSupport::LogSubscriber for logging notifications when # email is delivered or received. # -# source://actionmailer/lib/action_mailer/log_subscriber.rb#10 +# source://actionmailer//lib/action_mailer/log_subscriber.rb#10 class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber # An email was delivered. # - # source://actionmailer/lib/action_mailer/log_subscriber.rb#12 + # source://actionmailer//lib/action_mailer/log_subscriber.rb#12 def deliver(event); end # Use the logger configured for ActionMailer::Base. # - # source://actionmailer/lib/action_mailer/log_subscriber.rb#38 + # source://actionmailer//lib/action_mailer/log_subscriber.rb#38 def logger; end # An email was generated. # - # source://actionmailer/lib/action_mailer/log_subscriber.rb#28 + # source://actionmailer//lib/action_mailer/log_subscriber.rb#28 def process(event); end class << self - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://actionmailer//lib/action_mailer/log_subscriber.rb#25 def log_levels; end end end @@ -1754,27 +1755,27 @@ end # # Exceptions are rescued and handled by the mailer class. # -# source://actionmailer/lib/action_mailer/mail_delivery_job.rb#13 +# source://actionmailer//lib/action_mailer/mail_delivery_job.rb#13 class ActionMailer::MailDeliveryJob < ::ActiveJob::Base - # source://actionmailer/lib/action_mailer/mail_delivery_job.rb#21 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#21 def perform(mailer, mail_method, delivery_method, args:, kwargs: T.unsafe(nil), params: T.unsafe(nil)); end private - # source://actionmailer/lib/action_mailer/mail_delivery_job.rb#40 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#40 def handle_exception_with_mailer_class(exception); end # "Deserialize" the mailer class name by hand in case another argument # (like a Global ID reference) raised DeserializationError. # - # source://actionmailer/lib/action_mailer/mail_delivery_job.rb#34 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#34 def mailer_class; end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#14 def queue_name; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#19 def rescue_handlers; end end end @@ -1785,11 +1786,11 @@ end # formatting messages, accessing mailer or message instances, and the # attachments list. # -# source://actionmailer/lib/action_mailer/mail_helper.rb#9 +# source://actionmailer//lib/action_mailer/mail_helper.rb#9 module ActionMailer::MailHelper # Access the message attachments list. # - # source://actionmailer/lib/action_mailer/mail_helper.rb#53 + # source://actionmailer//lib/action_mailer/mail_helper.rb#53 def attachments; end # Take the text and format it, indented two spaces for each line, and @@ -1805,7 +1806,7 @@ module ActionMailer::MailHelper # block_format text # # => " This is the paragraph.\n\n * item1\n * item2\n" # - # source://actionmailer/lib/action_mailer/mail_helper.rb#22 + # source://actionmailer//lib/action_mailer/mail_helper.rb#22 def block_format(text); end # Returns +text+ wrapped at +len+ columns and indented +indent+ spaces. @@ -1817,17 +1818,17 @@ module ActionMailer::MailHelper # format_paragraph(my_text, 25, 4) # # => " Here is a sample text with\n more than 40 characters" # - # source://actionmailer/lib/action_mailer/mail_helper.rb#65 + # source://actionmailer//lib/action_mailer/mail_helper.rb#65 def format_paragraph(text, len = T.unsafe(nil), indent = T.unsafe(nil)); end # Access the mailer instance. # - # source://actionmailer/lib/action_mailer/mail_helper.rb#43 + # source://actionmailer//lib/action_mailer/mail_helper.rb#43 def mailer; end # Access the message instance. # - # source://actionmailer/lib/action_mailer/mail_helper.rb#48 + # source://actionmailer//lib/action_mailer/mail_helper.rb#48 def message; end end @@ -1845,21 +1846,21 @@ end # Notifier.welcome(User.first).deliver_later # enqueue email delivery as a job through Active Job # Notifier.welcome(User.first).message # a Mail::Message object # -# source://actionmailer/lib/action_mailer/message_delivery.rb#19 +# source://actionmailer//lib/action_mailer/message_delivery.rb#19 class ActionMailer::MessageDelivery # @return [MessageDelivery] a new instance of MessageDelivery # - # source://actionmailer/lib/action_mailer/message_delivery.rb#20 + # source://actionmailer//lib/action_mailer/message_delivery.rb#20 def initialize(mailer_class, action, *args, **_arg3); end # Method calls are delegated to the Mail::Message that's ready to deliver. # - # source://actionmailer/lib/action_mailer/message_delivery.rb#31 + # source://actionmailer//lib/action_mailer/message_delivery.rb#31 def __getobj__; end # Unused except for delegator internals (dup, marshalling). # - # source://actionmailer/lib/action_mailer/message_delivery.rb#36 + # source://actionmailer//lib/action_mailer/message_delivery.rb#36 def __setobj__(mail_message); end # Enqueues the email to be delivered through Active Job. When the @@ -1886,7 +1887,7 @@ class ActionMailer::MessageDelivery # self.delivery_job = RegistrationDeliveryJob # end # - # source://actionmailer/lib/action_mailer/message_delivery.rb#102 + # source://actionmailer//lib/action_mailer/message_delivery.rb#102 def deliver_later(options = T.unsafe(nil)); end # Enqueues the email to be delivered through Active Job. When the @@ -1915,14 +1916,14 @@ class ActionMailer::MessageDelivery # self.delivery_job = RegistrationDeliveryJob # end # - # source://actionmailer/lib/action_mailer/message_delivery.rb#75 + # source://actionmailer//lib/action_mailer/message_delivery.rb#75 def deliver_later!(options = T.unsafe(nil)); end # Delivers an email: # # Notifier.welcome(User.first).deliver_now # - # source://actionmailer/lib/action_mailer/message_delivery.rb#123 + # source://actionmailer//lib/action_mailer/message_delivery.rb#123 def deliver_now; end # Delivers an email without checking +perform_deliveries+ and +raise_delivery_errors+, @@ -1930,38 +1931,38 @@ class ActionMailer::MessageDelivery # # Notifier.welcome(User.first).deliver_now! # - # source://actionmailer/lib/action_mailer/message_delivery.rb#111 + # source://actionmailer//lib/action_mailer/message_delivery.rb#111 def deliver_now!; end # Returns the resulting Mail::Message # - # source://actionmailer/lib/action_mailer/message_delivery.rb#41 + # source://actionmailer//lib/action_mailer/message_delivery.rb#41 def message; end # Was the delegate loaded, causing the mailer action to be processed? # # @return [Boolean] # - # source://actionmailer/lib/action_mailer/message_delivery.rb#46 + # source://actionmailer//lib/action_mailer/message_delivery.rb#46 def processed?; end private - # source://actionmailer/lib/action_mailer/message_delivery.rb#140 + # source://actionmailer//lib/action_mailer/message_delivery.rb#140 def enqueue_delivery(delivery_method, options = T.unsafe(nil)); end # Returns the processed Mailer instance. We keep this instance # on hand so we can run callbacks and delegate exception handling to it. # - # source://actionmailer/lib/action_mailer/message_delivery.rb#134 + # source://actionmailer//lib/action_mailer/message_delivery.rb#134 def processed_mailer; end end -# source://actionmailer/lib/action_mailer/test_case.rb#7 +# source://actionmailer//lib/action_mailer/test_case.rb#7 class ActionMailer::NonInferrableMailerError < ::StandardError # @return [NonInferrableMailerError] a new instance of NonInferrableMailerError # - # source://actionmailer/lib/action_mailer/test_case.rb#8 + # source://actionmailer//lib/action_mailer/test_case.rb#8 def initialize(name); end end @@ -2051,14 +2052,14 @@ end # # InvitationsMailer.with(inviter: person_a, invitee: person_b).account_invitation.deliver_later # -# source://actionmailer/lib/action_mailer/parameterized.rb#89 +# source://actionmailer//lib/action_mailer/parameterized.rb#89 module ActionMailer::Parameterized extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionMailer::Parameterized::ClassMethods end -# source://actionmailer/lib/action_mailer/parameterized.rb#100 +# source://actionmailer//lib/action_mailer/parameterized.rb#100 module ActionMailer::Parameterized::ClassMethods # Provide the parameters to the mailer in order to use them in the instance methods and callbacks. # @@ -2066,165 +2067,165 @@ module ActionMailer::Parameterized::ClassMethods # # See Parameterized documentation for full example. # - # source://actionmailer/lib/action_mailer/parameterized.rb#106 + # source://actionmailer//lib/action_mailer/parameterized.rb#106 def with(params); end end -# source://actionmailer/lib/action_mailer/parameterized.rb#111 +# source://actionmailer//lib/action_mailer/parameterized.rb#111 class ActionMailer::Parameterized::Mailer # @return [Mailer] a new instance of Mailer # - # source://actionmailer/lib/action_mailer/parameterized.rb#112 + # source://actionmailer//lib/action_mailer/parameterized.rb#112 def initialize(mailer, params); end private - # source://actionmailer/lib/action_mailer/parameterized.rb#117 + # source://actionmailer//lib/action_mailer/parameterized.rb#117 def method_missing(method_name, *args, **_arg2); end # @return [Boolean] # - # source://actionmailer/lib/action_mailer/parameterized.rb#126 + # source://actionmailer//lib/action_mailer/parameterized.rb#126 def respond_to_missing?(method, include_all = T.unsafe(nil)); end end -# source://actionmailer/lib/action_mailer/parameterized.rb#131 +# source://actionmailer//lib/action_mailer/parameterized.rb#131 class ActionMailer::Parameterized::MessageDelivery < ::ActionMailer::MessageDelivery # @return [MessageDelivery] a new instance of MessageDelivery # - # source://actionmailer/lib/action_mailer/parameterized.rb#132 + # source://actionmailer//lib/action_mailer/parameterized.rb#132 def initialize(mailer_class, action, params, *args, **_arg4); end private - # source://actionmailer/lib/action_mailer/parameterized.rb#146 + # source://actionmailer//lib/action_mailer/parameterized.rb#146 def enqueue_delivery(delivery_method, options = T.unsafe(nil)); end - # source://actionmailer/lib/action_mailer/parameterized.rb#139 + # source://actionmailer//lib/action_mailer/parameterized.rb#139 def processed_mailer; end end -# source://actionmailer/lib/action_mailer/preview.rb#93 +# source://actionmailer//lib/action_mailer/preview.rb#93 class ActionMailer::Preview extend ::ActiveSupport::DescendantsTracker # @return [Preview] a new instance of Preview # - # source://actionmailer/lib/action_mailer/preview.rb#98 + # source://actionmailer//lib/action_mailer/preview.rb#98 def initialize(params = T.unsafe(nil)); end # Returns the value of attribute params. # - # source://actionmailer/lib/action_mailer/preview.rb#96 + # source://actionmailer//lib/action_mailer/preview.rb#96 def params; end class << self # Returns all mailer preview classes. # - # source://actionmailer/lib/action_mailer/preview.rb#104 + # source://actionmailer//lib/action_mailer/preview.rb#104 def all; end # Returns the mail object for the given email name. The registered preview # interceptors will be informed so that they can transform the message # as they would if the mail was actually being delivered. # - # source://actionmailer/lib/action_mailer/preview.rb#112 + # source://actionmailer//lib/action_mailer/preview.rb#112 def call(email, params = T.unsafe(nil)); end # Returns +true+ if the email exists. # # @return [Boolean] # - # source://actionmailer/lib/action_mailer/preview.rb#125 + # source://actionmailer//lib/action_mailer/preview.rb#125 def email_exists?(email); end # Returns all of the available email previews. # - # source://actionmailer/lib/action_mailer/preview.rb#120 + # source://actionmailer//lib/action_mailer/preview.rb#120 def emails; end # Returns +true+ if the preview exists. # # @return [Boolean] # - # source://actionmailer/lib/action_mailer/preview.rb#130 + # source://actionmailer//lib/action_mailer/preview.rb#130 def exists?(preview); end # Find a mailer preview by its underscored class name. # - # source://actionmailer/lib/action_mailer/preview.rb#135 + # source://actionmailer//lib/action_mailer/preview.rb#135 def find(preview); end # Returns the underscored name of the mailer preview without the suffix. # - # source://actionmailer/lib/action_mailer/preview.rb#140 + # source://actionmailer//lib/action_mailer/preview.rb#140 def preview_name; end private - # source://actionmailer/lib/action_mailer/preview.rb#159 + # source://actionmailer//lib/action_mailer/preview.rb#159 def inform_preview_interceptors(message); end - # source://actionmailer/lib/action_mailer/preview.rb#145 + # source://actionmailer//lib/action_mailer/preview.rb#145 def load_previews; end - # source://actionmailer/lib/action_mailer/preview.rb#151 + # source://actionmailer//lib/action_mailer/preview.rb#151 def preview_paths; end - # source://actionmailer/lib/action_mailer/preview.rb#155 + # source://actionmailer//lib/action_mailer/preview.rb#155 def show_previews; end end end -# source://actionmailer/lib/action_mailer/preview.rb#6 +# source://actionmailer//lib/action_mailer/preview.rb#6 module ActionMailer::Previews extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionMailer::Previews::ClassMethods - # source://actionmailer/lib/action_mailer/preview.rb#28 + # source://actionmailer//lib/action_mailer/preview.rb#28 def preview_path; end end -# source://actionmailer/lib/action_mailer/preview.rb#36 +# source://actionmailer//lib/action_mailer/preview.rb#36 module ActionMailer::Previews::ClassMethods - # source://actionmailer/lib/action_mailer/preview.rb#45 + # source://actionmailer//lib/action_mailer/preview.rb#45 def preview_path; end - # source://actionmailer/lib/action_mailer/preview.rb#37 + # source://actionmailer//lib/action_mailer/preview.rb#37 def preview_path=(value); end # Register an Interceptor which will be called before mail is previewed. # Either a class or a string can be passed in as the Interceptor. If a # string is passed in it will be constantized. # - # source://actionmailer/lib/action_mailer/preview.rb#66 + # source://actionmailer//lib/action_mailer/preview.rb#66 def register_preview_interceptor(interceptor); end # Register one or more Interceptors which will be called before mail is previewed. # - # source://actionmailer/lib/action_mailer/preview.rb#54 + # source://actionmailer//lib/action_mailer/preview.rb#54 def register_preview_interceptors(*interceptors); end # Unregister a previously registered Interceptor. # Either a class or a string can be passed in as the Interceptor. If a # string is passed in it will be constantized. # - # source://actionmailer/lib/action_mailer/preview.rb#77 + # source://actionmailer//lib/action_mailer/preview.rb#77 def unregister_preview_interceptor(interceptor); end # Unregister one or more previously registered Interceptors. # - # source://actionmailer/lib/action_mailer/preview.rb#59 + # source://actionmailer//lib/action_mailer/preview.rb#59 def unregister_preview_interceptors(*interceptors); end private - # source://actionmailer/lib/action_mailer/preview.rb#82 + # source://actionmailer//lib/action_mailer/preview.rb#82 def interceptor_class_for(interceptor); end end -# source://actionmailer/lib/action_mailer/queued_delivery.rb#4 +# source://actionmailer//lib/action_mailer/queued_delivery.rb#4 module ActionMailer::QueuedDelivery extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2250,7 +2251,7 @@ module ActionMailer::QueuedDelivery end end -# source://actionmailer/lib/action_mailer/railtie.rb#9 +# source://actionmailer//lib/action_mailer/railtie.rb#9 class ActionMailer::Railtie < ::Rails::Railtie; end # = Action Mailer \Rescuable @@ -2260,7 +2261,7 @@ class ActionMailer::Railtie < ::Rails::Railtie; end # for mailers. Wraps mailer action processing, mail job processing, and mail # delivery to handle configured errors. # -# source://actionmailer/lib/action_mailer/rescuable.rb#10 +# source://actionmailer//lib/action_mailer/rescuable.rb#10 module ActionMailer::Rescuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2270,12 +2271,12 @@ module ActionMailer::Rescuable mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods mixes_in_class_methods ::ActionMailer::Rescuable::ClassMethods - # source://actionmailer/lib/action_mailer/rescuable.rb#20 + # source://actionmailer//lib/action_mailer/rescuable.rb#20 def handle_exceptions; end private - # source://actionmailer/lib/action_mailer/rescuable.rb#27 + # source://actionmailer//lib/action_mailer/rescuable.rb#27 def process(*_arg0, **_arg1, &_arg2); end module GeneratedClassMethods @@ -2291,13 +2292,13 @@ module ActionMailer::Rescuable end end -# source://actionmailer/lib/action_mailer/rescuable.rb#0 +# source://actionmailer//lib/action_mailer/rescuable.rb#14 module ActionMailer::Rescuable::ClassMethods - # source://actionmailer/lib/action_mailer/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/rescuable.rb#15 def handle_exception(exception); end end -# source://actionmailer/lib/action_mailer/test_case.rb#15 +# source://actionmailer//lib/action_mailer/test_case.rb#15 class ActionMailer::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActiveJob::TestHelper @@ -2308,31 +2309,31 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionMailer::TestCase::Behavior::ClassMethods - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class; end - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class=(_arg0); end - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class?; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/test_case.rb#42 def __callbacks; end - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class; end - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class=(value); end - # source://actionmailer/lib/action_mailer/test_case.rb#41 + # source://actionmailer//lib/action_mailer/test_case.rb#41 def _mailer_class?; end end end -# source://actionmailer/lib/action_mailer/test_case.rb#32 +# source://actionmailer//lib/action_mailer/test_case.rb#32 module ActionMailer::TestCase::Behavior include ::ActiveSupport::Testing::Assertions include ::ActiveJob::TestHelper @@ -2353,30 +2354,30 @@ module ActionMailer::TestCase::Behavior # an email inside a fixture. See the testing guide for a concrete example: # https://guides.rubyonrails.org/testing.html#revenge-of-the-fixtures # - # source://actionmailer/lib/action_mailer/test_case.rb#82 + # source://actionmailer//lib/action_mailer/test_case.rb#82 def read_fixture(action); end private - # source://actionmailer/lib/action_mailer/test_case.rb#115 + # source://actionmailer//lib/action_mailer/test_case.rb#115 def charset; end - # source://actionmailer/lib/action_mailer/test_case.rb#119 + # source://actionmailer//lib/action_mailer/test_case.rb#119 def encode(subject); end - # source://actionmailer/lib/action_mailer/test_case.rb#87 + # source://actionmailer//lib/action_mailer/test_case.rb#87 def initialize_test_deliveries; end - # source://actionmailer/lib/action_mailer/test_case.rb#104 + # source://actionmailer//lib/action_mailer/test_case.rb#104 def restore_delivery_method; end - # source://actionmailer/lib/action_mailer/test_case.rb#94 + # source://actionmailer//lib/action_mailer/test_case.rb#94 def restore_test_deliveries; end - # source://actionmailer/lib/action_mailer/test_case.rb#99 + # source://actionmailer//lib/action_mailer/test_case.rb#99 def set_delivery_method(method); end - # source://actionmailer/lib/action_mailer/test_case.rb#109 + # source://actionmailer//lib/action_mailer/test_case.rb#109 def set_expected_mail; end module GeneratedClassMethods @@ -2392,34 +2393,34 @@ module ActionMailer::TestCase::Behavior end end -# source://actionmailer/lib/action_mailer/test_case.rb#48 +# source://actionmailer//lib/action_mailer/test_case.rb#48 module ActionMailer::TestCase::Behavior::ClassMethods # @raise [NonInferrableMailerError] # - # source://actionmailer/lib/action_mailer/test_case.rb#68 + # source://actionmailer//lib/action_mailer/test_case.rb#68 def determine_default_mailer(name); end - # source://actionmailer/lib/action_mailer/test_case.rb#60 + # source://actionmailer//lib/action_mailer/test_case.rb#60 def mailer_class; end - # source://actionmailer/lib/action_mailer/test_case.rb#49 + # source://actionmailer//lib/action_mailer/test_case.rb#49 def tests(mailer); end end -# source://actionmailer/lib/action_mailer/test_case.rb#16 +# source://actionmailer//lib/action_mailer/test_case.rb#16 module ActionMailer::TestCase::ClearTestDeliveries extend ::ActiveSupport::Concern private - # source://actionmailer/lib/action_mailer/test_case.rb#25 + # source://actionmailer//lib/action_mailer/test_case.rb#25 def clear_test_deliveries; end end # Provides helper methods for testing Action Mailer, including #assert_emails # and #assert_no_emails. # -# source://actionmailer/lib/action_mailer/test_helper.rb#9 +# source://actionmailer//lib/action_mailer/test_helper.rb#9 module ActionMailer::TestHelper include ::ActiveSupport::Testing::Assertions include ::ActiveJob::TestHelper @@ -2448,7 +2449,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer/lib/action_mailer/test_helper.rb#35 + # source://actionmailer//lib/action_mailer/test_helper.rb#35 def assert_emails(number, &block); end # Asserts that a specific email has been enqueued, optionally @@ -2514,7 +2515,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer/lib/action_mailer/test_helper.rb#157 + # source://actionmailer//lib/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 # Asserts that the number of emails enqueued for later delivery matches @@ -2542,7 +2543,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer/lib/action_mailer/test_helper.rb#91 + # source://actionmailer//lib/action_mailer/test_helper.rb#91 def assert_enqueued_emails(number, &block); end # Asserts that no emails have been sent. @@ -2565,7 +2566,7 @@ module ActionMailer::TestHelper # # assert_emails 0, &block # - # source://actionmailer/lib/action_mailer/test_helper.rb#63 + # source://actionmailer//lib/action_mailer/test_helper.rb#63 def assert_no_emails(&block); end # Asserts that no emails are enqueued for later delivery. @@ -2584,7 +2585,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer/lib/action_mailer/test_helper.rb#211 + # source://actionmailer//lib/action_mailer/test_helper.rb#211 def assert_no_enqueued_emails(&block); end # Returns any emails that are sent in the block. @@ -2602,7 +2603,7 @@ module ActionMailer::TestHelper # assert_equal "Hi there", emails.first.subject # end # - # source://actionmailer/lib/action_mailer/test_helper.rb#269 + # source://actionmailer//lib/action_mailer/test_helper.rb#269 def capture_emails(&block); end # Delivers all enqueued emails. If a block is given, delivers all of the emails @@ -2642,29 +2643,29 @@ module ActionMailer::TestHelper # If the +:at+ option is specified, then only delivers emails enqueued to deliver # immediately or before the given time. # - # source://actionmailer/lib/action_mailer/test_helper.rb#251 + # source://actionmailer//lib/action_mailer/test_helper.rb#251 def deliver_enqueued_emails(queue: T.unsafe(nil), at: T.unsafe(nil), &block); end private - # source://actionmailer/lib/action_mailer/test_helper.rb#278 + # source://actionmailer//lib/action_mailer/test_helper.rb#278 def delivery_job_filter(job); end end -# source://actionmailer/lib/action_mailer/gem_version.rb#9 +# source://actionmailer//lib/action_mailer/gem_version.rb#9 module ActionMailer::VERSION; end -# source://actionmailer/lib/action_mailer/gem_version.rb#10 +# source://actionmailer//lib/action_mailer/gem_version.rb#10 ActionMailer::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actionmailer/lib/action_mailer/gem_version.rb#11 +# source://actionmailer//lib/action_mailer/gem_version.rb#11 ActionMailer::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actionmailer/lib/action_mailer/gem_version.rb#13 +# source://actionmailer//lib/action_mailer/gem_version.rb#13 ActionMailer::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actionmailer/lib/action_mailer/gem_version.rb#15 +# source://actionmailer//lib/action_mailer/gem_version.rb#15 ActionMailer::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actionmailer/lib/action_mailer/gem_version.rb#12 +# source://actionmailer//lib/action_mailer/gem_version.rb#12 ActionMailer::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/actionpack@7.1.5.1.rbi b/sorbet/rbi/gems/actionpack@7.1.5.1.rbi index 14113dff9..c56a4f674 100644 --- a/sorbet/rbi/gems/actionpack@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actionpack@7.1.5.1.rbi @@ -4,41 +4,42 @@ # This is an autogenerated file for types exported from the `actionpack` gem. # Please instead update this file by running `bin/tapioca gem actionpack`. -# source://actionpack/lib/abstract_controller/deprecator.rb#3 + +# source://actionpack//lib/abstract_controller/deprecator.rb#3 module AbstractController extend ::ActiveSupport::Autoload class << self - # source://actionpack/lib/abstract_controller/deprecator.rb#4 + # source://actionpack//lib/abstract_controller/deprecator.rb#4 def deprecator; end - # source://actionpack/lib/abstract_controller.rb#25 + # source://actionpack//lib/abstract_controller.rb#25 def eager_load!; end end end # Raised when a non-existing controller action is triggered. # -# source://actionpack/lib/abstract_controller/base.rb#11 +# source://actionpack//lib/abstract_controller/base.rb#11 class AbstractController::ActionNotFound < ::StandardError include ::DidYouMean::Correctable # @return [ActionNotFound] a new instance of ActionNotFound # - # source://actionpack/lib/abstract_controller/base.rb#14 + # source://actionpack//lib/abstract_controller/base.rb#14 def initialize(message = T.unsafe(nil), controller = T.unsafe(nil), action = T.unsafe(nil)); end - # source://actionpack/lib/abstract_controller/base.rb#12 + # source://actionpack//lib/abstract_controller/base.rb#12 def action; end - # source://actionpack/lib/abstract_controller/base.rb#12 + # source://actionpack//lib/abstract_controller/base.rb#12 def controller; end - # source://actionpack/lib/abstract_controller/base.rb#23 + # source://actionpack//lib/abstract_controller/base.rb#23 def corrections; end end -# source://actionpack/lib/abstract_controller/asset_paths.rb#4 +# source://actionpack//lib/abstract_controller/asset_paths.rb#4 module AbstractController::AssetPaths extend ::ActiveSupport::Concern end @@ -52,7 +53,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack/lib/abstract_controller/base.rb#35 +# source://actionpack//lib/abstract_controller/base.rb#35 class AbstractController::Base include ::ActiveSupport::Configurable extend ::ActiveSupport::Configurable::ClassMethods @@ -60,15 +61,15 @@ class AbstractController::Base # Delegates to the class's ::action_methods. # - # source://actionpack/lib/abstract_controller/base.rb#170 + # source://actionpack//lib/abstract_controller/base.rb#131 def action_methods; end # Returns the name of the action this controller is processing. # - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#42 def action_name; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#42 def action_name=(_arg0); end # Returns true if a method for the action is available and @@ -84,23 +85,23 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/base.rb#184 + # source://actionpack//lib/abstract_controller/base.rb#131 def available_action?(action_name); end # Delegates to the class's ::controller_path. # - # source://actionpack/lib/abstract_controller/base.rb#165 + # source://actionpack//lib/abstract_controller/base.rb#131 def controller_path; end # Returns the formats that can be processed by the controller. # - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#46 def formats; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#46 def formats=(_arg0); end - # source://actionpack/lib/abstract_controller/base.rb#203 + # source://actionpack//lib/abstract_controller/base.rb#131 def inspect; end # Tests if a response body is set. Used to determine if the @@ -109,7 +110,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/base.rb#191 + # source://actionpack//lib/abstract_controller/base.rb#131 def performed?; end # Calls the action going through the entire Action Dispatch stack. @@ -121,15 +122,15 @@ class AbstractController::Base # ==== Returns # * self # - # source://actionpack/lib/abstract_controller/base.rb#151 + # source://actionpack//lib/abstract_controller/base.rb#131 def process(action, *args, **_arg2); end # Returns the body of the HTTP response sent by the controller. # - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#38 def response_body; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#38 def response_body=(_arg0); end # Actually call the method associated with the action. Override @@ -137,6 +138,8 @@ class AbstractController::Base # not to add additional behavior around it. For example, you would # override #send_action if you want to inject arguments into the # method. + # + # source://actionpack//lib/abstract_controller/base.rb#131 def send_action(*_arg0); end private @@ -156,21 +159,21 @@ class AbstractController::Base # * false - No valid method name could be found. # Raise +AbstractController::ActionNotFound+. # - # source://actionpack/lib/abstract_controller/base.rb#255 + # source://actionpack//lib/abstract_controller/base.rb#131 def _find_action_name(action_name); end # If the action name was not found, but a method called "action_missing" # was found, #method_for_action will return "_handle_action_missing". # This method calls #action_missing with the current action name. # - # source://actionpack/lib/abstract_controller/base.rb#237 + # source://actionpack//lib/abstract_controller/base.rb#131 def _handle_action_missing(*args); end # Checks if the action name is valid and returns false otherwise. # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/base.rb#291 + # source://actionpack//lib/abstract_controller/base.rb#131 def _valid_action_name?(action_name); end # Returns true if the name can be considered an action because @@ -181,7 +184,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/base.rb#213 + # source://actionpack//lib/abstract_controller/base.rb#131 def action_method?(name); end # Takes an action name and returns the name of the method that will @@ -208,7 +211,7 @@ class AbstractController::Base # * string - The name of the method that handles the action # * nil - No method name could be found. # - # source://actionpack/lib/abstract_controller/base.rb#282 + # source://actionpack//lib/abstract_controller/base.rb#131 def method_for_action(action_name); end # Call the action. Override this in a subclass to modify the @@ -218,24 +221,24 @@ class AbstractController::Base # Notice that the first argument is the method to be dispatched # which is *not* necessarily the same as the action name. # - # source://actionpack/lib/abstract_controller/base.rb#223 + # source://actionpack//lib/abstract_controller/base.rb#131 def process_action(*_arg0, **_arg1, &_arg2); end class << self # Returns the value of attribute abstract. # - # source://actionpack/lib/abstract_controller/base.rb#52 + # source://actionpack//lib/abstract_controller/base.rb#52 def abstract; end # Define a controller as abstract. See internal_methods for more # details. # - # source://actionpack/lib/abstract_controller/base.rb#57 + # source://actionpack//lib/abstract_controller/base.rb#57 def abstract!; end # Returns the value of attribute abstract. # - # source://actionpack/lib/abstract_controller/base.rb#52 + # source://actionpack//lib/abstract_controller/base.rb#53 def abstract?; end # A list of method names that should be considered actions. This @@ -247,14 +250,14 @@ class AbstractController::Base # ==== Returns # * Set - A set of all methods that should be considered actions. # - # source://actionpack/lib/abstract_controller/base.rb#96 + # source://actionpack//lib/abstract_controller/base.rb#96 def action_methods; end # action_methods are cached and there is sometimes a need to refresh # them. ::clear_action_methods! allows you to do that, so next time # you run action_methods, they will be recalculated. # - # source://actionpack/lib/abstract_controller/base.rb#111 + # source://actionpack//lib/abstract_controller/base.rb#111 def clear_action_methods!; end # Returns the full controller name, underscored, without the ending Controller. @@ -268,13 +271,13 @@ class AbstractController::Base # ==== Returns # * String # - # source://actionpack/lib/abstract_controller/base.rb#125 + # source://actionpack//lib/abstract_controller/base.rb#125 def controller_path; end - # source://actionpack/lib/abstract_controller/base.rb#135 + # source://actionpack//lib/abstract_controller/base.rb#135 def eager_load!; end - # source://actionpack/lib/abstract_controller/base.rb#61 + # source://actionpack//lib/abstract_controller/base.rb#61 def inherited(klass); end # A list of all internal methods for a controller. This finds the first @@ -284,12 +287,12 @@ class AbstractController::Base # declared on abstract classes are being removed. # (ActionController::Metal and ActionController::Base are defined as abstract) # - # source://actionpack/lib/abstract_controller/base.rb#76 + # source://actionpack//lib/abstract_controller/base.rb#76 def internal_methods; end # Refresh the cached action_methods when a new action_method is added. # - # source://actionpack/lib/abstract_controller/base.rb#130 + # source://actionpack//lib/abstract_controller/base.rb#130 def method_added(name); end # Returns true if the given controller is capable of rendering @@ -299,12 +302,12 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/base.rb#199 + # source://actionpack//lib/abstract_controller/base.rb#199 def supports_path?; end end end -# source://actionpack/lib/abstract_controller/caching.rb#4 +# source://actionpack//lib/abstract_controller/caching.rb#4 module AbstractController::Caching include ::AbstractController::Caching::ConfigMethods extend ::ActiveSupport::Concern @@ -317,14 +320,14 @@ module AbstractController::Caching mixes_in_class_methods ::AbstractController::Caching::ClassMethods mixes_in_class_methods ::AbstractController::Caching::ConfigMethods - # source://actionpack/lib/abstract_controller/caching.rb#52 + # source://actionpack//lib/abstract_controller/caching.rb#52 def view_cache_dependencies; end private # Convenience accessor. # - # source://actionpack/lib/abstract_controller/caching.rb#58 + # source://actionpack//lib/abstract_controller/caching.rb#58 def cache(key, options = T.unsafe(nil), &block); end module GeneratedClassMethods @@ -346,25 +349,25 @@ module AbstractController::Caching end end -# source://actionpack/lib/abstract_controller/caching.rb#46 +# source://actionpack//lib/abstract_controller/caching.rb#46 module AbstractController::Caching::ClassMethods - # source://actionpack/lib/abstract_controller/caching.rb#47 + # source://actionpack//lib/abstract_controller/caching.rb#47 def view_cache_dependency(&dependency); end end -# source://actionpack/lib/abstract_controller/caching.rb#12 +# source://actionpack//lib/abstract_controller/caching.rb#12 module AbstractController::Caching::ConfigMethods - # source://actionpack/lib/abstract_controller/caching.rb#13 + # source://actionpack//lib/abstract_controller/caching.rb#13 def cache_store; end - # source://actionpack/lib/abstract_controller/caching.rb#17 + # source://actionpack//lib/abstract_controller/caching.rb#17 def cache_store=(store); end private # @return [Boolean] # - # source://actionpack/lib/abstract_controller/caching.rb#22 + # source://actionpack//lib/abstract_controller/caching.rb#22 def cache_configured?; end end @@ -384,7 +387,7 @@ end # # expire_fragment('name_of_cache') # -# source://actionpack/lib/abstract_controller/caching/fragments.rb#20 +# source://actionpack//lib/abstract_controller/caching/fragments.rb#20 module AbstractController::Caching::Fragments extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -399,7 +402,7 @@ module AbstractController::Caching::Fragments # followed by any controller-wide key prefix values, ending # with the specified +key+ value. # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#70 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#70 def combined_fragment_cache_key(key); end # Removes fragments from the cache. @@ -421,7 +424,7 @@ module AbstractController::Caching::Fragments # +options+ is passed through to the cache store's +delete+ # method (or delete_matched, for Regexp keys). # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#134 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#134 def expire_fragment(key, options = T.unsafe(nil)); end # Check if a cached fragment from the location signified by @@ -429,22 +432,22 @@ module AbstractController::Caching::Fragments # # @return [Boolean] # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#107 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#107 def fragment_exist?(key, options = T.unsafe(nil)); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#147 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#147 def instrument_fragment_cache(name, key, &block); end # Reads a cached fragment from the location signified by +key+ # (see +expire_fragment+ for acceptable formats). # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#95 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#95 def read_fragment(key, options = T.unsafe(nil)); end # Writes +content+ to the location signified by # +key+ (see +expire_fragment+ for acceptable formats). # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#82 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#82 def write_fragment(key, content, options = T.unsafe(nil)); end module GeneratedClassMethods @@ -460,7 +463,7 @@ module AbstractController::Caching::Fragments end end -# source://actionpack/lib/abstract_controller/caching/fragments.rb#37 +# source://actionpack//lib/abstract_controller/caching/fragments.rb#37 module AbstractController::Caching::Fragments::ClassMethods # Allows you to specify controller-wide key prefixes for # cache fragments. Pass either a constant +value+, or a block @@ -484,7 +487,7 @@ module AbstractController::Caching::Fragments::ClassMethods # end # end # - # source://actionpack/lib/abstract_controller/caching/fragments.rb#59 + # source://actionpack//lib/abstract_controller/caching/fragments.rb#59 def fragment_cache_key(value = T.unsafe(nil), &key); end end @@ -508,7 +511,7 @@ end # # NOTE: Calling the same callback multiple times will overwrite previous callback definitions. # -# source://actionpack/lib/abstract_controller/callbacks.rb#24 +# source://actionpack//lib/abstract_controller/callbacks.rb#24 module AbstractController::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -524,7 +527,7 @@ module AbstractController::Callbacks # Override AbstractController::Base#process_action to run the # process_action callbacks around the normal behavior. # - # source://actionpack/lib/abstract_controller/callbacks.rb#257 + # source://actionpack//lib/abstract_controller/callbacks.rb#257 def process_action(*_arg0, **_arg1, &_arg2); end module GeneratedClassMethods @@ -539,35 +542,35 @@ module AbstractController::Callbacks end end -# source://actionpack/lib/abstract_controller/callbacks.rb#39 +# source://actionpack//lib/abstract_controller/callbacks.rb#39 class AbstractController::Callbacks::ActionFilter # @return [ActionFilter] a new instance of ActionFilter # - # source://actionpack/lib/abstract_controller/callbacks.rb#40 + # source://actionpack//lib/abstract_controller/callbacks.rb#40 def initialize(filters, conditional_key, actions); end # @return [Boolean] # - # source://actionpack/lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#69 def after(controller); end # @return [Boolean] # - # source://actionpack/lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#71 def around(controller); end # @return [Boolean] # - # source://actionpack/lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#70 def before(controller); end # @return [Boolean] # - # source://actionpack/lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#46 def match?(controller); end end -# source://actionpack/lib/abstract_controller/callbacks.rb#74 +# source://actionpack//lib/abstract_controller/callbacks.rb#74 module AbstractController::Callbacks::ClassMethods # Take callback names and an optional callback proc, normalize them, # then call the block with each callback. This allows us to abstract @@ -582,10 +585,10 @@ module AbstractController::Callbacks::ClassMethods # * name - The callback to be added. # * options - A hash of options to be used when adding the callback. # - # source://actionpack/lib/abstract_controller/callbacks.rb#119 + # source://actionpack//lib/abstract_controller/callbacks.rb#119 def _insert_callbacks(callbacks, block = T.unsafe(nil)); end - # source://actionpack/lib/abstract_controller/callbacks.rb#99 + # source://actionpack//lib/abstract_controller/callbacks.rb#99 def _normalize_callback_option(options, from, to); end # If +:only+ or +:except+ are used, convert the options into the @@ -608,179 +611,179 @@ module AbstractController::Callbacks::ClassMethods # * only - The callback should be run only for this action. # * except - The callback should be run for all actions except this action. # - # source://actionpack/lib/abstract_controller/callbacks.rb#94 + # source://actionpack//lib/abstract_controller/callbacks.rb#94 def _normalize_callback_options(options); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#229 def after_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_after_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_around_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_before_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#229 def around_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#229 def before_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#235 + # source://actionpack//lib/abstract_controller/callbacks.rb#235 def prepend_after_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#235 + # source://actionpack//lib/abstract_controller/callbacks.rb#235 def prepend_around_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#235 + # source://actionpack//lib/abstract_controller/callbacks.rb#235 def prepend_before_action(*names, &blk); end - # source://actionpack/lib/abstract_controller/callbacks.rb#243 + # source://actionpack//lib/abstract_controller/callbacks.rb#243 def skip_after_action(*names); end - # source://actionpack/lib/abstract_controller/callbacks.rb#243 + # source://actionpack//lib/abstract_controller/callbacks.rb#243 def skip_around_action(*names); end - # source://actionpack/lib/abstract_controller/callbacks.rb#243 + # source://actionpack//lib/abstract_controller/callbacks.rb#243 def skip_before_action(*names); end end -# source://actionpack/lib/abstract_controller/collector.rb#6 +# source://actionpack//lib/abstract_controller/collector.rb#6 module AbstractController::Collector - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def atom(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def bmp(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def css(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def csv(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def gif(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def gzip(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def html(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ics(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def jpeg(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def js(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def json(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def m4a(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mp3(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mp4(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mpeg(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def multipart_form(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ogg(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def otf(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def pdf(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def png(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def rss(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def svg(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def text(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def tiff(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ttf(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def url_encoded_form(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def vcf(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def vtt(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def webm(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def webp(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def woff(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def woff2(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def xml(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def yaml(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def zip(*args, **_arg1, &block); end private - # source://actionpack/lib/abstract_controller/collector.rb#26 + # source://actionpack//lib/abstract_controller/collector.rb#26 def method_missing(symbol, *args, **_arg2, &block); end class << self - # source://actionpack/lib/abstract_controller/collector.rb#7 + # source://actionpack//lib/abstract_controller/collector.rb#7 def generate_method_for_mime(mime); end end end -# source://actionpack/lib/abstract_controller/rendering.rb#9 +# source://actionpack//lib/abstract_controller/rendering.rb#9 class AbstractController::DoubleRenderError < ::AbstractController::Error # @return [DoubleRenderError] a new instance of DoubleRenderError # - # source://actionpack/lib/abstract_controller/rendering.rb#12 + # source://actionpack//lib/abstract_controller/rendering.rb#12 def initialize(message = T.unsafe(nil)); end end -# source://actionpack/lib/abstract_controller/rendering.rb#10 +# source://actionpack//lib/abstract_controller/rendering.rb#10 AbstractController::DoubleRenderError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/abstract_controller/error.rb#4 +# source://actionpack//lib/abstract_controller/error.rb#4 class AbstractController::Error < ::StandardError; end -# source://actionpack/lib/abstract_controller/helpers.rb#7 +# source://actionpack//lib/abstract_controller/helpers.rb#7 module AbstractController::Helpers include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor extend ::ActiveSupport::Concern @@ -790,7 +793,7 @@ module AbstractController::Helpers mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - # source://actionpack/lib/abstract_controller/helpers.rb#44 + # source://actionpack//lib/abstract_controller/helpers.rb#44 def _helpers; end module GeneratedClassMethods @@ -806,7 +809,7 @@ module AbstractController::Helpers end end -# source://actionpack/lib/abstract_controller/helpers.rb#80 +# source://actionpack//lib/abstract_controller/helpers.rb#80 module AbstractController::Helpers::ClassMethods include ::AbstractController::Helpers::Resolution @@ -814,16 +817,16 @@ module AbstractController::Helpers::ClassMethods # # @param value the value to set the attribute _helpers to. # - # source://actionpack/lib/abstract_controller/helpers.rb#92 + # source://actionpack//lib/abstract_controller/helpers.rb#92 def _helpers=(_arg0); end - # source://actionpack/lib/abstract_controller/helpers.rb#231 + # source://actionpack//lib/abstract_controller/helpers.rb#231 def _helpers_for_modification; end # Clears up all existing helpers in this class, only keeping the helper # with the same name as this class. # - # source://actionpack/lib/abstract_controller/helpers.rb#222 + # source://actionpack//lib/abstract_controller/helpers.rb#222 def clear_helpers; end # Includes the given modules in the template class. @@ -877,7 +880,7 @@ module AbstractController::Helpers::ClassMethods # end # end # - # source://actionpack/lib/abstract_controller/helpers.rb#211 + # source://actionpack//lib/abstract_controller/helpers.rb#211 def helper(*args, &block); end # Declare a controller method as a helper. For example, the following @@ -903,63 +906,63 @@ module AbstractController::Helpers::ClassMethods # * method[, method] - A name or names of a method on the controller # to be made available on the view. # - # source://actionpack/lib/abstract_controller/helpers.rb#140 + # source://actionpack//lib/abstract_controller/helpers.rb#140 def helper_method(*methods); end # When a class is inherited, wrap its helper module in a new module. # This ensures that the parent class's module can be changed # independently of the child class's. # - # source://actionpack/lib/abstract_controller/helpers.rb#84 + # source://actionpack//lib/abstract_controller/helpers.rb#84 def inherited(klass); end private - # source://actionpack/lib/abstract_controller/helpers.rb#250 + # source://actionpack//lib/abstract_controller/helpers.rb#250 def default_helper_module!; end - # source://actionpack/lib/abstract_controller/helpers.rb#239 + # source://actionpack//lib/abstract_controller/helpers.rb#239 def define_helpers_module(klass, helpers = T.unsafe(nil)); end end -# source://actionpack/lib/abstract_controller/helpers.rb#27 +# source://actionpack//lib/abstract_controller/helpers.rb#27 class AbstractController::Helpers::DeprecatedMissingHelperError < ::LoadError # @return [DeprecatedMissingHelperError] a new instance of DeprecatedMissingHelperError # - # source://actionpack/lib/abstract_controller/helpers.rb#28 + # source://actionpack//lib/abstract_controller/helpers.rb#28 def initialize(error, path); end end -# source://actionpack/lib/abstract_controller/helpers.rb#48 +# source://actionpack//lib/abstract_controller/helpers.rb#48 module AbstractController::Helpers::Resolution - # source://actionpack/lib/abstract_controller/helpers.rb#64 + # source://actionpack//lib/abstract_controller/helpers.rb#64 def all_helpers_from_path(path); end - # source://actionpack/lib/abstract_controller/helpers.rb#73 + # source://actionpack//lib/abstract_controller/helpers.rb#73 def helper_modules_from_paths(paths); end - # source://actionpack/lib/abstract_controller/helpers.rb#49 + # source://actionpack//lib/abstract_controller/helpers.rb#49 def modules_for_helpers(modules_or_helper_prefixes); end end -# source://actionpack/lib/abstract_controller/logger.rb#6 +# source://actionpack//lib/abstract_controller/logger.rb#6 module AbstractController::Logger extend ::ActiveSupport::Concern include ::ActiveSupport::Benchmarkable end -# source://actionpack/lib/abstract_controller/railties/routes_helpers.rb#6 +# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#6 module AbstractController::Railties; end -# source://actionpack/lib/abstract_controller/railties/routes_helpers.rb#7 +# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#7 module AbstractController::Railties::RoutesHelpers class << self - # source://actionpack/lib/abstract_controller/railties/routes_helpers.rb#8 + # source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#8 def with(routes, include_path_helpers = T.unsafe(nil)); end end end -# source://actionpack/lib/abstract_controller/rendering.rb#17 +# source://actionpack//lib/abstract_controller/rendering.rb#17 module AbstractController::Rendering extend ::ActiveSupport::Concern include ::ActionView::ViewPaths @@ -971,12 +974,12 @@ module AbstractController::Rendering # # Supported options depend on the underlying +render_to_body+ implementation. # - # source://actionpack/lib/abstract_controller/rendering.rb#25 + # source://actionpack//lib/abstract_controller/rendering.rb#25 def render(*args, &block); end # Performs the actual template rendering. # - # source://actionpack/lib/abstract_controller/rendering.rb#49 + # source://actionpack//lib/abstract_controller/rendering.rb#49 def render_to_body(options = T.unsafe(nil)); end # Similar to #render, but only returns the rendered template as a string, @@ -986,18 +989,18 @@ module AbstractController::Rendering # extends it to be anything that responds to the method each), this method # needs to be overridden in order to still return a string. # - # source://actionpack/lib/abstract_controller/rendering.rb#43 + # source://actionpack//lib/abstract_controller/rendering.rb#43 def render_to_string(*args, &block); end # Returns +Content-Type+ of rendered content. # - # source://actionpack/lib/abstract_controller/rendering.rb#53 + # source://actionpack//lib/abstract_controller/rendering.rb#53 def rendered_format; end # This method should return a hash with assigns. # You can overwrite this configuration per controller. # - # source://actionpack/lib/abstract_controller/rendering.rb#61 + # source://actionpack//lib/abstract_controller/rendering.rb#61 def view_assigns; end private @@ -1006,58 +1009,58 @@ module AbstractController::Rendering # render action: "foo" and render "foo/bar" to # render file: "foo/bar". # - # source://actionpack/lib/abstract_controller/rendering.rb#73 + # source://actionpack//lib/abstract_controller/rendering.rb#73 def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end # Normalize options. # - # source://actionpack/lib/abstract_controller/rendering.rb#88 + # source://actionpack//lib/abstract_controller/rendering.rb#88 def _normalize_options(options); end # Normalize args and options. # - # source://actionpack/lib/abstract_controller/rendering.rb#114 + # source://actionpack//lib/abstract_controller/rendering.rb#114 def _normalize_render(*args, &block); end # Process the rendered format. # - # source://actionpack/lib/abstract_controller/rendering.rb#98 + # source://actionpack//lib/abstract_controller/rendering.rb#98 def _process_format(format); end # Process extra options. # - # source://actionpack/lib/abstract_controller/rendering.rb#93 + # source://actionpack//lib/abstract_controller/rendering.rb#93 def _process_options(options); end - # source://actionpack/lib/abstract_controller/rendering.rb#101 + # source://actionpack//lib/abstract_controller/rendering.rb#101 def _process_variant(options); end - # source://actionpack/lib/abstract_controller/rendering.rb#121 + # source://actionpack//lib/abstract_controller/rendering.rb#121 def _protected_ivars; end - # source://actionpack/lib/abstract_controller/rendering.rb#104 + # source://actionpack//lib/abstract_controller/rendering.rb#104 def _set_html_content_type; end - # source://actionpack/lib/abstract_controller/rendering.rb#110 + # source://actionpack//lib/abstract_controller/rendering.rb#110 def _set_rendered_content_type(format); end - # source://actionpack/lib/abstract_controller/rendering.rb#107 + # source://actionpack//lib/abstract_controller/rendering.rb#107 def _set_vary_header; end end -# source://actionpack/lib/abstract_controller/rendering.rb#57 +# source://actionpack//lib/abstract_controller/rendering.rb#57 AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/abstract_controller/translation.rb#6 +# source://actionpack//lib/abstract_controller/translation.rb#6 module AbstractController::Translation # Delegates to I18n.localize. # - # source://actionpack/lib/abstract_controller/translation.rb#38 + # source://actionpack//lib/abstract_controller/translation.rb#41 def l(object, **options); end # Delegates to I18n.localize. # - # source://actionpack/lib/abstract_controller/translation.rb#38 + # source://actionpack//lib/abstract_controller/translation.rb#38 def localize(object, **options); end # Delegates to I18n.translate. @@ -1069,7 +1072,7 @@ module AbstractController::Translation # to translate many keys within the same controller / action and gives you a # simple framework for scoping them consistently. # - # source://actionpack/lib/abstract_controller/translation.rb#15 + # source://actionpack//lib/abstract_controller/translation.rb#35 def t(key, **options); end # Delegates to I18n.translate. @@ -1081,7 +1084,7 @@ module AbstractController::Translation # to translate many keys within the same controller / action and gives you a # simple framework for scoping them consistently. # - # source://actionpack/lib/abstract_controller/translation.rb#15 + # source://actionpack//lib/abstract_controller/translation.rb#15 def translate(key, **options); end end @@ -1094,7 +1097,7 @@ end # Note that this module is completely decoupled from HTTP - the only requirement is a valid # _routes implementation. # -# source://actionpack/lib/abstract_controller/url_for.rb#12 +# source://actionpack//lib/abstract_controller/url_for.rb#12 module AbstractController::UrlFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1103,7 +1106,7 @@ module AbstractController::UrlFor mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - # source://actionpack/lib/abstract_controller/url_for.rb#16 + # source://actionpack//lib/abstract_controller/url_for.rb#16 def _routes; end module GeneratedClassMethods @@ -1119,12 +1122,12 @@ module AbstractController::UrlFor end end -# source://actionpack/lib/abstract_controller/url_for.rb#21 +# source://actionpack//lib/abstract_controller/url_for.rb#21 module AbstractController::UrlFor::ClassMethods - # source://actionpack/lib/abstract_controller/url_for.rb#22 + # source://actionpack//lib/abstract_controller/url_for.rb#22 def _routes; end - # source://actionpack/lib/abstract_controller/url_for.rb#26 + # source://actionpack//lib/abstract_controller/url_for.rb#26 def action_methods; end end @@ -1136,22 +1139,22 @@ end # implement filters and actions to handle requests. The result of an action is # typically content generated from views. # -# source://actionpack/lib/action_controller/deprecator.rb#3 +# source://actionpack//lib/action_controller/deprecator.rb#3 module ActionController extend ::ActiveSupport::Autoload class << self # See Renderers.add # - # source://actionpack/lib/action_controller/metal/renderers.rb#7 + # source://actionpack//lib/action_controller/metal/renderers.rb#7 def add_renderer(key, &block); end - # source://actionpack/lib/action_controller/deprecator.rb#4 + # source://actionpack//lib/action_controller/deprecator.rb#4 def deprecator; end # See Renderers.remove # - # source://actionpack/lib/action_controller/metal/renderers.rb#12 + # source://actionpack//lib/action_controller/metal/renderers.rb#12 def remove_renderer(key); end end end @@ -1242,7 +1245,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack/lib/action_controller/api.rb#91 +# source://actionpack//lib/action_controller/api.rb#91 class ActionController::API < ::ActionController::Metal include ::ActionView::ViewPaths include ::AbstractController::Rendering @@ -1283,161 +1286,161 @@ class ActionController::API < ::ActionController::Metal extend ::ActionController::Instrumentation::ClassMethods extend ::ActionController::ParamsWrapper::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers=(_arg0); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_controller/api.rb#146 def _run_process_action_callbacks(&block); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options=(_arg0); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options?; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options?; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers=(_arg0); end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/api.rb#146 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/api.rb#146 def logger=(value); end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions; end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions=(val); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects; end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers?; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks=(value); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers=(value); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers?; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options=(value); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options?; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options?; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers=(value); end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/api.rb#146 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/api.rb#146 def logger=(value); end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/api.rb#91 def middleware_stack; end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions; end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions=(val); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects; end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers?; end # Shortcut helper that returns all the ActionController::API modules except @@ -1453,33 +1456,33 @@ class ActionController::API < ::ActionController::Metal # to create an API controller class, instead of listing the modules required # manually. # - # source://actionpack/lib/action_controller/api.rb#106 + # source://actionpack//lib/action_controller/api.rb#106 def without_modules(*modules); end end end -# source://actionpack/lib/action_controller/api.rb#114 +# source://actionpack//lib/action_controller/api.rb#114 ActionController::API::MODULES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/metal/exceptions.rb#4 +# source://actionpack//lib/action_controller/metal/exceptions.rb#4 class ActionController::ActionControllerError < ::StandardError; end -# source://actionpack/lib/action_controller/api/api_rendering.rb#4 +# source://actionpack//lib/action_controller/api/api_rendering.rb#4 module ActionController::ApiRendering extend ::ActiveSupport::Concern include ::ActionController::Rendering mixes_in_class_methods ::ActionController::Rendering::ClassMethods - # source://actionpack/lib/action_controller/api/api_rendering.rb#11 + # source://actionpack//lib/action_controller/api/api_rendering.rb#11 def render_to_body(options = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#7 +# source://actionpack//lib/action_controller/metal/exceptions.rb#7 class ActionController::BadRequest < ::ActionController::ActionControllerError # @return [BadRequest] a new instance of BadRequest # - # source://actionpack/lib/action_controller/metal/exceptions.rb#8 + # source://actionpack//lib/action_controller/metal/exceptions.rb#8 def initialize(msg = T.unsafe(nil)); end end @@ -1646,7 +1649,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack/lib/action_controller/base.rb#169 +# source://actionpack//lib/action_controller/base.rb#169 class ActionController::Base < ::ActionController::Metal include ::ActionView::ViewPaths include ::AbstractController::Rendering @@ -1727,532 +1730,532 @@ class ActionController::Base < ::ActionController::Metal extend ::ActionController::Instrumentation::ClassMethods extend ::ActionController::ParamsWrapper::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks?; end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods; end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods=(_arg0); end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods?; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#216 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers=(_arg0); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_controller/base.rb#242 def _run_process_action_callbacks(&block); end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies; end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies=(_arg0); end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies?; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options=(_arg0); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options?; end - # source://actionpack/lib/action_controller/metal/flash.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def alert; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging=(value); end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest; end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest=(_arg0); end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest?; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers=(_arg0); end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers?; end - # source://actionpack/lib/action_controller/metal/flash.rb#10 + # source://actionpack//lib/action_controller/base.rb#242 def flash(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy=(value); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys; end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys=(_arg0); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys?; end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path; end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path=(_arg0); end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path?; end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers; end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers=(_arg0); end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def logger=(value); end - # source://actionpack/lib/action_controller/metal/flash.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def notice; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching=(value); end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions; end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions=(val); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects; end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir=(value); end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://actionpack//lib/action_controller/base.rb#242 def _layout(lookup_context, formats); end - # source://actionpack/lib/action_controller/base.rb#252 + # source://actionpack//lib/action_controller/base.rb#252 def _protected_ivars; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks?; end - # source://actionpack/lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder; end - # source://actionpack/lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder=(value); end - # source://actionpack/lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder?; end - # source://actionpack/lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types; end - # source://actionpack/lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types=(value); end - # source://actionpack/lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types?; end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods; end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods=(value); end - # source://actionpack/lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods?; end - # source://actionpack/lib/abstract_controller/helpers.rb#16 + # source://actionpack//lib/action_controller/base.rb#242 def _helpers; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionpack//lib/action_controller/base.rb#242 def _layout; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionpack//lib/action_controller/base.rb#242 def _layout=(value); end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://actionpack//lib/action_controller/base.rb#242 def _layout?; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions=(value); end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks=(value); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers; end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers=(value); end - # source://actionpack/lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers?; end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies; end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies=(value); end - # source://actionpack/lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies?; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options; end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options=(value); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging=(value); end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest; end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest=(value); end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest?; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers; end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers=(value); end - # source://actionpack/lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy=(value); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys; end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys=(value); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys?; end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path; end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path=(value); end - # source://actionpack/lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path?; end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers; end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers=(value); end - # source://actionpack/lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def logger; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def logger=(value); end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/base.rb#169 def middleware_stack; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching=(value); end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions; end - # source://actionpack/lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions=(val); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects; end - # source://actionpack/lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root=(value); end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers?; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir; end - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir=(value); end # Shortcut helper that returns all the modules included in @@ -2268,58 +2271,58 @@ class ActionController::Base < ::ActionController::Metal # easier to create a bare controller class, instead of listing the modules # required manually. # - # source://actionpack/lib/action_controller/base.rb#184 + # source://actionpack//lib/action_controller/base.rb#184 def without_modules(*modules); end end end -# source://actionpack/lib/action_controller/base.rb#0 +# source://actionpack//lib/action_controller/base.rb#242 module ActionController::Base::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionpack/lib/action_controller/metal/flash.rb#39 + # source://actionpack//lib/action_controller/base.rb#242 def alert(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/caching/fragments.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def combined_fragment_cache_key(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#11 + # source://actionpack//lib/action_controller/base.rb#242 def content_security_policy?(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def content_security_policy_nonce(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/cookies.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def cookies(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#101 + # source://actionpack//lib/action_controller/base.rb#242 def form_authenticity_token(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/flash.rb#39 + # source://actionpack//lib/action_controller/base.rb#242 def notice(*args, **_arg1, &block); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#102 + # source://actionpack//lib/action_controller/base.rb#242 def protect_against_forgery?(*args, **_arg1, &block); end - # source://actionpack/lib/abstract_controller/caching.rb#43 + # source://actionpack//lib/action_controller/base.rb#242 def view_cache_dependencies(*args, **_arg1, &block); end end -# source://actionpack/lib/action_controller/base.rb#192 +# source://actionpack//lib/action_controller/base.rb#192 ActionController::Base::MODULES = T.let(T.unsafe(nil), Array) # Define some internal variables that should not be propagated to the view. # -# source://actionpack/lib/action_controller/base.rb#247 +# source://actionpack//lib/action_controller/base.rb#247 ActionController::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/metal/basic_implicit_render.rb#4 +# source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#4 module ActionController::BasicImplicitRender - # source://actionpack/lib/action_controller/metal/basic_implicit_render.rb#11 + # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#11 def default_render; end - # source://actionpack/lib/action_controller/metal/basic_implicit_render.rb#5 + # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#5 def send_action(method, *args); end end @@ -2346,7 +2349,7 @@ end # config.action_controller.cache_store = :mem_cache_store, Memcached::Rails.new('localhost:11211') # config.action_controller.cache_store = MyOwnStore.new('parameter') # -# source://actionpack/lib/action_controller/caching.rb#26 +# source://actionpack//lib/action_controller/caching.rb#26 module ActionController::Caching extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2360,10 +2363,10 @@ module ActionController::Caching private - # source://actionpack/lib/action_controller/caching.rb#42 + # source://actionpack//lib/action_controller/caching.rb#42 def instrument_name; end - # source://actionpack/lib/action_controller/caching.rb#34 + # source://actionpack//lib/action_controller/caching.rb#34 def instrument_payload(key); end module GeneratedClassMethods @@ -2385,7 +2388,7 @@ module ActionController::Caching end end -# source://actionpack/lib/action_controller/metal/conditional_get.rb#7 +# source://actionpack//lib/action_controller/metal/conditional_get.rb#7 module ActionController::ConditionalGet include ::ActionController::Head extend ::ActiveSupport::Concern @@ -2436,14 +2439,14 @@ module ActionController::ConditionalGet # expires_in 1.hour, public: true, "s-maxage": 3.hours, "no-transform": true # # => Cache-Control: max-age=3600, public, s-maxage=10800, no-transform=true # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#274 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#274 def expires_in(seconds, options = T.unsafe(nil)); end # Sets an HTTP 1.1 +Cache-Control+ header of no-cache. This means the # resource will be marked as stale, so clients must always revalidate. # Intermediate/browser caches may still store the asset. # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#292 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#292 def expires_now; end # Sets the +etag+, +last_modified+, or both on the response, and renders a @@ -2538,7 +2541,7 @@ module ActionController::ConditionalGet # # before_action { fresh_when @article, template: "widgets/show" } # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#128 + # source://actionpack//lib/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 # Cache or yield the block. The cache is supposed to never expire. @@ -2550,13 +2553,13 @@ module ActionController::ConditionalGet # user's web browser. To allow proxies to cache the response, set +true+ to # indicate that they can serve the cached response to all users. # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#304 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#304 def http_cache_forever(public: T.unsafe(nil)); end # Sets an HTTP 1.1 +Cache-Control+ header of no-store. This means the # resource may not be stored in any cache. # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#314 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#314 def no_store; end # Sets the +etag+ and/or +last_modified+ on the response and checks them @@ -2640,12 +2643,12 @@ module ActionController::ConditionalGet # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#227 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#227 def stale?(object = T.unsafe(nil), **freshness_kwargs); end private - # source://actionpack/lib/action_controller/metal/conditional_get.rb#319 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#319 def combine_etags(validator, options); end module GeneratedClassMethods @@ -2661,7 +2664,7 @@ module ActionController::ConditionalGet end end -# source://actionpack/lib/action_controller/metal/conditional_get.rb#16 +# source://actionpack//lib/action_controller/metal/conditional_get.rb#16 module ActionController::ConditionalGet::ClassMethods # Allows you to consider additional controller-wide information when generating an ETag. # For example, if you serve pages tailored depending on who's logged in at the moment, you @@ -2678,11 +2681,11 @@ module ActionController::ConditionalGet::ClassMethods # end # end # - # source://actionpack/lib/action_controller/metal/conditional_get.rb#31 + # source://actionpack//lib/action_controller/metal/conditional_get.rb#31 def etag(&etagger); end end -# source://actionpack/lib/action_controller/metal/content_security_policy.rb#4 +# source://actionpack//lib/action_controller/metal/content_security_policy.rb#4 module ActionController::ContentSecurityPolicy extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2701,13 +2704,13 @@ module ActionController::ContentSecurityPolicy # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#73 + # source://actionpack//lib/action_controller/metal/content_security_policy.rb#73 def content_security_policy?; end - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#77 + # source://actionpack//lib/action_controller/metal/content_security_policy.rb#77 def content_security_policy_nonce; end - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#81 + # source://actionpack//lib/action_controller/metal/content_security_policy.rb#81 def current_content_security_policy; end module GeneratedClassMethods @@ -2728,7 +2731,7 @@ module ActionController::ContentSecurityPolicy end end -# source://actionpack/lib/action_controller/metal/content_security_policy.rb#15 +# source://actionpack//lib/action_controller/metal/content_security_policy.rb#15 module ActionController::ContentSecurityPolicy::ClassMethods # Overrides parts of the globally configured +Content-Security-Policy+ # header: @@ -2754,7 +2757,7 @@ module ActionController::ContentSecurityPolicy::ClassMethods # content_security_policy false, only: :index # end # - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#39 + # source://actionpack//lib/action_controller/metal/content_security_policy.rb#39 def content_security_policy(enabled = T.unsafe(nil), **options, &block); end # Overrides the globally configured +Content-Security-Policy-Report-Only+ @@ -2770,11 +2773,11 @@ module ActionController::ContentSecurityPolicy::ClassMethods # content_security_policy_report_only false, only: :index # end # - # source://actionpack/lib/action_controller/metal/content_security_policy.rb#65 + # source://actionpack//lib/action_controller/metal/content_security_policy.rb#65 def content_security_policy_report_only(report_only = T.unsafe(nil), **options); end end -# source://actionpack/lib/action_controller/metal/cookies.rb#4 +# source://actionpack//lib/action_controller/metal/cookies.rb#4 module ActionController::Cookies extend ::ActiveSupport::Concern @@ -2783,7 +2786,7 @@ module ActionController::Cookies # The cookies for the current request. See ActionDispatch::Cookies for # more information. # - # source://actionpack/lib/action_controller/metal/cookies.rb#14 + # source://actionpack//lib/action_controller/metal/cookies.rb#14 def cookies; end end @@ -2792,7 +2795,7 @@ end # Methods for sending arbitrary data and for streaming files to the browser, # instead of rendering. # -# source://actionpack/lib/action_controller/metal/data_streaming.rb#11 +# source://actionpack//lib/action_controller/metal/data_streaming.rb#11 module ActionController::DataStreaming extend ::ActiveSupport::Concern include ::ActionController::Rendering @@ -2831,7 +2834,7 @@ module ActionController::DataStreaming # # See +send_file+ for more information on HTTP Content-* headers and caching. # - # source://actionpack/lib/action_controller/metal/data_streaming.rb#111 + # source://actionpack//lib/action_controller/metal/data_streaming.rb#111 def send_data(data, options = T.unsafe(nil)); end # Sends the file. This uses a server-appropriate method (such as +X-Sendfile+) @@ -2888,19 +2891,19 @@ module ActionController::DataStreaming # # @raise [MissingFile] # - # source://actionpack/lib/action_controller/metal/data_streaming.rb#71 + # source://actionpack//lib/action_controller/metal/data_streaming.rb#71 def send_file(path, options = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://actionpack/lib/action_controller/metal/data_streaming.rb#116 + # source://actionpack//lib/action_controller/metal/data_streaming.rb#116 def send_file_headers!(options); end end -# source://actionpack/lib/action_controller/metal/data_streaming.rb#17 +# source://actionpack//lib/action_controller/metal/data_streaming.rb#17 ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/data_streaming.rb#16 +# source://actionpack//lib/action_controller/metal/data_streaming.rb#16 ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), String) # = Action Controller Default Headers @@ -2908,16 +2911,16 @@ ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), S # Allows configuring default headers that will be automatically merged into # each response. # -# source://actionpack/lib/action_controller/metal/default_headers.rb#8 +# source://actionpack//lib/action_controller/metal/default_headers.rb#8 module ActionController::DefaultHeaders extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::DefaultHeaders::ClassMethods end -# source://actionpack/lib/action_controller/metal/default_headers.rb#11 +# source://actionpack//lib/action_controller/metal/default_headers.rb#11 module ActionController::DefaultHeaders::ClassMethods - # source://actionpack/lib/action_controller/metal/default_headers.rb#12 + # source://actionpack//lib/action_controller/metal/default_headers.rb#12 def make_response!(request); end end @@ -2929,7 +2932,7 @@ end # in mind. This does that by including the content of the flash as a component # in the ETag that's generated for a response. # -# source://actionpack/lib/action_controller/metal/etag_with_flash.rb#11 +# source://actionpack//lib/action_controller/metal/etag_with_flash.rb#11 module ActionController::EtagWithFlash extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2970,7 +2973,7 @@ end # # We're not going to render a template, so omit it from the ETag. # fresh_when @post, template: false # -# source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#23 +# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#23 module ActionController::EtagWithTemplateDigest extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2981,10 +2984,10 @@ module ActionController::EtagWithTemplateDigest private - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#37 + # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#37 def determine_template_etag(options); end - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#53 + # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#53 def lookup_and_digest_template(template); end # Pick the template digest to include in the ETag. If the +:template+ option @@ -2992,7 +2995,7 @@ module ActionController::EtagWithTemplateDigest # the default controller/action template. If +:template+ is false, omit the # template digest from the ETag. # - # source://actionpack/lib/action_controller/metal/etag_with_template_digest.rb#47 + # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#47 def pick_template_for_etag(options); end module GeneratedClassMethods @@ -3014,7 +3017,7 @@ module ActionController::EtagWithTemplateDigest end end -# source://actionpack/lib/action_controller/metal/flash.rb#4 +# source://actionpack//lib/action_controller/metal/flash.rb#4 module ActionController::Flash extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3024,7 +3027,7 @@ module ActionController::Flash private - # source://actionpack/lib/action_controller/metal/flash.rb#51 + # source://actionpack//lib/action_controller/metal/flash.rb#51 def redirect_to(options = T.unsafe(nil), response_options_and_flash = T.unsafe(nil)); end module GeneratedClassMethods @@ -3036,9 +3039,9 @@ module ActionController::Flash module GeneratedInstanceMethods; end end -# source://actionpack/lib/action_controller/metal/flash.rb#14 +# source://actionpack//lib/action_controller/metal/flash.rb#14 module ActionController::Flash::ClassMethods - # source://actionpack/lib/action_controller/metal/flash.rb#45 + # source://actionpack//lib/action_controller/metal/flash.rb#45 def action_methods; end # Creates new flash types. You can pass as many types as you want to create @@ -3059,7 +3062,7 @@ module ActionController::Flash::ClassMethods # This method will automatically define a new method for each of the given # names, and it will be available in your views. # - # source://actionpack/lib/action_controller/metal/flash.rb#32 + # source://actionpack//lib/action_controller/metal/flash.rb#32 def add_flash_types(*types); end end @@ -3089,7 +3092,7 @@ end # <%= builder.special_field(:name) %> # <% end %> # -# source://actionpack/lib/action_controller/form_builder.rb#29 +# source://actionpack//lib/action_controller/form_builder.rb#29 module ActionController::FormBuilder extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3099,7 +3102,7 @@ module ActionController::FormBuilder # Default form builder for the controller # - # source://actionpack/lib/action_controller/form_builder.rb#48 + # source://actionpack//lib/action_controller/form_builder.rb#48 def default_form_builder; end module GeneratedClassMethods @@ -3111,7 +3114,7 @@ module ActionController::FormBuilder module GeneratedInstanceMethods; end end -# source://actionpack/lib/action_controller/form_builder.rb#36 +# source://actionpack//lib/action_controller/form_builder.rb#36 module ActionController::FormBuilder::ClassMethods # Set the form builder to be used as the default for all forms # in the views rendered by this controller and its subclasses. @@ -3119,11 +3122,11 @@ module ActionController::FormBuilder::ClassMethods # ==== Parameters # * builder - Default form builder, an instance of ActionView::Helpers::FormBuilder # - # source://actionpack/lib/action_controller/form_builder.rb#42 + # source://actionpack//lib/action_controller/form_builder.rb#42 def default_form_builder(builder); end end -# source://actionpack/lib/action_controller/metal/head.rb#4 +# source://actionpack//lib/action_controller/metal/head.rb#4 module ActionController::Head # Returns a response that has no content (merely headers). The options # argument is interpreted to be a hash of header names and values. @@ -3142,14 +3145,14 @@ module ActionController::Head # # See +Rack::Utils::SYMBOL_TO_STATUS_CODE+ for a full list of valid +status+ symbols. # - # source://actionpack/lib/action_controller/metal/head.rb#21 + # source://actionpack//lib/action_controller/metal/head.rb#21 def head(status, options = T.unsafe(nil)); end private # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/head.rb#54 + # source://actionpack//lib/action_controller/metal/head.rb#54 def include_content?(status); end end @@ -3207,7 +3210,7 @@ end # 23 Aug 11:30 | Carolina Railhawks Soccer Match # N/A | Carolina Railhawks Training Workshop # -# source://actionpack/lib/action_controller/metal/helpers.rb#58 +# source://actionpack//lib/action_controller/metal/helpers.rb#58 module ActionController::Helpers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3219,20 +3222,20 @@ module ActionController::Helpers # Provides a proxy to access helper methods from outside the view. # - # source://actionpack/lib/action_controller/metal/helpers.rb#117 + # source://actionpack//lib/action_controller/metal/helpers.rb#117 def helpers; end class << self # Returns the value of attribute helpers_path. # - # source://actionpack/lib/action_controller/metal/helpers.rb#61 + # source://actionpack//lib/action_controller/metal/helpers.rb#61 def helpers_path; end # Sets the attribute helpers_path # # @param value the value to set the attribute helpers_path to. # - # source://actionpack/lib/action_controller/metal/helpers.rb#61 + # source://actionpack//lib/action_controller/metal/helpers.rb#61 def helpers_path=(_arg0); end end @@ -3261,7 +3264,7 @@ module ActionController::Helpers end end -# source://actionpack/lib/action_controller/metal/helpers.rb#69 +# source://actionpack//lib/action_controller/metal/helpers.rb#69 module ActionController::Helpers::ClassMethods # Declares helper accessors for controller attributes. For example, the # following adds new +name+ and name= instance methods to a @@ -3272,7 +3275,7 @@ module ActionController::Helpers::ClassMethods # ==== Parameters # * attrs - Names of attributes to be converted into helpers. # - # source://actionpack/lib/action_controller/metal/helpers.rb#78 + # source://actionpack//lib/action_controller/metal/helpers.rb#78 def helper_attr(*attrs); end # Provides a proxy to access helper methods from outside the view. @@ -3282,7 +3285,7 @@ module ActionController::Helpers::ClassMethods # using {helper}[rdoc-ref:AbstractController::Helpers::ClassMethods#helper] # instead when using +capture+. # - # source://actionpack/lib/action_controller/metal/helpers.rb#88 + # source://actionpack//lib/action_controller/metal/helpers.rb#88 def helpers; end # Override modules_for_helpers to accept +:all+ as argument, which loads @@ -3294,20 +3297,20 @@ module ActionController::Helpers::ClassMethods # ==== Returns # * array - A normalized list of modules for the list of helpers provided. # - # source://actionpack/lib/action_controller/metal/helpers.rb#104 + # source://actionpack//lib/action_controller/metal/helpers.rb#104 def modules_for_helpers(args); end private # Extract helper names from files in app/helpers/**/*_helper.rb # - # source://actionpack/lib/action_controller/metal/helpers.rb#111 + # source://actionpack//lib/action_controller/metal/helpers.rb#111 def all_application_helpers; end end # HTTP Basic, Digest, and Token authentication. # -# source://actionpack/lib/action_controller/metal/http_authentication.rb#9 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#9 module ActionController::HttpAuthentication; end # = HTTP \Basic authentication @@ -3367,57 +3370,57 @@ module ActionController::HttpAuthentication; end # assert_equal 200, status # end # -# source://actionpack/lib/action_controller/metal/http_authentication.rb#66 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#66 module ActionController::HttpAuthentication::Basic extend ::ActionController::HttpAuthentication::Basic - # source://actionpack/lib/action_controller/metal/http_authentication.rb#127 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#127 def auth_param(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#123 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#123 def auth_scheme(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#105 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#105 def authenticate(request, &login_procedure); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#135 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#135 def authentication_request(controller, realm, message); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#119 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#119 def decode_credentials(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#131 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#131 def encode_credentials(user_name, password); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#111 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#111 def has_basic_credentials?(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#115 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#115 def user_name_and_password(request); end end -# source://actionpack/lib/action_controller/metal/http_authentication.rb#69 +# source://actionpack//lib/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/lib/action_controller/metal/http_authentication.rb#92 + # source://actionpack//lib/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/lib/action_controller/metal/http_authentication.rb#96 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#96 def authenticate_with_http_basic(&login_procedure); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#83 + # source://actionpack//lib/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/lib/action_controller/metal/http_authentication.rb#100 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#100 def request_http_basic_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/http_authentication.rb#72 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#72 module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods # Enables HTTP \Basic authentication. # @@ -3425,7 +3428,7 @@ module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMeth # # @raise [ArgumentError] # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#76 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#76 def http_basic_authenticate_with(name:, password:, realm: T.unsafe(nil), **options); end end @@ -3472,38 +3475,38 @@ end # they reach your application. You can debug this situation by logging all environment # variables, and check for HTTP_AUTHORIZATION, amongst others. # -# source://actionpack/lib/action_controller/metal/http_authentication.rb#185 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#185 module ActionController::HttpAuthentication::Digest extend ::ActionController::HttpAuthentication::Digest # Returns true on a valid response, false otherwise. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#211 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#211 def authenticate(request, realm, &password_procedure); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#269 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#269 def authentication_header(controller, realm); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#276 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#276 def authentication_request(controller, realm, message = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#262 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#262 def decode_credentials(header); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#258 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#258 def decode_credentials_header(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#253 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#253 def encode_credentials(http_method, credentials, password, password_is_ha1); end # Returns the expected response for a request of +http_method+ to +uri+ with the decoded +credentials+ and the expected +password+ # Optional parameter +password_is_ha1+ is set to +true+ by default, since best practice is to store ha1 digest instead # of a plain-text password. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#243 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#243 def expected_response(http_method, uri, credentials, password, password_is_ha1 = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#249 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#249 def ha1(credentials, password); end # Uses an MD5 digest based on time to generate a value to be used only once. @@ -3539,22 +3542,22 @@ module ActionController::HttpAuthentication::Digest # key from the \Rails session secret generated upon creation of project. Ensures # the time cannot be modified by client. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#321 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#321 def nonce(secret_key, time = T.unsafe(nil)); end # Opaque based on digest of secret key # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#340 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#340 def opaque(secret_key); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#283 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#283 def secret_token(request); end # Returns false unless the request credentials response value matches the expected value. # First try the password as a ha1 digest password. If this fails, then try it as a plain # text password. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#218 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#218 def validate_digest_response(request, realm, &password_procedure); end # Might want a shorter timeout depending on whether the request @@ -3563,30 +3566,30 @@ module ActionController::HttpAuthentication::Digest # allow a user to use new nonce without prompting the user again for their # username and password. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#333 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#333 def validate_nonce(secret_key, request, value, seconds_to_timeout = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/http_authentication.rb#188 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#188 module ActionController::HttpAuthentication::Digest::ControllerMethods # Authenticate using an HTTP \Digest, or otherwise render an HTTP header # requesting the client to send a \Digest. # # See ActionController::HttpAuthentication::Digest for example usage. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#193 + # source://actionpack//lib/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 # Authenticate using an HTTP \Digest. Returns true if authentication is # successful, false otherwise. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#199 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#199 def authenticate_with_http_digest(realm = T.unsafe(nil), &password_procedure); end # Render an HTTP header requesting the client to send a \Digest for # authentication. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#205 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#205 def request_http_digest_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end @@ -3665,7 +3668,7 @@ end # # RewriteRule ^(.*)$ dispatch.fcgi [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L] # -# source://actionpack/lib/action_controller/metal/http_authentication.rb#419 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#419 module ActionController::HttpAuthentication::Token extend ::ActionController::HttpAuthentication::Token @@ -3683,7 +3686,7 @@ module ActionController::HttpAuthentication::Token # # authenticate(controller) { |token, options| ... } # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#466 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#466 def authenticate(controller, &login_procedure); end # Sets a WWW-Authenticate header to let the client know a token is desired. @@ -3695,7 +3698,7 @@ module ActionController::HttpAuthentication::Token # * +controller+ - ActionController::Base instance for the outgoing response. # * +realm+ - String realm to use in the header. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#547 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#547 def authentication_request(controller, realm, message = T.unsafe(nil)); end # Encodes the given token and options into an Authorization header value. @@ -3707,24 +3710,24 @@ module ActionController::HttpAuthentication::Token # * +token+ - String token. # * +options+ - Optional Hash of the options. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#532 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#532 def encode_credentials(token, options = T.unsafe(nil)); end # Takes +raw_params+ and turns it into an array of parameters. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#501 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#501 def params_array_from(raw_params); end # This method takes an authorization body and splits up the key-value # pairs by the standardized :, ;, or \t # delimiters defined in +AUTHN_PAIR_DELIMITERS+. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#513 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#513 def raw_params(auth); end # This removes the " characters wrapping the value. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#506 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#506 def rewrite_param_values(array_params); end # Parses the token and options out of the token Authorization header. @@ -3743,17 +3746,17 @@ module ActionController::HttpAuthentication::Token # # * +request+ - ActionDispatch::Request instance with the current headers. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#488 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#488 def token_and_options(request); end - # source://actionpack/lib/action_controller/metal/http_authentication.rb#496 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#496 def token_params_from(auth); end end -# source://actionpack/lib/action_controller/metal/http_authentication.rb#422 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#422 ActionController::HttpAuthentication::Token::AUTHN_PAIR_DELIMITERS = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_controller/metal/http_authentication.rb#425 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#425 module ActionController::HttpAuthentication::Token::ControllerMethods # Authenticate using an HTTP Bearer token, or otherwise render an HTTP # header requesting the client to send a Bearer token. For the authentication @@ -3762,7 +3765,7 @@ module ActionController::HttpAuthentication::Token::ControllerMethods # # See ActionController::HttpAuthentication::Token for example usage. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#432 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#432 def authenticate_or_request_with_http_token(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end # Authenticate using an HTTP Bearer token. @@ -3771,20 +3774,20 @@ module ActionController::HttpAuthentication::Token::ControllerMethods # # See ActionController::HttpAuthentication::Token for example usage. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#441 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#441 def authenticate_with_http_token(&login_procedure); end # Render an HTTP header requesting the client to send a Bearer token for # authentication. # - # source://actionpack/lib/action_controller/metal/http_authentication.rb#447 + # source://actionpack//lib/action_controller/metal/http_authentication.rb#447 def request_http_token_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/http_authentication.rb#420 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#420 ActionController::HttpAuthentication::Token::TOKEN_KEY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/http_authentication.rb#421 +# source://actionpack//lib/action_controller/metal/http_authentication.rb#421 ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), Regexp) # = Action Controller Implicit Render @@ -3815,21 +3818,21 @@ ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), # Finally, if we DON'T find a template AND the request isn't a browser page # load, then we implicitly respond with 204 No Content. # -# source://actionpack/lib/action_controller/metal/implicit_render.rb#31 +# source://actionpack//lib/action_controller/metal/implicit_render.rb#31 module ActionController::ImplicitRender include ::ActionController::BasicImplicitRender - # source://actionpack/lib/action_controller/metal/implicit_render.rb#35 + # source://actionpack//lib/action_controller/metal/implicit_render.rb#35 def default_render; end - # source://actionpack/lib/action_controller/metal/implicit_render.rb#54 + # source://actionpack//lib/action_controller/metal/implicit_render.rb#54 def method_for_action(action_name); end private # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/implicit_render.rb#61 + # source://actionpack//lib/action_controller/metal/implicit_render.rb#61 def interactive_browser_request?; end end @@ -3841,7 +3844,7 @@ end # # Check ActiveRecord::Railties::ControllerRuntime for an example. # -# source://actionpack/lib/action_controller/metal/instrumentation.rb#14 +# source://actionpack//lib/action_controller/metal/instrumentation.rb#14 module ActionController::Instrumentation extend ::ActiveSupport::Concern include ::ActiveSupport::Benchmarkable @@ -3849,22 +3852,25 @@ module ActionController::Instrumentation mixes_in_class_methods ::ActionController::Instrumentation::ClassMethods - # source://actionpack/lib/action_controller/metal/instrumentation.rb#21 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#21 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/instrumentation.rb#47 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#47 def redirect_to(*_arg0); end - # source://actionpack/lib/action_controller/metal/instrumentation.rb#26 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#26 def render(*_arg0); end - # source://actionpack/lib/action_controller/metal/instrumentation.rb#41 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#41 def send_data(data, options = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/instrumentation.rb#34 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#34 def send_file(path, options = T.unsafe(nil)); end + # source://actionpack//lib/action_controller/metal/instrumentation.rb#19 def view_runtime; end + + # source://actionpack//lib/action_controller/metal/instrumentation.rb#19 def view_runtime=(_arg0); end private @@ -3872,7 +3878,7 @@ module ActionController::Instrumentation # Every time after an action is processed, this method is invoked # with the payload, so you can add more information. # - # source://actionpack/lib/action_controller/metal/instrumentation.rb#103 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#103 def append_info_to_payload(payload); end # A hook which allows you to clean up any time, wrongly taken into account in @@ -3882,32 +3888,32 @@ module ActionController::Instrumentation # super - time_taken_in_something_expensive # end # - # source://actionpack/lib/action_controller/metal/instrumentation.rb#97 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#97 def cleanup_view_runtime; end # A hook invoked every time a before callback is halted. # - # source://actionpack/lib/action_controller/metal/instrumentation.rb#87 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#87 def halted_callback_hook(filter, _); end - # source://actionpack/lib/action_controller/metal/instrumentation.rb#57 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#57 def process_action(*_arg0); end end -# source://actionpack/lib/action_controller/metal/instrumentation.rb#107 +# source://actionpack//lib/action_controller/metal/instrumentation.rb#107 module ActionController::Instrumentation::ClassMethods # A hook which allows other frameworks to log what happened during # controller process action. This method should return an array # with the messages to be added. # - # source://actionpack/lib/action_controller/metal/instrumentation.rb#111 + # source://actionpack//lib/action_controller/metal/instrumentation.rb#111 def log_process_action(payload); end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#8 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#8 class ActionController::InvalidAuthenticityToken < ::ActionController::ActionControllerError; end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#11 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#11 class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionControllerError; end # Raised when initializing Parameters with keys that aren't strings or symbols. @@ -3915,7 +3921,7 @@ class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionCo # ActionController::Parameters.new(123 => 456) # # => ActionController::InvalidParameterKey: all keys must be Strings or Symbols, got: Integer # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#72 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#72 class ActionController::InvalidParameterKey < ::ArgumentError; end # = Action Controller \Live @@ -3965,19 +3971,19 @@ class ActionController::InvalidParameterKey < ::ArgumentError; end # ... # end # -# source://actionpack/lib/action_controller/metal/live.rb#54 +# source://actionpack//lib/action_controller/metal/live.rb#54 module ActionController::Live extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::Live::ClassMethods - # source://actionpack/lib/action_controller/test_case.rb#24 + # source://actionpack//lib/action_controller/metal/live.rb#364 def new_controller_thread; end - # source://actionpack/lib/action_controller/metal/live.rb#273 + # source://actionpack//lib/action_controller/metal/live.rb#273 def process(name); end - # source://actionpack/lib/action_controller/metal/live.rb#319 + # source://actionpack//lib/action_controller/metal/live.rb#319 def response_body=(body); end # Sends a stream to the browser, which is helpful when you're generating exports or other running data where you @@ -4002,22 +4008,22 @@ module ActionController::Live # end # end # - # source://actionpack/lib/action_controller/metal/live.rb#345 + # source://actionpack//lib/action_controller/metal/live.rb#345 def send_stream(filename:, disposition: T.unsafe(nil), type: T.unsafe(nil)); end private - # source://actionpack/lib/action_controller/metal/live.rb#372 + # source://actionpack//lib/action_controller/metal/live.rb#372 def log_error(exception); end end -# source://actionpack/lib/action_controller/metal/live.rb#146 +# source://actionpack//lib/action_controller/metal/live.rb#146 class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer include ::MonitorMixin # @return [Buffer] a new instance of Buffer # - # source://actionpack/lib/action_controller/metal/live.rb#162 + # source://actionpack//lib/action_controller/metal/live.rb#162 def initialize(response); end # Inform the producer/writing thread that the client has @@ -4026,10 +4032,10 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # See also #close. # - # source://actionpack/lib/action_controller/metal/live.rb#217 + # source://actionpack//lib/action_controller/metal/live.rb#217 def abort; end - # source://actionpack/lib/action_controller/metal/live.rb#236 + # source://actionpack//lib/action_controller/metal/live.rb#236 def call_on_error; end # Write a 'close' event to the buffer; the producer/writing thread @@ -4037,7 +4043,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # See also #abort. # - # source://actionpack/lib/action_controller/metal/live.rb#204 + # source://actionpack//lib/action_controller/metal/live.rb#204 def close; end # Is the client still connected and waiting for content? @@ -4047,7 +4053,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/live.rb#228 + # source://actionpack//lib/action_controller/metal/live.rb#228 def connected?; end # Ignore that the client has disconnected. @@ -4057,7 +4063,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # discarded. If this value is `false` (the default), a # ClientDisconnected exception will be raised. # - # source://actionpack/lib/action_controller/metal/live.rb#160 + # source://actionpack//lib/action_controller/metal/live.rb#160 def ignore_disconnect; end # Ignore that the client has disconnected. @@ -4067,60 +4073,60 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # discarded. If this value is `false` (the default), a # ClientDisconnected exception will be raised. # - # source://actionpack/lib/action_controller/metal/live.rb#160 + # source://actionpack//lib/action_controller/metal/live.rb#160 def ignore_disconnect=(_arg0); end - # source://actionpack/lib/action_controller/metal/live.rb#232 + # source://actionpack//lib/action_controller/metal/live.rb#232 def on_error(&block); end - # source://actionpack/lib/action_controller/metal/live.rb#175 + # source://actionpack//lib/action_controller/metal/live.rb#175 def write(string); end # Same as +write+ but automatically include a newline at the end of the string. # - # source://actionpack/lib/action_controller/metal/live.rb#196 + # source://actionpack//lib/action_controller/metal/live.rb#196 def writeln(string); end private - # source://actionpack/lib/action_controller/metal/live.rb#252 + # source://actionpack//lib/action_controller/metal/live.rb#252 def build_queue(queue_size); end - # source://actionpack/lib/action_controller/metal/live.rb#241 + # source://actionpack//lib/action_controller/metal/live.rb#241 def each_chunk(&block); end class << self # Returns the value of attribute queue_size. # - # source://actionpack/lib/action_controller/metal/live.rb#150 + # source://actionpack//lib/action_controller/metal/live.rb#150 def queue_size; end # Sets the attribute queue_size # # @param value the value to set the attribute queue_size to. # - # source://actionpack/lib/action_controller/metal/live.rb#150 + # source://actionpack//lib/action_controller/metal/live.rb#150 def queue_size=(_arg0); end end end -# source://actionpack/lib/action_controller/metal/live.rb#57 +# source://actionpack//lib/action_controller/metal/live.rb#57 module ActionController::Live::ClassMethods - # source://actionpack/lib/action_controller/metal/live.rb#58 + # source://actionpack//lib/action_controller/metal/live.rb#58 def make_response!(request); end end -# source://actionpack/lib/action_controller/metal/live.rb#143 +# source://actionpack//lib/action_controller/metal/live.rb#143 class ActionController::Live::ClientDisconnected < ::RuntimeError; end -# source://actionpack/lib/action_controller/metal/live.rb#257 +# source://actionpack//lib/action_controller/metal/live.rb#257 class ActionController::Live::Response < ::ActionDispatch::Response private - # source://actionpack/lib/action_controller/metal/live.rb#259 + # source://actionpack//lib/action_controller/metal/live.rb#259 def before_committed; end - # source://actionpack/lib/action_controller/metal/live.rb#266 + # source://actionpack//lib/action_controller/metal/live.rb#266 def build_buffer(response, body); end end @@ -4163,101 +4169,101 @@ end # Note: SSEs are not currently supported by IE. However, they are supported # by Chrome, Firefox, Opera, and Safari. # -# source://actionpack/lib/action_controller/metal/live.rb#107 +# source://actionpack//lib/action_controller/metal/live.rb#107 class ActionController::Live::SSE # @return [SSE] a new instance of SSE # - # source://actionpack/lib/action_controller/metal/live.rb#110 + # source://actionpack//lib/action_controller/metal/live.rb#110 def initialize(stream, options = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/live.rb#115 + # source://actionpack//lib/action_controller/metal/live.rb#115 def close; end - # source://actionpack/lib/action_controller/metal/live.rb#119 + # source://actionpack//lib/action_controller/metal/live.rb#119 def write(object, options = T.unsafe(nil)); end private - # source://actionpack/lib/action_controller/metal/live.rb#129 + # source://actionpack//lib/action_controller/metal/live.rb#129 def perform_write(json, options); end end -# source://actionpack/lib/action_controller/metal/live.rb#108 +# source://actionpack//lib/action_controller/metal/live.rb#108 ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/test_case.rb#172 +# source://actionpack//lib/action_controller/test_case.rb#172 class ActionController::LiveTestResponse < ::ActionController::Live::Response # Was there a server-side error? # - # source://rack/3.1.8lib/rack/response.rb#187 + # source://actionpack//lib/action_controller/test_case.rb#180 def error?; end # Was the URL not found? # - # source://rack/3.1.8lib/rack/response.rb#197 + # source://actionpack//lib/action_controller/test_case.rb#177 def missing?; end # Was the response successful? # - # source://rack/3.1.8lib/rack/response.rb#184 + # source://actionpack//lib/action_controller/test_case.rb#174 def success?; end end -# source://actionpack/lib/action_controller/log_subscriber.rb#4 +# source://actionpack//lib/action_controller/log_subscriber.rb#4 class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://actionpack/lib/action_controller/log_subscriber.rb#78 + # source://actionpack//lib/action_controller/log_subscriber.rb#78 def exist_fragment?(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#78 + # source://actionpack//lib/action_controller/log_subscriber.rb#78 def expire_fragment(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#45 + # source://actionpack//lib/action_controller/log_subscriber.rb#45 def halted_callback(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#88 + # source://actionpack//lib/action_controller/log_subscriber.rb#88 def logger; end - # source://actionpack/lib/action_controller/log_subscriber.rb#24 + # source://actionpack//lib/action_controller/log_subscriber.rb#24 def process_action(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#78 + # source://actionpack//lib/action_controller/log_subscriber.rb#78 def read_fragment(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#55 + # source://actionpack//lib/action_controller/log_subscriber.rb#55 def redirect_to(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#60 + # source://actionpack//lib/action_controller/log_subscriber.rb#60 def send_data(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#50 + # source://actionpack//lib/action_controller/log_subscriber.rb#50 def send_file(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#7 + # source://actionpack//lib/action_controller/log_subscriber.rb#7 def start_processing(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#65 + # source://actionpack//lib/action_controller/log_subscriber.rb#65 def unpermitted_parameters(event); end - # source://actionpack/lib/action_controller/log_subscriber.rb#78 + # source://actionpack//lib/action_controller/log_subscriber.rb#78 def write_fragment(event); end class << self - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://actionpack//lib/action_controller/log_subscriber.rb#22 def log_levels; end end end -# source://actionpack/lib/action_controller/log_subscriber.rb#5 +# source://actionpack//lib/action_controller/log_subscriber.rb#5 ActionController::LogSubscriber::INTERNAL_PARAMS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/metal/logging.rb#4 +# source://actionpack//lib/action_controller/metal/logging.rb#4 module ActionController::Logging extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::Logging::ClassMethods end -# source://actionpack/lib/action_controller/metal/logging.rb#7 +# source://actionpack//lib/action_controller/metal/logging.rb#7 module ActionController::Logging::ClassMethods # Set a different log level per request. # @@ -4266,7 +4272,7 @@ module ActionController::Logging::ClassMethods # log_at :debug, if: -> { cookies[:debug] } # end # - # source://actionpack/lib/action_controller/metal/logging.rb#15 + # source://actionpack//lib/action_controller/metal/logging.rb#15 def log_at(level, **options); end end @@ -4330,130 +4336,130 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack/lib/action_controller/metal.rb#121 +# source://actionpack//lib/action_controller/metal.rb#121 class ActionController::Metal < ::AbstractController::Base include ::ActionController::Testing::Functional # @return [Metal] a new instance of Metal # - # source://actionpack/lib/action_controller/metal.rb#185 + # source://actionpack//lib/action_controller/metal.rb#185 def initialize; end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def content_type(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def content_type=(arg); end # Delegates to the class's ::controller_name. # - # source://actionpack/lib/action_controller/metal.rb#156 + # source://actionpack//lib/action_controller/metal.rb#156 def controller_name; end - # source://actionpack/lib/action_controller/metal.rb#224 + # source://actionpack//lib/action_controller/metal.rb#224 def dispatch(name, request, response); end # Delegates to ActionDispatch::Response#headers. # - # source://actionpack/lib/action_controller/metal.rb#180 + # source://actionpack//lib/action_controller/metal.rb#180 def headers(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def location(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def location=(arg); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def media_type(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack; end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack=(_arg0); end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack?; end - # source://actionpack/lib/action_controller/metal.rb#194 + # source://actionpack//lib/action_controller/metal.rb#194 def params; end - # source://actionpack/lib/action_controller/metal.rb#198 + # source://actionpack//lib/action_controller/metal.rb#198 def params=(val); end # Tests if render or redirect has already happened. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal.rb#220 + # source://actionpack//lib/action_controller/metal.rb#220 def performed?; end # :attr_reader: request # # The ActionDispatch::Request instance for the current request. # - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#164 def request; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#164 def request=(_arg0); end - # source://actionpack/lib/action_controller/metal.rb#258 + # source://actionpack//lib/action_controller/metal.rb#258 def reset_session; end # :attr_reader: response # # The ActionDispatch::Response instance for the current response. # - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#170 def response; end # Assign the response and mark it as committed. No further processing will occur. # - # source://actionpack/lib/action_controller/metal.rb#242 + # source://actionpack//lib/action_controller/metal.rb#242 def response=(response); end - # source://actionpack/lib/action_controller/metal.rb#209 + # source://actionpack//lib/action_controller/metal.rb#209 def response_body=(body); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#202 def response_code(*_arg0, **_arg1, &_arg2); end # The ActionDispatch::Request::Session instance for the current request. # See further details in the # {Active Controller Session guide}[https://guides.rubyonrails.org/action_controller_overview.html#session]. # - # source://actionpack/lib/action_controller/metal.rb#176 + # source://actionpack//lib/action_controller/metal.rb#176 def session(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#249 + # source://actionpack//lib/action_controller/metal.rb#249 def set_request!(request); end - # source://actionpack/lib/action_controller/metal.rb#232 + # source://actionpack//lib/action_controller/metal.rb#232 def set_response!(response); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def status(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#182 def status=(arg); end - # source://actionpack/lib/action_controller/metal.rb#254 + # source://actionpack//lib/action_controller/metal.rb#254 def to_a; end # Basic \url_for that can be overridden for more robust functionality. # - # source://actionpack/lib/action_controller/metal.rb#205 + # source://actionpack//lib/action_controller/metal.rb#205 def url_for(string); end class << self # Returns a Rack endpoint for the given action name. # - # source://actionpack/lib/action_controller/metal.rb#289 + # source://actionpack//lib/action_controller/metal.rb#289 def action(name); end - # source://actionpack/lib/action_controller/metal.rb#140 + # source://actionpack//lib/action_controller/metal.rb#140 def action_encoding_template(action); end # Returns the last part of the controller's name, underscored, without the ending @@ -4463,16 +4469,16 @@ class ActionController::Metal < ::AbstractController::Base # ==== Returns # * string # - # source://actionpack/lib/action_controller/metal.rb#130 + # source://actionpack//lib/action_controller/metal.rb#130 def controller_name; end # Direct dispatch to the controller. Instantiates the controller, then # executes the action named +name+. # - # source://actionpack/lib/action_controller/metal.rb#305 + # source://actionpack//lib/action_controller/metal.rb#305 def dispatch(name, req, res); end - # source://actionpack/lib/action_controller/metal.rb#134 + # source://actionpack//lib/action_controller/metal.rb#134 def make_response!(request); end # The middleware stack used by this controller. @@ -4488,38 +4494,38 @@ class ActionController::Metal < ::AbstractController::Base # stack}[https://guides.rubyonrails.org/rails_on_rack.html#action-dispatcher-middleware-stack] # in the guides. # - # source://actionpack/lib/action_controller/metal.rb#284 + # source://actionpack//lib/action_controller/metal.rb#284 def middleware; end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack; end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack=(value); end - # source://actionpack/lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/metal.rb#262 def middleware_stack?; end # Pushes the given Rack middleware and its arguments to the bottom of the # middleware stack. # - # source://actionpack/lib/action_controller/metal.rb#267 + # source://actionpack//lib/action_controller/metal.rb#267 def use(*_arg0, **_arg1, &_arg2); end private # @private # - # source://actionpack/lib/action_controller/metal.rb#146 + # source://actionpack//lib/action_controller/metal.rb#146 def inherited(subclass); end end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#50 +# source://actionpack//lib/action_controller/metal/exceptions.rb#50 class ActionController::MethodNotAllowed < ::ActionController::ActionControllerError # @return [MethodNotAllowed] a new instance of MethodNotAllowed # - # source://actionpack/lib/action_controller/metal/exceptions.rb#51 + # source://actionpack//lib/action_controller/metal/exceptions.rb#51 def initialize(*allowed_methods); end end @@ -4532,40 +4538,40 @@ end # use AuthenticationMiddleware, except: [:index, :show] # end # -# source://actionpack/lib/action_controller/metal.rb#16 +# source://actionpack//lib/action_controller/metal.rb#16 class ActionController::MiddlewareStack < ::ActionDispatch::MiddlewareStack - # source://actionpack/lib/action_controller/metal.rb#29 + # source://actionpack//lib/action_controller/metal.rb#29 def build(action, app = T.unsafe(nil), &block); end private - # source://actionpack/lib/action_controller/metal.rb#42 + # source://actionpack//lib/action_controller/metal.rb#42 def build_middleware(klass, args, block); end end -# source://actionpack/lib/action_controller/metal.rb#39 +# source://actionpack//lib/action_controller/metal.rb#39 ActionController::MiddlewareStack::EXCLUDE = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_controller/metal.rb#38 +# source://actionpack//lib/action_controller/metal.rb#38 ActionController::MiddlewareStack::INCLUDE = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_controller/metal.rb#17 +# source://actionpack//lib/action_controller/metal.rb#17 class ActionController::MiddlewareStack::Middleware < ::ActionDispatch::MiddlewareStack::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack/lib/action_controller/metal.rb#18 + # source://actionpack//lib/action_controller/metal.rb#18 def initialize(klass, args, actions, strategy, block); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal.rb#24 + # source://actionpack//lib/action_controller/metal.rb#24 def valid?(action); end end -# source://actionpack/lib/action_controller/metal.rb#40 +# source://actionpack//lib/action_controller/metal.rb#40 ActionController::MiddlewareStack::NULL = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_controller/metal/mime_responds.rb#6 +# source://actionpack//lib/action_controller/metal/mime_responds.rb#6 module ActionController::MimeResponds # Without web-service support, an action which collects the data for displaying a list of people # might look something like this: @@ -4765,7 +4771,7 @@ module ActionController::MimeResponds # @raise [ArgumentError] # @yield [collector] # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#201 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#201 def respond_to(*mimes); end end @@ -4792,122 +4798,122 @@ end # to determine which specific mime-type it should respond with for the current # request, with this response then being accessible by calling #response. # -# source://actionpack/lib/action_controller/metal/mime_responds.rb#242 +# source://actionpack//lib/action_controller/metal/mime_responds.rb#242 class ActionController::MimeResponds::Collector include ::AbstractController::Collector # @return [Collector] a new instance of Collector # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#246 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#246 def initialize(mimes, variant = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#253 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#260 def all(*args, &block); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#253 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#253 def any(*args, &block); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#271 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#271 def any_response?; end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#262 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#262 def custom(mime_type, &block); end # Returns the value of attribute format. # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#244 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#244 def format; end # Sets the attribute format # # @param value the value to set the attribute format to. # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#244 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#244 def format=(_arg0); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#288 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#288 def negotiate_format(request); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#275 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#275 def response; end end -# source://actionpack/lib/action_controller/metal/mime_responds.rb#292 +# source://actionpack//lib/action_controller/metal/mime_responds.rb#292 class ActionController::MimeResponds::Collector::VariantCollector # @return [VariantCollector] a new instance of VariantCollector # - # source://actionpack/lib/action_controller/metal/mime_responds.rb#293 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#293 def initialize(variant = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#298 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#307 def all(*args, &block); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#298 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#298 def any(*args, &block); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#309 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#309 def method_missing(name, *args, &block); end - # source://actionpack/lib/action_controller/metal/mime_responds.rb#313 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#313 def variant; end private - # source://actionpack/lib/action_controller/metal/mime_responds.rb#322 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#322 def variant_key; end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#94 +# source://actionpack//lib/action_controller/metal/exceptions.rb#94 class ActionController::MissingExactTemplate < ::ActionController::UnknownFormat # @return [MissingExactTemplate] a new instance of MissingExactTemplate # - # source://actionpack/lib/action_controller/metal/exceptions.rb#97 + # source://actionpack//lib/action_controller/metal/exceptions.rb#97 def initialize(message, controller, action_name); end # Returns the value of attribute action_name. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#95 + # source://actionpack//lib/action_controller/metal/exceptions.rb#95 def action_name; end # Returns the value of attribute controller. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#95 + # source://actionpack//lib/action_controller/metal/exceptions.rb#95 def controller; end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#59 +# source://actionpack//lib/action_controller/metal/exceptions.rb#59 class ActionController::MissingFile < ::ActionController::ActionControllerError; end # See Responder#api_behavior # -# source://actionpack/lib/action_controller/metal/renderers.rb#17 +# source://actionpack//lib/action_controller/metal/renderers.rb#17 class ActionController::MissingRenderer < ::LoadError # @return [MissingRenderer] a new instance of MissingRenderer # - # source://actionpack/lib/action_controller/metal/renderers.rb#18 + # source://actionpack//lib/action_controller/metal/renderers.rb#18 def initialize(format); end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#56 +# source://actionpack//lib/action_controller/metal/exceptions.rb#56 class ActionController::NotImplemented < ::ActionController::MethodNotAllowed; end # Specify binary encoding for parameters for a given action. # -# source://actionpack/lib/action_controller/metal/parameter_encoding.rb#5 +# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#5 module ActionController::ParameterEncoding extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::ParameterEncoding::ClassMethods end -# source://actionpack/lib/action_controller/metal/parameter_encoding.rb#8 +# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#8 module ActionController::ParameterEncoding::ClassMethods - # source://actionpack/lib/action_controller/metal/parameter_encoding.rb#18 + # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#18 def action_encoding_template(action); end - # source://actionpack/lib/action_controller/metal/parameter_encoding.rb#9 + # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#9 def inherited(klass); end # Specify the encoding for a parameter on an action. @@ -4936,10 +4942,10 @@ module ActionController::ParameterEncoding::ClassMethods # This is useful in the case where an application must handle data # but encoding of the data is unknown, like file system data. # - # source://actionpack/lib/action_controller/metal/parameter_encoding.rb#77 + # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#77 def param_encoding(action, param, encoding); end - # source://actionpack/lib/action_controller/metal/parameter_encoding.rb#14 + # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#14 def setup_param_encode; end # Specify that a given action's parameters should all be encoded as @@ -4967,7 +4973,7 @@ module ActionController::ParameterEncoding::ClassMethods # encoded as ASCII-8BIT. This is useful in the case where an application # must handle data but encoding of the data is unknown, like file system data. # - # source://actionpack/lib/action_controller/metal/parameter_encoding.rb#48 + # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#48 def skip_parameter_encoding(action); end end @@ -4979,20 +4985,20 @@ end # params.require(:a) # # => ActionController::ParameterMissing: param is missing or the value is empty: a # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#22 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#22 class ActionController::ParameterMissing < ::KeyError # @return [ParameterMissing] a new instance of ParameterMissing # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#25 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#25 def initialize(param, keys = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#34 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#34 def corrections; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#23 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#23 def keys; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#23 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#23 def param; end end @@ -5062,7 +5068,7 @@ end # params[:key] # => "value" # params["key"] # => "value" # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#140 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#140 class ActionController::Parameters include ::ActiveSupport::DeepMergeable @@ -5085,13 +5091,13 @@ class ActionController::Parameters # # @return [Parameters] a new instance of Parameters # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#269 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#269 def initialize(parameters = T.unsafe(nil), logging_context = T.unsafe(nil)); end # Returns true if another +Parameters+ object contains the same content and # permitted flag. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#283 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#283 def ==(other); end # Returns a parameter for the given +key+. If not found, @@ -5101,44 +5107,44 @@ class ActionController::Parameters # params[:person] # => #"Francesco"} permitted: false> # params[:none] # => nil # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#665 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#665 def [](key); end # Assigns a value to a given +key+. The given key may still get filtered out # when #permit is called. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#671 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#671 def []=(key, value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#243 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#243 def always_permitted_parameters; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#243 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#243 def always_permitted_parameters=(val); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def as_json(*_arg0, **_arg1, &_arg2); end # Returns a new +ActionController::Parameters+ instance with +nil+ values removed. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#842 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#842 def compact; end # Removes all +nil+ values in place and returns +self+, or +nil+ if no changes were made. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#847 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#847 def compact!; end # Returns a new +ActionController::Parameters+ instance without the blank values. # Uses Object#blank? for determining if a value is blank. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#853 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#853 def compact_blank; end # Removes all blank values in place and returns self. # Uses Object#blank? for determining if a value is blank. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#859 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#859 def compact_blank!; end # Attribute that keeps track of converted arrays, if any, to avoid double @@ -5149,31 +5155,31 @@ class ActionController::Parameters # loop that converts values. Also, we are not going to build a new array # object per fetch. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#430 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#430 def converted_arrays; end # Returns a duplicate +ActionController::Parameters+ instance with the same permitted parameters. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#958 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#958 def deep_dup; end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#894 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#894 def deep_merge?(other_hash); end # Returns a new +ActionController::Parameters+ instance with the # results of running +block+ once for every key. This includes the keys # from the root hash and from all nested hashes and arrays. The values are unchanged. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#793 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#793 def deep_transform_keys(&block); end # Returns the same +ActionController::Parameters+ instance with # changed keys. This includes the keys from the root hash and from all # nested hashes and arrays. The values are unchanged. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#802 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#802 def deep_transform_keys!(&block); end # Deletes a key-value pair from +Parameters+ and returns the value. If @@ -5181,12 +5187,12 @@ class ActionController::Parameters # +key+ and returns the result). This method is similar to #extract!, which # returns the corresponding +ActionController::Parameters+ object. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#811 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#811 def delete(key, &block); end # Removes items that the block evaluates to true and returns self. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#835 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#839 def delete_if(&block); end # Extracts the nested parameter from the given +keys+ by calling +dig+ @@ -5199,39 +5205,39 @@ class ActionController::Parameters # params2 = ActionController::Parameters.new(foo: [10, 11, 12]) # params2.dig(:foo, 1) # => 11 # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#709 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#709 def dig(*keys); end # Convert all hashes in values into parameters, then yield each pair in # the same way as Hash#each_pair. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#397 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#405 def each(&block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def each_key(*_arg0, **_arg1, &_arg2); end # Convert all hashes in values into parameters, then yield each pair in # the same way as Hash#each_pair. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#397 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#397 def each_pair(&block); end # Convert all hashes in values into parameters, then yield each value in # the same way as Hash#each_value. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#409 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#409 def each_value(&block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def empty?(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#953 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#953 def encode_with(coder); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#304 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#304 def eql?(other); end # Returns a new +ActionController::Parameters+ instance that @@ -5241,10 +5247,10 @@ class ActionController::Parameters # params.except(:a, :b) # => #3} permitted: false> # params.except(:d) # => #1, "b"=>2, "c"=>3} permitted: false> # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#738 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#738 def except(*keys); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def exclude?(*_arg0, **_arg1, &_arg2); end # Removes and returns the key/value pairs matching the given keys. @@ -5253,7 +5259,7 @@ class ActionController::Parameters # params.extract!(:a, :b) # => #1, "b"=>2} permitted: false> # params # => #3} permitted: false> # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#748 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#748 def extract!(*keys); end # Returns parameter value for the given +key+ separated by +delimiter+. @@ -5269,7 +5275,7 @@ class ActionController::Parameters # params = ActionController::Parameters.new(tags: "ruby,rails,,web") # params.extract_value(:tags, delimiter: ",") # => ["ruby", "rails", "", "web"] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#976 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#976 def extract_value(key, delimiter: T.unsafe(nil)); end # Returns a parameter for the given +key+. If the +key+ @@ -5286,37 +5292,37 @@ class ActionController::Parameters # params.fetch(:none, "Francesco") # => "Francesco" # params.fetch(:none) { "Francesco" } # => "Francesco" # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#688 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#688 def fetch(key, *args); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#232 def has_key?(*_arg0, **_arg1, &_arg2); end # Returns true if the given value is present for some key in the parameters. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#864 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#864 def has_value?(value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#310 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#310 def hash; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def include?(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#935 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#935 def init_with(coder); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#922 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#922 def inspect; end # Equivalent to Hash#keep_if, but returns +nil+ if no changes were made. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#822 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#826 def keep_if(&block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#233 def key?(*_arg0, **_arg1, &_arg2); end # :method: to_s @@ -5326,16 +5332,16 @@ class ActionController::Parameters # # Returns the content of the parameters as a string. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def keys(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#234 def member?(*_arg0, **_arg1, &_arg2); end # Returns a new +ActionController::Parameters+ instance with all keys from # +other_hash+ merged into current hash. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#878 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#878 def merge(other_hash); end # :call-seq: merge!(other_hash) @@ -5343,7 +5349,7 @@ class ActionController::Parameters # Returns the current +ActionController::Parameters+ instance with # +other_hash+ merged into current hash. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#889 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#889 def merge!(other_hash, &block); end # Returns a new +ActionController::Parameters+ instance that @@ -5460,7 +5466,7 @@ class ActionController::Parameters # params.permit(person: { '0': [:email], '1': [:phone]}).to_h # # => {"person"=>{"0"=>{"email"=>"none@test.com"}, "1"=>{"phone"=>"555-6789"}}} # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#642 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#642 def permit(*filters); end # Sets the +permitted+ attribute to +true+. This can be used to pass @@ -5476,7 +5482,7 @@ class ActionController::Parameters # params.permitted? # => true # Person.new(params) # => # # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#456 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#456 def permit!; end # Returns +true+ if the parameter is permitted, +false+ otherwise. @@ -5488,18 +5494,18 @@ class ActionController::Parameters # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#440 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#440 def permitted?; end # Returns a new +ActionController::Parameters+ instance with items # that the block evaluates to true removed. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#830 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#830 def reject(&block); end # Removes items that the block evaluates to true and returns self. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#835 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#835 def reject!(&block); end # This method accepts both a single key and an array of keys. @@ -5553,7 +5559,7 @@ class ActionController::Parameters # # for example. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#517 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#517 def require(key); end # This method accepts both a single key and an array of keys. @@ -5607,30 +5613,30 @@ class ActionController::Parameters # # for example. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#517 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#527 def required(key); end # Returns a new +ActionController::Parameters+ instance with all keys # from current hash merged into +other_hash+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#900 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#900 def reverse_merge(other_hash); end # Returns the current +ActionController::Parameters+ instance with # current hash merged into +other_hash+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#909 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#909 def reverse_merge!(other_hash); end # Returns a new +ActionController::Parameters+ instance with only # items that the block evaluates to true. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#817 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#817 def select(&block); end # Equivalent to Hash#keep_if, but returns +nil+ if no changes were made. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#822 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#822 def select!(&block); end # Returns a new +ActionController::Parameters+ instance that @@ -5641,20 +5647,20 @@ class ActionController::Parameters # params.slice(:a, :b) # => #1, "b"=>2} permitted: false> # params.slice(:d) # => # # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#721 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#721 def slice(*keys); end # Returns the current +ActionController::Parameters+ instance which # contains only the given +keys+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#727 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#727 def slice!(*keys); end # This is required by ActiveModel attribute assignment, so that user can # pass +Parameters+ to a mass assignment methods in a model. It should not # matter as we are using +HashWithIndifferentAccess+ internally. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#918 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#918 def stringify_keys; end # Returns a safe ActiveSupport::HashWithIndifferentAccess @@ -5670,7 +5676,7 @@ class ActionController::Parameters # safe_params = params.permit(:name) # safe_params.to_h # => {"name"=>"Senjougahara Hitagi"} # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#326 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#326 def to_h(&block); end # Returns a safe Hash representation of the parameters @@ -5686,7 +5692,7 @@ class ActionController::Parameters # safe_params = params.permit(:name) # safe_params.to_hash # => {"name"=>"Senjougahara Hitagi"} # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#346 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#346 def to_hash; end # Returns a string representation of the receiver suitable for use as a URL @@ -5716,7 +5722,7 @@ class ActionController::Parameters # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#376 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#379 def to_param(*args); end # Returns a string representation of the receiver suitable for use as a URL @@ -5746,10 +5752,10 @@ class ActionController::Parameters # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#376 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#376 def to_query(*args); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def to_s(*_arg0, **_arg1, &_arg2); end # Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess @@ -5762,7 +5768,7 @@ class ActionController::Parameters # params.to_unsafe_h # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#390 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#390 def to_unsafe_h; end # Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess @@ -5775,19 +5781,19 @@ class ActionController::Parameters # params.to_unsafe_h # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#390 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#393 def to_unsafe_hash; end # Returns a new +ActionController::Parameters+ instance with the # results of running +block+ once for every key. The values are unchanged. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#775 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#775 def transform_keys(&block); end # Performs keys transformation and returns the altered # +ActionController::Parameters+ instance. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#784 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#784 def transform_keys!(&block); end # Returns a new +ActionController::Parameters+ instance with the results of @@ -5797,43 +5803,43 @@ class ActionController::Parameters # params.transform_values { |x| x * 2 } # # => #2, "b"=>4, "c"=>6} permitted: false> # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#758 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#758 def transform_values; end # Performs values transformation and returns the altered # +ActionController::Parameters+ instance. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#767 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#767 def transform_values!; end # Returns true if the given value is present for some key in the parameters. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#864 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#868 def value?(value); end # Returns a new array of the values of the parameters. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#419 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#419 def values; end # Returns values that were assigned to the given +keys+. Note that all the # +Hash+ objects will be converted to +ActionController::Parameters+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#872 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#872 def values_at(*keys); end # Returns a new +ActionController::Parameters+ instance with all keys # from current hash merged into +other_hash+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#900 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#905 def with_defaults(other_hash); end # Returns the current +ActionController::Parameters+ instance with # current hash merged into +other_hash+. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#909 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#913 def with_defaults!(other_hash); end # Returns a new +ActionController::Parameters+ instance that @@ -5843,79 +5849,79 @@ class ActionController::Parameters # params.except(:a, :b) # => #3} permitted: false> # params.except(:d) # => #1, "b"=>2, "c"=>3} permitted: false> # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#738 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#741 def without(*keys); end protected - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#989 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#989 def each_nested_attribute; end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#985 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#985 def nested_attributes?; end # Returns the value of attribute parameters. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#981 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#981 def parameters; end # Sets the attribute permitted # # @param value the value to set the attribute permitted to. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#983 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#983 def permitted=(_arg0); end private - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1038 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1038 def _deep_transform_keys_in_object(object, &block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1057 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1057 def _deep_transform_keys_in_object!(object, &block); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1171 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1171 def array_of_permitted_scalars?(value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1018 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1018 def convert_hashes_to_parameters(key, value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1002 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1002 def convert_parameters_to_hashes(value, using, &block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1024 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1024 def convert_value_to_parameters(value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1084 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1084 def each_element(object, filter, &block); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1183 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1183 def hash_filter(params, filter); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1244 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1244 def initialize_copy(source); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#996 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#996 def new_instance_with_inherited_permitted_status(hash); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1177 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1177 def non_scalar?(value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1227 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1227 def permit_any_in_array(array); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1210 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1210 def permit_any_in_parameters(params); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1142 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1142 def permitted_scalar?(value); end # Adds existing keys to the params if their values are scalar. @@ -5929,59 +5935,59 @@ class ActionController::Parameters # # puts params.keys # => ["zipcode"] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1156 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1156 def permitted_scalar_filter(params, permitted_key); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1078 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1078 def specify_numeric_keys?(filter); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1110 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1110 def unpermitted_keys(params); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1097 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1097 def unpermitted_parameters!(params); end class << self - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#145 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#145 def action_on_unpermitted_parameters; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#145 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#145 def action_on_unpermitted_parameters=(val); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#245 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#245 def allow_deprecated_parameters_hash_equality; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#245 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#245 def allow_deprecated_parameters_hash_equality=(val); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#243 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#243 def always_permitted_parameters; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#243 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#243 def always_permitted_parameters=(val); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#926 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#926 def hook_into_yaml_loading; end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#248 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#248 def nested_attribute?(key, value); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#143 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#143 def permit_all_parameters; end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#143 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#143 def permit_all_parameters=(val); end end end -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#1181 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1181 ActionController::Parameters::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#1182 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1182 ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash) # This is a list of permitted scalar types that includes the ones @@ -5993,7 +5999,7 @@ ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash) # If you modify this collection please update the one in the #permit doc # as well. # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#1126 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1126 ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Array) # = Action Controller Params Wrapper @@ -6070,7 +6076,7 @@ ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Arra # wrap_parameters false # end # -# source://actionpack/lib/action_controller/metal/params_wrapper.rb#82 +# source://actionpack//lib/action_controller/metal/params_wrapper.rb#82 module ActionController::ParamsWrapper extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6080,38 +6086,38 @@ module ActionController::ParamsWrapper private - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#279 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#279 def _extract_parameters(parameters); end - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#301 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#301 def _perform_parameter_wrapping; end # Returns the list of parameters which will be selected for wrapped. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#275 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#275 def _wrap_parameters(parameters); end # Checks if we should perform parameters wrapping. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#291 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#291 def _wrapper_enabled?; end # Returns the list of enabled formats. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#270 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#270 def _wrapper_formats; end # Returns the wrapper key which will be used to store wrapped parameters. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#265 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#265 def _wrapper_key; end # Performs parameters wrapping upon the request. Called automatically # by the metal call stack. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#259 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#259 def process_action(*_arg0); end module GeneratedClassMethods @@ -6127,16 +6133,16 @@ module ActionController::ParamsWrapper end end -# source://actionpack/lib/action_controller/metal/params_wrapper.rb#190 +# source://actionpack//lib/action_controller/metal/params_wrapper.rb#190 module ActionController::ParamsWrapper::ClassMethods - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#191 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#191 def _set_wrapper_options(options); end # Sets the default wrapper key or model which will be used to determine # wrapper key and attribute names. Called automatically when the # module is inherited. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#246 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#246 def inherited(klass); end # Sets the name of the wrapper key, or the model which +ParamsWrapper+ @@ -6167,56 +6173,56 @@ module ActionController::ParamsWrapper::ClassMethods # * :exclude - The list of attribute names which parameters wrapper # will exclude from a nested hash. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#222 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#222 def wrap_parameters(name_or_model_or_options, options = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/params_wrapper.rb#85 +# source://actionpack//lib/action_controller/metal/params_wrapper.rb#85 ActionController::ParamsWrapper::EXCLUDE_PARAMETERS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_controller/metal/params_wrapper.rb#89 +# source://actionpack//lib/action_controller/metal/params_wrapper.rb#89 class ActionController::ParamsWrapper::Options < ::Struct include ::Mutex_m # @return [Options] a new instance of Options # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#100 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#100 def initialize(name, format, include, exclude, klass, model); end # Returns the value of attribute include # # @return [Object] the current value of include # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#110 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#110 def include; end - # source://mutex_m/0.3.0lib/mutex_m.rb#96 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#86 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def locked?; end # Returns the value of attribute model # # @return [Object] the current value of model # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#106 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#106 def model; end # Returns the value of attribute name # # @return [Object] the current value of name # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#143 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#143 def name; end - # source://mutex_m/0.3.0lib/mutex_m.rb#81 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def synchronize(&block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#91 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def try_lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#101 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def unlock; end private @@ -6229,23 +6235,23 @@ class ActionController::ParamsWrapper::Options < ::Struct # This method also does namespace lookup. Foo::Bar::UsersController will # try to find Foo::Bar::User, Foo::User and finally User. # - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#167 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#167 def _default_wrap_model; end class << self - # source://actionpack/lib/action_controller/metal/params_wrapper.rb#92 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#92 def from_hash(hash); end end end -# source://actionpack/lib/action_controller/metal/permissions_policy.rb#4 +# source://actionpack//lib/action_controller/metal/permissions_policy.rb#4 module ActionController::PermissionsPolicy extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::PermissionsPolicy::ClassMethods end -# source://actionpack/lib/action_controller/metal/permissions_policy.rb#7 +# source://actionpack//lib/action_controller/metal/permissions_policy.rb#7 module ActionController::PermissionsPolicy::ClassMethods # Overrides parts of the globally configured +Feature-Policy+ # header: @@ -6265,23 +6271,23 @@ module ActionController::PermissionsPolicy::ClassMethods # end # end # - # source://actionpack/lib/action_controller/metal/permissions_policy.rb#26 + # source://actionpack//lib/action_controller/metal/permissions_policy.rb#26 def permissions_policy(**options, &block); end end -# source://actionpack/lib/action_controller/railtie.rb#11 +# source://actionpack//lib/action_controller/railtie.rb#11 class ActionController::Railtie < ::Rails::Railtie; end -# source://actionpack/lib/action_controller/railties/helpers.rb#4 +# source://actionpack//lib/action_controller/railties/helpers.rb#4 module ActionController::Railties; end -# source://actionpack/lib/action_controller/railties/helpers.rb#5 +# source://actionpack//lib/action_controller/railties/helpers.rb#5 module ActionController::Railties::Helpers - # source://actionpack/lib/action_controller/railties/helpers.rb#6 + # source://actionpack//lib/action_controller/railties/helpers.rb#6 def inherited(klass); end end -# source://actionpack/lib/action_controller/metal/redirecting.rb#4 +# source://actionpack//lib/action_controller/metal/redirecting.rb#4 module ActionController::Redirecting extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6294,13 +6300,13 @@ module ActionController::Redirecting mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - # source://actionpack/lib/action_controller/metal/redirecting.rb#136 + # source://actionpack//lib/action_controller/metal/redirecting.rb#136 def _compute_redirect_to_location(request, options); end # Soft deprecated alias for #redirect_back_or_to where the +fallback_location+ location is supplied as a keyword argument instead # of the first positional argument. # - # source://actionpack/lib/action_controller/metal/redirecting.rb#101 + # source://actionpack//lib/action_controller/metal/redirecting.rb#101 def redirect_back(fallback_location:, allow_other_host: T.unsafe(nil), **args); end # Redirects the browser to the page that issued the request (the referrer) @@ -6326,7 +6332,7 @@ module ActionController::Redirecting # All other options that can be passed to #redirect_to are accepted as # options, and the behavior is identical. # - # source://actionpack/lib/action_controller/metal/redirecting.rb#127 + # source://actionpack//lib/action_controller/metal/redirecting.rb#127 def redirect_back_or_to(fallback_location, allow_other_host: T.unsafe(nil), **options); end # Redirects the browser to the target specified in +options+. This parameter can be any one of: @@ -6398,7 +6404,7 @@ module ActionController::Redirecting # # @raise [ActionControllerError] # - # source://actionpack/lib/action_controller/metal/redirecting.rb#84 + # source://actionpack//lib/action_controller/metal/redirecting.rb#84 def redirect_to(options = T.unsafe(nil), response_options = T.unsafe(nil)); end # Verifies the passed +location+ is an internal URL that's safe to redirect to and returns it, or nil if not. @@ -6421,30 +6427,30 @@ module ActionController::Redirecting # NOTE: there's a similarity with {url_for}[rdoc-ref:ActionDispatch::Routing::UrlFor#url_for], which generates an internal URL from various options from within the app, e.g. url_for(@post). # However, #url_from is meant to take an external parameter to verify as in url_from(params[:redirect_url]). # - # source://actionpack/lib/action_controller/metal/redirecting.rb#175 + # source://actionpack//lib/action_controller/metal/redirecting.rb#175 def url_from(location); end private - # source://actionpack/lib/action_controller/metal/redirecting.rb#181 + # source://actionpack//lib/action_controller/metal/redirecting.rb#181 def _allow_other_host; end - # source://actionpack/lib/action_controller/metal/redirecting.rb#195 + # source://actionpack//lib/action_controller/metal/redirecting.rb#195 def _enforce_open_redirect_protection(location, allow_other_host:); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#214 + # source://actionpack//lib/action_controller/metal/redirecting.rb#214 def _ensure_url_is_http_header_safe(url); end - # source://actionpack/lib/action_controller/metal/redirecting.rb#185 + # source://actionpack//lib/action_controller/metal/redirecting.rb#185 def _extract_redirect_to_status(options, response_options); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/redirecting.rb#203 + # source://actionpack//lib/action_controller/metal/redirecting.rb#203 def _url_host_allowed?(url); end class << self - # source://actionpack/lib/action_controller/metal/redirecting.rb#136 + # source://actionpack//lib/action_controller/metal/redirecting.rb#153 def _compute_redirect_to_location(request, options); end end @@ -6461,13 +6467,13 @@ module ActionController::Redirecting end end -# source://actionpack/lib/action_controller/metal/redirecting.rb#12 +# source://actionpack//lib/action_controller/metal/redirecting.rb#12 ActionController::Redirecting::ILLEGAL_HEADER_VALUE_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_controller/metal/redirecting.rb#10 +# source://actionpack//lib/action_controller/metal/redirecting.rb#10 class ActionController::Redirecting::UnsafeRedirectError < ::StandardError; end -# source://actionpack/lib/action_controller/metal/exceptions.rb#14 +# source://actionpack//lib/action_controller/metal/exceptions.rb#14 class ActionController::RenderError < ::ActionController::ActionControllerError; end # = Action Controller \Renderer @@ -6490,7 +6496,7 @@ class ActionController::RenderError < ::ActionController::ActionControllerError; # ApplicationController.render template: "posts/show", assigns: { post: Post.first } # PostsController.render :show, assigns: { post: Post.first } # -# source://actionpack/lib/action_controller/renderer.rb#24 +# source://actionpack//lib/action_controller/renderer.rb#24 class ActionController::Renderer # Initializes a new Renderer. # @@ -6522,69 +6528,69 @@ class ActionController::Renderer # # @return [Renderer] a new instance of Renderer # - # source://actionpack/lib/action_controller/renderer.rb#106 + # source://actionpack//lib/action_controller/renderer.rb#106 def initialize(controller, env, defaults); end # Returns the value of attribute controller. # - # source://actionpack/lib/action_controller/renderer.rb#25 + # source://actionpack//lib/action_controller/renderer.rb#25 def controller; end - # source://actionpack/lib/action_controller/renderer.rb#117 + # source://actionpack//lib/action_controller/renderer.rb#117 def defaults; end # Creates a new renderer using the same controller, but with a new Rack env. # # ApplicationController.renderer.new(method: "post") # - # source://actionpack/lib/action_controller/renderer.rb#69 + # source://actionpack//lib/action_controller/renderer.rb#69 def new(env = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/renderer.rb#145 + # source://actionpack//lib/action_controller/renderer.rb#145 def normalize_env(env, &block); end # Renders a template to a string, just like ActionController::Rendering#render_to_string. # - # source://actionpack/lib/action_controller/renderer.rb#123 + # source://actionpack//lib/action_controller/renderer.rb#123 def render(*args); end # Renders a template to a string, just like ActionController::Rendering#render_to_string. # - # source://actionpack/lib/action_controller/renderer.rb#123 + # source://actionpack//lib/action_controller/renderer.rb#132 def render_to_string(*args); end # Creates a new renderer using the same controller, but with the given # defaults merged on top of the previous defaults. # - # source://actionpack/lib/action_controller/renderer.rb#75 + # source://actionpack//lib/action_controller/renderer.rb#75 def with_defaults(defaults); end private - # source://actionpack/lib/action_controller/renderer.rb#147 + # source://actionpack//lib/action_controller/renderer.rb#147 def env_for_request; end class << self # Creates a new renderer using the given controller class. See ::new. # - # source://actionpack/lib/action_controller/renderer.rb#61 + # source://actionpack//lib/action_controller/renderer.rb#61 def for(controller, env = T.unsafe(nil), defaults = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/renderer.rb#32 + # source://actionpack//lib/action_controller/renderer.rb#32 def normalize_env(env); end end end -# source://actionpack/lib/action_controller/renderer.rb#27 +# source://actionpack//lib/action_controller/renderer.rb#27 ActionController::Renderer::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_controller/renderer.rb#143 +# source://actionpack//lib/action_controller/renderer.rb#143 ActionController::Renderer::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_controller/renderer.rb#135 +# source://actionpack//lib/action_controller/renderer.rb#135 ActionController::Renderer::RACK_KEY_TRANSLATION = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_controller/metal/renderers.rb#23 +# source://actionpack//lib/action_controller/metal/renderers.rb#23 module ActionController::Renderers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6592,16 +6598,16 @@ module ActionController::Renderers mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActionController::Renderers::ClassMethods - # source://actionpack/lib/action_controller/metal/renderers.rb#144 + # source://actionpack//lib/action_controller/metal/renderers.rb#144 def _render_to_body_with_renderer(options); end - # source://actionpack/lib/action_controller/metal/renderers.rb#170 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_js(js, options); end - # source://actionpack/lib/action_controller/metal/renderers.rb#155 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_json(json, options); end - # source://actionpack/lib/action_controller/metal/renderers.rb#175 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_xml(xml, options); end # Called by +render+ in AbstractController::Rendering @@ -6610,11 +6616,11 @@ module ActionController::Renderers # If no renderer is found, +super+ returns control to # ActionView::Rendering.render_to_body, if present. # - # source://actionpack/lib/action_controller/metal/renderers.rb#140 + # source://actionpack//lib/action_controller/metal/renderers.rb#140 def render_to_body(options); end class << self - # source://actionpack/lib/action_controller/metal/renderers.rb#90 + # source://actionpack//lib/action_controller/metal/renderers.rb#90 def _render_with_renderer_method_name(key); end # Adds a new renderer to call within controller actions. @@ -6647,7 +6653,7 @@ module ActionController::Renderers # end # end # - # source://actionpack/lib/action_controller/metal/renderers.rb#74 + # source://actionpack//lib/action_controller/metal/renderers.rb#74 def add(key, &block); end # This method is the opposite of add method. @@ -6656,7 +6662,7 @@ module ActionController::Renderers # # ActionController::Renderers.remove(:csv) # - # source://actionpack/lib/action_controller/metal/renderers.rb#84 + # source://actionpack//lib/action_controller/metal/renderers.rb#84 def remove(key); end end @@ -6676,7 +6682,7 @@ end # Used in ActionController::Base and ActionController::API to include all # renderers by default. # -# source://actionpack/lib/action_controller/metal/renderers.rb#36 +# source://actionpack//lib/action_controller/metal/renderers.rb#36 module ActionController::Renderers::All extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6698,7 +6704,7 @@ module ActionController::Renderers::All end end -# source://actionpack/lib/action_controller/metal/renderers.rb#94 +# source://actionpack//lib/action_controller/metal/renderers.rb#94 module ActionController::Renderers::ClassMethods # Adds, by name, a renderer or renderers to the +_renderers+ available # to call within controller actions. @@ -6734,7 +6740,7 @@ module ActionController::Renderers::ClassMethods # You must specify a +use_renderer+, else the +controller.renderer+ and # +controller._renderers+ will be nil, and the action will fail. # - # source://actionpack/lib/action_controller/metal/renderers.rb#128 + # source://actionpack//lib/action_controller/metal/renderers.rb#132 def use_renderer(*args); end # Adds, by name, a renderer or renderers to the +_renderers+ available @@ -6771,17 +6777,17 @@ module ActionController::Renderers::ClassMethods # You must specify a +use_renderer+, else the +controller.renderer+ and # +controller._renderers+ will be nil, and the action will fail. # - # source://actionpack/lib/action_controller/metal/renderers.rb#128 + # source://actionpack//lib/action_controller/metal/renderers.rb#128 def use_renderers(*args); end end # A Set containing renderer names that correspond to available renderer procs. # Default values are :json, :js, :xml. # -# source://actionpack/lib/action_controller/metal/renderers.rb#28 +# source://actionpack//lib/action_controller/metal/renderers.rb#28 ActionController::Renderers::RENDERERS = T.let(T.unsafe(nil), Set) -# source://actionpack/lib/action_controller/metal/rendering.rb#4 +# source://actionpack//lib/action_controller/metal/rendering.rb#4 module ActionController::Rendering extend ::ActiveSupport::Concern @@ -6900,10 +6906,10 @@ module ActionController::Rendering # # @raise [::AbstractController::DoubleRenderError] # - # source://actionpack/lib/action_controller/metal/rendering.rb#137 + # source://actionpack//lib/action_controller/metal/rendering.rb#137 def render(*args); end - # source://actionpack/lib/action_controller/metal/rendering.rb#157 + # source://actionpack//lib/action_controller/metal/rendering.rb#157 def render_to_body(options = T.unsafe(nil)); end # Similar to #render, but only returns the rendered template as a string, @@ -6911,64 +6917,64 @@ module ActionController::Rendering # -- # Override render_to_string because body can now be set to a Rack body. # - # source://actionpack/lib/action_controller/metal/rendering.rb#146 + # source://actionpack//lib/action_controller/metal/rendering.rb#146 def render_to_string(*_arg0); end private # Normalize both text and status options. # - # source://actionpack/lib/action_controller/metal/rendering.rb#199 + # source://actionpack//lib/action_controller/metal/rendering.rb#199 def _normalize_options(options); end - # source://actionpack/lib/action_controller/metal/rendering.rb#213 + # source://actionpack//lib/action_controller/metal/rendering.rb#213 def _normalize_text(options); end # Process controller specific options, as status, content-type and location. # - # source://actionpack/lib/action_controller/metal/rendering.rb#222 + # source://actionpack//lib/action_controller/metal/rendering.rb#222 def _process_options(options); end - # source://actionpack/lib/action_controller/metal/rendering.rb#168 + # source://actionpack//lib/action_controller/metal/rendering.rb#168 def _process_variant(options); end - # source://actionpack/lib/action_controller/metal/rendering.rb#174 + # source://actionpack//lib/action_controller/metal/rendering.rb#174 def _render_in_priorities(options); end - # source://actionpack/lib/action_controller/metal/rendering.rb#182 + # source://actionpack//lib/action_controller/metal/rendering.rb#182 def _set_html_content_type; end - # source://actionpack/lib/action_controller/metal/rendering.rb#186 + # source://actionpack//lib/action_controller/metal/rendering.rb#186 def _set_rendered_content_type(format); end - # source://actionpack/lib/action_controller/metal/rendering.rb#192 + # source://actionpack//lib/action_controller/metal/rendering.rb#192 def _set_vary_header; end # Before processing, set the request formats in current controller formats. # - # source://actionpack/lib/action_controller/metal/rendering.rb#163 + # source://actionpack//lib/action_controller/metal/rendering.rb#163 def process_action(*_arg0); end end -# source://actionpack/lib/action_controller/metal/rendering.rb#9 +# source://actionpack//lib/action_controller/metal/rendering.rb#9 module ActionController::Rendering::ClassMethods - # source://actionpack/lib/action_controller/metal/rendering.rb#21 + # source://actionpack//lib/action_controller/metal/rendering.rb#21 def inherited(klass); end - # source://actionpack/lib/action_controller/metal/rendering.rb#11 + # source://actionpack//lib/action_controller/metal/rendering.rb#11 def render(*_arg0, **_arg1, &_arg2); end # Returns a renderer instance (inherited from ActionController::Renderer) # for the controller. # - # source://actionpack/lib/action_controller/metal/rendering.rb#15 + # source://actionpack//lib/action_controller/metal/rendering.rb#15 def renderer; end - # source://actionpack/lib/action_controller/metal/rendering.rb#17 + # source://actionpack//lib/action_controller/metal/rendering.rb#17 def setup_renderer!; end end -# source://actionpack/lib/action_controller/metal/rendering.rb#7 +# source://actionpack//lib/action_controller/metal/rendering.rb#7 ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), Array) # = Action Controller Request Forgery Protection @@ -7017,7 +7023,7 @@ ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), A # Learn more about CSRF attacks and securing your application in the # {Ruby on Rails Security Guide}[https://guides.rubyonrails.org/security.html]. # -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#59 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#59 module ActionController::RequestForgeryProtection extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7032,13 +7038,13 @@ module ActionController::RequestForgeryProtection mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods mixes_in_class_methods ::ActionController::RequestForgeryProtection::ClassMethods - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#345 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#345 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#355 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#355 def commit_csrf_token(request); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#350 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#350 def reset_csrf_token(request); end private @@ -7047,46 +7053,46 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#448 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#448 def any_authenticity_token_valid?; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#534 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#534 def compare_with_global_token(token, session = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#530 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#530 def compare_with_real_token(token, session = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#571 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#571 def csrf_token_hmac(session, identifier); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#634 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#634 def decode_csrf_token(encoded_csrf_token); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#630 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#630 def encode_csrf_token(csrf_token); end # The form's authenticity parameter. Override to provide your own. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#591 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#591 def form_authenticity_param; end # Creates the authenticity token for the current request. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#460 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#460 def form_authenticity_token(form_options: T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#626 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#626 def generate_csrf_token; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#567 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#567 def global_csrf_token(session = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#381 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#381 def handle_unverified_request; end # GET requests are checked for cross-origin JavaScript after rendering. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#420 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#420 def mark_for_same_origin_verification!; end # If the +verify_authenticity_token+ before_action ran, verify that @@ -7094,51 +7100,51 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#426 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#426 def marked_for_same_origin_verification?; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#523 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#523 def mask_token(raw_token); end # Creates a masked version of the authenticity token that varies # on each request. The masking is used to mitigate SSL attacks # like BREACH. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#467 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#467 def masked_authenticity_token(form_options: T.unsafe(nil)); end # Check for cross-origin JavaScript responses. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#431 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#431 def non_xhr_javascript_response?; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#621 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#621 def normalize_action_path(action_path); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#560 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#560 def per_form_csrf_token(session, action_path, method); end # Checks if the controller allows forgery protection. # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#596 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#596 def protect_against_forgery?; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#552 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#552 def real_csrf_token(_session = T.unsafe(nil)); end # Possible authenticity tokens sent in the request. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#455 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#455 def request_authenticity_tokens; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#515 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#515 def unmask_token(masked_token); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#391 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#391 def unverified_request_warning_message; end # Checks the client's masked token to see if it matches the @@ -7147,12 +7153,12 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#483 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#483 def valid_authenticity_token?(session, encoded_masked_token); end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#538 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#538 def valid_per_form_csrf_token?(token, session = T.unsafe(nil)); end # Checks if the request originated from the same origin by looking at the @@ -7160,7 +7166,7 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#611 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#611 def valid_request_origin?; end # Returns true or false if a request is verified. Checks: @@ -7171,7 +7177,7 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#442 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#442 def verified_request?; end # The actual before_action that is used to verify the CSRF token. @@ -7185,17 +7191,17 @@ module ActionController::RequestForgeryProtection # verify that JavaScript responses are for XHR requests, ensuring they # follow the browser's same-origin policy. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#371 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#371 def verify_authenticity_token; end # If +verify_authenticity_token+ was run (indicating that we have # forgery protection enabled for this request) then also verify that # we aren't serving an unauthorized cross-origin response. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#410 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#410 def verify_same_origin_request; end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#579 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#579 def xor_byte_strings(s1, s2); end module GeneratedClassMethods @@ -7216,16 +7222,16 @@ module ActionController::RequestForgeryProtection end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#435 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#435 ActionController::RequestForgeryProtection::AUTHENTICITY_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#400 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#400 ActionController::RequestForgeryProtection::CROSS_ORIGIN_JAVASCRIPT_WARNING = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#60 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#60 ActionController::RequestForgeryProtection::CSRF_TOKEN = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#105 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#105 module ActionController::RequestForgeryProtection::ClassMethods # Turn on request forgery protection. Bear in mind that GET and HEAD requests are not checked. # @@ -7301,7 +7307,7 @@ module ActionController::RequestForgeryProtection::ClassMethods # protect_from_forgery store: CustomStore.new # end # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#179 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#179 def protect_from_forgery(options = T.unsafe(nil)); end # Turn off request forgery protection. This is a wrapper for: @@ -7310,136 +7316,136 @@ module ActionController::RequestForgeryProtection::ClassMethods # # See +skip_before_action+ for allowed options. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#196 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#196 def skip_forgery_protection(options = T.unsafe(nil)); end private # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#228 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#228 def is_storage_strategy?(object); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#201 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#201 def protection_method_class(name); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#216 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#216 def storage_strategy(name); end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#312 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#312 class ActionController::RequestForgeryProtection::CookieStore # @return [CookieStore] a new instance of CookieStore # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#313 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#313 def initialize(cookie = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#317 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#317 def fetch(request); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#340 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#340 def reset(request); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#329 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#329 def store(request, csrf_token); end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#564 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#564 ActionController::RequestForgeryProtection::GLOBAL_CSRF_TOKEN_IDENTIFIER = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#600 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#600 ActionController::RequestForgeryProtection::NULL_ORIGIN_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#233 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#233 module ActionController::RequestForgeryProtection::ProtectionMethods; end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#285 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#285 class ActionController::RequestForgeryProtection::ProtectionMethods::Exception # @return [Exception] a new instance of Exception # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#288 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#288 def initialize(controller); end # @raise [ActionController::InvalidAuthenticityToken] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#292 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#292 def handle_unverified_request; end # Returns the value of attribute warning_message. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#286 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#286 def warning_message; end # Sets the attribute warning_message # # @param value the value to set the attribute warning_message to. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#286 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#286 def warning_message=(_arg0); end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#234 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#234 class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession # @return [NullSession] a new instance of NullSession # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#235 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#235 def initialize(controller); end # This is the method that defines the application behavior when a request is found to be unverified. # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#240 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#240 def handle_unverified_request; end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#268 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#268 class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullCookieJar < ::ActionDispatch::Cookies::CookieJar - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#269 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#269 def write(*_arg0); end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#249 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#249 class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash < ::Rack::Session::Abstract::SessionHash # @return [NullSessionHash] a new instance of NullSessionHash # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#250 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#250 def initialize(req); end # no-op # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#257 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#257 def destroy; end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#263 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#263 def enabled?; end # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#259 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#259 def exists?; end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#275 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#275 class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession # @return [ResetSession] a new instance of ResetSession # - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#276 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#276 def initialize(controller); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#280 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#280 def handle_unverified_request; end end -# source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#298 +# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#298 class ActionController::RequestForgeryProtection::SessionStore - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#299 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#299 def fetch(request); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#307 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#307 def reset(request); end - # source://actionpack/lib/action_controller/metal/request_forgery_protection.rb#303 + # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#303 def store(request, csrf_token); end end @@ -7450,7 +7456,7 @@ end # to controllers, wrapping actions to handle configured errors, and # configuring when detailed exceptions must be shown. # -# source://actionpack/lib/action_controller/metal/rescue.rb#10 +# source://actionpack//lib/action_controller/metal/rescue.rb#10 module ActionController::Rescue extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7467,12 +7473,12 @@ module ActionController::Rescue # # @return [Boolean] # - # source://actionpack/lib/action_controller/metal/rescue.rb#19 + # source://actionpack//lib/action_controller/metal/rescue.rb#19 def show_detailed_exceptions?; end private - # source://actionpack/lib/action_controller/metal/rescue.rb#24 + # source://actionpack//lib/action_controller/metal/rescue.rb#24 def process_action(*_arg0); end module GeneratedClassMethods @@ -7499,39 +7505,39 @@ end # end # end # -# source://actionpack/lib/action_controller/metal/exceptions.rb#86 +# source://actionpack//lib/action_controller/metal/exceptions.rb#86 class ActionController::RespondToMismatchError < ::ActionController::ActionControllerError # @return [RespondToMismatchError] a new instance of RespondToMismatchError # - # source://actionpack/lib/action_controller/metal/exceptions.rb#89 + # source://actionpack//lib/action_controller/metal/exceptions.rb#89 def initialize(message = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#87 +# source://actionpack//lib/action_controller/metal/exceptions.rb#87 ActionController::RespondToMismatchError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/exceptions.rb#17 +# source://actionpack//lib/action_controller/metal/exceptions.rb#17 class ActionController::RoutingError < ::ActionController::ActionControllerError # @return [RoutingError] a new instance of RoutingError # - # source://actionpack/lib/action_controller/metal/exceptions.rb#19 + # source://actionpack//lib/action_controller/metal/exceptions.rb#19 def initialize(message, failures = T.unsafe(nil)); end # Returns the value of attribute failures. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#18 + # source://actionpack//lib/action_controller/metal/exceptions.rb#18 def failures; end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#62 +# source://actionpack//lib/action_controller/metal/exceptions.rb#62 class ActionController::SessionOverflowError < ::ActionController::ActionControllerError # @return [SessionOverflowError] a new instance of SessionOverflowError # - # source://actionpack/lib/action_controller/metal/exceptions.rb#65 + # source://actionpack//lib/action_controller/metal/exceptions.rb#65 def initialize(message = T.unsafe(nil)); end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#63 +# source://actionpack//lib/action_controller/metal/exceptions.rb#63 ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) # = Action Controller \Streaming @@ -7736,33 +7742,33 @@ ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), S # For more information, please check the # {documentation}[https://www.phusionpassenger.com/docs/references/config_reference/nginx/#passenger_buffer_response]. # -# source://actionpack/lib/action_controller/metal/streaming.rb#206 +# source://actionpack//lib/action_controller/metal/streaming.rb#206 module ActionController::Streaming private # Set proper cache control and transfer encoding when streaming # - # source://actionpack/lib/action_controller/metal/streaming.rb#238 + # source://actionpack//lib/action_controller/metal/streaming.rb#238 def _process_options(options); end # Call render_body if we are streaming instead of usual +render+. # - # source://actionpack/lib/action_controller/metal/streaming.rb#252 + # source://actionpack//lib/action_controller/metal/streaming.rb#252 def _render_template(options); end end -# source://actionpack/lib/action_controller/metal/streaming.rb#207 +# source://actionpack//lib/action_controller/metal/streaming.rb#207 class ActionController::Streaming::Body # Store the response body to be chunked. # # @return [Body] a new instance of Body # - # source://actionpack/lib/action_controller/metal/streaming.rb#212 + # source://actionpack//lib/action_controller/metal/streaming.rb#212 def initialize(body); end # Close the response body if the response body supports it. # - # source://actionpack/lib/action_controller/metal/streaming.rb#231 + # source://actionpack//lib/action_controller/metal/streaming.rb#231 def close; end # For each element yielded by the response body, yield @@ -7770,14 +7776,14 @@ class ActionController::Streaming::Body # # @yield [TAIL] # - # source://actionpack/lib/action_controller/metal/streaming.rb#218 + # source://actionpack//lib/action_controller/metal/streaming.rb#218 def each(&block); end end -# source://actionpack/lib/action_controller/metal/streaming.rb#209 +# source://actionpack//lib/action_controller/metal/streaming.rb#209 ActionController::Streaming::Body::TAIL = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_controller/metal/streaming.rb#208 +# source://actionpack//lib/action_controller/metal/streaming.rb#208 ActionController::Streaming::Body::TERM = T.let(T.unsafe(nil), String) # = Strong \Parameters @@ -7849,27 +7855,27 @@ ActionController::Streaming::Body::TERM = T.let(T.unsafe(nil), String) # See ActionController::Parameters.require and ActionController::Parameters.permit # for more information. # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#1318 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1318 module ActionController::StrongParameters # Returns a new ActionController::Parameters object that # has been instantiated with the request.parameters. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1321 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1321 def params; end # Assigns the given +value+ to the +params+ hash. If +value+ # is a Hash, this will create an ActionController::Parameters # object that has been instantiated with the given +value+ hash. # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#1336 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1336 def params=(value); end end -# source://actionpack/lib/action_controller/template_assertions.rb#4 +# source://actionpack//lib/action_controller/template_assertions.rb#4 module ActionController::TemplateAssertions # @raise [NoMethodError] # - # source://actionpack/lib/action_controller/template_assertions.rb#5 + # source://actionpack//lib/action_controller/template_assertions.rb#5 def assert_template(options = T.unsafe(nil), message = T.unsafe(nil)); end end @@ -7984,7 +7990,7 @@ end # # assert_redirected_to page_url(title: 'foo') # -# source://actionpack/lib/action_controller/test_case.rb#345 +# source://actionpack//lib/action_controller/test_case.rb#345 class ActionController::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionDispatch::TestProcess::FixtureFile @@ -8001,37 +8007,37 @@ class ActionController::TestCase < ::ActiveSupport::TestCase extend ::ActionController::TestCase::Behavior::ClassMethods extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class; end - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class=(_arg0); end - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class?; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/test_case.rb#572 def __callbacks; end - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class; end - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class=(value); end - # source://actionpack/lib/action_controller/test_case.rb#571 + # source://actionpack//lib/action_controller/test_case.rb#571 def _controller_class?; end - # source://actionpack/lib/action_controller/test_case.rb#346 + # source://actionpack//lib/action_controller/test_case.rb#346 def executor_around_each_request; end - # source://actionpack/lib/action_controller/test_case.rb#346 + # source://actionpack//lib/action_controller/test_case.rb#346 def executor_around_each_request=(_arg0); end end end -# source://actionpack/lib/action_controller/test_case.rb#348 +# source://actionpack//lib/action_controller/test_case.rb#348 module ActionController::TestCase::Behavior include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::TestProcess @@ -8050,19 +8056,19 @@ module ActionController::TestCase::Behavior mixes_in_class_methods ::ActionController::TestCase::Behavior::ClassMethods mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack/lib/action_controller/test_case.rb#564 + # source://actionpack//lib/action_controller/test_case.rb#564 def build_response(klass); end - # source://actionpack/lib/action_controller/test_case.rb#524 + # source://actionpack//lib/action_controller/test_case.rb#524 def controller_class_name; end # Simulate a DELETE request with the given parameters and set/volley the response. # See +get+ for more details. # - # source://actionpack/lib/action_controller/test_case.rb#439 + # source://actionpack//lib/action_controller/test_case.rb#439 def delete(action, **args); end - # source://actionpack/lib/action_controller/test_case.rb#528 + # source://actionpack//lib/action_controller/test_case.rb#528 def generated_path(generated_extras); end # Simulate a GET request with the given parameters. @@ -8086,25 +8092,25 @@ module ActionController::TestCase::Behavior # Note that the request method is not verified. The different methods are # available to make the tests more expressive. # - # source://actionpack/lib/action_controller/test_case.rb#413 + # source://actionpack//lib/action_controller/test_case.rb#413 def get(action, **args); end # Simulate a HEAD request with the given parameters and set/volley the response. # See +get+ for more details. # - # source://actionpack/lib/action_controller/test_case.rb#445 + # source://actionpack//lib/action_controller/test_case.rb#445 def head(action, **args); end # Simulate a PATCH request with the given parameters and set/volley the response. # See +get+ for more details. # - # source://actionpack/lib/action_controller/test_case.rb#427 + # source://actionpack//lib/action_controller/test_case.rb#427 def patch(action, **args); end # Simulate a POST request with the given parameters and set/volley the response. # See +get+ for more details. # - # source://actionpack/lib/action_controller/test_case.rb#421 + # source://actionpack//lib/action_controller/test_case.rb#421 def post(action, **args); end # Simulate an HTTP request to +action+ by specifying request method, @@ -8143,49 +8149,49 @@ module ActionController::TestCase::Behavior # # Note that the request method is not verified. # - # source://actionpack/lib/action_controller/test_case.rb#484 + # source://actionpack//lib/action_controller/test_case.rb#484 def process(action, method: T.unsafe(nil), params: T.unsafe(nil), session: T.unsafe(nil), body: T.unsafe(nil), flash: T.unsafe(nil), format: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end # Simulate a PUT request with the given parameters and set/volley the response. # See +get+ for more details. # - # source://actionpack/lib/action_controller/test_case.rb#433 + # source://actionpack//lib/action_controller/test_case.rb#433 def put(action, **args); end - # source://actionpack/lib/action_controller/test_case.rb#532 + # source://actionpack//lib/action_controller/test_case.rb#532 def query_parameter_names(generated_extras); end # Returns the value of attribute request. # - # source://actionpack/lib/action_controller/test_case.rb#354 + # source://actionpack//lib/action_controller/test_case.rb#354 def request; end # Returns the value of attribute response. # - # source://actionpack/lib/action_controller/test_case.rb#354 + # source://actionpack//lib/action_controller/test_case.rb#354 def response; end - # source://actionpack/lib/action_controller/test_case.rb#536 + # source://actionpack//lib/action_controller/test_case.rb#536 def setup_controller_request_and_response; end private - # source://actionpack/lib/action_controller/test_case.rb#656 + # source://actionpack//lib/action_controller/test_case.rb#656 def check_required_ivars; end - # source://actionpack/lib/action_controller/test_case.rb#652 + # source://actionpack//lib/action_controller/test_case.rb#652 def document_root_element; end - # source://actionpack/lib/action_controller/test_case.rb#607 + # source://actionpack//lib/action_controller/test_case.rb#607 def process_controller_response(action, cookies, xhr); end - # source://actionpack/lib/action_controller/test_case.rb#642 + # source://actionpack//lib/action_controller/test_case.rb#642 def scrub_env!(env); end - # source://actionpack/lib/action_controller/test_case.rb#577 + # source://actionpack//lib/action_controller/test_case.rb#577 def setup_request(controller_class_name, action, parameters, session, flash, xhr); end - # source://actionpack/lib/action_controller/test_case.rb#599 + # source://actionpack//lib/action_controller/test_case.rb#599 def wrap_execution(&block); end module GeneratedClassMethods @@ -8201,15 +8207,15 @@ module ActionController::TestCase::Behavior end end -# source://actionpack/lib/action_controller/test_case.rb#356 +# source://actionpack//lib/action_controller/test_case.rb#356 module ActionController::TestCase::Behavior::ClassMethods - # source://actionpack/lib/action_controller/test_case.rb#378 + # source://actionpack//lib/action_controller/test_case.rb#378 def controller_class; end - # source://actionpack/lib/action_controller/test_case.rb#374 + # source://actionpack//lib/action_controller/test_case.rb#374 def controller_class=(new_class); end - # source://actionpack/lib/action_controller/test_case.rb#386 + # source://actionpack//lib/action_controller/test_case.rb#386 def determine_default_controller_class(name); end # Sets the controller class name. Useful if the name can't be inferred from test class. @@ -8219,118 +8225,118 @@ module ActionController::TestCase::Behavior::ClassMethods # tests :widget # tests 'widget' # - # source://actionpack/lib/action_controller/test_case.rb#363 + # source://actionpack//lib/action_controller/test_case.rb#363 def tests(controller_class); end end # ActionController::TestCase will be deprecated and moved to a gem in the future. # Please use ActionDispatch::IntegrationTest going forward. # -# source://actionpack/lib/action_controller/test_case.rb#34 +# source://actionpack//lib/action_controller/test_case.rb#34 class ActionController::TestRequest < ::ActionDispatch::TestRequest # @return [TestRequest] a new instance of TestRequest # - # source://actionpack/lib/action_controller/test_case.rb#57 + # source://actionpack//lib/action_controller/test_case.rb#57 def initialize(env, session, controller_class); end - # source://actionpack/lib/action_controller/test_case.rb#76 + # source://actionpack//lib/action_controller/test_case.rb#76 def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end - # source://actionpack/lib/action_controller/test_case.rb#72 + # source://actionpack//lib/action_controller/test_case.rb#72 def content_type=(type); end # Returns the value of attribute controller_class. # - # source://actionpack/lib/action_controller/test_case.rb#42 + # source://actionpack//lib/action_controller/test_case.rb#42 def controller_class; end - # source://actionpack/lib/action_controller/test_case.rb#68 + # source://actionpack//lib/action_controller/test_case.rb#68 def query_string=(string); end private - # source://actionpack/lib/action_controller/test_case.rb#167 + # source://actionpack//lib/action_controller/test_case.rb#167 def params_parsers; end class << self # Create a new test request with default `env` values. # - # source://actionpack/lib/action_controller/test_case.rb#45 + # source://actionpack//lib/action_controller/test_case.rb#45 def create(controller_class); end - # source://actionpack/lib/action_controller/test_case.rb#38 + # source://actionpack//lib/action_controller/test_case.rb#38 def new_session; end private - # source://actionpack/lib/action_controller/test_case.rb#52 + # source://actionpack//lib/action_controller/test_case.rb#52 def default_env; end end end -# source://actionpack/lib/action_controller/test_case.rb#35 +# source://actionpack//lib/action_controller/test_case.rb#35 ActionController::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_controller/test_case.rb#139 +# source://actionpack//lib/action_controller/test_case.rb#139 ActionController::TestRequest::ENCODER = T.let(T.unsafe(nil), T.untyped) # Methods #destroy and #load! are overridden to avoid calling methods on the # -# source://actionpack/lib/action_controller/test_case.rb#185 +# source://actionpack//lib/action_controller/test_case.rb#185 class ActionController::TestSession < ::Rack::Session::Abstract::PersistedSecure::SecureSessionHash # @return [TestSession] a new instance of TestSession # - # source://actionpack/lib/action_controller/test_case.rb#188 + # source://actionpack//lib/action_controller/test_case.rb#188 def initialize(session = T.unsafe(nil), id = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/test_case.rb#208 + # source://actionpack//lib/action_controller/test_case.rb#208 def destroy; end - # source://actionpack/lib/action_controller/test_case.rb#212 + # source://actionpack//lib/action_controller/test_case.rb#212 def dig(*keys); end # @return [Boolean] # - # source://actionpack/lib/action_controller/test_case.rb#221 + # source://actionpack//lib/action_controller/test_case.rb#221 def enabled?; end # @return [Boolean] # - # source://actionpack/lib/action_controller/test_case.rb#196 + # source://actionpack//lib/action_controller/test_case.rb#196 def exists?; end - # source://actionpack/lib/action_controller/test_case.rb#217 + # source://actionpack//lib/action_controller/test_case.rb#217 def fetch(key, *args, &block); end - # source://actionpack/lib/action_controller/test_case.rb#225 + # source://actionpack//lib/action_controller/test_case.rb#225 def id_was; end - # source://actionpack/lib/action_controller/test_case.rb#200 + # source://actionpack//lib/action_controller/test_case.rb#200 def keys; end - # source://actionpack/lib/action_controller/test_case.rb#204 + # source://actionpack//lib/action_controller/test_case.rb#204 def values; end private - # source://actionpack/lib/action_controller/test_case.rb#230 + # source://actionpack//lib/action_controller/test_case.rb#230 def load!; end end -# source://actionpack/lib/action_controller/test_case.rb#186 +# source://actionpack//lib/action_controller/test_case.rb#186 ActionController::TestSession::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_controller/metal/testing.rb#4 +# source://actionpack//lib/action_controller/metal/testing.rb#4 module ActionController::Testing; end # Behavior specific to functional tests # -# source://actionpack/lib/action_controller/metal/testing.rb#6 +# source://actionpack//lib/action_controller/metal/testing.rb#6 module ActionController::Testing::Functional - # source://actionpack/lib/action_controller/metal/testing.rb#7 + # source://actionpack//lib/action_controller/metal/testing.rb#7 def clear_instance_variables_between_requests; end - # source://actionpack/lib/action_controller/metal/testing.rb#16 + # source://actionpack//lib/action_controller/metal/testing.rb#16 def recycle!; end end @@ -8341,18 +8347,18 @@ end # params.to_h # # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#62 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#62 class ActionController::UnfilteredParameters < ::ArgumentError # @return [UnfilteredParameters] a new instance of UnfilteredParameters # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#63 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#63 def initialize; end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#73 +# source://actionpack//lib/action_controller/metal/exceptions.rb#73 class ActionController::UnknownFormat < ::ActionController::ActionControllerError; end -# source://actionpack/lib/action_controller/metal/exceptions.rb#70 +# source://actionpack//lib/action_controller/metal/exceptions.rb#70 class ActionController::UnknownHttpMethod < ::ActionController::ActionControllerError; end # Raised when a supplied parameter is not expected and @@ -8363,14 +8369,14 @@ class ActionController::UnknownHttpMethod < ::ActionController::ActionController # params.permit(:c) # # => ActionController::UnpermittedParameters: found unpermitted parameters: :a, :b # -# source://actionpack/lib/action_controller/metal/strong_parameters.rb#47 +# source://actionpack//lib/action_controller/metal/strong_parameters.rb#47 class ActionController::UnpermittedParameters < ::IndexError # @return [UnpermittedParameters] a new instance of UnpermittedParameters # - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#50 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#50 def initialize(params); end - # source://actionpack/lib/action_controller/metal/strong_parameters.rb#48 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#48 def params; end end @@ -8396,7 +8402,7 @@ end # end # end # -# source://actionpack/lib/action_controller/metal/url_for.rb#25 +# source://actionpack//lib/action_controller/metal/url_for.rb#25 module ActionController::UrlFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -8406,10 +8412,10 @@ module ActionController::UrlFor mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - # source://actionpack/lib/action_controller/metal/url_for.rb#30 + # source://actionpack//lib/action_controller/metal/url_for.rb#30 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_controller/metal/url_for.rb#35 + # source://actionpack//lib/action_controller/metal/url_for.rb#35 def url_options; end module GeneratedClassMethods @@ -8425,31 +8431,31 @@ module ActionController::UrlFor end end -# source://actionpack/lib/action_controller/metal/exceptions.rb#25 +# source://actionpack//lib/action_controller/metal/exceptions.rb#25 class ActionController::UrlGenerationError < ::ActionController::ActionControllerError include ::DidYouMean::Correctable # @return [UrlGenerationError] a new instance of UrlGenerationError # - # source://actionpack/lib/action_controller/metal/exceptions.rb#28 + # source://actionpack//lib/action_controller/metal/exceptions.rb#28 def initialize(message, routes = T.unsafe(nil), route_name = T.unsafe(nil), method_name = T.unsafe(nil)); end - # source://actionpack/lib/action_controller/metal/exceptions.rb#39 + # source://actionpack//lib/action_controller/metal/exceptions.rb#39 def corrections; end # Returns the value of attribute method_name. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#26 + # source://actionpack//lib/action_controller/metal/exceptions.rb#26 def method_name; end # Returns the value of attribute route_name. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#26 + # source://actionpack//lib/action_controller/metal/exceptions.rb#26 def route_name; end # Returns the value of attribute routes. # - # source://actionpack/lib/action_controller/metal/exceptions.rb#26 + # source://actionpack//lib/action_controller/metal/exceptions.rb#26 def routes; end end @@ -8462,63 +8468,63 @@ end # such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT # bodies, handling HTTP caching logic, cookies and sessions. # -# source://actionpack/lib/action_dispatch/deprecator.rb#3 +# source://actionpack//lib/action_dispatch/deprecator.rb#3 module ActionDispatch include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor extend ::ActiveSupport::Autoload - # source://actionpack/lib/action_dispatch.rb#145 + # source://actionpack//lib/action_dispatch.rb#145 def eager_load!; end - # source://actionpack/lib/action_dispatch.rb#131 + # source://actionpack//lib/action_dispatch.rb#131 def test_app; end - # source://actionpack/lib/action_dispatch.rb#131 + # source://actionpack//lib/action_dispatch.rb#131 def test_app=(val); end class << self - # source://actionpack/lib/action_dispatch/deprecator.rb#4 + # source://actionpack//lib/action_dispatch/deprecator.rb#4 def deprecator; end - # source://actionpack/lib/action_dispatch.rb#131 + # source://actionpack//lib/action_dispatch.rb#131 def test_app; end - # source://actionpack/lib/action_dispatch.rb#131 + # source://actionpack//lib/action_dispatch.rb#131 def test_app=(val); end end end -# source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#7 +# source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#7 class ActionDispatch::ActionableExceptions # @return [ActionableExceptions] a new instance of ActionableExceptions # - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#10 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10 def initialize(app); end - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#14 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#14 def call(env); end - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#8 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#8 def endpoint; end - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#8 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#8 def endpoint=(val); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#24 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#24 def actionable_request?(request); end - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#28 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#28 def redirect_to(location); end class << self - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#8 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#8 def endpoint; end - # source://actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb#8 + # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#8 def endpoint=(val); end end end @@ -8527,7 +8533,7 @@ end # does not inherit from Response because it doesn't need it. That means it # does not have headers or a body. # -# source://actionpack/lib/action_dispatch/testing/assertion_response.rb#7 +# source://actionpack//lib/action_dispatch/testing/assertion_response.rb#7 class ActionDispatch::AssertionResponse # Accepts a specific response status code as an Integer (404) or String # ('404') or a response status range as a Symbol pseudo-code (:success, @@ -8536,35 +8542,35 @@ class ActionDispatch::AssertionResponse # @raise [ArgumentError] # @return [AssertionResponse] a new instance of AssertionResponse # - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#20 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#20 def initialize(code_or_name); end # Returns the value of attribute code. # - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#8 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#8 def code; end - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#33 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#33 def code_and_name; end # Returns the value of attribute name. # - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#8 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#8 def name; end private - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#38 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#38 def code_from_name(name); end - # source://actionpack/lib/action_dispatch/testing/assertion_response.rb#42 + # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#42 def name_from_code(code); end end -# source://actionpack/lib/action_dispatch/testing/assertion_response.rb#10 +# source://actionpack//lib/action_dispatch/testing/assertion_response.rb#10 ActionDispatch::AssertionResponse::GENERIC_RESPONSE_CODES = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/testing/assertions/response.rb#4 +# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#4 module ActionDispatch::Assertions include ::ActionDispatch::Assertions::ResponseAssertions include ::Rails::Dom::Testing::Assertions::DomAssertions @@ -8575,13 +8581,13 @@ module ActionDispatch::Assertions mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack/lib/action_dispatch/testing/assertions.rb#15 + # source://actionpack//lib/action_dispatch/testing/assertions.rb#15 def html_document; end end # A small suite of assertions that test responses from \Rails applications. # -# source://actionpack/lib/action_dispatch/testing/assertions/response.rb#6 +# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#6 module ActionDispatch::Assertions::ResponseAssertions # Asserts that the response is a redirect to a URL matching the given options. # @@ -8601,7 +8607,7 @@ module ActionDispatch::Assertions::ResponseAssertions # # Permanently). # assert_redirected_to "/some/path", status: :moved_permanently # - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#57 + # source://actionpack//lib/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 # Asserts that the response is one of the following types: @@ -8621,38 +8627,38 @@ module ActionDispatch::Assertions::ResponseAssertions # # Asserts that the response code was status code 401 (unauthorized) # assert_response 401 # - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#30 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#30 def assert_response(type, message = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#102 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#102 def code_with_name(code_or_name); end - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#86 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#86 def generate_response_message(expected, actual = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#96 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#96 def location_if_redirected; end - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#77 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#77 def normalize_argument_to_redirection(fragment); end # Proxy to to_param if the object will respond to it. # - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#73 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#73 def parameterize(value); end - # source://actionpack/lib/action_dispatch/testing/assertions/response.rb#91 + # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#91 def response_body_if_short; end end -# source://actionpack/lib/action_dispatch/testing/assertions/response.rb#7 +# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#7 ActionDispatch::Assertions::ResponseAssertions::RESPONSE_PREDICATES = T.let(T.unsafe(nil), Hash) # Suite of assertions to test routes generated by \Rails and the handling of requests made to them. # -# source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#11 +# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#11 module ActionDispatch::Assertions::RoutingAssertions extend ::ActiveSupport::Concern @@ -8676,7 +8682,7 @@ module ActionDispatch::Assertions::RoutingAssertions # # Asserts that the generated route gives us our custom route # assert_generates "changesets/12", { controller: 'scm', action: 'show_diff', revision: "12" } # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#115 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#115 def assert_generates(expected_path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end # Asserts that the routing of the given +path+ was handled correctly and that the parsed options (given in the +expected_options+ hash) @@ -8710,7 +8716,7 @@ module ActionDispatch::Assertions::RoutingAssertions # # Test a custom route # assert_recognizes({controller: 'items', action: 'show', id: '1'}, 'view/item1') # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#77 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#77 def assert_recognizes(expected_options, path, extras = T.unsafe(nil), msg = T.unsafe(nil)); end # Asserts that path and options match both ways; in other words, it verifies that path generates @@ -8735,15 +8741,15 @@ module ActionDispatch::Assertions::RoutingAssertions # # Tests a route with an HTTP method # assert_routing({ method: 'put', path: '/product/321' }, { controller: "product", action: "update", id: "321" }) # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#158 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#158 def assert_routing(path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end # ROUTES TODO: These assertions should really work in an integration context # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#191 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#191 def method_missing(selector, *args, **_arg2, &block); end - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#42 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#42 def setup; end # A helper to make it easier to test different route configurations. @@ -8759,29 +8765,29 @@ module ActionDispatch::Assertions::RoutingAssertions # assert_equal "/users", users_path # end # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#183 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#183 def with_routing(&block); end private # @yield [@routes] # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#201 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#201 def create_routes; end - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#267 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#267 def fail_on(exception_class, message); end # Recognizes the route for a given path. # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#233 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#233 def recognized_request_for(path, extras = T.unsafe(nil), msg); end - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#225 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#225 def reset_routes(old_routes, old_controller); end end -# source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#14 +# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#14 module ActionDispatch::Assertions::RoutingAssertions::ClassMethods # A helper to make it easier to test different route configurations. # This method temporarily replaces @routes with a new RouteSet instance @@ -8796,7 +8802,7 @@ module ActionDispatch::Assertions::RoutingAssertions::ClassMethods # end # end # - # source://actionpack/lib/action_dispatch/testing/assertions/routing.rb#28 + # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#28 def with_routing(&block); end end @@ -8807,14 +8813,14 @@ end # security target HTTP instead of HTTPS. This middleware makes the server assume that the # proxy already terminated SSL, and that the request really is HTTPS. # -# source://actionpack/lib/action_dispatch/middleware/assume_ssl.rb#10 +# source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#10 class ActionDispatch::AssumeSSL # @return [AssumeSSL] a new instance of AssumeSSL # - # source://actionpack/lib/action_dispatch/middleware/assume_ssl.rb#11 + # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#11 def initialize(app); end - # source://actionpack/lib/action_dispatch/middleware/assume_ssl.rb#15 + # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#15 def call(env); end end @@ -8822,7 +8828,7 @@ end # # Provides callbacks to be executed before and after dispatching the request. # -# source://actionpack/lib/action_dispatch/middleware/callbacks.rb#7 +# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#7 class ActionDispatch::Callbacks include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -8830,79 +8836,79 @@ class ActionDispatch::Callbacks # @return [Callbacks] a new instance of Callbacks # - # source://actionpack/lib/action_dispatch/middleware/callbacks.rb#22 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#22 def initialize(app); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _run_call_callbacks(&block); end - # source://actionpack/lib/action_dispatch/middleware/callbacks.rb#26 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#26 def call(env); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks=(value); end - # source://actionpack/lib/action_dispatch/middleware/callbacks.rb#17 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#17 def after(*args, &block); end - # source://actionpack/lib/action_dispatch/middleware/callbacks.rb#13 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#13 def before(*args, &block); end end end -# source://actionpack/lib/action_dispatch/constants.rb#6 +# source://actionpack//lib/action_dispatch/constants.rb#6 module ActionDispatch::Constants; end -# source://actionpack/lib/action_dispatch/constants.rb#21 +# source://actionpack//lib/action_dispatch/constants.rb#21 ActionDispatch::Constants::CONTENT_ENCODING = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#22 +# source://actionpack//lib/action_dispatch/constants.rb#22 ActionDispatch::Constants::CONTENT_SECURITY_POLICY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#23 +# source://actionpack//lib/action_dispatch/constants.rb#23 ActionDispatch::Constants::CONTENT_SECURITY_POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#25 +# source://actionpack//lib/action_dispatch/constants.rb#25 ActionDispatch::Constants::FEATURE_POLICY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#24 +# source://actionpack//lib/action_dispatch/constants.rb#24 ActionDispatch::Constants::LOCATION = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#28 +# source://actionpack//lib/action_dispatch/constants.rb#28 ActionDispatch::Constants::SERVER_TIMING = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#29 +# source://actionpack//lib/action_dispatch/constants.rb#29 ActionDispatch::Constants::STRICT_TRANSPORT_SECURITY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#20 +# source://actionpack//lib/action_dispatch/constants.rb#20 ActionDispatch::Constants::VARY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#27 +# source://actionpack//lib/action_dispatch/constants.rb#27 ActionDispatch::Constants::X_CASCADE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/constants.rb#26 +# source://actionpack//lib/action_dispatch/constants.rb#26 ActionDispatch::Constants::X_REQUEST_ID = T.let(T.unsafe(nil), String) # = Action Dispatch Content Security Policy @@ -8925,16 +8931,16 @@ ActionDispatch::Constants::X_REQUEST_ID = T.let(T.unsafe(nil), String) # policy.report_uri "/csp-violation-report-endpoint" # end # -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#26 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#26 class ActionDispatch::ContentSecurityPolicy # @return [ContentSecurityPolicy] a new instance of ContentSecurityPolicy # @yield [_self] # @yieldparam _self [ActionDispatch::ContentSecurityPolicy] the object that the method was called on # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#177 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#177 def initialize; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def base_uri(*sources); end # Specify whether to prevent the user agent from loading any assets over @@ -8946,48 +8952,48 @@ class ActionDispatch::ContentSecurityPolicy # # policy.block_all_mixed_content false # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#205 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#205 def block_all_mixed_content(enabled = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#294 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#294 def build(context = T.unsafe(nil), nonce = T.unsafe(nil), nonce_directives = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def child_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def connect_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def default_src(*sources); end # Returns the value of attribute directives. # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#175 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#175 def directives; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def font_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def form_action(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def frame_ancestors(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def frame_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def img_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def manifest_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def media_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def object_src(*sources); end # Restricts the set of plugins that can be embedded: @@ -8998,10 +9004,10 @@ class ActionDispatch::ContentSecurityPolicy # # policy.plugin_types # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#221 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#221 def plugin_types(*types); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def prefetch_src(*sources); end # Enable the {report-uri}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri] @@ -9009,7 +9015,7 @@ class ActionDispatch::ContentSecurityPolicy # # policy.report_uri "/csp-violation-report-endpoint" # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#234 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#234 def report_uri(uri); end # Specify asset types for which {Subresource Integrity}[https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity] @@ -9021,10 +9027,10 @@ class ActionDispatch::ContentSecurityPolicy # # policy.require_sri_for # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#247 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#247 def require_sri_for(*types); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def require_trusted_types_for(*sources); end # Specify whether a {sandbox}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox] @@ -9040,28 +9046,28 @@ class ActionDispatch::ContentSecurityPolicy # # policy.sandbox false # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#268 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#268 def sandbox(*values); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def script_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def script_src_attr(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def script_src_elem(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def style_src(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def style_src_attr(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def style_src_elem(*sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def trusted_types(*sources); end # Specify whether user agents should treat any assets over HTTP as HTTPS: @@ -9072,122 +9078,122 @@ class ActionDispatch::ContentSecurityPolicy # # policy.upgrade_insecure_requests false # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#286 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#286 def upgrade_insecure_requests(enabled = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 def worker_src(*sources); end private - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#313 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#313 def apply_mapping(source); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#300 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#300 def apply_mappings(sources); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#347 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#347 def build_directive(directive, sources, context); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#319 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#319 def build_directives(context, nonce, nonce_directives); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#182 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#182 def initialize_copy(other); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#371 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#371 def nonce_directive?(directive, nonce_directives); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#353 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#353 def resolve_source(source, context); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#335 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#335 def validate(directive, sources); end end -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#171 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#171 ActionDispatch::ContentSecurityPolicy::DEFAULT_NONCE_DIRECTIVES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#146 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#146 ActionDispatch::ContentSecurityPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#27 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#27 class ActionDispatch::ContentSecurityPolicy::InvalidDirectiveError < ::StandardError; end -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#126 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#126 ActionDispatch::ContentSecurityPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#30 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#30 class ActionDispatch::ContentSecurityPolicy::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#31 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#31 def initialize(app); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#35 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#35 def call(env); end private - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#57 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#57 def header_name(request); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#65 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#65 def policy_present?(headers); end end -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#71 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#71 module ActionDispatch::ContentSecurityPolicy::Request - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#78 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#78 def content_security_policy; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#82 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#82 def content_security_policy=(policy); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#110 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#110 def content_security_policy_nonce; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#102 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#102 def content_security_policy_nonce_directives; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#106 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#106 def content_security_policy_nonce_directives=(generator); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#94 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#94 def content_security_policy_nonce_generator; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#98 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#98 def content_security_policy_nonce_generator=(generator); end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#86 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#86 def content_security_policy_report_only; end - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#90 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#90 def content_security_policy_report_only=(value); end private - # source://actionpack/lib/action_dispatch/http/content_security_policy.rb#121 + # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#121 def generate_content_security_policy_nonce; end end -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#75 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#75 ActionDispatch::ContentSecurityPolicy::Request::NONCE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#76 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#76 ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#74 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#74 ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#72 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#72 ActionDispatch::ContentSecurityPolicy::Request::POLICY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/content_security_policy.rb#73 +# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#73 ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String) # Read and write data to cookies through ActionController::Cookies#cookies. @@ -9284,70 +9290,70 @@ ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.uns # Possible values are +nil+, +:none+, +:lax+, and +:strict+. Defaults to # +:lax+. # -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#188 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#188 class ActionDispatch::Cookies # @return [Cookies] a new instance of Cookies # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#683 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#683 def initialize(app); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#687 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#687 def call(env); end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#194 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#194 ActionDispatch::Cookies::AUTHENTICATED_ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#489 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#489 class ActionDispatch::Cookies::AbstractCookieJar include ::ActionDispatch::Cookies::ChainedCookieJars # @return [AbstractCookieJar] a new instance of AbstractCookieJar # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#492 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#492 def initialize(parent_jar); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#496 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#496 def [](name); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#508 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#508 def []=(name, options); end protected - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#520 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#520 def request; end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#538 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#538 def commit(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#531 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#531 def cookie_metadata(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#523 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#523 def expiry_options(options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#537 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#537 def parse(name, data, purpose: T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#200 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#200 ActionDispatch::Cookies::COOKIES_DIGEST = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#201 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#201 ActionDispatch::Cookies::COOKIES_ROTATIONS = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#202 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#202 ActionDispatch::Cookies::COOKIES_SAME_SITE_PROTECTION = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#199 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#199 ActionDispatch::Cookies::COOKIES_SERIALIZER = T.let(T.unsafe(nil), String) # Include in a cookie jar to allow chaining, e.g. +cookies.permanent.signed+. # -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#212 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#212 module ActionDispatch::Cookies::ChainedCookieJars # Returns a jar that'll automatically encrypt cookie values before sending them to the client and will decrypt them for read. # If the cookie was tampered with by the user (or a 3rd party), +nil+ will be returned. @@ -9364,7 +9370,7 @@ module ActionDispatch::Cookies::ChainedCookieJars # # cookies.encrypted[:discount] # => 45 # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#258 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#258 def encrypted; end # Returns a jar that'll automatically set the assigned cookies to have an expiration date 20 years from now. Example: @@ -9379,7 +9385,7 @@ module ActionDispatch::Cookies::ChainedCookieJars # cookies.permanent.signed[:remember_me] = current_user.id # # => Set-Cookie: remember_me=BAhU--848956038e692d7046deab32b7131856ab20e14e; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#224 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#224 def permanent; end # Returns a jar that'll automatically generate a signed representation of cookie value and verify it when reading from @@ -9395,72 +9401,72 @@ module ActionDispatch::Cookies::ChainedCookieJars # # cookies.signed[:discount] # => 45 # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#240 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#240 def signed; end # Returns the +signed+ or +encrypted+ jar, preferring +encrypted+ if +secret_key_base+ is set. # Used by ActionDispatch::Session::CookieStore to avoid the need to introduce new cookie stores. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#264 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#264 def signed_or_encrypted; end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#287 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#287 def encrypted_cookie_cipher; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#281 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#281 def prepare_upgrade_legacy_hmac_aes_cbc_cookies?; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#291 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#291 def signed_cookie_digest; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#274 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#274 def upgrade_legacy_hmac_aes_cbc_cookies?; end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#296 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#296 class ActionDispatch::Cookies::CookieJar include ::ActionDispatch::Cookies::ChainedCookieJars include ::Enumerable # @return [CookieJar] a new instance of CookieJar # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#307 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#307 def initialize(request); end # Returns the value of the cookie by +name+, or +nil+ if no such cookie exists. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#328 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#328 def [](name); end # Sets the cookie named +name+. The second argument may be the cookie's # value or a hash of options as documented above. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#362 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#362 def []=(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#424 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#424 def always_write_cookie; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#424 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#424 def always_write_cookie=(val); end # Removes all cookies on the client machine by calling delete for each cookie. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#408 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#408 def clear(options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#317 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#317 def commit!; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#315 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#315 def committed?; end # Removes the cookie on the client machine by setting the value to an empty string @@ -9469,7 +9475,7 @@ class ActionDispatch::Cookies::CookieJar # # Returns the value of the cookie, or +nil+ if the cookie does not exist. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#387 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#387 def delete(name, options = T.unsafe(nil)); end # Whether the given cookie is to be deleted by this CookieJar. @@ -9478,182 +9484,184 @@ class ActionDispatch::Cookies::CookieJar # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#401 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#401 def deleted?(name, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#323 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#323 def each(&block); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#332 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#332 def fetch(name, *args, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#336 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#339 def has_key?(name); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#336 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#336 def key?(name); end # Returns the value of attribute request. # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#305 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#305 def request; end # Returns the cookies as Hash. + # + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#342 def to_hash(*_arg0); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#356 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#356 def to_header; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#344 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#344 def update(other_hash); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#349 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#349 def update_cookies_from_jar; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#412 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#412 def write(response); end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#427 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#427 def escape(string); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#435 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#435 def handle_options(options); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#431 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#431 def write_cookie?(cookie); end class << self - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#424 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#424 def always_write_cookie; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#424 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#424 def always_write_cookie=(val); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#299 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#299 def build(req, cookies); end end end # Raised when storing more than 4K of session data. # -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#209 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#209 class ActionDispatch::Cookies::CookieOverflow < ::StandardError; end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#196 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#196 ActionDispatch::Cookies::ENCRYPTED_COOKIE_CIPHER = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#192 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#192 ActionDispatch::Cookies::ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#193 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#193 ActionDispatch::Cookies::ENCRYPTED_SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#631 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#631 class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar include ::ActionDispatch::Cookies::SerializedCookieJars # @return [EncryptedKeyRotatingCookieJar] a new instance of EncryptedKeyRotatingCookieJar # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#634 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#634 def initialize(parent_jar); end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#676 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#676 def commit(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#668 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#668 def parse(name, encrypted_message, purpose: T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#190 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#190 ActionDispatch::Cookies::GENERATOR_KEY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#189 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#189 ActionDispatch::Cookies::HTTP_HEADER = T.let(T.unsafe(nil), String) # Cookies can typically store 4096 bytes. # -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#206 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#206 ActionDispatch::Cookies::MAX_COOKIE_SIZE = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#541 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#541 class ActionDispatch::Cookies::PermanentCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#543 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#543 def commit(name, options); end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#198 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#198 ActionDispatch::Cookies::SECRET_KEY_BASE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#197 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#197 ActionDispatch::Cookies::SIGNED_COOKIE_DIGEST = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#191 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#191 ActionDispatch::Cookies::SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#548 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#548 module ActionDispatch::Cookies::SerializedCookieJars protected - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#552 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#552 def digest; end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#595 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#595 def check_for_overflow!(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#591 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#591 def commit(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#577 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#577 def parse(name, dumped, force_reserialize: T.unsafe(nil), **_arg3); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#571 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#571 def reserialize?(dumped); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#557 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#557 def serializer; end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#549 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#549 ActionDispatch::Cookies::SerializedCookieJars::SERIALIZER = ActiveSupport::MessageEncryptor::NullSerializer -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#602 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#602 class ActionDispatch::Cookies::SignedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar include ::ActionDispatch::Cookies::SerializedCookieJars # @return [SignedKeyRotatingCookieJar] a new instance of SignedKeyRotatingCookieJar # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#605 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#605 def initialize(parent_jar); end private - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#624 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#624 def commit(name, options); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#618 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#618 def parse(name, signed_message, purpose: T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#195 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#195 ActionDispatch::Cookies::USE_AUTHENTICATED_COOKIE_ENCRYPTION = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#203 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#203 ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String) # = Action Dispatch \DebugExceptions @@ -9661,66 +9669,66 @@ ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String # This middleware is responsible for logging exceptions and # showing a debugging page in case the request is local. # -# source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#13 +# source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#13 class ActionDispatch::DebugExceptions # @return [DebugExceptions] a new instance of DebugExceptions # - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#21 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#21 def initialize(app, routes_app = T.unsafe(nil), response_format = T.unsafe(nil), interceptors = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#28 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#28 def call(env); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#177 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#177 def api_request?(content_type); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#114 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#114 def create_template(request, wrapper); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#48 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#48 def invoke_interceptors(request, exception, wrapper); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#151 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#151 def log_array(logger, lines, request); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#133 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#133 def log_error(request, wrapper); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#181 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#181 def log_rescued_responses?(request); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#163 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#163 def logger(request); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#129 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#129 def render(status, body, format); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#56 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#56 def render_exception(request, exception, wrapper); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#90 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#90 def render_for_api_request(content_type, wrapper); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#76 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#76 def render_for_browser_request(request, wrapper); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#171 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#171 def routes_inspector(exception); end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#167 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#167 def stderr_logger; end class << self - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#14 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#14 def interceptors; end - # source://actionpack/lib/action_dispatch/middleware/debug_exceptions.rb#16 + # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#16 def register_interceptor(object = T.unsafe(nil), &block); end end end @@ -9749,306 +9757,306 @@ end # This middleware exposes operational details of the server, with no access # control. It should only be enabled when in use, and removed thereafter. # -# source://actionpack/lib/action_dispatch/middleware/debug_locks.rb#27 +# source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#27 class ActionDispatch::DebugLocks # @return [DebugLocks] a new instance of DebugLocks # - # source://actionpack/lib/action_dispatch/middleware/debug_locks.rb#28 + # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#28 def initialize(app, path = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/debug_locks.rb#33 + # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#33 def call(env); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_locks.rb#106 + # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#106 def blocked_by?(victim, blocker, all_threads); end - # source://actionpack/lib/action_dispatch/middleware/debug_locks.rb#47 + # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#47 def render_details(req); end end -# source://actionpack/lib/action_dispatch/middleware/debug_view.rb#9 +# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#9 class ActionDispatch::DebugView < ::ActionView::Base # @return [DebugView] a new instance of DebugView # - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#12 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#12 def initialize(assigns); end - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#19 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#19 def compiled_method_container; end - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#47 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#47 def debug_hash(object); end - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#39 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#39 def debug_headers(headers); end - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#27 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#27 def debug_params(params); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#23 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#23 def error_highlight_available?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#65 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#65 def params_valid?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#61 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#61 def protect_against_forgery?; end - # source://actionpack/lib/action_dispatch/middleware/debug_view.rb#51 + # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#51 def render(*_arg0); end end -# source://actionpack/lib/action_dispatch/middleware/debug_view.rb#10 +# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#10 ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch.rb#51 +# source://actionpack//lib/action_dispatch.rb#51 class ActionDispatch::DeprecatedIllegalStateError < ::StandardError; end -# source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#9 +# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#9 class ActionDispatch::ExceptionWrapper # @return [ExceptionWrapper] a new instance of ExceptionWrapper # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#48 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#48 def initialize(backtrace_cleaner, exception); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#99 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#99 def actions; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#111 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#111 def annotated_source_code; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#133 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#133 def application_trace; end # Returns the value of attribute backtrace_cleaner. # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#46 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#46 def backtrace_cleaner; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#87 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#87 def corrections; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#210 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#210 def error_highlight_available?; end # Returns the value of attribute exception. # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#46 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#46 def exception; end # Returns the value of attribute exception_class_name. # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#46 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#46 def exception_class_name; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#239 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#239 def exception_id; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#235 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#235 def exception_inspect; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#227 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#227 def exception_name; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#127 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#127 def exception_trace; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#75 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#75 def failures; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#91 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#91 def file_name; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#137 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#137 def framework_trace; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#141 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#141 def full_trace; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#71 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#71 def has_cause?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#79 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#79 def has_corrections?; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#95 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#95 def line_number; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#231 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#231 def message; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#83 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#83 def original_message; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#200 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#200 def rescue_response?; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#10 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#10 def rescue_responses; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#10 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#10 def rescue_responses=(val); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#119 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#119 def rescue_template; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#28 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#28 def rescue_templates; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#28 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#28 def rescue_templates=(val); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#59 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#59 def routing_error?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#177 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#177 def show?(request); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#41 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#41 def silent_exceptions; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#41 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#41 def silent_exceptions=(val); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#204 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#204 def source_extracts; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#223 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#223 def source_to_show_id; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#123 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#123 def status_code; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#67 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#67 def sub_template_message; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#63 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#63 def template_error?; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#215 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#215 def trace_to_show; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#145 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#145 def traces; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#103 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#103 def unwrapped_exception; end # Returns the value of attribute wrapped_causes. # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#46 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#46 def wrapped_causes; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#37 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#37 def wrapper_exceptions; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#37 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#37 def wrapper_exceptions=(val); end private # Returns the value of attribute backtrace. # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#263 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#263 def backtrace; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#265 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#265 def build_backtrace; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#288 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#288 def causes_for(exception); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#298 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#298 def clean_backtrace(*args); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#351 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#351 def extract_file_and_line_number(trace); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#306 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#306 def extract_source(trace); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#335 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#335 def extract_source_fragment_lines(source_lines, line); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#341 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#341 def source_fragment(path, line); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#294 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#294 def wrapped_causes_for(exception, backtrace_cleaner); end class << self - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#10 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#10 def rescue_responses; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#10 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#10 def rescue_responses=(val); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#28 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#28 def rescue_templates; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#28 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#28 def rescue_templates=(val); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#41 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#41 def silent_exceptions; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#41 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#41 def silent_exceptions=(val); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#173 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#173 def status_code_for_exception(class_name); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#37 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#37 def wrapper_exceptions; end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#37 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#37 def wrapper_exceptions=(val); end end end -# source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#244 +# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#244 class ActionDispatch::ExceptionWrapper::SourceMapLocation # @return [SourceMapLocation] a new instance of SourceMapLocation # - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#245 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#245 def initialize(location, template); end - # source://actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#250 + # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#250 def spot(exc); end end -# source://actionpack/lib/action_dispatch/middleware/executor.rb#6 +# source://actionpack//lib/action_dispatch/middleware/executor.rb#6 class ActionDispatch::Executor # @return [Executor] a new instance of Executor # - # source://actionpack/lib/action_dispatch/middleware/executor.rb#7 + # source://actionpack//lib/action_dispatch/middleware/executor.rb#7 def initialize(app, executor); end - # source://actionpack/lib/action_dispatch/middleware/executor.rb#11 + # source://actionpack//lib/action_dispatch/middleware/executor.rb#11 def call(env); end end @@ -10068,40 +10076,40 @@ end # index: "index" to change the default +path+/index.html, and optional # additional response headers. # -# source://actionpack/lib/action_dispatch/middleware/static.rb#45 +# source://actionpack//lib/action_dispatch/middleware/static.rb#45 class ActionDispatch::FileHandler # @return [FileHandler] a new instance of FileHandler # - # source://actionpack/lib/action_dispatch/middleware/static.rb#53 + # source://actionpack//lib/action_dispatch/middleware/static.rb#53 def initialize(root, index: T.unsafe(nil), headers: T.unsafe(nil), precompressed: T.unsafe(nil), compressible_content_types: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#67 + # source://actionpack//lib/action_dispatch/middleware/static.rb#67 def attempt(env); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#63 + # source://actionpack//lib/action_dispatch/middleware/static.rb#63 def call(env); end private - # source://actionpack/lib/action_dispatch/middleware/static.rb#183 + # source://actionpack//lib/action_dispatch/middleware/static.rb#183 def clean_path(path_info); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/static.rb#147 + # source://actionpack//lib/action_dispatch/middleware/static.rb#147 def compressible?(content_type); end # @yield [path, content_type || "text/plain"] # - # source://actionpack/lib/action_dispatch/middleware/static.rb#160 + # source://actionpack//lib/action_dispatch/middleware/static.rb#160 def each_candidate_filepath(path_info); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#151 + # source://actionpack//lib/action_dispatch/middleware/static.rb#151 def each_precompressed_filepath(filepath); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/static.rb#142 + # source://actionpack//lib/action_dispatch/middleware/static.rb#142 def file_readable?(path); end # Match a URI path to a static file to be served. @@ -10115,22 +10123,22 @@ class ActionDispatch::FileHandler # If a matching file is found, the path and necessary response headers # (Content-Type, Content-Encoding) are returned. # - # source://actionpack/lib/action_dispatch/middleware/static.rb#102 + # source://actionpack//lib/action_dispatch/middleware/static.rb#102 def find_file(path_info, accept_encoding:); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#78 + # source://actionpack//lib/action_dispatch/middleware/static.rb#78 def serve(request, filepath, content_headers); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#110 + # source://actionpack//lib/action_dispatch/middleware/static.rb#110 def try_files(filepath, content_type, accept_encoding:); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#120 + # source://actionpack//lib/action_dispatch/middleware/static.rb#120 def try_precompressed_files(filepath, headers, accept_encoding:); end end # +Accept-Encoding+ value -> file extension # -# source://actionpack/lib/action_dispatch/middleware/static.rb#47 +# source://actionpack//lib/action_dispatch/middleware/static.rb#47 ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash) # = Action Dispatch \Flash @@ -10171,46 +10179,46 @@ ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash) # # See docs on the FlashHash class for more details about the flash. # -# source://actionpack/lib/action_dispatch/middleware/flash.rb#43 +# source://actionpack//lib/action_dispatch/middleware/flash.rb#43 class ActionDispatch::Flash class << self - # source://actionpack/lib/action_dispatch/middleware/flash.rb#300 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#300 def new(app); end end end -# source://actionpack/lib/action_dispatch/middleware/flash.rb#112 +# source://actionpack//lib/action_dispatch/middleware/flash.rb#112 class ActionDispatch::Flash::FlashHash include ::Enumerable # @return [FlashHash] a new instance of FlashHash # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#142 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#142 def initialize(flashes = T.unsafe(nil), discard = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#162 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#162 def [](k); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#156 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#156 def []=(k, v); end # Convenience accessor for flash[:alert]. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#268 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#268 def alert; end # Convenience accessor for flash[:alert]=. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#273 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#273 def alert=(message); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#197 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#197 def clear; end # Immediately deletes the single flash entry. Use this method when you # want remove the message within the current action. See also #discard. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#182 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#182 def delete(key); end # Marks the entire flash or a single flash entry to be discarded by the end of the current action: @@ -10221,15 +10229,15 @@ class ActionDispatch::Flash::FlashHash # Use this method when you want to display the message in the current # action but not in the next one. See also #delete. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#253 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#253 def discard(k = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#202 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#202 def each(&block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#193 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#193 def empty?; end # Keeps either the entire current flash or a specific flash entry available for the next action: @@ -10237,28 +10245,28 @@ class ActionDispatch::Flash::FlashHash # flash.keep # keeps the entire flash # flash.keep(:notice) # keeps only the "notice" entry, the rest of the flash is discarded # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#240 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#240 def keep(k = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#176 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#176 def key?(name); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#172 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#172 def keys; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#166 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#206 def merge!(h); end # Convenience accessor for flash[:notice]. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#278 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#278 def notice; end # Convenience accessor for flash[:notice]=. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#283 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#283 def notice=(message); end # Sets a flash that will not be available to the next action, only to the current. @@ -10280,110 +10288,110 @@ class ActionDispatch::Flash::FlashHash # flash.now.notice = "Good luck now!" # # Equivalent to flash.now[:notice] = "Good luck now!" # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#232 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#232 def now; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#208 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#208 def replace(h); end # Mark for removal entries that were kept, and delete unkept ones. # # This method is called automatically by filters, so you generally don't need to care about it. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#262 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#262 def sweep; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#189 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#189 def to_hash; end # Builds a hash containing the flashes to keep for the next request. # If there are none to keep, returns +nil+. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#136 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#136 def to_session_value; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#166 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#166 def update(h); end protected # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#288 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#288 def now_is_loaded?; end private - # source://actionpack/lib/action_dispatch/middleware/flash.rb#148 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#148 def initialize_copy(other); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#293 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#293 def stringify_array(array); end class << self - # source://actionpack/lib/action_dispatch/middleware/flash.rb#115 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#115 def from_session_value(value); end end end -# source://actionpack/lib/action_dispatch/middleware/flash.rb#83 +# source://actionpack//lib/action_dispatch/middleware/flash.rb#83 class ActionDispatch::Flash::FlashNow # @return [FlashNow] a new instance of FlashNow # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#86 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#86 def initialize(flash); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#97 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#97 def [](k); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#90 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#90 def []=(k, v); end # Convenience accessor for flash.now[:alert]=. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#102 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#102 def alert=(message); end # Returns the value of attribute flash. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#84 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#84 def flash; end # Sets the attribute flash # # @param value the value to set the attribute flash to. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#84 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#84 def flash=(_arg0); end # Convenience accessor for flash.now[:notice]=. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#107 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#107 def notice=(message); end end -# source://actionpack/lib/action_dispatch/middleware/flash.rb#44 +# source://actionpack//lib/action_dispatch/middleware/flash.rb#44 ActionDispatch::Flash::KEY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/flash.rb#46 +# source://actionpack//lib/action_dispatch/middleware/flash.rb#46 module ActionDispatch::Flash::RequestMethods - # source://actionpack/lib/action_dispatch/middleware/flash.rb#64 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#64 def commit_flash; end # Access the contents of the flash. Returns a ActionDispatch::Flash::FlashHash. # # See ActionDispatch::Flash for example usage. # - # source://actionpack/lib/action_dispatch/middleware/flash.rb#50 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#50 def flash; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#56 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#56 def flash=(flash); end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#60 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#60 def flash_hash; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#77 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#77 def reset_session; end end @@ -10404,119 +10412,119 @@ end # responds with 403 Forbidden. The body of the response contains debug info # if +config.consider_all_requests_local+ is set to true, otherwise the body is empty. # -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#20 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#20 class ActionDispatch::HostAuthorization # @return [HostAuthorization] a new instance of HostAuthorization # - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#125 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#125 def initialize(app, hosts, exclude: T.unsafe(nil), response_app: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#133 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#133 def call(env); end private - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#149 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#149 def blocked_hosts(request); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#161 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#161 def excluded?(request); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#165 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#165 def mark_as_authorized(request); end end -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#21 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#21 ActionDispatch::HostAuthorization::ALLOWED_HOSTS_IN_DEVELOPMENT = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#86 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#86 class ActionDispatch::HostAuthorization::DefaultResponseApp - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#89 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#89 def call(env); end private - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#120 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#120 def available_logger(request); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#112 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#112 def log_error(request); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#105 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#105 def response(format, body); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#98 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#98 def response_body(request); end end -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#87 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#87 ActionDispatch::HostAuthorization::DefaultResponseApp::RESPONSE_STATUS = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#24 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#24 ActionDispatch::HostAuthorization::IPV4_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#25 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#25 ActionDispatch::HostAuthorization::IPV6_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#26 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#26 ActionDispatch::HostAuthorization::IPV6_HOSTNAME_WITH_PORT = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#22 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#22 ActionDispatch::HostAuthorization::PORT_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#33 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#33 class ActionDispatch::HostAuthorization::Permissions # @return [Permissions] a new instance of Permissions # - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#34 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#34 def initialize(hosts); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#42 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#42 def allows?(host); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#38 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#38 def empty?; end private - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#81 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#81 def extract_hostname(host); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#59 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#59 def sanitize_hosts(hosts); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#69 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#69 def sanitize_regexp(host); end - # source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#73 + # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#73 def sanitize_string(host); end end -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#23 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#23 ActionDispatch::HostAuthorization::SUBDOMAIN_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/middleware/host_authorization.rb#27 +# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#27 ActionDispatch::HostAuthorization::VALID_IP_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch.rb#99 +# source://actionpack//lib/action_dispatch.rb#99 module ActionDispatch::Http extend ::ActiveSupport::Autoload end -# source://actionpack/lib/action_dispatch/http/cache.rb#5 +# source://actionpack//lib/action_dispatch/http/cache.rb#5 module ActionDispatch::Http::Cache; end -# source://actionpack/lib/action_dispatch/http/cache.rb#6 +# source://actionpack//lib/action_dispatch/http/cache.rb#6 module ActionDispatch::Http::Cache::Request # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#28 + # source://actionpack//lib/action_dispatch/http/cache.rb#28 def etag_matches?(etag); end # Check response freshness (+Last-Modified+ and ETag) against request @@ -10525,46 +10533,46 @@ module ActionDispatch::Http::Cache::Request # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#38 + # source://actionpack//lib/action_dispatch/http/cache.rb#38 def fresh?(response); end - # source://actionpack/lib/action_dispatch/http/cache.rb#10 + # source://actionpack//lib/action_dispatch/http/cache.rb#10 def if_modified_since; end - # source://actionpack/lib/action_dispatch/http/cache.rb#16 + # source://actionpack//lib/action_dispatch/http/cache.rb#16 def if_none_match; end - # source://actionpack/lib/action_dispatch/http/cache.rb#20 + # source://actionpack//lib/action_dispatch/http/cache.rb#20 def if_none_match_etags; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#24 + # source://actionpack//lib/action_dispatch/http/cache.rb#24 def not_modified?(modified_at); end end -# source://actionpack/lib/action_dispatch/http/cache.rb#7 +# source://actionpack//lib/action_dispatch/http/cache.rb#7 ActionDispatch::Http::Cache::Request::HTTP_IF_MODIFIED_SINCE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#8 +# source://actionpack//lib/action_dispatch/http/cache.rb#8 ActionDispatch::Http::Cache::Request::HTTP_IF_NONE_MATCH = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#51 +# source://actionpack//lib/action_dispatch/http/cache.rb#51 module ActionDispatch::Http::Cache::Response # Returns the value of attribute cache_control. # - # source://actionpack/lib/action_dispatch/http/cache.rb#52 + # source://actionpack//lib/action_dispatch/http/cache.rb#52 def cache_control; end - # source://actionpack/lib/action_dispatch/http/cache.rb#68 + # source://actionpack//lib/action_dispatch/http/cache.rb#68 def date; end - # source://actionpack/lib/action_dispatch/http/cache.rb#78 + # source://actionpack//lib/action_dispatch/http/cache.rb#78 def date=(utc_time); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#74 + # source://actionpack//lib/action_dispatch/http/cache.rb#74 def date?; end # This method sets a weak ETag validator on the response so browsers @@ -10587,137 +10595,137 @@ module ActionDispatch::Http::Cache::Response # Weak ETags are what we almost always need, so they're the default. # Check out #strong_etag= to provide a strong ETag validator. # - # source://actionpack/lib/action_dispatch/http/cache.rb#101 + # source://actionpack//lib/action_dispatch/http/cache.rb#101 def etag=(weak_validators); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#113 + # source://actionpack//lib/action_dispatch/http/cache.rb#113 def etag?; end - # source://actionpack/lib/action_dispatch/http/cache.rb#54 + # source://actionpack//lib/action_dispatch/http/cache.rb#54 def last_modified; end - # source://actionpack/lib/action_dispatch/http/cache.rb#64 + # source://actionpack//lib/action_dispatch/http/cache.rb#64 def last_modified=(utc_time); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#60 + # source://actionpack//lib/action_dispatch/http/cache.rb#60 def last_modified?; end - # source://actionpack/lib/action_dispatch/http/cache.rb#109 + # source://actionpack//lib/action_dispatch/http/cache.rb#109 def strong_etag=(strong_validators); end # True if an ETag is set, and it isn't a weak validator (not preceded with W/). # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#121 + # source://actionpack//lib/action_dispatch/http/cache.rb#121 def strong_etag?; end - # source://actionpack/lib/action_dispatch/http/cache.rb#105 + # source://actionpack//lib/action_dispatch/http/cache.rb#105 def weak_etag=(weak_validators); end # True if an ETag is set, and it's a weak validator (preceded with W/). # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/cache.rb#116 + # source://actionpack//lib/action_dispatch/http/cache.rb#116 def weak_etag?; end private - # source://actionpack/lib/action_dispatch/http/cache.rb#144 + # source://actionpack//lib/action_dispatch/http/cache.rb#144 def cache_control_headers; end - # source://actionpack/lib/action_dispatch/http/cache.rb#138 + # source://actionpack//lib/action_dispatch/http/cache.rb#138 def cache_control_segments; end - # source://actionpack/lib/action_dispatch/http/cache.rb#134 + # source://actionpack//lib/action_dispatch/http/cache.rb#134 def generate_strong_etag(validators); end - # source://actionpack/lib/action_dispatch/http/cache.rb#130 + # source://actionpack//lib/action_dispatch/http/cache.rb#130 def generate_weak_etag(validators); end - # source://actionpack/lib/action_dispatch/http/cache.rb#173 + # source://actionpack//lib/action_dispatch/http/cache.rb#173 def handle_conditional_get!; end - # source://actionpack/lib/action_dispatch/http/cache.rb#183 + # source://actionpack//lib/action_dispatch/http/cache.rb#183 def merge_and_normalize_cache_control!(cache_control); end - # source://actionpack/lib/action_dispatch/http/cache.rb#162 + # source://actionpack//lib/action_dispatch/http/cache.rb#162 def prepare_cache_control!; end end -# source://actionpack/lib/action_dispatch/http/cache.rb#126 +# source://actionpack//lib/action_dispatch/http/cache.rb#126 ActionDispatch::Http::Cache::Response::DATE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#166 +# source://actionpack//lib/action_dispatch/http/cache.rb#166 ActionDispatch::Http::Cache::Response::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#127 +# source://actionpack//lib/action_dispatch/http/cache.rb#127 ActionDispatch::Http::Cache::Response::LAST_MODIFIED = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#171 +# source://actionpack//lib/action_dispatch/http/cache.rb#171 ActionDispatch::Http::Cache::Response::MUST_REVALIDATE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#168 +# source://actionpack//lib/action_dispatch/http/cache.rb#168 ActionDispatch::Http::Cache::Response::NO_CACHE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#167 +# source://actionpack//lib/action_dispatch/http/cache.rb#167 ActionDispatch::Http::Cache::Response::NO_STORE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#170 +# source://actionpack//lib/action_dispatch/http/cache.rb#170 ActionDispatch::Http::Cache::Response::PRIVATE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#169 +# source://actionpack//lib/action_dispatch/http/cache.rb#169 ActionDispatch::Http::Cache::Response::PUBLIC = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/cache.rb#128 +# source://actionpack//lib/action_dispatch/http/cache.rb#128 ActionDispatch::Http::Cache::Response::SPECIAL_KEYS = T.let(T.unsafe(nil), Set) -# source://actionpack/lib/action_dispatch/http/content_disposition.rb#5 +# source://actionpack//lib/action_dispatch/http/content_disposition.rb#5 class ActionDispatch::Http::ContentDisposition # @return [ContentDisposition] a new instance of ContentDisposition # - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#12 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#12 def initialize(disposition:, filename:); end - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#19 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#19 def ascii_filename; end # Returns the value of attribute disposition. # - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#10 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#10 def disposition; end # Returns the value of attribute filename. # - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#10 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#10 def filename; end - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#29 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#29 def to_s; end - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#25 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#25 def utf8_filename; end private - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#38 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#38 def percent_escape(string, pattern); end class << self - # source://actionpack/lib/action_dispatch/http/content_disposition.rb#6 + # source://actionpack//lib/action_dispatch/http/content_disposition.rb#6 def format(disposition:, filename:); end end end -# source://actionpack/lib/action_dispatch/http/content_disposition.rb#23 +# source://actionpack//lib/action_dispatch/http/content_disposition.rb#23 ActionDispatch::Http::ContentDisposition::RFC_5987_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/content_disposition.rb#17 +# source://actionpack//lib/action_dispatch/http/content_disposition.rb#17 ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp) # = Action Dispatch HTTP Filter Parameters @@ -10730,69 +10738,69 @@ ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.uns # # For more information about filter behavior, see ActiveSupport::ParameterFilter. # -# source://actionpack/lib/action_dispatch/http/filter_parameters.rb#16 +# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#16 module ActionDispatch::Http::FilterParameters - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#21 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#21 def initialize; end # Returns a hash of request.env with all sensitive data replaced. # - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#37 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#37 def filtered_env; end # Returns a hash of parameters with all sensitive data replaced. # - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#30 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#30 def filtered_parameters; end # Reconstructs a path with all sensitive GET parameters replaced. # - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#42 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#42 def filtered_path; end # Returns the +ActiveSupport::ParameterFilter+ object used to filter in this request. # - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#47 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#47 def parameter_filter; end private - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#56 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#56 def env_filter; end - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#67 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#67 def filtered_query_string; end - # source://actionpack/lib/action_dispatch/http/filter_parameters.rb#63 + # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#63 def parameter_filter_for(filters); end end -# source://actionpack/lib/action_dispatch/http/filter_parameters.rb#17 +# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#17 ActionDispatch::Http::FilterParameters::ENV_MATCH = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/filter_parameters.rb#19 +# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#19 ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter) -# source://actionpack/lib/action_dispatch/http/filter_parameters.rb#18 +# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#18 ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter) -# source://actionpack/lib/action_dispatch/http/filter_redirect.rb#5 +# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#5 module ActionDispatch::Http::FilterRedirect - # source://actionpack/lib/action_dispatch/http/filter_redirect.rb#8 + # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#8 def filtered_location; end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/filter_redirect.rb#25 + # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#25 def location_filter_match?; end - # source://actionpack/lib/action_dispatch/http/filter_redirect.rb#17 + # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#17 def location_filters; end end -# source://actionpack/lib/action_dispatch/http/filter_redirect.rb#6 +# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#6 ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String) # = Action Dispatch HTTP \Headers @@ -10817,34 +10825,34 @@ ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String) # headers["X_Custom_Header"] # => nil # headers["X-Custom-Header"] # => "token" # -# source://actionpack/lib/action_dispatch/http/headers.rb#26 +# source://actionpack//lib/action_dispatch/http/headers.rb#26 class ActionDispatch::Http::Headers include ::Enumerable # @return [Headers] a new instance of Headers # - # source://actionpack/lib/action_dispatch/http/headers.rb#56 + # source://actionpack//lib/action_dispatch/http/headers.rb#56 def initialize(request); end # Returns the value for the given key mapped to @env. # - # source://actionpack/lib/action_dispatch/http/headers.rb#61 + # source://actionpack//lib/action_dispatch/http/headers.rb#61 def [](key); end # Sets the given value for the key mapped to @env. # - # source://actionpack/lib/action_dispatch/http/headers.rb#66 + # source://actionpack//lib/action_dispatch/http/headers.rb#66 def []=(key, value); end # Add a value to a multivalued header like +Vary+ or +Accept-Encoding+. # - # source://actionpack/lib/action_dispatch/http/headers.rb#71 + # source://actionpack//lib/action_dispatch/http/headers.rb#71 def add(key, value); end - # source://actionpack/lib/action_dispatch/http/headers.rb#97 + # source://actionpack//lib/action_dispatch/http/headers.rb#97 def each(&block); end - # source://actionpack/lib/action_dispatch/http/headers.rb#118 + # source://actionpack//lib/action_dispatch/http/headers.rb#118 def env; end # Returns the value for the given key mapped to @env. @@ -10855,30 +10863,30 @@ class ActionDispatch::Http::Headers # If the code block is provided, then it will be run and # its result returned. # - # source://actionpack/lib/action_dispatch/http/headers.rb#89 + # source://actionpack//lib/action_dispatch/http/headers.rb#89 def fetch(key, default = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/headers.rb#75 + # source://actionpack//lib/action_dispatch/http/headers.rb#78 def include?(key); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/headers.rb#75 + # source://actionpack//lib/action_dispatch/http/headers.rb#75 def key?(key); end # Returns a new Http::Headers instance containing the contents of # headers_or_env and the original instance. # - # source://actionpack/lib/action_dispatch/http/headers.rb#103 + # source://actionpack//lib/action_dispatch/http/headers.rb#103 def merge(headers_or_env); end # Adds the contents of headers_or_env to original instance # entries; duplicate keys are overwritten with the values from # headers_or_env. # - # source://actionpack/lib/action_dispatch/http/headers.rb#112 + # source://actionpack//lib/action_dispatch/http/headers.rb#112 def merge!(headers_or_env); end private @@ -10886,36 +10894,36 @@ class ActionDispatch::Http::Headers # Converts an HTTP header name to an environment variable name if it is # not contained within the headers hash. # - # source://actionpack/lib/action_dispatch/http/headers.rb#123 + # source://actionpack//lib/action_dispatch/http/headers.rb#123 def env_name(key); end class << self - # source://actionpack/lib/action_dispatch/http/headers.rb#52 + # source://actionpack//lib/action_dispatch/http/headers.rb#52 def from_hash(hash); end end end -# source://actionpack/lib/action_dispatch/http/headers.rb#27 +# source://actionpack//lib/action_dispatch/http/headers.rb#27 ActionDispatch::Http::Headers::CGI_VARIABLES = T.let(T.unsafe(nil), Set) -# source://actionpack/lib/action_dispatch/http/headers.rb#80 +# source://actionpack//lib/action_dispatch/http/headers.rb#80 ActionDispatch::Http::Headers::DEFAULT = T.let(T.unsafe(nil), Object) -# source://actionpack/lib/action_dispatch/http/headers.rb#48 +# source://actionpack//lib/action_dispatch/http/headers.rb#48 ActionDispatch::Http::Headers::HTTP_HEADER = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#7 +# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#7 module ActionDispatch::Http::MimeNegotiation extend ::ActiveSupport::Concern # Returns the accepted MIME type for the request. # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#54 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#54 def accepts; end # The MIME type of the HTTP request, such as Mime[:xml]. # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#36 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#36 def content_mime_type; end # Returns the MIME type for the \format used in the request. @@ -10924,7 +10932,7 @@ module ActionDispatch::Http::MimeNegotiation # GET /posts/5.xhtml | request.format => Mime[:html] # GET /posts/5 | request.format => Mime[:html] or Mime[:js], or request.accepts.first # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#75 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#75 def format(_view_path = T.unsafe(nil)); end # Sets the \format by string extension, which can be used to force custom formats @@ -10939,10 +10947,10 @@ module ActionDispatch::Http::MimeNegotiation # end # end # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#127 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#127 def format=(extension); end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#79 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#79 def formats; end # Sets the \formats by string extensions. This differs from #format= by allowing you @@ -10960,62 +10968,62 @@ module ActionDispatch::Http::MimeNegotiation # end # end # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#146 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#146 def formats=(extensions); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#49 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#49 def has_content_type?; end # Returns the first MIME type that matches the provided array of MIME types. # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#154 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#154 def negotiate_mime(order); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#166 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#166 def should_apply_vary_header?; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#112 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#112 def variant; end # Sets the \variant for template. # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#102 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#102 def variant=(variant); end private - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#190 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#190 def format_from_path_extension; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#175 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#175 def params_readable?; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#186 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#186 def use_accept_header; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#181 + # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#181 def valid_accept_header; end end # We use normal content negotiation unless you include */* in your list, # in which case we assume you're a browser and send HTML. # -# source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#173 +# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#173 ActionDispatch::Http::MimeNegotiation::BROWSER_LIKE_ACCEPTS = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#10 +# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#10 class ActionDispatch::Http::MimeNegotiation::InvalidType < ::Mime::Type::InvalidMimeType; end -# source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#12 +# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#12 ActionDispatch::Http::MimeNegotiation::RESCUABLE_MIME_FORMAT_ERRORS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/parameters.rb#5 +# source://actionpack//lib/action_dispatch/http/parameters.rb#5 module ActionDispatch::Http::Parameters extend ::ActiveSupport::Concern @@ -11023,12 +11031,12 @@ module ActionDispatch::Http::Parameters # Returns both GET and POST \parameters in a single hash. # - # source://actionpack/lib/action_dispatch/http/parameters.rb#50 + # source://actionpack//lib/action_dispatch/http/parameters.rb#50 def parameters; end # Returns both GET and POST \parameters in a single hash. # - # source://actionpack/lib/action_dispatch/http/parameters.rb#50 + # source://actionpack//lib/action_dispatch/http/parameters.rb#63 def params; end # Returns a hash with the \parameters used to form the \path of the request. @@ -11036,25 +11044,25 @@ module ActionDispatch::Http::Parameters # # { action: "my_action", controller: "my_controller" } # - # source://actionpack/lib/action_dispatch/http/parameters.rb#82 + # source://actionpack//lib/action_dispatch/http/parameters.rb#82 def path_parameters; end - # source://actionpack/lib/action_dispatch/http/parameters.rb#65 + # source://actionpack//lib/action_dispatch/http/parameters.rb#65 def path_parameters=(parameters); end private - # source://actionpack/lib/action_dispatch/http/parameters.rb#100 + # source://actionpack//lib/action_dispatch/http/parameters.rb#100 def log_parse_error_once; end - # source://actionpack/lib/action_dispatch/http/parameters.rb#112 + # source://actionpack//lib/action_dispatch/http/parameters.rb#112 def params_parsers; end - # source://actionpack/lib/action_dispatch/http/parameters.rb#87 + # source://actionpack//lib/action_dispatch/http/parameters.rb#87 def parse_formatted_parameters(parsers); end end -# source://actionpack/lib/action_dispatch/http/parameters.rb#34 +# source://actionpack//lib/action_dispatch/http/parameters.rb#34 module ActionDispatch::Http::Parameters::ClassMethods # Configure the parameter parser for a given MIME type. # @@ -11066,36 +11074,36 @@ module ActionDispatch::Http::Parameters::ClassMethods # new_parsers = original_parsers.merge(xml: xml_parser) # ActionDispatch::Request.parameter_parsers = new_parsers # - # source://actionpack/lib/action_dispatch/http/parameters.rb#44 + # source://actionpack//lib/action_dispatch/http/parameters.rb#44 def parameter_parsers=(parsers); end end -# source://actionpack/lib/action_dispatch/http/parameters.rb#10 +# source://actionpack//lib/action_dispatch/http/parameters.rb#10 ActionDispatch::Http::Parameters::DEFAULT_PARSERS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/parameters.rb#8 +# source://actionpack//lib/action_dispatch/http/parameters.rb#8 ActionDispatch::Http::Parameters::PARAMETERS_KEY = T.let(T.unsafe(nil), String) # Raised when raw data from the request cannot be parsed by the parser # defined for request's content MIME type. # -# source://actionpack/lib/action_dispatch/http/parameters.rb#19 +# source://actionpack//lib/action_dispatch/http/parameters.rb#19 class ActionDispatch::Http::Parameters::ParseError < ::StandardError # @return [ParseError] a new instance of ParseError # - # source://actionpack/lib/action_dispatch/http/parameters.rb#20 + # source://actionpack//lib/action_dispatch/http/parameters.rb#20 def initialize(message = T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/http/url.rb#7 +# source://actionpack//lib/action_dispatch/http/url.rb#7 module ActionDispatch::Http::URL - # source://actionpack/lib/action_dispatch/http/url.rb#179 + # source://actionpack//lib/action_dispatch/http/url.rb#179 def initialize; end # Returns the \domain part of a \host, such as "rubyonrails.org" in "www.rubyonrails.org". You can specify # a different tld_length, such as 2 to catch rubyonrails.co.uk in "www.rubyonrails.co.uk". # - # source://actionpack/lib/action_dispatch/http/url.rb#321 + # source://actionpack//lib/action_dispatch/http/url.rb#321 def domain(tld_length = T.unsafe(nil)); end # Returns the host for this request, such as "example.com". @@ -11103,7 +11111,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.host # => "example.com" # - # source://actionpack/lib/action_dispatch/http/url.rb#226 + # source://actionpack//lib/action_dispatch/http/url.rb#226 def host; end # Returns a \host:\port string for this request, such as "example.com" or @@ -11119,7 +11127,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.host_with_port # => "example.com:8080" # - # source://actionpack/lib/action_dispatch/http/url.rb#242 + # source://actionpack//lib/action_dispatch/http/url.rb#242 def host_with_port; end # Returns a number \port suffix like 8080 if the \port number of this request @@ -11131,7 +11139,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.optional_port # => 8080 # - # source://actionpack/lib/action_dispatch/http/url.rb#292 + # source://actionpack//lib/action_dispatch/http/url.rb#292 def optional_port; end # Returns the port number of this request as an integer. @@ -11142,7 +11150,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.port # => 8080 # - # source://actionpack/lib/action_dispatch/http/url.rb#253 + # source://actionpack//lib/action_dispatch/http/url.rb#253 def port; end # Returns a string \port suffix, including colon, like ":8080" if the \port @@ -11154,7 +11162,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.port_string # => ":8080" # - # source://actionpack/lib/action_dispatch/http/url.rb#304 + # source://actionpack//lib/action_dispatch/http/url.rb#304 def port_string; end # Returns 'https://' if this is an SSL request and 'http://' otherwise. @@ -11165,7 +11173,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com', 'HTTPS' => 'on' # req.protocol # => "https://" # - # source://actionpack/lib/action_dispatch/http/url.rb#200 + # source://actionpack//lib/action_dispatch/http/url.rb#200 def protocol; end # Returns the \host and port for this request, such as "example.com:8080". @@ -11179,13 +11187,13 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.raw_host_with_port # => "example.com:8080" # - # source://actionpack/lib/action_dispatch/http/url.rb#214 + # source://actionpack//lib/action_dispatch/http/url.rb#214 def raw_host_with_port; end - # source://actionpack/lib/action_dispatch/http/url.rb#12 + # source://actionpack//lib/action_dispatch/http/url.rb#12 def secure_protocol; end - # source://actionpack/lib/action_dispatch/http/url.rb#12 + # source://actionpack//lib/action_dispatch/http/url.rb#12 def secure_protocol=(val); end # Returns the requested port, such as 8080, based on SERVER_PORT @@ -11196,7 +11204,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'SERVER_PORT' => '8080' # req.server_port # => 8080 # - # source://actionpack/lib/action_dispatch/http/url.rb#315 + # source://actionpack//lib/action_dispatch/http/url.rb#315 def server_port; end # Returns the standard \port number for this request's protocol. @@ -11204,7 +11212,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080' # req.standard_port # => 80 # - # source://actionpack/lib/action_dispatch/http/url.rb#265 + # source://actionpack//lib/action_dispatch/http/url.rb#265 def standard_port; end # Returns whether this request is using the standard port @@ -11217,7 +11225,7 @@ module ActionDispatch::Http::URL # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/url.rb#280 + # source://actionpack//lib/action_dispatch/http/url.rb#280 def standard_port?; end # Returns all the \subdomains as a string, so "dev.www" would be @@ -11225,7 +11233,7 @@ module ActionDispatch::Http::URL # such as 2 to catch "www" instead of "www.rubyonrails" # in "www.rubyonrails.co.uk". # - # source://actionpack/lib/action_dispatch/http/url.rb#337 + # source://actionpack//lib/action_dispatch/http/url.rb#337 def subdomain(tld_length = T.unsafe(nil)); end # Returns all the \subdomains as an array, so ["dev", "www"] would be @@ -11233,13 +11241,13 @@ module ActionDispatch::Http::URL # such as 2 to catch ["www"] instead of ["www", "rubyonrails"] # in "www.rubyonrails.co.uk". # - # source://actionpack/lib/action_dispatch/http/url.rb#329 + # source://actionpack//lib/action_dispatch/http/url.rb#329 def subdomains(tld_length = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/url.rb#13 + # source://actionpack//lib/action_dispatch/http/url.rb#13 def tld_length; end - # source://actionpack/lib/action_dispatch/http/url.rb#13 + # source://actionpack//lib/action_dispatch/http/url.rb#13 def tld_length=(val); end # Returns the complete URL used for this request. @@ -11247,7 +11255,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com' # req.url # => "http://example.com" # - # source://actionpack/lib/action_dispatch/http/url.rb#189 + # source://actionpack//lib/action_dispatch/http/url.rb#189 def url; end class << self @@ -11258,7 +11266,7 @@ module ActionDispatch::Http::URL # # Second-level domain example # extract_domain('dev.www.example.co.uk', 2) # => "example.co.uk" # - # source://actionpack/lib/action_dispatch/http/url.rb#22 + # source://actionpack//lib/action_dispatch/http/url.rb#22 def extract_domain(host, tld_length); end # Returns the subdomains of a host as a String given the domain level. @@ -11268,7 +11276,7 @@ module ActionDispatch::Http::URL # # Second-level domain example # extract_subdomain('dev.www.example.co.uk', 2) # => "dev.www" # - # source://actionpack/lib/action_dispatch/http/url.rb#46 + # source://actionpack//lib/action_dispatch/http/url.rb#46 def extract_subdomain(host, tld_length); end # Returns the subdomains of a host as an Array given the domain level. @@ -11278,70 +11286,70 @@ module ActionDispatch::Http::URL # # Second-level domain example # extract_subdomains('dev.www.example.co.uk', 2) # => ["dev", "www"] # - # source://actionpack/lib/action_dispatch/http/url.rb#32 + # source://actionpack//lib/action_dispatch/http/url.rb#32 def extract_subdomains(host, tld_length); end - # source://actionpack/lib/action_dispatch/http/url.rb#58 + # source://actionpack//lib/action_dispatch/http/url.rb#58 def full_url_for(options); end - # source://actionpack/lib/action_dispatch/http/url.rb#70 + # source://actionpack//lib/action_dispatch/http/url.rb#70 def path_for(options); end - # source://actionpack/lib/action_dispatch/http/url.rb#12 + # source://actionpack//lib/action_dispatch/http/url.rb#12 def secure_protocol; end - # source://actionpack/lib/action_dispatch/http/url.rb#12 + # source://actionpack//lib/action_dispatch/http/url.rb#12 def secure_protocol=(val); end - # source://actionpack/lib/action_dispatch/http/url.rb#13 + # source://actionpack//lib/action_dispatch/http/url.rb#13 def tld_length; end - # source://actionpack/lib/action_dispatch/http/url.rb#13 + # source://actionpack//lib/action_dispatch/http/url.rb#13 def tld_length=(val); end - # source://actionpack/lib/action_dispatch/http/url.rb#50 + # source://actionpack//lib/action_dispatch/http/url.rb#50 def url_for(options); end private - # source://actionpack/lib/action_dispatch/http/url.rb#90 + # source://actionpack//lib/action_dispatch/http/url.rb#90 def add_anchor(path, anchor); end - # source://actionpack/lib/action_dispatch/http/url.rb#83 + # source://actionpack//lib/action_dispatch/http/url.rb#83 def add_params(path, params); end - # source://actionpack/lib/action_dispatch/http/url.rb#105 + # source://actionpack//lib/action_dispatch/http/url.rb#105 def build_host_url(host, port, protocol, options, path); end - # source://actionpack/lib/action_dispatch/http/url.rb#96 + # source://actionpack//lib/action_dispatch/http/url.rb#96 def extract_domain_from(host, tld_length); end - # source://actionpack/lib/action_dispatch/http/url.rb#100 + # source://actionpack//lib/action_dispatch/http/url.rb#100 def extract_subdomains_from(host, tld_length); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/url.rb#129 + # source://actionpack//lib/action_dispatch/http/url.rb#129 def named_host?(host); end - # source://actionpack/lib/action_dispatch/http/url.rb#146 + # source://actionpack//lib/action_dispatch/http/url.rb#146 def normalize_host(_host, options); end - # source://actionpack/lib/action_dispatch/http/url.rb#166 + # source://actionpack//lib/action_dispatch/http/url.rb#166 def normalize_port(port, protocol); end - # source://actionpack/lib/action_dispatch/http/url.rb#133 + # source://actionpack//lib/action_dispatch/http/url.rb#133 def normalize_protocol(protocol); end end end -# source://actionpack/lib/action_dispatch/http/url.rb#9 +# source://actionpack//lib/action_dispatch/http/url.rb#9 ActionDispatch::Http::URL::HOST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/url.rb#8 +# source://actionpack//lib/action_dispatch/http/url.rb#8 ActionDispatch::Http::URL::IP_HOST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/url.rb#10 +# source://actionpack//lib/action_dispatch/http/url.rb#10 ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp) # = Action Dispatch HTTP \UploadedFile @@ -11355,111 +11363,111 @@ ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp) # the object is finalized Ruby unlinks the file, so there is no need to # clean them with a separate maintenance task. # -# source://actionpack/lib/action_dispatch/http/upload.rb#15 +# source://actionpack//lib/action_dispatch/http/upload.rb#15 class ActionDispatch::Http::UploadedFile # @raise [ArgumentError] # @return [UploadedFile] a new instance of UploadedFile # - # source://actionpack/lib/action_dispatch/http/upload.rb#29 + # source://actionpack//lib/action_dispatch/http/upload.rb#29 def initialize(hash); end # Shortcut for +tempfile.close+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#71 + # source://actionpack//lib/action_dispatch/http/upload.rb#71 def close(unlink_now = T.unsafe(nil)); end # A string with the MIME type of the file. # - # source://actionpack/lib/action_dispatch/http/upload.rb#20 + # source://actionpack//lib/action_dispatch/http/upload.rb#20 def content_type; end # A string with the MIME type of the file. # - # source://actionpack/lib/action_dispatch/http/upload.rb#20 + # source://actionpack//lib/action_dispatch/http/upload.rb#20 def content_type=(_arg0); end # Shortcut for +tempfile.eof?+. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/upload.rb#96 + # source://actionpack//lib/action_dispatch/http/upload.rb#96 def eof?; end # A string with the headers of the multipart request. # - # source://actionpack/lib/action_dispatch/http/upload.rb#27 + # source://actionpack//lib/action_dispatch/http/upload.rb#27 def headers; end # A string with the headers of the multipart request. # - # source://actionpack/lib/action_dispatch/http/upload.rb#27 + # source://actionpack//lib/action_dispatch/http/upload.rb#27 def headers=(_arg0); end # Shortcut for +tempfile.open+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#66 + # source://actionpack//lib/action_dispatch/http/upload.rb#66 def open; end # The basename of the file in the client. # - # source://actionpack/lib/action_dispatch/http/upload.rb#17 + # source://actionpack//lib/action_dispatch/http/upload.rb#17 def original_filename; end # The basename of the file in the client. # - # source://actionpack/lib/action_dispatch/http/upload.rb#17 + # source://actionpack//lib/action_dispatch/http/upload.rb#17 def original_filename=(_arg0); end # Shortcut for +tempfile.path+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#76 + # source://actionpack//lib/action_dispatch/http/upload.rb#76 def path; end # Shortcut for +tempfile.read+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#61 + # source://actionpack//lib/action_dispatch/http/upload.rb#61 def read(length = T.unsafe(nil), buffer = T.unsafe(nil)); end # Shortcut for +tempfile.rewind+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#86 + # source://actionpack//lib/action_dispatch/http/upload.rb#86 def rewind; end # Shortcut for +tempfile.size+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#91 + # source://actionpack//lib/action_dispatch/http/upload.rb#91 def size; end # A +Tempfile+ object with the actual uploaded file. Note that some of # its interface is available directly. # - # source://actionpack/lib/action_dispatch/http/upload.rb#24 + # source://actionpack//lib/action_dispatch/http/upload.rb#24 def tempfile; end # A +Tempfile+ object with the actual uploaded file. Note that some of # its interface is available directly. # - # source://actionpack/lib/action_dispatch/http/upload.rb#24 + # source://actionpack//lib/action_dispatch/http/upload.rb#24 def tempfile=(_arg0); end - # source://actionpack/lib/action_dispatch/http/upload.rb#100 + # source://actionpack//lib/action_dispatch/http/upload.rb#100 def to_io; end # Shortcut for +tempfile.to_path+. # - # source://actionpack/lib/action_dispatch/http/upload.rb#81 + # source://actionpack//lib/action_dispatch/http/upload.rb#81 def to_path; end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#11 +# source://actionpack//lib/action_dispatch/testing/integration.rb#11 module ActionDispatch::Integration; end -# source://actionpack/lib/action_dispatch/testing/integration.rb#12 +# source://actionpack//lib/action_dispatch/testing/integration.rb#12 module ActionDispatch::Integration::RequestHelpers # Performs a DELETE request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#39 + # source://actionpack//lib/action_dispatch/testing/integration.rb#39 def delete(path, **args); end # Follow a single redirect response. If the last response was not a @@ -11471,47 +11479,47 @@ module ActionDispatch::Integration::RequestHelpers # # The HTTP_REFERER header will be set to the previous url. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#63 + # source://actionpack//lib/action_dispatch/testing/integration.rb#63 def follow_redirect!(headers: T.unsafe(nil), **args); end # Performs a GET request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#15 + # source://actionpack//lib/action_dispatch/testing/integration.rb#15 def get(path, **args); end # Performs a HEAD request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#45 + # source://actionpack//lib/action_dispatch/testing/integration.rb#45 def head(path, **args); end # Performs an OPTIONS request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#51 + # source://actionpack//lib/action_dispatch/testing/integration.rb#51 def options(path, **args); end # Performs a PATCH request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#27 + # source://actionpack//lib/action_dispatch/testing/integration.rb#27 def patch(path, **args); end # Performs a POST request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#21 + # source://actionpack//lib/action_dispatch/testing/integration.rb#21 def post(path, **args); end # Performs a PUT request with the given parameters. See ActionDispatch::Integration::Session#process # for more details. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#33 + # source://actionpack//lib/action_dispatch/testing/integration.rb#33 def put(path, **args); end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#325 +# source://actionpack//lib/action_dispatch/testing/integration.rb#325 module ActionDispatch::Integration::Runner include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -11521,57 +11529,57 @@ module ActionDispatch::Integration::Runner include ::ActionDispatch::Assertions extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack/lib/action_dispatch/testing/integration.rb#333 + # source://actionpack//lib/action_dispatch/testing/integration.rb#333 def initialize(*args, &blk); end # Returns the value of attribute app. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#330 + # source://actionpack//lib/action_dispatch/testing/integration.rb#330 def app; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#404 + # source://actionpack//lib/action_dispatch/testing/integration.rb#404 def assertions; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#408 + # source://actionpack//lib/action_dispatch/testing/integration.rb#408 def assertions=(assertions); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def assigns(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#338 + # source://actionpack//lib/action_dispatch/testing/integration.rb#338 def before_setup; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def cookies(*_arg0, **_arg1, &_arg2); end # Copy the instance variables from the current session instance into the # test instance. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#414 + # source://actionpack//lib/action_dispatch/testing/integration.rb#414 def copy_session_variables!; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#353 + # source://actionpack//lib/action_dispatch/testing/integration.rb#353 def create_session(app); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#420 + # source://actionpack//lib/action_dispatch/testing/integration.rb#420 def default_url_options; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#424 + # source://actionpack//lib/action_dispatch/testing/integration.rb#424 def default_url_options=(options); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def delete(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def follow_redirect!(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def get(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def head(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#343 + # source://actionpack//lib/action_dispatch/testing/integration.rb#343 def integration_session; end # Open a new session instance. If a block is given, the new session is @@ -11585,47 +11593,47 @@ module ActionDispatch::Integration::Runner # can use this method to open multiple sessions that ought to be tested # simultaneously. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#396 + # source://actionpack//lib/action_dispatch/testing/integration.rb#396 def open_session; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def patch(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def post(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def put(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#365 + # source://actionpack//lib/action_dispatch/testing/integration.rb#365 def remove!; end # Reset the current session. This is useful for testing multiple sessions # in a single test case. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#349 + # source://actionpack//lib/action_dispatch/testing/integration.rb#349 def reset!; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#331 + # source://actionpack//lib/action_dispatch/testing/integration.rb#331 def root_session; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#331 + # source://actionpack//lib/action_dispatch/testing/integration.rb#331 def root_session=(_arg0); end private # Delegate unhandled messages to the current session instance. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#434 + # source://actionpack//lib/action_dispatch/testing/integration.rb#434 def method_missing(method, *args, **_arg2, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/testing/integration.rb#429 + # source://actionpack//lib/action_dispatch/testing/integration.rb#429 def respond_to_missing?(method, _); end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#328 +# source://actionpack//lib/action_dispatch/testing/integration.rb#328 ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash) # An instance of this class represents a set of requests and responses @@ -11636,7 +11644,7 @@ ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash) # Typically, you will instantiate a new session using Runner#open_session, # rather than instantiating a \Session directly. # -# source://actionpack/lib/action_dispatch/testing/integration.rb#89 +# source://actionpack//lib/action_dispatch/testing/integration.rb#89 class ActionDispatch::Integration::Session include ::Minitest::Assertions include ::ActionDispatch::Assertions::RoutingAssertions @@ -11656,48 +11664,48 @@ class ActionDispatch::Integration::Session # # @return [Session] a new instance of Session # - # source://actionpack/lib/action_dispatch/testing/integration.rb#131 + # source://actionpack//lib/action_dispatch/testing/integration.rb#131 def initialize(app); end # The Accept header to send. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#108 + # source://actionpack//lib/action_dispatch/testing/integration.rb#108 def accept; end # The Accept header to send. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#108 + # source://actionpack//lib/action_dispatch/testing/integration.rb#108 def accept=(_arg0); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#95 + # source://actionpack//lib/action_dispatch/testing/integration.rb#95 def body(*_arg0, **_arg1, &_arg2); end # A reference to the controller instance used by the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#117 + # source://actionpack//lib/action_dispatch/testing/integration.rb#117 def controller; end # A map of the cookies returned by the last response, and which will be # sent with the next request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#112 + # source://actionpack//lib/action_dispatch/testing/integration.rb#112 def cookies; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options?; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#95 + # source://actionpack//lib/action_dispatch/testing/integration.rb#95 def headers(*_arg0, **_arg1, &_arg2); end # The hostname used in the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#99 + # source://actionpack//lib/action_dispatch/testing/integration.rb#99 def host; end # Sets the attribute host @@ -11707,14 +11715,14 @@ class ActionDispatch::Integration::Session # # @param value the value to set the attribute host to. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#102 + # source://actionpack//lib/action_dispatch/testing/integration.rb#306 def host!(_arg0); end # Sets the attribute host # # @param value the value to set the attribute host to. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#102 + # source://actionpack//lib/action_dispatch/testing/integration.rb#102 def host=(_arg0); end # Specify whether or not the session should mimic a secure HTTPS request. @@ -11722,7 +11730,7 @@ class ActionDispatch::Integration::Session # session.https! # session.https!(false) # - # source://actionpack/lib/action_dispatch/testing/integration.rb#179 + # source://actionpack//lib/action_dispatch/testing/integration.rb#179 def https!(flag = T.unsafe(nil)); end # Returns +true+ if the session is mimicking a secure HTTPS request. @@ -11733,10 +11741,10 @@ class ActionDispatch::Integration::Session # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/testing/integration.rb#188 + # source://actionpack//lib/action_dispatch/testing/integration.rb#188 def https?; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#96 + # source://actionpack//lib/action_dispatch/testing/integration.rb#96 def path(*_arg0, **_arg1, &_arg2); end # Performs the actual request. @@ -11774,35 +11782,35 @@ class ActionDispatch::Integration::Session # Example: # process :get, '/author', params: { since: 201501011400 } # - # source://actionpack/lib/action_dispatch/testing/integration.rb#226 + # source://actionpack//lib/action_dispatch/testing/integration.rb#226 def process(method, path, params: T.unsafe(nil), headers: T.unsafe(nil), env: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#95 + # source://actionpack//lib/action_dispatch/testing/integration.rb#95 def redirect?(*_arg0, **_arg1, &_arg2); end # The remote_addr used in the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#105 + # source://actionpack//lib/action_dispatch/testing/integration.rb#105 def remote_addr; end # The remote_addr used in the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#105 + # source://actionpack//lib/action_dispatch/testing/integration.rb#105 def remote_addr=(_arg0); end # A reference to the request instance used by the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#120 + # source://actionpack//lib/action_dispatch/testing/integration.rb#120 def request; end # A running counter of the number of requests processed. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#126 + # source://actionpack//lib/action_dispatch/testing/integration.rb#126 def request_count; end # A running counter of the number of requests processed. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#126 + # source://actionpack//lib/action_dispatch/testing/integration.rb#126 def request_count=(_arg0); end # Resets the instance. This can be used to reset the state information @@ -11811,49 +11819,49 @@ class ActionDispatch::Integration::Session # # session.reset! # - # source://actionpack/lib/action_dispatch/testing/integration.rb#155 + # source://actionpack//lib/action_dispatch/testing/integration.rb#155 def reset!; end # A reference to the response instance used by the last request. # - # source://actionpack/lib/action_dispatch/testing/integration.rb#123 + # source://actionpack//lib/action_dispatch/testing/integration.rb#123 def response; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#95 + # source://actionpack//lib/action_dispatch/testing/integration.rb#95 def status(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#95 + # source://actionpack//lib/action_dispatch/testing/integration.rb#95 def status_message(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#138 + # source://actionpack//lib/action_dispatch/testing/integration.rb#138 def url_options; end private - # source://actionpack/lib/action_dispatch/testing/integration.rb#309 + # source://actionpack//lib/action_dispatch/testing/integration.rb#309 def _mock_session; end # @yield [location] # - # source://actionpack/lib/action_dispatch/testing/integration.rb#317 + # source://actionpack//lib/action_dispatch/testing/integration.rb#317 def build_expanded_path(path); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#313 + # source://actionpack//lib/action_dispatch/testing/integration.rb#313 def build_full_uri(path, env); end class << self - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options?; end end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#90 +# source://actionpack//lib/action_dispatch/testing/integration.rb#90 ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String) # An integration test spans multiple controllers and actions, @@ -12050,7 +12058,7 @@ ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String # # Consult the {Rails Testing Guide}[https://guides.rubyonrails.org/testing.html] for more. # -# source://actionpack/lib/action_dispatch/testing/integration.rb#641 +# source://actionpack//lib/action_dispatch/testing/integration.rb#641 class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::Assertions::RoutingAssertions @@ -12068,7 +12076,7 @@ class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase extend ::ActionDispatch::IntegrationTest::Behavior::ClassMethods end -# source://actionpack/lib/action_dispatch/testing/integration.rb#651 +# source://actionpack//lib/action_dispatch/testing/integration.rb#651 module ActionDispatch::IntegrationTest::Behavior include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -12084,159 +12092,176 @@ module ActionDispatch::IntegrationTest::Behavior mixes_in_class_methods ::ActionDispatch::IntegrationTest::Behavior::ClassMethods - # source://actionpack/lib/action_dispatch/testing/integration.rb#682 + # source://actionpack//lib/action_dispatch/testing/integration.rb#682 def app; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#686 + # source://actionpack//lib/action_dispatch/testing/integration.rb#686 def document_root_element; end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#664 +# source://actionpack//lib/action_dispatch/testing/integration.rb#664 module ActionDispatch::IntegrationTest::Behavior::ClassMethods - # source://actionpack/lib/action_dispatch/testing/integration.rb#665 + # source://actionpack//lib/action_dispatch/testing/integration.rb#665 def app; end - # source://actionpack/lib/action_dispatch/testing/integration.rb#673 + # source://actionpack//lib/action_dispatch/testing/integration.rb#673 def app=(app); end - # source://actionpack/lib/action_dispatch/testing/integration.rb#677 + # source://actionpack//lib/action_dispatch/testing/integration.rb#677 def register_encoder(*args, **options); end end -# source://actionpack/lib/action_dispatch/testing/integration.rb#644 +# source://actionpack//lib/action_dispatch/testing/integration.rb#644 module ActionDispatch::IntegrationTest::UrlOptions extend ::ActiveSupport::Concern - # source://actionpack/lib/action_dispatch/testing/integration.rb#646 + # source://actionpack//lib/action_dispatch/testing/integration.rb#646 def url_options; end end # :stopdoc: # -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#4 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#4 module ActionDispatch::Journey; end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#7 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#7 class ActionDispatch::Journey::Ast # @return [Ast] a new instance of Ast # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#11 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#11 def initialize(tree, formatted); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#37 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#37 def glob?; end # Returns the value of attribute names. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 def names; end # Returns the value of attribute path_params. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 def path_params; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#23 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#23 def requirements=(requirements); end # Returns the value of attribute tree. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#9 def root; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#33 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#33 def route=(route); end # Returns the value of attribute terminals. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 def terminals; end # Returns the value of attribute tree. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 def tree; end # Returns the value of attribute wildcard_options. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 def wildcard_options; end private # Returns the value of attribute stars. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#42 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#42 def stars; end # Returns the value of attribute symbols. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#42 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#42 def symbols; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#44 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#44 def visit_tree(formatted); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#6 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#6 class ActionDispatch::Journey::Format # @return [Format] a new instance of Format # - # source://actionpack/lib/action_dispatch/journey/visitors.rb#22 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#22 def initialize(parts); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#37 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#37 def evaluate(hash); end class << self - # source://actionpack/lib/action_dispatch/journey/visitors.rb#14 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#14 def required_path(symbol); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#18 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#18 def required_segment(symbol); end end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#7 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#7 ActionDispatch::Journey::Format::ESCAPE_PATH = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/journey/visitors.rb#8 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#8 ActionDispatch::Journey::Format::ESCAPE_SEGMENT = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/journey/visitors.rb#10 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#10 class ActionDispatch::Journey::Format::Parameter < ::Struct - # source://actionpack/lib/action_dispatch/journey/visitors.rb#11 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#11 def escape(value); end # Returns the value of attribute escaper # # @return [Object] the current value of escaper + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def escaper; end # Sets the attribute escaper # # @param value [Object] the value to set the attribute escaper to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def escaper=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def name=(_); end class << self + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def inspect; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def members; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def new(*_arg0); end end end @@ -12244,864 +12269,864 @@ end # The Formatter class is used for formatting URLs. For example, parameters # passed to +url_for+ in Rails will eventually call Formatter#generate. # -# source://actionpack/lib/action_dispatch/journey/formatter.rb#10 +# source://actionpack//lib/action_dispatch/journey/formatter.rb#10 class ActionDispatch::Journey::Formatter # @return [Formatter] a new instance of Formatter # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#13 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#13 def initialize(routes); end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#103 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#103 def clear; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#59 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#59 def generate(name, options, path_parameters); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#11 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#11 def routes; end private - # source://actionpack/lib/action_dispatch/journey/formatter.rb#202 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#202 def build_cache; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#213 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#213 def cache; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#108 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#108 def extract_parameterized_parts(route, options, recall); end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#135 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#135 def match_route(name, options); end # Returns an array populated with missing keys if any are present. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#174 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#174 def missing_keys(route, parts); end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#131 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#131 def named_routes; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#157 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#157 def non_recursive(cache, options); end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#194 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#194 def possibles(cache, options, depth = T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/journey/formatter.rb#32 +# source://actionpack//lib/action_dispatch/journey/formatter.rb#32 class ActionDispatch::Journey::Formatter::MissingRoute # @return [MissingRoute] a new instance of MissingRoute # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#35 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 def initialize(constraints, missing_keys, unmatched_keys, routes, name); end # Returns the value of attribute constraints. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#33 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#33 def constraints; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#51 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#51 def message; end # Returns the value of attribute missing_keys. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#33 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#33 def missing_keys; end # Returns the value of attribute name. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#33 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#33 def name; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#47 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#47 def params; end # @raise [ActionController::UrlGenerationError] # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#43 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#43 def path(method_name); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#33 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#33 def routes; end # Returns the value of attribute unmatched_keys. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#33 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#33 def unmatched_keys; end end -# source://actionpack/lib/action_dispatch/journey/formatter.rb#18 +# source://actionpack//lib/action_dispatch/journey/formatter.rb#18 class ActionDispatch::Journey::Formatter::RouteWithParams # @return [RouteWithParams] a new instance of RouteWithParams # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#21 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#21 def initialize(route, parameterized_parts, params); end # Returns the value of attribute params. # - # source://actionpack/lib/action_dispatch/journey/formatter.rb#19 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#19 def params; end - # source://actionpack/lib/action_dispatch/journey/formatter.rb#27 + # source://actionpack//lib/action_dispatch/journey/formatter.rb#27 def path(_); end end -# source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#7 +# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#7 module ActionDispatch::Journey::GTG; end -# source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#8 +# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#8 class ActionDispatch::Journey::GTG::Builder # @return [Builder] a new instance of Builder # - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#13 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13 def initialize(root); end # Returns the value of attribute ast. # - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#11 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#11 def ast; end # Returns the value of attribute endpoints. # - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#11 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#11 def endpoints; end - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#86 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#86 def firstpos(node); end - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#107 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#107 def lastpos(node); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#64 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#64 def nullable?(node); end # Returns the value of attribute root. # - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#11 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#11 def root; end - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#19 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#19 def transition_table; end private - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#129 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#129 def build_followpos; end - # source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#142 + # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#142 def symbol(edge); end end -# source://actionpack/lib/action_dispatch/journey/gtg/builder.rb#9 +# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#9 ActionDispatch::Journey::GTG::Builder::DUMMY_END_NODE = T.let(T.unsafe(nil), ActionDispatch::Journey::Nodes::Dummy) -# source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#8 +# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#8 class ActionDispatch::Journey::GTG::MatchData # @return [MatchData] a new instance of MatchData # - # source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#11 + # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#11 def initialize(memos); end # Returns the value of attribute memos. # - # source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#9 + # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#9 def memos; end end -# source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#16 +# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#16 class ActionDispatch::Journey::GTG::Simulator # @return [Simulator] a new instance of Simulator # - # source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#21 + # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#21 def initialize(transition_table); end - # source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#25 + # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#25 def memos(string); end # Returns the value of attribute tt. # - # source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#19 + # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#19 def tt; end end -# source://actionpack/lib/action_dispatch/journey/gtg/simulator.rb#17 +# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#17 ActionDispatch::Journey::GTG::Simulator::INITIAL_STATE = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#8 +# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#8 class ActionDispatch::Journey::GTG::TransitionTable include ::ActionDispatch::Journey::NFA::Dot # @return [TransitionTable] a new instance of TransitionTable # - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#16 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#16 def initialize; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#163 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#163 def []=(from, to, sym); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#32 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#32 def accepting?(state); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#28 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#28 def accepting_states; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#24 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#24 def add_accepting(state); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#36 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#36 def add_memo(idx, memo); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#98 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#98 def as_json(options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#44 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#44 def eclosure(t); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#40 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#40 def memo(idx); end # Returns the value of attribute memos. # - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#11 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#11 def memos; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#48 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#48 def move(t, full_string, start_index, end_index); end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#180 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#180 def states; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#115 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#115 def to_svg; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#187 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#187 def transitions; end - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#125 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#125 def visualizer(paths, title = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#198 + # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#198 def states_hash_for(sym); end end -# source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#13 +# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#13 ActionDispatch::Journey::GTG::TransitionTable::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/gtg/transition_table.rb#14 +# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#14 ActionDispatch::Journey::GTG::TransitionTable::DEFAULT_EXP_ANCHORED = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/nfa/dot.rb#5 +# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#5 module ActionDispatch::Journey::NFA; end -# source://actionpack/lib/action_dispatch/journey/nfa/dot.rb#6 +# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#6 module ActionDispatch::Journey::NFA::Dot - # source://actionpack/lib/action_dispatch/journey/nfa/dot.rb#7 + # source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#7 def to_dot; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#67 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#67 module ActionDispatch::Journey::Nodes; end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#180 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#180 class ActionDispatch::Journey::Nodes::Binary < ::ActionDispatch::Journey::Nodes::Node # @return [Binary] a new instance of Binary # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#183 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#183 def initialize(left, right); end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#188 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#188 def children; end # Returns the value of attribute right. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#181 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#181 def right; end # Sets the attribute right # # @param value the value to set the attribute right to. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#181 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#181 def right=(_arg0); end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#191 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#191 class ActionDispatch::Journey::Nodes::Cat < ::ActionDispatch::Journey::Nodes::Binary # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#192 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#192 def cat?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#193 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#193 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#132 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#132 class ActionDispatch::Journey::Nodes::Dot < ::ActionDispatch::Journey::Nodes::Terminal - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#133 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#133 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#120 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#120 class ActionDispatch::Journey::Nodes::Dummy < ::ActionDispatch::Journey::Nodes::Literal # @return [Dummy] a new instance of Dummy # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#121 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#121 def initialize(x = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#125 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#125 def literal?; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#157 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#157 class ActionDispatch::Journey::Nodes::Group < ::ActionDispatch::Journey::Nodes::Unary # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#159 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#159 def group?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#158 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#158 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#115 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#115 class ActionDispatch::Journey::Nodes::Literal < ::ActionDispatch::Journey::Nodes::Terminal # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#116 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#116 def literal?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#117 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#117 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#68 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#68 class ActionDispatch::Journey::Nodes::Node include ::Enumerable # @return [Node] a new instance of Node # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#73 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#73 def initialize(left); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#106 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#106 def cat?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#78 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#78 def each(&block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#107 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#107 def group?; end # Returns the value of attribute left. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#71 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#71 def left; end # Sets the attribute left # # @param value the value to set the attribute left to. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#71 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#71 def left=(_arg0); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#103 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#103 def literal?; end # Returns the value of attribute memo. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#71 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#71 def memo; end # Sets the attribute memo # # @param value the value to set the attribute memo to. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#71 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#71 def memo=(_arg0); end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#94 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#94 def name; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#105 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#105 def star?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#102 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#102 def symbol?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#104 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#104 def terminal?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#86 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#86 def to_dot; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#82 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#82 def to_s; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#90 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#90 def to_sym; end # @raise [NotImplementedError] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#98 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#98 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#196 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#196 class ActionDispatch::Journey::Nodes::Or < ::ActionDispatch::Journey::Nodes::Node # @return [Or] a new instance of Or # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#199 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#199 def initialize(children); end # Returns the value of attribute children. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#197 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#197 def children; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#203 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#203 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#128 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#128 class ActionDispatch::Journey::Nodes::Slash < ::ActionDispatch::Journey::Nodes::Terminal - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#129 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#129 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#162 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#162 class ActionDispatch::Journey::Nodes::Star < ::ActionDispatch::Journey::Nodes::Unary # @return [Star] a new instance of Star # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#165 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#165 def initialize(left); end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#175 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#175 def name; end # Returns the value of attribute regexp. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#163 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#163 def regexp; end # Sets the attribute regexp # # @param value the value to set the attribute regexp to. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#163 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#163 def regexp=(_arg0); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#172 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#172 def star?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#173 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#173 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#136 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#136 class ActionDispatch::Journey::Nodes::Symbol < ::ActionDispatch::Journey::Nodes::Terminal # @return [Symbol] a new instance of Symbol # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#143 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#143 def initialize(left, regexp = T.unsafe(nil)); end # Returns the value of attribute name. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#139 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#139 def name; end # Returns the value of attribute regexp. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#137 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#137 def regexp; end # Sets the attribute regexp # # @param value the value to set the attribute regexp to. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#137 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#137 def regexp=(_arg0); end # Returns the value of attribute regexp. # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#137 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138 def symbol; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#150 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#150 def symbol?; end - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#149 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#149 def type; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#141 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#141 ActionDispatch::Journey::Nodes::Symbol::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#142 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#142 ActionDispatch::Journey::Nodes::Symbol::GREEDY_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#110 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#110 class ActionDispatch::Journey::Nodes::Terminal < ::ActionDispatch::Journey::Nodes::Node - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#71 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#111 def symbol; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#112 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#112 def terminal?; end end -# source://actionpack/lib/action_dispatch/journey/nodes/node.rb#153 +# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#153 class ActionDispatch::Journey::Nodes::Unary < ::ActionDispatch::Journey::Nodes::Node - # source://actionpack/lib/action_dispatch/journey/nodes/node.rb#154 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#154 def children; end end -# source://actionpack/lib/action_dispatch/journey/parser_extras.rb#9 +# source://actionpack//lib/action_dispatch/journey/parser_extras.rb#9 class ActionDispatch::Journey::Parser < ::Racc::Parser include ::ActionDispatch::Journey::Nodes # @return [Parser] a new instance of Parser # - # source://actionpack/lib/action_dispatch/journey/parser_extras.rb#16 + # source://actionpack//lib/action_dispatch/journey/parser_extras.rb#16 def initialize; end # reduce 0 omitted # - # source://actionpack/lib/action_dispatch/journey/parser.rb#137 + # source://actionpack//lib/action_dispatch/journey/parser.rb#137 def _reduce_1(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#165 + # source://actionpack//lib/action_dispatch/journey/parser.rb#165 def _reduce_10(val, _values); end # reduce 14 omitted # - # source://actionpack/lib/action_dispatch/journey/parser.rb#177 + # source://actionpack//lib/action_dispatch/journey/parser.rb#177 def _reduce_15(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#181 + # source://actionpack//lib/action_dispatch/journey/parser.rb#181 def _reduce_16(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#185 + # source://actionpack//lib/action_dispatch/journey/parser.rb#185 def _reduce_17(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#189 + # source://actionpack//lib/action_dispatch/journey/parser.rb#189 def _reduce_18(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#141 + # source://actionpack//lib/action_dispatch/journey/parser.rb#141 def _reduce_2(val, _values); end # reduce 6 omitted # - # source://actionpack/lib/action_dispatch/journey/parser.rb#153 + # source://actionpack//lib/action_dispatch/journey/parser.rb#153 def _reduce_7(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#157 + # source://actionpack//lib/action_dispatch/journey/parser.rb#157 def _reduce_8(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#161 + # source://actionpack//lib/action_dispatch/journey/parser.rb#161 def _reduce_9(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser.rb#193 + # source://actionpack//lib/action_dispatch/journey/parser.rb#193 def _reduce_none(val, _values); end - # source://actionpack/lib/action_dispatch/journey/parser_extras.rb#25 + # source://actionpack//lib/action_dispatch/journey/parser_extras.rb#25 def next_token; end - # source://actionpack/lib/action_dispatch/journey/parser_extras.rb#20 + # source://actionpack//lib/action_dispatch/journey/parser_extras.rb#20 def parse(string); end class << self - # source://actionpack/lib/action_dispatch/journey/parser_extras.rb#12 + # source://actionpack//lib/action_dispatch/journey/parser_extras.rb#12 def parse(string); end end end -# source://actionpack/lib/action_dispatch/journey/parser.rb#92 +# source://actionpack//lib/action_dispatch/journey/parser.rb#92 ActionDispatch::Journey::Parser::Racc_arg = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/journey/parser.rb#131 +# source://actionpack//lib/action_dispatch/journey/parser.rb#131 ActionDispatch::Journey::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) -# source://actionpack/lib/action_dispatch/journey/parser.rb#108 +# source://actionpack//lib/action_dispatch/journey/parser.rb#108 ActionDispatch::Journey::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/journey/path/pattern.rb#5 +# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#5 module ActionDispatch::Journey::Path; end -# source://actionpack/lib/action_dispatch/journey/path/pattern.rb#6 +# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#6 class ActionDispatch::Journey::Path::Pattern # @return [Pattern] a new instance of Pattern # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#9 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 def initialize(ast, requirements, separators, anchored); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#156 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#160 def =~(other); end # Returns the value of attribute anchored. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#7 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 def anchored; end # Returns the value of attribute ast. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#7 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 def ast; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#23 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#23 def build_formatter; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#27 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#27 def eager_load!; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#156 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#156 def match(other); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#162 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#162 def match?(other); end # Returns the value of attribute names. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#7 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 def names; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#59 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#59 def optional_names; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#55 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#55 def required_names; end # Returns the value of attribute requirements. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#7 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 def requirements; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#34 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#34 def requirements_anchored?; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#174 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#174 def requirements_for_missing_keys_check; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#166 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#166 def source; end # Returns the value of attribute spec. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#7 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 def spec; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#170 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#170 def to_regexp; end private - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#185 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#185 def offsets; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#181 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#181 def regexp_visitor; end end -# source://actionpack/lib/action_dispatch/journey/path/pattern.rb#65 +# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#65 class ActionDispatch::Journey::Path::Pattern::AnchoredRegexp < ::ActionDispatch::Journey::Visitors::Visitor # @return [AnchoredRegexp] a new instance of AnchoredRegexp # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#66 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#66 def initialize(separator, matchers); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#73 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#73 def accept(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#77 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#77 def visit_CAT(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#94 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#97 def visit_DOT(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#90 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#90 def visit_GROUP(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#94 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#94 def visit_LITERAL(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#108 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#108 def visit_OR(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#99 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#99 def visit_SLASH(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#103 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#103 def visit_STAR(node); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#81 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#81 def visit_SYMBOL(node); end end -# source://actionpack/lib/action_dispatch/journey/path/pattern.rb#121 +# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#121 class ActionDispatch::Journey::Path::Pattern::MatchData # @return [MatchData] a new instance of MatchData # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#124 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#124 def initialize(names, offsets, match); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#138 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#138 def [](x); end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#130 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#130 def captures; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#143 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#143 def length; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#134 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#134 def named_captures; end # Returns the value of attribute names. # - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#122 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#122 def names; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#147 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#147 def post_match; end - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#151 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#151 def to_s; end end -# source://actionpack/lib/action_dispatch/journey/path/pattern.rb#114 +# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#114 class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp < ::ActionDispatch::Journey::Path::Pattern::AnchoredRegexp - # source://actionpack/lib/action_dispatch/journey/path/pattern.rb#115 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#115 def accept(node); end end -# source://actionpack/lib/action_dispatch/journey/route.rb#6 +# source://actionpack//lib/action_dispatch/journey/route.rb#6 class ActionDispatch::Journey::Route # +path+ is a path constraint. # +constraints+ is a hash of constraints to be applied to this route. # # @return [Route] a new instance of Route # - # source://actionpack/lib/action_dispatch/journey/route.rb#56 + # source://actionpack//lib/action_dispatch/journey/route.rb#56 def initialize(name:, path:, app: T.unsafe(nil), constraints: T.unsafe(nil), required_defaults: T.unsafe(nil), defaults: T.unsafe(nil), request_method_match: T.unsafe(nil), precedence: T.unsafe(nil), scope_options: T.unsafe(nil), internal: T.unsafe(nil), source_location: T.unsafe(nil)); end # Returns the value of attribute app. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def app; end # Returns the value of attribute ast. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def ast; end # Returns the value of attribute constraints. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#10 def conditions; end # Returns the value of attribute constraints. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def constraints; end # Returns the value of attribute defaults. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def defaults; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/route.rb#142 + # source://actionpack//lib/action_dispatch/journey/route.rb#142 def dispatcher?; end - # source://actionpack/lib/action_dispatch/journey/route.rb#78 + # source://actionpack//lib/action_dispatch/journey/route.rb#78 def eager_load!; end - # source://actionpack/lib/action_dispatch/journey/route.rb#120 + # source://actionpack//lib/action_dispatch/journey/route.rb#120 def format(path_options); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/route.rb#138 + # source://actionpack//lib/action_dispatch/journey/route.rb#138 def glob?; end # Returns the value of attribute internal. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def internal; end - # source://actionpack/lib/action_dispatch/journey/route.rb#164 + # source://actionpack//lib/action_dispatch/journey/route.rb#164 def ip; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/route.rb#146 + # source://actionpack//lib/action_dispatch/journey/route.rb#146 def matches?(request); end # Returns the value of attribute name. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def name; end - # source://actionpack/lib/action_dispatch/journey/route.rb#115 + # source://actionpack//lib/action_dispatch/journey/route.rb#115 def parts; end # Returns the value of attribute path. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def path; end # Returns the value of attribute precedence. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def precedence; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/route.rb#128 + # source://actionpack//lib/action_dispatch/journey/route.rb#128 def required_default?(key); end - # source://actionpack/lib/action_dispatch/journey/route.rb#132 + # source://actionpack//lib/action_dispatch/journey/route.rb#132 def required_defaults; end - # source://actionpack/lib/action_dispatch/journey/route.rb#103 + # source://actionpack//lib/action_dispatch/journey/route.rb#103 def required_keys; end - # source://actionpack/lib/action_dispatch/journey/route.rb#124 + # source://actionpack//lib/action_dispatch/journey/route.rb#124 def required_parts; end # Needed for `bin/rails routes`. Picks up succinctly defined requirements @@ -13113,261 +13138,261 @@ class ActionDispatch::Journey::Route # will have {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} # as requirements. # - # source://actionpack/lib/action_dispatch/journey/route.rb#93 + # source://actionpack//lib/action_dispatch/journey/route.rb#93 def requirements; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/route.rb#168 + # source://actionpack//lib/action_dispatch/journey/route.rb#168 def requires_matching_verb?; end # Returns the value of attribute scope_options. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def scope_options; end - # source://actionpack/lib/action_dispatch/journey/route.rb#107 + # source://actionpack//lib/action_dispatch/journey/route.rb#107 def score(supplied_keys); end - # source://actionpack/lib/action_dispatch/journey/route.rb#115 + # source://actionpack//lib/action_dispatch/journey/route.rb#118 def segment_keys; end - # source://actionpack/lib/action_dispatch/journey/route.rb#99 + # source://actionpack//lib/action_dispatch/journey/route.rb#99 def segments; end # Returns the value of attribute source_location. # - # source://actionpack/lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#7 def source_location; end - # source://actionpack/lib/action_dispatch/journey/route.rb#172 + # source://actionpack//lib/action_dispatch/journey/route.rb#172 def verb; end private - # source://actionpack/lib/action_dispatch/journey/route.rb#181 + # source://actionpack//lib/action_dispatch/journey/route.rb#181 def match_verb(request); end - # source://actionpack/lib/action_dispatch/journey/route.rb#177 + # source://actionpack//lib/action_dispatch/journey/route.rb#177 def verbs; end class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#47 + # source://actionpack//lib/action_dispatch/journey/route.rb#47 def verb_matcher(verb); end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#12 +# source://actionpack//lib/action_dispatch/journey/route.rb#12 module ActionDispatch::Journey::Route::VerbMatchers; end -# source://actionpack/lib/action_dispatch/journey/route.rb#34 +# source://actionpack//lib/action_dispatch/journey/route.rb#34 class ActionDispatch::Journey::Route::VerbMatchers::All class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#35 + # source://actionpack//lib/action_dispatch/journey/route.rb#35 def call(_); end - # source://actionpack/lib/action_dispatch/journey/route.rb#36 + # source://actionpack//lib/action_dispatch/journey/route.rb#36 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::DELETE class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::GET class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::HEAD class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::LINK class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::OPTIONS class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::PATCH class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::POST class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::PUT class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::TRACE class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#17 +# source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::UNLINK class << self - # source://actionpack/lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack/lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end -# source://actionpack/lib/action_dispatch/journey/route.rb#24 +# source://actionpack//lib/action_dispatch/journey/route.rb#24 class ActionDispatch::Journey::Route::VerbMatchers::Unknown # @return [Unknown] a new instance of Unknown # - # source://actionpack/lib/action_dispatch/journey/route.rb#27 + # source://actionpack//lib/action_dispatch/journey/route.rb#27 def initialize(verb); end - # source://actionpack/lib/action_dispatch/journey/route.rb#31 + # source://actionpack//lib/action_dispatch/journey/route.rb#31 def call(request); end # Returns the value of attribute verb. # - # source://actionpack/lib/action_dispatch/journey/route.rb#25 + # source://actionpack//lib/action_dispatch/journey/route.rb#25 def verb; end end -# source://actionpack/lib/action_dispatch/journey/route.rb#13 +# source://actionpack//lib/action_dispatch/journey/route.rb#13 ActionDispatch::Journey::Route::VerbMatchers::VERBS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/journey/route.rb#39 +# source://actionpack//lib/action_dispatch/journey/route.rb#39 ActionDispatch::Journey::Route::VerbMatchers::VERB_TO_CLASS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#5 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#5 class ActionDispatch::Journey::Router # @return [Router] a new instance of Router # - # source://actionpack/lib/action_dispatch/journey/router.rb#20 + # source://actionpack//lib/action_dispatch/journey/router.rb#20 def initialize(routes); end - # source://actionpack/lib/action_dispatch/journey/router.rb#24 + # source://actionpack//lib/action_dispatch/journey/router.rb#24 def eager_load!; end - # source://actionpack/lib/action_dispatch/journey/router.rb#66 + # source://actionpack//lib/action_dispatch/journey/router.rb#66 def recognize(rails_req); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/journey/router.rb#18 + # source://actionpack//lib/action_dispatch/journey/router.rb#18 def routes; end # Sets the attribute routes # # @param value the value to set the attribute routes to. # - # source://actionpack/lib/action_dispatch/journey/router.rb#18 + # source://actionpack//lib/action_dispatch/journey/router.rb#18 def routes=(_arg0); end - # source://actionpack/lib/action_dispatch/journey/router.rb#31 + # source://actionpack//lib/action_dispatch/journey/router.rb#31 def serve(req); end - # source://actionpack/lib/action_dispatch/journey/router.rb#79 + # source://actionpack//lib/action_dispatch/journey/router.rb#79 def visualizer; end private - # source://actionpack/lib/action_dispatch/journey/router.rb#93 + # source://actionpack//lib/action_dispatch/journey/router.rb#93 def ast; end - # source://actionpack/lib/action_dispatch/journey/router.rb#101 + # source://actionpack//lib/action_dispatch/journey/router.rb#101 def custom_routes; end - # source://actionpack/lib/action_dispatch/journey/router.rb#105 + # source://actionpack//lib/action_dispatch/journey/router.rb#105 def filter_routes(path); end - # source://actionpack/lib/action_dispatch/journey/router.rb#110 + # source://actionpack//lib/action_dispatch/journey/router.rb#110 def find_routes(req); end - # source://actionpack/lib/action_dispatch/journey/router.rb#135 + # source://actionpack//lib/action_dispatch/journey/router.rb#135 def match_head_routes(routes, req); end - # source://actionpack/lib/action_dispatch/journey/router.rb#87 + # source://actionpack//lib/action_dispatch/journey/router.rb#87 def partitioned_routes; end - # source://actionpack/lib/action_dispatch/journey/router.rb#97 + # source://actionpack//lib/action_dispatch/journey/router.rb#97 def simulator; end end -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#6 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#6 class ActionDispatch::Journey::Router::Utils class << self - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#90 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#90 def escape_fragment(fragment); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#82 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#82 def escape_path(path); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#86 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#86 def escape_segment(segment); end # Normalizes URI path. @@ -13381,7 +13406,7 @@ class ActionDispatch::Journey::Router::Utils # normalize_path("") # => "/" # normalize_path("/%ab") # => "/%AB" # - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#17 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#17 def normalize_path(path); end # Replaces any escaped sequences with their unescaped representations. @@ -13389,166 +13414,166 @@ class ActionDispatch::Journey::Router::Utils # uri = "/topics?title=Ruby%20on%20Rails" # unescape_uri(uri) #=> "/topics?title=Ruby on Rails" # - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#98 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#98 def unescape_uri(uri); end end end -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#80 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#80 ActionDispatch::Journey::Router::Utils::ENCODER = T.let(T.unsafe(nil), ActionDispatch::Journey::Router::Utils::UriEncoder) # URI path and fragment escaping # https://tools.ietf.org/html/rfc3986 # -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#33 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#33 class ActionDispatch::Journey::Router::Utils::UriEncoder - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#51 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#51 def escape_fragment(fragment); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#55 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#55 def escape_path(path); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#59 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#59 def escape_segment(segment); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#63 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#63 def unescape_uri(uri); end private - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#69 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#69 def escape(component, pattern); end - # source://actionpack/lib/action_dispatch/journey/router/utils.rb#73 + # source://actionpack//lib/action_dispatch/journey/router/utils.rb#73 def percent_encode(unsafe); end end -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#40 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#40 ActionDispatch::Journey::Router::Utils::UriEncoder::ALPHA = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#38 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#38 ActionDispatch::Journey::Router::Utils::UriEncoder::DEC2HEX = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#41 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#41 ActionDispatch::Journey::Router::Utils::UriEncoder::DIGIT = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#37 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#37 ActionDispatch::Journey::Router::Utils::UriEncoder::EMPTY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#34 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#34 ActionDispatch::Journey::Router::Utils::UriEncoder::ENCODE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#45 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#45 ActionDispatch::Journey::Router::Utils::UriEncoder::ESCAPED = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#47 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#47 ActionDispatch::Journey::Router::Utils::UriEncoder::FRAGMENT = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#49 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#49 ActionDispatch::Journey::Router::Utils::UriEncoder::PATH = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#48 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#48 ActionDispatch::Journey::Router::Utils::UriEncoder::SEGMENT = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#43 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#43 ActionDispatch::Journey::Router::Utils::UriEncoder::SUB_DELIMS = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#42 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#42 ActionDispatch::Journey::Router::Utils::UriEncoder::UNRESERVED = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#35 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#35 ActionDispatch::Journey::Router::Utils::UriEncoder::US_ASCII = T.let(T.unsafe(nil), Encoding) -# source://actionpack/lib/action_dispatch/journey/router/utils.rb#36 +# source://actionpack//lib/action_dispatch/journey/router/utils.rb#36 ActionDispatch::Journey::Router::Utils::UriEncoder::UTF_8 = T.let(T.unsafe(nil), Encoding) # The Routing table. Contains all routes for a system. Routes can be # added to the table by calling Routes#add_route. # -# source://actionpack/lib/action_dispatch/journey/routes.rb#7 +# source://actionpack//lib/action_dispatch/journey/routes.rb#7 class ActionDispatch::Journey::Routes include ::Enumerable # @return [Routes] a new instance of Routes # - # source://actionpack/lib/action_dispatch/journey/routes.rb#12 + # source://actionpack//lib/action_dispatch/journey/routes.rb#12 def initialize(routes = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/journey/routes.rb#65 + # source://actionpack//lib/action_dispatch/journey/routes.rb#65 def add_route(name, mapping); end # Returns the value of attribute anchored_routes. # - # source://actionpack/lib/action_dispatch/journey/routes.rb#10 + # source://actionpack//lib/action_dispatch/journey/routes.rb#10 def anchored_routes; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#51 + # source://actionpack//lib/action_dispatch/journey/routes.rb#51 def ast; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#37 + # source://actionpack//lib/action_dispatch/journey/routes.rb#37 def clear; end # Returns the value of attribute custom_routes. # - # source://actionpack/lib/action_dispatch/journey/routes.rb#10 + # source://actionpack//lib/action_dispatch/journey/routes.rb#10 def custom_routes; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#33 + # source://actionpack//lib/action_dispatch/journey/routes.rb#33 def each(&block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/routes.rb#20 + # source://actionpack//lib/action_dispatch/journey/routes.rb#20 def empty?; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#29 + # source://actionpack//lib/action_dispatch/journey/routes.rb#29 def last; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#24 + # source://actionpack//lib/action_dispatch/journey/routes.rb#24 def length; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#43 + # source://actionpack//lib/action_dispatch/journey/routes.rb#43 def partition_route(route); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/journey/routes.rb#10 + # source://actionpack//lib/action_dispatch/journey/routes.rb#10 def routes; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#58 + # source://actionpack//lib/action_dispatch/journey/routes.rb#58 def simulator; end - # source://actionpack/lib/action_dispatch/journey/routes.rb#24 + # source://actionpack//lib/action_dispatch/journey/routes.rb#27 def size; end private - # source://actionpack/lib/action_dispatch/journey/routes.rb#74 + # source://actionpack//lib/action_dispatch/journey/routes.rb#74 def clear_cache!; end end -# source://actionpack/lib/action_dispatch/journey/scanner.rb#7 +# source://actionpack//lib/action_dispatch/journey/scanner.rb#7 class ActionDispatch::Journey::Scanner # @return [Scanner] a new instance of Scanner # - # source://actionpack/lib/action_dispatch/journey/scanner.rb#8 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#8 def initialize; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/journey/scanner.rb#16 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#16 def eos?; end - # source://actionpack/lib/action_dispatch/journey/scanner.rb#28 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#28 def next_token; end - # source://actionpack/lib/action_dispatch/journey/scanner.rb#20 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#20 def pos; end - # source://actionpack/lib/action_dispatch/journey/scanner.rb#24 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#24 def pre_match; end - # source://actionpack/lib/action_dispatch/journey/scanner.rb#12 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#12 def scan_setup(str); end private @@ -13556,213 +13581,213 @@ class ActionDispatch::Journey::Scanner # takes advantage of String @- deduping capabilities in Ruby 2.5 upwards # see: https://bugs.ruby-lang.org/issues/13077 # - # source://actionpack/lib/action_dispatch/journey/scanner.rb#38 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#38 def dedup_scan(regex); end - # source://actionpack/lib/action_dispatch/journey/scanner.rb#43 + # source://actionpack//lib/action_dispatch/journey/scanner.rb#43 def scan; end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#53 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#53 module ActionDispatch::Journey::Visitors; end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#194 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#194 class ActionDispatch::Journey::Visitors::Dot < ::ActionDispatch::Journey::Visitors::FunctionalVisitor # @return [Dot] a new instance of Dot # - # source://actionpack/lib/action_dispatch/journey/visitors.rb#195 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#195 def initialize; end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#200 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#200 def accept(node, seed = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/journey/visitors.rb#215 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#215 def binary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#222 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#222 def nary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#254 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#254 def terminal(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#229 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#229 def unary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#239 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#239 def visit_CAT(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#234 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#234 def visit_GROUP(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#249 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#249 def visit_OR(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#244 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#244 def visit_STAR(node, seed); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#260 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#260 ActionDispatch::Journey::Visitors::Dot::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Dot) # Loop through the requirements AST. # -# source://actionpack/lib/action_dispatch/journey/visitors.rb#159 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#159 class ActionDispatch::Journey::Visitors::Each < ::ActionDispatch::Journey::Visitors::FunctionalVisitor - # source://actionpack/lib/action_dispatch/journey/visitors.rb#160 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#160 def visit(node, block); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#165 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#165 ActionDispatch::Journey::Visitors::Each::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Each) -# source://actionpack/lib/action_dispatch/journey/visitors.rb#134 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#134 class ActionDispatch::Journey::Visitors::FormatBuilder < ::ActionDispatch::Journey::Visitors::Visitor - # source://actionpack/lib/action_dispatch/journey/visitors.rb#135 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#135 def accept(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#138 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#138 def binary(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#136 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#136 def terminal(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#142 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#142 def visit_GROUP(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#144 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#144 def visit_STAR(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#148 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#148 def visit_SYMBOL(n); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#95 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#95 class ActionDispatch::Journey::Visitors::FunctionalVisitor - # source://actionpack/lib/action_dispatch/journey/visitors.rb#98 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#98 def accept(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#106 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#106 def binary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#111 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#111 def nary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#122 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#122 def terminal(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#116 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#116 def unary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#102 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#102 def visit(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#109 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#109 def visit_CAT(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#126 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#126 def visit_DOT(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#119 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#119 def visit_GROUP(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#123 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#123 def visit_LITERAL(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#114 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#114 def visit_OR(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#125 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#125 def visit_SLASH(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#120 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#120 def visit_STAR(n, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#124 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#124 def visit_SYMBOL(n, seed); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#96 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#96 ActionDispatch::Journey::Visitors::FunctionalVisitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/journey/visitors.rb#168 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#168 class ActionDispatch::Journey::Visitors::String < ::ActionDispatch::Journey::Visitors::FunctionalVisitor private - # source://actionpack/lib/action_dispatch/journey/visitors.rb#170 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#170 def binary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#174 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#174 def nary(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#183 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#183 def terminal(node, seed); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#187 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#187 def visit_GROUP(node, seed); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#191 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#191 ActionDispatch::Journey::Visitors::String::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::String) -# source://actionpack/lib/action_dispatch/journey/visitors.rb#54 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#54 class ActionDispatch::Journey::Visitors::Visitor - # source://actionpack/lib/action_dispatch/journey/visitors.rb#57 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#57 def accept(node); end private - # source://actionpack/lib/action_dispatch/journey/visitors.rb#66 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#66 def binary(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#72 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#72 def nary(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#83 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#83 def terminal(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#77 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#77 def unary(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#62 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#62 def visit(node); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#70 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#70 def visit_CAT(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#87 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#87 def visit_DOT(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#80 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#80 def visit_GROUP(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#84 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#84 def visit_LITERAL(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#75 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#75 def visit_OR(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#86 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#86 def visit_SLASH(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#81 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#81 def visit_STAR(n); end - # source://actionpack/lib/action_dispatch/journey/visitors.rb#85 + # source://actionpack//lib/action_dispatch/journey/visitors.rb#85 def visit_SYMBOL(n); end end -# source://actionpack/lib/action_dispatch/journey/visitors.rb#55 +# source://actionpack//lib/action_dispatch/journey/visitors.rb#55 ActionDispatch::Journey::Visitors::Visitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/log_subscriber.rb#4 +# source://actionpack//lib/action_dispatch/log_subscriber.rb#4 class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://actionpack/lib/action_dispatch/log_subscriber.rb#5 + # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 def redirect(event); end class << self - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://actionpack//lib/action_dispatch/log_subscriber.rb#19 def log_levels; end end end @@ -13773,7 +13798,7 @@ end # stack}[https://guides.rubyonrails.org/rails_on_rack.html#action-dispatcher-middleware-stack] # in the guides. # -# source://actionpack/lib/action_dispatch/middleware/stack.rb#12 +# source://actionpack//lib/action_dispatch/middleware/stack.rb#12 class ActionDispatch::MiddlewareStack include ::Enumerable @@ -13781,13 +13806,13 @@ class ActionDispatch::MiddlewareStack # @yield [_self] # @yieldparam _self [ActionDispatch::MiddlewareStack] the object that the method was called on # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#75 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#75 def initialize(*args); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#92 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#92 def [](i); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#165 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#165 def build(app = T.unsafe(nil), &block); end # Deletes a middleware from the middleware stack. @@ -13795,7 +13820,7 @@ class ActionDispatch::MiddlewareStack # Returns the array of middlewares not including the deleted item, or # returns nil if the target is not found. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#130 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#130 def delete(target); end # Deletes a middleware from the middleware stack. @@ -13803,69 +13828,69 @@ class ActionDispatch::MiddlewareStack # Returns the array of middlewares not including the deleted item, or # raises +RuntimeError+ if the target is not found. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#138 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#138 def delete!(target); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#80 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#80 def each(&block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#105 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#105 def insert(index, klass, *args, **_arg3, &block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#113 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#113 def insert_after(index, *args, **_arg2, &block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#105 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#111 def insert_before(index, klass, *args, **_arg3, &block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#88 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#88 def last; end # Returns the value of attribute middlewares. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#73 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#73 def middlewares; end # Sets the attribute middlewares # # @param value the value to set the attribute middlewares to. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#73 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#73 def middlewares=(_arg0); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#142 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#142 def move(target, source); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#152 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#152 def move_after(target, source); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#142 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#150 def move_before(target, source); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#84 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#84 def size; end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#119 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#119 def swap(target, *args, **_arg2, &block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#96 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#96 def unshift(klass, *args, **_arg2, &block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#160 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#160 def use(klass, *args, **_arg2, &block); end private - # source://actionpack/lib/action_dispatch/middleware/stack.rb#177 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#177 def assert_index(index, where); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#183 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#183 def build_middleware(klass, args, block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#187 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#187 def index_of(klass); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#101 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#101 def initialize_copy(other); end end @@ -13873,59 +13898,59 @@ end # It proxies the +call+ method transparently and instruments the method # call. # -# source://actionpack/lib/action_dispatch/middleware/stack.rb#53 +# source://actionpack//lib/action_dispatch/middleware/stack.rb#53 class ActionDispatch::MiddlewareStack::InstrumentationProxy # @return [InstrumentationProxy] a new instance of InstrumentationProxy # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#56 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#56 def initialize(middleware, class_name); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#64 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#64 def call(env); end end -# source://actionpack/lib/action_dispatch/middleware/stack.rb#54 +# source://actionpack//lib/action_dispatch/middleware/stack.rb#54 ActionDispatch::MiddlewareStack::InstrumentationProxy::EVENT_NAME = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/middleware/stack.rb#13 +# source://actionpack//lib/action_dispatch/middleware/stack.rb#13 class ActionDispatch::MiddlewareStack::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#16 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#16 def initialize(klass, args, block); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#24 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#24 def ==(middleware); end # Returns the value of attribute args. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#14 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#14 def args; end # Returns the value of attribute block. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#14 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#14 def block; end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#41 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#41 def build(app); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#45 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#45 def build_instrumented(app); end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#33 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#33 def inspect; end # Returns the value of attribute klass. # - # source://actionpack/lib/action_dispatch/middleware/stack.rb#14 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#14 def klass; end - # source://actionpack/lib/action_dispatch/middleware/stack.rb#22 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#22 def name; end end -# source://actionpack/lib/action_dispatch.rb#60 +# source://actionpack//lib/action_dispatch.rb#60 class ActionDispatch::MissingController < ::NameError; end # = Action Dispatch \PermissionsPolicy @@ -13952,155 +13977,155 @@ class ActionDispatch::MissingController < ::NameError; end # middleware in the future we use the new name for the middleware but # keep the old header name and implementation for now. # -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#29 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#29 class ActionDispatch::PermissionsPolicy # @return [PermissionsPolicy] a new instance of PermissionsPolicy # @yield [_self] # @yieldparam _self [ActionDispatch::PermissionsPolicy] the object that the method was called on # - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#109 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#109 def initialize; end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def accelerometer(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def ambient_light_sensor(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def autoplay(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#147 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#147 def build(context = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def camera(*sources); end # Returns the value of attribute directives. # - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#107 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#107 def directives; end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def encrypted_media(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def fullscreen(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def geolocation(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def gyroscope(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def hid(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def idle_detection(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def magnetometer(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def microphone(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def midi(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def payment(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def picture_in_picture(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def screen_wake_lock(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def serial(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#129 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#129 def speaker(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def sync_xhr(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def usb(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#129 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#129 def vibrate(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#129 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#129 def vr(*sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#119 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#119 def web_share(*sources); end private - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#165 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#165 def apply_mapping(source); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#152 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#152 def apply_mappings(sources); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#183 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#183 def build_directive(sources, context); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#171 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#171 def build_directives(context); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#114 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#114 def initialize_copy(other); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#187 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#187 def resolve_source(source, context); end end # List of available permissions can be found at # https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md#policy-controlled-features # -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#82 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#82 ActionDispatch::PermissionsPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#75 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#75 ActionDispatch::PermissionsPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#30 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#30 class ActionDispatch::PermissionsPolicy::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#31 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#31 def initialize(app); end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#35 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#35 def call(env); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#58 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#58 def policy_empty?(policy); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#54 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#54 def policy_present?(headers); end end -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#63 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#63 module ActionDispatch::PermissionsPolicy::Request - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#66 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#66 def permissions_policy; end - # source://actionpack/lib/action_dispatch/http/permissions_policy.rb#70 + # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#70 def permissions_policy=(policy); end end -# source://actionpack/lib/action_dispatch/http/permissions_policy.rb#64 +# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#64 ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String) # = Action Dispatch \PublicExceptions @@ -14116,44 +14141,44 @@ ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String # When a request with a content type other than HTML is made, this middleware # will attempt to convert error information into the appropriate response type. # -# source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#16 +# source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#16 class ActionDispatch::PublicExceptions # @return [PublicExceptions] a new instance of PublicExceptions # - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#19 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#19 def initialize(public_path); end - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#23 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#23 def call(env); end # Returns the value of attribute public_path. # - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#17 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#17 def public_path; end # Sets the attribute public_path # # @param value the value to set the attribute public_path to. # - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#17 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#17 def public_path=(_arg0); end private - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#37 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#37 def render(status, content_type, body); end - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#46 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#46 def render_format(status, content_type, body); end - # source://actionpack/lib/action_dispatch/middleware/public_exceptions.rb#51 + # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#51 def render_html(status); end end -# source://actionpack/lib/action_dispatch.rb#57 +# source://actionpack//lib/action_dispatch.rb#57 ActionDispatch::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) -# source://actionpack/lib/action_dispatch/railtie.rb#8 +# source://actionpack//lib/action_dispatch/railtie.rb#8 class ActionDispatch::Railtie < ::Rails::Railtie; end # = Action Dispatch \Reloader @@ -14165,7 +14190,7 @@ class ActionDispatch::Railtie < ::Rails::Railtie; end # ActionDispatch::Reloader is included in the middleware stack only if # reloading is enabled, which it is by the default in +development+ mode. # -# source://actionpack/lib/action_dispatch/middleware/reloader.rb#12 +# source://actionpack//lib/action_dispatch/middleware/reloader.rb#12 class ActionDispatch::Reloader < ::ActionDispatch::Executor; end # = Action Dispatch \RemoteIp @@ -14192,7 +14217,7 @@ class ActionDispatch::Reloader < ::ActionDispatch::Executor; end # sometime before this middleware runs. Alternatively, remove this middleware # to avoid inadvertently relying on it. # -# source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#29 +# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#29 class ActionDispatch::RemoteIp # Create a new +RemoteIp+ middleware instance. # @@ -14211,7 +14236,7 @@ class ActionDispatch::RemoteIp # # @return [RemoteIp] a new instance of RemoteIp # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#61 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#61 def initialize(app, ip_spoofing_check = T.unsafe(nil), custom_proxies = T.unsafe(nil)); end # Since the IP address may not be needed, we store the object here @@ -14219,17 +14244,17 @@ class ActionDispatch::RemoteIp # requests. For those requests that do need to know the IP, the # GetIp#calculate_ip method will calculate the memoized client IP address. # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#89 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#89 def call(env); end # Returns the value of attribute check_ip. # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#45 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#45 def check_ip; end # Returns the value of attribute proxies. # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#45 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#45 def proxies; end end @@ -14237,11 +14262,11 @@ end # into an actual IP address. If the ActionDispatch::Request#remote_ip method # is called, this class will calculate the value and then memoize it. # -# source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#98 +# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#98 class ActionDispatch::RemoteIp::GetIp # @return [GetIp] a new instance of GetIp # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#99 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#99 def initialize(req, check_ip, proxies); end # Sort through the various IP address headers, looking for the IP most @@ -14263,25 +14288,25 @@ class ActionDispatch::RemoteIp::GetIp # take the list of IPs, remove known and trusted proxies, and then take # the last address left, which was presumably set by one of those proxies. # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#123 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#123 def calculate_ip; end # Memoizes the value returned by #calculate_ip and returns it for # ActionDispatch::Request to use. # - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#167 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#167 def to_s; end private - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#187 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#187 def filter_proxies(ips); end - # source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#172 + # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#172 def ips_from(header); end end -# source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#30 +# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#30 class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end # The default trusted IPs list simply includes IP addresses that are @@ -14289,10 +14314,10 @@ class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end # not be the ultimate client IP in production, and so are discarded. See # https://en.wikipedia.org/wiki/Private_network for details. # -# source://actionpack/lib/action_dispatch/middleware/remote_ip.rb#36 +# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#36 ActionDispatch::RemoteIp::TRUSTED_PROXIES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/request.rb#18 +# source://actionpack//lib/action_dispatch/http/request.rb#18 class ActionDispatch::Request include ::ActionDispatch::Flash::RequestMethods include ::Rack::Request::Helpers @@ -14309,85 +14334,85 @@ class ActionDispatch::Request # @return [Request] a new instance of Request # - # source://actionpack/lib/action_dispatch/http/request.rb#60 + # source://actionpack//lib/action_dispatch/http/request.rb#60 def initialize(env); end # Override Rack's GET method to support indifferent access. # - # source://actionpack/lib/action_dispatch/http/request.rb#388 + # source://actionpack//lib/action_dispatch/http/request.rb#388 def GET; end # Override Rack's POST method to support indifferent access. # - # source://actionpack/lib/action_dispatch/http/request.rb#404 + # source://actionpack//lib/action_dispatch/http/request.rb#404 def POST; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_charset; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_encoding; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_language; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def auth_type; end # Returns the authorization header regardless of whether it was specified directly or through one of the # proxy alternatives. # - # source://actionpack/lib/action_dispatch/http/request.rb#420 + # source://actionpack//lib/action_dispatch/http/request.rb#420 def authorization; end # The request body is an IO input stream. If the RAW_POST_DATA environment # variable is already set, wrap it in a StringIO. # - # source://actionpack/lib/action_dispatch/http/request.rb#349 + # source://actionpack//lib/action_dispatch/http/request.rb#349 def body; end - # source://actionpack/lib/action_dispatch/http/request.rb#370 + # source://actionpack//lib/action_dispatch/http/request.rb#370 def body_stream; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def cache_control; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def client_ip; end - # source://actionpack/lib/action_dispatch/http/request.rb#70 + # source://actionpack//lib/action_dispatch/http/request.rb#70 def commit_cookie_jar!; end - # source://actionpack/lib/action_dispatch/http/request.rb#452 + # source://actionpack//lib/action_dispatch/http/request.rb#452 def commit_csrf_token; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#64 + # source://actionpack//lib/action_dispatch/http/request.rb#441 def commit_flash; end # Returns the content length of the request as an integer. # - # source://actionpack/lib/action_dispatch/http/request.rb#286 + # source://actionpack//lib/action_dispatch/http/request.rb#286 def content_length; end - # source://actionpack/lib/action_dispatch/http/request.rb#79 + # source://actionpack//lib/action_dispatch/http/request.rb#79 def controller_class; end - # source://actionpack/lib/action_dispatch/http/request.rb#85 + # source://actionpack//lib/action_dispatch/http/request.rb#85 def controller_class_for(name); end - # source://actionpack/lib/action_dispatch/http/request.rb#182 + # source://actionpack//lib/action_dispatch/http/request.rb#182 def controller_instance; end - # source://actionpack/lib/action_dispatch/http/request.rb#186 + # source://actionpack//lib/action_dispatch/http/request.rb#186 def controller_instance=(controller); end - # source://actionpack/lib/action_dispatch/http/request.rb#168 + # source://actionpack//lib/action_dispatch/http/request.rb#168 def engine_script_name(_routes); end - # source://actionpack/lib/action_dispatch/http/request.rb#172 + # source://actionpack//lib/action_dispatch/http/request.rb#172 def engine_script_name=(name); end # Determine whether the request body contains form-data by checking @@ -14401,10 +14426,10 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/request.rb#366 + # source://actionpack//lib/action_dispatch/http/request.rb#366 def form_data?; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def from; end # Returns the +String+ full path including params of the last URL requested. @@ -14415,34 +14440,34 @@ class ActionDispatch::Request # # get "/articles?page=2" # request.fullpath # => "/articles?page=2" # - # source://actionpack/lib/action_dispatch/http/request.rb#265 + # source://actionpack//lib/action_dispatch/http/request.rb#265 def fullpath; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def gateway_interface; end # Provides access to the request's HTTP headers, for example: # # request.headers["Content-Type"] # => "text/plain" # - # source://actionpack/lib/action_dispatch/http/request.rb#225 + # source://actionpack//lib/action_dispatch/http/request.rb#225 def headers; end - # source://actionpack/lib/action_dispatch/http/request.rb#190 + # source://actionpack//lib/action_dispatch/http/request.rb#190 def http_auth_salt; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header=(val); end - # source://actionpack/lib/action_dispatch/http/request.rb#444 + # source://actionpack//lib/action_dispatch/http/request.rb#444 def inspect; end # Returns the IP address of client as a +String+. # - # source://actionpack/lib/action_dispatch/http/request.rb#300 + # source://actionpack//lib/action_dispatch/http/request.rb#300 def ip; end # Returns true if the request has a header matching the given key parameter. @@ -14451,17 +14476,17 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/request.rb#106 + # source://actionpack//lib/action_dispatch/http/request.rb#106 def key?(key); end # True if the request came from localhost, 127.0.0.1, or ::1. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/request.rb#428 + # source://actionpack//lib/action_dispatch/http/request.rb#428 def local?; end - # source://actionpack/lib/action_dispatch/http/request.rb#437 + # source://actionpack//lib/action_dispatch/http/request.rb#437 def logger; end # The +String+ MIME type of the request. @@ -14469,7 +14494,7 @@ class ActionDispatch::Request # # get "/articles" # request.media_type # => "application/x-www-form-urlencoded" # - # source://actionpack/lib/action_dispatch/http/request.rb#281 + # source://actionpack//lib/action_dispatch/http/request.rb#281 def media_type; end # Returns the original value of the environment's REQUEST_METHOD, @@ -14479,18 +14504,18 @@ class ActionDispatch::Request # For debugging purposes, when called with arguments this method will # fall back to Object#method # - # source://actionpack/lib/action_dispatch/http/request.rb#205 + # source://actionpack//lib/action_dispatch/http/request.rb#205 def method(*args, **_arg1); end # Returns a symbol form of the #method. # - # source://actionpack/lib/action_dispatch/http/request.rb#218 + # source://actionpack//lib/action_dispatch/http/request.rb#218 def method_symbol; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def negotiate; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def origin; end # Returns a +String+ with the last requested path including their params. @@ -14501,10 +14526,10 @@ class ActionDispatch::Request # # get '/foo?bar' # request.original_fullpath # => '/foo?bar' # - # source://actionpack/lib/action_dispatch/http/request.rb#254 + # source://actionpack//lib/action_dispatch/http/request.rb#254 def original_fullpath; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def original_script_name; end # Returns the original request URL as a +String+. @@ -14512,48 +14537,48 @@ class ActionDispatch::Request # # get "/articles?page=2" # request.original_url # => "http://www.example.com/articles?page=2" # - # source://actionpack/lib/action_dispatch/http/request.rb#273 + # source://actionpack//lib/action_dispatch/http/request.rb#273 def original_url; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def path_translated; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def pragma; end # Override Rack's GET method to support indifferent access. # - # source://actionpack/lib/action_dispatch/http/request.rb#388 + # source://actionpack//lib/action_dispatch/http/request.rb#401 def query_parameters; end # Read the request \body. This is useful for web services that need to # work with raw requests directly. # - # source://actionpack/lib/action_dispatch/http/request.rb#340 + # source://actionpack//lib/action_dispatch/http/request.rb#340 def raw_post; end - # source://rack/3.1.8lib/rack/request.rb#197 + # source://actionpack//lib/action_dispatch/http/request.rb#136 def raw_request_method; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_addr; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_host; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_ident; end # Returns the IP address of client as a +String+, # usually set by the RemoteIp middleware. # - # source://actionpack/lib/action_dispatch/http/request.rb#306 + # source://actionpack//lib/action_dispatch/http/request.rb#306 def remote_ip; end - # source://actionpack/lib/action_dispatch/http/request.rb#310 + # source://actionpack//lib/action_dispatch/http/request.rb#310 def remote_ip=(remote_ip); end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_user; end # Returns the unique request id, which is based on either the +X-Request-Id+ header that can @@ -14563,10 +14588,10 @@ class ActionDispatch::Request # This unique ID is useful for tracing a request from end-to-end as part of logging or debugging. # This relies on the Rack variable set by the ActionDispatch::RequestId middleware. # - # source://actionpack/lib/action_dispatch/http/request.rb#323 + # source://actionpack//lib/action_dispatch/http/request.rb#323 def request_id; end - # source://actionpack/lib/action_dispatch/http/request.rb#327 + # source://actionpack//lib/action_dispatch/http/request.rb#327 def request_id=(id); end # Returns the HTTP \method that the application should see. @@ -14576,35 +14601,35 @@ class ActionDispatch::Request # the application should use), this \method returns the overridden # value, not the original. # - # source://actionpack/lib/action_dispatch/http/request.rb#144 + # source://actionpack//lib/action_dispatch/http/request.rb#144 def request_method; end - # source://actionpack/lib/action_dispatch/http/request.rb#176 + # source://actionpack//lib/action_dispatch/http/request.rb#176 def request_method=(request_method); end # Returns a symbol form of the #request_method. # - # source://actionpack/lib/action_dispatch/http/request.rb#195 + # source://actionpack//lib/action_dispatch/http/request.rb#195 def request_method_symbol; end # Override Rack's POST method to support indifferent access. # - # source://actionpack/lib/action_dispatch/http/request.rb#404 + # source://actionpack//lib/action_dispatch/http/request.rb#416 def request_parameters; end - # source://actionpack/lib/action_dispatch/http/request.rb#432 + # source://actionpack//lib/action_dispatch/http/request.rb#432 def request_parameters=(params); end - # source://actionpack/lib/action_dispatch/http/request.rb#448 + # source://actionpack//lib/action_dispatch/http/request.rb#448 def reset_csrf_token; end - # source://actionpack/lib/action_dispatch/middleware/flash.rb#77 + # source://actionpack//lib/action_dispatch/http/request.rb#374 def reset_session; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#27 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def return_only_media_type_on_content_type; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#20 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def return_only_media_type_on_content_type=(value); end # Returns the URI pattern of the matched route for the request, @@ -14612,16 +14637,16 @@ class ActionDispatch::Request # # request.route_uri_pattern # => "/:controller(/:action(/:id))(.:format)" # - # source://actionpack/lib/action_dispatch/http/request.rb#152 + # source://actionpack//lib/action_dispatch/http/request.rb#152 def route_uri_pattern; end - # source://actionpack/lib/action_dispatch/http/request.rb#156 + # source://actionpack//lib/action_dispatch/http/request.rb#156 def route_uri_pattern=(pattern); end - # source://actionpack/lib/action_dispatch/http/request.rb#160 + # source://actionpack//lib/action_dispatch/http/request.rb#160 def routes; end - # source://actionpack/lib/action_dispatch/http/request.rb#164 + # source://actionpack//lib/action_dispatch/http/request.rb#164 def routes=(routes); end # Early Hints is an HTTP/2 status code that indicates hints to help a client start @@ -14637,24 +14662,24 @@ class ActionDispatch::Request # If you are using +javascript_include_tag+ or +stylesheet_link_tag+ the # Early Hints headers are included by default if supported. # - # source://actionpack/lib/action_dispatch/http/request.rb#241 + # source://actionpack//lib/action_dispatch/http/request.rb#241 def send_early_hints(links); end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def server_name; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def server_protocol; end # Returns the lowercase name of the HTTP server software. # - # source://actionpack/lib/action_dispatch/http/request.rb#334 + # source://actionpack//lib/action_dispatch/http/request.rb#334 def server_software; end - # source://actionpack/lib/action_dispatch/http/request.rb#379 + # source://actionpack//lib/action_dispatch/http/request.rb#379 def session=(session); end - # source://actionpack/lib/action_dispatch/http/request.rb#383 + # source://actionpack//lib/action_dispatch/http/request.rb#383 def session_options=(options); end # Returns the unique request id, which is based on either the +X-Request-Id+ header that can @@ -14664,22 +14689,22 @@ class ActionDispatch::Request # This unique ID is useful for tracing a request from end-to-end as part of logging or debugging. # This relies on the Rack variable set by the ActionDispatch::RequestId middleware. # - # source://actionpack/lib/action_dispatch/http/request.rb#323 + # source://actionpack//lib/action_dispatch/http/request.rb#331 def uuid; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def version; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_csrf_token; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_forwarded_for; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_forwarded_host; end - # source://actionpack/lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_request_id; end # Returns true if the +X-Requested-With+ header contains "XMLHttpRequest" @@ -14688,7 +14713,7 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/request.rb#294 + # source://actionpack//lib/action_dispatch/http/request.rb#297 def xhr?; end # Returns true if the +X-Requested-With+ header contains "XMLHttpRequest" @@ -14697,162 +14722,162 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/request.rb#294 + # source://actionpack//lib/action_dispatch/http/request.rb#294 def xml_http_request?; end private - # source://actionpack/lib/action_dispatch/http/request.rb#457 + # source://actionpack//lib/action_dispatch/http/request.rb#457 def check_method(name); end - # source://actionpack/lib/action_dispatch/http/request.rb#465 + # source://actionpack//lib/action_dispatch/http/request.rb#465 def default_session; end - # source://actionpack/lib/action_dispatch/http/request.rb#469 + # source://actionpack//lib/action_dispatch/http/request.rb#469 def read_body_stream; end - # source://actionpack/lib/action_dispatch/http/request.rb#481 + # source://actionpack//lib/action_dispatch/http/request.rb#481 def reset_stream(body_stream); end class << self - # source://actionpack/lib/action_dispatch/http/request.rb#56 + # source://actionpack//lib/action_dispatch/http/request.rb#56 def empty; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header; end - # source://actionpack/lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header=(val); end - # source://actionpack/lib/action_dispatch/http/parameters.rb#28 + # source://actionpack//lib/action_dispatch/http/request.rb#22 def parameter_parsers; end end end -# source://actionpack/lib/action_dispatch/http/request.rb#315 +# source://actionpack//lib/action_dispatch/http/request.rb#315 ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/request.rb#34 +# source://actionpack//lib/action_dispatch/http/request.rb#34 ActionDispatch::Request::ENV_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/request.rb#127 +# source://actionpack//lib/action_dispatch/http/request.rb#127 ActionDispatch::Request::HTTP_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/request.rb#129 +# source://actionpack//lib/action_dispatch/http/request.rb#129 ActionDispatch::Request::HTTP_METHOD_LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/request.rb#32 +# source://actionpack//lib/action_dispatch/http/request.rb#32 ActionDispatch::Request::LOCALHOST = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/request.rb#73 +# source://actionpack//lib/action_dispatch/http/request.rb#73 class ActionDispatch::Request::PASS_NOT_FOUND class << self - # source://actionpack/lib/action_dispatch/http/request.rb#74 + # source://actionpack//lib/action_dispatch/http/request.rb#74 def action(_); end - # source://actionpack/lib/action_dispatch/http/request.rb#76 + # source://actionpack//lib/action_dispatch/http/request.rb#76 def action_encoding_template(action); end - # source://actionpack/lib/action_dispatch/http/request.rb#75 + # source://actionpack//lib/action_dispatch/http/request.rb#75 def call(_); end end end # HTTP methods from {RFC 2518: HTTP Extensions for Distributed Authoring -- WEBDAV}[https://www.ietf.org/rfc/rfc2518.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#113 +# source://actionpack//lib/action_dispatch/http/request.rb#113 ActionDispatch::Request::RFC2518 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1}[https://www.ietf.org/rfc/rfc2616.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#111 +# source://actionpack//lib/action_dispatch/http/request.rb#111 ActionDispatch::Request::RFC2616 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 3253: Versioning Extensions to WebDAV}[https://www.ietf.org/rfc/rfc3253.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#115 +# source://actionpack//lib/action_dispatch/http/request.rb#115 ActionDispatch::Request::RFC3253 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 3648: WebDAV Ordered Collections Protocol}[https://www.ietf.org/rfc/rfc3648.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#117 +# source://actionpack//lib/action_dispatch/http/request.rb#117 ActionDispatch::Request::RFC3648 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 3744: WebDAV Access Control Protocol}[https://www.ietf.org/rfc/rfc3744.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#119 +# source://actionpack//lib/action_dispatch/http/request.rb#119 ActionDispatch::Request::RFC3744 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 4791: Calendaring Extensions to WebDAV}[https://www.ietf.org/rfc/rfc4791.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#123 +# source://actionpack//lib/action_dispatch/http/request.rb#123 ActionDispatch::Request::RFC4791 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 5323: WebDAV SEARCH}[https://www.ietf.org/rfc/rfc5323.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#121 +# source://actionpack//lib/action_dispatch/http/request.rb#121 ActionDispatch::Request::RFC5323 = T.let(T.unsafe(nil), Array) # HTTP methods from {RFC 5789: PATCH Method for HTTP}[https://www.ietf.org/rfc/rfc5789.txt] # -# source://actionpack/lib/action_dispatch/http/request.rb#125 +# source://actionpack//lib/action_dispatch/http/request.rb#125 ActionDispatch::Request::RFC5789 = T.let(T.unsafe(nil), Array) # Session is responsible for lazily loading the session from store. # -# source://actionpack/lib/action_dispatch/request/session.rb#8 +# source://actionpack//lib/action_dispatch/request/session.rb#8 class ActionDispatch::Request::Session # @return [Session] a new instance of Session # - # source://actionpack/lib/action_dispatch/request/session.rb#74 + # source://actionpack//lib/action_dispatch/request/session.rb#74 def initialize(by, req, enabled: T.unsafe(nil)); end # Returns value of the key stored in the session or # +nil+ if the given key is not found in the session. # - # source://actionpack/lib/action_dispatch/request/session.rb#112 + # source://actionpack//lib/action_dispatch/request/session.rb#112 def [](key); end # Writes given value to given key of the session. # - # source://actionpack/lib/action_dispatch/request/session.rb#152 + # source://actionpack//lib/action_dispatch/request/session.rb#152 def []=(key, value); end # Clears the session. # - # source://actionpack/lib/action_dispatch/request/session.rb#158 + # source://actionpack//lib/action_dispatch/request/session.rb#158 def clear; end # Deletes given key from the session. # - # source://actionpack/lib/action_dispatch/request/session.rb#191 + # source://actionpack//lib/action_dispatch/request/session.rb#191 def delete(key); end - # source://actionpack/lib/action_dispatch/request/session.rb#97 + # source://actionpack//lib/action_dispatch/request/session.rb#97 def destroy; end # Returns the nested value specified by the sequence of keys, returning # +nil+ if any intermediate step is +nil+. # - # source://actionpack/lib/action_dispatch/request/session.rb#125 + # source://actionpack//lib/action_dispatch/request/session.rb#125 def dig(*keys); end - # source://actionpack/lib/action_dispatch/request/session.rb#242 + # source://actionpack//lib/action_dispatch/request/session.rb#242 def each(&block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#237 + # source://actionpack//lib/action_dispatch/request/session.rb#237 def empty?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#89 + # source://actionpack//lib/action_dispatch/request/session.rb#89 def enabled?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#227 + # source://actionpack//lib/action_dispatch/request/session.rb#227 def exists?; end # Returns value of the given key from the session, or raises +KeyError+ @@ -14870,47 +14895,47 @@ class ActionDispatch::Request::Session # end # # => :bar # - # source://actionpack/lib/action_dispatch/request/session.rb#210 + # source://actionpack//lib/action_dispatch/request/session.rb#210 def fetch(key, default = T.unsafe(nil), &block); end # Returns true if the session has the given key or false. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#132 + # source://actionpack//lib/action_dispatch/request/session.rb#132 def has_key?(key); end - # source://actionpack/lib/action_dispatch/request/session.rb#85 + # source://actionpack//lib/action_dispatch/request/session.rb#85 def id; end - # source://actionpack/lib/action_dispatch/request/session.rb#246 + # source://actionpack//lib/action_dispatch/request/session.rb#246 def id_was; end # Returns true if the session has the given key or false. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#132 + # source://actionpack//lib/action_dispatch/request/session.rb#137 def include?(key); end - # source://actionpack/lib/action_dispatch/request/session.rb#219 + # source://actionpack//lib/action_dispatch/request/session.rb#219 def inspect; end # Returns true if the session has the given key or false. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#132 + # source://actionpack//lib/action_dispatch/request/session.rb#136 def key?(key); end # Returns keys of the session as Array. # - # source://actionpack/lib/action_dispatch/request/session.rb#140 + # source://actionpack//lib/action_dispatch/request/session.rb#140 def keys; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/request/session.rb#233 + # source://actionpack//lib/action_dispatch/request/session.rb#233 def loaded?; end # Updates the session with given Hash. @@ -14924,20 +14949,20 @@ class ActionDispatch::Request::Session # session.to_hash # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"} # - # source://actionpack/lib/action_dispatch/request/session.rb#180 + # source://actionpack//lib/action_dispatch/request/session.rb#188 def merge!(hash); end - # source://actionpack/lib/action_dispatch/request/session.rb#93 + # source://actionpack//lib/action_dispatch/request/session.rb#93 def options; end # Returns the session as Hash. # - # source://actionpack/lib/action_dispatch/request/session.rb#164 + # source://actionpack//lib/action_dispatch/request/session.rb#168 def to_h; end # Returns the session as Hash. # - # source://actionpack/lib/action_dispatch/request/session.rb#164 + # source://actionpack//lib/action_dispatch/request/session.rb#164 def to_hash; end # Updates the session with given Hash. @@ -14951,257 +14976,257 @@ class ActionDispatch::Request::Session # session.to_hash # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"} # - # source://actionpack/lib/action_dispatch/request/session.rb#180 + # source://actionpack//lib/action_dispatch/request/session.rb#180 def update(hash); end # Returns values of the session as Array. # - # source://actionpack/lib/action_dispatch/request/session.rb#146 + # source://actionpack//lib/action_dispatch/request/session.rb#146 def values; end private - # source://actionpack/lib/action_dispatch/request/session.rb#268 + # source://actionpack//lib/action_dispatch/request/session.rb#268 def load!; end - # source://actionpack/lib/action_dispatch/request/session.rb#264 + # source://actionpack//lib/action_dispatch/request/session.rb#264 def load_for_delete!; end - # source://actionpack/lib/action_dispatch/request/session.rb#252 + # source://actionpack//lib/action_dispatch/request/session.rb#252 def load_for_read!; end - # source://actionpack/lib/action_dispatch/request/session.rb#256 + # source://actionpack//lib/action_dispatch/request/session.rb#256 def load_for_write!; end class << self # Creates a session hash, merging the properties of the previous session if any. # - # source://actionpack/lib/action_dispatch/request/session.rb#17 + # source://actionpack//lib/action_dispatch/request/session.rb#17 def create(store, req, default_options); end - # source://actionpack/lib/action_dispatch/request/session.rb#41 + # source://actionpack//lib/action_dispatch/request/session.rb#41 def delete(req); end - # source://actionpack/lib/action_dispatch/request/session.rb#27 + # source://actionpack//lib/action_dispatch/request/session.rb#27 def disabled(req); end - # source://actionpack/lib/action_dispatch/request/session.rb#33 + # source://actionpack//lib/action_dispatch/request/session.rb#33 def find(req); end - # source://actionpack/lib/action_dispatch/request/session.rb#37 + # source://actionpack//lib/action_dispatch/request/session.rb#37 def set(req, session); end end end -# source://actionpack/lib/action_dispatch/request/session.rb#9 +# source://actionpack//lib/action_dispatch/request/session.rb#9 class ActionDispatch::Request::Session::DisabledSessionError < ::StandardError; end -# source://actionpack/lib/action_dispatch/request/session.rb#10 +# source://actionpack//lib/action_dispatch/request/session.rb#10 ActionDispatch::Request::Session::ENV_SESSION_KEY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/request/session.rb#11 +# source://actionpack//lib/action_dispatch/request/session.rb#11 ActionDispatch::Request::Session::ENV_SESSION_OPTIONS_KEY = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/request/session.rb#45 +# source://actionpack//lib/action_dispatch/request/session.rb#45 class ActionDispatch::Request::Session::Options # @return [Options] a new instance of Options # - # source://actionpack/lib/action_dispatch/request/session.rb#54 + # source://actionpack//lib/action_dispatch/request/session.rb#54 def initialize(by, default_options); end - # source://actionpack/lib/action_dispatch/request/session.rb#59 + # source://actionpack//lib/action_dispatch/request/session.rb#59 def [](key); end - # source://actionpack/lib/action_dispatch/request/session.rb#69 + # source://actionpack//lib/action_dispatch/request/session.rb#69 def []=(k, v); end - # source://actionpack/lib/action_dispatch/request/session.rb#63 + # source://actionpack//lib/action_dispatch/request/session.rb#63 def id(req); end - # source://actionpack/lib/action_dispatch/request/session.rb#70 + # source://actionpack//lib/action_dispatch/request/session.rb#70 def to_hash; end - # source://actionpack/lib/action_dispatch/request/session.rb#71 + # source://actionpack//lib/action_dispatch/request/session.rb#71 def values_at(*args); end class << self - # source://actionpack/lib/action_dispatch/request/session.rb#50 + # source://actionpack//lib/action_dispatch/request/session.rb#50 def find(req); end - # source://actionpack/lib/action_dispatch/request/session.rb#46 + # source://actionpack//lib/action_dispatch/request/session.rb#46 def set(req, options); end end end # Singleton object used to determine if an optional param wasn't specified. # -# source://actionpack/lib/action_dispatch/request/session.rb#14 +# source://actionpack//lib/action_dispatch/request/session.rb#14 ActionDispatch::Request::Session::Unspecified = T.let(T.unsafe(nil), Object) -# source://actionpack/lib/action_dispatch/request/utils.rb#7 +# source://actionpack//lib/action_dispatch/request/utils.rb#7 class ActionDispatch::Request::Utils - # source://actionpack/lib/action_dispatch/request/utils.rb#8 + # source://actionpack//lib/action_dispatch/request/utils.rb#8 def perform_deep_munge; end - # source://actionpack/lib/action_dispatch/request/utils.rb#8 + # source://actionpack//lib/action_dispatch/request/utils.rb#8 def perform_deep_munge=(val); end class << self - # source://actionpack/lib/action_dispatch/request/utils.rb#29 + # source://actionpack//lib/action_dispatch/request/utils.rb#29 def check_param_encoding(params); end - # source://actionpack/lib/action_dispatch/request/utils.rb#10 + # source://actionpack//lib/action_dispatch/request/utils.rb#10 def each_param_value(params, &block); end - # source://actionpack/lib/action_dispatch/request/utils.rb#21 + # source://actionpack//lib/action_dispatch/request/utils.rb#21 def normalize_encode_params(params); end - # source://actionpack/lib/action_dispatch/request/utils.rb#8 + # source://actionpack//lib/action_dispatch/request/utils.rb#8 def perform_deep_munge; end - # source://actionpack/lib/action_dispatch/request/utils.rb#8 + # source://actionpack//lib/action_dispatch/request/utils.rb#8 def perform_deep_munge=(val); end - # source://actionpack/lib/action_dispatch/request/utils.rb#44 + # source://actionpack//lib/action_dispatch/request/utils.rb#44 def set_binary_encoding(request, params, controller, action); end end end -# source://actionpack/lib/action_dispatch/request/utils.rb#83 +# source://actionpack//lib/action_dispatch/request/utils.rb#83 class ActionDispatch::Request::Utils::CustomParamEncoder class << self - # source://actionpack/lib/action_dispatch/request/utils.rb#99 + # source://actionpack//lib/action_dispatch/request/utils.rb#99 def action_encoding_template(request, controller, action); end - # source://actionpack/lib/action_dispatch/request/utils.rb#84 + # source://actionpack//lib/action_dispatch/request/utils.rb#84 def encode(request, params, controller, action); end end end # Remove nils from the params hash. # -# source://actionpack/lib/action_dispatch/request/utils.rb#75 +# source://actionpack//lib/action_dispatch/request/utils.rb#75 class ActionDispatch::Request::Utils::NoNilParamEncoder < ::ActionDispatch::Request::Utils::ParamEncoder class << self - # source://actionpack/lib/action_dispatch/request/utils.rb#76 + # source://actionpack//lib/action_dispatch/request/utils.rb#76 def handle_array(params); end end end -# source://actionpack/lib/action_dispatch/request/utils.rb#48 +# source://actionpack//lib/action_dispatch/request/utils.rb#48 class ActionDispatch::Request::Utils::ParamEncoder class << self - # source://actionpack/lib/action_dispatch/request/utils.rb#69 + # source://actionpack//lib/action_dispatch/request/utils.rb#69 def handle_array(params); end # Convert nested Hash to HashWithIndifferentAccess. # - # source://actionpack/lib/action_dispatch/request/utils.rb#50 + # source://actionpack//lib/action_dispatch/request/utils.rb#50 def normalize_encode_params(params); end end end -# source://actionpack/lib/action_dispatch/middleware/cookies.rb#10 +# source://actionpack//lib/action_dispatch/middleware/cookies.rb#10 module ActionDispatch::RequestCookieMethods - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#48 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#48 def authenticated_encrypted_cookie_salt; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#11 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#11 def cookie_jar; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#28 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#28 def cookie_jar=(jar); end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#76 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#76 def cookies_digest; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#80 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#80 def cookies_rotations; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#72 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#72 def cookies_same_site_protection; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#68 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#68 def cookies_serializer; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#56 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#56 def encrypted_cookie_cipher; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#40 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#40 def encrypted_cookie_salt; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#44 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#44 def encrypted_signed_cookie_salt; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#24 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#24 def have_cookie_jar?; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#32 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#32 def key_generator; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#64 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#64 def secret_key_base; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#60 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#60 def signed_cookie_digest; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#36 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#36 def signed_cookie_salt; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#52 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#52 def use_authenticated_cookie_encryption; end - # source://actionpack/lib/action_dispatch/middleware/cookies.rb#84 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#84 def use_cookies_with_metadata; end end -# source://actionpack/lib/action_dispatch/testing/request_encoder.rb#6 +# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#6 class ActionDispatch::RequestEncoder # @return [RequestEncoder] a new instance of RequestEncoder # - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#18 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#18 def initialize(mime_name, param_encoder, response_parser); end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#34 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#34 def accept_header; end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#30 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#30 def content_type; end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#38 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#38 def encode_params(params); end # Returns the value of attribute response_parser. # - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#16 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#16 def response_parser; end class << self - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#47 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#47 def encoder(name); end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#42 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#42 def parser(content_type); end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#51 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#51 def register_encoder(mime_name, param_encoder: T.unsafe(nil), response_parser: T.unsafe(nil)); end end end -# source://actionpack/lib/action_dispatch/testing/request_encoder.rb#7 +# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#7 class ActionDispatch::RequestEncoder::IdentityEncoder - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#9 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#9 def accept_header; end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#8 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#8 def content_type; end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#10 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#10 def encode_params(params); end - # source://actionpack/lib/action_dispatch/testing/request_encoder.rb#11 + # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#11 def response_parser; end end @@ -15218,22 +15243,22 @@ end # The unique request id can be used to trace a request end-to-end and would typically end up being part of log files # from multiple pieces of the stack. # -# source://actionpack/lib/action_dispatch/middleware/request_id.rb#19 +# source://actionpack//lib/action_dispatch/middleware/request_id.rb#19 class ActionDispatch::RequestId # @return [RequestId] a new instance of RequestId # - # source://actionpack/lib/action_dispatch/middleware/request_id.rb#20 + # source://actionpack//lib/action_dispatch/middleware/request_id.rb#20 def initialize(app, header:); end - # source://actionpack/lib/action_dispatch/middleware/request_id.rb#25 + # source://actionpack//lib/action_dispatch/middleware/request_id.rb#25 def call(env); end private - # source://actionpack/lib/action_dispatch/middleware/request_id.rb#40 + # source://actionpack//lib/action_dispatch/middleware/request_id.rb#40 def internal_request_id; end - # source://actionpack/lib/action_dispatch/middleware/request_id.rb#32 + # source://actionpack//lib/action_dispatch/middleware/request_id.rb#32 def make_request_id(request_id); end end @@ -15265,7 +15290,7 @@ end # end # end # -# source://actionpack/lib/action_dispatch/http/response.rb#36 +# source://actionpack//lib/action_dispatch/http/response.rb#36 class ActionDispatch::Response include ::Rack::Response::Helpers include ::ActionDispatch::Http::FilterRedirect @@ -15276,50 +15301,50 @@ class ActionDispatch::Response # @yield [_self] # @yieldparam _self [ActionDispatch::Response] the object that the method was called on # - # source://actionpack/lib/action_dispatch/http/response.rb#169 + # source://actionpack//lib/action_dispatch/http/response.rb#169 def initialize(status = T.unsafe(nil), headers = T.unsafe(nil), body = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/response.rb#73 + # source://actionpack//lib/action_dispatch/http/response.rb#73 def [](*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/http/response.rb#73 + # source://actionpack//lib/action_dispatch/http/response.rb#73 def []=(*_arg0, **_arg1, &_arg2); end # Aliasing these off because AD::Http::Cache::Response defines them. # - # source://rack/3.1.8lib/rack/response.rb#290 + # source://actionpack//lib/action_dispatch/http/response.rb#91 def _cache_control; end - # source://rack/3.1.8lib/rack/response.rb#294 + # source://actionpack//lib/action_dispatch/http/response.rb#92 def _cache_control=(value); end - # source://actionpack/lib/action_dispatch/http/response.rb#382 + # source://actionpack//lib/action_dispatch/http/response.rb#382 def abort; end - # source://actionpack/lib/action_dispatch/http/response.rb#195 + # source://actionpack//lib/action_dispatch/http/response.rb#195 def await_commit; end - # source://actionpack/lib/action_dispatch/http/response.rb#201 + # source://actionpack//lib/action_dispatch/http/response.rb#201 def await_sent; end # Returns the content of the response as a string. This contains the contents # of any calls to render. # - # source://actionpack/lib/action_dispatch/http/response.rb#316 + # source://actionpack//lib/action_dispatch/http/response.rb#316 def body; end # Allows you to manually set or override the response body. # - # source://actionpack/lib/action_dispatch/http/response.rb#325 + # source://actionpack//lib/action_dispatch/http/response.rb#325 def body=(body); end - # source://actionpack/lib/action_dispatch/http/response.rb#369 + # source://actionpack//lib/action_dispatch/http/response.rb#369 def body_parts; end # The charset of the response. HTML wants to know the encoding of the # content you're giving them, so we need to send that along. # - # source://actionpack/lib/action_dispatch/http/response.rb#286 + # source://actionpack//lib/action_dispatch/http/response.rb#286 def charset; end # Sets the HTTP character set. In case of +nil+ parameter @@ -15328,28 +15353,28 @@ class ActionDispatch::Response # response.charset = 'utf-16' # => 'utf-16' # response.charset = nil # => 'utf-8' # - # source://actionpack/lib/action_dispatch/http/response.rb#275 + # source://actionpack//lib/action_dispatch/http/response.rb#275 def charset=(charset); end - # source://actionpack/lib/action_dispatch/http/response.rb#378 + # source://actionpack//lib/action_dispatch/http/response.rb#378 def close; end # Returns a string to ensure compatibility with +Net::HTTPResponse+. # - # source://actionpack/lib/action_dispatch/http/response.rb#297 + # source://actionpack//lib/action_dispatch/http/response.rb#297 def code; end - # source://actionpack/lib/action_dispatch/http/response.rb#205 + # source://actionpack//lib/action_dispatch/http/response.rb#205 def commit!; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#229 + # source://actionpack//lib/action_dispatch/http/response.rb#229 def committed?; end # Content type of response. # - # source://actionpack/lib/action_dispatch/http/response.rb#255 + # source://actionpack//lib/action_dispatch/http/response.rb#255 def content_type; end # Sets the HTTP response's content MIME type. For example, in the controller @@ -15361,40 +15386,40 @@ class ActionDispatch::Response # the character set information will also be included in the content type # information. # - # source://actionpack/lib/action_dispatch/http/response.rb#245 + # source://actionpack//lib/action_dispatch/http/response.rb#245 def content_type=(content_type); end # Returns the response cookies, converted to a Hash of (name => value) pairs # # assert_equal 'AuthorOfNewPage', r.cookies['author'] # - # source://actionpack/lib/action_dispatch/http/response.rb#406 + # source://actionpack//lib/action_dispatch/http/response.rb#406 def cookies; end - # source://actionpack/lib/action_dispatch/http/response.rb#86 + # source://actionpack//lib/action_dispatch/http/response.rb#86 def default_charset; end - # source://actionpack/lib/action_dispatch/http/response.rb#86 + # source://actionpack//lib/action_dispatch/http/response.rb#86 def default_charset=(val); end - # source://actionpack/lib/action_dispatch/http/response.rb#87 + # source://actionpack//lib/action_dispatch/http/response.rb#87 def default_headers; end - # source://actionpack/lib/action_dispatch/http/response.rb#87 + # source://actionpack//lib/action_dispatch/http/response.rb#87 def default_headers=(val); end - # source://actionpack/lib/action_dispatch/http/response.rb#193 + # source://actionpack//lib/action_dispatch/http/response.rb#193 def delete_header(key); end - # source://actionpack/lib/action_dispatch/http/response.rb#75 + # source://actionpack//lib/action_dispatch/http/response.rb#75 def each(&block); end - # source://actionpack/lib/action_dispatch/http/response.rb#191 + # source://actionpack//lib/action_dispatch/http/response.rb#191 def get_header(key); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#190 + # source://actionpack//lib/action_dispatch/http/response.rb#190 def has_header?(key); end # The headers for the response. @@ -15411,7 +15436,7 @@ class ActionDispatch::Response # # Also aliased as +header+ for compatibility. # - # source://actionpack/lib/action_dispatch/http/response.rb#69 + # source://actionpack//lib/action_dispatch/http/response.rb#71 def header; end # The headers for the response. @@ -15428,12 +15453,12 @@ class ActionDispatch::Response # # Also aliased as +header+ for compatibility. # - # source://actionpack/lib/action_dispatch/http/response.rb#69 + # source://actionpack//lib/action_dispatch/http/response.rb#69 def headers; end # Media type of response. # - # source://actionpack/lib/action_dispatch/http/response.rb#260 + # source://actionpack//lib/action_dispatch/http/response.rb#260 def media_type; end # Returns the corresponding message for the current HTTP status code: @@ -15444,7 +15469,7 @@ class ActionDispatch::Response # response.status = 404 # response.message # => "Not Found" # - # source://actionpack/lib/action_dispatch/http/response.rb#309 + # source://actionpack//lib/action_dispatch/http/response.rb#309 def message; end # Turns the Response into a Rack-compatible array of the status, headers, @@ -15452,67 +15477,67 @@ class ActionDispatch::Response # # status, headers, body = *response # - # source://actionpack/lib/action_dispatch/http/response.rb#397 + # source://actionpack//lib/action_dispatch/http/response.rb#401 def prepare!; end # The location header we'll be responding with. # - # source://rack/3.1.8lib/rack/response.rb#262 + # source://actionpack//lib/action_dispatch/http/response.rb#376 def redirect_url; end # The request that the response is responding to. # - # source://actionpack/lib/action_dispatch/http/response.rb#51 + # source://actionpack//lib/action_dispatch/http/response.rb#51 def request; end # The request that the response is responding to. # - # source://actionpack/lib/action_dispatch/http/response.rb#51 + # source://actionpack//lib/action_dispatch/http/response.rb#51 def request=(_arg0); end - # source://actionpack/lib/action_dispatch/http/response.rb#365 + # source://actionpack//lib/action_dispatch/http/response.rb#365 def reset_body!; end # The response code of the request. # - # source://actionpack/lib/action_dispatch/http/response.rb#292 + # source://actionpack//lib/action_dispatch/http/response.rb#292 def response_code; end # Send the file stored at +path+ as the response body. # - # source://actionpack/lib/action_dispatch/http/response.rb#360 + # source://actionpack//lib/action_dispatch/http/response.rb#360 def send_file(path); end - # source://actionpack/lib/action_dispatch/http/response.rb#213 + # source://actionpack//lib/action_dispatch/http/response.rb#213 def sending!; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#228 + # source://actionpack//lib/action_dispatch/http/response.rb#228 def sending?; end - # source://actionpack/lib/action_dispatch/http/response.rb#264 + # source://actionpack//lib/action_dispatch/http/response.rb#264 def sending_file=(v); end - # source://actionpack/lib/action_dispatch/http/response.rb#221 + # source://actionpack//lib/action_dispatch/http/response.rb#221 def sent!; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#230 + # source://actionpack//lib/action_dispatch/http/response.rb#230 def sent?; end - # source://actionpack/lib/action_dispatch/http/response.rb#192 + # source://actionpack//lib/action_dispatch/http/response.rb#192 def set_header(key, v); end # The HTTP status code. # - # source://actionpack/lib/action_dispatch/http/response.rb#54 + # source://actionpack//lib/action_dispatch/http/response.rb#54 def status; end # Sets the HTTP status code. # - # source://actionpack/lib/action_dispatch/http/response.rb#233 + # source://actionpack//lib/action_dispatch/http/response.rb#233 def status=(status); end # Returns the corresponding message for the current HTTP status code: @@ -15523,12 +15548,12 @@ class ActionDispatch::Response # response.status = 404 # response.message # => "Not Found" # - # source://actionpack/lib/action_dispatch/http/response.rb#309 + # source://actionpack//lib/action_dispatch/http/response.rb#312 def status_message; end # The underlying body, as a streamable object. # - # source://actionpack/lib/action_dispatch/http/response.rb#167 + # source://actionpack//lib/action_dispatch/http/response.rb#167 def stream; end # Turns the Response into a Rack-compatible array of the status, headers, @@ -15536,146 +15561,163 @@ class ActionDispatch::Response # # status, headers, body = *response # - # source://actionpack/lib/action_dispatch/http/response.rb#397 + # source://actionpack//lib/action_dispatch/http/response.rb#397 def to_a; end - # source://actionpack/lib/action_dispatch/http/response.rb#320 + # source://actionpack//lib/action_dispatch/http/response.rb#320 def write(string); end private - # source://actionpack/lib/action_dispatch/http/response.rb#477 + # source://actionpack//lib/action_dispatch/http/response.rb#477 def assign_default_content_type_and_charset!; end - # source://actionpack/lib/action_dispatch/http/response.rb#450 + # source://actionpack//lib/action_dispatch/http/response.rb#450 def before_committed; end - # source://actionpack/lib/action_dispatch/http/response.rb#458 + # source://actionpack//lib/action_dispatch/http/response.rb#458 def before_sending; end - # source://actionpack/lib/action_dispatch/http/response.rb#469 + # source://actionpack//lib/action_dispatch/http/response.rb#469 def build_buffer(response, body); end - # source://actionpack/lib/action_dispatch/http/response.rb#527 + # source://actionpack//lib/action_dispatch/http/response.rb#527 def handle_no_content!; end - # source://actionpack/lib/action_dispatch/http/response.rb#473 + # source://actionpack//lib/action_dispatch/http/response.rb#473 def munge_body_object(body); end - # source://actionpack/lib/action_dispatch/http/response.rb#430 + # source://actionpack//lib/action_dispatch/http/response.rb#430 def parse_content_type(content_type); end # Small internal convenience method to get the parsed version of the current # content type header. # - # source://actionpack/lib/action_dispatch/http/response.rb#440 + # source://actionpack//lib/action_dispatch/http/response.rb#440 def parsed_content_type_header; end - # source://actionpack/lib/action_dispatch/http/response.rb#534 + # source://actionpack//lib/action_dispatch/http/response.rb#534 def rack_response(status, headers); end - # source://actionpack/lib/action_dispatch/http/response.rb#444 + # source://actionpack//lib/action_dispatch/http/response.rb#444 def set_content_type(content_type, charset); end class << self - # source://actionpack/lib/action_dispatch/http/response.rb#157 + # source://actionpack//lib/action_dispatch/http/response.rb#157 def create(status = T.unsafe(nil), headers = T.unsafe(nil), body = T.unsafe(nil), default_headers: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/response.rb#86 + # source://actionpack//lib/action_dispatch/http/response.rb#86 def default_charset; end - # source://actionpack/lib/action_dispatch/http/response.rb#86 + # source://actionpack//lib/action_dispatch/http/response.rb#86 def default_charset=(val); end - # source://actionpack/lib/action_dispatch/http/response.rb#87 + # source://actionpack//lib/action_dispatch/http/response.rb#87 def default_headers; end - # source://actionpack/lib/action_dispatch/http/response.rb#87 + # source://actionpack//lib/action_dispatch/http/response.rb#87 def default_headers=(val); end - # source://actionpack/lib/action_dispatch/http/response.rb#162 + # source://actionpack//lib/action_dispatch/http/response.rb#162 def merge_default_headers(original, default); end end end -# source://actionpack/lib/action_dispatch/http/response.rb#98 +# source://actionpack//lib/action_dispatch/http/response.rb#98 class ActionDispatch::Response::Buffer # @return [Buffer] a new instance of Buffer # - # source://actionpack/lib/action_dispatch/http/response.rb#99 + # source://actionpack//lib/action_dispatch/http/response.rb#99 def initialize(response, buf); end # @raise [IOError] # - # source://actionpack/lib/action_dispatch/http/response.rb#120 + # source://actionpack//lib/action_dispatch/http/response.rb#127 def <<(string); end - # source://actionpack/lib/action_dispatch/http/response.rb#139 + # source://actionpack//lib/action_dispatch/http/response.rb#139 def abort; end - # source://actionpack/lib/action_dispatch/http/response.rb#112 + # source://actionpack//lib/action_dispatch/http/response.rb#112 def body; end - # source://actionpack/lib/action_dispatch/http/response.rb#142 + # source://actionpack//lib/action_dispatch/http/response.rb#142 def close; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#147 + # source://actionpack//lib/action_dispatch/http/response.rb#147 def closed?; end - # source://actionpack/lib/action_dispatch/http/response.rb#129 + # source://actionpack//lib/action_dispatch/http/response.rb#129 def each(&block); end - # source://actionpack/lib/action_dispatch/http/response.rb#106 + # source://actionpack//lib/action_dispatch/http/response.rb#106 def to_ary; end # @raise [IOError] # - # source://actionpack/lib/action_dispatch/http/response.rb#120 + # source://actionpack//lib/action_dispatch/http/response.rb#120 def write(string); end private - # source://actionpack/lib/action_dispatch/http/response.rb#152 + # source://actionpack//lib/action_dispatch/http/response.rb#152 def each_chunk(&block); end end -# source://actionpack/lib/action_dispatch/http/response.rb#82 +# source://actionpack//lib/action_dispatch/http/response.rb#82 ActionDispatch::Response::CONTENT_TYPE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/response.rb#424 +# source://actionpack//lib/action_dispatch/http/response.rb#424 ActionDispatch::Response::CONTENT_TYPE_PARSER = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/http/response.rb#421 +# source://actionpack//lib/action_dispatch/http/response.rb#421 class ActionDispatch::Response::ContentTypeHeader < ::Struct # Returns the value of attribute charset # # @return [Object] the current value of charset + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def charset; end # Sets the attribute charset # # @param value [Object] the value to set the attribute charset to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def charset=(_); end # Returns the value of attribute mime_type # # @return [Object] the current value of mime_type + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def mime_type; end # Sets the attribute mime_type # # @param value [Object] the value to set the attribute mime_type to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def mime_type=(_); end class << self + # source://actionpack//lib/action_dispatch/http/response.rb#421 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def inspect; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def members; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def new(*_arg0); end end end @@ -15684,74 +15726,74 @@ end # Rack::Sendfile will usually intercept the response and uses # the path directly, so there is no reason to open the file. # -# source://actionpack/lib/action_dispatch/http/response.rb#338 +# source://actionpack//lib/action_dispatch/http/response.rb#338 class ActionDispatch::Response::FileBody # @return [FileBody] a new instance of FileBody # - # source://actionpack/lib/action_dispatch/http/response.rb#341 + # source://actionpack//lib/action_dispatch/http/response.rb#341 def initialize(path); end - # source://actionpack/lib/action_dispatch/http/response.rb#345 + # source://actionpack//lib/action_dispatch/http/response.rb#345 def body; end # Stream the file's contents if Rack::Sendfile isn't present. # - # source://actionpack/lib/action_dispatch/http/response.rb#350 + # source://actionpack//lib/action_dispatch/http/response.rb#350 def each; end - # source://actionpack/lib/action_dispatch/http/response.rb#339 + # source://actionpack//lib/action_dispatch/http/response.rb#339 def to_path; end end # To be deprecated: # -# source://actionpack/lib/action_dispatch/http/response.rb#48 +# source://actionpack//lib/action_dispatch/http/response.rb#48 ActionDispatch::Response::Header = Rack::Headers -# source://actionpack/lib/action_dispatch/http/response.rb#40 +# source://actionpack//lib/action_dispatch/http/response.rb#40 ActionDispatch::Response::Headers = Rack::Headers -# source://actionpack/lib/action_dispatch/http/response.rb#84 +# source://actionpack//lib/action_dispatch/http/response.rb#84 ActionDispatch::Response::NO_CONTENT_CODES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/http/response.rb#422 +# source://actionpack//lib/action_dispatch/http/response.rb#422 ActionDispatch::Response::NullContentTypeHeader = T.let(T.unsafe(nil), ActionDispatch::Response::ContentTypeHeader) -# source://actionpack/lib/action_dispatch/http/response.rb#485 +# source://actionpack//lib/action_dispatch/http/response.rb#485 class ActionDispatch::Response::RackBody # @return [RackBody] a new instance of RackBody # - # source://actionpack/lib/action_dispatch/http/response.rb#486 + # source://actionpack//lib/action_dispatch/http/response.rb#486 def initialize(response); end - # source://actionpack/lib/action_dispatch/http/response.rb#496 + # source://actionpack//lib/action_dispatch/http/response.rb#496 def body; end - # source://actionpack/lib/action_dispatch/http/response.rb#518 + # source://actionpack//lib/action_dispatch/http/response.rb#518 def call(*arguments, &block); end - # source://actionpack/lib/action_dispatch/http/response.rb#490 + # source://actionpack//lib/action_dispatch/http/response.rb#490 def close; end - # source://actionpack/lib/action_dispatch/http/response.rb#514 + # source://actionpack//lib/action_dispatch/http/response.rb#514 def each(*args, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/response.rb#502 + # source://actionpack//lib/action_dispatch/http/response.rb#502 def respond_to?(method, include_private = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/response.rb#510 + # source://actionpack//lib/action_dispatch/http/response.rb#510 def to_ary; end - # source://actionpack/lib/action_dispatch/http/response.rb#522 + # source://actionpack//lib/action_dispatch/http/response.rb#522 def to_path; end end -# source://actionpack/lib/action_dispatch/http/response.rb#500 +# source://actionpack//lib/action_dispatch/http/response.rb#500 ActionDispatch::Response::RackBody::BODY_METHODS = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/response.rb#83 +# source://actionpack//lib/action_dispatch/http/response.rb#83 ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String) # The routing module provides URL rewriting in native Ruby. It's a way to @@ -15997,149 +16039,149 @@ ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String) # using -g. Useful in conjunction with --expanded # which displays routes vertically. # -# source://actionpack/lib/action_dispatch/routing.rb#246 +# source://actionpack//lib/action_dispatch/routing.rb#246 module ActionDispatch::Routing extend ::ActiveSupport::Autoload end -# source://actionpack/lib/action_dispatch/routing/inspector.rb#153 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#153 module ActionDispatch::Routing::ConsoleFormatter; end -# source://actionpack/lib/action_dispatch/routing/inspector.rb#154 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#154 class ActionDispatch::Routing::ConsoleFormatter::Base # @return [Base] a new instance of Base # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#155 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#155 def initialize; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#169 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#169 def header(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#172 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#172 def no_routes(routes, filter); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#159 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#159 def result; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#166 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#166 def section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#163 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#163 def section_title(title); end end -# source://actionpack/lib/action_dispatch/routing/inspector.rb#226 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#226 class ActionDispatch::Routing::ConsoleFormatter::Expanded < ::ActionDispatch::Routing::ConsoleFormatter::Base # @return [Expanded] a new instance of Expanded # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#227 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#227 def initialize(width: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#236 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#236 def section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#232 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#232 def section_title(title); end private - # source://actionpack/lib/action_dispatch/routing/inspector.rb#241 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#241 def draw_expanded_section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#256 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#256 def route_header(index:); end end -# source://actionpack/lib/action_dispatch/routing/inspector.rb#190 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#190 class ActionDispatch::Routing::ConsoleFormatter::Sheet < ::ActionDispatch::Routing::ConsoleFormatter::Base - # source://actionpack/lib/action_dispatch/routing/inspector.rb#199 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#199 def header(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#195 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#195 def section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#191 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#191 def section_title(title); end private - # source://actionpack/lib/action_dispatch/routing/inspector.rb#213 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#213 def draw_header(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#204 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#204 def draw_section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#219 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#219 def widths(routes); end end -# source://actionpack/lib/action_dispatch/routing/inspector.rb#261 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#261 class ActionDispatch::Routing::ConsoleFormatter::Unused < ::ActionDispatch::Routing::ConsoleFormatter::Sheet - # source://actionpack/lib/action_dispatch/routing/inspector.rb#262 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#262 def header(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#270 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#270 def no_routes(routes, filter); end end -# source://actionpack/lib/action_dispatch/routing/endpoint.rb#5 +# source://actionpack//lib/action_dispatch/routing/endpoint.rb#5 class ActionDispatch::Routing::Endpoint - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#9 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#9 def app; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#6 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#6 def dispatcher?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#12 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#12 def engine?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#8 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#8 def matches?(req); end - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#10 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#10 def rack_app; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/endpoint.rb#7 + # source://actionpack//lib/action_dispatch/routing/endpoint.rb#7 def redirect?; end end -# source://actionpack/lib/action_dispatch/routing.rb#258 +# source://actionpack//lib/action_dispatch/routing.rb#258 ActionDispatch::Routing::HTTP_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/inspector.rb#283 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#283 class ActionDispatch::Routing::HtmlTableFormatter # @return [HtmlTableFormatter] a new instance of HtmlTableFormatter # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#284 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#284 def initialize(view); end # The header is part of the HTML page, so we don't construct it here. # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#298 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#298 def header(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#301 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#301 def no_routes(*_arg0); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#314 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#314 def result; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#293 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#293 def section(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#289 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#289 def section_title(title); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#12 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#12 class ActionDispatch::Routing::Mapper include ::ActionDispatch::Routing::Mapper::Base include ::ActionDispatch::Routing::Mapper::HttpHelpers @@ -16151,55 +16193,55 @@ class ActionDispatch::Routing::Mapper # @return [Mapper] a new instance of Mapper # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2350 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2350 def initialize(set); end class << self - # source://actionpack/lib/action_dispatch/routing/mapper.rb#25 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#25 def backtrace_cleaner; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#25 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#25 def backtrace_cleaner=(val); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#429 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#429 def normalize_name(name); end # Invokes Journey::Router::Utils.normalize_path, then ensures that # /(:locale) becomes (/:locale). Except for root cases, where the # former is the correct one. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#412 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#412 def normalize_path(path); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#24 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#24 def route_source_locations; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#24 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#24 def route_source_locations=(val); end end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#13 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#13 class ActionDispatch::Routing::Mapper::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner # @return [BacktraceCleaner] a new instance of BacktraceCleaner # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#14 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#14 def initialize; end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#433 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#433 module ActionDispatch::Routing::Mapper::Base - # source://actionpack/lib/action_dispatch/routing/mapper.rb#666 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#669 def default_url_options(options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#666 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#666 def default_url_options=(options); end # Query if the following named route was already defined. # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#678 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#678 def has_named_route?(name); end # Matches a URL pattern to one or more routes. @@ -16383,7 +16425,7 @@ module ActionDispatch::Routing::Mapper::Base # Allows you to specify the default value for optional +format+ # segment or disable it by supplying +false+. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#614 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#614 def match(path, options = T.unsafe(nil)); end # Mount a Rack-based application to be used within the application. @@ -16408,23 +16450,23 @@ module ActionDispatch::Routing::Mapper::Base # # @raise [ArgumentError] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#636 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#636 def mount(app, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#671 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#671 def with_default_scope(scope, &block); end private - # source://actionpack/lib/action_dispatch/routing/mapper.rb#687 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#687 def app_name(app, rails_app); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#696 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#696 def define_generate_prefix(app, name); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#683 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#683 def rails_app?(app); end end @@ -16449,7 +16491,7 @@ end # concerns :commentable # end # -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2062 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2062 module ActionDispatch::Routing::Mapper::Concerns # Define a routing concern using a name. # @@ -16508,7 +16550,7 @@ module ActionDispatch::Routing::Mapper::Concerns # callable, they're accessible from the Mapper that's passed to # call. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2119 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2119 def concern(name, callable = T.unsafe(nil), &block); end # Use the named concerns @@ -16523,53 +16565,53 @@ module ActionDispatch::Routing::Mapper::Concerns # concerns :commentable # end # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2135 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2135 def concerns(*args); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#27 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#27 class ActionDispatch::Routing::Mapper::Constraints < ::ActionDispatch::Routing::Endpoint # @return [Constraints] a new instance of Constraints # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#33 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#33 def initialize(app, constraints, strategy); end # Returns the value of attribute app. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#28 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#28 def app; end # Returns the value of attribute constraints. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#28 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#28 def constraints; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#48 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#48 def dispatcher?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#50 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#50 def matches?(req); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#57 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#57 def serve(req); end private - # source://actionpack/lib/action_dispatch/routing/mapper.rb#64 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#64 def constraint_args(constraint, request); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#31 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#31 ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#30 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#30 ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2147 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2147 module ActionDispatch::Routing::Mapper::CustomUrls # Define custom URL helpers that will be added to the application's # routes. This allows you to override and/or replace the default behavior @@ -16619,7 +16661,7 @@ module ActionDispatch::Routing::Mapper::CustomUrls # NOTE: The +direct+ method can't be used inside of a scope block such as # +namespace+ or +scope+ and will raise an error if it detects that it is. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2195 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2195 def direct(name, options = T.unsafe(nil), &block); end # Define custom polymorphic mappings of models to URLs. This alters the @@ -16667,18 +16709,18 @@ module ActionDispatch::Routing::Mapper::CustomUrls # NOTE: The +resolve+ method can't be used inside of a scope block such as # +namespace+ or +scope+ and will raise an error if it detects that it is. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2247 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2247 def resolve(*args, &block); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#730 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#730 module ActionDispatch::Routing::Mapper::HttpHelpers # Define a route that only recognizes HTTP DELETE. # For supported arguments, see match[rdoc-ref:Base#match] # # delete 'broccoli', to: 'food#broccoli' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#767 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#767 def delete(*args, &block); end # Define a route that only recognizes HTTP GET. @@ -16686,7 +16728,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # get 'bacon', to: 'food#bacon' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#735 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#735 def get(*args, &block); end # Define a route that only recognizes HTTP OPTIONS. @@ -16694,7 +16736,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # options 'carrots', to: 'food#carrots' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#775 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#775 def options(*args, &block); end # Define a route that only recognizes HTTP PATCH. @@ -16702,7 +16744,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # patch 'bacon', to: 'food#bacon' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#751 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#751 def patch(*args, &block); end # Define a route that only recognizes HTTP POST. @@ -16710,7 +16752,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # post 'bacon', to: 'food#bacon' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#743 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#743 def post(*args, &block); end # Define a route that only recognizes HTTP PUT. @@ -16718,153 +16760,153 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # put 'bacon', to: 'food#bacon' # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#759 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#759 def put(*args, &block); end private - # source://actionpack/lib/action_dispatch/routing/mapper.rb#780 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#780 def map_method(method, args, &block); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#81 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#81 class ActionDispatch::Routing::Mapper::Mapping # @return [Mapping] a new instance of Mapping # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#130 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#130 def initialize(set:, ast:, controller:, default_action:, to:, formatted:, via:, options_constraints:, anchor:, scope_params:, options:); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#188 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#188 def application; end # Returns the value of attribute ast. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def ast; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#192 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#192 def conditions; end # Returns the value of attribute default_action. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def default_action; end # Returns the value of attribute default_controller. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def default_controller; end # Returns the value of attribute defaults. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def defaults; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#181 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#181 def make_route(name, precedence); end # Returns the value of attribute path. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def path; end # Returns the value of attribute required_defaults. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def required_defaults; end # Returns the value of attribute requirements. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def requirements; end # Returns the value of attribute scope_options. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def scope_options; end # Returns the value of attribute to. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#85 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#85 def to; end private - # source://actionpack/lib/action_dispatch/routing/mapper.rb#332 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#332 def add_controller_module(controller, modyoule); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#293 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#293 def app(blocks); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#351 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#351 def blocks(callable_constraint); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#196 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#196 def build_conditions(current_conditions, request_class); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#305 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#305 def check_controller_and_action(path_params, controller, action); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#320 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#320 def check_part(name, part, path_params, hash); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#358 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#358 def constraints(options, path_params); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#372 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#372 def dispatcher(raise_on_name_error); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#211 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#211 def intern(object); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#289 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#289 def normalize_defaults(options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#257 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#257 def normalize_format(formatted); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#215 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#215 def normalize_options!(options, path_params, modyoule); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#205 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#205 def request_method; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#377 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#377 def route_source_location; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#251 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#251 def split_constraints(path_params, constraints); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#344 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#344 def translate_controller(controller); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#273 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#273 def verify_regexp_requirements(requirements, wildcard_options); end class << self - # source://actionpack/lib/action_dispatch/routing/mapper.rb#88 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#88 def build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#102 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#102 def check_via(via); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#114 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#114 def normalize_path(path, format); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#126 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#126 def optional_format?(path, format); end end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#82 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#82 ActionDispatch::Routing::Mapper::Mapping::ANCHOR_CHARACTERS_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#179 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#179 ActionDispatch::Routing::Mapper::Mapping::JOINED_SEPARATORS = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#83 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#83 ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe(nil), Regexp) # Resource routing allows you to quickly declare all of the common routes @@ -16906,7 +16948,7 @@ ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe # # This allows any character other than a slash as part of your +:id+. # -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1170 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1170 module ActionDispatch::Routing::Mapper::Resources # To add a route to the collection: # @@ -16921,7 +16963,7 @@ module ActionDispatch::Routing::Mapper::Resources # create the search_photos_url and search_photos_path # route helpers. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1548 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1548 def collection(&block); end # Loads another routes file with the given +name+ located inside the @@ -16948,7 +16990,7 @@ module ActionDispatch::Routing::Mapper::Resources # applications — even those with a few hundred routes — it's easier for # developers to have a single routes file. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1658 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1658 def draw(name); end # Matches a URL pattern to one or more routes. @@ -16958,7 +17000,7 @@ module ActionDispatch::Routing::Mapper::Resources # match 'path', to: 'controller#action', via: :post # match 'path', 'otherpath', on: :member, via: :get # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1680 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1680 def match(path, *rest, &block); end # To add a member route, add a member block into the resource block: @@ -16973,18 +17015,18 @@ module ActionDispatch::Routing::Mapper::Resources # preview action of +PhotosController+. It will also create the # preview_photo_url and preview_photo_path helpers. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1569 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1569 def member(&block); end # See ActionDispatch::Routing::Mapper::Scoping#namespace. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1616 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1616 def namespace(path, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1595 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1595 def nested(&block); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1585 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1585 def new(&block); end # Sometimes, you have a resource that clients always look up without @@ -17019,7 +17061,7 @@ module ActionDispatch::Routing::Mapper::Resources # === Options # Takes same options as resources[rdoc-ref:#resources] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1340 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1340 def resource(*resources, &block); end # In \Rails, a resourceful route provides a mapping between HTTP verbs @@ -17160,10 +17202,10 @@ module ActionDispatch::Routing::Mapper::Resources # # resource actions are at /admin/posts. # resources :posts, path: "admin/posts" # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1506 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1506 def resources(*resources, &block); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1305 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1305 def resources_path_names(options); end # You can specify what \Rails should route "/" to with the root method: @@ -17180,335 +17222,335 @@ module ActionDispatch::Routing::Mapper::Resources # because this means it will be matched first. As this is the most popular route # of most \Rails applications, this is beneficial. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1727 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1727 def root(path, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1624 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1624 def shallow; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1631 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1631 def shallow?; end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1791 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1791 def action_options?(options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1873 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1873 def action_path(name); end # @raise [ArgumentError] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2009 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2009 def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1927 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1927 def api_only?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1786 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1786 def apply_action_options(options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1752 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1752 def apply_common_behavior_for(method, resources, options, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1849 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1849 def canonical_action?(action); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1994 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1994 def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1979 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1979 def get_to_from_path(path, to, action); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1938 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1938 def map_match(paths, options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2036 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2036 def match_root_route(options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1889 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1889 def name_for_action(as, action); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1826 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1826 def nested_options; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1807 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1807 def nested_scope?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1845 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1845 def param_constraint; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1841 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1841 def param_constraint?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1748 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1748 def parent_resource; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1863 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1863 def path_for_action(action, path); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1931 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1931 def path_scope(path); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1877 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1877 def prefix_name_for_action(as, action); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1803 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1803 def resource_method_scope?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1818 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1818 def resource_scope(resource, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1799 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1799 def resource_scope?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1795 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1795 def scope_action_options; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1915 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1915 def set_member_mappings_for_resource; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1835 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1835 def shallow_nesting_depth; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1853 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1853 def shallow_scope; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1990 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1990 def using_match_shorthand?(path); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1811 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1811 def with_scope_level(kind); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1175 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1175 ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1174 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1174 ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1177 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1177 class ActionDispatch::Routing::Mapper::Resources::Resource # @return [Resource] a new instance of Resource # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1180 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1180 def initialize(entities, api_only, shallow, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1205 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1205 def actions; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1213 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1213 def available_actions; end # Checks for uncountable plurals, and appends "_index" if the plural # and singular form are the same. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1237 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1237 def collection_name; end # Returns the value of attribute path. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1245 def collection_scope; end # Returns the value of attribute controller. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178 def controller; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1197 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1197 def default_actions; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1229 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1233 def member_name; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1247 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1247 def member_scope; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1221 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1221 def name; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1257 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1257 def nested_param; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1261 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1261 def nested_scope; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1253 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1253 def new_scope(new_path); end # Returns the value of attribute param. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178 def param; end # Returns the value of attribute path. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178 def path; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1225 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1225 def plural; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1241 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1241 def resource_scope; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1265 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1265 def shallow?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1247 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1251 def shallow_scope; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1269 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1269 def singleton?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1229 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1229 def singular; end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1272 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1272 class ActionDispatch::Routing::Mapper::Resources::SingletonResource < ::ActionDispatch::Routing::Mapper::Resources::Resource # @return [SingletonResource] a new instance of SingletonResource # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1273 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1273 def initialize(entities, api_only, shallow, options); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1292 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1297 def collection_name; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1280 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1280 def default_actions; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1292 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1296 def member_name; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1299 def member_scope; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1178 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1300 def nested_scope; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1288 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1288 def plural; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1302 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1302 def singleton?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1292 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1292 def singular; end end # CANONICAL_ACTIONS holds all actions that does not need a prefix or # a path appended since they fit properly in their scope level. # -# source://actionpack/lib/action_dispatch/routing/mapper.rb#1173 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#1173 ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2261 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2261 class ActionDispatch::Routing::Mapper::Scope include ::Enumerable # @return [Scope] a new instance of Scope # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2271 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2271 def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2330 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2330 def [](key); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2297 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2297 def action_name(name_prefix, prefix, collection_name, member_name); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2337 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2337 def each; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2345 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2345 def frame; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2277 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2277 def nested?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2322 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2322 def new(hash); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2326 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2326 def new_level(level); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2281 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2281 def null?; end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2318 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2318 def options; end # Returns the value of attribute parent. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2269 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2269 def parent; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2293 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2293 def resource_method_scope?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2314 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2314 def resource_scope?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2289 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2289 def resources?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2285 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2285 def root?; end # Returns the value of attribute scope_level. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#2269 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#2269 def scope_level; end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2347 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2347 ActionDispatch::Routing::Mapper::Scope::NULL = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2262 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2262 ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2267 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2267 ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#2266 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#2266 ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array) # You may wish to organize groups of controllers under a namespace. @@ -17566,7 +17608,7 @@ ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), A # PATCH/PUT /admin/posts/1 # DELETE /admin/posts/1 # -# source://actionpack/lib/action_dispatch/routing/mapper.rb#842 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#842 module ActionDispatch::Routing::Mapper::Scoping # === Parameter Restriction # Allows you to constrain the nested routes based on a set of rules. @@ -17624,7 +17666,7 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :iphones # end # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1047 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1047 def constraints(constraints = T.unsafe(nil), &block); end # Scopes routes to a specific controller @@ -17633,7 +17675,7 @@ module ActionDispatch::Routing::Mapper::Scoping # match "bacon", action: :bacon, via: :get # end # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#932 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#932 def controller(controller); end # Allows you to set default parameters for a route, such as this: @@ -17642,7 +17684,7 @@ module ActionDispatch::Routing::Mapper::Scoping # end # Using this, the +:id+ parameter here will default to 'home'. # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1056 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1056 def defaults(defaults = T.unsafe(nil)); end # Scopes routes to a specific namespace. For example: @@ -17684,7 +17726,7 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :posts # end # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#977 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#977 def namespace(path, options = T.unsafe(nil), &block); end # Scopes a set of routes to the given default options. @@ -17718,95 +17760,95 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :posts # end # - # source://actionpack/lib/action_dispatch/routing/mapper.rb#873 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#873 def scope(*args); end private - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1088 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1088 def merge_action_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1072 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1072 def merge_as_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1112 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1112 def merge_blocks_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1104 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1104 def merge_constraints_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1084 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1084 def merge_controller_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1108 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1108 def merge_defaults_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1096 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1096 def merge_format_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1080 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1080 def merge_module_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1118 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1118 def merge_options_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1100 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1100 def merge_path_names_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1064 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1064 def merge_path_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1068 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1068 def merge_shallow_path_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1076 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1076 def merge_shallow_prefix_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1122 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1122 def merge_shallow_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1126 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1126 def merge_to_scope(parent, child); end - # source://actionpack/lib/action_dispatch/routing/mapper.rb#1092 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1092 def merge_via_scope(parent, child); end end -# source://actionpack/lib/action_dispatch/routing/mapper.rb#925 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#925 ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object) -# source://actionpack/lib/action_dispatch/routing/mapper.rb#22 +# source://actionpack//lib/action_dispatch/routing/mapper.rb#22 ActionDispatch::Routing::Mapper::URL_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/redirection.rb#112 +# source://actionpack//lib/action_dispatch/routing/redirection.rb#112 class ActionDispatch::Routing::OptionRedirect < ::ActionDispatch::Routing::Redirect - # source://actionpack/lib/action_dispatch/routing/redirection.rb#141 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#141 def inspect; end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#11 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#113 def options; end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#115 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#115 def path(params, request); end end -# source://actionpack/lib/action_dispatch/routing/redirection.rb#87 +# source://actionpack//lib/action_dispatch/routing/redirection.rb#87 class ActionDispatch::Routing::PathRedirect < ::ActionDispatch::Routing::Redirect - # source://actionpack/lib/action_dispatch/routing/redirection.rb#102 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#102 def inspect; end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#90 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#90 def path(params, request); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#107 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#107 def interpolation_required?(string, params); end end -# source://actionpack/lib/action_dispatch/routing/redirection.rb#88 +# source://actionpack//lib/action_dispatch/routing/redirection.rb#88 ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp) # = Action Dispatch Routing \PolymorphicRoutes @@ -17863,23 +17905,23 @@ ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp) # polymorphic_url([blog, @post]) # calls blog.post_path(@post) # form_for([blog, @post]) # => "/blog/posts/1" # -# source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#59 +# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#59 module ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#155 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#151 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#155 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#151 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def new_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end # Returns the path component of a URL for the given record. # - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#126 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#126 def polymorphic_path(record_or_hash_or_array, options = T.unsafe(nil)); end # Constructs a call to a named RESTful route for the given record and returns the @@ -17925,149 +17967,149 @@ module ActionDispatch::Routing::PolymorphicRoutes # # the class of a record will also map to the collection # polymorphic_url(Comment) # same as comments_url() # - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#103 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#103 def polymorphic_url(record_or_hash_or_array, options = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#170 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#170 def polymorphic_mapping(record); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#166 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#166 def polymorphic_path_for_action(action, record_or_hash, options); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#162 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#162 def polymorphic_url_for_action(action, record_or_hash, options); end end -# source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#178 +# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#178 class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder # @return [HelperMethodBuilder] a new instance of HelperMethodBuilder # - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#241 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#241 def initialize(key_strategy, prefix, suffix); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#255 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#255 def handle_class(klass); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#259 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#259 def handle_class_call(target, klass); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#286 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#286 def handle_list(list); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#263 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#263 def handle_model(record); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#277 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#277 def handle_model_call(target, record); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#247 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#247 def handle_string(record); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#251 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#251 def handle_string_call(target, str); end # Returns the value of attribute prefix. # - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#239 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#239 def prefix; end # Returns the value of attribute suffix. # - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#239 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#239 def suffix; end private - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#340 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#340 def get_method_for_class(klass); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#345 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#345 def get_method_for_string(str); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#332 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#332 def polymorphic_mapping(target, record); end class << self - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#189 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#189 def build(action, type); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#181 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#181 def get(action, type); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#187 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#187 def path; end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#203 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#203 def plural(prefix, suffix); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#207 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#207 def polymorphic_method(recipient, record_or_hash_or_array, action, type, options); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#199 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#199 def singular(prefix, suffix); end - # source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#186 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#186 def url; end end end -# source://actionpack/lib/action_dispatch/routing/polymorphic_routes.rb#179 +# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#179 ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder::CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/routing/redirection.rb#10 +# source://actionpack//lib/action_dispatch/routing/redirection.rb#10 class ActionDispatch::Routing::Redirect < ::ActionDispatch::Routing::Endpoint # @return [Redirect] a new instance of Redirect # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#13 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#13 def initialize(status, block); end # Returns the value of attribute block. # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#11 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#11 def block; end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#33 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#33 def build_response(req); end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#20 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#20 def call(env); end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#65 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#65 def inspect; end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#61 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#61 def path(params, request); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#18 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#18 def redirect?; end # Returns the value of attribute status. # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#11 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#11 def status; end private - # source://actionpack/lib/action_dispatch/routing/redirection.rb#74 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#74 def escape(params); end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#78 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#78 def escape_fragment(params); end - # source://actionpack/lib/action_dispatch/routing/redirection.rb#82 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#82 def escape_path(params); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#70 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#70 def relative_path?(path); end end -# source://actionpack/lib/action_dispatch/routing/redirection.rb#146 +# source://actionpack//lib/action_dispatch/routing/redirection.rb#146 module ActionDispatch::Routing::Redirection # Redirect any path to another path: # @@ -18123,148 +18165,150 @@ module ActionDispatch::Routing::Redirection # # @raise [ArgumentError] # - # source://actionpack/lib/action_dispatch/routing/redirection.rb#199 + # source://actionpack//lib/action_dispatch/routing/redirection.rb#199 def redirect(*args, &block); end end # :stopdoc: # -# source://actionpack/lib/action_dispatch/routing/route_set.rb#14 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#14 class ActionDispatch::Routing::RouteSet # @return [RouteSet] a new instance of RouteSet # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#366 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#366 def initialize(config = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#649 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#649 def add_polymorphic_mapping(klass, options, &block); end # @raise [ArgumentError] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#618 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#618 def add_route(mapping, name); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#653 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#653 def add_url_helper(name, options, &block); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#396 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#396 def api_only?; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#435 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#435 def append(&block); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#879 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#879 def call(env); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#459 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#459 def clear!; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#409 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#409 def default_env; end # Returns the value of attribute default_scope. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def default_scope; end # Sets the attribute default_scope # # @param value the value to set the attribute default_scope to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def default_scope=(_arg0); end # Returns the value of attribute default_url_options. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#338 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#338 def default_url_options; end # Sets the attribute default_url_options # # @param value the value to set the attribute default_url_options to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#338 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#338 def default_url_options=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#481 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#481 def define_mounted_helper(name, script_namer = T.unsafe(nil)); end # Returns the value of attribute disable_clear_and_finalize. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#337 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#337 def disable_clear_and_finalize; end # Sets the attribute disable_clear_and_finalize # # @param value the value to set the attribute disable_clear_and_finalize to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#337 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#337 def disable_clear_and_finalize=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#428 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#428 def draw(&block); end # Returns the value of attribute draw_paths. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#338 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#338 def draw_paths; end # Sets the attribute draw_paths # # @param value the value to set the attribute draw_paths to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#338 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#338 def draw_paths=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#386 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#386 def eager_load!; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#614 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#614 def empty?; end # Returns the value of attribute env_key. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#339 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#339 def env_key; end # Generate the path indicated by the arguments, and return an array of # the keys that were not used to generate it. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#794 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#794 def extra_keys(options, recall = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#453 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#453 def finalize!; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#822 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#822 def find_script_name(options); end # Returns the value of attribute formatter. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def formatter; end # Sets the attribute formatter # # @param value the value to set the attribute formatter to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def formatter=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#798 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#798 def generate_extras(options, recall = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#508 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#508 def generate_url_helpers(supports_path); end # Since the router holds references to many parts of the system # like engines, controllers and the application itself, inspecting # the route set can actually be really slow, therefore we default # alias inspect to to_s. + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#19 def inspect; end # Contains all the mounted helpers across different @@ -18272,244 +18316,261 @@ class ActionDispatch::Routing::RouteSet # You can include this in your classes if you want to # access routes for other engines. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#477 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#477 def mounted_helpers; end # Returns the value of attribute named_routes. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def named_routes; end # Sets the attribute named_routes # # @param value the value to set the attribute named_routes to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def named_routes=(_arg0); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#818 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#818 def optimize_routes_generation?; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#826 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#826 def path_for(options, route_name = T.unsafe(nil), reserved = T.unsafe(nil)); end # Returns the value of attribute polymorphic_mappings. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#339 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#339 def polymorphic_mappings; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#439 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#439 def prepend(&block); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#885 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#885 def recognize_path(path, environment = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#900 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#900 def recognize_path_with_request(req, path, extras, raise_on_missing: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#392 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#392 def relative_url_root; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#400 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#400 def request_class; end # Returns the value of attribute resources_path_names. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#337 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#337 def resources_path_names; end # Sets the attribute resources_path_names # # @param value the value to set the attribute resources_path_names to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#337 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#337 def resources_path_names=(_arg0); end # Returns the value of attribute router. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def router; end # Sets the attribute router # # @param value the value to set the attribute router to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def router=(_arg0); end # Returns the value of attribute set. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#341 def routes; end # Returns the value of attribute set. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def set; end # Sets the attribute set # # @param value the value to set the attribute set to. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 def set=(_arg0); end # The +options+ argument must be a hash whose keys are *symbols*. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#831 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#831 def url_for(options, route_name = T.unsafe(nil), url_strategy = T.unsafe(nil), method_name = T.unsafe(nil), reserved = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#500 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#500 def url_helpers(supports_path = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/routing/route_set.rb#443 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#443 def eval_block(block); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#809 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#809 def generate(route_name, options, recall = T.unsafe(nil), method_name = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#404 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#404 def make_request(env); end class << self - # source://actionpack/lib/action_dispatch/routing/route_set.rb#343 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#343 def default_resources_path_names; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#347 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#347 def new_with_config(config); end end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#362 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#362 class ActionDispatch::Routing::RouteSet::Config < ::Struct # Returns the value of attribute api_only # # @return [Object] the current value of api_only + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def api_only; end # Sets the attribute api_only # # @param value [Object] the value to set the attribute api_only to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def api_only=(_); end # Returns the value of attribute relative_url_root # # @return [Object] the current value of relative_url_root + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def relative_url_root; end # Sets the attribute relative_url_root # # @param value [Object] the value to set the attribute relative_url_root to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def relative_url_root=(_); end class << self + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def inspect; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def members; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def new(*_arg0); end end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#657 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#657 class ActionDispatch::Routing::RouteSet::CustomUrlHelper # @return [CustomUrlHelper] a new instance of CustomUrlHelper # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#660 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#660 def initialize(name, defaults, &block); end # Returns the value of attribute block. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#658 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#658 def block; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#666 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#666 def call(t, args, only_path = T.unsafe(nil)); end # Returns the value of attribute defaults. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#658 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#658 def defaults; end # Returns the value of attribute name. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#658 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#658 def name; end private - # source://actionpack/lib/action_dispatch/routing/route_set.rb#678 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#678 def eval_block(t, args, options); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#682 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#682 def merge_defaults(options); end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#364 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#364 ActionDispatch::Routing::RouteSet::DEFAULT_CONFIG = T.let(T.unsafe(nil), ActionDispatch::Routing::RouteSet::Config) -# source://actionpack/lib/action_dispatch/routing/route_set.rb#21 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#21 class ActionDispatch::Routing::RouteSet::Dispatcher < ::ActionDispatch::Routing::Endpoint # @return [Dispatcher] a new instance of Dispatcher # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#22 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#22 def initialize(raise_on_name_error); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#26 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#26 def dispatcher?; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#28 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#28 def serve(req); end private - # source://actionpack/lib/action_dispatch/routing/route_set.rb#42 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#42 def controller(req); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#48 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#48 def dispatch(controller, action, req, res); end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#687 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#687 class ActionDispatch::Routing::RouteSet::Generator # @return [Generator] a new instance of Generator # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#690 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#690 def initialize(named_route, options, recall, set); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#702 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#702 def controller; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#706 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#706 def current_controller; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#777 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#777 def different_controller?; end # Generates a path from routes, returns a RouteWithParams or MissingRoute. # MissingRoute will raise ActionController::UrlGenerationError. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#773 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#773 def generate; end # Returns the value of attribute named_route. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#688 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#688 def named_route; end # Remove leading slashes from controllers # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#761 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#761 def normalize_controller!; end # This pulls :controller, :action, and :id out of the recall. @@ -18518,48 +18579,48 @@ class ActionDispatch::Routing::RouteSet::Generator # :controller, :action or :id is not found, don't pull any # more keys from the recall. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#743 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#743 def normalize_controller_action_id!; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#718 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#718 def normalize_options!; end # Returns the value of attribute options. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#688 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#688 def options; end # Returns the value of attribute recall. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#688 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#688 def recall; end # Returns the value of attribute set. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#688 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#688 def set; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#710 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#710 def use_recall_for(key); end # if the current controller is "foo/bar/baz" and controller: "baz/bat" # is specified, the controller becomes "foo/baz/bat" # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#751 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#751 def use_relative_controller!; end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#783 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#783 def named_route_exists?; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#787 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#787 def segment_keys; end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#468 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#468 module ActionDispatch::Routing::RouteSet::MountedHelpers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -18584,69 +18645,69 @@ end # maintains an anonymous module that can be used to install helpers for the # named routes. # -# source://actionpack/lib/action_dispatch/routing/route_set.rb#66 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#66 class ActionDispatch::Routing::RouteSet::NamedRouteCollection include ::Enumerable # @return [NamedRouteCollection] a new instance of NamedRouteCollection # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#71 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#71 def initialize; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#121 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#131 def [](name); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#102 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#130 def []=(name, route); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#102 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#102 def add(name, route); end # Given a +name+, defines name_path and name_url helpers. # Used by 'direct', 'resolve', and 'polymorphic' route helpers. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#149 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#149 def add_url_helper(name, defaults, &block); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#88 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#132 def clear; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#88 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#88 def clear!; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#134 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#134 def each(&block); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#121 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#121 def get(name); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#84 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#84 def helper_names; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#125 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#125 def key?(name); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#143 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#143 def length; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#139 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#139 def names; end # Returns the value of attribute path_helpers_module. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#68 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#68 def path_helpers_module; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#79 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#79 def route_defined?(name); end # Returns the value of attribute url_helpers_module. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#68 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#68 def url_helpers_module; end private @@ -18664,141 +18725,141 @@ class ActionDispatch::Routing::RouteSet::NamedRouteCollection # # foo_url(bar, baz, bang, sort_by: 'baz') # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#317 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#317 def define_url_helper(mod, name, helper, url_strategy); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#68 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#68 def routes; end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#172 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#172 class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper # @return [UrlHelper] a new instance of UrlHelper # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#255 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#255 def initialize(route, options, route_name); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#262 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#262 def call(t, method_name, args, inner_options, url_strategy); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#274 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#274 def handle_positional_args(controller_options, inner_options, args, result, path_params); end # Returns the value of attribute route_name. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#185 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#185 def route_name; end class << self - # source://actionpack/lib/action_dispatch/routing/route_set.rb#173 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#173 def create(route, options, route_name); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#181 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#181 def optimize_helper?(route); end end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#187 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#187 class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper < ::ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper # @return [OptimizedUrlHelper] a new instance of OptimizedUrlHelper # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#190 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#190 def initialize(route, options, route_name); end # Returns the value of attribute arg_size. # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#188 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#188 def arg_size; end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#196 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#196 def call(t, method_name, args, inner_options, url_strategy); end private # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#227 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#227 def optimize_routes_generation?(t); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#219 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#219 def optimized_helper(args); end - # source://actionpack/lib/action_dispatch/routing/route_set.rb#231 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#231 def parameterize_args(args); end # @raise [ActionController::UrlGenerationError] # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#242 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#242 def raise_generation_error(args); end end # strategy for building URLs to send to the client # -# source://actionpack/lib/action_dispatch/routing/route_set.rb#333 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#333 ActionDispatch::Routing::RouteSet::PATH = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/routing/route_set.rb#814 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#814 ActionDispatch::Routing::RouteSet::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/routing/route_set.rb#53 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#53 class ActionDispatch::Routing::RouteSet::StaticDispatcher < ::ActionDispatch::Routing::RouteSet::Dispatcher # @return [StaticDispatcher] a new instance of StaticDispatcher # - # source://actionpack/lib/action_dispatch/routing/route_set.rb#54 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#54 def initialize(controller_class); end private - # source://actionpack/lib/action_dispatch/routing/route_set.rb#60 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#60 def controller(_); end end -# source://actionpack/lib/action_dispatch/routing/route_set.rb#334 +# source://actionpack//lib/action_dispatch/routing/route_set.rb#334 ActionDispatch::Routing::RouteSet::UNKNOWN = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/routing/inspector.rb#8 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#8 class ActionDispatch::Routing::RouteWrapper < ::SimpleDelegator - # source://actionpack/lib/action_dispatch/routing/inspector.rb#54 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#54 def action; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#26 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#26 def constraints; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#50 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#50 def controller; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#15 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#15 def endpoint; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#62 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#62 def engine?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#58 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#58 def internal?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#9 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#9 def matches_filter?(filter, value); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#38 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#38 def name; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#34 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#34 def path; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#30 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#30 def rack_app; end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#42 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#42 def reqs; end end @@ -18806,80 +18867,80 @@ end # executes `bin/rails routes` or looks at the RoutingError page. # People should not use this class. # -# source://actionpack/lib/action_dispatch/routing/inspector.rb#71 +# source://actionpack//lib/action_dispatch/routing/inspector.rb#71 class ActionDispatch::Routing::RoutesInspector # @return [RoutesInspector] a new instance of RoutesInspector # - # source://actionpack/lib/action_dispatch/routing/inspector.rb#72 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#72 def initialize(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#77 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#77 def format(formatter, filter = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/routing/inspector.rb#141 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#141 def collect_engine_routes(route); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#127 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#127 def collect_routes(routes); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#116 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#116 def filter_routes(filter); end - # source://actionpack/lib/action_dispatch/routing/inspector.rb#97 + # source://actionpack//lib/action_dispatch/routing/inspector.rb#97 def normalize_filter(filter); end end -# source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#7 +# source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#7 class ActionDispatch::Routing::RoutesProxy include ::ActionDispatch::Routing::PolymorphicRoutes include ::ActionDispatch::Routing::UrlFor # @return [RoutesProxy] a new instance of RoutesProxy # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#13 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#13 def initialize(routes, scope, helpers, script_namer = T.unsafe(nil)); end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#11 def _routes; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options?; end # Returns the value of attribute routes. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 def routes; end # Sets the attribute routes # # @param value the value to set the attribute routes to. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 def routes=(_arg0); end # Returns the value of attribute scope. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 def scope; end # Sets the attribute scope # # @param value the value to set the attribute scope to. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 def scope=(_arg0); end - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#19 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#19 def url_options; end private @@ -18889,30 +18950,30 @@ class ActionDispatch::Routing::RoutesProxy # about since it depends on the specific request, but use our # script name resolver for the mount point dependent part. # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#53 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#53 def merge_script_names(previous_script_name, new_script_name); end - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#30 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#30 def method_missing(method, *args); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/routes_proxy.rb#26 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#26 def respond_to_missing?(method, _); end class << self - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options=(value); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options?; end end end -# source://actionpack/lib/action_dispatch/routing.rb#257 +# source://actionpack//lib/action_dispatch/routing.rb#257 ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array) # = Action Dispatch Routing \UrlFor @@ -18999,7 +19060,7 @@ ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array) # # User.find(1).base_uri # => "/users/1" # -# source://actionpack/lib/action_dispatch/routing/url_for.rb#89 +# source://actionpack//lib/action_dispatch/routing/url_for.rb#89 module ActionDispatch::Routing::UrlFor include ::ActionDispatch::Routing::PolymorphicRoutes extend ::ActiveSupport::Concern @@ -19007,10 +19068,10 @@ module ActionDispatch::Routing::UrlFor mixes_in_class_methods GeneratedClassMethods - # source://actionpack/lib/action_dispatch/routing/url_for.rb#108 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#108 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#177 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#177 def full_url_for(options = T.unsafe(nil)); end # Allows calling direct or regular named route. @@ -19031,7 +19092,7 @@ module ActionDispatch::Routing::UrlFor # threadable_path(threadable) # => "/buckets/1" # threadable_url(threadable) # => "http://example.com/buckets/1" # - # source://actionpack/lib/action_dispatch/routing/url_for.rb#217 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#217 def route_for(name, *args); end # Generate a URL based on the options provided, +default_url_options+, and the @@ -19088,29 +19149,29 @@ module ActionDispatch::Routing::UrlFor # implicitly used by +url_for+ can always be overwritten like shown on the # last +url_for+ calls. # - # source://actionpack/lib/action_dispatch/routing/url_for.rb#173 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#173 def url_for(options = T.unsafe(nil)); end # Hook overridden in controller to add request information # with +default_url_options+. Application logic should not # go into url_options. # - # source://actionpack/lib/action_dispatch/routing/url_for.rb#116 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#116 def url_options; end protected # @return [Boolean] # - # source://actionpack/lib/action_dispatch/routing/url_for.rb#222 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#222 def optimize_routes_generation?; end private - # source://actionpack/lib/action_dispatch/routing/url_for.rb#234 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#234 def _routes_context; end - # source://actionpack/lib/action_dispatch/routing/url_for.rb#227 + # source://actionpack//lib/action_dispatch/routing/url_for.rb#227 def _with_routes(routes); end module GeneratedClassMethods @@ -19174,128 +19235,131 @@ end # expire HSTS immediately. Setting hsts: false is a shortcut for # hsts: { expires: 0 }. # -# source://actionpack/lib/action_dispatch/middleware/ssl.rb#51 +# source://actionpack//lib/action_dispatch/middleware/ssl.rb#51 class ActionDispatch::SSL # @return [SSL] a new instance of SSL # - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#63 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#63 def initialize(app, redirect: T.unsafe(nil), hsts: T.unsafe(nil), secure_cookies: T.unsafe(nil), ssl_default_redirect_status: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#75 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#75 def call(env); end private # https://tools.ietf.org/html/rfc6797#section-6.1 # - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#109 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#109 def build_hsts_header(hsts); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#116 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#116 def flag_cookies_as_secure!(headers); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#157 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#157 def https_location_for(request); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#94 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#94 def normalize_hsts_options(options); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#140 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#140 def redirect_to_https(request); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#147 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#147 def redirection_status(request); end - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#90 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#90 def set_hsts_header!(headers); end class << self - # source://actionpack/lib/action_dispatch/middleware/ssl.rb#59 + # source://actionpack//lib/action_dispatch/middleware/ssl.rb#59 def default_hsts_options; end end end # Default to 2 years as recommended on hstspreload.org. # -# source://actionpack/lib/action_dispatch/middleware/ssl.rb#55 +# source://actionpack//lib/action_dispatch/middleware/ssl.rb#55 ActionDispatch::SSL::HSTS_EXPIRES_IN = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_dispatch/middleware/ssl.rb#57 +# source://actionpack//lib/action_dispatch/middleware/ssl.rb#57 ActionDispatch::SSL::PERMANENT_REDIRECT_REQUEST_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack/lib/action_dispatch/middleware/server_timing.rb#6 +# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#6 class ActionDispatch::ServerTiming # @return [ServerTiming] a new instance of ServerTiming # - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#50 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#50 def initialize(app); end - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#56 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#56 def call(env); end class << self - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#46 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#46 def unsubscribe; end end end -# source://actionpack/lib/action_dispatch/middleware/server_timing.rb#7 +# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#7 class ActionDispatch::ServerTiming::Subscriber include ::Singleton extend ::Singleton::SingletonClassMethods # @return [Subscriber] a new instance of Subscriber # - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#11 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#11 def initialize; end - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#15 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#15 def call(event); end - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#21 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#21 def collect_events; end - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#30 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#30 def ensure_subscribed; end - # source://actionpack/lib/action_dispatch/middleware/server_timing.rb#38 + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#38 def unsubscribe; end class << self private + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8 def allocate; end + + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8 def new(*_arg0); end end end -# source://actionpack/lib/action_dispatch/middleware/server_timing.rb#9 +# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#9 ActionDispatch::ServerTiming::Subscriber::KEY = T.let(T.unsafe(nil), Symbol) -# source://actionpack/lib/action_dispatch.rb#110 +# source://actionpack//lib/action_dispatch.rb#110 module ActionDispatch::Session class << self - # source://actionpack/lib/action_dispatch.rb#117 + # source://actionpack//lib/action_dispatch.rb#117 def resolve_store(session_store); end end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#95 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#95 class ActionDispatch::Session::AbstractSecureStore < ::Rack::Session::Abstract::PersistedSecure include ::ActionDispatch::Session::Compatibility include ::ActionDispatch::Session::StaleSessionCheck include ::ActionDispatch::Session::SessionObject - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#100 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#100 def generate_sid; end private - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#105 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#105 def set_cookie(request, response, cookie); end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#84 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#84 class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persisted include ::ActionDispatch::Session::Compatibility include ::ActionDispatch::Session::StaleSessionCheck @@ -19303,7 +19367,7 @@ class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persis private - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#90 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#90 def set_cookie(request, response, cookie); end end @@ -19318,53 +19382,53 @@ end # * expire_after - The length of time a session will be stored before automatically expiring. # By default, the :expires_in option of the cache is used. # -# source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#17 +# source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#17 class ActionDispatch::Session::CacheStore < ::ActionDispatch::Session::AbstractSecureStore # @return [CacheStore] a new instance of CacheStore # - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#18 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#18 def initialize(app, options = T.unsafe(nil)); end # Remove a session from the cache. # - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#44 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#44 def delete_session(env, sid, options); end # Get a session from the cache. # - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#25 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#25 def find_session(env, sid); end # Set a session in the cache. # - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#33 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#33 def write_session(env, sid, session, options); end private # Turn the session id into a cache key. # - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#52 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#52 def cache_key(id); end - # source://actionpack/lib/action_dispatch/middleware/session/cache_store.rb#56 + # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#56 def get_session_with_fallback(sid); end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#20 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#20 module ActionDispatch::Session::Compatibility - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#21 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#21 def initialize(app, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#26 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#26 def generate_sid; end private - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#33 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#33 def initialize_sid; end - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#38 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#38 def make_request(env); end end @@ -19411,90 +19475,90 @@ end # Other useful options include :key, :secure, # :httponly, and :same_site. # -# source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#51 +# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#51 class ActionDispatch::Session::CookieStore < ::ActionDispatch::Session::AbstractSecureStore # @return [CookieStore] a new instance of CookieStore # - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#63 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#63 def initialize(app, options = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#69 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#69 def delete_session(req, session_id, options); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#76 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#76 def load_session(req); end private - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#123 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#123 def cookie_jar(request); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#85 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#85 def extract_session_id(req); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#119 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#119 def get_cookie(req); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#104 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#104 def persistent_session_id!(data, sid = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#115 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#115 def set_cookie(request, session_id, cookie); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#92 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#92 def unpacked_cookie_data(req); end - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#110 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#110 def write_session(req, sid, session_data, options); end end -# source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#61 +# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#61 ActionDispatch::Session::CookieStore::DEFAULT_SAME_SITE = T.let(T.unsafe(nil), Proc) -# source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#52 +# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#52 class ActionDispatch::Session::CookieStore::SessionId # @return [SessionId] a new instance of SessionId # - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#55 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#55 def initialize(session_id, cookie_value = T.unsafe(nil)); end # Returns the value of attribute cookie_value. # - # source://actionpack/lib/action_dispatch/middleware/session/cookie_store.rb#53 + # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#53 def cookie_value; end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#69 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#69 module ActionDispatch::Session::SessionObject - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#70 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#70 def commit_session(req, res); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#79 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#79 def loaded_session?(session); end - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#75 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#75 def prepare_session(req); end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#11 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#11 class ActionDispatch::Session::SessionRestoreError < ::StandardError # @return [SessionRestoreError] a new instance of SessionRestoreError # - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#12 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#12 def initialize; end end -# source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#43 +# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#43 module ActionDispatch::Session::StaleSessionCheck - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#48 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#48 def extract_session_id(env); end - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#44 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#44 def load_session(env); end - # source://actionpack/lib/action_dispatch/middleware/session/abstract_store.rb#52 + # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#52 def stale_session_check!; end end @@ -19517,25 +19581,25 @@ end # exceptions app, this middleware catches the exceptions and returns a # failsafe response. # -# source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#24 +# source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#24 class ActionDispatch::ShowExceptions # @return [ShowExceptions] a new instance of ShowExceptions # - # source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#25 + # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#25 def initialize(app, exceptions_app); end - # source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#30 + # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#30 def call(env); end private - # source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#66 + # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#66 def fallback_to_html_format_if_invalid_mime_type(request); end - # source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#83 + # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#83 def pass_response(status); end - # source://actionpack/lib/action_dispatch/middleware/show_exceptions.rb#47 + # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#47 def render_exception(request, wrapper); end end @@ -19552,40 +19616,40 @@ end # # Only files in the root directory are served; path traversal is denied. # -# source://actionpack/lib/action_dispatch/middleware/static.rb#18 +# source://actionpack//lib/action_dispatch/middleware/static.rb#18 class ActionDispatch::Static # @return [Static] a new instance of Static # - # source://actionpack/lib/action_dispatch/middleware/static.rb#19 + # source://actionpack//lib/action_dispatch/middleware/static.rb#19 def initialize(app, path, index: T.unsafe(nil), headers: T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/middleware/static.rb#24 + # source://actionpack//lib/action_dispatch/middleware/static.rb#24 def call(env); end end -# source://actionpack/lib/action_dispatch/testing/test_process.rb#7 +# source://actionpack//lib/action_dispatch/testing/test_process.rb#7 module ActionDispatch::TestProcess include ::ActionDispatch::TestProcess::FixtureFile # @raise [NoMethodError] # - # source://actionpack/lib/action_dispatch/testing/test_process.rb#31 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#31 def assigns(key = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/testing/test_process.rb#45 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#45 def cookies; end - # source://actionpack/lib/action_dispatch/testing/test_process.rb#41 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#41 def flash; end - # source://actionpack/lib/action_dispatch/testing/test_process.rb#49 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#49 def redirect_to_url; end - # source://actionpack/lib/action_dispatch/testing/test_process.rb#37 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#37 def session; end end -# source://actionpack/lib/action_dispatch/testing/test_process.rb#8 +# source://actionpack//lib/action_dispatch/testing/test_process.rb#8 module ActionDispatch::TestProcess::FixtureFile # Shortcut for Rack::Test::UploadedFile.new(File.join(ActionDispatch::IntegrationTest.file_fixture_path, path), type): # @@ -19598,7 +19662,7 @@ module ActionDispatch::TestProcess::FixtureFile # # post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png', :binary) } # - # source://actionpack/lib/action_dispatch/testing/test_process.rb#19 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#19 def file_fixture_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end # Shortcut for Rack::Test::UploadedFile.new(File.join(ActionDispatch::IntegrationTest.file_fixture_path, path), type): @@ -19612,59 +19676,59 @@ module ActionDispatch::TestProcess::FixtureFile # # post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png', :binary) } # - # source://actionpack/lib/action_dispatch/testing/test_process.rb#19 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#26 def fixture_file_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end end -# source://actionpack/lib/action_dispatch/testing/test_request.rb#7 +# source://actionpack//lib/action_dispatch/testing/test_request.rb#7 class ActionDispatch::TestRequest < ::ActionDispatch::Request - # source://actionpack/lib/action_dispatch/testing/test_request.rb#66 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#66 def accept=(mime_types); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#46 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#46 def action=(action_name); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#30 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#30 def host=(host); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#50 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#50 def if_modified_since=(last_modified); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#54 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#54 def if_none_match=(etag); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#42 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#42 def path=(path); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#34 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#34 def port=(number); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#58 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#58 def remote_addr=(addr); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#26 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#26 def request_method=(method); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#38 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#38 def request_uri=(uri); end - # source://actionpack/lib/action_dispatch/testing/test_request.rb#62 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#62 def user_agent=(user_agent); end class << self # Create a new test request with default +env+ values. # - # source://actionpack/lib/action_dispatch/testing/test_request.rb#15 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#15 def create(env = T.unsafe(nil)); end private - # source://actionpack/lib/action_dispatch/testing/test_request.rb#21 + # source://actionpack//lib/action_dispatch/testing/test_request.rb#21 def default_env; end end end -# source://actionpack/lib/action_dispatch/testing/test_request.rb#8 +# source://actionpack//lib/action_dispatch/testing/test_request.rb#8 ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) # Integration test methods such as Integration::RequestHelpers#get @@ -19674,7 +19738,7 @@ ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) # # See Response for more information on controller response objects. # -# source://actionpack/lib/action_dispatch/testing/test_response.rb#12 +# source://actionpack//lib/action_dispatch/testing/test_response.rb#12 class ActionDispatch::TestResponse < ::ActionDispatch::Response # Returns a parsed body depending on the response MIME type. When a parser # corresponding to the MIME type is not found, it returns the raw body. @@ -19709,49 +19773,49 @@ class ActionDispatch::TestResponse < ::ActionDispatch::Response # assert_equal 42, id # assert_equal "Title", title # - # source://actionpack/lib/action_dispatch/testing/test_response.rb#49 + # source://actionpack//lib/action_dispatch/testing/test_response.rb#49 def parsed_body; end - # source://actionpack/lib/action_dispatch/testing/test_response.rb#53 + # source://actionpack//lib/action_dispatch/testing/test_response.rb#53 def response_parser; end class << self - # source://actionpack/lib/action_dispatch/testing/test_response.rb#13 + # source://actionpack//lib/action_dispatch/testing/test_response.rb#13 def from_response(response); end end end -# source://actionpack/lib/action_pack/gem_version.rb#3 +# source://actionpack//lib/action_pack/gem_version.rb#3 module ActionPack class << self # Returns the currently loaded version of Action Pack as a +Gem::Version+. # - # source://actionpack/lib/action_pack/gem_version.rb#5 + # source://actionpack//lib/action_pack/gem_version.rb#5 def gem_version; end # Returns the currently loaded version of Action Pack as a +Gem::Version+. # - # source://actionpack/lib/action_pack/version.rb#7 + # source://actionpack//lib/action_pack/version.rb#7 def version; end end end -# source://actionpack/lib/action_pack/gem_version.rb#9 +# source://actionpack//lib/action_pack/gem_version.rb#9 module ActionPack::VERSION; end -# source://actionpack/lib/action_pack/gem_version.rb#10 +# source://actionpack//lib/action_pack/gem_version.rb#10 ActionPack::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_pack/gem_version.rb#11 +# source://actionpack//lib/action_pack/gem_version.rb#11 ActionPack::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actionpack/lib/action_pack/gem_version.rb#13 +# source://actionpack//lib/action_pack/gem_version.rb#13 ActionPack::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_pack/gem_version.rb#15 +# source://actionpack//lib/action_pack/gem_version.rb#15 ActionPack::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_pack/gem_version.rb#12 +# source://actionpack//lib/action_pack/gem_version.rb#12 ActionPack::VERSION::TINY = T.let(T.unsafe(nil), Integer) module ActionView::RoutingUrlFor @@ -19759,21 +19823,21 @@ module ActionView::RoutingUrlFor include ::ActionDispatch::Routing::UrlFor end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#5 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#5 module Mime class << self - # source://actionpack/lib/action_dispatch/http/mime_type.rb#49 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#49 def [](type); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#62 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#62 def fetch(type, &block); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#54 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#54 def symbols; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#58 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#58 def valid_symbols?(symbols); end end end @@ -19782,109 +19846,115 @@ end # other concrete types. It's a wildcard match that we use for +respond_to+ # negotiation internals. # -# source://actionpack/lib/action_dispatch/http/mime_type.rb#359 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#359 Mime::ALL = T.let(T.unsafe(nil), Mime::AllType) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#345 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#345 class Mime::AllType < ::Mime::Type include ::Singleton extend ::Singleton::SingletonClassMethods # @return [AllType] a new instance of AllType # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#348 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#348 def initialize; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#352 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#352 def all?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#353 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#353 def html?; end class << self private + # source://actionpack//lib/action_dispatch/http/mime_type.rb#346 def allocate; end + + # source://actionpack//lib/action_dispatch/http/mime_type.rb#346 def new(*_arg0); end end end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#45 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#45 Mime::EXTENSION_LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#46 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#46 Mime::LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#6 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#6 class Mime::Mimes include ::Enumerable # @return [Mimes] a new instance of Mimes # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#11 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#11 def initialize; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#21 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#21 def <<(type); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#28 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#28 def delete_if; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#17 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#17 def each(&block); end # Returns the value of attribute symbols. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#7 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#7 def symbols; end # :nodoc # # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#39 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#39 def valid_symbols?(symbols); end end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#361 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#361 class Mime::NullType include ::Singleton extend ::Singleton::SingletonClassMethods # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#364 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#364 def nil?; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#372 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#372 def ref; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#368 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#368 def to_s; end private - # source://actionpack/lib/action_dispatch/http/mime_type.rb#379 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#379 def method_missing(method, *args); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#375 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#375 def respond_to_missing?(method, _); end class << self private + # source://actionpack//lib/action_dispatch/http/mime_type.rb#362 def allocate; end + + # source://actionpack//lib/action_dispatch/http/mime_type.rb#362 def new(*_arg0); end end end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#44 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#44 Mime::SET = T.let(T.unsafe(nil), Mime::Mimes) # Encapsulates the notion of a MIME type. Can be used at render time, for example, with: @@ -19901,100 +19971,100 @@ Mime::SET = T.let(T.unsafe(nil), Mime::Mimes) # end # end # -# source://actionpack/lib/action_dispatch/http/mime_type.rb#81 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#81 class Mime::Type # @return [Type] a new instance of Type # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#260 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#260 def initialize(string, symbol = T.unsafe(nil), synonyms = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#293 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#293 def ==(mime_type); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#285 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#285 def ===(list); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#307 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#307 def =~(mime_type); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#323 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#323 def all?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#300 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#300 def eql?(other); end # Returns the value of attribute hash. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#251 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#251 def hash; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#319 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#319 def html?; end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#313 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#313 def match?(mime_type); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#281 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#281 def ref; end # Returns the value of attribute symbol. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#82 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#82 def symbol; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#269 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#269 def to_s; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#273 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#273 def to_str; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#277 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#277 def to_sym; end protected # Returns the value of attribute string. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#326 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#326 def string; end # Returns the value of attribute synonyms. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#326 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#326 def synonyms; end private - # source://actionpack/lib/action_dispatch/http/mime_type.rb#332 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#332 def method_missing(method, *args); end # @return [Boolean] # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#340 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#340 def respond_to_missing?(method, include_private = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#330 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#330 def to_a; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#329 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#329 def to_ary; end class << self - # source://actionpack/lib/action_dispatch/http/mime_type.rb#164 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#164 def lookup(string); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#172 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#172 def lookup_by_extension(extension); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#196 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#196 def parse(accept_header); end # For an input of 'text', returns [Mime[:json], Mime[:xml], Mime[:ics], @@ -20003,22 +20073,22 @@ class Mime::Type # For an input of 'application', returns [Mime[:html], Mime[:js], # Mime[:xml], Mime[:yaml], Mime[:atom], Mime[:json], Mime[:rss], Mime[:url_encoded_form]]. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#232 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#232 def parse_data_with_trailing_star(type); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#223 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#223 def parse_trailing_star(accept_header); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#182 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#182 def register(string, symbol, mime_type_synonyms = T.unsafe(nil), extension_synonyms = T.unsafe(nil), skip_lookup = T.unsafe(nil)); end # Registers an alias that's not used on MIME type lookup, but can be referenced directly. Especially useful for # rendering different HTML versions depending on the user agent, like an iPhone. # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#178 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#178 def register_alias(string, symbol, extension_synonyms = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#160 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#160 def register_callback(&block); end # This method is opposite of register method. @@ -20027,75 +20097,70 @@ class Mime::Type # # Mime::Type.unregister(:mobile) # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#241 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#241 def unregister(symbol); end end end # A simple helper class used in parsing the accept header. # -# source://actionpack/lib/action_dispatch/http/mime_type.rb#87 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#87 class Mime::Type::AcceptItem # @return [AcceptItem] a new instance of AcceptItem # - # source://actionpack/lib/action_dispatch/http/mime_type.rb#91 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 def initialize(index, name, q = T.unsafe(nil)); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#98 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#98 def <=>(item); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def index; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def index=(_arg0); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def name; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def name=(_arg0); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def q; end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def q=(_arg0); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#89 def to_s; end end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#105 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#105 class Mime::Type::AcceptList class << self - # source://actionpack/lib/action_dispatch/http/mime_type.rb#148 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#148 def find_item_by_name(array, name); end - # source://actionpack/lib/action_dispatch/http/mime_type.rb#106 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#106 def sort!(list); end end end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#258 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#258 class Mime::Type::InvalidMimeType < ::StandardError; end -# source://actionpack/lib/action_dispatch/http/mime_type.rb#253 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#253 Mime::Type::MIME_NAME = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#255 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#255 Mime::Type::MIME_PARAMETER = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#254 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#254 Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String) -# source://actionpack/lib/action_dispatch/http/mime_type.rb#256 +# source://actionpack//lib/action_dispatch/http/mime_type.rb#256 Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack/lib/action_dispatch.rb#35 -module Rack - class << self - # source://rack/3.1.8lib/rack/version.rb#18 - def release; end - end -end +# source://actionpack//lib/action_dispatch.rb#35 +module Rack; end diff --git a/sorbet/rbi/gems/actiontext@7.1.5.1.rbi b/sorbet/rbi/gems/actiontext@7.1.5.1.rbi index 92fcf9b7c..bfaec56c0 100644 --- a/sorbet/rbi/gems/actiontext@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actiontext@7.1.5.1.rbi @@ -4,46 +4,47 @@ # This is an autogenerated file for types exported from the `actiontext` gem. # Please instead update this file by running `bin/tapioca gem actiontext`. + # :markup: markdown # :include: ../README.md # -# source://actiontext/lib/action_text/gem_version.rb#3 +# source://actiontext//lib/action_text/gem_version.rb#3 module ActionText extend ::ActiveSupport::Autoload class << self - # source://actiontext/lib/action_text/deprecator.rb#4 + # source://actiontext//lib/action_text/deprecator.rb#4 def deprecator; end # Returns the currently loaded version of Action Text as a +Gem::Version+. # - # source://actiontext/lib/action_text/gem_version.rb#5 + # source://actiontext//lib/action_text/gem_version.rb#5 def gem_version; end - # source://actiontext/lib/action_text.rb#47 + # source://actiontext//lib/action_text.rb#47 def html_document_class; end - # source://actiontext/lib/action_text.rb#53 + # source://actiontext//lib/action_text.rb#53 def html_document_fragment_class; end - # source://railties/7.1.5.1lib/rails/engine.rb#412 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_helpers_paths; end - # source://railties/7.1.5.1lib/rails/engine.rb#395 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_namespace; end - # source://railties/7.1.5.1lib/rails/engine.rb#416 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://railties/7.1.5.1lib/rails/engine.rb#401 + # source://actiontext//lib/action_text/engine.rb#12 def table_name_prefix; end - # source://railties/7.1.5.1lib/rails/engine.rb#408 + # source://actiontext//lib/action_text/engine.rb#12 def use_relative_model_naming?; end # Returns the currently loaded version of Action Text as a +Gem::Version+. # - # source://actiontext/lib/action_text/version.rb#7 + # source://actiontext//lib/action_text/version.rb#7 def version; end end end @@ -61,33 +62,33 @@ end # content = ActionText::Content.new(html) # content.attachables # => [person] # -# source://actiontext/lib/action_text/attachable.rb#16 +# source://actiontext//lib/action_text/attachable.rb#16 module ActionText::Attachable extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachable::ClassMethods - # source://actiontext/lib/action_text/attachable.rb#81 + # source://actiontext//lib/action_text/attachable.rb#81 def attachable_content_type; end - # source://actiontext/lib/action_text/attachable.rb#85 + # source://actiontext//lib/action_text/attachable.rb#85 def attachable_filename; end - # source://actiontext/lib/action_text/attachable.rb#89 + # source://actiontext//lib/action_text/attachable.rb#89 def attachable_filesize; end - # source://actiontext/lib/action_text/attachable.rb#93 + # source://actiontext//lib/action_text/attachable.rb#93 def attachable_metadata; end # Returns the Signed Global ID for the attachable. The purpose of the ID is # set to 'attachable' so it can't be reused for other purposes. # - # source://actiontext/lib/action_text/attachable.rb#77 + # source://actiontext//lib/action_text/attachable.rb#77 def attachable_sgid; end # @return [Boolean] # - # source://actiontext/lib/action_text/attachable.rb#97 + # source://actiontext//lib/action_text/attachable.rb#97 def previewable_attachable?; end # Returns the path to the partial that is used for rendering the attachable. @@ -101,10 +102,10 @@ module ActionText::Attachable # end # end # - # source://actiontext/lib/action_text/attachable.rb#125 + # source://actiontext//lib/action_text/attachable.rb#125 def to_attachable_partial_path; end - # source://actiontext/lib/action_text/attachable.rb#129 + # source://actiontext//lib/action_text/attachable.rb#129 def to_rich_text_attributes(attributes = T.unsafe(nil)); end # Returns the path to the partial that is used for rendering the attachable @@ -118,19 +119,19 @@ module ActionText::Attachable # end # end # - # source://actiontext/lib/action_text/attachable.rb#111 + # source://actiontext//lib/action_text/attachable.rb#111 def to_trix_content_attachment_partial_path; end private - # source://actiontext/lib/action_text/attachable.rb#142 + # source://actiontext//lib/action_text/attachable.rb#142 def attribute_names_for_serialization; end - # source://actiontext/lib/action_text/attachable.rb#146 + # source://actiontext//lib/action_text/attachable.rb#146 def read_attribute_for_serialization(key); end class << self - # source://actiontext/lib/action_text/attachable.rb#41 + # source://actiontext//lib/action_text/attachable.rb#41 def from_attachable_sgid(sgid, options = T.unsafe(nil)); end # Extracts the +ActionText::Attachable+ from the attachment HTML node: @@ -141,34 +142,34 @@ module ActionText::Attachable # attachment_node = fragment.find_all(ActionText::Attachment.tag_name).first # ActionText::Attachable.from_node(attachment_node) # => person # - # source://actiontext/lib/action_text/attachable.rb#29 + # source://actiontext//lib/action_text/attachable.rb#29 def from_node(node); end private - # source://actiontext/lib/action_text/attachable.rb#48 + # source://actiontext//lib/action_text/attachable.rb#48 def attachable_from_sgid(sgid); end end end -# source://actiontext/lib/action_text/attachable.rb#0 +# source://actiontext//lib/action_text/attachable.rb#55 module ActionText::Attachable::ClassMethods - # source://actiontext/lib/action_text/attachable.rb#56 + # source://actiontext//lib/action_text/attachable.rb#56 def from_attachable_sgid(sgid); end - # source://actiontext/lib/action_text/attachable.rb#70 + # source://actiontext//lib/action_text/attachable.rb#70 def to_missing_attachable_partial_path; end end -# source://actiontext/lib/action_text/attachable.rb#19 +# source://actiontext//lib/action_text/attachable.rb#19 ActionText::Attachable::LOCATOR_NAME = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text.rb#30 +# source://actiontext//lib/action_text.rb#30 module ActionText::Attachables extend ::ActiveSupport::Autoload end -# source://actiontext/lib/action_text/attachables/content_attachment.rb#5 +# source://actiontext//lib/action_text/attachables/content_attachment.rb#5 class ActionText::Attachables::ContentAttachment include ::ActiveModel::Validations include ::ActiveSupport::Callbacks @@ -188,188 +189,188 @@ class ActionText::Attachables::ContentAttachment extend ::ActiveModel::Validations::HelperMethods extend ::ActiveModel::Conversion::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators?; end - # source://actiontext/lib/action_text/attachables/content_attachment.rb#18 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#18 def attachable_plain_text_representation(caption); end # Returns the value of attribute content. # - # source://actiontext/lib/action_text/attachables/content_attachment.rb#13 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#13 def content; end # Sets the attribute content # # @param value the value to set the attribute content to. # - # source://actiontext/lib/action_text/attachables/content_attachment.rb#13 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#13 def content=(_arg0); end # Returns the value of attribute content_type. # - # source://actiontext/lib/action_text/attachables/content_attachment.rb#13 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#13 def content_type; end # Sets the attribute content_type # # @param value the value to set the attribute content_type to. # - # source://actiontext/lib/action_text/attachables/content_attachment.rb#13 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#13 def content_type=(_arg0); end - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def model_name(&block); end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter=(_arg0); end - # source://actiontext/lib/action_text/attachables/content_attachment.rb#22 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#22 def to_html; end - # source://actiontext/lib/action_text/attachables/content_attachment.rb#30 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#30 def to_partial_path; end - # source://actiontext/lib/action_text/attachables/content_attachment.rb#26 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#26 def to_s; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def validation_context; end private - # source://actiontext/lib/action_text/attachables/content_attachment.rb#35 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#35 def content_instance; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks=(value); end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators=(value); end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators?; end - # source://actiontext/lib/action_text/attachables/content_attachment.rb#8 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 def from_node(node); end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter; end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter=(value); end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter?; end end end -# source://actiontext/lib/action_text/attachables/missing_attachable.rb#5 +# source://actiontext//lib/action_text/attachables/missing_attachable.rb#5 class ActionText::Attachables::MissingAttachable extend ::ActiveModel::Naming # @return [MissingAttachable] a new instance of MissingAttachable # - # source://actiontext/lib/action_text/attachables/missing_attachable.rb#10 + # source://actiontext//lib/action_text/attachables/missing_attachable.rb#10 def initialize(sgid); end - # source://actiontext/lib/action_text/attachables/missing_attachable.rb#22 + # source://actiontext//lib/action_text/attachables/missing_attachable.rb#22 def model; end - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/missing_attachable.rb#6 def model_name(&block); end - # source://actiontext/lib/action_text/attachables/missing_attachable.rb#14 + # source://actiontext//lib/action_text/attachables/missing_attachable.rb#14 def to_partial_path; end end -# source://actiontext/lib/action_text/attachables/missing_attachable.rb#8 +# source://actiontext//lib/action_text/attachables/missing_attachable.rb#8 ActionText::Attachables::MissingAttachable::DEFAULT_PARTIAL_PATH = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text/attachables/remote_image.rb#5 +# source://actiontext//lib/action_text/attachables/remote_image.rb#5 class ActionText::Attachables::RemoteImage extend ::ActiveModel::Naming # @return [RemoteImage] a new instance of RemoteImage # - # source://actiontext/lib/action_text/attachables/remote_image.rb#30 + # source://actiontext//lib/action_text/attachables/remote_image.rb#30 def initialize(attributes = T.unsafe(nil)); end - # source://actiontext/lib/action_text/attachables/remote_image.rb#37 + # source://actiontext//lib/action_text/attachables/remote_image.rb#37 def attachable_plain_text_representation(caption); end # Returns the value of attribute content_type. # - # source://actiontext/lib/action_text/attachables/remote_image.rb#28 + # source://actiontext//lib/action_text/attachables/remote_image.rb#28 def content_type; end # Returns the value of attribute height. # - # source://actiontext/lib/action_text/attachables/remote_image.rb#28 + # source://actiontext//lib/action_text/attachables/remote_image.rb#28 def height; end - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/remote_image.rb#6 def model_name(&block); end - # source://actiontext/lib/action_text/attachables/remote_image.rb#41 + # source://actiontext//lib/action_text/attachables/remote_image.rb#41 def to_partial_path; end # Returns the value of attribute url. # - # source://actiontext/lib/action_text/attachables/remote_image.rb#28 + # source://actiontext//lib/action_text/attachables/remote_image.rb#28 def url; end # Returns the value of attribute width. # - # source://actiontext/lib/action_text/attachables/remote_image.rb#28 + # source://actiontext//lib/action_text/attachables/remote_image.rb#28 def width; end class << self - # source://actiontext/lib/action_text/attachables/remote_image.rb#9 + # source://actiontext//lib/action_text/attachables/remote_image.rb#9 def from_node(node); end private - # source://actiontext/lib/action_text/attachables/remote_image.rb#20 + # source://actiontext//lib/action_text/attachables/remote_image.rb#20 def attributes_from_node(node); end # @return [Boolean] # - # source://actiontext/lib/action_text/attachables/remote_image.rb#16 + # source://actiontext//lib/action_text/attachables/remote_image.rb#16 def content_type_is_image?(content_type); end end end @@ -386,7 +387,7 @@ end # attachment = ActionText::Attachment.from_attachable(attachable) # attachment.to_html # => " " "[Javan]" # - # source://actiontext/lib/action_text/attachment.rb#108 + # source://actiontext//lib/action_text/attachment.rb#108 def to_plain_text; end - # source://actiontext/lib/action_text/attachment.rb#125 + # source://actiontext//lib/action_text/attachment.rb#125 def to_s; end - # source://actiontext/lib/action_text/attachment.rb#79 + # source://actiontext//lib/action_text/attachment.rb#79 def with_full_attributes; end private - # source://actiontext/lib/action_text/attachment.rb#138 + # source://actiontext//lib/action_text/attachment.rb#138 def attachable_attributes; end - # source://actiontext/lib/action_text/attachment.rb#134 + # source://actiontext//lib/action_text/attachment.rb#134 def node_attributes; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#346 + # source://actiontext//lib/action_text/attachment.rb#64 def respond_to_missing?(name, include_private = T.unsafe(nil)); end - # source://actiontext/lib/action_text/attachment.rb#142 + # source://actiontext//lib/action_text/attachment.rb#142 def sgid_attributes; end class << self - # source://actiontext/lib/action_text/attachment.rb#25 + # source://actiontext//lib/action_text/attachment.rb#25 def fragment_by_canonicalizing_attachments(content); end - # source://actiontext/lib/action_text/attachment.rb#37 + # source://actiontext//lib/action_text/attachment.rb#37 def from_attachable(attachable, attributes = T.unsafe(nil)); end - # source://actiontext/lib/action_text/attachment.rb#33 + # source://actiontext//lib/action_text/attachment.rb#33 def from_attachables(attachables); end - # source://actiontext/lib/action_text/attachment.rb#43 + # source://actiontext//lib/action_text/attachment.rb#43 def from_attributes(attributes, attachable = T.unsafe(nil)); end - # source://actiontext/lib/action_text/attachment.rb#29 + # source://actiontext//lib/action_text/attachment.rb#29 def from_node(node, attachable = T.unsafe(nil)); end - # source://actiontext/lib/action_text/attachment.rb#20 + # source://actiontext//lib/action_text/attachment.rb#20 def tag_name; end - # source://actiontext/lib/action_text/attachment.rb#20 + # source://actiontext//lib/action_text/attachment.rb#20 def tag_name=(val); end private - # source://actiontext/lib/action_text/attachment.rb#50 + # source://actiontext//lib/action_text/attachment.rb#50 def node_from_attributes(attributes); end - # source://actiontext/lib/action_text/attachment.rb#56 + # source://actiontext//lib/action_text/attachment.rb#56 def process_attributes(attributes); end end end -# source://actiontext/lib/action_text/attachment.rb#22 +# source://actiontext//lib/action_text/attachment.rb#22 ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext/lib/action_text/attachment_gallery.rb#4 +# source://actiontext//lib/action_text/attachment_gallery.rb#4 class ActionText::AttachmentGallery include ::ActiveModel::Validations include ::ActiveSupport::Callbacks @@ -545,181 +546,181 @@ class ActionText::AttachmentGallery # @return [AttachmentGallery] a new instance of AttachmentGallery # - # source://actiontext/lib/action_text/attachment_gallery.rb#52 + # source://actiontext//lib/action_text/attachment_gallery.rb#52 def initialize(node); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators?; end - # source://actiontext/lib/action_text/attachment_gallery.rb#56 + # source://actiontext//lib/action_text/attachment_gallery.rb#56 def attachments; end - # source://actiontext/lib/action_text/attachment_gallery.rb#66 + # source://actiontext//lib/action_text/attachment_gallery.rb#66 def inspect; end - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def model_name(&block); end # Returns the value of attribute node. # - # source://actiontext/lib/action_text/attachment_gallery.rb#50 + # source://actiontext//lib/action_text/attachment_gallery.rb#50 def node; end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter=(_arg0); end - # source://actiontext/lib/action_text/attachment_gallery.rb#62 + # source://actiontext//lib/action_text/attachment_gallery.rb#62 def size; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def validation_context; end private - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks=(value); end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators=(value); end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators?; end - # source://actiontext/lib/action_text/attachment_gallery.rb#41 + # source://actiontext//lib/action_text/attachment_gallery.rb#41 def attachment_selector; end - # source://actiontext/lib/action_text/attachment_gallery.rb#25 + # source://actiontext//lib/action_text/attachment_gallery.rb#25 def find_attachment_gallery_nodes(content); end - # source://actiontext/lib/action_text/attachment_gallery.rb#11 + # source://actiontext//lib/action_text/attachment_gallery.rb#11 def fragment_by_canonicalizing_attachment_galleries(content); end - # source://actiontext/lib/action_text/attachment_gallery.rb#17 + # source://actiontext//lib/action_text/attachment_gallery.rb#17 def fragment_by_replacing_attachment_gallery_nodes(content); end - # source://actiontext/lib/action_text/attachment_gallery.rb#37 + # source://actiontext//lib/action_text/attachment_gallery.rb#37 def from_node(node); end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter; end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter=(value); end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter?; end - # source://actiontext/lib/action_text/attachment_gallery.rb#45 + # source://actiontext//lib/action_text/attachment_gallery.rb#45 def selector; end end end -# source://actiontext/lib/action_text/attachment_gallery.rb#7 +# source://actiontext//lib/action_text/attachment_gallery.rb#7 ActionText::AttachmentGallery::TAG_NAME = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text.rb#38 +# source://actiontext//lib/action_text.rb#38 module ActionText::Attachments extend ::ActiveSupport::Autoload end -# source://actiontext/lib/action_text/attachments/caching.rb#5 +# source://actiontext//lib/action_text/attachments/caching.rb#5 module ActionText::Attachments::Caching - # source://actiontext/lib/action_text/attachments/caching.rb#6 + # source://actiontext//lib/action_text/attachments/caching.rb#6 def cache_key(*args); end private - # source://actiontext/lib/action_text/attachments/caching.rb#11 + # source://actiontext//lib/action_text/attachments/caching.rb#11 def cache_digest; end end -# source://actiontext/lib/action_text/attachments/minification.rb#5 +# source://actiontext//lib/action_text/attachments/minification.rb#5 module ActionText::Attachments::Minification extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods end -# source://actiontext/lib/action_text/attachments/minification.rb#0 +# source://actiontext//lib/action_text/attachments/minification.rb#8 module ActionText::Attachments::Minification::ClassMethods - # source://actiontext/lib/action_text/attachments/minification.rb#9 + # source://actiontext//lib/action_text/attachments/minification.rb#9 def fragment_by_minifying_attachments(content); end end -# source://actiontext/lib/action_text/attachments/trix_conversion.rb#7 +# source://actiontext//lib/action_text/attachments/trix_conversion.rb#7 module ActionText::Attachments::TrixConversion extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachments::TrixConversion::ClassMethods - # source://actiontext/lib/action_text/attachments/trix_conversion.rb#22 + # source://actiontext//lib/action_text/attachments/trix_conversion.rb#22 def to_trix_attachment(content = T.unsafe(nil)); end private - # source://actiontext/lib/action_text/attachments/trix_conversion.rb#29 + # source://actiontext//lib/action_text/attachments/trix_conversion.rb#29 def trix_attachment_content; end end -# source://actiontext/lib/action_text/attachments/trix_conversion.rb#0 +# source://actiontext//lib/action_text/attachments/trix_conversion.rb#10 module ActionText::Attachments::TrixConversion::ClassMethods - # source://actiontext/lib/action_text/attachments/trix_conversion.rb#11 + # source://actiontext//lib/action_text/attachments/trix_conversion.rb#11 def fragment_by_converting_trix_attachments(content); end - # source://actiontext/lib/action_text/attachments/trix_conversion.rb#17 + # source://actiontext//lib/action_text/attachments/trix_conversion.rb#17 def from_trix_attachment(trix_attachment); end end -# source://actiontext/lib/action_text/attribute.rb#4 +# source://actiontext//lib/action_text/attribute.rb#4 module ActionText::Attribute extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attribute::ClassMethods end -# source://actiontext/lib/action_text/attribute.rb#0 +# source://actiontext//lib/action_text/attribute.rb#7 module ActionText::Attribute::ClassMethods - # source://actiontext/lib/action_text/attribute.rb#37 + # source://actiontext//lib/action_text/attribute.rb#37 def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil)); end - # source://actiontext/lib/action_text/attribute.rb#66 + # source://actiontext//lib/action_text/attribute.rb#66 def rich_text_association_names; end - # source://actiontext/lib/action_text/attribute.rb#62 + # source://actiontext//lib/action_text/attribute.rb#62 def with_all_rich_text; end end @@ -742,7 +743,7 @@ end # body.to_s # => "

Funny times!

" # body.to_plain_text # => "Funny times!" # -# source://actiontext/lib/action_text/content.rb#22 +# source://actiontext//lib/action_text/content.rb#22 class ActionText::Content include ::ActionText::ContentHelper include ::ActionText::Serialization @@ -752,16 +753,16 @@ class ActionText::Content # @return [Content] a new instance of Content # - # source://actiontext/lib/action_text/content.rb#37 + # source://actiontext//lib/action_text/content.rb#37 def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actiontext/lib/action_text/content.rb#149 + # source://actiontext//lib/action_text/content.rb#149 def ==(other); end - # source://actiontext/lib/action_text/content.rb#90 + # source://actiontext//lib/action_text/content.rb#90 def append_attachables(attachables); end - # source://actiontext/lib/action_text/content.rb#141 + # source://actiontext//lib/action_text/content.rb#141 def as_json(*_arg0); end # Extracts +ActionText::Attachable+s from the HTML fragment: @@ -771,10 +772,10 @@ class ActionText::Content # content = ActionText::Content.new(html) # content.attachables # => [attachable] # - # source://actiontext/lib/action_text/content.rb#84 + # source://actiontext//lib/action_text/content.rb#84 def attachables; end - # source://actiontext/lib/action_text/content.rb#68 + # source://actiontext//lib/action_text/content.rb#68 def attachment_galleries; end # Extracts +ActionText::Attachment+s from the HTML fragment: @@ -784,27 +785,27 @@ class ActionText::Content # content = ActionText::Content.new(html) # content.attachments # => [# ["http://example.com/"] # - # source://actiontext/lib/action_text/content.rb#52 + # source://actiontext//lib/action_text/content.rb#52 def links; end - # source://actiontext/lib/action_text/content.rb#27 + # source://actiontext//lib/action_text/content.rb#27 def present?(*_arg0, **_arg1, &_arg2); end - # source://actiontext/lib/action_text/rendering.rb#12 + # source://actiontext//lib/action_text/content.rb#23 def render(*_arg0, **_arg1, &_arg2); end - # source://actiontext/lib/action_text/content.rb#106 + # source://actiontext//lib/action_text/content.rb#106 def render_attachment_galleries(&block); end - # source://actiontext/lib/action_text/content.rb#95 + # source://actiontext//lib/action_text/content.rb#95 def render_attachments(**options, &block); end - # source://actiontext/lib/action_text/content.rb#125 + # source://actiontext//lib/action_text/content.rb#125 def to_html; end - # source://actiontext/lib/action_text/content.rb#133 + # source://actiontext//lib/action_text/content.rb#133 def to_partial_path; end # Returns the content as plain text with all HTML tags removed. @@ -839,40 +840,40 @@ class ActionText::Content # content = ActionText::Content.new("

Funny times!

") # content.to_plain_text # => "Funny times!" # - # source://actiontext/lib/action_text/content.rb#117 + # source://actiontext//lib/action_text/content.rb#117 def to_plain_text; end - # source://actiontext/lib/action_text/content.rb#129 + # source://actiontext//lib/action_text/content.rb#129 def to_rendered_html_with_layout; end - # source://actiontext/lib/action_text/content.rb#137 + # source://actiontext//lib/action_text/content.rb#137 def to_s; end - # source://actiontext/lib/action_text/content.rb#121 + # source://actiontext//lib/action_text/content.rb#121 def to_trix_html; end private - # source://actiontext/lib/action_text/content.rb#166 + # source://actiontext//lib/action_text/content.rb#166 def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end - # source://actiontext/lib/action_text/content.rb#171 + # source://actiontext//lib/action_text/content.rb#171 def attachment_gallery_for_node(node); end - # source://actiontext/lib/action_text/content.rb#162 + # source://actiontext//lib/action_text/content.rb#162 def attachment_gallery_nodes; end - # source://actiontext/lib/action_text/content.rb#158 + # source://actiontext//lib/action_text/content.rb#158 def attachment_nodes; end class << self - # source://actiontext/lib/action_text/content.rb#30 + # source://actiontext//lib/action_text/content.rb#30 def fragment_by_canonicalizing_content(content); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://actiontext//lib/action_text/content.rb#23 def renderer; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://actiontext//lib/action_text/content.rb#23 def renderer=(obj); end end end @@ -909,57 +910,38 @@ end class ActionText::EncryptedRichText < ::ActionText::RichText include ::ActionText::EncryptedRichText::GeneratedAttributeMethods include ::ActionText::EncryptedRichText::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - end end module ActionText::EncryptedRichText::GeneratedAssociationMethods; end module ActionText::EncryptedRichText::GeneratedAttributeMethods; end -# source://actiontext/lib/action_text/encryption.rb#4 +# source://actiontext//lib/action_text/encryption.rb#4 module ActionText::Encryption - # source://actiontext/lib/action_text/encryption.rb#12 + # source://actiontext//lib/action_text/encryption.rb#12 def decrypt; end - # source://actiontext/lib/action_text/encryption.rb#5 + # source://actiontext//lib/action_text/encryption.rb#5 def encrypt; end private - # source://actiontext/lib/action_text/encryption.rb#24 + # source://actiontext//lib/action_text/encryption.rb#24 def decrypt_rich_texts; end - # source://actiontext/lib/action_text/encryption.rb#20 + # source://actiontext//lib/action_text/encryption.rb#20 def encrypt_rich_texts; end - # source://actiontext/lib/action_text/encryption.rb#32 + # source://actiontext//lib/action_text/encryption.rb#32 def encryptable_rich_texts; end # @return [Boolean] # - # source://actiontext/lib/action_text/encryption.rb#28 + # source://actiontext//lib/action_text/encryption.rb#28 def has_encrypted_rich_texts?; end end -# source://actiontext/lib/action_text/engine.rb#11 -class ActionText::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://actiontext//lib/action_text/engine.rb#11 +class ActionText::Engine < ::Rails::Engine; end # = Action Text \FixtureSet # @@ -998,7 +980,7 @@ end # When processed, Active Record will insert database records for each fixture # entry and will ensure the Action Text relationship is intact. # -# source://actiontext/lib/action_text/fixture_set.rb#40 +# source://actiontext//lib/action_text/fixture_set.rb#40 class ActionText::FixtureSet class << self # Fixtures support Action Text attachments as part of their body @@ -1021,176 +1003,168 @@ class ActionText::FixtureSet # name: content # body:
Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %>
# - # source://actiontext/lib/action_text/fixture_set.rb#61 + # source://actiontext//lib/action_text/fixture_set.rb#61 def attachment(fixture_set_name, label, column_type: T.unsafe(nil)); end end end -# source://actiontext/lib/action_text/fragment.rb#4 +# source://actiontext//lib/action_text/fragment.rb#4 class ActionText::Fragment # @return [Fragment] a new instance of Fragment # - # source://actiontext/lib/action_text/fragment.rb#24 + # source://actiontext//lib/action_text/fragment.rb#24 def initialize(source); end - # source://actiontext/lib/action_text/fragment.rb#28 + # source://actiontext//lib/action_text/fragment.rb#28 def find_all(selector); end - # source://actiontext/lib/action_text/fragment.rb#37 + # source://actiontext//lib/action_text/fragment.rb#37 def replace(selector); end # Returns the value of attribute source. # - # source://actiontext/lib/action_text/fragment.rb#22 + # source://actiontext//lib/action_text/fragment.rb#22 def source; end - # source://actiontext/lib/action_text/fragment.rb#50 + # source://actiontext//lib/action_text/fragment.rb#50 def to_html; end - # source://actiontext/lib/action_text/fragment.rb#46 + # source://actiontext//lib/action_text/fragment.rb#46 def to_plain_text; end - # source://actiontext/lib/action_text/fragment.rb#54 + # source://actiontext//lib/action_text/fragment.rb#54 def to_s; end # @yield [source = self.source.dup] # - # source://actiontext/lib/action_text/fragment.rb#32 + # source://actiontext//lib/action_text/fragment.rb#32 def update; end class << self - # source://actiontext/lib/action_text/fragment.rb#17 + # source://actiontext//lib/action_text/fragment.rb#17 def from_html(html); end - # source://actiontext/lib/action_text/fragment.rb#6 + # source://actiontext//lib/action_text/fragment.rb#6 def wrap(fragment_or_html); end end end -# source://actiontext/lib/action_text/html_conversion.rb#4 +# source://actiontext//lib/action_text/html_conversion.rb#4 module ActionText::HtmlConversion extend ::ActionText::HtmlConversion - # source://actiontext/lib/action_text/html_conversion.rb#15 + # source://actiontext//lib/action_text/html_conversion.rb#15 def create_element(tag_name, attributes = T.unsafe(nil)); end - # source://actiontext/lib/action_text/html_conversion.rb#11 + # source://actiontext//lib/action_text/html_conversion.rb#11 def fragment_for_html(html); end - # source://actiontext/lib/action_text/html_conversion.rb#7 + # source://actiontext//lib/action_text/html_conversion.rb#7 def node_to_html(node); end private - # source://actiontext/lib/action_text/html_conversion.rb#20 + # source://actiontext//lib/action_text/html_conversion.rb#20 def document; end end -# source://actiontext/lib/action_text/plain_text_conversion.rb#4 +# source://actiontext//lib/action_text/plain_text_conversion.rb#4 module ActionText::PlainTextConversion extend ::ActionText::PlainTextConversion - # source://actiontext/lib/action_text/plain_text_conversion.rb#7 + # source://actiontext//lib/action_text/plain_text_conversion.rb#7 def node_to_plain_text(node); end private - # source://actiontext/lib/action_text/plain_text_conversion.rb#109 + # source://actiontext//lib/action_text/plain_text_conversion.rb#109 def break_if_nested_list(node, text); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#86 + # source://actiontext//lib/action_text/plain_text_conversion.rb#86 def bullet_for_li_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#98 + # source://actiontext//lib/action_text/plain_text_conversion.rb#98 def indentation_for_li_node(node); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#105 + # source://actiontext//lib/action_text/plain_text_conversion.rb#105 def list_node_depth_for_node(node); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#94 + # source://actiontext//lib/action_text/plain_text_conversion.rb#94 def list_node_name_for_li_node(node); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#32 + # source://actiontext//lib/action_text/plain_text_conversion.rb#32 def plain_text_for_block(node, index = T.unsafe(nil)); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#64 + # source://actiontext//lib/action_text/plain_text_conversion.rb#64 def plain_text_for_blockquote_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#48 + # source://actiontext//lib/action_text/plain_text_conversion.rb#48 def plain_text_for_br_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#56 + # source://actiontext//lib/action_text/plain_text_conversion.rb#56 def plain_text_for_div_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#60 + # source://actiontext//lib/action_text/plain_text_conversion.rb#60 def plain_text_for_figcaption_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#32 + # source://actiontext//lib/action_text/plain_text_conversion.rb#37 def plain_text_for_h1_node(node, index = T.unsafe(nil)); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#74 + # source://actiontext//lib/action_text/plain_text_conversion.rb#74 def plain_text_for_li_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#40 + # source://actiontext//lib/action_text/plain_text_conversion.rb#40 def plain_text_for_list(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#12 + # source://actiontext//lib/action_text/plain_text_conversion.rb#12 def plain_text_for_node(node, index = T.unsafe(nil)); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#20 + # source://actiontext//lib/action_text/plain_text_conversion.rb#20 def plain_text_for_node_children(node); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#40 + # source://actiontext//lib/action_text/plain_text_conversion.rb#45 def plain_text_for_ol_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#32 + # source://actiontext//lib/action_text/plain_text_conversion.rb#37 def plain_text_for_p_node(node, index = T.unsafe(nil)); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#52 + # source://actiontext//lib/action_text/plain_text_conversion.rb#52 def plain_text_for_text_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#40 + # source://actiontext//lib/action_text/plain_text_conversion.rb#45 def plain_text_for_ul_node(node, index); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#28 + # source://actiontext//lib/action_text/plain_text_conversion.rb#28 def plain_text_method_for_node(node); end - # source://actiontext/lib/action_text/plain_text_conversion.rb#82 + # source://actiontext//lib/action_text/plain_text_conversion.rb#82 def remove_trailing_newlines(text); end end class ActionText::Record < ::ActiveRecord::Base include ::ActionText::Record::GeneratedAttributeMethods include ::ActionText::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActionText::Record::GeneratedAssociationMethods; end module ActionText::Record::GeneratedAttributeMethods; end -# source://actiontext/lib/action_text/rendering.rb#7 +# source://actiontext//lib/action_text/rendering.rb#7 module ActionText::Rendering extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Rendering::ClassMethods end -# source://actiontext/lib/action_text/rendering.rb#0 +# source://actiontext//lib/action_text/rendering.rb#15 module ActionText::Rendering::ClassMethods - # source://actiontext/lib/action_text/rendering.rb#16 + # source://actiontext//lib/action_text/rendering.rb#16 def action_controller_renderer; end - # source://actiontext/lib/action_text/rendering.rb#28 + # source://actiontext//lib/action_text/rendering.rb#28 def render(*args, &block); end - # source://actiontext/lib/action_text/rendering.rb#20 + # source://actiontext//lib/action_text/rendering.rb#20 def with_renderer(renderer); end end @@ -1198,15 +1172,9 @@ class ActionText::RichText < ::ActionText::Record include ::ActionText::RichText::GeneratedAttributeMethods include ::ActionText::RichText::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_embeds_attachments(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_embeds_blobs(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_record(*args); end - def blank?(*_arg0, **_arg1, &_arg2); end def empty?(*_arg0, **_arg1, &_arg2); end def nil?(*_arg0, **_arg1, &_arg2); end @@ -1214,109 +1182,50 @@ class ActionText::RichText < ::ActionText::Record def to_plain_text; end def to_s(*_arg0, **_arg1, &_arg2); end def to_trix_html; end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def validate_associated_records_for_embeds_attachments(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def validate_associated_records_for_embeds_blobs(*args); end - - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def with_attached_embeds(*args, **_arg1); end - end end module ActionText::RichText::GeneratedAssociationMethods - # source://activestorage/7.1.5.1lib/active_storage/attached/model.rb#191 def embeds; end - - # source://activestorage/7.1.5.1lib/active_storage/attached/model.rb#196 def embeds=(attachables); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/collection_association.rb#62 def embeds_attachment_ids; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/collection_association.rb#72 def embeds_attachment_ids=(ids); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def embeds_attachments; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def embeds_attachments=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/collection_association.rb#62 def embeds_blob_ids; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/collection_association.rb#72 def embeds_blob_ids=(ids); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def embeds_blobs; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def embeds_blobs=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def record; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def record=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#145 def record_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#149 def record_previously_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_record; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_record; end end -module ActionText::RichText::GeneratedAssociationMethods; end module ActionText::RichText::GeneratedAttributeMethods; end -# source://actiontext/lib/action_text/serialization.rb#4 +# source://actiontext//lib/action_text/serialization.rb#4 module ActionText::Serialization extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Serialization::ClassMethods - # source://actiontext/lib/action_text/serialization.rb#32 + # source://actiontext//lib/action_text/serialization.rb#32 def _dump(*_arg0); end end -# source://actiontext/lib/action_text/serialization.rb#0 +# source://actiontext//lib/action_text/serialization.rb#7 module ActionText::Serialization::ClassMethods - # source://actiontext/lib/action_text/serialization.rb#8 + # source://actiontext//lib/action_text/serialization.rb#29 def _load(content); end - # source://actiontext/lib/action_text/serialization.rb#12 + # source://actiontext//lib/action_text/serialization.rb#12 def dump(content); end - # source://actiontext/lib/action_text/serialization.rb#8 + # source://actiontext//lib/action_text/serialization.rb#8 def load(content); end end @@ -1329,89 +1238,89 @@ module ActionText::TagHelper end end -# source://actiontext/lib/action_text/trix_attachment.rb#4 +# source://actiontext//lib/action_text/trix_attachment.rb#4 class ActionText::TrixAttachment # @return [TrixAttachment] a new instance of TrixAttachment # - # source://actiontext/lib/action_text/trix_attachment.rb#51 + # source://actiontext//lib/action_text/trix_attachment.rb#51 def initialize(node); end - # source://actiontext/lib/action_text/trix_attachment.rb#55 + # source://actiontext//lib/action_text/trix_attachment.rb#55 def attributes; end # Returns the value of attribute node. # - # source://actiontext/lib/action_text/trix_attachment.rb#49 + # source://actiontext//lib/action_text/trix_attachment.rb#49 def node; end - # source://actiontext/lib/action_text/trix_attachment.rb#59 + # source://actiontext//lib/action_text/trix_attachment.rb#59 def to_html; end - # source://actiontext/lib/action_text/trix_attachment.rb#63 + # source://actiontext//lib/action_text/trix_attachment.rb#63 def to_s; end private - # source://actiontext/lib/action_text/trix_attachment.rb#68 + # source://actiontext//lib/action_text/trix_attachment.rb#68 def attachment_attributes; end - # source://actiontext/lib/action_text/trix_attachment.rb#72 + # source://actiontext//lib/action_text/trix_attachment.rb#72 def composed_attributes; end - # source://actiontext/lib/action_text/trix_attachment.rb#80 + # source://actiontext//lib/action_text/trix_attachment.rb#80 def read_json_attribute(name); end - # source://actiontext/lib/action_text/trix_attachment.rb#76 + # source://actiontext//lib/action_text/trix_attachment.rb#76 def read_json_object_attribute(name); end class << self - # source://actiontext/lib/action_text/trix_attachment.rb#19 + # source://actiontext//lib/action_text/trix_attachment.rb#19 def from_attributes(attributes); end private - # source://actiontext/lib/action_text/trix_attachment.rb#33 + # source://actiontext//lib/action_text/trix_attachment.rb#33 def process_attributes(attributes); end - # source://actiontext/lib/action_text/trix_attachment.rb#37 + # source://actiontext//lib/action_text/trix_attachment.rb#37 def transform_attribute_keys(attributes); end - # source://actiontext/lib/action_text/trix_attachment.rb#41 + # source://actiontext//lib/action_text/trix_attachment.rb#41 def typecast_attribute_values(attributes); end end end -# source://actiontext/lib/action_text/trix_attachment.rb#9 +# source://actiontext//lib/action_text/trix_attachment.rb#9 ActionText::TrixAttachment::ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext/lib/action_text/trix_attachment.rb#10 +# source://actiontext//lib/action_text/trix_attachment.rb#10 ActionText::TrixAttachment::ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Hash) -# source://actiontext/lib/action_text/trix_attachment.rb#8 +# source://actiontext//lib/action_text/trix_attachment.rb#8 ActionText::TrixAttachment::COMPOSED_ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext/lib/action_text/trix_attachment.rb#6 +# source://actiontext//lib/action_text/trix_attachment.rb#6 ActionText::TrixAttachment::SELECTOR = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text/trix_attachment.rb#5 +# source://actiontext//lib/action_text/trix_attachment.rb#5 ActionText::TrixAttachment::TAG_NAME = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text/gem_version.rb#9 +# source://actiontext//lib/action_text/gem_version.rb#9 module ActionText::VERSION; end -# source://actiontext/lib/action_text/gem_version.rb#10 +# source://actiontext//lib/action_text/gem_version.rb#10 ActionText::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actiontext/lib/action_text/gem_version.rb#11 +# source://actiontext//lib/action_text/gem_version.rb#11 ActionText::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actiontext/lib/action_text/gem_version.rb#13 +# source://actiontext//lib/action_text/gem_version.rb#13 ActionText::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text/gem_version.rb#15 +# source://actiontext//lib/action_text/gem_version.rb#15 ActionText::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actiontext/lib/action_text/gem_version.rb#12 +# source://actiontext//lib/action_text/gem_version.rb#12 ActionText::VERSION::TINY = T.let(T.unsafe(nil), Integer) module ActionView::Helpers @@ -1426,220 +1335,10 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - class << self - # source://actionview/7.1.5.1lib/action_view/helpers.rb#35 - def eager_load!; end - end end class ActionView::Helpers::FormBuilder - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1715 - def initialize(object_name, object, template, options); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2644 - def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2468 - def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#908 - def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#920 - def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#860 - def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def color_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def date_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/date_helper.rb#1237 - def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def datetime_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def datetime_local_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/date_helper.rb#1261 - def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def email_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2665 - def emitted_hidden_id?; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers=(_arg0); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers?; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1772 - def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1792 - def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2322 - def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2284 - def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2551 - def file_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#872 - def grouped_collection_select(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.1.5.1lib/action_view/helpers/form_helper.rb#2512 - def hidden_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1752 - def id; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1692 - def index; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2399 - def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def month_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1692 - def multipart; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1695 - def multipart=(multipart); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1692 - def multipart?; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def number_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def object; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def object=(_arg0); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def object_name; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def object_name=(_arg0); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def options; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1690 - def options=(_arg0); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def password_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def phone_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2490 - def radio_button(method, tag_value, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def range_field(method, options = T.unsafe(nil)); end - def rich_text_area(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def search_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#848 - def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2583 - def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def telephone_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def text_area(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def text_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def time_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/date_helper.rb#1249 - def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#884 - def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1711 - def to_model; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1707 - def to_partial_path; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def url_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2021 - def week_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_options_helper.rb#896 - def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - private - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2750 - def convert_to_legacy_options(options); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2732 - def fields_for_nested_model(name, object, fields_options, block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2703 - def fields_for_with_nested_attributes(association_name, association, options, block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2699 - def nested_attributes_association?(association_name); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2745 - def nested_child_index(name); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2670 - def objectify_options(options); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#2676 - def submit_default_value; end - - class << self - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1703 - def _to_partial_path; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers=(value); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1680 - def field_helpers?; end - end end module ActionView::Helpers::FormHelper @@ -1651,143 +1350,7 @@ module ActionView::Helpers::FormHelper mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1586 - def _object_for_form_builder(object); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1343 - def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1373 - def color_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1437 - def date_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1510 - def datetime_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1510 - def datetime_local_field(object_name, method, options = T.unsafe(nil)); end - - def default_form_builder; end - def default_form_builder=(_arg0); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1564 - def email_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1077 - def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1026 - def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1245 - def file_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#434 - def form_for(record, options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#755 - def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids=(val); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms=(val); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1212 - def hidden_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1149 - def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1529 - def month_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden=(val); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1573 - def number_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1194 - def password_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1405 - def phone_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1365 - def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1582 - def range_field(object_name, method, options = T.unsafe(nil)); end - def rich_text_area(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1396 - def search_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1405 - def telephone_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1275 - def text_area(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1173 - def text_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1475 - def time_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1555 - def url_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1546 - def week_field(object_name, method, options = T.unsafe(nil)); end - - private - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#464 - def apply_form_for_options!(object, options); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1620 - def default_form_builder_class; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1591 - def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#1606 - def instantiate_builder(record_name, record_object, options); end - - class << self - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids=(val); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms=(val); end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden; end - - # source://actionview/7.1.5.1lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden=(val); end - end end module ActionView::Helpers::Tags; end diff --git a/sorbet/rbi/gems/actionview@7.1.5.1.rbi b/sorbet/rbi/gems/actionview@7.1.5.1.rbi index ed29bfaf0..a10921223 100644 --- a/sorbet/rbi/gems/actionview@7.1.5.1.rbi +++ b/sorbet/rbi/gems/actionview@7.1.5.1.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `actionview` gem. # Please instead update this file by running `bin/tapioca gem actionview`. + class ActionController::Base < ::ActionController::Metal include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor include ::ActionDispatch::Routing::PolymorphicRoutes @@ -11,561 +12,29 @@ class ActionController::Base < ::ActionController::Metal include ::AbstractController::Caching::ConfigMethods include ::ActionController::BasicImplicitRender extend ::AbstractController::Helpers::Resolution - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods=(_arg0); end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionview/lib/action_view/layouts.rb#216 - def _layout_conditions(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _process_action_callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_process_action_callbacks(&block); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(_arg0); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#36 - def alert; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_protect_from_forgery; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_protect_from_forgery=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#10 - def flash(*_arg0, **_arg1, &_arg2); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(_arg0); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(_arg0); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#36 - def notice; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - private - - # source://actionview/lib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://actionpack/7.1.5.1lib/action_controller/base.rb#252 - def _protected_ivars; end - - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.1.5.1lib/action_controller/form_builder.rb#33 - def _default_form_builder; end - - # source://actionpack/7.1.5.1lib/action_controller/form_builder.rb#33 - def _default_form_builder=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/form_builder.rb#33 - def _default_form_builder?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#8 - def _flash_types; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#8 - def _flash_types=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/flash.rb#8 - def _flash_types?; end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#16 - def _helpers; end - - # source://actionview/lib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/lib/action_view/layouts.rb#211 - def _layout=(value); end - - # source://actionview/lib/action_view/layouts.rb#211 - def _layout?; end - - # source://actionview/lib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionview/lib/action_view/layouts.rb#212 - def _layout_conditions=(value); end - - # source://actionview/lib/action_view/layouts.rb#212 - def _layout_conditions?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _process_action_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _process_action_callbacks=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_protect_from_forgery; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_protect_from_forgery=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(value); end - - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.1.5.1lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.1.5.1lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.1.5.1lib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - # source://actionpack/7.1.5.1lib/action_controller/base.rb#184 - def without_modules(*modules); end - end end # :include: ../README.rdoc # -# source://actionview/lib/action_view/gem_version.rb#3 +# source://actionview//lib/action_view/gem_version.rb#3 module ActionView extend ::ActiveSupport::Autoload class << self - # source://actionview/lib/action_view/deprecator.rb#4 + # source://actionview//lib/action_view/deprecator.rb#4 def deprecator; end - # source://actionview/lib/action_view.rb#93 + # source://actionview//lib/action_view.rb#93 def eager_load!; end # Returns the currently loaded version of Action View as a +Gem::Version+. # - # source://actionview/lib/action_view/gem_version.rb#5 + # source://actionview//lib/action_view/gem_version.rb#5 def gem_version; end # Returns the currently loaded version of Action View as a +Gem::Version+. # - # source://actionview/lib/action_view/version.rb#7 + # source://actionview//lib/action_view/version.rb#7 def version; end end end @@ -586,56 +55,56 @@ end # that new object is called in turn. This abstracts the set up and rendering # into a separate classes for partials and templates. # -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#21 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#21 class ActionView::AbstractRenderer # @return [AbstractRenderer] a new instance of AbstractRenderer # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#24 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#24 def initialize(lookup_context); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#22 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#22 def any_templates?(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#22 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#22 def formats(*_arg0, **_arg1, &_arg2); end # @raise [NotImplementedError] # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#28 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#28 def render; end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#22 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#22 def template_exists?(*_arg0, **_arg1, &_arg2); end private - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#182 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#182 def build_rendered_collection(templates, spacer); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#178 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#178 def build_rendered_template(content, template); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#159 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#159 def extract_details(options); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#171 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#171 def prepend_formats(formats); end end -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#157 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#157 ActionView::AbstractRenderer::NO_DETAILS = T.let(T.unsafe(nil), Hash) -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#32 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#32 module ActionView::AbstractRenderer::ObjectRendering - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#37 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#37 def initialize(lookup_context, options); end private - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#43 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#43 def local_variable(path); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#92 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#92 def merge_prefix_into_object_path(prefix, object_path); end # Obtains the path to where the object's partial is located. If the object @@ -646,96 +115,96 @@ module ActionView::AbstractRenderer::ObjectRendering # If +prefix_partial_path_with_controller_namespace+ is true, then this # method will prefix the partial paths with a namespace. # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#76 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#76 def partial_path(object, view); end # @raise [ArgumentError] # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#61 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#61 def raise_invalid_identifier(path); end # @raise [ArgumentError] # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#65 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#65 def raise_invalid_option_as(as); end end -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#54 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#54 ActionView::AbstractRenderer::ObjectRendering::IDENTIFIER_ERROR_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#57 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#57 ActionView::AbstractRenderer::ObjectRendering::OPTION_AS_ERROR_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#33 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#33 ActionView::AbstractRenderer::ObjectRendering::PREFIXED_PARTIAL_NAMES = T.let(T.unsafe(nil), Concurrent::Map) -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#110 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#110 class ActionView::AbstractRenderer::RenderedCollection # @return [RenderedCollection] a new instance of RenderedCollection # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#117 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#117 def initialize(rendered_templates, spacer); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#122 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#122 def body; end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#126 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#126 def format; end # Returns the value of attribute rendered_templates. # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#115 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#115 def rendered_templates; end class << self - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#111 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#111 def empty(format); end end end -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#130 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#130 class ActionView::AbstractRenderer::RenderedCollection::EmptyCollection # @return [EmptyCollection] a new instance of EmptyCollection # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#133 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#133 def initialize(format); end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#137 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#137 def body; end # Returns the value of attribute format. # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#131 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#131 def format; end end -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#141 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#141 class ActionView::AbstractRenderer::RenderedTemplate # @return [RenderedTemplate] a new instance of RenderedTemplate # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#144 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#144 def initialize(body, template); end # Returns the value of attribute body. # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#142 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#142 def body; end - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#149 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#149 def format; end # Returns the value of attribute template. # - # source://actionview/lib/action_view/renderer/abstract_renderer.rb#142 + # source://actionview//lib/action_view/renderer/abstract_renderer.rb#142 def template; end end -# source://actionview/lib/action_view/renderer/abstract_renderer.rb#153 +# source://actionview//lib/action_view/renderer/abstract_renderer.rb#153 ActionView::AbstractRenderer::RenderedTemplate::EMPTY_SPACER = T.let(T.unsafe(nil), T.untyped) # = Action View Errors # -# source://actionview/lib/action_view/template/error.rb#8 +# source://actionview//lib/action_view/template/error.rb#8 class ActionView::ActionViewError < ::StandardError; end # = Action View \Base @@ -866,7 +335,7 @@ class ActionView::ActionViewError < ::StandardError; end # # For more information on Builder please consult the {source code}[https://github.com/rails/builder]. # -# source://actionview/lib/action_view/base.rb#140 +# source://actionview//lib/action_view/base.rb#140 class ActionView::Base include ::ActionView::Context include ::ERB::Escape @@ -909,282 +378,282 @@ class ActionView::Base # # @return [Base] a new instance of Base # - # source://actionview/lib/action_view/base.rb#227 + # source://actionview//lib/action_view/base.rb#227 def initialize(lookup_context, assigns, controller); end - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes; end - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes=(_arg0); end - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes?; end - # source://actionview/lib/action_view/base.rb#244 + # source://actionview//lib/action_view/base.rb#244 def _run(method, template, locals, buffer, add_to_stack: T.unsafe(nil), has_strict_locals: T.unsafe(nil), &block); end - # source://actionview/lib/action_view/base.rb#162 + # source://actionview//lib/action_view/base.rb#162 def annotate_rendered_view_with_filenames; end - # source://actionview/lib/action_view/base.rb#162 + # source://actionview//lib/action_view/base.rb#162 def annotate_rendered_view_with_filenames=(val); end - # source://actionview/lib/action_view/base.rb#206 + # source://actionview//lib/action_view/base.rb#206 def assign(new_assigns); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#202 def assigns; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#202 def assigns=(_arg0); end - # source://actionview/lib/action_view/base.rb#159 + # source://actionview//lib/action_view/base.rb#159 def automatically_disable_submit_tag; end - # source://actionview/lib/action_view/base.rb#159 + # source://actionview//lib/action_view/base.rb#159 def automatically_disable_submit_tag=(val); end # @raise [NotImplementedError] # - # source://actionview/lib/action_view/base.rb#269 + # source://actionview//lib/action_view/base.rb#269 def compiled_method_container; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#202 def config; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#202 def config=(_arg0); end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#141 def debug_missing_translation; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#141 def debug_missing_translation=(val); end - # source://actionview/lib/action_view/base.rb#156 + # source://actionview//lib/action_view/base.rb#156 def default_formats; end - # source://actionview/lib/action_view/base.rb#156 + # source://actionview//lib/action_view/base.rb#156 def default_formats=(val); end - # source://actionview/lib/action_view/base.rb#144 + # source://actionview//lib/action_view/base.rb#144 def field_error_proc; end - # source://actionview/lib/action_view/base.rb#144 + # source://actionview//lib/action_view/base.rb#144 def field_error_proc=(val); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def formats(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def formats=(arg); end - # source://actionview/lib/action_view/base.rb#277 + # source://actionview//lib/action_view/base.rb#277 def in_rendering_context(options); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def locale=(arg); end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger; end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger=(_arg0); end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger?; end # Returns the value of attribute lookup_context. # - # source://actionview/lib/action_view/base.rb#201 + # source://actionview//lib/action_view/base.rb#201 def lookup_context; end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace; end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace=(_arg0); end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace?; end - # source://actionview/lib/action_view/base.rb#148 + # source://actionview//lib/action_view/base.rb#148 def streaming_completion_on_exception; end - # source://actionview/lib/action_view/base.rb#148 + # source://actionview//lib/action_view/base.rb#148 def streaming_completion_on_exception=(val); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def view_paths(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/base.rb#204 + # source://actionview//lib/action_view/base.rb#204 def view_paths=(arg); end # Returns the value of attribute view_renderer. # - # source://actionview/lib/action_view/base.rb#201 + # source://actionview//lib/action_view/base.rb#201 def view_renderer; end class << self - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes; end - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes=(value); end - # source://actionview/lib/action_view/base.rb#164 + # source://actionview//lib/action_view/base.rb#164 def _routes?; end - # source://actionview/lib/action_view/base.rb#162 + # source://actionview//lib/action_view/base.rb#162 def annotate_rendered_view_with_filenames; end - # source://actionview/lib/action_view/base.rb#162 + # source://actionview//lib/action_view/base.rb#162 def annotate_rendered_view_with_filenames=(val); end - # source://actionview/lib/action_view/base.rb#159 + # source://actionview//lib/action_view/base.rb#159 def automatically_disable_submit_tag; end - # source://actionview/lib/action_view/base.rb#159 + # source://actionview//lib/action_view/base.rb#159 def automatically_disable_submit_tag=(val); end - # source://actionview/lib/action_view/base.rb#170 + # source://actionview//lib/action_view/base.rb#170 def cache_template_loading; end - # source://actionview/lib/action_view/base.rb#174 + # source://actionview//lib/action_view/base.rb#174 def cache_template_loading=(value); end # @return [Boolean] # - # source://actionview/lib/action_view/base.rb#196 + # source://actionview//lib/action_view/base.rb#196 def changed?(other); end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#141 def debug_missing_translation; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#141 def debug_missing_translation=(val); end - # source://actionview/lib/action_view/helpers/form_helper.rb#2759 + # source://actionview//lib/action_view/base.rb#296 def default_form_builder; end - # source://actionview/lib/action_view/helpers/form_helper.rb#2759 + # source://actionview//lib/action_view/base.rb#296 def default_form_builder=(val); end - # source://actionview/lib/action_view/base.rb#156 + # source://actionview//lib/action_view/base.rb#156 def default_formats; end - # source://actionview/lib/action_view/base.rb#156 + # source://actionview//lib/action_view/base.rb#156 def default_formats=(val); end # :stopdoc: # - # source://actionview/lib/action_view/base.rb#213 + # source://actionview//lib/action_view/base.rb#213 def empty; end - # source://actionview/lib/action_view/base.rb#168 + # source://actionview//lib/action_view/base.rb#168 def erb_trim_mode=(arg); end - # source://actionview/lib/action_view/base.rb#144 + # source://actionview//lib/action_view/base.rb#144 def field_error_proc; end - # source://actionview/lib/action_view/base.rb#144 + # source://actionview//lib/action_view/base.rb#144 def field_error_proc=(val); end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger; end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger=(value); end - # source://actionview/lib/action_view/base.rb#165 + # source://actionview//lib/action_view/base.rb#165 def logger?; end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace; end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace=(value); end - # source://actionview/lib/action_view/base.rb#153 + # source://actionview//lib/action_view/base.rb#153 def prefix_partial_path_with_controller_namespace?; end - # source://actionview/lib/action_view/base.rb#148 + # source://actionview//lib/action_view/base.rb#148 def streaming_completion_on_exception; end - # source://actionview/lib/action_view/base.rb#148 + # source://actionview//lib/action_view/base.rb#148 def streaming_completion_on_exception=(val); end - # source://actionview/lib/action_view/base.rb#221 + # source://actionview//lib/action_view/base.rb#221 def with_context(context, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end - # source://actionview/lib/action_view/base.rb#182 + # source://actionview//lib/action_view/base.rb#182 def with_empty_template_cache; end - # source://actionview/lib/action_view/base.rb#217 + # source://actionview//lib/action_view/base.rb#217 def with_view_paths(view_paths, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/base.rb#178 + # source://actionview//lib/action_view/base.rb#178 def xss_safe?; end end end -# source://actionview/lib/action_view/cache_expiry.rb#4 +# source://actionview//lib/action_view/cache_expiry.rb#4 module ActionView::CacheExpiry; end -# source://actionview/lib/action_view/cache_expiry.rb#5 +# source://actionview//lib/action_view/cache_expiry.rb#5 class ActionView::CacheExpiry::ViewReloader # @return [ViewReloader] a new instance of ViewReloader # - # source://actionview/lib/action_view/cache_expiry.rb#6 + # source://actionview//lib/action_view/cache_expiry.rb#6 def initialize(watcher:, &block); end - # source://actionview/lib/action_view/cache_expiry.rb#22 + # source://actionview//lib/action_view/cache_expiry.rb#22 def execute; end # @return [Boolean] # - # source://actionview/lib/action_view/cache_expiry.rb#18 + # source://actionview//lib/action_view/cache_expiry.rb#18 def updated?; end private - # source://actionview/lib/action_view/cache_expiry.rb#58 + # source://actionview//lib/action_view/cache_expiry.rb#58 def all_view_paths; end - # source://actionview/lib/action_view/cache_expiry.rb#54 + # source://actionview//lib/action_view/cache_expiry.rb#54 def dirs_to_watch; end - # source://actionview/lib/action_view/cache_expiry.rb#36 + # source://actionview//lib/action_view/cache_expiry.rb#36 def rebuild_watcher; end - # source://actionview/lib/action_view/cache_expiry.rb#32 + # source://actionview//lib/action_view/cache_expiry.rb#32 def reload!; end end -# source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#6 +# source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#6 module ActionView::CollectionCaching extend ::ActiveSupport::Concern private - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#20 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#20 def cache_collection_render(instrumentation_payload, view, template, collection); end # @return [Boolean] # - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#54 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#54 def callable_cache_key?; end - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#58 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#58 def collection_by_cache_keys(view, template, collection); end - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#71 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#71 def expanded_cache_key(key, view, template, digest_path); end # `order_by` is an enumerable object containing keys of the cache, @@ -1203,98 +672,98 @@ module ActionView::CollectionCaching # If the partial is not already cached it will also be # written back to the underlying cache store. # - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#91 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#91 def fetch_or_cache_partial(cached_partials, template, order_by:); end # @return [Boolean] # - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#16 + # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#16 def will_cache?(options, view); end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#33 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#33 class ActionView::CollectionRenderer < ::ActionView::PartialRenderer include ::ActionView::AbstractRenderer::ObjectRendering - # source://actionview/lib/action_view/renderer/collection_renderer.rb#130 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#130 def render_collection_derive_partial(collection, context, block); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#112 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#112 def render_collection_with_partial(collection, partial, context, block); end private - # source://actionview/lib/action_view/renderer/collection_renderer.rb#182 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#182 def collection_with_template(view, template, layout, collection); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#153 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#153 def render_collection(collection, view, path, template, layout, block); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#148 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#148 def retrieve_variable(path); end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#36 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#36 class ActionView::CollectionRenderer::CollectionIterator include ::Enumerable # @return [CollectionIterator] a new instance of CollectionIterator # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#39 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#39 def initialize(collection); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#43 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#43 def each(&blk); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#51 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#51 def length; end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#55 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#55 def preload!; end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#47 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#47 def size; end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#100 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#100 class ActionView::CollectionRenderer::MixedCollectionIterator < ::ActionView::CollectionRenderer::CollectionIterator # @return [MixedCollectionIterator] a new instance of MixedCollectionIterator # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#101 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#101 def initialize(collection, paths); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#106 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#106 def each_with_info; end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#78 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#78 class ActionView::CollectionRenderer::PreloadCollectionIterator < ::ActionView::CollectionRenderer::SameCollectionIterator # @return [PreloadCollectionIterator] a new instance of PreloadCollectionIterator # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#79 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#79 def initialize(collection, path, variables, relation); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#89 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#89 def each_with_info; end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#85 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#85 def from_collection(collection); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#95 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#95 def preload!; end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#60 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#60 class ActionView::CollectionRenderer::SameCollectionIterator < ::ActionView::CollectionRenderer::CollectionIterator # @return [SameCollectionIterator] a new instance of SameCollectionIterator # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#61 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#61 def initialize(collection, path, variables); end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#71 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#71 def each_with_info; end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#67 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#67 def from_collection(collection); end end @@ -1309,137 +778,137 @@ end # object that includes this module (although you can call _prepare_context # defined below). # -# source://actionview/lib/action_view/context.rb#14 +# source://actionview//lib/action_view/context.rb#14 module ActionView::Context # Encapsulates the interaction with the view flow so it # returns the correct buffer on +yield+. This is usually # overwritten by helpers to add more behavior. # - # source://actionview/lib/action_view/context.rb#27 + # source://actionview//lib/action_view/context.rb#27 def _layout_for(name = T.unsafe(nil)); end # Prepares the context by setting the appropriate instance variables. # - # source://actionview/lib/action_view/context.rb#18 + # source://actionview//lib/action_view/context.rb#18 def _prepare_context; end # Returns the value of attribute output_buffer. # - # source://actionview/lib/action_view/context.rb#15 + # source://actionview//lib/action_view/context.rb#15 def output_buffer; end # Sets the attribute output_buffer # # @param value the value to set the attribute output_buffer to. # - # source://actionview/lib/action_view/context.rb#15 + # source://actionview//lib/action_view/context.rb#15 def output_buffer=(_arg0); end # Returns the value of attribute view_flow. # - # source://actionview/lib/action_view/context.rb#15 + # source://actionview//lib/action_view/context.rb#15 def view_flow; end # Sets the attribute view_flow # # @param value the value to set the attribute view_flow to. # - # source://actionview/lib/action_view/context.rb#15 + # source://actionview//lib/action_view/context.rb#15 def view_flow=(_arg0); end end -# source://actionview/lib/action_view/dependency_tracker.rb#8 +# source://actionview//lib/action_view/dependency_tracker.rb#8 class ActionView::DependencyTracker extend ::ActiveSupport::Autoload class << self - # source://actionview/lib/action_view/dependency_tracker.rb#16 + # source://actionview//lib/action_view/dependency_tracker.rb#16 def find_dependencies(name, template, view_paths = T.unsafe(nil)); end - # source://actionview/lib/action_view/dependency_tracker.rb#23 + # source://actionview//lib/action_view/dependency_tracker.rb#23 def register_tracker(extension, tracker); end - # source://actionview/lib/action_view/dependency_tracker.rb#34 + # source://actionview//lib/action_view/dependency_tracker.rb#34 def remove_tracker(handler); end end end -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#5 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#5 class ActionView::DependencyTracker::ERBTracker # @return [ERBTracker] a new instance of ERBTracker # - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#72 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#72 def initialize(name, template, view_paths = T.unsafe(nil)); end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#76 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#76 def dependencies; end private - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#104 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#104 def add_dependencies(render_dependencies, arguments, pattern); end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#112 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#112 def add_dynamic_dependency(dependencies, dependency); end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#118 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#118 def add_static_dependency(dependencies, dependency, quote_type); end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#88 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#88 def directory; end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#145 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#145 def explicit_dependencies; end # Returns the value of attribute name. # - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#80 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#80 def name; end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#92 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#92 def render_dependencies; end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#133 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#133 def resolve_directories(wildcard_dependencies); end - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#84 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#84 def source; end # Returns the value of attribute template. # - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#80 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#80 def template; end class << self - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#68 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#68 def call(name, template, view_paths = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#64 + # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#64 def supports_view_paths?; end end end -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#6 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#6 ActionView::DependencyTracker::ERBTracker::EXPLICIT_DEPENDENCY = T.let(T.unsafe(nil), Regexp) # A valid ruby identifier - suitable for class, method and specially variable names # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#9 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#9 ActionView::DependencyTracker::ERBTracker::IDENTIFIER = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#58 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#58 ActionView::DependencyTracker::ERBTracker::LAYOUT_DEPENDENCY = T.let(T.unsafe(nil), Regexp) # Part of any hash containing the :layout key # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#36 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#36 ActionView::DependencyTracker::ERBTracker::LAYOUT_HASH_KEY = T.let(T.unsafe(nil), Regexp) # Part of any hash containing the :partial key # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#30 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#30 ActionView::DependencyTracker::ERBTracker::PARTIAL_HASH_KEY = T.let(T.unsafe(nil), Regexp) # Matches: @@ -1454,71 +923,71 @@ ActionView::DependencyTracker::ERBTracker::PARTIAL_HASH_KEY = T.let(T.unsafe(nil # topics => "topics/topic" # (message.topics) => "topics/topic" # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#52 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#52 ActionView::DependencyTracker::ERBTracker::RENDER_ARGUMENTS = T.let(T.unsafe(nil), Regexp) # A simple string literal. e.g. "School's out!" # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#23 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#23 ActionView::DependencyTracker::ERBTracker::STRING = T.let(T.unsafe(nil), Regexp) # Any kind of variable name. e.g. @instance, @@class, $global or local. # Possibly following a method call chain # -# source://actionview/lib/action_view/dependency_tracker/erb_tracker.rb#16 +# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#16 ActionView::DependencyTracker::ERBTracker::VARIABLE_OR_METHOD_CHAIN = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#5 +# source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#5 class ActionView::DependencyTracker::RipperTracker # @return [RipperTracker] a new instance of RipperTracker # - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#20 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#20 def initialize(name, template, view_paths = T.unsafe(nil)); end - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#12 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#12 def dependencies; end private - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#38 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#38 def explicit_dependencies; end # Returns the value of attribute name. # - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#25 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#25 def name; end - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#27 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#27 def render_dependencies; end - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#46 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#46 def resolve_directories(wildcard_dependencies); end # Returns the value of attribute template. # - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#25 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#25 def template; end # Returns the value of attribute view_paths. # - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#25 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#25 def view_paths; end class << self - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#8 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#8 def call(name, template, view_paths = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#16 + # source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#16 def supports_view_paths?; end end end -# source://actionview/lib/action_view/dependency_tracker/ripper_tracker.rb#6 +# source://actionview//lib/action_view/dependency_tracker/ripper_tracker.rb#6 ActionView::DependencyTracker::RipperTracker::EXPLICIT_DEPENDENCY = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/digestor.rb#6 +# source://actionview//lib/action_view/digestor.rb#6 class ActionView::Digestor class << self # Supported options: @@ -1528,165 +997,165 @@ class ActionView::Digestor # * +finder+ - An instance of ActionView::LookupContext # * dependencies - An array of dependent views # - # source://actionview/lib/action_view/digestor.rb#16 + # source://actionview//lib/action_view/digestor.rb#16 def digest(name:, finder:, format: T.unsafe(nil), dependencies: T.unsafe(nil)); end - # source://actionview/lib/action_view/digestor.rb#38 + # source://actionview//lib/action_view/digestor.rb#38 def logger; end # Create a dependency tree for template named +name+. # - # source://actionview/lib/action_view/digestor.rb#43 + # source://actionview//lib/action_view/digestor.rb#43 def tree(name, finder, partial = T.unsafe(nil), seen = T.unsafe(nil)); end private - # source://actionview/lib/action_view/digestor.rb#71 + # source://actionview//lib/action_view/digestor.rb#71 def find_template(finder, name, prefixes, partial, keys); end end end -# source://actionview/lib/action_view/digestor.rb#121 +# source://actionview//lib/action_view/digestor.rb#121 class ActionView::Digestor::Injected < ::ActionView::Digestor::Node - # source://actionview/lib/action_view/digestor.rb#122 + # source://actionview//lib/action_view/digestor.rb#122 def digest(finder, _ = T.unsafe(nil)); end end -# source://actionview/lib/action_view/digestor.rb#117 +# source://actionview//lib/action_view/digestor.rb#117 class ActionView::Digestor::Missing < ::ActionView::Digestor::Node - # source://actionview/lib/action_view/digestor.rb#118 + # source://actionview//lib/action_view/digestor.rb#118 def digest(finder, _ = T.unsafe(nil)); end end -# source://actionview/lib/action_view/digestor.rb#78 +# source://actionview//lib/action_view/digestor.rb#78 class ActionView::Digestor::Node # @return [Node] a new instance of Node # - # source://actionview/lib/action_view/digestor.rb#86 + # source://actionview//lib/action_view/digestor.rb#86 def initialize(name, logical_name, template, children = T.unsafe(nil)); end # Returns the value of attribute children. # - # source://actionview/lib/action_view/digestor.rb#79 + # source://actionview//lib/action_view/digestor.rb#79 def children; end - # source://actionview/lib/action_view/digestor.rb#97 + # source://actionview//lib/action_view/digestor.rb#97 def dependency_digest(finder, stack); end - # source://actionview/lib/action_view/digestor.rb#93 + # source://actionview//lib/action_view/digestor.rb#93 def digest(finder, stack = T.unsafe(nil)); end # Returns the value of attribute logical_name. # - # source://actionview/lib/action_view/digestor.rb#79 + # source://actionview//lib/action_view/digestor.rb#79 def logical_name; end # Returns the value of attribute name. # - # source://actionview/lib/action_view/digestor.rb#79 + # source://actionview//lib/action_view/digestor.rb#79 def name; end # Returns the value of attribute template. # - # source://actionview/lib/action_view/digestor.rb#79 + # source://actionview//lib/action_view/digestor.rb#79 def template; end - # source://actionview/lib/action_view/digestor.rb#110 + # source://actionview//lib/action_view/digestor.rb#110 def to_dep_map; end class << self - # source://actionview/lib/action_view/digestor.rb#81 + # source://actionview//lib/action_view/digestor.rb#81 def create(name, logical_name, template, partial); end end end -# source://actionview/lib/action_view/digestor.rb#125 +# source://actionview//lib/action_view/digestor.rb#125 class ActionView::Digestor::NullLogger class << self - # source://actionview/lib/action_view/digestor.rb#126 + # source://actionview//lib/action_view/digestor.rb#126 def debug(_); end - # source://actionview/lib/action_view/digestor.rb#127 + # source://actionview//lib/action_view/digestor.rb#127 def error(_); end end end -# source://actionview/lib/action_view/digestor.rb#115 +# source://actionview//lib/action_view/digestor.rb#115 class ActionView::Digestor::Partial < ::ActionView::Digestor::Node; end -# source://actionview/lib/action_view.rb#35 +# source://actionview//lib/action_view.rb#35 ActionView::ENCODING_FLAG = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/template/error.rb#11 +# source://actionview//lib/action_view/template/error.rb#11 class ActionView::EncodingError < ::StandardError; end # A resolver that loads files from the filesystem. # -# source://actionview/lib/action_view/template/resolver.rb#93 +# source://actionview//lib/action_view/template/resolver.rb#93 class ActionView::FileSystemResolver < ::ActionView::Resolver # @raise [ArgumentError] # @return [FileSystemResolver] a new instance of FileSystemResolver # - # source://actionview/lib/action_view/template/resolver.rb#96 + # source://actionview//lib/action_view/template/resolver.rb#96 def initialize(path); end # @return [Boolean] # - # source://actionview/lib/action_view/template/resolver.rb#115 + # source://actionview//lib/action_view/template/resolver.rb#118 def ==(resolver); end - # source://actionview/lib/action_view/template/resolver.rb#120 + # source://actionview//lib/action_view/template/resolver.rb#120 def all_template_paths; end - # source://actionview/lib/action_view/template/resolver.rb#129 + # source://actionview//lib/action_view/template/resolver.rb#129 def built_templates; end - # source://actionview/lib/action_view/template/resolver.rb#104 + # source://actionview//lib/action_view/template/resolver.rb#104 def clear_cache; end # @return [Boolean] # - # source://actionview/lib/action_view/template/resolver.rb#115 + # source://actionview//lib/action_view/template/resolver.rb#115 def eql?(resolver); end # Returns the value of attribute path. # - # source://actionview/lib/action_view/template/resolver.rb#94 + # source://actionview//lib/action_view/template/resolver.rb#94 def path; end - # source://actionview/lib/action_view/template/resolver.rb#110 + # source://actionview//lib/action_view/template/resolver.rb#113 def to_path; end - # source://actionview/lib/action_view/template/resolver.rb#110 + # source://actionview//lib/action_view/template/resolver.rb#110 def to_s; end private - # source://actionview/lib/action_view/template/resolver.rb#134 + # source://actionview//lib/action_view/template/resolver.rb#134 def _find_all(name, prefix, partial, details, key, locals); end - # source://actionview/lib/action_view/template/resolver.rb#153 + # source://actionview//lib/action_view/template/resolver.rb#153 def build_unbound_template(template); end - # source://actionview/lib/action_view/template/resolver.rb#211 + # source://actionview//lib/action_view/template/resolver.rb#211 def escape_entry(entry); end - # source://actionview/lib/action_view/template/resolver.rb#183 + # source://actionview//lib/action_view/template/resolver.rb#183 def filter_and_sort_by_details(templates, requested_details); end - # source://actionview/lib/action_view/template/resolver.rb#149 + # source://actionview//lib/action_view/template/resolver.rb#149 def source_for_template(template); end # Safe glob within @path # - # source://actionview/lib/action_view/template/resolver.rb#198 + # source://actionview//lib/action_view/template/resolver.rb#198 def template_glob(glob); end - # source://actionview/lib/action_view/template/resolver.rb#166 + # source://actionview//lib/action_view/template/resolver.rb#166 def unbound_templates_from_path(path); end end -# source://actionview/lib/action_view/helpers/capture_helper.rb#6 +# source://actionview//lib/action_view/helpers/capture_helper.rb#6 module ActionView::Helpers include ::ActiveSupport::Benchmarkable include ::ActionView::Helpers::ActiveModelHelper @@ -1722,48 +1191,48 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods class << self - # source://actionview/lib/action_view/helpers.rb#35 + # source://actionview//lib/action_view/helpers.rb#35 def eager_load!; end end end -# source://actionview/lib/action_view/helpers/active_model_helper.rb#8 +# source://actionview//lib/action_view/helpers/active_model_helper.rb#8 module ActionView::Helpers::ActiveModelHelper; end # = Active \Model Instance Tag \Helpers # -# source://actionview/lib/action_view/helpers/active_model_helper.rb#12 +# source://actionview//lib/action_view/helpers/active_model_helper.rb#12 module ActionView::Helpers::ActiveModelInstanceTag - # source://actionview/lib/action_view/helpers/active_model_helper.rb#20 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#20 def content_tag(type, options, *_arg2); end - # source://actionview/lib/action_view/helpers/active_model_helper.rb#36 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#36 def error_message; end - # source://actionview/lib/action_view/helpers/active_model_helper.rb#28 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#28 def error_wrapping(html_tag); end - # source://actionview/lib/action_view/helpers/active_model_helper.rb#13 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#13 def object; end - # source://actionview/lib/action_view/helpers/active_model_helper.rb#24 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#24 def tag(type, options, *_arg2); end private # @return [Boolean] # - # source://actionview/lib/action_view/helpers/active_model_helper.rb#41 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#41 def object_has_errors?; end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/active_model_helper.rb#45 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#45 def select_markup_helper?(type); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/active_model_helper.rb#49 + # source://actionview//lib/action_view/helpers/active_model_helper.rb#49 def tag_generate_errors?(options); end end @@ -1778,17 +1247,17 @@ end # stylesheet_link_tag("application") # # => # -# source://actionview/lib/action_view/helpers/asset_tag_helper.rb#21 +# source://actionview//lib/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/lib/action_view/helpers/asset_tag_helper.rb#28 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#28 def apply_stylesheet_media_default; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#28 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#28 def apply_stylesheet_media_default=(val); end # Returns an HTML audio tag for the +sources+. If +sources+ is a string, @@ -1814,7 +1283,7 @@ module ActionView::Helpers::AssetTagHelper # audio_tag(user.name_pronunciation_audio) # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#581 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#581 def audio_tag(*sources); end # Returns a link tag that browsers and feed readers can use to auto-detect @@ -1845,7 +1314,7 @@ module ActionView::Helpers::AssetTagHelper # auto_discovery_link_tag(:rss, "http://www.example.com/feed.rss", {title: "Example RSS"}) # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#259 + # source://actionview//lib/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 # Returns a link tag for a favicon managed by the asset pipeline. @@ -1876,19 +1345,19 @@ module ActionView::Helpers::AssetTagHelper # favicon_link_tag 'mb-icon.png', rel: 'apple-touch-icon', type: 'image/png' # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#300 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#300 def favicon_link_tag(source = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 def image_decoding; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 def image_decoding=(val); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#25 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#25 def image_loading; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#25 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#25 def image_loading=(val); end # Returns an HTML image tag for the +source+. The +source+ can be a full @@ -1937,7 +1406,7 @@ module ActionView::Helpers::AssetTagHelper # image_tag(user.avatar.variant(resize_to_limit: [100, 100]), size: '100') # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#418 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#418 def image_tag(source, options = T.unsafe(nil)); end # Returns an HTML script tag for each of the +sources+ provided. @@ -2022,7 +1491,7 @@ module ActionView::Helpers::AssetTagHelper # javascript_include_tag "http://www.example.com/xmlhr.js", defer: true # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#111 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#111 def javascript_include_tag(*sources); end # Returns an HTML picture tag for the +sources+. If +sources+ is a string, @@ -2065,7 +1534,7 @@ module ActionView::Helpers::AssetTagHelper # picture_tag(user.profile_picture) # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#479 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#479 def picture_tag(*sources, &block); end # Returns a link tag that browsers can use to preload the +source+. @@ -2103,13 +1572,13 @@ module ActionView::Helpers::AssetTagHelper # preload_link_tag("/media/audio.ogg", nopush: true) # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#343 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#343 def preload_link_tag(source, options = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#27 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#27 def preload_links_header; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#27 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#27 def preload_links_header=(val); end # Returns a stylesheet link tag for the sources specified as arguments. @@ -2158,7 +1627,7 @@ module ActionView::Helpers::AssetTagHelper # # => # # # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#193 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#193 def stylesheet_link_tag(*sources); end # Returns an HTML video tag for the +sources+. If +sources+ is a string, @@ -2210,54 +1679,54 @@ module ActionView::Helpers::AssetTagHelper # video_tag(user.intro_video) # # => # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#549 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#549 def video_tag(*sources); end private - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#622 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#622 def check_for_image_tag_errors(options); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#613 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#613 def extract_dimensions(size); end # @yield [options] # - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#586 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#586 def multiple_sources_tag_builder(type, sources); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#603 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#603 def resolve_asset_source(asset_type, source, skip_pipeline); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#628 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#628 def resolve_link_as(extname, mime_type); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#642 + # source://actionview//lib/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/lib/action_view/helpers/asset_tag_helper.rb#28 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#28 def apply_stylesheet_media_default; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#28 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#28 def apply_stylesheet_media_default=(val); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 def image_decoding; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 def image_decoding=(val); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#25 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#25 def image_loading; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#25 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#25 def image_loading=(val); end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#27 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#27 def preload_links_header; end - # source://actionview/lib/action_view/helpers/asset_tag_helper.rb#27 + # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#27 def preload_links_header=(val); end end end @@ -2265,7 +1734,7 @@ end # Some HTTP client and proxies have a 4kiB header limit, but more importantly # including preload links has diminishing returns so it's best to not go overboard # -# source://actionview/lib/action_view/helpers/asset_tag_helper.rb#640 +# source://actionview//lib/action_view/helpers/asset_tag_helper.rb#640 ActionView::Helpers::AssetTagHelper::MAX_HEADER_SIZE = T.let(T.unsafe(nil), Integer) # = Action View Asset URL \Helpers @@ -2382,7 +1851,7 @@ ActionView::Helpers::AssetTagHelper::MAX_HEADER_SIZE = T.let(T.unsafe(nil), Inte # "http://asset%d.example.com", "https://asset1.example.com" # ) # -# source://actionview/lib/action_view/helpers/asset_url_helper.rb#121 +# source://actionview//lib/action_view/helpers/asset_url_helper.rb#121 module ActionView::Helpers::AssetUrlHelper # This is the entry point for all assets. # When using an asset pipeline gem (e.g. propshaft or sprockets-rails), the @@ -2450,7 +1919,7 @@ module ActionView::Helpers::AssetUrlHelper # # @raise [ArgumentError] # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#187 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#187 def asset_path(source, options = T.unsafe(nil)); end # Computes the full URL to an asset in the public directory. This @@ -2463,7 +1932,7 @@ module ActionView::Helpers::AssetUrlHelper # asset_url "application.js" # => http://example.com/assets/application.js # asset_url "application.js", host: "http://cdn.example.com" # => http://cdn.example.com/assets/application.js # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#231 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#231 def asset_url(source, options = T.unsafe(nil)); end # Computes the path to an audio asset in the public audios directory. @@ -2476,7 +1945,7 @@ module ActionView::Helpers::AssetUrlHelper # audio_path("/sounds/horse.wav") # => /sounds/horse.wav # audio_path("http://www.example.com/sounds/horse.wav") # => http://www.example.com/sounds/horse.wav # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#430 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#430 def audio_path(source, options = T.unsafe(nil)); end # Computes the full URL to an audio asset in the public audios directory. @@ -2486,13 +1955,13 @@ module ActionView::Helpers::AssetUrlHelper # # audio_url "horse.wav", host: "http://stage.example.com" # => http://stage.example.com/audios/horse.wav # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#442 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#442 def audio_url(source, options = T.unsafe(nil)); end # Compute extname to append to asset path. Returns +nil+ if # nothing should be added. # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#243 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#243 def compute_asset_extname(source, options = T.unsafe(nil)); end # Pick an asset host for this source. Returns +nil+ if no host is set, @@ -2501,14 +1970,14 @@ module ActionView::Helpers::AssetUrlHelper # or the value returned from invoking call on an object responding to call # (proc or otherwise). # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#277 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#277 def compute_asset_host(source = T.unsafe(nil), options = T.unsafe(nil)); end # Computes asset path to public directory. Plugins and # extensions can override this method to point to custom assets # or generate digested paths or query strings. # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#266 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#266 def compute_asset_path(source, options = T.unsafe(nil)); end # Computes the path to a font asset. @@ -2520,7 +1989,7 @@ module ActionView::Helpers::AssetUrlHelper # font_path("/dir/font.ttf") # => /dir/font.ttf # font_path("http://www.example.com/dir/font.ttf") # => http://www.example.com/dir/font.ttf # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#455 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#455 def font_path(source, options = T.unsafe(nil)); end # Computes the full URL to a font asset. @@ -2530,7 +1999,7 @@ module ActionView::Helpers::AssetUrlHelper # # font_url "font.ttf", host: "http://stage.example.com" # => http://stage.example.com/fonts/font.ttf # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#467 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#467 def font_url(source, options = T.unsafe(nil)); end # Computes the path to an image asset. @@ -2547,7 +2016,7 @@ module ActionView::Helpers::AssetUrlHelper # The alias +path_to_image+ is provided to avoid that. \Rails uses the alias internally, and # plugin authors are encouraged to do so. # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#378 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#378 def image_path(source, options = T.unsafe(nil)); end # Computes the full URL to an image asset. @@ -2557,7 +2026,7 @@ module ActionView::Helpers::AssetUrlHelper # # image_url "edit.png", host: "http://stage.example.com" # => http://stage.example.com/assets/edit.png # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#390 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#390 def image_url(source, options = T.unsafe(nil)); end # Computes the path to a JavaScript asset in the public javascripts directory. @@ -2571,7 +2040,7 @@ module ActionView::Helpers::AssetUrlHelper # javascript_path "http://www.example.com/js/xmlhr" # => http://www.example.com/js/xmlhr # javascript_path "http://www.example.com/js/xmlhr.js" # => http://www.example.com/js/xmlhr.js # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#321 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#321 def javascript_path(source, options = T.unsafe(nil)); end # Computes the full URL to a JavaScript asset in the public javascripts directory. @@ -2581,7 +2050,7 @@ module ActionView::Helpers::AssetUrlHelper # # javascript_url "js/xmlhr.js", host: "http://stage.example.com" # => http://stage.example.com/assets/js/xmlhr.js # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#333 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#333 def javascript_url(source, options = T.unsafe(nil)); end # This is the entry point for all assets. @@ -2651,7 +2120,7 @@ module ActionView::Helpers::AssetUrlHelper # # @raise [ArgumentError] # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#187 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#219 def path_to_asset(source, options = T.unsafe(nil)); end # Computes the path to an audio asset in the public audios directory. @@ -2665,7 +2134,7 @@ module ActionView::Helpers::AssetUrlHelper # audio_path("http://www.example.com/sounds/horse.wav") # => http://www.example.com/sounds/horse.wav # aliased to avoid conflicts with an audio_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#430 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#433 def path_to_audio(source, options = T.unsafe(nil)); end # Computes the path to a font asset. @@ -2678,7 +2147,7 @@ module ActionView::Helpers::AssetUrlHelper # font_path("http://www.example.com/dir/font.ttf") # => http://www.example.com/dir/font.ttf # aliased to avoid conflicts with a font_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#455 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#458 def path_to_font(source, options = T.unsafe(nil)); end # Computes the path to an image asset. @@ -2696,7 +2165,7 @@ module ActionView::Helpers::AssetUrlHelper # plugin authors are encouraged to do so. # aliased to avoid conflicts with an image_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#378 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#381 def path_to_image(source, options = T.unsafe(nil)); end # Computes the path to a JavaScript asset in the public javascripts directory. @@ -2711,7 +2180,7 @@ module ActionView::Helpers::AssetUrlHelper # javascript_path "http://www.example.com/js/xmlhr.js" # => http://www.example.com/js/xmlhr.js # aliased to avoid conflicts with a javascript_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#321 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#324 def path_to_javascript(source, options = T.unsafe(nil)); end # Computes the path to a stylesheet asset in the public stylesheets directory. @@ -2726,7 +2195,7 @@ module ActionView::Helpers::AssetUrlHelper # stylesheet_path "http://www.example.com/css/style.css" # => http://www.example.com/css/style.css # aliased to avoid conflicts with a stylesheet_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#348 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#351 def path_to_stylesheet(source, options = T.unsafe(nil)); end # Computes the path to a video asset in the public videos directory. @@ -2740,14 +2209,14 @@ module ActionView::Helpers::AssetUrlHelper # video_path("http://www.example.com/vid/hd.avi") # => http://www.example.com/vid/hd.avi # aliased to avoid conflicts with a video_path named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#404 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#407 def path_to_video(source, options = T.unsafe(nil)); end # Computes asset path to public directory. Plugins and # extensions can override this method to point to custom assets # or generate digested paths or query strings. # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#266 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#270 def public_compute_asset_path(source, options = T.unsafe(nil)); end # Computes the path to a stylesheet asset in the public stylesheets directory. @@ -2761,7 +2230,7 @@ module ActionView::Helpers::AssetUrlHelper # stylesheet_path "http://www.example.com/css/style" # => http://www.example.com/css/style # stylesheet_path "http://www.example.com/css/style.css" # => http://www.example.com/css/style.css # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#348 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#348 def stylesheet_path(source, options = T.unsafe(nil)); end # Computes the full URL to a stylesheet asset in the public stylesheets directory. @@ -2771,7 +2240,7 @@ module ActionView::Helpers::AssetUrlHelper # # stylesheet_url "css/style.css", host: "http://stage.example.com" # => http://stage.example.com/assets/css/style.css # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#360 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#360 def stylesheet_url(source, options = T.unsafe(nil)); end # Computes the full URL to an asset in the public directory. This @@ -2785,7 +2254,7 @@ module ActionView::Helpers::AssetUrlHelper # asset_url "application.js", host: "http://cdn.example.com" # => http://cdn.example.com/assets/application.js # aliased to avoid conflicts with an asset_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#231 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#234 def url_to_asset(source, options = T.unsafe(nil)); end # Computes the full URL to an audio asset in the public audios directory. @@ -2796,7 +2265,7 @@ module ActionView::Helpers::AssetUrlHelper # audio_url "horse.wav", host: "http://stage.example.com" # => http://stage.example.com/audios/horse.wav # aliased to avoid conflicts with an audio_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#442 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#445 def url_to_audio(source, options = T.unsafe(nil)); end # Computes the full URL to a font asset. @@ -2807,7 +2276,7 @@ module ActionView::Helpers::AssetUrlHelper # font_url "font.ttf", host: "http://stage.example.com" # => http://stage.example.com/fonts/font.ttf # aliased to avoid conflicts with a font_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#467 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#470 def url_to_font(source, options = T.unsafe(nil)); end # Computes the full URL to an image asset. @@ -2818,7 +2287,7 @@ module ActionView::Helpers::AssetUrlHelper # image_url "edit.png", host: "http://stage.example.com" # => http://stage.example.com/assets/edit.png # aliased to avoid conflicts with an image_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#390 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#393 def url_to_image(source, options = T.unsafe(nil)); end # Computes the full URL to a JavaScript asset in the public javascripts directory. @@ -2829,7 +2298,7 @@ module ActionView::Helpers::AssetUrlHelper # javascript_url "js/xmlhr.js", host: "http://stage.example.com" # => http://stage.example.com/assets/js/xmlhr.js # aliased to avoid conflicts with a javascript_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#333 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#336 def url_to_javascript(source, options = T.unsafe(nil)); end # Computes the full URL to a stylesheet asset in the public stylesheets directory. @@ -2840,7 +2309,7 @@ module ActionView::Helpers::AssetUrlHelper # stylesheet_url "css/style.css", host: "http://stage.example.com" # => http://stage.example.com/assets/css/style.css # aliased to avoid conflicts with a stylesheet_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#360 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#363 def url_to_stylesheet(source, options = T.unsafe(nil)); end # Computes the full URL to a video asset in the public videos directory. @@ -2851,7 +2320,7 @@ module ActionView::Helpers::AssetUrlHelper # video_url "hd.avi", host: "http://stage.example.com" # => http://stage.example.com/videos/hd.avi # aliased to avoid conflicts with a video_url named route # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#416 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#419 def url_to_video(source, options = T.unsafe(nil)); end # Computes the path to a video asset in the public videos directory. @@ -2864,7 +2333,7 @@ module ActionView::Helpers::AssetUrlHelper # video_path("/trailers/hd.avi") # => /trailers/hd.avi # video_path("http://www.example.com/vid/hd.avi") # => http://www.example.com/vid/hd.avi # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#404 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#404 def video_path(source, options = T.unsafe(nil)); end # Computes the full URL to a video asset in the public videos directory. @@ -2874,24 +2343,24 @@ module ActionView::Helpers::AssetUrlHelper # # video_url "hd.avi", host: "http://stage.example.com" # => http://stage.example.com/videos/hd.avi # - # source://actionview/lib/action_view/helpers/asset_url_helper.rb#416 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#416 def video_url(source, options = T.unsafe(nil)); end end -# source://actionview/lib/action_view/helpers/asset_url_helper.rb#236 +# source://actionview//lib/action_view/helpers/asset_url_helper.rb#236 ActionView::Helpers::AssetUrlHelper::ASSET_EXTENSIONS = T.let(T.unsafe(nil), Hash) # Maps asset types to public directory. # -# source://actionview/lib/action_view/helpers/asset_url_helper.rb#254 +# source://actionview//lib/action_view/helpers/asset_url_helper.rb#254 ActionView::Helpers::AssetUrlHelper::ASSET_PUBLIC_DIRECTORIES = T.let(T.unsafe(nil), Hash) -# source://actionview/lib/action_view/helpers/asset_url_helper.rb#122 +# source://actionview//lib/action_view/helpers/asset_url_helper.rb#122 ActionView::Helpers::AssetUrlHelper::URI_REGEXP = T.let(T.unsafe(nil), Regexp) # = Action View Atom Feed \Helpers # -# source://actionview/lib/action_view/helpers/atom_feed_helper.rb#8 +# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#8 module ActionView::Helpers::AtomFeedHelper # Adds easy defaults to writing Atom feeds with the Builder template engine (this does not work on ERB or any other # template languages). @@ -2983,15 +2452,15 @@ module ActionView::Helpers::AtomFeedHelper # atom_feed yields an +AtomFeedBuilder+ instance. Nested elements yield # an +AtomBuilder+ instance. # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#98 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#98 def atom_feed(options = T.unsafe(nil), &block); end end -# source://actionview/lib/action_view/helpers/atom_feed_helper.rb#129 +# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#129 class ActionView::Helpers::AtomFeedHelper::AtomBuilder # @return [AtomBuilder] a new instance of AtomBuilder # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#132 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#132 def initialize(xml); end private @@ -3000,7 +2469,7 @@ class ActionView::Helpers::AtomFeedHelper::AtomBuilder # namespaced div element if the method and arguments indicate # that an xhtml_block? is desired. # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#140 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#140 def method_missing(method, *arguments, &block); end # True if the method name matches one of the five elements defined @@ -3009,18 +2478,18 @@ class ActionView::Helpers::AtomFeedHelper::AtomBuilder # # @return [Boolean] # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#155 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#155 def xhtml_block?(method, arguments); end end -# source://actionview/lib/action_view/helpers/atom_feed_helper.rb#130 +# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#130 ActionView::Helpers::AtomFeedHelper::AtomBuilder::XHTML_TAG_NAMES = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/atom_feed_helper.rb#163 +# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#163 class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ::ActionView::Helpers::AtomFeedHelper::AtomBuilder # @return [AtomFeedBuilder] a new instance of AtomFeedBuilder # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#164 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#164 def initialize(xml, view, feed_options = T.unsafe(nil)); end # Creates an entry tag for a specific record and prefills the id using class and id. @@ -3033,18 +2502,18 @@ class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ::ActionView::Helpe # * :id: The ID for this entry. Defaults to "tag:#{@view.request.host},#{@feed_options[:schema_date]}:#{record.class}/#{record.id}" # * :type: The TYPE for this entry. Defaults to "text/html". # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#182 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#182 def entry(record, options = T.unsafe(nil)); end # Accepts a Date or Time object and inserts it in the proper format. If +nil+ is passed, current time in UTC is used. # - # source://actionview/lib/action_view/helpers/atom_feed_helper.rb#169 + # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#169 def updated(date_or_time = T.unsafe(nil)); end end # = Action View Cache \Helpers # -# source://actionview/lib/action_view/helpers/cache_helper.rb#6 +# source://actionview//lib/action_view/helpers/cache_helper.rb#6 module ActionView::Helpers::CacheHelper # This helper exposes a method for caching fragments of a view # rather than an entire action or page. This technique is useful @@ -3206,7 +2675,7 @@ module ActionView::Helpers::CacheHelper # This will include both records as part of the cache key and updating either of them will # expire the cache. # - # source://actionview/lib/action_view/helpers/cache_helper.rb#168 + # source://actionview//lib/action_view/helpers/cache_helper.rb#168 def cache(name = T.unsafe(nil), options = T.unsafe(nil), &block); end # This helper returns the name of a cache key for a given fragment cache @@ -3215,7 +2684,7 @@ module ActionView::Helpers::CacheHelper # cannot be manually expired unless you know the exact key which is the # case when using memcached. # - # source://actionview/lib/action_view/helpers/cache_helper.rb#240 + # source://actionview//lib/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 # Cache fragments of a view if +condition+ is true @@ -3225,7 +2694,7 @@ module ActionView::Helpers::CacheHelper # <%= render project.topics %> # <% end %> # - # source://actionview/lib/action_view/helpers/cache_helper.rb#215 + # source://actionview//lib/action_view/helpers/cache_helper.rb#215 def cache_if(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end # Cache fragments of a view unless +condition+ is true @@ -3235,7 +2704,7 @@ module ActionView::Helpers::CacheHelper # <%= render project.topics %> # <% end %> # - # source://actionview/lib/action_view/helpers/cache_helper.rb#231 + # source://actionview//lib/action_view/helpers/cache_helper.rb#231 def cache_unless(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end # Returns whether the current view fragment is within a +cache+ block. @@ -3248,10 +2717,10 @@ module ActionView::Helpers::CacheHelper # # @return [Boolean] # - # source://actionview/lib/action_view/helpers/cache_helper.rb#188 + # source://actionview//lib/action_view/helpers/cache_helper.rb#188 def caching?; end - # source://actionview/lib/action_view/helpers/cache_helper.rb#248 + # source://actionview//lib/action_view/helpers/cache_helper.rb#248 def digest_path_from_template(template); end # Raises +UncacheableFragmentError+ when called from within a +cache+ block. @@ -3270,38 +2739,38 @@ module ActionView::Helpers::CacheHelper # # @raise [UncacheableFragmentError] # - # source://actionview/lib/action_view/helpers/cache_helper.rb#205 + # source://actionview//lib/action_view/helpers/cache_helper.rb#205 def uncacheable!; end private - # source://actionview/lib/action_view/helpers/cache_helper.rb#270 + # source://actionview//lib/action_view/helpers/cache_helper.rb#270 def fragment_for(name = T.unsafe(nil), options = T.unsafe(nil), &block); end - # source://actionview/lib/action_view/helpers/cache_helper.rb#259 + # source://actionview//lib/action_view/helpers/cache_helper.rb#259 def fragment_name_with_digest(name, digest_path); end - # source://actionview/lib/action_view/helpers/cache_helper.rb#280 + # source://actionview//lib/action_view/helpers/cache_helper.rb#280 def read_fragment_for(name, options); end - # source://actionview/lib/action_view/helpers/cache_helper.rb#284 + # source://actionview//lib/action_view/helpers/cache_helper.rb#284 def write_fragment_for(name, options, &block); end end -# source://actionview/lib/action_view/helpers/cache_helper.rb#289 +# source://actionview//lib/action_view/helpers/cache_helper.rb#289 module ActionView::Helpers::CacheHelper::CachingRegistry extend ::ActionView::Helpers::CacheHelper::CachingRegistry # @return [Boolean] # - # source://actionview/lib/action_view/helpers/cache_helper.rb#292 + # source://actionview//lib/action_view/helpers/cache_helper.rb#292 def caching?; end - # source://actionview/lib/action_view/helpers/cache_helper.rb#296 + # source://actionview//lib/action_view/helpers/cache_helper.rb#296 def track_caching; end end -# source://actionview/lib/action_view/helpers/cache_helper.rb#7 +# source://actionview//lib/action_view/helpers/cache_helper.rb#7 class ActionView::Helpers::CacheHelper::UncacheableFragmentError < ::StandardError; end # = Action View Capture \Helpers @@ -3315,7 +2784,7 @@ class ActionView::Helpers::CacheHelper::UncacheableFragmentError < ::StandardErr # As well as provides a method when using streaming responses through #provide. # See ActionController::Streaming for more information. # -# source://actionview/lib/action_view/helpers/capture_helper.rb#17 +# source://actionview//lib/action_view/helpers/capture_helper.rb#17 module ActionView::Helpers::CaptureHelper # The capture method extracts part of a template as a string object. # You can then use this object anywhere in your templates, layout, or helpers. @@ -3346,7 +2815,7 @@ module ActionView::Helpers::CaptureHelper # # @greeting # => "Welcome to my shiny new web page! The date and time is 2018-09-06 11:09:16 -0500" # - # source://actionview/lib/action_view/helpers/capture_helper.rb#47 + # source://actionview//lib/action_view/helpers/capture_helper.rb#47 def capture(*args, &block); end # Calling content_for stores a block of markup in an identifier for later use. @@ -3454,7 +2923,7 @@ module ActionView::Helpers::CaptureHelper # # WARNING: content_for is ignored in caches. So you shouldn't use it for elements that will be fragment cached. # - # source://actionview/lib/action_view/helpers/capture_helper.rb#172 + # source://actionview//lib/action_view/helpers/capture_helper.rb#172 def content_for(name, content = T.unsafe(nil), options = T.unsafe(nil), &block); end # content_for? checks whether any content has been captured yet using content_for. @@ -3475,7 +2944,7 @@ module ActionView::Helpers::CaptureHelper # # @return [Boolean] # - # source://actionview/lib/action_view/helpers/capture_helper.rb#215 + # source://actionview//lib/action_view/helpers/capture_helper.rb#215 def content_for?(name); end # The same as +content_for+ but when used with streaming flushes @@ -3486,32 +2955,32 @@ module ActionView::Helpers::CaptureHelper # # See ActionController::Streaming for more information. # - # source://actionview/lib/action_view/helpers/capture_helper.rb#194 + # source://actionview//lib/action_view/helpers/capture_helper.rb#194 def provide(name, content = T.unsafe(nil), &block); end # Use an alternate output buffer for the duration of the block. # Defaults to a new empty string. # - # source://actionview/lib/action_view/helpers/capture_helper.rb#221 + # source://actionview//lib/action_view/helpers/capture_helper.rb#221 def with_output_buffer(buf = T.unsafe(nil)); end end -# source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#5 +# source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#5 module ActionView::Helpers::ContentExfiltrationPreventionHelper - # source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 + # source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 def prepend_content_exfiltration_prevention; end - # source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 + # source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 def prepend_content_exfiltration_prevention=(val); end - # source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#61 + # source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#61 def prevent_content_exfiltration(html); end class << self - # source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 + # source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 def prepend_content_exfiltration_prevention; end - # source://actionview/lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 + # source://actionview//lib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 def prepend_content_exfiltration_prevention=(val); end end end @@ -3529,7 +2998,7 @@ end # # - # source://actionview/lib/action_view/helpers/form_helper.rb#1275 + # source://actionview//lib/action_view/helpers/form_helper.rb#1275 def text_area(object_name, method, options = T.unsafe(nil)); end # Returns an input tag of the "text" type tailored for accessing a specified attribute (identified by +method+) on an object @@ -7112,7 +6588,7 @@ module ActionView::Helpers::FormHelper # text_field(:snippet, :code, size: 20, class: 'code_input') # # => # - # source://actionview/lib/action_view/helpers/form_helper.rb#1173 + # source://actionview//lib/action_view/helpers/form_helper.rb#1173 def text_field(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "time". @@ -7150,7 +6626,7 @@ module ActionView::Helpers::FormHelper # time_field("task", "started_at", value: Time.now, include_seconds: false) # # => # - # source://actionview/lib/action_view/helpers/form_helper.rb#1475 + # source://actionview//lib/action_view/helpers/form_helper.rb#1475 def time_field(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "url". @@ -7158,7 +6634,7 @@ module ActionView::Helpers::FormHelper # url_field("user", "homepage") # # => # - # source://actionview/lib/action_view/helpers/form_helper.rb#1555 + # source://actionview//lib/action_view/helpers/form_helper.rb#1555 def url_field(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "week". @@ -7174,40 +6650,40 @@ module ActionView::Helpers::FormHelper # week_field("user", "born_on") # # => # - # source://actionview/lib/action_view/helpers/form_helper.rb#1546 + # source://actionview//lib/action_view/helpers/form_helper.rb#1546 def week_field(object_name, method, options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/form_helper.rb#464 + # source://actionview//lib/action_view/helpers/form_helper.rb#464 def apply_form_for_options!(object, options); end - # source://actionview/lib/action_view/helpers/form_helper.rb#1620 + # source://actionview//lib/action_view/helpers/form_helper.rb#1620 def default_form_builder_class; end - # source://actionview/lib/action_view/helpers/form_helper.rb#1591 + # source://actionview//lib/action_view/helpers/form_helper.rb#1591 def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end - # source://actionview/lib/action_view/helpers/form_helper.rb#1606 + # source://actionview//lib/action_view/helpers/form_helper.rb#1606 def instantiate_builder(record_name, record_object, options); end class << self - # source://actionview/lib/action_view/helpers/form_helper.rb#480 + # source://actionview//lib/action_view/helpers/form_helper.rb#480 def form_with_generates_ids; end - # source://actionview/lib/action_view/helpers/form_helper.rb#480 + # source://actionview//lib/action_view/helpers/form_helper.rb#480 def form_with_generates_ids=(val); end - # source://actionview/lib/action_view/helpers/form_helper.rb#478 + # source://actionview//lib/action_view/helpers/form_helper.rb#478 def form_with_generates_remote_forms; end - # source://actionview/lib/action_view/helpers/form_helper.rb#478 + # source://actionview//lib/action_view/helpers/form_helper.rb#478 def form_with_generates_remote_forms=(val); end - # source://actionview/lib/action_view/helpers/form_helper.rb#482 + # source://actionview//lib/action_view/helpers/form_helper.rb#482 def multiple_file_field_include_hidden; end - # source://actionview/lib/action_view/helpers/form_helper.rb#482 + # source://actionview//lib/action_view/helpers/form_helper.rb#482 def multiple_file_field_include_hidden=(val); end end end @@ -7295,7 +6771,7 @@ end # # # -# source://actionview/lib/action_view/helpers/form_options_helper.rb#94 +# source://actionview//lib/action_view/helpers/form_options_helper.rb#94 module ActionView::Helpers::FormOptionsHelper include ::ActionView::Helpers::SanitizeHelper include ::ActionView::Helpers::CaptureHelper @@ -7385,7 +6861,7 @@ module ActionView::Helpers::FormOptionsHelper # In the rare case you don't want this hidden field, you can pass the # include_hidden: false option to the helper method. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#782 + # source://actionview//lib/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 # Returns radio button tags for the collection of existing return values @@ -7468,7 +6944,7 @@ module ActionView::Helpers::FormOptionsHelper # In case if you don't want the helper to generate this hidden field you can specify # include_hidden: false option. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#698 + # source://actionview//lib/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 # Returns # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#199 + # source://actionview//lib/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 # Returns # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#258 + # source://actionview//lib/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 # Returns a string of tags, like options_for_select, but @@ -7634,7 +7110,7 @@ module ActionView::Helpers::FormOptionsHelper # Note: Only the and tags are returned, so you still have to # wrap the output in an appropriate tag. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#462 + # source://actionview//lib/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 # Accepts a container (hash, array, enumerable, your type) and returns a string of option tags. Given a container @@ -7746,7 +7222,7 @@ module ActionView::Helpers::FormOptionsHelper # # NOTE: Only the option tags are returned, you have to wrap this call in a regular HTML select tag. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#358 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#358 def options_for_select(container, selected = T.unsafe(nil)); end # Returns a string of option tags that have been compiled by iterating over the +collection+ and assigning @@ -7774,7 +7250,7 @@ module ActionView::Helpers::FormOptionsHelper # options_from_collection_for_select(@people, 'id', 'name', 1) # should produce the desired results. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#401 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#401 def options_from_collection_for_select(collection, value_method, text_method, selected = T.unsafe(nil)); end # Create a select tag and a series of contained option tags for the provided object and method. @@ -7839,7 +7315,7 @@ module ActionView::Helpers::FormOptionsHelper # In case if you don't want the helper to generate this hidden field you can specify # include_hidden: false option. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#159 + # source://actionview//lib/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 # Returns a string of option tags for pretty much any time zone in the @@ -7862,7 +7338,7 @@ module ActionView::Helpers::FormOptionsHelper # NOTE: Only the option tags are returned, you have to wrap this call in # a regular HTML select tag. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#579 + # source://actionview//lib/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 # Returns select and option tags for the given object and method, using @@ -7896,7 +7372,7 @@ module ActionView::Helpers::FormOptionsHelper # # time_zone_select(:user, :time_zone, ActiveSupport::TimeZone.all.sort, model: ActiveSupport::TimeZone) # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#292 + # source://actionview//lib/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 # Returns a string of option tags for the days of the week. @@ -7911,38 +7387,38 @@ module ActionView::Helpers::FormOptionsHelper # NOTE: Only the option tags are returned, you have to wrap this call in # a regular HTML select tag. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#611 + # source://actionview//lib/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 # Returns select and option tags for the given object and method, using # weekday_options_for_select to generate the list of option tags. # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#298 + # source://actionview//lib/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/lib/action_view/helpers/form_options_helper.rb#809 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#809 def extract_selected_and_disabled(selected); end - # source://actionview/lib/action_view/helpers/form_options_helper.rb#820 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#820 def extract_values_from_collection(collection, value_method, selected); end - # source://actionview/lib/action_view/helpers/form_options_helper.rb#787 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#787 def option_html_attributes(element); end - # source://actionview/lib/action_view/helpers/form_options_helper.rb#795 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#795 def option_text_and_value(option); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/form_options_helper.rb#805 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#805 def option_value_selected?(value, selected); end - # source://actionview/lib/action_view/helpers/form_options_helper.rb#834 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#834 def prompt_text(prompt); end - # source://actionview/lib/action_view/helpers/form_options_helper.rb#830 + # source://actionview//lib/action_view/helpers/form_options_helper.rb#830 def value_for_collection(item, value); end end @@ -7954,7 +7430,7 @@ end # NOTE: The HTML options disabled, readonly, and multiple can all be treated as booleans. So specifying # disabled: true will give disabled="disabled". # -# source://actionview/lib/action_view/helpers/form_tag_helper.rb#19 +# source://actionview//lib/action_view/helpers/form_tag_helper.rb#19 module ActionView::Helpers::FormTagHelper include ::ActionView::Helpers::ContentExfiltrationPreventionHelper extend ::ActiveSupport::Concern @@ -8019,7 +7495,7 @@ module ActionView::Helpers::FormTagHelper # button_tag "Checkout", data: { disable_with: "Please wait..." } # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#605 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#605 def button_tag(content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end # :call-seq: @@ -8051,7 +7527,7 @@ module ActionView::Helpers::FormTagHelper # check_box_tag 'eula', 'accepted', false, disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#455 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#455 def check_box_tag(name, *args); end # Creates a text field of type "color". @@ -8074,7 +7550,7 @@ module ActionView::Helpers::FormTagHelper # color_field_tag 'color', '#DEF726', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#703 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#703 def color_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "date". @@ -8097,7 +7573,7 @@ module ActionView::Helpers::FormTagHelper # date_field_tag 'date', '01/01/2014', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#773 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#773 def date_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "datetime-local". @@ -8111,7 +7587,7 @@ module ActionView::Helpers::FormTagHelper # * :step - The acceptable value granularity. # * :include_seconds - Include seconds in the output timestamp format (true by default). # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#801 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#801 def datetime_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "datetime-local". @@ -8125,13 +7601,13 @@ module ActionView::Helpers::FormTagHelper # * :step - The acceptable value granularity. # * :include_seconds - Include seconds in the output timestamp format (true by default). # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#801 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#805 def datetime_local_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#29 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#29 def default_enforce_utf8; end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#29 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#29 def default_enforce_utf8=(val); end # Creates a text field of type "email". @@ -8154,13 +7630,13 @@ module ActionView::Helpers::FormTagHelper # email_field_tag 'email', 'email@example.com', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#875 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#875 def email_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#26 def embed_authenticity_token_in_remote_forms; end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#26 def embed_authenticity_token_in_remote_forms=(val); end # Generate an HTML id attribute value for the given name and @@ -8179,7 +7655,7 @@ module ActionView::Helpers::FormTagHelper # element, sharing a common id root (post_title, in this # case). # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#102 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#102 def field_id(object_name, method_name, *suffixes, index: T.unsafe(nil), namespace: T.unsafe(nil)); end # Generate an HTML name attribute value for the given name and @@ -8194,7 +7670,7 @@ module ActionView::Helpers::FormTagHelper # <%= text_field :post, :tag, name: field_name(:post, :tag, multiple: true) %> # <%# => %> # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#132 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#132 def field_name(object_name, method_name, *method_names, multiple: T.unsafe(nil), index: T.unsafe(nil)); end # Creates a field set for grouping HTML form elements. @@ -8218,7 +7694,7 @@ module ActionView::Helpers::FormTagHelper # <% end %> # # =>

# - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#677 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#677 def field_set_tag(legend = T.unsafe(nil), options = T.unsafe(nil), &block); end # Creates a file upload field. If you are using file uploads then you will also need @@ -8257,7 +7733,7 @@ module ActionView::Helpers::FormTagHelper # file_field_tag 'file', accept: 'text/html', class: 'upload', value: 'index.html' # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#347 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#347 def file_field_tag(name, options = T.unsafe(nil)); end # Starts a form tag that points the action to a URL configured with url_for_options just like @@ -8307,7 +7783,7 @@ module ActionView::Helpers::FormTagHelper # form_tag('http://far.away.com/form', authenticity_token: "cf50faa3fe97702ca1ae") # # form with custom authenticity token # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#78 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#78 def form_tag(url_for_options = T.unsafe(nil), options = T.unsafe(nil), &block); end # Creates a hidden form input field used to transmit data that would be lost due to HTTP's statelessness or @@ -8327,7 +7803,7 @@ module ActionView::Helpers::FormTagHelper # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#308 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#308 def hidden_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Displays an image which when clicked will submit the form. @@ -8361,7 +7837,7 @@ module ActionView::Helpers::FormTagHelper # image_submit_tag("save.png", data: { confirm: "Are you sure?" }) # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#651 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#651 def image_submit_tag(source, options = T.unsafe(nil)); end # Creates a label element. Accepts a block. @@ -8379,7 +7855,7 @@ module ActionView::Helpers::FormTagHelper # label_tag 'name', nil, class: 'small_label' # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#281 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#281 def label_tag(name = T.unsafe(nil), content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end # Creates a text field of type "month". @@ -8392,7 +7868,7 @@ module ActionView::Helpers::FormTagHelper # * :max - The maximum acceptable value. # * :step - The acceptable value granularity. # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#816 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#816 def month_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a number field. @@ -8440,7 +7916,7 @@ module ActionView::Helpers::FormTagHelper # number_field_tag 'quantity', '1', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#923 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#923 def number_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a password field, a masked text field that will hide the users input behind a mask character. @@ -8473,7 +7949,7 @@ module ActionView::Helpers::FormTagHelper # password_field_tag 'pin', '1234', maxlength: 4, size: 6, class: "pin_input" # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#380 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#380 def password_field_tag(name = T.unsafe(nil), value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "tel". @@ -8496,7 +7972,7 @@ module ActionView::Helpers::FormTagHelper # telephone_field_tag 'tel', '0123456789', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#749 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#752 def phone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # :call-seq: @@ -8524,7 +8000,7 @@ module ActionView::Helpers::FormTagHelper # radio_button_tag 'color', "green", true, class: "color_input" # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#491 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#491 def radio_button_tag(name, value, *args); end # Creates a range form element. @@ -8533,7 +8009,7 @@ module ActionView::Helpers::FormTagHelper # # Supports the same options as #number_field_tag. # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#937 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#937 def range_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "search". @@ -8556,7 +8032,7 @@ module ActionView::Helpers::FormTagHelper # search_field_tag 'search', 'Enter your search query here', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#726 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#726 def search_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a dropdown selection box, or if the :multiple option is set to true, a multiple @@ -8615,7 +8091,7 @@ module ActionView::Helpers::FormTagHelper # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#201 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#201 def select_tag(name, option_tags = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a submit button with the text value as the caption. @@ -8660,7 +8136,7 @@ module ActionView::Helpers::FormTagHelper # submit_tag "Save", data: { confirm: "Are you sure?" } # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#544 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#544 def submit_tag(value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "tel". @@ -8683,7 +8159,7 @@ module ActionView::Helpers::FormTagHelper # telephone_field_tag 'tel', '0123456789', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#749 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#749 def telephone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text input area; use a textarea for longer text inputs such as blog posts or descriptions. @@ -8716,7 +8192,7 @@ module ActionView::Helpers::FormTagHelper # text_area_tag 'comment', nil, class: 'comment_input' # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#413 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#413 def text_area_tag(name, content = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a standard text field; use these text fields to input smaller chunks of text like a username @@ -8756,7 +8232,7 @@ module ActionView::Helpers::FormTagHelper # text_field_tag 'ip', '0.0.0.0', maxlength: 15, size: 20, class: "ip-input" # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#263 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#263 def text_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "time". @@ -8770,7 +8246,7 @@ module ActionView::Helpers::FormTagHelper # * :step - The acceptable value granularity. # * :include_seconds - Include seconds and ms in the output timestamp format (true by default). # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#787 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#787 def time_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "url". @@ -8793,13 +8269,13 @@ module ActionView::Helpers::FormTagHelper # url_field_tag 'url', 'http://rubyonrails.org', class: 'special_input', disabled: true # # => # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#852 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#852 def url_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates the hidden UTF-8 enforcer tag. Override this method in a helper # to customize the tag. # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#943 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#943 def utf8_enforcer_tag; end # Creates a text field of type "week". @@ -8812,52 +8288,52 @@ module ActionView::Helpers::FormTagHelper # * :max - The maximum acceptable value. # * :step - The acceptable value granularity. # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#829 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#829 def week_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#1040 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1040 def convert_direct_upload_option_to_url(options); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#978 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#978 def extra_tags_for_form(html_options); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#1008 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1008 def form_tag_html(html_options); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#1014 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1014 def form_tag_with_body(html_options, content); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#951 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#951 def html_options_for_form(url_for_options, options); end # see http://www.w3.org/TR/html4/types.html#type-name # - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#1021 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1021 def sanitize_to_id(name); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#1025 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1025 def set_default_disable_with(value, tag_options); end class << self - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#29 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#29 def default_enforce_utf8; end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#29 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#29 def default_enforce_utf8=(val); end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#26 def embed_authenticity_token_in_remote_forms; end - # source://actionview/lib/action_view/helpers/form_tag_helper.rb#26 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#26 def embed_authenticity_token_in_remote_forms=(val); end end end # = Action View JavaScript \Helpers # -# source://actionview/lib/action_view/helpers/javascript_helper.rb#6 +# source://actionview//lib/action_view/helpers/javascript_helper.rb#6 module ActionView::Helpers::JavaScriptHelper # Escapes carriage returns and single and double quotes for JavaScript segments. # @@ -8866,7 +8342,7 @@ module ActionView::Helpers::JavaScriptHelper # # $('some_element').replaceWith('<%= j render 'some/element_template' %>'); # - # source://actionview/lib/action_view/helpers/javascript_helper.rb#28 + # source://actionview//lib/action_view/helpers/javascript_helper.rb#28 def escape_javascript(javascript); end # Escapes carriage returns and single and double quotes for JavaScript segments. @@ -8876,10 +8352,10 @@ module ActionView::Helpers::JavaScriptHelper # # $('some_element').replaceWith('<%= j render 'some/element_template' %>'); # - # source://actionview/lib/action_view/helpers/javascript_helper.rb#28 + # source://actionview//lib/action_view/helpers/javascript_helper.rb#38 def j(javascript); end - # source://actionview/lib/action_view/helpers/javascript_helper.rb#91 + # source://actionview//lib/action_view/helpers/javascript_helper.rb#91 def javascript_cdata_section(content); end # Returns a JavaScript tag with the +content+ inside. Example: @@ -8918,11 +8394,11 @@ module ActionView::Helpers::JavaScriptHelper # alert('All is good') # <% end -%> # - # source://actionview/lib/action_view/helpers/javascript_helper.rb#75 + # source://actionview//lib/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/lib/action_view/helpers/javascript_helper.rb#7 +# source://actionview//lib/action_view/helpers/javascript_helper.rb#7 ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash) # = Action View Number \Helpers @@ -8934,7 +8410,7 @@ ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash # Most methods expect a +number+ argument, and will return it # unchanged if can't be converted into a valid number. # -# source://actionview/lib/action_view/helpers/number_helper.rb#17 +# source://actionview//lib/action_view/helpers/number_helper.rb#17 module ActionView::Helpers::NumberHelper # Delegates to ActiveSupport::NumberHelper#number_to_currency. # @@ -8944,7 +8420,7 @@ module ActionView::Helpers::NumberHelper # number_to_currency("12x34") # => "$12x34" # number_to_currency("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#51 + # source://actionview//lib/action_view/helpers/number_helper.rb#51 def number_to_currency(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_human. @@ -8955,7 +8431,7 @@ module ActionView::Helpers::NumberHelper # number_to_human("12x34") # => "12x34" # number_to_human("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#111 + # source://actionview//lib/action_view/helpers/number_helper.rb#111 def number_to_human(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_human_size. @@ -8966,7 +8442,7 @@ module ActionView::Helpers::NumberHelper # number_to_human_size("12x34") # => "12x34" # number_to_human_size("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#99 + # source://actionview//lib/action_view/helpers/number_helper.rb#99 def number_to_human_size(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_percentage. @@ -8977,7 +8453,7 @@ module ActionView::Helpers::NumberHelper # number_to_percentage("99x") # => "99x%" # number_to_percentage("99x", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#63 + # source://actionview//lib/action_view/helpers/number_helper.rb#63 def number_to_percentage(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_phone. @@ -8988,7 +8464,7 @@ module ActionView::Helpers::NumberHelper # number_to_phone("12x34") # => "12x34" # number_to_phone("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#35 + # source://actionview//lib/action_view/helpers/number_helper.rb#35 def number_to_phone(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_delimited. @@ -8999,7 +8475,7 @@ module ActionView::Helpers::NumberHelper # number_with_delimiter("12x34") # => "12x34" # number_with_delimiter("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#75 + # source://actionview//lib/action_view/helpers/number_helper.rb#75 def number_with_delimiter(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_rounded. @@ -9010,62 +8486,62 @@ module ActionView::Helpers::NumberHelper # number_with_precision("12x34") # => "12x34" # number_with_precision("12x34", raise: true) # => InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#87 + # source://actionview//lib/action_view/helpers/number_helper.rb#87 def number_with_precision(number, options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/number_helper.rb#116 + # source://actionview//lib/action_view/helpers/number_helper.rb#116 def delegate_number_helper_method(method, number, options); end - # source://actionview/lib/action_view/helpers/number_helper.rb#135 + # source://actionview//lib/action_view/helpers/number_helper.rb#135 def escape_units(units); end - # source://actionview/lib/action_view/helpers/number_helper.rb#125 + # source://actionview//lib/action_view/helpers/number_helper.rb#125 def escape_unsafe_options(options); end # @raise [InvalidNumberError] # - # source://actionview/lib/action_view/helpers/number_helper.rb#158 + # source://actionview//lib/action_view/helpers/number_helper.rb#158 def parse_float(number, raise_error); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/number_helper.rb#154 + # source://actionview//lib/action_view/helpers/number_helper.rb#154 def valid_float?(number); end # @raise [InvalidNumberError] # - # source://actionview/lib/action_view/helpers/number_helper.rb#141 + # source://actionview//lib/action_view/helpers/number_helper.rb#141 def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end end # Raised when argument +number+ param given to the helpers is invalid and # the option +:raise+ is set to +true+. # -# source://actionview/lib/action_view/helpers/number_helper.rb#20 +# source://actionview//lib/action_view/helpers/number_helper.rb#20 class ActionView::Helpers::NumberHelper::InvalidNumberError < ::StandardError # @return [InvalidNumberError] a new instance of InvalidNumberError # - # source://actionview/lib/action_view/helpers/number_helper.rb#22 + # source://actionview//lib/action_view/helpers/number_helper.rb#22 def initialize(number); end # Returns the value of attribute number. # - # source://actionview/lib/action_view/helpers/number_helper.rb#21 + # source://actionview//lib/action_view/helpers/number_helper.rb#21 def number; end # Sets the attribute number # # @param value the value to set the attribute number to. # - # source://actionview/lib/action_view/helpers/number_helper.rb#21 + # source://actionview//lib/action_view/helpers/number_helper.rb#21 def number=(_arg0); end end # = Action View Raw Output \Helpers # -# source://actionview/lib/action_view/helpers/output_safety_helper.rb#8 +# source://actionview//lib/action_view/helpers/output_safety_helper.rb#8 module ActionView::Helpers::OutputSafetyHelper # This method outputs without escaping a string. Since escaping tags is # now default, this can be used when you don't want \Rails to automatically @@ -9077,7 +8553,7 @@ module ActionView::Helpers::OutputSafetyHelper # raw @user.name # # => 'Jimmy Tables' # - # source://actionview/lib/action_view/helpers/output_safety_helper.rb#18 + # source://actionview//lib/action_view/helpers/output_safety_helper.rb#18 def raw(stringish); end # This method returns an HTML safe string similar to what Array#join @@ -9091,14 +8567,14 @@ module ActionView::Helpers::OutputSafetyHelper # safe_join([raw("

foo

"), raw("

bar

")], raw("
")) # # => "

foo


bar

" # - # source://actionview/lib/action_view/helpers/output_safety_helper.rb#33 + # source://actionview//lib/action_view/helpers/output_safety_helper.rb#33 def safe_join(array, sep = T.unsafe(nil)); end # Converts the array to a comma-separated sentence where the last element is # joined by the connector word. This is the html_safe-aware version of # ActiveSupport's {Array#to_sentence}[https://api.rubyonrails.org/classes/Array.html#method-i-to_sentence]. # - # source://actionview/lib/action_view/helpers/output_safety_helper.rb#43 + # source://actionview//lib/action_view/helpers/output_safety_helper.rb#43 def to_sentence(array, options = T.unsafe(nil)); end end @@ -9108,7 +8584,7 @@ end # In order to use this module, all you need is to implement # view_renderer that returns an ActionView::Renderer object. # -# source://actionview/lib/action_view/helpers/rendering_helper.rb#10 +# source://actionview//lib/action_view/helpers/rendering_helper.rb#10 module ActionView::Helpers::RenderingHelper # Overrides _layout_for in the context object so it supports the case a block is # passed to a partial. Returns the contents that are yielded to a layout, given a @@ -9158,7 +8634,7 @@ module ActionView::Helpers::RenderingHelper # Hello David # # - # source://actionview/lib/action_view/helpers/rendering_helper.rb#97 + # source://actionview//lib/action_view/helpers/rendering_helper.rb#97 def _layout_for(*args, &block); end # Returns the result of a render that's dictated by the options hash. The primary options are: @@ -9181,7 +8657,7 @@ module ActionView::Helpers::RenderingHelper # # Otherwise, a partial is rendered using the second parameter as the locals hash. # - # source://actionview/lib/action_view/helpers/rendering_helper.rb#30 + # source://actionview//lib/action_view/helpers/rendering_helper.rb#30 def render(options = T.unsafe(nil), locals = T.unsafe(nil), &block); end end @@ -9190,7 +8666,7 @@ end # The SanitizeHelper module provides a set of methods for scrubbing text of undesired HTML elements. # These helper methods extend Action View making them callable within your template files. # -# source://actionview/lib/action_view/helpers/sanitize_helper.rb#11 +# source://actionview//lib/action_view/helpers/sanitize_helper.rb#11 module ActionView::Helpers::SanitizeHelper extend ::ActiveSupport::Concern @@ -9292,18 +8768,18 @@ module ActionView::Helpers::SanitizeHelper # NOTE: +Rails::HTML5::Sanitizer+ is not supported on JRuby, so on JRuby platforms \Rails will # fall back to using +Rails::HTML4::Sanitizer+. # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#111 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#111 def sanitize(html, options = T.unsafe(nil)); end # Sanitizes a block of CSS code. Used by #sanitize when it comes across a style attribute. # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#116 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#116 def sanitize_css(style); end - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#12 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 def sanitizer_vendor; end - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#12 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 def sanitizer_vendor=(val); end # Strips all link tags from +html+ leaving just the link text. @@ -9320,7 +8796,7 @@ module ActionView::Helpers::SanitizeHelper # strip_links('<malformed & link') # # => <malformed & link # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#150 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#150 def strip_links(html); end # Strips all HTML tags from +html+, including comments and special characters. @@ -9337,19 +8813,19 @@ module ActionView::Helpers::SanitizeHelper # strip_tags("> A quote from Smith & Wesson") # # => > A quote from Smith & Wesson # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#133 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#133 def strip_tags(html); end class << self - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#12 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 def sanitizer_vendor; end - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#12 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 def sanitizer_vendor=(val); end end end -# source://actionview/lib/action_view/helpers/sanitize_helper.rb#154 +# source://actionview//lib/action_view/helpers/sanitize_helper.rb#154 module ActionView::Helpers::SanitizeHelper::ClassMethods # Gets the Rails::HTML::FullSanitizer instance used by +strip_tags+. Replace with # any object that responds to +sanitize+. @@ -9358,14 +8834,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.full_sanitizer = MySpecialSanitizer.new # end # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#175 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#175 def full_sanitizer; end # Sets the attribute full_sanitizer # # @param value the value to set the attribute full_sanitizer to. # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#155 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155 def full_sanitizer=(_arg0); end # Gets the Rails::HTML::LinkSanitizer instance used by +strip_links+. @@ -9375,14 +8851,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.link_sanitizer = MySpecialSanitizer.new # end # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#185 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#185 def link_sanitizer; end # Sets the attribute link_sanitizer # # @param value the value to set the attribute link_sanitizer to. # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#155 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155 def link_sanitizer=(_arg0); end # Gets the Rails::HTML::SafeListSanitizer instance used by sanitize and +sanitize_css+. @@ -9392,77 +8868,24 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.safe_list_sanitizer = MySpecialSanitizer.new # end # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#195 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#195 def safe_list_sanitizer; end # Sets the attribute safe_list_sanitizer # # @param value the value to set the attribute safe_list_sanitizer to. # - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#155 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155 def safe_list_sanitizer=(_arg0); end - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#165 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#165 def sanitized_allowed_attributes; end - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#34 - def sanitized_allowed_attributes=(attributes); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_keywords; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_keywords=(_); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_properties; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_protocols; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_protocols=(_); end - - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#161 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#161 def sanitized_allowed_tags; end - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#24 - def sanitized_allowed_tags=(tags); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_bad_tags; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_bad_tags=(_); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_protocol_separator; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_protocol_separator=(_); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_shorthand_css_properties; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_shorthand_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#47 - def sanitized_uri_attributes; end - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#48 - def sanitized_uri_attributes=(_); end - - # source://actionview/lib/action_view/helpers/sanitize_helper.rb#157 + # source://actionview//lib/action_view/helpers/sanitize_helper.rb#157 def sanitizer_vendor; end - - private - - # source://rails-html-sanitizer/1.6.1lib/rails-html-sanitizer.rb#52 - def deprecate_option(name); end end # = Action View Tag \Helpers @@ -9470,7 +8893,7 @@ end # Provides methods to generate HTML tags programmatically both as a modern # HTML5 compliant builder style and legacy XHTML compliant tags. # -# source://actionview/lib/action_view/helpers/tag_helper.rb#15 +# source://actionview//lib/action_view/helpers/tag_helper.rb#15 module ActionView::Helpers::TagHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -9489,7 +8912,7 @@ module ActionView::Helpers::TagHelper # cdata_section("hello]]>world") # # => world]]> # - # source://actionview/lib/action_view/helpers/tag_helper.rb#386 + # source://actionview//lib/action_view/helpers/tag_helper.rb#386 def cdata_section(content); end # Returns a string of tokens built from +args+. @@ -9504,7 +8927,7 @@ module ActionView::Helpers::TagHelper # token_list(nil, false, 123, "", "foo", { bar: true }) # # => "123 foo bar" # - # source://actionview/lib/action_view/helpers/tag_helper.rb#366 + # source://actionview//lib/action_view/helpers/tag_helper.rb#371 def class_names(*args); end # Returns an HTML block tag of type +name+ surrounding the +content+. Add @@ -9536,7 +8959,7 @@ module ActionView::Helpers::TagHelper # <% end -%> # # =>
Hello world!
# - # source://actionview/lib/action_view/helpers/tag_helper.rb#346 + # source://actionview//lib/action_view/helpers/tag_helper.rb#346 def content_tag(name, content_or_options_with_block = T.unsafe(nil), options = T.unsafe(nil), escape = T.unsafe(nil), &block); end # Returns an escaped version of +html+ without affecting existing escaped entities. @@ -9547,7 +8970,7 @@ module ActionView::Helpers::TagHelper # escape_once("<< Accept & Checkout") # # => "<< Accept & Checkout" # - # source://actionview/lib/action_view/helpers/tag_helper.rb#398 + # source://actionview//lib/action_view/helpers/tag_helper.rb#398 def escape_once(html); end # Returns an HTML tag. @@ -9689,7 +9112,7 @@ module ActionView::Helpers::TagHelper # tag("div", class: { highlight: current_user.admin? }) # # =>
# - # source://actionview/lib/action_view/helpers/tag_helper.rb#309 + # source://actionview//lib/action_view/helpers/tag_helper.rb#309 def tag(name = T.unsafe(nil), options = T.unsafe(nil), open = T.unsafe(nil), escape = T.unsafe(nil)); end # Returns a string of tokens built from +args+. @@ -9704,46 +9127,46 @@ module ActionView::Helpers::TagHelper # token_list(nil, false, 123, "", "foo", { bar: true }) # # => "123 foo bar" # - # source://actionview/lib/action_view/helpers/tag_helper.rb#366 + # source://actionview//lib/action_view/helpers/tag_helper.rb#366 def token_list(*args); end private - # source://actionview/lib/action_view/helpers/tag_helper.rb#403 + # source://actionview//lib/action_view/helpers/tag_helper.rb#403 def build_tag_values(*args); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#423 + # source://actionview//lib/action_view/helpers/tag_helper.rb#423 def tag_builder; end class << self - # source://actionview/lib/action_view/helpers/tag_helper.rb#403 + # source://actionview//lib/action_view/helpers/tag_helper.rb#421 def build_tag_values(*args); end end end -# source://actionview/lib/action_view/helpers/tag_helper.rb#32 +# source://actionview//lib/action_view/helpers/tag_helper.rb#32 ActionView::Helpers::TagHelper::ARIA_PREFIXES = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/tag_helper.rb#19 +# source://actionview//lib/action_view/helpers/tag_helper.rb#19 ActionView::Helpers::TagHelper::BOOLEAN_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/tag_helper.rb#33 +# source://actionview//lib/action_view/helpers/tag_helper.rb#33 ActionView::Helpers::TagHelper::DATA_PREFIXES = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/tag_helper.rb#41 +# source://actionview//lib/action_view/helpers/tag_helper.rb#41 ActionView::Helpers::TagHelper::PRE_CONTENT_STRINGS = T.let(T.unsafe(nil), Hash) -# source://actionview/lib/action_view/helpers/tag_helper.rb#35 +# source://actionview//lib/action_view/helpers/tag_helper.rb#35 ActionView::Helpers::TagHelper::TAG_TYPES = T.let(T.unsafe(nil), Hash) -# source://actionview/lib/action_view/helpers/tag_helper.rb#45 +# source://actionview//lib/action_view/helpers/tag_helper.rb#45 class ActionView::Helpers::TagHelper::TagBuilder include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper # @return [TagBuilder] a new instance of TagBuilder # - # source://actionview/lib/action_view/helpers/tag_helper.rb#52 + # source://actionview//lib/action_view/helpers/tag_helper.rb#52 def initialize(view_context); end # Transforms a Hash into HTML Attributes, ready to be interpolated into @@ -9752,53 +9175,53 @@ class ActionView::Helpers::TagHelper::TagBuilder # > # # => # - # source://actionview/lib/action_view/helpers/tag_helper.rb#61 + # source://actionview//lib/action_view/helpers/tag_helper.rb#61 def attributes(attributes); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#132 + # source://actionview//lib/action_view/helpers/tag_helper.rb#132 def boolean_tag_option(key); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#79 + # source://actionview//lib/action_view/helpers/tag_helper.rb#79 def content_tag_string(name, content, options, escape = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#65 + # source://actionview//lib/action_view/helpers/tag_helper.rb#65 def p(*arguments, **options, &block); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#136 + # source://actionview//lib/action_view/helpers/tag_helper.rb#136 def tag_option(key, value, escape); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#90 + # source://actionview//lib/action_view/helpers/tag_helper.rb#90 def tag_options(options, escape = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#69 + # source://actionview//lib/action_view/helpers/tag_helper.rb#69 def tag_string(name, content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end private - # source://actionview/lib/action_view/helpers/tag_helper.rb#166 + # source://actionview//lib/action_view/helpers/tag_helper.rb#166 def method_missing(called, *args, **options, &block); end - # source://actionview/lib/action_view/helpers/tag_helper.rb#154 + # source://actionview//lib/action_view/helpers/tag_helper.rb#154 def prefix_tag_option(prefix, key, value, escape); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tag_helper.rb#162 + # source://actionview//lib/action_view/helpers/tag_helper.rb#162 def respond_to_missing?(*args); end end -# source://actionview/lib/action_view/helpers/tag_helper.rb#49 +# source://actionview//lib/action_view/helpers/tag_helper.rb#49 ActionView::Helpers::TagHelper::TagBuilder::HTML_VOID_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/tag_helper.rb#50 +# source://actionview//lib/action_view/helpers/tag_helper.rb#50 ActionView::Helpers::TagHelper::TagBuilder::SVG_SELF_CLOSING_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://actionview/lib/action_view/helpers/tags.rb#5 +# source://actionview//lib/action_view/helpers/tags.rb#5 module ActionView::Helpers::Tags extend ::ActiveSupport::Autoload end -# source://actionview/lib/action_view/helpers/tags/base.rb#6 +# source://actionview//lib/action_view/helpers/tags/base.rb#6 class ActionView::Helpers::Tags::Base include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -9814,124 +9237,124 @@ class ActionView::Helpers::Tags::Base # @return [Base] a new instance of Base # - # source://actionview/lib/action_view/helpers/tags/base.rb#11 + # source://actionview//lib/action_view/helpers/tags/base.rb#11 def initialize(object_name, method_name, template_object, options = T.unsafe(nil)); end # Returns the value of attribute object. # - # source://actionview/lib/action_view/helpers/tags/base.rb#9 + # source://actionview//lib/action_view/helpers/tags/base.rb#9 def object; end # This is what child classes implement. # # @raise [NotImplementedError] # - # source://actionview/lib/action_view/helpers/tags/base.rb#31 + # source://actionview//lib/action_view/helpers/tags/base.rb#31 def render; end private - # source://actionview/lib/action_view/helpers/tags/base.rb#96 + # source://actionview//lib/action_view/helpers/tags/base.rb#96 def add_default_name_and_id(options); end - # source://actionview/lib/action_view/helpers/tags/base.rb#83 + # source://actionview//lib/action_view/helpers/tags/base.rb#83 def add_default_name_and_id_for_value(tag_value, options); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/base.rb#132 + # source://actionview//lib/action_view/helpers/tags/base.rb#132 def generate_ids?; end - # source://actionview/lib/action_view/helpers/tags/base.rb#124 + # source://actionview//lib/action_view/helpers/tags/base.rb#124 def name_and_id_index(options); end - # source://actionview/lib/action_view/helpers/tags/base.rb#74 + # source://actionview//lib/action_view/helpers/tags/base.rb#74 def retrieve_autoindex(pre_match); end - # source://actionview/lib/action_view/helpers/tags/base.rb#63 + # source://actionview//lib/action_view/helpers/tags/base.rb#63 def retrieve_object(object); end - # source://actionview/lib/action_view/helpers/tags/base.rb#116 + # source://actionview//lib/action_view/helpers/tags/base.rb#116 def sanitized_method_name; end - # source://actionview/lib/action_view/helpers/tags/base.rb#120 + # source://actionview//lib/action_view/helpers/tags/base.rb#120 def sanitized_value(value); end - # source://actionview/lib/action_view/helpers/tags/base.rb#112 + # source://actionview//lib/action_view/helpers/tags/base.rb#112 def tag_id(index = T.unsafe(nil), namespace = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/tags/base.rb#108 + # source://actionview//lib/action_view/helpers/tags/base.rb#108 def tag_name(multiple = T.unsafe(nil), index = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/tags/base.rb#36 + # source://actionview//lib/action_view/helpers/tags/base.rb#36 def value; end - # source://actionview/lib/action_view/helpers/tags/base.rb#46 + # source://actionview//lib/action_view/helpers/tags/base.rb#46 def value_before_type_cast; end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/base.rb#58 + # source://actionview//lib/action_view/helpers/tags/base.rb#58 def value_came_from_user?; end end -# source://actionview/lib/action_view/helpers/tags/check_box.rb#8 +# source://actionview//lib/action_view/helpers/tags/check_box.rb#8 class ActionView::Helpers::Tags::CheckBox < ::ActionView::Helpers::Tags::Base include ::ActionView::Helpers::Tags::Checkable # @return [CheckBox] a new instance of CheckBox # - # source://actionview/lib/action_view/helpers/tags/check_box.rb#11 + # source://actionview//lib/action_view/helpers/tags/check_box.rb#11 def initialize(object_name, method_name, template_object, checked_value, unchecked_value, options); end - # source://actionview/lib/action_view/helpers/tags/check_box.rb#17 + # source://actionview//lib/action_view/helpers/tags/check_box.rb#17 def render; end private # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/check_box.rb#42 + # source://actionview//lib/action_view/helpers/tags/check_box.rb#42 def checked?(value); end - # source://actionview/lib/action_view/helpers/tags/check_box.rb#59 + # source://actionview//lib/action_view/helpers/tags/check_box.rb#59 def hidden_field_for_checkbox(options); end end -# source://actionview/lib/action_view/helpers/tags/checkable.rb#6 +# source://actionview//lib/action_view/helpers/tags/checkable.rb#6 module ActionView::Helpers::Tags::Checkable # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/checkable.rb#7 + # source://actionview//lib/action_view/helpers/tags/checkable.rb#7 def input_checked?(options); end end -# source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#8 +# source://actionview//lib/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 - # source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#21 + # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#21 def render(&block); end private - # source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#30 + # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#30 def hidden_field_name; end - # source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#26 + # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#26 def render_component(builder); end end -# source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#12 +# source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#12 class ActionView::Helpers::Tags::CollectionCheckBoxes::CheckBoxBuilder < ::ActionView::Helpers::Tags::CollectionHelpers::Builder - # source://actionview/lib/action_view/helpers/tags/collection_check_boxes.rb#13 + # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#13 def check_box(extra_html_options = T.unsafe(nil)); end end -# source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#6 +# source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#6 module ActionView::Helpers::Tags::CollectionHelpers - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#30 + # source://actionview//lib/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 @@ -9939,311 +9362,311 @@ module ActionView::Helpers::Tags::CollectionHelpers # Generate default options for collection helpers, such as :checked and # :disabled. # - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#47 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#47 def default_html_options_for_collection(item, value); end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#107 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#107 def hidden_field; end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#112 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#112 def hidden_field_name; end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#40 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#40 def instantiate_builder(builder_class, item, value, text, html_options); end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#75 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#75 def render_collection; end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#86 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#86 def render_collection_for(builder_class, &block); end - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#71 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#71 def sanitize_attribute_name(value); end end -# source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#7 +# source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#7 class ActionView::Helpers::Tags::CollectionHelpers::Builder # @return [Builder] a new instance of Builder # - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#10 + # source://actionview//lib/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/lib/action_view/helpers/tags/collection_helpers.rb#22 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#22 def label(label_html_options = T.unsafe(nil), &block); end # Returns the value of attribute object. # - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#8 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#8 def object; end # Returns the value of attribute text. # - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#8 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#8 def text; end # Returns the value of attribute value. # - # source://actionview/lib/action_view/helpers/tags/collection_helpers.rb#8 + # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#8 def value; end end -# source://actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb#8 +# source://actionview//lib/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 - # source://actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb#20 + # source://actionview//lib/action_view/helpers/tags/collection_radio_buttons.rb#20 def render(&block); end private - # source://actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb#25 + # source://actionview//lib/action_view/helpers/tags/collection_radio_buttons.rb#25 def render_component(builder); end end -# source://actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb#12 +# source://actionview//lib/action_view/helpers/tags/collection_radio_buttons.rb#12 class ActionView::Helpers::Tags::CollectionRadioButtons::RadioButtonBuilder < ::ActionView::Helpers::Tags::CollectionHelpers::Builder - # source://actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb#13 + # source://actionview//lib/action_view/helpers/tags/collection_radio_buttons.rb#13 def radio_button(extra_html_options = T.unsafe(nil)); end end -# source://actionview/lib/action_view/helpers/tags/collection_select.rb#6 +# source://actionview//lib/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 # @return [CollectionSelect] a new instance of CollectionSelect # - # source://actionview/lib/action_view/helpers/tags/collection_select.rb#10 + # source://actionview//lib/action_view/helpers/tags/collection_select.rb#10 def initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/collection_select.rb#19 + # source://actionview//lib/action_view/helpers/tags/collection_select.rb#19 def render; end end -# source://actionview/lib/action_view/helpers/tags/color_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/color_field.rb#6 class ActionView::Helpers::Tags::ColorField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/color_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/color_field.rb#7 def render; end private - # source://actionview/lib/action_view/helpers/tags/color_field.rb#15 + # source://actionview//lib/action_view/helpers/tags/color_field.rb#15 def validate_color_string(string); end end -# source://actionview/lib/action_view/helpers/tags/date_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/date_field.rb#6 class ActionView::Helpers::Tags::DateField < ::ActionView::Helpers::Tags::DatetimeField private - # source://actionview/lib/action_view/helpers/tags/date_field.rb#8 + # source://actionview//lib/action_view/helpers/tags/date_field.rb#8 def format_datetime(value); end end -# source://actionview/lib/action_view/helpers/tags/date_select.rb#8 +# source://actionview//lib/action_view/helpers/tags/date_select.rb#8 class ActionView::Helpers::Tags::DateSelect < ::ActionView::Helpers::Tags::Base include ::ActionView::Helpers::Tags::SelectRenderer # @return [DateSelect] a new instance of DateSelect # - # source://actionview/lib/action_view/helpers/tags/date_select.rb#11 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#11 def initialize(object_name, method_name, template_object, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/date_select.rb#17 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#17 def render; end private - # source://actionview/lib/action_view/helpers/tags/date_select.rb#32 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#32 def datetime_selector(options, html_options); end - # source://actionview/lib/action_view/helpers/tags/date_select.rb#45 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#45 def default_datetime(options); end - # source://actionview/lib/action_view/helpers/tags/date_select.rb#28 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#28 def select_type; end class << self - # source://actionview/lib/action_view/helpers/tags/date_select.rb#22 + # source://actionview//lib/action_view/helpers/tags/date_select.rb#22 def select_type; end end end -# source://actionview/lib/action_view/helpers/tags/datetime_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/datetime_field.rb#6 class ActionView::Helpers::Tags::DatetimeField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/datetime_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/datetime_field.rb#7 def render; end private - # source://actionview/lib/action_view/helpers/tags/datetime_field.rb#17 + # source://actionview//lib/action_view/helpers/tags/datetime_field.rb#17 def datetime_value(value); end # @raise [NotImplementedError] # - # source://actionview/lib/action_view/helpers/tags/datetime_field.rb#25 + # source://actionview//lib/action_view/helpers/tags/datetime_field.rb#25 def format_datetime(value); end - # source://actionview/lib/action_view/helpers/tags/datetime_field.rb#29 + # source://actionview//lib/action_view/helpers/tags/datetime_field.rb#29 def parse_datetime(value); end end -# source://actionview/lib/action_view/helpers/tags/datetime_local_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/datetime_local_field.rb#6 class ActionView::Helpers::Tags::DatetimeLocalField < ::ActionView::Helpers::Tags::DatetimeField # @return [DatetimeLocalField] a new instance of DatetimeLocalField # - # source://actionview/lib/action_view/helpers/tags/datetime_local_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/datetime_local_field.rb#7 def initialize(object_name, method_name, template_object, options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/tags/datetime_local_field.rb#19 + # source://actionview//lib/action_view/helpers/tags/datetime_local_field.rb#19 def format_datetime(value); end class << self - # source://actionview/lib/action_view/helpers/tags/datetime_local_field.rb#13 + # source://actionview//lib/action_view/helpers/tags/datetime_local_field.rb#13 def field_type; end end end -# source://actionview/lib/action_view/helpers/tags/datetime_select.rb#6 +# source://actionview//lib/action_view/helpers/tags/datetime_select.rb#6 class ActionView::Helpers::Tags::DatetimeSelect < ::ActionView::Helpers::Tags::DateSelect; end -# source://actionview/lib/action_view/helpers/tags/email_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/email_field.rb#6 class ActionView::Helpers::Tags::EmailField < ::ActionView::Helpers::Tags::TextField; end -# source://actionview/lib/action_view/helpers/tags/file_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/file_field.rb#6 class ActionView::Helpers::Tags::FileField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/file_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/file_field.rb#7 def render; end private - # source://actionview/lib/action_view/helpers/tags/file_field.rb#20 + # source://actionview//lib/action_view/helpers/tags/file_field.rb#20 def hidden_field_for_multiple_file(options); end end -# source://actionview/lib/action_view/helpers/tags/grouped_collection_select.rb#6 +# source://actionview//lib/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 # @return [GroupedCollectionSelect] a new instance of GroupedCollectionSelect # - # source://actionview/lib/action_view/helpers/tags/grouped_collection_select.rb#10 + # source://actionview//lib/action_view/helpers/tags/grouped_collection_select.rb#10 def initialize(object_name, method_name, template_object, collection, group_method, group_label_method, option_key_method, option_value_method, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/grouped_collection_select.rb#21 + # source://actionview//lib/action_view/helpers/tags/grouped_collection_select.rb#21 def render; end end -# source://actionview/lib/action_view/helpers/tags/hidden_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/hidden_field.rb#6 class ActionView::Helpers::Tags::HiddenField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/hidden_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/hidden_field.rb#7 def render; end end -# source://actionview/lib/action_view/helpers/tags/label.rb#6 +# source://actionview//lib/action_view/helpers/tags/label.rb#6 class ActionView::Helpers::Tags::Label < ::ActionView::Helpers::Tags::Base # @return [Label] a new instance of Label # - # source://actionview/lib/action_view/helpers/tags/label.rb#34 + # source://actionview//lib/action_view/helpers/tags/label.rb#34 def initialize(object_name, method_name, template_object, content_or_options = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/tags/label.rb#48 + # source://actionview//lib/action_view/helpers/tags/label.rb#48 def render(&block); end private - # source://actionview/lib/action_view/helpers/tags/label.rb#78 + # source://actionview//lib/action_view/helpers/tags/label.rb#78 def render_component(builder); end end -# source://actionview/lib/action_view/helpers/tags/label.rb#7 +# source://actionview//lib/action_view/helpers/tags/label.rb#7 class ActionView::Helpers::Tags::Label::LabelBuilder # @return [LabelBuilder] a new instance of LabelBuilder # - # source://actionview/lib/action_view/helpers/tags/label.rb#10 + # source://actionview//lib/action_view/helpers/tags/label.rb#10 def initialize(template_object, object_name, method_name, object, tag_value); end # Returns the value of attribute object. # - # source://actionview/lib/action_view/helpers/tags/label.rb#8 + # source://actionview//lib/action_view/helpers/tags/label.rb#8 def object; end - # source://actionview/lib/action_view/helpers/tags/label.rb#29 + # source://actionview//lib/action_view/helpers/tags/label.rb#29 def to_s; end - # source://actionview/lib/action_view/helpers/tags/label.rb#18 + # source://actionview//lib/action_view/helpers/tags/label.rb#18 def translation; end end -# source://actionview/lib/action_view/helpers/tags/month_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/month_field.rb#6 class ActionView::Helpers::Tags::MonthField < ::ActionView::Helpers::Tags::DatetimeField private - # source://actionview/lib/action_view/helpers/tags/month_field.rb#8 + # source://actionview//lib/action_view/helpers/tags/month_field.rb#8 def format_datetime(value); end end -# source://actionview/lib/action_view/helpers/tags/number_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/number_field.rb#6 class ActionView::Helpers::Tags::NumberField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/number_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/number_field.rb#7 def render; end end -# source://actionview/lib/action_view/helpers/tags/password_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/password_field.rb#6 class ActionView::Helpers::Tags::PasswordField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/password_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/password_field.rb#7 def render; end end -# source://actionview/lib/action_view/helpers/tags/placeholderable.rb#6 +# source://actionview//lib/action_view/helpers/tags/placeholderable.rb#6 module ActionView::Helpers::Tags::Placeholderable - # source://actionview/lib/action_view/helpers/tags/placeholderable.rb#7 + # source://actionview//lib/action_view/helpers/tags/placeholderable.rb#7 def initialize(*_arg0); end end -# source://actionview/lib/action_view/helpers/tags/radio_button.rb#8 +# source://actionview//lib/action_view/helpers/tags/radio_button.rb#8 class ActionView::Helpers::Tags::RadioButton < ::ActionView::Helpers::Tags::Base include ::ActionView::Helpers::Tags::Checkable # @return [RadioButton] a new instance of RadioButton # - # source://actionview/lib/action_view/helpers/tags/radio_button.rb#11 + # source://actionview//lib/action_view/helpers/tags/radio_button.rb#11 def initialize(object_name, method_name, template_object, tag_value, options); end - # source://actionview/lib/action_view/helpers/tags/radio_button.rb#16 + # source://actionview//lib/action_view/helpers/tags/radio_button.rb#16 def render; end private # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/radio_button.rb#26 + # source://actionview//lib/action_view/helpers/tags/radio_button.rb#26 def checked?(value); end end -# source://actionview/lib/action_view/helpers/tags/range_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/range_field.rb#6 class ActionView::Helpers::Tags::RangeField < ::ActionView::Helpers::Tags::NumberField; end -# source://actionview/lib/action_view/helpers/tags/search_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/search_field.rb#6 class ActionView::Helpers::Tags::SearchField < ::ActionView::Helpers::Tags::TextField - # source://actionview/lib/action_view/helpers/tags/search_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/search_field.rb#7 def render; end end -# source://actionview/lib/action_view/helpers/tags/select.rb#6 +# source://actionview//lib/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 # @return [Select] a new instance of Select # - # source://actionview/lib/action_view/helpers/tags/select.rb#10 + # source://actionview//lib/action_view/helpers/tags/select.rb#10 def initialize(object_name, method_name, template_object, choices, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/select.rb#19 + # source://actionview//lib/action_view/helpers/tags/select.rb#19 def render; end private @@ -10255,146 +9678,146 @@ class ActionView::Helpers::Tags::Select < ::ActionView::Helpers::Tags::Base # # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/select.rb#39 + # source://actionview//lib/action_view/helpers/tags/select.rb#39 def grouped_choices?; end end -# source://actionview/lib/action_view/helpers/tags/select_renderer.rb#6 +# source://actionview//lib/action_view/helpers/tags/select_renderer.rb#6 module ActionView::Helpers::Tags::SelectRenderer private - # source://actionview/lib/action_view/helpers/tags/select_renderer.rb#36 + # source://actionview//lib/action_view/helpers/tags/select_renderer.rb#36 def add_options(option_tags, options, value = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/tags/select_renderer.rb#31 + # source://actionview//lib/action_view/helpers/tags/select_renderer.rb#31 def placeholder_required?(html_options); end - # source://actionview/lib/action_view/helpers/tags/select_renderer.rb#8 + # source://actionview//lib/action_view/helpers/tags/select_renderer.rb#8 def select_content_tag(option_tags, options, html_options); end end -# source://actionview/lib/action_view/helpers/tags/tel_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/tel_field.rb#6 class ActionView::Helpers::Tags::TelField < ::ActionView::Helpers::Tags::TextField; end -# source://actionview/lib/action_view/helpers/tags/text_area.rb#8 +# source://actionview//lib/action_view/helpers/tags/text_area.rb#8 class ActionView::Helpers::Tags::TextArea < ::ActionView::Helpers::Tags::Base include ::ActionView::Helpers::Tags::Placeholderable - # source://actionview/lib/action_view/helpers/tags/text_area.rb#11 + # source://actionview//lib/action_view/helpers/tags/text_area.rb#11 def render; end end -# source://actionview/lib/action_view/helpers/tags/text_field.rb#8 +# source://actionview//lib/action_view/helpers/tags/text_field.rb#8 class ActionView::Helpers::Tags::TextField < ::ActionView::Helpers::Tags::Base include ::ActionView::Helpers::Tags::Placeholderable - # source://actionview/lib/action_view/helpers/tags/text_field.rb#11 + # source://actionview//lib/action_view/helpers/tags/text_field.rb#11 def render; end private - # source://actionview/lib/action_view/helpers/tags/text_field.rb#27 + # source://actionview//lib/action_view/helpers/tags/text_field.rb#27 def field_type; end class << self - # source://actionview/lib/action_view/helpers/tags/text_field.rb#21 + # source://actionview//lib/action_view/helpers/tags/text_field.rb#21 def field_type; end end end -# source://actionview/lib/action_view/helpers/tags/time_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/time_field.rb#6 class ActionView::Helpers::Tags::TimeField < ::ActionView::Helpers::Tags::DatetimeField # @return [TimeField] a new instance of TimeField # - # source://actionview/lib/action_view/helpers/tags/time_field.rb#7 + # source://actionview//lib/action_view/helpers/tags/time_field.rb#7 def initialize(object_name, method_name, template_object, options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/tags/time_field.rb#13 + # source://actionview//lib/action_view/helpers/tags/time_field.rb#13 def format_datetime(value); end end -# source://actionview/lib/action_view/helpers/tags/time_select.rb#6 +# source://actionview//lib/action_view/helpers/tags/time_select.rb#6 class ActionView::Helpers::Tags::TimeSelect < ::ActionView::Helpers::Tags::DateSelect; end -# source://actionview/lib/action_view/helpers/tags/time_zone_select.rb#6 +# source://actionview//lib/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 # @return [TimeZoneSelect] a new instance of TimeZoneSelect # - # source://actionview/lib/action_view/helpers/tags/time_zone_select.rb#10 + # source://actionview//lib/action_view/helpers/tags/time_zone_select.rb#10 def initialize(object_name, method_name, template_object, priority_zones, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/time_zone_select.rb#17 + # source://actionview//lib/action_view/helpers/tags/time_zone_select.rb#17 def render; end end -# source://actionview/lib/action_view/helpers/tags/translator.rb#6 +# source://actionview//lib/action_view/helpers/tags/translator.rb#6 class ActionView::Helpers::Tags::Translator # @return [Translator] a new instance of Translator # - # source://actionview/lib/action_view/helpers/tags/translator.rb#7 + # source://actionview//lib/action_view/helpers/tags/translator.rb#7 def initialize(object, object_name, method_and_value, scope:); end - # source://actionview/lib/action_view/helpers/tags/translator.rb#14 + # source://actionview//lib/action_view/helpers/tags/translator.rb#14 def translate; end private - # source://actionview/lib/action_view/helpers/tags/translator.rb#31 + # source://actionview//lib/action_view/helpers/tags/translator.rb#31 def human_attribute_name; end - # source://actionview/lib/action_view/helpers/tags/translator.rb#22 + # source://actionview//lib/action_view/helpers/tags/translator.rb#22 def i18n_default; end # Returns the value of attribute method_and_value. # - # source://actionview/lib/action_view/helpers/tags/translator.rb#20 + # source://actionview//lib/action_view/helpers/tags/translator.rb#20 def method_and_value; end # Returns the value of attribute model. # - # source://actionview/lib/action_view/helpers/tags/translator.rb#20 + # source://actionview//lib/action_view/helpers/tags/translator.rb#20 def model; end # Returns the value of attribute object_name. # - # source://actionview/lib/action_view/helpers/tags/translator.rb#20 + # source://actionview//lib/action_view/helpers/tags/translator.rb#20 def object_name; end # Returns the value of attribute scope. # - # source://actionview/lib/action_view/helpers/tags/translator.rb#20 + # source://actionview//lib/action_view/helpers/tags/translator.rb#20 def scope; end end -# source://actionview/lib/action_view/helpers/tags/url_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/url_field.rb#6 class ActionView::Helpers::Tags::UrlField < ::ActionView::Helpers::Tags::TextField; end -# source://actionview/lib/action_view/helpers/tags/week_field.rb#6 +# source://actionview//lib/action_view/helpers/tags/week_field.rb#6 class ActionView::Helpers::Tags::WeekField < ::ActionView::Helpers::Tags::DatetimeField private - # source://actionview/lib/action_view/helpers/tags/week_field.rb#8 + # source://actionview//lib/action_view/helpers/tags/week_field.rb#8 def format_datetime(value); end end -# source://actionview/lib/action_view/helpers/tags/weekday_select.rb#6 +# source://actionview//lib/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 # @return [WeekdaySelect] a new instance of WeekdaySelect # - # source://actionview/lib/action_view/helpers/tags/weekday_select.rb#10 + # source://actionview//lib/action_view/helpers/tags/weekday_select.rb#10 def initialize(object_name, method_name, template_object, options, html_options); end - # source://actionview/lib/action_view/helpers/tags/weekday_select.rb#16 + # source://actionview//lib/action_view/helpers/tags/weekday_select.rb#16 def render; end end @@ -10423,7 +9846,7 @@ end # simple_format h('Example') # # => "

<a href=\"http://example.com/\">Example</a>

" # -# source://actionview/lib/action_view/helpers/text_helper.rb#36 +# source://actionview//lib/action_view/helpers/text_helper.rb#36 module ActionView::Helpers::TextHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -10453,7 +9876,7 @@ module ActionView::Helpers::TextHelper # <%= link_to "Sign In", action: :sign_in %> # <% end %> # - # source://actionview/lib/action_view/helpers/text_helper.rb#63 + # source://actionview//lib/action_view/helpers/text_helper.rb#63 def concat(string); end # Returns the current cycle string after a cycle has been started. Useful @@ -10468,7 +9891,7 @@ module ActionView::Helpers::TextHelper #
# <% end %> # - # source://actionview/lib/action_view/helpers/text_helper.rb#454 + # source://actionview//lib/action_view/helpers/text_helper.rb#454 def current_cycle(name = T.unsafe(nil)); end # Creates a Cycle object whose +to_s+ method cycles through elements of an @@ -10511,7 +9934,7 @@ module ActionView::Helpers::TextHelper # # <% end %> # - # source://actionview/lib/action_view/helpers/text_helper.rb#430 + # source://actionview//lib/action_view/helpers/text_helper.rb#430 def cycle(first_value, *values); end # Extracts the first occurrence of +phrase+ plus surrounding text from @@ -10554,7 +9977,7 @@ module ActionView::Helpers::TextHelper # excerpt('This is a very beautiful morning', 'very', separator: ' ', radius: 1) # # => "...a very beautiful..." # - # source://actionview/lib/action_view/helpers/text_helper.rb#235 + # source://actionview//lib/action_view/helpers/text_helper.rb#235 def excerpt(text, phrase, options = T.unsafe(nil)); end # Highlights occurrences of +phrases+ in +text+ by formatting them with a @@ -10599,7 +10022,7 @@ module ActionView::Helpers::TextHelper # highlight('ruby on rails', 'rails', sanitize: false) # # => "ruby on rails" # - # source://actionview/lib/action_view/helpers/text_helper.rb#174 + # source://actionview//lib/action_view/helpers/text_helper.rb#174 def highlight(text, phrases, options = T.unsafe(nil), &block); end # Attempts to pluralize the +singular+ word unless +count+ is 1. If @@ -10626,7 +10049,7 @@ module ActionView::Helpers::TextHelper # pluralize(2, 'Person', locale: :de) # # => "2 Personen" # - # source://actionview/lib/action_view/helpers/text_helper.rb#290 + # source://actionview//lib/action_view/helpers/text_helper.rb#290 def pluralize(count, singular, plural_arg = T.unsafe(nil), plural: T.unsafe(nil), locale: T.unsafe(nil)); end # Resets a cycle so that it starts from the first element the next time @@ -10648,10 +10071,10 @@ module ActionView::Helpers::TextHelper # <% end %> # # - # source://actionview/lib/action_view/helpers/text_helper.rb#477 + # source://actionview//lib/action_view/helpers/text_helper.rb#477 def reset_cycle(name = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/text_helper.rb#67 + # source://actionview//lib/action_view/helpers/text_helper.rb#67 def safe_concat(string); end # Returns +text+ transformed into HTML using simple formatting rules. @@ -10695,7 +10118,7 @@ module ActionView::Helpers::TextHelper # simple_format("Continue", {}, { sanitize_options: { attributes: %w[target href] } }) # # => "

Continue

" # - # source://actionview/lib/action_view/helpers/text_helper.rb#376 + # source://actionview//lib/action_view/helpers/text_helper.rb#376 def simple_format(text, html_options = T.unsafe(nil), options = T.unsafe(nil)); end # Truncates +text+ if it is longer than a specified +:length+. If +text+ @@ -10750,7 +10173,7 @@ module ActionView::Helpers::TextHelper # truncate("Once upon a time in a world far far away") { link_to "Continue", "#" } # # => "Once upon a time in a world...Continue" # - # source://actionview/lib/action_view/helpers/text_helper.rb#122 + # source://actionview//lib/action_view/helpers/text_helper.rb#122 def truncate(text, options = T.unsafe(nil), &block); end # Wraps the +text+ into lines no longer than +line_width+ width. This method @@ -10774,64 +10197,64 @@ module ActionView::Helpers::TextHelper # word_wrap('Once upon a time', line_width: 1, break_sequence: "\r\n") # # => "Once\r\nupon\r\na\r\ntime" # - # source://actionview/lib/action_view/helpers/text_helper.rb#320 + # source://actionview//lib/action_view/helpers/text_helper.rb#320 def word_wrap(text, line_width: T.unsafe(nil), break_sequence: T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/text_helper.rb#540 + # source://actionview//lib/action_view/helpers/text_helper.rb#540 def cut_excerpt_part(part_position, part, separator, options); end # The cycle helpers need to store the cycles in a place that is # guaranteed to be reset every time a page is rendered, so it # uses an instance variable of ActionView::Base. # - # source://actionview/lib/action_view/helpers/text_helper.rb#522 + # source://actionview//lib/action_view/helpers/text_helper.rb#522 def get_cycle(name); end - # source://actionview/lib/action_view/helpers/text_helper.rb#527 + # source://actionview//lib/action_view/helpers/text_helper.rb#527 def set_cycle(name, cycle_object); end - # source://actionview/lib/action_view/helpers/text_helper.rb#532 + # source://actionview//lib/action_view/helpers/text_helper.rb#532 def split_paragraphs(text); end end -# source://actionview/lib/action_view/helpers/text_helper.rb#482 +# source://actionview//lib/action_view/helpers/text_helper.rb#482 class ActionView::Helpers::TextHelper::Cycle # @return [Cycle] a new instance of Cycle # - # source://actionview/lib/action_view/helpers/text_helper.rb#485 + # source://actionview//lib/action_view/helpers/text_helper.rb#485 def initialize(first_value, *values); end - # source://actionview/lib/action_view/helpers/text_helper.rb#494 + # source://actionview//lib/action_view/helpers/text_helper.rb#494 def current_value; end - # source://actionview/lib/action_view/helpers/text_helper.rb#490 + # source://actionview//lib/action_view/helpers/text_helper.rb#490 def reset; end - # source://actionview/lib/action_view/helpers/text_helper.rb#498 + # source://actionview//lib/action_view/helpers/text_helper.rb#498 def to_s; end # Returns the value of attribute values. # - # source://actionview/lib/action_view/helpers/text_helper.rb#483 + # source://actionview//lib/action_view/helpers/text_helper.rb#483 def values; end private - # source://actionview/lib/action_view/helpers/text_helper.rb#505 + # source://actionview//lib/action_view/helpers/text_helper.rb#505 def next_index; end - # source://actionview/lib/action_view/helpers/text_helper.rb#509 + # source://actionview//lib/action_view/helpers/text_helper.rb#509 def previous_index; end - # source://actionview/lib/action_view/helpers/text_helper.rb#513 + # source://actionview//lib/action_view/helpers/text_helper.rb#513 def step_index(n); end end # = Action View Translation \Helpers # -# source://actionview/lib/action_view/helpers/translation_helper.rb#9 +# source://actionview//lib/action_view/helpers/translation_helper.rb#9 module ActionView::Helpers::TranslationHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -10843,7 +10266,7 @@ module ActionView::Helpers::TranslationHelper # See https://www.rubydoc.info/gems/i18n/I18n/Backend/Base:localize # for more information. # - # source://actionview/lib/action_view/helpers/translation_helper.rb#116 + # source://actionview//lib/action_view/helpers/translation_helper.rb#119 def l(object, **options); end # Delegates to I18n.localize with no additional functionality. @@ -10851,7 +10274,7 @@ module ActionView::Helpers::TranslationHelper # See https://www.rubydoc.info/gems/i18n/I18n/Backend/Base:localize # for more information. # - # source://actionview/lib/action_view/helpers/translation_helper.rb#116 + # source://actionview//lib/action_view/helpers/translation_helper.rb#116 def localize(object, **options); end # Delegates to I18n#translate but also performs three additional @@ -10906,7 +10329,7 @@ module ActionView::Helpers::TranslationHelper # This enables annotate translated text to be aware of the scope it was # resolved against. # - # source://actionview/lib/action_view/helpers/translation_helper.rb#73 + # source://actionview//lib/action_view/helpers/translation_helper.rb#110 def t(key, **options); end # Delegates to I18n#translate but also performs three additional @@ -10961,30 +10384,30 @@ module ActionView::Helpers::TranslationHelper # This enables annotate translated text to be aware of the scope it was # resolved against. # - # source://actionview/lib/action_view/helpers/translation_helper.rb#73 + # source://actionview//lib/action_view/helpers/translation_helper.rb#73 def translate(key, **options); end private - # source://actionview/lib/action_view/helpers/translation_helper.rb#142 + # source://actionview//lib/action_view/helpers/translation_helper.rb#142 def missing_translation(key, options); end - # source://actionview/lib/action_view/helpers/translation_helper.rb#128 + # source://actionview//lib/action_view/helpers/translation_helper.rb#128 def scope_key_by_partial(key); end class << self - # source://actionview/lib/action_view/helpers/translation_helper.rb#15 + # source://actionview//lib/action_view/helpers/translation_helper.rb#15 def raise_on_missing_translations; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#15 + # source://actionview//lib/action_view/helpers/translation_helper.rb#15 def raise_on_missing_translations=(_arg0); end end end -# source://actionview/lib/action_view/helpers/translation_helper.rb#122 +# source://actionview//lib/action_view/helpers/translation_helper.rb#122 ActionView::Helpers::TranslationHelper::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) -# source://actionview/lib/action_view/helpers/translation_helper.rb#125 +# source://actionview//lib/action_view/helpers/translation_helper.rb#125 ActionView::Helpers::TranslationHelper::NO_DEFAULT = T.let(T.unsafe(nil), Array) # = Action View URL \Helpers @@ -10994,7 +10417,7 @@ ActionView::Helpers::TranslationHelper::NO_DEFAULT = T.let(T.unsafe(nil), Array) # This allows you to use the same format for links in views # and controllers. # -# source://actionview/lib/action_view/helpers/url_helper.rb#17 +# source://actionview//lib/action_view/helpers/url_helper.rb#17 module ActionView::Helpers::UrlHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -11115,18 +10538,18 @@ module ActionView::Helpers::UrlHelper # # # # " # - # source://actionview/lib/action_view/helpers/url_helper.rb#357 + # source://actionview//lib/action_view/helpers/url_helper.rb#357 def button_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - # source://actionview/lib/action_view/helpers/url_helper.rb#35 + # source://actionview//lib/action_view/helpers/url_helper.rb#35 def button_to_generates_button_tag; end - # source://actionview/lib/action_view/helpers/url_helper.rb#35 + # source://actionview//lib/action_view/helpers/url_helper.rb#35 def button_to_generates_button_tag=(val); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/url_helper.rb#611 + # source://actionview//lib/action_view/helpers/url_helper.rb#611 def current_page?(options = T.unsafe(nil), check_parameters: T.unsafe(nil), **options_as_kwargs); end # Creates an anchor element of the given +name+ using a URL created by the set of +options+. @@ -11297,7 +10720,7 @@ module ActionView::Helpers::UrlHelper # link_to "Visit Other Site", "http://www.rubyonrails.org/", data: { confirm: "Are you sure?" } # # => Visit Other Site # - # source://actionview/lib/action_view/helpers/url_helper.rb#234 + # source://actionview//lib/action_view/helpers/url_helper.rb#234 def link_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates a link tag of the given +name+ using a URL created by the set of @@ -11320,7 +10743,7 @@ module ActionView::Helpers::UrlHelper # # If they are logged in... # # => my_username # - # source://actionview/lib/action_view/helpers/url_helper.rb#498 + # source://actionview//lib/action_view/helpers/url_helper.rb#498 def link_to_if(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates a link tag of the given +name+ using a URL created by the set of @@ -11344,7 +10767,7 @@ module ActionView::Helpers::UrlHelper # # If not... # # => Reply # - # source://actionview/lib/action_view/helpers/url_helper.rb#475 + # source://actionview//lib/action_view/helpers/url_helper.rb#475 def link_to_unless(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates a link tag of the given +name+ using a URL created by the set of @@ -11386,7 +10809,7 @@ module ActionView::Helpers::UrlHelper # end # %> # - # source://actionview/lib/action_view/helpers/url_helper.rb#451 + # source://actionview//lib/action_view/helpers/url_helper.rb#451 def link_to_unless_current(name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates a mailto link tag to the specified +email_address+, which is @@ -11428,7 +10851,7 @@ module ActionView::Helpers::UrlHelper # Email me: me@domain.com # # - # source://actionview/lib/action_view/helpers/url_helper.rb#548 + # source://actionview//lib/action_view/helpers/url_helper.rb#548 def mail_to(email_address, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates a TEL anchor link tag to the specified +phone_number+. When the @@ -11467,7 +10890,7 @@ module ActionView::Helpers::UrlHelper # Phone me: # # - # source://actionview/lib/action_view/helpers/url_helper.rb#745 + # source://actionview//lib/action_view/helpers/url_helper.rb#745 def phone_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Creates an SMS anchor link tag to the specified +phone_number+. When the @@ -11511,45 +10934,45 @@ module ActionView::Helpers::UrlHelper # Text me: # # - # source://actionview/lib/action_view/helpers/url_helper.rb#694 + # source://actionview//lib/action_view/helpers/url_helper.rb#694 def sms_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Basic implementation of url_for to allow use helpers without routes existence # - # source://actionview/lib/action_view/helpers/url_helper.rb#38 + # source://actionview//lib/action_view/helpers/url_helper.rb#38 def url_for(options = T.unsafe(nil)); end private - # source://actionview/lib/action_view/helpers/url_helper.rb#50 + # source://actionview//lib/action_view/helpers/url_helper.rb#50 def _back_url; end - # source://actionview/lib/action_view/helpers/url_helper.rb#55 + # source://actionview//lib/action_view/helpers/url_helper.rb#55 def _filtered_referrer; end - # source://actionview/lib/action_view/helpers/url_helper.rb#788 + # source://actionview//lib/action_view/helpers/url_helper.rb#788 def add_method_to_attributes!(html_options, method); end - # source://actionview/lib/action_view/helpers/url_helper.rb#759 + # source://actionview//lib/action_view/helpers/url_helper.rb#759 def convert_options_to_data_attributes(options, html_options); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/url_helper.rb#782 + # source://actionview//lib/action_view/helpers/url_helper.rb#782 def link_to_remote_options?(options); end - # source://actionview/lib/action_view/helpers/url_helper.rb#799 + # source://actionview//lib/action_view/helpers/url_helper.rb#799 def method_for_options(options); end # @return [Boolean] # - # source://actionview/lib/action_view/helpers/url_helper.rb#817 + # source://actionview//lib/action_view/helpers/url_helper.rb#817 def method_not_get_method?(method); end - # source://actionview/lib/action_view/helpers/url_helper.rb#836 + # source://actionview//lib/action_view/helpers/url_helper.rb#836 def method_tag(method); end - # source://actionview/lib/action_view/helpers/url_helper.rb#882 + # source://actionview//lib/action_view/helpers/url_helper.rb#882 def remove_trailing_slash!(url_string); end # Returns an array of hashes each containing :name and :value keys @@ -11569,20 +10992,20 @@ module ActionView::Helpers::UrlHelper # to_form_params({ name: 'Denmark' }, 'country') # # => [{name: 'country[name]', value: 'Denmark'}] # - # source://actionview/lib/action_view/helpers/url_helper.rb#856 + # source://actionview//lib/action_view/helpers/url_helper.rb#856 def to_form_params(attribute, namespace = T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/url_helper.rb#822 + # source://actionview//lib/action_view/helpers/url_helper.rb#822 def token_tag(token = T.unsafe(nil), form_options: T.unsafe(nil)); end - # source://actionview/lib/action_view/helpers/url_helper.rb#774 + # source://actionview//lib/action_view/helpers/url_helper.rb#774 def url_target(name, options); end class << self - # source://actionview/lib/action_view/helpers/url_helper.rb#35 + # source://actionview//lib/action_view/helpers/url_helper.rb#35 def button_to_generates_button_tag; end - # source://actionview/lib/action_view/helpers/url_helper.rb#35 + # source://actionview//lib/action_view/helpers/url_helper.rb#35 def button_to_generates_button_tag=(val); end end end @@ -11593,41 +11016,41 @@ end # (link_to_unless_current, for instance), which must be provided # as a method called #request on the context. # -# source://actionview/lib/action_view/helpers/url_helper.rb#23 +# source://actionview//lib/action_view/helpers/url_helper.rb#23 ActionView::Helpers::UrlHelper::BUTTON_TAG_METHOD_VERBS = T.let(T.unsafe(nil), Array) -# source://actionview/lib/action_view/helpers/url_helper.rb#29 +# source://actionview//lib/action_view/helpers/url_helper.rb#29 module ActionView::Helpers::UrlHelper::ClassMethods - # source://actionview/lib/action_view/helpers/url_helper.rb#30 + # source://actionview//lib/action_view/helpers/url_helper.rb#30 def _url_for_modules; end end -# source://actionview/lib/action_view/helpers/url_helper.rb#564 +# source://actionview//lib/action_view/helpers/url_helper.rb#564 ActionView::Helpers::UrlHelper::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) -# source://actionview/lib/action_view/helpers/url_helper.rb#809 +# source://actionview//lib/action_view/helpers/url_helper.rb#809 ActionView::Helpers::UrlHelper::STRINGIFIED_COMMON_METHODS = T.let(T.unsafe(nil), Hash) # This is a class to fix I18n global state. Whenever you provide I18n.locale during a request, # it will trigger the lookup_context and consequently expire the cache. # -# source://actionview/lib/action_view/rendering.rb#8 +# source://actionview//lib/action_view/rendering.rb#8 class ActionView::I18nProxy < ::I18n::Config # @return [I18nProxy] a new instance of I18nProxy # - # source://actionview/lib/action_view/rendering.rb#11 + # source://actionview//lib/action_view/rendering.rb#11 def initialize(original_config, lookup_context); end - # source://actionview/lib/action_view/rendering.rb#17 + # source://actionview//lib/action_view/rendering.rb#17 def locale; end - # source://actionview/lib/action_view/rendering.rb#21 + # source://actionview//lib/action_view/rendering.rb#21 def locale=(value); end - # source://actionview/lib/action_view/rendering.rb#9 + # source://actionview//lib/action_view/rendering.rb#9 def lookup_context; end - # source://actionview/lib/action_view/rendering.rb#9 + # source://actionview//lib/action_view/rendering.rb#9 def original_config; end end @@ -11830,7 +11253,7 @@ end # # This will override the controller-wide "weblog_standard" layout, and will render the help action with the "help" layout instead. # -# source://actionview/lib/action_view/layouts.rb#205 +# source://actionview//lib/action_view/layouts.rb#205 module ActionView::Layouts extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -11842,12 +11265,13 @@ module ActionView::Layouts mixes_in_class_methods ::ActionView::Rendering::ClassMethods mixes_in_class_methods ::ActionView::Layouts::ClassMethods - # source://actionview/lib/action_view/layouts.rb#363 + # source://actionview//lib/action_view/layouts.rb#363 def initialize(*_arg0); end - # source://actionview/lib/action_view/layouts.rb#352 + # source://actionview//lib/action_view/layouts.rb#352 def _normalize_options(options); end + # source://actionview//lib/action_view/layouts.rb#361 def action_has_layout=(_arg0); end # Controls whether an action should be rendered using a layout. @@ -11859,14 +11283,14 @@ module ActionView::Layouts # # @return [Boolean] # - # source://actionview/lib/action_view/layouts.rb#374 + # source://actionview//lib/action_view/layouts.rb#374 def action_has_layout?; end private # @return [Boolean] # - # source://actionview/lib/action_view/layouts.rb#379 + # source://actionview//lib/action_view/layouts.rb#379 def _conditional_layout?; end # Returns the default layout for this controller. @@ -11880,17 +11304,17 @@ module ActionView::Layouts # ==== Returns # * template - The template object for the default layout (or +nil+) # - # source://actionview/lib/action_view/layouts.rb#417 + # source://actionview//lib/action_view/layouts.rb#417 def _default_layout(lookup_context, formats, require_layout = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/layouts.rb#432 + # source://actionview//lib/action_view/layouts.rb#432 def _include_layout?(options); end # This will be overwritten by _write_layout_method # - # source://actionview/lib/action_view/layouts.rb#384 + # source://actionview//lib/action_view/layouts.rb#384 def _layout(*_arg0); end # Determine the layout for a given name, taking into account the name type. @@ -11898,10 +11322,10 @@ module ActionView::Layouts # ==== Parameters # * name - The name of the template # - # source://actionview/lib/action_view/layouts.rb#390 + # source://actionview//lib/action_view/layouts.rb#390 def _layout_for_option(name); end - # source://actionview/lib/action_view/layouts.rb#403 + # source://actionview//lib/action_view/layouts.rb#403 def _normalize_layout(value); end module GeneratedClassMethods @@ -11916,17 +11340,17 @@ module ActionView::Layouts module GeneratedInstanceMethods; end end -# source://actionview/lib/action_view/layouts.rb#219 +# source://actionview//lib/action_view/layouts.rb#219 module ActionView::Layouts::ClassMethods # Creates a _layout method to be called by _default_layout . # # If a layout is not explicitly mentioned then look for a layout with the controller's name. # if nothing is found then try same procedure to find super class's layout. # - # source://actionview/lib/action_view/layouts.rb#285 + # source://actionview//lib/action_view/layouts.rb#285 def _write_layout_method; end - # source://actionview/lib/action_view/layouts.rb#220 + # source://actionview//lib/action_view/layouts.rb#220 def inherited(klass); end # Specify the layout to use for this class. @@ -11951,7 +11375,7 @@ module ActionView::Layouts::ClassMethods # * +:only+ - A list of actions to apply this layout to. # * +:except+ - Apply this layout to all actions but this one. # - # source://actionview/lib/action_view/layouts.rb#271 + # source://actionview//lib/action_view/layouts.rb#271 def layout(layout, conditions = T.unsafe(nil)); end private @@ -11962,14 +11386,14 @@ module ActionView::Layouts::ClassMethods # ==== Returns # * String - A template name # - # source://actionview/lib/action_view/layouts.rb#347 + # source://actionview//lib/action_view/layouts.rb#347 def _implied_layout_name; end end # This module is mixed in if layout conditions are provided. This means # that if no layout conditions are used, this method is not used # -# source://actionview/lib/action_view/layouts.rb#227 +# source://actionview//lib/action_view/layouts.rb#227 module ActionView::Layouts::ClassMethods::LayoutConditions private @@ -11982,7 +11406,7 @@ module ActionView::Layouts::ClassMethods::LayoutConditions # # @return [Boolean] # - # source://actionview/lib/action_view/layouts.rb#235 + # source://actionview//lib/action_view/layouts.rb#235 def _conditional_layout?; end end @@ -11990,70 +11414,70 @@ end # # Provides functionality so that \Rails can output logs from Action View. # -# source://actionview/lib/action_view/log_subscriber.rb#9 +# source://actionview//lib/action_view/log_subscriber.rb#9 class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber include ::ActionView::LogSubscriber::Utils # @return [LogSubscriber] a new instance of LogSubscriber # - # source://actionview/lib/action_view/log_subscriber.rb#12 + # source://actionview//lib/action_view/log_subscriber.rb#12 def initialize; end - # source://actionview/lib/action_view/log_subscriber.rb#45 + # source://actionview//lib/action_view/log_subscriber.rb#45 def render_collection(event); end - # source://actionview/lib/action_view/log_subscriber.rb#37 + # source://actionview//lib/action_view/log_subscriber.rb#37 def render_layout(event); end - # source://actionview/lib/action_view/log_subscriber.rb#26 + # source://actionview//lib/action_view/log_subscriber.rb#26 def render_partial(event); end - # source://actionview/lib/action_view/log_subscriber.rb#17 + # source://actionview//lib/action_view/log_subscriber.rb#17 def render_template(event); end private - # source://actionview/lib/action_view/log_subscriber.rb#117 + # source://actionview//lib/action_view/log_subscriber.rb#117 def cache_message(payload); end - # source://actionview/lib/action_view/log_subscriber.rb#109 + # source://actionview//lib/action_view/log_subscriber.rb#109 def render_count(payload); end class << self - # source://actionview/lib/action_view/log_subscriber.rb#101 + # source://actionview//lib/action_view/log_subscriber.rb#101 def attach_to(*_arg0); end - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://actionview//lib/action_view/log_subscriber.rb#24 def log_levels; end end end -# source://actionview/lib/action_view/log_subscriber.rb#76 +# source://actionview//lib/action_view/log_subscriber.rb#76 class ActionView::LogSubscriber::Start include ::ActionView::LogSubscriber::Utils - # source://actionview/lib/action_view/log_subscriber.rb#97 + # source://actionview//lib/action_view/log_subscriber.rb#97 def finish(name, id, payload); end - # source://actionview/lib/action_view/log_subscriber.rb#79 + # source://actionview//lib/action_view/log_subscriber.rb#79 def start(name, id, payload); end end -# source://actionview/lib/action_view/log_subscriber.rb#57 +# source://actionview//lib/action_view/log_subscriber.rb#57 module ActionView::LogSubscriber::Utils - # source://actionview/lib/action_view/log_subscriber.rb#58 + # source://actionview//lib/action_view/log_subscriber.rb#58 def logger; end private - # source://actionview/lib/action_view/log_subscriber.rb#63 + # source://actionview//lib/action_view/log_subscriber.rb#63 def from_rails_root(string); end - # source://actionview/lib/action_view/log_subscriber.rb#69 + # source://actionview//lib/action_view/log_subscriber.rb#69 def rails_root; end end -# source://actionview/lib/action_view/log_subscriber.rb#10 +# source://actionview//lib/action_view/log_subscriber.rb#10 ActionView::LogSubscriber::VIEWS_PATTERN = T.let(T.unsafe(nil), Regexp) # = Action View Lookup Context @@ -12064,7 +11488,7 @@ ActionView::LogSubscriber::VIEWS_PATTERN = T.let(T.unsafe(nil), Regexp) # view paths, used in the resolver cache lookup. Since this key is generated # only once during the request, it speeds up all cache accesses. # -# source://actionview/lib/action_view/lookup_context.rb#15 +# source://actionview//lib/action_view/lookup_context.rb#15 class ActionView::LookupContext include ::ActionView::LookupContext::Accessors include ::ActionView::LookupContext::DetailsCache @@ -12072,202 +11496,203 @@ class ActionView::LookupContext # @return [LookupContext] a new instance of LookupContext # - # source://actionview/lib/action_view/lookup_context.rb#232 + # source://actionview//lib/action_view/lookup_context.rb#232 def initialize(view_paths, details = T.unsafe(nil), prefixes = T.unsafe(nil)); end - # source://actionview/lib/action_view/lookup_context.rb#242 + # source://actionview//lib/action_view/lookup_context.rb#242 def digest_cache; end # Override formats= to expand ["*/*"] values and automatically # add :html as fallback to :js. # - # source://actionview/lib/action_view/lookup_context.rb#263 + # source://actionview//lib/action_view/lookup_context.rb#263 def formats=(values); end # Override locale to return a symbol instead of array. # - # source://actionview/lib/action_view/lookup_context.rb#283 + # source://actionview//lib/action_view/lookup_context.rb#283 def locale; end # Overload locale= to also set the I18n.locale. If the current I18n.config object responds # to original_config, it means that it has a copy of the original I18n configuration and it's # acting as proxy, which we need to skip. # - # source://actionview/lib/action_view/lookup_context.rb#290 + # source://actionview//lib/action_view/lookup_context.rb#290 def locale=(value); end - # source://actionview/lib/action_view/lookup_context.rb#16 + # source://actionview//lib/action_view/lookup_context.rb#16 def prefixes; end - # source://actionview/lib/action_view/lookup_context.rb#16 + # source://actionview//lib/action_view/lookup_context.rb#16 def prefixes=(_arg0); end - # source://actionview/lib/action_view/lookup_context.rb#246 + # source://actionview//lib/action_view/lookup_context.rb#246 def with_prepended_formats(formats); end private - # source://actionview/lib/action_view/lookup_context.rb#253 + # source://actionview//lib/action_view/lookup_context.rb#253 def initialize_details(target, details); end class << self - # source://actionview/lib/action_view/lookup_context.rb#21 + # source://actionview//lib/action_view/lookup_context.rb#21 def register_detail(name, &block); end - # source://actionview/lib/action_view/lookup_context.rb#18 + # source://actionview//lib/action_view/lookup_context.rb#18 def registered_details; end - # source://actionview/lib/action_view/lookup_context.rb#18 + # source://actionview//lib/action_view/lookup_context.rb#18 def registered_details=(_arg0); end end end # Holds accessors for the registered details. # -# source://actionview/lib/action_view/lookup_context.rb#39 +# source://actionview//lib/action_view/lookup_context.rb#39 module ActionView::LookupContext::Accessors - # source://actionview/lib/action_view/lookup_context.rb#50 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_formats; end - # source://actionview/lib/action_view/lookup_context.rb#52 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_handlers; end - # source://actionview/lib/action_view/lookup_context.rb#43 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_locale; end - # source://actionview/lib/action_view/lookup_context.rb#51 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_variants; end - # source://actionview/lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def formats; end - # source://actionview/lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def formats=(value); end - # source://actionview/lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def handlers; end - # source://actionview/lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def handlers=(value); end - # source://actionview/lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def locale; end - # source://actionview/lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def locale=(value); end - # source://actionview/lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def variants; end - # source://actionview/lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def variants=(value); end end -# source://actionview/lib/action_view/lookup_context.rb#40 +# source://actionview//lib/action_view/lookup_context.rb#40 ActionView::LookupContext::Accessors::DEFAULT_PROCS = T.let(T.unsafe(nil), Hash) # Add caching behavior on top of Details. # -# source://actionview/lib/action_view/lookup_context.rb#98 +# source://actionview//lib/action_view/lookup_context.rb#98 module ActionView::LookupContext::DetailsCache # Returns the value of attribute cache. # - # source://actionview/lib/action_view/lookup_context.rb#99 + # source://actionview//lib/action_view/lookup_context.rb#99 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://actionview/lib/action_view/lookup_context.rb#99 + # source://actionview//lib/action_view/lookup_context.rb#99 def cache=(_arg0); end # Calculate the details key. Remove the handlers from calculation to improve performance # since the user cannot modify it explicitly. # - # source://actionview/lib/action_view/lookup_context.rb#103 + # source://actionview//lib/action_view/lookup_context.rb#103 def details_key; end # Temporary skip passing the details_key forward. # - # source://actionview/lib/action_view/lookup_context.rb#108 + # source://actionview//lib/action_view/lookup_context.rb#108 def disable_cache; end private - # source://actionview/lib/action_view/lookup_context.rb#116 + # source://actionview//lib/action_view/lookup_context.rb#116 def _set_detail(key, value); end end -# source://actionview/lib/action_view/lookup_context.rb#54 +# source://actionview//lib/action_view/lookup_context.rb#54 class ActionView::LookupContext::DetailsKey + # source://actionview//lib/action_view/lookup_context.rb#55 def eql?(_arg0); end class << self - # source://actionview/lib/action_view/lookup_context.rb#77 + # source://actionview//lib/action_view/lookup_context.rb#77 def clear; end - # source://actionview/lib/action_view/lookup_context.rb#65 + # source://actionview//lib/action_view/lookup_context.rb#65 def details_cache_key(details); end - # source://actionview/lib/action_view/lookup_context.rb#61 + # source://actionview//lib/action_view/lookup_context.rb#61 def digest_cache(details); end - # source://actionview/lib/action_view/lookup_context.rb#86 + # source://actionview//lib/action_view/lookup_context.rb#86 def digest_caches; end - # source://actionview/lib/action_view/lookup_context.rb#90 + # source://actionview//lib/action_view/lookup_context.rb#90 def view_context_class; end end end # Helpers related to template lookup using the lookup context information. # -# source://actionview/lib/action_view/lookup_context.rb#125 +# source://actionview//lib/action_view/lookup_context.rb#125 module ActionView::LookupContext::ViewPaths # @return [Boolean] # - # source://actionview/lib/action_view/lookup_context.rb#148 + # source://actionview//lib/action_view/lookup_context.rb#148 def any?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview/lib/action_view/lookup_context.rb#148 + # source://actionview//lib/action_view/lookup_context.rb#153 def any_templates?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil)); end - # source://actionview/lib/action_view/lookup_context.rb#155 + # source://actionview//lib/action_view/lookup_context.rb#155 def append_view_paths(paths); end # @return [Boolean] # - # source://actionview/lib/action_view/lookup_context.rb#141 + # source://actionview//lib/action_view/lookup_context.rb#141 def exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end - # source://actionview/lib/action_view/lookup_context.rb#128 + # source://actionview//lib/action_view/lookup_context.rb#128 def find(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/lookup_context.rb#135 + # source://actionview//lib/action_view/lookup_context.rb#135 def find_all(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview/lib/action_view/lookup_context.rb#128 + # source://actionview//lib/action_view/lookup_context.rb#133 def find_template(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end # Returns the value of attribute html_fallback_for_js. # - # source://actionview/lib/action_view/lookup_context.rb#126 + # source://actionview//lib/action_view/lookup_context.rb#126 def html_fallback_for_js; end - # source://actionview/lib/action_view/lookup_context.rb#159 + # source://actionview//lib/action_view/lookup_context.rb#159 def prepend_view_paths(paths); end # @return [Boolean] # - # source://actionview/lib/action_view/lookup_context.rb#141 + # source://actionview//lib/action_view/lookup_context.rb#146 def template_exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end # Returns the value of attribute view_paths. # - # source://actionview/lib/action_view/lookup_context.rb#126 + # source://actionview//lib/action_view/lookup_context.rb#126 def view_paths; end private @@ -12275,30 +11700,30 @@ module ActionView::LookupContext::ViewPaths # Whenever setting view paths, makes a copy so that we can manipulate them in # instance objects as we wish. # - # source://actionview/lib/action_view/lookup_context.rb#166 + # source://actionview//lib/action_view/lookup_context.rb#166 def build_view_paths(paths); end # Compute details hash and key according to user options (e.g. passed from #render). # - # source://actionview/lib/action_view/lookup_context.rb#175 + # source://actionview//lib/action_view/lookup_context.rb#175 def detail_args_for(options); end - # source://actionview/lib/action_view/lookup_context.rb#188 + # source://actionview//lib/action_view/lookup_context.rb#188 def detail_args_for_any; end # Fix when prefix is specified as part of the template name # - # source://actionview/lib/action_view/lookup_context.rb#209 + # source://actionview//lib/action_view/lookup_context.rb#209 def normalize_name(name, prefixes); end end -# source://actionview/lib/action_view/template/error.rb#30 +# source://actionview//lib/action_view/template/error.rb#30 class ActionView::MissingTemplate < ::ActionView::ActionViewError include ::DidYouMean::Correctable # @return [MissingTemplate] a new instance of MissingTemplate # - # source://actionview/lib/action_view/template/error.rb#33 + # source://actionview//lib/action_view/template/error.rb#33 def initialize(paths, path, prefixes, partial, details, *_arg5); end # Apps may have thousands of candidate templates so we attempt to @@ -12306,114 +11731,131 @@ class ActionView::MissingTemplate < ::ActionView::ActionViewError # First we split templates into prefixes and basenames, so that those can # be matched separately. # - # source://actionview/lib/action_view/template/error.rb#93 + # source://actionview//lib/action_view/template/error.rb#93 def corrections; end # Returns the value of attribute partial. # - # source://actionview/lib/action_view/template/error.rb#31 + # source://actionview//lib/action_view/template/error.rb#31 def partial; end # Returns the value of attribute path. # - # source://actionview/lib/action_view/template/error.rb#31 + # source://actionview//lib/action_view/template/error.rb#31 def path; end # Returns the value of attribute paths. # - # source://actionview/lib/action_view/template/error.rb#31 + # source://actionview//lib/action_view/template/error.rb#31 def paths; end # Returns the value of attribute prefixes. # - # source://actionview/lib/action_view/template/error.rb#31 + # source://actionview//lib/action_view/template/error.rb#31 def prefixes; end end -# source://actionview/lib/action_view/template/error.rb#60 +# source://actionview//lib/action_view/template/error.rb#60 class ActionView::MissingTemplate::Results # @return [Results] a new instance of Results # - # source://actionview/lib/action_view/template/error.rb#63 + # source://actionview//lib/action_view/template/error.rb#63 def initialize(size); end - # source://actionview/lib/action_view/template/error.rb#80 + # source://actionview//lib/action_view/template/error.rb#80 def add(path, score); end # @return [Boolean] # - # source://actionview/lib/action_view/template/error.rb#72 + # source://actionview//lib/action_view/template/error.rb#72 def should_record?(score); end - # source://actionview/lib/action_view/template/error.rb#68 + # source://actionview//lib/action_view/template/error.rb#68 def to_a; end end -# source://actionview/lib/action_view/template/error.rb#61 +# source://actionview//lib/action_view/template/error.rb#61 class ActionView::MissingTemplate::Results::Result < ::Struct # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://actionview//lib/action_view/template/error.rb#61 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/error.rb#61 def path=(_); end # Returns the value of attribute score # # @return [Object] the current value of score + # + # source://actionview//lib/action_view/template/error.rb#61 def score; end # Sets the attribute score # # @param value [Object] the value to set the attribute score to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/error.rb#61 def score=(_); end class << self + # source://actionview//lib/action_view/template/error.rb#61 def [](*_arg0); end + + # source://actionview//lib/action_view/template/error.rb#61 def inspect; end + + # source://actionview//lib/action_view/template/error.rb#61 def keyword_init?; end + + # source://actionview//lib/action_view/template/error.rb#61 def members; end + + # source://actionview//lib/action_view/template/error.rb#61 def new(*_arg0); end end end -# source://actionview/lib/action_view/model_naming.rb#4 +# source://actionview//lib/action_view/model_naming.rb#4 module ActionView::ModelNaming # Converts the given object to an Active Model compliant one. # - # source://actionview/lib/action_view/model_naming.rb#6 + # source://actionview//lib/action_view/model_naming.rb#6 def convert_to_model(object); end - # source://actionview/lib/action_view/model_naming.rb#10 + # source://actionview//lib/action_view/model_naming.rb#10 def model_name_from_record_or_class(record_or_class); end end -# source://actionview/lib/action_view/renderer/object_renderer.rb#4 +# source://actionview//lib/action_view/renderer/object_renderer.rb#4 class ActionView::ObjectRenderer < ::ActionView::PartialRenderer include ::ActionView::AbstractRenderer::ObjectRendering # @return [ObjectRenderer] a new instance of ObjectRenderer # - # source://actionview/lib/action_view/renderer/object_renderer.rb#7 + # source://actionview//lib/action_view/renderer/object_renderer.rb#7 def initialize(lookup_context, options); end - # source://actionview/lib/action_view/renderer/object_renderer.rb#19 + # source://actionview//lib/action_view/renderer/object_renderer.rb#19 def render_object_derive_partial(object, context, block); end - # source://actionview/lib/action_view/renderer/object_renderer.rb#13 + # source://actionview//lib/action_view/renderer/object_renderer.rb#13 def render_object_with_partial(object, partial, context, block); end private - # source://actionview/lib/action_view/renderer/object_renderer.rb#29 + # source://actionview//lib/action_view/renderer/object_renderer.rb#29 def render_partial_template(view, locals, template, layout, block); end - # source://actionview/lib/action_view/renderer/object_renderer.rb#25 + # source://actionview//lib/action_view/renderer/object_renderer.rb#25 def template_keys(path); end end @@ -12432,148 +11874,148 @@ end # sbuf << 5 # puts sbuf # => "hello\u0005" # -# source://actionview/lib/action_view/buffers.rb#21 +# source://actionview//lib/action_view/buffers.rb#21 class ActionView::OutputBuffer # @return [OutputBuffer] a new instance of OutputBuffer # - # source://actionview/lib/action_view/buffers.rb#22 + # source://actionview//lib/action_view/buffers.rb#22 def initialize(buffer = T.unsafe(nil)); end - # source://actionview/lib/action_view/buffers.rb#42 + # source://actionview//lib/action_view/buffers.rb#42 def <<(value); end - # source://actionview/lib/action_view/buffers.rb#81 + # source://actionview//lib/action_view/buffers.rb#81 def ==(other); end - # source://actionview/lib/action_view/buffers.rb#42 + # source://actionview//lib/action_view/buffers.rb#54 def append=(value); end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def blank?(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#72 + # source://actionview//lib/action_view/buffers.rb#72 def capture(*args); end - # source://actionview/lib/action_view/buffers.rb#42 + # source://actionview//lib/action_view/buffers.rb#53 def concat(value); end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def empty?(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def encode!(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def encoding(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def force_encoding(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#29 + # source://actionview//lib/action_view/buffers.rb#32 def html_safe; end # @return [Boolean] # - # source://actionview/lib/action_view/buffers.rb#38 + # source://actionview//lib/action_view/buffers.rb#38 def html_safe?; end - # source://actionview/lib/action_view/buffers.rb#27 + # source://actionview//lib/action_view/buffers.rb#27 def length(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/buffers.rb#85 + # source://actionview//lib/action_view/buffers.rb#85 def raw; end # Returns the value of attribute raw_buffer. # - # source://actionview/lib/action_view/buffers.rb#89 + # source://actionview//lib/action_view/buffers.rb#89 def raw_buffer; end - # source://actionview/lib/action_view/buffers.rb#56 + # source://actionview//lib/action_view/buffers.rb#60 def safe_append=(value); end - # source://actionview/lib/action_view/buffers.rb#56 + # source://actionview//lib/action_view/buffers.rb#56 def safe_concat(value); end - # source://actionview/lib/action_view/buffers.rb#62 + # source://actionview//lib/action_view/buffers.rb#62 def safe_expr_append=(val); end - # source://actionview/lib/action_view/buffers.rb#29 + # source://actionview//lib/action_view/buffers.rb#29 def to_s; end - # source://actionview/lib/action_view/buffers.rb#34 + # source://actionview//lib/action_view/buffers.rb#34 def to_str; end private - # source://actionview/lib/action_view/buffers.rb#68 + # source://actionview//lib/action_view/buffers.rb#68 def initialize_copy(other); end end -# source://actionview/lib/action_view/flows.rb#6 +# source://actionview//lib/action_view/flows.rb#6 class ActionView::OutputFlow # @return [OutputFlow] a new instance of OutputFlow # - # source://actionview/lib/action_view/flows.rb#9 + # source://actionview//lib/action_view/flows.rb#9 def initialize; end # Called by content_for # - # source://actionview/lib/action_view/flows.rb#24 + # source://actionview//lib/action_view/flows.rb#24 def append(key, value); end # Called by content_for # - # source://actionview/lib/action_view/flows.rb#24 + # source://actionview//lib/action_view/flows.rb#27 def append!(key, value); end # Returns the value of attribute content. # - # source://actionview/lib/action_view/flows.rb#7 + # source://actionview//lib/action_view/flows.rb#7 def content; end # Called by _layout_for to read stored values. # - # source://actionview/lib/action_view/flows.rb#14 + # source://actionview//lib/action_view/flows.rb#14 def get(key); end # Called by each renderer object to set the layout contents. # - # source://actionview/lib/action_view/flows.rb#19 + # source://actionview//lib/action_view/flows.rb#19 def set(key, value); end end -# source://actionview/lib/action_view/renderer/collection_renderer.rb#6 +# source://actionview//lib/action_view/renderer/collection_renderer.rb#6 class ActionView::PartialIteration # @return [PartialIteration] a new instance of PartialIteration # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#13 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#13 def initialize(size); end # Check if this is the first iteration of the partial. # # @return [Boolean] # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#19 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#19 def first?; end # The current iteration of the partial. # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#11 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#11 def index; end - # source://actionview/lib/action_view/renderer/collection_renderer.rb#28 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#28 def iterate!; end # Check if this is the last iteration of the partial. # # @return [Boolean] # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#24 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#24 def last?; end # The number of iterations that will be done by the partial. # - # source://actionview/lib/action_view/renderer/collection_renderer.rb#8 + # source://actionview//lib/action_view/renderer/collection_renderer.rb#8 def size; end end @@ -12792,65 +12234,65 @@ end # # As you can see, the :locals hash is shared between both the partial and its layout. # -# source://actionview/lib/action_view/renderer/partial_renderer.rb#220 +# source://actionview//lib/action_view/renderer/partial_renderer.rb#220 class ActionView::PartialRenderer < ::ActionView::AbstractRenderer include ::ActionView::CollectionCaching # @return [PartialRenderer] a new instance of PartialRenderer # - # source://actionview/lib/action_view/renderer/partial_renderer.rb#223 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#223 def initialize(lookup_context, options); end - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache; end - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache=(val); end - # source://actionview/lib/action_view/renderer/partial_renderer.rb#230 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#230 def render(partial, context, block); end private - # source://actionview/lib/action_view/renderer/partial_renderer.rb#262 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#262 def find_template(path, locals); end - # source://actionview/lib/action_view/renderer/partial_renderer.rb#245 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#245 def render_partial_template(view, locals, template, layout, block); end - # source://actionview/lib/action_view/renderer/partial_renderer.rb#241 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#241 def template_keys(_); end class << self - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache; end - # source://actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache=(val); end end end -# source://actionview/lib/action_view/path_registry.rb#4 +# source://actionview//lib/action_view/path_registry.rb#4 module ActionView::PathRegistry class << self - # source://actionview/lib/action_view/path_registry.rb#53 + # source://actionview//lib/action_view/path_registry.rb#53 def all_file_system_resolvers; end - # source://actionview/lib/action_view/path_registry.rb#47 + # source://actionview//lib/action_view/path_registry.rb#47 def all_resolvers; end - # source://actionview/lib/action_view/path_registry.rb#22 + # source://actionview//lib/action_view/path_registry.rb#22 def cast_file_system_resolvers(paths); end # Returns the value of attribute file_system_resolver_hooks. # - # source://actionview/lib/action_view/path_registry.rb#11 + # source://actionview//lib/action_view/path_registry.rb#11 def file_system_resolver_hooks; end - # source://actionview/lib/action_view/path_registry.rb#14 + # source://actionview//lib/action_view/path_registry.rb#14 def get_view_paths(klass); end - # source://actionview/lib/action_view/path_registry.rb#18 + # source://actionview//lib/action_view/path_registry.rb#18 def set_view_paths(klass, paths); end end end @@ -12863,99 +12305,94 @@ end # # A +LookupContext+ will use a +PathSet+ to store the paths in its context. # -# source://actionview/lib/action_view/path_set.rb#11 +# source://actionview//lib/action_view/path_set.rb#11 class ActionView::PathSet include ::Enumerable # @return [PathSet] a new instance of PathSet # - # source://actionview/lib/action_view/path_set.rb#18 + # source://actionview//lib/action_view/path_set.rb#18 def initialize(paths = T.unsafe(nil)); end - # source://actionview/lib/action_view/path_set.rb#35 + # source://actionview//lib/action_view/path_set.rb#35 def +(other); end - # source://actionview/lib/action_view/path_set.rb#16 + # source://actionview//lib/action_view/path_set.rb#16 def [](*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/path_set.rb#31 + # source://actionview//lib/action_view/path_set.rb#31 def compact; end - # source://actionview/lib/action_view/path_set.rb#16 + # source://actionview//lib/action_view/path_set.rb#16 def each(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://actionview/lib/action_view/path_set.rb#53 + # source://actionview//lib/action_view/path_set.rb#53 def exists?(path, prefixes, partial, details, details_key, locals); end - # source://actionview/lib/action_view/path_set.rb#40 + # source://actionview//lib/action_view/path_set.rb#40 def find(path, prefixes, partial, details, details_key, locals); end - # source://actionview/lib/action_view/path_set.rb#45 + # source://actionview//lib/action_view/path_set.rb#45 def find_all(path, prefixes, partial, details, details_key, locals); end - # source://actionview/lib/action_view/path_set.rb#16 + # source://actionview//lib/action_view/path_set.rb#16 def include?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute paths. # - # source://actionview/lib/action_view/path_set.rb#14 + # source://actionview//lib/action_view/path_set.rb#14 def paths; end - # source://actionview/lib/action_view/path_set.rb#16 + # source://actionview//lib/action_view/path_set.rb#16 def size(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/path_set.rb#27 + # source://actionview//lib/action_view/path_set.rb#27 def to_ary; end private - # source://actionview/lib/action_view/path_set.rb#22 + # source://actionview//lib/action_view/path_set.rb#22 def initialize_copy(other); end - # source://actionview/lib/action_view/path_set.rb#58 + # source://actionview//lib/action_view/path_set.rb#58 def search_combinations(prefixes); end - # source://actionview/lib/action_view/path_set.rb#67 + # source://actionview//lib/action_view/path_set.rb#67 def typecast(paths); end end # = Action View Railtie # -# source://actionview/lib/action_view/railtie.rb#8 -class ActionView::Railtie < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://actionview//lib/action_view/railtie.rb#8 +class ActionView::Railtie < ::Rails::Engine; end -# source://actionview/lib/action_view/buffers.rb#92 +# source://actionview//lib/action_view/buffers.rb#92 class ActionView::RawOutputBuffer # @return [RawOutputBuffer] a new instance of RawOutputBuffer # - # source://actionview/lib/action_view/buffers.rb#93 + # source://actionview//lib/action_view/buffers.rb#93 def initialize(buffer); end - # source://actionview/lib/action_view/buffers.rb#97 + # source://actionview//lib/action_view/buffers.rb#97 def <<(value); end - # source://actionview/lib/action_view/buffers.rb#103 + # source://actionview//lib/action_view/buffers.rb#103 def raw; end end -# source://actionview/lib/action_view/buffers.rb#150 +# source://actionview//lib/action_view/buffers.rb#150 class ActionView::RawStreamingBuffer # @return [RawStreamingBuffer] a new instance of RawStreamingBuffer # - # source://actionview/lib/action_view/buffers.rb#151 + # source://actionview//lib/action_view/buffers.rb#151 def initialize(buffer); end - # source://actionview/lib/action_view/buffers.rb#155 + # source://actionview//lib/action_view/buffers.rb#155 def <<(value); end - # source://actionview/lib/action_view/buffers.rb#161 + # source://actionview//lib/action_view/buffers.rb#161 def raw; end end @@ -13013,7 +12450,7 @@ end # end # end # -# source://actionview/lib/action_view/record_identifier.rb#60 +# source://actionview//lib/action_view/record_identifier.rb#60 module ActionView::RecordIdentifier include ::ActionView::ModelNaming extend ::ActionView::RecordIdentifier @@ -13029,7 +12466,7 @@ module ActionView::RecordIdentifier # dom_class(post, :edit) # => "edit_post" # dom_class(Person, :edit) # => "edit_person" # - # source://actionview/lib/action_view/record_identifier.rb#78 + # source://actionview//lib/action_view/record_identifier.rb#78 def dom_class(record_or_class, prefix = T.unsafe(nil)); end # The DOM id convention is to use the singular form of an object or class with the id following an underscore. @@ -13045,7 +12482,7 @@ module ActionView::RecordIdentifier # # @raise [ArgumentError] # - # source://actionview/lib/action_view/record_identifier.rb#93 + # source://actionview//lib/action_view/record_identifier.rb#93 def dom_id(record_or_class, prefix = T.unsafe(nil)); end private @@ -13059,32 +12496,32 @@ module ActionView::RecordIdentifier # method that replaces all characters that are invalid inside DOM ids, with valid ones. You need to # make sure yourself that your dom ids are valid, in case you override this method. # - # source://actionview/lib/action_view/record_identifier.rb#113 + # source://actionview//lib/action_view/record_identifier.rb#113 def record_key_for_dom_id(record); end end -# source://actionview/lib/action_view/record_identifier.rb#66 +# source://actionview//lib/action_view/record_identifier.rb#66 ActionView::RecordIdentifier::JOIN = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/record_identifier.rb#67 +# source://actionview//lib/action_view/record_identifier.rb#67 ActionView::RecordIdentifier::NEW = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/ripper_ast_parser.rb#6 +# source://actionview//lib/action_view/ripper_ast_parser.rb#6 class ActionView::RenderParser # @return [RenderParser] a new instance of RenderParser # - # source://actionview/lib/action_view/render_parser.rb#7 + # source://actionview//lib/action_view/render_parser.rb#7 def initialize(name, code); end - # source://actionview/lib/action_view/render_parser.rb#13 + # source://actionview//lib/action_view/render_parser.rb#13 def render_calls; end private - # source://actionview/lib/action_view/render_parser.rb#22 + # source://actionview//lib/action_view/render_parser.rb#22 def directory; end - # source://actionview/lib/action_view/render_parser.rb#184 + # source://actionview//lib/action_view/render_parser.rb#184 def layout_to_virtual_path(layout_path); end # Convert @@ -13094,742 +12531,742 @@ class ActionView::RenderParser # or # render(partial: "foo", ...) # - # source://actionview/lib/action_view/render_parser.rb#40 + # source://actionview//lib/action_view/render_parser.rb#40 def normalize_args(string, options_hash); end - # source://actionview/lib/action_view/render_parser.rb#72 + # source://actionview//lib/action_view/render_parser.rb#72 def parse_hash(node); end - # source://actionview/lib/action_view/render_parser.rb#76 + # source://actionview//lib/action_view/render_parser.rb#76 def parse_hash_to_symbols(node); end - # source://actionview/lib/action_view/render_parser.rb#48 + # source://actionview//lib/action_view/render_parser.rb#48 def parse_render(node); end - # source://actionview/lib/action_view/render_parser.rb#95 + # source://actionview//lib/action_view/render_parser.rb#95 def parse_render_from_options(options_hash); end - # source://actionview/lib/action_view/render_parser.rb#155 + # source://actionview//lib/action_view/render_parser.rb#155 def parse_str(node); end - # source://actionview/lib/action_view/render_parser.rb#159 + # source://actionview//lib/action_view/render_parser.rb#159 def parse_sym(node); end - # source://actionview/lib/action_view/render_parser.rb#176 + # source://actionview//lib/action_view/render_parser.rb#176 def partial_to_virtual_path(render_type, partial_path); end # @return [Boolean] # - # source://actionview/lib/action_view/render_parser.rb#164 + # source://actionview//lib/action_view/render_parser.rb#164 def render_template_with_layout?(render_type, options_hash); end # @return [Boolean] # - # source://actionview/lib/action_view/render_parser.rb#170 + # source://actionview//lib/action_view/render_parser.rb#170 def render_template_with_spacer?(options_hash); end - # source://actionview/lib/action_view/render_parser.rb#26 + # source://actionview//lib/action_view/render_parser.rb#26 def resolve_path_directory(path); end end -# source://actionview/lib/action_view/render_parser.rb#90 +# source://actionview//lib/action_view/render_parser.rb#90 ActionView::RenderParser::ALL_KNOWN_KEYS = T.let(T.unsafe(nil), Array) -# source://actionview/lib/action_view/render_parser.rb#92 +# source://actionview//lib/action_view/render_parser.rb#92 ActionView::RenderParser::RENDER_TYPE_KEYS = T.let(T.unsafe(nil), Array) -# source://actionview/lib/action_view/ripper_ast_parser.rb#7 +# source://actionview//lib/action_view/ripper_ast_parser.rb#7 module ActionView::RenderParser::RipperASTParser extend ::ActionView::RenderParser::RipperASTParser - # source://actionview/lib/action_view/ripper_ast_parser.rb#188 + # source://actionview//lib/action_view/ripper_ast_parser.rb#188 def parse_render_nodes(code); end end -# source://actionview/lib/action_view/ripper_ast_parser.rb#8 +# source://actionview//lib/action_view/ripper_ast_parser.rb#8 class ActionView::RenderParser::RipperASTParser::Node < ::Array # @return [Node] a new instance of Node # - # source://actionview/lib/action_view/ripper_ast_parser.rb#11 + # source://actionview//lib/action_view/ripper_ast_parser.rb#11 def initialize(type, arr, opts = T.unsafe(nil)); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#35 + # source://actionview//lib/action_view/ripper_ast_parser.rb#35 def argument_nodes; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#57 + # source://actionview//lib/action_view/ripper_ast_parser.rb#57 def call?; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#65 + # source://actionview//lib/action_view/ripper_ast_parser.rb#65 def call_method_name; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#16 + # source://actionview//lib/action_view/ripper_ast_parser.rb#16 def children; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#25 + # source://actionview//lib/action_view/ripper_ast_parser.rb#25 def fcall?; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#29 + # source://actionview//lib/action_view/ripper_ast_parser.rb#29 def fcall_named?(name); end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#74 + # source://actionview//lib/action_view/ripper_ast_parser.rb#74 def hash?; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#88 + # source://actionview//lib/action_view/ripper_ast_parser.rb#88 def hash_from_body(body); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#20 + # source://actionview//lib/action_view/ripper_ast_parser.rb#20 def inspect; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#45 + # source://actionview//lib/action_view/ripper_ast_parser.rb#45 def string?; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#96 + # source://actionview//lib/action_view/ripper_ast_parser.rb#96 def symbol?; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#78 + # source://actionview//lib/action_view/ripper_ast_parser.rb#78 def to_hash; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#69 + # source://actionview//lib/action_view/ripper_ast_parser.rb#69 def to_string; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#100 + # source://actionview//lib/action_view/ripper_ast_parser.rb#100 def to_symbol; end # Returns the value of attribute type. # - # source://actionview/lib/action_view/ripper_ast_parser.rb#9 + # source://actionview//lib/action_view/ripper_ast_parser.rb#9 def type; end - # source://actionview/lib/action_view/ripper_ast_parser.rb#61 + # source://actionview//lib/action_view/ripper_ast_parser.rb#61 def variable_name; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#49 + # source://actionview//lib/action_view/ripper_ast_parser.rb#49 def variable_reference?; end # @return [Boolean] # - # source://actionview/lib/action_view/ripper_ast_parser.rb#53 + # source://actionview//lib/action_view/ripper_ast_parser.rb#53 def vcall?; end end -# source://actionview/lib/action_view/ripper_ast_parser.rb#111 +# source://actionview//lib/action_view/ripper_ast_parser.rb#111 class ActionView::RenderParser::RipperASTParser::NodeParser < ::Ripper - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_BEGIN(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_CHAR(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_END(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on___end__(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_alias(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_alias_error(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aref(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aref_field(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_arg_ambiguous(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_arg_paren(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add_block(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add_star(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_args_forward(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_args_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_array(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aryptn(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assign(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assign_error(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoc_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoc_splat(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoclist_from_args(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_backref(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_backtick(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_bare_assoc_hash(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_begin(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_binary(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_block_var(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_blockarg(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_bodystmt(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_brace_block(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_break(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_call(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_case(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_class(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_class_name_error(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_comma(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_command(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_command_call(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_comment(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_const(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_path_field(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_path_ref(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_ref(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_cvar(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_def(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_defined(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_defs(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_do_block(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dot2(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dot3(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dyna_symbol(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_else(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_elsif(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embexpr_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embexpr_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embvar(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_ensure(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_excessed_comma(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_fcall(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_field(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_float(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_fndptn(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_for(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_gvar(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_hash(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_heredoc_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_heredoc_dedent(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_heredoc_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_hshptn(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ident(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_if(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_if_mod(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_ifop(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ignored_nl(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ignored_sp(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_imaginary(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_in(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_int(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ivar(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_kw(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_kwrest_param(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_label(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_label_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_lambda(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lbrace(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lbracket(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lparen(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_magic_comment(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_massign(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_method_add_arg(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_method_add_block(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add_post(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add_star(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_mlhs_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_mlhs_paren(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_module(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mrhs_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mrhs_add_star(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_mrhs_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_mrhs_new_from_args(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_next(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_nl(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_nokw_param(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_op(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_opassign(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_operator_ambiguous(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_param_error(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_params(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_paren(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_parse_error(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_period(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_program(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_qsymbols_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_qsymbols_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_qsymbols_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_qwords_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_qwords_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_qwords_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rational(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rbrace(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rbracket(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_redo(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_regexp_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_regexp_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_regexp_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_regexp_literal(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_regexp_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rescue(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rescue_mod(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rest_param(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_retry(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_return(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_return0(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rparen(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_sclass(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_semicolon(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_sp(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_stmts_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_stmts_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_string_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_concat(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_content(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_dvar(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_embexpr(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_literal(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_super(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_symbeg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_symbol(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_symbol_literal(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_symbols_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_symbols_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_symbols_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tlambda(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tlambeg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_top_const_field(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_top_const_ref(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_content(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_end(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unary(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_undef(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unless(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unless_mod(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_until(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_until_mod(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_alias(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_field(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_ref(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_vcall(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_void_stmt(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_when(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_while(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_while_mod(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_word_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_word_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_words_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_words_beg(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_words_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_words_sep(tok); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_xstring_add(list, item); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_xstring_literal(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_xstring_new(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_yield(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_yield0(*args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_zsuper(*args); end end -# source://actionview/lib/action_view/ripper_ast_parser.rb#147 +# source://actionview//lib/action_view/ripper_ast_parser.rb#147 class ActionView::RenderParser::RipperASTParser::RenderCallExtractor < ::ActionView::RenderParser::RipperASTParser::NodeParser # @return [RenderCallExtractor] a new instance of RenderCallExtractor # - # source://actionview/lib/action_view/ripper_ast_parser.rb#152 + # source://actionview//lib/action_view/ripper_ast_parser.rb#152 def initialize(*args); end # Returns the value of attribute render_calls. # - # source://actionview/lib/action_view/ripper_ast_parser.rb#148 + # source://actionview//lib/action_view/ripper_ast_parser.rb#148 def render_calls; end private - # source://actionview/lib/action_view/ripper_ast_parser.rb#177 + # source://actionview//lib/action_view/ripper_ast_parser.rb#177 def on_arg_paren(content); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#163 + # source://actionview//lib/action_view/ripper_ast_parser.rb#163 def on_command(name, *args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#159 + # source://actionview//lib/action_view/ripper_ast_parser.rb#159 def on_fcall(name, *args); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#181 + # source://actionview//lib/action_view/ripper_ast_parser.rb#181 def on_paren(content); end - # source://actionview/lib/action_view/ripper_ast_parser.rb#167 + # source://actionview//lib/action_view/ripper_ast_parser.rb#167 def on_render_call(node); end end -# source://actionview/lib/action_view/ripper_ast_parser.rb#150 +# source://actionview//lib/action_view/ripper_ast_parser.rb#150 ActionView::RenderParser::RipperASTParser::RenderCallExtractor::METHODS_TO_PARSE = T.let(T.unsafe(nil), Array) # = Action View \Renderer @@ -13844,31 +13281,31 @@ ActionView::RenderParser::RipperASTParser::RenderCallExtractor::METHODS_TO_PARSE # the setup and logic necessary to render a view and a new object is created # each time +render+ is called. # -# source://actionview/lib/action_view/renderer/renderer.rb#15 +# source://actionview//lib/action_view/renderer/renderer.rb#15 class ActionView::Renderer # @return [Renderer] a new instance of Renderer # - # source://actionview/lib/action_view/renderer/renderer.rb#18 + # source://actionview//lib/action_view/renderer/renderer.rb#18 def initialize(lookup_context); end - # source://actionview/lib/action_view/renderer/renderer.rb#58 + # source://actionview//lib/action_view/renderer/renderer.rb#58 def cache_hits; end # Returns the value of attribute lookup_context. # - # source://actionview/lib/action_view/renderer/renderer.rb#16 + # source://actionview//lib/action_view/renderer/renderer.rb#16 def lookup_context; end # Sets the attribute lookup_context # # @param value the value to set the attribute lookup_context to. # - # source://actionview/lib/action_view/renderer/renderer.rb#16 + # source://actionview//lib/action_view/renderer/renderer.rb#16 def lookup_context=(_arg0); end # Main render entry point shared by Action View and Action Controller. # - # source://actionview/lib/action_view/renderer/renderer.rb#23 + # source://actionview//lib/action_view/renderer/renderer.rb#23 def render(context, options); end # Render but returns a valid Rack body. If fibers are defined, we return @@ -13877,38 +13314,38 @@ class ActionView::Renderer # Note that partials are not supported to be rendered with streaming, # so in such cases, we just wrap them in an array. # - # source://actionview/lib/action_view/renderer/renderer.rb#40 + # source://actionview//lib/action_view/renderer/renderer.rb#40 def render_body(context, options); end # Direct access to partial rendering. # - # source://actionview/lib/action_view/renderer/renderer.rb#54 + # source://actionview//lib/action_view/renderer/renderer.rb#54 def render_partial(context, options, &block); end - # source://actionview/lib/action_view/renderer/renderer.rb#66 + # source://actionview//lib/action_view/renderer/renderer.rb#66 def render_partial_to_object(context, options, &block); end # Direct access to template rendering. # - # source://actionview/lib/action_view/renderer/renderer.rb#49 + # source://actionview//lib/action_view/renderer/renderer.rb#49 def render_template(context, options); end - # source://actionview/lib/action_view/renderer/renderer.rb#62 + # source://actionview//lib/action_view/renderer/renderer.rb#62 def render_template_to_object(context, options); end - # source://actionview/lib/action_view/renderer/renderer.rb#27 + # source://actionview//lib/action_view/renderer/renderer.rb#27 def render_to_object(context, options); end private - # source://actionview/lib/action_view/renderer/renderer.rb#109 + # source://actionview//lib/action_view/renderer/renderer.rb#109 def collection_from_object(object); end - # source://actionview/lib/action_view/renderer/renderer.rb#102 + # source://actionview//lib/action_view/renderer/renderer.rb#102 def collection_from_options(options); end end -# source://actionview/lib/action_view/rendering.rb#26 +# source://actionview//lib/action_view/rendering.rb#26 module ActionView::Rendering extend ::ActiveSupport::Concern include ::ActionView::ViewPaths @@ -13916,20 +13353,20 @@ module ActionView::Rendering mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods mixes_in_class_methods ::ActionView::Rendering::ClassMethods - # source://actionview/lib/action_view/rendering.rb#32 + # source://actionview//lib/action_view/rendering.rb#32 def initialize; end # Override process to set up I18n proxy. # - # source://actionview/lib/action_view/rendering.rb#38 + # source://actionview//lib/action_view/rendering.rb#38 def process(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/rendering.rb#119 + # source://actionview//lib/action_view/rendering.rb#119 def render_to_body(options = T.unsafe(nil)); end # Returns the value of attribute rendered_format. # - # source://actionview/lib/action_view/rendering.rb#30 + # source://actionview//lib/action_view/rendering.rb#30 def rendered_format; end # An instance of a view class. The default view class is ActionView::Base. @@ -13943,15 +13380,15 @@ module ActionView::Rendering # # Override this method in a module to change the default behavior. # - # source://actionview/lib/action_view/rendering.rb#109 + # source://actionview//lib/action_view/rendering.rb#109 def view_context; end - # source://actionview/lib/action_view/rendering.rb#95 + # source://actionview//lib/action_view/rendering.rb#95 def view_context_class; end # Returns an object that is able to render templates. # - # source://actionview/lib/action_view/rendering.rb#114 + # source://actionview//lib/action_view/rendering.rb#114 def view_renderer; end private @@ -13959,80 +13396,80 @@ module ActionView::Rendering # Normalize args by converting render "foo" to render action: "foo" and # render "foo/bar" to render template: "foo/bar". # - # source://actionview/lib/action_view/rendering.rb#152 + # source://actionview//lib/action_view/rendering.rb#152 def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end # Normalize options. # - # source://actionview/lib/action_view/rendering.rb#176 + # source://actionview//lib/action_view/rendering.rb#176 def _normalize_options(options); end # Assign the rendered format to look up context. # - # source://actionview/lib/action_view/rendering.rb#145 + # source://actionview//lib/action_view/rendering.rb#145 def _process_format(format); end # Find and render a template based on the options given. # - # source://actionview/lib/action_view/rendering.rb#126 + # source://actionview//lib/action_view/rendering.rb#126 def _render_template(options); end end -# source://actionview/lib/action_view/rendering.rb#45 +# source://actionview//lib/action_view/rendering.rb#45 module ActionView::Rendering::ClassMethods - # source://actionview/lib/action_view/rendering.rb#49 + # source://actionview//lib/action_view/rendering.rb#49 def _helpers; end - # source://actionview/lib/action_view/rendering.rb#46 + # source://actionview//lib/action_view/rendering.rb#46 def _routes; end - # source://actionview/lib/action_view/rendering.rb#59 + # source://actionview//lib/action_view/rendering.rb#59 def build_view_context_class(klass, supports_path, routes, helpers); end - # source://actionview/lib/action_view/rendering.rb#76 + # source://actionview//lib/action_view/rendering.rb#76 def eager_load!; end # @return [Boolean] # - # source://actionview/lib/action_view/rendering.rb#52 + # source://actionview//lib/action_view/rendering.rb#52 def inherit_view_context_class?; end - # source://actionview/lib/action_view/rendering.rb#82 + # source://actionview//lib/action_view/rendering.rb#82 def view_context_class; end end # = Action View Resolver # -# source://actionview/lib/action_view/template/resolver.rb#12 +# source://actionview//lib/action_view/template/resolver.rb#12 class ActionView::Resolver include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - # source://actionview/lib/action_view/template/resolver.rb#72 + # source://actionview//lib/action_view/template/resolver.rb#72 def all_template_paths; end - # source://actionview/lib/action_view/template/resolver.rb#67 + # source://actionview//lib/action_view/template/resolver.rb#67 def built_templates; end - # source://actionview/lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#53 def caching; end - # source://actionview/lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#53 def caching=(val); end - # source://actionview/lib/action_view/template/resolver.rb#82 + # source://actionview//lib/action_view/template/resolver.rb#82 def caching?(&block); end - # source://actionview/lib/action_view/template/resolver.rb#59 + # source://actionview//lib/action_view/template/resolver.rb#59 def clear_cache; end # Normalizes the arguments and passes it on to find_templates. # - # source://actionview/lib/action_view/template/resolver.rb#63 + # source://actionview//lib/action_view/template/resolver.rb#63 def find_all(name, prefix = T.unsafe(nil), partial = T.unsafe(nil), details = T.unsafe(nil), key = T.unsafe(nil), locals = T.unsafe(nil)); end private - # source://actionview/lib/action_view/template/resolver.rb#78 + # source://actionview//lib/action_view/template/resolver.rb#78 def _find_all(name, prefix, partial, details, key, locals); end # This is what child classes implement. No defaults are needed @@ -14041,70 +13478,84 @@ class ActionView::Resolver # # @raise [NotImplementedError] # - # source://actionview/lib/action_view/template/resolver.rb#87 + # source://actionview//lib/action_view/template/resolver.rb#87 def find_templates(name, prefix, partial, details, locals = T.unsafe(nil)); end class << self - # source://actionview/lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#53 def caching; end - # source://actionview/lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#53 def caching=(val); end - # source://actionview/lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#56 def caching?; end end end -# source://actionview/lib/action_view/template/resolver.rb#15 +# source://actionview//lib/action_view/template/resolver.rb#15 class ActionView::Resolver::PathParser - # source://actionview/lib/action_view/template/resolver.rb#18 + # source://actionview//lib/action_view/template/resolver.rb#18 def build_path_regex; end - # source://actionview/lib/action_view/template/resolver.rb#39 + # source://actionview//lib/action_view/template/resolver.rb#39 def parse(path); end end -# source://actionview/lib/action_view/template/resolver.rb#16 +# source://actionview//lib/action_view/template/resolver.rb#16 class ActionView::Resolver::PathParser::ParsedPath < ::Struct # Returns the value of attribute details # # @return [Object] the current value of details + # + # source://actionview//lib/action_view/template/resolver.rb#16 def details; end # Sets the attribute details # # @param value [Object] the value to set the attribute details to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/resolver.rb#16 def details=(_); end # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://actionview//lib/action_view/template/resolver.rb#16 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/resolver.rb#16 def path=(_); end class << self + # source://actionview//lib/action_view/template/resolver.rb#16 def [](*_arg0); end + + # source://actionview//lib/action_view/template/resolver.rb#16 def inspect; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def keyword_init?; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def members; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def new(*_arg0); end end end -# source://actionview/lib/action_view/routing_url_for.rb#6 +# source://actionview//lib/action_view/routing_url_for.rb#6 module ActionView::RoutingUrlFor include ::ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#99 - def default_url_options=(val); end - # Returns the URL for the set of +options+ provided. This takes the # same options as +url_for+ in Action Controller (see the # documentation for ActionDispatch::Routing::UrlFor#url_for). Note that by default @@ -14181,102 +13632,97 @@ module ActionView::RoutingUrlFor # # Specify absolute path with beginning slash # # => /users # - # source://actionview/lib/action_view/routing_url_for.rb#82 + # source://actionview//lib/action_view/routing_url_for.rb#82 def url_for(options = T.unsafe(nil)); end - # source://actionview/lib/action_view/routing_url_for.rb#124 + # source://actionview//lib/action_view/routing_url_for.rb#124 def url_options; end private - # source://actionview/lib/action_view/routing_url_for.rb#139 + # source://actionview//lib/action_view/routing_url_for.rb#139 def _generate_paths_by_default; end - # source://actionview/lib/action_view/routing_url_for.rb#130 + # source://actionview//lib/action_view/routing_url_for.rb#130 def _routes_context; end - # source://actionview/lib/action_view/routing_url_for.rb#143 + # source://actionview//lib/action_view/routing_url_for.rb#143 def ensure_only_path_option(options); end # @return [Boolean] # - # source://actionview/lib/action_view/routing_url_for.rb#134 + # source://actionview//lib/action_view/routing_url_for.rb#134 def optimize_routes_generation?; end - - class << self - # source://actionpack/7.1.5.1lib/action_dispatch/routing/url_for.rb#99 - def default_url_options=(val); end - end end -# source://actionview/lib/action_view/buffers.rb#108 +# source://actionview//lib/action_view/buffers.rb#108 class ActionView::StreamingBuffer # @return [StreamingBuffer] a new instance of StreamingBuffer # - # source://actionview/lib/action_view/buffers.rb#109 + # source://actionview//lib/action_view/buffers.rb#109 def initialize(block); end - # source://actionview/lib/action_view/buffers.rb#113 + # source://actionview//lib/action_view/buffers.rb#113 def <<(value); end - # source://actionview/lib/action_view/buffers.rb#113 + # source://actionview//lib/action_view/buffers.rb#119 def append=(value); end # Returns the value of attribute block. # - # source://actionview/lib/action_view/buffers.rb#147 + # source://actionview//lib/action_view/buffers.rb#147 def block; end - # source://actionview/lib/action_view/buffers.rb#126 + # source://actionview//lib/action_view/buffers.rb#126 def capture; end - # source://actionview/lib/action_view/buffers.rb#113 + # source://actionview//lib/action_view/buffers.rb#118 def concat(value); end - # source://actionview/lib/action_view/buffers.rb#139 + # source://actionview//lib/action_view/buffers.rb#139 def html_safe; end # @return [Boolean] # - # source://actionview/lib/action_view/buffers.rb#135 + # source://actionview//lib/action_view/buffers.rb#135 def html_safe?; end - # source://actionview/lib/action_view/buffers.rb#143 + # source://actionview//lib/action_view/buffers.rb#143 def raw; end - # source://actionview/lib/action_view/buffers.rb#121 + # source://actionview//lib/action_view/buffers.rb#124 def safe_append=(value); end - # source://actionview/lib/action_view/buffers.rb#121 + # source://actionview//lib/action_view/buffers.rb#121 def safe_concat(value); end end -# source://actionview/lib/action_view/flows.rb#30 +# source://actionview//lib/action_view/flows.rb#30 class ActionView::StreamingFlow < ::ActionView::OutputFlow # @return [StreamingFlow] a new instance of StreamingFlow # - # source://actionview/lib/action_view/flows.rb#31 + # source://actionview//lib/action_view/flows.rb#31 def initialize(view, fiber); end # Appends the contents for the given key. This is called # by providing and resuming back to the fiber, # if that's the key it's waiting for. # - # source://actionview/lib/action_view/flows.rb#65 + # source://actionview//lib/action_view/flows.rb#65 def append!(key, value); end # Try to get stored content. If the content # is not available and we're inside the layout fiber, # then it will begin waiting for the given key and yield. # - # source://actionview/lib/action_view/flows.rb#43 + # source://actionview//lib/action_view/flows.rb#43 def get(key); end private # @return [Boolean] # - # source://actionview/lib/action_view/flows.rb#71 + # source://actionview//lib/action_view/flows.rb#71 def inside_fiber?; end end @@ -14285,18 +13731,18 @@ end # * Support streaming from child templates, partials and so on. # * Rack::Cache needs to support streaming bodies # -# source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#13 +# source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#13 class ActionView::StreamingTemplateRenderer < ::ActionView::TemplateRenderer # For streaming, instead of rendering a given a template, we return a Body # object that responds to each. This object is initialized with a block # that knows how to render the template. # - # source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#45 + # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#45 def render_template(view, template, layout_name = T.unsafe(nil), locals = T.unsafe(nil)); end private - # source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#57 + # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#57 def delayed_render(buffer, template, layout, view, locals); end end @@ -14304,48 +13750,48 @@ end # It is initialized with a block that, when called, starts # rendering the template. # -# source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#14 +# source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#14 class ActionView::StreamingTemplateRenderer::Body # @return [Body] a new instance of Body # - # source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#15 + # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#15 def initialize(&start); end - # source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#19 + # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#19 def each(&block); end private # This is the same logging logic as in ShowExceptions middleware. # - # source://actionview/lib/action_view/renderer/streaming_template_renderer.rb#31 + # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#31 def log_error(exception); end end -# source://actionview/lib/action_view/template/error.rb#245 +# source://actionview//lib/action_view/template/error.rb#245 class ActionView::SyntaxErrorInTemplate < ::ActionView::Template::Error # @return [SyntaxErrorInTemplate] a new instance of SyntaxErrorInTemplate # - # source://actionview/lib/action_view/template/error.rb#246 + # source://actionview//lib/action_view/template/error.rb#246 def initialize(template, offending_code_string); end - # source://actionview/lib/action_view/template/error.rb#257 + # source://actionview//lib/action_view/template/error.rb#257 def annotated_source_code; end - # source://actionview/lib/action_view/template/error.rb#251 + # source://actionview//lib/action_view/template/error.rb#251 def message; end end # = Action View \Template # -# source://actionview/lib/action_view/template.rb#8 +# source://actionview//lib/action_view/template.rb#8 class ActionView::Template extend ::ActiveSupport::Autoload extend ::ActionView::Template::Handlers # @return [Template] a new instance of Template # - # source://actionview/lib/action_view/template.rb#186 + # source://actionview//lib/action_view/template.rb#186 def initialize(source, identifier, handler, locals:, format: T.unsafe(nil), variant: T.unsafe(nil), virtual_path: T.unsafe(nil)); end # This method is responsible for properly setting the encoding of the @@ -14358,44 +13804,44 @@ class ActionView::Template # before passing the source on to the template engine, leaving a # blank line in its stead. # - # source://actionview/lib/action_view/template.rb#298 + # source://actionview//lib/action_view/template.rb#298 def encode!; end # Returns the value of attribute format. # - # source://actionview/lib/action_view/template.rb#182 + # source://actionview//lib/action_view/template.rb#182 def format; end # Returns the value of attribute handler. # - # source://actionview/lib/action_view/template.rb#181 + # source://actionview//lib/action_view/template.rb#181 def handler; end # Returns the value of attribute identifier. # - # source://actionview/lib/action_view/template.rb#181 + # source://actionview//lib/action_view/template.rb#181 def identifier; end - # source://actionview/lib/action_view/template.rb#277 + # source://actionview//lib/action_view/template.rb#277 def inspect; end # The locals this template has been or will be compiled for, or nil if this # is a strict locals template. # - # source://actionview/lib/action_view/template.rb#210 + # source://actionview//lib/action_view/template.rb#210 def locals; end # Exceptions are marshalled when using the parallel test runner with DRb, so we need # to ensure that references to the template object can be marshalled as well. This means forgoing # the marshalling of the compiler mutex and instantiating that again on unmarshalling. # - # source://actionview/lib/action_view/template.rb#364 + # source://actionview//lib/action_view/template.rb#364 def marshal_dump; end - # source://actionview/lib/action_view/template.rb#368 + # source://actionview//lib/action_view/template.rb#368 def marshal_load(array); end - # source://actionview/lib/action_view/template.rb#373 + # source://actionview//lib/action_view/template.rb#373 def method_name; end # Render a template. If the template was not compiled yet, it is done @@ -14405,16 +13851,16 @@ class ActionView::Template # we use a bang in this instrumentation because you don't want to # consume this in production. This is only slow if it's being listened to. # - # source://actionview/lib/action_view/template.rb#248 + # source://actionview//lib/action_view/template.rb#248 def render(view, locals, buffer = T.unsafe(nil), implicit_locals: T.unsafe(nil), add_to_stack: T.unsafe(nil), &block); end - # source://actionview/lib/action_view/template.rb#273 + # source://actionview//lib/action_view/template.rb#273 def short_identifier; end - # source://actionview/lib/action_view/template.rb#281 + # source://actionview//lib/action_view/template.rb#281 def source; end - # source://actionview/lib/action_view/template.rb#218 + # source://actionview//lib/action_view/template.rb#218 def spot(location); end # This method is responsible for marking a template as having strict locals @@ -14427,14 +13873,14 @@ class ActionView::Template # Strict locals are useful for validating template arguments and for # specifying defaults. # - # source://actionview/lib/action_view/template.rb#343 + # source://actionview//lib/action_view/template.rb#343 def strict_locals!; end # Returns whether a template is using strict locals. # # @return [Boolean] # - # source://actionview/lib/action_view/template.rb#357 + # source://actionview//lib/action_view/template.rb#357 def strict_locals?; end # Returns whether the underlying handler supports streaming. If so, @@ -14442,31 +13888,31 @@ class ActionView::Template # # @return [Boolean] # - # source://actionview/lib/action_view/template.rb#238 + # source://actionview//lib/action_view/template.rb#238 def supports_streaming?; end # Translate an error location returned by ErrorHighlight to the correct # source location inside the template. # - # source://actionview/lib/action_view/template.rb#228 + # source://actionview//lib/action_view/template.rb#228 def translate_location(backtrace_location, spot); end - # source://actionview/lib/action_view/template.rb#269 + # source://actionview//lib/action_view/template.rb#269 def type; end # Returns the value of attribute variable. # - # source://actionview/lib/action_view/template.rb#182 + # source://actionview//lib/action_view/template.rb#182 def variable; end # Returns the value of attribute variant. # - # source://actionview/lib/action_view/template.rb#182 + # source://actionview//lib/action_view/template.rb#182 def variant; end # Returns the value of attribute virtual_path. # - # source://actionview/lib/action_view/template.rb#182 + # source://actionview//lib/action_view/template.rb#182 def virtual_path; end private @@ -14483,54 +13929,54 @@ class ActionView::Template # In general, this means that templates will be UTF-8 inside of Rails, # regardless of the original source encoding. # - # source://actionview/lib/action_view/template.rb#477 + # source://actionview//lib/action_view/template.rb#477 def compile(mod); end # Compile a template. This method ensures a template is compiled # just once and removes the source after it is compiled. # - # source://actionview/lib/action_view/template.rb#395 + # source://actionview//lib/action_view/template.rb#395 def compile!(view); end # This method compiles the source of the template. The compilation of templates # involves setting strict_locals! if applicable, encoding the template, and setting # frozen string literal. # - # source://actionview/lib/action_view/template.rb#420 + # source://actionview//lib/action_view/template.rb#420 def compiled_source; end - # source://actionview/lib/action_view/template.rb#382 + # source://actionview//lib/action_view/template.rb#382 def find_node_by_id(node, node_id); end - # source://actionview/lib/action_view/template.rb#525 + # source://actionview//lib/action_view/template.rb#525 def handle_render_error(view, e); end - # source://actionview/lib/action_view/template.rb#547 + # source://actionview//lib/action_view/template.rb#547 def identifier_method_name; end - # source://actionview/lib/action_view/template.rb#551 + # source://actionview//lib/action_view/template.rb#551 def instrument(action, &block); end - # source://actionview/lib/action_view/template.rb#559 + # source://actionview//lib/action_view/template.rb#559 def instrument_payload; end - # source://actionview/lib/action_view/template.rb#555 + # source://actionview//lib/action_view/template.rb#555 def instrument_render_template(&block); end - # source://actionview/lib/action_view/template.rb#534 + # source://actionview//lib/action_view/template.rb#534 def locals_code; end - # source://actionview/lib/action_view/template.rb#517 + # source://actionview//lib/action_view/template.rb#517 def offset; end class << self - # source://actionview/lib/action_view/template.rb#167 + # source://actionview//lib/action_view/template.rb#167 def frozen_string_literal; end - # source://actionview/lib/action_view/template.rb#167 + # source://actionview//lib/action_view/template.rb#167 def frozen_string_literal=(_arg0); end - # source://actionview/lib/action_view/template.rb#171 + # source://actionview//lib/action_view/template.rb#171 def mime_types_implementation=(implementation); end end end @@ -14539,95 +13985,95 @@ end # fails. This exception then gathers a bunch of intimate details and uses it to report a # precise exception message. # -# source://actionview/lib/action_view/template/error.rb#154 +# source://actionview//lib/action_view/template/error.rb#154 class ActionView::Template::Error < ::ActionView::ActionViewError # @return [Error] a new instance of Error # - # source://actionview/lib/action_view/template/error.rb#162 + # source://actionview//lib/action_view/template/error.rb#162 def initialize(template); end - # source://actionview/lib/action_view/template/error.rb#220 + # source://actionview//lib/action_view/template/error.rb#220 def annotated_source_code; end - # source://actionview/lib/action_view/template/error.rb#171 + # source://actionview//lib/action_view/template/error.rb#171 def backtrace; end - # source://actionview/lib/action_view/template/error.rb#175 + # source://actionview//lib/action_view/template/error.rb#175 def backtrace_locations; end # Override to prevent #cause resetting during re-raise. # - # source://actionview/lib/action_view/template/error.rb#158 + # source://actionview//lib/action_view/template/error.rb#158 def cause; end - # source://actionview/lib/action_view/template/error.rb#179 + # source://actionview//lib/action_view/template/error.rb#179 def file_name; end - # source://actionview/lib/action_view/template/error.rb#212 + # source://actionview//lib/action_view/template/error.rb#212 def line_number; end - # source://actionview/lib/action_view/template/error.rb#192 + # source://actionview//lib/action_view/template/error.rb#192 def source_extract(indentation = T.unsafe(nil)); end - # source://actionview/lib/action_view/template/error.rb#183 + # source://actionview//lib/action_view/template/error.rb#183 def sub_template_message; end - # source://actionview/lib/action_view/template/error.rb#207 + # source://actionview//lib/action_view/template/error.rb#207 def sub_template_of(template_path); end # Returns the value of attribute template. # - # source://actionview/lib/action_view/template/error.rb#160 + # source://actionview//lib/action_view/template/error.rb#160 def template; end private - # source://actionview/lib/action_view/template/error.rb#233 + # source://actionview//lib/action_view/template/error.rb#233 def formatted_code_for(source_code, line_counter, indent); end - # source://actionview/lib/action_view/template/error.rb#225 + # source://actionview//lib/action_view/template/error.rb#225 def source_location; end end -# source://actionview/lib/action_view/template/error.rb#155 +# source://actionview//lib/action_view/template/error.rb#155 ActionView::Template::Error::SOURCE_CODE_RADIUS = T.let(T.unsafe(nil), Integer) # = Action View HTML Template # -# source://actionview/lib/action_view/template/html.rb#6 +# source://actionview//lib/action_view/template/html.rb#6 class ActionView::Template::HTML # @return [HTML] a new instance of HTML # - # source://actionview/lib/action_view/template/html.rb#9 + # source://actionview//lib/action_view/template/html.rb#9 def initialize(string, type); end - # source://actionview/lib/action_view/template/html.rb#28 + # source://actionview//lib/action_view/template/html.rb#28 def format; end - # source://actionview/lib/action_view/template/html.rb#14 + # source://actionview//lib/action_view/template/html.rb#14 def identifier; end - # source://actionview/lib/action_view/template/html.rb#14 + # source://actionview//lib/action_view/template/html.rb#18 def inspect; end - # source://actionview/lib/action_view/template/html.rb#24 + # source://actionview//lib/action_view/template/html.rb#24 def render(*args); end - # source://actionview/lib/action_view/template/html.rb#20 + # source://actionview//lib/action_view/template/html.rb#20 def to_str; end - # source://actionview/lib/action_view/template/html.rb#7 + # source://actionview//lib/action_view/template/html.rb#7 def type; end end # = Action View Template Handlers # -# source://actionview/lib/action_view/template/handlers.rb#6 +# source://actionview//lib/action_view/template/handlers.rb#6 module ActionView::Template::Handlers - # source://actionview/lib/action_view/template/handlers.rb#61 + # source://actionview//lib/action_view/template/handlers.rb#61 def handler_for_extension(extension); end - # source://actionview/lib/action_view/template/handlers.rb#56 + # source://actionview//lib/action_view/template/handlers.rb#56 def register_default_template_handler(extension, klass); end # Register an object that knows how to handle template files with the given @@ -14637,482 +14083,482 @@ module ActionView::Template::Handlers # # @raise [ArgumentError] # - # source://actionview/lib/action_view/template/handlers.rb#31 + # source://actionview//lib/action_view/template/handlers.rb#31 def register_template_handler(*extensions, handler); end - # source://actionview/lib/action_view/template/handlers.rb#52 + # source://actionview//lib/action_view/template/handlers.rb#52 def registered_template_handler(extension); end - # source://actionview/lib/action_view/template/handlers.rb#48 + # source://actionview//lib/action_view/template/handlers.rb#48 def template_handler_extensions; end # Opposite to register_template_handler. # - # source://actionview/lib/action_view/template/handlers.rb#40 + # source://actionview//lib/action_view/template/handlers.rb#40 def unregister_template_handler(*extensions); end class << self # @private # - # source://actionview/lib/action_view/template/handlers.rb#12 + # source://actionview//lib/action_view/template/handlers.rb#12 def extended(base); end - # source://actionview/lib/action_view/template/handlers.rb#23 + # source://actionview//lib/action_view/template/handlers.rb#23 def extensions; end end end -# source://actionview/lib/action_view/template/handlers/builder.rb#5 +# source://actionview//lib/action_view/template/handlers/builder.rb#5 class ActionView::Template::Handlers::Builder - # source://actionview/lib/action_view/template/handlers/builder.rb#8 + # source://actionview//lib/action_view/template/handlers/builder.rb#8 def call(template, source); end - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format; end - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format=(_arg0); end - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format?; end private - # source://actionview/lib/action_view/template/handlers/builder.rb#17 + # source://actionview//lib/action_view/template/handlers/builder.rb#17 def require_engine; end class << self - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format; end - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format=(value); end - # source://actionview/lib/action_view/template/handlers/builder.rb#6 + # source://actionview//lib/action_view/template/handlers/builder.rb#6 def default_format?; end end end -# source://actionview/lib/action_view/template/handlers/erb.rb#9 +# source://actionview//lib/action_view/template/handlers/erb.rb#9 class ActionView::Template::Handlers::ERB - # source://actionview/lib/action_view/template/handlers/erb.rb#61 + # source://actionview//lib/action_view/template/handlers/erb.rb#61 def call(template, source); end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation; end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation=(_arg0); end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode; end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode=(_arg0); end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list; end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list=(_arg0); end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list?; end # @return [Boolean] # - # source://actionview/lib/action_view/template/handlers/erb.rb#37 + # source://actionview//lib/action_view/template/handlers/erb.rb#37 def handles_encoding?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines; end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines=(_arg0); end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines?; end # @return [Boolean] # - # source://actionview/lib/action_view/template/handlers/erb.rb#33 + # source://actionview//lib/action_view/template/handlers/erb.rb#33 def supports_streaming?; end # Translate an error location returned by ErrorHighlight to the correct # source location inside the template. # - # source://actionview/lib/action_view/template/handlers/erb.rb#43 + # source://actionview//lib/action_view/template/handlers/erb.rb#43 def translate_location(spot, backtrace_location, source); end private - # source://actionview/lib/action_view/template/handlers/erb.rb#108 + # source://actionview//lib/action_view/template/handlers/erb.rb#108 def find_offset(compiled, source_tokens, error_column); end # @raise [WrongEncodingError] # - # source://actionview/lib/action_view/template/handlers/erb.rb#93 + # source://actionview//lib/action_view/template/handlers/erb.rb#93 def valid_encoding(string, encoding); end class << self - # source://actionview/lib/action_view/template/handlers/erb.rb#29 + # source://actionview//lib/action_view/template/handlers/erb.rb#29 def call(template, source); end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation; end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation=(value); end - # source://actionview/lib/action_view/template/handlers/erb.rb#17 + # source://actionview//lib/action_view/template/handlers/erb.rb#17 def erb_implementation?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode; end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode=(value); end - # source://actionview/lib/action_view/template/handlers/erb.rb#14 + # source://actionview//lib/action_view/template/handlers/erb.rb#14 def erb_trim_mode?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list; end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list=(value); end - # source://actionview/lib/action_view/template/handlers/erb.rb#20 + # source://actionview//lib/action_view/template/handlers/erb.rb#20 def escape_ignore_list?; end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines; end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines=(value); end - # source://actionview/lib/action_view/template/handlers/erb.rb#23 + # source://actionview//lib/action_view/template/handlers/erb.rb#23 def strip_trailing_newlines?; end end end -# source://actionview/lib/action_view/template/handlers/erb.rb#25 +# source://actionview//lib/action_view/template/handlers/erb.rb#25 ActionView::Template::Handlers::ERB::ENCODING_TAG = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/template/handlers/erb/erubi.rb#9 +# source://actionview//lib/action_view/template/handlers/erb/erubi.rb#9 class ActionView::Template::Handlers::ERB::Erubi < ::Erubi::Engine # @return [Erubi] a new instance of Erubi # - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#11 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#11 def initialize(input, properties = T.unsafe(nil)); end private - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#65 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#65 def add_code(code); end - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#47 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#47 def add_expression(indicator, code); end - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#70 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#70 def add_postamble(_); end - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#30 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#30 def add_text(text); end - # source://actionview/lib/action_view/template/handlers/erb/erubi.rb#75 + # source://actionview//lib/action_view/template/handlers/erb/erubi.rb#75 def flush_newline_if_pending(src); end end -# source://actionview/lib/action_view/template/handlers/erb/erubi.rb#45 +# source://actionview//lib/action_view/template/handlers/erb/erubi.rb#45 ActionView::Template::Handlers::ERB::Erubi::BLOCK_EXPR = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/template/handlers/erb.rb#27 +# source://actionview//lib/action_view/template/handlers/erb.rb#27 class ActionView::Template::Handlers::ERB::LocationParsingError < ::StandardError; end -# source://actionview/lib/action_view/template/handlers/html.rb#5 +# source://actionview//lib/action_view/template/handlers/html.rb#5 class ActionView::Template::Handlers::Html < ::ActionView::Template::Handlers::Raw - # source://actionview/lib/action_view/template/handlers/html.rb#6 + # source://actionview//lib/action_view/template/handlers/html.rb#6 def call(template, source); end end -# source://actionview/lib/action_view/template/handlers/raw.rb#5 +# source://actionview//lib/action_view/template/handlers/raw.rb#5 class ActionView::Template::Handlers::Raw - # source://actionview/lib/action_view/template/handlers/raw.rb#6 + # source://actionview//lib/action_view/template/handlers/raw.rb#6 def call(template, source); end end -# source://actionview/lib/action_view/template/inline.rb#7 +# source://actionview//lib/action_view/template/inline.rb#7 class ActionView::Template::Inline < ::ActionView::Template - # source://actionview/lib/action_view/template/inline.rb#16 + # source://actionview//lib/action_view/template/inline.rb#16 def compile(mod); end end # This finalizer is needed (and exactly with a proc inside another proc) # otherwise templates leak in development. # -# source://actionview/lib/action_view/template/inline.rb#8 +# source://actionview//lib/action_view/template/inline.rb#8 ActionView::Template::Inline::Finalizer = T.let(T.unsafe(nil), Proc) -# source://actionview/lib/action_view/template.rb#285 +# source://actionview//lib/action_view/template.rb#285 ActionView::Template::LEADING_ENCODING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionview/lib/action_view/template.rb#184 +# source://actionview//lib/action_view/template.rb#184 ActionView::Template::NONE = T.let(T.unsafe(nil), Object) # = Action View RawFile Template # -# source://actionview/lib/action_view/template/raw_file.rb#6 +# source://actionview//lib/action_view/template/raw_file.rb#6 class ActionView::Template::RawFile # @return [RawFile] a new instance of RawFile # - # source://actionview/lib/action_view/template/raw_file.rb#9 + # source://actionview//lib/action_view/template/raw_file.rb#9 def initialize(filename); end - # source://actionview/lib/action_view/template/raw_file.rb#7 + # source://actionview//lib/action_view/template/raw_file.rb#7 def format; end - # source://actionview/lib/action_view/template/raw_file.rb#7 + # source://actionview//lib/action_view/template/raw_file.rb#7 def format=(_arg0); end - # source://actionview/lib/action_view/template/raw_file.rb#16 + # source://actionview//lib/action_view/template/raw_file.rb#16 def identifier; end - # source://actionview/lib/action_view/template/raw_file.rb#20 + # source://actionview//lib/action_view/template/raw_file.rb#20 def render(*args); end - # source://actionview/lib/action_view/template/raw_file.rb#7 + # source://actionview//lib/action_view/template/raw_file.rb#7 def type; end - # source://actionview/lib/action_view/template/raw_file.rb#7 + # source://actionview//lib/action_view/template/raw_file.rb#7 def type=(_arg0); end end # = Action View Renderable Template for objects that respond to #render_in # -# source://actionview/lib/action_view/template/renderable.rb#6 +# source://actionview//lib/action_view/template/renderable.rb#6 class ActionView::Template::Renderable # @return [Renderable] a new instance of Renderable # - # source://actionview/lib/action_view/template/renderable.rb#7 + # source://actionview//lib/action_view/template/renderable.rb#7 def initialize(renderable); end - # source://actionview/lib/action_view/template/renderable.rb#19 + # source://actionview//lib/action_view/template/renderable.rb#19 def format; end - # source://actionview/lib/action_view/template/renderable.rb#11 + # source://actionview//lib/action_view/template/renderable.rb#11 def identifier; end - # source://actionview/lib/action_view/template/renderable.rb#15 + # source://actionview//lib/action_view/template/renderable.rb#15 def render(context, *args); end end -# source://actionview/lib/action_view/template.rb#11 +# source://actionview//lib/action_view/template.rb#11 ActionView::Template::STRICT_LOCALS_REGEX = T.let(T.unsafe(nil), Regexp) # SimpleType is mostly just a stub implementation for when Action View # is used without Action Dispatch. # -# source://actionview/lib/action_view/template/types.rb#9 +# source://actionview//lib/action_view/template/types.rb#9 class ActionView::Template::SimpleType # @return [SimpleType] a new instance of SimpleType # - # source://actionview/lib/action_view/template/types.rb#29 + # source://actionview//lib/action_view/template/types.rb#29 def initialize(symbol); end - # source://actionview/lib/action_view/template/types.rb#43 + # source://actionview//lib/action_view/template/types.rb#43 def ==(type); end - # source://actionview/lib/action_view/template/types.rb#38 + # source://actionview//lib/action_view/template/types.rb#38 def ref; end # Returns the value of attribute symbol. # - # source://actionview/lib/action_view/template/types.rb#27 + # source://actionview//lib/action_view/template/types.rb#27 def symbol; end - # source://actionview/lib/action_view/template/types.rb#33 + # source://actionview//lib/action_view/template/types.rb#33 def to_s; end - # source://actionview/lib/action_view/template/types.rb#33 + # source://actionview//lib/action_view/template/types.rb#36 def to_str; end - # source://actionview/lib/action_view/template/types.rb#38 + # source://actionview//lib/action_view/template/types.rb#41 def to_sym; end class << self - # source://actionview/lib/action_view/template/types.rb#14 + # source://actionview//lib/action_view/template/types.rb#14 def [](type); end # Returns the value of attribute symbols. # - # source://actionview/lib/action_view/template/types.rb#12 + # source://actionview//lib/action_view/template/types.rb#12 def symbols; end # :nodoc # # @return [Boolean] # - # source://actionview/lib/action_view/template/types.rb#22 + # source://actionview//lib/action_view/template/types.rb#22 def valid_symbols?(symbols); end end end -# source://actionview/lib/action_view/template/sources.rb#5 +# source://actionview//lib/action_view/template/sources.rb#5 module ActionView::Template::Sources extend ::ActiveSupport::Autoload end -# source://actionview/lib/action_view/template/sources/file.rb#6 +# source://actionview//lib/action_view/template/sources/file.rb#6 class ActionView::Template::Sources::File # @return [File] a new instance of File # - # source://actionview/lib/action_view/template/sources/file.rb#7 + # source://actionview//lib/action_view/template/sources/file.rb#7 def initialize(filename); end - # source://actionview/lib/action_view/template/sources/file.rb#11 + # source://actionview//lib/action_view/template/sources/file.rb#11 def to_s; end end # = Action View Text Template # -# source://actionview/lib/action_view/template/text.rb#6 +# source://actionview//lib/action_view/template/text.rb#6 class ActionView::Template::Text # @return [Text] a new instance of Text # - # source://actionview/lib/action_view/template/text.rb#9 + # source://actionview//lib/action_view/template/text.rb#9 def initialize(string); end - # source://actionview/lib/action_view/template/text.rb#27 + # source://actionview//lib/action_view/template/text.rb#27 def format; end - # source://actionview/lib/action_view/template/text.rb#13 + # source://actionview//lib/action_view/template/text.rb#13 def identifier; end - # source://actionview/lib/action_view/template/text.rb#13 + # source://actionview//lib/action_view/template/text.rb#17 def inspect; end - # source://actionview/lib/action_view/template/text.rb#23 + # source://actionview//lib/action_view/template/text.rb#23 def render(*args); end - # source://actionview/lib/action_view/template/text.rb#19 + # source://actionview//lib/action_view/template/text.rb#19 def to_str; end - # source://actionview/lib/action_view/template/text.rb#7 + # source://actionview//lib/action_view/template/text.rb#7 def type; end - # source://actionview/lib/action_view/template/text.rb#7 + # source://actionview//lib/action_view/template/text.rb#7 def type=(_arg0); end end -# source://actionview/lib/action_view/template.rb#176 +# source://actionview//lib/action_view/template.rb#176 ActionView::Template::Types = Mime -# source://actionview/lib/action_view/template_details.rb#4 +# source://actionview//lib/action_view/template_details.rb#4 class ActionView::TemplateDetails # @return [TemplateDetails] a new instance of TemplateDetails # - # source://actionview/lib/action_view/template_details.rb#35 + # source://actionview//lib/action_view/template_details.rb#35 def initialize(locale, handler, format, variant); end # Returns the value of attribute format. # - # source://actionview/lib/action_view/template_details.rb#33 + # source://actionview//lib/action_view/template_details.rb#33 def format; end - # source://actionview/lib/action_view/template_details.rb#62 + # source://actionview//lib/action_view/template_details.rb#62 def format_or_default; end # Returns the value of attribute handler. # - # source://actionview/lib/action_view/template_details.rb#33 + # source://actionview//lib/action_view/template_details.rb#33 def handler; end - # source://actionview/lib/action_view/template_details.rb#58 + # source://actionview//lib/action_view/template_details.rb#58 def handler_class; end # Returns the value of attribute locale. # - # source://actionview/lib/action_view/template_details.rb#33 + # source://actionview//lib/action_view/template_details.rb#33 def locale; end # @return [Boolean] # - # source://actionview/lib/action_view/template_details.rb#42 + # source://actionview//lib/action_view/template_details.rb#42 def matches?(requested); end - # source://actionview/lib/action_view/template_details.rb#49 + # source://actionview//lib/action_view/template_details.rb#49 def sort_key_for(requested); end # Returns the value of attribute variant. # - # source://actionview/lib/action_view/template_details.rb#33 + # source://actionview//lib/action_view/template_details.rb#33 def variant; end end -# source://actionview/lib/action_view/template_details.rb#5 +# source://actionview//lib/action_view/template_details.rb#5 class ActionView::TemplateDetails::Requested # @return [Requested] a new instance of Requested # - # source://actionview/lib/action_view/template_details.rb#11 + # source://actionview//lib/action_view/template_details.rb#11 def initialize(locale:, handlers:, formats:, variants:); end # Returns the value of attribute formats. # - # source://actionview/lib/action_view/template_details.rb#6 + # source://actionview//lib/action_view/template_details.rb#6 def formats; end # Returns the value of attribute formats_idx. # - # source://actionview/lib/action_view/template_details.rb#7 + # source://actionview//lib/action_view/template_details.rb#7 def formats_idx; end # Returns the value of attribute handlers. # - # source://actionview/lib/action_view/template_details.rb#6 + # source://actionview//lib/action_view/template_details.rb#6 def handlers; end # Returns the value of attribute handlers_idx. # - # source://actionview/lib/action_view/template_details.rb#7 + # source://actionview//lib/action_view/template_details.rb#7 def handlers_idx; end # Returns the value of attribute locale. # - # source://actionview/lib/action_view/template_details.rb#6 + # source://actionview//lib/action_view/template_details.rb#6 def locale; end # Returns the value of attribute locale_idx. # - # source://actionview/lib/action_view/template_details.rb#7 + # source://actionview//lib/action_view/template_details.rb#7 def locale_idx; end # Returns the value of attribute variants. # - # source://actionview/lib/action_view/template_details.rb#6 + # source://actionview//lib/action_view/template_details.rb#6 def variants; end # Returns the value of attribute variants_idx. # - # source://actionview/lib/action_view/template_details.rb#7 + # source://actionview//lib/action_view/template_details.rb#7 def variants_idx; end private - # source://actionview/lib/action_view/template_details.rb#28 + # source://actionview//lib/action_view/template_details.rb#28 def build_idx_hash(arr); end end -# source://actionview/lib/action_view/template_details.rb#9 +# source://actionview//lib/action_view/template_details.rb#9 ActionView::TemplateDetails::Requested::ANY_HASH = T.let(T.unsafe(nil), Hash) -# source://actionview/lib/action_view/template/error.rb#243 +# source://actionview//lib/action_view/template/error.rb#243 ActionView::TemplateError = ActionView::Template::Error # = Action View \TemplatePath @@ -15123,113 +14569,113 @@ ActionView::TemplateError = ActionView::Template::Error # TemplatePath makes it convenient to convert between separate name, prefix, # partial arguments and the virtual path. # -# source://actionview/lib/action_view/template_path.rb#11 +# source://actionview//lib/action_view/template_path.rb#11 class ActionView::TemplatePath # @return [TemplatePath] a new instance of TemplatePath # - # source://actionview/lib/action_view/template_path.rb#47 + # source://actionview//lib/action_view/template_path.rb#47 def initialize(name, prefix, partial, virtual); end # @return [Boolean] # - # source://actionview/lib/action_view/template_path.rb#61 + # source://actionview//lib/action_view/template_path.rb#64 def ==(other); end # @return [Boolean] # - # source://actionview/lib/action_view/template_path.rb#61 + # source://actionview//lib/action_view/template_path.rb#61 def eql?(other); end - # source://actionview/lib/action_view/template_path.rb#57 + # source://actionview//lib/action_view/template_path.rb#57 def hash; end # Returns the value of attribute name. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#12 def name; end # Returns the value of attribute partial. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#12 def partial; end # Returns the value of attribute partial. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#13 def partial?; end # Returns the value of attribute prefix. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#12 def prefix; end # Returns the value of attribute virtual. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#55 def to_s; end # Returns the value of attribute virtual. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#54 def to_str; end # Returns the value of attribute virtual. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#12 def virtual; end # Returns the value of attribute virtual. # - # source://actionview/lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#14 def virtual_path; end class << self # Convert name, prefix, and partial into a TemplatePath # - # source://actionview/lib/action_view/template_path.rb#43 + # source://actionview//lib/action_view/template_path.rb#43 def build(name, prefix, partial); end # Build a TemplatePath form a virtual path # - # source://actionview/lib/action_view/template_path.rb#28 + # source://actionview//lib/action_view/template_path.rb#28 def parse(virtual); end # Convert name, prefix, and partial into a virtual path string # - # source://actionview/lib/action_view/template_path.rb#17 + # source://actionview//lib/action_view/template_path.rb#17 def virtual(name, prefix, partial); end end end -# source://actionview/lib/action_view/renderer/template_renderer.rb#4 +# source://actionview//lib/action_view/renderer/template_renderer.rb#4 class ActionView::TemplateRenderer < ::ActionView::AbstractRenderer - # source://actionview/lib/action_view/renderer/template_renderer.rb#5 + # source://actionview//lib/action_view/renderer/template_renderer.rb#5 def render(context, options); end private # Determine the template to be rendered using the given options. # - # source://actionview/lib/action_view/renderer/template_renderer.rb#16 + # source://actionview//lib/action_view/renderer/template_renderer.rb#16 def determine_template(options); end # This is the method which actually finds the layout using details in the lookup # context object. If no layout is found, it checks if at least a layout with # the given name exists across all details before raising the error. # - # source://actionview/lib/action_view/renderer/template_renderer.rb#88 + # source://actionview//lib/action_view/renderer/template_renderer.rb#88 def find_layout(layout, keys, formats); end # Renders the given template. A string representing the layout can be # supplied as well. # - # source://actionview/lib/action_view/renderer/template_renderer.rb#58 + # source://actionview//lib/action_view/renderer/template_renderer.rb#58 def render_template(view, template, layout_name, locals); end - # source://actionview/lib/action_view/renderer/template_renderer.rb#71 + # source://actionview//lib/action_view/renderer/template_renderer.rb#71 def render_with_layout(view, template, path, locals); end - # source://actionview/lib/action_view/renderer/template_renderer.rb#92 + # source://actionview//lib/action_view/renderer/template_renderer.rb#92 def resolve_layout(layout, keys, formats); end end @@ -15238,7 +14684,7 @@ end # Read more about ActionView::TestCase in {Testing Rails Applications}[https://guides.rubyonrails.org/testing.html#testing-view-partials] # in the guides. # -# source://actionview/lib/action_view/test_case.rb#15 +# source://actionview//lib/action_view/test_case.rb#15 class ActionView::TestCase < ::ActiveSupport::TestCase include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -15293,55 +14739,55 @@ class ActionView::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionView::TestCase::Behavior::ClassMethods - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods=(_arg0); end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods?; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation=(val); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://actionview//lib/action_view/test_case.rb#203 def __callbacks; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods=(value); end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods?; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#16 + # source://actionview//lib/action_view/test_case.rb#449 def _helpers; end - # source://actionview/lib/action_view/test_case.rb#201 + # source://actionview//lib/action_view/test_case.rb#201 def content_class; end - # source://actionview/lib/action_view/test_case.rb#201 + # source://actionview//lib/action_view/test_case.rb#201 def content_class=(value); end - # source://actionview/lib/action_view/test_case.rb#201 + # source://actionview//lib/action_view/test_case.rb#201 def content_class?; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation; end - # source://actionview/lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation=(val); end end end -# source://actionview/lib/action_view/test_case.rb#45 +# source://actionview//lib/action_view/test_case.rb#45 module ActionView::TestCase::Behavior include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::TestProcess @@ -15427,98 +14873,98 @@ module ActionView::TestCase::Behavior # assert_pattern { rendered.json => { title: "Hello, world" } } # end # - # source://actionview/lib/action_view/test_case.rb#298 + # source://actionview//lib/action_view/test_case.rb#298 def _routes; end - # source://actionview/lib/action_view/test_case.rb#233 + # source://actionview//lib/action_view/test_case.rb#233 def config; end # Returns the value of attribute controller. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def controller; end # Sets the attribute controller # # @param value the value to set the attribute controller to. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def controller=(_arg0); end - # source://actionview/lib/action_view/test_case.rb#62 + # source://actionview//lib/action_view/test_case.rb#62 def lookup_context(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute output_buffer. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def output_buffer; end # Sets the attribute output_buffer # # @param value the value to set the attribute output_buffer to. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def output_buffer=(_arg0); end - # source://actionview/lib/action_view/test_case.rb#237 + # source://actionview//lib/action_view/test_case.rb#237 def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end # Returns the value of attribute rendered. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def rendered; end # Sets the attribute rendered # # @param value the value to set the attribute rendered to. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def rendered=(_arg0); end - # source://actionview/lib/action_view/test_case.rb#243 + # source://actionview//lib/action_view/test_case.rb#243 def rendered_views; end # Returns the value of attribute request. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def request; end # Sets the attribute request # # @param value the value to set the attribute request to. # - # source://actionview/lib/action_view/test_case.rb#63 + # source://actionview//lib/action_view/test_case.rb#63 def request=(_arg0); end - # source://actionview/lib/action_view/test_case.rb#221 + # source://actionview//lib/action_view/test_case.rb#221 def setup_with_controller; end private - # source://actionview/lib/action_view/test_case.rb#405 + # source://actionview//lib/action_view/test_case.rb#405 def _user_defined_ivars; end # The instance of ActionView::Base that is used by +render+. # - # source://actionview/lib/action_view/test_case.rb#357 + # source://actionview//lib/action_view/test_case.rb#368 def _view; end # Need to experiment if this priority is the best one: rendered => output_buffer # - # source://actionview/lib/action_view/test_case.rb#333 + # source://actionview//lib/action_view/test_case.rb#333 def document_root_element; end - # source://actionview/lib/action_view/test_case.rb#419 + # source://actionview//lib/action_view/test_case.rb#419 def method_missing(selector, *args, **_arg2); end # @return [Boolean] # - # source://actionview/lib/action_view/test_case.rb#436 + # source://actionview//lib/action_view/test_case.rb#436 def respond_to_missing?(name, include_private = T.unsafe(nil)); end # The instance of ActionView::Base that is used by +render+. # - # source://actionview/lib/action_view/test_case.rb#357 + # source://actionview//lib/action_view/test_case.rb#357 def view; end # Returns a Hash of instance variables and their values, as defined by @@ -15526,7 +14972,7 @@ module ActionView::TestCase::Behavior # rendered. This is generally intended for internal use and extension # frameworks. # - # source://actionview/lib/action_view/test_case.rb#413 + # source://actionview//lib/action_view/test_case.rb#413 def view_assigns; end module GeneratedClassMethods @@ -15545,28 +14991,28 @@ module ActionView::TestCase::Behavior end end -# source://actionview/lib/action_view/test_case.rb#65 +# source://actionview//lib/action_view/test_case.rb#65 module ActionView::TestCase::Behavior::ClassMethods - # source://actionview/lib/action_view/test_case.rb#164 + # source://actionview//lib/action_view/test_case.rb#164 def determine_default_helper_class(name); end - # source://actionview/lib/action_view/test_case.rb#184 + # source://actionview//lib/action_view/test_case.rb#184 def helper_class; end # Sets the attribute helper_class # # @param value the value to set the attribute helper_class to. # - # source://actionview/lib/action_view/test_case.rb#182 + # source://actionview//lib/action_view/test_case.rb#182 def helper_class=(_arg0); end - # source://actionview/lib/action_view/test_case.rb#170 + # source://actionview//lib/action_view/test_case.rb#170 def helper_method(*methods); end - # source://actionview/lib/action_view/test_case.rb#66 + # source://actionview//lib/action_view/test_case.rb#66 def inherited(descendant); end - # source://actionview/lib/action_view/test_case.rb#188 + # source://actionview//lib/action_view/test_case.rb#188 def new(*_arg0); end # Register a callable to parse rendered content for a given template @@ -15639,217 +15085,217 @@ module ActionView::TestCase::Behavior::ClassMethods # rendered.html.assert_css "h1", text: "Hello, world" # end # - # source://actionview/lib/action_view/test_case.rb#148 + # source://actionview//lib/action_view/test_case.rb#148 def register_parser(format, callable = T.unsafe(nil), &block); end - # source://actionview/lib/action_view/test_case.rb#155 + # source://actionview//lib/action_view/test_case.rb#155 def tests(helper_class); end private - # source://actionview/lib/action_view/test_case.rb#194 + # source://actionview//lib/action_view/test_case.rb#194 def include_helper_modules!; end end -# source://actionview/lib/action_view/test_case.rb#370 +# source://actionview//lib/action_view/test_case.rb#370 ActionView::TestCase::Behavior::INTERNAL_IVARS = T.let(T.unsafe(nil), Array) -# source://actionview/lib/action_view/test_case.rb#337 +# source://actionview//lib/action_view/test_case.rb#337 module ActionView::TestCase::Behavior::Locals - # source://actionview/lib/action_view/test_case.rb#340 + # source://actionview//lib/action_view/test_case.rb#340 def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil)); end # Returns the value of attribute rendered_views. # - # source://actionview/lib/action_view/test_case.rb#338 + # source://actionview//lib/action_view/test_case.rb#338 def rendered_views; end # Sets the attribute rendered_views # # @param value the value to set the attribute rendered_views to. # - # source://actionview/lib/action_view/test_case.rb#338 + # source://actionview//lib/action_view/test_case.rb#338 def rendered_views=(_arg0); end end -# source://actionview/lib/action_view/test_case.rb#302 +# source://actionview//lib/action_view/test_case.rb#302 class ActionView::TestCase::Behavior::RenderedViewContent < ::String - # source://actionview/lib/action_view/test_case.rb#150 + # source://actionview//lib/action_view/test_case.rb#150 def html; end - # source://actionview/lib/action_view/test_case.rb#150 + # source://actionview//lib/action_view/test_case.rb#150 def json; end end # Need to experiment if this priority is the best one: rendered => output_buffer # -# source://actionview/lib/action_view/test_case.rb#306 +# source://actionview//lib/action_view/test_case.rb#306 class ActionView::TestCase::Behavior::RenderedViewsCollection # @return [RenderedViewsCollection] a new instance of RenderedViewsCollection # - # source://actionview/lib/action_view/test_case.rb#307 + # source://actionview//lib/action_view/test_case.rb#307 def initialize; end - # source://actionview/lib/action_view/test_case.rb#311 + # source://actionview//lib/action_view/test_case.rb#311 def add(view, locals); end - # source://actionview/lib/action_view/test_case.rb#316 + # source://actionview//lib/action_view/test_case.rb#316 def locals_for(view); end - # source://actionview/lib/action_view/test_case.rb#320 + # source://actionview//lib/action_view/test_case.rb#320 def rendered_views; end # @return [Boolean] # - # source://actionview/lib/action_view/test_case.rb#324 + # source://actionview//lib/action_view/test_case.rb#324 def view_rendered?(view, expected_locals); end end -# source://actionview/lib/action_view/test_case.rb#0 +# source://actionview//lib/action_view/test_case.rb#449 module ActionView::TestCase::HelperMethods - # source://actionview/lib/action_view/test_case.rb#215 + # source://actionview//lib/action_view/test_case.rb#215 def _test_case; end - # source://actionview/lib/action_view/test_case.rb#211 + # source://actionview//lib/action_view/test_case.rb#211 def protect_against_forgery?; end end -# source://actionview/lib/action_view/test_case.rb#16 +# source://actionview//lib/action_view/test_case.rb#16 class ActionView::TestCase::TestController < ::ActionController::Base include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::TestProcess # @return [TestController] a new instance of TestController # - # source://actionview/lib/action_view/test_case.rb#34 + # source://actionview//lib/action_view/test_case.rb#34 def initialize; end - # source://actionview/lib/action_view/test_case.rb#26 + # source://actionview//lib/action_view/test_case.rb#26 def controller_path=(path); end # Returns the value of attribute params. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def params; end # Sets the attribute params # # @param value the value to set the attribute params to. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def params=(_arg0); end # Returns the value of attribute request. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def request; end # Sets the attribute request # # @param value the value to set the attribute request to. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def request=(_arg0); end # Returns the value of attribute response. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def response; end # Sets the attribute response # # @param value the value to set the attribute response to. # - # source://actionview/lib/action_view/test_case.rb#19 + # source://actionview//lib/action_view/test_case.rb#19 def response=(_arg0); end private - # source://actionview/lib/action_view/layouts.rb#330 + # source://actionview//lib/action_view/test_case.rb#16 def _layout(lookup_context, formats); end class << self - # source://actionview/lib/action_view/test_case.rb#30 + # source://actionview//lib/action_view/test_case.rb#30 def controller_name; end # Overrides AbstractController::Base#controller_path # - # source://actionview/lib/action_view/test_case.rb#23 + # source://actionview//lib/action_view/test_case.rb#23 def controller_path; end # Overrides AbstractController::Base#controller_path # - # source://actionview/lib/action_view/test_case.rb#23 + # source://actionview//lib/action_view/test_case.rb#23 def controller_path=(_arg0); end - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://actionview//lib/action_view/test_case.rb#16 def middleware_stack; end end end -# source://actionview/lib/action_view/unbound_template.rb#6 +# source://actionview//lib/action_view/unbound_template.rb#6 class ActionView::UnboundTemplate # @return [UnboundTemplate] a new instance of UnboundTemplate # - # source://actionview/lib/action_view/unbound_template.rb#10 + # source://actionview//lib/action_view/unbound_template.rb#10 def initialize(source, identifier, details:, virtual_path:); end - # source://actionview/lib/action_view/unbound_template.rb#20 + # source://actionview//lib/action_view/unbound_template.rb#20 def bind_locals(locals); end - # source://actionview/lib/action_view/unbound_template.rb#44 + # source://actionview//lib/action_view/unbound_template.rb#44 def built_templates; end # Returns the value of attribute details. # - # source://actionview/lib/action_view/unbound_template.rb#7 + # source://actionview//lib/action_view/unbound_template.rb#7 def details; end - # source://actionview/lib/action_view/unbound_template.rb#8 + # source://actionview//lib/action_view/unbound_template.rb#8 def format(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/unbound_template.rb#8 + # source://actionview//lib/action_view/unbound_template.rb#8 def handler(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/unbound_template.rb#8 + # source://actionview//lib/action_view/unbound_template.rb#8 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/unbound_template.rb#8 + # source://actionview//lib/action_view/unbound_template.rb#8 def variant(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute virtual_path. # - # source://actionview/lib/action_view/unbound_template.rb#7 + # source://actionview//lib/action_view/unbound_template.rb#7 def virtual_path; end private - # source://actionview/lib/action_view/unbound_template.rb#49 + # source://actionview//lib/action_view/unbound_template.rb#49 def build_template(locals); end - # source://actionview/lib/action_view/unbound_template.rb#63 + # source://actionview//lib/action_view/unbound_template.rb#63 def normalize_locals(locals); end end -# source://actionview/lib/action_view/gem_version.rb#9 +# source://actionview//lib/action_view/gem_version.rb#9 module ActionView::VERSION; end -# source://actionview/lib/action_view/gem_version.rb#10 +# source://actionview//lib/action_view/gem_version.rb#10 ActionView::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actionview/lib/action_view/gem_version.rb#11 +# source://actionview//lib/action_view/gem_version.rb#11 ActionView::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actionview/lib/action_view/gem_version.rb#13 +# source://actionview//lib/action_view/gem_version.rb#13 ActionView::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/gem_version.rb#15 +# source://actionview//lib/action_view/gem_version.rb#15 ActionView::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actionview/lib/action_view/gem_version.rb#12 +# source://actionview//lib/action_view/gem_version.rb#12 ActionView::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://actionview/lib/action_view/view_paths.rb#4 +# source://actionview//lib/action_view/view_paths.rb#4 module ActionView::ViewPaths extend ::ActiveSupport::Concern @@ -15857,10 +15303,10 @@ module ActionView::ViewPaths # The prefixes used in render "foo" shortcuts. # - # source://actionview/lib/action_view/view_paths.rb#81 + # source://actionview//lib/action_view/view_paths.rb#81 def _prefixes; end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def any_templates?(*_arg0, **_arg1, &_arg2); end # Append a path to the list of view paths for the current LookupContext. @@ -15870,29 +15316,29 @@ module ActionView::ViewPaths # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information) # - # source://actionview/lib/action_view/view_paths.rb#103 + # source://actionview//lib/action_view/view_paths.rb#103 def append_view_path(path); end - # source://actionview/lib/action_view/view_paths.rb#93 + # source://actionview//lib/action_view/view_paths.rb#93 def details_for_lookup; end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def formats(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def formats=(arg); end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def locale=(arg); end # LookupContext is the object responsible for holding all # information required for looking up templates, i.e. view paths and # details. Check ActionView::LookupContext for more information. # - # source://actionview/lib/action_view/view_paths.rb#88 + # source://actionview//lib/action_view/view_paths.rb#88 def lookup_context; end # Prepend a path to the list of view paths for the current LookupContext. @@ -15902,28 +15348,28 @@ module ActionView::ViewPaths # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information) # - # source://actionview/lib/action_view/view_paths.rb#113 + # source://actionview//lib/action_view/view_paths.rb#113 def prepend_view_path(path); end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def template_exists?(*_arg0, **_arg1, &_arg2); end - # source://actionview/lib/action_view/view_paths.rb#11 + # source://actionview//lib/action_view/view_paths.rb#11 def view_paths(*_arg0, **_arg1, &_arg2); end end -# source://actionview/lib/action_view/view_paths.rb#14 +# source://actionview//lib/action_view/view_paths.rb#14 module ActionView::ViewPaths::ClassMethods - # source://actionview/lib/action_view/view_paths.rb#31 + # source://actionview//lib/action_view/view_paths.rb#31 def _build_view_paths(paths); end - # source://actionview/lib/action_view/view_paths.rb#23 + # source://actionview//lib/action_view/view_paths.rb#23 def _prefixes; end - # source://actionview/lib/action_view/view_paths.rb#15 + # source://actionview//lib/action_view/view_paths.rb#15 def _view_paths; end - # source://actionview/lib/action_view/view_paths.rb#19 + # source://actionview//lib/action_view/view_paths.rb#19 def _view_paths=(paths); end # Append a path to the list of view paths for this controller. @@ -15933,7 +15379,7 @@ module ActionView::ViewPaths::ClassMethods # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information) # - # source://actionview/lib/action_view/view_paths.rb#44 + # source://actionview//lib/action_view/view_paths.rb#44 def append_view_path(path); end # Prepend a path to the list of view paths for this controller. @@ -15943,12 +15389,12 @@ module ActionView::ViewPaths::ClassMethods # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information) # - # source://actionview/lib/action_view/view_paths.rb#54 + # source://actionview//lib/action_view/view_paths.rb#54 def prepend_view_path(path); end # A list of all of the default view paths for this controller. # - # source://actionview/lib/action_view/view_paths.rb#59 + # source://actionview//lib/action_view/view_paths.rb#59 def view_paths; end # Set the view paths. @@ -15957,7 +15403,7 @@ module ActionView::ViewPaths::ClassMethods # * paths - If a PathSet is provided, use that; # otherwise, process the parameter into a PathSet. # - # source://actionview/lib/action_view/view_paths.rb#68 + # source://actionview//lib/action_view/view_paths.rb#68 def view_paths=(paths); end private @@ -15965,18 +15411,18 @@ module ActionView::ViewPaths::ClassMethods # Override this method in your controller if you want to change paths prefixes for finding views. # Prefixes defined here will still be added to parents' ._prefixes. # - # source://actionview/lib/action_view/view_paths.rb#75 + # source://actionview//lib/action_view/view_paths.rb#75 def local_prefixes; end end -# source://actionview/lib/action_view/template/error.rb#14 +# source://actionview//lib/action_view/template/error.rb#14 class ActionView::WrongEncodingError < ::ActionView::EncodingError # @return [WrongEncodingError] a new instance of WrongEncodingError # - # source://actionview/lib/action_view/template/error.rb#15 + # source://actionview//lib/action_view/template/error.rb#15 def initialize(string, encoding); end - # source://actionview/lib/action_view/template/error.rb#19 + # source://actionview//lib/action_view/template/error.rb#19 def message; end end diff --git a/sorbet/rbi/gems/activejob@7.1.5.1.rbi b/sorbet/rbi/gems/activejob@7.1.5.1.rbi index 82cddae16..6f37f6855 100644 --- a/sorbet/rbi/gems/activejob@7.1.5.1.rbi +++ b/sorbet/rbi/gems/activejob@7.1.5.1.rbi @@ -4,57 +4,58 @@ # This is an autogenerated file for types exported from the `activejob` gem. # Please instead update this file by running `bin/tapioca gem activejob`. + # :markup: markdown # :include: ../README.md # -# source://activejob/lib/active_job/gem_version.rb#3 +# source://activejob//lib/active_job/gem_version.rb#3 module ActiveJob extend ::ActiveSupport::Autoload class << self - # source://activejob/lib/active_job/queue_adapter.rb#7 + # source://activejob//lib/active_job/queue_adapter.rb#7 def adapter_name(adapter); end - # source://activejob/lib/active_job/deprecator.rb#4 + # source://activejob//lib/active_job/deprecator.rb#4 def deprecator; end # Returns the currently loaded version of Active Job as a +Gem::Version+. # - # source://activejob/lib/active_job/gem_version.rb#5 + # source://activejob//lib/active_job/gem_version.rb#5 def gem_version; end # Push many jobs onto the queue at once without running enqueue callbacks. # Queue adapters may communicate the enqueue status of each job by setting # successfully_enqueued and/or enqueue_error on the passed-in job instances. # - # source://activejob/lib/active_job/enqueuing.rb#14 + # source://activejob//lib/active_job/enqueuing.rb#14 def perform_all_later(*jobs); end - # source://activejob/lib/active_job.rb#56 + # source://activejob//lib/active_job.rb#56 def use_big_decimal_serializer; end - # source://activejob/lib/active_job.rb#56 + # source://activejob//lib/active_job.rb#56 def use_big_decimal_serializer=(_arg0); end - # source://activejob/lib/active_job.rb#64 + # source://activejob//lib/active_job.rb#64 def verbose_enqueue_logs; end - # source://activejob/lib/active_job.rb#64 + # source://activejob//lib/active_job.rb#64 def verbose_enqueue_logs=(_arg0); end # Returns the currently loaded version of Active Job as a +Gem::Version+. # - # source://activejob/lib/active_job/version.rb#7 + # source://activejob//lib/active_job/version.rb#7 def version; end private - # source://activejob/lib/active_job/instrumentation.rb#6 + # source://activejob//lib/active_job/instrumentation.rb#6 def instrument_enqueue_all(queue_adapter, jobs); end end end -# source://activejob/lib/active_job/arguments.rb#28 +# source://activejob//lib/active_job/arguments.rb#28 module ActiveJob::Arguments extend ::ActiveJob::Arguments @@ -63,7 +64,7 @@ module ActiveJob::Arguments # deserialized element by element. All other types are deserialized using # GlobalID. # - # source://activejob/lib/active_job/arguments.rb#42 + # source://activejob//lib/active_job/arguments.rb#42 def deserialize(arguments); end # Serializes a set of arguments. Intrinsic types that can safely be @@ -71,65 +72,65 @@ module ActiveJob::Arguments # serialized element by element. All other types are serialized using # GlobalID. # - # source://activejob/lib/active_job/arguments.rb#34 + # source://activejob//lib/active_job/arguments.rb#34 def serialize(arguments); end private - # source://activejob/lib/active_job/arguments.rb#201 + # source://activejob//lib/active_job/arguments.rb#201 def convert_to_global_id_hash(argument); end # @return [Boolean] # - # source://activejob/lib/active_job/arguments.rb#148 + # source://activejob//lib/active_job/arguments.rb#148 def custom_serialized?(hash); end - # source://activejob/lib/active_job/arguments.rb#119 + # source://activejob//lib/active_job/arguments.rb#119 def deserialize_argument(argument); end - # source://activejob/lib/active_job/arguments.rb#144 + # source://activejob//lib/active_job/arguments.rb#144 def deserialize_global_id(hash); end - # source://activejob/lib/active_job/arguments.rb#158 + # source://activejob//lib/active_job/arguments.rb#158 def deserialize_hash(serialized_hash); end - # source://activejob/lib/active_job/arguments.rb#71 + # source://activejob//lib/active_job/arguments.rb#71 def serialize_argument(argument); end - # source://activejob/lib/active_job/arguments.rb#152 + # source://activejob//lib/active_job/arguments.rb#152 def serialize_hash(argument); end - # source://activejob/lib/active_job/arguments.rb#171 + # source://activejob//lib/active_job/arguments.rb#171 def serialize_hash_key(key); end - # source://activejob/lib/active_job/arguments.rb#182 + # source://activejob//lib/active_job/arguments.rb#182 def serialize_indifferent_hash(indifferent_hash); end # @return [Boolean] # - # source://activejob/lib/active_job/arguments.rb#140 + # source://activejob//lib/active_job/arguments.rb#140 def serialized_global_id?(hash); end - # source://activejob/lib/active_job/arguments.rb#188 + # source://activejob//lib/active_job/arguments.rb#188 def transform_symbol_keys(hash, symbol_keys); end end -# source://activejob/lib/active_job/arguments.rb#50 +# source://activejob//lib/active_job/arguments.rb#50 ActiveJob::Arguments::GLOBALID_KEY = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/arguments.rb#58 +# source://activejob//lib/active_job/arguments.rb#58 ActiveJob::Arguments::OBJECT_SERIALIZER_KEY = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/arguments.rb#61 +# source://activejob//lib/active_job/arguments.rb#61 ActiveJob::Arguments::RESERVED_KEYS = T.let(T.unsafe(nil), Array) -# source://activejob/lib/active_job/arguments.rb#54 +# source://activejob//lib/active_job/arguments.rb#54 ActiveJob::Arguments::RUBY2_KEYWORDS_KEY = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/arguments.rb#52 +# source://activejob//lib/active_job/arguments.rb#52 ActiveJob::Arguments::SYMBOL_KEYS_KEY = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/arguments.rb#56 +# source://activejob//lib/active_job/arguments.rb#56 ActiveJob::Arguments::WITH_INDIFFERENT_ACCESS_KEY = T.let(T.unsafe(nil), String) # = Active Job \Base @@ -178,7 +179,7 @@ ActiveJob::Arguments::WITH_INDIFFERENT_ACCESS_KEY = T.let(T.unsafe(nil), String) # * DeserializationError - Error class for deserialization errors. # * SerializationError - Error class for serialization errors. # -# source://activejob/lib/active_job/base.rb#63 +# source://activejob//lib/active_job/base.rb#63 class ActiveJob::Base include ::ActiveJob::Core include ::ActiveJob::QueueAdapter @@ -210,220 +211,220 @@ class ActiveJob::Base extend ::Sidekiq::Job::Options::ClassMethods extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/base.rb#70 def _run_enqueue_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/base.rb#70 def _run_perform_callbacks(&block); end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs; end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs=(_arg0); end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs?; end - # source://activejob/lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger; end - # source://activejob/lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger=(val); end - # source://activejob/lib/active_job/queue_adapter.rb#26 + # source://activejob//lib/active_job/base.rb#65 def queue_adapter(&block); end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix; end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix=(_arg0); end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix?; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers?; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash=(_arg0); end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block=(_arg0); end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block=(_arg0); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks=(value); end - # source://activejob/lib/active_job/queue_adapter.rb#24 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter; end - # source://activejob/lib/active_job/queue_adapter.rb#24 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter=(value); end - # source://activejob/lib/active_job/queue_adapter.rb#23 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter_name; end - # source://activejob/lib/active_job/queue_adapter.rb#23 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter_name=(value); end - # source://activejob/lib/active_job/test_helper.rb#19 + # source://activejob//lib/active_job/test_helper.rb#19 def _test_adapter; end - # source://activejob/lib/active_job/test_helper.rb#19 + # source://activejob//lib/active_job/test_helper.rb#19 def _test_adapter=(value); end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs; end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs=(value); end - # source://activejob/lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs?; end - # source://activejob/lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments; end - # source://activejob/lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments=(value); end - # source://activejob/lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments?; end - # source://activejob/lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger; end - # source://activejob/lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger=(val); end - # source://activejob/lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority; end - # source://activejob/lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority=(value); end - # source://activejob/lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority?; end - # source://activejob/lib/active_job/queue_name.rb#55 + # source://activejob//lib/active_job/base.rb#66 def queue_name; end - # source://activejob/lib/active_job/queue_name.rb#55 + # source://activejob//lib/active_job/base.rb#66 def queue_name=(value); end - # source://activejob/lib/active_job/queue_name.rb#55 + # source://activejob//lib/active_job/base.rb#66 def queue_name?; end - # source://activejob/lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter; end - # source://activejob/lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter=(value); end - # source://activejob/lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter?; end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix; end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix=(value); end - # source://activejob/lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix?; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers=(value); end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers?; end - # source://activejob/lib/active_job/exceptions.rb#11 + # source://activejob//lib/active_job/base.rb#71 def retry_jitter; end - # source://activejob/lib/active_job/exceptions.rb#11 + # source://activejob//lib/active_job/base.rb#71 def retry_jitter=(value); end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash=(val); end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block=(val); end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block=(val); end private - # source://sidekiq/7.3.6lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_options_hash; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.6lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_retry_in_block; end end end @@ -442,7 +443,7 @@ end # # NOTE: Calling the same callback multiple times will overwrite previous callback definitions. # -# source://activejob/lib/active_job/callbacks.rb#21 +# source://activejob//lib/active_job/callbacks.rb#21 module ActiveJob::Callbacks extend ::ActiveSupport::Concern extend ::ActiveSupport::Callbacks @@ -455,16 +456,16 @@ module ActiveJob::Callbacks mixes_in_class_methods ::ActiveJob::Callbacks::ClassMethods class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/callbacks.rb#26 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/callbacks.rb#26 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/callbacks.rb#27 def _execute_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/callbacks.rb#27 def _run_execute_callbacks(&block); end end @@ -483,7 +484,7 @@ end # These methods will be included into any Active Job object, adding # callbacks for +perform+ and +enqueue+ methods. # -# source://activejob/lib/active_job/callbacks.rb#37 +# source://activejob//lib/active_job/callbacks.rb#37 module ActiveJob::Callbacks::ClassMethods # Defines a callback that will get called right after the # job is enqueued. @@ -501,7 +502,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#144 + # source://activejob//lib/active_job/callbacks.rb#144 def after_enqueue(*filters, &blk); end # Defines a callback that will get called right after the @@ -519,7 +520,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#72 + # source://activejob//lib/active_job/callbacks.rb#72 def after_perform(*filters, &blk); end # Defines a callback that will get called around the enqueuing @@ -539,7 +540,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#165 + # source://activejob//lib/active_job/callbacks.rb#165 def around_enqueue(*filters, &blk); end # Defines a callback that will get called around the job's perform method. @@ -571,7 +572,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#105 + # source://activejob//lib/active_job/callbacks.rb#105 def around_perform(*filters, &blk); end # Defines a callback that will get called right before the @@ -589,7 +590,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#124 + # source://activejob//lib/active_job/callbacks.rb#124 def before_enqueue(*filters, &blk); end # Defines a callback that will get called right before the @@ -607,24 +608,24 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob/lib/active_job/callbacks.rb#53 + # source://activejob//lib/active_job/callbacks.rb#53 def before_perform(*filters, &blk); end end -# source://activejob/lib/active_job/configured_job.rb#4 +# source://activejob//lib/active_job/configured_job.rb#4 class ActiveJob::ConfiguredJob # @return [ConfiguredJob] a new instance of ConfiguredJob # - # source://activejob/lib/active_job/configured_job.rb#5 + # source://activejob//lib/active_job/configured_job.rb#5 def initialize(job_class, options = T.unsafe(nil)); end - # source://activejob/lib/active_job/configured_job.rb#18 + # source://activejob//lib/active_job/configured_job.rb#18 def perform_all_later(multi_args); end - # source://activejob/lib/active_job/configured_job.rb#14 + # source://activejob//lib/active_job/configured_job.rb#14 def perform_later(*_arg0, **_arg1, &_arg2); end - # source://activejob/lib/active_job/configured_job.rb#10 + # source://activejob//lib/active_job/configured_job.rb#10 def perform_now(*_arg0, **_arg1, &_arg2); end end @@ -633,7 +634,7 @@ end # Provides general behavior that will be included into every Active Job # object that inherits from ActiveJob::Base. # -# source://activejob/lib/active_job/core.rb#8 +# source://activejob//lib/active_job/core.rb#8 module ActiveJob::Core extend ::ActiveSupport::Concern @@ -642,20 +643,20 @@ module ActiveJob::Core # Creates a new job instance. Takes the arguments that will be # passed to the perform method. # - # source://activejob/lib/active_job/core.rb#95 + # source://activejob//lib/active_job/core.rb#95 def initialize(*arguments, **_arg1); end - # source://activejob/lib/active_job/core.rb#18 + # source://activejob//lib/active_job/core.rb#18 def _scheduled_at_time; end # Job arguments # - # source://activejob/lib/active_job/core.rb#12 + # source://activejob//lib/active_job/core.rb#12 def arguments; end # Job arguments # - # source://activejob/lib/active_job/core.rb#12 + # source://activejob//lib/active_job/core.rb#12 def arguments=(_arg0); end # Attaches the stored job data to the current instance. Receives a hash @@ -685,27 +686,27 @@ module ActiveJob::Core # end # end # - # source://activejob/lib/active_job/core.rb#153 + # source://activejob//lib/active_job/core.rb#153 def deserialize(job_data); end # Track any exceptions raised by the backend so callers can inspect the errors. # - # source://activejob/lib/active_job/core.rb#58 + # source://activejob//lib/active_job/core.rb#58 def enqueue_error; end # Track any exceptions raised by the backend so callers can inspect the errors. # - # source://activejob/lib/active_job/core.rb#58 + # source://activejob//lib/active_job/core.rb#58 def enqueue_error=(_arg0); end # Track when a job was enqueued # - # source://activejob/lib/active_job/core.rb#48 + # source://activejob//lib/active_job/core.rb#48 def enqueued_at; end # Track when a job was enqueued # - # source://activejob/lib/active_job/core.rb#48 + # source://activejob//lib/active_job/core.rb#48 def enqueued_at=(_arg0); end # Hash that contains the number of times this job handled errors for each specific retry_on declaration. @@ -713,7 +714,7 @@ module ActiveJob::Core # while its associated value holds the number of executions where the corresponding retry_on # declaration handled one of its listed exceptions. # - # source://activejob/lib/active_job/core.rb#39 + # source://activejob//lib/active_job/core.rb#39 def exception_executions; end # Hash that contains the number of times this job handled errors for each specific retry_on declaration. @@ -721,133 +722,133 @@ module ActiveJob::Core # while its associated value holds the number of executions where the corresponding retry_on # declaration handled one of its listed exceptions. # - # source://activejob/lib/active_job/core.rb#39 + # source://activejob//lib/active_job/core.rb#39 def exception_executions=(_arg0); end # Number of times this job has been executed (which increments on every retry, like after an exception). # - # source://activejob/lib/active_job/core.rb#33 + # source://activejob//lib/active_job/core.rb#33 def executions; end # Number of times this job has been executed (which increments on every retry, like after an exception). # - # source://activejob/lib/active_job/core.rb#33 + # source://activejob//lib/active_job/core.rb#33 def executions=(_arg0); end # Job Identifier # - # source://activejob/lib/active_job/core.rb#21 + # source://activejob//lib/active_job/core.rb#21 def job_id; end # Job Identifier # - # source://activejob/lib/active_job/core.rb#21 + # source://activejob//lib/active_job/core.rb#21 def job_id=(_arg0); end # I18n.locale to be used during the job. # - # source://activejob/lib/active_job/core.rb#42 + # source://activejob//lib/active_job/core.rb#42 def locale; end # I18n.locale to be used during the job. # - # source://activejob/lib/active_job/core.rb#42 + # source://activejob//lib/active_job/core.rb#42 def locale=(_arg0); end # Priority that the job will have (lower is more priority). # - # source://activejob/lib/active_job/core.rb#27 + # source://activejob//lib/active_job/core.rb#27 def priority=(_arg0); end # ID optionally provided by adapter # - # source://activejob/lib/active_job/core.rb#30 + # source://activejob//lib/active_job/core.rb#30 def provider_job_id; end # ID optionally provided by adapter # - # source://activejob/lib/active_job/core.rb#30 + # source://activejob//lib/active_job/core.rb#30 def provider_job_id=(_arg0); end # Queue in which the job will reside. # - # source://activejob/lib/active_job/core.rb#24 + # source://activejob//lib/active_job/core.rb#24 def queue_name=(_arg0); end # Time when the job should be performed # - # source://activejob/lib/active_job/core.rb#16 + # source://activejob//lib/active_job/core.rb#16 def scheduled_at; end - # source://activejob/lib/active_job/core.rb#177 + # source://activejob//lib/active_job/core.rb#177 def scheduled_at=(value); end # Returns a hash with the job data that can safely be passed to the # queuing adapter. # - # source://activejob/lib/active_job/core.rb#110 + # source://activejob//lib/active_job/core.rb#110 def serialize; end # Sets the attribute serialized_arguments # # @param value the value to set the attribute serialized_arguments to. # - # source://activejob/lib/active_job/core.rb#13 + # source://activejob//lib/active_job/core.rb#13 def serialized_arguments=(_arg0); end # Configures the job with the given options. # - # source://activejob/lib/active_job/core.rb#168 + # source://activejob//lib/active_job/core.rb#168 def set(options = T.unsafe(nil)); end # Track whether the adapter received the job successfully. # - # source://activejob/lib/active_job/core.rb#51 + # source://activejob//lib/active_job/core.rb#51 def successfully_enqueued=(_arg0); end # @return [Boolean] # - # source://activejob/lib/active_job/core.rb#53 + # source://activejob//lib/active_job/core.rb#53 def successfully_enqueued?; end # Timezone to be used during the job. # - # source://activejob/lib/active_job/core.rb#45 + # source://activejob//lib/active_job/core.rb#45 def timezone; end # Timezone to be used during the job. # - # source://activejob/lib/active_job/core.rb#45 + # source://activejob//lib/active_job/core.rb#45 def timezone=(_arg0); end private # @return [Boolean] # - # source://activejob/lib/active_job/core.rb#213 + # source://activejob//lib/active_job/core.rb#213 def arguments_serialized?; end - # source://activejob/lib/active_job/core.rb#209 + # source://activejob//lib/active_job/core.rb#209 def deserialize_arguments(serialized_args); end - # source://activejob/lib/active_job/core.rb#198 + # source://activejob//lib/active_job/core.rb#198 def deserialize_arguments_if_needed; end - # source://activejob/lib/active_job/core.rb#205 + # source://activejob//lib/active_job/core.rb#205 def serialize_arguments(arguments); end - # source://activejob/lib/active_job/core.rb#190 + # source://activejob//lib/active_job/core.rb#190 def serialize_arguments_if_needed(arguments); end end # These methods will be included into any Active Job object, adding # helpers for de/serialization and creation of job instances. # -# source://activejob/lib/active_job/core.rb#62 +# source://activejob//lib/active_job/core.rb#62 module ActiveJob::Core::ClassMethods # Creates a new job instance from a hash created with +serialize+ # - # source://activejob/lib/active_job/core.rb#64 + # source://activejob//lib/active_job/core.rb#64 def deserialize(job_data); end # Creates a job preconfigured with the given options. You can call @@ -869,7 +870,7 @@ module ActiveJob::Core::ClassMethods # VideoJob.set(queue: :some_queue, wait_until: Time.now.tomorrow).perform_later(Video.last) # VideoJob.set(queue: :some_queue, wait: 5.minutes, priority: 10).perform_later(Video.last) # - # source://activejob/lib/active_job/core.rb#88 + # source://activejob//lib/active_job/core.rb#88 def set(options = T.unsafe(nil)); end end @@ -877,21 +878,21 @@ end # # Wraps the original exception raised as +cause+. # -# source://activejob/lib/active_job/arguments.rb#10 +# source://activejob//lib/active_job/arguments.rb#10 class ActiveJob::DeserializationError < ::StandardError # @return [DeserializationError] a new instance of DeserializationError # - # source://activejob/lib/active_job/arguments.rb#11 + # source://activejob//lib/active_job/arguments.rb#11 def initialize; end end # Can be raised by adapters if they wish to communicate to the caller a reason # why the adapter was unexpectedly unable to enqueue a job. # -# source://activejob/lib/active_job/enqueuing.rb#8 +# source://activejob//lib/active_job/enqueuing.rb#8 class ActiveJob::EnqueueError < ::StandardError; end -# source://activejob/lib/active_job/enqueuing.rb#40 +# source://activejob//lib/active_job/enqueuing.rb#40 module ActiveJob::Enqueuing extend ::ActiveSupport::Concern @@ -913,13 +914,13 @@ module ActiveJob::Enqueuing # my_job_instance.enqueue wait_until: Date.tomorrow.midnight # my_job_instance.enqueue priority: 10 # - # source://activejob/lib/active_job/enqueuing.rb#87 + # source://activejob//lib/active_job/enqueuing.rb#87 def enqueue(options = T.unsafe(nil)); end end # Includes the +perform_later+ method for job initialization. # -# source://activejob/lib/active_job/enqueuing.rb#44 +# source://activejob//lib/active_job/enqueuing.rb#44 module ActiveJob::Enqueuing::ClassMethods # Push a job onto the queue. By default the arguments must be either String, # Integer, Float, NilClass, TrueClass, FalseClass, BigDecimal, Symbol, Date, @@ -935,18 +936,18 @@ module ActiveJob::Enqueuing::ClassMethods # # @yield [job] # - # source://activejob/lib/active_job/enqueuing.rb#56 + # source://activejob//lib/active_job/enqueuing.rb#56 def perform_later(*_arg0, **_arg1, &_arg2); end private - # source://activejob/lib/active_job/enqueuing.rb#66 + # source://activejob//lib/active_job/enqueuing.rb#66 def job_or_instantiate(*args, **_arg1); end end # Provides behavior for retrying and discarding jobs on exceptions. # -# source://activejob/lib/active_job/exceptions.rb#7 +# source://activejob//lib/active_job/exceptions.rb#7 module ActiveJob::Exceptions extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -977,21 +978,21 @@ module ActiveJob::Exceptions # end # end # - # source://activejob/lib/active_job/exceptions.rb#157 + # source://activejob//lib/active_job/exceptions.rb#157 def retry_job(options = T.unsafe(nil)); end private - # source://activejob/lib/active_job/exceptions.rb#167 + # source://activejob//lib/active_job/exceptions.rb#167 def determine_delay(seconds_or_duration_or_algorithm:, executions:, jitter: T.unsafe(nil)); end - # source://activejob/lib/active_job/exceptions.rb#188 + # source://activejob//lib/active_job/exceptions.rb#188 def determine_jitter_for_delay(delay, jitter); end - # source://activejob/lib/active_job/exceptions.rb#193 + # source://activejob//lib/active_job/exceptions.rb#193 def executions_for(exceptions); end - # source://activejob/lib/active_job/exceptions.rb#202 + # source://activejob//lib/active_job/exceptions.rb#202 def run_after_discard_procs(exception); end module GeneratedClassMethods @@ -1009,7 +1010,7 @@ module ActiveJob::Exceptions end end -# source://activejob/lib/active_job/exceptions.rb#15 +# source://activejob//lib/active_job/exceptions.rb#15 module ActiveJob::Exceptions::ClassMethods # A block to run when a job is about to be discarded for any reason. # @@ -1024,7 +1025,7 @@ module ActiveJob::Exceptions::ClassMethods # # end # - # source://activejob/lib/active_job/exceptions.rb#130 + # source://activejob//lib/active_job/exceptions.rb#130 def after_discard(&blk); end # Discard the job with no attempts to retry, if the exception is raised. This is useful when the subject of the job, @@ -1049,7 +1050,7 @@ module ActiveJob::Exceptions::ClassMethods # end # end # - # source://activejob/lib/active_job/exceptions.rb#109 + # source://activejob//lib/active_job/exceptions.rb#109 def discard_on(*exceptions); end # Catch the exception and reschedule job for re-execution after so many seconds, for a specific number of attempts. @@ -1099,11 +1100,11 @@ module ActiveJob::Exceptions::ClassMethods # end # end # - # source://activejob/lib/active_job/exceptions.rb#62 + # source://activejob//lib/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/lib/active_job/exceptions.rb#164 +# source://activejob//lib/active_job/exceptions.rb#164 ActiveJob::Exceptions::JITTER_DEFAULT = T.let(T.unsafe(nil), Object) # = Active Job \Execution @@ -1113,7 +1114,7 @@ ActiveJob::Exceptions::JITTER_DEFAULT = T.let(T.unsafe(nil), Object) # {rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from] # are handled. # -# source://activejob/lib/active_job/execution.rb#12 +# source://activejob//lib/active_job/execution.rb#12 module ActiveJob::Execution extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1123,7 +1124,7 @@ module ActiveJob::Execution mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods mixes_in_class_methods ::ActiveJob::Execution::ClassMethods - # source://activejob/lib/active_job/execution.rb#60 + # source://activejob//lib/active_job/execution.rb#60 def perform(*_arg0); end # Performs the job immediately. The job is not sent to the queuing adapter @@ -1138,12 +1139,12 @@ module ActiveJob::Execution # # puts MyJob.new(*args).perform_now # => "Hello World!" # - # source://activejob/lib/active_job/execution.rb#45 + # source://activejob//lib/active_job/execution.rb#45 def perform_now; end private - # source://activejob/lib/active_job/execution.rb#65 + # source://activejob//lib/active_job/execution.rb#65 def _perform_job; end module GeneratedClassMethods @@ -1161,138 +1162,138 @@ end # Includes methods for executing and performing jobs instantly. # -# source://activejob/lib/active_job/execution.rb#17 +# source://activejob//lib/active_job/execution.rb#17 module ActiveJob::Execution::ClassMethods - # source://activejob/lib/active_job/execution.rb#26 + # source://activejob//lib/active_job/execution.rb#26 def execute(job_data); end # Performs the job immediately. # # MyJob.perform_now("mike") # - # source://activejob/lib/active_job/execution.rb#22 + # source://activejob//lib/active_job/execution.rb#22 def perform_now(*_arg0, **_arg1, &_arg2); end end -# source://activejob/lib/active_job/instrumentation.rb#16 +# source://activejob//lib/active_job/instrumentation.rb#16 module ActiveJob::Instrumentation extend ::ActiveSupport::Concern - # source://activejob/lib/active_job/instrumentation.rb#25 + # source://activejob//lib/active_job/instrumentation.rb#25 def perform_now; end private - # source://activejob/lib/active_job/instrumentation.rb#30 + # source://activejob//lib/active_job/instrumentation.rb#30 def _perform_job; end - # source://activejob/lib/active_job/instrumentation.rb#47 + # source://activejob//lib/active_job/instrumentation.rb#47 def halted_callback_hook(*_arg0); end - # source://activejob/lib/active_job/instrumentation.rb#35 + # source://activejob//lib/active_job/instrumentation.rb#35 def instrument(operation, payload = T.unsafe(nil), &block); end end -# source://activejob/lib/active_job/log_subscriber.rb#6 +# source://activejob//lib/active_job/log_subscriber.rb#6 class ActiveJob::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner; end - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner=(_arg0); end - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activejob/lib/active_job/log_subscriber.rb#130 + # source://activejob//lib/active_job/log_subscriber.rb#130 def discard(event); end - # source://activejob/lib/active_job/log_subscriber.rb#9 + # source://activejob//lib/active_job/log_subscriber.rb#9 def enqueue(event); end - # source://activejob/lib/active_job/log_subscriber.rb#49 + # source://activejob//lib/active_job/log_subscriber.rb#49 def enqueue_all(event); end - # source://activejob/lib/active_job/log_subscriber.rb#29 + # source://activejob//lib/active_job/log_subscriber.rb#29 def enqueue_at(event); end - # source://activejob/lib/active_job/log_subscriber.rb#105 + # source://activejob//lib/active_job/log_subscriber.rb#105 def enqueue_retry(event); end - # source://activejob/lib/active_job/log_subscriber.rb#86 + # source://activejob//lib/active_job/log_subscriber.rb#86 def perform(event); end - # source://activejob/lib/active_job/log_subscriber.rb#76 + # source://activejob//lib/active_job/log_subscriber.rb#76 def perform_start(event); end - # source://activejob/lib/active_job/log_subscriber.rb#120 + # source://activejob//lib/active_job/log_subscriber.rb#120 def retry_stopped(event); end private - # source://activejob/lib/active_job/log_subscriber.rb#145 + # source://activejob//lib/active_job/log_subscriber.rb#145 def args_info(job); end - # source://activejob/lib/active_job/log_subscriber.rb#203 + # source://activejob//lib/active_job/log_subscriber.rb#203 def enqueued_jobs_message(adapter, enqueued_jobs); end - # source://activejob/lib/active_job/log_subscriber.rb#183 + # source://activejob//lib/active_job/log_subscriber.rb#183 def error(progname = T.unsafe(nil), &block); end - # source://activejob/lib/active_job/log_subscriber.rb#199 + # source://activejob//lib/active_job/log_subscriber.rb#199 def extract_enqueue_source_location(locations); end - # source://activejob/lib/active_job/log_subscriber.rb#154 + # source://activejob//lib/active_job/log_subscriber.rb#154 def format(arg); end - # source://activejob/lib/active_job/log_subscriber.rb#175 + # source://activejob//lib/active_job/log_subscriber.rb#175 def info(progname = T.unsafe(nil), &block); end - # source://activejob/lib/active_job/log_subscriber.rb#191 + # source://activejob//lib/active_job/log_subscriber.rb#191 def log_enqueue_source; end - # source://activejob/lib/active_job/log_subscriber.rb#171 + # source://activejob//lib/active_job/log_subscriber.rb#171 def logger; end - # source://activejob/lib/active_job/log_subscriber.rb#141 + # source://activejob//lib/active_job/log_subscriber.rb#141 def queue_name(event); end - # source://activejob/lib/active_job/log_subscriber.rb#167 + # source://activejob//lib/active_job/log_subscriber.rb#167 def scheduled_at(event); end class << self - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner; end - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner=(value); end - # source://activejob/lib/active_job/log_subscriber.rb#7 + # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://activejob//lib/active_job/log_subscriber.rb#27 def log_levels; end end end -# source://activejob/lib/active_job/logging.rb#7 +# source://activejob//lib/active_job/logging.rb#7 module ActiveJob::Logging extend ::ActiveSupport::Concern include GeneratedInstanceMethods mixes_in_class_methods GeneratedClassMethods - # source://activejob/lib/active_job/logging.rb#17 + # source://activejob//lib/active_job/logging.rb#17 def perform_now; end private # @return [Boolean] # - # source://activejob/lib/active_job/logging.rb#31 + # source://activejob//lib/active_job/logging.rb#31 def logger_tagged_by_active_job?; end - # source://activejob/lib/active_job/logging.rb#22 + # source://activejob//lib/active_job/logging.rb#22 def tag_logger(*tags, &block); end module GeneratedClassMethods @@ -1309,7 +1310,7 @@ end # The +ActiveJob::QueueAdapter+ module is used to load the # correct adapter. The default queue adapter is the +:async+ queue. # -# source://activejob/lib/active_job/queue_adapter.rb#19 +# source://activejob//lib/active_job/queue_adapter.rb#19 module ActiveJob::QueueAdapter extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1329,39 +1330,39 @@ end # Includes the setter method for changing the active queue adapter. # -# source://activejob/lib/active_job/queue_adapter.rb#32 +# source://activejob//lib/active_job/queue_adapter.rb#32 module ActiveJob::QueueAdapter::ClassMethods # Returns the backend queue provider. The default queue adapter # is the +:async+ queue. See QueueAdapters for more information. # - # source://activejob/lib/active_job/queue_adapter.rb#35 + # source://activejob//lib/active_job/queue_adapter.rb#35 def queue_adapter; end # Specify the backend queue provider. The default queue adapter # is the +:async+ queue. See QueueAdapters for more # information. # - # source://activejob/lib/active_job/queue_adapter.rb#48 + # source://activejob//lib/active_job/queue_adapter.rb#48 def queue_adapter=(name_or_adapter); end # Returns string denoting the name of the configured queue adapter. # By default returns "async". # - # source://activejob/lib/active_job/queue_adapter.rb#41 + # source://activejob//lib/active_job/queue_adapter.rb#41 def queue_adapter_name; end private - # source://activejob/lib/active_job/queue_adapter.rb#64 + # source://activejob//lib/active_job/queue_adapter.rb#64 def assign_adapter(adapter_name, queue_adapter); end # @return [Boolean] # - # source://activejob/lib/active_job/queue_adapter.rb#71 + # source://activejob//lib/active_job/queue_adapter.rb#71 def queue_adapter?(object); end end -# source://activejob/lib/active_job/queue_adapter.rb#69 +# source://activejob//lib/active_job/queue_adapter.rb#69 ActiveJob::QueueAdapter::ClassMethods::QUEUE_ADAPTER_METHODS = T.let(T.unsafe(nil), Array) # = Active Job adapters @@ -1474,7 +1475,7 @@ ActiveJob::QueueAdapter::ClassMethods::QUEUE_ADAPTER_METHODS = T.let(T.unsafe(ni # N/A: The adapter does not run in a separate process, and therefore doesn't # support retries. # -# source://activejob/lib/active_job/queue_adapters.rb#114 +# source://activejob//lib/active_job/queue_adapters.rb#114 module ActiveJob::QueueAdapters extend ::ActiveSupport::Autoload @@ -1484,12 +1485,12 @@ module ActiveJob::QueueAdapters # ActiveJob::QueueAdapters.lookup(:sidekiq) # # => ActiveJob::QueueAdapters::SidekiqAdapter # - # source://activejob/lib/active_job/queue_adapters.rb#137 + # source://activejob//lib/active_job/queue_adapters.rb#137 def lookup(name); end end end -# source://activejob/lib/active_job/queue_adapters.rb#129 +# source://activejob//lib/active_job/queue_adapters.rb#129 ActiveJob::QueueAdapters::ADAPTER = T.let(T.unsafe(nil), String) # = Active Job Async adapter @@ -1516,31 +1517,31 @@ ActiveJob::QueueAdapters::ADAPTER = T.let(T.unsafe(nil), String) # jobs. Since jobs share a single thread pool, long-running jobs will block # short-lived jobs. Fine for dev/test; bad for production. # -# source://activejob/lib/active_job/queue_adapters/async_adapter.rb#33 +# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#33 class ActiveJob::QueueAdapters::AsyncAdapter # See {Concurrent::ThreadPoolExecutor}[https://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/ThreadPoolExecutor.html] for executor options. # # @return [AsyncAdapter] a new instance of AsyncAdapter # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#35 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#35 def initialize(**executor_options); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#39 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#39 def enqueue(job); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#43 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#43 def enqueue_at(job, timestamp); end # Used for our test suite. # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#55 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#55 def immediate=(immediate); end # Gracefully stop processing jobs. Finishes in-progress work and handles # any new jobs following the executor's fallback policy (`caller_runs`). # Waits for termination by default. Pass `wait: false` to continue. # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#50 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#50 def shutdown(wait: T.unsafe(nil)); end end @@ -1549,50 +1550,50 @@ end # adapters and deployment environments. Otherwise, serialization bugs # may creep in undetected. # -# source://activejob/lib/active_job/queue_adapters/async_adapter.rb#63 +# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#63 class ActiveJob::QueueAdapters::AsyncAdapter::JobWrapper # @return [JobWrapper] a new instance of JobWrapper # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#64 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#64 def initialize(job); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#69 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#69 def perform; end end -# source://activejob/lib/active_job/queue_adapters/async_adapter.rb#74 +# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#74 class ActiveJob::QueueAdapters::AsyncAdapter::Scheduler # @return [Scheduler] a new instance of Scheduler # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#86 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#86 def initialize(**options); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#92 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#92 def enqueue(job, queue_name:); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#96 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#96 def enqueue_at(job, timestamp, queue_name:); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#110 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#110 def executor; end # Returns the value of attribute immediate. # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#84 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#84 def immediate; end # Sets the attribute immediate # # @param value the value to set the attribute immediate to. # - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#84 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#84 def immediate=(_arg0); end - # source://activejob/lib/active_job/queue_adapters/async_adapter.rb#105 + # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#105 def shutdown(wait: T.unsafe(nil)); end end -# source://activejob/lib/active_job/queue_adapters/async_adapter.rb#75 +# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#75 ActiveJob::QueueAdapters::AsyncAdapter::Scheduler::DEFAULT_EXECUTOR_OPTIONS = T.let(T.unsafe(nil), Hash) # = Active Job Inline adapter @@ -1604,14 +1605,14 @@ ActiveJob::QueueAdapters::AsyncAdapter::Scheduler::DEFAULT_EXECUTOR_OPTIONS = T. # # Rails.application.config.active_job.queue_adapter = :inline # -# source://activejob/lib/active_job/queue_adapters/inline_adapter.rb#13 +# source://activejob//lib/active_job/queue_adapters/inline_adapter.rb#13 class ActiveJob::QueueAdapters::InlineAdapter - # source://activejob/lib/active_job/queue_adapters/inline_adapter.rb#14 + # source://activejob//lib/active_job/queue_adapters/inline_adapter.rb#14 def enqueue(job); end # @raise [NotImplementedError] # - # source://activejob/lib/active_job/queue_adapters/inline_adapter.rb#18 + # source://activejob//lib/active_job/queue_adapters/inline_adapter.rb#18 def enqueue_at(*_arg0); end end @@ -1625,143 +1626,143 @@ end # # Rails.application.config.active_job.queue_adapter = :test # -# source://activejob/lib/active_job/queue_adapters/test_adapter.rb#14 +# source://activejob//lib/active_job/queue_adapters/test_adapter.rb#14 class ActiveJob::QueueAdapters::TestAdapter # Returns the value of attribute at. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def at; end # Sets the attribute at # # @param value the value to set the attribute at to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def at=(_arg0); end - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#28 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#28 def enqueue(job); end - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#33 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#33 def enqueue_at(job, timestamp); end # Provides a store of all the enqueued jobs with the TestAdapter so you can check them. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#19 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#19 def enqueued_jobs; end # Sets the attribute enqueued_jobs # # @param value the value to set the attribute enqueued_jobs to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#16 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#16 def enqueued_jobs=(_arg0); end # Returns the value of attribute filter. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def filter; end # Sets the attribute filter # # @param value the value to set the attribute filter to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def filter=(_arg0); end # Returns the value of attribute perform_enqueued_at_jobs. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def perform_enqueued_at_jobs; end # Sets the attribute perform_enqueued_at_jobs # # @param value the value to set the attribute perform_enqueued_at_jobs to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def perform_enqueued_at_jobs=(_arg0); end # Returns the value of attribute perform_enqueued_jobs. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def perform_enqueued_jobs; end # Sets the attribute perform_enqueued_jobs # # @param value the value to set the attribute perform_enqueued_jobs to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def perform_enqueued_jobs=(_arg0); end # Provides a store of all the performed jobs with the TestAdapter so you can check them. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#24 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#24 def performed_jobs; end # Sets the attribute performed_jobs # # @param value the value to set the attribute performed_jobs to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#16 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#16 def performed_jobs=(_arg0); end # Returns the value of attribute queue. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def queue; end # Sets the attribute queue # # @param value the value to set the attribute queue to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def queue=(_arg0); end # Returns the value of attribute reject. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def reject; end # Sets the attribute reject # # @param value the value to set the attribute reject to. # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#15 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 def reject=(_arg0); end private - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#79 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#79 def filter_as_proc(filter); end # @return [Boolean] # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#57 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#57 def filtered?(job); end # @return [Boolean] # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#71 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#71 def filtered_job_class?(job); end # @return [Boolean] # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#65 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#65 def filtered_queue?(job); end # @return [Boolean] # - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#61 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#61 def filtered_time?(job); end - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#39 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#39 def job_to_hash(job, extras = T.unsafe(nil)); end - # source://activejob/lib/active_job/queue_adapters/test_adapter.rb#48 + # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#48 def perform_or_enqueue(perform, job, job_data); end end -# source://activejob/lib/active_job/queue_name.rb#4 +# source://activejob//lib/active_job/queue_name.rb#4 module ActiveJob::QueueName extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1771,7 +1772,7 @@ module ActiveJob::QueueName # Returns the name of the queue the job will be run on. # - # source://activejob/lib/active_job/queue_name.rb#61 + # source://activejob//lib/active_job/queue_name.rb#61 def queue_name; end module GeneratedClassMethods @@ -1795,12 +1796,12 @@ end # Includes the ability to override the default queue name and prefix. # -# source://activejob/lib/active_job/queue_name.rb#8 +# source://activejob//lib/active_job/queue_name.rb#8 module ActiveJob::QueueName::ClassMethods - # source://activejob/lib/active_job/queue_name.rb#9 + # source://activejob//lib/active_job/queue_name.rb#9 def default_queue_name; end - # source://activejob/lib/active_job/queue_name.rb#9 + # source://activejob//lib/active_job/queue_name.rb#9 def default_queue_name=(val); end # Specifies the name of the queue to process the job on. @@ -1832,22 +1833,22 @@ module ActiveJob::QueueName::ClassMethods # end # end # - # source://activejob/lib/active_job/queue_name.rb#39 + # source://activejob//lib/active_job/queue_name.rb#39 def queue_as(part_name = T.unsafe(nil), &block); end - # source://activejob/lib/active_job/queue_name.rb#47 + # source://activejob//lib/active_job/queue_name.rb#47 def queue_name_from_part(part_name); end class << self - # source://activejob/lib/active_job/queue_name.rb#9 + # source://activejob//lib/active_job/queue_name.rb#9 def default_queue_name; end - # source://activejob/lib/active_job/queue_name.rb#9 + # source://activejob//lib/active_job/queue_name.rb#9 def default_queue_name=(val); end end end -# source://activejob/lib/active_job/queue_priority.rb#4 +# source://activejob//lib/active_job/queue_priority.rb#4 module ActiveJob::QueuePriority extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1857,7 +1858,7 @@ module ActiveJob::QueuePriority # Returns the priority that the job will be created with # - # source://activejob/lib/active_job/queue_priority.rb#53 + # source://activejob//lib/active_job/queue_priority.rb#53 def priority; end module GeneratedClassMethods @@ -1871,12 +1872,12 @@ end # Includes the ability to override the default queue priority. # -# source://activejob/lib/active_job/queue_priority.rb#8 +# source://activejob//lib/active_job/queue_priority.rb#8 module ActiveJob::QueuePriority::ClassMethods - # source://activejob/lib/active_job/queue_priority.rb#9 + # source://activejob//lib/active_job/queue_priority.rb#9 def default_priority; end - # source://activejob/lib/active_job/queue_priority.rb#9 + # source://activejob//lib/active_job/queue_priority.rb#9 def default_priority=(val); end # Specifies the priority of the queue to create the job with. @@ -1908,21 +1909,21 @@ module ActiveJob::QueuePriority::ClassMethods # end # end # - # source://activejob/lib/active_job/queue_priority.rb#39 + # source://activejob//lib/active_job/queue_priority.rb#39 def queue_with_priority(priority = T.unsafe(nil), &block); end class << self - # source://activejob/lib/active_job/queue_priority.rb#9 + # source://activejob//lib/active_job/queue_priority.rb#9 def default_priority; end - # source://activejob/lib/active_job/queue_priority.rb#9 + # source://activejob//lib/active_job/queue_priority.rb#9 def default_priority=(val); end end end # = Active Job Railtie # -# source://activejob/lib/active_job/railtie.rb#8 +# source://activejob//lib/active_job/railtie.rb#8 class ActiveJob::Railtie < ::Rails::Railtie; end # Raised when an unsupported argument type is set as a job argument. We @@ -1935,7 +1936,7 @@ class ActiveJob::Railtie < ::Rails::Railtie; end # a symbol. Also raised when trying to serialize an object which can't be # identified with a GlobalID - such as an unpersisted Active Record model. # -# source://activejob/lib/active_job/arguments.rb#26 +# source://activejob//lib/active_job/arguments.rb#26 class ActiveJob::SerializationError < ::ArgumentError; end # = Active Job \Serializers @@ -1943,26 +1944,26 @@ class ActiveJob::SerializationError < ::ArgumentError; end # The +ActiveJob::Serializers+ module is used to store a list of known serializers # and to add new ones. It also has helpers to serialize/deserialize objects. # -# source://activejob/lib/active_job/serializers.rb#10 +# source://activejob//lib/active_job/serializers.rb#10 module ActiveJob::Serializers extend ::ActiveSupport::Autoload - # source://activejob/lib/active_job/serializers.rb#25 + # source://activejob//lib/active_job/serializers.rb#25 def _additional_serializers; end - # source://activejob/lib/active_job/serializers.rb#25 + # source://activejob//lib/active_job/serializers.rb#25 def _additional_serializers=(val); end class << self - # source://activejob/lib/active_job/serializers.rb#25 + # source://activejob//lib/active_job/serializers.rb#25 def _additional_serializers; end - # source://activejob/lib/active_job/serializers.rb#25 + # source://activejob//lib/active_job/serializers.rb#25 def _additional_serializers=(val); end # Adds new serializers to a list of known serializers. # - # source://activejob/lib/active_job/serializers.rb#57 + # source://activejob//lib/active_job/serializers.rb#57 def add_serializers(*new_serializers); end # Returns deserialized object. @@ -1971,7 +1972,7 @@ module ActiveJob::Serializers # # @raise [ArgumentError] # - # source://activejob/lib/active_job/serializers.rb#41 + # source://activejob//lib/active_job/serializers.rb#41 def deserialize(argument); end # Returns serialized representative of the passed object. @@ -1980,82 +1981,82 @@ module ActiveJob::Serializers # # @raise [SerializationError] # - # source://activejob/lib/active_job/serializers.rb#32 + # source://activejob//lib/active_job/serializers.rb#32 def serialize(argument); end # Returns list of known serializers. # - # source://activejob/lib/active_job/serializers.rb#52 + # source://activejob//lib/active_job/serializers.rb#52 def serializers; end end end -# source://activejob/lib/active_job/serializers/big_decimal_serializer.rb#7 +# source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#7 class ActiveJob::Serializers::BigDecimalSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/big_decimal_serializer.rb#12 + # source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#12 def deserialize(hash); end - # source://activejob/lib/active_job/serializers/big_decimal_serializer.rb#8 + # source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#8 def serialize(big_decimal); end private - # source://activejob/lib/active_job/serializers/big_decimal_serializer.rb#17 + # source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#17 def klass; end end -# source://activejob/lib/active_job/serializers/date_serializer.rb#5 +# source://activejob//lib/active_job/serializers/date_serializer.rb#5 class ActiveJob::Serializers::DateSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/date_serializer.rb#10 + # source://activejob//lib/active_job/serializers/date_serializer.rb#10 def deserialize(hash); end - # source://activejob/lib/active_job/serializers/date_serializer.rb#6 + # source://activejob//lib/active_job/serializers/date_serializer.rb#6 def serialize(date); end private - # source://activejob/lib/active_job/serializers/date_serializer.rb#15 + # source://activejob//lib/active_job/serializers/date_serializer.rb#15 def klass; end end -# source://activejob/lib/active_job/serializers/date_time_serializer.rb#5 +# source://activejob//lib/active_job/serializers/date_time_serializer.rb#5 class ActiveJob::Serializers::DateTimeSerializer < ::ActiveJob::Serializers::TimeObjectSerializer - # source://activejob/lib/active_job/serializers/date_time_serializer.rb#6 + # source://activejob//lib/active_job/serializers/date_time_serializer.rb#6 def deserialize(hash); end private - # source://activejob/lib/active_job/serializers/date_time_serializer.rb#11 + # source://activejob//lib/active_job/serializers/date_time_serializer.rb#11 def klass; end end -# source://activejob/lib/active_job/serializers/duration_serializer.rb#5 +# source://activejob//lib/active_job/serializers/duration_serializer.rb#5 class ActiveJob::Serializers::DurationSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/duration_serializer.rb#12 + # source://activejob//lib/active_job/serializers/duration_serializer.rb#12 def deserialize(hash); end - # source://activejob/lib/active_job/serializers/duration_serializer.rb#6 + # source://activejob//lib/active_job/serializers/duration_serializer.rb#6 def serialize(duration); end private - # source://activejob/lib/active_job/serializers/duration_serializer.rb#20 + # source://activejob//lib/active_job/serializers/duration_serializer.rb#20 def klass; end end -# source://activejob/lib/active_job/serializers/module_serializer.rb#5 +# source://activejob//lib/active_job/serializers/module_serializer.rb#5 class ActiveJob::Serializers::ModuleSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/module_serializer.rb#11 + # source://activejob//lib/active_job/serializers/module_serializer.rb#11 def deserialize(hash); end # @raise [SerializationError] # - # source://activejob/lib/active_job/serializers/module_serializer.rb#6 + # source://activejob//lib/active_job/serializers/module_serializer.rb#6 def serialize(constant); end private - # source://activejob/lib/active_job/serializers/module_serializer.rb#16 + # source://activejob//lib/active_job/serializers/module_serializer.rb#16 def klass; end end @@ -2079,7 +2080,7 @@ end # end # end # -# source://activejob/lib/active_job/serializers/object_serializer.rb#24 +# source://activejob//lib/active_job/serializers/object_serializer.rb#24 class ActiveJob::Serializers::ObjectSerializer include ::Singleton extend ::Singleton::SingletonClassMethods @@ -2088,19 +2089,19 @@ class ActiveJob::Serializers::ObjectSerializer # # @raise [NotImplementedError] # - # source://activejob/lib/active_job/serializers/object_serializer.rb#42 + # source://activejob//lib/active_job/serializers/object_serializer.rb#42 def deserialize(json); end # Serializes an argument to a JSON primitive type. # - # source://activejob/lib/active_job/serializers/object_serializer.rb#37 + # source://activejob//lib/active_job/serializers/object_serializer.rb#37 def serialize(hash); end # Determines if an argument should be serialized by a serializer. # # @return [Boolean] # - # source://activejob/lib/active_job/serializers/object_serializer.rb#32 + # source://activejob//lib/active_job/serializers/object_serializer.rb#32 def serialize?(argument); end private @@ -2109,106 +2110,109 @@ class ActiveJob::Serializers::ObjectSerializer # # @raise [NotImplementedError] # - # source://activejob/lib/active_job/serializers/object_serializer.rb#48 + # source://activejob//lib/active_job/serializers/object_serializer.rb#48 def klass; end class << self - # source://activejob/lib/active_job/serializers/object_serializer.rb#28 + # source://activejob//lib/active_job/serializers/object_serializer.rb#28 def deserialize(*_arg0, **_arg1, &_arg2); end - # source://activejob/lib/active_job/serializers/object_serializer.rb#28 + # source://activejob//lib/active_job/serializers/object_serializer.rb#28 def serialize(*_arg0, **_arg1, &_arg2); end - # source://activejob/lib/active_job/serializers/object_serializer.rb#28 + # source://activejob//lib/active_job/serializers/object_serializer.rb#28 def serialize?(*_arg0, **_arg1, &_arg2); end private + # source://activejob//lib/active_job/serializers/object_serializer.rb#25 def allocate; end + + # source://activejob//lib/active_job/serializers/object_serializer.rb#25 def new(*_arg0); end end end -# source://activejob/lib/active_job/serializers/range_serializer.rb#5 +# source://activejob//lib/active_job/serializers/range_serializer.rb#5 class ActiveJob::Serializers::RangeSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/range_serializer.rb#13 + # source://activejob//lib/active_job/serializers/range_serializer.rb#13 def deserialize(hash); end - # source://activejob/lib/active_job/serializers/range_serializer.rb#8 + # source://activejob//lib/active_job/serializers/range_serializer.rb#8 def serialize(range); end private - # source://activejob/lib/active_job/serializers/range_serializer.rb#18 + # source://activejob//lib/active_job/serializers/range_serializer.rb#18 def klass; end end -# source://activejob/lib/active_job/serializers/range_serializer.rb#6 +# source://activejob//lib/active_job/serializers/range_serializer.rb#6 ActiveJob::Serializers::RangeSerializer::KEYS = T.let(T.unsafe(nil), Array) -# source://activejob/lib/active_job/serializers/symbol_serializer.rb#5 +# source://activejob//lib/active_job/serializers/symbol_serializer.rb#5 class ActiveJob::Serializers::SymbolSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/symbol_serializer.rb#10 + # source://activejob//lib/active_job/serializers/symbol_serializer.rb#10 def deserialize(argument); end - # source://activejob/lib/active_job/serializers/symbol_serializer.rb#6 + # source://activejob//lib/active_job/serializers/symbol_serializer.rb#6 def serialize(argument); end private - # source://activejob/lib/active_job/serializers/symbol_serializer.rb#15 + # source://activejob//lib/active_job/serializers/symbol_serializer.rb#15 def klass; end end -# source://activejob/lib/active_job/serializers/time_object_serializer.rb#5 +# source://activejob//lib/active_job/serializers/time_object_serializer.rb#5 class ActiveJob::Serializers::TimeObjectSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/time_object_serializer.rb#8 + # source://activejob//lib/active_job/serializers/time_object_serializer.rb#8 def serialize(time); end end -# source://activejob/lib/active_job/serializers/time_object_serializer.rb#6 +# source://activejob//lib/active_job/serializers/time_object_serializer.rb#6 ActiveJob::Serializers::TimeObjectSerializer::NANO_PRECISION = T.let(T.unsafe(nil), Integer) -# source://activejob/lib/active_job/serializers/time_serializer.rb#5 +# source://activejob//lib/active_job/serializers/time_serializer.rb#5 class ActiveJob::Serializers::TimeSerializer < ::ActiveJob::Serializers::TimeObjectSerializer - # source://activejob/lib/active_job/serializers/time_serializer.rb#6 + # source://activejob//lib/active_job/serializers/time_serializer.rb#6 def deserialize(hash); end private - # source://activejob/lib/active_job/serializers/time_serializer.rb#11 + # source://activejob//lib/active_job/serializers/time_serializer.rb#11 def klass; end end -# source://activejob/lib/active_job/serializers/time_with_zone_serializer.rb#5 +# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#5 class ActiveJob::Serializers::TimeWithZoneSerializer < ::ActiveJob::Serializers::ObjectSerializer - # source://activejob/lib/active_job/serializers/time_with_zone_serializer.rb#15 + # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#15 def deserialize(hash); end - # source://activejob/lib/active_job/serializers/time_with_zone_serializer.rb#8 + # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#8 def serialize(time_with_zone); end private - # source://activejob/lib/active_job/serializers/time_with_zone_serializer.rb#20 + # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#20 def klass; end end -# source://activejob/lib/active_job/serializers/time_with_zone_serializer.rb#6 +# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#6 ActiveJob::Serializers::TimeWithZoneSerializer::NANO_PRECISION = T.let(T.unsafe(nil), Integer) -# source://activejob/lib/active_job/test_case.rb#6 +# source://activejob//lib/active_job/test_case.rb#6 class ActiveJob::TestCase < ::ActiveSupport::TestCase include ::ActiveJob::TestHelper end # Provides helper methods for testing Active Job # -# source://activejob/lib/active_job/test_helper.rb#8 +# source://activejob//lib/active_job/test_helper.rb#8 module ActiveJob::TestHelper include ::ActiveSupport::Testing::Assertions - # source://activejob/lib/active_job/test_helper.rb#53 + # source://activejob//lib/active_job/test_helper.rb#53 def after_teardown; end # Asserts that the number of enqueued jobs matches the given number. @@ -2265,7 +2269,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob/lib/active_job/test_helper.rb#120 + # source://activejob//lib/active_job/test_helper.rb#120 def assert_enqueued_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end # Asserts that the job has been enqueued with the given arguments. @@ -2321,7 +2325,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob/lib/active_job/test_helper.rb#396 + # source://activejob//lib/active_job/test_helper.rb#396 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 # Asserts that no jobs have been enqueued. @@ -2371,7 +2375,7 @@ module ActiveJob::TestHelper # # assert_enqueued_jobs 0, &block # - # source://activejob/lib/active_job/test_helper.rb#182 + # source://activejob//lib/active_job/test_helper.rb#182 def assert_no_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end # Asserts that no jobs have been performed. @@ -2427,7 +2431,7 @@ module ActiveJob::TestHelper # # assert_performed_jobs 0, &block # - # source://activejob/lib/active_job/test_helper.rb#340 + # source://activejob//lib/active_job/test_helper.rb#340 def assert_no_performed_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end # Asserts that the number of performed jobs matches the given number. @@ -2517,7 +2521,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob/lib/active_job/test_helper.rb#272 + # source://activejob//lib/active_job/test_helper.rb#272 def assert_performed_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end # Asserts that the job has been performed with the given arguments. @@ -2577,16 +2581,16 @@ module ActiveJob::TestHelper # end # end # - # source://activejob/lib/active_job/test_helper.rb#498 + # source://activejob//lib/active_job/test_helper.rb#498 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/lib/active_job/test_helper.rb#41 + # source://activejob//lib/active_job/test_helper.rb#41 def before_setup; end - # source://activejob/lib/active_job/test_helper.rb#9 + # source://activejob//lib/active_job/test_helper.rb#9 def enqueued_jobs(*_arg0, **_arg1, &_arg2); end - # source://activejob/lib/active_job/test_helper.rb#9 + # source://activejob//lib/active_job/test_helper.rb#9 def enqueued_jobs=(arg); end # Performs all enqueued jobs. If a block is given, performs all of the jobs @@ -2651,13 +2655,13 @@ module ActiveJob::TestHelper # If queue_adapter_for_test is overridden to return a different adapter, # +perform_enqueued_jobs+ will merely execute the block. # - # source://activejob/lib/active_job/test_helper.rb#606 + # source://activejob//lib/active_job/test_helper.rb#606 def perform_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end - # source://activejob/lib/active_job/test_helper.rb#9 + # source://activejob//lib/active_job/test_helper.rb#9 def performed_jobs(*_arg0, **_arg1, &_arg2); end - # source://activejob/lib/active_job/test_helper.rb#9 + # source://activejob//lib/active_job/test_helper.rb#9 def performed_jobs=(arg); end # Accesses the queue_adapter set by ActiveJob::Base. @@ -2666,7 +2670,7 @@ module ActiveJob::TestHelper # assert_instance_of CustomQueueAdapter, HelloJob.queue_adapter # end # - # source://activejob/lib/active_job/test_helper.rb#644 + # source://activejob//lib/active_job/test_helper.rb#644 def queue_adapter; end # Returns a queue adapter instance to use with all Active Job test helpers. @@ -2674,56 +2678,56 @@ module ActiveJob::TestHelper # Override this method to specify a different adapter. The adapter must # implement the same interface as ActiveJob::QueueAdapters::TestAdapter. # - # source://activejob/lib/active_job/test_helper.rb#63 + # source://activejob//lib/active_job/test_helper.rb#63 def queue_adapter_for_test; end private - # source://activejob/lib/active_job/test_helper.rb#653 + # source://activejob//lib/active_job/test_helper.rb#653 def clear_enqueued_jobs; end - # source://activejob/lib/active_job/test_helper.rb#657 + # source://activejob//lib/active_job/test_helper.rb#657 def clear_performed_jobs; end - # source://activejob/lib/active_job/test_helper.rb#722 + # source://activejob//lib/active_job/test_helper.rb#722 def deserialize_args_for_assertion(job); end - # source://activejob/lib/active_job/test_helper.rb#693 + # source://activejob//lib/active_job/test_helper.rb#693 def enqueued_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end - # source://activejob/lib/active_job/test_helper.rb#687 + # source://activejob//lib/active_job/test_helper.rb#687 def filter_as_proc(filter); end - # source://activejob/lib/active_job/test_helper.rb#701 + # source://activejob//lib/active_job/test_helper.rb#701 def flush_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end - # source://activejob/lib/active_job/test_helper.rb#729 + # source://activejob//lib/active_job/test_helper.rb#729 def instantiate_job(payload, skip_deserialize_arguments: T.unsafe(nil)); end - # source://activejob/lib/active_job/test_helper.rb#661 + # source://activejob//lib/active_job/test_helper.rb#661 def jobs_with(jobs, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end - # source://activejob/lib/active_job/test_helper.rb#697 + # source://activejob//lib/active_job/test_helper.rb#697 def performed_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - # source://activejob/lib/active_job/test_helper.rb#709 + # source://activejob//lib/active_job/test_helper.rb#709 def prepare_args_for_assertion(args); end - # source://activejob/lib/active_job/test_helper.rb#736 + # source://activejob//lib/active_job/test_helper.rb#736 def queue_adapter_changed_jobs; end # @return [Boolean] # - # source://activejob/lib/active_job/test_helper.rb#649 + # source://activejob//lib/active_job/test_helper.rb#649 def using_test_adapter?; end # @raise [ArgumentError] # - # source://activejob/lib/active_job/test_helper.rb#743 + # source://activejob//lib/active_job/test_helper.rb#743 def validate_option(only: T.unsafe(nil), except: T.unsafe(nil)); end end -# source://activejob/lib/active_job/test_helper.rb#15 +# source://activejob//lib/active_job/test_helper.rb#15 module ActiveJob::TestHelper::TestQueueAdapter extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2739,42 +2743,42 @@ module ActiveJob::TestHelper::TestQueueAdapter module GeneratedInstanceMethods; end end -# source://activejob/lib/active_job/test_helper.rb#22 +# source://activejob//lib/active_job/test_helper.rb#22 module ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activejob/lib/active_job/test_helper.rb#27 + # source://activejob//lib/active_job/test_helper.rb#27 def disable_test_adapter; end - # source://activejob/lib/active_job/test_helper.rb#31 + # source://activejob//lib/active_job/test_helper.rb#31 def enable_test_adapter(test_adapter); end - # source://activejob/lib/active_job/test_helper.rb#23 + # source://activejob//lib/active_job/test_helper.rb#23 def queue_adapter; end end -# source://activejob/lib/active_job/timezones.rb#4 +# source://activejob//lib/active_job/timezones.rb#4 module ActiveJob::Timezones extend ::ActiveSupport::Concern end -# source://activejob/lib/active_job/translation.rb#4 +# source://activejob//lib/active_job/translation.rb#4 module ActiveJob::Translation extend ::ActiveSupport::Concern end -# source://activejob/lib/active_job/gem_version.rb#9 +# source://activejob//lib/active_job/gem_version.rb#9 module ActiveJob::VERSION; end -# source://activejob/lib/active_job/gem_version.rb#10 +# source://activejob//lib/active_job/gem_version.rb#10 ActiveJob::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activejob/lib/active_job/gem_version.rb#11 +# source://activejob//lib/active_job/gem_version.rb#11 ActiveJob::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activejob/lib/active_job/gem_version.rb#13 +# source://activejob//lib/active_job/gem_version.rb#13 ActiveJob::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/gem_version.rb#15 +# source://activejob//lib/active_job/gem_version.rb#15 ActiveJob::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activejob/lib/active_job/gem_version.rb#12 +# source://activejob//lib/active_job/gem_version.rb#12 ActiveJob::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi b/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi index ee6ecbced..a2bb16ca1 100644 --- a/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +++ b/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi @@ -4,22 +4,9 @@ # This is an autogenerated file for types exported from the `activemodel-serializers-xml` gem. # Please instead update this file by running `bin/tapioca gem activemodel-serializers-xml`. -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#8 -module ActiveModel - class << self - # source://activemodel/7.1.4/lib/active_model/deprecator.rb#4 - def deprecator; end - - # source://activemodel/7.1.4/lib/active_model.rb#76 - def eager_load!; end - - # source://activemodel/7.1.4/lib/active_model/gem_version.rb#5 - def gem_version; end - # source://activemodel/7.1.4/lib/active_model/version.rb#7 - def version; end - end -end +# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#8 +module ActiveModel; end # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#9 module ActiveModel::Serializers; end diff --git a/sorbet/rbi/gems/activemodel@7.1.5.1.rbi b/sorbet/rbi/gems/activemodel@7.1.5.1.rbi index ef4c40ffc..e403c6910 100644 --- a/sorbet/rbi/gems/activemodel@7.1.5.1.rbi +++ b/sorbet/rbi/gems/activemodel@7.1.5.1.rbi @@ -4,27 +4,28 @@ # This is an autogenerated file for types exported from the `activemodel` gem. # Please instead update this file by running `bin/tapioca gem activemodel`. + # :include: ../README.rdoc # -# source://activemodel/lib/active_model/gem_version.rb#3 +# source://activemodel//lib/active_model/gem_version.rb#3 module ActiveModel extend ::ActiveSupport::Autoload class << self - # source://activemodel/lib/active_model/deprecator.rb#4 + # source://activemodel//lib/active_model/deprecator.rb#4 def deprecator; end - # source://activemodel/lib/active_model.rb#76 + # source://activemodel//lib/active_model.rb#76 def eager_load!; end # Returns the currently loaded version of \Active \Model as a +Gem::Version+. # - # source://activemodel/lib/active_model/gem_version.rb#5 + # source://activemodel//lib/active_model/gem_version.rb#5 def gem_version; end # Returns the currently loaded version of \Active \Model as a +Gem::Version+. # - # source://activemodel/lib/active_model/version.rb#7 + # source://activemodel//lib/active_model/version.rb#7 def version; end end end @@ -85,7 +86,7 @@ end # refer to the specific modules included in +ActiveModel::API+ # (see below). # -# source://activemodel/lib/active_model/api.rb#59 +# source://activemodel//lib/active_model/api.rb#59 module ActiveModel::API include ::ActiveModel::ForbiddenAttributesProtection include ::ActiveModel::AttributeAssignment @@ -116,7 +117,7 @@ module ActiveModel::API # person.name # => "bob" # person.age # => "18" # - # source://activemodel/lib/active_model/api.rb#80 + # source://activemodel//lib/active_model/api.rb#80 def initialize(attributes = T.unsafe(nil)); end # Indicates if the model is persisted. Default is +false+. @@ -131,7 +132,7 @@ module ActiveModel::API # # @return [Boolean] # - # source://activemodel/lib/active_model/api.rb#95 + # source://activemodel//lib/active_model/api.rb#95 def persisted?; end module GeneratedClassMethods @@ -155,293 +156,293 @@ module ActiveModel::API end end -# source://activemodel/lib/active_model/access.rb#7 +# source://activemodel//lib/active_model/access.rb#7 module ActiveModel::Access - # source://activemodel/lib/active_model/access.rb#8 + # source://activemodel//lib/active_model/access.rb#8 def slice(*methods); end - # source://activemodel/lib/active_model/access.rb#12 + # source://activemodel//lib/active_model/access.rb#12 def values_at(*methods); end end -# source://activemodel/lib/active_model/attribute.rb#6 +# source://activemodel//lib/active_model/attribute.rb#6 class ActiveModel::Attribute # This method should not be called directly. # Use #from_database or #from_user # # @return [Attribute] a new instance of Attribute # - # source://activemodel/lib/active_model/attribute.rb#33 + # source://activemodel//lib/active_model/attribute.rb#33 def initialize(name, value_before_type_cast, type, original_attribute = T.unsafe(nil), value = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute.rb#115 + # source://activemodel//lib/active_model/attribute.rb#115 def ==(other); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#107 + # source://activemodel//lib/active_model/attribute.rb#107 def came_from_user?; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#66 + # source://activemodel//lib/active_model/attribute.rb#66 def changed?; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#70 + # source://activemodel//lib/active_model/attribute.rb#70 def changed_in_place?; end - # source://activemodel/lib/active_model/attribute.rb#135 + # source://activemodel//lib/active_model/attribute.rb#135 def encode_with(coder); end - # source://activemodel/lib/active_model/attribute.rb#115 + # source://activemodel//lib/active_model/attribute.rb#121 def eql?(other); end - # source://activemodel/lib/active_model/attribute.rb#74 + # source://activemodel//lib/active_model/attribute.rb#74 def forgetting_assignment; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#111 + # source://activemodel//lib/active_model/attribute.rb#111 def has_been_read?; end - # source://activemodel/lib/active_model/attribute.rb#123 + # source://activemodel//lib/active_model/attribute.rb#123 def hash; end - # source://activemodel/lib/active_model/attribute.rb#127 + # source://activemodel//lib/active_model/attribute.rb#127 def init_with(coder); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#103 + # source://activemodel//lib/active_model/attribute.rb#103 def initialized?; end # Returns the value of attribute name. # - # source://activemodel/lib/active_model/attribute.rb#29 + # source://activemodel//lib/active_model/attribute.rb#29 def name; end - # source://activemodel/lib/active_model/attribute.rb#47 + # source://activemodel//lib/active_model/attribute.rb#47 def original_value; end - # source://activemodel/lib/active_model/attribute.rb#143 + # source://activemodel//lib/active_model/attribute.rb#143 def original_value_for_database; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#62 + # source://activemodel//lib/active_model/attribute.rb#62 def serializable?(&block); end # Returns the value of attribute type. # - # source://activemodel/lib/active_model/attribute.rb#29 + # source://activemodel//lib/active_model/attribute.rb#29 def type; end # @raise [NotImplementedError] # - # source://activemodel/lib/active_model/attribute.rb#99 + # source://activemodel//lib/active_model/attribute.rb#99 def type_cast(*_arg0); end - # source://activemodel/lib/active_model/attribute.rb#41 + # source://activemodel//lib/active_model/attribute.rb#41 def value; end # Returns the value of attribute value_before_type_cast. # - # source://activemodel/lib/active_model/attribute.rb#29 + # source://activemodel//lib/active_model/attribute.rb#29 def value_before_type_cast; end - # source://activemodel/lib/active_model/attribute.rb#55 + # source://activemodel//lib/active_model/attribute.rb#55 def value_for_database; end - # source://activemodel/lib/active_model/attribute.rb#87 + # source://activemodel//lib/active_model/attribute.rb#87 def with_cast_value(value); end - # source://activemodel/lib/active_model/attribute.rb#91 + # source://activemodel//lib/active_model/attribute.rb#91 def with_type(type); end - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#7 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#7 def with_user_default(value); end - # source://activemodel/lib/active_model/attribute.rb#83 + # source://activemodel//lib/active_model/attribute.rb#83 def with_value_from_database(value); end - # source://activemodel/lib/active_model/attribute.rb#78 + # source://activemodel//lib/active_model/attribute.rb#78 def with_value_from_user(value); end private - # source://activemodel/lib/active_model/attribute.rb#169 + # source://activemodel//lib/active_model/attribute.rb#169 def _original_value_for_database; end - # source://activemodel/lib/active_model/attribute.rb#165 + # source://activemodel//lib/active_model/attribute.rb#165 def _value_for_database; end # Returns the value of attribute original_attribute. # - # source://activemodel/lib/active_model/attribute.rb#152 + # source://activemodel//lib/active_model/attribute.rb#153 def assigned?; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#161 + # source://activemodel//lib/active_model/attribute.rb#161 def changed_from_assignment?; end - # source://activemodel/lib/active_model/attribute.rb#155 + # source://activemodel//lib/active_model/attribute.rb#155 def initialize_dup(other); end # Returns the value of attribute original_attribute. # - # source://activemodel/lib/active_model/attribute.rb#152 + # source://activemodel//lib/active_model/attribute.rb#152 def original_attribute; end class << self - # source://activemodel/lib/active_model/attribute.rb#8 + # source://activemodel//lib/active_model/attribute.rb#8 def from_database(name, value_before_type_cast, type, value = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute.rb#12 + # source://activemodel//lib/active_model/attribute.rb#12 def from_user(name, value_before_type_cast, type, original_attribute = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute.rb#20 + # source://activemodel//lib/active_model/attribute.rb#20 def null(name); end - # source://activemodel/lib/active_model/attribute.rb#24 + # source://activemodel//lib/active_model/attribute.rb#24 def uninitialized(name, type); end - # source://activemodel/lib/active_model/attribute.rb#16 + # source://activemodel//lib/active_model/attribute.rb#16 def with_cast_value(name, value_before_type_cast, type); end end end -# source://activemodel/lib/active_model/attribute.rb#173 +# source://activemodel//lib/active_model/attribute.rb#173 class ActiveModel::Attribute::FromDatabase < ::ActiveModel::Attribute - # source://activemodel/lib/active_model/attribute.rb#178 + # source://activemodel//lib/active_model/attribute.rb#178 def forgetting_assignment; end - # source://activemodel/lib/active_model/attribute.rb#174 + # source://activemodel//lib/active_model/attribute.rb#174 def type_cast(value); end private - # source://activemodel/lib/active_model/attribute.rb#192 + # source://activemodel//lib/active_model/attribute.rb#192 def _original_value_for_database; end end -# source://activemodel/lib/active_model/attribute.rb#197 +# source://activemodel//lib/active_model/attribute.rb#197 class ActiveModel::Attribute::FromUser < ::ActiveModel::Attribute # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#202 + # source://activemodel//lib/active_model/attribute.rb#202 def came_from_user?; end - # source://activemodel/lib/active_model/attribute.rb#198 + # source://activemodel//lib/active_model/attribute.rb#198 def type_cast(value); end private - # source://activemodel/lib/active_model/attribute.rb#207 + # source://activemodel//lib/active_model/attribute.rb#207 def _value_for_database; end end -# source://activemodel/lib/active_model/attribute.rb#222 +# source://activemodel//lib/active_model/attribute.rb#222 class ActiveModel::Attribute::Null < ::ActiveModel::Attribute # @return [Null] a new instance of Null # - # source://activemodel/lib/active_model/attribute.rb#223 + # source://activemodel//lib/active_model/attribute.rb#223 def initialize(name); end - # source://activemodel/lib/active_model/attribute.rb#227 + # source://activemodel//lib/active_model/attribute.rb#227 def type_cast(*_arg0); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel/lib/active_model/attribute.rb#235 + # source://activemodel//lib/active_model/attribute.rb#239 def with_cast_value(value); end - # source://activemodel/lib/active_model/attribute.rb#231 + # source://activemodel//lib/active_model/attribute.rb#231 def with_type(type); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel/lib/active_model/attribute.rb#235 + # source://activemodel//lib/active_model/attribute.rb#235 def with_value_from_database(value); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel/lib/active_model/attribute.rb#235 + # source://activemodel//lib/active_model/attribute.rb#238 def with_value_from_user(value); end end -# source://activemodel/lib/active_model/attribute.rb#242 +# source://activemodel//lib/active_model/attribute.rb#242 class ActiveModel::Attribute::Uninitialized < ::ActiveModel::Attribute # @return [Uninitialized] a new instance of Uninitialized # - # source://activemodel/lib/active_model/attribute.rb#245 + # source://activemodel//lib/active_model/attribute.rb#245 def initialize(name, type); end - # source://activemodel/lib/active_model/attribute.rb#266 + # source://activemodel//lib/active_model/attribute.rb#266 def forgetting_assignment; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#262 + # source://activemodel//lib/active_model/attribute.rb#262 def initialized?; end - # source://activemodel/lib/active_model/attribute.rb#255 + # source://activemodel//lib/active_model/attribute.rb#255 def original_value; end - # source://activemodel/lib/active_model/attribute.rb#249 + # source://activemodel//lib/active_model/attribute.rb#249 def value; end - # source://activemodel/lib/active_model/attribute.rb#259 + # source://activemodel//lib/active_model/attribute.rb#259 def value_for_database; end - # source://activemodel/lib/active_model/attribute.rb#270 + # source://activemodel//lib/active_model/attribute.rb#270 def with_type(type); end end -# source://activemodel/lib/active_model/attribute.rb#243 +# source://activemodel//lib/active_model/attribute.rb#243 ActiveModel::Attribute::Uninitialized::UNINITIALIZED_ORIGINAL_VALUE = T.let(T.unsafe(nil), Object) -# source://activemodel/lib/active_model/attribute/user_provided_default.rb#11 +# source://activemodel//lib/active_model/attribute/user_provided_default.rb#11 class ActiveModel::Attribute::UserProvidedDefault < ::ActiveModel::Attribute::FromUser # @return [UserProvidedDefault] a new instance of UserProvidedDefault # - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#12 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#12 def initialize(name, value, type, database_default); end - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#29 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#29 def marshal_dump; end - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#40 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#40 def marshal_load(values); end - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#17 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#17 def value_before_type_cast; end - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#25 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#25 def with_type(type); end private # Returns the value of attribute user_provided_value. # - # source://activemodel/lib/active_model/attribute/user_provided_default.rb#52 + # source://activemodel//lib/active_model/attribute/user_provided_default.rb#52 def user_provided_value; end end -# source://activemodel/lib/active_model/attribute.rb#212 +# source://activemodel//lib/active_model/attribute.rb#212 class ActiveModel::Attribute::WithCastValue < ::ActiveModel::Attribute # @return [Boolean] # - # source://activemodel/lib/active_model/attribute.rb#217 + # source://activemodel//lib/active_model/attribute.rb#217 def changed_in_place?; end - # source://activemodel/lib/active_model/attribute.rb#213 + # source://activemodel//lib/active_model/attribute.rb#213 def type_cast(value); end end -# source://activemodel/lib/active_model/attribute_assignment.rb#6 +# source://activemodel//lib/active_model/attribute_assignment.rb#6 module ActiveModel::AttributeAssignment include ::ActiveModel::ForbiddenAttributesProtection @@ -465,7 +466,7 @@ module ActiveModel::AttributeAssignment # cat.name # => 'Gorby' # cat.status # => 'sleeping' # - # source://activemodel/lib/active_model/attribute_assignment.rb#28 + # source://activemodel//lib/active_model/attribute_assignment.rb#28 def assign_attributes(new_attributes); end # Allows you to set all the attributes by passing in a hash of attributes with @@ -488,15 +489,15 @@ module ActiveModel::AttributeAssignment # cat.name # => 'Gorby' # cat.status # => 'sleeping' # - # source://activemodel/lib/active_model/attribute_assignment.rb#28 + # source://activemodel//lib/active_model/attribute_assignment.rb#37 def attributes=(new_attributes); end private - # source://activemodel/lib/active_model/attribute_assignment.rb#46 + # source://activemodel//lib/active_model/attribute_assignment.rb#46 def _assign_attribute(k, v); end - # source://activemodel/lib/active_model/attribute_assignment.rb#40 + # source://activemodel//lib/active_model/attribute_assignment.rb#40 def _assign_attributes(attributes); end end @@ -547,7 +548,7 @@ end # end # end # -# source://activemodel/lib/active_model/attribute_methods.rb#64 +# source://activemodel//lib/active_model/attribute_methods.rb#64 module ActiveModel::AttributeMethods extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -560,7 +561,7 @@ module ActiveModel::AttributeMethods # attribute method. If so, we tell +attribute_missing+ to dispatch the # attribute. This method can be overloaded to customize the behavior. # - # source://activemodel/lib/active_model/attribute_methods.rb#520 + # source://activemodel//lib/active_model/attribute_methods.rb#520 def attribute_missing(match, *args, **_arg2, &block); end # Allows access to the object attributes, which are held in the hash @@ -574,38 +575,40 @@ module ActiveModel::AttributeMethods # class belonging to the +clients+ table with a +master_id+ foreign key # can instantiate master through Client#master. # - # source://activemodel/lib/active_model/attribute_methods.rb#506 + # source://activemodel//lib/active_model/attribute_methods.rb#506 def method_missing(method, *args, **_arg2, &block); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_methods.rb#529 + # source://activemodel//lib/active_model/attribute_methods.rb#529 def respond_to?(method, include_private_methods = T.unsafe(nil)); end # A +Person+ instance with a +name+ attribute can ask # person.respond_to?(:name), person.respond_to?(:name=), # and person.respond_to?(:name?) which will all return +true+. + # + # source://activemodel//lib/active_model/attribute_methods.rb#528 def respond_to_without_attributes?(*_arg0); end private - # source://activemodel/lib/active_model/attribute_methods.rb#557 + # source://activemodel//lib/active_model/attribute_methods.rb#557 def _read_attribute(attr); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_methods.rb#542 + # source://activemodel//lib/active_model/attribute_methods.rb#542 def attribute_method?(attr_name); end # Returns a struct representing the matching attribute method. # The struct's attributes are prefix, base and suffix. # - # source://activemodel/lib/active_model/attribute_methods.rb#548 + # source://activemodel//lib/active_model/attribute_methods.rb#548 def matched_attribute_method(method_name); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel/lib/active_model/attribute_methods.rb#553 + # source://activemodel//lib/active_model/attribute_methods.rb#553 def missing_attribute(attr_name, stack); end module GeneratedClassMethods @@ -625,7 +628,7 @@ module ActiveModel::AttributeMethods end end -# source://activemodel/lib/active_model/attribute_methods.rb#561 +# source://activemodel//lib/active_model/attribute_methods.rb#561 module ActiveModel::AttributeMethods::AttrNames class << self # We want to generate the methods via module_eval rather than @@ -643,18 +646,18 @@ module ActiveModel::AttributeMethods::AttrNames # Making it frozen means that it doesn't get duped when used to # key the @attributes in read_attribute. # - # source://activemodel/lib/active_model/attribute_methods.rb#578 + # source://activemodel//lib/active_model/attribute_methods.rb#578 def define_attribute_accessor_method(owner, attr_name, writer: T.unsafe(nil)); end end end -# source://activemodel/lib/active_model/attribute_methods.rb#562 +# source://activemodel//lib/active_model/attribute_methods.rb#562 ActiveModel::AttributeMethods::AttrNames::DEF_SAFE_NAME = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/attribute_methods.rb#68 +# source://activemodel//lib/active_model/attribute_methods.rb#68 ActiveModel::AttributeMethods::CALL_COMPILABLE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/attribute_methods.rb#76 +# source://activemodel//lib/active_model/attribute_methods.rb#76 module ActiveModel::AttributeMethods::ClassMethods # Allows you to make aliases for attributes. # @@ -680,25 +683,25 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name_short? # => true # person.nickname_short? # => true # - # source://activemodel/lib/active_model/attribute_methods.rb#204 + # source://activemodel//lib/active_model/attribute_methods.rb#204 def alias_attribute(new_name, old_name); end - # source://activemodel/lib/active_model/attribute_methods.rb#227 + # source://activemodel//lib/active_model/attribute_methods.rb#227 def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end - # source://activemodel/lib/active_model/attribute_methods.rb#397 + # source://activemodel//lib/active_model/attribute_methods.rb#397 def aliases_by_attribute_name; end # Returns the original name for the alias +name+ # - # source://activemodel/lib/active_model/attribute_methods.rb#261 + # source://activemodel//lib/active_model/attribute_methods.rb#261 def attribute_alias(name); end # Is +new_name+ an alias? # # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_methods.rb#256 + # source://activemodel//lib/active_model/attribute_methods.rb#256 def attribute_alias?(new_name); end # Declares a method available for all attributes with the given prefix @@ -732,7 +735,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.reset_name_to_default! # person.name # => 'Default Name' # - # source://activemodel/lib/active_model/attribute_methods.rb#176 + # source://activemodel//lib/active_model/attribute_methods.rb#176 def attribute_method_affix(*affixes); end # Declares a method available for all attributes with the given prefix. @@ -766,7 +769,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.clear_name # person.name # => nil # - # source://activemodel/lib/active_model/attribute_methods.rb#107 + # source://activemodel//lib/active_model/attribute_methods.rb#107 def attribute_method_prefix(*prefixes, parameters: T.unsafe(nil)); end # Declares a method available for all attributes with the given suffix. @@ -799,7 +802,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name # => "Bob" # person.name_short? # => true # - # source://activemodel/lib/active_model/attribute_methods.rb#141 + # source://activemodel//lib/active_model/attribute_methods.rb#141 def attribute_method_suffix(*suffixes, parameters: T.unsafe(nil)); end # Declares an attribute that should be prefixed and suffixed by @@ -831,10 +834,10 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name # => "Bob" # person.name_short? # => true # - # source://activemodel/lib/active_model/attribute_methods.rb#327 + # source://activemodel//lib/active_model/attribute_methods.rb#327 def define_attribute_method(attr_name, _owner: T.unsafe(nil), as: T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_methods.rb#336 + # source://activemodel//lib/active_model/attribute_methods.rb#336 def define_attribute_method_pattern(pattern, attr_name, owner:, as:, override: T.unsafe(nil)); end # Declares the attributes that should be prefixed and suffixed by @@ -861,13 +864,13 @@ module ActiveModel::AttributeMethods::ClassMethods # end # end # - # source://activemodel/lib/active_model/attribute_methods.rb#288 + # source://activemodel//lib/active_model/attribute_methods.rb#288 def define_attribute_methods(*attr_names); end - # source://activemodel/lib/active_model/attribute_methods.rb#212 + # source://activemodel//lib/active_model/attribute_methods.rb#212 def eagerly_generate_alias_attribute_methods(new_name, old_name); end - # source://activemodel/lib/active_model/attribute_methods.rb#218 + # source://activemodel//lib/active_model/attribute_methods.rb#218 def generate_alias_attribute_methods(code_generator, new_name, old_name); end # Removes all the previously dynamically defined methods from the class, including alias attribute methods. @@ -896,7 +899,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name_short? # => NoMethodError # person.first_name # => NoMethodError # - # source://activemodel/lib/active_model/attribute_methods.rb#390 + # source://activemodel//lib/active_model/attribute_methods.rb#390 def undefine_attribute_methods; end private @@ -911,393 +914,410 @@ module ActiveModel::AttributeMethods::ClassMethods # significantly (in our case our test suite finishes 10% faster with # this cache). # - # source://activemodel/lib/active_model/attribute_methods.rb#430 + # source://activemodel//lib/active_model/attribute_methods.rb#430 def attribute_method_patterns_cache; end - # source://activemodel/lib/active_model/attribute_methods.rb#434 + # source://activemodel//lib/active_model/attribute_methods.rb#434 def attribute_method_patterns_matching(method_name); end # Define a method `name` in `mod` that dispatches to `send` # using the given `extra` args. This falls back on `send` # if the called name cannot be compiled. # - # source://activemodel/lib/active_model/attribute_methods.rb#443 + # source://activemodel//lib/active_model/attribute_methods.rb#443 def define_proxy_call(code_generator, name, proxy_target, parameters, *call_args, namespace:, as: T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_methods.rb#413 + # source://activemodel//lib/active_model/attribute_methods.rb#413 def generated_attribute_methods; end - # source://activemodel/lib/active_model/attribute_methods.rb#402 + # source://activemodel//lib/active_model/attribute_methods.rb#402 def inherited(base); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_methods.rb#417 + # source://activemodel//lib/active_model/attribute_methods.rb#417 def instance_method_already_implemented?(method_name); end - # source://activemodel/lib/active_model/attribute_methods.rb#409 + # source://activemodel//lib/active_model/attribute_methods.rb#409 def resolve_attribute_name(name); end end -# source://activemodel/lib/active_model/attribute_methods.rb#470 +# source://activemodel//lib/active_model/attribute_methods.rb#470 class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern # @return [AttributeMethodPattern] a new instance of AttributeMethodPattern # - # source://activemodel/lib/active_model/attribute_methods.rb#475 + # source://activemodel//lib/active_model/attribute_methods.rb#475 def initialize(prefix: T.unsafe(nil), suffix: T.unsafe(nil), parameters: T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_methods.rb#484 + # source://activemodel//lib/active_model/attribute_methods.rb#484 def match(method_name); end - # source://activemodel/lib/active_model/attribute_methods.rb#490 + # source://activemodel//lib/active_model/attribute_methods.rb#490 def method_name(attr_name); end # Returns the value of attribute parameters. # - # source://activemodel/lib/active_model/attribute_methods.rb#471 + # source://activemodel//lib/active_model/attribute_methods.rb#471 def parameters; end # Returns the value of attribute prefix. # - # source://activemodel/lib/active_model/attribute_methods.rb#471 + # source://activemodel//lib/active_model/attribute_methods.rb#471 def prefix; end # Returns the value of attribute proxy_target. # - # source://activemodel/lib/active_model/attribute_methods.rb#471 + # source://activemodel//lib/active_model/attribute_methods.rb#471 def proxy_target; end # Returns the value of attribute suffix. # - # source://activemodel/lib/active_model/attribute_methods.rb#471 + # source://activemodel//lib/active_model/attribute_methods.rb#471 def suffix; end end -# source://activemodel/lib/active_model/attribute_methods.rb#473 +# source://activemodel//lib/active_model/attribute_methods.rb#473 class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod < ::Struct # Returns the value of attribute attr_name # # @return [Object] the current value of attr_name + # + # source://activemodel//lib/active_model/attribute_methods.rb#473 def attr_name; end # Sets the attribute attr_name # # @param value [Object] the value to set the attribute attr_name to. # @return [Object] the newly set value + # + # source://activemodel//lib/active_model/attribute_methods.rb#473 def attr_name=(_); end # Returns the value of attribute proxy_target # # @return [Object] the current value of proxy_target + # + # source://activemodel//lib/active_model/attribute_methods.rb#473 def proxy_target; end # Sets the attribute proxy_target # # @param value [Object] the value to set the attribute proxy_target to. # @return [Object] the newly set value + # + # source://activemodel//lib/active_model/attribute_methods.rb#473 def proxy_target=(_); end class << self + # source://activemodel//lib/active_model/attribute_methods.rb#473 def [](*_arg0); end + + # source://activemodel//lib/active_model/attribute_methods.rb#473 def inspect; end + + # source://activemodel//lib/active_model/attribute_methods.rb#473 def keyword_init?; end + + # source://activemodel//lib/active_model/attribute_methods.rb#473 def members; end + + # source://activemodel//lib/active_model/attribute_methods.rb#473 def new(*_arg0); end end end -# source://activemodel/lib/active_model/attribute_methods.rb#69 +# source://activemodel//lib/active_model/attribute_methods.rb#69 ActiveModel::AttributeMethods::FORWARD_PARAMETERS = T.let(T.unsafe(nil), String) -# source://activemodel/lib/active_model/attribute_methods.rb#67 +# source://activemodel//lib/active_model/attribute_methods.rb#67 ActiveModel::AttributeMethods::NAME_COMPILABLE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/attribute_mutation_tracker.rb#7 +# source://activemodel//lib/active_model/attribute_mutation_tracker.rb#7 class ActiveModel::AttributeMutationTracker # @return [AttributeMutationTracker] a new instance of AttributeMutationTracker # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#10 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#10 def initialize(attributes); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#40 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#40 def any_changes?; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#34 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#34 def change_to_attribute(attr_name); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#44 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#44 def changed?(attr_name, from: T.unsafe(nil), to: T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#14 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#14 def changed_attribute_names; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#50 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#50 def changed_in_place?(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#18 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#18 def changed_values; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#26 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#26 def changes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#63 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#63 def force_change(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#54 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#54 def forget_change(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#59 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#59 def original_value(attr_name); end private - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#74 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#74 def attr_names; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#78 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#78 def attribute_changed?(attr_name); end # Returns the value of attribute attributes. # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#68 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#68 def attributes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#82 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#82 def fetch_value(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#70 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#70 def forced_changes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#86 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#86 def type_cast(attr_name, value); end end -# source://activemodel/lib/active_model/attribute_mutation_tracker.rb#8 +# source://activemodel//lib/active_model/attribute_mutation_tracker.rb#8 ActiveModel::AttributeMutationTracker::OPTION_NOT_GIVEN = T.let(T.unsafe(nil), Object) -# source://activemodel/lib/active_model/attribute_registration.rb#8 +# source://activemodel//lib/active_model/attribute_registration.rb#8 module ActiveModel::AttributeRegistration extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveModel::AttributeRegistration::ClassMethods end -# source://activemodel/lib/active_model/attribute_registration.rb#11 +# source://activemodel//lib/active_model/attribute_registration.rb#11 module ActiveModel::AttributeRegistration::ClassMethods - # source://activemodel/lib/active_model/attribute_registration.rb#22 + # source://activemodel//lib/active_model/attribute_registration.rb#22 def _default_attributes; end - # source://activemodel/lib/active_model/attribute_registration.rb#12 + # source://activemodel//lib/active_model/attribute_registration.rb#12 def attribute(name, type = T.unsafe(nil), default: T.unsafe(nil), **options); end - # source://activemodel/lib/active_model/attribute_registration.rb#26 + # source://activemodel//lib/active_model/attribute_registration.rb#26 def attribute_types; end private - # source://activemodel/lib/active_model/attribute_registration.rb#48 + # source://activemodel//lib/active_model/attribute_registration.rb#48 def apply_pending_attributes(attribute_set); end - # source://activemodel/lib/active_model/attribute_registration.rb#58 + # source://activemodel//lib/active_model/attribute_registration.rb#58 def build_default_attributes; end - # source://activemodel/lib/active_model/attribute_registration.rb#43 + # source://activemodel//lib/active_model/attribute_registration.rb#43 def pending_attribute(name); end - # source://activemodel/lib/active_model/attribute_registration.rb#62 + # source://activemodel//lib/active_model/attribute_registration.rb#62 def reset_default_attributes; end - # source://activemodel/lib/active_model/attribute_registration.rb#68 + # source://activemodel//lib/active_model/attribute_registration.rb#68 def resolve_attribute_name(name); end - # source://activemodel/lib/active_model/attribute_registration.rb#72 + # source://activemodel//lib/active_model/attribute_registration.rb#72 def resolve_type_name(name, **options); end end -# source://activemodel/lib/active_model/attribute_registration.rb#33 +# source://activemodel//lib/active_model/attribute_registration.rb#33 class ActiveModel::AttributeRegistration::ClassMethods::PendingAttribute - # source://activemodel/lib/active_model/attribute_registration.rb#36 + # source://activemodel//lib/active_model/attribute_registration.rb#36 def apply_to(attribute); end # Returns the value of attribute default. # - # source://activemodel/lib/active_model/attribute_registration.rb#34 + # source://activemodel//lib/active_model/attribute_registration.rb#34 def default; end # Sets the attribute default # # @param value the value to set the attribute default to. # - # source://activemodel/lib/active_model/attribute_registration.rb#34 + # source://activemodel//lib/active_model/attribute_registration.rb#34 def default=(_arg0); end # Returns the value of attribute type. # - # source://activemodel/lib/active_model/attribute_registration.rb#34 + # source://activemodel//lib/active_model/attribute_registration.rb#34 def type; end # Sets the attribute type # # @param value the value to set the attribute type to. # - # source://activemodel/lib/active_model/attribute_registration.rb#34 + # source://activemodel//lib/active_model/attribute_registration.rb#34 def type=(_arg0); end end -# source://activemodel/lib/active_model/attribute_set/builder.rb#6 +# source://activemodel//lib/active_model/attribute_set/builder.rb#6 class ActiveModel::AttributeSet # @return [AttributeSet] a new instance of AttributeSet # - # source://activemodel/lib/active_model/attribute_set.rb#12 + # source://activemodel//lib/active_model/attribute_set.rb#12 def initialize(attributes); end - # source://activemodel/lib/active_model/attribute_set.rb#106 + # source://activemodel//lib/active_model/attribute_set.rb#106 def ==(other); end - # source://activemodel/lib/active_model/attribute_set.rb#16 + # source://activemodel//lib/active_model/attribute_set.rb#16 def [](name); end - # source://activemodel/lib/active_model/attribute_set.rb#20 + # source://activemodel//lib/active_model/attribute_set.rb#20 def []=(name, value); end - # source://activemodel/lib/active_model/attribute_set.rb#93 + # source://activemodel//lib/active_model/attribute_set.rb#93 def accessed; end - # source://activemodel/lib/active_model/attribute_set.rb#24 + # source://activemodel//lib/active_model/attribute_set.rb#24 def cast_types; end - # source://activemodel/lib/active_model/attribute_set.rb#73 + # source://activemodel//lib/active_model/attribute_set.rb#73 def deep_dup; end - # source://activemodel/lib/active_model/attribute_set.rb#10 + # source://activemodel//lib/active_model/attribute_set.rb#10 def each_value(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/attribute_set.rb#10 + # source://activemodel//lib/active_model/attribute_set.rb#10 def except(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/attribute_set.rb#10 + # source://activemodel//lib/active_model/attribute_set.rb#10 def fetch(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/attribute_set.rb#50 + # source://activemodel//lib/active_model/attribute_set.rb#50 def fetch_value(name, &block); end - # source://activemodel/lib/active_model/attribute_set.rb#68 + # source://activemodel//lib/active_model/attribute_set.rb#68 def freeze; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_set.rb#41 + # source://activemodel//lib/active_model/attribute_set.rb#44 def include?(name); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_set.rb#41 + # source://activemodel//lib/active_model/attribute_set.rb#41 def key?(name); end - # source://activemodel/lib/active_model/attribute_set.rb#46 + # source://activemodel//lib/active_model/attribute_set.rb#46 def keys; end - # source://activemodel/lib/active_model/attribute_set.rb#97 + # source://activemodel//lib/active_model/attribute_set.rb#97 def map(&block); end - # source://activemodel/lib/active_model/attribute_set.rb#87 + # source://activemodel//lib/active_model/attribute_set.rb#87 def reset(key); end - # source://activemodel/lib/active_model/attribute_set.rb#102 + # source://activemodel//lib/active_model/attribute_set.rb#102 def reverse_merge!(target_attributes); end - # source://activemodel/lib/active_model/attribute_set.rb#36 + # source://activemodel//lib/active_model/attribute_set.rb#39 def to_h; end - # source://activemodel/lib/active_model/attribute_set.rb#36 + # source://activemodel//lib/active_model/attribute_set.rb#36 def to_hash; end - # source://activemodel/lib/active_model/attribute_set.rb#28 + # source://activemodel//lib/active_model/attribute_set.rb#28 def values_before_type_cast; end - # source://activemodel/lib/active_model/attribute_set.rb#32 + # source://activemodel//lib/active_model/attribute_set.rb#32 def values_for_database; end - # source://activemodel/lib/active_model/attribute_set.rb#64 + # source://activemodel//lib/active_model/attribute_set.rb#64 def write_cast_value(name, value); end - # source://activemodel/lib/active_model/attribute_set.rb#54 + # source://activemodel//lib/active_model/attribute_set.rb#54 def write_from_database(name, value); end # @raise [FrozenError] # - # source://activemodel/lib/active_model/attribute_set.rb#58 + # source://activemodel//lib/active_model/attribute_set.rb#58 def write_from_user(name, value); end protected # Returns the value of attribute attributes. # - # source://activemodel/lib/active_model/attribute_set.rb#111 + # source://activemodel//lib/active_model/attribute_set.rb#111 def attributes; end private - # source://activemodel/lib/active_model/attribute_set.rb#114 + # source://activemodel//lib/active_model/attribute_set.rb#114 def default_attribute(name); end - # source://activemodel/lib/active_model/attribute_set.rb#82 + # source://activemodel//lib/active_model/attribute_set.rb#82 def initialize_clone(_); end - # source://activemodel/lib/active_model/attribute_set.rb#77 + # source://activemodel//lib/active_model/attribute_set.rb#77 def initialize_dup(_); end end -# source://activemodel/lib/active_model/attribute_set/builder.rb#7 +# source://activemodel//lib/active_model/attribute_set/builder.rb#7 class ActiveModel::AttributeSet::Builder # @return [Builder] a new instance of Builder # - # source://activemodel/lib/active_model/attribute_set/builder.rb#10 + # source://activemodel//lib/active_model/attribute_set/builder.rb#10 def initialize(types, default_attributes = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#15 + # source://activemodel//lib/active_model/attribute_set/builder.rb#15 def build_from_database(values = T.unsafe(nil), additional_types = T.unsafe(nil)); end # Returns the value of attribute default_attributes. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#8 + # source://activemodel//lib/active_model/attribute_set/builder.rb#8 def default_attributes; end # Returns the value of attribute types. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#8 + # source://activemodel//lib/active_model/attribute_set/builder.rb#8 def types; end end # Attempts to do more intelligent YAML dumping of an # ActiveModel::AttributeSet to reduce the size of the resulting string # -# source://activemodel/lib/active_model/attribute_set/yaml_encoder.rb#7 +# source://activemodel//lib/active_model/attribute_set/yaml_encoder.rb#7 class ActiveModel::AttributeSet::YAMLEncoder # @return [YAMLEncoder] a new instance of YAMLEncoder # - # source://activemodel/lib/active_model/attribute_set/yaml_encoder.rb#8 + # source://activemodel//lib/active_model/attribute_set/yaml_encoder.rb#8 def initialize(default_types); end - # source://activemodel/lib/active_model/attribute_set/yaml_encoder.rb#22 + # source://activemodel//lib/active_model/attribute_set/yaml_encoder.rb#22 def decode(coder); end - # source://activemodel/lib/active_model/attribute_set/yaml_encoder.rb#12 + # source://activemodel//lib/active_model/attribute_set/yaml_encoder.rb#12 def encode(attribute_set, coder); end private # Returns the value of attribute default_types. # - # source://activemodel/lib/active_model/attribute_set/yaml_encoder.rb#37 + # source://activemodel//lib/active_model/attribute_set/yaml_encoder.rb#37 def default_types; end end @@ -1328,7 +1348,7 @@ end # person.name # => "Volmer" # person.active # => true # -# source://activemodel/lib/active_model/attributes.rb#30 +# source://activemodel//lib/active_model/attributes.rb#30 module ActiveModel::Attributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1340,7 +1360,7 @@ module ActiveModel::Attributes mixes_in_class_methods ::ActiveModel::AttributeMethods::ClassMethods mixes_in_class_methods ::ActiveModel::Attributes::ClassMethods - # source://activemodel/lib/active_model/attributes.rb#93 + # source://activemodel//lib/active_model/attributes.rb#93 def initialize(*_arg0); end # Returns an array of attribute names as strings. @@ -1355,7 +1375,7 @@ module ActiveModel::Attributes # person = Person.new # person.attribute_names # => ["name", "age"] # - # source://activemodel/lib/active_model/attributes.rb#133 + # source://activemodel//lib/active_model/attributes.rb#133 def attribute_names; end # Returns a hash of all the attributes with their names as keys and the @@ -1374,24 +1394,24 @@ module ActiveModel::Attributes # # person.attributes # => { "name" => "Francesco", "age" => 22} # - # source://activemodel/lib/active_model/attributes.rb#118 + # source://activemodel//lib/active_model/attributes.rb#118 def attributes; end - # source://activemodel/lib/active_model/attributes.rb#137 + # source://activemodel//lib/active_model/attributes.rb#137 def freeze; end private - # source://activemodel/lib/active_model/attributes.rb#143 + # source://activemodel//lib/active_model/attributes.rb#143 def _write_attribute(attr_name, value); end - # source://activemodel/lib/active_model/attributes.rb#148 + # source://activemodel//lib/active_model/attributes.rb#148 def attribute(attr_name); end - # source://activemodel/lib/active_model/attributes.rb#143 + # source://activemodel//lib/active_model/attributes.rb#146 def attribute=(attr_name, value); end - # source://activemodel/lib/active_model/attributes.rb#98 + # source://activemodel//lib/active_model/attributes.rb#98 def initialize_dup(other); end module GeneratedClassMethods @@ -1411,7 +1431,7 @@ module ActiveModel::Attributes end end -# source://activemodel/lib/active_model/attributes.rb#39 +# source://activemodel//lib/active_model/attributes.rb#39 module ActiveModel::Attributes::ClassMethods # :call-seq: attribute(name, cast_type = nil, default: nil, **options) # @@ -1432,7 +1452,7 @@ module ActiveModel::Attributes::ClassMethods # person.name # => "Volmer" # person.active # => true # - # source://activemodel/lib/active_model/attributes.rb#59 + # source://activemodel//lib/active_model/attributes.rb#59 def attribute(name, *_arg1, **_arg2, &_arg3); end # Returns an array of attribute names as strings. @@ -1446,28 +1466,28 @@ module ActiveModel::Attributes::ClassMethods # # Person.attribute_names # => ["name", "age"] # - # source://activemodel/lib/active_model/attributes.rb#74 + # source://activemodel//lib/active_model/attributes.rb#74 def attribute_names; end private - # source://activemodel/lib/active_model/attributes.rb#79 + # source://activemodel//lib/active_model/attributes.rb#79 def define_method_attribute=(canonical_name, owner:, as: T.unsafe(nil)); end end # +BlockValidator+ is a special +EachValidator+ which receives a block on initialization # and call this block for each attribute being validated. +validates_each+ uses this validator. # -# source://activemodel/lib/active_model/validator.rb#179 +# source://activemodel//lib/active_model/validator.rb#179 class ActiveModel::BlockValidator < ::ActiveModel::EachValidator # @return [BlockValidator] a new instance of BlockValidator # - # source://activemodel/lib/active_model/validator.rb#180 + # source://activemodel//lib/active_model/validator.rb#180 def initialize(options, &block); end private - # source://activemodel/lib/active_model/validator.rb#186 + # source://activemodel//lib/active_model/validator.rb#186 def validate_each(record, attribute, value); end end @@ -1529,7 +1549,7 @@ end # # NOTE: Calling the same callback multiple times will overwrite previous callback definitions. # -# source://activemodel/lib/active_model/callbacks.rb#65 +# source://activemodel//lib/active_model/callbacks.rb#65 module ActiveModel::Callbacks # +define_model_callbacks+ accepts the same options +define_callbacks+ does, # in case you want to overwrite a default. Besides that, it also accepts an @@ -1569,22 +1589,22 @@ module ActiveModel::Callbacks # NOTE: +method_name+ passed to +define_model_callbacks+ must not end with # !, ? or =. # - # source://activemodel/lib/active_model/callbacks.rb#109 + # source://activemodel//lib/active_model/callbacks.rb#109 def define_model_callbacks(*callbacks); end private - # source://activemodel/lib/active_model/callbacks.rb#143 + # source://activemodel//lib/active_model/callbacks.rb#143 def _define_after_model_callback(klass, callback); end - # source://activemodel/lib/active_model/callbacks.rb#136 + # source://activemodel//lib/active_model/callbacks.rb#136 def _define_around_model_callback(klass, callback); end - # source://activemodel/lib/active_model/callbacks.rb#129 + # source://activemodel//lib/active_model/callbacks.rb#129 def _define_before_model_callback(klass, callback); end class << self - # source://activemodel/lib/active_model/callbacks.rb#66 + # source://activemodel//lib/active_model/callbacks.rb#66 def extended(base); end end end @@ -1610,7 +1630,7 @@ end # cm.to_param # => nil # cm.to_partial_path # => "contact_messages/contact_message" # -# source://activemodel/lib/active_model/conversion.rb#24 +# source://activemodel//lib/active_model/conversion.rb#24 module ActiveModel::Conversion extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1633,7 +1653,7 @@ module ActiveModel::Conversion # person = Person.new(1) # person.to_key # => [1] # - # source://activemodel/lib/active_model/conversion.rb#67 + # source://activemodel//lib/active_model/conversion.rb#67 def to_key; end # If your object is already designed to implement all of the \Active \Model @@ -1651,7 +1671,7 @@ module ActiveModel::Conversion # define :to_model yourself returning a proxy object that wraps # your object with \Active \Model compliant methods. # - # source://activemodel/lib/active_model/conversion.rb#49 + # source://activemodel//lib/active_model/conversion.rb#49 def to_model; end # Returns a +string+ representing the object's key suitable for use in URLs, @@ -1673,7 +1693,7 @@ module ActiveModel::Conversion # person = Person.new(1) # person.to_param # => "1" # - # source://activemodel/lib/active_model/conversion.rb#90 + # source://activemodel//lib/active_model/conversion.rb#90 def to_param; end # Returns a +string+ identifying the path associated with the object. @@ -1686,7 +1706,7 @@ module ActiveModel::Conversion # person = Person.new # person.to_partial_path # => "people/person" # - # source://activemodel/lib/active_model/conversion.rb#103 + # source://activemodel//lib/active_model/conversion.rb#103 def to_partial_path; end module GeneratedClassMethods @@ -1700,12 +1720,12 @@ module ActiveModel::Conversion end end -# source://activemodel/lib/active_model/conversion.rb#107 +# source://activemodel//lib/active_model/conversion.rb#107 module ActiveModel::Conversion::ClassMethods # Provide a class level cache for #to_partial_path. This is an # internal method and should not be accessed directly. # - # source://activemodel/lib/active_model/conversion.rb#110 + # source://activemodel//lib/active_model/conversion.rb#110 def _to_partial_path; end end @@ -1827,7 +1847,7 @@ end # Methods can be invoked as +name_changed?+ or by passing an argument to the # generic method attribute_changed?("name"). # -# source://activemodel/lib/active_model/dirty.rb#123 +# source://activemodel//lib/active_model/dirty.rb#123 module ActiveModel::Dirty extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1836,36 +1856,36 @@ module ActiveModel::Dirty mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveModel::AttributeMethods::ClassMethods - # source://activemodel/lib/active_model/dirty.rb#258 + # source://activemodel//lib/active_model/dirty.rb#258 def as_json(options = T.unsafe(nil)); end # Dispatch target for {*_changed?}[rdoc-label:method-i-2A_changed-3F] attribute methods. # # @return [Boolean] # - # source://activemodel/lib/active_model/dirty.rb#293 + # source://activemodel//lib/active_model/dirty.rb#293 def attribute_changed?(attr_name, **options); end # @return [Boolean] # - # source://activemodel/lib/active_model/dirty.rb#360 + # source://activemodel//lib/active_model/dirty.rb#360 def attribute_changed_in_place?(attr_name); end # Dispatch target for {*_previously_changed?}[rdoc-label:method-i-2A_previously_changed-3F] attribute methods. # # @return [Boolean] # - # source://activemodel/lib/active_model/dirty.rb#303 + # source://activemodel//lib/active_model/dirty.rb#303 def attribute_previously_changed?(attr_name, **options); end # Dispatch target for {*_previously_was}[rdoc-label:method-i-2A_previously_was] attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#308 + # source://activemodel//lib/active_model/dirty.rb#308 def attribute_previously_was(attr_name); end # Dispatch target for {*_was}[rdoc-label:method-i-2A_was] attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#298 + # source://activemodel//lib/active_model/dirty.rb#298 def attribute_was(attr_name); end # Returns an array with the name of the attributes with unsaved changes. @@ -1874,7 +1894,7 @@ module ActiveModel::Dirty # person.name = 'bob' # person.changed # => ["name"] # - # source://activemodel/lib/active_model/dirty.rb#288 + # source://activemodel//lib/active_model/dirty.rb#288 def changed; end # Returns +true+ if any of the attributes has unsaved changes, +false+ otherwise. @@ -1885,7 +1905,7 @@ module ActiveModel::Dirty # # @return [Boolean] # - # source://activemodel/lib/active_model/dirty.rb#279 + # source://activemodel//lib/active_model/dirty.rb#279 def changed?; end # Returns a hash of the attributes with unsaved changes indicating their original @@ -1895,7 +1915,7 @@ module ActiveModel::Dirty # person.name = 'robert' # person.changed_attributes # => {"name" => "bob"} # - # source://activemodel/lib/active_model/dirty.rb#336 + # source://activemodel//lib/active_model/dirty.rb#336 def changed_attributes; end # Returns a hash of changed attributes indicating their original @@ -1905,21 +1925,21 @@ module ActiveModel::Dirty # person.name = 'bob' # person.changes # => { "name" => ["bill", "bob"] } # - # source://activemodel/lib/active_model/dirty.rb#346 + # source://activemodel//lib/active_model/dirty.rb#346 def changes; end # Clears dirty data and moves +changes+ to +previous_changes+ and # +mutations_from_database+ to +mutations_before_last_save+ respectively. # - # source://activemodel/lib/active_model/dirty.rb#265 + # source://activemodel//lib/active_model/dirty.rb#265 def changes_applied; end - # source://activemodel/lib/active_model/dirty.rb#324 + # source://activemodel//lib/active_model/dirty.rb#324 def clear_attribute_changes(attr_names); end # Clears all dirty data: current changes and previous changes. # - # source://activemodel/lib/active_model/dirty.rb#318 + # source://activemodel//lib/active_model/dirty.rb#318 def clear_changes_information; end # Returns a hash of attributes that were changed before the model was saved. @@ -1929,52 +1949,52 @@ module ActiveModel::Dirty # person.save # person.previous_changes # => {"name" => ["bob", "robert"]} # - # source://activemodel/lib/active_model/dirty.rb#356 + # source://activemodel//lib/active_model/dirty.rb#356 def previous_changes; end # Restore all previous data of the provided attributes. # - # source://activemodel/lib/active_model/dirty.rb#313 + # source://activemodel//lib/active_model/dirty.rb#313 def restore_attributes(attr_names = T.unsafe(nil)); end private # Dispatch target for *_change attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#392 + # source://activemodel//lib/active_model/dirty.rb#392 def attribute_change(attr_name); end # Dispatch target for *_previous_change attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#397 + # source://activemodel//lib/active_model/dirty.rb#397 def attribute_previous_change(attr_name); end # Dispatch target for *_will_change! attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#402 + # source://activemodel//lib/active_model/dirty.rb#402 def attribute_will_change!(attr_name); end - # source://activemodel/lib/active_model/dirty.rb#371 + # source://activemodel//lib/active_model/dirty.rb#371 def clear_attribute_change(attr_name); end - # source://activemodel/lib/active_model/dirty.rb#383 + # source://activemodel//lib/active_model/dirty.rb#383 def forget_attribute_assignments; end - # source://activemodel/lib/active_model/dirty.rb#365 + # source://activemodel//lib/active_model/dirty.rb#365 def init_internals; end - # source://activemodel/lib/active_model/dirty.rb#248 + # source://activemodel//lib/active_model/dirty.rb#248 def initialize_dup(other); end - # source://activemodel/lib/active_model/dirty.rb#387 + # source://activemodel//lib/active_model/dirty.rb#387 def mutations_before_last_save; end - # source://activemodel/lib/active_model/dirty.rb#375 + # source://activemodel//lib/active_model/dirty.rb#375 def mutations_from_database; end # Dispatch target for restore_*! attribute methods. # - # source://activemodel/lib/active_model/dirty.rb#407 + # source://activemodel//lib/active_model/dirty.rb#407 def restore_attribute!(attr_name); end module GeneratedClassMethods @@ -2002,7 +2022,7 @@ end # # All \Active \Model validations are built on top of this validator. # -# source://activemodel/lib/active_model/validator.rb#134 +# source://activemodel//lib/active_model/validator.rb#134 class ActiveModel::EachValidator < ::ActiveModel::Validator # Returns a new validator instance. All options will be available via the # +options+ reader, however the :attributes option will be removed @@ -2011,26 +2031,26 @@ class ActiveModel::EachValidator < ::ActiveModel::Validator # @raise [ArgumentError] # @return [EachValidator] a new instance of EachValidator # - # source://activemodel/lib/active_model/validator.rb#140 + # source://activemodel//lib/active_model/validator.rb#140 def initialize(options); end # Returns the value of attribute attributes. # - # source://activemodel/lib/active_model/validator.rb#135 + # source://activemodel//lib/active_model/validator.rb#135 def attributes; end # Hook method that gets called by the initializer allowing verification # that the arguments supplied are valid. You could for example raise an # +ArgumentError+ when invalid options are supplied. # - # source://activemodel/lib/active_model/validator.rb#168 + # source://activemodel//lib/active_model/validator.rb#168 def check_validity!; end # Performs validation on the supplied record. By default this will call # +validate_each+ to determine validity therefore subclasses should # override +validate_each+ with validation logic. # - # source://activemodel/lib/active_model/validator.rb#150 + # source://activemodel//lib/active_model/validator.rb#150 def validate(record); end # Override this method in subclasses with the validation logic, adding @@ -2038,12 +2058,12 @@ class ActiveModel::EachValidator < ::ActiveModel::Validator # # @raise [NotImplementedError] # - # source://activemodel/lib/active_model/validator.rb#161 + # source://activemodel//lib/active_model/validator.rb#161 def validate_each(record, attribute, value); end private - # source://activemodel/lib/active_model/validator.rb#172 + # source://activemodel//lib/active_model/validator.rb#172 def prepare_value_for_validation(value, record, attr_name); end end @@ -2051,24 +2071,24 @@ end # # Represents one single error # -# source://activemodel/lib/active_model/error.rb#9 +# source://activemodel//lib/active_model/error.rb#9 class ActiveModel::Error # @return [Error] a new instance of Error # - # source://activemodel/lib/active_model/error.rb#103 + # source://activemodel//lib/active_model/error.rb#103 def initialize(base, attribute, type = T.unsafe(nil), **options); end - # source://activemodel/lib/active_model/error.rb#190 + # source://activemodel//lib/active_model/error.rb#190 def ==(other); end # The attribute of +base+ which the error belongs to # - # source://activemodel/lib/active_model/error.rb#121 + # source://activemodel//lib/active_model/error.rb#121 def attribute; end # The object which the error belongs to # - # source://activemodel/lib/active_model/error.rb#119 + # source://activemodel//lib/active_model/error.rb#119 def base; end # Returns the error details. @@ -2077,7 +2097,7 @@ class ActiveModel::Error # error.details # # => { error: :too_short, count: 5 } # - # source://activemodel/lib/active_model/error.rb#149 + # source://activemodel//lib/active_model/error.rb#152 def detail; end # Returns the error details. @@ -2086,10 +2106,10 @@ class ActiveModel::Error # error.details # # => { error: :too_short, count: 5 } # - # source://activemodel/lib/active_model/error.rb#149 + # source://activemodel//lib/active_model/error.rb#149 def details; end - # source://activemodel/lib/active_model/error.rb#190 + # source://activemodel//lib/active_model/error.rb#193 def eql?(other); end # Returns the full error message. @@ -2098,22 +2118,22 @@ class ActiveModel::Error # error.full_message # # => "Name is too short (minimum is 5 characters)" # - # source://activemodel/lib/active_model/error.rb#159 + # source://activemodel//lib/active_model/error.rb#159 def full_message; end - # source://activemodel/lib/active_model/error.rb#195 + # source://activemodel//lib/active_model/error.rb#195 def hash; end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message; end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message=(_arg0); end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message?; end - # source://activemodel/lib/active_model/error.rb#199 + # source://activemodel//lib/active_model/error.rb#199 def inspect; end # See if error matches provided +attribute+, +type+, and +options+. @@ -2122,7 +2142,7 @@ class ActiveModel::Error # # @return [Boolean] # - # source://activemodel/lib/active_model/error.rb#166 + # source://activemodel//lib/active_model/error.rb#166 def match?(attribute, type = T.unsafe(nil), **options); end # Returns the error message. @@ -2131,18 +2151,18 @@ class ActiveModel::Error # error.message # # => "is too short (minimum is 5 characters)" # - # source://activemodel/lib/active_model/error.rb#135 + # source://activemodel//lib/active_model/error.rb#135 def message; end # The options provided when calling errors#add # - # source://activemodel/lib/active_model/error.rb#128 + # source://activemodel//lib/active_model/error.rb#128 def options; end # The raw value provided as the second parameter when calling # errors#add # - # source://activemodel/lib/active_model/error.rb#126 + # source://activemodel//lib/active_model/error.rb#126 def raw_type; end # See if error matches provided +attribute+, +type+, and +options+ exactly. @@ -2152,46 +2172,46 @@ class ActiveModel::Error # # @return [Boolean] # - # source://activemodel/lib/active_model/error.rb#184 + # source://activemodel//lib/active_model/error.rb#184 def strict_match?(attribute, type, **options); end # The type of error, defaults to +:invalid+ unless specified # - # source://activemodel/lib/active_model/error.rb#123 + # source://activemodel//lib/active_model/error.rb#123 def type; end protected - # source://activemodel/lib/active_model/error.rb#204 + # source://activemodel//lib/active_model/error.rb#204 def attributes_for_hash; end private - # source://activemodel/lib/active_model/error.rb#111 + # source://activemodel//lib/active_model/error.rb#111 def initialize_dup(other); end class << self - # source://activemodel/lib/active_model/error.rb#15 + # source://activemodel//lib/active_model/error.rb#15 def full_message(attribute, message, base); end - # source://activemodel/lib/active_model/error.rb#64 + # source://activemodel//lib/active_model/error.rb#64 def generate_message(attribute, type, base, options); end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message; end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message=(value); end - # source://activemodel/lib/active_model/error.rb#13 + # source://activemodel//lib/active_model/error.rb#13 def i18n_customize_full_message?; end end end -# source://activemodel/lib/active_model/error.rb#10 +# source://activemodel//lib/active_model/error.rb#10 ActiveModel::Error::CALLBACKS_OPTIONS = T.let(T.unsafe(nil), Array) -# source://activemodel/lib/active_model/error.rb#11 +# source://activemodel//lib/active_model/error.rb#11 ActiveModel::Error::MESSAGE_OPTIONS = T.let(T.unsafe(nil), Array) # = Active \Model \Errors @@ -2245,7 +2265,7 @@ ActiveModel::Error::MESSAGE_OPTIONS = T.let(T.unsafe(nil), Array) # person.errors.full_messages # => ["name cannot be nil"] # # etc.. # -# source://activemodel/lib/active_model/errors.rb#61 +# source://activemodel//lib/active_model/errors.rb#61 class ActiveModel::Errors include ::Enumerable extend ::Forwardable @@ -2260,7 +2280,7 @@ class ActiveModel::Errors # # @return [Errors] a new instance of Errors # - # source://activemodel/lib/active_model/errors.rb#117 + # source://activemodel//lib/active_model/errors.rb#117 def initialize(base); end # When passed a symbol or a name of a method, returns an array of errors @@ -2269,7 +2289,7 @@ class ActiveModel::Errors # person.errors[:name] # => ["cannot be nil"] # person.errors['name'] # => ["cannot be nil"] # - # source://activemodel/lib/active_model/errors.rb#229 + # source://activemodel//lib/active_model/errors.rb#229 def [](attribute); end # Adds a new error of +type+ on +attribute+. @@ -2322,7 +2342,7 @@ class ActiveModel::Errors # person.errors.details # # => {:base=>[{error: :name_or_email_blank}]} # - # source://activemodel/lib/active_model/errors.rb#342 + # source://activemodel//lib/active_model/errors.rb#342 def add(attribute, type = T.unsafe(nil), **options); end # Returns +true+ if an error matches provided +attribute+ and +type+, @@ -2344,7 +2364,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel/lib/active_model/errors.rb#372 + # source://activemodel//lib/active_model/errors.rb#372 def added?(attribute, type = T.unsafe(nil), options = T.unsafe(nil)); end # Returns a Hash that can be used as the JSON representation for this @@ -2354,7 +2374,7 @@ class ActiveModel::Errors # person.errors.as_json # => {:name=>["cannot be nil"]} # person.errors.as_json(full_messages: true) # => {:name=>["name cannot be nil"]} # - # source://activemodel/lib/active_model/errors.rb#247 + # source://activemodel//lib/active_model/errors.rb#247 def as_json(options = T.unsafe(nil)); end # Returns all error attribute names @@ -2362,10 +2382,10 @@ class ActiveModel::Errors # person.errors.messages # => {:name=>["cannot be nil", "must be specified"]} # person.errors.attribute_names # => [:name] # - # source://activemodel/lib/active_model/errors.rb#237 + # source://activemodel//lib/active_model/errors.rb#237 def attribute_names; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def clear(*args, **_arg1, &block); end # Copies the errors from other. @@ -2379,7 +2399,7 @@ class ActiveModel::Errors # # person.errors.copy!(other) # - # source://activemodel/lib/active_model/errors.rb#138 + # source://activemodel//lib/active_model/errors.rb#138 def copy!(other); end # Delete messages for +key+. Returns the deleted messages. @@ -2388,31 +2408,31 @@ class ActiveModel::Errors # person.errors.delete(:name) # => ["cannot be nil"] # person.errors[:name] # => [] # - # source://activemodel/lib/active_model/errors.rb#215 + # source://activemodel//lib/active_model/errors.rb#215 def delete(attribute, type = T.unsafe(nil), **options); end # Returns a Hash of attributes with an array of their error details. # - # source://activemodel/lib/active_model/errors.rb#276 + # source://activemodel//lib/active_model/errors.rb#276 def details; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def empty?(*args, **_arg1, &block); end # The actual array of +Error+ objects # This method is aliased to objects. # - # source://activemodel/lib/active_model/errors.rb#107 + # source://activemodel//lib/active_model/errors.rb#107 def errors; end # Returns a full message for a given attribute. # # person.errors.full_message(:name, 'is invalid') # => "Name is invalid" # - # source://activemodel/lib/active_model/errors.rb#451 + # source://activemodel//lib/active_model/errors.rb#451 def full_message(attribute, message); end # Returns all the full error messages in an array. @@ -2426,7 +2446,7 @@ class ActiveModel::Errors # person.errors.full_messages # # => ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"] # - # source://activemodel/lib/active_model/errors.rb#415 + # source://activemodel//lib/active_model/errors.rb#415 def full_messages; end # Returns all the full error messages for a given attribute in an array. @@ -2440,7 +2460,7 @@ class ActiveModel::Errors # person.errors.full_messages_for(:name) # # => ["Name is too short (minimum is 5 characters)", "Name can't be blank"] # - # source://activemodel/lib/active_model/errors.rb#430 + # source://activemodel//lib/active_model/errors.rb#430 def full_messages_for(attribute); end # Translates an error message in its default scope @@ -2468,7 +2488,7 @@ class ActiveModel::Errors # * errors.attributes.title.blank # * errors.messages.blank # - # source://activemodel/lib/active_model/errors.rb#479 + # source://activemodel//lib/active_model/errors.rb#479 def generate_message(attribute, type = T.unsafe(nil), options = T.unsafe(nil)); end # Returns a Hash of attributes with an array of their Error objects. @@ -2476,7 +2496,7 @@ class ActiveModel::Errors # person.errors.group_by_attribute # # => {:name=>[<#ActiveModel::Error>, <#ActiveModel::Error>]} # - # source://activemodel/lib/active_model/errors.rb#289 + # source://activemodel//lib/active_model/errors.rb#289 def group_by_attribute; end # Returns +true+ if the error messages include an error for the given key @@ -2488,7 +2508,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel/lib/active_model/errors.rb#202 + # source://activemodel//lib/active_model/errors.rb#207 def has_key?(attribute); end # Imports one error. @@ -2501,7 +2521,7 @@ class ActiveModel::Errors # * +:attribute+ - Override the attribute the error belongs to. # * +:type+ - Override type of the error. # - # source://activemodel/lib/active_model/errors.rb#154 + # source://activemodel//lib/active_model/errors.rb#154 def import(error, override_options = T.unsafe(nil)); end # Returns +true+ if the error messages include an error for the given key @@ -2513,10 +2533,10 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel/lib/active_model/errors.rb#202 + # source://activemodel//lib/active_model/errors.rb#202 def include?(attribute); end - # source://activemodel/lib/active_model/errors.rb#483 + # source://activemodel//lib/active_model/errors.rb#483 def inspect; end # Returns +true+ if the error messages include an error for the given key @@ -2528,7 +2548,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel/lib/active_model/errors.rb#202 + # source://activemodel//lib/active_model/errors.rb#208 def key?(attribute); end # Merges the errors from other, @@ -2542,12 +2562,12 @@ class ActiveModel::Errors # # person.errors.merge!(other) # - # source://activemodel/lib/active_model/errors.rb#174 + # source://activemodel//lib/active_model/errors.rb#174 def merge!(other); end # Returns a Hash of attributes with an array of their error messages. # - # source://activemodel/lib/active_model/errors.rb#268 + # source://activemodel//lib/active_model/errors.rb#268 def messages; end # Returns all the error messages for a given attribute in an array. @@ -2561,13 +2581,13 @@ class ActiveModel::Errors # person.errors.messages_for(:name) # # => ["is too short (minimum is 5 characters)", "can't be blank"] # - # source://activemodel/lib/active_model/errors.rb#444 + # source://activemodel//lib/active_model/errors.rb#444 def messages_for(attribute); end # The actual array of +Error+ objects # This method is aliased to objects. # - # source://activemodel/lib/active_model/errors.rb#107 + # source://activemodel//lib/active_model/errors.rb#108 def objects; end # Returns +true+ if an error on the attribute with the given type is @@ -2584,10 +2604,10 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel/lib/active_model/errors.rb#395 + # source://activemodel//lib/active_model/errors.rb#395 def of_kind?(attribute, type = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def size(*args, **_arg1, &block); end # Returns all the full error messages in an array. @@ -2601,7 +2621,7 @@ class ActiveModel::Errors # person.errors.full_messages # # => ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"] # - # source://activemodel/lib/active_model/errors.rb#415 + # source://activemodel//lib/active_model/errors.rb#418 def to_a; end # Returns a Hash of attributes with their error messages. If +full_messages+ @@ -2610,10 +2630,10 @@ class ActiveModel::Errors # person.errors.to_hash # => {:name=>["cannot be nil"]} # person.errors.to_hash(true) # => {:name=>["name cannot be nil"]} # - # source://activemodel/lib/active_model/errors.rb#256 + # source://activemodel//lib/active_model/errors.rb#256 def to_hash(full_messages = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def uniq!(*args, **_arg1, &block); end # Search for errors matching +attribute+, +type+, or +options+. @@ -2624,19 +2644,19 @@ class ActiveModel::Errors # person.errors.where(:name, :too_short) # => all name errors being too short # person.errors.where(:name, :too_short, minimum: 2) # => all name errors being too short and minimum is 2 # - # source://activemodel/lib/active_model/errors.rb#189 + # source://activemodel//lib/active_model/errors.rb#189 def where(attribute, type = T.unsafe(nil), **options); end private - # source://activemodel/lib/active_model/errors.rb#122 + # source://activemodel//lib/active_model/errors.rb#122 def initialize_dup(other); end - # source://activemodel/lib/active_model/errors.rb#490 + # source://activemodel//lib/active_model/errors.rb#490 def normalize_arguments(attribute, type, **options); end end -# source://activemodel/lib/active_model/errors.rb#265 +# source://activemodel//lib/active_model/errors.rb#265 ActiveModel::Errors::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) # = Active \Model \ForbiddenAttributesError @@ -2654,206 +2674,206 @@ ActiveModel::Errors::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) # Person.new(params) # # => # # -# source://activemodel/lib/active_model/forbidden_attributes_protection.rb#18 +# source://activemodel//lib/active_model/forbidden_attributes_protection.rb#18 class ActiveModel::ForbiddenAttributesError < ::StandardError; end -# source://activemodel/lib/active_model/forbidden_attributes_protection.rb#21 +# source://activemodel//lib/active_model/forbidden_attributes_protection.rb#21 module ActiveModel::ForbiddenAttributesProtection private - # source://activemodel/lib/active_model/forbidden_attributes_protection.rb#23 + # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#23 def sanitize_for_mass_assignment(attributes); end - # source://activemodel/lib/active_model/forbidden_attributes_protection.rb#23 + # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#31 def sanitize_forbidden_attributes(attributes); end end -# source://activemodel/lib/active_model/attribute_mutation_tracker.rb#91 +# source://activemodel//lib/active_model/attribute_mutation_tracker.rb#91 class ActiveModel::ForcedMutationTracker < ::ActiveModel::AttributeMutationTracker # @return [ForcedMutationTracker] a new instance of ForcedMutationTracker # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#92 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#92 def initialize(attributes); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#101 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#101 def change_to_attribute(attr_name); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#97 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#97 def changed_in_place?(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#125 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#125 def finalize_changes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#121 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#121 def force_change(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#109 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#109 def forget_change(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#113 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#113 def original_value(attr_name); end private - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#132 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#132 def attr_names; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#136 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#136 def attribute_changed?(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#144 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#144 def clone_value(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#140 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#140 def fetch_value(attr_name); end # Returns the value of attribute finalized_changes. # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#130 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#130 def finalized_changes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#151 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#151 def type_cast(attr_name, value); end end -# source://activemodel/lib/active_model/attribute_set/builder.rb#94 +# source://activemodel//lib/active_model/attribute_set/builder.rb#94 class ActiveModel::LazyAttributeHash # @return [LazyAttributeHash] a new instance of LazyAttributeHash # - # source://activemodel/lib/active_model/attribute_set/builder.rb#97 + # source://activemodel//lib/active_model/attribute_set/builder.rb#97 def initialize(types, values, additional_types, default_attributes, delegate_hash = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#134 + # source://activemodel//lib/active_model/attribute_set/builder.rb#134 def ==(other); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#110 + # source://activemodel//lib/active_model/attribute_set/builder.rb#110 def [](key); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#114 + # source://activemodel//lib/active_model/attribute_set/builder.rb#114 def []=(key, value); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#118 + # source://activemodel//lib/active_model/attribute_set/builder.rb#118 def deep_dup; end - # source://activemodel/lib/active_model/attribute_set/builder.rb#129 + # source://activemodel//lib/active_model/attribute_set/builder.rb#129 def each_key(&block); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#95 + # source://activemodel//lib/active_model/attribute_set/builder.rb#95 def each_value(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#95 + # source://activemodel//lib/active_model/attribute_set/builder.rb#95 def except(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#95 + # source://activemodel//lib/active_model/attribute_set/builder.rb#95 def fetch(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_set/builder.rb#106 + # source://activemodel//lib/active_model/attribute_set/builder.rb#106 def key?(key); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#142 + # source://activemodel//lib/active_model/attribute_set/builder.rb#142 def marshal_dump; end - # source://activemodel/lib/active_model/attribute_set/builder.rb#146 + # source://activemodel//lib/active_model/attribute_set/builder.rb#146 def marshal_load(values); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#95 + # source://activemodel//lib/active_model/attribute_set/builder.rb#95 def transform_values(*_arg0, **_arg1, &_arg2); end protected - # source://activemodel/lib/active_model/attribute_set/builder.rb#151 + # source://activemodel//lib/active_model/attribute_set/builder.rb#151 def materialize; end private # Returns the value of attribute additional_types. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#163 + # source://activemodel//lib/active_model/attribute_set/builder.rb#163 def additional_types; end - # source://activemodel/lib/active_model/attribute_set/builder.rb#165 + # source://activemodel//lib/active_model/attribute_set/builder.rb#165 def assign_default_value(name); end # Returns the value of attribute default_attributes. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#163 + # source://activemodel//lib/active_model/attribute_set/builder.rb#163 def default_attributes; end # Returns the value of attribute delegate_hash. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#163 + # source://activemodel//lib/active_model/attribute_set/builder.rb#163 def delegate_hash; end - # source://activemodel/lib/active_model/attribute_set/builder.rb#124 + # source://activemodel//lib/active_model/attribute_set/builder.rb#124 def initialize_dup(_); end # Returns the value of attribute types. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#163 + # source://activemodel//lib/active_model/attribute_set/builder.rb#163 def types; end # Returns the value of attribute values. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#163 + # source://activemodel//lib/active_model/attribute_set/builder.rb#163 def values; end end -# source://activemodel/lib/active_model/attribute_set/builder.rb#21 +# source://activemodel//lib/active_model/attribute_set/builder.rb#21 class ActiveModel::LazyAttributeSet < ::ActiveModel::AttributeSet # @return [LazyAttributeSet] a new instance of LazyAttributeSet # - # source://activemodel/lib/active_model/attribute_set/builder.rb#22 + # source://activemodel//lib/active_model/attribute_set/builder.rb#22 def initialize(values, types, additional_types, default_attributes, attributes = T.unsafe(nil)); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#41 + # source://activemodel//lib/active_model/attribute_set/builder.rb#41 def fetch_value(name, &block); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_set/builder.rb#32 + # source://activemodel//lib/active_model/attribute_set/builder.rb#32 def key?(name); end - # source://activemodel/lib/active_model/attribute_set/builder.rb#36 + # source://activemodel//lib/active_model/attribute_set/builder.rb#36 def keys; end protected - # source://activemodel/lib/active_model/attribute_set/builder.rb#61 + # source://activemodel//lib/active_model/attribute_set/builder.rb#61 def attributes; end private # Returns the value of attribute additional_types. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#71 + # source://activemodel//lib/active_model/attribute_set/builder.rb#71 def additional_types; end - # source://activemodel/lib/active_model/attribute_set/builder.rb#73 + # source://activemodel//lib/active_model/attribute_set/builder.rb#73 def default_attribute(name, value_present = T.unsafe(nil), value = T.unsafe(nil)); end # Returns the value of attribute default_attributes. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#71 + # source://activemodel//lib/active_model/attribute_set/builder.rb#71 def default_attributes; end # Returns the value of attribute types. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#71 + # source://activemodel//lib/active_model/attribute_set/builder.rb#71 def types; end # Returns the value of attribute values. # - # source://activemodel/lib/active_model/attribute_set/builder.rb#71 + # source://activemodel//lib/active_model/attribute_set/builder.rb#71 def values; end end -# source://activemodel/lib/active_model/lint.rb#4 +# source://activemodel//lib/active_model/lint.rb#4 module ActiveModel::Lint; end # == Active \Model \Lint \Tests @@ -2876,7 +2896,7 @@ module ActiveModel::Lint; end # to to_model. It is perfectly fine for to_model to return # +self+. # -# source://activemodel/lib/active_model/lint.rb#24 +# source://activemodel//lib/active_model/lint.rb#24 module ActiveModel::Lint::Tests # Passes if the object's model responds to errors and if calling # [](attribute) on the result of this method returns an array. @@ -2888,7 +2908,7 @@ module ActiveModel::Lint::Tests # If localization is used, the strings should be localized for the current # locale. If no error is present, the method should return an empty array. # - # source://activemodel/lib/active_model/lint.rb#102 + # source://activemodel//lib/active_model/lint.rb#102 def test_errors_aref; end # Passes if the object's model responds to model_name both as @@ -2898,7 +2918,7 @@ module ActiveModel::Lint::Tests # # Check ActiveModel::Naming for more information. # - # source://activemodel/lib/active_model/lint.rb#81 + # source://activemodel//lib/active_model/lint.rb#81 def test_model_naming; end # Passes if the object's model responds to persisted? and if @@ -2911,7 +2931,7 @@ module ActiveModel::Lint::Tests # # @return [Boolean] # - # source://activemodel/lib/active_model/lint.rb#70 + # source://activemodel//lib/active_model/lint.rb#70 def test_persisted?; end # Passes if the object's model responds to to_key and if calling @@ -2921,7 +2941,7 @@ module ActiveModel::Lint::Tests # to_key returns an Enumerable of all (primary) key attributes # of the model, and is used to a generate unique DOM id for the object. # - # source://activemodel/lib/active_model/lint.rb#31 + # source://activemodel//lib/active_model/lint.rb#31 def test_to_key; end # Passes if the object's model responds to to_param and if @@ -2934,7 +2954,7 @@ module ActiveModel::Lint::Tests # tests for this behavior in lint because it doesn't make sense to force # any of the possible implementation strategies on the implementer. # - # source://activemodel/lib/active_model/lint.rb#46 + # source://activemodel//lib/active_model/lint.rb#46 def test_to_param; end # Passes if the object's model responds to to_partial_path and if @@ -2943,15 +2963,15 @@ module ActiveModel::Lint::Tests # to_partial_path is used for looking up partials. For example, # a BlogPost model might return "blog_posts/blog_post". # - # source://activemodel/lib/active_model/lint.rb#58 + # source://activemodel//lib/active_model/lint.rb#58 def test_to_partial_path; end private - # source://activemodel/lib/active_model/lint.rb#113 + # source://activemodel//lib/active_model/lint.rb#113 def assert_boolean(result, name); end - # source://activemodel/lib/active_model/lint.rb#108 + # source://activemodel//lib/active_model/lint.rb#108 def model; end end @@ -2965,7 +2985,7 @@ end # user.pets.select(:id).first.user_id # # => ActiveModel::MissingAttributeError: missing attribute 'user_id' for Pet # -# source://activemodel/lib/active_model/attribute_methods.rb#15 +# source://activemodel//lib/active_model/attribute_methods.rb#15 class ActiveModel::MissingAttributeError < ::NoMethodError; end # = Active \Model \Basic \Model @@ -3007,7 +3027,7 @@ class ActiveModel::MissingAttributeError < ::NoMethodError; end # refer to the specific modules included in +ActiveModel::Model+ # (see below). # -# source://activemodel/lib/active_model/model.rb#42 +# source://activemodel//lib/active_model/model.rb#42 module ActiveModel::Model include ::ActiveModel::Access extend ::ActiveSupport::Concern @@ -3048,7 +3068,7 @@ module ActiveModel::Model end end -# source://activemodel/lib/active_model/naming.rb#9 +# source://activemodel//lib/active_model/naming.rb#9 class ActiveModel::Name include ::Comparable @@ -3068,57 +3088,57 @@ class ActiveModel::Name # @raise [ArgumentError] # @return [Name] a new instance of Name # - # source://activemodel/lib/active_model/naming.rb#166 + # source://activemodel//lib/active_model/naming.rb#166 def initialize(klass, namespace = T.unsafe(nil), name = T.unsafe(nil), locale = T.unsafe(nil)); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def !~(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def <=>(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def ==(arg); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def ===(arg); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def =~(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def as_json(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute collection. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#16 def cache_key; end # Returns the value of attribute collection. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def collection; end # Sets the attribute collection # # @param value the value to set the attribute collection to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def collection=(_arg0); end # Returns the value of attribute element. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def element; end # Sets the attribute element # # @param value the value to set the attribute element to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def element=(_arg0); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def eql?(*_arg0, **_arg1, &_arg2); end # Transform the model name into a more human format, using I18n. By default, @@ -3132,120 +3152,120 @@ class ActiveModel::Name # # Specify +options+ with additional translating options. # - # source://activemodel/lib/active_model/naming.rb#197 + # source://activemodel//lib/active_model/naming.rb#197 def human(options = T.unsafe(nil)); end # Returns the value of attribute i18n_key. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def i18n_key; end # Sets the attribute i18n_key # # @param value the value to set the attribute i18n_key to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def i18n_key=(_arg0); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def match?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute name. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def name=(_arg0); end # Returns the value of attribute param_key. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def param_key; end # Sets the attribute param_key # # @param value the value to set the attribute param_key to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def param_key=(_arg0); end # Returns the value of attribute plural. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def plural; end # Sets the attribute plural # # @param value the value to set the attribute plural to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def plural=(_arg0); end # Returns the value of attribute route_key. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def route_key; end # Sets the attribute route_key # # @param value the value to set the attribute route_key to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def route_key=(_arg0); end # Returns the value of attribute singular. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def singular; end # Sets the attribute singular # # @param value the value to set the attribute singular to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def singular=(_arg0); end # Returns the value of attribute singular_route_key. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def singular_route_key; end # Sets the attribute singular_route_key # # @param value the value to set the attribute singular_route_key to. # - # source://activemodel/lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#12 def singular_route_key=(_arg0); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def to_s(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/naming.rb#151 + # source://activemodel//lib/active_model/naming.rb#151 def to_str(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activemodel/lib/active_model/naming.rb#209 + # source://activemodel//lib/active_model/naming.rb#209 def uncountable?; end private - # source://activemodel/lib/active_model/naming.rb#216 + # source://activemodel//lib/active_model/naming.rb#216 def _singularize(string); end - # source://activemodel/lib/active_model/naming.rb#220 + # source://activemodel//lib/active_model/naming.rb#220 def i18n_keys; end - # source://activemodel/lib/active_model/naming.rb#228 + # source://activemodel//lib/active_model/naming.rb#228 def i18n_scope; end end -# source://activemodel/lib/active_model/naming.rb#214 +# source://activemodel//lib/active_model/naming.rb#214 ActiveModel::Name::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) # = Active \Model \Naming @@ -3268,7 +3288,7 @@ ActiveModel::Name::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) # is required to pass the \Active \Model Lint test. So either extending the # provided method below, or rolling your own is required. # -# source://activemodel/lib/active_model/naming.rb#252 +# source://activemodel//lib/active_model/naming.rb#252 module ActiveModel::Naming # Returns an ActiveModel::Name object for module. It can be # used to retrieve all kinds of naming-related information @@ -3283,16 +3303,16 @@ module ActiveModel::Naming # Person.model_name.singular # => "person" # Person.model_name.plural # => "people" # - # source://activemodel/lib/active_model/naming.rb#270 + # source://activemodel//lib/active_model/naming.rb#270 def model_name; end private - # source://activemodel/lib/active_model/naming.rb#352 + # source://activemodel//lib/active_model/naming.rb#352 def inherited(base); end class << self - # source://activemodel/lib/active_model/naming.rb#253 + # source://activemodel//lib/active_model/naming.rb#253 def extended(base); end # Returns string to use for params names. It differs for @@ -3304,7 +3324,7 @@ module ActiveModel::Naming # # For shared engine: # ActiveModel::Naming.param_key(Blog::Post) # => "blog_post" # - # source://activemodel/lib/active_model/naming.rb#338 + # source://activemodel//lib/active_model/naming.rb#338 def param_key(record_or_class); end # Returns the plural class name of a record or class. @@ -3312,7 +3332,7 @@ module ActiveModel::Naming # ActiveModel::Naming.plural(post) # => "posts" # ActiveModel::Naming.plural(Highrise::Person) # => "highrise_people" # - # source://activemodel/lib/active_model/naming.rb#283 + # source://activemodel//lib/active_model/naming.rb#283 def plural(record_or_class); end # Returns string to use while generating route names. It differs for @@ -3327,7 +3347,7 @@ module ActiveModel::Naming # The route key also considers if the noun is uncountable and, in # such cases, automatically appends _index. # - # source://activemodel/lib/active_model/naming.rb#326 + # source://activemodel//lib/active_model/naming.rb#326 def route_key(record_or_class); end # Returns the singular class name of a record or class. @@ -3335,7 +3355,7 @@ module ActiveModel::Naming # ActiveModel::Naming.singular(post) # => "post" # ActiveModel::Naming.singular(Highrise::Person) # => "highrise_person" # - # source://activemodel/lib/active_model/naming.rb#291 + # source://activemodel//lib/active_model/naming.rb#291 def singular(record_or_class); end # Returns string to use while generating route names. It differs for @@ -3347,7 +3367,7 @@ module ActiveModel::Naming # # For shared engine: # ActiveModel::Naming.singular_route_key(Blog::Post) # => "blog_post" # - # source://activemodel/lib/active_model/naming.rb#311 + # source://activemodel//lib/active_model/naming.rb#311 def singular_route_key(record_or_class); end # Identifies whether the class name of a record or class is uncountable. @@ -3357,103 +3377,106 @@ module ActiveModel::Naming # # @return [Boolean] # - # source://activemodel/lib/active_model/naming.rb#299 + # source://activemodel//lib/active_model/naming.rb#299 def uncountable?(record_or_class); end private - # source://activemodel/lib/active_model/naming.rb#342 + # source://activemodel//lib/active_model/naming.rb#342 def model_name_from_record_or_class(record_or_class); end end end -# source://activemodel/lib/active_model/nested_error.rb#7 +# source://activemodel//lib/active_model/nested_error.rb#7 class ActiveModel::NestedError < ::ActiveModel::Error extend ::Forwardable # @return [NestedError] a new instance of NestedError # - # source://activemodel/lib/active_model/nested_error.rb#8 + # source://activemodel//lib/active_model/nested_error.rb#8 def initialize(base, inner_error, override_options = T.unsafe(nil)); end # Returns the value of attribute inner_error. # - # source://activemodel/lib/active_model/nested_error.rb#17 + # source://activemodel//lib/active_model/nested_error.rb#17 def inner_error; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://activemodel//lib/active_model/nested_error.rb#20 def message(*args, **_arg1, &block); end end -# source://activemodel/lib/active_model/attribute_mutation_tracker.rb#156 +# source://activemodel//lib/active_model/attribute_mutation_tracker.rb#156 class ActiveModel::NullMutationTracker include ::Singleton extend ::Singleton::SingletonClassMethods # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#174 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#174 def any_changes?; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#171 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#171 def change_to_attribute(attr_name); end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#178 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#178 def changed?(attr_name, **_arg1); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#159 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#159 def changed_attribute_names; end # @return [Boolean] # - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#182 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#182 def changed_in_place?(attr_name); end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#163 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#163 def changed_values; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#167 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#167 def changes; end - # source://activemodel/lib/active_model/attribute_mutation_tracker.rb#186 + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#186 def original_value(attr_name); end class << self private + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#157 def allocate; end + + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#157 def new(*_arg0); end end end -# source://activemodel/lib/active_model/railtie.rb#7 +# source://activemodel//lib/active_model/railtie.rb#7 class ActiveModel::Railtie < ::Rails::Railtie; end # = Active \Model \RangeError # # Raised when attribute values are out of range. # -# source://activemodel/lib/active_model/errors.rb#523 +# source://activemodel//lib/active_model/errors.rb#523 class ActiveModel::RangeError < ::RangeError; end -# source://activemodel/lib/active_model/secure_password.rb#4 +# source://activemodel//lib/active_model/secure_password.rb#4 module ActiveModel::SecurePassword extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveModel::SecurePassword::ClassMethods class << self - # source://activemodel/lib/active_model/secure_password.rb#13 + # source://activemodel//lib/active_model/secure_password.rb#13 def min_cost; end - # source://activemodel/lib/active_model/secure_password.rb#13 + # source://activemodel//lib/active_model/secure_password.rb#13 def min_cost=(_arg0); end end end -# source://activemodel/lib/active_model/secure_password.rb#17 +# source://activemodel//lib/active_model/secure_password.rb#17 module ActiveModel::SecurePassword::ClassMethods # Adds methods to set and authenticate against a BCrypt password. # This mechanism requires you to have a +XXX_digest+ attribute, @@ -3538,15 +3561,15 @@ module ActiveModel::SecurePassword::ClassMethods # account.is_guest = true # account.valid? # => true # - # source://activemodel/lib/active_model/secure_password.rb#101 + # source://activemodel//lib/active_model/secure_password.rb#101 def has_secure_password(attribute = T.unsafe(nil), validations: T.unsafe(nil)); end end -# source://activemodel/lib/active_model/secure_password.rb#148 +# source://activemodel//lib/active_model/secure_password.rb#148 class ActiveModel::SecurePassword::InstanceMethodsOnActivation < ::Module # @return [InstanceMethodsOnActivation] a new instance of InstanceMethodsOnActivation # - # source://activemodel/lib/active_model/secure_password.rb#149 + # source://activemodel//lib/active_model/secure_password.rb#149 def initialize(attribute); end end @@ -3554,7 +3577,7 @@ end # password of length more than 72 bytes it ignores extra characters. # Hence need to put a restriction on password length. # -# source://activemodel/lib/active_model/secure_password.rb#10 +# source://activemodel//lib/active_model/secure_password.rb#10 ActiveModel::SecurePassword::MAX_PASSWORD_LENGTH_ALLOWED = T.let(T.unsafe(nil), Integer) # = Active \Model \Serialization @@ -3621,7 +3644,7 @@ ActiveModel::SecurePassword::MAX_PASSWORD_LENGTH_ALLOWED = T.let(T.unsafe(nil), # person.serializable_hash(include: :address) # person.serializable_hash(include: { address: { only: 'city' }}) # -# source://activemodel/lib/active_model/serialization.rb#69 +# source://activemodel//lib/active_model/serialization.rb#69 module ActiveModel::Serialization # Hook method defining how an attribute value should be retrieved for # serialization. By default this is assumed to be an instance named after @@ -3639,6 +3662,8 @@ module ActiveModel::Serialization # @data[key] # end # end + # + # source://activemodel//lib/active_model/serialization.rb#172 def read_attribute_for_serialization(*_arg0); end # Returns a serialized hash of your object. @@ -3697,12 +3722,12 @@ module ActiveModel::Serialization # user.serializable_hash(include: { notes: { only: 'title' }}) # # => {"name" => "Napoleon", "notes" => [{"title"=>"Battle of Austerlitz"}]} # - # source://activemodel/lib/active_model/serialization.rb#125 + # source://activemodel//lib/active_model/serialization.rb#125 def serializable_hash(options = T.unsafe(nil)); end private - # source://activemodel/lib/active_model/serialization.rb#152 + # source://activemodel//lib/active_model/serialization.rb#152 def attribute_names_for_serialization; end # Add associations specified via the :include option. @@ -3712,21 +3737,21 @@ module ActiveModel::Serialization # +records+ - the association record(s) to be serialized # +opts+ - options for the association records # - # source://activemodel/lib/active_model/serialization.rb#184 + # source://activemodel//lib/active_model/serialization.rb#184 def serializable_add_includes(options = T.unsafe(nil)); end - # source://activemodel/lib/active_model/serialization.rb#174 + # source://activemodel//lib/active_model/serialization.rb#174 def serializable_attributes(attribute_names); end end -# source://activemodel/lib/active_model.rb#68 +# source://activemodel//lib/active_model.rb#68 module ActiveModel::Serializers extend ::ActiveSupport::Autoload end # = Active \Model \JSON \Serializer # -# source://activemodel/lib/active_model/serializers/json.rb#8 +# source://activemodel//lib/active_model/serializers/json.rb#8 module ActiveModel::Serializers::JSON include ::ActiveModel::Serialization extend ::ActiveSupport::Concern @@ -3814,7 +3839,7 @@ module ActiveModel::Serializers::JSON # # { "comments" => [ { "body" => "Don't think too hard" } ], # # "title" => "So I was thinking" } ] } # - # source://activemodel/lib/active_model/serializers/json.rb#96 + # source://activemodel//lib/active_model/serializers/json.rb#96 def as_json(options = T.unsafe(nil)); end # Sets the model +attributes+ from a JSON string. Returns +self+. @@ -3852,7 +3877,7 @@ module ActiveModel::Serializers::JSON # person.age # => 22 # person.awesome # => true # - # source://activemodel/lib/active_model/serializers/json.rb#146 + # source://activemodel//lib/active_model/serializers/json.rb#146 def from_json(json, include_root = T.unsafe(nil)); end module GeneratedClassMethods @@ -3885,7 +3910,7 @@ end # person.valid? # # => ActiveModel::StrictValidationFailed: Name can't be blank # -# source://activemodel/lib/active_model/errors.rb#517 +# source://activemodel//lib/active_model/errors.rb#517 class ActiveModel::StrictValidationFailed < ::StandardError; end # = Active \Model \Translation @@ -3907,7 +3932,7 @@ class ActiveModel::StrictValidationFailed < ::StandardError; end # class-based +i18n_scope+ and +lookup_ancestors+ to find translations in # parent classes. # -# source://activemodel/lib/active_model/translation.rb#22 +# source://activemodel//lib/active_model/translation.rb#22 module ActiveModel::Translation include ::ActiveModel::Naming @@ -3918,12 +3943,12 @@ module ActiveModel::Translation # # Specify +options+ with additional translating options. # - # source://activemodel/lib/active_model/translation.rb#46 + # source://activemodel//lib/active_model/translation.rb#46 def human_attribute_name(attribute, options = T.unsafe(nil)); end # Returns the +i18n_scope+ for the class. Override if you want custom lookup. # - # source://activemodel/lib/active_model/translation.rb#26 + # source://activemodel//lib/active_model/translation.rb#26 def i18n_scope; end # When localizing a string, it goes through the lookup returned by this @@ -3931,32 +3956,32 @@ module ActiveModel::Translation # ActiveModel::Errors#full_messages and # ActiveModel::Translation#human_attribute_name. # - # source://activemodel/lib/active_model/translation.rb#34 + # source://activemodel//lib/active_model/translation.rb#34 def lookup_ancestors; end end -# source://activemodel/lib/active_model/translation.rb#38 +# source://activemodel//lib/active_model/translation.rb#38 ActiveModel::Translation::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) -# source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#4 +# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#4 module ActiveModel::Type class << self - # source://activemodel/lib/active_model/type.rb#38 + # source://activemodel//lib/active_model/type.rb#38 def default_value; end - # source://activemodel/lib/active_model/type.rb#34 + # source://activemodel//lib/active_model/type.rb#34 def lookup(*_arg0, **_arg1, &_arg2); end # Add a new type to the registry, allowing it to be referenced as a # symbol by {attribute}[rdoc-ref:Attributes::ClassMethods#attribute]. # - # source://activemodel/lib/active_model/type.rb#30 + # source://activemodel//lib/active_model/type.rb#30 def register(type_name, klass = T.unsafe(nil), &block); end - # source://activemodel/lib/active_model/type.rb#26 + # source://activemodel//lib/active_model/type.rb#26 def registry; end - # source://activemodel/lib/active_model/type.rb#26 + # source://activemodel//lib/active_model/type.rb#26 def registry=(_arg0); end end end @@ -3980,14 +4005,14 @@ end # All casting and serialization are performed in the same way as the # standard ActiveModel::Type::Integer type. # -# source://activemodel/lib/active_model/type/big_integer.rb#25 +# source://activemodel//lib/active_model/type/big_integer.rb#25 class ActiveModel::Type::BigInteger < ::ActiveModel::Type::Integer - # source://activemodel/lib/active_model/type/big_integer.rb#26 + # source://activemodel//lib/active_model/type/big_integer.rb#26 def serialize_cast_value(value); end private - # source://activemodel/lib/active_model/type/big_integer.rb#31 + # source://activemodel//lib/active_model/type/big_integer.rb#31 def max_value; end end @@ -3998,45 +4023,45 @@ end # # Non-string values are coerced to strings using their +to_s+ method. # -# source://activemodel/lib/active_model/type/binary.rb#11 +# source://activemodel//lib/active_model/type/binary.rb#11 class ActiveModel::Type::Binary < ::ActiveModel::Type::Value # @return [Boolean] # - # source://activemodel/lib/active_model/type/binary.rb#16 + # source://activemodel//lib/active_model/type/binary.rb#16 def binary?; end - # source://activemodel/lib/active_model/type/binary.rb#20 + # source://activemodel//lib/active_model/type/binary.rb#20 def cast(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/binary.rb#35 + # source://activemodel//lib/active_model/type/binary.rb#35 def changed_in_place?(raw_old_value, value); end - # source://activemodel/lib/active_model/type/binary.rb#30 + # source://activemodel//lib/active_model/type/binary.rb#30 def serialize(value); end - # source://activemodel/lib/active_model/type/binary.rb#12 + # source://activemodel//lib/active_model/type/binary.rb#12 def type; end end -# source://activemodel/lib/active_model/type/binary.rb#40 +# source://activemodel//lib/active_model/type/binary.rb#40 class ActiveModel::Type::Binary::Data # @return [Data] a new instance of Data # - # source://activemodel/lib/active_model/type/binary.rb#41 + # source://activemodel//lib/active_model/type/binary.rb#41 def initialize(value); end - # source://activemodel/lib/active_model/type/binary.rb#56 + # source://activemodel//lib/active_model/type/binary.rb#56 def ==(other); end - # source://activemodel/lib/active_model/type/binary.rb#52 + # source://activemodel//lib/active_model/type/binary.rb#52 def hex; end - # source://activemodel/lib/active_model/type/binary.rb#47 + # source://activemodel//lib/active_model/type/binary.rb#47 def to_s; end - # source://activemodel/lib/active_model/type/binary.rb#47 + # source://activemodel//lib/active_model/type/binary.rb#50 def to_str; end end @@ -4050,24 +4075,24 @@ end # - Empty strings are coerced to +nil+. # - All other values will be coerced to +true+. # -# source://activemodel/lib/active_model/type/boolean.rb#14 +# source://activemodel//lib/active_model/type/boolean.rb#14 class ActiveModel::Type::Boolean < ::ActiveModel::Type::Value - # source://activemodel/lib/active_model/type/boolean.rb#30 + # source://activemodel//lib/active_model/type/boolean.rb#30 def serialize(value); end - # source://activemodel/lib/active_model/type/boolean.rb#34 + # source://activemodel//lib/active_model/type/boolean.rb#34 def serialize_cast_value(value); end - # source://activemodel/lib/active_model/type/boolean.rb#26 + # source://activemodel//lib/active_model/type/boolean.rb#26 def type; end private - # source://activemodel/lib/active_model/type/boolean.rb#39 + # source://activemodel//lib/active_model/type/boolean.rb#39 def cast_value(value); end end -# source://activemodel/lib/active_model/type/boolean.rb#15 +# source://activemodel//lib/active_model/type/boolean.rb#15 ActiveModel::Type::Boolean::FALSE_VALUES = T.let(T.unsafe(nil), Set) # = Active Model \Date \Type @@ -4092,36 +4117,36 @@ ActiveModel::Type::Boolean::FALSE_VALUES = T.let(T.unsafe(nil), Set) # String values are parsed using the ISO 8601 date format. Any other values # are cast using their +to_date+ method, if it exists. # -# source://activemodel/lib/active_model/type/date.rb#26 +# source://activemodel//lib/active_model/type/date.rb#26 class ActiveModel::Type::Date < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Timezone include ::ActiveModel::Type::Helpers::AcceptsMultiparameterTime::InstanceMethods - # source://activemodel/lib/active_model/type/date.rb#30 + # source://activemodel//lib/active_model/type/date.rb#30 def type; end - # source://activemodel/lib/active_model/type/date.rb#34 + # source://activemodel//lib/active_model/type/date.rb#34 def type_cast_for_schema(value); end private - # source://activemodel/lib/active_model/type/date.rb#39 + # source://activemodel//lib/active_model/type/date.rb#39 def cast_value(value); end - # source://activemodel/lib/active_model/type/date.rb#57 + # source://activemodel//lib/active_model/type/date.rb#57 def fallback_string_to_date(string); end - # source://activemodel/lib/active_model/type/date.rb#51 + # source://activemodel//lib/active_model/type/date.rb#51 def fast_string_to_date(string); end - # source://activemodel/lib/active_model/type/date.rb#66 + # source://activemodel//lib/active_model/type/date.rb#66 def new_date(year, mon, mday); end - # source://activemodel/lib/active_model/type/date.rb#72 + # source://activemodel//lib/active_model/type/date.rb#72 def value_from_multiparameter_assignment(*_arg0); end end -# source://activemodel/lib/active_model/type/date.rb#50 +# source://activemodel//lib/active_model/type/date.rb#50 ActiveModel::Type::Date::ISO_DATE = T.let(T.unsafe(nil), Regexp) # = Active Model \DateTime \Type @@ -4162,30 +4187,30 @@ ActiveModel::Type::Date::ISO_DATE = T.let(T.unsafe(nil), Regexp) # attribute :start, :datetime, precision: 4 # end # -# source://activemodel/lib/active_model/type/date_time.rb#42 +# source://activemodel//lib/active_model/type/date_time.rb#42 class ActiveModel::Type::DateTime < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Timezone include ::ActiveModel::Type::Helpers::AcceptsMultiparameterTime::InstanceMethods include ::ActiveModel::Type::Helpers::TimeValue - # source://activemodel/lib/active_model/type/date_time.rb#49 + # source://activemodel//lib/active_model/type/date_time.rb#49 def type; end private - # source://activemodel/lib/active_model/type/date_time.rb#54 + # source://activemodel//lib/active_model/type/date_time.rb#54 def cast_value(value); end - # source://activemodel/lib/active_model/type/date_time.rb#67 + # source://activemodel//lib/active_model/type/date_time.rb#67 def fallback_string_to_time(string); end # '0.123456' -> 123456 # '1.123456' -> 123456 # - # source://activemodel/lib/active_model/type/date_time.rb#63 + # source://activemodel//lib/active_model/type/date_time.rb#63 def microseconds(time); end - # source://activemodel/lib/active_model/type/date_time.rb#79 + # source://activemodel//lib/active_model/type/date_time.rb#79 def value_from_multiparameter_assignment(values_hash); end end @@ -4228,32 +4253,32 @@ end # attribute :weight, :decimal, precision: 24 # end # -# source://activemodel/lib/active_model/type/decimal.rb#45 +# source://activemodel//lib/active_model/type/decimal.rb#45 class ActiveModel::Type::Decimal < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Numeric - # source://activemodel/lib/active_model/type/decimal.rb#49 + # source://activemodel//lib/active_model/type/decimal.rb#49 def type; end - # source://activemodel/lib/active_model/type/decimal.rb#53 + # source://activemodel//lib/active_model/type/decimal.rb#53 def type_cast_for_schema(value); end private - # source://activemodel/lib/active_model/type/decimal.rb#98 + # source://activemodel//lib/active_model/type/decimal.rb#98 def apply_scale(value); end - # source://activemodel/lib/active_model/type/decimal.rb#58 + # source://activemodel//lib/active_model/type/decimal.rb#58 def cast_value(value); end - # source://activemodel/lib/active_model/type/decimal.rb#82 + # source://activemodel//lib/active_model/type/decimal.rb#82 def convert_float_to_big_decimal(value); end - # source://activemodel/lib/active_model/type/decimal.rb#90 + # source://activemodel//lib/active_model/type/decimal.rb#90 def float_precision; end end -# source://activemodel/lib/active_model/type/decimal.rb#47 +# source://activemodel//lib/active_model/type/decimal.rb#47 ActiveModel::Type::Decimal::BIGDECIMAL_PRECISION = T.let(T.unsafe(nil), Integer) # = Active Model \Float \Type @@ -4286,56 +4311,56 @@ ActiveModel::Type::Decimal::BIGDECIMAL_PRECISION = T.let(T.unsafe(nil), Integer) # bag.weight = "NaN" # bag.weight # => Float::NAN # -# source://activemodel/lib/active_model/type/float.rb#36 +# source://activemodel//lib/active_model/type/float.rb#36 class ActiveModel::Type::Float < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Numeric - # source://activemodel/lib/active_model/type/float.rb#39 + # source://activemodel//lib/active_model/type/float.rb#39 def type; end - # source://activemodel/lib/active_model/type/float.rb#43 + # source://activemodel//lib/active_model/type/float.rb#43 def type_cast_for_schema(value); end private - # source://activemodel/lib/active_model/type/float.rb#53 + # source://activemodel//lib/active_model/type/float.rb#53 def cast_value(value); end end -# source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#5 +# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#5 module ActiveModel::Type::Helpers; end -# source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#6 +# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#6 class ActiveModel::Type::Helpers::AcceptsMultiparameterTime < ::Module # @return [AcceptsMultiparameterTime] a new instance of AcceptsMultiparameterTime # - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#37 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#37 def initialize(defaults: T.unsafe(nil)); end end -# source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#7 +# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#7 module ActiveModel::Type::Helpers::AcceptsMultiparameterTime::InstanceMethods - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#24 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#24 def assert_valid_value(value); end - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#16 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#16 def cast(value); end - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#8 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#8 def serialize(value); end - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#12 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#12 def serialize_cast_value(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/accepts_multiparameter_time.rb#32 + # source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#32 def value_constructed_by_mass_assignment?(value); end end -# source://activemodel/lib/active_model/type/helpers/mutable.rb#6 +# source://activemodel//lib/active_model/type/helpers/mutable.rb#6 module ActiveModel::Type::Helpers::Mutable - # source://activemodel/lib/active_model/type/helpers/mutable.rb#7 + # source://activemodel//lib/active_model/type/helpers/mutable.rb#7 def cast(value); end # +raw_old_value+ will be the `_before_type_cast` version of the @@ -4344,86 +4369,86 @@ module ActiveModel::Type::Helpers::Mutable # # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/mutable.rb#14 + # source://activemodel//lib/active_model/type/helpers/mutable.rb#14 def changed_in_place?(raw_old_value, new_value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/mutable.rb#18 + # source://activemodel//lib/active_model/type/helpers/mutable.rb#18 def mutable?; end end -# source://activemodel/lib/active_model/type/helpers/numeric.rb#6 +# source://activemodel//lib/active_model/type/helpers/numeric.rb#6 module ActiveModel::Type::Helpers::Numeric - # source://activemodel/lib/active_model/type/helpers/numeric.rb#15 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#15 def cast(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/numeric.rb#31 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#31 def changed?(old_value, _new_value, new_value_before_type_cast); end - # source://activemodel/lib/active_model/type/helpers/numeric.rb#7 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#7 def serialize(value); end - # source://activemodel/lib/active_model/type/helpers/numeric.rb#11 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#11 def serialize_cast_value(value); end private # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/numeric.rb#37 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#37 def equal_nan?(old_value, new_value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/numeric.rb#49 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#49 def non_numeric_string?(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/numeric.rb#44 + # source://activemodel//lib/active_model/type/helpers/numeric.rb#44 def number_to_non_number?(old_value, new_value_before_type_cast); end end -# source://activemodel/lib/active_model/type/helpers/numeric.rb#56 +# source://activemodel//lib/active_model/type/helpers/numeric.rb#56 ActiveModel::Type::Helpers::Numeric::NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/type/helpers/time_value.rb#9 +# source://activemodel//lib/active_model/type/helpers/time_value.rb#9 module ActiveModel::Type::Helpers::TimeValue - # source://activemodel/lib/active_model/type/helpers/time_value.rb#24 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#24 def apply_seconds_precision(value); end - # source://activemodel/lib/active_model/type/helpers/time_value.rb#10 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#10 def serialize_cast_value(value); end - # source://activemodel/lib/active_model/type/helpers/time_value.rb#38 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#38 def type_cast_for_schema(value); end - # source://activemodel/lib/active_model/type/helpers/time_value.rb#42 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#42 def user_input_in_time_zone(value); end private - # source://activemodel/lib/active_model/type/helpers/time_value.rb#73 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#73 def fast_string_to_time(string); end - # source://activemodel/lib/active_model/type/helpers/time_value.rb#47 + # source://activemodel//lib/active_model/type/helpers/time_value.rb#47 def new_time(year, mon, mday, hour, min, sec, microsec, offset = T.unsafe(nil)); end end -# source://activemodel/lib/active_model/type/helpers/time_value.rb#64 +# source://activemodel//lib/active_model/type/helpers/time_value.rb#64 ActiveModel::Type::Helpers::TimeValue::ISO_DATETIME = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/type/helpers/timezone.rb#8 +# source://activemodel//lib/active_model/type/helpers/timezone.rb#8 module ActiveModel::Type::Helpers::Timezone - # source://activemodel/lib/active_model/type/helpers/timezone.rb#13 + # source://activemodel//lib/active_model/type/helpers/timezone.rb#13 def default_timezone; end # @return [Boolean] # - # source://activemodel/lib/active_model/type/helpers/timezone.rb#9 + # source://activemodel//lib/active_model/type/helpers/timezone.rb#9 def is_utc?; end end @@ -4460,25 +4485,25 @@ end # # person.active # => "aye" # -# source://activemodel/lib/active_model/type/immutable_string.rb#37 +# source://activemodel//lib/active_model/type/immutable_string.rb#37 class ActiveModel::Type::ImmutableString < ::ActiveModel::Type::Value # @return [ImmutableString] a new instance of ImmutableString # - # source://activemodel/lib/active_model/type/immutable_string.rb#38 + # source://activemodel//lib/active_model/type/immutable_string.rb#38 def initialize(**args); end - # source://activemodel/lib/active_model/type/immutable_string.rb#48 + # source://activemodel//lib/active_model/type/immutable_string.rb#48 def serialize(value); end - # source://activemodel/lib/active_model/type/immutable_string.rb#57 + # source://activemodel//lib/active_model/type/immutable_string.rb#57 def serialize_cast_value(value); end - # source://activemodel/lib/active_model/type/immutable_string.rb#44 + # source://activemodel//lib/active_model/type/immutable_string.rb#44 def type; end private - # source://activemodel/lib/active_model/type/immutable_string.rb#62 + # source://activemodel//lib/active_model/type/immutable_string.rb#62 def cast_value(value); end end @@ -4522,125 +4547,125 @@ end # attribute :age, :integer, limit: 6 # end # -# source://activemodel/lib/active_model/type/integer.rb#44 +# source://activemodel//lib/active_model/type/integer.rb#44 class ActiveModel::Type::Integer < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Numeric # @return [Integer] a new instance of Integer # - # source://activemodel/lib/active_model/type/integer.rb#51 + # source://activemodel//lib/active_model/type/integer.rb#51 def initialize(**_arg0); end - # source://activemodel/lib/active_model/type/integer.rb#60 + # source://activemodel//lib/active_model/type/integer.rb#60 def deserialize(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/integer.rb#74 + # source://activemodel//lib/active_model/type/integer.rb#74 def serializable?(value); end - # source://activemodel/lib/active_model/type/integer.rb#65 + # source://activemodel//lib/active_model/type/integer.rb#65 def serialize(value); end - # source://activemodel/lib/active_model/type/integer.rb#70 + # source://activemodel//lib/active_model/type/integer.rb#70 def serialize_cast_value(value); end - # source://activemodel/lib/active_model/type/integer.rb#56 + # source://activemodel//lib/active_model/type/integer.rb#56 def type; end private - # source://activemodel/lib/active_model/type/integer.rb#108 + # source://activemodel//lib/active_model/type/integer.rb#108 def _limit; end - # source://activemodel/lib/active_model/type/integer.rb#89 + # source://activemodel//lib/active_model/type/integer.rb#89 def cast_value(value); end - # source://activemodel/lib/active_model/type/integer.rb#93 + # source://activemodel//lib/active_model/type/integer.rb#93 def ensure_in_range(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/integer.rb#85 + # source://activemodel//lib/active_model/type/integer.rb#85 def in_range?(value); end - # source://activemodel/lib/active_model/type/integer.rb#100 + # source://activemodel//lib/active_model/type/integer.rb#100 def max_value; end - # source://activemodel/lib/active_model/type/integer.rb#104 + # source://activemodel//lib/active_model/type/integer.rb#104 def min_value; end # Returns the value of attribute range. # - # source://activemodel/lib/active_model/type/integer.rb#83 + # source://activemodel//lib/active_model/type/integer.rb#83 def range; end end # Column storage size in bytes. # 4 bytes means an integer as opposed to smallint etc. # -# source://activemodel/lib/active_model/type/integer.rb#49 +# source://activemodel//lib/active_model/type/integer.rb#49 ActiveModel::Type::Integer::DEFAULT_LIMIT = T.let(T.unsafe(nil), Integer) -# source://activemodel/lib/active_model/type/registry.rb#5 +# source://activemodel//lib/active_model/type/registry.rb#5 class ActiveModel::Type::Registry # @return [Registry] a new instance of Registry # - # source://activemodel/lib/active_model/type/registry.rb#6 + # source://activemodel//lib/active_model/type/registry.rb#6 def initialize; end - # source://activemodel/lib/active_model/type/registry.rb#23 + # source://activemodel//lib/active_model/type/registry.rb#23 def lookup(symbol, *args, **_arg2); end - # source://activemodel/lib/active_model/type/registry.rb#15 + # source://activemodel//lib/active_model/type/registry.rb#15 def register(type_name, klass = T.unsafe(nil), &block); end private - # source://activemodel/lib/active_model/type/registry.rb#10 + # source://activemodel//lib/active_model/type/registry.rb#10 def initialize_copy(other); end # Returns the value of attribute registrations. # - # source://activemodel/lib/active_model/type/registry.rb#35 + # source://activemodel//lib/active_model/type/registry.rb#35 def registrations; end end -# source://activemodel/lib/active_model/type/serialize_cast_value.rb#5 +# source://activemodel//lib/active_model/type/serialize_cast_value.rb#5 module ActiveModel::Type::SerializeCastValue extend ::ActiveSupport::Concern include ::ActiveModel::Type::SerializeCastValue::DefaultImplementation mixes_in_class_methods ::ActiveModel::Type::SerializeCastValue::ClassMethods - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#41 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#41 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#37 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#37 def itself_if_serialize_cast_value_compatible; end class << self # @private # - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#21 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#21 def included(klass); end - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#25 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#25 def serialize(type, value); end end end -# source://activemodel/lib/active_model/type/serialize_cast_value.rb#8 +# source://activemodel//lib/active_model/type/serialize_cast_value.rb#8 module ActiveModel::Type::SerializeCastValue::ClassMethods # @return [Boolean] # - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#9 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#9 def serialize_cast_value_compatible?; end end -# source://activemodel/lib/active_model/type/serialize_cast_value.rb#15 +# source://activemodel//lib/active_model/type/serialize_cast_value.rb#15 module ActiveModel::Type::SerializeCastValue::DefaultImplementation - # source://activemodel/lib/active_model/type/serialize_cast_value.rb#16 + # source://activemodel//lib/active_model/type/serialize_cast_value.rb#16 def serialize_cast_value(value); end end @@ -4653,19 +4678,19 @@ end # However, it accounts for mutable strings, so dirty tracking can properly # check if a string has changed. # -# source://activemodel/lib/active_model/type/string.rb#15 +# source://activemodel//lib/active_model/type/string.rb#15 class ActiveModel::Type::String < ::ActiveModel::Type::ImmutableString # @return [Boolean] # - # source://activemodel/lib/active_model/type/string.rb#16 + # source://activemodel//lib/active_model/type/string.rb#16 def changed_in_place?(raw_old_value, new_value); end - # source://activemodel/lib/active_model/type/string.rb#22 + # source://activemodel//lib/active_model/type/string.rb#22 def to_immutable_string; end private - # source://activemodel/lib/active_model/type/string.rb#33 + # source://activemodel//lib/active_model/type/string.rb#33 def cast_value(value); end end @@ -4703,21 +4728,21 @@ end # attribute :start, :time, precision: 4 # end # -# source://activemodel/lib/active_model/type/time.rb#38 +# source://activemodel//lib/active_model/type/time.rb#38 class ActiveModel::Type::Time < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Timezone include ::ActiveModel::Type::Helpers::AcceptsMultiparameterTime::InstanceMethods include ::ActiveModel::Type::Helpers::TimeValue - # source://activemodel/lib/active_model/type/time.rb#45 + # source://activemodel//lib/active_model/type/time.rb#45 def type; end - # source://activemodel/lib/active_model/type/time.rb#49 + # source://activemodel//lib/active_model/type/time.rb#49 def user_input_in_time_zone(value); end private - # source://activemodel/lib/active_model/type/time.rb#69 + # source://activemodel//lib/active_model/type/time.rb#69 def cast_value(value); end end @@ -4726,7 +4751,7 @@ end # The base class for all attribute types. This class also serves as the # default type for attributes that do not specify a type. # -# source://activemodel/lib/active_model/type/value.rb#9 +# source://activemodel//lib/active_model/type/value.rb#9 class ActiveModel::Type::Value include ::ActiveModel::Type::SerializeCastValue include ::ActiveModel::Type::SerializeCastValue::DefaultImplementation @@ -4739,18 +4764,18 @@ class ActiveModel::Type::Value # # @return [Value] a new instance of Value # - # source://activemodel/lib/active_model/type/value.rb#17 + # source://activemodel//lib/active_model/type/value.rb#17 def initialize(precision: T.unsafe(nil), limit: T.unsafe(nil), scale: T.unsafe(nil)); end - # source://activemodel/lib/active_model/type/value.rb#121 + # source://activemodel//lib/active_model/type/value.rb#121 def ==(other); end # @raise [NoMethodError] # - # source://activemodel/lib/active_model/type/value.rb#144 + # source://activemodel//lib/active_model/type/value.rb#144 def as_json(*_arg0); end - # source://activemodel/lib/active_model/type/value.rb#133 + # source://activemodel//lib/active_model/type/value.rb#133 def assert_valid_value(_); end # These predicates are not documented, as I need to look further into @@ -4758,7 +4783,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#77 + # source://activemodel//lib/active_model/type/value.rb#77 def binary?; end # Type casts a value from user input (e.g. from a setter). This value may @@ -4772,7 +4797,7 @@ class ActiveModel::Type::Value # # +value+ The raw input, as provided to the attribute setter. # - # source://activemodel/lib/active_model/type/value.rb#57 + # source://activemodel//lib/active_model/type/value.rb#57 def cast(value); end # Determines whether a value has changed for dirty checking. +old_value+ @@ -4781,7 +4806,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#84 + # source://activemodel//lib/active_model/type/value.rb#84 def changed?(old_value, new_value, _new_value_before_type_cast); end # Determines whether the mutable value has been modified since it was @@ -4804,7 +4829,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#105 + # source://activemodel//lib/active_model/type/value.rb#105 def changed_in_place?(raw_old_value, new_value); end # Converts a value from database input to the appropriate ruby type. The @@ -4814,43 +4839,43 @@ class ActiveModel::Type::Value # # +value+ The raw input, as provided from the database. # - # source://activemodel/lib/active_model/type/value.rb#43 + # source://activemodel//lib/active_model/type/value.rb#43 def deserialize(value); end - # source://activemodel/lib/active_model/type/value.rb#121 + # source://activemodel//lib/active_model/type/value.rb#127 def eql?(other); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#113 + # source://activemodel//lib/active_model/type/value.rb#113 def force_equality?(_value); end - # source://activemodel/lib/active_model/type/value.rb#129 + # source://activemodel//lib/active_model/type/value.rb#129 def hash; end # Returns the value of attribute limit. # - # source://activemodel/lib/active_model/type/value.rb#11 + # source://activemodel//lib/active_model/type/value.rb#11 def limit; end # @yield [value] # - # source://activemodel/lib/active_model/type/value.rb#117 + # source://activemodel//lib/active_model/type/value.rb#117 def map(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#140 + # source://activemodel//lib/active_model/type/value.rb#140 def mutable?; end # Returns the value of attribute precision. # - # source://activemodel/lib/active_model/type/value.rb#11 + # source://activemodel//lib/active_model/type/value.rb#11 def precision; end # Returns the value of attribute scale. # - # source://activemodel/lib/active_model/type/value.rb#11 + # source://activemodel//lib/active_model/type/value.rb#11 def scale; end # Returns true if this type can convert +value+ to a type that is usable @@ -4860,7 +4885,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#28 + # source://activemodel//lib/active_model/type/value.rb#28 def serializable?(value); end # Casts a value from the ruby type to a type that the database knows how @@ -4868,29 +4893,29 @@ class ActiveModel::Type::Value # +String+, +Numeric+, +Date+, +Time+, +Symbol+, +true+, +false+, or # +nil+. # - # source://activemodel/lib/active_model/type/value.rb#65 + # source://activemodel//lib/active_model/type/value.rb#65 def serialize(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#136 + # source://activemodel//lib/active_model/type/value.rb#136 def serialized?; end # Returns the unique type name as a Symbol. Subclasses should override # this method. # - # source://activemodel/lib/active_model/type/value.rb#34 + # source://activemodel//lib/active_model/type/value.rb#34 def type; end # Type casts a value for schema dumping. This method is private, as we are # hoping to remove it entirely. # - # source://activemodel/lib/active_model/type/value.rb#71 + # source://activemodel//lib/active_model/type/value.rb#71 def type_cast_for_schema(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/type/value.rb#109 + # source://activemodel//lib/active_model/type/value.rb#109 def value_constructed_by_mass_assignment?(_value); end private @@ -4899,7 +4924,7 @@ class ActiveModel::Type::Value # behavior for user and database inputs. Called by Value#cast for # values except +nil+. # - # source://activemodel/lib/active_model/type/value.rb#152 + # source://activemodel//lib/active_model/type/value.rb#152 def cast_value(value); end end @@ -4916,40 +4941,40 @@ end # person.assign_attributes(name: 'Gorby') # # => ActiveModel::UnknownAttributeError: unknown attribute 'name' for Person. # -# source://activemodel/lib/active_model/errors.rb#538 +# source://activemodel//lib/active_model/errors.rb#538 class ActiveModel::UnknownAttributeError < ::NoMethodError # @return [UnknownAttributeError] a new instance of UnknownAttributeError # - # source://activemodel/lib/active_model/errors.rb#541 + # source://activemodel//lib/active_model/errors.rb#541 def initialize(record, attribute); end # Returns the value of attribute attribute. # - # source://activemodel/lib/active_model/errors.rb#539 + # source://activemodel//lib/active_model/errors.rb#539 def attribute; end # Returns the value of attribute record. # - # source://activemodel/lib/active_model/errors.rb#539 + # source://activemodel//lib/active_model/errors.rb#539 def record; end end -# source://activemodel/lib/active_model/gem_version.rb#9 +# source://activemodel//lib/active_model/gem_version.rb#9 module ActiveModel::VERSION; end -# source://activemodel/lib/active_model/gem_version.rb#10 +# source://activemodel//lib/active_model/gem_version.rb#10 ActiveModel::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activemodel/lib/active_model/gem_version.rb#11 +# source://activemodel//lib/active_model/gem_version.rb#11 ActiveModel::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activemodel/lib/active_model/gem_version.rb#13 +# source://activemodel//lib/active_model/gem_version.rb#13 ActiveModel::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://activemodel/lib/active_model/gem_version.rb#15 +# source://activemodel//lib/active_model/gem_version.rb#15 ActiveModel::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activemodel/lib/active_model/gem_version.rb#12 +# source://activemodel//lib/active_model/gem_version.rb#12 ActiveModel::VERSION::TINY = T.let(T.unsafe(nil), Integer) # = Active \Model \ValidationError @@ -4963,16 +4988,16 @@ ActiveModel::VERSION::TINY = T.let(T.unsafe(nil), Integer) # puts invalid.model.errors # end # -# source://activemodel/lib/active_model/validations.rb#460 +# source://activemodel//lib/active_model/validations.rb#460 class ActiveModel::ValidationError < ::StandardError # @return [ValidationError] a new instance of ValidationError # - # source://activemodel/lib/active_model/validations.rb#463 + # source://activemodel//lib/active_model/validations.rb#463 def initialize(model); end # Returns the value of attribute model. # - # source://activemodel/lib/active_model/validations.rb#461 + # source://activemodel//lib/active_model/validations.rb#461 def model; end end @@ -5008,7 +5033,7 @@ end # method to your instances initialized with a new ActiveModel::Errors # object, so there is no need for you to do this manually. # -# source://activemodel/lib/active_model/validations.rb#37 +# source://activemodel//lib/active_model/validations.rb#37 module ActiveModel::Validations extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -5037,7 +5062,7 @@ module ActiveModel::Validations # person.valid? # => false # person.errors # => # # - # source://activemodel/lib/active_model/validations.rb#330 + # source://activemodel//lib/active_model/validations.rb#330 def errors; end # Performs the opposite of valid?. Returns +true+ if errors were @@ -5072,7 +5097,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel/lib/active_model/validations.rb#402 + # source://activemodel//lib/active_model/validations.rb#402 def invalid?(context = T.unsafe(nil)); end # Hook method defining how an attribute value should be retrieved. By default @@ -5091,6 +5116,8 @@ module ActiveModel::Validations # @data[key] # end # end + # + # source://activemodel//lib/active_model/validations.rb#431 def read_attribute_for_validation(*_arg0); end # Runs all the specified validations and returns +true+ if no errors were @@ -5125,7 +5152,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel/lib/active_model/validations.rb#363 + # source://activemodel//lib/active_model/validations.rb#363 def valid?(context = T.unsafe(nil)); end # Runs all the specified validations and returns +true+ if no errors were @@ -5160,7 +5187,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel/lib/active_model/validations.rb#363 + # source://activemodel//lib/active_model/validations.rb#371 def validate(context = T.unsafe(nil)); end # Runs all the validations within the specified context. Returns +true+ if @@ -5169,7 +5196,7 @@ module ActiveModel::Validations # Validations with no :on option will run no matter the context. Validations with # some :on option will only run in the specified context. # - # source://activemodel/lib/active_model/validations.rb#411 + # source://activemodel//lib/active_model/validations.rb#411 def validate!(context = T.unsafe(nil)); end # Passes the record off to the class or classes specified and allows them @@ -5209,25 +5236,25 @@ module ActiveModel::Validations # to the class and available as +options+, please refer to the # class version of this method for more information. # - # source://activemodel/lib/active_model/validations/with.rb#144 + # source://activemodel//lib/active_model/validations/with.rb#144 def validates_with(*args, &block); end private - # source://activemodel/lib/active_model/validations.rb#434 + # source://activemodel//lib/active_model/validations.rb#434 def init_internals; end # Clean the +Errors+ object if instance is duped. # - # source://activemodel/lib/active_model/validations.rb#312 + # source://activemodel//lib/active_model/validations.rb#312 def initialize_dup(other); end # @raise [ValidationError] # - # source://activemodel/lib/active_model/validations.rb#445 + # source://activemodel//lib/active_model/validations.rb#445 def raise_validation_error; end - # source://activemodel/lib/active_model/validations.rb#440 + # source://activemodel//lib/active_model/validations.rb#440 def run_validations!; end module GeneratedClassMethods @@ -5249,59 +5276,59 @@ end # == \Active \Model Absence Validator # -# source://activemodel/lib/active_model/validations/absence.rb#6 +# source://activemodel//lib/active_model/validations/absence.rb#6 class ActiveModel::Validations::AbsenceValidator < ::ActiveModel::EachValidator - # source://activemodel/lib/active_model/validations/absence.rb#7 + # source://activemodel//lib/active_model/validations/absence.rb#7 def validate_each(record, attr_name, value); end end -# source://activemodel/lib/active_model/validations/acceptance.rb#5 +# source://activemodel//lib/active_model/validations/acceptance.rb#5 class ActiveModel::Validations::AcceptanceValidator < ::ActiveModel::EachValidator # @return [AcceptanceValidator] a new instance of AcceptanceValidator # - # source://activemodel/lib/active_model/validations/acceptance.rb#6 + # source://activemodel//lib/active_model/validations/acceptance.rb#6 def initialize(options); end - # source://activemodel/lib/active_model/validations/acceptance.rb#11 + # source://activemodel//lib/active_model/validations/acceptance.rb#11 def validate_each(record, attribute, value); end private # @return [Boolean] # - # source://activemodel/lib/active_model/validations/acceptance.rb#23 + # source://activemodel//lib/active_model/validations/acceptance.rb#23 def acceptable_option?(value); end - # source://activemodel/lib/active_model/validations/acceptance.rb#18 + # source://activemodel//lib/active_model/validations/acceptance.rb#18 def setup!(klass); end end -# source://activemodel/lib/active_model/validations/acceptance.rb#27 +# source://activemodel//lib/active_model/validations/acceptance.rb#27 class ActiveModel::Validations::AcceptanceValidator::LazilyDefineAttributes < ::Module # @return [LazilyDefineAttributes] a new instance of LazilyDefineAttributes # - # source://activemodel/lib/active_model/validations/acceptance.rb#28 + # source://activemodel//lib/active_model/validations/acceptance.rb#28 def initialize(attributes); end - # source://activemodel/lib/active_model/validations/acceptance.rb#73 + # source://activemodel//lib/active_model/validations/acceptance.rb#73 def ==(other); end - # source://activemodel/lib/active_model/validations/acceptance.rb#56 + # source://activemodel//lib/active_model/validations/acceptance.rb#56 def define_on(klass); end - # source://activemodel/lib/active_model/validations/acceptance.rb#32 + # source://activemodel//lib/active_model/validations/acceptance.rb#32 def included(klass); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/acceptance.rb#51 + # source://activemodel//lib/active_model/validations/acceptance.rb#51 def matches?(method_name); end protected # Returns the value of attribute attributes. # - # source://activemodel/lib/active_model/validations/acceptance.rb#78 + # source://activemodel//lib/active_model/validations/acceptance.rb#78 def attributes; end end @@ -5323,7 +5350,7 @@ end # Like other before_* callbacks if +before_validation+ throws # +:abort+ then valid? will not be called. # -# source://activemodel/lib/active_model/validations/callbacks.rb#22 +# source://activemodel//lib/active_model/validations/callbacks.rb#22 module ActiveModel::Validations::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -5338,7 +5365,7 @@ module ActiveModel::Validations::Callbacks # Override run_validations! to include callbacks. # - # source://activemodel/lib/active_model/validations/callbacks.rb#114 + # source://activemodel//lib/active_model/validations/callbacks.rb#114 def run_validations!; end module GeneratedClassMethods @@ -5353,7 +5380,7 @@ module ActiveModel::Validations::Callbacks end end -# source://activemodel/lib/active_model/validations/callbacks.rb#32 +# source://activemodel//lib/active_model/validations/callbacks.rb#32 module ActiveModel::Validations::Callbacks::ClassMethods # Defines a callback that will get called right after validation. # @@ -5381,7 +5408,7 @@ module ActiveModel::Validations::Callbacks::ClassMethods # person.valid? # => true # person.status # => true # - # source://activemodel/lib/active_model/validations/callbacks.rb#88 + # source://activemodel//lib/active_model/validations/callbacks.rb#88 def after_validation(*args, &block); end # Defines a callback that will get called right before validation. @@ -5407,16 +5434,16 @@ module ActiveModel::Validations::Callbacks::ClassMethods # person.valid? # => true # person.name # => "bob" # - # source://activemodel/lib/active_model/validations/callbacks.rb#55 + # source://activemodel//lib/active_model/validations/callbacks.rb#55 def before_validation(*args, &block); end private - # source://activemodel/lib/active_model/validations/callbacks.rb#99 + # source://activemodel//lib/active_model/validations/callbacks.rb#99 def set_options_for_callback(options); end end -# source://activemodel/lib/active_model/validations.rb#74 +# source://activemodel//lib/active_model/validations.rb#74 module ActiveModel::Validations::ClassMethods # Returns +true+ if +attribute+ is an attribute method, +false+ otherwise. # @@ -5431,7 +5458,7 @@ module ActiveModel::Validations::ClassMethods # # @return [Boolean] # - # source://activemodel/lib/active_model/validations.rb#284 + # source://activemodel//lib/active_model/validations.rb#284 def attribute_method?(attribute); end # Clears all of the validators and validations. @@ -5472,12 +5499,12 @@ module ActiveModel::Validations::ClassMethods # # Person._validate_callbacks.empty? # => true # - # source://activemodel/lib/active_model/validations.rb#248 + # source://activemodel//lib/active_model/validations.rb#248 def clear_validators!; end # Copy validators on inheritance. # - # source://activemodel/lib/active_model/validations.rb#289 + # source://activemodel//lib/active_model/validations.rb#289 def inherited(base); end # Adds a validation method or block to the class. This is useful when @@ -5541,7 +5568,7 @@ module ActiveModel::Validations::ClassMethods # # NOTE: Calling +validate+ multiple times on the same method will overwrite previous definitions. # - # source://activemodel/lib/active_model/validations.rb#171 + # source://activemodel//lib/active_model/validations.rb#171 def validate(*args, &block); end # This method is a shortcut to all default validators and any custom @@ -5645,7 +5672,7 @@ module ActiveModel::Validations::ClassMethods # # @raise [ArgumentError] # - # source://activemodel/lib/active_model/validations/validates.rb#106 + # source://activemodel//lib/active_model/validations/validates.rb#106 def validates(*attributes); end # This method is used to define validations that cannot be corrected by end @@ -5667,7 +5694,7 @@ module ActiveModel::Validations::ClassMethods # person.valid? # # => ActiveModel::StrictValidationFailed: Name can't be blank # - # source://activemodel/lib/active_model/validations/validates.rb#148 + # source://activemodel//lib/active_model/validations/validates.rb#148 def validates!(*attributes); end # Validates each attribute against a block. @@ -5700,7 +5727,7 @@ module ActiveModel::Validations::ClassMethods # method, proc, or string should return or evaluate to a +true+ or +false+ # value. # - # source://activemodel/lib/active_model/validations.rb#104 + # source://activemodel//lib/active_model/validations.rb#104 def validates_each(*attr_names, &block); end # Passes the record off to the class or classes specified and allows them @@ -5772,7 +5799,7 @@ module ActiveModel::Validations::ClassMethods # end # end # - # source://activemodel/lib/active_model/validations/with.rb#88 + # source://activemodel//lib/active_model/validations/with.rb#88 def validates_with(*args, &block); end # List all validators that are being used to validate the model using @@ -5793,7 +5820,7 @@ module ActiveModel::Validations::ClassMethods # # # # # ] # - # source://activemodel/lib/active_model/validations.rb#206 + # source://activemodel//lib/active_model/validations.rb#206 def validators; end # List all validators that are being used to validate a specific attribute. @@ -5812,42 +5839,42 @@ module ActiveModel::Validations::ClassMethods # # #, # # ] # - # source://activemodel/lib/active_model/validations.rb#268 + # source://activemodel//lib/active_model/validations.rb#268 def validators_on(*attributes); end private - # source://activemodel/lib/active_model/validations/validates.rb#161 + # source://activemodel//lib/active_model/validations/validates.rb#161 def _parse_validates_options(options); end # When creating custom validators, it might be useful to be able to specify # additional default keys. This can be done by overwriting this method. # - # source://activemodel/lib/active_model/validations/validates.rb#157 + # source://activemodel//lib/active_model/validations/validates.rb#157 def _validates_default_keys; end - # source://activemodel/lib/active_model/validations.rb#298 + # source://activemodel//lib/active_model/validations.rb#298 def predicate_for_validation_context(context); end end -# source://activemodel/lib/active_model/validations.rb#108 +# source://activemodel//lib/active_model/validations.rb#108 ActiveModel::Validations::ClassMethods::VALID_OPTIONS_FOR_VALIDATE = T.let(T.unsafe(nil), Array) -# source://activemodel/lib/active_model/validations/clusivity.rb#8 +# source://activemodel//lib/active_model/validations/clusivity.rb#8 module ActiveModel::Validations::Clusivity include ::ActiveModel::Validations::ResolveValue - # source://activemodel/lib/active_model/validations/clusivity.rb#14 + # source://activemodel//lib/active_model/validations/clusivity.rb#14 def check_validity!; end private - # source://activemodel/lib/active_model/validations/clusivity.rb#31 + # source://activemodel//lib/active_model/validations/clusivity.rb#31 def delimiter; end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/clusivity.rb#21 + # source://activemodel//lib/active_model/validations/clusivity.rb#21 def include?(record, value); end # After Ruby 2.2, Range#include? on non-number-or-time-ish ranges checks all @@ -5856,89 +5883,89 @@ module ActiveModel::Validations::Clusivity # endpoints, which is fast but is only accurate on Numeric, Time, Date, # or DateTime ranges. # - # source://activemodel/lib/active_model/validations/clusivity.rb#40 + # source://activemodel//lib/active_model/validations/clusivity.rb#40 def inclusion_method(enumerable); end end -# source://activemodel/lib/active_model/validations/clusivity.rb#11 +# source://activemodel//lib/active_model/validations/clusivity.rb#11 ActiveModel::Validations::Clusivity::ERROR_MESSAGE = T.let(T.unsafe(nil), String) -# source://activemodel/lib/active_model/validations/comparability.rb#5 +# source://activemodel//lib/active_model/validations/comparability.rb#5 module ActiveModel::Validations::Comparability - # source://activemodel/lib/active_model/validations/comparability.rb#10 + # source://activemodel//lib/active_model/validations/comparability.rb#10 def error_options(value, option_value); end end -# source://activemodel/lib/active_model/validations/comparability.rb#6 +# source://activemodel//lib/active_model/validations/comparability.rb#6 ActiveModel::Validations::Comparability::COMPARE_CHECKS = T.let(T.unsafe(nil), Hash) -# source://activemodel/lib/active_model/validations/comparison.rb#8 +# source://activemodel//lib/active_model/validations/comparison.rb#8 class ActiveModel::Validations::ComparisonValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::Comparability include ::ActiveModel::Validations::ResolveValue - # source://activemodel/lib/active_model/validations/comparison.rb#12 + # source://activemodel//lib/active_model/validations/comparison.rb#12 def check_validity!; end - # source://activemodel/lib/active_model/validations/comparison.rb#19 + # source://activemodel//lib/active_model/validations/comparison.rb#19 def validate_each(record, attr_name, value); end end -# source://activemodel/lib/active_model/validations/confirmation.rb#5 +# source://activemodel//lib/active_model/validations/confirmation.rb#5 class ActiveModel::Validations::ConfirmationValidator < ::ActiveModel::EachValidator # @return [ConfirmationValidator] a new instance of ConfirmationValidator # - # source://activemodel/lib/active_model/validations/confirmation.rb#6 + # source://activemodel//lib/active_model/validations/confirmation.rb#6 def initialize(options); end - # source://activemodel/lib/active_model/validations/confirmation.rb#11 + # source://activemodel//lib/active_model/validations/confirmation.rb#11 def validate_each(record, attribute, value); end private # @return [Boolean] # - # source://activemodel/lib/active_model/validations/confirmation.rb#31 + # source://activemodel//lib/active_model/validations/confirmation.rb#31 def confirmation_value_equal?(record, attribute, value, confirmed); end - # source://activemodel/lib/active_model/validations/confirmation.rb#21 + # source://activemodel//lib/active_model/validations/confirmation.rb#21 def setup!(klass); end end -# source://activemodel/lib/active_model/validations/exclusion.rb#7 +# source://activemodel//lib/active_model/validations/exclusion.rb#7 class ActiveModel::Validations::ExclusionValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::ResolveValue include ::ActiveModel::Validations::Clusivity - # source://activemodel/lib/active_model/validations/exclusion.rb#10 + # source://activemodel//lib/active_model/validations/exclusion.rb#10 def validate_each(record, attribute, value); end end -# source://activemodel/lib/active_model/validations/format.rb#7 +# source://activemodel//lib/active_model/validations/format.rb#7 class ActiveModel::Validations::FormatValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::ResolveValue - # source://activemodel/lib/active_model/validations/format.rb#20 + # source://activemodel//lib/active_model/validations/format.rb#20 def check_validity!; end - # source://activemodel/lib/active_model/validations/format.rb#10 + # source://activemodel//lib/active_model/validations/format.rb#10 def validate_each(record, attribute, value); end private - # source://activemodel/lib/active_model/validations/format.rb#34 + # source://activemodel//lib/active_model/validations/format.rb#34 def check_options_validity(name); end - # source://activemodel/lib/active_model/validations/format.rb#30 + # source://activemodel//lib/active_model/validations/format.rb#30 def record_error(record, attribute, name, value); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/format.rb#48 + # source://activemodel//lib/active_model/validations/format.rb#48 def regexp_using_multiline_anchors?(regexp); end end -# source://activemodel/lib/active_model/validations/absence.rb#12 +# source://activemodel//lib/active_model/validations/absence.rb#12 module ActiveModel::Validations::HelperMethods # Validates that the specified attributes are blank (as defined by # Object#present?). @@ -5956,7 +5983,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/absence.rb#28 + # source://activemodel//lib/active_model/validations/absence.rb#28 def validates_absence_of(*attr_names); end # Encapsulates the pattern of wanting to validate the acceptance of a @@ -5985,7 +6012,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/acceptance.rb#108 + # source://activemodel//lib/active_model/validations/acceptance.rb#108 def validates_acceptance_of(*attr_names); end # Validates the value of a specified attribute fulfills all @@ -6037,7 +6064,7 @@ module ActiveModel::Validations::HelperMethods # validates_comparison_of :preferred_name, other_than: :given_name, allow_nil: true # end # - # source://activemodel/lib/active_model/validations/comparison.rb#85 + # source://activemodel//lib/active_model/validations/comparison.rb#85 def validates_comparison_of(*attr_names); end # Encapsulates the pattern of wanting to validate a password or email @@ -6075,7 +6102,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/confirmation.rb#75 + # source://activemodel//lib/active_model/validations/confirmation.rb#75 def validates_confirmation_of(*attr_names); end # Validates that the value of the specified attribute is not in a @@ -6105,7 +6132,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/exclusion.rb#44 + # source://activemodel//lib/active_model/validations/exclusion.rb#44 def validates_exclusion_of(*attr_names); end # Validates whether the value of the specified attribute is of the correct @@ -6161,7 +6188,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/format.rb#107 + # source://activemodel//lib/active_model/validations/format.rb#107 def validates_format_of(*attr_names); end # Validates whether the value of the specified attribute is available in a @@ -6189,7 +6216,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/inclusion.rb#42 + # source://activemodel//lib/active_model/validations/inclusion.rb#42 def validates_inclusion_of(*attr_names); end # Validates that the specified attributes match the length restrictions @@ -6241,7 +6268,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/length.rb#123 + # source://activemodel//lib/active_model/validations/length.rb#123 def validates_length_of(*attr_names); end # Validates whether the value of the specified attribute is numeric by @@ -6312,7 +6339,7 @@ module ActiveModel::Validations::HelperMethods # validates_numericality_of :width, greater_than: :minimum_weight # end # - # source://activemodel/lib/active_model/validations/numericality.rb#217 + # source://activemodel//lib/active_model/validations/numericality.rb#217 def validates_numericality_of(*attr_names); end # Validates that the specified attributes are not blank (as defined by @@ -6338,7 +6365,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/presence.rb#34 + # source://activemodel//lib/active_model/validations/presence.rb#34 def validates_presence_of(*attr_names); end # Validates that the specified attributes match the length restrictions @@ -6390,143 +6417,143 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel/lib/active_model/validations/length.rb#123 + # source://activemodel//lib/active_model/validations/length.rb#127 def validates_size_of(*attr_names); end private - # source://activemodel/lib/active_model/validations/helper_methods.rb#7 + # source://activemodel//lib/active_model/validations/helper_methods.rb#7 def _merge_attributes(attr_names); end end -# source://activemodel/lib/active_model/validations/inclusion.rb#7 +# source://activemodel//lib/active_model/validations/inclusion.rb#7 class ActiveModel::Validations::InclusionValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::ResolveValue include ::ActiveModel::Validations::Clusivity - # source://activemodel/lib/active_model/validations/inclusion.rb#10 + # source://activemodel//lib/active_model/validations/inclusion.rb#10 def validate_each(record, attribute, value); end end -# source://activemodel/lib/active_model/validations/length.rb#7 +# source://activemodel//lib/active_model/validations/length.rb#7 class ActiveModel::Validations::LengthValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::ResolveValue # @return [LengthValidator] a new instance of LengthValidator # - # source://activemodel/lib/active_model/validations/length.rb#15 + # source://activemodel//lib/active_model/validations/length.rb#15 def initialize(options); end - # source://activemodel/lib/active_model/validations/length.rb#29 + # source://activemodel//lib/active_model/validations/length.rb#29 def check_validity!; end - # source://activemodel/lib/active_model/validations/length.rb#47 + # source://activemodel//lib/active_model/validations/length.rb#47 def validate_each(record, attribute, value); end private # @return [Boolean] # - # source://activemodel/lib/active_model/validations/length.rb#69 + # source://activemodel//lib/active_model/validations/length.rb#69 def skip_nil_check?(key); end end -# source://activemodel/lib/active_model/validations/length.rb#11 +# source://activemodel//lib/active_model/validations/length.rb#11 ActiveModel::Validations::LengthValidator::CHECKS = T.let(T.unsafe(nil), Hash) -# source://activemodel/lib/active_model/validations/length.rb#10 +# source://activemodel//lib/active_model/validations/length.rb#10 ActiveModel::Validations::LengthValidator::MESSAGES = T.let(T.unsafe(nil), Hash) -# source://activemodel/lib/active_model/validations/length.rb#13 +# source://activemodel//lib/active_model/validations/length.rb#13 ActiveModel::Validations::LengthValidator::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://activemodel/lib/active_model/validations/numericality.rb#9 +# source://activemodel//lib/active_model/validations/numericality.rb#9 class ActiveModel::Validations::NumericalityValidator < ::ActiveModel::EachValidator include ::ActiveModel::Validations::Comparability include ::ActiveModel::Validations::ResolveValue - # source://activemodel/lib/active_model/validations/numericality.rb#22 + # source://activemodel//lib/active_model/validations/numericality.rb#22 def check_validity!; end - # source://activemodel/lib/active_model/validations/numericality.rb#36 + # source://activemodel//lib/active_model/validations/numericality.rb#36 def validate_each(record, attr_name, value, precision: T.unsafe(nil), scale: T.unsafe(nil)); end private # @return [Boolean] # - # source://activemodel/lib/active_model/validations/numericality.rb#118 + # source://activemodel//lib/active_model/validations/numericality.rb#118 def allow_only_integer?(record); end - # source://activemodel/lib/active_model/validations/numericality.rb#112 + # source://activemodel//lib/active_model/validations/numericality.rb#112 def filtered_options(value); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/numericality.rb#108 + # source://activemodel//lib/active_model/validations/numericality.rb#108 def is_hexadecimal_literal?(raw_value); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/numericality.rb#104 + # source://activemodel//lib/active_model/validations/numericality.rb#104 def is_integer?(raw_value); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/numericality.rb#94 + # source://activemodel//lib/active_model/validations/numericality.rb#94 def is_number?(raw_value, precision, scale); end - # source://activemodel/lib/active_model/validations/numericality.rb#68 + # source://activemodel//lib/active_model/validations/numericality.rb#68 def option_as_number(record, option_value, precision, scale); end - # source://activemodel/lib/active_model/validations/numericality.rb#72 + # source://activemodel//lib/active_model/validations/numericality.rb#72 def parse_as_number(raw_value, precision, scale); end - # source://activemodel/lib/active_model/validations/numericality.rb#86 + # source://activemodel//lib/active_model/validations/numericality.rb#86 def parse_float(raw_value, precision, scale); end - # source://activemodel/lib/active_model/validations/numericality.rb#122 + # source://activemodel//lib/active_model/validations/numericality.rb#122 def prepare_value_for_validation(value, record, attr_name); end # @return [Boolean] # - # source://activemodel/lib/active_model/validations/numericality.rb#143 + # source://activemodel//lib/active_model/validations/numericality.rb#143 def record_attribute_changed_in_place?(record, attr_name); end - # source://activemodel/lib/active_model/validations/numericality.rb#90 + # source://activemodel//lib/active_model/validations/numericality.rb#90 def round(raw_value, scale); end end -# source://activemodel/lib/active_model/validations/numericality.rb#20 +# source://activemodel//lib/active_model/validations/numericality.rb#20 ActiveModel::Validations::NumericalityValidator::HEXADECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/validations/numericality.rb#18 +# source://activemodel//lib/active_model/validations/numericality.rb#18 ActiveModel::Validations::NumericalityValidator::INTEGER_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activemodel/lib/active_model/validations/numericality.rb#14 +# source://activemodel//lib/active_model/validations/numericality.rb#14 ActiveModel::Validations::NumericalityValidator::NUMBER_CHECKS = T.let(T.unsafe(nil), Hash) -# source://activemodel/lib/active_model/validations/numericality.rb#13 +# source://activemodel//lib/active_model/validations/numericality.rb#13 ActiveModel::Validations::NumericalityValidator::RANGE_CHECKS = T.let(T.unsafe(nil), Hash) -# source://activemodel/lib/active_model/validations/numericality.rb#16 +# source://activemodel//lib/active_model/validations/numericality.rb#16 ActiveModel::Validations::NumericalityValidator::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://activemodel/lib/active_model/validations/presence.rb#5 +# source://activemodel//lib/active_model/validations/presence.rb#5 class ActiveModel::Validations::PresenceValidator < ::ActiveModel::EachValidator - # source://activemodel/lib/active_model/validations/presence.rb#6 + # source://activemodel//lib/active_model/validations/presence.rb#6 def validate_each(record, attr_name, value); end end -# source://activemodel/lib/active_model/validations/resolve_value.rb#5 +# source://activemodel//lib/active_model/validations/resolve_value.rb#5 module ActiveModel::Validations::ResolveValue - # source://activemodel/lib/active_model/validations/resolve_value.rb#6 + # source://activemodel//lib/active_model/validations/resolve_value.rb#6 def resolve_value(record, value); end end -# source://activemodel/lib/active_model/validations/with.rb#7 +# source://activemodel//lib/active_model/validations/with.rb#7 class ActiveModel::Validations::WithValidator < ::ActiveModel::EachValidator - # source://activemodel/lib/active_model/validations/with.rb#8 + # source://activemodel//lib/active_model/validations/with.rb#8 def validate_each(record, attr, val); end end @@ -6621,13 +6648,13 @@ end # end # end # -# source://activemodel/lib/active_model/validator.rb#96 +# source://activemodel//lib/active_model/validator.rb#96 class ActiveModel::Validator # Accepts options that will be made available through the +options+ reader. # # @return [Validator] a new instance of Validator # - # source://activemodel/lib/active_model/validator.rb#108 + # source://activemodel//lib/active_model/validator.rb#108 def initialize(options = T.unsafe(nil)); end # Returns the kind for this validator. @@ -6635,12 +6662,12 @@ class ActiveModel::Validator # PresenceValidator.new(attributes: [:username]).kind # => :presence # AcceptanceValidator.new(attributes: [:terms]).kind # => :acceptance # - # source://activemodel/lib/active_model/validator.rb#116 + # source://activemodel//lib/active_model/validator.rb#116 def kind; end # Returns the value of attribute options. # - # source://activemodel/lib/active_model/validator.rb#97 + # source://activemodel//lib/active_model/validator.rb#97 def options; end # Override this method in subclasses with validation logic, adding errors @@ -6648,7 +6675,7 @@ class ActiveModel::Validator # # @raise [NotImplementedError] # - # source://activemodel/lib/active_model/validator.rb#122 + # source://activemodel//lib/active_model/validator.rb#122 def validate(record); end class << self @@ -6657,7 +6684,7 @@ class ActiveModel::Validator # PresenceValidator.kind # => :presence # AcceptanceValidator.kind # => :acceptance # - # source://activemodel/lib/active_model/validator.rb#103 + # source://activemodel//lib/active_model/validator.rb#103 def kind; end end end diff --git a/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi b/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi index 8ecf9aba5..f1a711715 100644 --- a/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi +++ b/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi @@ -81,7 +81,7 @@ class ActiveRecord::TypedStore::DSL # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 def date(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#69 def date_time(name, **options); end # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 @@ -273,10 +273,10 @@ class ActiveRecord::TypedStore::TypedHash < ::ActiveSupport::HashWithIndifferent # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#21 def slice(*_arg0, **_arg1, &_arg2); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#29 + # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#32 def store(key, value); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#34 + # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#43 def update(other_hash); end # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#20 diff --git a/sorbet/rbi/gems/activerecord@7.1.5.1.rbi b/sorbet/rbi/gems/activerecord@7.1.5.1.rbi index e9ccc8667..16ba49486 100644 --- a/sorbet/rbi/gems/activerecord@7.1.5.1.rbi +++ b/sorbet/rbi/gems/activerecord@7.1.5.1.rbi @@ -7,267 +7,267 @@ # :include: ../README.rdoc # -# source://activerecord/lib/active_record/gem_version.rb#3 +# source://activerecord//lib/active_record/gem_version.rb#3 module ActiveRecord include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor extend ::ActiveSupport::Autoload class << self - # source://activerecord/lib/active_record.rb#342 + # source://activerecord//lib/active_record.rb#342 def action_on_strict_loading_violation; end - # source://activerecord/lib/active_record.rb#342 + # source://activerecord//lib/active_record.rb#342 def action_on_strict_loading_violation=(_arg0); end - # source://activerecord/lib/active_record.rb#422 + # source://activerecord//lib/active_record.rb#422 def allow_deprecated_singular_associations_name; end - # source://activerecord/lib/active_record.rb#422 + # source://activerecord//lib/active_record.rb#422 def allow_deprecated_singular_associations_name=(_arg0); end - # source://activerecord/lib/active_record.rb#335 + # source://activerecord//lib/active_record.rb#335 def application_record_class; end - # source://activerecord/lib/active_record.rb#335 + # source://activerecord//lib/active_record.rb#335 def application_record_class=(_arg0); end - # source://activerecord/lib/active_record.rb#263 + # source://activerecord//lib/active_record.rb#263 def async_query_executor; end - # source://activerecord/lib/active_record.rb#263 + # source://activerecord//lib/active_record.rb#263 def async_query_executor=(_arg0); end - # source://activerecord/lib/active_record.rb#317 + # source://activerecord//lib/active_record.rb#317 def before_committed_on_all_records; end - # source://activerecord/lib/active_record.rb#317 + # source://activerecord//lib/active_record.rb#317 def before_committed_on_all_records=(_arg0); end - # source://activerecord/lib/active_record.rb#314 + # source://activerecord//lib/active_record.rb#314 def belongs_to_required_validates_foreign_key; end - # source://activerecord/lib/active_record.rb#314 + # source://activerecord//lib/active_record.rb#314 def belongs_to_required_validates_foreign_key=(_arg0); end - # source://activerecord/lib/active_record.rb#323 + # source://activerecord//lib/active_record.rb#323 def commit_transaction_on_non_local_return; end - # source://activerecord/lib/active_record.rb#323 + # source://activerecord//lib/active_record.rb#323 def commit_transaction_on_non_local_return=(_arg0); end - # source://activerecord/lib/active_record.rb#209 + # source://activerecord//lib/active_record.rb#209 def db_warnings_action; end - # source://activerecord/lib/active_record.rb#211 + # source://activerecord//lib/active_record.rb#211 def db_warnings_action=(action); end - # source://activerecord/lib/active_record.rb#236 + # source://activerecord//lib/active_record.rb#236 def db_warnings_ignore; end - # source://activerecord/lib/active_record.rb#236 + # source://activerecord//lib/active_record.rb#236 def db_warnings_ignore=(_arg0); end - # source://activerecord/lib/active_record.rb#192 + # source://activerecord//lib/active_record.rb#192 def default_timezone; end # Determines whether to use Time.utc (using :utc) or Time.local (using :local) when pulling # dates and times from the database. This is set to :utc by default. # - # source://activerecord/lib/active_record.rb#196 + # source://activerecord//lib/active_record.rb#196 def default_timezone=(default_timezone); end - # source://activerecord/lib/active_record/deprecator.rb#4 + # source://activerecord//lib/active_record/deprecator.rb#4 def deprecator; end - # source://activerecord/lib/active_record.rb#177 + # source://activerecord//lib/active_record.rb#177 def disable_prepared_statements; end - # source://activerecord/lib/active_record.rb#177 + # source://activerecord//lib/active_record.rb#177 def disable_prepared_statements=(_arg0); end # Explicitly closes all database connections in all pools. # - # source://activerecord/lib/active_record.rb#476 + # source://activerecord//lib/active_record.rb#476 def disconnect_all!; end - # source://activerecord/lib/active_record.rb#382 + # source://activerecord//lib/active_record.rb#382 def dump_schema_after_migration; end - # source://activerecord/lib/active_record.rb#382 + # source://activerecord//lib/active_record.rb#382 def dump_schema_after_migration=(_arg0); end - # source://activerecord/lib/active_record.rb#392 + # source://activerecord//lib/active_record.rb#392 def dump_schemas; end - # source://activerecord/lib/active_record.rb#392 + # source://activerecord//lib/active_record.rb#392 def dump_schemas=(_arg0); end - # source://activerecord/lib/active_record.rb#465 + # source://activerecord//lib/active_record.rb#465 def eager_load!; end - # source://activerecord/lib/active_record.rb#361 + # source://activerecord//lib/active_record.rb#361 def error_on_ignored_order; end - # source://activerecord/lib/active_record.rb#361 + # source://activerecord//lib/active_record.rb#361 def error_on_ignored_order=(_arg0); end # Returns the currently loaded version of Active Record as a +Gem::Version+. # - # source://activerecord/lib/active_record/gem_version.rb#5 + # source://activerecord//lib/active_record/gem_version.rb#5 def gem_version; end - # source://activerecord/lib/active_record.rb#454 + # source://activerecord//lib/active_record.rb#454 def generate_secure_token_on; end - # source://activerecord/lib/active_record.rb#454 + # source://activerecord//lib/active_record.rb#454 def generate_secure_token_on=(_arg0); end - # source://activerecord/lib/active_record.rb#286 + # source://activerecord//lib/active_record.rb#286 def global_executor_concurrency; end # Set the +global_executor_concurrency+. This configuration value can only be used # with the global thread pool async query executor. # - # source://activerecord/lib/active_record.rb#278 + # source://activerecord//lib/active_record.rb#278 def global_executor_concurrency=(global_executor_concurrency); end - # source://activerecord/lib/active_record.rb#266 + # source://activerecord//lib/active_record.rb#266 def global_thread_pool_async_query_executor; end - # source://activerecord/lib/active_record.rb#290 + # source://activerecord//lib/active_record.rb#290 def index_nested_attribute_errors; end - # source://activerecord/lib/active_record.rb#290 + # source://activerecord//lib/active_record.rb#290 def index_nested_attribute_errors=(_arg0); end - # source://activerecord/lib/active_record.rb#183 + # source://activerecord//lib/active_record.rb#183 def lazily_load_schema_cache; end - # source://activerecord/lib/active_record.rb#183 + # source://activerecord//lib/active_record.rb#183 def lazily_load_schema_cache=(_arg0); end # @raise [ArgumentError] # - # source://activerecord/lib/active_record.rb#245 + # source://activerecord//lib/active_record.rb#245 def legacy_connection_handling=(_); end - # source://activerecord/lib/active_record.rb#308 + # source://activerecord//lib/active_record.rb#308 def maintain_test_schema; end - # source://activerecord/lib/active_record.rb#308 + # source://activerecord//lib/active_record.rb#308 def maintain_test_schema=(_arg0); end - # source://activerecord/lib/active_record.rb#457 + # source://activerecord//lib/active_record.rb#457 def marshalling_format_version; end - # source://activerecord/lib/active_record.rb#461 + # source://activerecord//lib/active_record.rb#461 def marshalling_format_version=(value); end - # source://activerecord/lib/active_record.rb#373 + # source://activerecord//lib/active_record.rb#373 def migration_strategy; end - # source://activerecord/lib/active_record.rb#373 + # source://activerecord//lib/active_record.rb#373 def migration_strategy=(_arg0); end - # source://activerecord/lib/active_record.rb#425 + # source://activerecord//lib/active_record.rb#425 def query_transformers; end - # source://activerecord/lib/active_record.rb#425 + # source://activerecord//lib/active_record.rb#425 def query_transformers=(_arg0); end - # source://activerecord/lib/active_record.rb#305 + # source://activerecord//lib/active_record.rb#305 def queues; end - # source://activerecord/lib/active_record.rb#305 + # source://activerecord//lib/active_record.rb#305 def queues=(_arg0); end - # source://activerecord/lib/active_record.rb#440 + # source://activerecord//lib/active_record.rb#440 def raise_int_wider_than_64bit; end - # source://activerecord/lib/active_record.rb#440 + # source://activerecord//lib/active_record.rb#440 def raise_int_wider_than_64bit=(_arg0); end - # source://activerecord/lib/active_record.rb#311 + # source://activerecord//lib/active_record.rb#311 def raise_on_assign_to_attr_readonly; end - # source://activerecord/lib/active_record.rb#311 + # source://activerecord//lib/active_record.rb#311 def raise_on_assign_to_attr_readonly=(_arg0); end - # source://activerecord/lib/active_record.rb#242 + # source://activerecord//lib/active_record.rb#242 def reading_role; end - # source://activerecord/lib/active_record.rb#242 + # source://activerecord//lib/active_record.rb#242 def reading_role=(_arg0); end - # source://activerecord/lib/active_record.rb#320 + # source://activerecord//lib/active_record.rb#320 def run_after_transaction_callbacks_in_order_defined; end - # source://activerecord/lib/active_record.rb#320 + # source://activerecord//lib/active_record.rb#320 def run_after_transaction_callbacks_in_order_defined=(_arg0); end - # source://activerecord/lib/active_record.rb#189 + # source://activerecord//lib/active_record.rb#189 def schema_cache_ignored_tables; end - # source://activerecord/lib/active_record.rb#189 + # source://activerecord//lib/active_record.rb#189 def schema_cache_ignored_tables=(_arg0); end - # source://activerecord/lib/active_record.rb#353 + # source://activerecord//lib/active_record.rb#353 def schema_format; end - # source://activerecord/lib/active_record.rb#353 + # source://activerecord//lib/active_record.rb#353 def schema_format=(_arg0); end - # source://activerecord/lib/active_record.rb#395 + # source://activerecord//lib/active_record.rb#395 def suppress_multiple_database_warning; end - # source://activerecord/lib/active_record.rb#402 + # source://activerecord//lib/active_record.rb#402 def suppress_multiple_database_warning=(value); end - # source://activerecord/lib/active_record.rb#367 + # source://activerecord//lib/active_record.rb#367 def timestamped_migrations; end - # source://activerecord/lib/active_record.rb#367 + # source://activerecord//lib/active_record.rb#367 def timestamped_migrations=(_arg0); end - # source://activerecord/lib/active_record.rb#432 + # source://activerecord//lib/active_record.rb#432 def use_yaml_unsafe_load; end - # source://activerecord/lib/active_record.rb#432 + # source://activerecord//lib/active_record.rb#432 def use_yaml_unsafe_load=(_arg0); end - # source://activerecord/lib/active_record.rb#298 + # source://activerecord//lib/active_record.rb#298 def verbose_query_logs; end - # source://activerecord/lib/active_record.rb#298 + # source://activerecord//lib/active_record.rb#298 def verbose_query_logs=(_arg0); end - # source://activerecord/lib/active_record.rb#415 + # source://activerecord//lib/active_record.rb#415 def verify_foreign_keys_for_fixtures; end - # source://activerecord/lib/active_record.rb#415 + # source://activerecord//lib/active_record.rb#415 def verify_foreign_keys_for_fixtures=(_arg0); end # Returns the currently loaded version of Active Record as a +Gem::Version+. # - # source://activerecord/lib/active_record/version.rb#7 + # source://activerecord//lib/active_record/version.rb#7 def version; end - # source://activerecord/lib/active_record.rb#332 + # source://activerecord//lib/active_record.rb#332 def warn_on_records_fetched_greater_than; end - # source://activerecord/lib/active_record.rb#332 + # source://activerecord//lib/active_record.rb#332 def warn_on_records_fetched_greater_than=(_arg0); end - # source://activerecord/lib/active_record.rb#239 + # source://activerecord//lib/active_record.rb#239 def writing_role; end - # source://activerecord/lib/active_record.rb#239 + # source://activerecord//lib/active_record.rb#239 def writing_role=(_arg0); end - # source://activerecord/lib/active_record.rb#447 + # source://activerecord//lib/active_record.rb#447 def yaml_column_permitted_classes; end - # source://activerecord/lib/active_record.rb#447 + # source://activerecord//lib/active_record.rb#447 def yaml_column_permitted_classes=(_arg0); end end end @@ -276,57 +276,57 @@ end # # Generic Active Record exception class. # -# source://activerecord/lib/active_record/errors.rb#7 +# source://activerecord//lib/active_record/errors.rb#7 class ActiveRecord::ActiveRecordError < ::StandardError; end # Superclass for all errors raised from an Active Record adapter. # -# source://activerecord/lib/active_record/errors.rb#59 +# source://activerecord//lib/active_record/errors.rb#59 class ActiveRecord::AdapterError < ::ActiveRecord::ActiveRecordError # @return [AdapterError] a new instance of AdapterError # - # source://activerecord/lib/active_record/errors.rb#60 + # source://activerecord//lib/active_record/errors.rb#60 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end # Returns the value of attribute connection_pool. # - # source://activerecord/lib/active_record/errors.rb#65 + # source://activerecord//lib/active_record/errors.rb#65 def connection_pool; end end # Raised when Active Record cannot find database adapter specified in # +config/database.yml+ or programmatically. # -# source://activerecord/lib/active_record/errors.rb#55 +# source://activerecord//lib/active_record/errors.rb#55 class ActiveRecord::AdapterNotFound < ::ActiveRecord::ActiveRecordError; end # Raised when adapter not specified on connection (or configuration file # +config/database.yml+ misses adapter field). # -# source://activerecord/lib/active_record/errors.rb#46 +# source://activerecord//lib/active_record/errors.rb#46 class ActiveRecord::AdapterNotSpecified < ::ActiveRecord::ActiveRecordError; end # AdapterTimeout will be raised when database clients times out while waiting from the server. # -# source://activerecord/lib/active_record/errors.rb#550 +# source://activerecord//lib/active_record/errors.rb#550 class ActiveRecord::AdapterTimeout < ::ActiveRecord::QueryAborted; end # See ActiveRecord::Aggregations::ClassMethods for documentation # -# source://activerecord/lib/active_record/aggregations.rb#5 +# source://activerecord//lib/active_record/aggregations.rb#5 module ActiveRecord::Aggregations - # source://activerecord/lib/active_record/aggregations.rb#11 + # source://activerecord//lib/active_record/aggregations.rb#11 def reload(*_arg0); end private - # source://activerecord/lib/active_record/aggregations.rb#17 + # source://activerecord//lib/active_record/aggregations.rb#17 def clear_aggregation_cache; end - # source://activerecord/lib/active_record/aggregations.rb#21 + # source://activerecord//lib/active_record/aggregations.rb#21 def init_internals; end - # source://activerecord/lib/active_record/aggregations.rb#6 + # source://activerecord//lib/active_record/aggregations.rb#6 def initialize_dup(*_arg0); end end @@ -487,7 +487,7 @@ end # # Customer.where(address: Address.new("May Street", "Chicago")) # -# source://activerecord/lib/active_record/aggregations.rb#183 +# source://activerecord//lib/active_record/aggregations.rb#183 module ActiveRecord::Aggregations::ClassMethods # Adds reader and writer methods for manipulating a value object: # composed_of :address adds address and address=(new_address) methods. @@ -530,92 +530,92 @@ module ActiveRecord::Aggregations::ClassMethods # constructor: Proc.new { |ip| IPAddr.new(ip, Socket::AF_INET) }, # converter: Proc.new { |ip| ip.is_a?(Integer) ? IPAddr.new(ip, Socket::AF_INET) : IPAddr.new(ip.to_s) } # - # source://activerecord/lib/active_record/aggregations.rb#225 + # source://activerecord//lib/active_record/aggregations.rb#225 def composed_of(part_id, options = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/aggregations.rb#248 + # source://activerecord//lib/active_record/aggregations.rb#248 def reader_method(name, class_name, mapping, allow_nil, constructor); end - # source://activerecord/lib/active_record/aggregations.rb#261 + # source://activerecord//lib/active_record/aggregations.rb#261 def writer_method(name, class_name, mapping, allow_nil, converter); end end -# source://activerecord/lib/active_record/associations.rb#203 +# source://activerecord//lib/active_record/associations.rb#203 class ActiveRecord::AmbiguousSourceReflectionForThroughAssociation < ::ActiveRecord::ActiveRecordError # @return [AmbiguousSourceReflectionForThroughAssociation] a new instance of AmbiguousSourceReflectionForThroughAssociation # - # source://activerecord/lib/active_record/associations.rb#204 + # source://activerecord//lib/active_record/associations.rb#204 def initialize(klass, macro, association_name, options, possible_sources); end end -# source://activerecord/lib/active_record/associations.rb#4 +# source://activerecord//lib/active_record/associations.rb#4 class ActiveRecord::AssociationNotFoundError < ::ActiveRecord::ConfigurationError include ::DidYouMean::Correctable # @return [AssociationNotFoundError] a new instance of AssociationNotFoundError # - # source://activerecord/lib/active_record/associations.rb#7 + # source://activerecord//lib/active_record/associations.rb#7 def initialize(record = T.unsafe(nil), association_name = T.unsafe(nil)); end # Returns the value of attribute association_name. # - # source://activerecord/lib/active_record/associations.rb#5 + # source://activerecord//lib/active_record/associations.rb#5 def association_name; end - # source://activerecord/lib/active_record/associations.rb#20 + # source://activerecord//lib/active_record/associations.rb#20 def corrections; end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/associations.rb#5 + # source://activerecord//lib/active_record/associations.rb#5 def record; end end -# source://activerecord/lib/active_record/association_relation.rb#4 +# source://activerecord//lib/active_record/association_relation.rb#4 class ActiveRecord::AssociationRelation < ::ActiveRecord::Relation # @return [AssociationRelation] a new instance of AssociationRelation # - # source://activerecord/lib/active_record/association_relation.rb#5 + # source://activerecord//lib/active_record/association_relation.rb#5 def initialize(klass, association, **_arg2); end - # source://activerecord/lib/active_record/association_relation.rb#14 + # source://activerecord//lib/active_record/association_relation.rb#14 def ==(other); end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert(attributes, **kwargs); end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert!(attributes, **kwargs); end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert_all(attributes, **kwargs); end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert_all!(attributes, **kwargs); end - # source://activerecord/lib/active_record/association_relation.rb#10 + # source://activerecord//lib/active_record/association_relation.rb#10 def proxy_association; end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def upsert(attributes, **kwargs); end - # source://activerecord/lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def upsert_all(attributes, **kwargs); end private - # source://activerecord/lib/active_record/association_relation.rb#35 + # source://activerecord//lib/active_record/association_relation.rb#35 def _create(attributes, &block); end - # source://activerecord/lib/active_record/association_relation.rb#39 + # source://activerecord//lib/active_record/association_relation.rb#39 def _create!(attributes, &block); end - # source://activerecord/lib/active_record/association_relation.rb#31 + # source://activerecord//lib/active_record/association_relation.rb#31 def _new(attributes, &block); end - # source://activerecord/lib/active_record/association_relation.rb#43 + # source://activerecord//lib/active_record/association_relation.rb#43 def exec_queries; end end @@ -632,12 +632,12 @@ end # # Comments are not patches, this assignment raises AssociationTypeMismatch. # @ticket.patches << Comment.new(content: "Please attach tests to your patch.") # -# source://activerecord/lib/active_record/errors.rb#37 +# source://activerecord//lib/active_record/errors.rb#37 class ActiveRecord::AssociationTypeMismatch < ::ActiveRecord::ActiveRecordError; end # See ActiveRecord::Associations::ClassMethods for documentation. # -# source://activerecord/lib/active_record/associations.rb#267 +# source://activerecord//lib/active_record/associations.rb#267 module ActiveRecord::Associations extend ::ActiveSupport::Autoload extend ::ActiveSupport::Concern @@ -646,67 +646,67 @@ module ActiveRecord::Associations # Returns the association instance for the given name, instantiating it if it doesn't already exist # - # source://activerecord/lib/active_record/associations.rb#313 + # source://activerecord//lib/active_record/associations.rb#313 def association(name); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations.rb#327 + # source://activerecord//lib/active_record/associations.rb#327 def association_cached?(name); end private # Returns the specified association instance if it exists, +nil+ otherwise. # - # source://activerecord/lib/active_record/associations.rb#343 + # source://activerecord//lib/active_record/associations.rb#343 def association_instance_get(name); end # Set the specified association instance. # - # source://activerecord/lib/active_record/associations.rb#348 + # source://activerecord//lib/active_record/associations.rb#348 def association_instance_set(name, association); end - # source://activerecord/lib/active_record/associations.rb#337 + # source://activerecord//lib/active_record/associations.rb#337 def init_internals; end - # source://activerecord/lib/active_record/associations.rb#331 + # source://activerecord//lib/active_record/associations.rb#331 def initialize_dup(*_arg0); end class << self - # source://activerecord/lib/active_record/associations.rb#306 + # source://activerecord//lib/active_record/associations.rb#306 def eager_load!; end end end # Keeps track of table aliases for ActiveRecord::Associations::JoinDependency # -# source://activerecord/lib/active_record/associations/alias_tracker.rb#8 +# source://activerecord//lib/active_record/associations/alias_tracker.rb#8 class ActiveRecord::Associations::AliasTracker # table_joins is an array of arel joins which might conflict with the aliases we assign here # # @return [AliasTracker] a new instance of AliasTracker # - # source://activerecord/lib/active_record/associations/alias_tracker.rb#49 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#49 def initialize(connection, aliases); end - # source://activerecord/lib/active_record/associations/alias_tracker.rb#54 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#54 def aliased_table_for(arel_table, table_name = T.unsafe(nil)); end # Returns the value of attribute aliases. # - # source://activerecord/lib/active_record/associations/alias_tracker.rb#76 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#76 def aliases; end private - # source://activerecord/lib/active_record/associations/alias_tracker.rb#79 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#79 def truncate(name); end class << self - # source://activerecord/lib/active_record/associations/alias_tracker.rb#9 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#9 def create(connection, initial_table, joins, aliases = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/alias_tracker.rb#26 + # source://activerecord//lib/active_record/associations/alias_tracker.rb#26 def initial_count_for(connection, name, table_joins); end end end @@ -742,40 +742,40 @@ end # owner, the collection of its posts as target, and # the reflection object represents a :has_many macro. # -# source://activerecord/lib/active_record/associations/association.rb#35 +# source://activerecord//lib/active_record/associations/association.rb#35 class ActiveRecord::Associations::Association # @return [Association] a new instance of Association # - # source://activerecord/lib/active_record/associations/association.rb#41 + # source://activerecord//lib/active_record/associations/association.rb#41 def initialize(owner, reflection); end - # source://activerecord/lib/active_record/associations/association.rb#206 + # source://activerecord//lib/active_record/associations/association.rb#206 def create(attributes = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/association.rb#210 + # source://activerecord//lib/active_record/associations/association.rb#210 def create!(attributes = T.unsafe(nil), &block); end # Returns the value of attribute disable_joins. # - # source://activerecord/lib/active_record/associations/association.rb#37 + # source://activerecord//lib/active_record/associations/association.rb#37 def disable_joins; end - # source://activerecord/lib/active_record/associations/association.rb#155 + # source://activerecord//lib/active_record/associations/association.rb#155 def extensions; end - # source://activerecord/lib/active_record/associations/association.rb#196 + # source://activerecord//lib/active_record/associations/association.rb#196 def initialize_attributes(record, except_from_scope_attributes = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/association.rb#139 + # source://activerecord//lib/active_record/associations/association.rb#139 def inversed_from(record); end - # source://activerecord/lib/active_record/associations/association.rb#143 + # source://activerecord//lib/active_record/associations/association.rb#143 def inversed_from_queries(record); end # Returns the class of the target. belongs_to polymorphic overrides this to look at the # polymorphic_type field on the owner. # - # source://activerecord/lib/active_record/associations/association.rb#151 + # source://activerecord//lib/active_record/associations/association.rb#151 def klass; end # Loads the \target if needed and returns it. @@ -789,74 +789,74 @@ class ActiveRecord::Associations::Association # ActiveRecord::RecordNotFound is rescued within the method, and it is # not reraised. The proxy is \reset and +nil+ is the return value. # - # source://activerecord/lib/active_record/associations/association.rb#175 + # source://activerecord//lib/active_record/associations/association.rb#175 def load_target; end # Asserts the \target has been loaded setting the \loaded flag to +true+. # - # source://activerecord/lib/active_record/associations/association.rb#80 + # source://activerecord//lib/active_record/associations/association.rb#80 def loaded!; end # Has the \target been already \loaded? # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#75 + # source://activerecord//lib/active_record/associations/association.rb#75 def loaded?; end # We can't dump @reflection and @through_reflection since it contains the scope proc # - # source://activerecord/lib/active_record/associations/association.rb#185 + # source://activerecord//lib/active_record/associations/association.rb#185 def marshal_dump; end - # source://activerecord/lib/active_record/associations/association.rb#190 + # source://activerecord//lib/active_record/associations/association.rb#190 def marshal_load(data); end - # source://activerecord/lib/active_record/associations/association.rb#39 + # source://activerecord//lib/active_record/associations/association.rb#39 def options(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/association.rb#36 + # source://activerecord//lib/active_record/associations/association.rb#36 def owner; end - # source://activerecord/lib/active_record/associations/association.rb#36 + # source://activerecord//lib/active_record/associations/association.rb#36 def owner=(_arg0); end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations/association.rb#37 + # source://activerecord//lib/active_record/associations/association.rb#37 def reflection; end # Reloads the \target and returns +self+ on success. # The QueryCache is cleared if +force+ is true. # - # source://activerecord/lib/active_record/associations/association.rb#66 + # source://activerecord//lib/active_record/associations/association.rb#66 def reload(force = T.unsafe(nil)); end # Remove the inverse association, if possible # - # source://activerecord/lib/active_record/associations/association.rb#133 + # source://activerecord//lib/active_record/associations/association.rb#133 def remove_inverse_instance(record); end # Resets the \loaded flag to +false+ and sets the \target to +nil+. # - # source://activerecord/lib/active_record/associations/association.rb#54 + # source://activerecord//lib/active_record/associations/association.rb#54 def reset; end - # source://activerecord/lib/active_record/associations/association.rb#60 + # source://activerecord//lib/active_record/associations/association.rb#60 def reset_negative_cache; end - # source://activerecord/lib/active_record/associations/association.rb#113 + # source://activerecord//lib/active_record/associations/association.rb#113 def reset_scope; end - # source://activerecord/lib/active_record/associations/association.rb#101 + # source://activerecord//lib/active_record/associations/association.rb#101 def scope; end # Set the inverse association, if possible # - # source://activerecord/lib/active_record/associations/association.rb#118 + # source://activerecord//lib/active_record/associations/association.rb#118 def set_inverse_instance(record); end - # source://activerecord/lib/active_record/associations/association.rb#125 + # source://activerecord//lib/active_record/associations/association.rb#125 def set_inverse_instance_from_queries(record); end # The target is stale if the target no longer points to the record(s) that the @@ -868,17 +868,17 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#91 + # source://activerecord//lib/active_record/associations/association.rb#91 def stale_target?; end # Returns the value of attribute target. # - # source://activerecord/lib/active_record/associations/association.rb#37 + # source://activerecord//lib/active_record/associations/association.rb#37 def target; end # Sets the target of this association to \target, and the \loaded flag to +true+. # - # source://activerecord/lib/active_record/associations/association.rb#96 + # source://activerecord//lib/active_record/associations/association.rb#96 def target=(target); end private @@ -890,34 +890,34 @@ class ActiveRecord::Associations::Association # by scope.scoping { ... } or unscoped { ... } etc, which affects the scope which # actually gets built. # - # source://activerecord/lib/active_record/associations/association.rb#269 + # source://activerecord//lib/active_record/associations/association.rb#269 def association_scope; end - # source://activerecord/lib/active_record/associations/association.rb#352 + # source://activerecord//lib/active_record/associations/association.rb#352 def build_record(attributes); end - # source://activerecord/lib/active_record/associations/association.rb#367 + # source://activerecord//lib/active_record/associations/association.rb#367 def enqueue_destroy_association(options); end # Reader and writer methods call this so that consistent errors are presented # when the association target class does not exist. # - # source://activerecord/lib/active_record/associations/association.rb#217 + # source://activerecord//lib/active_record/associations/association.rb#217 def ensure_klass_exists!; end - # source://activerecord/lib/active_record/associations/association.rb#221 + # source://activerecord//lib/active_record/associations/association.rb#221 def find_target; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#289 + # source://activerecord//lib/active_record/associations/association.rb#289 def find_target?; end # Returns true if record contains the foreign_key # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#339 + # source://activerecord//lib/active_record/associations/association.rb#339 def foreign_key_for?(record); end # Returns true if there is a foreign key present on the owner which @@ -931,22 +931,22 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#301 + # source://activerecord//lib/active_record/associations/association.rb#301 def foreign_key_present?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#375 + # source://activerecord//lib/active_record/associations/association.rb#375 def inversable?(record); end - # source://activerecord/lib/active_record/associations/association.rb#319 + # source://activerecord//lib/active_record/associations/association.rb#319 def inverse_association_for(record); end # Can be redefined by subclasses, notably polymorphic belongs_to # The record parameter is necessary to support polymorphic inverses as we must check for # the association in the specific class of the record. # - # source://activerecord/lib/active_record/associations/association.rb#328 + # source://activerecord//lib/active_record/associations/association.rb#328 def inverse_reflection_for(record); end # Returns true if inverse association on the given record needs to be set. @@ -954,32 +954,32 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#334 + # source://activerecord//lib/active_record/associations/association.rb#334 def invertible_for?(record); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#380 + # source://activerecord//lib/active_record/associations/association.rb#380 def matches_foreign_key?(record); end # Raises ActiveRecord::AssociationTypeMismatch unless +record+ is of # the kind of the class of the associated objects. Meant to be used as # a safety check when you are about to assign an associated record. # - # source://activerecord/lib/active_record/associations/association.rb#308 + # source://activerecord//lib/active_record/associations/association.rb#308 def raise_on_type_mismatch!(record); end - # source://activerecord/lib/active_record/associations/association.rb#285 + # source://activerecord//lib/active_record/associations/association.rb#285 def scope_for_create; end # Returns true if statement cache should be skipped on the association reader. # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#360 + # source://activerecord//lib/active_record/associations/association.rb#360 def skip_statement_cache?(scope); end - # source://activerecord/lib/active_record/associations/association.rb#245 + # source://activerecord//lib/active_record/associations/association.rb#245 def skip_strict_loading(&block); end # This should be implemented to return the values of the relevant key(s) on the owner, @@ -988,254 +988,254 @@ class ActiveRecord::Associations::Association # # This is only relevant to certain associations, which is why it returns +nil+ by default. # - # source://activerecord/lib/active_record/associations/association.rb#349 + # source://activerecord//lib/active_record/associations/association.rb#349 def stale_state; end # Can be overridden (i.e. in ThroughAssociation) to merge in other scopes (i.e. the # through association's scope) # - # source://activerecord/lib/active_record/associations/association.rb#281 + # source://activerecord//lib/active_record/associations/association.rb#281 def target_scope; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/association.rb#253 + # source://activerecord//lib/active_record/associations/association.rb#253 def violates_strict_loading?; end end -# source://activerecord/lib/active_record/associations/association_scope.rb#5 +# source://activerecord//lib/active_record/associations/association_scope.rb#5 class ActiveRecord::Associations::AssociationScope # @return [AssociationScope] a new instance of AssociationScope # - # source://activerecord/lib/active_record/associations/association_scope.rb#15 + # source://activerecord//lib/active_record/associations/association_scope.rb#15 def initialize(value_transformation); end - # source://activerecord/lib/active_record/associations/association_scope.rb#21 + # source://activerecord//lib/active_record/associations/association_scope.rb#21 def scope(association); end private - # source://activerecord/lib/active_record/associations/association_scope.rb#124 + # source://activerecord//lib/active_record/associations/association_scope.rb#124 def add_constraints(scope, owner, chain); end - # source://activerecord/lib/active_record/associations/association_scope.rb#161 + # source://activerecord//lib/active_record/associations/association_scope.rb#161 def apply_scope(scope, table, key, value); end - # source://activerecord/lib/active_record/associations/association_scope.rb#169 + # source://activerecord//lib/active_record/associations/association_scope.rb#169 def eval_scope(reflection, scope, owner); end - # source://activerecord/lib/active_record/associations/association_scope.rb#112 + # source://activerecord//lib/active_record/associations/association_scope.rb#112 def get_chain(reflection, association, tracker); end - # source://activerecord/lib/active_record/associations/association_scope.rb#54 + # source://activerecord//lib/active_record/associations/association_scope.rb#54 def join(table, constraint); end - # source://activerecord/lib/active_record/associations/association_scope.rb#58 + # source://activerecord//lib/active_record/associations/association_scope.rb#58 def last_chain_scope(scope, reflection, owner); end - # source://activerecord/lib/active_record/associations/association_scope.rb#81 + # source://activerecord//lib/active_record/associations/association_scope.rb#81 def next_chain_scope(scope, reflection, next_reflection); end - # source://activerecord/lib/active_record/associations/association_scope.rb#77 + # source://activerecord//lib/active_record/associations/association_scope.rb#77 def transform_value(value); end # Returns the value of attribute value_transformation. # - # source://activerecord/lib/active_record/associations/association_scope.rb#52 + # source://activerecord//lib/active_record/associations/association_scope.rb#52 def value_transformation; end class << self - # source://activerecord/lib/active_record/associations/association_scope.rb#10 + # source://activerecord//lib/active_record/associations/association_scope.rb#10 def create(&block); end - # source://activerecord/lib/active_record/associations/association_scope.rb#34 + # source://activerecord//lib/active_record/associations/association_scope.rb#34 def get_bind_values(owner, chain); end - # source://activerecord/lib/active_record/associations/association_scope.rb#6 + # source://activerecord//lib/active_record/associations/association_scope.rb#6 def scope(association); end end end -# source://activerecord/lib/active_record/associations/association_scope.rb#19 +# source://activerecord//lib/active_record/associations/association_scope.rb#19 ActiveRecord::Associations::AssociationScope::INSTANCE = T.let(T.unsafe(nil), ActiveRecord::Associations::AssociationScope) -# source://activerecord/lib/active_record/associations/association_scope.rb#101 +# source://activerecord//lib/active_record/associations/association_scope.rb#101 class ActiveRecord::Associations::AssociationScope::ReflectionProxy < ::SimpleDelegator # @return [ReflectionProxy] a new instance of ReflectionProxy # - # source://activerecord/lib/active_record/associations/association_scope.rb#104 + # source://activerecord//lib/active_record/associations/association_scope.rb#104 def initialize(reflection, aliased_table); end # Returns the value of attribute aliased_table. # - # source://activerecord/lib/active_record/associations/association_scope.rb#102 + # source://activerecord//lib/active_record/associations/association_scope.rb#102 def aliased_table; end - # source://activerecord/lib/active_record/associations/association_scope.rb#109 + # source://activerecord//lib/active_record/associations/association_scope.rb#109 def all_includes; end end # = Active Record Belongs To Association # -# source://activerecord/lib/active_record/associations/belongs_to_association.rb#6 +# source://activerecord//lib/active_record/associations/belongs_to_association.rb#6 class ActiveRecord::Associations::BelongsToAssociation < ::ActiveRecord::Associations::SingularAssociation - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#53 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#53 def decrement_counters; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#61 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#61 def decrement_counters_before_last_save; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#40 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#40 def default(&block); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#7 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#7 def handle_dependency; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#57 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#57 def increment_counters; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#35 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#35 def inversed_from(record); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#44 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#44 def reset; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#84 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#84 def saved_change_to_target?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#76 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#76 def target_changed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#80 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#80 def target_previously_changed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#49 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#49 def updated?; end private # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#118 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#118 def find_target?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#141 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#141 def foreign_key_present?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#145 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#145 def invertible_for?(record); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#137 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#137 def primary_key(klass); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#89 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#89 def replace(record); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#126 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#126 def replace_keys(record, force: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#122 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#122 def require_counter_update?; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#150 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#150 def stale_state; end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#103 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#103 def update_counters(by); end - # source://activerecord/lib/active_record/associations/belongs_to_association.rb#113 + # source://activerecord//lib/active_record/associations/belongs_to_association.rb#113 def update_counters_via_scope(klass, foreign_key, by); end end # = Active Record Belongs To Polymorphic Association # -# source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#6 +# source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#6 class ActiveRecord::Associations::BelongsToPolymorphicAssociation < ::ActiveRecord::Associations::BelongsToAssociation - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#7 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#7 def klass; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#20 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#20 def saved_change_to_target?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#12 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#12 def target_changed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#16 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#16 def target_previously_changed?; end private - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#35 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#35 def inverse_reflection_for(record); end - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#39 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#39 def raise_on_type_mismatch!(record); end - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#25 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#25 def replace_keys(record, force: T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb#43 + # source://activerecord//lib/active_record/associations/belongs_to_polymorphic_association.rb#43 def stale_state; end end -# source://activerecord/lib/active_record/associations.rb#280 +# source://activerecord//lib/active_record/associations.rb#280 module ActiveRecord::Associations::Builder; end -# source://activerecord/lib/active_record/associations/builder/association.rb#15 +# source://activerecord//lib/active_record/associations/builder/association.rb#15 class ActiveRecord::Associations::Builder::Association class << self - # source://activerecord/lib/active_record/associations/builder/association.rb#25 + # source://activerecord//lib/active_record/associations/builder/association.rb#25 def build(model, name, scope, options, &block); end # @raise [ArgumentError] # - # source://activerecord/lib/active_record/associations/builder/association.rb#40 + # source://activerecord//lib/active_record/associations/builder/association.rb#40 def create_reflection(model, name, scope, options, &block); end # Returns the value of attribute extensions. # - # source://activerecord/lib/active_record/associations/builder/association.rb#17 + # source://activerecord//lib/active_record/associations/builder/association.rb#17 def extensions; end # Sets the attribute extensions # # @param value the value to set the attribute extensions to. # - # source://activerecord/lib/active_record/associations/builder/association.rb#17 + # source://activerecord//lib/active_record/associations/builder/association.rb#17 def extensions=(_arg0); end private - # source://activerecord/lib/active_record/associations/builder/association.rb#144 + # source://activerecord//lib/active_record/associations/builder/association.rb#144 def add_after_commit_jobs_callback(model, dependent); end - # source://activerecord/lib/active_record/associations/builder/association.rb#139 + # source://activerecord//lib/active_record/associations/builder/association.rb#139 def add_destroy_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/association.rb#53 + # source://activerecord//lib/active_record/associations/builder/association.rb#53 def build_scope(scope); end - # source://activerecord/lib/active_record/associations/builder/association.rb#129 + # source://activerecord//lib/active_record/associations/builder/association.rb#129 def check_dependent_options(dependent, model); end # Defines the setter and getter methods for the association @@ -1245,219 +1245,219 @@ class ActiveRecord::Associations::Builder::Association # # Post.first.comments and Post.first.comments= methods are defined by this method... # - # source://activerecord/lib/active_record/associations/builder/association.rb#94 + # source://activerecord//lib/active_record/associations/builder/association.rb#94 def define_accessors(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/association.rb#76 + # source://activerecord//lib/active_record/associations/builder/association.rb#76 def define_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/association.rb#121 + # source://activerecord//lib/active_record/associations/builder/association.rb#121 def define_change_tracking_methods(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/association.rb#73 + # source://activerecord//lib/active_record/associations/builder/association.rb#73 def define_extensions(model, name); end - # source://activerecord/lib/active_record/associations/builder/association.rb#101 + # source://activerecord//lib/active_record/associations/builder/association.rb#101 def define_readers(mixin, name); end - # source://activerecord/lib/active_record/associations/builder/association.rb#117 + # source://activerecord//lib/active_record/associations/builder/association.rb#117 def define_validations(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/association.rb#109 + # source://activerecord//lib/active_record/associations/builder/association.rb#109 def define_writers(mixin, name); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/associations/builder/association.rb#61 + # source://activerecord//lib/active_record/associations/builder/association.rb#61 def macro; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/associations/builder/association.rb#125 + # source://activerecord//lib/active_record/associations/builder/association.rb#125 def valid_dependent_options; end - # source://activerecord/lib/active_record/associations/builder/association.rb#65 + # source://activerecord//lib/active_record/associations/builder/association.rb#65 def valid_options(options); end - # source://activerecord/lib/active_record/associations/builder/association.rb#69 + # source://activerecord//lib/active_record/associations/builder/association.rb#69 def validate_options(options); end end end -# source://activerecord/lib/active_record/associations/builder/association.rb#21 +# source://activerecord//lib/active_record/associations/builder/association.rb#21 ActiveRecord::Associations::Builder::Association::VALID_OPTIONS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/associations/builder/belongs_to.rb#4 +# source://activerecord//lib/active_record/associations/builder/belongs_to.rb#4 class ActiveRecord::Associations::Builder::BelongsTo < ::ActiveRecord::Associations::Builder::SingularAssociation class << self - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#43 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#43 def touch_record(o, changes, foreign_key, name, touch); end private - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#27 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#27 def add_counter_cache_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#102 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#102 def add_default_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#108 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#108 def add_destroy_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#78 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#78 def add_touch_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#20 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#20 def define_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#143 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#143 def define_change_tracking_methods(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#112 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#112 def define_validations(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#5 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#5 def macro; end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#16 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#16 def valid_dependent_options; end - # source://activerecord/lib/active_record/associations/builder/belongs_to.rb#9 + # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#9 def valid_options(options); end end end -# source://activerecord/lib/active_record/associations/builder/collection_association.rb#6 +# source://activerecord//lib/active_record/associations/builder/collection_association.rb#6 class ActiveRecord::Associations::Builder::CollectionAssociation < ::ActiveRecord::Associations::Builder::Association class << self - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#13 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#13 def define_callbacks(model, reflection); end private - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#30 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#30 def define_callback(model, callback_name, name, options); end - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#22 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#22 def define_extensions(model, name, &block); end # Defines the setter and getter methods for the collection_singular_ids. # - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#58 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#58 def define_readers(mixin, name); end - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#68 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#68 def define_writers(mixin, name); end - # source://activerecord/lib/active_record/associations/builder/collection_association.rb#9 + # source://activerecord//lib/active_record/associations/builder/collection_association.rb#9 def valid_options(options); end end end -# source://activerecord/lib/active_record/associations/builder/collection_association.rb#7 +# source://activerecord//lib/active_record/associations/builder/collection_association.rb#7 ActiveRecord::Associations::Builder::CollectionAssociation::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#4 +# source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#4 class ActiveRecord::Associations::Builder::HasAndBelongsToMany # @return [HasAndBelongsToMany] a new instance of HasAndBelongsToMany # - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#7 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#7 def initialize(association_name, lhs_model, options); end # Returns the value of attribute association_name. # - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 def association_name; end # Returns the value of attribute lhs_model. # - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 def lhs_model; end - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#59 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#59 def middle_reflection(join_model); end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#5 def options; end - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#13 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#13 def through_model; end private - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#92 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#92 def belongs_to_options(options); end - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#71 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#71 def middle_options(join_model); end - # source://activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb#80 + # source://activerecord//lib/active_record/associations/builder/has_and_belongs_to_many.rb#80 def table_name; end end -# source://activerecord/lib/active_record/associations/builder/has_many.rb#4 +# source://activerecord//lib/active_record/associations/builder/has_many.rb#4 class ActiveRecord::Associations::Builder::HasMany < ::ActiveRecord::Associations::Builder::CollectionAssociation class << self private - # source://activerecord/lib/active_record/associations/builder/has_many.rb#5 + # source://activerecord//lib/active_record/associations/builder/has_many.rb#5 def macro; end - # source://activerecord/lib/active_record/associations/builder/has_many.rb#18 + # source://activerecord//lib/active_record/associations/builder/has_many.rb#18 def valid_dependent_options; end - # source://activerecord/lib/active_record/associations/builder/has_many.rb#9 + # source://activerecord//lib/active_record/associations/builder/has_many.rb#9 def valid_options(options); end end end -# source://activerecord/lib/active_record/associations/builder/has_one.rb#4 +# source://activerecord//lib/active_record/associations/builder/has_one.rb#4 class ActiveRecord::Associations::Builder::HasOne < ::ActiveRecord::Associations::Builder::SingularAssociation class << self - # source://activerecord/lib/active_record/associations/builder/has_one.rb#38 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#38 def touch_record(record, name, touch); end private - # source://activerecord/lib/active_record/associations/builder/has_one.rb#27 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#27 def add_destroy_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#47 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#47 def add_touch_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#22 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#22 def define_callbacks(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#31 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#31 def define_validations(model, reflection); end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#5 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#5 def macro; end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#18 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#18 def valid_dependent_options; end - # source://activerecord/lib/active_record/associations/builder/has_one.rb#9 + # source://activerecord//lib/active_record/associations/builder/has_one.rb#9 def valid_options(options); end end end -# source://activerecord/lib/active_record/associations/builder/singular_association.rb#6 +# source://activerecord//lib/active_record/associations/builder/singular_association.rb#6 class ActiveRecord::Associations::Builder::SingularAssociation < ::ActiveRecord::Associations::Builder::Association class << self private - # source://activerecord/lib/active_record/associations/builder/singular_association.rb#11 + # source://activerecord//lib/active_record/associations/builder/singular_association.rb#11 def define_accessors(model, reflection); end # Defines the (build|create)_association methods for belongs_to or has_one association # - # source://activerecord/lib/active_record/associations/builder/singular_association.rb#30 + # source://activerecord//lib/active_record/associations/builder/singular_association.rb#30 def define_constructors(mixin, name); end - # source://activerecord/lib/active_record/associations/builder/singular_association.rb#7 + # source://activerecord//lib/active_record/associations/builder/singular_association.rb#7 def valid_options(options); end end end @@ -2383,7 +2383,7 @@ end # All of the association macros can be specialized through options. This makes cases # more complex than the simple and guessable ones possible. # -# source://activerecord/lib/active_record/associations.rb#1272 +# source://activerecord//lib/active_record/associations.rb#1272 module ActiveRecord::Associations::ClassMethods # Specifies a one-to-one association with another class. This method should only be used # if this class contains the foreign key. If the other class contains the foreign key, @@ -2559,7 +2559,7 @@ module ActiveRecord::Associations::ClassMethods # belongs_to :account, strict_loading: true # belong_to :note, query_constraints: [:organization_id, :note_id] # - # source://activerecord/lib/active_record/associations.rb#1892 + # source://activerecord//lib/active_record/associations.rb#1892 def belongs_to(name, scope = T.unsafe(nil), **options); end # Specifies a many-to-many relationship with another class. This associates two classes via an @@ -2739,7 +2739,7 @@ module ActiveRecord::Associations::ClassMethods # has_and_belongs_to_many :categories, -> { readonly } # has_and_belongs_to_many :categories, strict_loading: true # - # source://activerecord/lib/active_record/associations.rb#2073 + # source://activerecord//lib/active_record/associations.rb#2073 def has_and_belongs_to_many(name, scope = T.unsafe(nil), **options, &extension); end # Specifies a one-to-many association. The following methods for retrieval and query of @@ -2998,7 +2998,7 @@ module ActiveRecord::Associations::ClassMethods # has_many :comments, query_constraints: [:blog_id, :post_id] # has_many :comments, index_errors: true # - # source://activerecord/lib/active_record/associations.rb#1528 + # source://activerecord//lib/active_record/associations.rb#1528 def has_many(name, scope = T.unsafe(nil), **options, &extension); end # Specifies a one-to-one association with another class. This method should only be used @@ -3183,7 +3183,7 @@ module ActiveRecord::Associations::ClassMethods # has_one :credit_card, strict_loading: true # has_one :employment_record_book, query_constraints: [:organization_id, :employee_id] # - # source://activerecord/lib/active_record/associations.rb#1714 + # source://activerecord//lib/active_record/associations.rb#1714 def has_one(name, scope = T.unsafe(nil), **options); end end @@ -3211,18 +3211,18 @@ end # If you need to work on all current children, new and existing records, # +load_target+ and the +loaded+ flag are your friends. # -# source://activerecord/lib/active_record/associations/collection_association.rb#31 +# source://activerecord//lib/active_record/associations/collection_association.rb#31 class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associations::Association - # source://activerecord/lib/active_record/associations/collection_association.rb#277 + # source://activerecord//lib/active_record/associations/collection_association.rb#277 def add_to_target(record, skip_callbacks: T.unsafe(nil), replace: T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/collection_association.rb#115 + # source://activerecord//lib/active_record/associations/collection_association.rb#115 def build(attributes = T.unsafe(nil), &block); end # Add +records+ to this association. Since +<<+ flattens its argument list # and inserts each record, +push+ and +concat+ behave identically. # - # source://activerecord/lib/active_record/associations/collection_association.rb#125 + # source://activerecord//lib/active_record/associations/collection_association.rb#125 def concat(*records); end # Removes +records+ from this association calling +before_remove+ and @@ -3233,7 +3233,7 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # are actually removed from the database, that depends precisely on # +delete_records+. They are in any case removed from the collection. # - # source://activerecord/lib/active_record/associations/collection_association.rb#184 + # source://activerecord//lib/active_record/associations/collection_association.rb#184 def delete(*records); end # Removes all records from the association without calling callbacks @@ -3250,7 +3250,7 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # See delete for more info. # - # source://activerecord/lib/active_record/associations/collection_association.rb#148 + # source://activerecord//lib/active_record/associations/collection_association.rb#148 def delete_all(dependent = T.unsafe(nil)); end # Deletes the +records+ and removes them from this association calling @@ -3259,14 +3259,14 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # Note that this method removes records from the database ignoring the # +:dependent+ option. # - # source://activerecord/lib/active_record/associations/collection_association.rb#193 + # source://activerecord//lib/active_record/associations/collection_association.rb#193 def destroy(*records); end # Destroy all the records from this association. # # See destroy for more info. # - # source://activerecord/lib/active_record/associations/collection_association.rb#170 + # source://activerecord//lib/active_record/associations/collection_association.rb#170 def destroy_all; end # Returns true if the collection is empty. @@ -3280,55 +3280,55 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_association.rb#230 + # source://activerecord//lib/active_record/associations/collection_association.rb#230 def empty?; end - # source://activerecord/lib/active_record/associations/collection_association.rb#92 + # source://activerecord//lib/active_record/associations/collection_association.rb#92 def find(*args); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_association.rb#304 + # source://activerecord//lib/active_record/associations/collection_association.rb#304 def find_from_target?; end # Implements the ids reader method, e.g. foo.item_ids for Foo.has_many :items # - # source://activerecord/lib/active_record/associations/collection_association.rb#49 + # source://activerecord//lib/active_record/associations/collection_association.rb#49 def ids_reader; end # Implements the ids writer method, e.g. foo.item_ids= for Foo.has_many :items # - # source://activerecord/lib/active_record/associations/collection_association.rb#60 + # source://activerecord//lib/active_record/associations/collection_association.rb#60 def ids_writer(ids); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_association.rb#256 + # source://activerecord//lib/active_record/associations/collection_association.rb#256 def include?(record); end - # source://activerecord/lib/active_record/associations/collection_association.rb#268 + # source://activerecord//lib/active_record/associations/collection_association.rb#268 def load_target; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_association.rb#300 + # source://activerecord//lib/active_record/associations/collection_association.rb#300 def null_scope?; end # Implements the reader method, e.g. foo.items for Foo.has_many :items # - # source://activerecord/lib/active_record/associations/collection_association.rb#32 + # source://activerecord//lib/active_record/associations/collection_association.rb#32 def reader; end # Replace this collection with +other_array+. This will perform a diff # and delete/add only records that have changed. # - # source://activerecord/lib/active_record/associations/collection_association.rb#240 + # source://activerecord//lib/active_record/associations/collection_association.rb#240 def replace(other_array); end - # source://activerecord/lib/active_record/associations/collection_association.rb#85 + # source://activerecord//lib/active_record/associations/collection_association.rb#85 def reset; end - # source://activerecord/lib/active_record/associations/collection_association.rb#294 + # source://activerecord//lib/active_record/associations/collection_association.rb#294 def scope; end # Returns the size of the collection by executing a SELECT COUNT(*) @@ -3342,34 +3342,34 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # This method is abstract in the sense that it relies on # +count_records+, which is a method descendants have to provide. # - # source://activerecord/lib/active_record/associations/collection_association.rb#207 + # source://activerecord//lib/active_record/associations/collection_association.rb#207 def size; end - # source://activerecord/lib/active_record/associations/collection_association.rb#281 + # source://activerecord//lib/active_record/associations/collection_association.rb#281 def target=(record); end # Implements the writer method, e.g. foo.items= for Foo.has_many :items # - # source://activerecord/lib/active_record/associations/collection_association.rb#44 + # source://activerecord//lib/active_record/associations/collection_association.rb#44 def writer(records); end private - # source://activerecord/lib/active_record/associations/collection_association.rb#346 + # source://activerecord//lib/active_record/associations/collection_association.rb#346 def _create_record(attributes, raise = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/collection_association.rb#484 + # source://activerecord//lib/active_record/associations/collection_association.rb#484 def callback(method, record); end - # source://activerecord/lib/active_record/associations/collection_association.rb#490 + # source://activerecord//lib/active_record/associations/collection_association.rb#490 def callbacks_for(callback_name); end # @raise [ActiveRecord::Rollback] # - # source://activerecord/lib/active_record/associations/collection_association.rb#430 + # source://activerecord//lib/active_record/associations/collection_association.rb#430 def concat_records(records, raise = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/collection_association.rb#377 + # source://activerecord//lib/active_record/associations/collection_association.rb#377 def delete_or_destroy(records, method); end # Delete the given records from the association, @@ -3378,23 +3378,23 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/associations/collection_association.rb#406 + # source://activerecord//lib/active_record/associations/collection_association.rb#406 def delete_records(records, method); end # If the :inverse_of option has been # specified, then #find scans the entire collection. # - # source://activerecord/lib/active_record/associations/collection_association.rb#513 + # source://activerecord//lib/active_record/associations/collection_association.rb#513 def find_by_scan(*args); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_association.rb#499 + # source://activerecord//lib/active_record/associations/collection_association.rb#499 def include_in_memory?(record); end # Do the relevant stuff to insert the given record into the association collection. # - # source://activerecord/lib/active_record/associations/collection_association.rb#369 + # source://activerecord//lib/active_record/associations/collection_association.rb#369 def insert_record(record, validate = T.unsafe(nil), raise = T.unsafe(nil), &block); end # We have some records loaded from the database (persisted) and some that are @@ -3408,22 +3408,22 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # * Any changes made to attributes on objects in the memory array are to be preserved # * Otherwise, attributes should have the value found in the database # - # source://activerecord/lib/active_record/associations/collection_association.rb#327 + # source://activerecord//lib/active_record/associations/collection_association.rb#327 def merge_target_lists(persisted, memory); end - # source://activerecord/lib/active_record/associations/collection_association.rb#391 + # source://activerecord//lib/active_record/associations/collection_association.rb#391 def remove_records(existing_records, records, method); end - # source://activerecord/lib/active_record/associations/collection_association.rb#422 + # source://activerecord//lib/active_record/associations/collection_association.rb#422 def replace_common_records_in_memory(new_target, original_target); end - # source://activerecord/lib/active_record/associations/collection_association.rb#449 + # source://activerecord//lib/active_record/associations/collection_association.rb#449 def replace_on_target(record, skip_callbacks, replace:, inversing: T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/collection_association.rb#410 + # source://activerecord//lib/active_record/associations/collection_association.rb#410 def replace_records(new_target, original_target); end - # source://activerecord/lib/active_record/associations/collection_association.rb#313 + # source://activerecord//lib/active_record/associations/collection_association.rb#313 def transaction(&block); end end @@ -3454,11 +3454,11 @@ end # is computed directly through SQL and does not trigger by itself the # instantiation of the actual post records. # -# source://activerecord/lib/active_record/associations/collection_proxy.rb#31 +# source://activerecord//lib/active_record/associations/collection_proxy.rb#31 class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # @return [CollectionProxy] a new instance of CollectionProxy # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#32 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#32 def initialize(klass, association, **_arg2); end # Adds one or more +records+ to the collection by setting their foreign keys @@ -3483,7 +3483,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1036 def <<(*records); end # Equivalent to Array#==. Returns +true+ if the two arrays @@ -3514,28 +3514,28 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets == other # # => true # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#967 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#967 def ==(other); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def _select!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def and(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def and!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def annotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def annotate!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def annotate_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def annotate_values=(arg); end # Adds one or more +records+ to the collection by setting their foreign keys @@ -3560,10 +3560,10 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1040 def append(*records); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def arel(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated @@ -3591,12 +3591,12 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.size # => 5 # size of the collection # person.pets.count # => 0 # count from database # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#318 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#318 def build(attributes = T.unsafe(nil), &block); end # -- # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#724 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#724 def calculate(operation, column_name); end # Equivalent to +delete_all+. The difference is that returns +self+, instead @@ -3606,7 +3606,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # running an SQL query into the database, the +updated_at+ column of # the object is not changed. # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1053 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1053 def clear; end # Adds one or more +records+ to the collection by setting their foreign keys @@ -3631,10 +3631,10 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1041 def concat(*records); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def construct_join_dependency(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated with @@ -3664,7 +3664,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#349 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#349 def create(attributes = T.unsafe(nil), &block); end # Like #create, except that if the record is invalid, raises an exception. @@ -3680,19 +3680,19 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.create!(name: nil) # # => ActiveRecord::RecordInvalid: Validation failed: Name can't be blank # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#365 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#365 def create!(attributes = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def create_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def create_with!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def create_with_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def create_with_value=(arg); end # Deletes the +records+ supplied from the collection according to the strategy @@ -3811,7 +3811,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#620 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#620 def delete(*records); end # Deletes all the records from the collection according to the strategy @@ -3894,7 +3894,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # Pet.find(1, 2, 3) # # => ActiveRecord::RecordNotFound: Couldn't find all Pets with 'id': (1, 2, 3) # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#474 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#474 def delete_all(dependent = T.unsafe(nil)); end # Destroys the +records+ supplied and removes them from the collection. @@ -3966,7 +3966,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # Pet.find(4, 5, 6) # => ActiveRecord::RecordNotFound: Couldn't find all Pets with 'id': (4, 5, 6) # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#692 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#692 def destroy(*records); end # Deletes the records of the collection directly from the database @@ -3993,31 +3993,31 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # Pet.find(1) # => Couldn't find Pet with id=1 # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#501 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#501 def destroy_all; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def distinct(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def distinct!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def distinct_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def distinct_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def eager_load(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def eager_load!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def eager_load_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def eager_load_values=(arg); end # Returns +true+ if the collection is empty. If the collection has been @@ -4041,34 +4041,34 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#831 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#831 def empty?; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def except(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def excluding(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def excluding!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extending(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extending!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extending_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extending_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extensions(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def extract_associated(*_arg0, **_arg1, &_arg2); end # Finds an object in the collection responding to the +id+. Uses the same @@ -4098,46 +4098,46 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#138 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#138 def find(*args); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def from(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def from!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def from_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def from_clause=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def group(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def group!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def group_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def group_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def having(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def having!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def having_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def having_clause=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def in_order_of(*_arg0, **_arg1, &_arg2); end # Returns +true+ if the given +record+ is present in the collection. @@ -4153,52 +4153,52 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#927 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#927 def include?(record); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def includes(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def includes!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def includes_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def includes_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def insert(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def insert!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def insert_all!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1105 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1105 def inspect; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def invert_where(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def invert_where!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def joins!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def joins_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def joins_values=(arg); end # Returns the last record, or the last +n+ records, from the collection. @@ -4228,40 +4228,40 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # another_person_without.pets.last # => nil # another_person_without.pets.last(3) # => [] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#259 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#259 def last(limit = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def left_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def left_outer_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def left_outer_joins!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def left_outer_joins_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def left_outer_joins_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def limit(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def limit!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def limit_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def limit_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def load_async(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#44 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#44 def load_target; end # Returns +true+ if the association has been loaded, otherwise +false+. @@ -4272,7 +4272,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#53 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#56 def loaded; end # Returns +true+ if the association has been loaded, otherwise +false+. @@ -4283,25 +4283,25 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#53 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#53 def loaded?; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def lock(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def lock!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def lock_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def lock_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def merge(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def merge!(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated @@ -4329,87 +4329,87 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.size # => 5 # size of the collection # person.pets.count # => 0 # count from database # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#318 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#321 def new(attributes = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def none(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def none!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def null_relation?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def offset(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def offset!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def offset_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def offset_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def only(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def optimizer_hints(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def optimizer_hints!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def optimizer_hints_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def optimizer_hints_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def or(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def or!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def order(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def order!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def order_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def order_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#728 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#728 def pluck(*column_names); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def preload(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def preload!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def preload_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def preload_values=(arg); end # @raise [NoMethodError] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1043 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1043 def prepend(*args); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1110 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1110 def pretty_print(pp); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#931 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#931 def proxy_association; end # Adds one or more +records+ to the collection by setting their foreign keys @@ -4434,19 +4434,19 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1039 def push(*records); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def readonly(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def readonly!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def readonly_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def readonly_value=(arg); end # :method: to_ary @@ -4488,25 +4488,25 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1011 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1011 def records; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def references(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def references!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def references_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def references_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def regroup(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def regroup!(*_arg0, **_arg1, &_arg2); end # Reloads the collection from the database. Returns +self+. @@ -4524,19 +4524,19 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.reload # fetches pets from the database # # => [#] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1072 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1072 def reload; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reorder(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reorder!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reordering_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reordering_value=(arg); end # Replaces this collection with +other_array+. This will perform a diff @@ -4562,13 +4562,13 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.replace(["doo", "ggie", "gaga"]) # # => ActiveRecord::AssociationTypeMismatch: Pet expected, got String # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#391 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#391 def replace(other_array); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reselect(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reselect!(*_arg0, **_arg1, &_arg2); end # Unloads the association. Returns +self+. @@ -4588,39 +4588,39 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets # fetches pets from the database # # => [#] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1093 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1093 def reset; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1099 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1099 def reset_scope; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reverse_order(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reverse_order!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reverse_order_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def reverse_order_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def rewhere(*_arg0, **_arg1, &_arg2); end # Returns a Relation object for the records in this association # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#936 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#936 def scope; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def scoping(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def select_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def select_values=(arg); end # Returns the size of the collection. If the collection hasn't been loaded, @@ -4648,37 +4648,37 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # Because the collection is already loaded, this will behave like # # collection.size and no SQL count query is executed. # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#782 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#782 def size; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def skip_preloading!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def skip_query_cache!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def skip_query_cache_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def skip_query_cache_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def spawn(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def strict_loading(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def strict_loading!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def strict_loading_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def strict_loading_value=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def structurally_compatible?(*_arg0, **_arg1, &_arg2); end # Gives a record (or N records if a parameter is supplied) from the collection @@ -4707,114 +4707,114 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # another_person_without.pets.take # => nil # another_person_without.pets.take(2) # => [] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#289 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#289 def take(limit = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#40 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#40 def target; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def unscope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def unscope!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def unscope_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def unscope_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def upsert(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def upsert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def where(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def where!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def where_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def where_clause=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def with(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def with!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def with_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def with_values=(arg); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1124 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 def without(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1145 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1145 def exec_queries; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1141 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1141 def find_from_target?; end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1132 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1132 def find_nth_from_last(index); end - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1127 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1127 def find_nth_with_limit(index, limit); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/collection_proxy.rb#1137 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1137 def null_scope?; end end -# source://activerecord/lib/active_record/associations/disable_joins_association_scope.rb#5 +# source://activerecord//lib/active_record/associations/disable_joins_association_scope.rb#5 class ActiveRecord::Associations::DisableJoinsAssociationScope < ::ActiveRecord::Associations::AssociationScope - # source://activerecord/lib/active_record/associations/disable_joins_association_scope.rb#6 + # source://activerecord//lib/active_record/associations/disable_joins_association_scope.rb#6 def scope(association); end private - # source://activerecord/lib/active_record/associations/disable_joins_association_scope.rb#33 + # source://activerecord//lib/active_record/associations/disable_joins_association_scope.rb#33 def add_constraints(reflection, key, join_ids, owner, ordered); end - # source://activerecord/lib/active_record/associations/disable_joins_association_scope.rb#18 + # source://activerecord//lib/active_record/associations/disable_joins_association_scope.rb#18 def last_scope_chain(reverse_chain, owner); end end -# source://activerecord/lib/active_record/associations/foreign_association.rb#4 +# source://activerecord//lib/active_record/associations/foreign_association.rb#4 module ActiveRecord::Associations::ForeignAssociation # @return [Boolean] # - # source://activerecord/lib/active_record/associations/foreign_association.rb#5 + # source://activerecord//lib/active_record/associations/foreign_association.rb#5 def foreign_key_present?; end - # source://activerecord/lib/active_record/associations/foreign_association.rb#13 + # source://activerecord//lib/active_record/associations/foreign_association.rb#13 def nullified_owner_attributes; end private # Sets the owner attributes on the given record # - # source://activerecord/lib/active_record/associations/foreign_association.rb#22 + # source://activerecord//lib/active_record/associations/foreign_association.rb#22 def set_owner_attributes(record); end end @@ -4825,22 +4825,22 @@ end # If the association has a :through option further specialization # is provided by its child HasManyThroughAssociation. # -# source://activerecord/lib/active_record/associations/has_many_association.rb#11 +# source://activerecord//lib/active_record/associations/has_many_association.rb#11 class ActiveRecord::Associations::HasManyAssociation < ::ActiveRecord::Associations::CollectionAssociation include ::ActiveRecord::Associations::ForeignAssociation - # source://activerecord/lib/active_record/associations/has_many_association.rb#14 + # source://activerecord//lib/active_record/associations/has_many_association.rb#14 def handle_dependency; end - # source://activerecord/lib/active_record/associations/has_many_association.rb#61 + # source://activerecord//lib/active_record/associations/has_many_association.rb#61 def insert_record(record, validate = T.unsafe(nil), raise = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/associations/has_many_association.rb#143 + # source://activerecord//lib/active_record/associations/has_many_association.rb#143 def _create_record(attributes, *_arg1); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#139 + # source://activerecord//lib/active_record/associations/has_many_association.rb#139 def concat_records(records, *_arg1); end # Returns the number of records in this collection. @@ -4857,56 +4857,56 @@ class ActiveRecord::Associations::HasManyAssociation < ::ActiveRecord::Associati # If the collection is empty the target is set to an empty array and # the loaded flag is set to true as well. # - # source://activerecord/lib/active_record/associations/has_many_association.rb#80 + # source://activerecord//lib/active_record/associations/has_many_association.rb#80 def count_records; end - # source://activerecord/lib/active_record/associations/has_many_association.rb#112 + # source://activerecord//lib/active_record/associations/has_many_association.rb#112 def delete_count(method, scope); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#120 + # source://activerecord//lib/active_record/associations/has_many_association.rb#120 def delete_or_nullify_all_records(method); end # Deletes the records according to the :dependent option. # - # source://activerecord/lib/active_record/associations/has_many_association.rb#127 + # source://activerecord//lib/active_record/associations/has_many_association.rb#127 def delete_records(records, method); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#158 + # source://activerecord//lib/active_record/associations/has_many_association.rb#158 def difference(a, b); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#162 + # source://activerecord//lib/active_record/associations/has_many_association.rb#162 def intersection(a, b); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#98 + # source://activerecord//lib/active_record/associations/has_many_association.rb#98 def update_counter(difference, reflection = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#151 + # source://activerecord//lib/active_record/associations/has_many_association.rb#151 def update_counter_if_success(saved_successfully, difference); end - # source://activerecord/lib/active_record/associations/has_many_association.rb#104 + # source://activerecord//lib/active_record/associations/has_many_association.rb#104 def update_counter_in_memory(difference, reflection = T.unsafe(nil)); end end # = Active Record Has Many Through Association # -# source://activerecord/lib/active_record/associations/has_many_through_association.rb#6 +# source://activerecord//lib/active_record/associations/has_many_through_association.rb#6 class ActiveRecord::Associations::HasManyThroughAssociation < ::ActiveRecord::Associations::HasManyAssociation include ::ActiveRecord::Associations::ThroughAssociation # @return [HasManyThroughAssociation] a new instance of HasManyThroughAssociation # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#9 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#9 def initialize(owner, reflection); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#14 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#14 def concat(*records); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#24 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#24 def insert_record(record, validate = T.unsafe(nil), raise = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#90 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#90 def build_record(attributes); end # The through record (built with build_record) is temporarily cached @@ -4915,95 +4915,95 @@ class ActiveRecord::Associations::HasManyThroughAssociation < ::ActiveRecord::As # However, after insert_record has been called, the cache is cleared in # order to allow multiple instances of the same record in an association. # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#56 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#56 def build_through_record(record); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#37 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#37 def concat_records(records); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#130 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#130 def delete_or_nullify_all_records(method); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#134 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#134 def delete_records(records, method); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#203 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#203 def delete_through_records(records); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#171 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#171 def difference(a, b); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#187 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#187 def distribution(array); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#219 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#219 def find_target; end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#177 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#177 def intersection(a, b); end # NOTE - not sure that we can actually cope with inverses here # # @return [Boolean] # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#226 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#226 def invertible_for?(record); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#183 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#183 def mark_occurrence(distribution, record); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#110 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#110 def remove_records(existing_records, records, method); end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#81 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#81 def save_through_record(record); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#115 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#115 def target_reflection_has_associated_record?; end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#193 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#193 def through_records_for(record); end # Returns the value of attribute through_scope. # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#69 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#69 def through_scope; end - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#71 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#71 def through_scope_attributes; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/has_many_through_association.rb#119 + # source://activerecord//lib/active_record/associations/has_many_through_association.rb#119 def update_through_counter?(method); end end # = Active Record Has One Association # -# source://activerecord/lib/active_record/associations/has_one_association.rb#6 +# source://activerecord//lib/active_record/associations/has_one_association.rb#6 class ActiveRecord::Associations::HasOneAssociation < ::ActiveRecord::Associations::SingularAssociation include ::ActiveRecord::Associations::ForeignAssociation - # source://activerecord/lib/active_record/associations/has_one_association.rb#26 + # source://activerecord//lib/active_record/associations/has_one_association.rb#26 def delete(method = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations/has_one_association.rb#9 + # source://activerecord//lib/active_record/associations/has_one_association.rb#9 def handle_dependency; end private - # source://activerecord/lib/active_record/associations/has_one_association.rb#133 + # source://activerecord//lib/active_record/associations/has_one_association.rb#133 def _create_record(attributes, raise_error = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/has_one_association.rb#119 + # source://activerecord//lib/active_record/associations/has_one_association.rb#119 def nullify_owner_attributes(record); end - # source://activerecord/lib/active_record/associations/has_one_association.rb#95 + # source://activerecord//lib/active_record/associations/has_one_association.rb#95 def remove_target!(method); end - # source://activerecord/lib/active_record/associations/has_one_association.rb#59 + # source://activerecord//lib/active_record/associations/has_one_association.rb#59 def replace(record, save = T.unsafe(nil)); end # The reason that the save param for replace is false, if for create (not just build), @@ -5011,266 +5011,300 @@ class ActiveRecord::Associations::HasOneAssociation < ::ActiveRecord::Associatio # the record is instantiated, and so they are set straight away and do not need to be # updated within replace. # - # source://activerecord/lib/active_record/associations/has_one_association.rb#91 + # source://activerecord//lib/active_record/associations/has_one_association.rb#91 def set_new_record(record); end - # source://activerecord/lib/active_record/associations/has_one_association.rb#125 + # source://activerecord//lib/active_record/associations/has_one_association.rb#125 def transaction_if(value, &block); end end # = Active Record Has One Through Association # -# source://activerecord/lib/active_record/associations/has_one_through_association.rb#6 +# source://activerecord//lib/active_record/associations/has_one_through_association.rb#6 class ActiveRecord::Associations::HasOneThroughAssociation < ::ActiveRecord::Associations::HasOneAssociation include ::ActiveRecord::Associations::ThroughAssociation private - # source://activerecord/lib/active_record/associations/has_one_through_association.rb#15 + # source://activerecord//lib/active_record/associations/has_one_through_association.rb#15 def create_through_record(record, save); end - # source://activerecord/lib/active_record/associations/has_one_through_association.rb#10 + # source://activerecord//lib/active_record/associations/has_one_through_association.rb#10 def replace(record, save = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations/join_dependency.rb#5 +# source://activerecord//lib/active_record/associations/join_dependency.rb#5 class ActiveRecord::Associations::JoinDependency extend ::ActiveSupport::Autoload # @return [JoinDependency] a new instance of JoinDependency # - # source://activerecord/lib/active_record/associations/join_dependency.rb#71 + # source://activerecord//lib/active_record/associations/join_dependency.rb#71 def initialize(base, table, associations, join_type); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#153 + # source://activerecord//lib/active_record/associations/join_dependency.rb#153 def apply_column_aliases(relation); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#77 + # source://activerecord//lib/active_record/associations/join_dependency.rb#77 def base_klass; end - # source://activerecord/lib/active_record/associations/join_dependency.rb#158 + # source://activerecord//lib/active_record/associations/join_dependency.rb#158 def each(&block); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#105 + # source://activerecord//lib/active_record/associations/join_dependency.rb#105 def instantiate(result_set, strict_loading_value, &block); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#85 + # source://activerecord//lib/active_record/associations/join_dependency.rb#85 def join_constraints(joins_to_add, alias_tracker, references); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#81 + # source://activerecord//lib/active_record/associations/join_dependency.rb#81 def reflections; end protected # Returns the value of attribute join_root. # - # source://activerecord/lib/active_record/associations/join_dependency.rb#163 + # source://activerecord//lib/active_record/associations/join_dependency.rb#163 def join_root; end # Returns the value of attribute join_type. # - # source://activerecord/lib/active_record/associations/join_dependency.rb#163 + # source://activerecord//lib/active_record/associations/join_dependency.rb#163 def join_type; end private # Returns the value of attribute alias_tracker. # - # source://activerecord/lib/active_record/associations/join_dependency.rb#166 + # source://activerecord//lib/active_record/associations/join_dependency.rb#166 def alias_tracker; end - # source://activerecord/lib/active_record/associations/join_dependency.rb#168 + # source://activerecord//lib/active_record/associations/join_dependency.rb#168 def aliases; end - # source://activerecord/lib/active_record/associations/join_dependency.rb#228 + # source://activerecord//lib/active_record/associations/join_dependency.rb#228 def build(associations, base_klass); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#242 + # source://activerecord//lib/active_record/associations/join_dependency.rb#242 def construct(ar_parent, parent, row, seen, model_cache, strict_loading_value); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#278 + # source://activerecord//lib/active_record/associations/join_dependency.rb#278 def construct_model(record, node, row, model_cache, id, strict_loading_value); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#223 + # source://activerecord//lib/active_record/associations/join_dependency.rb#223 def find_reflection(klass, name); end # Returns the value of attribute join_root_alias. # - # source://activerecord/lib/active_record/associations/join_dependency.rb#166 + # source://activerecord//lib/active_record/associations/join_dependency.rb#166 def join_root_alias; end - # source://activerecord/lib/active_record/associations/join_dependency.rb#190 + # source://activerecord//lib/active_record/associations/join_dependency.rb#190 def make_constraints(parent, child, join_type); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#184 + # source://activerecord//lib/active_record/associations/join_dependency.rb#184 def make_join_constraints(join_root, join_type); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#214 + # source://activerecord//lib/active_record/associations/join_dependency.rb#214 def walk(left, right, join_type); end class << self - # source://activerecord/lib/active_record/associations/join_dependency.rb#47 + # source://activerecord//lib/active_record/associations/join_dependency.rb#47 def make_tree(associations); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#53 + # source://activerecord//lib/active_record/associations/join_dependency.rb#53 def walk_tree(associations, hash); end end end -# source://activerecord/lib/active_record/associations/join_dependency.rb#13 +# source://activerecord//lib/active_record/associations/join_dependency.rb#13 class ActiveRecord::Associations::JoinDependency::Aliases # @return [Aliases] a new instance of Aliases # - # source://activerecord/lib/active_record/associations/join_dependency.rb#14 + # source://activerecord//lib/active_record/associations/join_dependency.rb#14 def initialize(tables); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#34 + # source://activerecord//lib/active_record/associations/join_dependency.rb#34 def column_alias(node, column); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#30 + # source://activerecord//lib/active_record/associations/join_dependency.rb#30 def column_aliases(node); end - # source://activerecord/lib/active_record/associations/join_dependency.rb#26 + # source://activerecord//lib/active_record/associations/join_dependency.rb#26 def columns; end end -# source://activerecord/lib/active_record/associations/join_dependency.rb#44 +# source://activerecord//lib/active_record/associations/join_dependency.rb#44 class ActiveRecord::Associations::JoinDependency::Aliases::Column < ::Struct # Returns the value of attribute alias # # @return [Object] the current value of alias + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def alias; end # Sets the attribute alias # # @param value [Object] the value to set the attribute alias to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def alias=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def name=(_); end class << self + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def [](*_arg0); end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def inspect; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def keyword_init?; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def members; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def new(*_arg0); end end end -# source://activerecord/lib/active_record/associations/join_dependency.rb#38 +# source://activerecord//lib/active_record/associations/join_dependency.rb#38 class ActiveRecord::Associations::JoinDependency::Aliases::Table < ::Struct - # source://activerecord/lib/active_record/associations/join_dependency.rb#39 + # source://activerecord//lib/active_record/associations/join_dependency.rb#39 def column_aliases; end # Returns the value of attribute columns # # @return [Object] the current value of columns + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def columns; end # Sets the attribute columns # # @param value [Object] the value to set the attribute columns to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def columns=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def node=(_); end class << self + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def [](*_arg0); end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def inspect; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def keyword_init?; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def members; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def new(*_arg0); end end end -# source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#9 +# source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#9 class ActiveRecord::Associations::JoinDependency::JoinAssociation < ::ActiveRecord::Associations::JoinDependency::JoinPart # @return [JoinAssociation] a new instance of JoinAssociation # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#13 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#13 def initialize(reflection, children); end - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#24 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#24 def join_constraints(foreign_table, foreign_klass, join_type, alias_tracker); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#19 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#19 def match?(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#79 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#79 def readonly?; end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#10 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#10 def reflection; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#85 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#85 def strict_loading?; end # Returns the value of attribute table. # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#11 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#11 def table; end # Sets the attribute table # # @param value the value to set the attribute table to. # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#11 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#11 def table=(_arg0); end # Returns the value of attribute tables. # - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#10 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#10 def tables; end private - # source://activerecord/lib/active_record/associations/join_dependency/join_association.rb#92 + # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#92 def append_constraints(join, constraints); end end -# source://activerecord/lib/active_record/associations/join_dependency/join_base.rb#8 +# source://activerecord//lib/active_record/associations/join_dependency/join_base.rb#8 class ActiveRecord::Associations::JoinDependency::JoinBase < ::ActiveRecord::Associations::JoinDependency::JoinPart # @return [JoinBase] a new instance of JoinBase # - # source://activerecord/lib/active_record/associations/join_dependency/join_base.rb#11 + # source://activerecord//lib/active_record/associations/join_dependency/join_base.rb#11 def initialize(base_klass, table, children); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/join_dependency/join_base.rb#16 + # source://activerecord//lib/active_record/associations/join_dependency/join_base.rb#16 def match?(other); end # Returns the value of attribute table. # - # source://activerecord/lib/active_record/associations/join_dependency/join_base.rb#9 + # source://activerecord//lib/active_record/associations/join_dependency/join_base.rb#9 def table; end end @@ -5281,66 +5315,66 @@ end # operations (for example a has_and_belongs_to_many JoinAssociation would result in # two; one for the join table and one for the target table). # -# source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#12 +# source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#12 class ActiveRecord::Associations::JoinDependency::JoinPart include ::Enumerable # @return [JoinPart] a new instance of JoinPart # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#22 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#22 def initialize(base_klass, children); end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#20 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#20 def attribute_types(*_arg0, **_arg1, &_arg2); end # The Active Record class which this join part is associated 'about'; for a JoinBase # this is the actual base model, for a JoinAssociation this is the target model of the # association. # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#18 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#18 def base_klass; end # The Active Record class which this join part is associated 'about'; for a JoinBase # this is the actual base model, for a JoinAssociation this is the target model of the # association. # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#18 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#18 def children; end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#20 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#20 def column_names(*_arg0, **_arg1, &_arg2); end # @yield [_self] # @yieldparam _self [ActiveRecord::Associations::JoinDependency::JoinPart] the object that the method was called on # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#31 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#31 def each(&block); end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#36 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#36 def each_children(&block); end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#48 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#48 def extract_record(row, column_names_with_alias); end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#65 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#65 def instantiate(row, aliases, column_types = T.unsafe(nil), &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#27 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#27 def match?(other); end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#20 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#20 def primary_key(*_arg0, **_arg1, &_arg2); end # An Arel::Table for the active_record # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#44 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#44 def table; end - # source://activerecord/lib/active_record/associations/join_dependency/join_part.rb#20 + # source://activerecord//lib/active_record/associations/join_dependency/join_part.rb#20 def table_name(*_arg0, **_arg1, &_arg2); end end @@ -5384,7 +5418,7 @@ end # This could result in many rows that contain redundant data and it performs poorly at scale # and is therefore only used when necessary. # -# source://activerecord/lib/active_record/associations/preloader.rb#46 +# source://activerecord//lib/active_record/associations/preloader.rb#46 class ActiveRecord::Associations::Preloader extend ::ActiveSupport::Autoload @@ -5432,464 +5466,464 @@ class ActiveRecord::Associations::Preloader # # @return [Preloader] a new instance of Preloader # - # source://activerecord/lib/active_record/associations/preloader.rb#99 + # source://activerecord//lib/active_record/associations/preloader.rb#99 def initialize(records:, associations:, scope: T.unsafe(nil), available_records: T.unsafe(nil), associate_by_default: T.unsafe(nil)); end # Returns the value of attribute associate_by_default. # - # source://activerecord/lib/active_record/associations/preloader.rb#56 + # source://activerecord//lib/active_record/associations/preloader.rb#56 def associate_by_default; end # Returns the value of attribute associations. # - # source://activerecord/lib/active_record/associations/preloader.rb#56 + # source://activerecord//lib/active_record/associations/preloader.rb#56 def associations; end - # source://activerecord/lib/active_record/associations/preloader.rb#126 + # source://activerecord//lib/active_record/associations/preloader.rb#126 def branches; end - # source://activerecord/lib/active_record/associations/preloader.rb#120 + # source://activerecord//lib/active_record/associations/preloader.rb#120 def call; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader.rb#116 + # source://activerecord//lib/active_record/associations/preloader.rb#116 def empty?; end - # source://activerecord/lib/active_record/associations/preloader.rb#130 + # source://activerecord//lib/active_record/associations/preloader.rb#130 def loaders; end # Returns the value of attribute records. # - # source://activerecord/lib/active_record/associations/preloader.rb#56 + # source://activerecord//lib/active_record/associations/preloader.rb#56 def records; end # Returns the value of attribute scope. # - # source://activerecord/lib/active_record/associations/preloader.rb#56 + # source://activerecord//lib/active_record/associations/preloader.rb#56 def scope; end end -# source://activerecord/lib/active_record/associations/preloader/association.rb#8 +# source://activerecord//lib/active_record/associations/preloader/association.rb#8 class ActiveRecord::Associations::Preloader::Association # @return [Association] a new instance of Association # - # source://activerecord/lib/active_record/associations/preloader/association.rb#104 + # source://activerecord//lib/active_record/associations/preloader/association.rb#104 def initialize(klass, owners, reflection, preload_scope, reflection_scope, associate_by_default); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#218 + # source://activerecord//lib/active_record/associations/preloader/association.rb#218 def associate_records_from_unscoped(unscoped_records); end # The name of the key on the associated records # - # source://activerecord/lib/active_record/associations/preloader/association.rb#161 + # source://activerecord//lib/active_record/associations/preloader/association.rb#161 def association_key_name; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#119 + # source://activerecord//lib/active_record/associations/preloader/association.rb#119 def future_classes; end # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#102 + # source://activerecord//lib/active_record/associations/preloader/association.rb#102 def klass; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#197 + # source://activerecord//lib/active_record/associations/preloader/association.rb#197 def load_records(raw_records = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/association.rb#176 + # source://activerecord//lib/active_record/associations/preloader/association.rb#176 def loaded?(owner); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#165 + # source://activerecord//lib/active_record/associations/preloader/association.rb#165 def loader_query; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#169 + # source://activerecord//lib/active_record/associations/preloader/association.rb#169 def owners_by_key; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#154 + # source://activerecord//lib/active_record/associations/preloader/association.rb#154 def preloaded_records; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#148 + # source://activerecord//lib/active_record/associations/preloader/association.rb#148 def records_by_owner; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#135 + # source://activerecord//lib/active_record/associations/preloader/association.rb#135 def run; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/association.rb#131 + # source://activerecord//lib/active_record/associations/preloader/association.rb#131 def run?; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#127 + # source://activerecord//lib/active_record/associations/preloader/association.rb#127 def runnable_loaders; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#184 + # source://activerecord//lib/active_record/associations/preloader/association.rb#184 def scope; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#188 + # source://activerecord//lib/active_record/associations/preloader/association.rb#188 def set_inverse(record); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#115 + # source://activerecord//lib/active_record/associations/preloader/association.rb#115 def table_name; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#180 + # source://activerecord//lib/active_record/associations/preloader/association.rb#180 def target_for(owner); end private - # source://activerecord/lib/active_record/associations/preloader/association.rb#245 + # source://activerecord//lib/active_record/associations/preloader/association.rb#245 def associate_records_to_owner(owner, records); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#281 + # source://activerecord//lib/active_record/associations/preloader/association.rb#281 def association_key_type; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#293 + # source://activerecord//lib/active_record/associations/preloader/association.rb#293 def build_scope; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#309 + # source://activerecord//lib/active_record/associations/preloader/association.rb#309 def cascade_strict_loading(scope); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#273 + # source://activerecord//lib/active_record/associations/preloader/association.rb#273 def convert_key(key); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#265 + # source://activerecord//lib/active_record/associations/preloader/association.rb#265 def derive_key(owner, key); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/association.rb#257 + # source://activerecord//lib/active_record/associations/preloader/association.rb#257 def key_conversion_required?; end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#238 + # source://activerecord//lib/active_record/associations/preloader/association.rb#238 def model; end # The name of the key on the model which declares the association # - # source://activerecord/lib/active_record/associations/preloader/association.rb#241 + # source://activerecord//lib/active_record/associations/preloader/association.rb#241 def owner_key_name; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#285 + # source://activerecord//lib/active_record/associations/preloader/association.rb#285 def owner_key_type; end # Returns the value of attribute owners. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#238 + # source://activerecord//lib/active_record/associations/preloader/association.rb#238 def owners; end # Returns the value of attribute preload_scope. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#238 + # source://activerecord//lib/active_record/associations/preloader/association.rb#238 def preload_scope; end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#238 + # source://activerecord//lib/active_record/associations/preloader/association.rb#238 def reflection; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#289 + # source://activerecord//lib/active_record/associations/preloader/association.rb#289 def reflection_scope; end end -# source://activerecord/lib/active_record/associations/preloader/association.rb#9 +# source://activerecord//lib/active_record/associations/preloader/association.rb#9 class ActiveRecord::Associations::Preloader::Association::LoaderQuery # @return [LoaderQuery] a new instance of LoaderQuery # - # source://activerecord/lib/active_record/associations/preloader/association.rb#12 + # source://activerecord//lib/active_record/associations/preloader/association.rb#12 def initialize(scope, association_key_name); end # Returns the value of attribute association_key_name. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#10 + # source://activerecord//lib/active_record/associations/preloader/association.rb#10 def association_key_name; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/association.rb#17 + # source://activerecord//lib/active_record/associations/preloader/association.rb#17 def eql?(other); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#24 + # source://activerecord//lib/active_record/associations/preloader/association.rb#24 def hash; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#41 + # source://activerecord//lib/active_record/associations/preloader/association.rb#41 def load_records_for_keys(keys, &block); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#32 + # source://activerecord//lib/active_record/associations/preloader/association.rb#32 def load_records_in_batch(loaders); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#28 + # source://activerecord//lib/active_record/associations/preloader/association.rb#28 def records_for(loaders); end # Returns the value of attribute scope. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#10 + # source://activerecord//lib/active_record/associations/preloader/association.rb#10 def scope; end end -# source://activerecord/lib/active_record/associations/preloader/association.rb#60 +# source://activerecord//lib/active_record/associations/preloader/association.rb#60 class ActiveRecord::Associations::Preloader::Association::LoaderRecords # @return [LoaderRecords] a new instance of LoaderRecords # - # source://activerecord/lib/active_record/associations/preloader/association.rb#61 + # source://activerecord//lib/active_record/associations/preloader/association.rb#61 def initialize(loaders, loader_query); end - # source://activerecord/lib/active_record/associations/preloader/association.rb#70 + # source://activerecord//lib/active_record/associations/preloader/association.rb#70 def records; end private - # source://activerecord/lib/active_record/associations/preloader/association.rb#97 + # source://activerecord//lib/active_record/associations/preloader/association.rb#97 def already_loaded_records; end # Returns the value of attribute already_loaded_records_by_key. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#75 + # source://activerecord//lib/active_record/associations/preloader/association.rb#75 def already_loaded_records_by_key; end # Returns the value of attribute keys_to_load. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#75 + # source://activerecord//lib/active_record/associations/preloader/association.rb#75 def keys_to_load; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#91 + # source://activerecord//lib/active_record/associations/preloader/association.rb#91 def load_records; end # Returns the value of attribute loader_query. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#75 + # source://activerecord//lib/active_record/associations/preloader/association.rb#75 def loader_query; end # Returns the value of attribute loaders. # - # source://activerecord/lib/active_record/associations/preloader/association.rb#75 + # source://activerecord//lib/active_record/associations/preloader/association.rb#75 def loaders; end - # source://activerecord/lib/active_record/associations/preloader/association.rb#77 + # source://activerecord//lib/active_record/associations/preloader/association.rb#77 def populate_keys_to_load_and_already_loaded_records; end end -# source://activerecord/lib/active_record/associations/preloader/batch.rb#6 +# source://activerecord//lib/active_record/associations/preloader/batch.rb#6 class ActiveRecord::Associations::Preloader::Batch # @return [Batch] a new instance of Batch # - # source://activerecord/lib/active_record/associations/preloader/batch.rb#7 + # source://activerecord//lib/active_record/associations/preloader/batch.rb#7 def initialize(preloaders, available_records:); end - # source://activerecord/lib/active_record/associations/preloader/batch.rb#12 + # source://activerecord//lib/active_record/associations/preloader/batch.rb#12 def call; end private - # source://activerecord/lib/active_record/associations/preloader/batch.rb#40 + # source://activerecord//lib/active_record/associations/preloader/batch.rb#40 def group_and_load_similar(loaders); end # Returns the value of attribute loaders. # - # source://activerecord/lib/active_record/associations/preloader/batch.rb#38 + # source://activerecord//lib/active_record/associations/preloader/batch.rb#38 def loaders; end end -# source://activerecord/lib/active_record/associations/preloader/branch.rb#6 +# source://activerecord//lib/active_record/associations/preloader/branch.rb#6 class ActiveRecord::Associations::Preloader::Branch # @return [Branch] a new instance of Branch # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#11 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#11 def initialize(association:, children:, parent:, associate_by_default:, scope:); end # Returns the value of attribute associate_by_default. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#8 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#8 def associate_by_default; end # Returns the value of attribute association. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#7 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#7 def association; end # Returns the value of attribute children. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#7 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#7 def children; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#66 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#66 def done?; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#21 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#21 def future_classes; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#74 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#74 def grouped_records; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#25 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#25 def immediate_future_classes; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#47 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#47 def likely_reflections; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#112 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#112 def loaders; end # Returns the value of attribute parent. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#7 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#7 def parent; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#102 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#102 def polymorphic?; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#62 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#62 def preloaded_records; end # Sets the attribute preloaded_records # # @param value the value to set the attribute preloaded_records to. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#9 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#9 def preloaded_records=(_arg0); end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#85 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#85 def preloaders_for_reflection(reflection, reflection_records); end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#54 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#54 def root?; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#70 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#70 def runnable_loaders; end # Returns the value of attribute scope. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#8 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#8 def scope; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#58 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#58 def source_records; end - # source://activerecord/lib/active_record/associations/preloader/branch.rb#37 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#37 def target_classes; end private - # source://activerecord/lib/active_record/associations/preloader/branch.rb#120 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#120 def build_children(children); end # Returns a class containing the logic needed to load preload the data # and attach it to a relation. The class returned implements a `run` method # that accepts a preloader. # - # source://activerecord/lib/active_record/associations/preloader/branch.rb#137 + # source://activerecord//lib/active_record/associations/preloader/branch.rb#137 def preloader_for(reflection); end end -# source://activerecord/lib/active_record/associations/preloader/through_association.rb#6 +# source://activerecord//lib/active_record/associations/preloader/through_association.rb#6 class ActiveRecord::Associations::Preloader::ThroughAssociation < ::ActiveRecord::Associations::Preloader::Association - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#51 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#51 def future_classes; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#7 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#7 def preloaded_records; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#11 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#11 def records_by_owner; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#41 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#41 def runnable_loaders; end private # @return [Boolean] # - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#67 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#67 def data_available?; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#76 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#76 def middle_records; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#100 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#100 def preload_index; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#72 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#72 def source_preloaders; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#92 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#92 def source_records_by_owner; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#88 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#88 def source_reflection; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#80 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#80 def through_preloaders; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#96 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#96 def through_records_by_owner; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#84 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#84 def through_reflection; end - # source://activerecord/lib/active_record/associations/preloader/through_association.rb#106 + # source://activerecord//lib/active_record/associations/preloader/through_association.rb#106 def through_scope; end end -# source://activerecord/lib/active_record/associations/singular_association.rb#6 +# source://activerecord//lib/active_record/associations/singular_association.rb#6 class ActiveRecord::Associations::SingularAssociation < ::ActiveRecord::Associations::Association - # source://activerecord/lib/active_record/associations/singular_association.rb#22 + # source://activerecord//lib/active_record/associations/singular_association.rb#22 def build(attributes = T.unsafe(nil), &block); end # Implements the reload reader method, e.g. foo.reload_bar for # Foo.has_one :bar # - # source://activerecord/lib/active_record/associations/singular_association.rb#30 + # source://activerecord//lib/active_record/associations/singular_association.rb#30 def force_reload_reader; end # Implements the reader method, e.g. foo.bar for Foo.has_one :bar # - # source://activerecord/lib/active_record/associations/singular_association.rb#7 + # source://activerecord//lib/active_record/associations/singular_association.rb#7 def reader; end # Implements the writer method, e.g. foo.bar= for Foo.belongs_to :bar # - # source://activerecord/lib/active_record/associations/singular_association.rb#18 + # source://activerecord//lib/active_record/associations/singular_association.rb#18 def writer(record); end private # @raise [RecordInvalid] # - # source://activerecord/lib/active_record/associations/singular_association.rb#56 + # source://activerecord//lib/active_record/associations/singular_association.rb#56 def _create_record(attributes, raise_error = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/associations/singular_association.rb#40 + # source://activerecord//lib/active_record/associations/singular_association.rb#40 def find_target; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/associations/singular_association.rb#48 + # source://activerecord//lib/active_record/associations/singular_association.rb#48 def replace(record); end - # source://activerecord/lib/active_record/associations/singular_association.rb#36 + # source://activerecord//lib/active_record/associations/singular_association.rb#36 def scope_for_create; end - # source://activerecord/lib/active_record/associations/singular_association.rb#52 + # source://activerecord//lib/active_record/associations/singular_association.rb#52 def set_new_record(record); end end # = Active Record Through Association # -# source://activerecord/lib/active_record/associations/through_association.rb#6 +# source://activerecord//lib/active_record/associations/through_association.rb#6 module ActiveRecord::Associations::ThroughAssociation - # source://activerecord/lib/active_record/associations/through_association.rb#7 + # source://activerecord//lib/active_record/associations/through_association.rb#7 def source_reflection(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/associations/through_association.rb#116 + # source://activerecord//lib/active_record/associations/through_association.rb#116 def build_record(attributes); end # Construct attributes for :through pointing to owner and associate. This is used by the @@ -5905,24 +5939,24 @@ module ActiveRecord::Associations::ThroughAssociation # situation it is more natural for the user to just create or modify their join records # directly as required. # - # source://activerecord/lib/active_record/associations/through_association.rb#57 + # source://activerecord//lib/active_record/associations/through_association.rb#57 def construct_join_attributes(*records); end - # source://activerecord/lib/active_record/associations/through_association.rb#96 + # source://activerecord//lib/active_record/associations/through_association.rb#96 def ensure_mutable; end - # source://activerecord/lib/active_record/associations/through_association.rb#106 + # source://activerecord//lib/active_record/associations/through_association.rb#106 def ensure_not_nested; end # @return [Boolean] # - # source://activerecord/lib/active_record/associations/through_association.rb#90 + # source://activerecord//lib/active_record/associations/through_association.rb#90 def foreign_key_present?; end # Note: this does not capture all cases, for example it would be impractical # to try to properly support stale-checking for nested associations. # - # source://activerecord/lib/active_record/associations/through_association.rb#82 + # source://activerecord//lib/active_record/associations/through_association.rb#82 def stale_state; end # We merge in these scopes for two reasons: @@ -5930,92 +5964,92 @@ module ActiveRecord::Associations::ThroughAssociation # 1. To get the default_scope conditions for any of the other reflections in the chain # 2. To get the type conditions for any STI models in the chain # - # source://activerecord/lib/active_record/associations/through_association.rb#34 + # source://activerecord//lib/active_record/associations/through_association.rb#34 def target_scope; end - # source://activerecord/lib/active_record/associations/through_association.rb#26 + # source://activerecord//lib/active_record/associations/through_association.rb#26 def through_association; end - # source://activerecord/lib/active_record/associations/through_association.rb#14 + # source://activerecord//lib/active_record/associations/through_association.rb#14 def through_reflection; end - # source://activerecord/lib/active_record/associations/through_association.rb#10 + # source://activerecord//lib/active_record/associations/through_association.rb#10 def transaction(&block); end end -# source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#4 +# source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#4 class ActiveRecord::AsynchronousQueriesTracker # @return [AsynchronousQueriesTracker] a new instance of AsynchronousQueriesTracker # - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#46 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#46 def initialize; end # Returns the value of attribute current_session. # - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#44 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#44 def current_session; end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#55 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#55 def finalize_session; end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#50 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#50 def start_session; end class << self - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#39 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#39 def complete(asynchronous_queries_tracker); end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#31 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#31 def install_executor_hooks(executor = T.unsafe(nil)); end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#35 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#35 def run; end end end -# source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#5 +# source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#5 module ActiveRecord::AsynchronousQueriesTracker::NullSession class << self # @return [Boolean] # - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#7 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#7 def active?; end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#11 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#11 def finalize; end end end -# source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#16 +# source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#16 class ActiveRecord::AsynchronousQueriesTracker::Session # @return [Session] a new instance of Session # - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#17 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#17 def initialize; end # @return [Boolean] # - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#21 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#21 def active?; end - # source://activerecord/lib/active_record/asynchronous_queries_tracker.rb#25 + # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#25 def finalize; end end # AsynchronousQueryInsideTransactionError will be raised when attempting # to perform an asynchronous query from inside a transaction # -# source://activerecord/lib/active_record/errors.rb#509 +# source://activerecord//lib/active_record/errors.rb#509 class ActiveRecord::AsynchronousQueryInsideTransactionError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/attribute_assignment.rb#4 +# source://activerecord//lib/active_record/attribute_assignment.rb#4 module ActiveRecord::AttributeAssignment include ::ActiveModel::ForbiddenAttributesProtection include ::ActiveModel::AttributeAssignment private - # source://activerecord/lib/active_record/attribute_assignment.rb#8 + # source://activerecord//lib/active_record/attribute_assignment.rb#8 def _assign_attributes(attributes); end # Instantiates objects for all attribute classes that needs more than one constructor parameter. This is done @@ -6025,24 +6059,24 @@ module ActiveRecord::AttributeAssignment # parentheses to have the parameters typecasted before they're used in the constructor. Use i for Integer and # f for Float. If all the values for a given attribute are empty, the attribute will be set to +nil+. # - # source://activerecord/lib/active_record/attribute_assignment.rb#38 + # source://activerecord//lib/active_record/attribute_assignment.rb#38 def assign_multiparameter_attributes(pairs); end # Assign any deferred nested attributes after the base attributes have been set. # - # source://activerecord/lib/active_record/attribute_assignment.rb#28 + # source://activerecord//lib/active_record/attribute_assignment.rb#28 def assign_nested_parameter_attributes(pairs); end - # source://activerecord/lib/active_record/attribute_assignment.rb#44 + # source://activerecord//lib/active_record/attribute_assignment.rb#44 def execute_callstack_for_multiparameter_attributes(callstack); end - # source://activerecord/lib/active_record/attribute_assignment.rb#62 + # source://activerecord//lib/active_record/attribute_assignment.rb#62 def extract_callstack_for_multiparameter_attributes(pairs); end - # source://activerecord/lib/active_record/attribute_assignment.rb#80 + # source://activerecord//lib/active_record/attribute_assignment.rb#80 def find_parameter_position(multiparameter_name); end - # source://activerecord/lib/active_record/attribute_assignment.rb#76 + # source://activerecord//lib/active_record/attribute_assignment.rb#76 def type_cast_attribute_value(multiparameter_name, value); end end @@ -6050,27 +6084,27 @@ end # {ActiveRecord::Base#attributes=}[rdoc-ref:AttributeAssignment#attributes=] method. # The exception has an +attribute+ property that is the name of the offending attribute. # -# source://activerecord/lib/active_record/errors.rb#422 +# source://activerecord//lib/active_record/errors.rb#422 class ActiveRecord::AttributeAssignmentError < ::ActiveRecord::ActiveRecordError # @return [AttributeAssignmentError] a new instance of AttributeAssignmentError # - # source://activerecord/lib/active_record/errors.rb#425 + # source://activerecord//lib/active_record/errors.rb#425 def initialize(message = T.unsafe(nil), exception = T.unsafe(nil), attribute = T.unsafe(nil)); end # Returns the value of attribute attribute. # - # source://activerecord/lib/active_record/errors.rb#423 + # source://activerecord//lib/active_record/errors.rb#423 def attribute; end # Returns the value of attribute exception. # - # source://activerecord/lib/active_record/errors.rb#423 + # source://activerecord//lib/active_record/errors.rb#423 def exception; end end # = Active Record Attribute Methods # -# source://activerecord/lib/active_record/attribute_methods.rb#8 +# source://activerecord//lib/active_record/attribute_methods.rb#8 module ActiveRecord::AttributeMethods extend ::ActiveSupport::Concern extend ::ActiveSupport::Autoload @@ -6117,7 +6151,7 @@ module ActiveRecord::AttributeMethods # person[:organization_id] # => ActiveModel::MissingAttributeError: missing attribute 'organization_id' for Person # person[:id] # => nil # - # source://activerecord/lib/active_record/attribute_methods.rb#422 + # source://activerecord//lib/active_record/attribute_methods.rb#422 def [](attr_name); end # Updates the attribute identified by +attr_name+ using the specified @@ -6130,12 +6164,12 @@ module ActiveRecord::AttributeMethods # person[:date_of_birth] = "2004-12-12" # person[:date_of_birth] # => Date.new(2004, 12, 12) # - # source://activerecord/lib/active_record/attribute_methods.rb#435 + # source://activerecord//lib/active_record/attribute_methods.rb#435 def []=(attr_name, value); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#329 + # source://activerecord//lib/active_record/attribute_methods.rb#329 def _has_attribute?(attr_name); end # Returns the name of all database fields which have been read from this @@ -6167,7 +6201,7 @@ module ActiveRecord::AttributeMethods # end # end # - # source://activerecord/lib/active_record/attribute_methods.rb#467 + # source://activerecord//lib/active_record/attribute_methods.rb#467 def accessed_fields; end # Returns an #inspect-like string for the value of the @@ -6186,7 +6220,7 @@ module ActiveRecord::AttributeMethods # person.attribute_for_inspect(:tag_ids) # # => "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]" # - # source://activerecord/lib/active_record/attribute_methods.rb#372 + # source://activerecord//lib/active_record/attribute_methods.rb#372 def attribute_for_inspect(attr_name); end # Returns an array of names for the attributes available on this object. @@ -6198,7 +6232,7 @@ module ActiveRecord::AttributeMethods # person.attribute_names # # => ["id", "created_at", "updated_at", "name", "age"] # - # source://activerecord/lib/active_record/attribute_methods.rb#341 + # source://activerecord//lib/active_record/attribute_methods.rb#341 def attribute_names; end # Returns +true+ if the specified +attribute+ has been set by the user or by a @@ -6219,7 +6253,7 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#394 + # source://activerecord//lib/active_record/attribute_methods.rb#394 def attribute_present?(attr_name); end # Returns a hash of all the attributes with their names as keys and the values of the attributes as values. @@ -6231,7 +6265,7 @@ module ActiveRecord::AttributeMethods # person.attributes # # => {"id"=>3, "created_at"=>Sun, 21 Oct 2012 04:53:04, "updated_at"=>Sun, 21 Oct 2012 04:53:04, "name"=>"Francesco", "age"=>22} # - # source://activerecord/lib/active_record/attribute_methods.rb#353 + # source://activerecord//lib/active_record/attribute_methods.rb#353 def attributes; end # Returns +true+ if the given attribute is in the attributes hash, otherwise +false+. @@ -6248,7 +6282,7 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#323 + # source://activerecord//lib/active_record/attribute_methods.rb#323 def has_attribute?(attr_name); end # A Person object with a name attribute can ask person.respond_to?(:name), @@ -6270,48 +6304,48 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#296 + # source://activerecord//lib/active_record/attribute_methods.rb#296 def respond_to?(name, include_private = T.unsafe(nil)); end private # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#502 + # source://activerecord//lib/active_record/attribute_methods.rb#502 def attribute_method?(attr_name); end # Filters out the virtual columns and also primary keys, from the attribute names, when the primary # key is to be generated (e.g. the id attribute has no value). # - # source://activerecord/lib/active_record/attribute_methods.rb#523 + # source://activerecord//lib/active_record/attribute_methods.rb#523 def attributes_for_create(attribute_names); end # Filters the primary keys, readonly attributes and virtual columns from the attribute names. # - # source://activerecord/lib/active_record/attribute_methods.rb#512 + # source://activerecord//lib/active_record/attribute_methods.rb#512 def attributes_for_update(attribute_names); end - # source://activerecord/lib/active_record/attribute_methods.rb#507 + # source://activerecord//lib/active_record/attribute_methods.rb#507 def attributes_with_values(attribute_names); end - # source://activerecord/lib/active_record/attribute_methods.rb#531 + # source://activerecord//lib/active_record/attribute_methods.rb#531 def format_for_inspect(name, value); end - # source://activerecord/lib/active_record/attribute_methods.rb#482 + # source://activerecord//lib/active_record/attribute_methods.rb#482 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#547 + # source://activerecord//lib/active_record/attribute_methods.rb#547 def pk_attribute?(name); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#472 + # source://activerecord//lib/active_record/attribute_methods.rb#472 def respond_to_missing?(name, include_private = T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/attribute_methods.rb#31 + # source://activerecord//lib/active_record/attribute_methods.rb#31 def dangerous_attribute_methods; end end @@ -6384,7 +6418,7 @@ end # task.id_before_type_cast # => "1" # task.completed_on_before_type_cast # => "2012-10-21" # -# source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#28 +# source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#28 module ActiveRecord::AttributeMethods::BeforeTypeCast extend ::ActiveSupport::Concern @@ -6399,12 +6433,12 @@ module ActiveRecord::AttributeMethods::BeforeTypeCast # task.attributes_before_type_cast # # => {"id"=>nil, "title"=>nil, "is_done"=>true, "completed_on"=>"2012-10-21", "created_at"=>nil, "updated_at"=>nil} # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#82 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#82 def attributes_before_type_cast; end # Returns a hash of attributes for assignment to the database. # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#87 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#87 def attributes_for_database; end # Returns the value of the attribute identified by +attr_name+ before @@ -6420,7 +6454,7 @@ module ActiveRecord::AttributeMethods::BeforeTypeCast # task.read_attribute_before_type_cast('completed_on') # => "2012-10-21" # task.read_attribute_before_type_cast(:completed_on) # => "2012-10-21" # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#48 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#48 def read_attribute_before_type_cast(attr_name); end # Returns the value of the attribute identified by +attr_name+ after @@ -6434,36 +6468,36 @@ module ActiveRecord::AttributeMethods::BeforeTypeCast # book.read_attribute(:status) # => "published" # book.read_attribute_for_database(:status) # => 2 # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#65 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#65 def read_attribute_for_database(attr_name); end private # Dispatch target for *_before_type_cast attribute methods. # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#93 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#93 def attribute_before_type_cast(attr_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#101 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#101 def attribute_came_from_user?(attr_name); end - # source://activerecord/lib/active_record/attribute_methods/before_type_cast.rb#97 + # source://activerecord//lib/active_record/attribute_methods/before_type_cast.rb#97 def attribute_for_database(attr_name); end end -# source://activerecord/lib/active_record/attribute_methods.rb#42 +# source://activerecord//lib/active_record/attribute_methods.rb#42 module ActiveRecord::AttributeMethods::ClassMethods # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#265 + # source://activerecord//lib/active_record/attribute_methods.rb#265 def _has_attribute?(attr_name); end - # source://activerecord/lib/active_record/attribute_methods.rb#53 + # source://activerecord//lib/active_record/attribute_methods.rb#53 def alias_attribute(new_name, old_name); end - # source://activerecord/lib/active_record/attribute_methods.rb#93 + # source://activerecord//lib/active_record/attribute_methods.rb#93 def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end # Returns +true+ if +attribute+ is an attribute method and table exists, @@ -6478,12 +6512,12 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#229 + # source://activerecord//lib/active_record/attribute_methods.rb#229 def attribute_method?(attribute); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#144 + # source://activerecord//lib/active_record/attribute_methods.rb#144 def attribute_methods_generated?; end # Returns an array of column names as strings if it's not an abstract class and @@ -6495,7 +6529,7 @@ module ActiveRecord::AttributeMethods::ClassMethods # Person.attribute_names # # => ["id", "created_at", "updated_at", "name", "age"] # - # source://activerecord/lib/active_record/attribute_methods.rb#241 + # source://activerecord//lib/active_record/attribute_methods.rb#241 def attribute_names; end # A method name is 'dangerous' if it is already (re)defined by Active Record, but @@ -6503,7 +6537,7 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#188 + # source://activerecord//lib/active_record/attribute_methods.rb#188 def dangerous_attribute_method?(name); end # A class method is 'dangerous' if it is already (re)defined by Active Record, but @@ -6511,22 +6545,22 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#206 + # source://activerecord//lib/active_record/attribute_methods.rb#206 def dangerous_class_method?(method_name); end # Generates all the attribute related methods for columns in the database # accessors, mutators and query methods. # - # source://activerecord/lib/active_record/attribute_methods.rb#131 + # source://activerecord//lib/active_record/attribute_methods.rb#131 def define_attribute_methods; end - # source://activerecord/lib/active_record/attribute_methods.rb#63 + # source://activerecord//lib/active_record/attribute_methods.rb#63 def eagerly_generate_alias_attribute_methods(_new_name, _old_name); end - # source://activerecord/lib/active_record/attribute_methods.rb#86 + # source://activerecord//lib/active_record/attribute_methods.rb#86 def generate_alias_attribute_methods(code_generator, new_name, old_name); end - # source://activerecord/lib/active_record/attribute_methods.rb#67 + # source://activerecord//lib/active_record/attribute_methods.rb#67 def generate_alias_attributes; end # Returns true if the given attribute exists, otherwise false. @@ -6542,10 +6576,10 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#259 + # source://activerecord//lib/active_record/attribute_methods.rb#259 def has_attribute?(attr_name); end - # source://activerecord/lib/active_record/attribute_methods.rb#43 + # source://activerecord//lib/active_record/attribute_methods.rb#43 def initialize_generated_modules; end # Raises an ActiveRecord::DangerousAttributeError exception when an @@ -6565,20 +6599,20 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#170 + # source://activerecord//lib/active_record/attribute_methods.rb#170 def instance_method_already_implemented?(method_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods.rb#192 + # source://activerecord//lib/active_record/attribute_methods.rb#192 def method_defined_within?(name, klass, superklass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/attribute_methods.rb#148 + # source://activerecord//lib/active_record/attribute_methods.rb#148 def undefine_attribute_methods; end private - # source://activerecord/lib/active_record/attribute_methods.rb#270 + # source://activerecord//lib/active_record/attribute_methods.rb#270 def inherited(child_class); end end @@ -6615,7 +6649,7 @@ end # +saved_change_to_name?+ or by passing an argument to the generic method # saved_change_to_attribute?("name"). # -# source://activerecord/lib/active_record/attribute_methods/dirty.rb#39 +# source://activerecord//lib/active_record/attribute_methods/dirty.rb#39 module ActiveRecord::AttributeMethods::Dirty extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6632,7 +6666,7 @@ module ActiveRecord::AttributeMethods::Dirty # invoked as +name_before_last_save+ instead of # attribute_before_last_save("name"). # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#108 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#108 def attribute_before_last_save(attr_name); end # Returns the change to an attribute that will be persisted during the @@ -6646,7 +6680,7 @@ module ActiveRecord::AttributeMethods::Dirty # If the attribute will change, the result will be an array containing the # original value and the new value about to be saved. # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#152 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#152 def attribute_change_to_be_saved(attr_name); end # Returns the value of an attribute in the database, as opposed to the @@ -6658,7 +6692,7 @@ module ActiveRecord::AttributeMethods::Dirty # saved. It can be invoked as +name_in_database+ instead of # attribute_in_database("name"). # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#164 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#164 def attribute_in_database(attr_name); end # Returns a hash of the attributes that will change when the record is @@ -6668,31 +6702,31 @@ module ActiveRecord::AttributeMethods::Dirty # original attribute values in the database (as opposed to the in-memory # values about to be saved). # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#191 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#191 def attributes_in_database; end # Returns an array of the names of any attributes that will change when # the record is next saved. # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#181 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#181 def changed_attribute_names_to_save; end # Returns a hash containing all the changes that will be persisted during # the next save. # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#175 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#175 def changes_to_save; end # Will the next call to +save+ have any changes to persist? # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#169 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#169 def has_changes_to_save?; end # reload the record and clears changed attributes. # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#63 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#63 def reload(*_arg0); end # Returns the change to an attribute during the last save. If the @@ -6704,7 +6738,7 @@ module ActiveRecord::AttributeMethods::Dirty # invoked as +saved_change_to_name+ instead of # saved_change_to_attribute("name"). # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#98 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#98 def saved_change_to_attribute(attr_name); end # Did this attribute change when we last saved? @@ -6726,19 +6760,19 @@ module ActiveRecord::AttributeMethods::Dirty # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#86 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#86 def saved_change_to_attribute?(attr_name, **options); end # Returns a hash containing all the changes that were just saved. # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#118 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#118 def saved_changes; end # Did the last call to +save+ have any changes to change? # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#113 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#113 def saved_changes?; end # Will this attribute change the next time we save? @@ -6760,27 +6794,27 @@ module ActiveRecord::AttributeMethods::Dirty # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#138 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#138 def will_save_change_to_attribute?(attr_name, **options); end private - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#239 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#239 def _create_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#204 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#204 def _touch_row(attribute_names, time); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#233 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#233 def _update_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#249 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#249 def attribute_names_for_partial_inserts; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#245 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#245 def attribute_names_for_partial_updates; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#196 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#196 def init_internals; end module GeneratedClassMethods @@ -6810,29 +6844,29 @@ module ActiveRecord::AttributeMethods::Dirty end end -# source://activerecord/lib/active_record/attribute_methods.rb#26 +# source://activerecord//lib/active_record/attribute_methods.rb#26 class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < ::Module include ::Mutex_m - # source://mutex_m/0.3.0lib/mutex_m.rb#96 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#86 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def locked?; end - # source://mutex_m/0.3.0lib/mutex_m.rb#81 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def synchronize(&block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#91 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def try_lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#101 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def unlock; end end # = Active Record Attribute Methods Primary Key # -# source://activerecord/lib/active_record/attribute_methods/primary_key.rb#8 +# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#8 module ActiveRecord::AttributeMethods::PrimaryKey extend ::ActiveSupport::Concern @@ -6841,13 +6875,13 @@ module ActiveRecord::AttributeMethods::PrimaryKey # Returns the primary key column's value. If the primary key is composite, # returns an array of the primary key column values. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#20 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#20 def id; end # Sets the primary key column's value. If the primary key is composite, # raises TypeError when the set value not enumerable. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#34 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#34 def id=(value); end # Queries the primary key column's value. If the primary key is composite, @@ -6855,74 +6889,74 @@ module ActiveRecord::AttributeMethods::PrimaryKey # # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#45 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#45 def id?; end # Returns the primary key column's value before type cast. If the primary key is composite, # returns an array of primary key column values before type cast. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#55 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#55 def id_before_type_cast; end - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#83 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#83 def id_for_database; end # Returns the primary key column's value from the database. If the primary key is composite, # returns an array of primary key column values from database. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#75 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#75 def id_in_database; end # Returns the primary key column's previous value. If the primary key is composite, # returns an array of primary key column previous values. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#65 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#65 def id_was; end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#26 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#26 def primary_key_values_present?; end # Returns this record's primary key value wrapped in an array if one is # available. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#13 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#13 def to_key; end private # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#92 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#92 def attribute_method?(attr_name); end end -# source://activerecord/lib/active_record/attribute_methods/primary_key.rb#96 +# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#96 module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#118 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#118 def composite_primary_key?; end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#104 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#104 def dangerous_attribute_method?(method_name); end - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#136 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#136 def get_primary_key(base_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#100 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#100 def instance_method_already_implemented?(method_name); end # Defines the primary key field -- can be overridden in subclasses. # Overwriting will negate any effect of the +primary_key_prefix_type+ # setting, though. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#111 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#111 def primary_key; end # Sets the name of the primary key column. @@ -6941,60 +6975,60 @@ module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods # # Project.primary_key # => "foo_id" # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#165 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#165 def primary_key=(value); end # Returns a quoted version of the primary key name, used to construct # SQL statements. # - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#124 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#124 def quoted_primary_key; end - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#128 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#128 def reset_primary_key; end private - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#172 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#172 def derive_primary_key(value); end - # source://activerecord/lib/active_record/attribute_methods/primary_key.rb#180 + # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#180 def inherited(base); end end -# source://activerecord/lib/active_record/attribute_methods/primary_key.rb#97 +# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#97 ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::ID_ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Set) -# source://activerecord/lib/active_record/attribute_methods/primary_key.rb#98 +# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#98 ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::PRIMARY_KEY_NOT_SET = T.let(T.unsafe(nil), BasicObject) # = Active Record Attribute Methods \Query # -# source://activerecord/lib/active_record/attribute_methods/query.rb#6 +# source://activerecord//lib/active_record/attribute_methods/query.rb#6 module ActiveRecord::AttributeMethods::Query extend ::ActiveSupport::Concern - # source://activerecord/lib/active_record/attribute_methods/query.rb#19 + # source://activerecord//lib/active_record/attribute_methods/query.rb#19 def _query_attribute(attr_name); end - # source://activerecord/lib/active_record/attribute_methods/query.rb#13 + # source://activerecord//lib/active_record/attribute_methods/query.rb#13 def query_attribute(attr_name); end private - # source://activerecord/lib/active_record/attribute_methods/query.rb#13 + # source://activerecord//lib/active_record/attribute_methods/query.rb#25 def attribute?(attr_name); end - # source://activerecord/lib/active_record/attribute_methods/query.rb#29 + # source://activerecord//lib/active_record/attribute_methods/query.rb#29 def query_cast_attribute(attr_name, value); end end -# source://activerecord/lib/active_record/attribute_methods.rb#24 +# source://activerecord//lib/active_record/attribute_methods.rb#24 ActiveRecord::AttributeMethods::RESTRICTED_CLASS_METHODS = T.let(T.unsafe(nil), Array) # = Active Record Attribute Methods \Read # -# source://activerecord/lib/active_record/attribute_methods/read.rb#6 +# source://activerecord//lib/active_record/attribute_methods/read.rb#6 module ActiveRecord::AttributeMethods::Read extend ::ActiveSupport::Concern @@ -7003,7 +7037,7 @@ module ActiveRecord::AttributeMethods::Read # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the read_attribute API # - # source://activerecord/lib/active_record/attribute_methods/read.rb#50 + # source://activerecord//lib/active_record/attribute_methods/read.rb#50 def _read_attribute(attr_name, &block); end # Returns the value of the attribute identified by +attr_name+ after it @@ -7011,7 +7045,7 @@ module ActiveRecord::AttributeMethods::Read # to Date.new(2004, 12, 12). (For information about specific type # casting behavior, see the types under ActiveModel::Type.) # - # source://activerecord/lib/active_record/attribute_methods/read.rb#29 + # source://activerecord//lib/active_record/attribute_methods/read.rb#29 def read_attribute(attr_name, &block); end private @@ -7019,21 +7053,21 @@ module ActiveRecord::AttributeMethods::Read # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the read_attribute API # - # source://activerecord/lib/active_record/attribute_methods/read.rb#50 + # source://activerecord//lib/active_record/attribute_methods/read.rb#54 def attribute(attr_name, &block); end end -# source://activerecord/lib/active_record/attribute_methods/read.rb#9 +# source://activerecord//lib/active_record/attribute_methods/read.rb#9 module ActiveRecord::AttributeMethods::Read::ClassMethods private - # source://activerecord/lib/active_record/attribute_methods/read.rb#11 + # source://activerecord//lib/active_record/attribute_methods/read.rb#11 def define_method_attribute(canonical_name, owner:, as: T.unsafe(nil)); end end # = Active Record Attribute Methods \Serialization # -# source://activerecord/lib/active_record/attribute_methods/serialization.rb#6 +# source://activerecord//lib/active_record/attribute_methods/serialization.rb#6 module ActiveRecord::AttributeMethods::Serialization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7050,7 +7084,7 @@ module ActiveRecord::AttributeMethods::Serialization module GeneratedInstanceMethods; end end -# source://activerecord/lib/active_record/attribute_methods/serialization.rb#23 +# source://activerecord//lib/active_record/attribute_methods/serialization.rb#23 module ActiveRecord::AttributeMethods::Serialization::ClassMethods # If you have an attribute that needs to be saved to the database as a # serialized object, and retrieved by deserializing into the same object, @@ -7211,29 +7245,29 @@ module ActiveRecord::AttributeMethods::Serialization::ClassMethods # serialize :preferences, coder: Rot13JSON # end # - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#183 + # source://activerecord//lib/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/lib/active_record/attribute_methods/serialization.rb#228 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#228 def build_column_serializer(attr_name, coder, type, yaml = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#245 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#245 def type_incompatible_with_serialize?(cast_type, coder, type); end end -# source://activerecord/lib/active_record/attribute_methods/serialization.rb#9 +# source://activerecord//lib/active_record/attribute_methods/serialization.rb#9 class ActiveRecord::AttributeMethods::Serialization::ColumnNotSerializableError < ::StandardError # @return [ColumnNotSerializableError] a new instance of ColumnNotSerializableError # - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#10 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#10 def initialize(name, type); end end -# source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#7 +# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#7 module ActiveRecord::AttributeMethods::TimeZoneConversion extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7263,50 +7297,50 @@ module ActiveRecord::AttributeMethods::TimeZoneConversion end end -# source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#75 +# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#75 module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#76 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#76 def define_attribute(name, cast_type, **_arg2); end private # @return [Boolean] # - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#84 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#84 def create_time_zone_conversion_attribute?(name, cast_type); end end -# source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#8 +# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#8 class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#35 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#35 def ==(other); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#17 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#17 def cast(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#13 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#13 def deserialize(value); end private - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#40 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#40 def convert_time_to_time_zone(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#56 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#56 def map_avoiding_infinite_recursion(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#52 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#52 def set_time_zone_without_conversion(value); end class << self - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#9 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#9 def new(subtype); end end end # = Active Record Attribute Methods \Write # -# source://activerecord/lib/active_record/attribute_methods/write.rb#6 +# source://activerecord//lib/active_record/attribute_methods/write.rb#6 module ActiveRecord::AttributeMethods::Write extend ::ActiveSupport::Concern @@ -7315,13 +7349,13 @@ module ActiveRecord::AttributeMethods::Write # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the write_attribute API # - # source://activerecord/lib/active_record/attribute_methods/write.rb#41 + # source://activerecord//lib/active_record/attribute_methods/write.rb#41 def _write_attribute(attr_name, value); end # Updates the attribute identified by +attr_name+ using the specified # +value+. The attribute value will be type cast upon being read. # - # source://activerecord/lib/active_record/attribute_methods/write.rb#31 + # source://activerecord//lib/active_record/attribute_methods/write.rb#31 def write_attribute(attr_name, value); end private @@ -7329,21 +7363,21 @@ module ActiveRecord::AttributeMethods::Write # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the write_attribute API # - # source://activerecord/lib/active_record/attribute_methods/write.rb#41 + # source://activerecord//lib/active_record/attribute_methods/write.rb#45 def attribute=(attr_name, value); end end -# source://activerecord/lib/active_record/attribute_methods/write.rb#13 +# source://activerecord//lib/active_record/attribute_methods/write.rb#13 module ActiveRecord::AttributeMethods::Write::ClassMethods private - # source://activerecord/lib/active_record/attribute_methods/write.rb#15 + # source://activerecord//lib/active_record/attribute_methods/write.rb#15 def define_method_attribute=(canonical_name, owner:, as: T.unsafe(nil)); end end # See ActiveRecord::Attributes::ClassMethods for documentation # -# source://activerecord/lib/active_record/attributes.rb#7 +# source://activerecord//lib/active_record/attributes.rb#7 module ActiveRecord::Attributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7362,7 +7396,7 @@ end # = Active Record \Attributes # -# source://activerecord/lib/active_record/attributes.rb#14 +# source://activerecord//lib/active_record/attributes.rb#14 module ActiveRecord::Attributes::ClassMethods # Defines an attribute with a type on this model. It will override the # type of existing attributes if needed. This allows control over how @@ -7558,7 +7592,7 @@ module ActiveRecord::Attributes::ClassMethods # will be called from ActiveModel::Dirty. See the documentation for those # methods in ActiveModel::Type::Value for more details. # - # source://activerecord/lib/active_record/attributes.rb#208 + # source://activerecord//lib/active_record/attributes.rb#208 def attribute(name, cast_type = T.unsafe(nil), default: T.unsafe(nil), **options); end # This is the low level API which sits beneath +attribute+. It only @@ -7580,19 +7614,19 @@ module ActiveRecord::Attributes::ClassMethods # +user_provided_default+ Whether the default value should be cast using # +cast+ or +deserialize+. # - # source://activerecord/lib/active_record/attributes.rb#253 + # source://activerecord//lib/active_record/attributes.rb#253 def define_attribute(name, cast_type, default: T.unsafe(nil), user_provided_default: T.unsafe(nil)); end - # source://activerecord/lib/active_record/attributes.rb#263 + # source://activerecord//lib/active_record/attributes.rb#263 def load_schema!; end private - # source://activerecord/lib/active_record/attributes.rb#275 + # source://activerecord//lib/active_record/attributes.rb#275 def define_default_attribute(name, value, type, from_user:); end end -# source://activerecord/lib/active_record/attributes.rb#272 +# source://activerecord//lib/active_record/attributes.rb#272 ActiveRecord::Attributes::ClassMethods::NO_DEFAULT_PROVIDED = T.let(T.unsafe(nil), Object) # = Active Record Autosave Association @@ -7730,7 +7764,7 @@ ActiveRecord::Attributes::ClassMethods::NO_DEFAULT_PROVIDED = T.let(T.unsafe(nil # exception is if a custom validation context is used, in which case the validations # will always fire on the associated records. # -# source://activerecord/lib/active_record/autosave_association.rb#138 +# source://activerecord//lib/active_record/autosave_association.rb#138 module ActiveRecord::AutosaveAssociation extend ::ActiveSupport::Concern @@ -7741,20 +7775,20 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#271 + # source://activerecord//lib/active_record/autosave_association.rb#271 def changed_for_autosave?; end # Returns the association for the parent being destroyed. # # Used to avoid updating the counter cache unnecessarily. # - # source://activerecord/lib/active_record/autosave_association.rb#265 + # source://activerecord//lib/active_record/autosave_association.rb#265 def destroyed_by_association; end # Records the association that is being destroyed and destroying this # record in the process. # - # source://activerecord/lib/active_record/autosave_association.rb#258 + # source://activerecord//lib/active_record/autosave_association.rb#258 def destroyed_by_association=(reflection); end # Marks this record to be destroyed as part of the parent's save transaction. @@ -7763,7 +7797,7 @@ module ActiveRecord::AutosaveAssociation # # Only useful if the :autosave option on the parent is enabled for this associated model. # - # source://activerecord/lib/active_record/autosave_association.rb#245 + # source://activerecord//lib/active_record/autosave_association.rb#245 def mark_for_destruction; end # Returns whether or not this record will be destroyed as part of the parent's save transaction. @@ -7772,42 +7806,42 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#252 + # source://activerecord//lib/active_record/autosave_association.rb#252 def marked_for_destruction?; end # Reloads the attributes of the object as usual and clears marked_for_destruction flag. # - # source://activerecord/lib/active_record/autosave_association.rb#234 + # source://activerecord//lib/active_record/autosave_association.rb#234 def reload(options = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/autosave_association.rb#557 + # source://activerecord//lib/active_record/autosave_association.rb#557 def _ensure_no_duplicate_errors; end # If the record is new or it has changed, returns true. # # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#478 + # source://activerecord//lib/active_record/autosave_association.rb#478 def _record_changed?(reflection, record, key); end # Is used as an around_save callback to check while saving a collection # association whether or not the parent was a new record before saving. # - # source://activerecord/lib/active_record/autosave_association.rb#371 + # source://activerecord//lib/active_record/autosave_association.rb#371 def around_save_collection_association; end # Returns the record for an association collection that should be validated # or saved. If +autosave+ is +false+ only new records will be returned, # unless the parent is/was a new record itself. # - # source://activerecord/lib/active_record/autosave_association.rb#284 + # source://activerecord//lib/active_record/autosave_association.rb#284 def associated_records_to_validate_or_save(association, new_record, autosave); end # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#485 + # source://activerecord//lib/active_record/autosave_association.rb#485 def association_foreign_key_changed?(reflection, record, key); end # Returns whether or not the association is valid and applies any errors to @@ -7816,23 +7850,23 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#335 + # source://activerecord//lib/active_record/autosave_association.rb#335 def association_valid?(reflection, record, index = T.unsafe(nil)); end - # source://activerecord/lib/active_record/autosave_association.rb#537 + # source://activerecord//lib/active_record/autosave_association.rb#537 def compute_primary_key(reflection, record); end # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#553 + # source://activerecord//lib/active_record/autosave_association.rb#553 def custom_validation_context?; end - # source://activerecord/lib/active_record/autosave_association.rb#276 + # source://activerecord//lib/active_record/autosave_association.rb#276 def init_internals; end # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#494 + # source://activerecord//lib/active_record/autosave_association.rb#494 def inverse_polymorphic_association_changed?(reflection, record); end # Go through nested autosave associations that are loaded in memory (without loading @@ -7841,17 +7875,17 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord/lib/active_record/autosave_association.rb#297 + # source://activerecord//lib/active_record/autosave_association.rb#297 def nested_records_changed_for_autosave?; end - # source://activerecord/lib/active_record/autosave_association.rb#361 + # source://activerecord//lib/active_record/autosave_association.rb#361 def normalize_reflection_attribute(indexed_attribute, reflection, index, attribute); end # Saves the associated record if it's new or :autosave is enabled. # # In addition, it will destroy the association if it was marked for destruction. # - # source://activerecord/lib/active_record/autosave_association.rb#505 + # source://activerecord//lib/active_record/autosave_association.rb#505 def save_belongs_to_association(reflection); end # Saves any new associated records, or all loaded autosave associations if @@ -7863,7 +7897,7 @@ module ActiveRecord::AutosaveAssociation # This all happens inside a transaction, _if_ the Transactions module is included into # ActiveRecord::Base after the AutosaveAssociation module, which it does by default. # - # source://activerecord/lib/active_record/autosave_association.rb#388 + # source://activerecord//lib/active_record/autosave_association.rb#388 def save_collection_association(reflection); end # Saves the associated record if it's new or :autosave is enabled @@ -7875,35 +7909,35 @@ module ActiveRecord::AutosaveAssociation # This all happens inside a transaction, _if_ the Transactions module is included into # ActiveRecord::Base after the AutosaveAssociation module, which it does by default. # - # source://activerecord/lib/active_record/autosave_association.rb#442 + # source://activerecord//lib/active_record/autosave_association.rb#442 def save_has_one_association(reflection); end # Validate the associated records if :validate or # :autosave is turned on for the association specified by # +reflection+. # - # source://activerecord/lib/active_record/autosave_association.rb#324 + # source://activerecord//lib/active_record/autosave_association.rb#324 def validate_collection_association(reflection); end # Validate the association if :validate or :autosave is # turned on for the association. # - # source://activerecord/lib/active_record/autosave_association.rb#315 + # source://activerecord//lib/active_record/autosave_association.rb#315 def validate_single_association(reflection); end end -# source://activerecord/lib/active_record/autosave_association.rb#141 +# source://activerecord//lib/active_record/autosave_association.rb#141 module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension class << self - # source://activerecord/lib/active_record/autosave_association.rb#142 + # source://activerecord//lib/active_record/autosave_association.rb#142 def build(model, reflection); end - # source://activerecord/lib/active_record/autosave_association.rb#146 + # source://activerecord//lib/active_record/autosave_association.rb#146 def valid_options; end end end -# source://activerecord/lib/active_record/autosave_association.rb#155 +# source://activerecord//lib/active_record/autosave_association.rb#155 module ActiveRecord::AutosaveAssociation::ClassMethods private @@ -7919,13 +7953,13 @@ module ActiveRecord::AutosaveAssociation::ClassMethods # check if the save or validation methods have already been defined # before actually defining them. # - # source://activerecord/lib/active_record/autosave_association.rb#187 + # source://activerecord//lib/active_record/autosave_association.rb#187 def add_autosave_association_callbacks(reflection); end - # source://activerecord/lib/active_record/autosave_association.rb#217 + # source://activerecord//lib/active_record/autosave_association.rb#217 def define_autosave_validation_callbacks(reflection); end - # source://activerecord/lib/active_record/autosave_association.rb#157 + # source://activerecord//lib/active_record/autosave_association.rb#157 def define_non_cyclic_method(name, &block); end end @@ -8196,7 +8230,7 @@ end # So it's possible to assign a logger to the class through Base.logger= which will then be used by all # instances in the current object space. # -# source://activerecord/lib/active_record/base.rb#282 +# source://activerecord//lib/active_record/base.rb#282 class ActiveRecord::Base include ::ActionText::Encryption include ::ActiveModel::Access @@ -8324,1006 +8358,826 @@ class ActiveRecord::Base extend ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods extend ::ActionText::Attribute::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/base.rb#309 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/base.rb#309 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _before_commit_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _commit_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _create_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _destroy_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _find_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _initialize_callbacks; end - # source://activerecord/lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/base.rb#325 def _reflections; end - # source://activerecord/lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/base.rb#325 def _reflections?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _rollback_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_before_commit_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_commit_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_create_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_destroy_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_find_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_initialize_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_rollback_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_save_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_touch_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_update_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#309 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_validation_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _save_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _touch_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _update_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#309 def _validate_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _validation_callbacks; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://activerecord//lib/active_record/base.rb#309 def _validators; end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 + # source://activerecord//lib/active_record/base.rb#309 def _validators?; end - # source://activerecord/lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/base.rb#325 def aggregate_reflections; end - # source://activerecord/lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/base.rb#325 def aggregate_reflections?; end - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 + # source://activerecord//lib/active_record/base.rb#338 def attachment_reflections; end - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 + # source://activerecord//lib/active_record/base.rb#338 def attachment_reflections?; end - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def attribute_aliases; end - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def attribute_aliases?; end - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 + # source://activerecord//lib/active_record/base.rb#315 def attribute_method_patterns; end - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 + # source://activerecord//lib/active_record/base.rb#315 def attribute_method_patterns?; end - # source://activerecord/lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/base.rb#325 def automatic_scope_inversing; end - # source://activerecord/lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/base.rb#325 def automatic_scope_inversing?; end - # source://activerecord/lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/base.rb#308 def cache_timestamp_format; end - # source://activerecord/lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/base.rb#308 def cache_timestamp_format?; end - # source://activerecord/lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/base.rb#308 def cache_versioning; end - # source://activerecord/lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/base.rb#308 def cache_versioning?; end - # source://activerecord/lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/base.rb#308 def collection_cache_versioning; end - # source://activerecord/lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/base.rb#308 def collection_cache_versioning?; end - # source://activerecord/lib/active_record/model_schema.rb#178 + # source://activerecord//lib/active_record/base.rb#302 def column_for_attribute(name, &block); end - # source://activerecord/lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler; end - # source://activerecord/lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler?; end - # source://activerecord/lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role; end - # source://activerecord/lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role?; end - # source://activerecord/lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override; end - # source://activerecord/lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes; end - # source://activerecord/lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard; end - # source://activerecord/lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard?; end - # source://activerecord/lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums; end - # source://activerecord/lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums?; end - # source://activerecord/lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size; end - # source://activerecord/lib/active_record/core.rb#37 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job(&block); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes=(_arg0); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes?; end - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 + # source://activerecord//lib/active_record/base.rb#326 def include_root_in_json; end - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 + # source://activerecord//lib/active_record/base.rb#326 def include_root_in_json?; end - # source://activerecord/lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/base.rb#312 def lock_optimistically; end - # source://activerecord/lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/base.rb#312 def lock_optimistically?; end - # source://activerecord/lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger; end - # source://activerecord/lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger?; end - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 + # source://activerecord//lib/active_record/base.rb#283 def model_name(&block); end - # source://activerecord/lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/base.rb#321 def nested_attributes_options; end - # source://activerecord/lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/base.rb#321 def nested_attributes_options?; end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes; end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes=(_arg0); end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes?; end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 + # source://activerecord//lib/active_record/base.rb#307 def param_delimiter=(_arg0); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/base.rb#315 def partial_inserts; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/base.rb#315 def partial_inserts?; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/base.rb#315 def partial_updates; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/base.rb#315 def partial_updates?; end - # source://activerecord/lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names; end - # source://activerecord/lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names?; end - # source://activerecord/lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type; end - # source://activerecord/lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type?; end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps; end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps=(_arg0); end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps?; end - # source://activerecord/lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/base.rb#330 def signed_id_verifier_secret; end - # source://activerecord/lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/base.rb#330 def signed_id_verifier_secret?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#71 + # source://activerecord//lib/active_record/base.rb#315 def skip_time_zone_conversion_for_attributes; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#71 + # source://activerecord//lib/active_record/base.rb#315 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord/lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name; end - # source://activerecord/lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name?; end - # source://activerecord/lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class; end - # source://activerecord/lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class?; end - # source://activerecord/lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix; end - # source://activerecord/lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix?; end - # source://activerecord/lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix; end - # source://activerecord/lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#70 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_attributes; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#70 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_attributes?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_types; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_types?; end - # source://activerecord/lib/active_record/model_schema.rb#178 + # source://activerecord//lib/active_record/base.rb#302 def type_for_attribute(attr_name, &block); end - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://activerecord//lib/active_record/base.rb#309 def validation_context; end private - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 + # source://activerecord//lib/active_record/base.rb#309 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activerecord/lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly; end - # source://activerecord/lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly=(value); end - # source://activerecord/lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _before_commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _before_commit_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _commit_callbacks=(value); end - - # source://activerecord/lib/active_record/counter_cache.rb#9 + # source://activerecord//lib/active_record/counter_cache.rb#9 def _counter_cache_columns; end - # source://activerecord/lib/active_record/counter_cache.rb#9 + # source://activerecord//lib/active_record/counter_cache.rb#9 def _counter_cache_columns=(value); end - # source://activerecord/lib/active_record/counter_cache.rb#9 + # source://activerecord//lib/active_record/counter_cache.rb#9 def _counter_cache_columns?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _create_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _create_callbacks=(value); end - - # source://activerecord/lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job; end - # source://activerecord/lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job=(value); end - # source://activerecord/lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _destroy_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _destroy_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _find_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _find_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _initialize_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _initialize_callbacks=(value); end - - # source://activerecord/lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/reflection.rb#11 def _reflections; end - # source://activerecord/lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/reflection.rb#11 def _reflections=(value); end - # source://activerecord/lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/reflection.rb#11 def _reflections?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _rollback_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _rollback_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _save_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _save_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _touch_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _touch_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _update_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _update_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _validate_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _validate_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _validation_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _validation_callbacks=(value); end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators=(value); end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators?; end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_find(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_initialize(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_touch(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_update(*args, **options, &block); end - - # source://activerecord/lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/reflection.rb#12 def aggregate_reflections; end - # source://activerecord/lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/reflection.rb#12 def aggregate_reflections=(value); end - # source://activerecord/lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/reflection.rb#12 def aggregate_reflections?; end - # source://activerecord/lib/active_record/core.rb#105 + # source://activerecord//lib/active_record/base.rb#299 def application_record_class?; end - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_update(*args, **options, &block); end - - # source://activerecord/lib/active_record/core.rb#125 + # source://activerecord//lib/active_record/base.rb#299 def asynchronous_queries_session; end - # source://activerecord/lib/active_record/core.rb#129 + # source://activerecord//lib/active_record/base.rb#299 def asynchronous_queries_tracker; end - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 - def attachment_reflections=(value); end - - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases=(value); end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns=(value); end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/lib/active_record/attributes.rb#11 + # source://activerecord//lib/active_record/attributes.rb#11 def attributes_to_define_after_schema_loads; end - # source://activerecord/lib/active_record/attributes.rb#11 + # source://activerecord//lib/active_record/attributes.rb#11 def attributes_to_define_after_schema_loads=(value); end - # source://activerecord/lib/active_record/attributes.rb#11 + # source://activerecord//lib/active_record/attributes.rb#11 def attributes_to_define_after_schema_loads?; end - # source://activerecord/lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/reflection.rb#13 def automatic_scope_inversing; end - # source://activerecord/lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/reflection.rb#13 def automatic_scope_inversing=(value); end - # source://activerecord/lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/reflection.rb#13 def automatic_scope_inversing?; end - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_update(*args, **options, &block); end - - # source://activerecord/lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default; end - # source://activerecord/lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default=(value); end - # source://activerecord/lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default?; end - # source://activerecord/lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/integration.rb#16 def cache_timestamp_format; end - # source://activerecord/lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/integration.rb#16 def cache_timestamp_format=(value); end - # source://activerecord/lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/integration.rb#16 def cache_timestamp_format?; end - # source://activerecord/lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/integration.rb#24 def cache_versioning; end - # source://activerecord/lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/integration.rb#24 def cache_versioning=(value); end - # source://activerecord/lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/integration.rb#24 def cache_versioning?; end - # source://activerecord/lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/integration.rb#32 def collection_cache_versioning; end - # source://activerecord/lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/integration.rb#32 def collection_cache_versioning=(value); end - # source://activerecord/lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/integration.rb#32 def collection_cache_versioning?; end - # source://activerecord/lib/active_record/core.rb#77 + # source://activerecord//lib/active_record/base.rb#299 def configurations; end - # source://activerecord/lib/active_record/core.rb#71 + # source://activerecord//lib/active_record/base.rb#299 def configurations=(config); end - # source://activerecord/lib/active_record/core.rb#189 + # source://activerecord//lib/active_record/base.rb#299 def connected_to_stack; end - # source://activerecord/lib/active_record/core.rb#203 + # source://activerecord//lib/active_record/base.rb#299 def connection_class; end - # source://activerecord/lib/active_record/core.rb#199 + # source://activerecord//lib/active_record/base.rb#299 def connection_class=(b); end - # source://activerecord/lib/active_record/core.rb#207 + # source://activerecord//lib/active_record/base.rb#299 def connection_class?; end - # source://activerecord/lib/active_record/core.rb#211 + # source://activerecord//lib/active_record/base.rb#299 def connection_class_for_self; end - # source://activerecord/lib/active_record/core.rb#117 + # source://activerecord//lib/active_record/base.rb#299 def connection_handler; end - # source://activerecord/lib/active_record/core.rb#121 + # source://activerecord//lib/active_record/base.rb#299 def connection_handler=(handler); end - # source://activerecord/lib/active_record/core.rb#180 + # source://activerecord//lib/active_record/base.rb#299 def current_preventing_writes; end - # source://activerecord/lib/active_record/core.rb#143 + # source://activerecord//lib/active_record/base.rb#299 def current_role; end - # source://activerecord/lib/active_record/core.rb#161 + # source://activerecord//lib/active_record/base.rb#299 def current_shard; end - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#20 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#20 def default_column_serializer; end - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#20 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#20 def default_column_serializer=(value); end - # source://activerecord/lib/active_record/attribute_methods/serialization.rb#20 + # source://activerecord//lib/active_record/attribute_methods/serialization.rb#20 def default_column_serializer?; end - # source://activerecord/lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler; end - # source://activerecord/lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler=(value); end - # source://activerecord/lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler?; end - # source://activerecord/lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role; end - # source://activerecord/lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role=(value); end - # source://activerecord/lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role?; end - # source://activerecord/lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override; end - # source://activerecord/lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override=(value); end - # source://activerecord/lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes; end - # source://activerecord/lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes=(value); end - # source://activerecord/lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard; end - # source://activerecord/lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard=(value); end - # source://activerecord/lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard?; end - # source://activerecord/lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums; end - # source://activerecord/lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums=(value); end - # source://activerecord/lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums?; end - # source://activerecord/lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size; end - # source://activerecord/lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size=(value); end - # source://activerecord/lib/active_record/core.rb#27 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job; end - # source://activerecord/lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job=(value); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 def encrypted_attributes; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 def encrypted_attributes=(value); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 def encrypted_attributes?; end - # source://activerecord/lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements; end - # source://activerecord/lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements=(value); end - # source://activerecord/lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements?; end - # source://activerecord/lib/active_record/token_for.rb#11 + # source://activerecord//lib/active_record/token_for.rb#11 def generated_token_verifier; end - # source://activerecord/lib/active_record/token_for.rb#11 + # source://activerecord//lib/active_record/token_for.rb#11 def generated_token_verifier=(value); end - # source://activerecord/lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing; end - # source://activerecord/lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing=(value); end - # source://activerecord/lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing?; end - # source://activerecord/lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default; end - # source://activerecord/lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default=(value); end - # source://activerecord/lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default?; end - # source://activerecord/lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column; end - # source://activerecord/lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column=(value); end - # source://activerecord/lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column?; end - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json=(value); end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column; end - # source://activerecord/lib/active_record/model_schema.rb#321 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column=(value); end - # source://activerecord/lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column?; end - # source://activerecord/lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name; end - # source://activerecord/lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name=(value); end - # source://activerecord/lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name?; end - # source://activerecord/lib/active_record/store.rb#101 + # source://activerecord//lib/active_record/store.rb#101 def local_stored_attributes; end - # source://activerecord/lib/active_record/store.rb#101 + # source://activerecord//lib/active_record/store.rb#101 def local_stored_attributes=(_arg0); end - # source://activerecord/lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/locking/optimistic.rb#56 def lock_optimistically; end - # source://activerecord/lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/locking/optimistic.rb#56 def lock_optimistically=(value); end - # source://activerecord/lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/locking/optimistic.rb#56 def lock_optimistically?; end - # source://activerecord/lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger; end - # source://activerecord/lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger=(value); end - # source://activerecord/lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger?; end - # source://activerecord/lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/nested_attributes.rb#15 def nested_attributes_options; end - # source://activerecord/lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/nested_attributes.rb#15 def nested_attributes_options=(value); end - # source://activerecord/lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/nested_attributes.rb#15 def nested_attributes_options?; end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/normalization.rb#8 def normalized_attributes; end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/normalization.rb#8 def normalized_attributes=(value); end - # source://activerecord/lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/normalization.rb#8 def normalized_attributes?; end - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter; end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter=(value); end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter?; end - - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 def partial_inserts; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 def partial_inserts=(value); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 def partial_inserts?; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 def partial_updates; end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 def partial_updates=(value); end - # source://activerecord/lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 def partial_updates?; end - # source://activerecord/lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names; end - # source://activerecord/lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names=(value); end - # source://activerecord/lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names?; end - # source://activerecord/lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type; end - # source://activerecord/lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type=(value); end - # source://activerecord/lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type?; end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/timestamp.rb#47 def record_timestamps; end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/timestamp.rb#47 def record_timestamps=(value); end - # source://activerecord/lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/timestamp.rb#47 def record_timestamps?; end - # source://activerecord/lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction; end - # source://activerecord/lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - # source://activerecord/lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - # source://activerecord/lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name; end - # source://activerecord/lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name=(value); end - # source://activerecord/lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name?; end - # source://activerecord/lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector; end - # source://activerecord/lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector=(value); end - # source://activerecord/lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector?; end - # source://activerecord/lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/signed_id.rb#13 def signed_id_verifier_secret; end - # source://activerecord/lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/signed_id.rb#13 def signed_id_verifier_secret=(value); end - # source://activerecord/lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/signed_id.rb#13 def signed_id_verifier_secret?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#71 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71 def skip_time_zone_conversion_for_attributes; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#71 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71 def skip_time_zone_conversion_for_attributes=(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#71 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord/lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name; end - # source://activerecord/lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name=(value); end - # source://activerecord/lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name?; end - # source://activerecord/lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class; end - # source://activerecord/lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class=(value); end - # source://activerecord/lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class?; end - # source://activerecord/lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default; end - # source://activerecord/lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default=(value); end - # source://activerecord/lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default?; end - # source://activerecord/lib/active_record/core.rb#226 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_violation!(owner:, reflection:); end - # source://activerecord/lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix; end - # source://activerecord/lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix=(value); end - # source://activerecord/lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix?; end - # source://activerecord/lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix; end - # source://activerecord/lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix=(value); end - # source://activerecord/lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#70 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70 def time_zone_aware_attributes; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#70 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70 def time_zone_aware_attributes=(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#70 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70 def time_zone_aware_attributes?; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#72 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72 def time_zone_aware_types; end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#72 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72 def time_zone_aware_types=(value); end - # source://activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb#72 + # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72 def time_zone_aware_types?; end - # source://activerecord/lib/active_record/token_for.rb#10 + # source://activerecord//lib/active_record/token_for.rb#10 def token_definitions; end - # source://activerecord/lib/active_record/token_for.rb#10 + # source://activerecord//lib/active_record/token_for.rb#10 def token_definitions=(value); end private - # source://activerecord/lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def _inheritance_column=(value); end end end -# source://activerecord/lib/active_record/base.rb#0 +# source://activerecord//lib/active_record/base.rb#315 module ActiveRecord::Base::GeneratedAssociationMethods; end -# source://activerecord/lib/active_record/base.rb#0 +# source://activerecord//lib/active_record/base.rb#315 module ActiveRecord::Base::GeneratedAttributeMethods; end # = Active Record \Batches # -# source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#4 +# source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#4 module ActiveRecord::Batches # Looping through a collection of records from the database # (using the Scoping::Named::ClassMethods.all method, for example) @@ -9394,7 +9248,7 @@ module ActiveRecord::Batches # NOTE: By its nature, batch processing is subject to race conditions if # other processes are modifying the database. # - # source://activerecord/lib/active_record/relation/batches.rb#79 + # source://activerecord//lib/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 # Yields each batch of records that was found by the find options as @@ -9454,7 +9308,7 @@ module ActiveRecord::Batches # NOTE: By its nature, batch processing is subject to race conditions if # other processes are modifying the database. # - # source://activerecord/lib/active_record/relation/batches.rb#148 + # source://activerecord//lib/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 # Yields ActiveRecord::Relation objects to work with a batch of records. @@ -9535,51 +9389,51 @@ module ActiveRecord::Batches # NOTE: By its nature, batch processing is subject to race conditions if # other processes are modifying the database. # - # source://activerecord/lib/active_record/relation/batches.rb#239 + # source://activerecord//lib/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/lib/active_record/relation/batches.rb#325 + # source://activerecord//lib/active_record/relation/batches.rb#325 def act_on_ignored_order(error_on_ignore); end - # source://activerecord/lib/active_record/relation/batches.rb#297 + # source://activerecord//lib/active_record/relation/batches.rb#297 def apply_finish_limit(relation, finish, batch_orders); end - # source://activerecord/lib/active_record/relation/batches.rb#284 + # source://activerecord//lib/active_record/relation/batches.rb#284 def apply_limits(relation, start, finish, batch_orders); end - # source://activerecord/lib/active_record/relation/batches.rb#290 + # source://activerecord//lib/active_record/relation/batches.rb#290 def apply_start_limit(relation, start, batch_orders); end - # source://activerecord/lib/active_record/relation/batches.rb#304 + # source://activerecord//lib/active_record/relation/batches.rb#304 def batch_condition(relation, columns, values, operators); end - # source://activerecord/lib/active_record/relation/batches.rb#339 + # source://activerecord//lib/active_record/relation/batches.rb#339 def batch_on_loaded_relation(relation:, start:, finish:, order:, batch_limit:); end - # source://activerecord/lib/active_record/relation/batches.rb#364 + # source://activerecord//lib/active_record/relation/batches.rb#364 def batch_on_unloaded_relation(relation:, start:, finish:, load:, order:, use_ranges:, remaining:, batch_limit:); end - # source://activerecord/lib/active_record/relation/batches.rb#319 + # source://activerecord//lib/active_record/relation/batches.rb#319 def build_batch_orders(order); end - # source://activerecord/lib/active_record/relation/batches.rb#335 + # source://activerecord//lib/active_record/relation/batches.rb#335 def get_the_order_of_primary_key(order); end end -# source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#5 +# source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#5 class ActiveRecord::Batches::BatchEnumerator include ::Enumerable # @return [BatchEnumerator] a new instance of BatchEnumerator # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#8 + # source://activerecord//lib/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 # The size of the batches yielded by the BatchEnumerator. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#27 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#27 def batch_size; end # Deletes records in batches. Returns the total number of rows affected. @@ -9588,7 +9442,7 @@ class ActiveRecord::Batches::BatchEnumerator # # See Relation#delete_all for details of how each batch is deleted. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#65 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#65 def delete_all; end # Destroys records in batches. @@ -9597,7 +9451,7 @@ class ActiveRecord::Batches::BatchEnumerator # # See Relation#destroy_all for details of how each batch is destroyed. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#85 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#85 def destroy_all; end # Yields an ActiveRecord::Relation object for each batch of records. @@ -9606,7 +9460,7 @@ class ActiveRecord::Batches::BatchEnumerator # relation.update_all(awesome: true) # end # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#94 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#94 def each(&block); end # Looping through a collection of records from the database (using the @@ -9631,22 +9485,22 @@ class ActiveRecord::Batches::BatchEnumerator # person.award_trophy(index + 1) # end # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#52 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#52 def each_record(&block); end # The primary key value at which the BatchEnumerator ends, inclusive of the value. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#21 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#21 def finish; end # The relation from which the BatchEnumerator yields batches. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#24 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#24 def relation; end # The primary key value from which the BatchEnumerator starts, inclusive of the value. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#18 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#18 def start; end # Updates records in batches. Returns the total number of rows affected. @@ -9655,66 +9509,66 @@ class ActiveRecord::Batches::BatchEnumerator # # See Relation#update_all for details of how each batch is updated. # - # source://activerecord/lib/active_record/relation/batches/batch_enumerator.rb#74 + # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#74 def update_all(updates); end end -# source://activerecord/lib/active_record/relation/batches.rb#9 +# source://activerecord//lib/active_record/relation/batches.rb#9 ActiveRecord::Batches::DEFAULT_ORDER = T.let(T.unsafe(nil), Symbol) -# source://activerecord/lib/active_record/relation/batches.rb#8 +# source://activerecord//lib/active_record/relation/batches.rb#8 ActiveRecord::Batches::ORDER_IGNORE_MESSAGE = T.let(T.unsafe(nil), String) # = Active Record \Calculations # -# source://activerecord/lib/active_record/relation/calculations.rb#7 +# source://activerecord//lib/active_record/relation/calculations.rb#7 module ActiveRecord::Calculations # Same as #average, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#122 + # source://activerecord//lib/active_record/relation/calculations.rb#122 def async_average(column_name); end # Same as #count, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#108 + # source://activerecord//lib/active_record/relation/calculations.rb#108 def async_count(column_name = T.unsafe(nil)); end # Same as #ids, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#397 + # source://activerecord//lib/active_record/relation/calculations.rb#397 def async_ids; end # Same as #maximum, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#152 + # source://activerecord//lib/active_record/relation/calculations.rb#152 def async_maximum(column_name); end # Same as #minimum, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#137 + # source://activerecord//lib/active_record/relation/calculations.rb#137 def async_minimum(column_name); end # Same as #pick, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#353 + # source://activerecord//lib/active_record/relation/calculations.rb#353 def async_pick(*column_names); end # Same as #pluck, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#324 + # source://activerecord//lib/active_record/relation/calculations.rb#324 def async_pluck(*column_names); end # Same as #sum, but performs the query asynchronously and returns an # ActiveRecord::Promise. # - # source://activerecord/lib/active_record/relation/calculations.rb#182 + # source://activerecord//lib/active_record/relation/calculations.rb#182 def async_sum(identity_or_column = T.unsafe(nil)); end # Calculates the average value on a given column. Returns +nil+ if there's @@ -9722,7 +9576,7 @@ module ActiveRecord::Calculations # # Person.average(:age) # => 35.8 # - # source://activerecord/lib/active_record/relation/calculations.rb#116 + # source://activerecord//lib/active_record/relation/calculations.rb#116 def average(column_name); end # This calculates aggregate values in the given column. Methods for #count, #sum, #average, @@ -9757,7 +9611,7 @@ module ActiveRecord::Calculations # ... # end # - # source://activerecord/lib/active_record/relation/calculations.rb#217 + # source://activerecord//lib/active_record/relation/calculations.rb#217 def calculate(operation, column_name); end # Count the records. @@ -9806,7 +9660,7 @@ module ActiveRecord::Calculations # Note: If there are a lot of records in the relation, loading all records # could result in performance issues. # - # source://activerecord/lib/active_record/relation/calculations.rb#94 + # source://activerecord//lib/active_record/relation/calculations.rb#94 def count(column_name = T.unsafe(nil)); end # Returns the base model's ID's for the relation using the table's primary key @@ -9814,7 +9668,7 @@ module ActiveRecord::Calculations # Person.ids # SELECT people.id FROM people # Person.joins(:companies).ids # SELECT people.id FROM people INNER JOIN companies ON companies.id = people.company_id # - # source://activerecord/lib/active_record/relation/calculations.rb#361 + # source://activerecord//lib/active_record/relation/calculations.rb#361 def ids; end # Calculates the maximum value on a given column. The value is returned @@ -9823,7 +9677,7 @@ module ActiveRecord::Calculations # # Person.maximum(:age) # => 93 # - # source://activerecord/lib/active_record/relation/calculations.rb#146 + # source://activerecord//lib/active_record/relation/calculations.rb#146 def maximum(column_name); end # Calculates the minimum value on a given column. The value is returned @@ -9832,7 +9686,7 @@ module ActiveRecord::Calculations # # Person.minimum(:age) # => 7 # - # source://activerecord/lib/active_record/relation/calculations.rb#131 + # source://activerecord//lib/active_record/relation/calculations.rb#131 def minimum(column_name); end # Pick the value(s) from the named column(s) in the current relation. @@ -9850,7 +9704,7 @@ module ActiveRecord::Calculations # # SELECT people.name, people.email_address FROM people WHERE id = 1 LIMIT 1 # # => [ 'David', 'david@loudthinking.com' ] # - # source://activerecord/lib/active_record/relation/calculations.rb#342 + # source://activerecord//lib/active_record/relation/calculations.rb#342 def pick(*column_names); end # Use #pluck as a shortcut to select one or more attributes without @@ -9888,7 +9742,7 @@ module ActiveRecord::Calculations # # See also #ids. # - # source://activerecord/lib/active_record/relation/calculations.rb#283 + # source://activerecord//lib/active_record/relation/calculations.rb#283 def pluck(*column_names); end # Calculates the sum of values on a given column. The value is returned @@ -9908,68 +9762,68 @@ module ActiveRecord::Calculations # Note: If there are a lot of records in the relation, loading all records # could result in performance issues. # - # source://activerecord/lib/active_record/relation/calculations.rb#172 + # source://activerecord//lib/active_record/relation/calculations.rb#172 def sum(initial_value_or_column = T.unsafe(nil), &block); end private - # source://activerecord/lib/active_record/relation/calculations.rb#441 + # source://activerecord//lib/active_record/relation/calculations.rb#441 def aggregate_column(column_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/calculations.rb#402 + # source://activerecord//lib/active_record/relation/calculations.rb#402 def all_attributes?(column_names); end - # source://activerecord/lib/active_record/relation/calculations.rb#626 + # source://activerecord//lib/active_record/relation/calculations.rb#626 def build_count_subquery(relation, column_name, distinct); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/calculations.rb#437 + # source://activerecord//lib/active_record/relation/calculations.rb#437 def distinct_select?(column_name); end - # source://activerecord/lib/active_record/relation/calculations.rb#492 + # source://activerecord//lib/active_record/relation/calculations.rb#492 def execute_grouped_calculation(operation, column_name, distinct); end - # source://activerecord/lib/active_record/relation/calculations.rb#453 + # source://activerecord//lib/active_record/relation/calculations.rb#453 def execute_simple_calculation(operation, column_name, distinct); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/calculations.rb#406 + # source://activerecord//lib/active_record/relation/calculations.rb#406 def has_include?(column_name); end - # source://activerecord/lib/active_record/relation/calculations.rb#574 + # source://activerecord//lib/active_record/relation/calculations.rb#574 def lookup_cast_type_from_join_dependencies(name, join_dependencies = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/calculations.rb#449 + # source://activerecord//lib/active_record/relation/calculations.rb#449 def operation_over_aggregate_column(column, operation, distinct); end - # source://activerecord/lib/active_record/relation/calculations.rb#410 + # source://activerecord//lib/active_record/relation/calculations.rb#410 def perform_calculation(operation, column_name); end - # source://activerecord/lib/active_record/relation/calculations.rb#617 + # source://activerecord//lib/active_record/relation/calculations.rb#617 def select_for_count; end - # source://activerecord/lib/active_record/relation/calculations.rb#599 + # source://activerecord//lib/active_record/relation/calculations.rb#599 def type_cast_calculated_value(value, operation, type); end - # source://activerecord/lib/active_record/relation/calculations.rb#582 + # source://activerecord//lib/active_record/relation/calculations.rb#582 def type_cast_pluck_values(result, columns); end - # source://activerecord/lib/active_record/relation/calculations.rb#569 + # source://activerecord//lib/active_record/relation/calculations.rb#569 def type_for(field, &block); end end -# source://activerecord/lib/active_record/relation/calculations.rb#8 +# source://activerecord//lib/active_record/relation/calculations.rb#8 class ActiveRecord::Calculations::ColumnAliasTracker # @return [ColumnAliasTracker] a new instance of ColumnAliasTracker # - # source://activerecord/lib/active_record/relation/calculations.rb#9 + # source://activerecord//lib/active_record/relation/calculations.rb#9 def initialize(connection); end - # source://activerecord/lib/active_record/relation/calculations.rb#14 + # source://activerecord//lib/active_record/relation/calculations.rb#14 def alias_for(field); end private @@ -9982,10 +9836,10 @@ class ActiveRecord::Calculations::ColumnAliasTracker # column_alias_for("count(distinct users.id)") # => "count_distinct_users_id" # column_alias_for("count(*)") # => "count_all" # - # source://activerecord/lib/active_record/relation/calculations.rb#35 + # source://activerecord//lib/active_record/relation/calculations.rb#35 def column_alias_for(field); end - # source://activerecord/lib/active_record/relation/calculations.rb#44 + # source://activerecord//lib/active_record/relation/calculations.rb#44 def truncate(name); end end @@ -10263,7 +10117,7 @@ end # # Returns true or false depending on whether the proc is contained in the +before_save+ callback chain on a Topic model. # -# source://activerecord/lib/active_record/callbacks.rb#278 +# source://activerecord//lib/active_record/callbacks.rb#278 module ActiveRecord::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -10276,24 +10130,24 @@ module ActiveRecord::Callbacks mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods mixes_in_class_methods ::ActiveSupport::DescendantsTracker - # source://activerecord/lib/active_record/callbacks.rb#419 + # source://activerecord//lib/active_record/callbacks.rb#419 def destroy; end - # source://activerecord/lib/active_record/callbacks.rb#435 + # source://activerecord//lib/active_record/callbacks.rb#435 def increment!(attribute, by = T.unsafe(nil), touch: T.unsafe(nil)); end - # source://activerecord/lib/active_record/callbacks.rb#431 + # source://activerecord//lib/active_record/callbacks.rb#431 def touch(*_arg0, **_arg1); end private - # source://activerecord/lib/active_record/callbacks.rb#444 + # source://activerecord//lib/active_record/callbacks.rb#444 def _create_record; end - # source://activerecord/lib/active_record/callbacks.rb#448 + # source://activerecord//lib/active_record/callbacks.rb#448 def _update_record; end - # source://activerecord/lib/active_record/callbacks.rb#440 + # source://activerecord//lib/active_record/callbacks.rb#440 def create_or_update(**_arg0); end module GeneratedClassMethods @@ -10308,123 +10162,123 @@ module ActiveRecord::Callbacks end end -# source://activerecord/lib/active_record/callbacks.rb#281 +# source://activerecord//lib/active_record/callbacks.rb#281 ActiveRecord::Callbacks::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/callbacks.rb#288 +# source://activerecord//lib/active_record/callbacks.rb#288 module ActiveRecord::Callbacks::ClassMethods include ::ActiveModel::Callbacks end -# source://activerecord/lib/active_record.rb#122 +# source://activerecord//lib/active_record.rb#122 module ActiveRecord::Coders; end -# source://activerecord/lib/active_record/coders/column_serializer.rb#5 +# source://activerecord//lib/active_record/coders/column_serializer.rb#5 class ActiveRecord::Coders::ColumnSerializer # @return [ColumnSerializer] a new instance of ColumnSerializer # - # source://activerecord/lib/active_record/coders/column_serializer.rb#9 + # source://activerecord//lib/active_record/coders/column_serializer.rb#9 def initialize(attr_name, coder, object_class = T.unsafe(nil)); end # Public because it's called by Type::Serialized # - # source://activerecord/lib/active_record/coders/column_serializer.rb#46 + # source://activerecord//lib/active_record/coders/column_serializer.rb#46 def assert_valid_value(object, action:); end # Returns the value of attribute coder. # - # source://activerecord/lib/active_record/coders/column_serializer.rb#7 + # source://activerecord//lib/active_record/coders/column_serializer.rb#7 def coder; end - # source://activerecord/lib/active_record/coders/column_serializer.rb#22 + # source://activerecord//lib/active_record/coders/column_serializer.rb#22 def dump(object); end - # source://activerecord/lib/active_record/coders/column_serializer.rb#16 + # source://activerecord//lib/active_record/coders/column_serializer.rb#16 def init_with(coder); end - # source://activerecord/lib/active_record/coders/column_serializer.rb#29 + # source://activerecord//lib/active_record/coders/column_serializer.rb#29 def load(payload); end # Returns the value of attribute object_class. # - # source://activerecord/lib/active_record/coders/column_serializer.rb#6 + # source://activerecord//lib/active_record/coders/column_serializer.rb#6 def object_class; end private - # source://activerecord/lib/active_record/coders/column_serializer.rb#54 + # source://activerecord//lib/active_record/coders/column_serializer.rb#54 def check_arity_of_constructor; end end -# source://activerecord/lib/active_record/coders/json.rb#5 +# source://activerecord//lib/active_record/coders/json.rb#5 module ActiveRecord::Coders::JSON class << self - # source://activerecord/lib/active_record/coders/json.rb#6 + # source://activerecord//lib/active_record/coders/json.rb#6 def dump(obj); end - # source://activerecord/lib/active_record/coders/json.rb#10 + # source://activerecord//lib/active_record/coders/json.rb#10 def load(json); end end end -# source://activerecord/lib/active_record/coders/yaml_column.rb#7 +# source://activerecord//lib/active_record/coders/yaml_column.rb#7 class ActiveRecord::Coders::YAMLColumn < ::ActiveRecord::Coders::ColumnSerializer # @return [YAMLColumn] a new instance of YAMLColumn # - # source://activerecord/lib/active_record/coders/yaml_column.rb#59 + # source://activerecord//lib/active_record/coders/yaml_column.rb#59 def initialize(attr_name, object_class = T.unsafe(nil), permitted_classes: T.unsafe(nil), unsafe_load: T.unsafe(nil)); end - # source://activerecord/lib/active_record/coders/yaml_column.rb#77 + # source://activerecord//lib/active_record/coders/yaml_column.rb#77 def coder; end - # source://activerecord/lib/active_record/coders/yaml_column.rb#68 + # source://activerecord//lib/active_record/coders/yaml_column.rb#68 def init_with(coder); end private - # source://activerecord/lib/active_record/coders/yaml_column.rb#88 + # source://activerecord//lib/active_record/coders/yaml_column.rb#88 def check_arity_of_constructor; end end -# source://activerecord/lib/active_record/coders/yaml_column.rb#8 +# source://activerecord//lib/active_record/coders/yaml_column.rb#8 class ActiveRecord::Coders::YAMLColumn::SafeCoder # @return [SafeCoder] a new instance of SafeCoder # - # source://activerecord/lib/active_record/coders/yaml_column.rb#9 + # source://activerecord//lib/active_record/coders/yaml_column.rb#9 def initialize(permitted_classes: T.unsafe(nil), unsafe_load: T.unsafe(nil)); end - # source://activerecord/lib/active_record/coders/yaml_column.rb#15 + # source://activerecord//lib/active_record/coders/yaml_column.rb#15 def dump(object); end - # source://activerecord/lib/active_record/coders/yaml_column.rb#33 + # source://activerecord//lib/active_record/coders/yaml_column.rb#33 def load(payload); end end -# source://activerecord/lib/active_record/associations.rb#187 +# source://activerecord//lib/active_record/associations.rb#187 class ActiveRecord::CompositePrimaryKeyMismatchError < ::ActiveRecord::ActiveRecordError # @return [CompositePrimaryKeyMismatchError] a new instance of CompositePrimaryKeyMismatchError # - # source://activerecord/lib/active_record/associations.rb#190 + # source://activerecord//lib/active_record/associations.rb#190 def initialize(reflection = T.unsafe(nil)); end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations.rb#188 + # source://activerecord//lib/active_record/associations.rb#188 def reflection; end end -# source://activerecord/lib/active_record/migration.rb#175 +# source://activerecord//lib/active_record/migration.rb#175 class ActiveRecord::ConcurrentMigrationError < ::ActiveRecord::MigrationError # @return [ConcurrentMigrationError] a new instance of ConcurrentMigrationError # - # source://activerecord/lib/active_record/migration.rb#179 + # source://activerecord//lib/active_record/migration.rb#179 def initialize(message = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/migration.rb#176 +# source://activerecord//lib/active_record/migration.rb#176 ActiveRecord::ConcurrentMigrationError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/migration.rb#177 +# source://activerecord//lib/active_record/migration.rb#177 ActiveRecord::ConcurrentMigrationError::RELEASE_LOCK_FAILED_MESSAGE = T.let(T.unsafe(nil), String) # Raised when association is being configured improperly or user tries to use @@ -10433,10 +10287,10 @@ ActiveRecord::ConcurrentMigrationError::RELEASE_LOCK_FAILED_MESSAGE = T.let(T.un # {ActiveRecord::Base.has_and_belongs_to_many}[rdoc-ref:Associations::ClassMethods#has_and_belongs_to_many] # associations. # -# source://activerecord/lib/active_record/errors.rb#369 +# source://activerecord//lib/active_record/errors.rb#369 class ActiveRecord::ConfigurationError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/connection_adapters.rb#4 +# source://activerecord//lib/active_record/connection_adapters.rb#4 module ActiveRecord::ConnectionAdapters extend ::ActiveSupport::Autoload end @@ -10457,7 +10311,7 @@ end # Most of the methods in the adapter are useful during migrations. Most # notably, the instance methods provided by SchemaStatements are very useful. # -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#31 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#31 class ActiveRecord::ConnectionAdapters::AbstractAdapter include ::ActiveSupport::Callbacks include ::ActiveRecord::Migration::JoinTable @@ -10472,25 +10326,25 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # @return [AbstractAdapter] a new instance of AbstractAdapter # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#128 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#128 def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _run_checkin_callbacks(&block); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _run_checkout_callbacks(&block); end # Checks whether the connection to the database is still active. This includes @@ -10499,35 +10353,35 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#674 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#674 def active?; end # Returns the human-readable name of the adapter. Use mixed case - one # can always use downcase if needed. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#377 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#377 def adapter_name; end # This is meant to be implemented by the adapters that support custom enum types # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#612 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#612 def add_enum_value(*_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#619 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#619 def advisory_locks_enabled?; end # Override to check all foreign key constraints in a database. # # @return [Boolean] # - # source://activesupport/7.1.5.1lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#655 def all_foreign_keys_valid?(*args, **_arg1, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#586 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#586 def async_enabled?; end # Called by ActiveRecord::InsertAll, @@ -10536,88 +10390,88 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # should be overridden by adapters to implement common features with # non-standard syntax like handling duplicates or returning values. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#858 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#858 def build_insert_sql(insert); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#829 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#829 def case_insensitive_comparison(attribute, value); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#825 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#825 def case_sensitive_comparison(attribute, value); end # Override to check all foreign key constraints in a database. # The adapter should raise a +ActiveRecord::StatementInvalid+ if foreign key # constraints are not met. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#666 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#666 def check_all_foreign_keys_valid!; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#208 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#208 def check_if_write_query(sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#873 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#873 def check_version; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#798 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#798 def clean!; end # Clear any caching the database adapter may be doing. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#755 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#755 def clear_cache!(new_connection: T.unsafe(nil)); end # Check the connection back in to the connection pool # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#845 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#845 def close; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#793 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#793 def connect!; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#313 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#313 def connection_class; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#222 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#222 def connection_retries; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def create(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support custom enum types # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#600 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#600 def create_enum(*_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#386 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#386 def database_exists?; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#869 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#869 def database_version; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#849 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#849 def default_index_type?(index); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#234 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#234 def default_timezone; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#821 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#821 def default_uniqueness_comparison(attribute, value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def delete(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support extensions # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#592 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#592 def disable_extension(name, **_arg1); end # Override to turn off referential integrity while executing &block. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#650 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#650 def disable_referential_integrity; end # Immediately forget this connection ever existed. Unlike disconnect!, @@ -10627,42 +10481,42 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # undefined. This is called internally just before a forked process gets # rid of a connection that belonged to its parent. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#730 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#730 def discard!; end # Disconnects from the database if already connected. Otherwise, this # method does nothing. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#716 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#716 def disconnect!; end # This is meant to be implemented by the adapters that support custom enum types # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#604 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#604 def drop_enum(*_arg0); end # This is meant to be implemented by the adapters that support extensions # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#596 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#596 def enable_extension(name, **_arg1); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def exec_insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def exec_query(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def execute(*_arg0, **_arg1, &_arg2); end # this method must only be called while holding connection pool's mutex # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#334 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#334 def expire; end # A list of extensions, to be filled in by adapters that support them. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#638 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#638 def extensions; end # This is meant to be implemented by the adapters that support advisory @@ -10670,63 +10524,63 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # Return true if we got the lock, otherwise false # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#627 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#627 def get_advisory_lock(lock_id); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#866 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#866 def get_database_version; end # Returns the value of attribute owner. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#46 def in_use?; end # A list of index algorithms, to be filled by adapters that support them. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#643 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#643 def index_algorithms; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def insert(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#261 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#261 def internal_metadata; end # this method must only be called while holding connection pool's mutex # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#298 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#298 def lease; end # Returns the value of attribute lock. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 def lock; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#183 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#183 def lock_thread=(lock_thread); end # Returns the value of attribute logger. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 def logger; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#253 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#253 def migration_context; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#249 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#249 def migrations_paths; end # Returns the value of attribute owner. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 def owner; end # Returns the value of attribute pool. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#44 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#44 def pool; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#48 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#48 def pool=(value); end # Should primary key values be selected from their corresponding @@ -10735,20 +10589,20 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#426 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#426 def prefetch_primary_key?(table_name = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#265 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#268 def prepared_statements; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#265 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#265 def prepared_statements?; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#270 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#270 def prepared_statements_disabled_cache; end # Determines whether writes are currently being prevented. @@ -10758,7 +10612,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#242 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#242 def preventing_writes?; end # Provides access to the underlying database driver for this adapter. For @@ -10772,14 +10626,14 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # this client. If that is the case, generally you'll want to invalidate # the query cache using +ActiveRecord::Base.clear_query_cache+. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#813 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#813 def raw_connection; end # Disconnects from the database if already connected, and establishes a new # connection with the database. Implementors should define private #reconnect # instead. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#680 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#680 def reconnect!(restore_transactions: T.unsafe(nil)); end # This is meant to be implemented by the adapters that support advisory @@ -10787,29 +10641,29 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # Return true if we released the lock, otherwise false # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#634 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#634 def release_advisory_lock(lock_id); end # This is meant to be implemented by the adapters that support custom enum types # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#608 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#608 def rename_enum(*_arg0); end # This is meant to be implemented by the adapters that support custom enum types # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#616 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#616 def rename_enum_value(*_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#214 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#214 def replica?; end # Returns true if its required to reload the connection between requests for development mode. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#768 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#768 def requires_reloading?; end # Reset the state of this connection, directing the DBMS to clear @@ -10821,30 +10675,30 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # should call super immediately after resetting the connection (and while # still holding @lock). # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#742 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#742 def reset!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def restart_db_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#226 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#226 def retry_deadline; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#582 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#582 def return_value_after_insert?(column); end # The role (e.g. +:writing+) for the current connection. In a # non-multi role application, +:writing+ is returned. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#319 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#319 def role; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def rollback_db_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def rollback_to_savepoint(*_arg0, **_arg1, &_arg2); end # Do TransactionRollbackErrors on savepoints affect the parent @@ -10852,13 +10706,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#410 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#410 def savepoint_errors_invalidate_transactions?; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#329 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#329 def schema_cache; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#257 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#257 def schema_migration; end # Returns the version identifier of the schema currently available in @@ -10866,73 +10720,73 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # numbered migration that has been executed, or 0 if no schema # information is present / the database is empty. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#880 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#880 def schema_version; end # Seconds since this connection was returned to the pool # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#363 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#363 def seconds_idle; end # The shard (e.g. +:default+) for the current connection. In # a non-sharded application, +:default+ is returned. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#325 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#325 def shard; end # this method must only be called while holding connection pool's mutex (and a desire for segfaults) # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#350 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#350 def steal!; end # Does this adapter support application-enforced advisory locking? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#419 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#419 def supports_advisory_locks?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#399 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#399 def supports_bulk_alter?; end # Does this adapter support creating check constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#491 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#491 def supports_check_constraints?; end # Does this adapter support metadata comments on database objects (tables, columns, indexes)? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#526 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#526 def supports_comments?; end # Can comments for tables, columns, and indexes be specified in create/alter table statements? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#531 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#531 def supports_comments_in_create?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#550 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#550 def supports_common_table_expressions?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#574 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#574 def supports_concurrent_connections?; end # Does this adapter support datetime with precision? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#516 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#516 def supports_datetime_with_precision?; end # Does this adapter support DDL rollbacks in transactions? That is, would @@ -10940,70 +10794,70 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#395 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#395 def supports_ddl_transactions?; end # Does this adapter support creating deferrable constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#486 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#486 def supports_deferrable_constraints?; end # Does this adapter support creating exclusion constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#496 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#496 def supports_exclusion_constraints?; end # Does this adapter support explain? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#455 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#455 def supports_explain?; end # Does this adapter support expression indices? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#450 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#450 def supports_expression_index?; end # Does this adapter support database extensions? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#465 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#465 def supports_extensions?; end # Does this adapter support creating foreign key constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#476 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#476 def supports_foreign_keys?; end # Does this adapter support foreign/external tables? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#541 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#541 def supports_foreign_tables?; end # Does this adapter support including non-key columns? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#445 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#445 def supports_index_include?; end # Does this adapter support index sort order? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#435 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#435 def supports_index_sort_order?; end # Does this adapter support creating indexes in the same statement as @@ -11011,159 +10865,159 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#471 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#471 def supports_indexes_in_create?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#570 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#570 def supports_insert_conflict_target?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#562 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#562 def supports_insert_on_duplicate_skip?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#566 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#566 def supports_insert_on_duplicate_update?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#558 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#558 def supports_insert_returning?; end # Does this adapter support JSON data type? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#521 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#521 def supports_json?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#554 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#554 def supports_lazy_transactions?; end # Does this adapter support materialized views? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#511 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#511 def supports_materialized_views?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#578 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#578 def supports_nulls_not_distinct?; end # Does this adapter support optimizer hints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#546 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#546 def supports_optimizer_hints?; end # Does this adapter support partial indices? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#440 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#440 def supports_partial_index?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#430 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#430 def supports_partitioned_indexes?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#414 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#414 def supports_restart_db_transaction?; end # Does this adapter support savepoints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#404 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#404 def supports_savepoints?; end # Does this adapter support setting the isolation level for a transaction? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#460 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#460 def supports_transaction_isolation?; end # Does this adapter support creating unique constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#501 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#501 def supports_unique_constraints?; end # Does this adapter support creating invalid constraints? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#481 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#481 def supports_validate_constraints?; end # Does this adapter support views? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#506 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#506 def supports_views?; end # Does this adapter support virtual columns? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#536 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#536 def supports_virtual_columns?; end # Removes the connection from the pool and disconnect it. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#749 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#749 def throw_away!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def truncate(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def truncate_tables(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#368 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#368 def unprepared_statement; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def update(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#218 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#218 def use_metadata_table?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#293 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#293 def valid_type?(type); end # Checks whether the connection to the database is still active (i.e. not stale). # This is done under the hood by calling #active?. If the connection # is no longer active, then this method will reconnect to the database. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#775 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#775 def verify!; end # Returns the value of attribute visitor. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 def visitor; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#198 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#198 def with_instrumenter(instrumenter, &block); end private @@ -11172,13 +11026,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # to both be thread-safe and not rely upon actual server communication. # This is useful for e.g. string escaping methods. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1098 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1098 def any_raw_connection; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1203 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1203 def arel_visitor; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1087 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1087 def backoff(counter); end # Builds the result object. @@ -11186,24 +11040,24 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # This is an internal hook to make possible connection adapters to build # custom result objects with connection-specific data. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1214 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1214 def build_result(columns:, rows:, column_types: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1207 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1207 def build_statement_pool; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#839 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#839 def can_perform_case_insensitive_comparison_for?(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1189 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1189 def collector; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1178 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1178 def column_for(table_name, column_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1184 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1184 def column_for_attribute(attribute); end # Perform any necessary initialization upon the newly-established @@ -11213,51 +11067,51 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # Implementations may assume this method will only be called while # holding @lock (or from #initialize). # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1225 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1225 def configure_connection; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1228 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1228 def default_prepared_statements; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1115 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1115 def extended_type_map_key; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1073 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1073 def invalidate_transaction(exception); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1141 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1141 def log(sql, name = T.unsafe(nil), binds = T.unsafe(nil), type_casted_binds = T.unsafe(nil), statement_name = T.unsafe(nil), async: T.unsafe(nil), &block); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1091 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1091 def reconnect; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#961 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#961 def reconnect_can_restore_state?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1069 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1069 def retryable_connection_error?(exception); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1080 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1080 def retryable_query_error?(exception); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1157 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1157 def transform_query(sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1164 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1164 def translate_exception(exception, message:, sql:, binds:); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1131 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1131 def translate_exception_class(e, sql, binds); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1121 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1121 def type_map; end # Similar to any_raw_connection, but ensures it is validated and @@ -11266,19 +11120,19 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # server... but some drivers fail if they know the connection has gone # away. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1107 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1107 def valid_raw_connection; end # Mark the connection as verified. Call this inside a # `with_raw_connection` block only when the block is guaranteed to # exercise the raw connection. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1065 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1065 def verified!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1232 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1232 def warning_ignored?(warning); end # Lock the monitor, ensure we're properly connected and @@ -11314,415 +11168,483 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # still-yielded connection in the outer block), but we currently # provide no special enforcement there. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#998 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#998 def with_raw_connection(allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#1174 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1174 def without_prepared_statement?(binds); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#89 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#89 def build_read_query_regexp(*parts); end # Does the database for this adapter exist? # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#382 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#382 def database_exists?(config); end # Opens a database console session. # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#124 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#124 def dbconsole(config, options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#892 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#892 def extended_type_map(default_timezone:); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#95 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#95 def find_cmd_and_exec(commands, *args); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#885 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#885 def register_class_with_precision(mapping, key, klass, **kwargs); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#68 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#68 def type_cast_config_to_boolean(config); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#58 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#58 def type_cast_config_to_integer(config); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#76 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#76 def validate_default_timezone(config); end private - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#952 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#952 def extract_limit(sql_type); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#948 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#948 def extract_precision(sql_type); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#941 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#941 def extract_scale(sql_type); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#901 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#901 def initialize_type_map(m); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#934 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#934 def register_class_with_limit(mapping, key, klass); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#32 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#32 ActiveRecord::ConnectionAdapters::AbstractAdapter::ADAPTER_NAME = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#42 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#42 ActiveRecord::ConnectionAdapters::AbstractAdapter::COMMENT_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#86 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#86 ActiveRecord::ConnectionAdapters::AbstractAdapter::DEFAULT_READ_QUERY = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#196 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#196 ActiveRecord::ConnectionAdapters::AbstractAdapter::EXCEPTION_IMMEDIATE = T.let(T.unsafe(nil), Hash) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#195 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#195 ActiveRecord::ConnectionAdapters::AbstractAdapter::EXCEPTION_NEVER = T.let(T.unsafe(nil), Hash) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#958 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#958 ActiveRecord::ConnectionAdapters::AbstractAdapter::EXTENDED_TYPE_MAPS = T.let(T.unsafe(nil), Concurrent::Map) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#180 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#180 ActiveRecord::ConnectionAdapters::AbstractAdapter::FIBER_LOCK = T.let(T.unsafe(nil), ActiveSupport::Concurrency::LoadInterlockAwareMonitor) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#41 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#41 ActiveRecord::ConnectionAdapters::AbstractAdapter::SIMPLE_INT = T.let(T.unsafe(nil), Regexp) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#177 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#177 ActiveRecord::ConnectionAdapters::AbstractAdapter::THREAD_LOCK = T.let(T.unsafe(nil), ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#957 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#957 ActiveRecord::ConnectionAdapters::AbstractAdapter::TYPE_MAP = T.let(T.unsafe(nil), ActiveRecord::Type::TypeMap) -# source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#274 +# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#274 class ActiveRecord::ConnectionAdapters::AbstractAdapter::Version include ::Comparable # @return [Version] a new instance of Version # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#279 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#279 def initialize(version_string, full_version_string = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#284 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#284 def <=>(version_string); end # Returns the value of attribute full_version_string. # - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#277 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#277 def full_version_string; end - # source://activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#288 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#288 def to_s; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#12 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#12 module ActiveRecord::ConnectionAdapters::AbstractPool; end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 class ActiveRecord::ConnectionAdapters::AddColumnDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def column=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#621 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#621 class ActiveRecord::ConnectionAdapters::AlterTable # @return [AlterTable] a new instance of AlterTable # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#626 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#626 def initialize(td); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#645 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#645 def add_check_constraint(expression, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#653 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#653 def add_column(name, type, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#637 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#637 def add_foreign_key(to_table, options); end # Returns the value of attribute adds. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#622 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#622 def adds; end # Returns the value of attribute check_constraint_adds. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#624 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#624 def check_constraint_adds; end # Returns the value of attribute check_constraint_drops. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#624 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#624 def check_constraint_drops; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#649 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#649 def drop_check_constraint(constraint_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#641 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#641 def drop_foreign_key(name); end # Returns the value of attribute foreign_key_adds. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#623 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#623 def foreign_key_adds; end # Returns the value of attribute foreign_key_drops. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#623 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#623 def foreign_key_drops; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#635 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#635 def name; end end -# source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#149 +# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#149 class ActiveRecord::ConnectionAdapters::BoundSchemaReflection # @return [BoundSchemaReflection] a new instance of BoundSchemaReflection # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#150 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#150 def initialize(abstract_schema_reflection, connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#175 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#175 def add(name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#163 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#163 def cached?(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#155 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#155 def clear!; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#211 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#211 def clear_data_source_cache!(name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#183 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#183 def columns(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#187 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#187 def columns_hash(table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#191 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#191 def columns_hash?(table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#171 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#171 def data_source_exists?(name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#179 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#179 def data_sources(name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#199 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#199 def database_version; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#215 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#215 def dump_to(filename); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#195 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#195 def indexes(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#159 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#159 def load!; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#167 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#167 def primary_keys(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#207 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#207 def size; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#203 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#203 def version; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 class ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def column=(_); end # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def default=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def column=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def name=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#188 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#188 def defined_for?(name:, expression: T.unsafe(nil), validate: T.unsafe(nil), **options); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#184 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#184 def export_name_on_schema_dump?; end # Returns the value of attribute expression # # @return [Object] the current value of expression + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def expression; end # Sets the attribute expression # # @param value [Object] the value to set the attribute expression to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def expression=(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#175 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#175 def name; end # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def options=(_); end # Returns the value of attribute table_name # # @return [Object] the current value of table_name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def table_name; end # Sets the attribute table_name # # @param value [Object] the value to set the attribute table_name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def table_name=(_); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 def validate?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#182 def validated?; end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def new(*_arg0); end end end # An abstract definition of a column in a table. # -# source://activerecord/lib/active_record/connection_adapters/column.rb#7 +# source://activerecord//lib/active_record/connection_adapters/column.rb#7 class ActiveRecord::ConnectionAdapters::Column include ::ActiveRecord::ConnectionAdapters::Deduplicable extend ::ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods @@ -11736,61 +11658,61 @@ class ActiveRecord::ConnectionAdapters::Column # # @return [Column] a new instance of Column # - # source://activerecord/lib/active_record/connection_adapters/column.rb#20 + # source://activerecord//lib/active_record/connection_adapters/column.rb#20 def initialize(name, default, sql_type_metadata = T.unsafe(nil), null = T.unsafe(nil), default_function = T.unsafe(nil), collation: T.unsafe(nil), comment: T.unsafe(nil), **_arg7); end - # source://activerecord/lib/active_record/connection_adapters/column.rb#75 + # source://activerecord//lib/active_record/connection_adapters/column.rb#75 def ==(other); end # whether the column is auto-populated by the database using a sequence # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/column.rb#67 + # source://activerecord//lib/active_record/connection_adapters/column.rb#67 def auto_incremented_by_db?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/column.rb#71 + # source://activerecord//lib/active_record/connection_adapters/column.rb#71 def auto_populated?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/column.rb#34 + # source://activerecord//lib/active_record/connection_adapters/column.rb#34 def bigint?; end # Returns the value of attribute collation. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def collation; end # Returns the value of attribute comment. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def comment; end # Returns the value of attribute default. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def default; end # Returns the value of attribute default_function. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def default_function; end - # source://activerecord/lib/active_record/connection_adapters/column.rb#56 + # source://activerecord//lib/active_record/connection_adapters/column.rb#56 def encode_with(coder); end - # source://activerecord/lib/active_record/connection_adapters/column.rb#75 + # source://activerecord//lib/active_record/connection_adapters/column.rb#85 def eql?(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/column.rb#30 + # source://activerecord//lib/active_record/connection_adapters/column.rb#30 def has_default?; end - # source://activerecord/lib/active_record/connection_adapters/column.rb#87 + # source://activerecord//lib/active_record/connection_adapters/column.rb#87 def hash; end # Returns the human name of the column name. @@ -11798,50 +11720,50 @@ class ActiveRecord::ConnectionAdapters::Column # ===== Examples # Column.new('sales_stage', ...).human_name # => 'Sales stage' # - # source://activerecord/lib/active_record/connection_adapters/column.rb#42 + # source://activerecord//lib/active_record/connection_adapters/column.rb#42 def human_name; end - # source://activerecord/lib/active_record/connection_adapters/column.rb#46 + # source://activerecord//lib/active_record/connection_adapters/column.rb#46 def init_with(coder); end - # source://activerecord/lib/active_record/connection_adapters/column.rb#12 + # source://activerecord//lib/active_record/connection_adapters/column.rb#12 def limit(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def name; end # Returns the value of attribute null. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def null; end - # source://activerecord/lib/active_record/connection_adapters/column.rb#12 + # source://activerecord//lib/active_record/connection_adapters/column.rb#12 def precision(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/column.rb#12 + # source://activerecord//lib/active_record/connection_adapters/column.rb#12 def scale(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/column.rb#12 + # source://activerecord//lib/active_record/connection_adapters/column.rb#12 def sql_type(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute sql_type_metadata. # - # source://activerecord/lib/active_record/connection_adapters/column.rb#10 + # source://activerecord//lib/active_record/connection_adapters/column.rb#10 def sql_type_metadata; end - # source://activerecord/lib/active_record/connection_adapters/column.rb#12 + # source://activerecord//lib/active_record/connection_adapters/column.rb#12 def type(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/column.rb#99 + # source://activerecord//lib/active_record/connection_adapters/column.rb#99 def virtual?; end private - # source://activerecord/lib/active_record/connection_adapters/column.rb#104 + # source://activerecord//lib/active_record/connection_adapters/column.rb#104 def deduplicated; end end @@ -11850,127 +11772,152 @@ end # +columns+ attribute of said TableDefinition object, in order to be used # for generating a number of table creation or table changing SQL statements. # -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#109 def aliased_types(name, fallback); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def collation; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def collation=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def comment; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def comment=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def default; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def default=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_exists; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_exists=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_not_exists; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_not_exists=(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def limit; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def limit=(value); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def name=(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def null; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def null=(value); end # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def options=(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def precision; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def precision=(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#93 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#93 def primary_key?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def scale; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def scale=(value); end # Returns the value of attribute sql_type # # @return [Object] the current value of sql_type + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def sql_type; end # Sets the attribute sql_type # # @param value [Object] the value to set the attribute sql_type to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def sql_type=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def type=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#80 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#80 ActiveRecord::ConnectionAdapters::ColumnDefinition::OPTION_NAMES = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#300 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#300 module ActiveRecord::ConnectionAdapters::ColumnMethods extend ::ActiveSupport::Concern @@ -11979,15 +11926,15 @@ module ActiveRecord::ConnectionAdapters::ColumnMethods # Appends a primary key definition to the table definition. # Can be called multiple times, but this is probably not a good idea. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#305 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#305 def primary_key(name, type = T.unsafe(nil), **options); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#0 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#328 module ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#329 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#329 def define_column_methods(*column_types); end end @@ -12041,11 +11988,11 @@ end # about the model. The model needs to pass a connection specification name to the handler, # in order to look up the correct connection pool. # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#57 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#57 class ActiveRecord::ConnectionAdapters::ConnectionHandler # @return [ConnectionHandler] a new instance of ConnectionHandler # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#77 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#77 def initialize; end # Returns true if there are any active connections among the connection @@ -12053,27 +12000,27 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#173 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#173 def active_connections?(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#97 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#97 def all_connection_pools; end # Returns any connections in use by the current thread back to the pool, # and also returns connections to the pool cached by threads that are no # longer alive. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#185 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#185 def clear_active_connections!(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#206 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#206 def clear_all_connections!(role = T.unsafe(nil)); end # Clears the cache which maps classes. # # See ConnectionPool#clear_reloadable_connections! for details. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#197 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#197 def clear_reloadable_connections!(role = T.unsafe(nil)); end # Returns true if a connection that's accessible to this class has @@ -12081,44 +12028,44 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#251 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#251 def connected?(connection_name, role: T.unsafe(nil), shard: T.unsafe(nil)); end # Returns the pools for a connection handler and given role. If +:all+ is passed, # all pools belonging to the connection handler will be returned. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#107 def connection_pool_list(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#93 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#93 def connection_pool_names; end # Returns the pools for a connection handler and given role. If +:all+ is passed, # all pools belonging to the connection handler will be returned. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#118 def connection_pools(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#120 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#120 def each_connection_pool(role = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#131 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#131 def establish_connection(config, owner_name: T.unsafe(nil), role: T.unsafe(nil), shard: T.unsafe(nil), clobber: T.unsafe(nil)); end # Disconnects all currently idle connections. # # See ConnectionPool#flush! for details. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#218 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#218 def flush_idle_connections!(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#85 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#85 def prevent_writes; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#89 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#89 def prevent_writes=(prevent_writes); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#256 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#256 def remove_connection_pool(connection_name, role: T.unsafe(nil), shard: T.unsafe(nil)); end # Locate the connection of the nearest super class. This can be an @@ -12126,38 +12073,38 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # opened and set as the active connection for the class it was defined # for (not necessarily the current class). # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#231 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#231 def retrieve_connection(connection_name, role: T.unsafe(nil), shard: T.unsafe(nil)); end # Retrieving the connection pool happens a lot, so we cache it in @connection_name_to_pool_manager. # This makes retrieving the connection pool O(1) once the process is warm. # When a connection is established or removed, we invalidate the cache. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#265 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#265 def retrieve_connection_pool(connection_name, role: T.unsafe(nil), shard: T.unsafe(nil)); end private # Returns the value of attribute connection_name_to_pool_manager. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#271 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#271 def connection_name_to_pool_manager; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#287 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#287 def deprecation_for_pool_handling(method); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#356 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#356 def determine_owner_name(owner_name, config); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#304 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#304 def disconnect_pool_from_pool_manager(pool_manager, role, shard); end # Returns the pool manager for a connection name / identifier. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#274 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#274 def get_pool_manager(connection_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#283 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#283 def pool_managers; end # Returns an instance of PoolConfig for a given adapter. @@ -12172,36 +12119,36 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @raise [AdapterNotSpecified] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#323 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#323 def resolve_pool_config(config, connection_name, role, shard); end # Get the existing pool manager or initialize and assign a new one. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#279 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#279 def set_pool_manager(connection_name); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#58 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#58 ActiveRecord::ConnectionAdapters::ConnectionHandler::FINALIZER = T.let(T.unsafe(nil), Proc) -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#61 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#61 class ActiveRecord::ConnectionAdapters::ConnectionHandler::StringConnectionName # @return [StringConnectionName] a new instance of StringConnectionName # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#64 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#64 def initialize(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#72 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#72 def current_preventing_writes; end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#62 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#62 def name; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb#68 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#68 def primary_class?; end end @@ -12272,7 +12219,7 @@ end # * private methods that require being called in a +synchronize+ blocks # are now explicitly documented # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#8 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#8 class ActiveRecord::ConnectionAdapters::ConnectionPool include ::MonitorMixin include ::ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration @@ -12287,7 +12234,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # @return [ConnectionPool] a new instance of ConnectionPool # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#120 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#120 def initialize(pool_config); end # Returns true if there is an open connection being used for the current thread. @@ -12298,24 +12245,24 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#196 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#196 def active_connection?; end # Returns the value of attribute async_executor. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def async_executor; end # Returns the value of attribute automatic_reconnect. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109 def automatic_reconnect; end # Sets the attribute automatic_reconnect # # @param value the value to set the attribute automatic_reconnect to. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109 def automatic_reconnect=(_arg0); end # Check-in a database connection back into the pool, indicating that you @@ -12324,7 +12271,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # +conn+: an AbstractAdapter object, which was obtained by earlier by # calling #checkout on this pool. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#363 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#363 def checkin(conn); end # Check-out a database connection from the pool, indicating that you want @@ -12342,19 +12289,19 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # Raises: # - ActiveRecord::ConnectionTimeoutError no connection can be obtained from the pool. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#352 def checkout(checkout_timeout = T.unsafe(nil)); end # Returns the value of attribute checkout_timeout. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109 def checkout_timeout; end # Sets the attribute checkout_timeout # # @param value the value to set the attribute checkout_timeout to. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109 def checkout_timeout=(_arg0); end # Clears the cache which maps classes and re-connects connections that @@ -12365,7 +12312,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # connections in the pool within a timeout interval (default duration is # spec.db_config.checkout_timeout * 2 seconds). # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#310 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#310 def clear_reloadable_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end # Clears the cache which maps classes and re-connects connections that @@ -12377,14 +12324,14 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # clears the cache and reloads connections without any regard for other # connection owning threads. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#334 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#334 def clear_reloadable_connections!; end # Returns true if a connection has already been opened. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#233 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#233 def connected?; end # Retrieve the connection associated with the current thread, or call @@ -12393,13 +12340,13 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # #connection can be called any number of times; the connection is # held in a cache keyed by a thread. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#181 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#181 def connection; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#185 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185 def connection_class; end - # source://activesupport/7.1.5.1lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#188 def connection_klass(*args, **_arg1, &block); end # Returns an array containing the connections currently in the pool. @@ -12414,12 +12361,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # thread-safety guarantees of the underlying method. Many of the methods # on connection adapter classes are inherently multi-thread unsafe. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#248 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#248 def connections; end # Returns the value of attribute db_config. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def db_config; end # Discards all connections in the pool (even if they're currently @@ -12428,12 +12375,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # See AbstractAdapter#discard! # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#289 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#289 def discard!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#299 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#299 def discarded?; end # Disconnects all connections in the pool, and clears the pool. @@ -12443,7 +12390,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # connections in the pool within a timeout interval (default duration is # spec.db_config.checkout_timeout * 2 seconds). # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#258 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#258 def disconnect(raise_on_acquisition_timeout = T.unsafe(nil)); end # Disconnects all connections in the pool, and clears the pool. @@ -12453,43 +12400,43 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # spec.db_config.checkout_timeout * 2 seconds), then the pool is forcefully # disconnected without any regard for other connection owning threads. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#280 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#280 def disconnect!; end # Disconnect all connections that have been idle for at least # +minimum_idle+ seconds. Connections currently checked out, or that were # checked in less than +minimum_idle+ seconds ago, are unaffected. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#435 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#435 def flush(minimum_idle = T.unsafe(nil)); end # Disconnect all currently idle connections. Connections currently checked # out are unaffected. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#457 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#457 def flush!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#164 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#164 def lock_thread=(lock_thread); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#462 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#462 def num_waiting_in_queue; end # Returns the value of attribute pool_config. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def pool_config; end # Recover lost connections for the pool. A lost connection can occur if # a programmer forgets to checkin a connection at the end of a thread # or a thread dies unexpectedly. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#412 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#412 def reap; end # Returns the value of attribute reaper. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def reaper; end # Signal that the thread is finished with the current connection. @@ -12500,44 +12447,44 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # #connection or #with_connection methods, connections obtained through # #checkout will not be automatically released. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#207 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#207 def release_connection(owner_thread = T.unsafe(nil)); end # Remove a connection from the connection pool. The connection will # remain open and active but will no longer be managed by this pool. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#380 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#380 def remove(conn); end # Returns the value of attribute role. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def role; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#483 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#483 def schedule_query(future_result); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#112 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112 def schema_reflection(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#112 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112 def schema_reflection=(arg); end # Returns the value of attribute shard. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def shard; end # Returns the value of attribute size. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110 def size; end # Returns the connection pool's usage statistic. # # ActiveRecord::Base.connection_pool.stat # => { size: 15, connections: 1, busy: 1, dead: 0, idle: 0, waiting: 0, checkout_timeout: 5 } # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#469 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#469 def stat; end # Yields a connection from the connection pool to the block. If no connection @@ -12550,7 +12497,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # connection will be properly returned to the pool by the code that checked # it out. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#222 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222 def with_connection; end private @@ -12567,36 +12514,36 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # Implementation detail: the connection returned by +acquire_connection+ # will already be "+connection.lease+ -ed" to the current thread. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#647 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#647 def acquire_connection(checkout_timeout); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#723 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#723 def adopt_connection(conn); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#541 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#541 def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#489 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#489 def build_async_executor; end # -- # this is unfortunately not concurrent # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#507 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#507 def bulk_make_new_connections(num_new_conns_needed); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#733 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#733 def checkout_and_verify(c); end # -- # Must be called in a synchronize block. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#587 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#587 def checkout_for_exclusive_access(checkout_timeout); end # @raise [ConnectionNotEstablished] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#728 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#728 def checkout_new_connection; end # -- @@ -12605,25 +12552,25 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # This hook-in method allows for easier monkey-patching fixes needed by # JRuby users that use Fibers. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#522 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#522 def connection_cache_key(thread); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#526 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#526 def current_thread; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#675 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#675 def new_connection; end # -- # if owner_thread param is omitted, this must be called in synchronize block # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#670 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#673 def release(conn, owner_thread = T.unsafe(nil)); end # -- # if owner_thread param is omitted, this must be called in synchronize block # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#670 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#670 def remove_connection_from_thread_cache(conn, owner_thread = T.unsafe(nil)); end # If the pool is not at a @size limit, establish new connection. Connecting @@ -12632,7 +12579,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # Implementation constraint: a newly established connection returned by this # method must be in the +.leased+ state. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#696 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#696 def try_to_checkout_new_connection; end # Take control of all existing connections so a "group" action such as @@ -12640,42 +12587,42 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # wrap it in +synchronize+ because some pool's actions are allowed # to be performed outside of the main +synchronize+ block. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#534 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#534 def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#607 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#607 def with_new_connections_blocked; end end # Adds the ability to turn a basic fair FIFO queue into one # biased to some thread. # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#138 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#138 module ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#178 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#178 def with_a_bias_for(thread); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#139 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#139 class ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue::BiasedConditionVariable # semantics of condition variables guarantee that +broadcast+, +broadcast_on_biased+, # +signal+ and +wait+ methods are only called while holding a lock # # @return [BiasedConditionVariable] a new instance of BiasedConditionVariable # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#142 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#142 def initialize(lock, other_cond, preferred_thread); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#149 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#149 def broadcast; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#154 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#154 def broadcast_on_biased; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#159 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#159 def signal; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#168 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#168 def wait(timeout); end end @@ -12685,13 +12632,13 @@ end # @lock as the main pool) so that a returned connection is already # leased and there is no need to re-enter synchronized block. # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#199 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#199 class ActiveRecord::ConnectionAdapters::ConnectionPool::ConnectionLeasingQueue < ::ActiveRecord::ConnectionAdapters::ConnectionPool::Queue include ::ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue private - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#203 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#203 def internal_poll(timeout); end end @@ -12700,39 +12647,39 @@ end # Threadsafe, fair, LIFO queue. Meant to be used by ConnectionPool # with which it shares a Monitor. # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#13 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#13 class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # @return [Queue] a new instance of Queue # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#14 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#14 def initialize(lock = T.unsafe(nil)); end # Add +element+ to the queue. Never blocks. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#37 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#37 def add(element); end # Test if any threads are currently waiting on the queue. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#22 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#22 def any_waiting?; end # Remove all elements from the queue. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#52 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#52 def clear; end # If +element+ is in the queue, remove and return it, or +nil+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#45 def delete(element); end # Returns the number of threads currently waiting on this # queue. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#30 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#30 def num_waiting; end # Remove the head of the queue. @@ -12750,7 +12697,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # - ActiveRecord::ConnectionTimeoutError if +timeout+ is given and no element # becomes available within +timeout+ seconds, # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#72 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#72 def poll(timeout = T.unsafe(nil)); end private @@ -12759,7 +12706,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#86 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#86 def any?; end # A thread can remove an element from the queue without @@ -12769,31 +12716,31 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#94 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#94 def can_remove_no_wait?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#77 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#77 def internal_poll(timeout); end # Remove and return the head of the queue if the number of # available elements is strictly greater than the number of # threads currently waiting. Otherwise, return +nil+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#106 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#106 def no_wait_poll; end # Removes and returns the head of the queue if possible, or +nil+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#99 def remove; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#81 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#81 def synchronize(&block); end # Waits on the queue up to +timeout+ seconds, then removes and # returns the head of the queue. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#112 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#112 def wait_poll(timeout); end end @@ -12806,121 +12753,142 @@ end # Configure the frequency by setting +reaping_frequency+ in your database # YAML file (default 60 seconds). # -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#17 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#17 class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper # @return [Reaper] a new instance of Reaper # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#20 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#20 def initialize(pool, frequency); end # Returns the value of attribute frequency. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#18 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#18 def frequency; end # Returns the value of attribute pool. # - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#18 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#18 def pool; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#71 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#71 def run; end class << self - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#30 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#30 def register_pool(pool, frequency); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#41 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#41 def spawn_thread(frequency); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 class ActiveRecord::ConnectionAdapters::CreateIndexDefinition < ::Struct # Returns the value of attribute algorithm # # @return [Object] the current value of algorithm + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def algorithm; end # Sets the attribute algorithm # # @param value [Object] the value to set the attribute algorithm to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def algorithm=(_); end # Returns the value of attribute if_not_exists # # @return [Object] the current value of if_not_exists + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def if_not_exists; end # Sets the attribute if_not_exists # # @param value [Object] the value to set the attribute if_not_exists to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def if_not_exists=(_); end # Returns the value of attribute index # # @return [Object] the current value of index + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def index; end # Sets the attribute index # # @param value [Object] the value to set the attribute index to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def index=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#5 +# source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#5 module ActiveRecord::ConnectionAdapters::DatabaseLimits # Returns the maximum length of an index name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#21 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#21 def index_name_length; end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#6 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#6 def max_identifier_length; end # Returns the maximum length of a table alias. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#16 def table_alias_length; end # Returns the maximum length of a table name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#11 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#11 def table_name_length; end private - # source://activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb#26 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#26 def bind_params_length; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#5 +# source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#5 module ActiveRecord::ConnectionAdapters::DatabaseStatements - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#6 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#6 def initialize; end # Register a record with the current transaction so that its after_commit and after_rollback callbacks # can be called. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#390 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#390 def add_transaction_record(record, ensure_finalize = T.unsafe(nil)); end # Begins the transaction (and turns off auto-committing). # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#395 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#395 def begin_db_transaction; end # Begins the transaction with the isolation level set. Raises an error by @@ -12929,24 +12897,24 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # # @raise [ActiveRecord::TransactionIsolationError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#409 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#409 def begin_isolated_db_transaction(isolation); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def begin_transaction(*_arg0, **_arg1, &_arg2); end # This is used in the StatementCache object. It returns an object that # can be used to query the database repeatedly. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#54 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#54 def cacheable_query(klass, arel); end # Commits the transaction (and turns on auto-committing). # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#414 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#414 def commit_db_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def commit_transaction(*_arg0, **_arg1, &_arg2); end # Executes an INSERT query and returns the new record's ID @@ -12961,37 +12929,37 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # `nil` is the default value and maintains default behavior. If an array of column names is passed - # an array of is returned from the method representing values of the specified columns from the inserted row. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#189 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#197 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/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def current_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#436 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#436 def default_sequence_name(table, column); end # Executes the delete statement and returns the number of rows affected. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#206 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#206 def delete(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def dirty_current_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def disable_lazy_transactions!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#468 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#468 def empty_insert_statement_value(primary_key = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def enable_lazy_transactions!(*_arg0, **_arg1, &_arg2); end # Executes delete +sql+ statement in the context of this connection using # +binds+ as the bind substitutes. +name+ is logged along with # the executed +sql+ statement. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#159 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#159 def exec_delete(sql, name = T.unsafe(nil), binds = T.unsafe(nil)); end # Executes insert +sql+ statement in the context of this connection using @@ -13001,10 +12969,10 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # `nil` is the default value and maintains default behavior. If an array of column names is passed - # the result will contain values of the specified columns from the inserted row. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#151 + # source://activerecord//lib/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/lib/active_record/connection_adapters/abstract/database_statements.rb#170 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#170 def exec_insert_all(sql, name); end # Executes +sql+ statement in the context of this connection using @@ -13015,20 +12983,20 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # will be cleared. If the query is read-only, consider using #select_all # instead. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#141 + # source://activerecord//lib/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/lib/active_record/connection_adapters/abstract/database_statements.rb#430 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#430 def exec_restart_db_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#424 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#424 def exec_rollback_db_transaction; end # Executes update +sql+ statement in the context of this connection using # +binds+ as the bind substitutes. +name+ is logged along with # the executed +sql+ statement. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#166 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#166 def exec_update(sql, name = T.unsafe(nil), binds = T.unsafe(nil)); end # Executes the SQL statement in the context of this connection and returns @@ -13046,12 +13014,12 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # method may be manually memory managed. Consider using #exec_query # wrapper instead. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#130 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#130 def execute(sql, name = T.unsafe(nil), allow_retry: T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#174 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#174 def explain(arel, binds = T.unsafe(nil), options = T.unsafe(nil)); end # Returns an Arel SQL literal for the CURRENT_TIMESTAMP for usage with @@ -13060,7 +13028,7 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # Adapters supporting datetime with precision should override this to # provide as much precision as is available. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#506 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#506 def high_precision_current_timestamp; end # Executes an INSERT query and returns the new record's ID @@ -13075,7 +13043,7 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # `nil` is the default value and maintains default behavior. If an array of column names is passed - # an array of is returned from the method representing values of the specified columns from the inserted row. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#189 + # source://activerecord//lib/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 # Inserts the given fixture into the table. Overridden in adapters that require @@ -13084,56 +13052,56 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # We keep this method to provide fallback # for databases like SQLite that do not support bulk inserts. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#450 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#450 def insert_fixture(fixture, table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#454 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#454 def insert_fixtures_set(fixture_set, tables_to_delete = T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#510 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#510 def internal_exec_query(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#357 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#357 def mark_transaction_written_if_write(sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def materialize_transactions(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def open_transactions(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#107 def query(sql, name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#99 def query_value(sql, name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#103 def query_values(sql, name = T.unsafe(nil)); end # Set the sequence to the max value of the table's column. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#441 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#441 def reset_sequence!(table, column, sequence = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#368 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#368 def reset_transaction(restore: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#426 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#426 def restart_db_transaction; end # Rolls back the transaction (and turns on auto-committing). Must be # done if the transaction block raises an exception or returns false. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#418 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#418 def rollback_db_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#432 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#432 def rollback_to_savepoint(name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def rollback_transaction(*_arg0, **_arg1, &_arg2); end # Sanitizes the given LIMIT parameter in order to prevent SQL injection. @@ -13143,40 +13111,40 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # # Returns Integer and Arel::Nodes::SqlLiteral limits as is. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#478 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#478 def sanitize_limit(limit); end # Returns an ActiveRecord::Result instance. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#67 + # source://activerecord//lib/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 # Returns a record hash with the column names as keys and column values # as values. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#78 + # source://activerecord//lib/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 # Returns an array of arrays containing the field values. # Order is the same as that returned by +columns+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#95 + # source://activerecord//lib/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 # Returns a single value from a record # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#83 + # source://activerecord//lib/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 # Returns an array of the values of the first column in a select: # select_values("SELECT id FROM companies LIMIT 3") => [1,2,3] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#89 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#89 def select_values(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end # Converts an arel AST to SQL # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#12 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#12 def to_sql(arel_or_sql_string, binds = T.unsafe(nil)); end # Runs the given block in a database transaction, and returns the result @@ -13288,41 +13256,41 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # isolation level. # :args: (requires_new: nil, isolation: nil, &block) # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#337 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#337 def transaction(requires_new: T.unsafe(nil), isolation: T.unsafe(nil), joinable: T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#397 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#397 def transaction_isolation_levels; end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#350 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#350 def transaction_manager; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#364 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#364 def transaction_open?; end # Executes the truncate statement. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#212 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#212 def truncate(table_name, name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#216 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#216 def truncate_tables(*table_names); end # Executes the update statement and returns the number of rows affected. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#200 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#200 def update(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end # Fixture value is quoted by Arel, however scalar values # are not quotable. In this case we want to convert # the column value to YAML. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#489 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#489 def with_yaml_fallback(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#352 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 def within_new_transaction(*_arg0, **_arg1, &_arg2); end # Determines whether the SQL statement is a write query. @@ -13330,193 +13298,214 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#112 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#112 def write_query?(sql); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#668 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#668 def arel_from_relation(relation); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#541 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#541 def build_fixture_sql(fixtures, table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#583 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#583 def build_fixture_statements(fixture_set); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#590 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#590 def build_truncate_statement(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#594 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#594 def build_truncate_statements(table_names); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#604 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#604 def combine_multi_statements(total_sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#537 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#537 def default_insert_value(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#524 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#524 def execute_batch(statements, name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#676 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#676 def extract_table_ref_from_insert_sql(sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#515 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#515 def internal_execute(sql, name = T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#655 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#655 def last_inserted_id(result); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#530 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#530 def raw_execute(sql, name, async: T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#659 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#659 def returning_column_values(result); end # Returns an ActiveRecord::Result instance. # - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#609 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#609 def select(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#663 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#663 def single_value_from_rows(rows); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#638 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#638 def sql_for_insert(sql, pk, binds, returning); end - # source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#17 + # source://activerecord//lib/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/lib/active_record/connection_adapters/abstract/database_statements.rb#600 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#600 def with_multi_statements; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#534 +# source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#534 ActiveRecord::ConnectionAdapters::DatabaseStatements::DEFAULT_INSERT_VALUE = T.let(T.unsafe(nil), Arel::Nodes::SqlLiteral) # This is a safe default, even if not high precision on all databases # -# source://activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#498 +# source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#498 ActiveRecord::ConnectionAdapters::DatabaseStatements::HIGH_PRECISION_CURRENT_TIMESTAMP = T.let(T.unsafe(nil), Arel::Nodes::SqlLiteral) -# source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#5 +# source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#5 module ActiveRecord::ConnectionAdapters::Deduplicable extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods - # source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#18 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#21 def -@; end - # source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#18 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#18 def deduplicate; end private - # source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#24 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#24 def deduplicated; end end -# source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#8 +# source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#8 module ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods - # source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#13 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#13 def new(*_arg0, **_arg1); end - # source://activerecord/lib/active_record/connection_adapters/deduplicable.rb#9 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#9 def registry; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#129 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#129 def column; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#149 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#149 def custom_primary_key?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#145 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#145 def deferrable; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#162 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#162 def defined_for?(to_table: T.unsafe(nil), validate: T.unsafe(nil), **options); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#158 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#158 def export_name_on_schema_dump?; end # Returns the value of attribute from_table # # @return [Object] the current value of from_table + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def from_table; end # Sets the attribute from_table # # @param value [Object] the value to set the attribute from_table to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def from_table=(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 def name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#137 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#137 def on_delete; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#141 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#141 def on_update; end # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def options=(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#133 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#133 def primary_key; end # Returns the value of attribute to_table # # @return [Object] the current value of to_table + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def to_table; end # Sets the attribute to_table # # @param value [Object] the value to set the attribute to_table to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def to_table=(_); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#153 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#153 def validate?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#153 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#156 def validated?; end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#169 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#169 def default_primary_key; end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def new(*_arg0); end end end @@ -13525,311 +13514,324 @@ end # this type are typically created and returned by methods in database # adapters. e.g. ActiveRecord::ConnectionAdapters::MySQL::SchemaStatements#indexes # -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 class ActiveRecord::ConnectionAdapters::IndexDefinition # @return [IndexDefinition] a new instance of IndexDefinition # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#12 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#12 def initialize(table, name, unique = T.unsafe(nil), columns = T.unsafe(nil), lengths: T.unsafe(nil), orders: T.unsafe(nil), opclasses: T.unsafe(nil), where: T.unsafe(nil), type: T.unsafe(nil), using: T.unsafe(nil), include: T.unsafe(nil), nulls_not_distinct: T.unsafe(nil), comment: T.unsafe(nil), valid: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#47 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#47 def column_options; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def columns; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def comment; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#55 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#55 def defined_for?(columns = T.unsafe(nil), name: T.unsafe(nil), unique: T.unsafe(nil), valid: T.unsafe(nil), include: T.unsafe(nil), nulls_not_distinct: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def include; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def lengths; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def nulls_not_distinct; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def opclasses; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def orders; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def table; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def type; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def unique; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def using; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def valid; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#43 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#43 def valid?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#10 def where; end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#66 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#66 def concise_options(options); end end -# source://activerecord/lib/active_record/connection_adapters/column.rb#115 +# source://activerecord//lib/active_record/connection_adapters/column.rb#115 class ActiveRecord::ConnectionAdapters::NullColumn < ::ActiveRecord::ConnectionAdapters::Column # @return [NullColumn] a new instance of NullColumn # - # source://activerecord/lib/active_record/connection_adapters/column.rb#116 + # source://activerecord//lib/active_record/connection_adapters/column.rb#116 def initialize(name, **_arg1); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#15 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#15 class ActiveRecord::ConnectionAdapters::NullPool include ::ActiveRecord::ConnectionAdapters::AbstractPool - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#32 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#32 def async_executor; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#30 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#30 def checkin(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#29 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#29 def connection_class; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#33 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#33 def db_config; end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#31 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#31 def remove(_); end - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#25 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#25 def schema_reflection; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#23 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#23 ActiveRecord::ConnectionAdapters::NullPool::NULL_CONFIG = T.let(T.unsafe(nil), ActiveRecord::ConnectionAdapters::NullPool::NullConfig) -# source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#18 +# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#18 class ActiveRecord::ConnectionAdapters::NullPool::NullConfig - # source://activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#19 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#19 def method_missing(*_arg0); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#106 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#106 class ActiveRecord::ConnectionAdapters::NullTransaction # @return [NullTransaction] a new instance of NullTransaction # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#107 def initialize; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#112 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#112 def add_record(record, _ = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#109 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#109 def closed?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#115 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#115 def dirty!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#114 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#114 def dirty?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#117 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#117 def invalidate!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#116 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#116 def invalidated?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#111 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#111 def joinable?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#110 def open?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#113 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#113 def restartable?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#108 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#108 def state; end end -# source://activerecord/lib/active_record/connection_adapters/pool_config.rb#5 +# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#5 class ActiveRecord::ConnectionAdapters::PoolConfig include ::Mutex_m # @return [PoolConfig] a new instance of PoolConfig # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#29 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#29 def initialize(connection_class, db_config, role, shard); end # Returns the value of attribute connection_class. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#10 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#10 def connection_class; end # Sets the attribute connection_class # # @param value the value to set the attribute connection_class to. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#10 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#10 def connection_class=(_arg0); end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#39 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#39 def connection_name; end # Returns the value of attribute db_config. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#8 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 def db_config; end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#68 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#68 def discard_pool!; end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#47 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#47 def disconnect!(automatic_reconnect: T.unsafe(nil)); end - # source://mutex_m/0.3.0lib/mutex_m.rb#96 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#86 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def locked?; end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#62 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#62 def pool; end # Returns the value of attribute role. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#8 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 def role; end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#12 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#12 def schema_reflection; end # Sets the attribute schema_reflection # # @param value the value to set the attribute schema_reflection to. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#9 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#9 def schema_reflection=(_arg0); end # Returns the value of attribute shard. # - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#8 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 def shard; end - # source://mutex_m/0.3.0lib/mutex_m.rb#81 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def synchronize(&block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#91 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def try_lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#101 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def unlock; end class << self - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#20 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#20 def discard_pools!; end - # source://activerecord/lib/active_record/connection_adapters/pool_config.rb#24 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#24 def disconnect_all!; end end end -# source://activerecord/lib/active_record/connection_adapters/pool_config.rb#16 +# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#16 ActiveRecord::ConnectionAdapters::PoolConfig::INSTANCES = T.let(T.unsafe(nil), ObjectSpace::WeakMap) -# source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#5 +# source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#5 class ActiveRecord::ConnectionAdapters::PoolManager # @return [PoolManager] a new instance of PoolManager # - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#6 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#6 def initialize; end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#26 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#26 def each_pool_config(role = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#44 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#44 def get_pool_config(role, shard); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#18 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#18 def pool_configs(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#40 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#40 def remove_pool_config(role, shard); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#36 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#36 def remove_role(role); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#14 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#14 def role_names; end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#48 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#48 def set_pool_config(role, shard, pool_config); end - # source://activerecord/lib/active_record/connection_adapters/pool_manager.rb#10 + # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#10 def shard_names; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def name=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def new(*_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#7 +# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#7 module ActiveRecord::ConnectionAdapters::QueryCache - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#55 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#55 def initialize(*_arg0); end # Enable the query cache within the block. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#63 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#63 def cache; end # Clears the query cache. @@ -13839,31 +13841,31 @@ module ActiveRecord::ConnectionAdapters::QueryCache # the same SQL query and repeatedly return the same result each time, silently # undermining the randomness you were expecting. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#94 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#94 def clear_query_cache; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#75 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#75 def disable_query_cache!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#71 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#71 def enable_query_cache!; end # Returns the value of attribute query_cache. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#53 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#53 def query_cache; end # Returns the value of attribute query_cache_enabled. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#53 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#53 def query_cache_enabled; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#100 + # source://activerecord//lib/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 # Disable the query cache within the block. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#81 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#81 def uncached; end private @@ -13871,60 +13873,60 @@ module ActiveRecord::ConnectionAdapters::QueryCache # Database adapters can override this method to # provide custom cache information. # - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#171 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#171 def cache_notification_info(sql, name, binds); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#142 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#142 def cache_sql(sql, name, binds); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#182 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#182 def configure_query_cache!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#120 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#120 def lookup_sql_cache(sql, name, binds); end class << self - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#20 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#20 def dirties_query_cache(base, *method_names); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#11 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#11 def included(base); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#32 +# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#32 module ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#33 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#33 def initialize(*_arg0); end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#43 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#43 def disable_query_cache!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#38 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#38 def enable_query_cache!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#48 + # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#48 def query_cache_enabled; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#8 +# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#8 ActiveRecord::ConnectionAdapters::QueryCache::DEFAULT_SIZE = T.let(T.unsafe(nil), Integer) # = Active Record Connection Adapters \Quoting # -# source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#9 +# source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#9 module ActiveRecord::ConnectionAdapters::Quoting # Cast a value to be used as a bound parameter of unknown type. For example, # MySQL might perform dangerous castings when comparing a string to a number, # so this method will cast numbers to string. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#69 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#69 def cast_bound_value(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#180 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#180 def column_name_matcher; end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#184 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#184 def column_name_with_order_matcher; end # If you are having to call this function, you are likely doing something @@ -13937,13 +13939,13 @@ module ActiveRecord::ConnectionAdapters::Quoting # (varchar vs binary) for example. The type used to get this primitive # should have been provided before reaching the connection adapter. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#82 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#82 def lookup_cast_type_from_column(column); end # Quotes the column value to help prevent # {SQL injection attacks}[https://en.wikipedia.org/wiki/SQL_injection]. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#12 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#12 def quote(value); end # Quote a value to be used as a bound parameter of unknown type. For example, @@ -13953,26 +13955,26 @@ module ActiveRecord::ConnectionAdapters::Quoting # Deprecated: Consider `Arel.sql("... ? ...", value)` or # +sanitize_sql+ instead. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#57 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#57 def quote_bound_value(value); end # Quotes the column name. Defaults to no quoting. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#93 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#93 def quote_column_name(column_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#114 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#114 def quote_default_expression(value, column); end # Quotes a string, escaping any ' (single quote) and \ (backslash) # characters. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#88 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#88 def quote_string(s); end # Quotes the table name. Defaults to column name quoting. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#98 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#98 def quote_table_name(table_name); end # Override to return the quoted table name for assignment. Defaults to @@ -13984,52 +13986,52 @@ module ActiveRecord::ConnectionAdapters::Quoting # We override this in the sqlite3 and postgresql adapters to use only # the column name (as per syntax requirements). # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#110 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#110 def quote_table_name_for_assignment(table, attr); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#163 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#163 def quoted_binary(value); end # Quote date/time values for use in SQL input. Includes microseconds # if the value is a Time responding to usec. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#141 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#141 def quoted_date(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#131 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#131 def quoted_false; end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#158 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#158 def quoted_time(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#123 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#123 def quoted_true; end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#167 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#167 def sanitize_as_sql_comment(value); end # Cast a +value+ to a type that the database understands. For example, # SQLite does not understand dates, so this method will convert a Date # to a String. # - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#36 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#36 def type_cast(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#135 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#135 def unquoted_false; end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#127 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#127 def unquoted_true; end private - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#244 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#244 def lookup_cast_type(sql_type); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#234 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#234 def type_casted_binds(binds); end - # source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#248 + # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#248 def warn_quote_duration_deprecated; end end @@ -14039,7 +14041,7 @@ end # "#{table_name}.#{column_name}" # "#{column_name}" # -# source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#193 +# source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#193 ActiveRecord::ConnectionAdapters::Quoting::COLUMN_NAME = T.let(T.unsafe(nil), Regexp) # Regexp for column names with order (with or without a table name prefix, @@ -14054,589 +14056,589 @@ ActiveRecord::ConnectionAdapters::Quoting::COLUMN_NAME = T.let(T.unsafe(nil), Re # "#{column_name} #{direction} NULLS FIRST" # "#{column_name} NULLS LAST" # -# source://activerecord/lib/active_record/connection_adapters/abstract/quoting.rb#217 +# source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#217 ActiveRecord::ConnectionAdapters::Quoting::COLUMN_NAME_WITH_ORDER = T.let(T.unsafe(nil), Regexp) # = Active Record Real \Transaction # -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#368 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#368 class ActiveRecord::ConnectionAdapters::RealTransaction < ::ActiveRecord::ConnectionAdapters::Transaction - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#399 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#399 def commit; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#369 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#369 def materialize!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#379 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#379 def restart; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#393 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#393 def rollback; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#195 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#195 class ActiveRecord::ConnectionAdapters::ReferenceDefinition # @return [ReferenceDefinition] a new instance of ReferenceDefinition # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#196 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#196 def initialize(name, polymorphic: T.unsafe(nil), index: T.unsafe(nil), foreign_key: T.unsafe(nil), type: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#216 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#216 def add(table_name, connection); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#230 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#230 def add_to(table); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#247 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#247 def as_options(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#285 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#285 def column_name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#289 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#289 def column_names; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#277 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#277 def columns; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#251 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#251 def conditional_options; end # Returns the value of attribute foreign_key. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def foreign_key; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#273 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#273 def foreign_key_options; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#293 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#293 def foreign_table_name; end # Returns the value of attribute index. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def index; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#263 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#263 def index_options(table_name); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def name; end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def options; end # Returns the value of attribute polymorphic. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def polymorphic; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#259 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#259 def polymorphic_index_name(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#255 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#255 def polymorphic_options; end # Returns the value of attribute type. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#245 def type; end end # = Active Record Restart Parent \Transaction # -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#295 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#295 class ActiveRecord::ConnectionAdapters::RestartParentTransaction < ::ActiveRecord::ConnectionAdapters::Transaction # @return [RestartParentTransaction] a new instance of RestartParentTransaction # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#296 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#296 def initialize(connection, parent_transaction, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#315 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#315 def commit; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#319 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#319 def full_rollback?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#308 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#308 def materialize!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#308 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#308 def materialized?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#308 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#308 def restart(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#310 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#310 def rollback; end end # = Active Record Savepoint \Transaction # -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#323 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#323 class ActiveRecord::ConnectionAdapters::SavepointTransaction < ::ActiveRecord::ConnectionAdapters::Transaction # @return [SavepointTransaction] a new instance of SavepointTransaction # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#324 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#324 def initialize(connection, savepoint_name, parent_transaction, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#358 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#358 def commit; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#364 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#364 def full_rollback?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#336 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#336 def materialize!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#341 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#341 def restart; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#350 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#350 def rollback; end end # = Active Record Connection Adapters \Savepoints # -# source://activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb#6 +# source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#6 module ActiveRecord::ConnectionAdapters::Savepoints - # source://activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb#11 + # source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#11 def create_savepoint(name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb#7 + # source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#7 def current_savepoint_name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb#15 + # source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#15 def exec_rollback_to_savepoint(name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb#19 + # source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#19 def release_savepoint(name = T.unsafe(nil)); end end # = Active Record Connection Adapters Schema Cache # -# source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#221 +# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#221 class ActiveRecord::ConnectionAdapters::SchemaCache # @return [SchemaCache] a new instance of SchemaCache # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#261 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#261 def initialize; end # Add internal cache for table with +table_name+. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#325 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#325 def add(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#398 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#398 def add_all(connection); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#303 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#303 def cached?(table_name); end # Clear out internal caches for the data source +name+. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#390 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#390 def clear_data_source_cache!(_connection, name); end # Get the columns for a table # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#340 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#340 def columns(connection, table_name); end # Get the columns for a table as a hash, key is the column name # value is the column object. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#352 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#352 def columns_hash(connection, table_name); end # Checks whether the columns hash is already cached for a table. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#359 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#359 def columns_hash?(connection, table_name); end # A cached lookup for table existence. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#316 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#316 def data_source_exists?(connection, name); end - # source://activesupport/7.1.5.1lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#334 def data_sources(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#373 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#373 def database_version(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#407 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#407 def dump_to(filename); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#280 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#280 def encode_with(coder); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#363 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#363 def indexes(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#289 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#289 def init_with(coder); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#417 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#417 def marshal_dump; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#421 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#421 def marshal_load(array); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#307 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#307 def primary_keys(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#381 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#381 def schema_version; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#385 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#385 def size; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#377 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#377 def version(connection); end private - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#449 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#449 def deep_deduplicate(value); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#441 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#441 def derive_columns_hash_and_deduplicate_values; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#435 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#435 def ignored_table?(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#271 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#271 def initialize_dup(other); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#468 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#468 def open(filename); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#462 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#462 def prepare_data_sources(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#429 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#429 def tables_to_cache(connection); end class << self - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#234 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#234 def _load_from(filename); end - # source://activesupport/7.1.5.1lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#228 def load_from(*args, **_arg1, &block); end - # source://activesupport/7.1.5.1lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#223 def new(*args, **_arg1, &block); end private - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#250 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#250 def read(filename, &block); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#5 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#5 class ActiveRecord::ConnectionAdapters::SchemaCreation # @return [SchemaCreation] a new instance of SchemaCreation # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#6 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#6 def initialize(conn); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#11 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#11 def accept(o); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#176 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#176 def action_sql(action, dependency); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#151 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#151 def add_column_options!(sql, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#142 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#142 def add_table_options!(create_sql, o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#147 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#147 def column_options(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def options_include_default?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def quote_column_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def quote_default_expression(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def quote_table_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#134 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#134 def quoted_columns(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def quoted_columns_for_index(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_check_constraints?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_exclusion_constraints?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_index_include?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#138 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#138 def supports_index_using?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_indexes_in_create?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_nulls_not_distinct?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_partial_index?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def supports_unique_constraints?(*_arg0, **_arg1, &_arg2); end # Returns any SQL string to go between CREATE and TABLE. May be nil. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#172 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#172 def table_modifier_in_create(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#166 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#166 def to_sql(sql); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def type_to_sql(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 def use_foreign_keys?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#126 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#126 def visit_AddCheckConstraint(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#40 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#40 def visit_AddColumnDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#95 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#95 def visit_AddForeignKey(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#24 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#24 def visit_AlterTable(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#122 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#122 def visit_CheckConstraintDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#33 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#33 def visit_ColumnDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#103 def visit_CreateIndexDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#130 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#130 def visit_DropCheckConstraint(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#99 def visit_DropForeignKey(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#82 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#82 def visit_ForeignKeyDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#78 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#78 def visit_PrimaryKeyDefinition(o); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb#44 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#44 def visit_TableDefinition(o); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#5 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#5 class ActiveRecord::ConnectionAdapters::SchemaDumper < ::ActiveRecord::SchemaDumper private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#13 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#13 def column_spec(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#17 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#17 def column_spec_for_primary_key(column); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#38 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#38 def default_primary_key?(column); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#42 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#42 def explicit_primary_key_default?(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#25 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#25 def prepare_column_options(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#101 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#101 def schema_collation(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#86 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#86 def schema_default(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#97 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#97 def schema_expression(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#62 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#62 def schema_limit(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#67 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#67 def schema_precision(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#82 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#82 def schema_scale(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#54 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#54 def schema_type(column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#46 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#46 def schema_type_with_virtual(column); end class << self - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#8 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#8 def create(connection, options); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb#6 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#6 ActiveRecord::ConnectionAdapters::SchemaDumper::DEFAULT_DATETIME_PRECISION = T.let(T.unsafe(nil), Integer) -# source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#7 +# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#7 class ActiveRecord::ConnectionAdapters::SchemaReflection # @return [SchemaReflection] a new instance of SchemaReflection # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#16 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#16 def initialize(cache_path, cache = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#45 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#45 def add(connection, name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#87 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#87 def cached?(table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#25 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#25 def clear!; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#81 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#81 def clear_data_source_cache!(connection, name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#53 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#53 def columns(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#57 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#57 def columns_hash(connection, table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#61 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#61 def columns_hash?(connection, table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#41 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#41 def data_source_exists?(connection, name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#49 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#49 def data_sources(connection, name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#69 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#69 def database_version(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#99 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#99 def dump_to(connection, filename); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#65 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#65 def indexes(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#31 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#31 def load!(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#37 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#37 def primary_keys(connection, table_name); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#21 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#21 def set_schema_cache(cache); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#77 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#77 def size(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#73 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#73 def version(connection); end private - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#114 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#114 def cache(connection); end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#108 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#108 def empty_cache; end - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#124 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#124 def load_cache(connection); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#118 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#118 def possible_cache_available?; end class << self # Returns the value of attribute check_schema_cache_dump_version. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#10 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#10 def check_schema_cache_dump_version; end # Sets the attribute check_schema_cache_dump_version # # @param value the value to set the attribute check_schema_cache_dump_version to. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#10 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#10 def check_schema_cache_dump_version=(_arg0); end # Returns the value of attribute use_schema_cache_dump. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#9 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#9 def use_schema_cache_dump; end # Sets the attribute use_schema_cache_dump # # @param value the value to set the attribute use_schema_cache_dump to. # - # source://activerecord/lib/active_record/connection_adapters/schema_cache.rb#9 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#9 def use_schema_cache_dump=(_arg0); end end end -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#8 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#8 module ActiveRecord::ConnectionAdapters::SchemaStatements include ::ActiveRecord::Migration::JoinTable @@ -14687,7 +14689,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # add_reference(:products, :supplier, foreign_key: { to_table: :firms }) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1034 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1037 def add_belongs_to(table_name, ref_name, **options); end # Adds a new check constraint to the table. +expression+ is a String @@ -14707,7 +14709,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # [:validate] # (PostgreSQL only) Specify whether or not the constraint should be validated. Defaults to +true+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1264 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1264 def add_check_constraint(table_name, expression, if_not_exists: T.unsafe(nil), **options); end # Add a new +type+ column named +column_name+ to +table_name+. @@ -14800,10 +14802,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # Ignores the method call if the column exists # add_column(:shapes, :triangle, 'polygon', if_not_exists: true) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#620 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#620 def add_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#627 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#627 def add_columns(table_name, *column_names, type:, **options); end # Adds a new foreign key. +from_table+ is the table with the key column, @@ -14873,7 +14875,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # (PostgreSQL only) Specify whether or not the foreign key should be deferrable. Valid values are booleans or # +:deferred+ or +:immediate+ to specify the default behavior. Defaults to +false+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1144 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1144 def add_foreign_key(from_table, to_table, **options); end # Adds a new index to the table. +column_name+ can be a single Symbol, or @@ -15009,10 +15011,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # For more information see the {"Transactional Migrations" section}[rdoc-ref:Migration]. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#886 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#886 def add_index(table_name, column_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1440 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1440 def add_index_options(table_name, column_name, name: T.unsafe(nil), if_not_exists: T.unsafe(nil), internal: T.unsafe(nil), **options); end # Adds a reference. The reference column is a bigint by default, @@ -15062,7 +15064,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # add_reference(:products, :supplier, foreign_key: { to_table: :firms }) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1034 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1034 def add_reference(table_name, ref_name, **options); end # Adds timestamps (+created_at+ and +updated_at+) columns to +table_name+. @@ -15070,10 +15072,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # add_timestamps(:suppliers, null: true) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1423 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1423 def add_timestamps(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1329 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1329 def assume_migrated_upto_version(version); end # Builds an AlterTable object for adding a column to a table. @@ -15082,7 +15084,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # if the same arguments were passed to #add_column. See #add_column for information about # passing a +table_name+, +column_name+, +type+ and other options that can be passed. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#638 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#638 def build_add_column_definition(table_name, column_name, type, **options); end # Builds a ChangeColumnDefaultDefinition object. @@ -15093,7 +15095,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#722 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#722 def build_change_column_default_definition(table_name, column_name, default_or_changes); end # Builds a CreateIndexDefinition object. @@ -15102,7 +15104,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # if the same arguments were passed to #add_index. See #add_index for information about # passing a +table_name+, +column_name+, and other additional options that can be passed. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#896 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#896 def build_create_index_definition(table_name, column_name, **options); end # Builds a TableDefinition object for a join table. @@ -15111,7 +15113,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # if the same arguments were passed to #create_join_table. See #create_join_table for # information about what arguments should be passed. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#394 + # source://activerecord//lib/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 # Returns a TableDefinition object containing information about the table that would be created @@ -15120,10 +15122,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @yield [table_definition] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#328 + # source://activerecord//lib/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/lib/active_record/connection_adapters/abstract/schema_statements.rb#1519 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1519 def bulk_change_table(table_name, operations); end # Changes the column's definition according to the new options. @@ -15134,7 +15136,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#695 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#695 def change_column(table_name, column_name, type, **options); end # Changes the comment for a column or removes it if +nil+. @@ -15146,7 +15148,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1501 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1501 def change_column_comment(table_name, column_name, comment_or_changes); end # Sets a new default value for a column: @@ -15165,7 +15167,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#713 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#713 def change_column_default(table_name, column_name, default_or_changes); end # Sets or removes a NOT NULL constraint on a column. The +null+ flag @@ -15187,7 +15189,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#742 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#742 def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end # A block for changing columns in +table+. @@ -15269,7 +15271,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # See also Table for details on all of the various column transformations. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#496 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#496 def change_table(table_name, base = T.unsafe(nil), **options); end # Changes the comment for a table or removes it if +nil+. @@ -15281,7 +15283,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1491 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1491 def change_table_comment(table_name, comment_or_changes); end # Checks to see if a check constraint exists on a table for a given check constraint definition. @@ -15290,10 +15292,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1313 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1313 def check_constraint_exists?(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1276 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1276 def check_constraint_options(table_name, expression, options); end # Returns an array of check constraints for the given table. @@ -15301,7 +15303,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1244 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1244 def check_constraints(table_name); end # Checks to see if a column exists in a given table. @@ -15323,12 +15325,12 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#132 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#132 def column_exists?(table_name, column_name, type = T.unsafe(nil), **options); end # Returns an array of +Column+ objects for the table specified by +table_name+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#107 def columns(table_name); end # Given a set of columns and an ORDER BY clause, returns the columns for a SELECT DISTINCT. @@ -15337,7 +15339,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # columns_for_distinct("posts.id", ["posts.created_at desc"]) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1389 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1389 def columns_for_distinct(columns, orders); end # Creates a new join table with the name created using the lexical order of the first two @@ -15378,10 +15380,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # part_id bigint NOT NULL, # ) ENGINE=InnoDB DEFAULT CHARSET=utf8 # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#375 + # source://activerecord//lib/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/lib/active_record/connection_adapters/abstract/schema_statements.rb#1505 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1505 def create_schema_dumper(options); end # Creates a new table with the name +table_name+. +table_name+ may either @@ -15527,7 +15529,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # See also TableDefinition#column for details on how to create columns. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#293 + # source://activerecord//lib/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 # Checks to see if the data source +name+ exists on the database. @@ -15536,16 +15538,16 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#44 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#44 def data_source_exists?(name); end # Returns the relation names usable to back Active Record models. # For most adapters this means all #tables and #views. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#34 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#34 def data_sources; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1393 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1393 def distinct_relation_for_primary_key(relation); end # Drops the join table specified by the given arguments. @@ -15555,7 +15557,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # to provide one in a migration's +change+ method so it can be reverted. # In that case, the block will be used by #create_join_table. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#413 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#413 def drop_join_table(table_1, table_2, **options); end # Drops a table from the database. @@ -15571,13 +15573,13 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # it can be helpful to provide these in a migration's +change+ method so it can be reverted. # In that case, +options+ and the block will be used by #create_table. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#526 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#526 def drop_table(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1320 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1320 def dump_schema_information; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1212 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1212 def foreign_key_column_for(table_name, column_name); end # Checks to see if a foreign key exists on a table for a given foreign key definition. @@ -15593,10 +15595,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1208 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1208 def foreign_key_exists?(from_table, to_table = T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1217 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1217 def foreign_key_options(from_table, to_table, options); end # Returns an array of foreign keys for the given table. @@ -15604,10 +15606,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1074 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1074 def foreign_keys(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1468 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1468 def index_algorithm(algorithm); end # Checks to see if an index exists on a table for a given index definition. @@ -15629,52 +15631,52 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#102 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#102 def index_exists?(table_name, column_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#963 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#963 def index_name(table_name, options); end # Verifies the existence of an index with a given name. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#982 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#982 def index_name_exists?(table_name, index_name); end # Returns an array of indexes for the given table. # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#81 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#81 def indexes(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1325 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1325 def internal_string_options_for_primary_key; end # Returns the maximum length of an index name in bytes. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1557 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1557 def max_index_name_size; end # Returns a hash of mappings from the abstract data types to the native # database types. See TableDefinition#column for details on the recognized # abstract data types. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#14 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#14 def native_database_types; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1481 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1481 def options_include_default?(options); end # Returns just a table's primary key # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#145 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#145 def primary_key(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1474 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1474 def quoted_columns_for_index(column_names, options); end # Removes the reference(s). Also removes a +type+ column if one exists. @@ -15691,7 +15693,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_reference(:products, :user, foreign_key: true) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1053 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1070 def remove_belongs_to(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end # Removes the given check constraint from the table. Removing a check constraint @@ -15708,7 +15710,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # to provide this in a migration's +change+ method so it can be reverted. # In that case, +expression+ will be used by #add_check_constraint. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1295 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1295 def remove_check_constraint(table_name, expression = T.unsafe(nil), if_exists: T.unsafe(nil), **options); end # Removes the column from the table definition. @@ -15727,7 +15729,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_column(:suppliers, :qualification, if_exists: true) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#683 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#683 def remove_column(table_name, column_name, type = T.unsafe(nil), **options); end # Removes the given columns from the table definition. @@ -15738,7 +15740,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_columns(:suppliers, :qualification, :experience, type: :string, null: false) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#659 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#659 def remove_columns(table_name, *column_names, type: T.unsafe(nil), **options); end # Removes the given foreign key from the table. Any option parameters provided @@ -15772,7 +15774,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # [:to_table] # The name of the table that contains the referenced primary key. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1185 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1185 def remove_foreign_key(from_table, to_table = T.unsafe(nil), **options); end # Removes the given index from the table. @@ -15812,7 +15814,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # For more information see the {"Transactional Migrations" section}[rdoc-ref:Migration]. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#937 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#937 def remove_index(table_name, column_name = T.unsafe(nil), **options); end # Removes the reference(s). Also removes a +type+ column if one exists. @@ -15829,14 +15831,14 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_reference(:products, :user, foreign_key: true) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1053 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1053 def remove_reference(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end # Removes the timestamp columns (+created_at+ and +updated_at+) from the table definition. # # remove_timestamps(:suppliers) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1432 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1432 def remove_timestamps(table_name, **options); end # Renames a column. @@ -15845,7 +15847,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#750 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#750 def rename_column(table_name, column_name, new_column_name); end # Renames an index. @@ -15854,7 +15856,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # rename_index :people, 'index_people_on_last_name', 'index_users_on_last_name' # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#951 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#951 def rename_index(table_name, old_name, new_name); end # Renames a table. @@ -15863,23 +15865,23 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#510 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#510 def rename_table(table_name, new_name, **_arg2); end # Returns an instance of SchemaCreation, which can be used to visit a schema definition # object and return DDL. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1515 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1515 def schema_creation; end # Truncates a table alias according to the limits of the current adapter. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#28 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#28 def table_alias_for(table_name); end # Returns the table comment that's stored in database metadata. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#23 def table_comment(table_name); end # Checks to see if the table +table_name+ exists on the database. @@ -15888,35 +15890,35 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#59 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#59 def table_exists?(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#18 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#18 def table_options(table_name); end # Returns an array of table names defined in the database. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#51 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#51 def tables; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1349 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1349 def type_to_sql(type, limit: T.unsafe(nil), precision: T.unsafe(nil), scale: T.unsafe(nil), **_arg4); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1436 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1436 def update_table_definition(table_name, base); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1509 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1509 def use_foreign_keys?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1548 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1548 def valid_column_definition_options; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1552 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1552 def valid_primary_key_options; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1544 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1544 def valid_table_definition_options; end # Checks to see if the view +view_name+ exists on the database. @@ -15925,204 +15927,204 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#74 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#74 def view_exists?(view_name); end # Returns an array of view names defined in the database. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#66 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#66 def views; end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1801 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1801 def add_column_for_alter(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1586 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1586 def add_index_sort_order(quoted_columns, **options); end # Overridden by the MySQL adapter for supporting index lengths and by # the PostgreSQL adapter for supporting operator classes. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1603 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1603 def add_options_for_index_columns(quoted_columns, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1824 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1824 def add_timestamps_for_alter(table_name, **options); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1793 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1793 def can_remove_index_by_name?(column_name, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1807 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1807 def change_column_default_for_alter(table_name, column_name, default_or_changes); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1761 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1761 def check_constraint_for(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1767 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1767 def check_constraint_for!(table_name, expression: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1751 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1751 def check_constraint_name(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1582 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1582 def column_options_keys; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1669 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1669 def create_alter_table(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1665 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1665 def create_table_definition(name, **options); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1854 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1854 def data_source_sql(name = T.unsafe(nil), type: T.unsafe(nil)); end # Try to identify whether the given column name is an expression # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1709 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1709 def expression_column_name?(column_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1739 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1739 def extract_foreign_key_action(specifier); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1784 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1791 def extract_new_comment_value(default_or_changes); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1784 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1784 def extract_new_default_value(default_or_changes); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1681 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1681 def fetch_type_metadata(sql_type); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1729 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1729 def foreign_key_for(from_table, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1734 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1734 def foreign_key_for!(from_table, to_table: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1719 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1719 def foreign_key_name(table_name, options); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1747 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1747 def foreign_keys_enabled?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1562 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1562 def generate_index_name(table_name, column); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1692 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1692 def index_column_names(column_names); end # @raise [ArgumentError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1611 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1611 def index_name_for_remove(table_name, column_name, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1700 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1700 def index_name_options(column_names); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1841 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1841 def insert_versions_sql(versions); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1593 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1593 def options_for_index_columns(options); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1858 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1858 def quoted_scope(name = T.unsafe(nil), type: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1797 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1797 def reference_name_for_table(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1816 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1816 def remove_column_for_alter(table_name, column_name, type = T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1820 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1820 def remove_columns_for_alter(table_name, *column_names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1837 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1837 def remove_timestamps_for_alter(table_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1652 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1652 def rename_column_indexes(table_name, column_name, new_column_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1812 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1812 def rename_column_sql(table_name, column_name, new_column_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1643 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1643 def rename_table_indexes(table_name, new_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1713 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1713 def strip_table_name_prefix_and_suffix(table_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1576 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1576 def validate_change_column_null_argument!(value); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1673 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1673 def validate_create_table_options!(options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1772 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1772 def validate_index_length!(table_name, new_name, internal = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#1778 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1778 def validate_table_length!(table_name); end end -# source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#6 +# source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#6 class ActiveRecord::ConnectionAdapters::SqlTypeMetadata include ::ActiveRecord::ConnectionAdapters::Deduplicable extend ::ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods # @return [SqlTypeMetadata] a new instance of SqlTypeMetadata # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#11 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#11 def initialize(sql_type: T.unsafe(nil), type: T.unsafe(nil), limit: T.unsafe(nil), precision: T.unsafe(nil), scale: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#19 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#19 def ==(other); end - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#19 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#27 def eql?(other); end - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#29 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#29 def hash; end # Returns the value of attribute limit. # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#9 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#9 def limit; end # Returns the value of attribute precision. # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#9 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#9 def precision; end # Returns the value of attribute scale. # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#9 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#9 def scale; end # Returns the value of attribute sql_type. # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#9 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#9 def sql_type; end # Returns the value of attribute type. # - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#9 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#9 def type; end private - # source://activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb#39 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#39 def deduplicated; end end @@ -16172,14 +16174,14 @@ end # t.remove_timestamps # end # -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#706 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#706 class ActiveRecord::ConnectionAdapters::Table include ::ActiveRecord::ConnectionAdapters::ColumnMethods extend ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods # @return [Table] a new instance of Table # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#711 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#711 def initialize(table_name, base); end # Adds a reference. @@ -16189,19 +16191,19 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#862 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#868 def belongs_to(*args, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def bigint(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def binary(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#324 def blob(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def boolean(*names, **options); end # Changes the column's definition according to the new options. @@ -16211,7 +16213,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See TableDefinition#column for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#788 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#788 def change(column_name, type, **options); end # Sets a new default value for a column. @@ -16222,7 +16224,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.change_column_default}[rdoc-ref:SchemaStatements#change_column_default] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#800 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#800 def change_default(column_name, default_or_changes); end # Sets or removes a NOT NULL constraint on a column. @@ -16232,7 +16234,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.change_column_null}[rdoc-ref:SchemaStatements#change_column_null] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#810 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#810 def change_null(column_name, null, default = T.unsafe(nil)); end # Adds a check constraint. @@ -16241,7 +16243,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_check_constraint}[rdoc-ref:SchemaStatements#add_check_constraint] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#920 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#920 def check_constraint(*args, **options); end # Checks if a check_constraint exists on a table. @@ -16254,7 +16256,7 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#940 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#940 def check_constraint_exists?(*args, **options); end # Adds a new column to the named table. @@ -16263,7 +16265,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See TableDefinition#column for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#721 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#721 def column(column_name, type, index: T.unsafe(nil), **options); end # Checks to see if a column exists. @@ -16274,19 +16276,19 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#735 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#735 def column_exists?(column_name, type = T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def date(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def datetime(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def decimal(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def float(*names, **options); end # Adds a foreign key to the table using a supplied table name. @@ -16296,7 +16298,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_foreign_key}[rdoc-ref:SchemaStatements#add_foreign_key] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#890 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#890 def foreign_key(*args, **options); end # Checks to see if a foreign key exists. @@ -16307,7 +16309,7 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#911 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#911 def foreign_key_exists?(*args, **options); end # Adds a new index to the table. +column_name+ can be a single Symbol, or @@ -16319,7 +16321,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_index}[rdoc-ref:SchemaStatements#add_index] for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#747 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#747 def index(column_name, **options); end # Checks to see if an index exists. @@ -16332,21 +16334,21 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#759 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#759 def index_exists?(column_name, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def integer(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def json(*names, **options); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#709 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#709 def name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#325 def numeric(*names, **options); end # Adds a reference. @@ -16356,7 +16358,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#862 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#862 def references(*args, **options); end # Removes the column(s) from the table definition. @@ -16366,7 +16368,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_columns}[rdoc-ref:SchemaStatements#remove_columns] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#820 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#820 def remove(*column_names, **options); end # Removes a reference. Optionally removes a +type+ column. @@ -16376,7 +16378,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#876 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#882 def remove_belongs_to(*args, **options); end # Removes the given check constraint from the table. @@ -16385,7 +16387,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_check_constraint}[rdoc-ref:SchemaStatements#remove_check_constraint] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#929 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#929 def remove_check_constraint(*args, **options); end # Removes the given foreign key from the table. @@ -16395,7 +16397,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_foreign_key}[rdoc-ref:SchemaStatements#remove_foreign_key] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#901 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#901 def remove_foreign_key(*args, **options); end # Removes the given index from the table. @@ -16407,7 +16409,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_index}[rdoc-ref:SchemaStatements#remove_index] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#833 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#833 def remove_index(column_name = T.unsafe(nil), **options); end # Removes a reference. Optionally removes a +type+ column. @@ -16417,7 +16419,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#876 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#876 def remove_references(*args, **options); end # Removes the timestamp columns (+created_at+ and +updated_at+) from the table. @@ -16426,7 +16428,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_timestamps}[rdoc-ref:SchemaStatements#remove_timestamps] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#843 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#843 def remove_timestamps(**options); end # Renames a column. @@ -16435,7 +16437,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.rename_column}[rdoc-ref:SchemaStatements#rename_column] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#852 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#852 def rename(column_name, new_column_name); end # Renames the given index on the table. @@ -16444,19 +16446,19 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.rename_index}[rdoc-ref:SchemaStatements#rename_index] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#768 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#768 def rename_index(index_name, new_index_name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def string(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def text(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def time(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def timestamp(*names, **options); end # Adds timestamps (+created_at+ and +updated_at+) columns to the table. @@ -16465,15 +16467,15 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_timestamps}[rdoc-ref:SchemaStatements#add_timestamps] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#777 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#777 def timestamps(**options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def virtual(*names, **options); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#945 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#945 def raise_on_if_exist_options(options); end end @@ -16497,24 +16499,24 @@ end # end # end # -# source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#363 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#363 class ActiveRecord::ConnectionAdapters::TableDefinition include ::ActiveRecord::ConnectionAdapters::ColumnMethods extend ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods # @return [TableDefinition] a new instance of TableDefinition # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#368 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#368 def initialize(conn, name, temporary: T.unsafe(nil), if_not_exists: T.unsafe(nil), options: T.unsafe(nil), as: T.unsafe(nil), comment: T.unsafe(nil), **_arg7); end # Returns a ColumnDefinition for the column with name +name+. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#418 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#418 def [](name); end # Returns the value of attribute as. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def as; end # Adds a reference. @@ -16525,27 +16527,27 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#548 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#553 def belongs_to(*args, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def bigint(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def binary(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#324 def blob(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def boolean(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#522 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#522 def check_constraint(expression, **options); end # Returns the value of attribute check_constraints. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def check_constraints; end # Instantiates a new column for the table. @@ -16616,42 +16618,42 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # t.references :taggable, polymorphic: { default: 'Photo' }, index: false # end # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#489 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#489 def column(name, type, index: T.unsafe(nil), **options); end # Returns an array of ColumnDefinition objects for the columns of the table. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#415 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#415 def columns; end # Returns the value of attribute comment. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def comment; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def date(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def datetime(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def decimal(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def float(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#518 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#518 def foreign_key(to_table, **options); end # Returns the value of attribute foreign_keys. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def foreign_keys; end # Returns the value of attribute if_not_exists. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def if_not_exists; end # Adds index options to the indexes hash, keyed by column name @@ -16659,43 +16661,43 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # index(:account_id, name: 'index_projects_on_account_id') # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#514 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#514 def index(column_name, **options); end # Returns the value of attribute indexes. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def indexes; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def integer(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def json(*names, **options); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def name; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#580 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#580 def new_check_constraint_definition(expression, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#555 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#555 def new_column_definition(name, type, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#572 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#572 def new_foreign_key_definition(to_table, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#325 def numeric(*names, **options); end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def options; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#409 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#409 def primary_keys(name = T.unsafe(nil)); end # Adds a reference. @@ -16706,33 +16708,33 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#548 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#548 def references(*args, **options); end # remove the column +name+ from the table. # remove_column(:account_id) # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#506 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#506 def remove_column(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#392 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#392 def set_primary_key(table_name, id, primary_key, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def string(*names, **options); end # Returns the value of attribute temporary. # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def temporary; end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def text(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def time(*names, **options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def timestamp(*names, **options); end # Appends :datetime columns :created_at and @@ -16740,107 +16742,107 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # t.timestamps null: false # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#530 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#530 def timestamps(**options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def virtual(*names, **options); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#598 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#598 def aliased_types(name, fallback); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#590 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#590 def create_column_definition(name, type, options); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#602 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#602 def integer_like_primary_key?(type, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#606 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#606 def integer_like_primary_key_type(type, options); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#610 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#610 def raise_on_duplicate_column(name); end - # source://activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb#586 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#586 def valid_column_definition_options; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#120 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#120 class ActiveRecord::ConnectionAdapters::Transaction # @return [Transaction] a new instance of Transaction # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#126 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#126 def initialize(connection, isolation: T.unsafe(nil), joinable: T.unsafe(nil), run_commit_callbacks: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#147 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#147 def add_record(record, ensure_finalize = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#208 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#208 def before_commit_records; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#251 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#251 def closed?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#228 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#228 def commit_records; end # Returns the value of attribute connection. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#121 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#121 def connection; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#139 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#139 def dirty!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#143 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#143 def dirty?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#249 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#249 def full_rollback?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#171 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#171 def incomplete!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#124 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#124 def invalidate!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#124 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#124 def invalidated?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute isolation_level. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#121 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#121 def isolation_level; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#250 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#250 def joinable?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#175 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#175 def materialize!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#180 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#180 def materialized?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#252 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#252 def open?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#157 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#157 def records; end # Can this transaction's current state be recreated by @@ -16848,237 +16850,237 @@ class ActiveRecord::ConnectionAdapters::Transaction # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#167 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#167 def restartable?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#184 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#184 def restore!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#192 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#192 def rollback_records; end # Returns the value of attribute savepoint_name. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#121 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#121 def savepoint_name; end # Returns the value of attribute state. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#121 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#121 def state; end # Returns the value of attribute written. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#122 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#122 def written; end # Sets the attribute written # # @param value the value to set the attribute written to. # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#122 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#122 def written=(_arg0); end private - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#267 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#267 def prepare_instances_to_run_callbacks_on(records); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#259 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#259 def run_action_on_records(records, instances_to_run_callbacks_on); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#255 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#255 def unique_records; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#77 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#77 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter # @return [TransactionInstrumenter] a new instance of TransactionInstrumenter # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#78 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#78 def initialize(payload = T.unsafe(nil)); end # @raise [InstrumentationNotStartedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#97 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#97 def finish(outcome); end # @raise [InstrumentationAlreadyStartedError] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#88 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#88 def start; end end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#86 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#86 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter::InstrumentationAlreadyStartedError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#85 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#85 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter::InstrumentationNotStartedError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#406 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#406 class ActiveRecord::ConnectionAdapters::TransactionManager # @return [TransactionManager] a new instance of TransactionManager # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#407 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#407 def initialize(connection); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#415 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#415 def begin_transaction(isolation: T.unsafe(nil), joinable: T.unsafe(nil), _lazy: T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#502 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#502 def commit_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#588 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#588 def current_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#470 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#470 def dirty_current_transaction; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#457 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#457 def disable_lazy_transactions!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#462 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#462 def enable_lazy_transactions!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#466 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#466 def lazy_transactions_enabled?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#486 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#486 def materialize_transactions; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#584 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#584 def open_transactions; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#482 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#482 def restorable?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#474 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#474 def restore_transactions; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#519 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#519 def rollback_transaction(transaction = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#531 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#531 def within_new_transaction(isolation: T.unsafe(nil), joinable: T.unsafe(nil)); end private # Deallocate invalidated prepared statements outside of the transaction # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#596 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#596 def after_failure_actions(transaction, error); end end -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#593 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#593 ActiveRecord::ConnectionAdapters::TransactionManager::NULL_TRANSACTION = T.let(T.unsafe(nil), ActiveRecord::ConnectionAdapters::NullTransaction) # = Active Record Connection Adapters Transaction State # -# source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#6 +# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#6 class ActiveRecord::ConnectionAdapters::TransactionState # @return [TransactionState] a new instance of TransactionState # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#7 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#7 def initialize(state = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#12 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#12 def add_child(state); end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#64 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#64 def commit!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#21 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#21 def committed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#45 def completed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#17 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#17 def finalized?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#68 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#68 def full_commit!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#54 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#54 def full_rollback!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#25 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#25 def fully_committed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#41 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#41 def fully_completed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#33 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#33 def fully_rolledback?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#59 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#59 def invalidate!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#37 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#37 def invalidated?; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#72 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#72 def nullify!; end - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#49 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#49 def rollback!; end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#29 + # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#29 def rolledback?; end end # ConnectionFailed will be raised when the network connection to the # database fails while sending a query or waiting for its result. # -# source://activerecord/lib/active_record/errors.rb#555 +# source://activerecord//lib/active_record/errors.rb#555 class ActiveRecord::ConnectionFailed < ::ActiveRecord::QueryAborted; end # = Active Record Connection Handling # -# source://activerecord/lib/active_record/connection_handling.rb#5 +# source://activerecord//lib/active_record/connection_handling.rb#5 module ActiveRecord::ConnectionHandling - # source://activerecord/lib/active_record/connection_handling.rb#319 + # source://activerecord//lib/active_record/connection_handling.rb#319 def clear_active_connections!(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_handling.rb#329 + # source://activerecord//lib/active_record/connection_handling.rb#329 def clear_all_connections!(role = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_handling.rb#315 + # source://activerecord//lib/active_record/connection_handling.rb#315 def clear_cache!; end # Clears the query cache for all connections associated with the current thread. # - # source://activerecord/lib/active_record/connection_handling.rb#244 + # source://activerecord//lib/active_record/connection_handling.rb#244 def clear_query_caches_for_current_thread; end - # source://activerecord/lib/active_record/connection_handling.rb#324 + # source://activerecord//lib/active_record/connection_handling.rb#324 def clear_reloadable_connections!(role = T.unsafe(nil)); end # Returns +true+ if Active Record is connected. # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_handling.rb#291 + # source://activerecord//lib/active_record/connection_handling.rb#291 def connected?; end # Connects to a role (e.g. writing, reading, or a custom role) and/or @@ -17108,7 +17110,7 @@ module ActiveRecord::ConnectionHandling # Dog.first # finds first Dog record stored on the shard one replica # end # - # source://activerecord/lib/active_record/connection_handling.rb#134 + # source://activerecord//lib/active_record/connection_handling.rb#134 def connected_to(role: T.unsafe(nil), shard: T.unsafe(nil), prevent_writes: T.unsafe(nil), &blk); end # Returns true if role is the current connected role and/or @@ -17128,7 +17130,7 @@ module ActiveRecord::ConnectionHandling # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_handling.rb#239 + # source://activerecord//lib/active_record/connection_handling.rb#239 def connected_to?(role:, shard: T.unsafe(nil)); end # Connects a role and/or shard to the provided connection names. Optionally +prevent_writes+ @@ -17145,7 +17147,7 @@ module ActiveRecord::ConnectionHandling # Person.first # Read from primary writer # end # - # source://activerecord/lib/active_record/connection_handling.rb#163 + # source://activerecord//lib/active_record/connection_handling.rb#163 def connected_to_many(*classes, role:, shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end # Use a specified connection. @@ -17156,14 +17158,14 @@ module ActiveRecord::ConnectionHandling # It is not recommended to use this method in a request since it # does not yield to a block like +connected_to+. # - # source://activerecord/lib/active_record/connection_handling.rb#185 + # source://activerecord//lib/active_record/connection_handling.rb#185 def connecting_to(role: T.unsafe(nil), shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end # Returns the connection currently associated with the class. This can # also be used to "borrow" the connection to do database work unrelated # to any of the specific Active Records. # - # source://activerecord/lib/active_record/connection_handling.rb#253 + # source://activerecord//lib/active_record/connection_handling.rb#253 def connection; end # Returns the db_config object from the associated connection: @@ -17174,22 +17176,22 @@ module ActiveRecord::ConnectionHandling # # Use only for reading. # - # source://activerecord/lib/active_record/connection_handling.rb#278 + # source://activerecord//lib/active_record/connection_handling.rb#278 def connection_db_config; end - # source://activerecord/lib/active_record/connection_handling.rb#282 + # source://activerecord//lib/active_record/connection_handling.rb#282 def connection_pool; end # Returns the connection specification name from the current class or its parent. # - # source://activerecord/lib/active_record/connection_handling.rb#260 + # source://activerecord//lib/active_record/connection_handling.rb#260 def connection_specification_name; end # Sets the attribute connection_specification_name # # @param value the value to set the attribute connection_specification_name to. # - # source://activerecord/lib/active_record/connection_handling.rb#257 + # source://activerecord//lib/active_record/connection_handling.rb#257 def connection_specification_name=(_arg0); end # Connects a model to the databases specified. The +database+ keyword @@ -17220,7 +17222,7 @@ module ActiveRecord::ConnectionHandling # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/connection_handling.rb#81 + # source://activerecord//lib/active_record/connection_handling.rb#81 def connects_to(database: T.unsafe(nil), shards: T.unsafe(nil)); end # Establishes the connection to the database. Accepts a hash as input where @@ -17265,15 +17267,15 @@ module ActiveRecord::ConnectionHandling # The exceptions AdapterNotSpecified, AdapterNotFound, and +ArgumentError+ # may be returned on an error. # - # source://activerecord/lib/active_record/connection_handling.rb#50 + # source://activerecord//lib/active_record/connection_handling.rb#50 def establish_connection(config_or_env = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_handling.rb#334 + # source://activerecord//lib/active_record/connection_handling.rb#334 def flush_idle_connections!(role = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/connection_handling.rb#267 + # source://activerecord//lib/active_record/connection_handling.rb#267 def primary_class?; end # Prohibit swapping shards while inside of the passed block. @@ -17283,20 +17285,20 @@ module ActiveRecord::ConnectionHandling # is useful in cases you're using sharding to provide per-request # database isolation. # - # source://activerecord/lib/active_record/connection_handling.rb#197 + # source://activerecord//lib/active_record/connection_handling.rb#197 def prohibit_shard_swapping(enabled = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_handling.rb#295 + # source://activerecord//lib/active_record/connection_handling.rb#295 def remove_connection(name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/connection_handling.rb#286 + # source://activerecord//lib/active_record/connection_handling.rb#286 def retrieve_connection; end # Determine whether or not shard swapping is currently prohibited # # @return [Boolean] # - # source://activerecord/lib/active_record/connection_handling.rb#206 + # source://activerecord//lib/active_record/connection_handling.rb#206 def shard_swapping_prohibited?; end # Prevent writing to the database regardless of role. @@ -17311,42 +17313,42 @@ module ActiveRecord::ConnectionHandling # See +READ_QUERY+ for the queries that are blocked by this # method. # - # source://activerecord/lib/active_record/connection_handling.rb#221 + # source://activerecord//lib/active_record/connection_handling.rb#221 def while_preventing_writes(enabled = T.unsafe(nil), &block); end private - # source://activerecord/lib/active_record/connection_handling.rb#368 + # source://activerecord//lib/active_record/connection_handling.rb#368 def append_to_connected_to_stack(entry); end - # source://activerecord/lib/active_record/connection_handling.rb#340 + # source://activerecord//lib/active_record/connection_handling.rb#340 def deprecation_for_delegation(method); end - # source://activerecord/lib/active_record/connection_handling.rb#348 + # source://activerecord//lib/active_record/connection_handling.rb#348 def resolve_config_for_connection(config_or_env); end - # source://activerecord/lib/active_record/connection_handling.rb#357 + # source://activerecord//lib/active_record/connection_handling.rb#357 def with_role_and_shard(role, shard, prevent_writes); end end -# source://activerecord/lib/active_record/connection_handling.rb#7 +# source://activerecord//lib/active_record/connection_handling.rb#7 ActiveRecord::ConnectionHandling::DEFAULT_ENV = T.let(T.unsafe(nil), Proc) -# source://activerecord/lib/active_record/connection_handling.rb#6 +# source://activerecord//lib/active_record/connection_handling.rb#6 ActiveRecord::ConnectionHandling::RAILS_ENV = T.let(T.unsafe(nil), Proc) # Raised when connection to the database could not been established (for example when # {ActiveRecord::Base.connection=}[rdoc-ref:ConnectionHandling#connection] # is given a +nil+ object). # -# source://activerecord/lib/active_record/errors.rb#71 +# source://activerecord//lib/active_record/errors.rb#71 class ActiveRecord::ConnectionNotEstablished < ::ActiveRecord::AdapterError # @return [ConnectionNotEstablished] a new instance of ConnectionNotEstablished # - # source://activerecord/lib/active_record/errors.rb#72 + # source://activerecord//lib/active_record/errors.rb#72 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activerecord/lib/active_record/errors.rb#76 + # source://activerecord//lib/active_record/errors.rb#76 def set_pool(connection_pool); end end @@ -17354,12 +17356,12 @@ end # acquisition timeout period: because max connections in pool # are in use. # -# source://activerecord/lib/active_record/errors.rb#88 +# source://activerecord//lib/active_record/errors.rb#88 class ActiveRecord::ConnectionTimeoutError < ::ActiveRecord::ConnectionNotEstablished; end # = Active Record \Core # -# source://activerecord/lib/active_record/core.rb#10 +# source://activerecord//lib/active_record/core.rb#10 module ActiveRecord::Core include ::ActiveModel::Access extend ::ActiveSupport::Concern @@ -17380,12 +17382,12 @@ module ActiveRecord::Core # @yield [_self] # @yieldparam _self [ActiveRecord::Core] the object that the method was called on # - # source://activerecord/lib/active_record/core.rb#446 + # source://activerecord//lib/active_record/core.rb#446 def initialize(attributes = T.unsafe(nil)); end # Allows sort on objects # - # source://activerecord/lib/active_record/core.rb#633 + # source://activerecord//lib/active_record/core.rb#633 def <=>(other_object); end # Returns true if +comparison_object+ is the same exact object, or +comparison_object+ @@ -17398,15 +17400,15 @@ module ActiveRecord::Core # Note also that destroying a record preserves its ID in the model instance, so deleted # models are still comparable. # - # source://activerecord/lib/active_record/core.rb#599 + # source://activerecord//lib/active_record/core.rb#599 def ==(comparison_object); end # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#645 + # source://activerecord//lib/active_record/core.rb#645 def blank?; end - # source://activerecord/lib/active_record/core.rb#718 + # source://activerecord//lib/active_record/core.rb#718 def connection_handler; end # Populate +coder+ with attributes about this record that should be @@ -17422,7 +17424,7 @@ module ActiveRecord::Core # Post.new.encode_with(coder) # coder # => {"attributes" => {"id" => nil, ... }} # - # source://activerecord/lib/active_record/core.rb#555 + # source://activerecord//lib/active_record/core.rb#555 def encode_with(coder); end # Returns true if +comparison_object+ is the same exact object, or +comparison_object+ @@ -17435,27 +17437,27 @@ module ActiveRecord::Core # Note also that destroying a record preserves its ID in the model instance, so deleted # models are still comparable. # - # source://activerecord/lib/active_record/core.rb#599 + # source://activerecord//lib/active_record/core.rb#605 def eql?(comparison_object); end # Clone and freeze the attributes hash such that associations are still # accessible, even on destroyed records, but cloned models will not be # frozen. # - # source://activerecord/lib/active_record/core.rb#622 + # source://activerecord//lib/active_record/core.rb#622 def freeze; end # Returns +true+ if the attributes hash has been frozen. # # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#628 + # source://activerecord//lib/active_record/core.rb#628 def frozen?; end # Delegates to id in order to allow two records of the same type and id to work with something like: # [ Person.find(1), Person.find(2), Person.find(3) ] & [ Person.find(1), Person.find(4) ] # => [ Person.find(1) ] # - # source://activerecord/lib/active_record/core.rb#609 + # source://activerecord//lib/active_record/core.rb#609 def hash; end # Initialize an empty model object from +coder+. +coder+ should be @@ -17473,7 +17475,7 @@ module ActiveRecord::Core # post.init_with(coder) # post.title # => 'hello world' # - # source://activerecord/lib/active_record/core.rb#473 + # source://activerecord//lib/active_record/core.rb#473 def init_with(coder, &block); end # Initialize an empty model object from +attributes+. @@ -17483,23 +17485,23 @@ module ActiveRecord::Core # @yield [_self] # @yieldparam _self [ActiveRecord::Core] the object that the method was called on # - # source://activerecord/lib/active_record/core.rb#483 + # source://activerecord//lib/active_record/core.rb#483 def init_with_attributes(attributes, new_record = T.unsafe(nil)); end # Returns the contents of the record as a nicely formatted string. # - # source://activerecord/lib/active_record/core.rb#723 + # source://activerecord//lib/active_record/core.rb#723 def inspect; end # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#641 + # source://activerecord//lib/active_record/core.rb#641 def present?; end # Takes a PP and prettily prints this record to it, allowing you to get a nice result from pp record # when pp is required. # - # source://activerecord/lib/active_record/core.rb#741 + # source://activerecord//lib/active_record/core.rb#741 def pretty_print(pp); end # Marks this record as read only. @@ -17508,14 +17510,14 @@ module ActiveRecord::Core # customer.readonly! # customer.save # Raises an ActiveRecord::ReadOnlyRecord # - # source://activerecord/lib/active_record/core.rb#714 + # source://activerecord//lib/active_record/core.rb#714 def readonly!; end # Returns +true+ if the record is read only. # # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#650 + # source://activerecord//lib/active_record/core.rb#650 def readonly?; end # Sets the record to strict_loading mode. This will raise an error @@ -17548,52 +17550,52 @@ module ActiveRecord::Core # user.comments.first.ratings.to_a # => ActiveRecord::StrictLoadingViolationError # - # source://activerecord/lib/active_record/core.rb#688 + # source://activerecord//lib/active_record/core.rb#688 def strict_loading!(value = T.unsafe(nil), mode: T.unsafe(nil)); end # Returns +true+ if the record is in strict_loading mode. # # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#655 + # source://activerecord//lib/active_record/core.rb#655 def strict_loading?; end # Returns +true+ if the record uses strict_loading with +:all+ mode enabled. # # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#705 + # source://activerecord//lib/active_record/core.rb#705 def strict_loading_all?; end # Returns the value of attribute strict_loading_mode. # - # source://activerecord/lib/active_record/core.rb#697 + # source://activerecord//lib/active_record/core.rb#697 def strict_loading_mode; end # Returns +true+ if the record uses strict_loading with +:n_plus_one_only+ mode enabled. # # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#700 + # source://activerecord//lib/active_record/core.rb#700 def strict_loading_n_plus_one_only?; end private # @return [Boolean] # - # source://activerecord/lib/active_record/core.rb#798 + # source://activerecord//lib/active_record/core.rb#798 def custom_inspect_method_defined?; end - # source://activerecord/lib/active_record/core.rb#777 + # source://activerecord//lib/active_record/core.rb#777 def init_internals; end - # source://activerecord/lib/active_record/core.rb#525 + # source://activerecord//lib/active_record/core.rb#525 def initialize_dup(other); end - # source://activerecord/lib/active_record/core.rb#795 + # source://activerecord//lib/active_record/core.rb#795 def initialize_internals_callback; end - # source://activerecord/lib/active_record/core.rb#809 + # source://activerecord//lib/active_record/core.rb#809 def inspection_filter; end # +Array#flatten+ will call +#to_ary+ (recursively) on each of the elements of @@ -17605,7 +17607,7 @@ module ActiveRecord::Core # # See also https://tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary.html # - # source://activerecord/lib/active_record/core.rb#773 + # source://activerecord//lib/active_record/core.rb#773 def to_ary; end module GeneratedClassMethods @@ -17659,82 +17661,82 @@ module ActiveRecord::Core end end -# source://activerecord/lib/active_record/core.rb#238 +# source://activerecord//lib/active_record/core.rb#238 module ActiveRecord::Core::ClassMethods # Returns an instance of +Arel::Table+ loaded with the current table name. # - # source://activerecord/lib/active_record/core.rb#364 + # source://activerecord//lib/active_record/core.rb#364 def arel_table; end - # source://activerecord/lib/active_record/core.rb#376 + # source://activerecord//lib/active_record/core.rb#376 def cached_find_by_statement(key, &block); end # Returns columns which shouldn't be exposed while calling +#inspect+. # - # source://activerecord/lib/active_record/core.rb#322 + # source://activerecord//lib/active_record/core.rb#322 def filter_attributes; end # Specifies columns which shouldn't be exposed while calling +#inspect+. # - # source://activerecord/lib/active_record/core.rb#331 + # source://activerecord//lib/active_record/core.rb#331 def filter_attributes=(filter_attributes); end - # source://activerecord/lib/active_record/core.rb#243 + # source://activerecord//lib/active_record/core.rb#243 def find(*ids); end - # source://activerecord/lib/active_record/core.rb#256 + # source://activerecord//lib/active_record/core.rb#256 def find_by(*args); end - # source://activerecord/lib/active_record/core.rb#303 + # source://activerecord//lib/active_record/core.rb#303 def find_by!(*args); end - # source://activerecord/lib/active_record/core.rb#311 + # source://activerecord//lib/active_record/core.rb#311 def generated_association_methods; end - # source://activerecord/lib/active_record/core.rb#239 + # source://activerecord//lib/active_record/core.rb#239 def initialize_find_by_cache; end - # source://activerecord/lib/active_record/core.rb#307 + # source://activerecord//lib/active_record/core.rb#307 def initialize_generated_modules; end # Returns a string like 'Post(id:integer, title:string, body:text)' # - # source://activerecord/lib/active_record/core.rb#348 + # source://activerecord//lib/active_record/core.rb#348 def inspect; end - # source://activerecord/lib/active_record/core.rb#336 + # source://activerecord//lib/active_record/core.rb#336 def inspection_filter; end - # source://activerecord/lib/active_record/core.rb#368 + # source://activerecord//lib/active_record/core.rb#368 def predicate_builder; end - # source://activerecord/lib/active_record/core.rb#372 + # source://activerecord//lib/active_record/core.rb#372 def type_caster; end private - # source://activerecord/lib/active_record/core.rb#418 + # source://activerecord//lib/active_record/core.rb#418 def cached_find_by(keys, values); end - # source://activerecord/lib/active_record/core.rb#382 + # source://activerecord//lib/active_record/core.rb#382 def inherited(subclass); end - # source://activerecord/lib/active_record/core.rb#404 + # source://activerecord//lib/active_record/core.rb#404 def relation; end - # source://activerecord/lib/active_record/core.rb#414 + # source://activerecord//lib/active_record/core.rb#414 def table_metadata; end end -# source://activerecord/lib/active_record/core.rb#802 +# source://activerecord//lib/active_record/core.rb#802 class ActiveRecord::Core::InspectionMask - # source://activerecord/lib/active_record/core.rb#803 + # source://activerecord//lib/active_record/core.rb#803 def pretty_print(pp); end end # = Active Record Counter Cache # -# source://activerecord/lib/active_record/counter_cache.rb#5 +# source://activerecord//lib/active_record/counter_cache.rb#5 module ActiveRecord::CounterCache extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -17744,18 +17746,18 @@ module ActiveRecord::CounterCache private - # source://activerecord/lib/active_record/counter_cache.rb#187 + # source://activerecord//lib/active_record/counter_cache.rb#187 def _create_record(attribute_names = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/counter_cache.rb#217 + # source://activerecord//lib/active_record/counter_cache.rb#217 def _foreign_keys_equal?(fkey1, fkey2); end - # source://activerecord/lib/active_record/counter_cache.rb#197 + # source://activerecord//lib/active_record/counter_cache.rb#197 def destroy_row; end - # source://activerecord/lib/active_record/counter_cache.rb#211 + # source://activerecord//lib/active_record/counter_cache.rb#211 def each_counter_cached_associations; end module GeneratedClassMethods @@ -17767,11 +17769,11 @@ module ActiveRecord::CounterCache module GeneratedInstanceMethods; end end -# source://activerecord/lib/active_record/counter_cache.rb#12 +# source://activerecord//lib/active_record/counter_cache.rb#12 module ActiveRecord::CounterCache::ClassMethods # @return [Boolean] # - # source://activerecord/lib/active_record/counter_cache.rb#181 + # source://activerecord//lib/active_record/counter_cache.rb#181 def counter_cache_column?(name); end # Decrement a numeric field by one, via a direct SQL update. @@ -17801,7 +17803,7 @@ module ActiveRecord::CounterCache::ClassMethods # # and update the updated_at value. # DiscussionBoard.decrement_counter(:posts_count, 5, touch: true) # - # source://activerecord/lib/active_record/counter_cache.rb#177 + # source://activerecord//lib/active_record/counter_cache.rb#177 def decrement_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end # Increment a numeric field by one, via a direct SQL update. @@ -17833,7 +17835,7 @@ module ActiveRecord::CounterCache::ClassMethods # # and update the updated_at value. # DiscussionBoard.increment_counter(:posts_count, 5, touch: true) # - # source://activerecord/lib/active_record/counter_cache.rb#147 + # source://activerecord//lib/active_record/counter_cache.rb#147 def increment_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end # Resets one or more counter caches to their correct value using an SQL @@ -17857,7 +17859,7 @@ module ActiveRecord::CounterCache::ClassMethods # # attributes. # Post.reset_counters(1, :comments, touch: true) # - # source://activerecord/lib/active_record/counter_cache.rb#33 + # source://activerecord//lib/active_record/counter_cache.rb#33 def reset_counters(id, *counters, touch: T.unsafe(nil)); end # A generic "counter updater" implementation, intended primarily to be @@ -17902,19 +17904,19 @@ module ActiveRecord::CounterCache::ClassMethods # # `updated_at` = '2016-10-13T09:59:23-05:00' # # WHERE id IN (10, 15) # - # source://activerecord/lib/active_record/counter_cache.rb#114 + # source://activerecord//lib/active_record/counter_cache.rb#114 def update_counters(id, counters); end end # Raised when attribute has a name reserved by Active Record (when attribute # has name of one of Active Record instance methods). # -# source://activerecord/lib/active_record/errors.rb#413 +# source://activerecord//lib/active_record/errors.rb#413 class ActiveRecord::DangerousAttributeError < ::ActiveRecord::ActiveRecordError; end # Raised when creating a database if it exists. # -# source://activerecord/lib/active_record/errors.rb#336 +# source://activerecord//lib/active_record/errors.rb#336 class ActiveRecord::DatabaseAlreadyExists < ::ActiveRecord::StatementInvalid; end # = Active Record Database Configurations @@ -17931,21 +17933,21 @@ class ActiveRecord::DatabaseAlreadyExists < ::ActiveRecord::StatementInvalid; en # conditions of the handler. See ::register_db_config_handler for more on # registering custom handlers. # -# source://activerecord/lib/active_record/database_configurations/database_config.rb#4 +# source://activerecord//lib/active_record/database_configurations/database_config.rb#4 class ActiveRecord::DatabaseConfigurations # @return [DatabaseConfigurations] a new instance of DatabaseConfigurations # - # source://activerecord/lib/active_record/database_configurations.rb#73 + # source://activerecord//lib/active_record/database_configurations.rb#73 def initialize(configurations = T.unsafe(nil)); end - # source://activerecord/lib/active_record/database_configurations.rb#27 + # source://activerecord//lib/active_record/database_configurations.rb#27 def any?(*_arg0, **_arg1, &_arg2); end # Checks if the application's configurations are empty. # # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations.rb#150 + # source://activerecord//lib/active_record/database_configurations.rb#153 def blank?; end # Collects the configs for the environment and optionally the specification @@ -17970,19 +17972,19 @@ class ActiveRecord::DatabaseConfigurations # iterating over the primary connections (i.e. migrations don't need to run for the # write and read connection). Defaults to +false+. # - # source://activerecord/lib/active_record/database_configurations.rb#98 + # source://activerecord//lib/active_record/database_configurations.rb#98 def configs_for(env_name: T.unsafe(nil), name: T.unsafe(nil), config_key: T.unsafe(nil), include_hidden: T.unsafe(nil)); end # Returns the value of attribute configurations. # - # source://activerecord/lib/active_record/database_configurations.rb#26 + # source://activerecord//lib/active_record/database_configurations.rb#26 def configurations; end # Checks if the application's configurations are empty. # # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations.rb#150 + # source://activerecord//lib/active_record/database_configurations.rb#150 def empty?; end # Returns a single +DatabaseConfig+ object based on the requested environment. @@ -17990,7 +17992,7 @@ class ActiveRecord::DatabaseConfigurations # If the application has multiple databases +find_db_config+ will return # the first +DatabaseConfig+ for the environment. # - # source://activerecord/lib/active_record/database_configurations.rb#127 + # source://activerecord//lib/active_record/database_configurations.rb#127 def find_db_config(env); end # A primary configuration is one that is named primary or if there is @@ -18002,7 +18004,7 @@ class ActiveRecord::DatabaseConfigurations # # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations.rb#142 + # source://activerecord//lib/active_record/database_configurations.rb#142 def primary?(name); end # Returns fully resolved connection, accepts hash, string or symbol. @@ -18025,52 +18027,52 @@ class ActiveRecord::DatabaseConfigurations # DatabaseConfigurations.new({}).resolve("postgresql://localhost/foo") # # => DatabaseConfigurations::UrlConfig.new(config: {"adapter" => "postgresql", "host" => "localhost", "database" => "foo"}) # - # source://activerecord/lib/active_record/database_configurations.rb#174 + # source://activerecord//lib/active_record/database_configurations.rb#174 def resolve(config); end private - # source://activerecord/lib/active_record/database_configurations.rb#200 + # source://activerecord//lib/active_record/database_configurations.rb#200 def build_configs(configs); end - # source://activerecord/lib/active_record/database_configurations.rb#239 + # source://activerecord//lib/active_record/database_configurations.rb#239 def build_configuration_sentence; end - # source://activerecord/lib/active_record/database_configurations.rb#273 + # source://activerecord//lib/active_record/database_configurations.rb#273 def build_db_config_from_hash(env_name, name, config); end - # source://activerecord/lib/active_record/database_configurations.rb#252 + # source://activerecord//lib/active_record/database_configurations.rb#252 def build_db_config_from_raw_config(env_name, name, config); end - # source://activerecord/lib/active_record/database_configurations.rb#263 + # source://activerecord//lib/active_record/database_configurations.rb#263 def build_db_config_from_string(env_name, name, config); end - # source://activerecord/lib/active_record/database_configurations.rb#188 + # source://activerecord//lib/active_record/database_configurations.rb#188 def default_env; end - # source://activerecord/lib/active_record/database_configurations.rb#192 + # source://activerecord//lib/active_record/database_configurations.rb#192 def env_with_configs(env = T.unsafe(nil)); end - # source://activerecord/lib/active_record/database_configurations.rb#295 + # source://activerecord//lib/active_record/database_configurations.rb#295 def environment_url_config(env, name, config); end - # source://activerecord/lib/active_record/database_configurations.rb#302 + # source://activerecord//lib/active_record/database_configurations.rb#302 def environment_value_for(name); end - # source://activerecord/lib/active_record/database_configurations.rb#286 + # source://activerecord//lib/active_record/database_configurations.rb#286 def merge_db_environment_variables(current_env, configs); end - # source://activerecord/lib/active_record/database_configurations.rb#225 + # source://activerecord//lib/active_record/database_configurations.rb#225 def resolve_symbol_connection(name); end - # source://activerecord/lib/active_record/database_configurations.rb#219 + # source://activerecord//lib/active_record/database_configurations.rb#219 def walk_configs(env_name, config); end class << self - # source://activerecord/lib/active_record/database_configurations.rb#29 + # source://activerecord//lib/active_record/database_configurations.rb#29 def db_config_handlers; end - # source://activerecord/lib/active_record/database_configurations.rb#29 + # source://activerecord//lib/active_record/database_configurations.rb#29 def db_config_handlers=(_arg0); end # Allows an application to register a custom handler for database configuration @@ -18103,14 +18105,14 @@ class ActiveRecord::DatabaseConfigurations # For configs that have a +:vitess+ key, a +VitessConfig+ object will be # created instead of a +UrlConfig+. # - # source://activerecord/lib/active_record/database_configurations.rb#61 + # source://activerecord//lib/active_record/database_configurations.rb#61 def register_db_config_handler(&block); end end end # Expands a connection string into a hash. # -# source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#10 +# source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#10 class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # == Example # @@ -18129,19 +18131,19 @@ class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # # @return [ConnectionUrlResolver] a new instance of ConnectionUrlResolver # - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#25 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#25 def initialize(url); end # Converts the given URL to a full connection hash. # - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#39 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#39 def to_hash; end private # Returns name of the database. # - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#84 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#84 def database_from_path; end # Converts the query parameters of the URI into a hash. @@ -18154,18 +18156,18 @@ class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # "localhost" # # => {} # - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#61 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#61 def query_hash; end - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#65 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#65 def raw_config; end # Returns the value of attribute uri. # - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#46 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#46 def uri; end - # source://activerecord/lib/active_record/database_configurations/connection_url_resolver.rb#48 + # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#48 def uri_parser; end end @@ -18173,104 +18175,104 @@ end # UrlConfig respectively. It will never return a +DatabaseConfig+ object, # as this is the parent class for the types of database configuration objects. # -# source://activerecord/lib/active_record/database_configurations/database_config.rb#8 +# source://activerecord//lib/active_record/database_configurations/database_config.rb#8 class ActiveRecord::DatabaseConfigurations::DatabaseConfig # @return [DatabaseConfig] a new instance of DatabaseConfig # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#11 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#11 def initialize(env_name, name); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#32 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#32 def _database=(database); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#36 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#36 def adapter; end - # source://activerecord/lib/active_record/database_configurations/database_config.rb#20 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#20 def adapter_class_method; end - # source://activerecord/lib/active_record/database_configurations/database_config.rb#16 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#16 def adapter_method; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#60 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#60 def checkout_timeout; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#28 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#28 def database; end - # source://activerecord/lib/active_record/database_configurations/database_config.rb#9 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#9 def env_name; end # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#80 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#80 def for_current_env?; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#24 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#24 def host; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#68 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#68 def idle_timeout; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#52 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#52 def max_queue; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#48 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#48 def max_threads; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#76 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#76 def migrations_paths; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#44 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#44 def min_threads; end - # source://activerecord/lib/active_record/database_configurations/database_config.rb#9 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#9 def name; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#40 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#40 def pool; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#56 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#56 def query_cache; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#64 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#64 def reaping_frequency; end # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#72 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#72 def replica?; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/database_configurations/database_config.rb#84 + # source://activerecord//lib/active_record/database_configurations/database_config.rb#84 def schema_cache_path; end end @@ -18290,7 +18292,7 @@ end # # See ActiveRecord::DatabaseConfigurations for more info. # -# source://activerecord/lib/active_record/database_configurations/hash_config.rb#20 +# source://activerecord//lib/active_record/database_configurations/hash_config.rb#20 class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::DatabaseConfigurations::DatabaseConfig # Initialize a new +HashConfig+ object # @@ -18307,74 +18309,74 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # # @return [HashConfig] a new instance of HashConfig # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#36 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#36 def initialize(env_name, name, configuration_hash); end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#67 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#67 def _database=(database); end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#106 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#106 def adapter; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#91 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#91 def checkout_timeout; end # Returns the value of attribute configuration_hash. # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#21 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#21 def configuration_hash; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#63 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#63 def database; end # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#153 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#153 def database_tasks?; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#117 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#117 def default_schema_cache_path(db_dir = T.unsafe(nil)); end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#55 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#55 def host; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#101 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#101 def idle_timeout; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#125 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#125 def lazy_schema_cache_path; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#87 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#87 def max_queue; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#79 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#79 def max_threads; end # The migrations paths for a database configuration. If the # +migrations_paths+ key is present in the config, +migrations_paths+ # will return its value. # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#51 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#51 def migrations_paths; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#75 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#75 def min_threads; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#71 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#71 def pool; end # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#129 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#129 def primary?; end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#83 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#83 def query_cache; end # +reaping_frequency+ is configurable mostly for historical reasons, but it could # also be useful if someone wants a very low +idle_timeout+. # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#97 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#97 def reaping_frequency; end # Determines whether a database configuration is for a replica / readonly @@ -18383,14 +18385,14 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # # @return [Boolean] # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#44 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#44 def replica?; end # The path to the schema cache dump file for a database. # If omitted, the filename will be read from ENV or a # default will be derived. # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#113 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#113 def schema_cache_path; end # Determines whether to dump the schema/structure files and the @@ -18402,19 +18404,19 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # If the config option is set that will be used. Otherwise \Rails # will generate the filename from the database config name. # - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#141 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#141 def schema_dump(format = T.unsafe(nil)); end - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#59 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#59 def socket; end private - # source://activerecord/lib/active_record/database_configurations/hash_config.rb#158 + # source://activerecord//lib/active_record/database_configurations/hash_config.rb#158 def schema_file_type(format); end end -# source://activerecord/lib/active_record/database_configurations.rb#24 +# source://activerecord//lib/active_record/database_configurations.rb#24 class ActiveRecord::DatabaseConfigurations::InvalidConfigurationError < ::StandardError; end # = Active Record Database Url Config @@ -18436,7 +18438,7 @@ class ActiveRecord::DatabaseConfigurations::InvalidConfigurationError < ::Standa # # See ActiveRecord::DatabaseConfigurations for more info. # -# source://activerecord/lib/active_record/database_configurations/url_config.rb#24 +# source://activerecord//lib/active_record/database_configurations/url_config.rb#24 class ActiveRecord::DatabaseConfigurations::UrlConfig < ::ActiveRecord::DatabaseConfigurations::HashConfig # Initialize a new +UrlConfig+ object # @@ -18454,12 +18456,12 @@ class ActiveRecord::DatabaseConfigurations::UrlConfig < ::ActiveRecord::Database # # @return [UrlConfig] a new instance of UrlConfig # - # source://activerecord/lib/active_record/database_configurations/url_config.rb#40 + # source://activerecord//lib/active_record/database_configurations/url_config.rb#40 def initialize(env_name, name, url, configuration_hash = T.unsafe(nil)); end # Returns the value of attribute url. # - # source://activerecord/lib/active_record/database_configurations/url_config.rb#25 + # source://activerecord//lib/active_record/database_configurations/url_config.rb#25 def url; end private @@ -18467,25 +18469,25 @@ class ActiveRecord::DatabaseConfigurations::UrlConfig < ::ActiveRecord::Database # Return a Hash that can be merged into the main config that represents # the passed in url # - # source://activerecord/lib/active_record/database_configurations/url_config.rb#50 + # source://activerecord//lib/active_record/database_configurations/url_config.rb#50 def build_url_hash; end end # Raised when connection to the database could not been established because it was not # able to connect to the host or when the authorization failed. # -# source://activerecord/lib/active_record/errors.rb#93 +# source://activerecord//lib/active_record/errors.rb#93 class ActiveRecord::DatabaseConnectionError < ::ActiveRecord::ConnectionNotEstablished # @return [DatabaseConnectionError] a new instance of DatabaseConnectionError # - # source://activerecord/lib/active_record/errors.rb#94 + # source://activerecord//lib/active_record/errors.rb#94 def initialize(message = T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/errors.rb#99 + # source://activerecord//lib/active_record/errors.rb#99 def hostname_error(hostname); end - # source://activerecord/lib/active_record/errors.rb#106 + # source://activerecord//lib/active_record/errors.rb#106 def username_error(username); end end end @@ -18496,7 +18498,7 @@ end # This is a subclass of TransactionRollbackError, please make sure to check # its documentation to be aware of its caveats. # -# source://activerecord/lib/active_record/errors.rb#525 +# source://activerecord//lib/active_record/errors.rb#525 class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end # = Delegated types @@ -18649,7 +18651,7 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end # entry.entryable.id # => 2 # entry.entryable.subject # => 'Smiling' # -# source://activerecord/lib/active_record/delegated_type.rb#155 +# source://activerecord//lib/active_record/delegated_type.rb#155 module ActiveRecord::DelegatedType # Defines this as a class that'll delegate its type for the passed +role+ to the class references in +types+. # That'll create a polymorphic +belongs_to+ relationship to that +role+, and it'll add all the delegated @@ -18707,136 +18709,136 @@ module ActiveRecord::DelegatedType # Entry#message_uuid # => returns entryable_uuid, when entryable_type == "Message", otherwise nil # Entry#comment_uuid # => returns entryable_uuid, when entryable_type == "Comment", otherwise nil # - # source://activerecord/lib/active_record/delegated_type.rb#211 + # source://activerecord//lib/active_record/delegated_type.rb#211 def delegated_type(role, types:, **options); end private - # source://activerecord/lib/active_record/delegated_type.rb#217 + # source://activerecord//lib/active_record/delegated_type.rb#217 def define_delegated_type_methods(role, types:, options:); end end -# source://activerecord/lib/active_record/relation/delegation.rb#7 +# source://activerecord//lib/active_record/relation/delegation.rb#7 module ActiveRecord::Delegation extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Delegation::ClassMethods - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def &(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def +(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def -(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def [](*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def as_json(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def compact(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#105 + # source://activerecord//lib/active_record/relation/delegation.rb#105 def connection(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def each(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def encode_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def in_groups(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def in_groups_of(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def index(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def join(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def length(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#105 + # source://activerecord//lib/active_record/relation/delegation.rb#105 def primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def reverse(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def rindex(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def rotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def sample(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def slice(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def split(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def to_formatted_s(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def to_fs(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def to_sentence(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def to_xml(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#105 + # source://activerecord//lib/active_record/relation/delegation.rb#105 def transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/delegation.rb#100 + # source://activerecord//lib/active_record/relation/delegation.rb#100 def |(*_arg0, **_arg1, &_arg2); end private # @return [Boolean] # - # source://activerecord/lib/active_record/relation/delegation.rb#142 + # source://activerecord//lib/active_record/relation/delegation.rb#142 def respond_to_missing?(method, _); end class << self - # source://activerecord/lib/active_record/relation/delegation.rb#9 + # source://activerecord//lib/active_record/relation/delegation.rb#9 def delegated_classes; end - # source://activerecord/lib/active_record/relation/delegation.rb#18 + # source://activerecord//lib/active_record/relation/delegation.rb#18 def uncacheable_methods; end end end -# source://activerecord/lib/active_record/relation/delegation.rb#130 +# source://activerecord//lib/active_record/relation/delegation.rb#130 module ActiveRecord::Delegation::ClassMethods - # source://activerecord/lib/active_record/relation/delegation.rb#131 + # source://activerecord//lib/active_record/relation/delegation.rb#131 def create(klass, *args, **kwargs); end private - # source://activerecord/lib/active_record/relation/delegation.rb#136 + # source://activerecord//lib/active_record/relation/delegation.rb#136 def relation_class_for(klass); end end -# source://activerecord/lib/active_record/relation/delegation.rb#107 +# source://activerecord//lib/active_record/relation/delegation.rb#107 module ActiveRecord::Delegation::ClassSpecificRelation extend ::ActiveSupport::Concern @@ -18844,61 +18846,61 @@ module ActiveRecord::Delegation::ClassSpecificRelation private - # source://activerecord/lib/active_record/relation/delegation.rb#117 + # source://activerecord//lib/active_record/relation/delegation.rb#117 def method_missing(method, *args, **_arg2, &block); end end -# source://activerecord/lib/active_record/relation/delegation.rb#110 +# source://activerecord//lib/active_record/relation/delegation.rb#110 module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods - # source://activerecord/lib/active_record/relation/delegation.rb#111 + # source://activerecord//lib/active_record/relation/delegation.rb#111 def name; end end -# source://activerecord/lib/active_record/relation/delegation.rb#25 +# source://activerecord//lib/active_record/relation/delegation.rb#25 module ActiveRecord::Delegation::DelegateCache - # source://activerecord/lib/active_record/relation/delegation.rb#50 + # source://activerecord//lib/active_record/relation/delegation.rb#50 def generate_relation_method(method); end - # source://activerecord/lib/active_record/relation/delegation.rb#45 + # source://activerecord//lib/active_record/relation/delegation.rb#45 def inherited(child_class); end - # source://activerecord/lib/active_record/relation/delegation.rb#30 + # source://activerecord//lib/active_record/relation/delegation.rb#30 def initialize_relation_delegate_cache; end - # source://activerecord/lib/active_record/relation/delegation.rb#26 + # source://activerecord//lib/active_record/relation/delegation.rb#26 def relation_delegate_class(klass); end protected - # source://activerecord/lib/active_record/relation/delegation.rb#55 + # source://activerecord//lib/active_record/relation/delegation.rb#55 def include_relation_methods(delegate); end private - # source://activerecord/lib/active_record/relation/delegation.rb#61 + # source://activerecord//lib/active_record/relation/delegation.rb#61 def generated_relation_methods; end end -# source://activerecord/lib/active_record/relation/delegation.rb#69 +# source://activerecord//lib/active_record/relation/delegation.rb#69 class ActiveRecord::Delegation::GeneratedRelationMethods < ::Module include ::Mutex_m - # source://activerecord/lib/active_record/relation/delegation.rb#72 + # source://activerecord//lib/active_record/relation/delegation.rb#72 def generate_method(method); end - # source://mutex_m/0.3.0lib/mutex_m.rb#96 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#86 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def locked?; end - # source://mutex_m/0.3.0lib/mutex_m.rb#81 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def synchronize(&block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#91 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def try_lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#101 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def unlock; end end @@ -18906,154 +18908,154 @@ end # (has_many, has_one) when there is at least 1 child associated instance. # ex: if @project.tasks.size > 0, DeleteRestrictionError will be raised when trying to destroy @project # -# source://activerecord/lib/active_record/associations.rb#256 +# source://activerecord//lib/active_record/associations.rb#256 class ActiveRecord::DeleteRestrictionError < ::ActiveRecord::ActiveRecordError # @return [DeleteRestrictionError] a new instance of DeleteRestrictionError # - # source://activerecord/lib/active_record/associations.rb#257 + # source://activerecord//lib/active_record/associations.rb#257 def initialize(name = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/errors.rb#13 +# source://activerecord//lib/active_record/errors.rb#13 class ActiveRecord::DeprecatedActiveJobRequiredError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/destroy_association_async_job.rb#4 +# source://activerecord//lib/active_record/destroy_association_async_job.rb#4 class ActiveRecord::DestroyAssociationAsyncError < ::StandardError; end # = Active Record Destroy Association Async Job # # Job to destroy the records associated with a destroyed record in background. # -# source://activerecord/lib/active_record/destroy_association_async_job.rb#10 +# source://activerecord//lib/active_record/destroy_association_async_job.rb#10 class ActiveRecord::DestroyAssociationAsyncJob < ::ActiveJob::Base - # source://activerecord/lib/active_record/destroy_association_async_job.rb#15 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#15 def perform(owner_model_name: T.unsafe(nil), owner_id: T.unsafe(nil), association_class: T.unsafe(nil), association_ids: T.unsafe(nil), association_primary_key_column: T.unsafe(nil), ensuring_owner_was_method: T.unsafe(nil)); end private # @return [Boolean] # - # source://activerecord/lib/active_record/destroy_association_async_job.rb#34 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#34 def owner_destroyed?(owner, ensuring_owner_was_method); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#11 def queue_name; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#13 def rescue_handlers; end end end -# source://activerecord/lib/active_record/disable_joins_association_relation.rb#4 +# source://activerecord//lib/active_record/disable_joins_association_relation.rb#4 class ActiveRecord::DisableJoinsAssociationRelation < ::ActiveRecord::Relation # @return [DisableJoinsAssociationRelation] a new instance of DisableJoinsAssociationRelation # - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#7 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#7 def initialize(klass, key, ids); end - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#17 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#17 def first(limit = T.unsafe(nil)); end # Returns the value of attribute ids. # - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#5 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#5 def ids; end # Returns the value of attribute key. # - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#5 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#5 def key; end - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#13 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#13 def limit(value); end - # source://activerecord/lib/active_record/disable_joins_association_relation.rb#25 + # source://activerecord//lib/active_record/disable_joins_association_relation.rb#25 def load; end end -# source://activerecord/lib/active_record/migration.rb#104 +# source://activerecord//lib/active_record/migration.rb#104 class ActiveRecord::DuplicateMigrationNameError < ::ActiveRecord::MigrationError # @return [DuplicateMigrationNameError] a new instance of DuplicateMigrationNameError # - # source://activerecord/lib/active_record/migration.rb#105 + # source://activerecord//lib/active_record/migration.rb#105 def initialize(name = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/migration.rb#94 +# source://activerecord//lib/active_record/migration.rb#94 class ActiveRecord::DuplicateMigrationVersionError < ::ActiveRecord::MigrationError # @return [DuplicateMigrationVersionError] a new instance of DuplicateMigrationVersionError # - # source://activerecord/lib/active_record/migration.rb#95 + # source://activerecord//lib/active_record/migration.rb#95 def initialize(version = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/dynamic_matchers.rb#4 +# source://activerecord//lib/active_record/dynamic_matchers.rb#4 module ActiveRecord::DynamicMatchers private - # source://activerecord/lib/active_record/dynamic_matchers.rb#15 + # source://activerecord//lib/active_record/dynamic_matchers.rb#15 def method_missing(name, *arguments, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/dynamic_matchers.rb#6 + # source://activerecord//lib/active_record/dynamic_matchers.rb#6 def respond_to_missing?(name, _); end end -# source://activerecord/lib/active_record/dynamic_matchers.rb#93 +# source://activerecord//lib/active_record/dynamic_matchers.rb#93 class ActiveRecord::DynamicMatchers::FindBy < ::ActiveRecord::DynamicMatchers::Method - # source://activerecord/lib/active_record/dynamic_matchers.rb#100 + # source://activerecord//lib/active_record/dynamic_matchers.rb#100 def finder; end class << self - # source://activerecord/lib/active_record/dynamic_matchers.rb#96 + # source://activerecord//lib/active_record/dynamic_matchers.rb#96 def prefix; end end end -# source://activerecord/lib/active_record/dynamic_matchers.rb#105 +# source://activerecord//lib/active_record/dynamic_matchers.rb#105 class ActiveRecord::DynamicMatchers::FindByBang < ::ActiveRecord::DynamicMatchers::Method - # source://activerecord/lib/active_record/dynamic_matchers.rb#116 + # source://activerecord//lib/active_record/dynamic_matchers.rb#116 def finder; end class << self - # source://activerecord/lib/active_record/dynamic_matchers.rb#108 + # source://activerecord//lib/active_record/dynamic_matchers.rb#108 def prefix; end - # source://activerecord/lib/active_record/dynamic_matchers.rb#112 + # source://activerecord//lib/active_record/dynamic_matchers.rb#112 def suffix; end end end -# source://activerecord/lib/active_record/dynamic_matchers.rb#26 +# source://activerecord//lib/active_record/dynamic_matchers.rb#26 class ActiveRecord::DynamicMatchers::Method # @return [Method] a new instance of Method # - # source://activerecord/lib/active_record/dynamic_matchers.rb#52 + # source://activerecord//lib/active_record/dynamic_matchers.rb#52 def initialize(model, method_name); end # Returns the value of attribute attribute_names. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#50 + # source://activerecord//lib/active_record/dynamic_matchers.rb#50 def attribute_names; end - # source://activerecord/lib/active_record/dynamic_matchers.rb#63 + # source://activerecord//lib/active_record/dynamic_matchers.rb#63 def define; end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#50 + # source://activerecord//lib/active_record/dynamic_matchers.rb#50 def model; end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#50 + # source://activerecord//lib/active_record/dynamic_matchers.rb#50 def name; end # @return [Boolean] # - # source://activerecord/lib/active_record/dynamic_matchers.rb#59 + # source://activerecord//lib/active_record/dynamic_matchers.rb#59 def valid?; end private @@ -19061,41 +19063,41 @@ class ActiveRecord::DynamicMatchers::Method # Given that the parameters starts with `_`, the finder needs to use the # same parameter name. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#84 + # source://activerecord//lib/active_record/dynamic_matchers.rb#84 def attributes_hash; end - # source://activerecord/lib/active_record/dynamic_matchers.rb#72 + # source://activerecord//lib/active_record/dynamic_matchers.rb#72 def body; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/dynamic_matchers.rb#88 + # source://activerecord//lib/active_record/dynamic_matchers.rb#88 def finder; end # The parameters in the signature may have reserved Ruby words, in order # to prevent errors, we start each param name with `_`. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#78 + # source://activerecord//lib/active_record/dynamic_matchers.rb#78 def signature; end class << self - # source://activerecord/lib/active_record/dynamic_matchers.rb#32 + # source://activerecord//lib/active_record/dynamic_matchers.rb#32 def match(model, name); end # Returns the value of attribute matchers. # - # source://activerecord/lib/active_record/dynamic_matchers.rb#30 + # source://activerecord//lib/active_record/dynamic_matchers.rb#30 def matchers; end - # source://activerecord/lib/active_record/dynamic_matchers.rb#37 + # source://activerecord//lib/active_record/dynamic_matchers.rb#37 def pattern; end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/dynamic_matchers.rb#41 + # source://activerecord//lib/active_record/dynamic_matchers.rb#41 def prefix; end - # source://activerecord/lib/active_record/dynamic_matchers.rb#45 + # source://activerecord//lib/active_record/dynamic_matchers.rb#45 def suffix; end end end @@ -19104,15 +19106,15 @@ end # Eager loading polymorphic associations is only possible with # {ActiveRecord::Relation#preload}[rdoc-ref:QueryMethods#preload]. # -# source://activerecord/lib/active_record/associations.rb#243 +# source://activerecord//lib/active_record/associations.rb#243 class ActiveRecord::EagerLoadPolymorphicError < ::ActiveRecord::ActiveRecordError # @return [EagerLoadPolymorphicError] a new instance of EagerLoadPolymorphicError # - # source://activerecord/lib/active_record/associations.rb#244 + # source://activerecord//lib/active_record/associations.rb#244 def initialize(reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/encryption.rb#7 +# source://activerecord//lib/active_record/encryption.rb#7 module ActiveRecord::Encryption include ::ActiveRecord::Encryption::Configurable include ::ActiveRecord::Encryption::Contexts @@ -19120,94 +19122,94 @@ module ActiveRecord::Encryption extend ::ActiveRecord::Encryption::Configurable::ClassMethods extend ::ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord/lib/active_record/encryption/configurable.rb#10 + # source://activerecord//lib/active_record/encryption.rb#47 def config; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts=(obj); end - # source://activerecord/lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context; end - # source://activerecord/lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context=(val); end - # source://activerecord/lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners; end - # source://activerecord/lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners=(val); end class << self - # source://activerecord/lib/active_record/encryption/configurable.rb#10 + # source://activerecord//lib/active_record/encryption.rb#47 def config; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts=(obj); end - # source://activerecord/lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context; end - # source://activerecord/lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context=(val); end - # source://activerecord/lib/active_record/encryption.rb#50 + # source://activerecord//lib/active_record/encryption.rb#50 def eager_load!; end - # source://activerecord/lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners; end - # source://activerecord/lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners=(val); end end end -# source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#5 +# source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#5 class ActiveRecord::Encryption::AutoFilteredParameters # @return [AutoFilteredParameters] a new instance of AutoFilteredParameters # - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#6 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#6 def initialize(app); end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#14 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#14 def enable; end private # Returns the value of attribute app. # - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#20 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#20 def app; end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#36 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#36 def apply_collected_attributes; end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#53 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#53 def apply_filter(klass, attribute); end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#28 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#28 def attribute_was_declared(klass, attribute); end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#48 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#48 def collect_for_later(klass, attribute); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#44 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#44 def collecting?; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#61 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#61 def excluded_from_filter_parameters?(filter_parameter); end - # source://activerecord/lib/active_record/encryption/auto_filtered_parameters.rb#22 + # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#22 def install_collecting_hook; end end @@ -19218,7 +19220,7 @@ end # # See +Cipher::Aes256Gcm+. # -# source://activerecord/lib/active_record/encryption/cipher.rb#11 +# source://activerecord//lib/active_record/encryption/cipher.rb#11 class ActiveRecord::Encryption::Cipher extend ::ActiveSupport::Autoload @@ -19227,26 +19229,26 @@ class ActiveRecord::Encryption::Cipher # When +key+ is an Array, it will try all the keys raising a # +ActiveRecord::Encryption::Errors::Decryption+ if none works. # - # source://activerecord/lib/active_record/encryption/cipher.rb#25 + # source://activerecord//lib/active_record/encryption/cipher.rb#25 def decrypt(encrypted_message, key:); end # Encrypts the provided text and return an encrypted +Message+. # - # source://activerecord/lib/active_record/encryption/cipher.rb#15 + # source://activerecord//lib/active_record/encryption/cipher.rb#15 def encrypt(clean_text, key:, deterministic: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/cipher.rb#35 + # source://activerecord//lib/active_record/encryption/cipher.rb#35 def iv_length; end - # source://activerecord/lib/active_record/encryption/cipher.rb#31 + # source://activerecord//lib/active_record/encryption/cipher.rb#31 def key_length; end private - # source://activerecord/lib/active_record/encryption/cipher.rb#48 + # source://activerecord//lib/active_record/encryption/cipher.rb#48 def cipher_for(secret, deterministic: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/cipher.rb#40 + # source://activerecord//lib/active_record/encryption/cipher.rb#40 def try_to_decrypt_with_each(encrypted_text, keys:); end end @@ -19257,277 +19259,277 @@ end # # See +Encryptor+ # -# source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#14 +# source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#14 class ActiveRecord::Encryption::Cipher::Aes256Gcm # When iv not provided, it will generate a random iv on each encryption operation (default and # recommended operation) # # @return [Aes256Gcm] a new instance of Aes256Gcm # - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#29 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#29 def initialize(secret, deterministic: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#55 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#55 def decrypt(encrypted_message); end - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#34 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#34 def encrypt(clear_text); end - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#82 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#82 def inspect; end private - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#95 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#95 def generate_deterministic_iv(clear_text); end - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#87 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#87 def generate_iv(cipher, clear_text); end class << self - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#22 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#22 def iv_length; end - # source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#18 + # source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#18 def key_length; end end end -# source://activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb#15 +# source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#15 ActiveRecord::Encryption::Cipher::Aes256Gcm::CIPHER_TYPE = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/encryption/cipher.rb#12 +# source://activerecord//lib/active_record/encryption/cipher.rb#12 ActiveRecord::Encryption::Cipher::DEFAULT_ENCODING = T.let(T.unsafe(nil), Encoding) # Container of configuration options # -# source://activerecord/lib/active_record/encryption/config.rb#8 +# source://activerecord//lib/active_record/encryption/config.rb#8 class ActiveRecord::Encryption::Config # @return [Config] a new instance of Config # - # source://activerecord/lib/active_record/encryption/config.rb#13 + # source://activerecord//lib/active_record/encryption/config.rb#13 def initialize; end # Returns the value of attribute add_to_filter_parameters. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def add_to_filter_parameters; end # Sets the attribute add_to_filter_parameters # # @param value the value to set the attribute add_to_filter_parameters to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def add_to_filter_parameters=(_arg0); end # Returns the value of attribute deterministic_key. # - # source://activerecord/lib/active_record/encryption/config.rb#41 + # source://activerecord//lib/active_record/encryption/config.rb#9 def deterministic_key; end # Sets the attribute deterministic_key # # @param value the value to set the attribute deterministic_key to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def deterministic_key=(_arg0); end # Returns the value of attribute encrypt_fixtures. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def encrypt_fixtures; end # Sets the attribute encrypt_fixtures # # @param value the value to set the attribute encrypt_fixtures to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def encrypt_fixtures=(_arg0); end # Returns the value of attribute excluded_from_filter_parameters. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def excluded_from_filter_parameters; end # Sets the attribute excluded_from_filter_parameters # # @param value the value to set the attribute excluded_from_filter_parameters to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def excluded_from_filter_parameters=(_arg0); end # Returns the value of attribute extend_queries. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def extend_queries; end # Sets the attribute extend_queries # # @param value the value to set the attribute extend_queries to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def extend_queries=(_arg0); end # Returns the value of attribute forced_encoding_for_deterministic_encryption. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def forced_encoding_for_deterministic_encryption; end # Sets the attribute forced_encoding_for_deterministic_encryption # # @param value the value to set the attribute forced_encoding_for_deterministic_encryption to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def forced_encoding_for_deterministic_encryption=(_arg0); end - # source://activerecord/lib/active_record/encryption/config.rb#36 + # source://activerecord//lib/active_record/encryption/config.rb#36 def has_deterministic_key?; end - # source://activerecord/lib/active_record/encryption/config.rb#36 + # source://activerecord//lib/active_record/encryption/config.rb#36 def has_key_derivation_salt?; end - # source://activerecord/lib/active_record/encryption/config.rb#36 + # source://activerecord//lib/active_record/encryption/config.rb#36 def has_primary_key?; end # Returns the value of attribute hash_digest_class. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def hash_digest_class; end # Sets the attribute hash_digest_class # # @param value the value to set the attribute hash_digest_class to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def hash_digest_class=(_arg0); end # Returns the value of attribute key_derivation_salt. # - # source://activerecord/lib/active_record/encryption/config.rb#41 + # source://activerecord//lib/active_record/encryption/config.rb#9 def key_derivation_salt; end # Sets the attribute key_derivation_salt # # @param value the value to set the attribute key_derivation_salt to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def key_derivation_salt=(_arg0); end # Configure previous encryption schemes. # # config.active_record.encryption.previous = [ { key_provider: MyOldKeyProvider.new } ] # - # source://activerecord/lib/active_record/encryption/config.rb#20 + # source://activerecord//lib/active_record/encryption/config.rb#20 def previous=(previous_schemes_properties); end # Returns the value of attribute previous_schemes. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def previous_schemes; end # Sets the attribute previous_schemes # # @param value the value to set the attribute previous_schemes to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def previous_schemes=(_arg0); end # Returns the value of attribute primary_key. # - # source://activerecord/lib/active_record/encryption/config.rb#41 + # source://activerecord//lib/active_record/encryption/config.rb#9 def primary_key; end # Sets the attribute primary_key # # @param value the value to set the attribute primary_key to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def primary_key=(_arg0); end # Returns the value of attribute store_key_references. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def store_key_references; end # Sets the attribute store_key_references # # @param value the value to set the attribute store_key_references to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def store_key_references=(_arg0); end - # source://activerecord/lib/active_record/encryption/config.rb#26 + # source://activerecord//lib/active_record/encryption/config.rb#26 def support_sha1_for_non_deterministic_encryption=(value); end # Returns the value of attribute support_unencrypted_data. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def support_unencrypted_data; end # Sets the attribute support_unencrypted_data # # @param value the value to set the attribute support_unencrypted_data to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def support_unencrypted_data=(_arg0); end # Returns the value of attribute validate_column_size. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def validate_column_size; end # Sets the attribute validate_column_size # # @param value the value to set the attribute validate_column_size to. # - # source://activerecord/lib/active_record/encryption/config.rb#9 + # source://activerecord//lib/active_record/encryption/config.rb#9 def validate_column_size=(_arg0); end private - # source://activerecord/lib/active_record/encryption/config.rb#63 + # source://activerecord//lib/active_record/encryption/config.rb#63 def add_previous_scheme(**properties); end - # source://activerecord/lib/active_record/encryption/config.rb#48 + # source://activerecord//lib/active_record/encryption/config.rb#48 def set_defaults; end end # Configuration API for ActiveRecord::Encryption # -# source://activerecord/lib/active_record/encryption/configurable.rb#6 +# source://activerecord//lib/active_record/encryption/configurable.rb#6 module ActiveRecord::Encryption::Configurable extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Encryption::Configurable::ClassMethods end -# source://activerecord/lib/active_record/encryption/configurable.rb#0 +# source://activerecord//lib/active_record/encryption/configurable.rb#14 module ActiveRecord::Encryption::Configurable::ClassMethods - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def cipher(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#20 + # source://activerecord//lib/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/lib/active_record/encryption/configurable.rb#52 + # source://activerecord//lib/active_record/encryption/configurable.rb#52 def encrypted_attribute_was_declared(klass, name); end - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def encryptor(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def frozen_encryption(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def key_generator(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def key_provider(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#17 + # source://activerecord//lib/active_record/encryption/configurable.rb#17 def message_serializer(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/configurable.rb#47 + # source://activerecord//lib/active_record/encryption/configurable.rb#47 def on_encrypted_attribute_declared(&block); end end @@ -19539,62 +19541,62 @@ end # * A cipher, the encryption algorithm # * A message serializer # -# source://activerecord/lib/active_record/encryption/context.rb#12 +# source://activerecord//lib/active_record/encryption/context.rb#12 class ActiveRecord::Encryption::Context # @return [Context] a new instance of Context # - # source://activerecord/lib/active_record/encryption/context.rb#17 + # source://activerecord//lib/active_record/encryption/context.rb#17 def initialize; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def cipher; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def cipher=(_arg0); end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def encryptor; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def encryptor=(_arg0); end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def frozen_encryption; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def frozen_encryption=(_arg0); end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#21 def frozen_encryption?; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def key_generator; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def key_generator=(_arg0); end - # source://activerecord/lib/active_record/encryption/context.rb#24 + # source://activerecord//lib/active_record/encryption/context.rb#15 def key_provider; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def key_provider=(_arg0); end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def message_serializer; end - # source://activerecord/lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#15 def message_serializer=(_arg0); end private - # source://activerecord/lib/active_record/encryption/context.rb#37 + # source://activerecord//lib/active_record/encryption/context.rb#37 def build_default_key_provider; end - # source://activerecord/lib/active_record/encryption/context.rb#29 + # source://activerecord//lib/active_record/encryption/context.rb#29 def set_defaults; end end -# source://activerecord/lib/active_record/encryption/context.rb#13 +# source://activerecord//lib/active_record/encryption/context.rb#13 ActiveRecord::Encryption::Context::PROPERTIES = T.let(T.unsafe(nil), Array) # ActiveRecord::Encryption uses encryption contexts to configure the different entities used to @@ -19606,64 +19608,64 @@ ActiveRecord::Encryption::Context::PROPERTIES = T.let(T.unsafe(nil), Array) # # See Context. # -# source://activerecord/lib/active_record/encryption/contexts.rb#13 +# source://activerecord//lib/active_record/encryption/contexts.rb#13 module ActiveRecord::Encryption::Contexts extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Encryption::Contexts::ClassMethods end -# source://activerecord/lib/active_record/encryption/contexts.rb#0 +# source://activerecord//lib/active_record/encryption/contexts.rb#21 module ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord/lib/active_record/encryption/contexts.rb#62 + # source://activerecord//lib/active_record/encryption/contexts.rb#62 def context; end - # source://activerecord/lib/active_record/encryption/contexts.rb#66 + # source://activerecord//lib/active_record/encryption/contexts.rb#66 def current_custom_context; end - # source://activerecord/lib/active_record/encryption/contexts.rb#57 + # source://activerecord//lib/active_record/encryption/contexts.rb#57 def protecting_encrypted_data(&block); end - # source://activerecord/lib/active_record/encryption/contexts.rb#70 + # source://activerecord//lib/active_record/encryption/contexts.rb#70 def reset_default_context; end - # source://activerecord/lib/active_record/encryption/contexts.rb#33 + # source://activerecord//lib/active_record/encryption/contexts.rb#33 def with_encryption_context(properties); end - # source://activerecord/lib/active_record/encryption/contexts.rb#49 + # source://activerecord//lib/active_record/encryption/contexts.rb#49 def without_encryption(&block); end end # A KeyProvider that derives keys from passwords. # -# source://activerecord/lib/active_record/encryption/derived_secret_key_provider.rb#6 +# source://activerecord//lib/active_record/encryption/derived_secret_key_provider.rb#6 class ActiveRecord::Encryption::DerivedSecretKeyProvider < ::ActiveRecord::Encryption::KeyProvider # @return [DerivedSecretKeyProvider] a new instance of DerivedSecretKeyProvider # - # source://activerecord/lib/active_record/encryption/derived_secret_key_provider.rb#7 + # source://activerecord//lib/active_record/encryption/derived_secret_key_provider.rb#7 def initialize(passwords, key_generator: T.unsafe(nil)); end private - # source://activerecord/lib/active_record/encryption/derived_secret_key_provider.rb#12 + # source://activerecord//lib/active_record/encryption/derived_secret_key_provider.rb#12 def derive_key_from(password, using: T.unsafe(nil)); end end # A KeyProvider that derives keys from passwords. # -# source://activerecord/lib/active_record/encryption/deterministic_key_provider.rb#6 +# source://activerecord//lib/active_record/encryption/deterministic_key_provider.rb#6 class ActiveRecord::Encryption::DeterministicKeyProvider < ::ActiveRecord::Encryption::DerivedSecretKeyProvider # @raise [ActiveRecord::Encryption::Errors::Configuration] # @return [DeterministicKeyProvider] a new instance of DeterministicKeyProvider # - # source://activerecord/lib/active_record/encryption/deterministic_key_provider.rb#7 + # source://activerecord//lib/active_record/encryption/deterministic_key_provider.rb#7 def initialize(password); end end # This is the concern mixed in Active Record models to make them encryptable. It adds the +encrypts+ # attribute declaration, as well as the API to encrypt and decrypt records. # -# source://activerecord/lib/active_record/encryption/encryptable_record.rb#7 +# source://activerecord//lib/active_record/encryption/encryptable_record.rb#7 module ActiveRecord::Encryption::EncryptableRecord extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -19673,54 +19675,54 @@ module ActiveRecord::Encryption::EncryptableRecord # Returns the ciphertext for +attribute_name+. # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#157 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#157 def ciphertext_for(attribute_name); end # Decrypts all the encryptable attributes and saves the changes. # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#171 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#171 def decrypt; end # Encrypts all the encryptable attributes and saves the changes. # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#166 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#166 def encrypt; end # Returns whether a given attribute is encrypted or not. # # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#146 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#146 def encrypted_attribute?(attribute_name); end private - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#178 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#178 def _create_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#214 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#214 def build_decrypt_attribute_assignments; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#208 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#208 def build_encrypt_attribute_assignments; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#223 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#223 def cant_modify_encrypted_attributes_when_frozen; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#193 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#193 def decrypt_attributes; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#187 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#187 def encrypt_attributes; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#204 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#204 def has_encrypted_attributes?; end # @raise [ActiveRecord::Encryption::Errors::Configuration] # - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#200 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#200 def validate_encryption_allowed; end module GeneratedClassMethods @@ -19736,45 +19738,45 @@ module ActiveRecord::Encryption::EncryptableRecord end end -# source://activerecord/lib/active_record/encryption/encryptable_record.rb#0 +# source://activerecord//lib/active_record/encryption/encryptable_record.rb#16 module ActiveRecord::Encryption::EncryptableRecord::ClassMethods - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#58 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#58 def deterministic_encrypted_attributes; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#49 + # source://activerecord//lib/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/lib/active_record/encryption/encryptable_record.rb#65 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#65 def source_attribute_from_preserved_attribute(attribute_name); end private - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#132 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#132 def add_length_validation_for_encrypted_columns; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#84 + # source://activerecord//lib/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/lib/active_record/encryption/encryptable_record.rb#78 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#78 def global_previous_schemes_for(scheme); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#126 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#126 def load_schema!; end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#109 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#109 def override_accessors_to_preserve_original(name, original_attribute_name); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#98 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#98 def preserve_original_encrypted(name); end - # source://activerecord/lib/active_record/encryption/encryptable_record.rb#70 + # source://activerecord//lib/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/lib/active_record/encryption/encryptable_record.rb#138 + # source://activerecord//lib/active_record/encryption/encryptable_record.rb#138 def validate_column_size(attribute_name); end end -# source://activerecord/lib/active_record/encryption/encryptable_record.rb#176 +# source://activerecord//lib/active_record/encryption/encryptable_record.rb#176 ActiveRecord::Encryption::EncryptableRecord::ORIGINAL_ATTRIBUTE_PREFIX = T.let(T.unsafe(nil), String) # An ActiveModel::Type::Value that encrypts/decrypts strings of text. @@ -19783,7 +19785,7 @@ ActiveRecord::Encryption::EncryptableRecord::ORIGINAL_ATTRIBUTE_PREFIX = T.let(T # model classes. Whenever you declare an attribute as encrypted, it configures an +EncryptedAttributeType+ # for that attribute. # -# source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#10 +# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#10 class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::Text include ::ActiveModel::Type::Helpers::Mutable @@ -19795,138 +19797,138 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T # # @return [EncryptedAttributeType] a new instance of EncryptedAttributeType # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#23 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#23 def initialize(scheme:, cast_type: T.unsafe(nil), previous_type: T.unsafe(nil), default: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#16 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#16 def accessor(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#31 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#31 def cast(value); end # Returns the value of attribute cast_type. # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#13 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#13 def cast_type; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#51 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#51 def changed_in_place?(raw_old_value, new_value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#35 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#35 def deserialize(value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def deterministic?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def downcase?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#47 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#47 def encrypted?(value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def fixed?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def key_provider(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def previous_schemes(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#56 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#56 def previous_types; end # Returns the value of attribute scheme. # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#13 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#13 def scheme; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#39 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#39 def serialize(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#61 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#61 def support_unencrypted_data?; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#15 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 def with_context(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#74 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#74 def build_previous_types_for(schemes); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#150 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#150 def clean_text_scheme; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#84 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#84 def decrypt(value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#146 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#146 def decryption_options; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#132 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#132 def encrypt(value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#142 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#142 def encryption_options; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#138 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#138 def encryptor; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#110 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#110 def handle_deserialize_error(error, value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#66 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#66 def previous_schemes_including_clean_text; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#80 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#80 def previous_type?; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#70 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#70 def previous_types_without_clean_text; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#126 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#126 def serialize_with_current(value); end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#122 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#122 def serialize_with_oldest(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#118 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#118 def serialize_with_oldest?; end - # source://activerecord/lib/active_record/encryption/encrypted_attribute_type.rb#102 + # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#102 def try_to_deserialize_with_previous_encrypted_types(value); end end -# source://activerecord/lib/active_record/encryption/encrypted_fixtures.rb#5 +# source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#5 module ActiveRecord::Encryption::EncryptedFixtures - # source://activerecord/lib/active_record/encryption/encrypted_fixtures.rb#6 + # source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#6 def initialize(fixture, model_class); end private - # source://activerecord/lib/active_record/encryption/encrypted_fixtures.rb#14 + # source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#14 def encrypt_fixture_data(fixture, model_class); end - # source://activerecord/lib/active_record/encryption/encrypted_fixtures.rb#26 + # source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#26 def process_preserved_original_columns(fixture, model_class); end end # An encryptor that can encrypt data but can't decrypt it. # -# source://activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb#6 +# source://activerecord//lib/active_record/encryption/encrypting_only_encryptor.rb#6 class ActiveRecord::Encryption::EncryptingOnlyEncryptor < ::ActiveRecord::Encryption::Encryptor - # source://activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb#7 + # source://activerecord//lib/active_record/encryption/encrypting_only_encryptor.rb#7 def decrypt(encrypted_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end end @@ -19936,7 +19938,7 @@ end # It interacts with a KeyProvider for getting the keys, and delegate to # ActiveRecord::Encryption::Cipher the actual encryption algorithm. # -# source://activerecord/lib/active_record/encryption/encryptor.rb#14 +# source://activerecord//lib/active_record/encryption/encryptor.rb#14 class ActiveRecord::Encryption::Encryptor # Decrypts a +clean_text+ and returns the result as clean text # @@ -19950,7 +19952,7 @@ class ActiveRecord::Encryption::Encryptor # Cipher-specific options that will be passed to the Cipher configured in # +ActiveRecord::Encryption.cipher+ # - # source://activerecord/lib/active_record/encryption/encryptor.rb#52 + # source://activerecord//lib/active_record/encryption/encryptor.rb#52 def decrypt(encrypted_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # Encrypts +clean_text+ and returns the encrypted result @@ -19973,67 +19975,67 @@ class ActiveRecord::Encryption::Encryptor # Cipher-specific options that will be passed to the Cipher configured in # +ActiveRecord::Encryption.cipher+ # - # source://activerecord/lib/active_record/encryption/encryptor.rb#34 + # source://activerecord//lib/active_record/encryption/encryptor.rb#34 def encrypt(clear_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # Returns whether the text is encrypted or not # # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/encryptor.rb#62 + # source://activerecord//lib/active_record/encryption/encryptor.rb#62 def encrypted?(text); end private - # source://activerecord/lib/active_record/encryption/encryptor.rb#88 + # source://activerecord//lib/active_record/encryption/encryptor.rb#88 def build_encrypted_message(clear_text, key_provider:, cipher_options:); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#84 + # source://activerecord//lib/active_record/encryption/encryptor.rb#84 def cipher; end - # source://activerecord/lib/active_record/encryption/encryptor.rb#122 + # source://activerecord//lib/active_record/encryption/encryptor.rb#122 def compress(data); end # Under certain threshold, ZIP compression is actually worse that not compressing # - # source://activerecord/lib/active_record/encryption/encryptor.rb#114 + # source://activerecord//lib/active_record/encryption/encryptor.rb#114 def compress_if_worth_it(string); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#74 + # source://activerecord//lib/active_record/encryption/encryptor.rb#74 def default_key_provider; end - # source://activerecord/lib/active_record/encryption/encryptor.rb#102 + # source://activerecord//lib/active_record/encryption/encryptor.rb#102 def deserialize_message(message); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#142 + # source://activerecord//lib/active_record/encryption/encryptor.rb#142 def force_encoding_if_needed(value); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#150 + # source://activerecord//lib/active_record/encryption/encryptor.rb#150 def forced_encoding_for_deterministic_encryption; end - # source://activerecord/lib/active_record/encryption/encryptor.rb#98 + # source://activerecord//lib/active_record/encryption/encryptor.rb#98 def serialize_message(message); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#109 + # source://activerecord//lib/active_record/encryption/encryptor.rb#109 def serializer; end - # source://activerecord/lib/active_record/encryption/encryptor.rb#136 + # source://activerecord//lib/active_record/encryption/encryptor.rb#136 def uncompress(data); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#128 + # source://activerecord//lib/active_record/encryption/encryptor.rb#128 def uncompress_if_needed(data, compressed); end - # source://activerecord/lib/active_record/encryption/encryptor.rb#78 + # source://activerecord//lib/active_record/encryption/encryptor.rb#78 def validate_payload_type(clear_text); end end -# source://activerecord/lib/active_record/encryption/encryptor.rb#70 +# source://activerecord//lib/active_record/encryption/encryptor.rb#70 ActiveRecord::Encryption::Encryptor::DECRYPT_ERRORS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/encryption/encryptor.rb#71 +# source://activerecord//lib/active_record/encryption/encryptor.rb#71 ActiveRecord::Encryption::Encryptor::ENCODING_ERRORS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/encryption/encryptor.rb#72 +# source://activerecord//lib/active_record/encryption/encryptor.rb#72 ActiveRecord::Encryption::Encryptor::THRESHOLD_TO_JUSTIFY_COMPRESSION = T.let(T.unsafe(nil), Integer) # Implements a simple envelope encryption approach where: @@ -20049,54 +20051,54 @@ ActiveRecord::Encryption::Encryptor::THRESHOLD_TO_JUSTIFY_COMPRESSION = T.let(T. # it will try all the configured master keys looking for the right one, in order to # return the right decryption key. # -# source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#17 +# source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#17 class ActiveRecord::Encryption::EnvelopeEncryptionKeyProvider - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#31 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#31 def active_primary_key; end - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#26 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#26 def decryption_keys(encrypted_message); end - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#18 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#18 def encryption_key; end private - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#40 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#40 def decrypt_data_key(encrypted_message); end - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#36 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#36 def encrypt_data_key(random_secret); end - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#50 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#50 def generate_random_secret; end - # source://activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb#46 + # source://activerecord//lib/active_record/encryption/envelope_encryption_key_provider.rb#46 def primary_key_provider; end end -# source://activerecord/lib/active_record/encryption/errors.rb#5 +# source://activerecord//lib/active_record/encryption/errors.rb#5 module ActiveRecord::Encryption::Errors; end -# source://activerecord/lib/active_record/encryption/errors.rb#6 +# source://activerecord//lib/active_record/encryption/errors.rb#6 class ActiveRecord::Encryption::Errors::Base < ::StandardError; end -# source://activerecord/lib/active_record/encryption/errors.rb#10 +# source://activerecord//lib/active_record/encryption/errors.rb#10 class ActiveRecord::Encryption::Errors::Configuration < ::ActiveRecord::Encryption::Errors::Base; end -# source://activerecord/lib/active_record/encryption/errors.rb#8 +# source://activerecord//lib/active_record/encryption/errors.rb#8 class ActiveRecord::Encryption::Errors::Decryption < ::ActiveRecord::Encryption::Errors::Base; end -# source://activerecord/lib/active_record/encryption/errors.rb#7 +# source://activerecord//lib/active_record/encryption/errors.rb#7 class ActiveRecord::Encryption::Errors::Encoding < ::ActiveRecord::Encryption::Errors::Base; end -# source://activerecord/lib/active_record/encryption/errors.rb#12 +# source://activerecord//lib/active_record/encryption/errors.rb#12 class ActiveRecord::Encryption::Errors::EncryptedContentIntegrity < ::ActiveRecord::Encryption::Errors::Base; end -# source://activerecord/lib/active_record/encryption/errors.rb#9 +# source://activerecord//lib/active_record/encryption/errors.rb#9 class ActiveRecord::Encryption::Errors::Encryption < ::ActiveRecord::Encryption::Errors::Base; end -# source://activerecord/lib/active_record/encryption/errors.rb#11 +# source://activerecord//lib/active_record/encryption/errors.rb#11 class ActiveRecord::Encryption::Errors::ForbiddenClass < ::ActiveRecord::Encryption::Errors::Base; end # Automatically expand encrypted arguments to support querying both encrypted and unencrypted data @@ -20118,47 +20120,47 @@ class ActiveRecord::Encryption::Errors::ForbiddenClass < ::ActiveRecord::Encrypt # # This module is included if `config.active_record.encryption.extend_queries` is `true`. # -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#23 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#23 module ActiveRecord::Encryption::ExtendedDeterministicQueries class << self - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#24 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#24 def install_support; end end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#132 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#132 class ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue # @return [AdditionalValue] a new instance of AdditionalValue # - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#135 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#135 def initialize(value, type); end # Returns the value of attribute type. # - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#133 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#133 def type; end # Returns the value of attribute value. # - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#133 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#133 def value; end private - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#141 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#141 def process(value); end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#122 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#122 module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries::ClassMethods end -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#0 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#125 module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries::ClassMethods - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#126 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#126 def find_by(*args); end end @@ -20166,53 +20168,53 @@ end # +activerecord/test/cases/encryption/performance/extended_deterministic_queries_performance_test.rb+ # to make sure performance overhead is acceptable. # -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#41 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#41 module ActiveRecord::Encryption::ExtendedDeterministicQueries::EncryptedQuery class << self - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#43 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#43 def process_arguments(owner, args, check_for_additional_values); end private - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#87 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#87 def additional_values_for(value, type); end - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#69 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#69 def process_encrypted_query_argument(value, check_for_additional_values, type); end end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#146 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#146 module ActiveRecord::Encryption::ExtendedDeterministicQueries::ExtendedEncryptableType - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#147 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#147 def serialize(data); end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#95 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#95 module ActiveRecord::Encryption::ExtendedDeterministicQueries::RelationQueries # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#100 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#100 def exists?(*args); end - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#104 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#104 def scope_for_create; end - # source://activerecord/lib/active_record/encryption/extended_deterministic_queries.rb#96 + # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#96 def where(*args); end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#5 +# source://activerecord//lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#5 module ActiveRecord::Encryption::ExtendedDeterministicUniquenessValidator class << self - # source://activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#6 + # source://activerecord//lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#6 def install_support; end end end -# source://activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#10 +# source://activerecord//lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#10 module ActiveRecord::Encryption::ExtendedDeterministicUniquenessValidator::EncryptedUniquenessValidator - # source://activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#11 + # source://activerecord//lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#11 def validate_each(record, attribute, value); end end @@ -20222,39 +20224,39 @@ end # in clean (public) and can be used, for example, to include information that # references the key for a future retrieval operation. # -# source://activerecord/lib/active_record/encryption/key.rb#10 +# source://activerecord//lib/active_record/encryption/key.rb#10 class ActiveRecord::Encryption::Key # @return [Key] a new instance of Key # - # source://activerecord/lib/active_record/encryption/key.rb#13 + # source://activerecord//lib/active_record/encryption/key.rb#13 def initialize(secret); end - # source://activerecord/lib/active_record/encryption/key.rb#23 + # source://activerecord//lib/active_record/encryption/key.rb#23 def id; end # Returns the value of attribute public_tags. # - # source://activerecord/lib/active_record/encryption/key.rb#11 + # source://activerecord//lib/active_record/encryption/key.rb#11 def public_tags; end # Returns the value of attribute secret. # - # source://activerecord/lib/active_record/encryption/key.rb#11 + # source://activerecord//lib/active_record/encryption/key.rb#11 def secret; end class << self - # source://activerecord/lib/active_record/encryption/key.rb#18 + # source://activerecord//lib/active_record/encryption/key.rb#18 def derive_from(password); end end end # Utility for generating and deriving random keys. # -# source://activerecord/lib/active_record/encryption/key_generator.rb#8 +# source://activerecord//lib/active_record/encryption/key_generator.rb#8 class ActiveRecord::Encryption::KeyGenerator # @return [KeyGenerator] a new instance of KeyGenerator # - # source://activerecord/lib/active_record/encryption/key_generator.rb#11 + # source://activerecord//lib/active_record/encryption/key_generator.rb#11 def initialize(hash_digest_class: T.unsafe(nil)); end # Derives a key from the given password. The key will have a size in bytes of +:length+ (configured +Cipher+'s length @@ -20262,7 +20264,7 @@ class ActiveRecord::Encryption::KeyGenerator # # The generated key will be salted with the value of +ActiveRecord::Encryption.key_derivation_salt+ # - # source://activerecord/lib/active_record/encryption/key_generator.rb#38 + # source://activerecord//lib/active_record/encryption/key_generator.rb#38 def derive_key_from(password, length: T.unsafe(nil)); end # Returns a random key in hexadecimal format. The key will have a size in bytes of +:length+ (configured +Cipher+'s @@ -20276,25 +20278,25 @@ class ActiveRecord::Encryption::KeyGenerator # # [ value ].pack("H*") # - # source://activerecord/lib/active_record/encryption/key_generator.rb#30 + # source://activerecord//lib/active_record/encryption/key_generator.rb#30 def generate_random_hex_key(length: T.unsafe(nil)); end # Returns a random key. The key will have a size in bytes of +:length+ (configured +Cipher+'s length by default) # - # source://activerecord/lib/active_record/encryption/key_generator.rb#16 + # source://activerecord//lib/active_record/encryption/key_generator.rb#16 def generate_random_key(length: T.unsafe(nil)); end # Returns the value of attribute hash_digest_class. # - # source://activerecord/lib/active_record/encryption/key_generator.rb#9 + # source://activerecord//lib/active_record/encryption/key_generator.rb#9 def hash_digest_class; end private - # source://activerecord/lib/active_record/encryption/key_generator.rb#44 + # source://activerecord//lib/active_record/encryption/key_generator.rb#44 def key_derivation_salt; end - # source://activerecord/lib/active_record/encryption/key_generator.rb#48 + # source://activerecord//lib/active_record/encryption/key_generator.rb#48 def key_length; end end @@ -20304,11 +20306,11 @@ end # * A list of potential decryption keys. Serving multiple decryption keys supports rotation-schemes # where new keys are added but old keys need to continue working # -# source://activerecord/lib/active_record/encryption/key_provider.rb#10 +# source://activerecord//lib/active_record/encryption/key_provider.rb#10 class ActiveRecord::Encryption::KeyProvider # @return [KeyProvider] a new instance of KeyProvider # - # source://activerecord/lib/active_record/encryption/key_provider.rb#11 + # source://activerecord//lib/active_record/encryption/key_provider.rb#11 def initialize(keys); end # Returns the list of decryption keys @@ -20316,7 +20318,7 @@ class ActiveRecord::Encryption::KeyProvider # When the message holds a reference to its encryption key, it will return an array # with that key. If not, it will return the list of keys. # - # source://activerecord/lib/active_record/encryption/key_provider.rb#32 + # source://activerecord//lib/active_record/encryption/key_provider.rb#32 def decryption_keys(encrypted_message); end # Returns the first key in the list as the active key to perform encryptions @@ -20325,12 +20327,12 @@ class ActiveRecord::Encryption::KeyProvider # a public tag referencing the key itself. That key will be stored in the public # headers of the encrypted message # - # source://activerecord/lib/active_record/encryption/key_provider.rb#20 + # source://activerecord//lib/active_record/encryption/key_provider.rb#20 def encryption_key; end private - # source://activerecord/lib/active_record/encryption/key_provider.rb#41 + # source://activerecord//lib/active_record/encryption/key_provider.rb#41 def keys_grouped_by_id; end end @@ -20341,43 +20343,43 @@ end # # See Encryptor#encrypt # -# source://activerecord/lib/active_record/encryption/message.rb#11 +# source://activerecord//lib/active_record/encryption/message.rb#11 class ActiveRecord::Encryption::Message # @return [Message] a new instance of Message # - # source://activerecord/lib/active_record/encryption/message.rb#14 + # source://activerecord//lib/active_record/encryption/message.rb#14 def initialize(payload: T.unsafe(nil), headers: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/message.rb#21 + # source://activerecord//lib/active_record/encryption/message.rb#21 def ==(other_message); end # Returns the value of attribute headers. # - # source://activerecord/lib/active_record/encryption/message.rb#12 + # source://activerecord//lib/active_record/encryption/message.rb#12 def headers; end # Sets the attribute headers # # @param value the value to set the attribute headers to. # - # source://activerecord/lib/active_record/encryption/message.rb#12 + # source://activerecord//lib/active_record/encryption/message.rb#12 def headers=(_arg0); end # Returns the value of attribute payload. # - # source://activerecord/lib/active_record/encryption/message.rb#12 + # source://activerecord//lib/active_record/encryption/message.rb#12 def payload; end # Sets the attribute payload # # @param value the value to set the attribute payload to. # - # source://activerecord/lib/active_record/encryption/message.rb#12 + # source://activerecord//lib/active_record/encryption/message.rb#12 def payload=(_arg0); end private - # source://activerecord/lib/active_record/encryption/message.rb#26 + # source://activerecord//lib/active_record/encryption/message.rb#26 def validate_payload_type(payload); end end @@ -20398,54 +20400,54 @@ end # to prevent JSON parsing errors and encoding issues when # storing the resulting serialized data. # -# source://activerecord/lib/active_record/encryption/message_serializer.rb#23 +# source://activerecord//lib/active_record/encryption/message_serializer.rb#23 class ActiveRecord::Encryption::MessageSerializer # @raise [ActiveRecord::Encryption::Errors::ForbiddenClass] # - # source://activerecord/lib/active_record/encryption/message_serializer.rb#31 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#31 def dump(message); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#24 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#24 def load(serialized_content); end private - # source://activerecord/lib/active_record/encryption/message_serializer.rb#81 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#81 def decode_if_needed(value); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#73 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#73 def encode_if_needed(value); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#67 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#67 def headers_to_json(headers); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#60 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#60 def message_to_json(message); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#37 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#37 def parse_message(data, level); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#52 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#52 def parse_properties(headers, level); end - # source://activerecord/lib/active_record/encryption/message_serializer.rb#42 + # source://activerecord//lib/active_record/encryption/message_serializer.rb#42 def validate_message_data_format(data, level); end end # An encryptor that won't decrypt or encrypt. It will just return the passed # values # -# source://activerecord/lib/active_record/encryption/null_encryptor.rb#7 +# source://activerecord//lib/active_record/encryption/null_encryptor.rb#7 class ActiveRecord::Encryption::NullEncryptor - # source://activerecord/lib/active_record/encryption/null_encryptor.rb#12 + # source://activerecord//lib/active_record/encryption/null_encryptor.rb#12 def decrypt(encrypted_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/null_encryptor.rb#8 + # source://activerecord//lib/active_record/encryption/null_encryptor.rb#8 def encrypt(clean_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/null_encryptor.rb#16 + # source://activerecord//lib/active_record/encryption/null_encryptor.rb#16 def encrypted?(text); end end @@ -20461,17 +20463,17 @@ end # # See +Properties::DEFAULT_PROPERTIES+, Key, Message # -# source://activerecord/lib/active_record/encryption/properties.rb#16 +# source://activerecord//lib/active_record/encryption/properties.rb#16 class ActiveRecord::Encryption::Properties # @return [Properties] a new instance of Properties # - # source://activerecord/lib/active_record/encryption/properties.rb#42 + # source://activerecord//lib/active_record/encryption/properties.rb#42 def initialize(initial_properties = T.unsafe(nil)); end - # source://activerecord/lib/active_record/encryption/properties.rb#20 + # source://activerecord//lib/active_record/encryption/properties.rb#20 def ==(arg); end - # source://activerecord/lib/active_record/encryption/properties.rb#20 + # source://activerecord//lib/active_record/encryption/properties.rb#20 def [](*_arg0, **_arg1, &_arg2); end # Set a value for a given key @@ -20480,80 +20482,80 @@ class ActiveRecord::Encryption::Properties # # @raise [Errors::EncryptedContentIntegrity] # - # source://activerecord/lib/active_record/encryption/properties.rb#50 + # source://activerecord//lib/active_record/encryption/properties.rb#50 def []=(key, value); end - # source://activerecord/lib/active_record/encryption/properties.rb#62 + # source://activerecord//lib/active_record/encryption/properties.rb#62 def add(other_properties); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def auth_tag; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def auth_tag=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def compressed; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def compressed=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#20 + # source://activerecord//lib/active_record/encryption/properties.rb#20 def each(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def encoding; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def encoding=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def encrypted_data_key; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def encrypted_data_key=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def encrypted_data_key_id; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def encrypted_data_key_id=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#33 + # source://activerecord//lib/active_record/encryption/properties.rb#33 def iv; end - # source://activerecord/lib/active_record/encryption/properties.rb#37 + # source://activerecord//lib/active_record/encryption/properties.rb#37 def iv=(value); end - # source://activerecord/lib/active_record/encryption/properties.rb#20 + # source://activerecord//lib/active_record/encryption/properties.rb#20 def key?(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#354 + # source://activerecord//lib/active_record/encryption/properties.rb#19 def method_missing(method, *args, **_arg2, &block); end - # source://activerecord/lib/active_record/encryption/properties.rb#68 + # source://activerecord//lib/active_record/encryption/properties.rb#68 def to_h; end - # source://activerecord/lib/active_record/encryption/properties.rb#56 + # source://activerecord//lib/active_record/encryption/properties.rb#56 def validate_value_type(value); end private # Returns the value of attribute data. # - # source://activerecord/lib/active_record/encryption/properties.rb#73 + # source://activerecord//lib/active_record/encryption/properties.rb#73 def data; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#346 + # source://activerecord//lib/active_record/encryption/properties.rb#19 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/encryption/properties.rb#17 +# source://activerecord//lib/active_record/encryption/properties.rb#17 ActiveRecord::Encryption::Properties::ALLOWED_VALUE_CLASSES = T.let(T.unsafe(nil), Array) # For each entry it generates an accessor exposing the full name # -# source://activerecord/lib/active_record/encryption/properties.rb#23 +# source://activerecord//lib/active_record/encryption/properties.rb#23 ActiveRecord::Encryption::Properties::DEFAULT_PROPERTIES = T.let(T.unsafe(nil), Hash) # A +NullEncryptor+ that will raise an error when trying to encrypt data @@ -20562,19 +20564,19 @@ ActiveRecord::Encryption::Properties::DEFAULT_PROPERTIES = T.let(T.unsafe(nil), # and you want to make sure you won't overwrite any encryptable attribute with # the wrong content. # -# source://activerecord/lib/active_record/encryption/read_only_null_encryptor.rb#10 +# source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#10 class ActiveRecord::Encryption::ReadOnlyNullEncryptor - # source://activerecord/lib/active_record/encryption/read_only_null_encryptor.rb#15 + # source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#15 def decrypt(encrypted_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # @raise [Errors::Encryption] # - # source://activerecord/lib/active_record/encryption/read_only_null_encryptor.rb#11 + # source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#11 def encrypt(clean_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/read_only_null_encryptor.rb#19 + # source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#19 def encrypted?(text); end end @@ -20584,81 +20586,81 @@ end # # See EncryptedAttributeType, Context # -# source://activerecord/lib/active_record/encryption/scheme.rb#10 +# source://activerecord//lib/active_record/encryption/scheme.rb#10 class ActiveRecord::Encryption::Scheme # @return [Scheme] a new instance of Scheme # - # source://activerecord/lib/active_record/encryption/scheme.rb#13 + # source://activerecord//lib/active_record/encryption/scheme.rb#13 def initialize(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_schemes: T.unsafe(nil), **context_properties); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#73 + # source://activerecord//lib/active_record/encryption/scheme.rb#73 def compatible_with?(other_scheme); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#39 + # source://activerecord//lib/active_record/encryption/scheme.rb#39 def deterministic?; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#35 + # source://activerecord//lib/active_record/encryption/scheme.rb#35 def downcase?; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#47 + # source://activerecord//lib/active_record/encryption/scheme.rb#47 def fixed?; end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#31 + # source://activerecord//lib/active_record/encryption/scheme.rb#31 def ignore_case?; end - # source://activerecord/lib/active_record/encryption/scheme.rb#52 + # source://activerecord//lib/active_record/encryption/scheme.rb#52 def key_provider; end - # source://activerecord/lib/active_record/encryption/scheme.rb#56 + # source://activerecord//lib/active_record/encryption/scheme.rb#56 def merge(other_scheme); end # Returns the value of attribute previous_schemes. # - # source://activerecord/lib/active_record/encryption/scheme.rb#11 + # source://activerecord//lib/active_record/encryption/scheme.rb#11 def previous_schemes; end # Sets the attribute previous_schemes # # @param value the value to set the attribute previous_schemes to. # - # source://activerecord/lib/active_record/encryption/scheme.rb#11 + # source://activerecord//lib/active_record/encryption/scheme.rb#11 def previous_schemes=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/encryption/scheme.rb#43 + # source://activerecord//lib/active_record/encryption/scheme.rb#43 def support_unencrypted_data?; end - # source://activerecord/lib/active_record/encryption/scheme.rb#60 + # source://activerecord//lib/active_record/encryption/scheme.rb#60 def to_h; end - # source://activerecord/lib/active_record/encryption/scheme.rb#65 + # source://activerecord//lib/active_record/encryption/scheme.rb#65 def with_context(&block); end private - # source://activerecord/lib/active_record/encryption/scheme.rb#95 + # source://activerecord//lib/active_record/encryption/scheme.rb#95 def default_key_provider; end - # source://activerecord/lib/active_record/encryption/scheme.rb#89 + # source://activerecord//lib/active_record/encryption/scheme.rb#89 def deterministic_key_provider; end - # source://activerecord/lib/active_record/encryption/scheme.rb#83 + # source://activerecord//lib/active_record/encryption/scheme.rb#83 def key_provider_from_key; end # @raise [Errors::Configuration] # - # source://activerecord/lib/active_record/encryption/scheme.rb#78 + # source://activerecord//lib/active_record/encryption/scheme.rb#78 def validate_config!; end end @@ -20821,121 +20823,121 @@ end # # conversation.status = :unknown # 'unknown' is not a valid status (ArgumentError) # -# source://activerecord/lib/active_record/enum.rb#165 +# source://activerecord//lib/active_record/enum.rb#165 module ActiveRecord::Enum - # source://activerecord/lib/active_record/enum.rb#216 + # source://activerecord//lib/active_record/enum.rb#216 def enum(name = T.unsafe(nil), values = T.unsafe(nil), **options); end private - # source://activerecord/lib/active_record/enum.rb#234 + # source://activerecord//lib/active_record/enum.rb#234 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/lib/active_record/enum.rb#329 + # source://activerecord//lib/active_record/enum.rb#329 def _enum_methods_module; end - # source://activerecord/lib/active_record/enum.rb#337 + # source://activerecord//lib/active_record/enum.rb#337 def assert_valid_enum_definition_values(values); end - # source://activerecord/lib/active_record/enum.rb#370 + # source://activerecord//lib/active_record/enum.rb#370 def detect_enum_conflict!(enum_name, method_name, klass_method = T.unsafe(nil)); end - # source://activerecord/lib/active_record/enum.rb#394 + # source://activerecord//lib/active_record/enum.rb#394 def detect_negative_enum_conditions!(method_names); end - # source://activerecord/lib/active_record/enum.rb#229 + # source://activerecord//lib/active_record/enum.rb#229 def inherited(base); end # @raise [ArgumentError] # - # source://activerecord/lib/active_record/enum.rb#384 + # source://activerecord//lib/active_record/enum.rb#384 def raise_conflict_error(enum_name, method_name, type: T.unsafe(nil), source: T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/enum.rb#166 + # source://activerecord//lib/active_record/enum.rb#166 def extended(base); end end end -# source://activerecord/lib/active_record/enum.rb#364 +# source://activerecord//lib/active_record/enum.rb#364 ActiveRecord::Enum::ENUM_CONFLICT_MESSAGE = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/enum.rb#297 +# source://activerecord//lib/active_record/enum.rb#297 class ActiveRecord::Enum::EnumMethods < ::Module # @return [EnumMethods] a new instance of EnumMethods # - # source://activerecord/lib/active_record/enum.rb#298 + # source://activerecord//lib/active_record/enum.rb#298 def initialize(klass); end private - # source://activerecord/lib/active_record/enum.rb#305 + # source://activerecord//lib/active_record/enum.rb#305 def define_enum_methods(name, value_method_name, value, scopes, instance_methods); end # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/enum.rb#303 + # source://activerecord//lib/active_record/enum.rb#303 def klass; end end -# source://activerecord/lib/active_record/enum.rb#170 +# source://activerecord//lib/active_record/enum.rb#170 class ActiveRecord::Enum::EnumType < ::ActiveModel::Type::Value # @return [EnumType] a new instance of EnumType # - # source://activerecord/lib/active_record/enum.rb#173 + # source://activerecord//lib/active_record/enum.rb#173 def initialize(name, mapping, subtype, raise_on_invalid_values: T.unsafe(nil)); end - # source://activerecord/lib/active_record/enum.rb#202 + # source://activerecord//lib/active_record/enum.rb#202 def assert_valid_value(value); end - # source://activerecord/lib/active_record/enum.rb#180 + # source://activerecord//lib/active_record/enum.rb#180 def cast(value); end - # source://activerecord/lib/active_record/enum.rb#190 + # source://activerecord//lib/active_record/enum.rb#190 def deserialize(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/enum.rb#198 + # source://activerecord//lib/active_record/enum.rb#198 def serializable?(value, &block); end - # source://activerecord/lib/active_record/enum.rb#194 + # source://activerecord//lib/active_record/enum.rb#194 def serialize(value); end # Returns the value of attribute subtype. # - # source://activerecord/lib/active_record/enum.rb#210 + # source://activerecord//lib/active_record/enum.rb#210 def subtype; end - # source://activerecord/lib/active_record/enum.rb#171 + # source://activerecord//lib/active_record/enum.rb#171 def type(*_arg0, **_arg1, &_arg2); end private # Returns the value of attribute mapping. # - # source://activerecord/lib/active_record/enum.rb#213 + # source://activerecord//lib/active_record/enum.rb#213 def mapping; end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/enum.rb#213 + # source://activerecord//lib/active_record/enum.rb#213 def name; end end -# source://activerecord/lib/active_record/migration.rb#204 +# source://activerecord//lib/active_record/migration.rb#204 class ActiveRecord::EnvironmentMismatchError < ::ActiveRecord::ActiveRecordError # @return [EnvironmentMismatchError] a new instance of EnvironmentMismatchError # - # source://activerecord/lib/active_record/migration.rb#205 + # source://activerecord//lib/active_record/migration.rb#205 def initialize(current: T.unsafe(nil), stored: T.unsafe(nil)); end end -# source://activerecord/lib/active_record/migration.rb#218 +# source://activerecord//lib/active_record/migration.rb#218 class ActiveRecord::EnvironmentStorageError < ::ActiveRecord::ActiveRecordError # @return [EnvironmentStorageError] a new instance of EnvironmentStorageError # - # source://activerecord/lib/active_record/migration.rb#219 + # source://activerecord//lib/active_record/migration.rb#219 def initialize; end end @@ -20944,32 +20946,32 @@ end # {ActiveRecord::Base.connection_pool.disconnect!}[rdoc-ref:ConnectionAdapters::ConnectionPool#disconnect!] # or {ActiveRecord::Base.connection_handler.clear_reloadable_connections!}[rdoc-ref:ConnectionAdapters::ConnectionHandler#clear_reloadable_connections!]. # -# source://activerecord/lib/active_record/errors.rb#119 +# source://activerecord//lib/active_record/errors.rb#119 class ActiveRecord::ExclusiveConnectionTimeoutError < ::ActiveRecord::ConnectionTimeoutError; end -# source://activerecord/lib/active_record/explain.rb#6 +# source://activerecord//lib/active_record/explain.rb#6 module ActiveRecord::Explain # Executes the block with the collect flag enabled. Queries are collected # asynchronously by the subscriber and returned. # - # source://activerecord/lib/active_record/explain.rb#9 + # source://activerecord//lib/active_record/explain.rb#9 def collecting_queries_for_explain; end # Makes the adapter execute EXPLAIN for the tuples of queries and bindings. # Returns a formatted string ready to be logged. # - # source://activerecord/lib/active_record/explain.rb#19 + # source://activerecord//lib/active_record/explain.rb#19 def exec_explain(queries, options = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/explain.rb#54 + # source://activerecord//lib/active_record/explain.rb#54 def build_explain_clause(options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/explain.rb#62 + # source://activerecord//lib/active_record/explain.rb#62 def connection_explain(sql, binds, options); end - # source://activerecord/lib/active_record/explain.rb#39 + # source://activerecord//lib/active_record/explain.rb#39 def render_bind(attr); end end @@ -20979,76 +20981,76 @@ end # # returns the collected queries local to the current thread. # -# source://activerecord/lib/active_record/explain_registry.rb#11 +# source://activerecord//lib/active_record/explain_registry.rb#11 class ActiveRecord::ExplainRegistry # @return [ExplainRegistry] a new instance of ExplainRegistry # - # source://activerecord/lib/active_record/explain_registry.rb#24 + # source://activerecord//lib/active_record/explain_registry.rb#24 def initialize; end # Returns the value of attribute collect. # - # source://activerecord/lib/active_record/explain_registry.rb#21 + # source://activerecord//lib/active_record/explain_registry.rb#21 def collect; end # Sets the attribute collect # # @param value the value to set the attribute collect to. # - # source://activerecord/lib/active_record/explain_registry.rb#21 + # source://activerecord//lib/active_record/explain_registry.rb#21 def collect=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/explain_registry.rb#28 + # source://activerecord//lib/active_record/explain_registry.rb#28 def collect?; end # Returns the value of attribute queries. # - # source://activerecord/lib/active_record/explain_registry.rb#22 + # source://activerecord//lib/active_record/explain_registry.rb#22 def queries; end - # source://activerecord/lib/active_record/explain_registry.rb#32 + # source://activerecord//lib/active_record/explain_registry.rb#32 def reset; end class << self - # source://activerecord/lib/active_record/explain_registry.rb#13 + # source://activerecord//lib/active_record/explain_registry.rb#13 def collect(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/explain_registry.rb#13 + # source://activerecord//lib/active_record/explain_registry.rb#13 def collect=(arg); end - # source://activerecord/lib/active_record/explain_registry.rb#13 + # source://activerecord//lib/active_record/explain_registry.rb#13 def collect?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/explain_registry.rb#13 + # source://activerecord//lib/active_record/explain_registry.rb#13 def queries(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/explain_registry.rb#13 + # source://activerecord//lib/active_record/explain_registry.rb#13 def reset(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/explain_registry.rb#16 + # source://activerecord//lib/active_record/explain_registry.rb#16 def instance; end end end -# source://activerecord/lib/active_record/explain_subscriber.rb#7 +# source://activerecord//lib/active_record/explain_subscriber.rb#7 class ActiveRecord::ExplainSubscriber - # source://activerecord/lib/active_record/explain_subscriber.rb#12 + # source://activerecord//lib/active_record/explain_subscriber.rb#12 def finish(name, id, payload); end # @return [Boolean] # - # source://activerecord/lib/active_record/explain_subscriber.rb#25 + # source://activerecord//lib/active_record/explain_subscriber.rb#25 def ignore_payload?(payload); end - # source://activerecord/lib/active_record/explain_subscriber.rb#8 + # source://activerecord//lib/active_record/explain_subscriber.rb#8 def start(name, id, payload); end end -# source://activerecord/lib/active_record/explain_subscriber.rb#24 +# source://activerecord//lib/active_record/explain_subscriber.rb#24 ActiveRecord::ExplainSubscriber::EXPLAINED_SQLS = T.let(T.unsafe(nil), Regexp) # SCHEMA queries cannot be EXPLAINed, also we do not want to run EXPLAIN on @@ -21057,10 +21059,10 @@ ActiveRecord::ExplainSubscriber::EXPLAINED_SQLS = T.let(T.unsafe(nil), Regexp) # On the other hand, we want to monitor the performance of our real database # queries, not the performance of the access to the query cache. # -# source://activerecord/lib/active_record/explain_subscriber.rb#23 +# source://activerecord//lib/active_record/explain_subscriber.rb#23 ActiveRecord::ExplainSubscriber::IGNORED_PAYLOADS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/finder_methods.rb#6 +# source://activerecord//lib/active_record/relation/finder_methods.rb#6 module ActiveRecord::FinderMethods # Returns true if a record exists in the table that matches the +id+ or # conditions given, or false otherwise. The argument can take six forms: @@ -21093,7 +21095,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#349 + # source://activerecord//lib/active_record/relation/finder_methods.rb#349 def exists?(conditions = T.unsafe(nil)); end # Find the fifth record. @@ -21103,13 +21105,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).fifth # returns the fifth object from OFFSET 3 (which is OFFSET 7) # Person.where(["user_name = :u", { u: user_name }]).fifth # - # source://activerecord/lib/active_record/relation/finder_methods.rb#263 + # source://activerecord//lib/active_record/relation/finder_methods.rb#263 def fifth; end # Same as #fifth but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#269 + # source://activerecord//lib/active_record/relation/finder_methods.rb#269 def fifth!; end # Find by id - This can either be a specific id (ID), a list of ids (ID, ID, ID), or an array of ids ([ID, ID, ID]). @@ -21194,7 +21196,7 @@ module ActiveRecord::FinderMethods # Person.where(name: 'Spartacus', rating: 4).pluck(:field1, :field2) # # returns an Array of the required fields. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#90 + # source://activerecord//lib/active_record/relation/finder_methods.rb#90 def find(*args); end # Finds the first record matching the specified conditions. There @@ -21206,13 +21208,13 @@ module ActiveRecord::FinderMethods # Post.find_by name: 'Spartacus', rating: 4 # Post.find_by "published_at < ?", 2.weeks.ago # - # source://activerecord/lib/active_record/relation/finder_methods.rb#103 + # source://activerecord//lib/active_record/relation/finder_methods.rb#103 def find_by(arg, *args); end # Like #find_by, except that if no record is found, raises # an ActiveRecord::RecordNotFound error. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#109 + # source://activerecord//lib/active_record/relation/finder_methods.rb#109 def find_by!(arg, *args); end # Finds the sole matching record. Raises ActiveRecord::RecordNotFound if no @@ -21221,7 +21223,7 @@ module ActiveRecord::FinderMethods # # Product.find_sole_by(["price = %?", price]) # - # source://activerecord/lib/active_record/relation/finder_methods.rb#152 + # source://activerecord//lib/active_record/relation/finder_methods.rb#152 def find_sole_by(arg, *args); end # Find the first record (or first N records if a parameter is supplied). @@ -21233,13 +21235,13 @@ module ActiveRecord::FinderMethods # Person.order("created_on DESC").offset(5).first # Person.first(3) # returns the first three objects fetched by SELECT * FROM people ORDER BY people.id LIMIT 3 # - # source://activerecord/lib/active_record/relation/finder_methods.rb#165 + # source://activerecord//lib/active_record/relation/finder_methods.rb#165 def first(limit = T.unsafe(nil)); end # Same as #first but raises ActiveRecord::RecordNotFound if no record # is found. Note that #first! accepts no arguments. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#175 + # source://activerecord//lib/active_record/relation/finder_methods.rb#175 def first!; end # Find the forty-second record. Also known as accessing "the reddit". @@ -21249,13 +21251,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).forty_two # returns the forty-second object from OFFSET 3 (which is OFFSET 44) # Person.where(["user_name = :u", { u: user_name }]).forty_two # - # source://activerecord/lib/active_record/relation/finder_methods.rb#279 + # source://activerecord//lib/active_record/relation/finder_methods.rb#279 def forty_two; end # Same as #forty_two but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#285 + # source://activerecord//lib/active_record/relation/finder_methods.rb#285 def forty_two!; end # Find the fourth record. @@ -21265,13 +21267,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).fourth # returns the fourth object from OFFSET 3 (which is OFFSET 6) # Person.where(["user_name = :u", { u: user_name }]).fourth # - # source://activerecord/lib/active_record/relation/finder_methods.rb#247 + # source://activerecord//lib/active_record/relation/finder_methods.rb#247 def fourth; end # Same as #fourth but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#253 + # source://activerecord//lib/active_record/relation/finder_methods.rb#253 def fourth!; end # Returns true if the relation contains the given record or false otherwise. @@ -21282,7 +21284,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#377 + # source://activerecord//lib/active_record/relation/finder_methods.rb#377 def include?(record); end # Find the last record (or last N records if a parameter is supplied). @@ -21301,13 +21303,13 @@ module ActiveRecord::FinderMethods # # [#, #, #] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#194 + # source://activerecord//lib/active_record/relation/finder_methods.rb#194 def last(limit = T.unsafe(nil)); end # Same as #last but raises ActiveRecord::RecordNotFound if no record # is found. Note that #last! accepts no arguments. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#205 + # source://activerecord//lib/active_record/relation/finder_methods.rb#205 def last!; end # Returns true if the relation contains the given record or false otherwise. @@ -21318,7 +21320,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#377 + # source://activerecord//lib/active_record/relation/finder_methods.rb#395 def member?(record); end # This method is called whenever no records are found with either a single @@ -21330,7 +21332,7 @@ module ActiveRecord::FinderMethods # the expected number of results should be provided in the +expected_size+ # argument. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#405 + # source://activerecord//lib/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 # Find the second record. @@ -21340,13 +21342,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).second # returns the second object from OFFSET 3 (which is OFFSET 4) # Person.where(["user_name = :u", { u: user_name }]).second # - # source://activerecord/lib/active_record/relation/finder_methods.rb#215 + # source://activerecord//lib/active_record/relation/finder_methods.rb#215 def second; end # Same as #second but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#221 + # source://activerecord//lib/active_record/relation/finder_methods.rb#221 def second!; end # Find the second-to-last record. @@ -21356,13 +21358,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).second_to_last # returns the second-to-last object from OFFSET 3 # Person.where(["user_name = :u", { u: user_name }]).second_to_last # - # source://activerecord/lib/active_record/relation/finder_methods.rb#311 + # source://activerecord//lib/active_record/relation/finder_methods.rb#311 def second_to_last; end # Same as #second_to_last but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#317 + # source://activerecord//lib/active_record/relation/finder_methods.rb#317 def second_to_last!; end # Finds the sole matching record. Raises ActiveRecord::RecordNotFound if no @@ -21371,7 +21373,7 @@ module ActiveRecord::FinderMethods # # Product.where(["price = %?", price]).sole # - # source://activerecord/lib/active_record/relation/finder_methods.rb#135 + # source://activerecord//lib/active_record/relation/finder_methods.rb#135 def sole; end # Gives a record (or N records if a parameter is supplied) without any implied @@ -21382,13 +21384,13 @@ module ActiveRecord::FinderMethods # Person.take(5) # returns 5 objects fetched by SELECT * FROM people LIMIT 5 # Person.where(["name LIKE '%?'", name]).take # - # source://activerecord/lib/active_record/relation/finder_methods.rb#120 + # source://activerecord//lib/active_record/relation/finder_methods.rb#120 def take(limit = T.unsafe(nil)); end # Same as #take but raises ActiveRecord::RecordNotFound if no record # is found. Note that #take! accepts no arguments. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#126 + # source://activerecord//lib/active_record/relation/finder_methods.rb#126 def take!; end # Find the third record. @@ -21398,13 +21400,13 @@ module ActiveRecord::FinderMethods # Person.offset(3).third # returns the third object from OFFSET 3 (which is OFFSET 5) # Person.where(["user_name = :u", { u: user_name }]).third # - # source://activerecord/lib/active_record/relation/finder_methods.rb#231 + # source://activerecord//lib/active_record/relation/finder_methods.rb#231 def third; end # Same as #third but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#237 + # source://activerecord//lib/active_record/relation/finder_methods.rb#237 def third!; end # Find the third-to-last record. @@ -21414,340 +21416,340 @@ module ActiveRecord::FinderMethods # Person.offset(3).third_to_last # returns the third-to-last object from OFFSET 3 # Person.where(["user_name = :u", { u: user_name }]).third_to_last # - # source://activerecord/lib/active_record/relation/finder_methods.rb#295 + # source://activerecord//lib/active_record/relation/finder_methods.rb#295 def third_to_last; end # Same as #third_to_last but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord/lib/active_record/relation/finder_methods.rb#301 + # source://activerecord//lib/active_record/relation/finder_methods.rb#301 def third_to_last!; end private - # source://activerecord/lib/active_record/relation/finder_methods.rb#634 + # source://activerecord//lib/active_record/relation/finder_methods.rb#634 def _order_columns; end - # source://activerecord/lib/active_record/relation/finder_methods.rb#445 + # source://activerecord//lib/active_record/relation/finder_methods.rb#445 def apply_join_dependency(eager_loading: T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#426 + # source://activerecord//lib/active_record/relation/finder_methods.rb#426 def construct_relation_for_exists(conditions); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#622 + # source://activerecord//lib/active_record/relation/finder_methods.rb#622 def find_last(limit); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#584 + # source://activerecord//lib/active_record/relation/finder_methods.rb#584 def find_nth(index); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#608 + # source://activerecord//lib/active_record/relation/finder_methods.rb#608 def find_nth_from_last(index); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#589 + # source://activerecord//lib/active_record/relation/finder_methods.rb#589 def find_nth_with_limit(index, limit); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#506 + # source://activerecord//lib/active_record/relation/finder_methods.rb#506 def find_one(id); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#527 + # source://activerecord//lib/active_record/relation/finder_methods.rb#527 def find_some(ids); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#553 + # source://activerecord//lib/active_record/relation/finder_methods.rb#553 def find_some_ordered(ids); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#568 + # source://activerecord//lib/active_record/relation/finder_methods.rb#568 def find_take; end - # source://activerecord/lib/active_record/relation/finder_methods.rb#576 + # source://activerecord//lib/active_record/relation/finder_methods.rb#576 def find_take_with_limit(limit); end # @raise [UnknownPrimaryKey] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#477 + # source://activerecord//lib/active_record/relation/finder_methods.rb#477 def find_with_ids(*ids); end - # source://activerecord/lib/active_record/relation/finder_methods.rb#626 + # source://activerecord//lib/active_record/relation/finder_methods.rb#626 def ordered_relation; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/finder_methods.rb#473 + # source://activerecord//lib/active_record/relation/finder_methods.rb#473 def using_limitable_reflections?(reflections); end end -# source://activerecord/lib/active_record/relation/finder_methods.rb#7 +# source://activerecord//lib/active_record/relation/finder_methods.rb#7 ActiveRecord::FinderMethods::ONE_AS_ONE = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/fixtures.rb#802 +# source://activerecord//lib/active_record/fixtures.rb#802 class ActiveRecord::Fixture include ::Enumerable # @return [Fixture] a new instance of Fixture # - # source://activerecord/lib/active_record/fixtures.rb#813 + # source://activerecord//lib/active_record/fixtures.rb#813 def initialize(fixture, model_class); end - # source://activerecord/lib/active_record/fixtures.rb#826 + # source://activerecord//lib/active_record/fixtures.rb#826 def [](key); end - # source://activerecord/lib/active_record/fixtures.rb#818 + # source://activerecord//lib/active_record/fixtures.rb#818 def class_name; end - # source://activerecord/lib/active_record/fixtures.rb#822 + # source://activerecord//lib/active_record/fixtures.rb#822 def each(&block); end # @raise [FixtureClassNotFound] # - # source://activerecord/lib/active_record/fixtures.rb#832 + # source://activerecord//lib/active_record/fixtures.rb#832 def find; end # Returns the value of attribute fixture. # - # source://activerecord/lib/active_record/fixtures.rb#811 + # source://activerecord//lib/active_record/fixtures.rb#811 def fixture; end # Returns the value of attribute model_class. # - # source://activerecord/lib/active_record/fixtures.rb#811 + # source://activerecord//lib/active_record/fixtures.rb#811 def model_class; end # Returns the value of attribute fixture. # - # source://activerecord/lib/active_record/fixtures.rb#811 + # source://activerecord//lib/active_record/fixtures.rb#830 def to_hash; end end -# source://activerecord/lib/active_record/fixtures.rb#805 +# source://activerecord//lib/active_record/fixtures.rb#805 class ActiveRecord::Fixture::FixtureError < ::StandardError; end -# source://activerecord/lib/active_record/fixtures.rb#808 +# source://activerecord//lib/active_record/fixtures.rb#808 class ActiveRecord::Fixture::FormatError < ::ActiveRecord::Fixture::FixtureError; end -# source://activerecord/lib/active_record/fixtures.rb#12 +# source://activerecord//lib/active_record/fixtures.rb#12 class ActiveRecord::FixtureClassNotFound < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/future_result.rb#4 +# source://activerecord//lib/active_record/future_result.rb#4 class ActiveRecord::FutureResult # @return [FutureResult] a new instance of FutureResult # - # source://activerecord/lib/active_record/future_result.rb#64 + # source://activerecord//lib/active_record/future_result.rb#64 def initialize(pool, *args, **kwargs); end - # source://activerecord/lib/active_record/future_result.rb#92 + # source://activerecord//lib/active_record/future_result.rb#92 def cancel; end # @return [Boolean] # - # source://activerecord/lib/active_record/future_result.rb#133 + # source://activerecord//lib/active_record/future_result.rb#133 def canceled?; end - # source://activerecord/lib/active_record/future_result.rb#59 + # source://activerecord//lib/active_record/future_result.rb#59 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/future_result.rb#88 + # source://activerecord//lib/active_record/future_result.rb#88 def execute!(connection); end - # source://activerecord/lib/active_record/future_result.rb#98 + # source://activerecord//lib/active_record/future_result.rb#98 def execute_or_skip; end # Returns the value of attribute lock_wait. # - # source://activerecord/lib/active_record/future_result.rb#62 + # source://activerecord//lib/active_record/future_result.rb#62 def lock_wait; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#354 + # source://activerecord//lib/active_record/future_result.rb#60 def method_missing(method, *args, **_arg2, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/future_result.rb#129 + # source://activerecord//lib/active_record/future_result.rb#129 def pending?; end - # source://activerecord/lib/active_record/future_result.rb#116 + # source://activerecord//lib/active_record/future_result.rb#116 def result; end - # source://activerecord/lib/active_record/future_result.rb#83 + # source://activerecord//lib/active_record/future_result.rb#83 def schedule!(session); end - # source://activerecord/lib/active_record/future_result.rb#79 + # source://activerecord//lib/active_record/future_result.rb#79 def then(&block); end - # source://activerecord/lib/active_record/future_result.rb#59 + # source://activerecord//lib/active_record/future_result.rb#59 def to_a(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/future_result.rb#161 + # source://activerecord//lib/active_record/future_result.rb#161 def exec_query(connection, *args, **kwargs); end - # source://activerecord/lib/active_record/future_result.rb#138 + # source://activerecord//lib/active_record/future_result.rb#138 def execute_or_wait; end - # source://activerecord/lib/active_record/future_result.rb#153 + # source://activerecord//lib/active_record/future_result.rb#153 def execute_query(connection, async: T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#346 + # source://activerecord//lib/active_record/future_result.rb#60 def respond_to_missing?(name, include_private = T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/future_result.rb#50 + # source://activerecord//lib/active_record/future_result.rb#50 def wrap(result); end end end -# source://activerecord/lib/active_record/future_result.rb#48 +# source://activerecord//lib/active_record/future_result.rb#48 class ActiveRecord::FutureResult::Canceled < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/future_result.rb#5 +# source://activerecord//lib/active_record/future_result.rb#5 class ActiveRecord::FutureResult::Complete # @return [Complete] a new instance of Complete # - # source://activerecord/lib/active_record/future_result.rb#9 + # source://activerecord//lib/active_record/future_result.rb#9 def initialize(result); end # @return [Boolean] # - # source://activerecord/lib/active_record/future_result.rb#17 + # source://activerecord//lib/active_record/future_result.rb#17 def canceled?; end - # source://activerecord/lib/active_record/future_result.rb#7 + # source://activerecord//lib/active_record/future_result.rb#7 def empty?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/future_result.rb#13 + # source://activerecord//lib/active_record/future_result.rb#13 def pending?; end # Returns the value of attribute result. # - # source://activerecord/lib/active_record/future_result.rb#6 + # source://activerecord//lib/active_record/future_result.rb#6 def result; end - # source://activerecord/lib/active_record/future_result.rb#21 + # source://activerecord//lib/active_record/future_result.rb#21 def then(&block); end - # source://activerecord/lib/active_record/future_result.rb#7 + # source://activerecord//lib/active_record/future_result.rb#7 def to_a(*_arg0, **_arg1, &_arg2); end end -# source://activerecord/lib/active_record/future_result.rb#26 +# source://activerecord//lib/active_record/future_result.rb#26 class ActiveRecord::FutureResult::EventBuffer # @return [EventBuffer] a new instance of EventBuffer # - # source://activerecord/lib/active_record/future_result.rb#27 + # source://activerecord//lib/active_record/future_result.rb#27 def initialize(future_result, instrumenter); end - # source://activerecord/lib/active_record/future_result.rb#39 + # source://activerecord//lib/active_record/future_result.rb#39 def flush; end - # source://activerecord/lib/active_record/future_result.rb#33 + # source://activerecord//lib/active_record/future_result.rb#33 def instrument(name, payload = T.unsafe(nil), &block); end end -# source://activerecord/lib/active_record/future_result.rb#165 +# source://activerecord//lib/active_record/future_result.rb#165 class ActiveRecord::FutureResult::SelectAll < ::ActiveRecord::FutureResult private - # source://activerecord/lib/active_record/future_result.rb#167 + # source://activerecord//lib/active_record/future_result.rb#167 def exec_query(*_arg0, **_arg1); end end -# source://activerecord/lib/active_record/associations.rb#74 +# source://activerecord//lib/active_record/associations.rb#74 class ActiveRecord::HasManyThroughAssociationNotFoundError < ::ActiveRecord::ActiveRecordError include ::DidYouMean::Correctable # @return [HasManyThroughAssociationNotFoundError] a new instance of HasManyThroughAssociationNotFoundError # - # source://activerecord/lib/active_record/associations.rb#77 + # source://activerecord//lib/active_record/associations.rb#77 def initialize(owner_class = T.unsafe(nil), reflection = T.unsafe(nil)); end - # source://activerecord/lib/active_record/associations.rb#90 + # source://activerecord//lib/active_record/associations.rb#90 def corrections; end # Returns the value of attribute owner_class. # - # source://activerecord/lib/active_record/associations.rb#75 + # source://activerecord//lib/active_record/associations.rb#75 def owner_class; end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations.rb#75 + # source://activerecord//lib/active_record/associations.rb#75 def reflection; end end -# source://activerecord/lib/active_record/associations.rb#124 +# source://activerecord//lib/active_record/associations.rb#124 class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPointlessSourceTypeError] a new instance of HasManyThroughAssociationPointlessSourceTypeError # - # source://activerecord/lib/active_record/associations.rb#125 + # source://activerecord//lib/active_record/associations.rb#125 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil), source_reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#104 +# source://activerecord//lib/active_record/associations.rb#104 class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPolymorphicSourceError] a new instance of HasManyThroughAssociationPolymorphicSourceError # - # source://activerecord/lib/active_record/associations.rb#105 + # source://activerecord//lib/active_record/associations.rb#105 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil), source_reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#114 +# source://activerecord//lib/active_record/associations.rb#114 class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPolymorphicThroughError] a new instance of HasManyThroughAssociationPolymorphicThroughError # - # source://activerecord/lib/active_record/associations.rb#115 + # source://activerecord//lib/active_record/associations.rb#115 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#218 +# source://activerecord//lib/active_record/associations.rb#218 class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection; end -# source://activerecord/lib/active_record/associations.rb#234 +# source://activerecord//lib/active_record/associations.rb#234 class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ::ActiveRecord::ThroughNestedAssociationsAreReadonly; end -# source://activerecord/lib/active_record/associations.rb#167 +# source://activerecord//lib/active_record/associations.rb#167 class ActiveRecord::HasManyThroughOrderError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughOrderError] a new instance of HasManyThroughOrderError # - # source://activerecord/lib/active_record/associations.rb#168 + # source://activerecord//lib/active_record/associations.rb#168 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil), through_reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#154 +# source://activerecord//lib/active_record/associations.rb#154 class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughSourceAssociationNotFoundError] a new instance of HasManyThroughSourceAssociationNotFoundError # - # source://activerecord/lib/active_record/associations.rb#155 + # source://activerecord//lib/active_record/associations.rb#155 def initialize(reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#144 +# source://activerecord//lib/active_record/associations.rb#144 class ActiveRecord::HasOneAssociationPolymorphicThroughError < ::ActiveRecord::ActiveRecordError # @return [HasOneAssociationPolymorphicThroughError] a new instance of HasOneAssociationPolymorphicThroughError # - # source://activerecord/lib/active_record/associations.rb#145 + # source://activerecord//lib/active_record/associations.rb#145 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#134 +# source://activerecord//lib/active_record/associations.rb#134 class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ::ActiveRecord::ActiveRecordError # @return [HasOneThroughCantAssociateThroughCollection] a new instance of HasOneThroughCantAssociateThroughCollection # - # source://activerecord/lib/active_record/associations.rb#135 + # source://activerecord//lib/active_record/associations.rb#135 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil), through_reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#221 +# source://activerecord//lib/active_record/associations.rb#221 class ActiveRecord::HasOneThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection; end -# source://activerecord/lib/active_record/associations.rb#237 +# source://activerecord//lib/active_record/associations.rb#237 class ActiveRecord::HasOneThroughNestedAssociationsAreReadonly < ::ActiveRecord::ThroughNestedAssociationsAreReadonly; end -# source://activerecord/lib/active_record/migration.rb#124 +# source://activerecord//lib/active_record/migration.rb#124 class ActiveRecord::IllegalMigrationNameError < ::ActiveRecord::MigrationError # @return [IllegalMigrationNameError] a new instance of IllegalMigrationNameError # - # source://activerecord/lib/active_record/migration.rb#125 + # source://activerecord//lib/active_record/migration.rb#125 def initialize(name = T.unsafe(nil)); end end @@ -21763,7 +21765,7 @@ end # relation.where!(title: 'TODO') # => ActiveRecord::ImmutableRelation # relation.limit!(5) # => ActiveRecord::ImmutableRelation # -# source://activerecord/lib/active_record/errors.rb#471 +# source://activerecord//lib/active_record/errors.rb#471 class ActiveRecord::ImmutableRelation < ::ActiveRecord::ActiveRecordError; end # = Single table inheritance @@ -21798,7 +21800,7 @@ class ActiveRecord::ImmutableRelation < ::ActiveRecord::ActiveRecordError; end # Read more: # * https://www.martinfowler.com/eaaCatalog/singleTableInheritance.html # -# source://activerecord/lib/active_record/inheritance.rb#39 +# source://activerecord//lib/active_record/inheritance.rb#39 module ActiveRecord::Inheritance extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -21813,13 +21815,13 @@ module ActiveRecord::Inheritance # do Reply.new without having to set Reply[Reply.inheritance_column] = "Reply" yourself. # No such attribute would be set for objects of the Message class in that example. # - # source://activerecord/lib/active_record/inheritance.rb#357 + # source://activerecord//lib/active_record/inheritance.rb#357 def ensure_proper_type; end - # source://activerecord/lib/active_record/inheritance.rb#341 + # source://activerecord//lib/active_record/inheritance.rb#341 def initialize_dup(other); end - # source://activerecord/lib/active_record/inheritance.rb#347 + # source://activerecord//lib/active_record/inheritance.rb#347 def initialize_internals_callback; end module GeneratedClassMethods @@ -21839,7 +21841,7 @@ module ActiveRecord::Inheritance end end -# source://activerecord/lib/active_record/inheritance.rb#52 +# source://activerecord//lib/active_record/inheritance.rb#52 module ActiveRecord::Inheritance::ClassMethods # Set this to +true+ if this is an abstract class (see # abstract_class?). @@ -21883,7 +21885,7 @@ module ActiveRecord::Inheritance::ClassMethods # stay in the hierarchy, and Active Record will continue to correctly # derive the table name. # - # source://activerecord/lib/active_record/inheritance.rb#164 + # source://activerecord//lib/active_record/inheritance.rb#164 def abstract_class; end # Set this to +true+ if this is an abstract class (see @@ -21928,14 +21930,14 @@ module ActiveRecord::Inheritance::ClassMethods # stay in the hierarchy, and Active Record will continue to correctly # derive the table name. # - # source://activerecord/lib/active_record/inheritance.rb#164 + # source://activerecord//lib/active_record/inheritance.rb#164 def abstract_class=(_arg0); end # Returns whether this class is an abstract class or not. # # @return [Boolean] # - # source://activerecord/lib/active_record/inheritance.rb#167 + # source://activerecord//lib/active_record/inheritance.rb#167 def abstract_class?; end # Returns the first class in the inheritance hierarchy that descends from either an @@ -21957,7 +21959,7 @@ module ActiveRecord::Inheritance::ClassMethods # Polygon.base_class # => Polygon # Square.base_class # => Polygon # - # source://activerecord/lib/active_record/inheritance.rb#115 + # source://activerecord//lib/active_record/inheritance.rb#115 def base_class; end # Returns whether the class is a base class. @@ -21965,7 +21967,7 @@ module ActiveRecord::Inheritance::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/inheritance.rb#119 + # source://activerecord//lib/active_record/inheritance.rb#119 def base_class?; end # Returns +true+ if this does not need STI type condition. Returns @@ -21973,34 +21975,34 @@ module ActiveRecord::Inheritance::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/inheritance.rb#82 + # source://activerecord//lib/active_record/inheritance.rb#82 def descends_from_active_record?; end - # source://activerecord/lib/active_record/inheritance.rb#224 + # source://activerecord//lib/active_record/inheritance.rb#224 def dup; end # @return [Boolean] # - # source://activerecord/lib/active_record/inheritance.rb#92 + # source://activerecord//lib/active_record/inheritance.rb#92 def finder_needs_type_condition?; end # Determines if one of the attributes passed in is the inheritance column, # and if the inheritance column is attr accessible, it initializes an # instance of the given subclass instead of the base class. # - # source://activerecord/lib/active_record/inheritance.rb#56 + # source://activerecord//lib/active_record/inheritance.rb#56 def new(attributes = T.unsafe(nil), &block); end # Returns the class for the provided +name+. # # It is used to find the class correspondent to the value stored in the polymorphic type column. # - # source://activerecord/lib/active_record/inheritance.rb#216 + # source://activerecord//lib/active_record/inheritance.rb#216 def polymorphic_class_for(name); end # Returns the value to be stored in the polymorphic type column for Polymorphic Associations. # - # source://activerecord/lib/active_record/inheritance.rb#209 + # source://activerecord//lib/active_record/inheritance.rb#209 def polymorphic_name; end # Sets the application record class for Active Record @@ -22010,19 +22012,19 @@ module ActiveRecord::Inheritance::ClassMethods # will share a database connection with Active Record. It is the class # that connects to your primary database. # - # source://activerecord/lib/active_record/inheritance.rb#177 + # source://activerecord//lib/active_record/inheritance.rb#177 def primary_abstract_class; end # Returns the class for the provided +type_name+. # # It is used to find the class correspondent to the value stored in the inheritance column. # - # source://activerecord/lib/active_record/inheritance.rb#194 + # source://activerecord//lib/active_record/inheritance.rb#194 def sti_class_for(type_name); end # Returns the value to be stored in the inheritance column for STI. # - # source://activerecord/lib/active_record/inheritance.rb#187 + # source://activerecord//lib/active_record/inheritance.rb#187 def sti_name; end protected @@ -22030,10 +22032,10 @@ module ActiveRecord::Inheritance::ClassMethods # Returns the class type of the record using the current module as a prefix. So descendants of # MyApp::Business::Account would appear as MyApp::Business::AccountSubclass. # - # source://activerecord/lib/active_record/inheritance.rb#240 + # source://activerecord//lib/active_record/inheritance.rb#240 def compute_type(type_name); end - # source://activerecord/lib/active_record/inheritance.rb#268 + # source://activerecord//lib/active_record/inheritance.rb#268 def set_base_class; end private @@ -22042,263 +22044,263 @@ module ActiveRecord::Inheritance::ClassMethods # record instance. For single-table inheritance, we check the record # for a +type+ column and return the corresponding class. # - # source://activerecord/lib/active_record/inheritance.rb#297 + # source://activerecord//lib/active_record/inheritance.rb#297 def discriminate_class_for_record(record); end - # source://activerecord/lib/active_record/inheritance.rb#309 + # source://activerecord//lib/active_record/inheritance.rb#309 def find_sti_class(type_name); end - # source://activerecord/lib/active_record/inheritance.rb#285 + # source://activerecord//lib/active_record/inheritance.rb#285 def inherited(subclass); end - # source://activerecord/lib/active_record/inheritance.rb#232 + # source://activerecord//lib/active_record/inheritance.rb#232 def initialize_clone(other); end # Detect the subclass from the inheritance column of attrs. If the inheritance column value # is not self or a valid subclass, raises ActiveRecord::SubclassNotFound # - # source://activerecord/lib/active_record/inheritance.rb#329 + # source://activerecord//lib/active_record/inheritance.rb#329 def subclass_from_attributes(attrs); end - # source://activerecord/lib/active_record/inheritance.rb#320 + # source://activerecord//lib/active_record/inheritance.rb#320 def type_condition(table = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/inheritance.rb#305 + # source://activerecord//lib/active_record/inheritance.rb#305 def using_single_table_inheritance?(record); end end -# source://activerecord/lib/active_record/insert_all.rb#6 +# source://activerecord//lib/active_record/insert_all.rb#6 class ActiveRecord::InsertAll # @return [InsertAll] a new instance of InsertAll # - # source://activerecord/lib/active_record/insert_all.rb#10 + # source://activerecord//lib/active_record/insert_all.rb#10 def initialize(model, inserts, on_duplicate:, update_only: T.unsafe(nil), returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Returns the value of attribute connection. # - # source://activerecord/lib/active_record/insert_all.rb#7 + # source://activerecord//lib/active_record/insert_all.rb#7 def connection; end - # source://activerecord/lib/active_record/insert_all.rb#41 + # source://activerecord//lib/active_record/insert_all.rb#41 def execute; end # Returns the value of attribute inserts. # - # source://activerecord/lib/active_record/insert_all.rb#7 + # source://activerecord//lib/active_record/insert_all.rb#7 def inserts; end # Returns the value of attribute keys. # - # source://activerecord/lib/active_record/insert_all.rb#7 + # source://activerecord//lib/active_record/insert_all.rb#7 def keys; end # TODO: Consider renaming this method, as it only conditionally extends keys, not always # - # source://activerecord/lib/active_record/insert_all.rb#86 + # source://activerecord//lib/active_record/insert_all.rb#86 def keys_including_timestamps; end - # source://activerecord/lib/active_record/insert_all.rb#67 + # source://activerecord//lib/active_record/insert_all.rb#67 def map_key_with_value; end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/insert_all.rb#7 + # source://activerecord//lib/active_record/insert_all.rb#7 def model; end # Returns the value of attribute on_duplicate. # - # source://activerecord/lib/active_record/insert_all.rb#8 + # source://activerecord//lib/active_record/insert_all.rb#8 def on_duplicate; end - # source://activerecord/lib/active_record/insert_all.rb#54 + # source://activerecord//lib/active_record/insert_all.rb#54 def primary_keys; end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#81 + # source://activerecord//lib/active_record/insert_all.rb#81 def record_timestamps?; end # Returns the value of attribute returning. # - # source://activerecord/lib/active_record/insert_all.rb#8 + # source://activerecord//lib/active_record/insert_all.rb#8 def returning; end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#59 + # source://activerecord//lib/active_record/insert_all.rb#59 def skip_duplicates?; end # Returns the value of attribute unique_by. # - # source://activerecord/lib/active_record/insert_all.rb#8 + # source://activerecord//lib/active_record/insert_all.rb#8 def unique_by; end - # source://activerecord/lib/active_record/insert_all.rb#50 + # source://activerecord//lib/active_record/insert_all.rb#50 def updatable_columns; end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#63 + # source://activerecord//lib/active_record/insert_all.rb#63 def update_duplicates?; end # Returns the value of attribute update_only. # - # source://activerecord/lib/active_record/insert_all.rb#8 + # source://activerecord//lib/active_record/insert_all.rb#8 def update_only; end # Returns the value of attribute update_sql. # - # source://activerecord/lib/active_record/insert_all.rb#8 + # source://activerecord//lib/active_record/insert_all.rb#8 def update_sql; end private - # source://activerecord/lib/active_record/insert_all.rb#125 + # source://activerecord//lib/active_record/insert_all.rb#125 def configure_on_duplicate_update_logic; end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#141 + # source://activerecord//lib/active_record/insert_all.rb#141 def custom_update_sql_provided?; end # @raise [ArgumentError] # - # source://activerecord/lib/active_record/insert_all.rb#209 + # source://activerecord//lib/active_record/insert_all.rb#209 def disallow_raw_sql!(value); end - # source://activerecord/lib/active_record/insert_all.rb#170 + # source://activerecord//lib/active_record/insert_all.rb#170 def ensure_valid_options_for_connection!; end - # source://activerecord/lib/active_record/insert_all.rb#145 + # source://activerecord//lib/active_record/insert_all.rb#145 def find_unique_index_for(unique_by); end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#97 + # source://activerecord//lib/active_record/insert_all.rb#97 def has_attribute_aliases?(attributes); end - # source://activerecord/lib/active_record/insert_all.rb#194 + # source://activerecord//lib/active_record/insert_all.rb#194 def readonly_columns; end - # source://activerecord/lib/active_record/insert_all.rb#121 + # source://activerecord//lib/active_record/insert_all.rb#121 def resolve_attribute_alias(attribute); end - # source://activerecord/lib/active_record/insert_all.rb#110 + # source://activerecord//lib/active_record/insert_all.rb#110 def resolve_attribute_aliases; end - # source://activerecord/lib/active_record/insert_all.rb#101 + # source://activerecord//lib/active_record/insert_all.rb#101 def resolve_sti; end # Returns the value of attribute scope_attributes. # - # source://activerecord/lib/active_record/insert_all.rb#95 + # source://activerecord//lib/active_record/insert_all.rb#95 def scope_attributes; end - # source://activerecord/lib/active_record/insert_all.rb#218 + # source://activerecord//lib/active_record/insert_all.rb#218 def timestamps_for_create; end - # source://activerecord/lib/active_record/insert_all.rb#189 + # source://activerecord//lib/active_record/insert_all.rb#189 def to_sql; end - # source://activerecord/lib/active_record/insert_all.rb#198 + # source://activerecord//lib/active_record/insert_all.rb#198 def unique_by_columns; end - # source://activerecord/lib/active_record/insert_all.rb#165 + # source://activerecord//lib/active_record/insert_all.rb#165 def unique_indexes; end - # source://activerecord/lib/active_record/insert_all.rb#203 + # source://activerecord//lib/active_record/insert_all.rb#203 def verify_attributes(attributes); end end -# source://activerecord/lib/active_record/insert_all.rb#222 +# source://activerecord//lib/active_record/insert_all.rb#222 class ActiveRecord::InsertAll::Builder # @return [Builder] a new instance of Builder # - # source://activerecord/lib/active_record/insert_all.rb#227 + # source://activerecord//lib/active_record/insert_all.rb#227 def initialize(insert_all); end - # source://activerecord/lib/active_record/insert_all.rb#262 + # source://activerecord//lib/active_record/insert_all.rb#262 def conflict_target; end - # source://activerecord/lib/active_record/insert_all.rb#231 + # source://activerecord//lib/active_record/insert_all.rb#231 def into; end - # source://activerecord/lib/active_record/insert_all.rb#225 + # source://activerecord//lib/active_record/insert_all.rb#225 def keys(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/insert_all.rb#225 + # source://activerecord//lib/active_record/insert_all.rb#225 def keys_including_timestamps(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/insert_all.rb#223 + # source://activerecord//lib/active_record/insert_all.rb#223 def model; end - # source://activerecord/lib/active_record/insert_all.rb#286 + # source://activerecord//lib/active_record/insert_all.rb#286 def raw_update_sql; end - # source://activerecord/lib/active_record/insert_all.rb#286 + # source://activerecord//lib/active_record/insert_all.rb#290 def raw_update_sql?; end - # source://activerecord/lib/active_record/insert_all.rb#225 + # source://activerecord//lib/active_record/insert_all.rb#225 def record_timestamps?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/insert_all.rb#246 + # source://activerecord//lib/active_record/insert_all.rb#246 def returning; end - # source://activerecord/lib/active_record/insert_all.rb#225 + # source://activerecord//lib/active_record/insert_all.rb#225 def skip_duplicates?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/insert_all.rb#276 + # source://activerecord//lib/active_record/insert_all.rb#276 def touch_model_timestamps_unless(&block); end - # source://activerecord/lib/active_record/insert_all.rb#272 + # source://activerecord//lib/active_record/insert_all.rb#272 def updatable_columns; end - # source://activerecord/lib/active_record/insert_all.rb#225 + # source://activerecord//lib/active_record/insert_all.rb#225 def update_duplicates?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/insert_all.rb#235 + # source://activerecord//lib/active_record/insert_all.rb#235 def values_list; end private - # source://activerecord/lib/active_record/insert_all.rb#299 + # source://activerecord//lib/active_record/insert_all.rb#299 def columns_list; end # Returns the value of attribute connection. # - # source://activerecord/lib/active_record/insert_all.rb#293 + # source://activerecord//lib/active_record/insert_all.rb#293 def connection; end # @raise [UnknownAttributeError] # - # source://activerecord/lib/active_record/insert_all.rb#303 + # source://activerecord//lib/active_record/insert_all.rb#303 def extract_types_from_columns_on(table_name, keys:); end - # source://activerecord/lib/active_record/insert_all.rb#312 + # source://activerecord//lib/active_record/insert_all.rb#312 def format_columns(columns); end # Returns the value of attribute insert_all. # - # source://activerecord/lib/active_record/insert_all.rb#293 + # source://activerecord//lib/active_record/insert_all.rb#293 def insert_all; end - # source://activerecord/lib/active_record/insert_all.rb#320 + # source://activerecord//lib/active_record/insert_all.rb#320 def quote_column(column); end - # source://activerecord/lib/active_record/insert_all.rb#316 + # source://activerecord//lib/active_record/insert_all.rb#316 def quote_columns(columns); end # @return [Boolean] # - # source://activerecord/lib/active_record/insert_all.rb#295 + # source://activerecord//lib/active_record/insert_all.rb#295 def touch_timestamp_attribute?(column_name); end end -# source://activerecord/lib/active_record/integration.rb#6 +# source://activerecord//lib/active_record/integration.rb#6 module ActiveRecord::Integration extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -22317,12 +22319,12 @@ module ActiveRecord::Integration # Product.cache_versioning = false # Product.find(5).cache_key # => "products/5-20071224150000" (updated_at available) # - # source://activerecord/lib/active_record/integration.rb#72 + # source://activerecord//lib/active_record/integration.rb#72 def cache_key; end # Returns a cache key along with the version. # - # source://activerecord/lib/active_record/integration.rb#114 + # source://activerecord//lib/active_record/integration.rb#114 def cache_key_with_version; end # Returns a cache version that can be used together with the cache key to form @@ -22332,7 +22334,7 @@ module ActiveRecord::Integration # Note, this method will return nil if ActiveRecord::Base.cache_versioning is set to # +false+. # - # source://activerecord/lib/active_record/integration.rb#97 + # source://activerecord//lib/active_record/integration.rb#97 def cache_version; end # Returns a +String+, which Action Pack uses for constructing a URL to this @@ -22358,7 +22360,7 @@ module ActiveRecord::Integration # user = User.find_by(name: 'Phusion') # user_path(user) # => "/users/Phusion" # - # source://activerecord/lib/active_record/integration.rb#57 + # source://activerecord//lib/active_record/integration.rb#57 def to_param; end private @@ -22375,7 +22377,7 @@ module ActiveRecord::Integration # # @return [Boolean] # - # source://activerecord/lib/active_record/integration.rb#178 + # source://activerecord//lib/active_record/integration.rb#178 def can_use_fast_cache_version?(timestamp); end # Converts a raw database string to `:usec` @@ -22391,7 +22393,7 @@ module ActiveRecord::Integration # https://github.com/postgres/postgres/commit/3e1beda2cde3495f41290e1ece5d544525810214 # to account for this we pad the output with zeros # - # source://activerecord/lib/active_record/integration.rb#197 + # source://activerecord//lib/active_record/integration.rb#197 def raw_timestamp_to_cache_version(timestamp); end module GeneratedClassMethods @@ -22416,9 +22418,9 @@ module ActiveRecord::Integration end end -# source://activerecord/lib/active_record/integration.rb#122 +# source://activerecord//lib/active_record/integration.rb#122 module ActiveRecord::Integration::ClassMethods - # source://activerecord/lib/active_record/integration.rb#163 + # source://activerecord//lib/active_record/integration.rb#163 def collection_cache_key(collection = T.unsafe(nil), timestamp_column = T.unsafe(nil)); end # Defines your model's +to_param+ method to generate "pretty" URLs @@ -22446,7 +22448,7 @@ module ActiveRecord::Integration::ClassMethods # params[:id] # => "123-fancy-pants" # User.find(params[:id]).id # => 123 # - # source://activerecord/lib/active_record/integration.rb#147 + # source://activerecord//lib/active_record/integration.rb#147 def to_param(method_name = T.unsafe(nil)); end end @@ -22456,125 +22458,125 @@ end # This is enabled by default. To disable this functionality set # `use_metadata_table` to false in your database configuration. # -# source://activerecord/lib/active_record/internal_metadata.rb#12 +# source://activerecord//lib/active_record/internal_metadata.rb#12 class ActiveRecord::InternalMetadata # @return [InternalMetadata] a new instance of InternalMetadata # - # source://activerecord/lib/active_record/internal_metadata.rb#18 + # source://activerecord//lib/active_record/internal_metadata.rb#18 def initialize(connection); end - # source://activerecord/lib/active_record/internal_metadata.rb#45 + # source://activerecord//lib/active_record/internal_metadata.rb#45 def [](key); end - # source://activerecord/lib/active_record/internal_metadata.rb#39 + # source://activerecord//lib/active_record/internal_metadata.rb#39 def []=(key, value); end # Returns the value of attribute arel_table. # - # source://activerecord/lib/active_record/internal_metadata.rb#16 + # source://activerecord//lib/active_record/internal_metadata.rb#16 def arel_table; end # Returns the value of attribute connection. # - # source://activerecord/lib/active_record/internal_metadata.rb#16 + # source://activerecord//lib/active_record/internal_metadata.rb#16 def connection; end - # source://activerecord/lib/active_record/internal_metadata.rb#59 + # source://activerecord//lib/active_record/internal_metadata.rb#59 def count; end # Creates an internal metadata table with columns +key+ and +value+ # - # source://activerecord/lib/active_record/internal_metadata.rb#75 + # source://activerecord//lib/active_record/internal_metadata.rb#75 def create_table; end - # source://activerecord/lib/active_record/internal_metadata.rb#66 + # source://activerecord//lib/active_record/internal_metadata.rb#66 def create_table_and_set_flags(environment, schema_sha1 = T.unsafe(nil)); end - # source://activerecord/lib/active_record/internal_metadata.rb#53 + # source://activerecord//lib/active_record/internal_metadata.rb#53 def delete_all_entries; end - # source://activerecord/lib/active_record/internal_metadata.rb#87 + # source://activerecord//lib/active_record/internal_metadata.rb#87 def drop_table; end # @return [Boolean] # - # source://activerecord/lib/active_record/internal_metadata.rb#23 + # source://activerecord//lib/active_record/internal_metadata.rb#23 def enabled?; end - # source://activerecord/lib/active_record/internal_metadata.rb#27 + # source://activerecord//lib/active_record/internal_metadata.rb#27 def primary_key; end # @return [Boolean] # - # source://activerecord/lib/active_record/internal_metadata.rb#93 + # source://activerecord//lib/active_record/internal_metadata.rb#93 def table_exists?; end - # source://activerecord/lib/active_record/internal_metadata.rb#35 + # source://activerecord//lib/active_record/internal_metadata.rb#35 def table_name; end - # source://activerecord/lib/active_record/internal_metadata.rb#31 + # source://activerecord//lib/active_record/internal_metadata.rb#31 def value_key; end private - # source://activerecord/lib/active_record/internal_metadata.rb#116 + # source://activerecord//lib/active_record/internal_metadata.rb#116 def create_entry(key, value); end - # source://activerecord/lib/active_record/internal_metadata.rb#112 + # source://activerecord//lib/active_record/internal_metadata.rb#112 def current_time; end - # source://activerecord/lib/active_record/internal_metadata.rb#140 + # source://activerecord//lib/active_record/internal_metadata.rb#140 def select_entry(key); end - # source://activerecord/lib/active_record/internal_metadata.rb#128 + # source://activerecord//lib/active_record/internal_metadata.rb#128 def update_entry(key, new_value); end - # source://activerecord/lib/active_record/internal_metadata.rb#98 + # source://activerecord//lib/active_record/internal_metadata.rb#98 def update_or_create_entry(key, value); end end -# source://activerecord/lib/active_record/internal_metadata.rb#13 +# source://activerecord//lib/active_record/internal_metadata.rb#13 class ActiveRecord::InternalMetadata::NullInternalMetadata; end # Raised when a record cannot be inserted or updated because it references a non-existent record, # or when a record cannot be deleted because a parent record references it. # -# source://activerecord/lib/active_record/errors.rb#213 +# source://activerecord//lib/active_record/errors.rb#213 class ActiveRecord::InvalidForeignKey < ::ActiveRecord::WrappedDatabaseException; end -# source://activerecord/lib/active_record/associations.rb#33 +# source://activerecord//lib/active_record/associations.rb#33 class ActiveRecord::InverseOfAssociationNotFoundError < ::ActiveRecord::ActiveRecordError include ::DidYouMean::Correctable # @return [InverseOfAssociationNotFoundError] a new instance of InverseOfAssociationNotFoundError # - # source://activerecord/lib/active_record/associations.rb#36 + # source://activerecord//lib/active_record/associations.rb#36 def initialize(reflection = T.unsafe(nil), associated_class = T.unsafe(nil)); end # Returns the value of attribute associated_class. # - # source://activerecord/lib/active_record/associations.rb#34 + # source://activerecord//lib/active_record/associations.rb#34 def associated_class; end - # source://activerecord/lib/active_record/associations.rb#49 + # source://activerecord//lib/active_record/associations.rb#49 def corrections; end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations.rb#34 + # source://activerecord//lib/active_record/associations.rb#34 def reflection; end end -# source://activerecord/lib/active_record/associations.rb#62 +# source://activerecord//lib/active_record/associations.rb#62 class ActiveRecord::InverseOfAssociationRecursiveError < ::ActiveRecord::ActiveRecordError # @return [InverseOfAssociationRecursiveError] a new instance of InverseOfAssociationRecursiveError # - # source://activerecord/lib/active_record/associations.rb#64 + # source://activerecord//lib/active_record/associations.rb#64 def initialize(reflection = T.unsafe(nil)); end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/associations.rb#63 + # source://activerecord//lib/active_record/associations.rb#63 def reflection; end end @@ -22650,29 +22652,29 @@ end # end # end # -# source://activerecord/lib/active_record/migration.rb#91 +# source://activerecord//lib/active_record/migration.rb#91 class ActiveRecord::IrreversibleMigration < ::ActiveRecord::MigrationError; end # IrreversibleOrderError is raised when a relation's order is too complex for # +reverse_order+ to automatically reverse. # -# source://activerecord/lib/active_record/errors.rb#530 +# source://activerecord//lib/active_record/errors.rb#530 class ActiveRecord::IrreversibleOrderError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/legacy_yaml_adapter.rb#4 +# source://activerecord//lib/active_record/legacy_yaml_adapter.rb#4 module ActiveRecord::LegacyYamlAdapter class << self - # source://activerecord/lib/active_record/legacy_yaml_adapter.rb#5 + # source://activerecord//lib/active_record/legacy_yaml_adapter.rb#5 def convert(coder); end end end # LockWaitTimeout will be raised when lock wait timeout exceeded. # -# source://activerecord/lib/active_record/errors.rb#538 +# source://activerecord//lib/active_record/errors.rb#538 class ActiveRecord::LockWaitTimeout < ::ActiveRecord::StatementInvalid; end -# source://activerecord/lib/active_record.rb#143 +# source://activerecord//lib/active_record.rb#143 module ActiveRecord::Locking extend ::ActiveSupport::Autoload end @@ -22681,22 +22683,22 @@ end # `nil` values to `lock_version`, and not result in `ActiveRecord::StaleObjectError` # during update record. # -# source://activerecord/lib/active_record/locking/optimistic.rb#205 +# source://activerecord//lib/active_record/locking/optimistic.rb#205 class ActiveRecord::Locking::LockingType - # source://activerecord/lib/active_record/locking/optimistic.rb#210 + # source://activerecord//lib/active_record/locking/optimistic.rb#210 def deserialize(value); end - # source://activerecord/lib/active_record/locking/optimistic.rb#222 + # source://activerecord//lib/active_record/locking/optimistic.rb#222 def encode_with(coder); end - # source://activerecord/lib/active_record/locking/optimistic.rb#218 + # source://activerecord//lib/active_record/locking/optimistic.rb#218 def init_with(coder); end - # source://activerecord/lib/active_record/locking/optimistic.rb#214 + # source://activerecord//lib/active_record/locking/optimistic.rb#214 def serialize(value); end class << self - # source://activerecord/lib/active_record/locking/optimistic.rb#206 + # source://activerecord//lib/active_record/locking/optimistic.rb#206 def new(subtype); end end end @@ -22748,7 +22750,7 @@ end # self.locking_column = :lock_person # end # -# source://activerecord/lib/active_record/locking/optimistic.rb#52 +# source://activerecord//lib/active_record/locking/optimistic.rb#52 module ActiveRecord::Locking::Optimistic extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -22756,38 +22758,38 @@ module ActiveRecord::Locking::Optimistic mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveRecord::Locking::Optimistic::ClassMethods - # source://activerecord/lib/active_record/locking/optimistic.rb#63 + # source://activerecord//lib/active_record/locking/optimistic.rb#63 def increment!(*_arg0, **_arg1); end # @return [Boolean] # - # source://activerecord/lib/active_record/locking/optimistic.rb#59 + # source://activerecord//lib/active_record/locking/optimistic.rb#59 def locking_enabled?; end private - # source://activerecord/lib/active_record/locking/optimistic.rb#142 + # source://activerecord//lib/active_record/locking/optimistic.rb#142 def _clear_locking_column; end - # source://activerecord/lib/active_record/locking/optimistic.rb#78 + # source://activerecord//lib/active_record/locking/optimistic.rb#78 def _create_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/locking/optimistic.rb#134 + # source://activerecord//lib/active_record/locking/optimistic.rb#134 def _lock_value_for_database(locking_column); end - # source://activerecord/lib/active_record/locking/optimistic.rb#147 + # source://activerecord//lib/active_record/locking/optimistic.rb#147 def _query_constraints_hash; end - # source://activerecord/lib/active_record/locking/optimistic.rb#87 + # source://activerecord//lib/active_record/locking/optimistic.rb#87 def _touch_row(attribute_names, time); end - # source://activerecord/lib/active_record/locking/optimistic.rb#92 + # source://activerecord//lib/active_record/locking/optimistic.rb#92 def _update_row(attribute_names, attempted_action = T.unsafe(nil)); end - # source://activerecord/lib/active_record/locking/optimistic.rb#124 + # source://activerecord//lib/active_record/locking/optimistic.rb#124 def destroy_row; end - # source://activerecord/lib/active_record/locking/optimistic.rb#72 + # source://activerecord//lib/active_record/locking/optimistic.rb#72 def initialize_dup(other); end module GeneratedClassMethods @@ -22802,19 +22804,19 @@ module ActiveRecord::Locking::Optimistic end end -# source://activerecord/lib/active_record/locking/optimistic.rb#154 +# source://activerecord//lib/active_record/locking/optimistic.rb#154 module ActiveRecord::Locking::Optimistic::ClassMethods - # source://activerecord/lib/active_record/locking/optimistic.rb#185 + # source://activerecord//lib/active_record/locking/optimistic.rb#185 def define_attribute(name, cast_type, **_arg2); end # The version column used for optimistic locking. Defaults to +lock_version+. # - # source://activerecord/lib/active_record/locking/optimistic.rb#171 + # source://activerecord//lib/active_record/locking/optimistic.rb#171 def locking_column; end # Set the column to use for optimistic locking. Defaults to +lock_version+. # - # source://activerecord/lib/active_record/locking/optimistic.rb#165 + # source://activerecord//lib/active_record/locking/optimistic.rb#165 def locking_column=(value); end # Returns true if the +lock_optimistically+ flag is set to true @@ -22823,27 +22825,27 @@ module ActiveRecord::Locking::Optimistic::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/locking/optimistic.rb#160 + # source://activerecord//lib/active_record/locking/optimistic.rb#160 def locking_enabled?; end # Reset the column used for optimistic locking back to the +lock_version+ default. # - # source://activerecord/lib/active_record/locking/optimistic.rb#174 + # source://activerecord//lib/active_record/locking/optimistic.rb#174 def reset_locking_column; end # Make sure the lock version column gets updated when counters are # updated. # - # source://activerecord/lib/active_record/locking/optimistic.rb#180 + # source://activerecord//lib/active_record/locking/optimistic.rb#180 def update_counters(id, counters); end private - # source://activerecord/lib/active_record/locking/optimistic.rb#193 + # source://activerecord//lib/active_record/locking/optimistic.rb#193 def inherited(base); end end -# source://activerecord/lib/active_record/locking/optimistic.rb#155 +# source://activerecord//lib/active_record/locking/optimistic.rb#155 ActiveRecord::Locking::Optimistic::ClassMethods::DEFAULT_LOCKING_COLUMN = T.let(T.unsafe(nil), String) # = \Pessimistic \Locking @@ -22906,14 +22908,14 @@ ActiveRecord::Locking::Optimistic::ClassMethods::DEFAULT_LOCKING_COLUMN = T.let( # [PostgreSQL] # https://www.postgresql.org/docs/current/interactive/sql-select.html#SQL-FOR-UPDATE-SHARE # -# source://activerecord/lib/active_record/locking/pessimistic.rb#64 +# source://activerecord//lib/active_record/locking/pessimistic.rb#64 module ActiveRecord::Locking::Pessimistic # Obtain a row lock on this record. Reloads the record to obtain the requested # lock. Pass an SQL locking clause to append the end of the SELECT statement # or pass true for "FOR UPDATE" (the default, an exclusive row lock). Returns # the locked record. # - # source://activerecord/lib/active_record/locking/pessimistic.rb#69 + # source://activerecord//lib/active_record/locking/pessimistic.rb#69 def lock!(lock = T.unsafe(nil)); end # Wraps the passed block in a transaction, reloading the object with a @@ -22924,106 +22926,106 @@ module ActiveRecord::Locking::Pessimistic # and joinable: to the wrapping transaction (see # ActiveRecord::ConnectionAdapters::DatabaseStatements#transaction). # - # source://activerecord/lib/active_record/locking/pessimistic.rb#92 + # source://activerecord//lib/active_record/locking/pessimistic.rb#92 def with_lock(*args); end end -# source://activerecord/lib/active_record/log_subscriber.rb#4 +# source://activerecord//lib/active_record/log_subscriber.rb#4 class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner; end - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner=(_arg0); end - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activerecord/lib/active_record/log_subscriber.rb#39 + # source://activerecord//lib/active_record/log_subscriber.rb#39 def sql(event); end - # source://activerecord/lib/active_record/log_subscriber.rb#30 + # source://activerecord//lib/active_record/log_subscriber.rb#30 def strict_loading_violation(event); end private - # source://activerecord/lib/active_record/log_subscriber.rb#101 + # source://activerecord//lib/active_record/log_subscriber.rb#101 def colorize_payload_name(name, payload_name); end - # source://activerecord/lib/active_record/log_subscriber.rb#134 + # source://activerecord//lib/active_record/log_subscriber.rb#134 def debug(progname = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/log_subscriber.rb#164 + # source://activerecord//lib/active_record/log_subscriber.rb#164 def filter(name, value); end - # source://activerecord/lib/active_record/log_subscriber.rb#142 + # source://activerecord//lib/active_record/log_subscriber.rb#142 def log_query_source; end - # source://activerecord/lib/active_record/log_subscriber.rb#130 + # source://activerecord//lib/active_record/log_subscriber.rb#130 def logger; end - # source://activerecord/lib/active_record/log_subscriber.rb#151 + # source://activerecord//lib/active_record/log_subscriber.rb#151 def query_source_location; end - # source://activerecord/lib/active_record/log_subscriber.rb#86 + # source://activerecord//lib/active_record/log_subscriber.rb#86 def render_bind(attr, value); end - # source://activerecord/lib/active_record/log_subscriber.rb#109 + # source://activerecord//lib/active_record/log_subscriber.rb#109 def sql_color(sql); end - # source://activerecord/lib/active_record/log_subscriber.rb#82 + # source://activerecord//lib/active_record/log_subscriber.rb#82 def type_casted_binds(casted_binds); end class << self - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner; end - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner=(value); end - # source://activerecord/lib/active_record/log_subscriber.rb#7 + # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://activerecord//lib/active_record/log_subscriber.rb#37 def log_levels; end - # source://activerecord/lib/active_record/log_subscriber.rb#23 + # source://activerecord//lib/active_record/log_subscriber.rb#23 def reset_runtime; end - # source://activerecord/lib/active_record/log_subscriber.rb#16 + # source://activerecord//lib/active_record/log_subscriber.rb#16 def runtime; end - # source://activerecord/lib/active_record/log_subscriber.rb#9 + # source://activerecord//lib/active_record/log_subscriber.rb#9 def runtime=(value); end end end -# source://activerecord/lib/active_record/log_subscriber.rb#5 +# source://activerecord//lib/active_record/log_subscriber.rb#5 ActiveRecord::LogSubscriber::IGNORE_PAYLOAD_NAMES = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/marshalling.rb#4 +# source://activerecord//lib/active_record/marshalling.rb#4 module ActiveRecord::Marshalling class << self # Returns the value of attribute format_version. # - # source://activerecord/lib/active_record/marshalling.rb#8 + # source://activerecord//lib/active_record/marshalling.rb#8 def format_version; end - # source://activerecord/lib/active_record/marshalling.rb#10 + # source://activerecord//lib/active_record/marshalling.rb#10 def format_version=(version); end end end -# source://activerecord/lib/active_record/marshalling.rb#23 +# source://activerecord//lib/active_record/marshalling.rb#23 module ActiveRecord::Marshalling::Methods - # source://activerecord/lib/active_record/marshalling.rb#24 + # source://activerecord//lib/active_record/marshalling.rb#24 def _marshal_dump_7_1; end - # source://activerecord/lib/active_record/marshalling.rb#43 + # source://activerecord//lib/active_record/marshalling.rb#43 def marshal_load(state); end end -# source://activerecord/lib/active_record.rb#161 +# source://activerecord//lib/active_record.rb#161 module ActiveRecord::Middleware extend ::ActiveSupport::Autoload end @@ -23073,37 +23075,37 @@ end # to call require "active_support/core_ext/integer/time" to load # the core extension in order to use +2.seconds+ # -# source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#5 +# source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#5 class ActiveRecord::Middleware::DatabaseSelector # @return [DatabaseSelector] a new instance of DatabaseSelector # - # source://activerecord/lib/active_record/middleware/database_selector.rb#52 + # source://activerecord//lib/active_record/middleware/database_selector.rb#52 def initialize(app, resolver_klass = T.unsafe(nil), context_klass = T.unsafe(nil), options = T.unsafe(nil)); end # Middleware that determines which database connection to use in a multiple # database application. # - # source://activerecord/lib/active_record/middleware/database_selector.rb#63 + # source://activerecord//lib/active_record/middleware/database_selector.rb#63 def call(env); end # Returns the value of attribute context_klass. # - # source://activerecord/lib/active_record/middleware/database_selector.rb#59 + # source://activerecord//lib/active_record/middleware/database_selector.rb#59 def context_klass; end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/middleware/database_selector.rb#59 + # source://activerecord//lib/active_record/middleware/database_selector.rb#59 def options; end # Returns the value of attribute resolver_klass. # - # source://activerecord/lib/active_record/middleware/database_selector.rb#59 + # source://activerecord//lib/active_record/middleware/database_selector.rb#59 def resolver_klass; end private - # source://activerecord/lib/active_record/middleware/database_selector.rb#72 + # source://activerecord//lib/active_record/middleware/database_selector.rb#72 def select_database(request, &blk); end end @@ -23118,73 +23120,73 @@ end # By default the Resolver class will send read traffic to the replica # if it's been 2 seconds since the last write. # -# source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#6 +# source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#6 class ActiveRecord::Middleware::DatabaseSelector::Resolver # @return [Resolver] a new instance of Resolver # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#26 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#26 def initialize(context, options = T.unsafe(nil)); end # Returns the value of attribute context. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#33 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#33 def context; end # Returns the value of attribute delay. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#33 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#33 def delay; end # Returns the value of attribute instrumenter. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#33 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#33 def instrumenter; end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#35 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#35 def read(&blk); end # @return [Boolean] # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#51 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#51 def reading_request?(request); end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#47 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#47 def update_context(response); end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#43 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#43 def write(&blk); end private - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#56 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#56 def read_from_primary(&blk); end # @return [Boolean] # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#78 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#78 def read_from_primary?; end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#62 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#62 def read_from_replica(&blk); end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#82 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#82 def send_to_replica_delay; end # @return [Boolean] # - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#86 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#86 def time_since_last_write_ok?; end - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#68 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#68 def write_to_primary; end class << self - # source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#22 + # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#22 def call(context, options = T.unsafe(nil)); end end end -# source://activerecord/lib/active_record/middleware/database_selector/resolver.rb#20 +# source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#20 ActiveRecord::Middleware::DatabaseSelector::Resolver::SEND_TO_REPLICA_DELAY = T.let(T.unsafe(nil), ActiveSupport::Duration) # The session class is used by the DatabaseSelector::Resolver to save @@ -23193,40 +23195,40 @@ ActiveRecord::Middleware::DatabaseSelector::Resolver::SEND_TO_REPLICA_DELAY = T. # The last_write is used to determine whether it's safe to read # from the replica or the request needs to be sent to the primary. # -# source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#12 +# source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#12 class ActiveRecord::Middleware::DatabaseSelector::Resolver::Session # @return [Session] a new instance of Session # - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#28 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#28 def initialize(session); end - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#34 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#34 def last_write_timestamp; end - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#42 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#42 def save(response); end # Returns the value of attribute session. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#32 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#32 def session; end - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#38 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#38 def update_last_write_timestamp; end class << self - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#13 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#13 def call(request); end # Converts time to a timestamp that represents milliseconds since # epoch. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#19 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#19 def convert_time_to_timestamp(time); end # Converts milliseconds since epoch timestamp into a time object. # - # source://activerecord/lib/active_record/middleware/database_selector/resolver/session.rb#24 + # source://activerecord//lib/active_record/middleware/database_selector/resolver/session.rb#24 def convert_timestamp_to_time(timestamp); end end end @@ -23258,32 +23260,32 @@ end # tenant.shard # } # -# source://activerecord/lib/active_record/middleware/shard_selector.rb#31 +# source://activerecord//lib/active_record/middleware/shard_selector.rb#31 class ActiveRecord::Middleware::ShardSelector # @return [ShardSelector] a new instance of ShardSelector # - # source://activerecord/lib/active_record/middleware/shard_selector.rb#32 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#32 def initialize(app, resolver, options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/middleware/shard_selector.rb#40 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#40 def call(env); end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/middleware/shard_selector.rb#38 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#38 def options; end # Returns the value of attribute resolver. # - # source://activerecord/lib/active_record/middleware/shard_selector.rb#38 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#38 def resolver; end private - # source://activerecord/lib/active_record/middleware/shard_selector.rb#51 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#51 def selected_shard(request); end - # source://activerecord/lib/active_record/middleware/shard_selector.rb#55 + # source://activerecord//lib/active_record/middleware/shard_selector.rb#55 def set_shard(shard, &block); end end @@ -23617,64 +23619,64 @@ end # Remember that you can still open your own transactions, even if you # are in a Migration with self.disable_ddl_transaction!. # -# source://activerecord/lib/active_record/migration.rb#555 +# source://activerecord//lib/active_record/migration.rb#555 class ActiveRecord::Migration # @return [Migration] a new instance of Migration # - # source://activerecord/lib/active_record/migration.rb#796 + # source://activerecord//lib/active_record/migration.rb#796 def initialize(name = T.unsafe(nil), version = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#1000 + # source://activerecord//lib/active_record/migration.rb#1000 def announce(message); end - # source://activerecord/lib/active_record/migration.rb#1031 + # source://activerecord//lib/active_record/migration.rb#1031 def connection; end - # source://activerecord/lib/active_record/migration.rb#1052 + # source://activerecord//lib/active_record/migration.rb#1052 def copy(destination, sources, options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#789 + # source://activerecord//lib/active_record/migration.rb#789 def disable_ddl_transaction; end - # source://activerecord/lib/active_record/migration.rb#952 + # source://activerecord//lib/active_record/migration.rb#952 def down; end - # source://activerecord/lib/active_record/migration.rb#980 + # source://activerecord//lib/active_record/migration.rb#980 def exec_migration(conn, direction); end - # source://activerecord/lib/active_record/migration.rb#802 + # source://activerecord//lib/active_record/migration.rb#802 def execution_strategy; end - # source://activerecord/lib/active_record/migration.rb#1035 + # source://activerecord//lib/active_record/migration.rb#1035 def method_missing(method, *arguments, **_arg2, &block); end # Execute this migration in the named direction # - # source://activerecord/lib/active_record/migration.rb#959 + # source://activerecord//lib/active_record/migration.rb#959 def migrate(direction); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/migration.rb#794 + # source://activerecord//lib/active_record/migration.rb#794 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord/lib/active_record/migration.rb#794 + # source://activerecord//lib/active_record/migration.rb#794 def name=(_arg0); end # Determines the version number of the next migration. # - # source://activerecord/lib/active_record/migration.rb#1119 + # source://activerecord//lib/active_record/migration.rb#1119 def next_migration_number(number); end # Finds the correct table name given an Active Record object. # Uses the Active Record object's own table_name, or pre/suffix from the # options passed in. # - # source://activerecord/lib/active_record/migration.rb#1110 + # source://activerecord//lib/active_record/migration.rb#1110 def proper_table_name(name, options = T.unsafe(nil)); end # Used to specify an operation that can be run in one direction or another. @@ -23704,7 +23706,7 @@ class ActiveRecord::Migration # end # end # - # source://activerecord/lib/active_record/migration.rb#904 + # source://activerecord//lib/active_record/migration.rb#904 def reversible; end # Reverses the migration commands for the given block and @@ -23745,12 +23747,12 @@ class ActiveRecord::Migration # # This command can be nested. # - # source://activerecord/lib/active_record/migration.rb#847 + # source://activerecord//lib/active_record/migration.rb#847 def revert(*migration_classes, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#864 + # source://activerecord//lib/active_record/migration.rb#864 def reverting?; end # Runs the given migration classes. @@ -23759,33 +23761,33 @@ class ActiveRecord::Migration # - +:direction+ - Default is +:up+. # - +:revert+ - Default is +false+. # - # source://activerecord/lib/active_record/migration.rb#932 + # source://activerecord//lib/active_record/migration.rb#932 def run(*migration_classes); end # Takes a message argument and outputs it as is. # A second boolean argument can be passed to specify whether to indent or not. # - # source://activerecord/lib/active_record/migration.rb#1008 + # source://activerecord//lib/active_record/migration.rb#1008 def say(message, subitem = T.unsafe(nil)); end # Outputs text along with how long it took to run its block. # If the block returns an integer it assumes it is the number of rows affected. # - # source://activerecord/lib/active_record/migration.rb#1014 + # source://activerecord//lib/active_record/migration.rb#1014 def say_with_time(message); end # Takes a block as an argument and suppresses any output generated by the block. # - # source://activerecord/lib/active_record/migration.rb#1024 + # source://activerecord//lib/active_record/migration.rb#1024 def suppress_messages; end # Builds a hash for use in ActiveRecord::Migration#proper_table_name using # the Active Record object's table_name prefix and suffix # - # source://activerecord/lib/active_record/migration.rb#1129 + # source://activerecord//lib/active_record/migration.rb#1129 def table_name_options(config = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#946 + # source://activerecord//lib/active_record/migration.rb#946 def up; end # Used to specify an operation that is only run when migrating up @@ -23803,76 +23805,76 @@ class ActiveRecord::Migration # end # end # - # source://activerecord/lib/active_record/migration.rb#923 + # source://activerecord//lib/active_record/migration.rb#923 def up_only(&block); end - # source://activerecord/lib/active_record/migration.rb#793 + # source://activerecord//lib/active_record/migration.rb#793 def verbose; end - # source://activerecord/lib/active_record/migration.rb#793 + # source://activerecord//lib/active_record/migration.rb#793 def verbose=(val); end # Returns the value of attribute version. # - # source://activerecord/lib/active_record/migration.rb#794 + # source://activerecord//lib/active_record/migration.rb#794 def version; end # Sets the attribute version # # @param value the value to set the attribute version to. # - # source://activerecord/lib/active_record/migration.rb#794 + # source://activerecord//lib/active_record/migration.rb#794 def version=(_arg0); end - # source://activerecord/lib/active_record/migration.rb#996 + # source://activerecord//lib/active_record/migration.rb#996 def write(text = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/migration.rb#1161 + # source://activerecord//lib/active_record/migration.rb#1161 def command_recorder; end - # source://activerecord/lib/active_record/migration.rb#1137 + # source://activerecord//lib/active_record/migration.rb#1137 def execute_block; end - # source://activerecord/lib/active_record/migration.rb#1145 + # source://activerecord//lib/active_record/migration.rb#1145 def format_arguments(arguments); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1157 + # source://activerecord//lib/active_record/migration.rb#1157 def internal_option?(option_name); end class << self - # source://activerecord/lib/active_record/migration.rb#613 + # source://activerecord//lib/active_record/migration.rb#613 def [](version); end # Raises ActiveRecord::PendingMigrationError error if any migrations are pending # for all database configurations in an environment. # - # source://activerecord/lib/active_record/migration.rb#698 + # source://activerecord//lib/active_record/migration.rb#698 def check_all_pending!; end # Raises ActiveRecord::PendingMigrationError error if any migrations are pending. # # This is deprecated in favor of +check_all_pending!+ # - # source://activerecord/lib/active_record/migration.rb#682 + # source://activerecord//lib/active_record/migration.rb#682 def check_pending!(connection = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#751 + # source://activerecord//lib/active_record/migration.rb#751 def check_pending_migrations; end - # source://activerecord/lib/active_record/migration.rb#617 + # source://activerecord//lib/active_record/migration.rb#617 def current_version; end - # source://activerecord/lib/active_record/migration.rb#672 + # source://activerecord//lib/active_record/migration.rb#672 def delegate; end - # source://activerecord/lib/active_record/migration.rb#672 + # source://activerecord//lib/active_record/migration.rb#672 def delegate=(_arg0); end - # source://activerecord/lib/active_record/migration.rb#673 + # source://activerecord//lib/active_record/migration.rb#673 def disable_ddl_transaction; end # Disable the transaction wrapping this migration. @@ -23880,55 +23882,55 @@ class ActiveRecord::Migration # # For more details read the {"Transactional Migrations" section above}[rdoc-ref:Migration]. # - # source://activerecord/lib/active_record/migration.rb#747 + # source://activerecord//lib/active_record/migration.rb#747 def disable_ddl_transaction!; end - # source://activerecord/lib/active_record/migration.rb#673 + # source://activerecord//lib/active_record/migration.rb#673 def disable_ddl_transaction=(_arg0); end - # source://activerecord/lib/active_record/migration.rb#601 + # source://activerecord//lib/active_record/migration.rb#601 def inherited(subclass); end - # source://activerecord/lib/active_record/migration.rb#714 + # source://activerecord//lib/active_record/migration.rb#714 def load_schema_if_pending!; end - # source://activerecord/lib/active_record/migration.rb#728 + # source://activerecord//lib/active_record/migration.rb#728 def maintain_test_schema!; end - # source://activerecord/lib/active_record/migration.rb#734 + # source://activerecord//lib/active_record/migration.rb#734 def method_missing(name, *args, **_arg2, &block); end - # source://activerecord/lib/active_record/migration.rb#739 + # source://activerecord//lib/active_record/migration.rb#739 def migrate(direction); end - # source://activerecord/lib/active_record/migration.rb#675 + # source://activerecord//lib/active_record/migration.rb#675 def nearest_delegate; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#623 + # source://activerecord//lib/active_record/migration.rb#623 def valid_version_format?(version_string); end - # source://activerecord/lib/active_record/migration.rb#793 + # source://activerecord//lib/active_record/migration.rb#793 def verbose; end - # source://activerecord/lib/active_record/migration.rb#793 + # source://activerecord//lib/active_record/migration.rb#793 def verbose=(val); end private # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#760 + # source://activerecord//lib/active_record/migration.rb#760 def any_schema_needs_update?; end - # source://activerecord/lib/active_record/migration.rb#766 + # source://activerecord//lib/active_record/migration.rb#766 def db_configs_in_current_env; end - # source://activerecord/lib/active_record/migration.rb#784 + # source://activerecord//lib/active_record/migration.rb#784 def env; end - # source://activerecord/lib/active_record/migration.rb#770 + # source://activerecord//lib/active_record/migration.rb#770 def pending_migrations; end end end @@ -23936,22 +23938,22 @@ end # This class is used to verify that all migrations have been run before # loading a web page if config.active_record.migration_error is set to +:page_load+. # -# source://activerecord/lib/active_record/migration.rb#632 +# source://activerecord//lib/active_record/migration.rb#632 class ActiveRecord::Migration::CheckPending # @return [CheckPending] a new instance of CheckPending # - # source://activerecord/lib/active_record/migration.rb#633 + # source://activerecord//lib/active_record/migration.rb#633 def initialize(app, file_watcher: T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#640 + # source://activerecord//lib/active_record/migration.rb#640 def call(env); end private - # source://activerecord/lib/active_record/migration.rb#659 + # source://activerecord//lib/active_record/migration.rb#659 def build_watcher(&block); end - # source://activerecord/lib/active_record/migration.rb#666 + # source://activerecord//lib/active_record/migration.rb#666 def connection; end end @@ -23996,116 +23998,116 @@ end # * rename_index # * rename_table # -# source://activerecord/lib/active_record/migration/command_recorder.rb#45 +# source://activerecord//lib/active_record/migration/command_recorder.rb#45 class ActiveRecord::Migration::CommandRecorder include ::ActiveRecord::Migration::JoinTable include ::ActiveRecord::Migration::CommandRecorder::StraightReversions # @return [CommandRecorder] a new instance of CommandRecorder # - # source://activerecord/lib/active_record/migration/command_recorder.rb#63 + # source://activerecord//lib/active_record/migration/command_recorder.rb#63 def initialize(delegate = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#129 def add_belongs_to(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_check_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_column(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_enum_value(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_foreign_key(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_index(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_reference(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_timestamps(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_unique_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_comment(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_default(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_null(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#132 + # source://activerecord//lib/active_record/migration/command_recorder.rb#132 def change_table(table_name, **options); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_table_comment(*args, **_arg1, &block); end # Returns the value of attribute commands. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def commands; end # Sets the attribute commands # # @param value the value to set the attribute commands to. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def commands=(_arg0); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_enum(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_join_table(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_table(*args, **_arg1, &block); end # Returns the value of attribute delegate. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def delegate; end # Sets the attribute delegate # # @param value the value to set the attribute delegate to. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def delegate=(_arg0); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def disable_extension(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_enum(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_join_table(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_table(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def enable_extension(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def execute(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def execute_block(*args, **_arg1, &block); end # Returns the inverse of the given command. For example: @@ -24123,13 +24125,13 @@ class ActiveRecord::Migration::CommandRecorder # # @raise [IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#110 + # source://activerecord//lib/active_record/migration/command_recorder.rb#110 def inverse_of(command, args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#256 def invert_add_belongs_to(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#257 def invert_remove_belongs_to(args, &block); end # Record +command+. +command+ should be a method name and arguments. @@ -24137,55 +24139,55 @@ class ActiveRecord::Migration::CommandRecorder # # recorder.record(:method_name, [:arg1, :arg2]) # - # source://activerecord/lib/active_record/migration/command_recorder.rb#90 + # source://activerecord//lib/active_record/migration/command_recorder.rb#90 def record(*command, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#130 def remove_belongs_to(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_check_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_column(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_columns(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_foreign_key(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_index(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_reference(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_timestamps(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_unique_constraint(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_column(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_enum(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_enum_value(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_index(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_table(*args, **_arg1, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#144 + # source://activerecord//lib/active_record/migration/command_recorder.rb#144 def replay(migration); end # While executing the given block, the recorded will be in reverting mode. @@ -24196,497 +24198,497 @@ class ActiveRecord::Migration::CommandRecorder # recorder.revert{ recorder.record(:rename_table, [:old, :new]) } # # same effect as recorder.record(:rename_table, [:new, :old]) # - # source://activerecord/lib/active_record/migration/command_recorder.rb#76 + # source://activerecord//lib/active_record/migration/command_recorder.rb#76 def revert; end # Returns the value of attribute reverting. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def reverting; end # Sets the attribute reverting # # @param value the value to set the attribute reverting to. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#61 + # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def reverting=(_arg0); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def transaction(*args, **_arg1, &block); end private - # source://activerecord/lib/active_record/migration/command_recorder.rb#313 + # source://activerecord//lib/active_record/migration/command_recorder.rb#313 def invert_add_check_constraint(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#274 + # source://activerecord//lib/active_record/migration/command_recorder.rb#274 def invert_add_foreign_key(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#335 + # source://activerecord//lib/active_record/migration/command_recorder.rb#335 def invert_add_unique_constraint(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#293 + # source://activerecord//lib/active_record/migration/command_recorder.rb#293 def invert_change_column_comment(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#259 + # source://activerecord//lib/active_record/migration/command_recorder.rb#259 def invert_change_column_default(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#269 + # source://activerecord//lib/active_record/migration/command_recorder.rb#269 def invert_change_column_null(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#303 + # source://activerecord//lib/active_record/migration/command_recorder.rb#303 def invert_change_table_comment(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#191 + # source://activerecord//lib/active_record/migration/command_recorder.rb#191 def invert_create_table(args, &block); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#349 + # source://activerecord//lib/active_record/migration/command_recorder.rb#349 def invert_drop_enum(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#198 + # source://activerecord//lib/active_record/migration/command_recorder.rb#198 def invert_drop_table(args, &block); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#321 + # source://activerecord//lib/active_record/migration/command_recorder.rb#321 def invert_remove_check_constraint(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#215 + # source://activerecord//lib/active_record/migration/command_recorder.rb#215 def invert_remove_column(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#220 + # source://activerecord//lib/active_record/migration/command_recorder.rb#220 def invert_remove_columns(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#330 + # source://activerecord//lib/active_record/migration/command_recorder.rb#330 def invert_remove_exclusion_constraint(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#279 + # source://activerecord//lib/active_record/migration/command_recorder.rb#279 def invert_remove_foreign_key(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#238 + # source://activerecord//lib/active_record/migration/command_recorder.rb#238 def invert_remove_index(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#342 + # source://activerecord//lib/active_record/migration/command_recorder.rb#342 def invert_remove_unique_constraint(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#233 + # source://activerecord//lib/active_record/migration/command_recorder.rb#233 def invert_rename_column(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#355 + # source://activerecord//lib/active_record/migration/command_recorder.rb#355 def invert_rename_enum(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#365 + # source://activerecord//lib/active_record/migration/command_recorder.rb#365 def invert_rename_enum_value(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#228 + # source://activerecord//lib/active_record/migration/command_recorder.rb#228 def invert_rename_index(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#208 + # source://activerecord//lib/active_record/migration/command_recorder.rb#208 def invert_rename_table(args); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#180 + # source://activerecord//lib/active_record/migration/command_recorder.rb#180 def invert_transaction(args, &block); end # Forwards any missing method call to the \target. # - # source://activerecord/lib/active_record/migration/command_recorder.rb#380 + # source://activerecord//lib/active_record/migration/command_recorder.rb#380 def method_missing(method, *args, **_arg2, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration/command_recorder.rb#375 + # source://activerecord//lib/active_record/migration/command_recorder.rb#375 def respond_to_missing?(method, _); end end -# source://activerecord/lib/active_record/migration/command_recorder.rb#46 +# source://activerecord//lib/active_record/migration/command_recorder.rb#46 ActiveRecord::Migration::CommandRecorder::ReversibleAndIrreversibleMethods = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/migration/command_recorder.rb#151 +# source://activerecord//lib/active_record/migration/command_recorder.rb#151 module ActiveRecord::Migration::CommandRecorder::StraightReversions - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_check_constraint(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_column(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_exclusion_constraint(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_foreign_key(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_index(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_reference(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_timestamps(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_unique_constraint(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_enum(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_join_table(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_table(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_disable_extension(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_enum(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_join_table(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_table(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_enable_extension(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_execute_block(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_check_constraint(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_column(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_exclusion_constraint(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_foreign_key(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_index(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_reference(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_timestamps(args, &block); end - # source://activerecord/lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_unique_constraint(args, &block); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#5 +# source://activerecord//lib/active_record/migration/compatibility.rb#5 module ActiveRecord::Migration::Compatibility class << self - # source://activerecord/lib/active_record/migration/compatibility.rb#6 + # source://activerecord//lib/active_record/migration/compatibility.rb#6 def find(version); end end end -# source://activerecord/lib/active_record/migration/compatibility.rb#411 +# source://activerecord//lib/active_record/migration/compatibility.rb#411 class ActiveRecord::Migration::Compatibility::V4_2 < ::ActiveRecord::Migration::Compatibility::V5_0 - # source://activerecord/lib/active_record/migration/compatibility.rb#429 + # source://activerecord//lib/active_record/migration/compatibility.rb#433 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#429 + # source://activerecord//lib/active_record/migration/compatibility.rb#429 def add_reference(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#435 + # source://activerecord//lib/active_record/migration/compatibility.rb#435 def add_timestamps(table_name, **options); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration/compatibility.rb#440 + # source://activerecord//lib/active_record/migration/compatibility.rb#440 def index_exists?(table_name, column_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#451 + # source://activerecord//lib/active_record/migration/compatibility.rb#451 def remove_index(table_name, column_name = T.unsafe(nil), **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#457 + # source://activerecord//lib/active_record/migration/compatibility.rb#457 def compatible_table_definition(t); end - # source://activerecord/lib/active_record/migration/compatibility.rb#464 + # source://activerecord//lib/active_record/migration/compatibility.rb#464 def index_name_for_remove(table_name, column_name, options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#412 +# source://activerecord//lib/active_record/migration/compatibility.rb#412 module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#413 + # source://activerecord//lib/active_record/migration/compatibility.rb#417 def belongs_to(*_arg0, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#413 + # source://activerecord//lib/active_record/migration/compatibility.rb#413 def references(*_arg0, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#419 + # source://activerecord//lib/active_record/migration/compatibility.rb#419 def timestamps(**options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#425 + # source://activerecord//lib/active_record/migration/compatibility.rb#425 def raise_on_if_exist_options(options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#342 +# source://activerecord//lib/active_record/migration/compatibility.rb#342 class ActiveRecord::Migration::Compatibility::V5_0 < ::ActiveRecord::Migration::Compatibility::V5_1 - # source://activerecord/lib/active_record/migration/compatibility.rb#397 + # source://activerecord//lib/active_record/migration/compatibility.rb#400 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#387 + # source://activerecord//lib/active_record/migration/compatibility.rb#387 def add_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#397 + # source://activerecord//lib/active_record/migration/compatibility.rb#397 def add_reference(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#382 + # source://activerecord//lib/active_record/migration/compatibility.rb#382 def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#359 + # source://activerecord//lib/active_record/migration/compatibility.rb#359 def create_table(table_name, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#403 + # source://activerecord//lib/active_record/migration/compatibility.rb#403 def compatible_table_definition(t); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#343 +# source://activerecord//lib/active_record/migration/compatibility.rb#343 module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#349 + # source://activerecord//lib/active_record/migration/compatibility.rb#352 def belongs_to(*args, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#344 + # source://activerecord//lib/active_record/migration/compatibility.rb#344 def primary_key(name, type = T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#349 + # source://activerecord//lib/active_record/migration/compatibility.rb#349 def references(*args, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#355 + # source://activerecord//lib/active_record/migration/compatibility.rb#355 def raise_on_if_exist_options(options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#321 +# source://activerecord//lib/active_record/migration/compatibility.rb#321 class ActiveRecord::Migration::Compatibility::V5_1 < ::ActiveRecord::Migration::Compatibility::V5_2 - # source://activerecord/lib/active_record/migration/compatibility.rb#322 + # source://activerecord//lib/active_record/migration/compatibility.rb#322 def change_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#333 + # source://activerecord//lib/active_record/migration/compatibility.rb#333 def create_table(table_name, **options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#265 +# source://activerecord//lib/active_record/migration/compatibility.rb#265 class ActiveRecord::Migration::Compatibility::V5_2 < ::ActiveRecord::Migration::Compatibility::V6_0 - # source://activerecord/lib/active_record/migration/compatibility.rb#299 + # source://activerecord//lib/active_record/migration/compatibility.rb#299 def add_timestamps(table_name, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#312 + # source://activerecord//lib/active_record/migration/compatibility.rb#312 def command_recorder; end - # source://activerecord/lib/active_record/migration/compatibility.rb#305 + # source://activerecord//lib/active_record/migration/compatibility.rb#305 def compatible_table_definition(t); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#285 +# source://activerecord//lib/active_record/migration/compatibility.rb#285 module ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder - # source://activerecord/lib/active_record/migration/compatibility.rb#290 + # source://activerecord//lib/active_record/migration/compatibility.rb#290 def invert_change_column_comment(args); end - # source://activerecord/lib/active_record/migration/compatibility.rb#294 + # source://activerecord//lib/active_record/migration/compatibility.rb#294 def invert_change_table_comment(args); end - # source://activerecord/lib/active_record/migration/compatibility.rb#286 + # source://activerecord//lib/active_record/migration/compatibility.rb#286 def invert_transaction(args, &block); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#266 +# source://activerecord//lib/active_record/migration/compatibility.rb#266 module ActiveRecord::Migration::Compatibility::V5_2::TableDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#272 + # source://activerecord//lib/active_record/migration/compatibility.rb#272 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#267 + # source://activerecord//lib/active_record/migration/compatibility.rb#267 def timestamps(**options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#281 + # source://activerecord//lib/active_record/migration/compatibility.rb#281 def raise_on_duplicate_column(name); end - # source://activerecord/lib/active_record/migration/compatibility.rb#278 + # source://activerecord//lib/active_record/migration/compatibility.rb#278 def raise_on_if_exist_options(options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#222 +# source://activerecord//lib/active_record/migration/compatibility.rb#222 class ActiveRecord::Migration::Compatibility::V6_0 < ::ActiveRecord::Migration::Compatibility::V6_1 - # source://activerecord/lib/active_record/migration/compatibility.rb#246 + # source://activerecord//lib/active_record/migration/compatibility.rb#254 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#246 + # source://activerecord//lib/active_record/migration/compatibility.rb#246 def add_reference(table_name, ref_name, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#257 + # source://activerecord//lib/active_record/migration/compatibility.rb#257 def compatible_table_definition(t); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#223 +# source://activerecord//lib/active_record/migration/compatibility.rb#223 class ActiveRecord::Migration::Compatibility::V6_0::ReferenceDefinition < ::ActiveRecord::ConnectionAdapters::ReferenceDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#224 + # source://activerecord//lib/active_record/migration/compatibility.rb#224 def index_options(table_name); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#229 +# source://activerecord//lib/active_record/migration/compatibility.rb#229 module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#230 + # source://activerecord//lib/active_record/migration/compatibility.rb#234 def belongs_to(*args, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#236 + # source://activerecord//lib/active_record/migration/compatibility.rb#236 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#230 + # source://activerecord//lib/active_record/migration/compatibility.rb#230 def references(*args, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#242 + # source://activerecord//lib/active_record/migration/compatibility.rb#242 def raise_on_if_exist_options(options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#159 +# source://activerecord//lib/active_record/migration/compatibility.rb#159 class ActiveRecord::Migration::Compatibility::V6_1 < ::ActiveRecord::Migration::Compatibility::V7_0 - # source://activerecord/lib/active_record/migration/compatibility.rb#174 + # source://activerecord//lib/active_record/migration/compatibility.rb#174 def add_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#183 + # source://activerecord//lib/active_record/migration/compatibility.rb#183 def change_column(table_name, column_name, type, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#214 + # source://activerecord//lib/active_record/migration/compatibility.rb#214 def compatible_table_definition(t); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#160 +# source://activerecord//lib/active_record/migration/compatibility.rb#160 class ActiveRecord::Migration::Compatibility::V6_1::PostgreSQLCompat class << self - # source://activerecord/lib/active_record/migration/compatibility.rb#161 + # source://activerecord//lib/active_record/migration/compatibility.rb#161 def compatible_timestamp_type(type, connection); end end end -# source://activerecord/lib/active_record/migration/compatibility.rb#192 +# source://activerecord//lib/active_record/migration/compatibility.rb#192 module ActiveRecord::Migration::Compatibility::V6_1::TableDefinition - # source://activerecord/lib/active_record/migration/compatibility.rb#198 + # source://activerecord//lib/active_record/migration/compatibility.rb#198 def change(name, type, index: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#203 + # source://activerecord//lib/active_record/migration/compatibility.rb#203 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#193 + # source://activerecord//lib/active_record/migration/compatibility.rb#193 def new_column_definition(name, type, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#209 + # source://activerecord//lib/active_record/migration/compatibility.rb#209 def raise_on_if_exist_options(options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#35 +# source://activerecord//lib/active_record/migration/compatibility.rb#35 class ActiveRecord::Migration::Compatibility::V7_0 < ::ActiveRecord::Migration::Current include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName - # source://activerecord/lib/active_record/migration/compatibility.rb#105 + # source://activerecord//lib/active_record/migration/compatibility.rb#109 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#95 + # source://activerecord//lib/active_record/migration/compatibility.rb#95 def add_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#143 + # source://activerecord//lib/active_record/migration/compatibility.rb#143 def add_foreign_key(from_table, to_table, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#100 + # source://activerecord//lib/active_record/migration/compatibility.rb#100 def add_index(table_name, column_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#105 + # source://activerecord//lib/active_record/migration/compatibility.rb#105 def add_reference(table_name, ref_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#124 + # source://activerecord//lib/active_record/migration/compatibility.rb#124 def change_column(table_name, column_name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#132 + # source://activerecord//lib/active_record/migration/compatibility.rb#132 def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration/compatibility.rb#111 + # source://activerecord//lib/active_record/migration/compatibility.rb#111 def create_table(table_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#136 + # source://activerecord//lib/active_record/migration/compatibility.rb#136 def disable_extension(name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#118 + # source://activerecord//lib/active_record/migration/compatibility.rb#118 def rename_table(table_name, new_name, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#151 + # source://activerecord//lib/active_record/migration/compatibility.rb#151 def compatible_table_definition(t); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#36 +# source://activerecord//lib/active_record/migration/compatibility.rb#36 module ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName private # @return [Boolean] # - # source://activerecord/lib/active_record/migration/compatibility.rb#60 + # source://activerecord//lib/active_record/migration/compatibility.rb#60 def expression_column_name?(column_name); end - # source://activerecord/lib/active_record/migration/compatibility.rb#52 + # source://activerecord//lib/active_record/migration/compatibility.rb#52 def index_name_options(column_names); end - # source://activerecord/lib/active_record/migration/compatibility.rb#38 + # source://activerecord//lib/active_record/migration/compatibility.rb#38 def legacy_index_name(table_name, options); end end -# source://activerecord/lib/active_record/migration/compatibility.rb#65 +# source://activerecord//lib/active_record/migration/compatibility.rb#65 module ActiveRecord::Migration::Compatibility::V7_0::TableDefinition include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName - # source://activerecord/lib/active_record/migration/compatibility.rb#73 + # source://activerecord//lib/active_record/migration/compatibility.rb#73 def change(name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#68 + # source://activerecord//lib/active_record/migration/compatibility.rb#68 def column(name, type, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#78 + # source://activerecord//lib/active_record/migration/compatibility.rb#78 def index(column_name, **options); end - # source://activerecord/lib/active_record/migration/compatibility.rb#83 + # source://activerecord//lib/active_record/migration/compatibility.rb#83 def references(*args, **options); end private - # source://activerecord/lib/active_record/migration/compatibility.rb#89 + # source://activerecord//lib/active_record/migration/compatibility.rb#89 def raise_on_if_exist_options(options); end end @@ -24708,45 +24710,45 @@ end # class sets the value of `precision` to `nil` if it's not explicitly provided. This way, the default value will not apply # for migrations written for 5.2, but will for migrations written for 6.0. # -# source://activerecord/lib/active_record/migration/compatibility.rb#33 +# source://activerecord//lib/active_record/migration/compatibility.rb#33 ActiveRecord::Migration::Compatibility::V7_1 = ActiveRecord::Migration::Current # This must be defined before the inherited hook, below # -# source://activerecord/lib/active_record/migration.rb#563 +# source://activerecord//lib/active_record/migration.rb#563 class ActiveRecord::Migration::Current < ::ActiveRecord::Migration - # source://activerecord/lib/active_record/migration.rb#572 + # source://activerecord//lib/active_record/migration.rb#572 def change_table(table_name, **options); end - # source://activerecord/lib/active_record/migration.rb#596 + # source://activerecord//lib/active_record/migration.rb#596 def compatible_table_definition(t); end - # source://activerecord/lib/active_record/migration.rb#580 + # source://activerecord//lib/active_record/migration.rb#580 def create_join_table(table_1, table_2, **options); end - # source://activerecord/lib/active_record/migration.rb#564 + # source://activerecord//lib/active_record/migration.rb#564 def create_table(table_name, **options); end - # source://activerecord/lib/active_record/migration.rb#588 + # source://activerecord//lib/active_record/migration.rb#588 def drop_table(table_name, **options); end end # The default strategy for executing migrations. Delegates method calls # to the connection adapter. # -# source://activerecord/lib/active_record/migration/default_strategy.rb#7 +# source://activerecord//lib/active_record/migration/default_strategy.rb#7 class ActiveRecord::Migration::DefaultStrategy < ::ActiveRecord::Migration::ExecutionStrategy private - # source://activerecord/lib/active_record/migration/default_strategy.rb#18 + # source://activerecord//lib/active_record/migration/default_strategy.rb#18 def connection; end - # source://activerecord/lib/active_record/migration/default_strategy.rb#9 + # source://activerecord//lib/active_record/migration/default_strategy.rb#9 def method_missing(method, *arguments, **_arg2, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration/default_strategy.rb#14 + # source://activerecord//lib/active_record/migration/default_strategy.rb#14 def respond_to_missing?(method, *_arg1); end end @@ -24756,59 +24758,72 @@ end # # The ExecutionStrategy receives the current +migration+ when initialized. # -# source://activerecord/lib/active_record/migration/execution_strategy.rb#10 +# source://activerecord//lib/active_record/migration/execution_strategy.rb#10 class ActiveRecord::Migration::ExecutionStrategy # @return [ExecutionStrategy] a new instance of ExecutionStrategy # - # source://activerecord/lib/active_record/migration/execution_strategy.rb#11 + # source://activerecord//lib/active_record/migration/execution_strategy.rb#11 def initialize(migration); end private # Returns the value of attribute migration. # - # source://activerecord/lib/active_record/migration/execution_strategy.rb#16 + # source://activerecord//lib/active_record/migration/execution_strategy.rb#16 def migration; end end -# source://activerecord/lib/active_record/migration/join_table.rb#5 +# source://activerecord//lib/active_record/migration/join_table.rb#5 module ActiveRecord::Migration::JoinTable private - # source://activerecord/lib/active_record/migration/join_table.rb#7 + # source://activerecord//lib/active_record/migration/join_table.rb#7 def find_join_table_name(table_1, table_2, options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration/join_table.rb#11 + # source://activerecord//lib/active_record/migration/join_table.rb#11 def join_table_name(table_1, table_2); end end -# source://activerecord/lib/active_record/migration.rb#621 +# source://activerecord//lib/active_record/migration.rb#621 ActiveRecord::Migration::MigrationFilenameRegexp = T.let(T.unsafe(nil), Regexp) -# source://activerecord/lib/active_record/migration.rb#868 +# source://activerecord//lib/active_record/migration.rb#868 class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct - # source://activerecord/lib/active_record/migration.rb#873 + # source://activerecord//lib/active_record/migration.rb#873 def down; end # Returns the value of attribute reverting # # @return [Object] the current value of reverting + # + # source://activerecord//lib/active_record/migration.rb#868 def reverting; end # Sets the attribute reverting # # @param value [Object] the value to set the attribute reverting to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#868 def reverting=(_); end - # source://activerecord/lib/active_record/migration.rb#869 + # source://activerecord//lib/active_record/migration.rb#869 def up; end class << self + # source://activerecord//lib/active_record/migration.rb#868 def [](*_arg0); end + + # source://activerecord//lib/active_record/migration.rb#868 def inspect; end + + # source://activerecord//lib/active_record/migration.rb#868 def keyword_init?; end + + # source://activerecord//lib/active_record/migration.rb#868 def members; end + + # source://activerecord//lib/active_record/migration.rb#868 def new(*_arg0); end end end @@ -24823,36 +24838,36 @@ end # a +SchemaMigration+ object per database. From the Rake tasks, \Rails will # handle this for you. # -# source://activerecord/lib/active_record/migration.rb#1202 +# source://activerecord//lib/active_record/migration.rb#1202 class ActiveRecord::MigrationContext # @return [MigrationContext] a new instance of MigrationContext # - # source://activerecord/lib/active_record/migration.rb#1205 + # source://activerecord//lib/active_record/migration.rb#1205 def initialize(migrations_paths, schema_migration = T.unsafe(nil), internal_metadata = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#1347 + # source://activerecord//lib/active_record/migration.rb#1347 def current_environment; end - # source://activerecord/lib/active_record/migration.rb#1303 + # source://activerecord//lib/active_record/migration.rb#1303 def current_version; end - # source://activerecord/lib/active_record/migration.rb#1277 + # source://activerecord//lib/active_record/migration.rb#1277 def down(target_version = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/migration.rb#1263 + # source://activerecord//lib/active_record/migration.rb#1263 def forward(steps = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#1295 + # source://activerecord//lib/active_record/migration.rb#1295 def get_all_versions; end # Returns the value of attribute internal_metadata. # - # source://activerecord/lib/active_record/migration.rb#1203 + # source://activerecord//lib/active_record/migration.rb#1203 def internal_metadata; end # @raise [NoEnvironmentInSchemaError] # - # source://activerecord/lib/active_record/migration.rb#1355 + # source://activerecord//lib/active_record/migration.rb#1355 def last_stored_environment; end # Runs the migrations in the +migrations_path+. @@ -24869,318 +24884,343 @@ class ActiveRecord::MigrationContext # If none of the conditions are met, +up+ will be run with # the +target_version+. # - # source://activerecord/lib/active_record/migration.rb#1246 + # source://activerecord//lib/active_record/migration.rb#1246 def migrate(target_version = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/migration.rb#1316 + # source://activerecord//lib/active_record/migration.rb#1316 def migrations; end # Returns the value of attribute migrations_paths. # - # source://activerecord/lib/active_record/migration.rb#1203 + # source://activerecord//lib/active_record/migration.rb#1203 def migrations_paths; end - # source://activerecord/lib/active_record/migration.rb#1329 + # source://activerecord//lib/active_record/migration.rb#1329 def migrations_status; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1308 + # source://activerecord//lib/active_record/migration.rb#1308 def needs_migration?; end - # source://activerecord/lib/active_record/migration.rb#1291 + # source://activerecord//lib/active_record/migration.rb#1291 def open; end - # source://activerecord/lib/active_record/migration.rb#1312 + # source://activerecord//lib/active_record/migration.rb#1312 def pending_migration_versions; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1351 + # source://activerecord//lib/active_record/migration.rb#1351 def protected_environment?; end - # source://activerecord/lib/active_record/migration.rb#1259 + # source://activerecord//lib/active_record/migration.rb#1259 def rollback(steps = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#1287 + # source://activerecord//lib/active_record/migration.rb#1287 def run(direction, target_version); end # Returns the value of attribute schema_migration. # - # source://activerecord/lib/active_record/migration.rb#1203 + # source://activerecord//lib/active_record/migration.rb#1203 def schema_migration; end - # source://activerecord/lib/active_record/migration.rb#1267 + # source://activerecord//lib/active_record/migration.rb#1267 def up(target_version = T.unsafe(nil), &block); end private - # source://activerecord/lib/active_record/migration.rb#1366 + # source://activerecord//lib/active_record/migration.rb#1366 def connection; end - # source://activerecord/lib/active_record/migration.rb#1370 + # source://activerecord//lib/active_record/migration.rb#1370 def migration_files; end - # source://activerecord/lib/active_record/migration.rb#1379 + # source://activerecord//lib/active_record/migration.rb#1379 def move(direction, steps); end - # source://activerecord/lib/active_record/migration.rb#1375 + # source://activerecord//lib/active_record/migration.rb#1375 def parse_migration_filename(filename); end end -# source://activerecord/lib/active_record/migration.rb#13 +# source://activerecord//lib/active_record/migration.rb#13 class ActiveRecord::MigrationError < ::ActiveRecord::ActiveRecordError # @return [MigrationError] a new instance of MigrationError # - # source://activerecord/lib/active_record/migration.rb#14 + # source://activerecord//lib/active_record/migration.rb#14 def initialize(message = T.unsafe(nil)); end end # MigrationProxy is used to defer loading of the actual migration classes # until they are needed # -# source://activerecord/lib/active_record/migration.rb#1168 +# source://activerecord//lib/active_record/migration.rb#1168 class ActiveRecord::MigrationProxy < ::Struct # @return [MigrationProxy] a new instance of MigrationProxy # - # source://activerecord/lib/active_record/migration.rb#1169 + # source://activerecord//lib/active_record/migration.rb#1169 def initialize(name, version, filename, scope); end - # source://activerecord/lib/active_record/migration.rb#1178 + # source://activerecord//lib/active_record/migration.rb#1178 def announce(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/migration.rb#1174 + # source://activerecord//lib/active_record/migration.rb#1174 def basename; end - # source://activerecord/lib/active_record/migration.rb#1178 + # source://activerecord//lib/active_record/migration.rb#1178 def disable_ddl_transaction(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute filename # # @return [Object] the current value of filename + # + # source://activerecord//lib/active_record/migration.rb#1168 def filename; end # Sets the attribute filename # # @param value [Object] the value to set the attribute filename to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def filename=(_); end - # source://activerecord/lib/active_record/migration.rb#1178 + # source://activerecord//lib/active_record/migration.rb#1178 def migrate(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/migration.rb#1168 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def name=(_); end # Returns the value of attribute scope # # @return [Object] the current value of scope + # + # source://activerecord//lib/active_record/migration.rb#1168 def scope; end # Sets the attribute scope # # @param value [Object] the value to set the attribute scope to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def scope=(_); end # Returns the value of attribute version # # @return [Object] the current value of version + # + # source://activerecord//lib/active_record/migration.rb#1168 def version; end # Sets the attribute version # # @param value [Object] the value to set the attribute version to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def version=(_); end - # source://activerecord/lib/active_record/migration.rb#1178 + # source://activerecord//lib/active_record/migration.rb#1178 def write(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/migration.rb#1185 + # source://activerecord//lib/active_record/migration.rb#1185 def load_migration; end - # source://activerecord/lib/active_record/migration.rb#1181 + # source://activerecord//lib/active_record/migration.rb#1181 def migration; end class << self + # source://activerecord//lib/active_record/migration.rb#1168 def [](*_arg0); end + + # source://activerecord//lib/active_record/migration.rb#1168 def inspect; end + + # source://activerecord//lib/active_record/migration.rb#1168 def keyword_init?; end + + # source://activerecord//lib/active_record/migration.rb#1168 def members; end + + # source://activerecord//lib/active_record/migration.rb#1168 def new(*_arg0); end end end -# source://activerecord/lib/active_record/migration.rb#1399 +# source://activerecord//lib/active_record/migration.rb#1399 class ActiveRecord::Migrator # @return [Migrator] a new instance of Migrator # - # source://activerecord/lib/active_record/migration.rb#1415 + # source://activerecord//lib/active_record/migration.rb#1415 def initialize(direction, migrations, schema_migration, internal_metadata, target_version = T.unsafe(nil)); end - # source://activerecord/lib/active_record/migration.rb#1433 + # source://activerecord//lib/active_record/migration.rb#1436 def current; end - # source://activerecord/lib/active_record/migration.rb#1433 + # source://activerecord//lib/active_record/migration.rb#1433 def current_migration; end - # source://activerecord/lib/active_record/migration.rb#1429 + # source://activerecord//lib/active_record/migration.rb#1429 def current_version; end - # source://activerecord/lib/active_record/migration.rb#1478 + # source://activerecord//lib/active_record/migration.rb#1478 def load_migrated; end - # source://activerecord/lib/active_record/migration.rb#1446 + # source://activerecord//lib/active_record/migration.rb#1446 def migrate; end - # source://activerecord/lib/active_record/migration.rb#1474 + # source://activerecord//lib/active_record/migration.rb#1474 def migrated; end - # source://activerecord/lib/active_record/migration.rb#1465 + # source://activerecord//lib/active_record/migration.rb#1465 def migrations; end - # source://activerecord/lib/active_record/migration.rb#1469 + # source://activerecord//lib/active_record/migration.rb#1469 def pending_migrations; end - # source://activerecord/lib/active_record/migration.rb#1438 + # source://activerecord//lib/active_record/migration.rb#1438 def run; end - # source://activerecord/lib/active_record/migration.rb#1454 + # source://activerecord//lib/active_record/migration.rb#1454 def runnable; end private - # source://activerecord/lib/active_record/migration.rb#1483 + # source://activerecord//lib/active_record/migration.rb#1483 def connection; end # Wrap the migration in a transaction only if supported by the adapter. # - # source://activerecord/lib/active_record/migration.rb#1578 + # source://activerecord//lib/active_record/migration.rb#1578 def ddl_transaction(migration, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1573 + # source://activerecord//lib/active_record/migration.rb#1573 def down?; end - # source://activerecord/lib/active_record/migration.rb#1522 + # source://activerecord//lib/active_record/migration.rb#1522 def execute_migration_in_transaction(migration); end - # source://activerecord/lib/active_record/migration.rb#1543 + # source://activerecord//lib/active_record/migration.rb#1543 def finish; end - # source://activerecord/lib/active_record/migration.rb#1610 + # source://activerecord//lib/active_record/migration.rb#1610 def generate_migrator_advisory_lock_id; end # Return true if a valid version is not provided. # # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1518 + # source://activerecord//lib/active_record/migration.rb#1518 def invalid_target?; end # Used for running multiple migrations up to or down to a certain value. # - # source://activerecord/lib/active_record/migration.rb#1497 + # source://activerecord//lib/active_record/migration.rb#1497 def migrate_without_lock; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1513 + # source://activerecord//lib/active_record/migration.rb#1513 def ran?(migration); end # Stores the current environment in the database. # - # source://activerecord/lib/active_record/migration.rb#1507 + # source://activerecord//lib/active_record/migration.rb#1507 def record_environment; end - # source://activerecord/lib/active_record/migration.rb#1559 + # source://activerecord//lib/active_record/migration.rb#1559 def record_version_state_after_migrating(version); end # Used for running a specific migration. # # @raise [UnknownMigrationVersionError] # - # source://activerecord/lib/active_record/migration.rb#1488 + # source://activerecord//lib/active_record/migration.rb#1488 def run_without_lock; end - # source://activerecord/lib/active_record/migration.rb#1547 + # source://activerecord//lib/active_record/migration.rb#1547 def start; end - # source://activerecord/lib/active_record/migration.rb#1539 + # source://activerecord//lib/active_record/migration.rb#1539 def target; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1569 + # source://activerecord//lib/active_record/migration.rb#1569 def up?; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1590 + # source://activerecord//lib/active_record/migration.rb#1590 def use_advisory_lock?; end # @return [Boolean] # - # source://activerecord/lib/active_record/migration.rb#1586 + # source://activerecord//lib/active_record/migration.rb#1586 def use_transaction?(migration); end # @raise [DuplicateMigrationNameError] # - # source://activerecord/lib/active_record/migration.rb#1551 + # source://activerecord//lib/active_record/migration.rb#1551 def validate(migrations); end - # source://activerecord/lib/active_record/migration.rb#1594 + # source://activerecord//lib/active_record/migration.rb#1594 def with_advisory_lock; end class << self # For cases where a table doesn't exist like loading from schema cache # - # source://activerecord/lib/active_record/migration.rb#1404 + # source://activerecord//lib/active_record/migration.rb#1404 def current_version; end # Returns the value of attribute migrations_paths. # - # source://activerecord/lib/active_record/migration.rb#1401 + # source://activerecord//lib/active_record/migration.rb#1401 def migrations_paths; end # Sets the attribute migrations_paths # # @param value the value to set the attribute migrations_paths to. # - # source://activerecord/lib/active_record/migration.rb#1401 + # source://activerecord//lib/active_record/migration.rb#1401 def migrations_paths=(_arg0); end end end -# source://activerecord/lib/active_record/migration.rb#1609 +# source://activerecord//lib/active_record/migration.rb#1609 ActiveRecord::Migrator::MIGRATOR_SALT = T.let(T.unsafe(nil), Integer) # Raised when a foreign key constraint cannot be added because the column type does not match the referenced column type. # -# source://activerecord/lib/active_record/errors.rb#217 +# source://activerecord//lib/active_record/errors.rb#217 class ActiveRecord::MismatchedForeignKey < ::ActiveRecord::StatementInvalid # @return [MismatchedForeignKey] a new instance of MismatchedForeignKey # - # source://activerecord/lib/active_record/errors.rb#218 + # source://activerecord//lib/active_record/errors.rb#218 def initialize(message: T.unsafe(nil), sql: T.unsafe(nil), binds: T.unsafe(nil), table: T.unsafe(nil), foreign_key: T.unsafe(nil), target_table: T.unsafe(nil), primary_key: T.unsafe(nil), primary_key_column: T.unsafe(nil), query_parser: T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activerecord/lib/active_record/errors.rb#254 + # source://activerecord//lib/active_record/errors.rb#254 def set_query(sql, binds); end end -# source://activerecord/lib/active_record/model_schema.rb#6 +# source://activerecord//lib/active_record/model_schema.rb#6 module ActiveRecord::ModelSchema extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -25198,7 +25238,7 @@ module ActiveRecord::ModelSchema # music_artists, music_records => music_artists_records # music.artists, music.records => music.artists_records # - # source://activerecord/lib/active_record/model_schema.rb#191 + # source://activerecord//lib/active_record/model_schema.rb#191 def derive_join_table_name(first_table, second_table); end end @@ -25244,24 +25284,24 @@ module ActiveRecord::ModelSchema end end -# source://activerecord/lib/active_record/model_schema.rb#195 +# source://activerecord//lib/active_record/model_schema.rb#195 module ActiveRecord::ModelSchema::ClassMethods - # source://activerecord/lib/active_record/model_schema.rb#502 + # source://activerecord//lib/active_record/model_schema.rb#502 def _default_attributes; end - # source://activerecord/lib/active_record/model_schema.rb#434 + # source://activerecord//lib/active_record/model_schema.rb#434 def _returning_columns_for_insert; end - # source://activerecord/lib/active_record/model_schema.rb#444 + # source://activerecord//lib/active_record/model_schema.rb#444 def attribute_types; end - # source://activerecord/lib/active_record/model_schema.rb#416 + # source://activerecord//lib/active_record/model_schema.rb#416 def attributes_builder; end # Returns a hash where the keys are column names and the values are # default values when instantiating the Active Record object for this table. # - # source://activerecord/lib/active_record/model_schema.rb#497 + # source://activerecord//lib/active_record/model_schema.rb#497 def column_defaults; end # Returns the column object for the named attribute. @@ -25278,36 +25318,36 @@ module ActiveRecord::ModelSchema::ClassMethods # person.column_for_attribute(:nothing) # # => #, ...> # - # source://activerecord/lib/active_record/model_schema.rb#488 + # source://activerecord//lib/active_record/model_schema.rb#488 def column_for_attribute(name); end # Returns an array of column names as strings. # - # source://activerecord/lib/active_record/model_schema.rb#508 + # source://activerecord//lib/active_record/model_schema.rb#508 def column_names; end - # source://activerecord/lib/active_record/model_schema.rb#429 + # source://activerecord//lib/active_record/model_schema.rb#429 def columns; end - # source://activerecord/lib/active_record/model_schema.rb#424 + # source://activerecord//lib/active_record/model_schema.rb#424 def columns_hash; end # Returns an array of column objects where the primary id, all columns ending in "_id" or "_count", # and columns used for single table inheritance have been removed. # - # source://activerecord/lib/active_record/model_schema.rb#519 + # source://activerecord//lib/active_record/model_schema.rb#519 def content_columns; end - # source://activerecord/lib/active_record/model_schema.rb#298 + # source://activerecord//lib/active_record/model_schema.rb#298 def full_table_name_prefix; end - # source://activerecord/lib/active_record/model_schema.rb#302 + # source://activerecord//lib/active_record/model_schema.rb#302 def full_table_name_suffix; end # The list of columns names the model should ignore. Ignored columns won't have attribute # accessors defined, and won't be referenced in SQL queries. # - # source://activerecord/lib/active_record/model_schema.rb#327 + # source://activerecord//lib/active_record/model_schema.rb#327 def ignored_columns; end # Sets the columns names the model should ignore. Ignored columns won't have attribute @@ -25342,16 +25382,16 @@ module ActiveRecord::ModelSchema::ClassMethods # user = Project.create!(name: "First Project") # user.category # => raises NoMethodError # - # source://activerecord/lib/active_record/model_schema.rb#362 + # source://activerecord//lib/active_record/model_schema.rb#362 def ignored_columns=(columns); end - # source://activerecord/lib/active_record/model_schema.rb#562 + # source://activerecord//lib/active_record/model_schema.rb#562 def load_schema; end # Returns the next value that will be used as the primary key on # an insert statement. # - # source://activerecord/lib/active_record/model_schema.rb#407 + # source://activerecord//lib/active_record/model_schema.rb#407 def next_sequence_value; end # Determines if the primary key values should be selected from their @@ -25359,26 +25399,26 @@ module ActiveRecord::ModelSchema::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/model_schema.rb#401 + # source://activerecord//lib/active_record/model_schema.rb#401 def prefetch_primary_key?; end # The array of names of environments where destructive actions should be prohibited. By default, # the value is ["production"]. # - # source://activerecord/lib/active_record/model_schema.rb#308 + # source://activerecord//lib/active_record/model_schema.rb#308 def protected_environments; end # Sets an array of names of environments where destructive actions should be prohibited. # - # source://activerecord/lib/active_record/model_schema.rb#317 + # source://activerecord//lib/active_record/model_schema.rb#317 def protected_environments=(environments); end # Returns a quoted version of the table name, used to construct SQL statements. # - # source://activerecord/lib/active_record/model_schema.rb#281 + # source://activerecord//lib/active_record/model_schema.rb#281 def quoted_table_name; end - # source://activerecord/lib/active_record/model_schema.rb#321 + # source://activerecord//lib/active_record/model_schema.rb#321 def real_inheritance_column=(value); end # Resets all the cached information about columns, which will cause them @@ -25408,18 +25448,18 @@ module ActiveRecord::ModelSchema::ClassMethods # end # end # - # source://activerecord/lib/active_record/model_schema.rb#553 + # source://activerecord//lib/active_record/model_schema.rb#553 def reset_column_information; end - # source://activerecord/lib/active_record/model_schema.rb#375 + # source://activerecord//lib/active_record/model_schema.rb#375 def reset_sequence_name; end # Computes the table name, (re)sets it internally, and returns it. # - # source://activerecord/lib/active_record/model_schema.rb#286 + # source://activerecord//lib/active_record/model_schema.rb#286 def reset_table_name; end - # source://activerecord/lib/active_record/model_schema.rb#367 + # source://activerecord//lib/active_record/model_schema.rb#367 def sequence_name; end # Sets the name of the sequence to use when generating ids to the given @@ -25437,17 +25477,17 @@ module ActiveRecord::ModelSchema::ClassMethods # self.sequence_name = "projectseq" # default would have been "project_seq" # end # - # source://activerecord/lib/active_record/model_schema.rb#394 + # source://activerecord//lib/active_record/model_schema.rb#394 def sequence_name=(value); end - # source://activerecord/lib/active_record/model_schema.rb#512 + # source://activerecord//lib/active_record/model_schema.rb#512 def symbol_column_to_string(name_symbol); end # Indicates whether the table associated with this class exists # # @return [Boolean] # - # source://activerecord/lib/active_record/model_schema.rb#412 + # source://activerecord//lib/active_record/model_schema.rb#412 def table_exists?; end # Guesses the table name (in forced lower-case) based on the name of the class in the @@ -25510,7 +25550,7 @@ module ActiveRecord::ModelSchema::ClassMethods # self.table_name = "mice" # end # - # source://activerecord/lib/active_record/model_schema.rb#255 + # source://activerecord//lib/active_record/model_schema.rb#255 def table_name; end # Sets the table name explicitly. Example: @@ -25519,7 +25559,7 @@ module ActiveRecord::ModelSchema::ClassMethods # self.table_name = "project" # end # - # source://activerecord/lib/active_record/model_schema.rb#265 + # source://activerecord//lib/active_record/model_schema.rb#265 def table_name=(value); end # Returns the type of the attribute with the given name, after applying @@ -25534,44 +25574,44 @@ module ActiveRecord::ModelSchema::ClassMethods # +attr_name+ The name of the attribute to retrieve the type for. Must be # a string or a symbol. # - # source://activerecord/lib/active_record/model_schema.rb#464 + # source://activerecord//lib/active_record/model_schema.rb#464 def type_for_attribute(attr_name, &block); end - # source://activerecord/lib/active_record/model_schema.rb#449 + # source://activerecord//lib/active_record/model_schema.rb#449 def yaml_encoder; end protected - # source://activerecord/lib/active_record/model_schema.rb#577 + # source://activerecord//lib/active_record/model_schema.rb#577 def initialize_load_schema_monitor; end - # source://activerecord/lib/active_record/model_schema.rb#581 + # source://activerecord//lib/active_record/model_schema.rb#581 def reload_schema_from_cache(recursive = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/model_schema.rb#662 + # source://activerecord//lib/active_record/model_schema.rb#662 def _convert_type_from_options(type); end # Computes and returns a table name according to default conventions. # - # source://activerecord/lib/active_record/model_schema.rb#646 + # source://activerecord//lib/active_record/model_schema.rb#646 def compute_table_name; end - # source://activerecord/lib/active_record/model_schema.rb#604 + # source://activerecord//lib/active_record/model_schema.rb#604 def inherited(child_class); end - # source://activerecord/lib/active_record/model_schema.rb#617 + # source://activerecord//lib/active_record/model_schema.rb#617 def load_schema!; end # @return [Boolean] # - # source://activerecord/lib/active_record/model_schema.rb#613 + # source://activerecord//lib/active_record/model_schema.rb#613 def schema_loaded?; end # Guesses the table name, but does not decorate it with prefix and suffix information. # - # source://activerecord/lib/active_record/model_schema.rb#640 + # source://activerecord//lib/active_record/model_schema.rb#640 def undecorated_table_name(model_name); end end @@ -25580,20 +25620,20 @@ end # method. The exception has an +errors+ property that contains an array of AttributeAssignmentError # objects, each corresponding to the error while assigning to an attribute. # -# source://activerecord/lib/active_record/errors.rb#436 +# source://activerecord//lib/active_record/errors.rb#436 class ActiveRecord::MultiparameterAssignmentErrors < ::ActiveRecord::ActiveRecordError # @return [MultiparameterAssignmentErrors] a new instance of MultiparameterAssignmentErrors # - # source://activerecord/lib/active_record/errors.rb#439 + # source://activerecord//lib/active_record/errors.rb#439 def initialize(errors = T.unsafe(nil)); end # Returns the value of attribute errors. # - # source://activerecord/lib/active_record/errors.rb#437 + # source://activerecord//lib/active_record/errors.rb#437 def errors; end end -# source://activerecord/lib/active_record/nested_attributes.rb#8 +# source://activerecord//lib/active_record/nested_attributes.rb#8 module ActiveRecord::NestedAttributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -25607,14 +25647,14 @@ module ActiveRecord::NestedAttributes # # See ActionView::Helpers::FormHelper#fields_for for more info. # - # source://activerecord/lib/active_record/nested_attributes.rb#401 + # source://activerecord//lib/active_record/nested_attributes.rb#401 def _destroy; end private # @return [Boolean] # - # source://activerecord/lib/active_record/nested_attributes.rb#606 + # source://activerecord//lib/active_record/nested_attributes.rb#606 def allow_destroy?(association_name); end # Assigns the given attributes to the collection association. @@ -25645,7 +25685,7 @@ module ActiveRecord::NestedAttributes # { id: '2', _destroy: true } # ]) # - # source://activerecord/lib/active_record/nested_attributes.rb#482 + # source://activerecord//lib/active_record/nested_attributes.rb#482 def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end # Assigns the given attributes to the association. @@ -25662,13 +25702,13 @@ module ActiveRecord::NestedAttributes # update_only is true, and a :_destroy key set to a truthy value, # then the existing record will be marked for destruction. # - # source://activerecord/lib/active_record/nested_attributes.rb#423 + # source://activerecord//lib/active_record/nested_attributes.rb#423 def assign_nested_attributes_for_one_to_one_association(association_name, attributes); end # Updates a record with the +attributes+ or marks it for destruction if # +allow_destroy+ is +true+ and has_destroy_flag? returns +true+. # - # source://activerecord/lib/active_record/nested_attributes.rb#568 + # source://activerecord//lib/active_record/nested_attributes.rb#568 def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end # Determines if a record with the particular +attributes+ should be @@ -25677,7 +25717,7 @@ module ActiveRecord::NestedAttributes # # Returns false if there is a +destroy_flag+ on the attributes. # - # source://activerecord/lib/active_record/nested_attributes.rb#590 + # source://activerecord//lib/active_record/nested_attributes.rb#590 def call_reject_if(association_name, attributes); end # Takes in a limit and checks if the attributes_collection has too many @@ -25687,22 +25727,22 @@ module ActiveRecord::NestedAttributes # Raises TooManyRecords error if the attributes_collection is # larger than the limit. # - # source://activerecord/lib/active_record/nested_attributes.rb#548 + # source://activerecord//lib/active_record/nested_attributes.rb#548 def check_record_limit!(limit, attributes_collection); end - # source://activerecord/lib/active_record/nested_attributes.rb#616 + # source://activerecord//lib/active_record/nested_attributes.rb#616 def find_record_by_id(records, id); end # Determines if a hash contains a truthy _destroy key. # # @return [Boolean] # - # source://activerecord/lib/active_record/nested_attributes.rb#574 + # source://activerecord//lib/active_record/nested_attributes.rb#574 def has_destroy_flag?(hash); end # @raise [RecordNotFound] # - # source://activerecord/lib/active_record/nested_attributes.rb#610 + # source://activerecord//lib/active_record/nested_attributes.rb#610 def raise_nested_attributes_record_not_found!(association_name, record_id); end # Determines if a new record should be rejected by checking @@ -25711,14 +25751,14 @@ module ActiveRecord::NestedAttributes # # @return [Boolean] # - # source://activerecord/lib/active_record/nested_attributes.rb#581 + # source://activerecord//lib/active_record/nested_attributes.rb#581 def reject_new_record?(association_name, attributes); end # Only take into account the destroy flag if :allow_destroy is true # # @return [Boolean] # - # source://activerecord/lib/active_record/nested_attributes.rb#602 + # source://activerecord//lib/active_record/nested_attributes.rb#602 def will_be_destroyed?(association_name, attributes); end module GeneratedClassMethods @@ -26017,7 +26057,7 @@ end # } # } # -# source://activerecord/lib/active_record/nested_attributes.rb#301 +# source://activerecord//lib/active_record/nested_attributes.rb#301 module ActiveRecord::NestedAttributes::ClassMethods # Defines an attributes writer for the specified association(s). # @@ -26067,7 +26107,7 @@ module ActiveRecord::NestedAttributes::ClassMethods # # creates avatar_attributes= and posts_attributes= # accepts_nested_attributes_for :avatar, :posts, allow_destroy: true # - # source://activerecord/lib/active_record/nested_attributes.rb#351 + # source://activerecord//lib/active_record/nested_attributes.rb#351 def accepts_nested_attributes_for(*attr_names); end private @@ -26084,69 +26124,69 @@ module ActiveRecord::NestedAttributes::ClassMethods # the helper methods defined below. Makes it seem like the nested # associations are just regular associations. # - # source://activerecord/lib/active_record/nested_attributes.rb#386 + # source://activerecord//lib/active_record/nested_attributes.rb#386 def generate_association_writer(association_name, type); end end -# source://activerecord/lib/active_record/nested_attributes.rb#302 +# source://activerecord//lib/active_record/nested_attributes.rb#302 ActiveRecord::NestedAttributes::ClassMethods::REJECT_ALL_BLANK_PROC = T.let(T.unsafe(nil), Proc) -# source://activerecord/lib/active_record/nested_attributes.rb#9 +# source://activerecord//lib/active_record/nested_attributes.rb#9 class ActiveRecord::NestedAttributes::TooManyRecords < ::ActiveRecord::ActiveRecordError; end # Attribute hash keys that should not be assigned as normal attributes. # These hash keys are nested attributes implementation details. # -# source://activerecord/lib/active_record/nested_attributes.rb#408 +# source://activerecord//lib/active_record/nested_attributes.rb#408 ActiveRecord::NestedAttributes::UNASSIGNABLE_KEYS = T.let(T.unsafe(nil), Array) # Raised when a given database does not exist. # -# source://activerecord/lib/active_record/errors.rb#307 +# source://activerecord//lib/active_record/errors.rb#307 class ActiveRecord::NoDatabaseError < ::ActiveRecord::StatementInvalid include ::ActiveSupport::ActionableError extend ::ActiveSupport::ActionableError::ClassMethods # @return [NoDatabaseError] a new instance of NoDatabaseError # - # source://activerecord/lib/active_record/errors.rb#314 + # source://activerecord//lib/active_record/errors.rb#314 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions; end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions?; end class << self - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions; end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions=(value); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions?; end - # source://activerecord/lib/active_record/errors.rb#319 + # source://activerecord//lib/active_record/errors.rb#319 def db_error(db_name); end end end -# source://activerecord/lib/active_record/migration.rb#184 +# source://activerecord//lib/active_record/migration.rb#184 class ActiveRecord::NoEnvironmentInSchemaError < ::ActiveRecord::MigrationError # @return [NoEnvironmentInSchemaError] a new instance of NoEnvironmentInSchemaError # - # source://activerecord/lib/active_record/migration.rb#185 + # source://activerecord//lib/active_record/migration.rb#185 def initialize; end end # = Active Record No Touching # -# source://activerecord/lib/active_record/no_touching.rb#5 +# source://activerecord//lib/active_record/no_touching.rb#5 module ActiveRecord::NoTouching extend ::ActiveSupport::Concern @@ -26161,32 +26201,32 @@ module ActiveRecord::NoTouching # # @return [Boolean] # - # source://activerecord/lib/active_record/no_touching.rb#53 + # source://activerecord//lib/active_record/no_touching.rb#53 def no_touching?; end - # source://activerecord/lib/active_record/no_touching.rb#61 + # source://activerecord//lib/active_record/no_touching.rb#61 def touch(*_arg0, **_arg1); end - # source://activerecord/lib/active_record/no_touching.rb#57 + # source://activerecord//lib/active_record/no_touching.rb#57 def touch_later(*_arg0); end class << self # @return [Boolean] # - # source://activerecord/lib/active_record/no_touching.rb#36 + # source://activerecord//lib/active_record/no_touching.rb#36 def applied_to?(klass); end - # source://activerecord/lib/active_record/no_touching.rb#29 + # source://activerecord//lib/active_record/no_touching.rb#29 def apply_to(klass); end private - # source://activerecord/lib/active_record/no_touching.rb#41 + # source://activerecord//lib/active_record/no_touching.rb#41 def klasses; end end end -# source://activerecord/lib/active_record/no_touching.rb#8 +# source://activerecord//lib/active_record/no_touching.rb#8 module ActiveRecord::NoTouching::ClassMethods # Lets you selectively disable calls to +touch+ for the # duration of a block. @@ -26202,11 +26242,11 @@ module ActiveRecord::NoTouching::ClassMethods # Message.first.touch # works, but does not touch the associated project # end # - # source://activerecord/lib/active_record/no_touching.rb#23 + # source://activerecord//lib/active_record/no_touching.rb#23 def no_touching(&block); end end -# source://activerecord/lib/active_record/normalization.rb#4 +# source://activerecord//lib/active_record/normalization.rb#4 module ActiveRecord::Normalization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -26228,12 +26268,12 @@ module ActiveRecord::Normalization # legacy_user.email # => "cruise-control@example.com" # legacy_user.save # - # source://activerecord/lib/active_record/normalization.rb#26 + # source://activerecord//lib/active_record/normalization.rb#26 def normalize_attribute(name); end private - # source://activerecord/lib/active_record/normalization.rb#114 + # source://activerecord//lib/active_record/normalization.rb#114 def normalize_changed_in_place_attributes; end module GeneratedClassMethods @@ -26249,7 +26289,7 @@ module ActiveRecord::Normalization end end -# source://activerecord/lib/active_record/normalization.rb#31 +# source://activerecord//lib/active_record/normalization.rb#31 module ActiveRecord::Normalization::ClassMethods # Normalizes a given +value+ using normalizations declared for +name+. # @@ -26262,7 +26302,7 @@ module ActiveRecord::Normalization::ClassMethods # User.normalize_value_for(:email, " CRUISE-CONTROL@EXAMPLE.COM\n") # # => "cruise-control@example.com" # - # source://activerecord/lib/active_record/normalization.rb#108 + # source://activerecord//lib/active_record/normalization.rb#108 def normalize_value_for(name, value); end # Declares a normalization for one or more attributes. The normalization @@ -26322,130 +26362,130 @@ module ActiveRecord::Normalization::ClassMethods # # User.normalize_value_for(:phone, "+1 (555) 867-5309") # => "5558675309" # - # source://activerecord/lib/active_record/normalization.rb#88 + # source://activerecord//lib/active_record/normalization.rb#88 def normalizes(*names, with:, apply_to_nil: T.unsafe(nil)); end end -# source://activerecord/lib/active_record/normalization.rb#120 +# source://activerecord//lib/active_record/normalization.rb#120 class ActiveRecord::Normalization::NormalizedValueType include ::ActiveModel::Type::SerializeCastValue extend ::ActiveModel::Type::SerializeCastValue::ClassMethods # @return [NormalizedValueType] a new instance of NormalizedValueType # - # source://activerecord/lib/active_record/normalization.rb#126 + # source://activerecord//lib/active_record/normalization.rb#126 def initialize(cast_type:, normalizer:, normalize_nil:); end - # source://activerecord/lib/active_record/normalization.rb#145 + # source://activerecord//lib/active_record/normalization.rb#145 def ==(other); end - # source://activerecord/lib/active_record/normalization.rb#133 + # source://activerecord//lib/active_record/normalization.rb#133 def cast(value); end # Returns the value of attribute cast_type. # - # source://activerecord/lib/active_record/normalization.rb#123 + # source://activerecord//lib/active_record/normalization.rb#123 def cast_type; end - # source://activerecord/lib/active_record/normalization.rb#145 + # source://activerecord//lib/active_record/normalization.rb#151 def eql?(other); end - # source://activerecord/lib/active_record/normalization.rb#153 + # source://activerecord//lib/active_record/normalization.rb#153 def hash; end - # source://activerecord/lib/active_record/normalization.rb#157 + # source://activerecord//lib/active_record/normalization.rb#157 def inspect; end # Returns the value of attribute normalize_nil. # - # source://activerecord/lib/active_record/normalization.rb#123 + # source://activerecord//lib/active_record/normalization.rb#123 def normalize_nil; end # Returns the value of attribute normalize_nil. # - # source://activerecord/lib/active_record/normalization.rb#123 + # source://activerecord//lib/active_record/normalization.rb#124 def normalize_nil?; end # Returns the value of attribute normalizer. # - # source://activerecord/lib/active_record/normalization.rb#123 + # source://activerecord//lib/active_record/normalization.rb#123 def normalizer; end - # source://activerecord/lib/active_record/normalization.rb#137 + # source://activerecord//lib/active_record/normalization.rb#137 def serialize(value); end - # source://activerecord/lib/active_record/normalization.rb#141 + # source://activerecord//lib/active_record/normalization.rb#141 def serialize_cast_value(value); end private - # source://activerecord/lib/active_record/normalization.rb#162 + # source://activerecord//lib/active_record/normalization.rb#162 def normalize(value); end end # Raised when a record cannot be inserted or updated because it would violate a not null constraint. # -# source://activerecord/lib/active_record/errors.rb#272 +# source://activerecord//lib/active_record/errors.rb#272 class ActiveRecord::NotNullViolation < ::ActiveRecord::StatementInvalid; end -# source://activerecord/lib/active_record/migration/pending_migration_connection.rb#4 +# source://activerecord//lib/active_record/migration/pending_migration_connection.rb#4 class ActiveRecord::PendingMigrationConnection class << self - # source://activerecord/lib/active_record/migration/pending_migration_connection.rb#17 + # source://activerecord//lib/active_record/migration/pending_migration_connection.rb#17 def current_preventing_writes; end - # source://activerecord/lib/active_record/migration/pending_migration_connection.rb#5 + # source://activerecord//lib/active_record/migration/pending_migration_connection.rb#5 def establish_temporary_connection(db_config, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/migration/pending_migration_connection.rb#13 + # source://activerecord//lib/active_record/migration/pending_migration_connection.rb#13 def primary_class?; end end end -# source://activerecord/lib/active_record/migration.rb#134 +# source://activerecord//lib/active_record/migration.rb#134 class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError include ::ActiveSupport::ActionableError extend ::ActiveSupport::ActionableError::ClassMethods # @return [PendingMigrationError] a new instance of PendingMigrationError # - # source://activerecord/lib/active_record/migration.rb#146 + # source://activerecord//lib/active_record/migration.rb#146 def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions; end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions=(_arg0); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions?; end private - # source://activerecord/lib/active_record/migration.rb#170 + # source://activerecord//lib/active_record/migration.rb#170 def connection; end - # source://activerecord/lib/active_record/migration.rb#156 + # source://activerecord//lib/active_record/migration.rb#156 def detailed_migration_message(pending_migrations); end class << self - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions; end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions=(value); end - # source://activesupport/7.1.5.1lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions?; end end end # = Active Record \Persistence # -# source://activerecord/lib/active_record/persistence.rb#7 +# source://activerecord//lib/active_record/persistence.rb#7 module ActiveRecord::Persistence extend ::ActiveSupport::Concern @@ -26466,7 +26506,7 @@ module ActiveRecord::Persistence # # If you want to change the STI column as well, use #becomes! instead. # - # source://activerecord/lib/active_record/persistence.rb#814 + # source://activerecord//lib/active_record/persistence.rb#814 def becomes(klass); end # Wrapper around #becomes that also changes the instance's STI column value. @@ -26476,14 +26516,14 @@ module ActiveRecord::Persistence # Note: The old instance's STI column value will be changed too, as both objects # share the same set of attributes. # - # source://activerecord/lib/active_record/persistence.rb#835 + # source://activerecord//lib/active_record/persistence.rb#835 def becomes!(klass); end # Initializes +attribute+ to zero if +nil+ and subtracts the value passed as +by+ (default is 1). # The decrement is performed directly on the underlying attribute, no setter is invoked. # Only makes sense for number-based attributes. Returns +self+. # - # source://activerecord/lib/active_record/persistence.rb#982 + # source://activerecord//lib/active_record/persistence.rb#982 def decrement(attribute, by = T.unsafe(nil)); end # Wrapper around #decrement that writes the update to the database. @@ -26493,7 +26533,7 @@ module ActiveRecord::Persistence # +update_counters+, see that for more. # Returns +self+. # - # source://activerecord/lib/active_record/persistence.rb#992 + # source://activerecord//lib/active_record/persistence.rb#992 def decrement!(attribute, by = T.unsafe(nil), touch: T.unsafe(nil)); end # Deletes the record in the database and freezes this instance to @@ -26509,7 +26549,7 @@ module ActiveRecord::Persistence # callbacks or any :dependent association # options, use #destroy. # - # source://activerecord/lib/active_record/persistence.rb#766 + # source://activerecord//lib/active_record/persistence.rb#766 def delete; end # Deletes the record in the database and freezes this instance to reflect @@ -26520,7 +26560,7 @@ module ActiveRecord::Persistence # and #destroy returns +false+. # See ActiveRecord::Callbacks for further details. # - # source://activerecord/lib/active_record/persistence.rb#780 + # source://activerecord//lib/active_record/persistence.rb#780 def destroy; end # Deletes the record in the database and freezes this instance to reflect @@ -26531,21 +26571,21 @@ module ActiveRecord::Persistence # and #destroy! raises ActiveRecord::RecordNotDestroyed. # See ActiveRecord::Callbacks for further details. # - # source://activerecord/lib/active_record/persistence.rb#796 + # source://activerecord//lib/active_record/persistence.rb#796 def destroy!; end # Returns true if this object has been destroyed, otherwise returns false. # # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#682 + # source://activerecord//lib/active_record/persistence.rb#682 def destroyed?; end # Initializes +attribute+ to zero if +nil+ and adds the value passed as +by+ (default is 1). # The increment is performed directly on the underlying attribute, no setter is invoked. # Only makes sense for number-based attributes. Returns +self+. # - # source://activerecord/lib/active_record/persistence.rb#959 + # source://activerecord//lib/active_record/persistence.rb#959 def increment(attribute, by = T.unsafe(nil)); end # Wrapper around #increment that writes the update to the database. @@ -26555,7 +26595,7 @@ module ActiveRecord::Persistence # +update_counters+, see that for more. # Returns +self+. # - # source://activerecord/lib/active_record/persistence.rb#971 + # source://activerecord//lib/active_record/persistence.rb#971 def increment!(attribute, by = T.unsafe(nil), touch: T.unsafe(nil)); end # Returns true if this object hasn't been saved yet -- that is, a record @@ -26563,7 +26603,7 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#665 + # source://activerecord//lib/active_record/persistence.rb#665 def new_record?; end # Returns true if the record is persisted, i.e. it's not a new record and it was @@ -26571,7 +26611,7 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#688 + # source://activerecord//lib/active_record/persistence.rb#688 def persisted?; end # Returns true if this object was just created -- that is, prior to the last @@ -26580,14 +26620,14 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#672 + # source://activerecord//lib/active_record/persistence.rb#672 def previously_new_record?; end # Returns true if this object was previously persisted but now it has been deleted. # # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#677 + # source://activerecord//lib/active_record/persistence.rb#677 def previously_persisted?; end # Reloads the record from the database. @@ -26638,7 +26678,7 @@ module ActiveRecord::Persistence # end # end # - # source://activerecord/lib/active_record/persistence.rb#1069 + # source://activerecord//lib/active_record/persistence.rb#1069 def reload(options = T.unsafe(nil)); end # :call-seq: @@ -26666,7 +26706,7 @@ module ActiveRecord::Persistence # Attributes marked as readonly are silently ignored if the record is # being updated. # - # source://activerecord/lib/active_record/persistence.rb#717 + # source://activerecord//lib/active_record/persistence.rb#717 def save(**options, &block); end # :call-seq: @@ -26696,7 +26736,7 @@ module ActiveRecord::Persistence # # Unless an error is raised, returns true. # - # source://activerecord/lib/active_record/persistence.rb#750 + # source://activerecord//lib/active_record/persistence.rb#750 def save!(**options, &block); end # Assigns to +attribute+ the boolean opposite of attribute?. So @@ -26711,7 +26751,7 @@ module ActiveRecord::Persistence # user.toggle(:banned) # user.banned? # => true # - # source://activerecord/lib/active_record/persistence.rb#1008 + # source://activerecord//lib/active_record/persistence.rb#1008 def toggle(attribute); end # Wrapper around #toggle that saves the record. This method differs from @@ -26719,7 +26759,7 @@ module ActiveRecord::Persistence # Saving is not subjected to validation checks. Returns +true+ if the # record could be saved. # - # source://activerecord/lib/active_record/persistence.rb#1017 + # source://activerecord//lib/active_record/persistence.rb#1017 def toggle!(attribute); end # Saves the record with the updated_at/on attributes set to the current time @@ -26756,20 +26796,20 @@ module ActiveRecord::Persistence # ball = Ball.new # ball.touch(:updated_at) # => raises ActiveRecordError # - # source://activerecord/lib/active_record/persistence.rb#1120 + # source://activerecord//lib/active_record/persistence.rb#1120 def touch(*names, time: T.unsafe(nil)); end # Updates the attributes of the model from the passed-in hash and saves the # record, all wrapped in a transaction. If the object is invalid, the saving # will fail and false will be returned. # - # source://activerecord/lib/active_record/persistence.rb#890 + # source://activerecord//lib/active_record/persistence.rb#890 def update(attributes); end # Updates its receiver just like #update but calls #save! instead # of +save+, so an exception is raised if the record is invalid and saving will fail. # - # source://activerecord/lib/active_record/persistence.rb#901 + # source://activerecord//lib/active_record/persistence.rb#901 def update!(attributes); end # Updates a single attribute and saves the record. @@ -26785,7 +26825,7 @@ module ActiveRecord::Persistence # # Also see #update_column. # - # source://activerecord/lib/active_record/persistence.rb#857 + # source://activerecord//lib/active_record/persistence.rb#857 def update_attribute(name, value); end # Updates a single attribute and saves the record. @@ -26803,12 +26843,12 @@ module ActiveRecord::Persistence # and #update_attribute! raises ActiveRecord::RecordNotSaved. See # ActiveRecord::Callbacks for further details. # - # source://activerecord/lib/active_record/persistence.rb#879 + # source://activerecord//lib/active_record/persistence.rb#879 def update_attribute!(name, value); end # Equivalent to update_columns(name => value). # - # source://activerecord/lib/active_record/persistence.rb#911 + # source://activerecord//lib/active_record/persistence.rb#911 def update_column(name, value); end # Updates the attributes directly in the database issuing an UPDATE SQL @@ -26830,7 +26870,7 @@ module ActiveRecord::Persistence # # @raise [ActiveRecordError] # - # source://activerecord/lib/active_record/persistence.rb#931 + # source://activerecord//lib/active_record/persistence.rb#931 def update_columns(attributes); end private @@ -26841,35 +26881,35 @@ module ActiveRecord::Persistence # @yield [_self] # @yieldparam _self [ActiveRecord::Persistence] the object that the method was called on # - # source://activerecord/lib/active_record/persistence.rb#1247 + # source://activerecord//lib/active_record/persistence.rb#1247 def _create_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/persistence.rb#1197 + # source://activerecord//lib/active_record/persistence.rb#1197 def _delete_row; end - # source://activerecord/lib/active_record/persistence.rb#1153 + # source://activerecord//lib/active_record/persistence.rb#1153 def _find_record(options); end - # source://activerecord/lib/active_record/persistence.rb#1164 + # source://activerecord//lib/active_record/persistence.rb#1164 def _in_memory_query_constraints_hash; end - # source://activerecord/lib/active_record/persistence.rb#1179 + # source://activerecord//lib/active_record/persistence.rb#1179 def _query_constraints_hash; end # @raise [ReadOnlyRecord] # - # source://activerecord/lib/active_record/persistence.rb#1281 + # source://activerecord//lib/active_record/persistence.rb#1281 def _raise_readonly_record_error; end - # source://activerecord/lib/active_record/persistence.rb#1273 + # source://activerecord//lib/active_record/persistence.rb#1273 def _raise_record_not_destroyed; end # @raise [ActiveRecordError] # - # source://activerecord/lib/active_record/persistence.rb#1285 + # source://activerecord//lib/active_record/persistence.rb#1285 def _raise_record_not_touched_error; end - # source://activerecord/lib/active_record/persistence.rb#1201 + # source://activerecord//lib/active_record/persistence.rb#1201 def _touch_row(attribute_names, time); end # Updates the associated record with values matching those of the instance attributes. @@ -26878,49 +26918,49 @@ module ActiveRecord::Persistence # @yield [_self] # @yieldparam _self [ActiveRecord::Persistence] the object that the method was called on # - # source://activerecord/lib/active_record/persistence.rb#1227 + # source://activerecord//lib/active_record/persistence.rb#1227 def _update_record(attribute_names = T.unsafe(nil)); end - # source://activerecord/lib/active_record/persistence.rb#1211 + # source://activerecord//lib/active_record/persistence.rb#1211 def _update_row(attribute_names, attempted_action = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#1174 + # source://activerecord//lib/active_record/persistence.rb#1174 def apply_scoping?(options); end - # source://activerecord/lib/active_record/persistence.rb#1218 + # source://activerecord//lib/active_record/persistence.rb#1218 def create_or_update(**_arg0, &block); end # A hook to be overridden by association modules. # - # source://activerecord/lib/active_record/persistence.rb#1190 + # source://activerecord//lib/active_record/persistence.rb#1190 def destroy_associations; end - # source://activerecord/lib/active_record/persistence.rb#1193 + # source://activerecord//lib/active_record/persistence.rb#1193 def destroy_row; end - # source://activerecord/lib/active_record/persistence.rb#1141 + # source://activerecord//lib/active_record/persistence.rb#1141 def init_internals; end - # source://activerecord/lib/active_record/persistence.rb#1147 + # source://activerecord//lib/active_record/persistence.rb#1147 def strict_loaded_associations; end # @raise [ActiveRecordError] # - # source://activerecord/lib/active_record/persistence.rb#1269 + # source://activerecord//lib/active_record/persistence.rb#1269 def verify_readonly_attribute(name); end end -# source://activerecord/lib/active_record/persistence.rb#10 +# source://activerecord//lib/active_record/persistence.rb#10 module ActiveRecord::Persistence::ClassMethods - # source://activerecord/lib/active_record/persistence.rb#611 + # source://activerecord//lib/active_record/persistence.rb#611 def _delete_record(constraints); end - # source://activerecord/lib/active_record/persistence.rb#569 + # source://activerecord//lib/active_record/persistence.rb#569 def _insert_record(values, returning); end - # source://activerecord/lib/active_record/persistence.rb#594 + # source://activerecord//lib/active_record/persistence.rb#594 def _update_record(values, constraints); end # Builds an object (or multiple objects) and returns either the built object or a list of built @@ -26946,14 +26986,14 @@ module ActiveRecord::Persistence::ClassMethods # u.is_admin = false # end # - # source://activerecord/lib/active_record/persistence.rb#82 + # source://activerecord//lib/active_record/persistence.rb#82 def build(attributes = T.unsafe(nil), &block); end # Returns an array of column names to be used in queries. The source of column # names is derived from +query_constraints_list+ or +primary_key+. This method # is for internal use when the primary key is to be treated as an array. # - # source://activerecord/lib/active_record/persistence.rb#510 + # source://activerecord//lib/active_record/persistence.rb#510 def composite_query_constraints_list; end # Creates an object (or multiple objects) and saves it to the database, if validations pass. @@ -26979,7 +27019,7 @@ module ActiveRecord::Persistence::ClassMethods # u.is_admin = false # end # - # source://activerecord/lib/active_record/persistence.rb#33 + # source://activerecord//lib/active_record/persistence.rb#33 def create(attributes = T.unsafe(nil), &block); end # Creates an object (or multiple objects) and saves it to the database, @@ -26990,7 +27030,7 @@ module ActiveRecord::Persistence::ClassMethods # These describe which attributes to be created on the object, or # multiple objects when given an Array of Hashes. # - # source://activerecord/lib/active_record/persistence.rb#50 + # source://activerecord//lib/active_record/persistence.rb#50 def create!(attributes = T.unsafe(nil), &block); end # Deletes the row with a primary key matching the +id+ argument, using an @@ -27012,7 +27052,7 @@ module ActiveRecord::Persistence::ClassMethods # # Delete multiple rows # Todo.delete([2,3,4]) # - # source://activerecord/lib/active_record/persistence.rb#565 + # source://activerecord//lib/active_record/persistence.rb#565 def delete(id_or_array); end # Destroy an object (or multiple objects) that has the given id. The object is instantiated first, @@ -27035,12 +27075,12 @@ module ActiveRecord::Persistence::ClassMethods # todos = [1,2,3] # Todo.destroy(todos) # - # source://activerecord/lib/active_record/persistence.rb#533 + # source://activerecord//lib/active_record/persistence.rb#533 def destroy(id); end # @return [Boolean] # - # source://activerecord/lib/active_record/persistence.rb#495 + # source://activerecord//lib/active_record/persistence.rb#495 def has_query_constraints?; end # Inserts a single record into the database in a single SQL INSERT @@ -27050,7 +27090,7 @@ module ActiveRecord::Persistence::ClassMethods # # See #insert_all for documentation. # - # source://activerecord/lib/active_record/persistence.rb#96 + # source://activerecord//lib/active_record/persistence.rb#96 def insert(attributes, returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Inserts a single record into the database in a single SQL INSERT @@ -27060,7 +27100,7 @@ module ActiveRecord::Persistence::ClassMethods # # See #insert_all! for more. # - # source://activerecord/lib/active_record/persistence.rb#185 + # source://activerecord//lib/active_record/persistence.rb#185 def insert!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Inserts multiple records into the database in a single SQL INSERT @@ -27139,7 +27179,7 @@ module ActiveRecord::Persistence::ClassMethods # { id: 2, title: "Eloquent Ruby" } # ]) # - # source://activerecord/lib/active_record/persistence.rb#175 + # source://activerecord//lib/active_record/persistence.rb#175 def insert_all(attributes, returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Inserts multiple records into the database in a single SQL INSERT @@ -27196,7 +27236,7 @@ module ActiveRecord::Persistence::ClassMethods # { id: 1, title: "Eloquent Ruby", author: "Russ" } # ]) # - # source://activerecord/lib/active_record/persistence.rb#242 + # source://activerecord//lib/active_record/persistence.rb#242 def insert_all!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Given an attributes hash, +instantiate+ returns a new instance of @@ -27210,7 +27250,7 @@ module ActiveRecord::Persistence::ClassMethods # See ActiveRecord::Inheritance#discriminate_class_for_record to see # how this "single-table" inheritance mapping is implemented. # - # source://activerecord/lib/active_record/persistence.rb#376 + # source://activerecord//lib/active_record/persistence.rb#376 def instantiate(attributes, column_types = T.unsafe(nil), &block); end # Accepts a list of attribute names to be used in the WHERE clause @@ -27246,10 +27286,10 @@ module ActiveRecord::Persistence::ClassMethods # # @raise [ArgumentError] # - # source://activerecord/lib/active_record/persistence.rb#488 + # source://activerecord//lib/active_record/persistence.rb#488 def query_constraints(*columns_list); end - # source://activerecord/lib/active_record/persistence.rb#499 + # source://activerecord//lib/active_record/persistence.rb#499 def query_constraints_list; end # Updates an object (or multiple objects) and saves it to the database, if validations pass. @@ -27280,13 +27320,13 @@ module ActiveRecord::Persistence::ClassMethods # it is preferred to use {update_all}[rdoc-ref:Relation#update_all] # for updating all records in a single query. # - # source://activerecord/lib/active_record/persistence.rb#408 + # source://activerecord//lib/active_record/persistence.rb#408 def update(id = T.unsafe(nil), attributes); end # Updates the object (or multiple objects) just like #update but calls #update! instead # of +update+, so an exception is raised if the record is invalid and saving will fail. # - # source://activerecord/lib/active_record/persistence.rb#434 + # source://activerecord//lib/active_record/persistence.rb#434 def update!(id = T.unsafe(nil), attributes); end # Updates or inserts (upserts) a single record into the database in a @@ -27296,7 +27336,7 @@ module ActiveRecord::Persistence::ClassMethods # # See #upsert_all for documentation. # - # source://activerecord/lib/active_record/persistence.rb#252 + # source://activerecord//lib/active_record/persistence.rb#252 def upsert(attributes, **kwargs); end # Updates or inserts (upserts) multiple records into the database in a @@ -27406,7 +27446,7 @@ module ActiveRecord::Persistence::ClassMethods # # Book.find_by(isbn: "1").title # => "Eloquent Ruby" # - # source://activerecord/lib/active_record/persistence.rb#362 + # source://activerecord//lib/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 @@ -27415,7 +27455,7 @@ module ActiveRecord::Persistence::ClassMethods # to build `where` clause from default scopes. # Skips empty scopes. # - # source://activerecord/lib/active_record/persistence.rb#655 + # source://activerecord//lib/active_record/persistence.rb#655 def build_default_constraint; end # Called by +instantiate+ to decide which class to use for a new @@ -27424,36 +27464,36 @@ module ActiveRecord::Persistence::ClassMethods # See +ActiveRecord::Inheritance#discriminate_class_for_record+ for # the single-table inheritance discriminator. # - # source://activerecord/lib/active_record/persistence.rb#648 + # source://activerecord//lib/active_record/persistence.rb#648 def discriminate_class_for_record(record); end - # source://activerecord/lib/active_record/persistence.rb#628 + # source://activerecord//lib/active_record/persistence.rb#628 def inherited(subclass); end # Given a class, an attributes hash, +instantiate_instance_of+ returns a # new instance of the class. Accepts only keys as strings. # - # source://activerecord/lib/active_record/persistence.rb#638 + # source://activerecord//lib/active_record/persistence.rb#638 def instantiate_instance_of(klass, attributes, column_types = T.unsafe(nil), &block); end end -# source://activerecord/lib/active_record/relation/predicate_builder.rb#4 +# source://activerecord//lib/active_record/relation/predicate_builder.rb#4 class ActiveRecord::PredicateBuilder # @return [PredicateBuilder] a new instance of PredicateBuilder # - # source://activerecord/lib/active_record/relation/predicate_builder.rb#12 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#12 def initialize(table); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#53 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#53 def [](attr_name, value, operator = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#57 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#57 def build(attribute, value, operator = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#67 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#67 def build_bind_attribute(column_name, value); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#23 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#23 def build_from_hash(attributes, &block); end # Define how a class is converted to Arel nodes when passed to +where+. @@ -27468,232 +27508,251 @@ class ActiveRecord::PredicateBuilder # end # ActiveRecord::PredicateBuilder.new("users").register_handler(MyCustomDateRange, handler) # - # source://activerecord/lib/active_record/relation/predicate_builder.rb#49 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#49 def register_handler(klass, handler); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#71 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#71 def resolve_arel_attribute(table_name, column_name, &block); end protected - # source://activerecord/lib/active_record/relation/predicate_builder.rb#76 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#76 def expand_from_hash(attributes, &block); end private - # source://activerecord/lib/active_record/relation/predicate_builder.rb#150 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#150 def convert_dot_notation_to_hash(attributes); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#140 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#140 def grouping_queries(queries); end - # source://activerecord/lib/active_record/relation/predicate_builder.rb#172 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#172 def handler_for(object); end # Returns the value of attribute table. # - # source://activerecord/lib/active_record/relation/predicate_builder.rb#138 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#138 def table; end class << self - # source://activerecord/lib/active_record/relation/predicate_builder.rb#28 + # source://activerecord//lib/active_record/relation/predicate_builder.rb#28 def references(attributes); end end end -# source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#7 +# source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#7 class ActiveRecord::PredicateBuilder::ArrayHandler # @return [ArrayHandler] a new instance of ArrayHandler # - # source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#8 + # source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#8 def initialize(predicate_builder); end - # source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#12 + # source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#12 def call(attribute, value); end private # Returns the value of attribute predicate_builder. # - # source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#39 + # source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#39 def predicate_builder; end end -# source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#41 +# source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#41 module ActiveRecord::PredicateBuilder::ArrayHandler::NullPredicate class << self - # source://activerecord/lib/active_record/relation/predicate_builder/array_handler.rb#42 + # source://activerecord//lib/active_record/relation/predicate_builder/array_handler.rb#42 def or(other); end end end -# source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#5 +# source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#5 class ActiveRecord::PredicateBuilder::AssociationQueryValue # @return [AssociationQueryValue] a new instance of AssociationQueryValue # - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#6 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#6 def initialize(associated_table, value); end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#11 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#11 def queries; end private # Returns the value of attribute associated_table. # - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#23 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#23 def associated_table; end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#59 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#59 def convert_to_id(value); end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#25 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#25 def ids; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#55 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#55 def polymorphic_clause?; end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#47 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#47 def polymorphic_name; end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#39 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#39 def primary_key; end - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#43 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#43 def primary_type; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#51 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#51 def select_clause?; end # Returns the value of attribute value. # - # source://activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb#23 + # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#23 def value; end end -# source://activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb#5 +# source://activerecord//lib/active_record/relation/predicate_builder/basic_object_handler.rb#5 class ActiveRecord::PredicateBuilder::BasicObjectHandler # @return [BasicObjectHandler] a new instance of BasicObjectHandler # - # source://activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb#6 + # source://activerecord//lib/active_record/relation/predicate_builder/basic_object_handler.rb#6 def initialize(predicate_builder); end - # source://activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb#10 + # source://activerecord//lib/active_record/relation/predicate_builder/basic_object_handler.rb#10 def call(attribute, value); end private # Returns the value of attribute predicate_builder. # - # source://activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb#16 + # source://activerecord//lib/active_record/relation/predicate_builder/basic_object_handler.rb#16 def predicate_builder; end end -# source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#5 +# source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#5 class ActiveRecord::PredicateBuilder::PolymorphicArrayValue # @return [PolymorphicArrayValue] a new instance of PolymorphicArrayValue # - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#6 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#6 def initialize(associated_table, values); end - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#11 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#11 def queries; end private # Returns the value of attribute associated_table. # - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#23 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#23 def associated_table; end - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#44 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#44 def convert_to_id(value); end - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#36 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#36 def klass(value); end - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#32 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#32 def primary_key(value); end - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#25 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#25 def type_to_ids_mapping; end # Returns the value of attribute values. # - # source://activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#23 + # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#23 def values; end end -# source://activerecord/lib/active_record/relation/predicate_builder/range_handler.rb#5 +# source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#5 class ActiveRecord::PredicateBuilder::RangeHandler # @return [RangeHandler] a new instance of RangeHandler # - # source://activerecord/lib/active_record/relation/predicate_builder/range_handler.rb#8 + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#8 def initialize(predicate_builder); end - # source://activerecord/lib/active_record/relation/predicate_builder/range_handler.rb#12 + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#12 def call(attribute, value); end private # Returns the value of attribute predicate_builder. # - # source://activerecord/lib/active_record/relation/predicate_builder/range_handler.rb#19 + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#19 def predicate_builder; end end -# source://activerecord/lib/active_record/relation/predicate_builder/range_handler.rb#6 +# source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < ::Struct # Returns the value of attribute begin # # @return [Object] the current value of begin + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def begin; end # Sets the attribute begin # # @param value [Object] the value to set the attribute begin to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def begin=(_); end # Returns the value of attribute end # # @return [Object] the current value of end + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def end; end # Sets the attribute end # # @param value [Object] the value to set the attribute end to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def end=(_); end # Returns the value of attribute exclude_end? # # @return [Object] the current value of exclude_end? + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def exclude_end?; end class << self + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def [](*_arg0); end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def inspect; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def keyword_init?; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def members; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def new(*_arg0); end end end -# source://activerecord/lib/active_record/relation/predicate_builder/relation_handler.rb#5 +# source://activerecord//lib/active_record/relation/predicate_builder/relation_handler.rb#5 class ActiveRecord::PredicateBuilder::RelationHandler - # source://activerecord/lib/active_record/relation/predicate_builder/relation_handler.rb#6 + # source://activerecord//lib/active_record/relation/predicate_builder/relation_handler.rb#6 def call(attribute, value); end end # Raised when PostgreSQL returns 'cached plan must not change result type' and # we cannot retry gracefully (e.g. inside a transaction) # -# source://activerecord/lib/active_record/errors.rb#341 +# source://activerecord//lib/active_record/errors.rb#341 class ActiveRecord::PreparedStatementCacheExpired < ::ActiveRecord::StatementInvalid; end # Raised when the number of placeholders in an SQL fragment passed to @@ -27704,33 +27763,36 @@ class ActiveRecord::PreparedStatementCacheExpired < ::ActiveRecord::StatementInv # # Location.where("lat = ? AND lng = ?", 53.7362) # -# source://activerecord/lib/active_record/errors.rb#303 +# source://activerecord//lib/active_record/errors.rb#303 class ActiveRecord::PreparedStatementInvalid < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/promise.rb#4 +# source://activerecord//lib/active_record/promise.rb#4 class ActiveRecord::Promise < ::BasicObject # @return [Promise] a new instance of Promise # - # source://activerecord/lib/active_record/promise.rb#7 + # source://activerecord//lib/active_record/promise.rb#7 def initialize(future_result, block); end + # source://activerecord//lib/active_record/promise.rb#41 def class; end - # source://activerecord/lib/active_record/promise.rb#44 + # source://activerecord//lib/active_record/promise.rb#44 def inspect; end + # source://activerecord//lib/active_record/promise.rb#41 def is_a?(_arg0); end # Returns whether the associated query is still being executed or not. # # @return [Boolean] # - # source://activerecord/lib/active_record/promise.rb#13 + # source://activerecord//lib/active_record/promise.rb#13 def pending?; end - # source://activerecord/lib/active_record/promise.rb#48 + # source://activerecord//lib/active_record/promise.rb#48 def pretty_print(q); end + # source://activerecord//lib/active_record/promise.rb#41 def respond_to?(*_arg0); end # Returns a new +ActiveRecord::Promise+ that will apply the passed block @@ -27739,95 +27801,95 @@ class ActiveRecord::Promise < ::BasicObject # Post.async_pick(:title).then { |title| title.upcase }.value # # => "POST TITLE" # - # source://activerecord/lib/active_record/promise.rb#36 + # source://activerecord//lib/active_record/promise.rb#36 def then(&block); end # Returns the query result. # If the query wasn't completed yet, accessing +#value+ will block until the query completes. # If the query failed, +#value+ will raise the corresponding error. # - # source://activerecord/lib/active_record/promise.rb#20 + # source://activerecord//lib/active_record/promise.rb#20 def value; end private - # source://activerecord/lib/active_record/promise.rb#53 + # source://activerecord//lib/active_record/promise.rb#53 def status; end end -# source://activerecord/lib/active_record/promise.rb#63 +# source://activerecord//lib/active_record/promise.rb#63 class ActiveRecord::Promise::Complete < ::ActiveRecord::Promise # @return [Complete] a new instance of Complete # - # source://activerecord/lib/active_record/promise.rb#66 + # source://activerecord//lib/active_record/promise.rb#66 def initialize(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/promise.rb#74 + # source://activerecord//lib/active_record/promise.rb#74 def pending?; end - # source://activerecord/lib/active_record/promise.rb#70 + # source://activerecord//lib/active_record/promise.rb#70 def then; end # Returns the value of attribute value. # - # source://activerecord/lib/active_record/promise.rb#64 + # source://activerecord//lib/active_record/promise.rb#64 def value; end private - # source://activerecord/lib/active_record/promise.rb#79 + # source://activerecord//lib/active_record/promise.rb#79 def status; end end -# source://activerecord/lib/active_record/migration.rb#195 +# source://activerecord//lib/active_record/migration.rb#195 class ActiveRecord::ProtectedEnvironmentError < ::ActiveRecord::ActiveRecordError # @return [ProtectedEnvironmentError] a new instance of ProtectedEnvironmentError # - # source://activerecord/lib/active_record/migration.rb#196 + # source://activerecord//lib/active_record/migration.rb#196 def initialize(env = T.unsafe(nil)); end end # Superclass for errors that have been aborted (either by client or server). # -# source://activerecord/lib/active_record/errors.rb#534 +# source://activerecord//lib/active_record/errors.rb#534 class ActiveRecord::QueryAborted < ::ActiveRecord::StatementInvalid; end # = Active Record Query Cache # -# source://activerecord/lib/active_record/query_cache.rb#5 +# source://activerecord//lib/active_record/query_cache.rb#5 class ActiveRecord::QueryCache class << self - # source://activerecord/lib/active_record/query_cache.rb#32 + # source://activerecord//lib/active_record/query_cache.rb#32 def complete(pools); end - # source://activerecord/lib/active_record/query_cache.rb#40 + # source://activerecord//lib/active_record/query_cache.rb#40 def install_executor_hooks(executor = T.unsafe(nil)); end - # source://activerecord/lib/active_record/query_cache.rb#28 + # source://activerecord//lib/active_record/query_cache.rb#28 def run; end end end -# source://activerecord/lib/active_record/query_cache.rb#6 +# source://activerecord//lib/active_record/query_cache.rb#6 module ActiveRecord::QueryCache::ClassMethods # Enable the query cache within the block if Active Record is configured. # If it's not, it will execute the given block. # - # source://activerecord/lib/active_record/query_cache.rb#9 + # source://activerecord//lib/active_record/query_cache.rb#9 def cache(&block); end # Disable the query cache within the block if Active Record is configured. # If it's not, it will execute the given block. # - # source://activerecord/lib/active_record/query_cache.rb#19 + # source://activerecord//lib/active_record/query_cache.rb#19 def uncached(&block); end end # QueryCanceled will be raised when canceling statement due to user request. # -# source://activerecord/lib/active_record/errors.rb#546 +# source://activerecord//lib/active_record/errors.rb#546 class ActiveRecord::QueryCanceled < ::ActiveRecord::QueryAborted; end # = Active Record Query Logs @@ -27897,54 +27959,54 @@ class ActiveRecord::QueryCanceled < ::ActiveRecord::QueryAborted; end # # config.active_record.cache_query_log_tags = true # -# source://activerecord/lib/active_record/query_logs_formatter.rb#4 +# source://activerecord//lib/active_record/query_logs_formatter.rb#4 module ActiveRecord::QueryLogs class << self - # source://activerecord/lib/active_record/query_logs.rb#77 + # source://activerecord//lib/active_record/query_logs.rb#77 def cache_query_log_tags; end - # source://activerecord/lib/active_record/query_logs.rb#77 + # source://activerecord//lib/active_record/query_logs.rb#77 def cache_query_log_tags=(val); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://activerecord//lib/active_record/query_logs.rb#79 def cached_comment; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://activerecord//lib/active_record/query_logs.rb#79 def cached_comment=(obj); end - # source://activerecord/lib/active_record/query_logs.rb#82 + # source://activerecord//lib/active_record/query_logs.rb#82 def call(sql, connection); end - # source://activerecord/lib/active_record/query_logs.rb#94 + # source://activerecord//lib/active_record/query_logs.rb#94 def clear_cache; end - # source://activerecord/lib/active_record/query_logs.rb#76 + # source://activerecord//lib/active_record/query_logs.rb#76 def prepend_comment; end - # source://activerecord/lib/active_record/query_logs.rb#76 + # source://activerecord//lib/active_record/query_logs.rb#76 def prepend_comment=(val); end - # source://activerecord/lib/active_record/query_logs.rb#74 + # source://activerecord//lib/active_record/query_logs.rb#74 def taggings; end - # source://activerecord/lib/active_record/query_logs.rb#74 + # source://activerecord//lib/active_record/query_logs.rb#74 def taggings=(val); end - # source://activerecord/lib/active_record/query_logs.rb#75 + # source://activerecord//lib/active_record/query_logs.rb#75 def tags; end - # source://activerecord/lib/active_record/query_logs.rb#75 + # source://activerecord//lib/active_record/query_logs.rb#75 def tags=(val); end - # source://activerecord/lib/active_record/query_logs.rb#78 + # source://activerecord//lib/active_record/query_logs.rb#78 def tags_formatter; end - # source://activerecord/lib/active_record/query_logs.rb#78 + # source://activerecord//lib/active_record/query_logs.rb#78 def tags_formatter=(val); end # Updates the formatter to be what the passed in format is. # - # source://activerecord/lib/active_record/query_logs.rb#99 + # source://activerecord//lib/active_record/query_logs.rb#99 def update_formatter(format); end private @@ -27952,67 +28014,67 @@ module ActiveRecord::QueryLogs # Returns an SQL comment +String+ containing the query log tags. # Sets and returns a cached comment if cache_query_log_tags is +true+. # - # source://activerecord/lib/active_record/query_logs.rb#116 + # source://activerecord//lib/active_record/query_logs.rb#116 def comment(connection); end - # source://activerecord/lib/active_record/query_logs.rb#136 + # source://activerecord//lib/active_record/query_logs.rb#136 def escape_sql_comment(content); end - # source://activerecord/lib/active_record/query_logs.rb#124 + # source://activerecord//lib/active_record/query_logs.rb#124 def formatter; end - # source://activerecord/lib/active_record/query_logs.rb#149 + # source://activerecord//lib/active_record/query_logs.rb#149 def tag_content(connection); end - # source://activerecord/lib/active_record/query_logs.rb#128 + # source://activerecord//lib/active_record/query_logs.rb#128 def uncached_comment(connection); end end end -# source://activerecord/lib/active_record/query_logs_formatter.rb#5 +# source://activerecord//lib/active_record/query_logs_formatter.rb#5 class ActiveRecord::QueryLogs::LegacyFormatter # @return [LegacyFormatter] a new instance of LegacyFormatter # - # source://activerecord/lib/active_record/query_logs_formatter.rb#6 + # source://activerecord//lib/active_record/query_logs_formatter.rb#6 def initialize; end # Formats the key value pairs into a string. # - # source://activerecord/lib/active_record/query_logs_formatter.rb#11 + # source://activerecord//lib/active_record/query_logs_formatter.rb#11 def format(pairs); end private - # source://activerecord/lib/active_record/query_logs_formatter.rb#20 + # source://activerecord//lib/active_record/query_logs_formatter.rb#20 def format_value(value); end # Returns the value of attribute key_value_separator. # - # source://activerecord/lib/active_record/query_logs_formatter.rb#18 + # source://activerecord//lib/active_record/query_logs_formatter.rb#18 def key_value_separator; end end -# source://activerecord/lib/active_record/query_logs_formatter.rb#25 +# source://activerecord//lib/active_record/query_logs_formatter.rb#25 class ActiveRecord::QueryLogs::SQLCommenter < ::ActiveRecord::QueryLogs::LegacyFormatter # @return [SQLCommenter] a new instance of SQLCommenter # - # source://activerecord/lib/active_record/query_logs_formatter.rb#26 + # source://activerecord//lib/active_record/query_logs_formatter.rb#26 def initialize; end - # source://activerecord/lib/active_record/query_logs_formatter.rb#30 + # source://activerecord//lib/active_record/query_logs_formatter.rb#30 def format(pairs); end private - # source://activerecord/lib/active_record/query_logs_formatter.rb#36 + # source://activerecord//lib/active_record/query_logs_formatter.rb#36 def format_value(value); end end -# source://activerecord/lib/active_record/relation/query_methods.rb#9 +# source://activerecord//lib/active_record/relation/query_methods.rb#9 module ActiveRecord::QueryMethods include ::ActiveModel::ForbiddenAttributesProtection - # source://activerecord/lib/active_record/relation/query_methods.rb#405 + # source://activerecord//lib/active_record/relation/query_methods.rb#405 def _select!(*fields); end # Returns a new relation, which is the logical intersection of this relation and the one passed @@ -28025,10 +28087,10 @@ module ActiveRecord::QueryMethods # Post.where(id: [1, 2]).and(Post.where(id: [2, 3])) # # SELECT `posts`.* FROM `posts` WHERE `posts`.`id` IN (1, 2) AND `posts`.`id` IN (2, 3) # - # source://activerecord/lib/active_record/relation/query_methods.rb#1034 + # source://activerecord//lib/active_record/relation/query_methods.rb#1034 def and(other); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1042 + # source://activerecord//lib/active_record/relation/query_methods.rb#1042 def and!(other); end # Adds an SQL comment to queries generated from this relation. For example: @@ -28043,26 +28105,26 @@ module ActiveRecord::QueryMethods # # Some escaping is performed, however untrusted user input should not be used. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1428 + # source://activerecord//lib/active_record/relation/query_methods.rb#1428 def annotate(*args); end # Like #annotate, but modifies relation in place. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1434 + # source://activerecord//lib/active_record/relation/query_methods.rb#1434 def annotate!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def annotate_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def annotate_values=(value); end # Returns the Arel object associated with the relation. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1489 + # source://activerecord//lib/active_record/relation/query_methods.rb#1489 def arel(aliases = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1493 + # source://activerecord//lib/active_record/relation/query_methods.rb#1493 def construct_join_dependency(associations, join_type); end # Sets attributes to be used when creating new records from a @@ -28079,16 +28141,16 @@ module ActiveRecord::QueryMethods # users = users.create_with(nil) # users.new.name # => 'Oscar' # - # source://activerecord/lib/active_record/relation/query_methods.rb#1245 + # source://activerecord//lib/active_record/relation/query_methods.rb#1245 def create_with(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1249 + # source://activerecord//lib/active_record/relation/query_methods.rb#1249 def create_with!(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def create_with_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def create_with_value=(value); end # Specifies whether the records should be unique or not. For example: @@ -28102,18 +28164,18 @@ module ActiveRecord::QueryMethods # User.select(:name).distinct.distinct(false) # # You can also remove the uniqueness # - # source://activerecord/lib/active_record/relation/query_methods.rb#1309 + # source://activerecord//lib/active_record/relation/query_methods.rb#1309 def distinct(value = T.unsafe(nil)); end # Like #distinct, but modifies relation in place. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1314 + # source://activerecord//lib/active_record/relation/query_methods.rb#1314 def distinct!(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def distinct_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def distinct_value=(value); end # Specify associations +args+ to be eager loaded using a LEFT OUTER JOIN. @@ -28143,16 +28205,16 @@ module ActiveRecord::QueryMethods # NOTE: Loading the associations in a join can result in many rows that # contain redundant data and it performs poorly at scale. # - # source://activerecord/lib/active_record/relation/query_methods.rb#267 + # source://activerecord//lib/active_record/relation/query_methods.rb#267 def eager_load(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#272 + # source://activerecord//lib/active_record/relation/query_methods.rb#272 def eager_load!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def eager_load_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def eager_load_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -28179,10 +28241,10 @@ module ActiveRecord::QueryMethods # is passed in) are not instances of the same model that the relation is # scoping. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1470 + # source://activerecord//lib/active_record/relation/query_methods.rb#1470 def excluding(*records); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1482 + # source://activerecord//lib/active_record/relation/query_methods.rb#1482 def excluding!(records); end # Used to extend a scope with additional methods, either through @@ -28222,19 +28284,19 @@ module ActiveRecord::QueryMethods # end # end # - # source://activerecord/lib/active_record/relation/query_methods.rb#1355 + # source://activerecord//lib/active_record/relation/query_methods.rb#1355 def extending(*modules, &block); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1363 + # source://activerecord//lib/active_record/relation/query_methods.rb#1363 def extending!(*modules, &block); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def extending_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def extending_values=(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#166 def extensions; end # Extracts a named +association+ from the relation. The named association is first preloaded, @@ -28247,7 +28309,7 @@ module ActiveRecord::QueryMethods # # account.memberships.preload(:user).collect(&:user) # - # source://activerecord/lib/active_record/relation/query_methods.rb#318 + # source://activerecord//lib/active_record/relation/query_methods.rb#318 def extract_associated(association); end # Specifies the table from which the records will be fetched. For example: @@ -28281,16 +28343,16 @@ module ActiveRecord::QueryMethods # # FROM colors c, JSONB_ARRAY_ELEMENTS(colored_things) AS colorvalues(colorvalue) # # WHERE (colorvalue->>'color' = 'red') # - # source://activerecord/lib/active_record/relation/query_methods.rb#1290 + # source://activerecord//lib/active_record/relation/query_methods.rb#1290 def from(value, subquery_name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1294 + # source://activerecord//lib/active_record/relation/query_methods.rb#1294 def from!(value, subquery_name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def from_clause; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def from_clause=(value); end # Allows to specify a group attribute: @@ -28314,16 +28376,16 @@ module ActiveRecord::QueryMethods # User.select([:id, :first_name]).group(:id, :first_name).first(3) # # => [#, #, #] # - # source://activerecord/lib/active_record/relation/query_methods.rb#512 + # source://activerecord//lib/active_record/relation/query_methods.rb#512 def group(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#517 + # source://activerecord//lib/active_record/relation/query_methods.rb#517 def group!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def group_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def group_values=(value); end # Allows to specify a HAVING clause. Note that you can't use HAVING @@ -28331,16 +28393,16 @@ module ActiveRecord::QueryMethods # # Order.having('SUM(price) > 30').group('user_id') # - # source://activerecord/lib/active_record/relation/query_methods.rb#1096 + # source://activerecord//lib/active_record/relation/query_methods.rb#1096 def having(opts, *rest); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1100 + # source://activerecord//lib/active_record/relation/query_methods.rb#1100 def having!(opts, *rest); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def having_clause; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def having_clause=(value); end # Allows to specify an order by a specific set of values. @@ -28354,7 +28416,7 @@ module ActiveRecord::QueryMethods # # WHEN "users"."id" = 3 THEN 3 # # END ASC # - # source://activerecord/lib/active_record/relation/query_methods.rb#620 + # source://activerecord//lib/active_record/relation/query_methods.rb#620 def in_order_of(column, values); end # Specify associations +args+ to be eager loaded to prevent N + 1 queries. @@ -28421,16 +28483,16 @@ module ActiveRecord::QueryMethods # and will only include posts named "example", even when a # matching user has other additional posts. # - # source://activerecord/lib/active_record/relation/query_methods.rb#231 + # source://activerecord//lib/active_record/relation/query_methods.rb#231 def includes(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#236 + # source://activerecord//lib/active_record/relation/query_methods.rb#236 def includes!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def includes_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def includes_values=(value); end # Allows you to invert an entire where clause instead of manually applying conditions. @@ -28462,10 +28524,10 @@ module ActiveRecord::QueryMethods # User.where(role: 'admin').inactive # # WHERE NOT (`role` = 'admin' AND `accepted` = 1 AND `locked` = 0) # - # source://activerecord/lib/active_record/relation/query_methods.rb#1000 + # source://activerecord//lib/active_record/relation/query_methods.rb#1000 def invert_where; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1004 + # source://activerecord//lib/active_record/relation/query_methods.rb#1004 def invert_where!; end # Performs JOINs on +args+. The given symbol(s) should match the name of @@ -28497,16 +28559,16 @@ module ActiveRecord::QueryMethods # User.joins("LEFT JOIN bookmarks ON bookmarks.bookmarkable_type = 'Post' AND bookmarks.user_id = users.id") # # SELECT "users".* FROM "users" LEFT JOIN bookmarks ON bookmarks.bookmarkable_type = 'Post' AND bookmarks.user_id = users.id # - # source://activerecord/lib/active_record/relation/query_methods.rb#767 + # source://activerecord//lib/active_record/relation/query_methods.rb#767 def joins(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#772 + # source://activerecord//lib/active_record/relation/query_methods.rb#772 def joins!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def joins_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def joins_values=(value); end # Performs LEFT OUTER JOINs on +args+: @@ -28514,7 +28576,7 @@ module ActiveRecord::QueryMethods # User.left_outer_joins(:posts) # # SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id" # - # source://activerecord/lib/active_record/relation/query_methods.rb#782 + # source://activerecord//lib/active_record/relation/query_methods.rb#786 def left_joins(*args); end # Performs LEFT OUTER JOINs on +args+: @@ -28522,16 +28584,16 @@ module ActiveRecord::QueryMethods # User.left_outer_joins(:posts) # # SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id" # - # source://activerecord/lib/active_record/relation/query_methods.rb#782 + # source://activerecord//lib/active_record/relation/query_methods.rb#782 def left_outer_joins(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#788 + # source://activerecord//lib/active_record/relation/query_methods.rb#788 def left_outer_joins!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def left_outer_joins_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def left_outer_joins_values=(value); end # Specifies a limit for the number of records to retrieve. @@ -28540,31 +28602,31 @@ module ActiveRecord::QueryMethods # # User.limit(10).limit(20) # generated SQL has 'LIMIT 20' # - # source://activerecord/lib/active_record/relation/query_methods.rb#1110 + # source://activerecord//lib/active_record/relation/query_methods.rb#1110 def limit(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1114 + # source://activerecord//lib/active_record/relation/query_methods.rb#1114 def limit!(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def limit_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def limit_value=(value); end # Specifies locking settings (default to +true+). For more information # on locking, please see ActiveRecord::Locking. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1137 + # source://activerecord//lib/active_record/relation/query_methods.rb#1137 def lock(locks = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1141 + # source://activerecord//lib/active_record/relation/query_methods.rb#1141 def lock!(locks = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def lock_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def lock_value=(value); end # Returns a chainable relation with zero records. @@ -28595,15 +28657,15 @@ module ActiveRecord::QueryMethods # end # end # - # source://activerecord/lib/active_record/relation/query_methods.rb#1180 + # source://activerecord//lib/active_record/relation/query_methods.rb#1180 def none; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1184 + # source://activerecord//lib/active_record/relation/query_methods.rb#1184 def none!; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_methods.rb#1192 + # source://activerecord//lib/active_record/relation/query_methods.rb#1192 def null_relation?; end # Specifies the number of rows to skip before returning rows. @@ -28614,16 +28676,16 @@ module ActiveRecord::QueryMethods # # User.offset(10).order("name ASC") # - # source://activerecord/lib/active_record/relation/query_methods.rb#1126 + # source://activerecord//lib/active_record/relation/query_methods.rb#1126 def offset(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1130 + # source://activerecord//lib/active_record/relation/query_methods.rb#1130 def offset!(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def offset_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def offset_value=(value); end # Specify optimizer hints to be used in the SELECT statement. @@ -28638,16 +28700,16 @@ module ActiveRecord::QueryMethods # Topic.optimizer_hints("SeqScan(topics)", "Parallel(topics 8)") # # SELECT /*+ SeqScan(topics) Parallel(topics 8) */ "topics".* FROM "topics" # - # source://activerecord/lib/active_record/relation/query_methods.rb#1384 + # source://activerecord//lib/active_record/relation/query_methods.rb#1384 def optimizer_hints(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1389 + # source://activerecord//lib/active_record/relation/query_methods.rb#1389 def optimizer_hints!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def optimizer_hints_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def optimizer_hints_values=(value); end # Returns a new relation, which is the logical union of this relation and the one passed as an @@ -28660,10 +28722,10 @@ module ActiveRecord::QueryMethods # Post.where("id = 1").or(Post.where("author_id = 3")) # # SELECT `posts`.* FROM `posts` WHERE ((id = 1) OR (author_id = 3)) # - # source://activerecord/lib/active_record/relation/query_methods.rb#1066 + # source://activerecord//lib/active_record/relation/query_methods.rb#1066 def or(other); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1078 + # source://activerecord//lib/active_record/relation/query_methods.rb#1078 def or!(other); end # Applies an ORDER BY clause to a query. @@ -28719,18 +28781,18 @@ module ActiveRecord::QueryMethods # User.order(Arel.sql("payload->>'kind'")) # # SELECT "users".* FROM "users" ORDER BY payload->>'kind' # - # source://activerecord/lib/active_record/relation/query_methods.rb#595 + # source://activerecord//lib/active_record/relation/query_methods.rb#595 def order(*args); end # Same as #order but operates on relation in-place instead of copying. # - # source://activerecord/lib/active_record/relation/query_methods.rb#603 + # source://activerecord//lib/active_record/relation/query_methods.rb#603 def order!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def order_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def order_values=(value); end # Specify associations +args+ to be eager loaded using separate queries. @@ -28756,16 +28818,16 @@ module ActiveRecord::QueryMethods # # SELECT "friends".* FROM "friends" WHERE "friends"."user_id" IN (1,2,3,4,5) # # SELECT ... # - # source://activerecord/lib/active_record/relation/query_methods.rb#299 + # source://activerecord//lib/active_record/relation/query_methods.rb#299 def preload(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#304 + # source://activerecord//lib/active_record/relation/query_methods.rb#304 def preload!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def preload_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def preload_values=(value); end # Mark a relation as readonly. Attempting to update a record will result in @@ -28781,16 +28843,16 @@ module ActiveRecord::QueryMethods # users.first.save # => true # - # source://activerecord/lib/active_record/relation/query_methods.rb#1208 + # source://activerecord//lib/active_record/relation/query_methods.rb#1208 def readonly(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1212 + # source://activerecord//lib/active_record/relation/query_methods.rb#1212 def readonly!(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def readonly_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def readonly_value=(value); end # Use to indicate that the given +table_names+ are referenced by an SQL string, @@ -28804,16 +28866,16 @@ module ActiveRecord::QueryMethods # User.includes(:posts).where("posts.name = 'foo'").references(:posts) # # Query now knows the string references posts, so adds a JOIN # - # source://activerecord/lib/active_record/relation/query_methods.rb#332 + # source://activerecord//lib/active_record/relation/query_methods.rb#332 def references(*table_names); end - # source://activerecord/lib/active_record/relation/query_methods.rb#337 + # source://activerecord//lib/active_record/relation/query_methods.rb#337 def references!(*table_names); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def references_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def references_values=(value); end # Allows you to change a previously set group statement. @@ -28827,12 +28889,12 @@ module ActiveRecord::QueryMethods # This is short-hand for unscope(:group).group(fields). # Note that we're unscoping the entire group statement. # - # source://activerecord/lib/active_record/relation/query_methods.rb#532 + # source://activerecord//lib/active_record/relation/query_methods.rb#532 def regroup(*args); end # Same as #regroup but operates on relation in-place instead of copying. # - # source://activerecord/lib/active_record/relation/query_methods.rb#538 + # source://activerecord//lib/active_record/relation/query_methods.rb#538 def regroup!(*args); end # Replaces any existing order defined on the relation with the specified order. @@ -28845,18 +28907,18 @@ module ActiveRecord::QueryMethods # # generates a query with ORDER BY id ASC, name ASC. # - # source://activerecord/lib/active_record/relation/query_methods.rb#651 + # source://activerecord//lib/active_record/relation/query_methods.rb#651 def reorder(*args); end # Same as #reorder but operates on relation in-place instead of copying. # - # source://activerecord/lib/active_record/relation/query_methods.rb#659 + # source://activerecord//lib/active_record/relation/query_methods.rb#659 def reorder!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reordering_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reordering_value=(value); end # Allows you to change a previously set select statement. @@ -28870,28 +28932,28 @@ module ActiveRecord::QueryMethods # This is short-hand for unscope(:select).select(fields). # Note that we're unscoping the entire select statement. # - # source://activerecord/lib/active_record/relation/query_methods.rb#480 + # source://activerecord//lib/active_record/relation/query_methods.rb#480 def reselect(*args); end # Same as #reselect but operates on relation in-place instead of copying. # - # source://activerecord/lib/active_record/relation/query_methods.rb#487 + # source://activerecord//lib/active_record/relation/query_methods.rb#487 def reselect!(*args); end # Reverse the existing order clause on the relation. # # User.order('name ASC').reverse_order # generated SQL has 'ORDER BY name DESC' # - # source://activerecord/lib/active_record/relation/query_methods.rb#1397 + # source://activerecord//lib/active_record/relation/query_methods.rb#1397 def reverse_order; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1401 + # source://activerecord//lib/active_record/relation/query_methods.rb#1401 def reverse_order!; end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reverse_order_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reverse_order_value=(value); end # Allows you to change a previously set where condition for a given attribute, instead of appending to that condition. @@ -28908,7 +28970,7 @@ module ActiveRecord::QueryMethods # This is short-hand for unscope(where: conditions.keys).where(conditions). # Note that unlike reorder, we're only unscoping the named conditions -- not the entire where statement. # - # source://activerecord/lib/active_record/relation/query_methods.rb#960 + # source://activerecord//lib/active_record/relation/query_methods.rb#960 def rewhere(conditions); end # Works in two unique ways. @@ -28960,25 +29022,25 @@ module ActiveRecord::QueryMethods # Model.select(:field).first.other_field # # => ActiveModel::MissingAttributeError: missing attribute 'other_field' for Model # - # source://activerecord/lib/active_record/relation/query_methods.rb#390 + # source://activerecord//lib/active_record/relation/query_methods.rb#390 def select(*fields); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def select_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def select_values=(value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1412 + # source://activerecord//lib/active_record/relation/query_methods.rb#1412 def skip_preloading!; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1407 + # source://activerecord//lib/active_record/relation/query_methods.rb#1407 def skip_query_cache!(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def skip_query_cache_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def skip_query_cache_value=(value); end # Sets the returned relation to strict_loading mode. This will raise an error @@ -28988,16 +29050,16 @@ module ActiveRecord::QueryMethods # user.comments.to_a # => ActiveRecord::StrictLoadingViolationError # - # source://activerecord/lib/active_record/relation/query_methods.rb#1223 + # source://activerecord//lib/active_record/relation/query_methods.rb#1223 def strict_loading(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1227 + # source://activerecord//lib/active_record/relation/query_methods.rb#1227 def strict_loading!(value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def strict_loading_value; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def strict_loading_value=(value); end # Checks whether the given relation is structurally compatible with this relation, to determine @@ -29013,12 +29075,12 @@ module ActiveRecord::QueryMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_methods.rb#1020 + # source://activerecord//lib/active_record/relation/query_methods.rb#1020 def structurally_compatible?(other); end # Deduplicate multiple values. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1440 + # source://activerecord//lib/active_record/relation/query_methods.rb#1440 def uniq!(name); end # Removes an unwanted relation that is already defined on a chain of relations. @@ -29054,16 +29116,16 @@ module ActiveRecord::QueryMethods # # has_many :comments, -> { unscope(where: :trashed) } # - # source://activerecord/lib/active_record/relation/query_methods.rb#705 + # source://activerecord//lib/active_record/relation/query_methods.rb#705 def unscope(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#710 + # source://activerecord//lib/active_record/relation/query_methods.rb#710 def unscope!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def unscope_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def unscope_values=(value); end # Returns a new relation, which is the result of filtering the current relation @@ -29206,16 +29268,16 @@ module ActiveRecord::QueryMethods # If the condition is any blank-ish object, then #where is a no-op and returns # the current relation. # - # source://activerecord/lib/active_record/relation/query_methods.rb#932 + # source://activerecord//lib/active_record/relation/query_methods.rb#932 def where(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#942 + # source://activerecord//lib/active_record/relation/query_methods.rb#942 def where!(opts, *rest); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def where_clause; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def where_clause=(value); end # Add a Common Table Expression (CTE) that you can then reference within another SELECT statement. @@ -29268,18 +29330,18 @@ module ActiveRecord::QueryMethods # .with(posts_with_comments: Post.where("comments_count > ?", 0)) # .with(posts_with_tags: Post.where("tags_count > ?", 0)) # - # source://activerecord/lib/active_record/relation/query_methods.rb#459 + # source://activerecord//lib/active_record/relation/query_methods.rb#459 def with(*args); end # Like #with, but modifies relation in place. # - # source://activerecord/lib/active_record/relation/query_methods.rb#465 + # source://activerecord//lib/active_record/relation/query_methods.rb#465 def with!(*args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def with_values; end - # source://activerecord/lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def with_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -29306,73 +29368,73 @@ module ActiveRecord::QueryMethods # is passed in) are not instances of the same model that the relation is # scoping. # - # source://activerecord/lib/active_record/relation/query_methods.rb#1470 + # source://activerecord//lib/active_record/relation/query_methods.rb#1480 def without(*records); end protected - # source://activerecord/lib/active_record/relation/query_methods.rb#1539 + # source://activerecord//lib/active_record/relation/query_methods.rb#1539 def async!; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1508 + # source://activerecord//lib/active_record/relation/query_methods.rb#1537 def build_having_clause(opts, rest = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1500 + # source://activerecord//lib/active_record/relation/query_methods.rb#1500 def build_subquery(subquery_alias, select_value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1508 + # source://activerecord//lib/active_record/relation/query_methods.rb#1508 def build_where_clause(opts, rest = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/relation/query_methods.rb#1792 + # source://activerecord//lib/active_record/relation/query_methods.rb#1792 def arel_column(field); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1775 + # source://activerecord//lib/active_record/relation/query_methods.rb#1775 def arel_columns(columns); end # @raise [ImmutableRelation] # - # source://activerecord/lib/active_record/relation/query_methods.rb#1573 + # source://activerecord//lib/active_record/relation/query_methods.rb#1573 def assert_mutability!; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1545 + # source://activerecord//lib/active_record/relation/query_methods.rb#1545 def async; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1578 + # source://activerecord//lib/active_record/relation/query_methods.rb#1578 def build_arel(aliases = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1950 + # source://activerecord//lib/active_record/relation/query_methods.rb#1950 def build_case_for_value_position(column, values); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1607 + # source://activerecord//lib/active_record/relation/query_methods.rb#1607 def build_cast_value(name, value); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1611 + # source://activerecord//lib/active_record/relation/query_methods.rb#1611 def build_from; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1653 + # source://activerecord//lib/active_record/relation/query_methods.rb#1653 def build_join_buckets; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1562 + # source://activerecord//lib/active_record/relation/query_methods.rb#1562 def build_join_dependencies; end - # source://activerecord/lib/active_record/relation/query_methods.rb#1709 + # source://activerecord//lib/active_record/relation/query_methods.rb#1709 def build_joins(join_sources, aliases = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1854 + # source://activerecord//lib/active_record/relation/query_methods.rb#1854 def build_order(arel); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1731 + # source://activerecord//lib/active_record/relation/query_methods.rb#1731 def build_select(arel); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1741 + # source://activerecord//lib/active_record/relation/query_methods.rb#1741 def build_with(arel); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1767 + # source://activerecord//lib/active_record/relation/query_methods.rb#1767 def build_with_join_node(name, kind = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1753 + # source://activerecord//lib/active_record/relation/query_methods.rb#1753 def build_with_value_from_hash(hash); end # Checks to make sure that the arguments are not blank. Note that if some @@ -29392,101 +29454,101 @@ module ActiveRecord::QueryMethods # ... # end # - # source://activerecord/lib/active_record/relation/query_methods.rb#1999 + # source://activerecord//lib/active_record/relation/query_methods.rb#1999 def check_if_method_has_arguments!(method_name, args, message = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1911 + # source://activerecord//lib/active_record/relation/query_methods.rb#1911 def column_references(order_args); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_methods.rb#1843 + # source://activerecord//lib/active_record/relation/query_methods.rb#1843 def does_not_support_reverse?(order); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1556 + # source://activerecord//lib/active_record/relation/query_methods.rb#1556 def each_join_dependencies(join_dependencies = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1936 + # source://activerecord//lib/active_record/relation/query_methods.rb#1936 def extract_table_name_from(string); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1549 + # source://activerecord//lib/active_record/relation/query_methods.rb#1549 def lookup_table_klass_from_join_dependencies(table_name); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1940 + # source://activerecord//lib/active_record/relation/query_methods.rb#1940 def order_column(field); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1874 + # source://activerecord//lib/active_record/relation/query_methods.rb#1874 def preprocess_order_args(order_args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#2010 + # source://activerecord//lib/active_record/relation/query_methods.rb#2010 def process_select_args(fields); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1959 + # source://activerecord//lib/active_record/relation/query_methods.rb#1959 def resolve_arel_attributes(attrs); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1814 + # source://activerecord//lib/active_record/relation/query_methods.rb#1814 def reverse_sql_order(order_query); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1905 + # source://activerecord//lib/active_record/relation/query_methods.rb#1905 def sanitize_order_arguments(order_args); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1638 + # source://activerecord//lib/active_record/relation/query_methods.rb#1638 def select_association_list(associations, stashed_joins = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1626 + # source://activerecord//lib/active_record/relation/query_methods.rb#1626 def select_named_joins(join_names, stashed_joins = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/relation/query_methods.rb#2050 + # source://activerecord//lib/active_record/relation/query_methods.rb#2050 def structurally_incompatible_values_for(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_methods.rb#1808 + # source://activerecord//lib/active_record/relation/query_methods.rb#1808 def table_name_matches?(from); end - # source://activerecord/lib/active_record/relation/query_methods.rb#2020 + # source://activerecord//lib/active_record/relation/query_methods.rb#2020 def transform_select_hash_values(fields); end - # source://activerecord/lib/active_record/relation/query_methods.rb#1862 + # source://activerecord//lib/active_record/relation/query_methods.rb#1862 def validate_order_args(args); end end # A wrapper to distinguish CTE joins from other nodes. # -# source://activerecord/lib/active_record/relation/query_methods.rb#132 +# source://activerecord//lib/active_record/relation/query_methods.rb#132 class ActiveRecord::QueryMethods::CTEJoin # @return [CTEJoin] a new instance of CTEJoin # - # source://activerecord/lib/active_record/relation/query_methods.rb#135 + # source://activerecord//lib/active_record/relation/query_methods.rb#135 def initialize(name); end - # source://activerecord/lib/active_record/relation/query_methods.rb#133 + # source://activerecord//lib/active_record/relation/query_methods.rb#133 def name; end end -# source://activerecord/lib/active_record/relation/query_methods.rb#140 +# source://activerecord//lib/active_record/relation/query_methods.rb#140 ActiveRecord::QueryMethods::FROZEN_EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/query_methods.rb#141 +# source://activerecord//lib/active_record/relation/query_methods.rb#141 ActiveRecord::QueryMethods::FROZEN_EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://activerecord/lib/active_record/relation/query_methods.rb#2045 +# source://activerecord//lib/active_record/relation/query_methods.rb#2045 ActiveRecord::QueryMethods::STRUCTURAL_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/query_methods.rb#1859 +# source://activerecord//lib/active_record/relation/query_methods.rb#1859 ActiveRecord::QueryMethods::VALID_DIRECTIONS = T.let(T.unsafe(nil), Set) -# source://activerecord/lib/active_record/relation/query_methods.rb#667 +# source://activerecord//lib/active_record/relation/query_methods.rb#667 ActiveRecord::QueryMethods::VALID_UNSCOPING_VALUES = T.let(T.unsafe(nil), Set) # +WhereChain+ objects act as placeholder for queries in which +where+ does not have any parameter. # In this case, +where+ can be chained to return a new relation. # -# source://activerecord/lib/active_record/relation/query_methods.rb#14 +# source://activerecord//lib/active_record/relation/query_methods.rb#14 class ActiveRecord::QueryMethods::WhereChain # @return [WhereChain] a new instance of WhereChain # - # source://activerecord/lib/active_record/relation/query_methods.rb#15 + # source://activerecord//lib/active_record/relation/query_methods.rb#15 def initialize(scope); end # Returns a new relation with joins and where clause to identify @@ -29508,7 +29570,7 @@ class ActiveRecord::QueryMethods::WhereChain # # INNER JOIN "comments" ON "comments"."post_id" = "posts"."id" # # WHERE "authors"."id" IS NOT NULL AND "comments"."id" IS NOT NULL # - # source://activerecord/lib/active_record/relation/query_methods.rb#75 + # source://activerecord//lib/active_record/relation/query_methods.rb#75 def associated(*associations); end # Returns a new relation with left outer joins and where clause to identify @@ -29530,7 +29592,7 @@ class ActiveRecord::QueryMethods::WhereChain # # LEFT OUTER JOIN "comments" ON "comments"."post_id" = "posts"."id" # # WHERE "authors"."id" IS NULL AND "comments"."id" IS NULL # - # source://activerecord/lib/active_record/relation/query_methods.rb#107 + # source://activerecord//lib/active_record/relation/query_methods.rb#107 def missing(*associations); end # Returns a new relation expressing WHERE + NOT condition according to @@ -29564,73 +29626,73 @@ class ActiveRecord::QueryMethods::WhereChain # # SELECT * FROM users WHERE NOT (nullable_country = 'UK') # # => [] # - # source://activerecord/lib/active_record/relation/query_methods.rb#49 + # source://activerecord//lib/active_record/relation/query_methods.rb#49 def not(opts, *rest); end private - # source://activerecord/lib/active_record/relation/query_methods.rb#122 + # source://activerecord//lib/active_record/relation/query_methods.rb#122 def scope_association_reflection(association); end end -# source://activerecord/lib/active_record/querying.rb#4 +# source://activerecord//lib/active_record/querying.rb#4 module ActiveRecord::Querying - # source://activerecord/lib/active_record/querying.rb#65 + # source://activerecord//lib/active_record/querying.rb#65 def _load_from_sql(result_set, &block); end - # source://activerecord/lib/active_record/querying.rb#61 + # source://activerecord//lib/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/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def and(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def annotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def any?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_average(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_count(*_arg0, **_arg1, &_arg2); end # Same as #count_by_sql but perform the query asynchronously and returns an ActiveRecord::Promise. # - # source://activerecord/lib/active_record/querying.rb#106 + # source://activerecord//lib/active_record/querying.rb#106 def async_count_by_sql(sql); end # Same as #find_by_sql but perform the query asynchronously and returns an ActiveRecord::Promise. # - # source://activerecord/lib/active_record/querying.rb#55 + # source://activerecord//lib/active_record/querying.rb#55 def async_find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_ids(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_maximum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_minimum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_pick(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_pluck(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def async_sum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def average(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def calculate(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def count(*_arg0, **_arg1, &_arg2); end # Returns the result of an SQL statement that should only include a COUNT(*) in the SELECT part. @@ -29646,64 +29708,64 @@ module ActiveRecord::Querying # # * +sql+ - An SQL statement which should return a count query from the database, see the example above. # - # source://activerecord/lib/active_record/querying.rb#101 + # source://activerecord//lib/active_record/querying.rb#101 def count_by_sql(sql); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def create_or_find_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def create_or_find_by!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def create_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def delete_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def delete_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def destroy_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def destroy_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def distinct(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def eager_load(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def except(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def excluding(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def exists?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def extending(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def extract_associated(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def fifth(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def fifth!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_by!(*_arg0, **_arg1, &_arg2); end # Executes a custom SQL query against your database and returns all the results. The results will @@ -29732,253 +29794,253 @@ module ActiveRecord::Querying # Note that building your own SQL query string from user input may expose your application to # injection attacks (https://guides.rubyonrails.org/security.html#sql-injection). # - # source://activerecord/lib/active_record/querying.rb#50 + # source://activerecord//lib/active_record/querying.rb#50 def find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_each(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_in_batches(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_or_create_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_or_create_by!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_or_initialize_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def find_sole_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def first(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def first!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def first_or_create(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def first_or_create!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def first_or_initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def forty_two(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def forty_two!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def fourth(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def fourth!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def from(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def group(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def having(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def ids(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def in_batches(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def in_order_of(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def includes(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def invert_where(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def last(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def left_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def left_outer_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def limit(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def lock(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def many?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def maximum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def merge(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def minimum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def none(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def none?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def offset(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def one?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def only(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def optimizer_hints(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def or(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def order(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def pick(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def pluck(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def preload(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def readonly(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def references(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def regroup(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def reorder(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def reselect(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def rewhere(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def second(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def second!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def second_to_last(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def second_to_last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def select(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def sole(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def strict_loading(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def sum(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def take(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def take!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def third(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def third!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def third_to_last(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def third_to_last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def touch_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def unscope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def update_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def where(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def with(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/querying.rb#23 + # source://activerecord//lib/active_record/querying.rb#23 def without(*_arg0, **_arg1, &_arg2); end end -# source://activerecord/lib/active_record/querying.rb#5 +# source://activerecord//lib/active_record/querying.rb#5 ActiveRecord::Querying::QUERYING_METHODS = T.let(T.unsafe(nil), Array) # = Active Record Railtie # -# source://activerecord/lib/active_record/railtie.rb#16 +# source://activerecord//lib/active_record/railtie.rb#16 class ActiveRecord::Railtie < ::Rails::Railtie; end -# source://activerecord/lib/active_record/railtie.rb#231 +# source://activerecord//lib/active_record/railtie.rb#231 ActiveRecord::Railtie::SQLITE3_PRODUCTION_WARN = T.let(T.unsafe(nil), String) # Raised when values that executed are out of range. # -# source://activerecord/lib/active_record/errors.rb#280 +# source://activerecord//lib/active_record/errors.rb#280 class ActiveRecord::RangeError < ::ActiveRecord::StatementInvalid; end # Raised when a write to the database is attempted on a read only connection. # -# source://activerecord/lib/active_record/errors.rb#123 +# source://activerecord//lib/active_record/errors.rb#123 class ActiveRecord::ReadOnlyError < ::ActiveRecord::ActiveRecordError; end # Raised on attempt to update record that is instantiated as read only. # -# source://activerecord/lib/active_record/errors.rb#373 +# source://activerecord//lib/active_record/errors.rb#373 class ActiveRecord::ReadOnlyRecord < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/readonly_attributes.rb#4 +# source://activerecord//lib/active_record/readonly_attributes.rb#4 class ActiveRecord::ReadonlyAttributeError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/readonly_attributes.rb#7 +# source://activerecord//lib/active_record/readonly_attributes.rb#7 module ActiveRecord::ReadonlyAttributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -29995,7 +30057,7 @@ module ActiveRecord::ReadonlyAttributes module GeneratedInstanceMethods; end end -# source://activerecord/lib/active_record/readonly_attributes.rb#14 +# source://activerecord//lib/active_record/readonly_attributes.rb#14 module ActiveRecord::ReadonlyAttributes::ClassMethods # Attributes listed as readonly will be used to create a new record. # Assigning a new value to a readonly attribute on a persisted record raises an error. @@ -30013,26 +30075,26 @@ module ActiveRecord::ReadonlyAttributes::ClassMethods # post.title = "a different title" # raises ActiveRecord::ReadonlyAttributeError # post.update(title: "a different title") # raises ActiveRecord::ReadonlyAttributeError # - # source://activerecord/lib/active_record/readonly_attributes.rb#30 + # source://activerecord//lib/active_record/readonly_attributes.rb#30 def attr_readonly(*attributes); end # @return [Boolean] # - # source://activerecord/lib/active_record/readonly_attributes.rb#43 + # source://activerecord//lib/active_record/readonly_attributes.rb#43 def readonly_attribute?(name); end # Returns an array of all the attributes that have been specified as readonly. # - # source://activerecord/lib/active_record/readonly_attributes.rb#39 + # source://activerecord//lib/active_record/readonly_attributes.rb#39 def readonly_attributes; end end -# source://activerecord/lib/active_record/readonly_attributes.rb#48 +# source://activerecord//lib/active_record/readonly_attributes.rb#48 module ActiveRecord::ReadonlyAttributes::HasReadonlyAttributes - # source://activerecord/lib/active_record/readonly_attributes.rb#57 + # source://activerecord//lib/active_record/readonly_attributes.rb#57 def _write_attribute(attr_name, value); end - # source://activerecord/lib/active_record/readonly_attributes.rb#49 + # source://activerecord//lib/active_record/readonly_attributes.rb#49 def write_attribute(attr_name, value); end end @@ -30048,16 +30110,16 @@ end # puts invalid.record.errors # end # -# source://activerecord/lib/active_record/validations.rb#15 +# source://activerecord//lib/active_record/validations.rb#15 class ActiveRecord::RecordInvalid < ::ActiveRecord::ActiveRecordError # @return [RecordInvalid] a new instance of RecordInvalid # - # source://activerecord/lib/active_record/validations.rb#18 + # source://activerecord//lib/active_record/validations.rb#18 def initialize(record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/validations.rb#16 + # source://activerecord//lib/active_record/validations.rb#16 def record; end end @@ -30071,41 +30133,41 @@ end # puts invalid.record.errors # end # -# source://activerecord/lib/active_record/errors.rb#161 +# source://activerecord//lib/active_record/errors.rb#161 class ActiveRecord::RecordNotDestroyed < ::ActiveRecord::ActiveRecordError # @return [RecordNotDestroyed] a new instance of RecordNotDestroyed # - # source://activerecord/lib/active_record/errors.rb#164 + # source://activerecord//lib/active_record/errors.rb#164 def initialize(message = T.unsafe(nil), record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/errors.rb#162 + # source://activerecord//lib/active_record/errors.rb#162 def record; end end # Raised when Active Record cannot find a record by given id or set of ids. # -# source://activerecord/lib/active_record/errors.rb#127 +# source://activerecord//lib/active_record/errors.rb#127 class ActiveRecord::RecordNotFound < ::ActiveRecord::ActiveRecordError # @return [RecordNotFound] a new instance of RecordNotFound # - # source://activerecord/lib/active_record/errors.rb#130 + # source://activerecord//lib/active_record/errors.rb#130 def initialize(message = T.unsafe(nil), model = T.unsafe(nil), primary_key = T.unsafe(nil), id = T.unsafe(nil)); end # Returns the value of attribute id. # - # source://activerecord/lib/active_record/errors.rb#128 + # source://activerecord//lib/active_record/errors.rb#128 def id; end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/errors.rb#128 + # source://activerecord//lib/active_record/errors.rb#128 def model; end # Returns the value of attribute primary_key. # - # source://activerecord/lib/active_record/errors.rb#128 + # source://activerecord//lib/active_record/errors.rb#128 def primary_key; end end @@ -30113,27 +30175,27 @@ end # {ActiveRecord::Base.create!}[rdoc-ref:Persistence::ClassMethods#create!] # methods when a record is invalid and cannot be saved. # -# source://activerecord/lib/active_record/errors.rb#142 +# source://activerecord//lib/active_record/errors.rb#142 class ActiveRecord::RecordNotSaved < ::ActiveRecord::ActiveRecordError # @return [RecordNotSaved] a new instance of RecordNotSaved # - # source://activerecord/lib/active_record/errors.rb#145 + # source://activerecord//lib/active_record/errors.rb#145 def initialize(message = T.unsafe(nil), record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/errors.rb#143 + # source://activerecord//lib/active_record/errors.rb#143 def record; end end # Raised when a record cannot be inserted or updated because it would violate a uniqueness constraint. # -# source://activerecord/lib/active_record/errors.rb#208 +# source://activerecord//lib/active_record/errors.rb#208 class ActiveRecord::RecordNotUnique < ::ActiveRecord::WrappedDatabaseException; end # = Active Record Reflection # -# source://activerecord/lib/active_record/reflection.rb#7 +# source://activerecord//lib/active_record/reflection.rb#7 module ActiveRecord::Reflection extend ::ActiveSupport::Concern extend ::ActiveStorage::Reflection::ReflectionExtension @@ -30143,18 +30205,18 @@ module ActiveRecord::Reflection mixes_in_class_methods ::ActiveRecord::Reflection::ClassMethods class << self - # source://activerecord/lib/active_record/reflection.rb#28 + # source://activerecord//lib/active_record/reflection.rb#28 def add_aggregate_reflection(ar, name, reflection); end - # source://activerecord/lib/active_record/reflection.rb#22 + # source://activerecord//lib/active_record/reflection.rb#22 def add_reflection(ar, name, reflection); end - # source://activerecord/lib/active_record/reflection.rb#17 + # source://activerecord//lib/active_record/reflection.rb#17 def create(macro, name, scope, options, ar); end private - # source://activestorage/7.1.5.1lib/active_storage/reflection.rb#37 + # source://activerecord//lib/active_record/reflection.rb#33 def reflection_class_for(macro); end end @@ -30194,29 +30256,29 @@ end # PolymorphicReflection # RuntimeReflection # -# source://activerecord/lib/active_record/reflection.rb#156 +# source://activerecord//lib/active_record/reflection.rb#156 class ActiveRecord::Reflection::AbstractReflection # @return [AbstractReflection] a new instance of AbstractReflection # - # source://activerecord/lib/active_record/reflection.rb#157 + # source://activerecord//lib/active_record/reflection.rb#157 def initialize; end - # source://activerecord/lib/active_record/reflection.rb#308 + # source://activerecord//lib/active_record/reflection.rb#308 def alias_candidate(name); end # Returns a new, unsaved instance of the associated class. +attributes+ will # be passed to the class's constructor. # - # source://activerecord/lib/active_record/reflection.rb#175 + # source://activerecord//lib/active_record/reflection.rb#175 def build_association(attributes, &block); end - # source://activerecord/lib/active_record/reflection.rb#316 + # source://activerecord//lib/active_record/reflection.rb#316 def build_scope(table, predicate_builder = T.unsafe(nil), klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#312 + # source://activerecord//lib/active_record/reflection.rb#312 def chain; end - # source://activerecord/lib/active_record/reflection.rb#255 + # source://activerecord//lib/active_record/reflection.rb#255 def check_validity_of_inverse!; end # Returns the class name for the macro. @@ -30224,18 +30286,18 @@ class ActiveRecord::Reflection::AbstractReflection # composed_of :balance, class_name: 'Money' returns 'Money' # has_many :clients returns 'Client' # - # source://activerecord/lib/active_record/reflection.rb#183 + # source://activerecord//lib/active_record/reflection.rb#183 def class_name; end - # source://activerecord/lib/active_record/reflection.rb#233 + # source://activerecord//lib/active_record/reflection.rb#233 def constraints; end - # source://activerecord/lib/active_record/reflection.rb#237 + # source://activerecord//lib/active_record/reflection.rb#237 def counter_cache_column; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#304 + # source://activerecord//lib/active_record/reflection.rb#304 def counter_must_be_updated_by_has_many?; end # Returns whether a counter cache should be used for this association. @@ -30245,10 +30307,10 @@ class ActiveRecord::Reflection::AbstractReflection # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#298 + # source://activerecord//lib/active_record/reflection.rb#298 def has_cached_counter?; end - # source://activerecord/lib/active_record/reflection.rb#249 + # source://activerecord//lib/active_record/reflection.rb#249 def inverse_of; end # We need to avoid the following situation: @@ -30262,12 +30324,12 @@ class ActiveRecord::Reflection::AbstractReflection # # Hence this method. # - # source://activerecord/lib/active_record/reflection.rb#276 + # source://activerecord//lib/active_record/reflection.rb#288 def inverse_updates_counter_cache?; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#290 + # source://activerecord//lib/active_record/reflection.rb#290 def inverse_updates_counter_in_memory?; end # We need to avoid the following situation: @@ -30281,127 +30343,127 @@ class ActiveRecord::Reflection::AbstractReflection # # Hence this method. # - # source://activerecord/lib/active_record/reflection.rb#276 + # source://activerecord//lib/active_record/reflection.rb#276 def inverse_which_updates_counter_cache; end - # source://activerecord/lib/active_record/reflection.rb#193 + # source://activerecord//lib/active_record/reflection.rb#193 def join_scope(table, foreign_table, foreign_klass); end - # source://activerecord/lib/active_record/reflection.rb#220 + # source://activerecord//lib/active_record/reflection.rb#220 def join_scopes(table, predicate_builder, klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#228 + # source://activerecord//lib/active_record/reflection.rb#228 def klass_join_scope(table, predicate_builder); end # Returns a list of scopes that should be applied for this Reflection # object when querying the database. # - # source://activerecord/lib/active_record/reflection.rb#189 + # source://activerecord//lib/active_record/reflection.rb#189 def scopes; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#324 + # source://activerecord//lib/active_record/reflection.rb#324 def strict_loading?; end - # source://activerecord/lib/active_record/reflection.rb#328 + # source://activerecord//lib/active_record/reflection.rb#328 def strict_loading_violation_message(owner); end - # source://activerecord/lib/active_record/reflection.rb#169 + # source://activerecord//lib/active_record/reflection.rb#169 def table_name; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#165 + # source://activerecord//lib/active_record/reflection.rb#165 def through_reflection?; end protected # FIXME: this is a horrible name # - # source://activerecord/lib/active_record/reflection.rb#335 + # source://activerecord//lib/active_record/reflection.rb#335 def actual_source_reflection; end private - # source://activerecord/lib/active_record/reflection.rb#348 + # source://activerecord//lib/active_record/reflection.rb#348 def ensure_option_not_given_as_class!(option_name); end - # source://activerecord/lib/active_record/reflection.rb#340 + # source://activerecord//lib/active_record/reflection.rb#340 def predicate_builder(table); end - # source://activerecord/lib/active_record/reflection.rb#344 + # source://activerecord//lib/active_record/reflection.rb#344 def primary_key(klass); end end # Holds all the metadata about an aggregation as it was specified in the # Active Record class. # -# source://activerecord/lib/active_record/reflection.rb#452 +# source://activerecord//lib/active_record/reflection.rb#452 class ActiveRecord::Reflection::AggregateReflection < ::ActiveRecord::Reflection::MacroReflection - # source://activerecord/lib/active_record/reflection.rb#453 + # source://activerecord//lib/active_record/reflection.rb#453 def mapping; end end # Holds all the metadata about an association as it was specified in the # Active Record class. # -# source://activerecord/lib/active_record/reflection.rb#461 +# source://activerecord//lib/active_record/reflection.rb#461 class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflection::MacroReflection # @return [AssociationReflection] a new instance of AssociationReflection # - # source://activerecord/lib/active_record/reflection.rb#489 + # source://activerecord//lib/active_record/reflection.rb#489 def initialize(name, scope, options, active_record); end - # source://activerecord/lib/active_record/reflection.rb#537 + # source://activerecord//lib/active_record/reflection.rb#537 def active_record_primary_key; end - # source://activerecord/lib/active_record/reflection.rb#683 + # source://activerecord//lib/active_record/reflection.rb#683 def add_as_polymorphic_through(reflection, seed); end - # source://activerecord/lib/active_record/reflection.rb#679 + # source://activerecord//lib/active_record/reflection.rb#679 def add_as_source(seed); end - # source://activerecord/lib/active_record/reflection.rb#687 + # source://activerecord//lib/active_record/reflection.rb#687 def add_as_through(seed); end # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/reflection.rb#669 + # source://activerecord//lib/active_record/reflection.rb#669 def association_class; end - # source://activerecord/lib/active_record/reflection.rb#529 + # source://activerecord//lib/active_record/reflection.rb#529 def association_foreign_key; end - # source://activerecord/lib/active_record/reflection.rb#533 + # source://activerecord//lib/active_record/reflection.rb#533 def association_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#501 + # source://activerecord//lib/active_record/reflection.rb#501 def association_scope_cache(klass, owner, &block); end # Returns +true+ if +self+ is a +belongs_to+ reflection. # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#664 + # source://activerecord//lib/active_record/reflection.rb#664 def belongs_to?; end - # source://activerecord/lib/active_record/reflection.rb#580 + # source://activerecord//lib/active_record/reflection.rb#580 def check_eager_loadable!; end - # source://activerecord/lib/active_record/reflection.rb#568 + # source://activerecord//lib/active_record/reflection.rb#568 def check_validity!; end # This is for clearing cache on the reflection. Useful for tests that need to compare # SQL queries on associations. # - # source://activerecord/lib/active_record/reflection.rb#612 + # source://activerecord//lib/active_record/reflection.rb#612 def clear_association_scope_cache; end # A chain of reflections from this one back to the owner. For more see the explanation in # ThroughReflection. # - # source://activerecord/lib/active_record/reflection.rb#606 + # source://activerecord//lib/active_record/reflection.rb#606 def collect_join_chain; end # Returns whether or not this association reflection is for a collection @@ -30410,53 +30472,53 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#646 + # source://activerecord//lib/active_record/reflection.rb#646 def collection?; end - # source://activerecord/lib/active_record/reflection.rb#462 + # source://activerecord//lib/active_record/reflection.rb#462 def compute_class(name); end - # source://activerecord/lib/active_record/reflection.rb#691 + # source://activerecord//lib/active_record/reflection.rb#691 def extensions; end - # source://activerecord/lib/active_record/reflection.rb#513 + # source://activerecord//lib/active_record/reflection.rb#513 def foreign_key(infer_from_inverse_of: T.unsafe(nil)); end # Returns the value of attribute foreign_type. # - # source://activerecord/lib/active_record/reflection.rb#486 + # source://activerecord//lib/active_record/reflection.rb#486 def foreign_type; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#624 + # source://activerecord//lib/active_record/reflection.rb#624 def has_inverse?; end # Returns +true+ if +self+ is a +has_one+ reflection. # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#667 + # source://activerecord//lib/active_record/reflection.rb#667 def has_one?; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#620 + # source://activerecord//lib/active_record/reflection.rb#620 def has_scope?; end - # source://activerecord/lib/active_record/reflection.rb#564 + # source://activerecord//lib/active_record/reflection.rb#564 def join_foreign_key; end - # source://activerecord/lib/active_record/reflection.rb#592 + # source://activerecord//lib/active_record/reflection.rb#592 def join_id_for(owner); end - # source://activerecord/lib/active_record/reflection.rb#556 + # source://activerecord//lib/active_record/reflection.rb#556 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#560 + # source://activerecord//lib/active_record/reflection.rb#560 def join_primary_type; end - # source://activerecord/lib/active_record/reflection.rb#509 + # source://activerecord//lib/active_record/reflection.rb#509 def join_table; end # Returns the macro type. @@ -30465,44 +30527,44 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @raise [NotImplementedError] # - # source://activerecord/lib/active_record/reflection.rb#641 + # source://activerecord//lib/active_record/reflection.rb#641 def macro; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#616 + # source://activerecord//lib/active_record/reflection.rb#616 def nested?; end # Reflection # - # source://activerecord/lib/active_record/reflection.rb#487 + # source://activerecord//lib/active_record/reflection.rb#487 def parent_reflection; end # Reflection # - # source://activerecord/lib/active_record/reflection.rb#487 + # source://activerecord//lib/active_record/reflection.rb#487 def parent_reflection=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#671 + # source://activerecord//lib/active_record/reflection.rb#671 def polymorphic?; end - # source://activerecord/lib/active_record/reflection.rb#628 + # source://activerecord//lib/active_record/reflection.rb#628 def polymorphic_inverse_of(associated_class); end - # source://activerecord/lib/active_record/reflection.rb#675 + # source://activerecord//lib/active_record/reflection.rb#675 def polymorphic_name; end - # source://activerecord/lib/active_record/reflection.rb#600 + # source://activerecord//lib/active_record/reflection.rb#600 def source_reflection; end - # source://activerecord/lib/active_record/reflection.rb#596 + # source://activerecord//lib/active_record/reflection.rb#596 def through_reflection; end # Returns the value of attribute type. # - # source://activerecord/lib/active_record/reflection.rb#486 + # source://activerecord//lib/active_record/reflection.rb#486 def type; end # Returns whether or not the association should be validated as part of @@ -30517,14 +30579,14 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#659 + # source://activerecord//lib/active_record/reflection.rb#659 def validate?; end private # returns either +nil+ or the inverse association name that it finds. # - # source://activerecord/lib/active_record/reflection.rb#708 + # source://activerecord//lib/active_record/reflection.rb#708 def automatic_inverse_of; end # Checks to see if the reflection doesn't have any options that prevent @@ -30536,26 +30598,26 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#746 + # source://activerecord//lib/active_record/reflection.rb#746 def can_find_inverse_of_automatically?(reflection, inverse_reflection = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#767 + # source://activerecord//lib/active_record/reflection.rb#767 def derive_class_name; end - # source://activerecord/lib/active_record/reflection.rb#785 + # source://activerecord//lib/active_record/reflection.rb#785 def derive_fk_query_constraints(foreign_key); end - # source://activerecord/lib/active_record/reflection.rb#773 + # source://activerecord//lib/active_record/reflection.rb#773 def derive_foreign_key(infer_from_inverse_of: T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#825 + # source://activerecord//lib/active_record/reflection.rb#825 def derive_join_table; end # Attempts to find the inverse association name automatically. # If it cannot find a suitable inverse association name, it returns # +nil+. # - # source://activerecord/lib/active_record/reflection.rb#699 + # source://activerecord//lib/active_record/reflection.rb#699 def inverse_name; end # Scopes on the potential inverse reflection prevent automatic @@ -30567,7 +30629,7 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#759 + # source://activerecord//lib/active_record/reflection.rb#759 def scope_allows_automatic_inverse_of?(reflection, inverse_reflection); end # Checks if the inverse reflection that is returned from the @@ -30577,42 +30639,42 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#732 + # source://activerecord//lib/active_record/reflection.rb#732 def valid_inverse_reflection?(reflection); end end -# source://activerecord/lib/active_record/reflection.rb#858 +# source://activerecord//lib/active_record/reflection.rb#858 class ActiveRecord::Reflection::BelongsToReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord/lib/active_record/reflection.rb#863 + # source://activerecord//lib/active_record/reflection.rb#863 def association_class; end # klass option is necessary to support loading polymorphic associations # - # source://activerecord/lib/active_record/reflection.rb#872 + # source://activerecord//lib/active_record/reflection.rb#872 def association_primary_key(klass = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#861 + # source://activerecord//lib/active_record/reflection.rb#861 def belongs_to?; end - # source://activerecord/lib/active_record/reflection.rb#894 + # source://activerecord//lib/active_record/reflection.rb#894 def join_foreign_key; end - # source://activerecord/lib/active_record/reflection.rb#898 + # source://activerecord//lib/active_record/reflection.rb#898 def join_foreign_type; end - # source://activerecord/lib/active_record/reflection.rb#890 + # source://activerecord//lib/active_record/reflection.rb#890 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#859 + # source://activerecord//lib/active_record/reflection.rb#859 def macro; end private # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#903 + # source://activerecord//lib/active_record/reflection.rb#903 def can_find_inverse_of_automatically?(*_arg0); end end @@ -30627,24 +30689,24 @@ end # MacroReflection class has info for AggregateReflection and AssociationReflection # classes. # -# source://activerecord/lib/active_record/reflection.rb#59 +# source://activerecord//lib/active_record/reflection.rb#59 module ActiveRecord::Reflection::ClassMethods - # source://activerecord/lib/active_record/reflection.rb#121 + # source://activerecord//lib/active_record/reflection.rb#121 def _reflect_on_association(association); end - # source://activerecord/lib/active_record/reflection.rb#130 + # source://activerecord//lib/active_record/reflection.rb#130 def clear_reflections_cache; end # Returns the AggregateReflection object for the named +aggregation+ (use the symbol). # # Account.reflect_on_aggregation(:balance) # => the balance AggregateReflection # - # source://activerecord/lib/active_record/reflection.rb#69 + # source://activerecord//lib/active_record/reflection.rb#69 def reflect_on_aggregation(aggregation); end # Returns an array of AggregateReflection objects for all the aggregations in the class. # - # source://activerecord/lib/active_record/reflection.rb#61 + # source://activerecord//lib/active_record/reflection.rb#61 def reflect_on_all_aggregations; end # Returns an array of AssociationReflection objects for all the @@ -30657,12 +30719,12 @@ module ActiveRecord::Reflection::ClassMethods # Account.reflect_on_all_associations # returns an array of all associations # Account.reflect_on_all_associations(:has_many) # returns an array of all has_many associations # - # source://activerecord/lib/active_record/reflection.rb#106 + # source://activerecord//lib/active_record/reflection.rb#106 def reflect_on_all_associations(macro = T.unsafe(nil)); end # Returns an array of AssociationReflection objects for all associations which have :autosave enabled. # - # source://activerecord/lib/active_record/reflection.rb#126 + # source://activerecord//lib/active_record/reflection.rb#126 def reflect_on_all_autosave_associations; end # Returns the AssociationReflection object for the +association+ (use the symbol). @@ -30670,86 +30732,86 @@ module ActiveRecord::Reflection::ClassMethods # Account.reflect_on_association(:owner) # returns the owner AssociationReflection # Invoice.reflect_on_association(:line_items).macro # returns :has_many # - # source://activerecord/lib/active_record/reflection.rb#117 + # source://activerecord//lib/active_record/reflection.rb#117 def reflect_on_association(association); end # Returns a Hash of name of the reflection as the key and an AssociationReflection as the value. # # Account.reflections # => {"balance" => AggregateReflection} # - # source://activerecord/lib/active_record/reflection.rb#77 + # source://activerecord//lib/active_record/reflection.rb#77 def reflections; end private - # source://activerecord/lib/active_record/reflection.rb#135 + # source://activerecord//lib/active_record/reflection.rb#135 def inherited(subclass); end end -# source://activerecord/lib/active_record/reflection.rb#908 +# source://activerecord//lib/active_record/reflection.rb#908 class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ::ActiveRecord::Reflection::AssociationReflection # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#911 + # source://activerecord//lib/active_record/reflection.rb#911 def collection?; end - # source://activerecord/lib/active_record/reflection.rb#909 + # source://activerecord//lib/active_record/reflection.rb#909 def macro; end end -# source://activerecord/lib/active_record/reflection.rb#830 +# source://activerecord//lib/active_record/reflection.rb#830 class ActiveRecord::Reflection::HasManyReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord/lib/active_record/reflection.rb#835 + # source://activerecord//lib/active_record/reflection.rb#835 def association_class; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#833 + # source://activerecord//lib/active_record/reflection.rb#833 def collection?; end - # source://activerecord/lib/active_record/reflection.rb#831 + # source://activerecord//lib/active_record/reflection.rb#831 def macro; end end -# source://activerecord/lib/active_record/reflection.rb#844 +# source://activerecord//lib/active_record/reflection.rb#844 class ActiveRecord::Reflection::HasOneReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord/lib/active_record/reflection.rb#849 + # source://activerecord//lib/active_record/reflection.rb#849 def association_class; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#847 + # source://activerecord//lib/active_record/reflection.rb#847 def has_one?; end - # source://activerecord/lib/active_record/reflection.rb#845 + # source://activerecord//lib/active_record/reflection.rb#845 def macro; end end # Base class for AggregateReflection and AssociationReflection. Objects of # AggregateReflection and AssociationReflection are returned by the Reflection::ClassMethods. # -# source://activerecord/lib/active_record/reflection.rb#357 +# source://activerecord//lib/active_record/reflection.rb#357 class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [MacroReflection] a new instance of MacroReflection # - # source://activerecord/lib/active_record/reflection.rb#376 + # source://activerecord//lib/active_record/reflection.rb#376 def initialize(name, scope, options, active_record); end # Returns +true+ if +self+ and +other_aggregation+ have the same +name+ attribute, +active_record+ attribute, # and +other_aggregation+ has an options hash assigned to it. # - # source://activerecord/lib/active_record/reflection.rb#421 + # source://activerecord//lib/active_record/reflection.rb#421 def ==(other_aggregation); end # Returns the value of attribute active_record. # - # source://activerecord/lib/active_record/reflection.rb#372 + # source://activerecord//lib/active_record/reflection.rb#372 def active_record; end - # source://activerecord/lib/active_record/reflection.rb#388 + # source://activerecord//lib/active_record/reflection.rb#388 def autosave=(autosave); end - # source://activerecord/lib/active_record/reflection.rb#415 + # source://activerecord//lib/active_record/reflection.rb#415 def compute_class(name); end # Returns the class for the macro. @@ -30768,7 +30830,7 @@ class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::Ab # a new association object. Use +build_association+ or +create_association+ # instead. This allows plugins to hook into association object creation. # - # source://activerecord/lib/active_record/reflection.rb#411 + # source://activerecord//lib/active_record/reflection.rb#411 def klass; end # Returns the name of the macro. @@ -30776,7 +30838,7 @@ class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::Ab # composed_of :balance, class_name: 'Money' returns :balance # has_many :clients returns :clients # - # source://activerecord/lib/active_record/reflection.rb#362 + # source://activerecord//lib/active_record/reflection.rb#362 def name; end # Returns the hash of options used for the macro. @@ -30784,163 +30846,163 @@ class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::Ab # composed_of :balance, class_name: 'Money' returns { class_name: "Money" } # has_many :clients returns {} # - # source://activerecord/lib/active_record/reflection.rb#370 + # source://activerecord//lib/active_record/reflection.rb#370 def options; end - # source://activerecord/lib/active_record/reflection.rb#374 + # source://activerecord//lib/active_record/reflection.rb#374 def plural_name; end # Returns the value of attribute scope. # - # source://activerecord/lib/active_record/reflection.rb#364 + # source://activerecord//lib/active_record/reflection.rb#364 def scope; end - # source://activerecord/lib/active_record/reflection.rb#429 + # source://activerecord//lib/active_record/reflection.rb#429 def scope_for(relation, owner = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/reflection.rb#434 + # source://activerecord//lib/active_record/reflection.rb#434 def derive_class_name; end # @raise [ArgumentError] # - # source://activerecord/lib/active_record/reflection.rb#438 + # source://activerecord//lib/active_record/reflection.rb#438 def validate_reflection!; end end -# source://activerecord/lib/active_record/reflection.rb#1172 +# source://activerecord//lib/active_record/reflection.rb#1172 class ActiveRecord::Reflection::PolymorphicReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [PolymorphicReflection] a new instance of PolymorphicReflection # - # source://activerecord/lib/active_record/reflection.rb#1176 + # source://activerecord//lib/active_record/reflection.rb#1176 def initialize(reflection, previous_reflection); end - # source://activerecord/lib/active_record/reflection.rb#1187 + # source://activerecord//lib/active_record/reflection.rb#1187 def constraints; end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def join_primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1182 + # source://activerecord//lib/active_record/reflection.rb#1182 def join_scopes(table, predicate_builder, klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def klass(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def plural_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def scope_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1173 + # source://activerecord//lib/active_record/reflection.rb#1173 def type(*_arg0, **_arg1, &_arg2); end private - # source://activerecord/lib/active_record/reflection.rb#1192 + # source://activerecord//lib/active_record/reflection.rb#1192 def source_type_scope; end end -# source://activerecord/lib/active_record/reflection.rb#1199 +# source://activerecord//lib/active_record/reflection.rb#1199 class ActiveRecord::Reflection::RuntimeReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [RuntimeReflection] a new instance of RuntimeReflection # - # source://activerecord/lib/active_record/reflection.rb#1202 + # source://activerecord//lib/active_record/reflection.rb#1202 def initialize(reflection, association); end - # source://activerecord/lib/active_record/reflection.rb#1212 + # source://activerecord//lib/active_record/reflection.rb#1212 def aliased_table; end - # source://activerecord/lib/active_record/reflection.rb#1220 + # source://activerecord//lib/active_record/reflection.rb#1220 def all_includes; end - # source://activerecord/lib/active_record/reflection.rb#1200 + # source://activerecord//lib/active_record/reflection.rb#1200 def constraints(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1200 + # source://activerecord//lib/active_record/reflection.rb#1200 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1216 + # source://activerecord//lib/active_record/reflection.rb#1216 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#1208 + # source://activerecord//lib/active_record/reflection.rb#1208 def klass; end - # source://activerecord/lib/active_record/reflection.rb#1200 + # source://activerecord//lib/active_record/reflection.rb#1200 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1200 + # source://activerecord//lib/active_record/reflection.rb#1200 def type(*_arg0, **_arg1, &_arg2); end end # Holds all the metadata about a :through association as it was specified # in the Active Record class. # -# source://activerecord/lib/active_record/reflection.rb#918 +# source://activerecord//lib/active_record/reflection.rb#918 class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [ThroughReflection] a new instance of ThroughReflection # - # source://activerecord/lib/active_record/reflection.rb#922 + # source://activerecord//lib/active_record/reflection.rb#922 def initialize(delegate_reflection); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def active_record(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def active_record_primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1134 + # source://activerecord//lib/active_record/reflection.rb#1134 def add_as_polymorphic_through(reflection, seed); end - # source://activerecord/lib/active_record/reflection.rb#1130 + # source://activerecord//lib/active_record/reflection.rb#1130 def add_as_source(seed); end - # source://activerecord/lib/active_record/reflection.rb#1138 + # source://activerecord//lib/active_record/reflection.rb#1138 def add_as_through(seed); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def association_class(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def association_foreign_key(*_arg0, **_arg1, &_arg2); end # We want to use the klass from this reflection, rather than just delegate straight to # the source_reflection, because the source_reflection may be polymorphic. We still # need to respect the source_reflection's :primary_key option, though. # - # source://activerecord/lib/active_record/reflection.rb#1027 + # source://activerecord//lib/active_record/reflection.rb#1027 def association_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def association_scope_cache(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def autosave=(arg); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def belongs_to?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def check_eager_loadable!(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1084 + # source://activerecord//lib/active_record/reflection.rb#1084 def check_validity!; end # This is for clearing cache on the reflection. Useful for tests that need to compare # SQL queries on associations. # - # source://activerecord/lib/active_record/reflection.rb#999 + # source://activerecord//lib/active_record/reflection.rb#999 def clear_association_scope_cache; end # Returns an array of reflections which are involved in this association. Each item in the @@ -30960,103 +31022,103 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # # => [, # ] # - # source://activerecord/lib/active_record/reflection.rb#993 + # source://activerecord//lib/active_record/reflection.rb#993 def collect_join_chain; end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def collection?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def compute_class(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1124 + # source://activerecord//lib/active_record/reflection.rb#1124 def constraints; end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def extensions(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def foreign_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def has_inverse?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def has_one?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#1013 + # source://activerecord//lib/active_record/reflection.rb#1013 def has_scope?; end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def join_id_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1037 + # source://activerecord//lib/active_record/reflection.rb#1037 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def join_primary_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1009 + # source://activerecord//lib/active_record/reflection.rb#1009 def join_scopes(table, predicate_builder, klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def join_table(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#935 + # source://activerecord//lib/active_record/reflection.rb#935 def klass; end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def macro(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def name(*_arg0, **_arg1, &_arg2); end # A through association is nested if there would be more than one join table # # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#1020 + # source://activerecord//lib/active_record/reflection.rb#1020 def nested?; end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def options(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def parent_reflection(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def parent_reflection=(arg); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def plural_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def polymorphic?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def polymorphic_inverse_of(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def polymorphic_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def scope_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1005 + # source://activerecord//lib/active_record/reflection.rb#1005 def scopes; end - # source://activerecord/lib/active_record/reflection.rb#1076 + # source://activerecord//lib/active_record/reflection.rb#1076 def source_options; end # Returns the source of the through reflection. It checks both a singularized @@ -31076,10 +31138,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.source_reflection # # => # - # source://activerecord/lib/active_record/reflection.rb#956 + # source://activerecord//lib/active_record/reflection.rb#956 def source_reflection; end - # source://activerecord/lib/active_record/reflection.rb#1056 + # source://activerecord//lib/active_record/reflection.rb#1056 def source_reflection_name; end # Gets an array of possible :through source reflection names in both singular and plural form. @@ -31093,10 +31155,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.source_reflection_names # # => [:tag, :tags] # - # source://activerecord/lib/active_record/reflection.rb#1052 + # source://activerecord//lib/active_record/reflection.rb#1052 def source_reflection_names; end - # source://activerecord/lib/active_record/reflection.rb#1080 + # source://activerecord//lib/active_record/reflection.rb#1080 def through_options; end # Returns the AssociationReflection object specified in the :through option @@ -31111,47 +31173,47 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.through_reflection # # => # - # source://activerecord/lib/active_record/reflection.rb#972 + # source://activerecord//lib/active_record/reflection.rb#972 def through_reflection; end # @return [Boolean] # - # source://activerecord/lib/active_record/reflection.rb#931 + # source://activerecord//lib/active_record/reflection.rb#931 def through_reflection?; end - # source://activerecord/lib/active_record/reflection.rb#919 + # source://activerecord//lib/active_record/reflection.rb#919 def type(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/reflection.rb#1169 + # source://activerecord//lib/active_record/reflection.rb#1169 def validate?(*_arg0, **_arg1, &_arg2); end protected # FIXME: this is a horrible name # - # source://activerecord/lib/active_record/reflection.rb#1143 + # source://activerecord//lib/active_record/reflection.rb#1143 def actual_source_reflection; end private - # source://activerecord/lib/active_record/reflection.rb#1150 + # source://activerecord//lib/active_record/reflection.rb#1150 def collect_join_reflections(seed); end # Returns the value of attribute delegate_reflection. # - # source://activerecord/lib/active_record/reflection.rb#1148 + # source://activerecord//lib/active_record/reflection.rb#1148 def delegate_reflection; end - # source://activerecord/lib/active_record/reflection.rb#1161 + # source://activerecord//lib/active_record/reflection.rb#1161 def derive_class_name; end - # source://activerecord/lib/active_record/reflection.rb#1159 + # source://activerecord//lib/active_record/reflection.rb#1159 def inverse_name; end end # = Active Record \Relation # -# source://activerecord/lib/active_record/relation.rb#5 +# source://activerecord//lib/active_record/relation.rb#5 class ActiveRecord::Relation include ::Enumerable include ::ActiveRecord::Delegation @@ -31166,18 +31228,18 @@ class ActiveRecord::Relation # @return [Relation] a new instance of Relation # - # source://activerecord/lib/active_record/relation.rb#28 + # source://activerecord//lib/active_record/relation.rb#28 def initialize(klass, table: T.unsafe(nil), predicate_builder: T.unsafe(nil), values: T.unsafe(nil)); end # Compares two relations for equality. # - # source://activerecord/lib/active_record/relation.rb#823 + # source://activerecord//lib/active_record/relation.rb#823 def ==(other); end - # source://activerecord/lib/active_record/relation.rb#471 + # source://activerecord//lib/active_record/relation.rb#471 def _exec_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation.rb#873 + # source://activerecord//lib/active_record/relation.rb#873 def alias_tracker(joins = T.unsafe(nil), aliases = T.unsafe(nil)); end # Returns true if there are any records. @@ -31189,19 +31251,19 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#312 + # source://activerecord//lib/active_record/relation.rb#312 def any?(*args); end # @yield [attr, bind] # - # source://activerecord/lib/active_record/relation.rb#46 + # source://activerecord//lib/active_record/relation.rb#46 def bind_attribute(name, value); end # Returns true if relation is blank. # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#844 + # source://activerecord//lib/active_record/relation.rb#844 def blank?; end # Initializes new record from relation while maintaining the current @@ -31217,7 +31279,7 @@ class ActiveRecord::Relation # user = users.new { |user| user.name = 'Oscar' } # user.name # => Oscar # - # source://activerecord/lib/active_record/relation.rb#69 + # source://activerecord//lib/active_record/relation.rb#77 def build(attributes = T.unsafe(nil), &block); end # Returns a stable cache key that can be used to identify this query. @@ -31238,12 +31300,12 @@ class ActiveRecord::Relation # # Product.where("name like ?", "%Game%").cache_key(:last_reviewed_at) # - # source://activerecord/lib/active_record/relation.rb#359 + # source://activerecord//lib/active_record/relation.rb#359 def cache_key(timestamp_column = T.unsafe(nil)); end # Returns a cache key along with the version. # - # source://activerecord/lib/active_record/relation.rb#438 + # source://activerecord//lib/active_record/relation.rb#438 def cache_key_with_version; end # Returns a cache version that can be used together with the cache key to form @@ -31257,7 +31319,7 @@ class ActiveRecord::Relation # # SELECT COUNT(*), MAX("products"."updated_at") FROM "products" WHERE (name like '%Cosmic Encounter%') # - # source://activerecord/lib/active_record/relation.rb#386 + # source://activerecord//lib/active_record/relation.rb#386 def cache_version(timestamp_column = T.unsafe(nil)); end # Tries to create a new record with the same scoped attributes @@ -31280,7 +31342,7 @@ class ActiveRecord::Relation # users.create(name: nil) # validation on name # # => # # - # source://activerecord/lib/active_record/relation.rb#98 + # source://activerecord//lib/active_record/relation.rb#98 def create(attributes = T.unsafe(nil), &block); end # Similar to #create, but calls @@ -31290,7 +31352,7 @@ class ActiveRecord::Relation # Expects arguments in the same format as # {ActiveRecord::Base.create!}[rdoc-ref:Persistence::ClassMethods#create!]. # - # source://activerecord/lib/active_record/relation.rb#113 + # source://activerecord//lib/active_record/relation.rb#113 def create!(attributes = T.unsafe(nil), &block); end # Attempts to create a record with the given attributes in a table that has a unique database constraint @@ -31323,14 +31385,14 @@ class ActiveRecord::Relation # and failed due to validation errors it won't be persisted, you get what #create returns in # such situation. # - # source://activerecord/lib/active_record/relation.rb#215 + # source://activerecord//lib/active_record/relation.rb#215 def create_or_find_by(attributes, &block); end # Like #create_or_find_by, but calls # {create!}[rdoc-ref:Persistence::ClassMethods#create!] so an exception # is raised if the created record is invalid. # - # source://activerecord/lib/active_record/relation.rb#228 + # source://activerecord//lib/active_record/relation.rb#228 def create_or_find_by!(attributes, &block); end # Deletes the records without instantiating the records @@ -31352,7 +31414,7 @@ class ActiveRecord::Relation # Post.distinct.delete_all # # => ActiveRecord::ActiveRecordError: delete_all doesn't support distinct # - # source://activerecord/lib/active_record/relation.rb#651 + # source://activerecord//lib/active_record/relation.rb#651 def delete_all; end # Finds and deletes all records matching the specified conditions. @@ -31365,7 +31427,7 @@ class ActiveRecord::Relation # Person.delete_by(name: 'Spartacus', rating: 4) # Person.delete_by("published_at < ?", 2.weeks.ago) # - # source://activerecord/lib/active_record/relation.rb#699 + # source://activerecord//lib/active_record/relation.rb#699 def delete_by(*args); end # Destroys the records by instantiating each @@ -31385,7 +31447,7 @@ class ActiveRecord::Relation # # Person.where(age: 0..18).destroy_all # - # source://activerecord/lib/active_record/relation.rb#629 + # source://activerecord//lib/active_record/relation.rb#629 def destroy_all; end # Finds and destroys all records matching the specified conditions. @@ -31398,31 +31460,31 @@ class ActiveRecord::Relation # Person.destroy_by(name: 'Spartacus', rating: 4) # Person.destroy_by("published_at < ?", 2.weeks.ago) # - # source://activerecord/lib/active_record/relation.rb#686 + # source://activerecord//lib/active_record/relation.rb#686 def destroy_by(*args); end # Returns true if relation needs eager loading. # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#808 + # source://activerecord//lib/active_record/relation.rb#808 def eager_loading?; end # Returns true if there are no records. # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#283 + # source://activerecord//lib/active_record/relation.rb#283 def empty?; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#865 + # source://activerecord//lib/active_record/relation.rb#865 def empty_scope?; end # Serializes the relation objects Array. # - # source://activerecord/lib/active_record/relation.rb#269 + # source://activerecord//lib/active_record/relation.rb#269 def encode_with(coder); end # Runs EXPLAIN on the query or queries triggered by this relation and @@ -31435,7 +31497,7 @@ class ActiveRecord::Relation # Please see further details in the # {Active Record Query Interface guide}[https://guides.rubyonrails.org/active_record_querying.html#running-explain]. # - # source://activerecord/lib/active_record/relation.rb#253 + # source://activerecord//lib/active_record/relation.rb#253 def explain(*options); end # Finds the first record with the given attributes, or creates a record @@ -31480,37 +31542,37 @@ class ActiveRecord::Relation # doesn't have a relevant unique constraint it could be the case that # you end up with two or more similar records. # - # source://activerecord/lib/active_record/relation.rb#175 + # source://activerecord//lib/active_record/relation.rb#175 def find_or_create_by(attributes, &block); end # Like #find_or_create_by, but calls # {create!}[rdoc-ref:Persistence::ClassMethods#create!] so an exception # is raised if the created record is invalid. # - # source://activerecord/lib/active_record/relation.rb#182 + # source://activerecord//lib/active_record/relation.rb#182 def find_or_create_by!(attributes, &block); end # Like #find_or_create_by, but calls {new}[rdoc-ref:Core#new] # instead of {create}[rdoc-ref:Persistence::ClassMethods#create]. # - # source://activerecord/lib/active_record/relation.rb#240 + # source://activerecord//lib/active_record/relation.rb#240 def find_or_initialize_by(attributes, &block); end - # source://activerecord/lib/active_record/relation.rb#122 + # source://activerecord//lib/active_record/relation.rb#122 def first_or_create(attributes = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/relation.rb#126 + # source://activerecord//lib/active_record/relation.rb#126 def first_or_create!(attributes = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/relation.rb#130 + # source://activerecord//lib/active_record/relation.rb#130 def first_or_initialize(attributes = T.unsafe(nil), &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#869 + # source://activerecord//lib/active_record/relation.rb#869 def has_limit_or_offset?; end - # source://activerecord/lib/active_record/relation.rb#856 + # source://activerecord//lib/active_record/relation.rb#856 def inspect; end # Joins that are also marked for preloading. In which case we should just eager load them. @@ -31518,12 +31580,12 @@ class ActiveRecord::Relation # represent the same association, but that aren't matched by this. Also, we could have # nested hashes which partially match, e.g. { a: :b } & { a: [:b, :c] } # - # source://activerecord/lib/active_record/relation.rb#818 + # source://activerecord//lib/active_record/relation.rb#818 def joined_includes_values; end # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#22 def klass; end # Causes the records to be loaded from the database if they have not @@ -31533,7 +31595,7 @@ class ActiveRecord::Relation # # Post.where(published: true).load # => # # - # source://activerecord/lib/active_record/relation.rb#750 + # source://activerecord//lib/active_record/relation.rb#750 def load(&block); end # Schedule the query to be performed from a background thread pool. @@ -31555,32 +31617,32 @@ class ActiveRecord::Relation # # ASYNC Post Load (0.0ms) (db time 2ms) SELECT "posts".* FROM "posts" LIMIT 100 # - # source://activerecord/lib/active_record/relation.rb#721 + # source://activerecord//lib/active_record/relation.rb#721 def load_async; end # Returns the value of attribute loaded. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#22 def loaded; end # Returns the value of attribute loaded. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#25 def loaded?; end - # source://activerecord/lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation.rb#26 def locked?; end # Returns true if there is more than one record. # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#334 + # source://activerecord//lib/active_record/relation.rb#334 def many?; end # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#24 def model; end # Initializes new record from relation while maintaining the current @@ -31596,7 +31658,7 @@ class ActiveRecord::Relation # user = users.new { |user| user.name = 'Oscar' } # user.name # => Oscar # - # source://activerecord/lib/active_record/relation.rb#69 + # source://activerecord//lib/active_record/relation.rb#69 def new(attributes = T.unsafe(nil), &block); end # Returns true if there are no records. @@ -31608,7 +31670,7 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#299 + # source://activerecord//lib/active_record/relation.rb#299 def none?(*args); end # Returns true if there is exactly one record. @@ -31620,29 +31682,29 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#325 + # source://activerecord//lib/active_record/relation.rb#325 def one?(*args); end # Returns the value of attribute predicate_builder. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#22 def predicate_builder; end - # source://activerecord/lib/active_record/relation.rb#887 + # source://activerecord//lib/active_record/relation.rb#887 def preload_associations(records); end - # source://activerecord/lib/active_record/relation.rb#834 + # source://activerecord//lib/active_record/relation.rb#834 def pretty_print(pp); end - # source://activerecord/lib/active_record/relation.rb#263 + # source://activerecord//lib/active_record/relation.rb#263 def records; end # Forces reloading of relation. # - # source://activerecord/lib/active_record/relation.rb#760 + # source://activerecord//lib/active_record/relation.rb#760 def reload; end - # source://activerecord/lib/active_record/relation.rb#765 + # source://activerecord//lib/active_record/relation.rb#765 def reset; end # Returns true if the relation was scheduled on the background @@ -31650,10 +31712,10 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#740 + # source://activerecord//lib/active_record/relation.rb#740 def scheduled?; end - # source://activerecord/lib/active_record/relation.rb#801 + # source://activerecord//lib/active_record/relation.rb#801 def scope_for_create; end # Scope all queries to the current scope. @@ -31671,39 +31733,39 @@ class ActiveRecord::Relation # Please check unscoped if you want to remove all previous scopes (including # the default_scope) during the execution of a block. # - # source://activerecord/lib/active_record/relation.rb#460 + # source://activerecord//lib/active_record/relation.rb#460 def scoping(all_queries: T.unsafe(nil), &block); end # Returns size of the records. # - # source://activerecord/lib/active_record/relation.rb#274 + # source://activerecord//lib/active_record/relation.rb#274 def size; end # Returns the value of attribute skip_preloading_value. # - # source://activerecord/lib/active_record/relation.rb#23 + # source://activerecord//lib/active_record/relation.rb#23 def skip_preloading_value; end # Sets the attribute skip_preloading_value # # @param value the value to set the attribute skip_preloading_value to. # - # source://activerecord/lib/active_record/relation.rb#23 + # source://activerecord//lib/active_record/relation.rb#23 def skip_preloading_value=(_arg0); end # Returns the value of attribute table. # - # source://activerecord/lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#22 def table; end # Converts relation objects to Array. # - # source://activerecord/lib/active_record/relation.rb#258 + # source://activerecord//lib/active_record/relation.rb#261 def to_a; end # Converts relation objects to Array. # - # source://activerecord/lib/active_record/relation.rb#258 + # source://activerecord//lib/active_record/relation.rb#258 def to_ary; end # Returns sql statement for the relation. @@ -31711,7 +31773,7 @@ class ActiveRecord::Relation # User.where(name: 'Oscar').to_sql # # SELECT "users".* FROM "users" WHERE "users"."name" = 'Oscar' # - # source://activerecord/lib/active_record/relation.rb#781 + # source://activerecord//lib/active_record/relation.rb#781 def to_sql; end # Touches all records in the current relation, setting the +updated_at+/+updated_on+ attributes to the current time or the time specified. @@ -31738,13 +31800,13 @@ class ActiveRecord::Relation # Person.where(name: 'David').touch_all # # => "UPDATE \"people\" SET \"updated_at\" = '2018-01-04 22:55:23.132670' WHERE \"people\".\"name\" = 'David'" # - # source://activerecord/lib/active_record/relation.rb#609 + # source://activerecord//lib/active_record/relation.rb#609 def touch_all(*names, time: T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation.rb#538 + # source://activerecord//lib/active_record/relation.rb#538 def update(id = T.unsafe(nil), attributes); end - # source://activerecord/lib/active_record/relation.rb#546 + # source://activerecord//lib/active_record/relation.rb#546 def update!(id = T.unsafe(nil), attributes); end # Updates all records in the current relation with details given. This method constructs a single SQL UPDATE @@ -31778,7 +31840,7 @@ class ActiveRecord::Relation # # @raise [ArgumentError] # - # source://activerecord/lib/active_record/relation.rb#507 + # source://activerecord//lib/active_record/relation.rb#507 def update_all(updates); end # Updates the counters of the records in the current relation. @@ -31794,13 +31856,13 @@ class ActiveRecord::Relation # # For Posts by a given author increment the comment_count by 1. # Post.where(author_id: author.id).update_counters(comment_count: 1) # - # source://activerecord/lib/active_record/relation.rb#566 + # source://activerecord//lib/active_record/relation.rb#566 def update_counters(counters); end - # source://activerecord/lib/active_record/relation.rb#848 + # source://activerecord//lib/active_record/relation.rb#848 def values; end - # source://activerecord/lib/active_record/relation.rb#852 + # source://activerecord//lib/active_record/relation.rb#852 def values_for_queries; end # Returns a hash of where conditions. @@ -31808,130 +31870,130 @@ class ActiveRecord::Relation # User.where(name: 'Oscar').where_values_hash # # => {name: "Oscar"} # - # source://activerecord/lib/active_record/relation.rb#797 + # source://activerecord//lib/active_record/relation.rb#797 def where_values_hash(relation_table_name = T.unsafe(nil)); end protected - # source://activerecord/lib/active_record/relation.rb#897 + # source://activerecord//lib/active_record/relation.rb#897 def load_records(records); end private - # source://activerecord/lib/active_record/relation.rb#923 + # source://activerecord//lib/active_record/relation.rb#923 def _create(attributes, &block); end - # source://activerecord/lib/active_record/relation.rb#927 + # source://activerecord//lib/active_record/relation.rb#927 def _create!(attributes, &block); end - # source://activerecord/lib/active_record/relation.rb#958 + # source://activerecord//lib/active_record/relation.rb#958 def _increment_attribute(attribute, value = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation.rb#919 + # source://activerecord//lib/active_record/relation.rb#919 def _new(attributes, &block); end - # source://activerecord/lib/active_record/relation.rb#931 + # source://activerecord//lib/active_record/relation.rb#931 def _scoping(scope, registry, all_queries = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation.rb#947 + # source://activerecord//lib/active_record/relation.rb#947 def _substitute_values(values); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#903 + # source://activerecord//lib/active_record/relation.rb#903 def already_in_scope?(registry); end - # source://activerecord/lib/active_record/relation.rb#364 + # source://activerecord//lib/active_record/relation.rb#364 def compute_cache_key(timestamp_column = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation.rb#393 + # source://activerecord//lib/active_record/relation.rb#393 def compute_cache_version(timestamp_column); end - # source://activerecord/lib/active_record/relation.rb#911 + # source://activerecord//lib/active_record/relation.rb#911 def current_scope_restoring_block(&block); end - # source://activerecord/lib/active_record/relation.rb#985 + # source://activerecord//lib/active_record/relation.rb#985 def exec_main_query(async: T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation.rb#965 + # source://activerecord//lib/active_record/relation.rb#965 def exec_queries(&block); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#907 + # source://activerecord//lib/active_record/relation.rb#907 def global_scope?(registry); end - # source://activerecord/lib/active_record/relation.rb#41 + # source://activerecord//lib/active_record/relation.rb#41 def initialize_copy(other); end - # source://activerecord/lib/active_record/relation.rb#1013 + # source://activerecord//lib/active_record/relation.rb#1013 def instantiate_records(rows, &block); end - # source://activerecord/lib/active_record/relation.rb#1056 + # source://activerecord//lib/active_record/relation.rb#1056 def limited_count; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#1032 + # source://activerecord//lib/active_record/relation.rb#1032 def references_eager_loaded_tables?; end - # source://activerecord/lib/active_record/relation.rb#1024 + # source://activerecord//lib/active_record/relation.rb#1024 def skip_query_cache_if_necessary(&block); end - # source://activerecord/lib/active_record/relation.rb#1049 + # source://activerecord//lib/active_record/relation.rb#1049 def tables_in_string(string); end end -# source://activerecord/lib/active_record/relation.rb#14 +# source://activerecord//lib/active_record/relation.rb#14 ActiveRecord::Relation::CLAUSE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/from_clause.rb#5 +# source://activerecord//lib/active_record/relation/from_clause.rb#5 class ActiveRecord::Relation::FromClause # @return [FromClause] a new instance of FromClause # - # source://activerecord/lib/active_record/relation/from_clause.rb#8 + # source://activerecord//lib/active_record/relation/from_clause.rb#8 def initialize(value, name); end - # source://activerecord/lib/active_record/relation/from_clause.rb#21 + # source://activerecord//lib/active_record/relation/from_clause.rb#21 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/from_clause.rb#17 + # source://activerecord//lib/active_record/relation/from_clause.rb#17 def empty?; end - # source://activerecord/lib/active_record/relation/from_clause.rb#13 + # source://activerecord//lib/active_record/relation/from_clause.rb#13 def merge(other); end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/relation/from_clause.rb#6 + # source://activerecord//lib/active_record/relation/from_clause.rb#6 def name; end # Returns the value of attribute value. # - # source://activerecord/lib/active_record/relation/from_clause.rb#6 + # source://activerecord//lib/active_record/relation/from_clause.rb#6 def value; end class << self - # source://activerecord/lib/active_record/relation/from_clause.rb#25 + # source://activerecord//lib/active_record/relation/from_clause.rb#25 def empty; end end end -# source://activerecord/lib/active_record/relation/merger.rb#7 +# source://activerecord//lib/active_record/relation/merger.rb#7 class ActiveRecord::Relation::HashMerger # @return [HashMerger] a new instance of HashMerger # - # source://activerecord/lib/active_record/relation/merger.rb#10 + # source://activerecord//lib/active_record/relation/merger.rb#10 def initialize(relation, hash, rewhere = T.unsafe(nil)); end # Returns the value of attribute hash. # - # source://activerecord/lib/active_record/relation/merger.rb#8 + # source://activerecord//lib/active_record/relation/merger.rb#8 def hash; end - # source://activerecord/lib/active_record/relation/merger.rb#18 + # source://activerecord//lib/active_record/relation/merger.rb#18 def merge; end # Applying values to a relation has some side effects. E.g. @@ -31939,256 +32001,256 @@ class ActiveRecord::Relation::HashMerger # build a relation to merge in rather than directly merging # the values. # - # source://activerecord/lib/active_record/relation/merger.rb#26 + # source://activerecord//lib/active_record/relation/merger.rb#26 def other; end # Returns the value of attribute relation. # - # source://activerecord/lib/active_record/relation/merger.rb#8 + # source://activerecord//lib/active_record/relation/merger.rb#8 def relation; end end -# source://activerecord/lib/active_record/relation.rb#15 +# source://activerecord//lib/active_record/relation.rb#15 ActiveRecord::Relation::INVALID_METHODS_FOR_DELETE_ALL = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation.rb#6 +# source://activerecord//lib/active_record/relation.rb#6 ActiveRecord::Relation::MULTI_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/merger.rb#44 +# source://activerecord//lib/active_record/relation/merger.rb#44 class ActiveRecord::Relation::Merger # @return [Merger] a new instance of Merger # - # source://activerecord/lib/active_record/relation/merger.rb#47 + # source://activerecord//lib/active_record/relation/merger.rb#47 def initialize(relation, other, rewhere = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/merger.rb#60 + # source://activerecord//lib/active_record/relation/merger.rb#60 def merge; end # Returns the value of attribute other. # - # source://activerecord/lib/active_record/relation/merger.rb#45 + # source://activerecord//lib/active_record/relation/merger.rb#45 def other; end # Returns the value of attribute relation. # - # source://activerecord/lib/active_record/relation/merger.rb#45 + # source://activerecord//lib/active_record/relation/merger.rb#45 def relation; end # Returns the value of attribute values. # - # source://activerecord/lib/active_record/relation/merger.rb#45 + # source://activerecord//lib/active_record/relation/merger.rb#45 def values; end private - # source://activerecord/lib/active_record/relation/merger.rb#178 + # source://activerecord//lib/active_record/relation/merger.rb#178 def merge_clauses; end - # source://activerecord/lib/active_record/relation/merger.rb#119 + # source://activerecord//lib/active_record/relation/merger.rb#119 def merge_joins; end - # source://activerecord/lib/active_record/relation/merger.rb#157 + # source://activerecord//lib/active_record/relation/merger.rb#157 def merge_multi_values; end - # source://activerecord/lib/active_record/relation/merger.rb#138 + # source://activerecord//lib/active_record/relation/merger.rb#138 def merge_outer_joins; end - # source://activerecord/lib/active_record/relation/merger.rb#98 + # source://activerecord//lib/active_record/relation/merger.rb#98 def merge_preloads; end - # source://activerecord/lib/active_record/relation/merger.rb#86 + # source://activerecord//lib/active_record/relation/merger.rb#86 def merge_select_values; end - # source://activerecord/lib/active_record/relation/merger.rb#170 + # source://activerecord//lib/active_record/relation/merger.rb#170 def merge_single_values; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/merger.rb#188 + # source://activerecord//lib/active_record/relation/merger.rb#188 def replace_from_clause?; end end -# source://activerecord/lib/active_record/relation/merger.rb#54 +# source://activerecord//lib/active_record/relation/merger.rb#54 ActiveRecord::Relation::Merger::NORMAL_VALUES = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/query_attribute.rb#7 +# source://activerecord//lib/active_record/relation/query_attribute.rb#7 class ActiveRecord::Relation::QueryAttribute < ::ActiveModel::Attribute # @return [QueryAttribute] a new instance of QueryAttribute # - # source://activerecord/lib/active_record/relation/query_attribute.rb#8 + # source://activerecord//lib/active_record/relation/query_attribute.rb#8 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/query_attribute.rb#53 + # source://activerecord//lib/active_record/relation/query_attribute.rb#53 def ==(other); end - # source://activerecord/lib/active_record/relation/query_attribute.rb#53 + # source://activerecord//lib/active_record/relation/query_attribute.rb#56 def eql?(other); end - # source://activerecord/lib/active_record/relation/query_attribute.rb#58 + # source://activerecord//lib/active_record/relation/query_attribute.rb#58 def hash; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_attribute.rb#42 + # source://activerecord//lib/active_record/relation/query_attribute.rb#42 def infinite?; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_attribute.rb#35 + # source://activerecord//lib/active_record/relation/query_attribute.rb#35 def nil?; end - # source://activerecord/lib/active_record/relation/query_attribute.rb#22 + # source://activerecord//lib/active_record/relation/query_attribute.rb#22 def type_cast(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_attribute.rb#46 + # source://activerecord//lib/active_record/relation/query_attribute.rb#46 def unboundable?; end - # source://activerecord/lib/active_record/relation/query_attribute.rb#26 + # source://activerecord//lib/active_record/relation/query_attribute.rb#26 def value_for_database; end - # source://activerecord/lib/active_record/relation/query_attribute.rb#31 + # source://activerecord//lib/active_record/relation/query_attribute.rb#31 def with_cast_value(value); end private # @return [Boolean] # - # source://activerecord/lib/active_record/relation/query_attribute.rb#63 + # source://activerecord//lib/active_record/relation/query_attribute.rb#63 def infinity?(value); end end -# source://activerecord/lib/active_record/relation.rb#11 +# source://activerecord//lib/active_record/relation.rb#11 ActiveRecord::Relation::SINGLE_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation.rb#877 +# source://activerecord//lib/active_record/relation.rb#877 class ActiveRecord::Relation::StrictLoadingScope class << self # @return [Boolean] # - # source://activerecord/lib/active_record/relation.rb#878 + # source://activerecord//lib/active_record/relation.rb#878 def empty_scope?; end - # source://activerecord/lib/active_record/relation.rb#882 + # source://activerecord//lib/active_record/relation.rb#882 def strict_loading_value; end end end -# source://activerecord/lib/active_record/relation.rb#17 +# source://activerecord//lib/active_record/relation.rb#17 ActiveRecord::Relation::VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/relation/where_clause.rb#7 +# source://activerecord//lib/active_record/relation/where_clause.rb#7 class ActiveRecord::Relation::WhereClause # @return [WhereClause] a new instance of WhereClause # - # source://activerecord/lib/active_record/relation/where_clause.rb#10 + # source://activerecord//lib/active_record/relation/where_clause.rb#10 def initialize(predicates); end - # source://activerecord/lib/active_record/relation/where_clause.rb#14 + # source://activerecord//lib/active_record/relation/where_clause.rb#14 def +(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#18 + # source://activerecord//lib/active_record/relation/where_clause.rb#18 def -(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#75 + # source://activerecord//lib/active_record/relation/where_clause.rb#75 def ==(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#8 + # source://activerecord//lib/active_record/relation/where_clause.rb#8 def any?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/where_clause.rb#70 + # source://activerecord//lib/active_record/relation/where_clause.rb#70 def ast; end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/where_clause.rb#99 + # source://activerecord//lib/active_record/relation/where_clause.rb#99 def contradiction?; end - # source://activerecord/lib/active_record/relation/where_clause.rb#8 + # source://activerecord//lib/active_record/relation/where_clause.rb#8 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/relation/where_clause.rb#75 + # source://activerecord//lib/active_record/relation/where_clause.rb#79 def eql?(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#36 + # source://activerecord//lib/active_record/relation/where_clause.rb#36 def except(*columns); end - # source://activerecord/lib/active_record/relation/where_clause.rb#110 + # source://activerecord//lib/active_record/relation/where_clause.rb#110 def extract_attributes; end - # source://activerecord/lib/active_record/relation/where_clause.rb#81 + # source://activerecord//lib/active_record/relation/where_clause.rb#81 def hash; end - # source://activerecord/lib/active_record/relation/where_clause.rb#85 + # source://activerecord//lib/active_record/relation/where_clause.rb#85 def invert; end - # source://activerecord/lib/active_record/relation/where_clause.rb#26 + # source://activerecord//lib/active_record/relation/where_clause.rb#26 def merge(other, rewhere = T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/where_clause.rb#40 + # source://activerecord//lib/active_record/relation/where_clause.rb#40 def or(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#61 + # source://activerecord//lib/active_record/relation/where_clause.rb#61 def to_h(table_name = T.unsafe(nil), equality_only: T.unsafe(nil)); end - # source://activerecord/lib/active_record/relation/where_clause.rb#22 + # source://activerecord//lib/active_record/relation/where_clause.rb#22 def |(other); end protected # Returns the value of attribute predicates. # - # source://activerecord/lib/active_record/relation/where_clause.rb#117 + # source://activerecord//lib/active_record/relation/where_clause.rb#117 def predicates; end - # source://activerecord/lib/active_record/relation/where_clause.rb#119 + # source://activerecord//lib/active_record/relation/where_clause.rb#119 def referenced_columns; end private - # source://activerecord/lib/active_record/relation/where_clause.rb#126 + # source://activerecord//lib/active_record/relation/where_clause.rb#126 def each_attributes; end - # source://activerecord/lib/active_record/relation/where_clause.rb#145 + # source://activerecord//lib/active_record/relation/where_clause.rb#145 def equalities(predicates, equality_only); end # @return [Boolean] # - # source://activerecord/lib/active_record/relation/where_clause.rb#171 + # source://activerecord//lib/active_record/relation/where_clause.rb#171 def equality_node?(node); end - # source://activerecord/lib/active_record/relation/where_clause.rb#186 + # source://activerecord//lib/active_record/relation/where_clause.rb#186 def except_predicates(columns); end - # source://activerecord/lib/active_record/relation/where_clause.rb#136 + # source://activerecord//lib/active_record/relation/where_clause.rb#136 def extract_attribute(node); end - # source://activerecord/lib/active_record/relation/where_clause.rb#221 + # source://activerecord//lib/active_record/relation/where_clause.rb#221 def extract_node_value(node); end - # source://activerecord/lib/active_record/relation/where_clause.rb#175 + # source://activerecord//lib/active_record/relation/where_clause.rb#175 def invert_predicate(node); end - # source://activerecord/lib/active_record/relation/where_clause.rb#210 + # source://activerecord//lib/active_record/relation/where_clause.rb#210 def non_empty_predicates; end - # source://activerecord/lib/active_record/relation/where_clause.rb#159 + # source://activerecord//lib/active_record/relation/where_clause.rb#159 def predicates_unreferenced_by(other); end - # source://activerecord/lib/active_record/relation/where_clause.rb#199 + # source://activerecord//lib/active_record/relation/where_clause.rb#199 def predicates_with_wrapped_sql_literals; end - # source://activerecord/lib/active_record/relation/where_clause.rb#214 + # source://activerecord//lib/active_record/relation/where_clause.rb#214 def wrap_sql_literal(node); end class << self - # source://activerecord/lib/active_record/relation/where_clause.rb#95 + # source://activerecord//lib/active_record/relation/where_clause.rb#95 def empty; end end end -# source://activerecord/lib/active_record/relation/where_clause.rb#209 +# source://activerecord//lib/active_record/relation/where_clause.rb#209 ActiveRecord::Relation::WhereClause::ARRAY_WITH_EMPTY_STRING = T.let(T.unsafe(nil), Array) # = Active Record \Result @@ -32223,32 +32285,32 @@ ActiveRecord::Relation::WhereClause::ARRAY_WITH_EMPTY_STRING = T.let(T.unsafe(ni # puts row['title'] + " " + row['body'] # end # -# source://activerecord/lib/active_record/result.rb#36 +# source://activerecord//lib/active_record/result.rb#36 class ActiveRecord::Result include ::Enumerable # @return [Result] a new instance of Result # - # source://activerecord/lib/active_record/result.rb#49 + # source://activerecord//lib/active_record/result.rb#49 def initialize(columns, rows, column_types = T.unsafe(nil)); end - # source://activerecord/lib/active_record/result.rb#90 + # source://activerecord//lib/active_record/result.rb#90 def [](idx); end - # source://activerecord/lib/active_record/result.rb#103 + # source://activerecord//lib/active_record/result.rb#103 def cancel; end - # source://activerecord/lib/active_record/result.rb#107 + # source://activerecord//lib/active_record/result.rb#107 def cast_values(type_overrides = T.unsafe(nil)); end # Returns the value of attribute column_types. # - # source://activerecord/lib/active_record/result.rb#39 + # source://activerecord//lib/active_record/result.rb#39 def column_types; end # Returns the value of attribute columns. # - # source://activerecord/lib/active_record/result.rb#39 + # source://activerecord//lib/active_record/result.rb#39 def columns; end # Calls the given block once for each element in row collection, passing @@ -32256,75 +32318,75 @@ class ActiveRecord::Result # # Returns an +Enumerator+ if no block is given. # - # source://activerecord/lib/active_record/result.rb#70 + # source://activerecord//lib/active_record/result.rb#70 def each(&block); end # Returns true if there are no records, otherwise false. # # @return [Boolean] # - # source://activerecord/lib/active_record/result.rb#79 + # source://activerecord//lib/active_record/result.rb#79 def empty?; end - # source://activerecord/lib/active_record/result.rb#140 + # source://activerecord//lib/active_record/result.rb#140 def freeze; end # Returns true if this result set includes the column named +name+ # # @return [Boolean] # - # source://activerecord/lib/active_record/result.rb#57 + # source://activerecord//lib/active_record/result.rb#57 def includes_column?(name); end # Returns the last record from the rows collection. # - # source://activerecord/lib/active_record/result.rb#95 + # source://activerecord//lib/active_record/result.rb#95 def last(n = T.unsafe(nil)); end # Returns the number of elements in the rows array. # - # source://activerecord/lib/active_record/result.rb#62 + # source://activerecord//lib/active_record/result.rb#62 def length; end - # source://activerecord/lib/active_record/result.rb#99 + # source://activerecord//lib/active_record/result.rb#99 def result; end # Returns the value of attribute rows. # - # source://activerecord/lib/active_record/result.rb#39 + # source://activerecord//lib/active_record/result.rb#39 def rows; end # Returns an array of hashes representing each row record. # - # source://activerecord/lib/active_record/result.rb#84 + # source://activerecord//lib/active_record/result.rb#88 def to_a; end # Returns an array of hashes representing each row record. # - # source://activerecord/lib/active_record/result.rb#84 + # source://activerecord//lib/active_record/result.rb#84 def to_ary; end private - # source://activerecord/lib/active_record/result.rb#146 + # source://activerecord//lib/active_record/result.rb#146 def column_type(name, index, type_overrides); end - # source://activerecord/lib/active_record/result.rb#154 + # source://activerecord//lib/active_record/result.rb#154 def hash_rows; end - # source://activerecord/lib/active_record/result.rb#133 + # source://activerecord//lib/active_record/result.rb#133 def initialize_copy(other); end class << self - # source://activerecord/lib/active_record/result.rb#41 + # source://activerecord//lib/active_record/result.rb#41 def empty(async: T.unsafe(nil)); end end end -# source://activerecord/lib/active_record/result.rb#195 +# source://activerecord//lib/active_record/result.rb#195 ActiveRecord::Result::EMPTY = T.let(T.unsafe(nil), ActiveRecord::Result) -# source://activerecord/lib/active_record/result.rb#198 +# source://activerecord//lib/active_record/result.rb#198 ActiveRecord::Result::EMPTY_ASYNC = T.let(T.unsafe(nil), ActiveRecord::FutureResult::Complete) # {ActiveRecord::Base.transaction}[rdoc-ref:Transactions::ClassMethods#transaction] @@ -32356,7 +32418,7 @@ ActiveRecord::Result::EMPTY_ASYNC = T.let(T.unsafe(nil), ActiveRecord::FutureRes # end # end # -# source://activerecord/lib/active_record/errors.rb#408 +# source://activerecord//lib/active_record/errors.rb#408 class ActiveRecord::Rollback < ::ActiveRecord::ActiveRecordError; end # This is a thread locals registry for Active Record. For example: @@ -32365,68 +32427,68 @@ class ActiveRecord::Rollback < ::ActiveRecord::ActiveRecordError; end # # returns the connection handler local to the current unit of execution (either thread of fiber). # -# source://activerecord/lib/active_record/runtime_registry.rb#9 +# source://activerecord//lib/active_record/runtime_registry.rb#9 module ActiveRecord::RuntimeRegistry extend ::ActiveRecord::RuntimeRegistry - # source://activerecord/lib/active_record/runtime_registry.rb#20 + # source://activerecord//lib/active_record/runtime_registry.rb#20 def async_sql_runtime; end - # source://activerecord/lib/active_record/runtime_registry.rb#24 + # source://activerecord//lib/active_record/runtime_registry.rb#24 def async_sql_runtime=(runtime); end - # source://activerecord/lib/active_record/runtime_registry.rb#28 + # source://activerecord//lib/active_record/runtime_registry.rb#28 def reset; end - # source://activerecord/lib/active_record/runtime_registry.rb#12 + # source://activerecord//lib/active_record/runtime_registry.rb#12 def sql_runtime; end - # source://activerecord/lib/active_record/runtime_registry.rb#16 + # source://activerecord//lib/active_record/runtime_registry.rb#16 def sql_runtime=(runtime); end end # Raised when a statement produces an SQL warning. # -# source://activerecord/lib/active_record/errors.rb#284 +# source://activerecord//lib/active_record/errors.rb#284 class ActiveRecord::SQLWarning < ::ActiveRecord::AdapterError # @return [SQLWarning] a new instance of SQLWarning # - # source://activerecord/lib/active_record/errors.rb#288 + # source://activerecord//lib/active_record/errors.rb#288 def initialize(message = T.unsafe(nil), code = T.unsafe(nil), level = T.unsafe(nil), sql = T.unsafe(nil), connection_pool = T.unsafe(nil)); end # Returns the value of attribute code. # - # source://activerecord/lib/active_record/errors.rb#285 + # source://activerecord//lib/active_record/errors.rb#285 def code; end # Returns the value of attribute level. # - # source://activerecord/lib/active_record/errors.rb#285 + # source://activerecord//lib/active_record/errors.rb#285 def level; end # Returns the value of attribute sql. # - # source://activerecord/lib/active_record/errors.rb#286 + # source://activerecord//lib/active_record/errors.rb#286 def sql; end # Sets the attribute sql # # @param value the value to set the attribute sql to. # - # source://activerecord/lib/active_record/errors.rb#286 + # source://activerecord//lib/active_record/errors.rb#286 def sql=(_arg0); end end -# source://activerecord/lib/active_record/sanitization.rb#4 +# source://activerecord//lib/active_record/sanitization.rb#4 module ActiveRecord::Sanitization extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Sanitization::ClassMethods end -# source://activerecord/lib/active_record/sanitization.rb#7 +# source://activerecord//lib/active_record/sanitization.rb#7 module ActiveRecord::Sanitization::ClassMethods - # source://activerecord/lib/active_record/sanitization.rb#176 + # source://activerecord//lib/active_record/sanitization.rb#176 def disallow_raw_sql!(args, permit: T.unsafe(nil)); end # Accepts an array of SQL conditions and sanitizes them into a valid @@ -32455,7 +32517,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_conditions(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord/lib/active_record/sanitization.rb#33 + # source://activerecord//lib/active_record/sanitization.rb#41 def sanitize_sql(condition); end # Accepts an array of conditions. The array has each value @@ -32483,7 +32545,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_array(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord/lib/active_record/sanitization.rb#163 + # source://activerecord//lib/active_record/sanitization.rb#163 def sanitize_sql_array(ary); end # Accepts an array or hash of SQL conditions and sanitizes them into @@ -32512,7 +32574,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_assignment(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord/lib/active_record/sanitization.rb#68 + # source://activerecord//lib/active_record/sanitization.rb#68 def sanitize_sql_for_assignment(assignments, default_table_name = T.unsafe(nil)); end # Accepts an array of SQL conditions and sanitizes them into a valid @@ -32541,7 +32603,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_conditions(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord/lib/active_record/sanitization.rb#33 + # source://activerecord//lib/active_record/sanitization.rb#33 def sanitize_sql_for_conditions(condition); end # Accepts an array, or string of SQL conditions and sanitizes @@ -32553,7 +32615,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_order("id ASC") # # => "id ASC" # - # source://activerecord/lib/active_record/sanitization.rb#84 + # source://activerecord//lib/active_record/sanitization.rb#84 def sanitize_sql_for_order(condition); end # Sanitizes a hash of attribute/value pairs into SQL conditions for a SET clause. @@ -32561,7 +32623,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_hash_for_assignment({ status: nil, group_id: 1 }, "posts") # # => "`posts`.`status` = NULL, `posts`.`group_id` = 1" # - # source://activerecord/lib/active_record/sanitization.rb#107 + # source://activerecord//lib/active_record/sanitization.rb#107 def sanitize_sql_hash_for_assignment(attrs, table); end # Sanitizes a +string+ so that it is safe to use within an SQL @@ -32580,24 +32642,24 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_like("snake_cased_string", "!") # # => "snake!_cased!_string" # - # source://activerecord/lib/active_record/sanitization.rb#131 + # source://activerecord//lib/active_record/sanitization.rb#131 def sanitize_sql_like(string, escape_character = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/sanitization.rb#227 + # source://activerecord//lib/active_record/sanitization.rb#227 def quote_bound_value(value, c = T.unsafe(nil)); end - # source://activerecord/lib/active_record/sanitization.rb#241 + # source://activerecord//lib/active_record/sanitization.rb#241 def raise_if_bind_arity_mismatch(statement, expected, provided); end - # source://activerecord/lib/active_record/sanitization.rb#205 + # source://activerecord//lib/active_record/sanitization.rb#205 def replace_bind_variable(value, c = T.unsafe(nil)); end - # source://activerecord/lib/active_record/sanitization.rb#196 + # source://activerecord//lib/active_record/sanitization.rb#196 def replace_bind_variables(statement, values); end - # source://activerecord/lib/active_record/sanitization.rb#213 + # source://activerecord//lib/active_record/sanitization.rb#213 def replace_named_bind_variables(statement, bind_vars); end end @@ -32630,28 +32692,28 @@ end # ActiveRecord::Schema is only supported by database adapters that also # support migrations, the two features being very similar. # -# source://activerecord/lib/active_record/schema.rb#32 +# source://activerecord//lib/active_record/schema.rb#32 class ActiveRecord::Schema < ::ActiveRecord::Migration::Current include ::ActiveRecord::Schema::Definition extend ::ActiveRecord::Schema::Definition::ClassMethods class << self - # source://activerecord/lib/active_record/schema.rb#68 + # source://activerecord//lib/active_record/schema.rb#68 def [](version); end end end -# source://activerecord/lib/active_record/schema.rb#33 +# source://activerecord//lib/active_record/schema.rb#33 module ActiveRecord::Schema::Definition extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Schema::Definition::ClassMethods - # source://activerecord/lib/active_record/schema.rb#54 + # source://activerecord//lib/active_record/schema.rb#54 def define(info, &block); end end -# source://activerecord/lib/active_record/schema.rb#36 +# source://activerecord//lib/active_record/schema.rb#36 module ActiveRecord::Schema::Definition::ClassMethods # Eval the given block. All methods available to the current connection # adapter are available within the block, so you can easily use the @@ -32666,7 +32728,7 @@ module ActiveRecord::Schema::Definition::ClassMethods # ... # end # - # source://activerecord/lib/active_record/schema.rb#49 + # source://activerecord//lib/active_record/schema.rb#49 def define(info = T.unsafe(nil), &block); end end @@ -32675,188 +32737,189 @@ end # This class is used to dump the database schema for some connection to some # output format (i.e., ActiveRecord::Schema). # -# source://activerecord/lib/active_record/schema_dumper.rb#10 +# source://activerecord//lib/active_record/schema_dumper.rb#10 class ActiveRecord::SchemaDumper # @return [SchemaDumper] a new instance of SchemaDumper # - # source://activerecord/lib/active_record/schema_dumper.rb#71 + # source://activerecord//lib/active_record/schema_dumper.rb#71 def initialize(connection, options = T.unsafe(nil)); end # :singleton-method: # Specify a custom regular expression matching check constraints which name # should not be dumped to db/schema.rb. # - # source://activerecord/lib/active_record/schema_dumper.rb#29 + # source://activerecord//lib/active_record/schema_dumper.rb#29 def chk_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#29 + # source://activerecord//lib/active_record/schema_dumper.rb#29 def chk_ignore_pattern=(val); end - # source://activerecord/lib/active_record/schema_dumper.rb#58 + # source://activerecord//lib/active_record/schema_dumper.rb#58 def dump(stream); end # :singleton-method: # Specify a custom regular expression matching exclusion constraints which name # should not be dumped to db/schema.rb. # - # source://activerecord/lib/active_record/schema_dumper.rb#35 + # source://activerecord//lib/active_record/schema_dumper.rb#35 def excl_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#35 + # source://activerecord//lib/active_record/schema_dumper.rb#35 def excl_ignore_pattern=(val); end # :singleton-method: # Specify a custom regular expression matching foreign keys which name # should not be dumped to db/schema.rb. # - # source://activerecord/lib/active_record/schema_dumper.rb#23 + # source://activerecord//lib/active_record/schema_dumper.rb#23 def fk_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#23 + # source://activerecord//lib/active_record/schema_dumper.rb#23 def fk_ignore_pattern=(val); end # :singleton-method: # A list of tables which should not be dumped to the schema. # Acceptable values are strings and regexps. # - # source://activerecord/lib/active_record/schema_dumper.rb#17 + # source://activerecord//lib/active_record/schema_dumper.rb#17 def ignore_tables; end - # source://activerecord/lib/active_record/schema_dumper.rb#17 + # source://activerecord//lib/active_record/schema_dumper.rb#17 def ignore_tables=(val); end # :singleton-method: # Specify a custom regular expression matching unique constraints which name # should not be dumped to db/schema.rb. # - # source://activerecord/lib/active_record/schema_dumper.rb#41 + # source://activerecord//lib/active_record/schema_dumper.rb#41 def unique_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#41 + # source://activerecord//lib/active_record/schema_dumper.rb#41 def unique_ignore_pattern=(val); end private - # source://activerecord/lib/active_record/schema_dumper.rb#263 + # source://activerecord//lib/active_record/schema_dumper.rb#263 def check_constraints_in_create(table, stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#89 + # source://activerecord//lib/active_record/schema_dumper.rb#89 def define_params; end # extensions are only supported by PostgreSQL # - # source://activerecord/lib/active_record/schema_dumper.rb#116 + # source://activerecord//lib/active_record/schema_dumper.rb#116 def extensions(stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#283 + # source://activerecord//lib/active_record/schema_dumper.rb#283 def foreign_keys(table, stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#315 + # source://activerecord//lib/active_record/schema_dumper.rb#315 def format_colspec(colspec); end - # source://activerecord/lib/active_record/schema_dumper.rb#325 + # source://activerecord//lib/active_record/schema_dumper.rb#325 def format_index_parts(options); end - # source://activerecord/lib/active_record/schema_dumper.rb#321 + # source://activerecord//lib/active_record/schema_dumper.rb#321 def format_options(options); end # turns 20170404131909 into "2017_04_04_131909" # - # source://activerecord/lib/active_record/schema_dumper.rb#83 + # source://activerecord//lib/active_record/schema_dumper.rb#83 def formatted_version; end - # source://activerecord/lib/active_record/schema_dumper.rb#93 + # source://activerecord//lib/active_record/schema_dumper.rb#93 def header(stream); end # @return [Boolean] # - # source://activerecord/lib/active_record/schema_dumper.rb#343 + # source://activerecord//lib/active_record/schema_dumper.rb#343 def ignored?(table_name); end - # source://activerecord/lib/active_record/schema_dumper.rb#245 + # source://activerecord//lib/active_record/schema_dumper.rb#245 def index_parts(index); end # Keep it for indexing materialized views # - # source://activerecord/lib/active_record/schema_dumper.rb#212 + # source://activerecord//lib/active_record/schema_dumper.rb#212 def indexes(table, stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#224 + # source://activerecord//lib/active_record/schema_dumper.rb#224 def indexes_in_create(table, stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#333 + # source://activerecord//lib/active_record/schema_dumper.rb#333 def remove_prefix_and_suffix(table); end # schemas are only supported by PostgreSQL # - # source://activerecord/lib/active_record/schema_dumper.rb#124 + # source://activerecord//lib/active_record/schema_dumper.rb#124 def schemas(stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#142 + # source://activerecord//lib/active_record/schema_dumper.rb#142 def table(table, stream); end # Returns the value of attribute table_name. # - # source://activerecord/lib/active_record/schema_dumper.rb#69 + # source://activerecord//lib/active_record/schema_dumper.rb#69 def table_name; end # Sets the attribute table_name # # @param value the value to set the attribute table_name to. # - # source://activerecord/lib/active_record/schema_dumper.rb#69 + # source://activerecord//lib/active_record/schema_dumper.rb#69 def table_name=(_arg0); end - # source://activerecord/lib/active_record/schema_dumper.rb#127 + # source://activerecord//lib/active_record/schema_dumper.rb#127 def tables(stream); end - # source://activerecord/lib/active_record/schema_dumper.rb#111 + # source://activerecord//lib/active_record/schema_dumper.rb#111 def trailer(stream); end # (enum) types are only supported by PostgreSQL # - # source://activerecord/lib/active_record/schema_dumper.rb#120 + # source://activerecord//lib/active_record/schema_dumper.rb#120 def types(stream); end class << self - # source://activerecord/lib/active_record/schema_dumper.rb#29 + # source://activerecord//lib/active_record/schema_dumper.rb#29 def chk_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#29 + # source://activerecord//lib/active_record/schema_dumper.rb#29 def chk_ignore_pattern=(val); end - # source://activerecord/lib/active_record/schema_dumper.rb#44 + # source://activerecord//lib/active_record/schema_dumper.rb#44 def dump(connection = T.unsafe(nil), stream = T.unsafe(nil), config = T.unsafe(nil)); end - # source://activerecord/lib/active_record/schema_dumper.rb#35 + # source://activerecord//lib/active_record/schema_dumper.rb#35 def excl_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#35 + # source://activerecord//lib/active_record/schema_dumper.rb#35 def excl_ignore_pattern=(val); end - # source://activerecord/lib/active_record/schema_dumper.rb#23 + # source://activerecord//lib/active_record/schema_dumper.rb#23 def fk_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#23 + # source://activerecord//lib/active_record/schema_dumper.rb#23 def fk_ignore_pattern=(val); end - # source://activerecord/lib/active_record/schema_dumper.rb#17 + # source://activerecord//lib/active_record/schema_dumper.rb#17 def ignore_tables; end - # source://activerecord/lib/active_record/schema_dumper.rb#17 + # source://activerecord//lib/active_record/schema_dumper.rb#17 def ignore_tables=(val); end - # source://activerecord/lib/active_record/schema_dumper.rb#41 + # source://activerecord//lib/active_record/schema_dumper.rb#41 def unique_ignore_pattern; end - # source://activerecord/lib/active_record/schema_dumper.rb#41 + # source://activerecord//lib/active_record/schema_dumper.rb#41 def unique_ignore_pattern=(val); end private - # source://activerecord/lib/active_record/schema_dumper.rb#50 + # source://activerecord//lib/active_record/schema_dumper.rb#50 def generate_options(config); end + # source://activerecord//lib/active_record/schema_dumper.rb#11 def new(*_arg0); end end end @@ -32866,71 +32929,71 @@ end # number is inserted in to the schema migrations table so it doesn't need # to be executed the next time. # -# source://activerecord/lib/active_record/schema_migration.rb#8 +# source://activerecord//lib/active_record/schema_migration.rb#8 class ActiveRecord::SchemaMigration # @return [SchemaMigration] a new instance of SchemaMigration # - # source://activerecord/lib/active_record/schema_migration.rb#14 + # source://activerecord//lib/active_record/schema_migration.rb#14 def initialize(connection); end # Returns the value of attribute arel_table. # - # source://activerecord/lib/active_record/schema_migration.rb#12 + # source://activerecord//lib/active_record/schema_migration.rb#12 def arel_table; end # Returns the value of attribute connection. # - # source://activerecord/lib/active_record/schema_migration.rb#12 + # source://activerecord//lib/active_record/schema_migration.rb#12 def connection; end - # source://activerecord/lib/active_record/schema_migration.rb#78 + # source://activerecord//lib/active_record/schema_migration.rb#78 def count; end - # source://activerecord/lib/active_record/schema_migration.rb#46 + # source://activerecord//lib/active_record/schema_migration.rb#46 def create_table; end - # source://activerecord/lib/active_record/schema_migration.rb#19 + # source://activerecord//lib/active_record/schema_migration.rb#19 def create_version(version); end - # source://activerecord/lib/active_record/schema_migration.rb#32 + # source://activerecord//lib/active_record/schema_migration.rb#32 def delete_all_versions; end - # source://activerecord/lib/active_record/schema_migration.rb#25 + # source://activerecord//lib/active_record/schema_migration.rb#25 def delete_version(version); end - # source://activerecord/lib/active_record/schema_migration.rb#54 + # source://activerecord//lib/active_record/schema_migration.rb#54 def drop_table; end - # source://activerecord/lib/active_record/schema_migration.rb#74 + # source://activerecord//lib/active_record/schema_migration.rb#74 def integer_versions; end - # source://activerecord/lib/active_record/schema_migration.rb#58 + # source://activerecord//lib/active_record/schema_migration.rb#58 def normalize_migration_number(number); end - # source://activerecord/lib/active_record/schema_migration.rb#62 + # source://activerecord//lib/active_record/schema_migration.rb#62 def normalized_versions; end - # source://activerecord/lib/active_record/schema_migration.rb#38 + # source://activerecord//lib/active_record/schema_migration.rb#38 def primary_key; end # @return [Boolean] # - # source://activerecord/lib/active_record/schema_migration.rb#85 + # source://activerecord//lib/active_record/schema_migration.rb#85 def table_exists?; end - # source://activerecord/lib/active_record/schema_migration.rb#42 + # source://activerecord//lib/active_record/schema_migration.rb#42 def table_name; end - # source://activerecord/lib/active_record/schema_migration.rb#66 + # source://activerecord//lib/active_record/schema_migration.rb#66 def versions; end end -# source://activerecord/lib/active_record/schema_migration.rb#9 +# source://activerecord//lib/active_record/schema_migration.rb#9 class ActiveRecord::SchemaMigration::NullSchemaMigration; end # = Active Record \Named \Scopes # -# source://activerecord/lib/active_record/scoping.rb#6 +# source://activerecord//lib/active_record/scoping.rb#6 module ActiveRecord::Scoping extend ::ActiveSupport::Concern extend ::ActiveSupport::Autoload @@ -32943,10 +33006,10 @@ module ActiveRecord::Scoping mixes_in_class_methods ::ActiveRecord::Scoping::Default::ClassMethods mixes_in_class_methods ::ActiveRecord::Scoping::Named::ClassMethods - # source://activerecord/lib/active_record/scoping.rb#54 + # source://activerecord//lib/active_record/scoping.rb#54 def initialize_internals_callback; end - # source://activerecord/lib/active_record/scoping.rb#47 + # source://activerecord//lib/active_record/scoping.rb#47 def populate_with_current_scope_attributes; end module GeneratedClassMethods @@ -32962,38 +33025,38 @@ module ActiveRecord::Scoping end end -# source://activerecord/lib/active_record/scoping.rb#14 +# source://activerecord//lib/active_record/scoping.rb#14 module ActiveRecord::Scoping::ClassMethods - # source://activerecord/lib/active_record/scoping.rb#26 + # source://activerecord//lib/active_record/scoping.rb#26 def current_scope(skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping.rb#30 + # source://activerecord//lib/active_record/scoping.rb#30 def current_scope=(scope); end - # source://activerecord/lib/active_record/scoping.rb#34 + # source://activerecord//lib/active_record/scoping.rb#34 def global_current_scope(skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping.rb#38 + # source://activerecord//lib/active_record/scoping.rb#38 def global_current_scope=(scope); end # Collects attributes from scopes that should be applied when creating # an AR instance for the particular class this is called on. # - # source://activerecord/lib/active_record/scoping.rb#17 + # source://activerecord//lib/active_record/scoping.rb#17 def scope_attributes; end # Are there attributes associated with this scope? # # @return [Boolean] # - # source://activerecord/lib/active_record/scoping.rb#22 + # source://activerecord//lib/active_record/scoping.rb#22 def scope_attributes?; end - # source://activerecord/lib/active_record/scoping.rb#42 + # source://activerecord//lib/active_record/scoping.rb#42 def scope_registry; end end -# source://activerecord/lib/active_record/scoping/default.rb#14 +# source://activerecord//lib/active_record/scoping/default.rb#14 module ActiveRecord::Scoping::Default extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -33014,7 +33077,7 @@ module ActiveRecord::Scoping::Default end end -# source://activerecord/lib/active_record/scoping/default.rb#23 +# source://activerecord//lib/active_record/scoping/default.rb#23 module ActiveRecord::Scoping::Default::ClassMethods # Checks if the model has any default scopes. If all_queries # is set to true, the method will check if there are any @@ -33022,14 +33085,14 @@ module ActiveRecord::Scoping::Default::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/scoping/default.rb#62 + # source://activerecord//lib/active_record/scoping/default.rb#62 def default_scopes?(all_queries: T.unsafe(nil)); end # Are there attributes associated with this scope? # # @return [Boolean] # - # source://activerecord/lib/active_record/scoping/default.rb#55 + # source://activerecord//lib/active_record/scoping/default.rb#55 def scope_attributes?; end # Returns a scope for the model without the previously set scopes. @@ -33059,12 +33122,12 @@ module ActiveRecord::Scoping::Default::ClassMethods # Post.limit(10) # Fires "SELECT * FROM posts LIMIT 10" # } # - # source://activerecord/lib/active_record/scoping/default.rb#50 + # source://activerecord//lib/active_record/scoping/default.rb#50 def unscoped(&block); end private - # source://activerecord/lib/active_record/scoping/default.rb#145 + # source://activerecord//lib/active_record/scoping/default.rb#145 def build_default_scope(relation = T.unsafe(nil), all_queries: T.unsafe(nil)); end # Use this macro in your model to set a default scope for all operations on @@ -33126,14 +33189,14 @@ module ActiveRecord::Scoping::Default::ClassMethods # end # end # - # source://activerecord/lib/active_record/scoping/default.rb#129 + # source://activerecord//lib/active_record/scoping/default.rb#129 def default_scope(scope = T.unsafe(nil), all_queries: T.unsafe(nil), &block); end # The ignore_default_scope flag is used to prevent an infinite recursion # situation where a default scope references a scope which has a default # scope which references a scope... # - # source://activerecord/lib/active_record/scoping/default.rb#192 + # source://activerecord//lib/active_record/scoping/default.rb#192 def evaluate_default_scope; end # If all_queries is nil, only execute on select and insert queries. @@ -33144,44 +33207,44 @@ module ActiveRecord::Scoping::Default::ClassMethods # # @return [Boolean] # - # source://activerecord/lib/active_record/scoping/default.rb#177 + # source://activerecord//lib/active_record/scoping/default.rb#177 def execute_scope?(all_queries, default_scope_obj); end - # source://activerecord/lib/active_record/scoping/default.rb#185 + # source://activerecord//lib/active_record/scoping/default.rb#185 def ignore_default_scope=(ignore); end # @return [Boolean] # - # source://activerecord/lib/active_record/scoping/default.rb#181 + # source://activerecord//lib/active_record/scoping/default.rb#181 def ignore_default_scope?; end end -# source://activerecord/lib/active_record/scoping/default.rb#5 +# source://activerecord//lib/active_record/scoping/default.rb#5 class ActiveRecord::Scoping::DefaultScope # @return [DefaultScope] a new instance of DefaultScope # - # source://activerecord/lib/active_record/scoping/default.rb#8 + # source://activerecord//lib/active_record/scoping/default.rb#8 def initialize(scope, all_queries = T.unsafe(nil)); end # Returns the value of attribute all_queries. # - # source://activerecord/lib/active_record/scoping/default.rb#6 + # source://activerecord//lib/active_record/scoping/default.rb#6 def all_queries; end # Returns the value of attribute scope. # - # source://activerecord/lib/active_record/scoping/default.rb#6 + # source://activerecord//lib/active_record/scoping/default.rb#6 def scope; end end -# source://activerecord/lib/active_record/scoping/named.rb#6 +# source://activerecord//lib/active_record/scoping/named.rb#6 module ActiveRecord::Scoping::Named extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Scoping::Named::ClassMethods end -# source://activerecord/lib/active_record/scoping/named.rb#9 +# source://activerecord//lib/active_record/scoping/named.rb#9 module ActiveRecord::Scoping::Named::ClassMethods # Returns an ActiveRecord::Relation scope object. # @@ -33196,15 +33259,15 @@ module ActiveRecord::Scoping::Named::ClassMethods # You can define a scope that applies to all finders using # {default_scope}[rdoc-ref:Scoping::Default::ClassMethods#default_scope]. # - # source://activerecord/lib/active_record/scoping/named.rb#22 + # source://activerecord//lib/active_record/scoping/named.rb#22 def all(all_queries: T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping/named.rb#49 + # source://activerecord//lib/active_record/scoping/named.rb#49 def default_extensions; end # Returns a scope for the model with default scopes. # - # source://activerecord/lib/active_record/scoping/named.rb#45 + # source://activerecord//lib/active_record/scoping/named.rb#45 def default_scoped(scope = T.unsafe(nil), all_queries: T.unsafe(nil)); end # Adds a class method for retrieving and querying objects. @@ -33305,15 +33368,15 @@ module ActiveRecord::Scoping::Named::ClassMethods # Article.published.featured.latest_article # Article.featured.titles # - # source://activerecord/lib/active_record/scoping/named.rb#154 + # source://activerecord//lib/active_record/scoping/named.rb#154 def scope(name, body, &block); end - # source://activerecord/lib/active_record/scoping/named.rb#36 + # source://activerecord//lib/active_record/scoping/named.rb#36 def scope_for_association(scope = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/scoping/named.rb#192 + # source://activerecord//lib/active_record/scoping/named.rb#192 def singleton_method_added(name); end end @@ -33335,68 +33398,68 @@ end # # You will obtain whatever was defined in +some_new_scope+. # -# source://activerecord/lib/active_record/scoping.rb#76 +# source://activerecord//lib/active_record/scoping.rb#76 class ActiveRecord::Scoping::ScopeRegistry # @return [ScopeRegistry] a new instance of ScopeRegistry # - # source://activerecord/lib/active_record/scoping.rb#86 + # source://activerecord//lib/active_record/scoping.rb#86 def initialize; end - # source://activerecord/lib/active_record/scoping.rb#92 + # source://activerecord//lib/active_record/scoping.rb#92 def current_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping.rb#108 + # source://activerecord//lib/active_record/scoping.rb#108 def global_current_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping.rb#100 + # source://activerecord//lib/active_record/scoping.rb#100 def ignore_default_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord/lib/active_record/scoping.rb#96 + # source://activerecord//lib/active_record/scoping.rb#96 def set_current_scope(model, value); end - # source://activerecord/lib/active_record/scoping.rb#112 + # source://activerecord//lib/active_record/scoping.rb#112 def set_global_current_scope(model, value); end - # source://activerecord/lib/active_record/scoping.rb#104 + # source://activerecord//lib/active_record/scoping.rb#104 def set_ignore_default_scope(model, value); end private # Sets the +value+ for a given +scope_type+ and +model+. # - # source://activerecord/lib/active_record/scoping.rb#131 + # source://activerecord//lib/active_record/scoping.rb#131 def set_value_for(scope_type, model, value); end # Obtains the value for a given +scope_type+ and +model+. # - # source://activerecord/lib/active_record/scoping.rb#118 + # source://activerecord//lib/active_record/scoping.rb#118 def value_for(scope_type, model, skip_inherited_scope = T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def global_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def ignore_default_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/scoping.rb#81 + # source://activerecord//lib/active_record/scoping.rb#81 def instance; end - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def set_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def set_global_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/scoping.rb#78 + # source://activerecord//lib/active_record/scoping.rb#78 def set_ignore_default_scope(*_arg0, **_arg1, &_arg2); end end end -# source://activerecord/lib/active_record/secure_password.rb#4 +# source://activerecord//lib/active_record/secure_password.rb#4 module ActiveRecord::SecurePassword extend ::ActiveSupport::Concern include ::ActiveModel::SecurePassword @@ -33405,7 +33468,7 @@ module ActiveRecord::SecurePassword mixes_in_class_methods ::ActiveRecord::SecurePassword::ClassMethods end -# source://activerecord/lib/active_record/secure_password.rb#9 +# source://activerecord//lib/active_record/secure_password.rb#9 module ActiveRecord::SecurePassword::ClassMethods # Given a set of attributes, finds a record using the non-password # attributes, and then authenticates that record using the password @@ -33441,20 +33504,20 @@ module ActiveRecord::SecurePassword::ClassMethods # # @raise [ArgumentError] # - # source://activerecord/lib/active_record/secure_password.rb#41 + # source://activerecord//lib/active_record/secure_password.rb#41 def authenticate_by(attributes); end end -# source://activerecord/lib/active_record/secure_token.rb#4 +# source://activerecord//lib/active_record/secure_token.rb#4 module ActiveRecord::SecureToken extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::SecureToken::ClassMethods end -# source://activerecord/lib/active_record/secure_token.rb#11 +# source://activerecord//lib/active_record/secure_token.rb#11 module ActiveRecord::SecureToken::ClassMethods - # source://activerecord/lib/active_record/secure_token.rb#61 + # source://activerecord//lib/active_record/secure_token.rb#61 def generate_unique_secure_token(length: T.unsafe(nil)); end # Example using #has_secure_token @@ -33492,19 +33555,19 @@ module ActiveRecord::SecureToken::ClassMethods # config.active_record.generate_secure_token_on, which defaults to +:initialize+ # starting in \Rails 7.1. # - # source://activerecord/lib/active_record/secure_token.rb#46 + # source://activerecord//lib/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/lib/active_record/secure_token.rb#7 +# source://activerecord//lib/active_record/secure_token.rb#7 ActiveRecord::SecureToken::MINIMUM_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer) -# source://activerecord/lib/active_record/secure_token.rb#5 +# source://activerecord//lib/active_record/secure_token.rb#5 class ActiveRecord::SecureToken::MinimumLengthError < ::StandardError; end # = Active Record \Serialization # -# source://activerecord/lib/active_record/serialization.rb#5 +# source://activerecord//lib/active_record/serialization.rb#5 module ActiveRecord::Serialization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -33513,12 +33576,12 @@ module ActiveRecord::Serialization mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveModel::Naming - # source://activerecord/lib/active_record/serialization.rb#13 + # source://activerecord//lib/active_record/serialization.rb#13 def serializable_hash(options = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/serialization.rb#25 + # source://activerecord//lib/active_record/serialization.rb#25 def attribute_names_for_serialization; end module GeneratedClassMethods @@ -33539,17 +33602,17 @@ end # This is a subclass of TransactionRollbackError, please make sure to check # its documentation to be aware of its caveats. # -# source://activerecord/lib/active_record/errors.rb#517 +# source://activerecord//lib/active_record/errors.rb#517 class ActiveRecord::SerializationFailure < ::ActiveRecord::TransactionRollbackError; end # Raised when unserialized object's type mismatches one specified for serializable field. # -# source://activerecord/lib/active_record/errors.rb#41 +# source://activerecord//lib/active_record/errors.rb#41 class ActiveRecord::SerializationTypeMismatch < ::ActiveRecord::ActiveRecordError; end # = Active Record Signed Id # -# source://activerecord/lib/active_record/signed_id.rb#5 +# source://activerecord//lib/active_record/signed_id.rb#5 module ActiveRecord::SignedId extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -33574,7 +33637,7 @@ module ActiveRecord::SignedId # # @raise [ArgumentError] # - # source://activerecord/lib/active_record/signed_id.rb#112 + # source://activerecord//lib/active_record/signed_id.rb#112 def signed_id(expires_in: T.unsafe(nil), expires_at: T.unsafe(nil), purpose: T.unsafe(nil)); end module GeneratedClassMethods @@ -33589,9 +33652,9 @@ module ActiveRecord::SignedId end end -# source://activerecord/lib/active_record/signed_id.rb#16 +# source://activerecord//lib/active_record/signed_id.rb#16 module ActiveRecord::SignedId::ClassMethods - # source://activerecord/lib/active_record/signed_id.rb#92 + # source://activerecord//lib/active_record/signed_id.rb#92 def combine_signed_id_purposes(purpose); end # Lets you find a record based on a signed id that's safe to put into the world without risk of tampering. @@ -33622,7 +33685,7 @@ module ActiveRecord::SignedId::ClassMethods # # @raise [UnknownPrimaryKey] # - # source://activerecord/lib/active_record/signed_id.rb#42 + # source://activerecord//lib/active_record/signed_id.rb#42 def find_signed(signed_id, purpose: T.unsafe(nil)); end # Works like find_signed, but will raise an +ActiveSupport::MessageVerifier::InvalidSignature+ @@ -33638,47 +33701,47 @@ module ActiveRecord::SignedId::ClassMethods # User.first.destroy # User.find_signed! signed_id # => ActiveRecord::RecordNotFound # - # source://activerecord/lib/active_record/signed_id.rb#62 + # source://activerecord//lib/active_record/signed_id.rb#62 def find_signed!(signed_id, purpose: T.unsafe(nil)); end # The verifier instance that all signed ids are generated and verified from. By default, it'll be initialized # with the class-level +signed_id_verifier_secret+, which within \Rails comes from the # Rails.application.key_generator. By default, it's SHA256 for the digest and JSON for the serialization. # - # source://activerecord/lib/active_record/signed_id.rb#71 + # source://activerecord//lib/active_record/signed_id.rb#71 def signed_id_verifier; end # Allows you to pass in a custom verifier used for the signed ids. This also allows you to use different # verifiers for different classes. This is also helpful if you need to rotate keys, as you can prepare # your custom verifier for that in advance. See +ActiveSupport::MessageVerifier+ for details. # - # source://activerecord/lib/active_record/signed_id.rb#87 + # source://activerecord//lib/active_record/signed_id.rb#87 def signed_id_verifier=(verifier); end end # Raised when Active Record finds multiple records but only expected one. # -# source://activerecord/lib/active_record/errors.rb#171 +# source://activerecord//lib/active_record/errors.rb#171 class ActiveRecord::SoleRecordExceeded < ::ActiveRecord::ActiveRecordError # @return [SoleRecordExceeded] a new instance of SoleRecordExceeded # - # source://activerecord/lib/active_record/errors.rb#174 + # source://activerecord//lib/active_record/errors.rb#174 def initialize(record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/errors.rb#172 + # source://activerecord//lib/active_record/errors.rb#172 def record; end end -# source://activerecord/lib/active_record/relation/spawn_methods.rb#8 +# source://activerecord//lib/active_record/relation/spawn_methods.rb#8 module ActiveRecord::SpawnMethods # Removes from the query the condition(s) specified in +skips+. # # Post.order('id asc').except(:order) # discards the order condition # Post.where('id > 10').order('id asc').except(:where) # discards the where condition but keeps the order # - # source://activerecord/lib/active_record/relation/spawn_methods.rb#75 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#75 def except(*skips); end # Merges in the conditions from other, if other is an ActiveRecord::Relation. @@ -33702,10 +33765,10 @@ module ActiveRecord::SpawnMethods # For conditions that exist in both relations, those from other will take precedence. # To find the intersection of two relations, use QueryMethods#and. # - # source://activerecord/lib/active_record/relation/spawn_methods.rb#33 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#33 def merge(other, *rest); end - # source://activerecord/lib/active_record/relation/spawn_methods.rb#43 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#43 def merge!(other, *rest); end # Removes any condition from the query other than the one(s) specified in +onlies+. @@ -33713,15 +33776,15 @@ module ActiveRecord::SpawnMethods # Post.order('id asc').only(:where) # discards the order condition # Post.order('id asc').only(:where, :order) # uses the specified order # - # source://activerecord/lib/active_record/relation/spawn_methods.rb#83 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#83 def only(*onlies); end - # source://activerecord/lib/active_record/relation/spawn_methods.rb#9 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#9 def spawn; end private - # source://activerecord/lib/active_record/relation/spawn_methods.rb#88 + # source://activerecord//lib/active_record/relation/spawn_methods.rb#88 def relation_with(values); end end @@ -33732,21 +33795,21 @@ end # Read more about optimistic locking in ActiveRecord::Locking module # documentation. # -# source://activerecord/lib/active_record/errors.rb#350 +# source://activerecord//lib/active_record/errors.rb#350 class ActiveRecord::StaleObjectError < ::ActiveRecord::ActiveRecordError # @return [StaleObjectError] a new instance of StaleObjectError # - # source://activerecord/lib/active_record/errors.rb#353 + # source://activerecord//lib/active_record/errors.rb#353 def initialize(record = T.unsafe(nil), attempted_action = T.unsafe(nil)); end # Returns the value of attribute attempted_action. # - # source://activerecord/lib/active_record/errors.rb#351 + # source://activerecord//lib/active_record/errors.rb#351 def attempted_action; end # Returns the value of attribute record. # - # source://activerecord/lib/active_record/errors.rb#351 + # source://activerecord//lib/active_record/errors.rb#351 def record; end end @@ -33777,155 +33840,155 @@ end # # cache.execute(["my book"], Book.connection) # -# source://activerecord/lib/active_record/statement_cache.rb#30 +# source://activerecord//lib/active_record/statement_cache.rb#30 class ActiveRecord::StatementCache # @return [StatementCache] a new instance of StatementCache # - # source://activerecord/lib/active_record/statement_cache.rb#139 + # source://activerecord//lib/active_record/statement_cache.rb#139 def initialize(query_builder, bind_map, klass); end - # source://activerecord/lib/active_record/statement_cache.rb#145 + # source://activerecord//lib/active_record/statement_cache.rb#145 def execute(params, connection, &block); end private # Returns the value of attribute bind_map. # - # source://activerecord/lib/active_record/statement_cache.rb#162 + # source://activerecord//lib/active_record/statement_cache.rb#162 def bind_map; end # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/statement_cache.rb#162 + # source://activerecord//lib/active_record/statement_cache.rb#162 def klass; end # Returns the value of attribute query_builder. # - # source://activerecord/lib/active_record/statement_cache.rb#162 + # source://activerecord//lib/active_record/statement_cache.rb#162 def query_builder; end class << self - # source://activerecord/lib/active_record/statement_cache.rb#132 + # source://activerecord//lib/active_record/statement_cache.rb#132 def create(connection, callable = T.unsafe(nil), &block); end - # source://activerecord/lib/active_record/statement_cache.rb#101 + # source://activerecord//lib/active_record/statement_cache.rb#101 def partial_query(values); end - # source://activerecord/lib/active_record/statement_cache.rb#105 + # source://activerecord//lib/active_record/statement_cache.rb#105 def partial_query_collector; end - # source://activerecord/lib/active_record/statement_cache.rb#97 + # source://activerecord//lib/active_record/statement_cache.rb#97 def query(sql); end # @return [Boolean] # - # source://activerecord/lib/active_record/statement_cache.rb#155 + # source://activerecord//lib/active_record/statement_cache.rb#155 def unsupported_value?(value); end end end -# source://activerecord/lib/active_record/statement_cache.rb#113 +# source://activerecord//lib/active_record/statement_cache.rb#113 class ActiveRecord::StatementCache::BindMap # @return [BindMap] a new instance of BindMap # - # source://activerecord/lib/active_record/statement_cache.rb#114 + # source://activerecord//lib/active_record/statement_cache.rb#114 def initialize(bound_attributes); end - # source://activerecord/lib/active_record/statement_cache.rb#125 + # source://activerecord//lib/active_record/statement_cache.rb#125 def bind(values); end end -# source://activerecord/lib/active_record/statement_cache.rb#109 +# source://activerecord//lib/active_record/statement_cache.rb#109 class ActiveRecord::StatementCache::Params - # source://activerecord/lib/active_record/statement_cache.rb#110 + # source://activerecord//lib/active_record/statement_cache.rb#110 def bind; end end -# source://activerecord/lib/active_record/statement_cache.rb#43 +# source://activerecord//lib/active_record/statement_cache.rb#43 class ActiveRecord::StatementCache::PartialQuery < ::ActiveRecord::StatementCache::Query # @return [PartialQuery] a new instance of PartialQuery # - # source://activerecord/lib/active_record/statement_cache.rb#44 + # source://activerecord//lib/active_record/statement_cache.rb#44 def initialize(values); end - # source://activerecord/lib/active_record/statement_cache.rb#51 + # source://activerecord//lib/active_record/statement_cache.rb#51 def sql_for(binds, connection); end end -# source://activerecord/lib/active_record/statement_cache.rb#64 +# source://activerecord//lib/active_record/statement_cache.rb#64 class ActiveRecord::StatementCache::PartialQueryCollector # @return [PartialQueryCollector] a new instance of PartialQueryCollector # - # source://activerecord/lib/active_record/statement_cache.rb#67 + # source://activerecord//lib/active_record/statement_cache.rb#67 def initialize; end - # source://activerecord/lib/active_record/statement_cache.rb#72 + # source://activerecord//lib/active_record/statement_cache.rb#72 def <<(str); end - # source://activerecord/lib/active_record/statement_cache.rb#77 + # source://activerecord//lib/active_record/statement_cache.rb#77 def add_bind(obj); end - # source://activerecord/lib/active_record/statement_cache.rb#83 + # source://activerecord//lib/active_record/statement_cache.rb#83 def add_binds(binds, proc_for_binds = T.unsafe(nil)); end # Returns the value of attribute preparable. # - # source://activerecord/lib/active_record/statement_cache.rb#65 + # source://activerecord//lib/active_record/statement_cache.rb#65 def preparable; end # Sets the attribute preparable # # @param value the value to set the attribute preparable to. # - # source://activerecord/lib/active_record/statement_cache.rb#65 + # source://activerecord//lib/active_record/statement_cache.rb#65 def preparable=(_arg0); end - # source://activerecord/lib/active_record/statement_cache.rb#92 + # source://activerecord//lib/active_record/statement_cache.rb#92 def value; end end -# source://activerecord/lib/active_record/statement_cache.rb#33 +# source://activerecord//lib/active_record/statement_cache.rb#33 class ActiveRecord::StatementCache::Query # @return [Query] a new instance of Query # - # source://activerecord/lib/active_record/statement_cache.rb#34 + # source://activerecord//lib/active_record/statement_cache.rb#34 def initialize(sql); end - # source://activerecord/lib/active_record/statement_cache.rb#38 + # source://activerecord//lib/active_record/statement_cache.rb#38 def sql_for(binds, connection); end end -# source://activerecord/lib/active_record/statement_cache.rb#31 +# source://activerecord//lib/active_record/statement_cache.rb#31 class ActiveRecord::StatementCache::Substitute; end # Superclass for all database execution errors. # # Wraps the underlying database error as +cause+. # -# source://activerecord/lib/active_record/errors.rb#183 +# source://activerecord//lib/active_record/errors.rb#183 class ActiveRecord::StatementInvalid < ::ActiveRecord::AdapterError # @return [StatementInvalid] a new instance of StatementInvalid # - # source://activerecord/lib/active_record/errors.rb#184 + # source://activerecord//lib/active_record/errors.rb#184 def initialize(message = T.unsafe(nil), sql: T.unsafe(nil), binds: T.unsafe(nil), connection_pool: T.unsafe(nil)); end # Returns the value of attribute binds. # - # source://activerecord/lib/active_record/errors.rb#190 + # source://activerecord//lib/active_record/errors.rb#190 def binds; end - # source://activerecord/lib/active_record/errors.rb#192 + # source://activerecord//lib/active_record/errors.rb#192 def set_query(sql, binds); end # Returns the value of attribute sql. # - # source://activerecord/lib/active_record/errors.rb#190 + # source://activerecord//lib/active_record/errors.rb#190 def sql; end end # StatementTimeout will be raised when statement timeout exceeded. # -# source://activerecord/lib/active_record/errors.rb#542 +# source://activerecord//lib/active_record/errors.rb#542 class ActiveRecord::StatementTimeout < ::ActiveRecord::QueryAborted; end # = Active Record \Store @@ -34019,7 +34082,7 @@ class ActiveRecord::StatementTimeout < ::ActiveRecord::QueryAborted; end # end # end # -# source://activerecord/lib/active_record/store.rb#96 +# source://activerecord//lib/active_record/store.rb#96 module ActiveRecord::Store extend ::ActiveSupport::Concern @@ -34027,91 +34090,91 @@ module ActiveRecord::Store private - # source://activerecord/lib/active_record/store.rb#209 + # source://activerecord//lib/active_record/store.rb#209 def read_store_attribute(store_attribute, key); end - # source://activerecord/lib/active_record/store.rb#219 + # source://activerecord//lib/active_record/store.rb#219 def store_accessor_for(store_attribute); end - # source://activerecord/lib/active_record/store.rb#214 + # source://activerecord//lib/active_record/store.rb#214 def write_store_attribute(store_attribute, key, value); end end -# source://activerecord/lib/active_record/store.rb#105 +# source://activerecord//lib/active_record/store.rb#105 module ActiveRecord::Store::ClassMethods - # source://activerecord/lib/active_record/store.rb#191 + # source://activerecord//lib/active_record/store.rb#191 def _store_accessors_module; end - # source://activerecord/lib/active_record/store.rb#106 + # source://activerecord//lib/active_record/store.rb#106 def store(store_attribute, options = T.unsafe(nil)); end - # source://activerecord/lib/active_record/store.rb#112 + # source://activerecord//lib/active_record/store.rb#112 def store_accessor(store_attribute, *keys, prefix: T.unsafe(nil), suffix: T.unsafe(nil)); end - # source://activerecord/lib/active_record/store.rb#199 + # source://activerecord//lib/active_record/store.rb#199 def stored_attributes; end end -# source://activerecord/lib/active_record/store.rb#223 +# source://activerecord//lib/active_record/store.rb#223 class ActiveRecord::Store::HashAccessor class << self - # source://activerecord/lib/active_record/store.rb#234 + # source://activerecord//lib/active_record/store.rb#234 def prepare(object, attribute); end - # source://activerecord/lib/active_record/store.rb#224 + # source://activerecord//lib/active_record/store.rb#224 def read(object, attribute, key); end - # source://activerecord/lib/active_record/store.rb#229 + # source://activerecord//lib/active_record/store.rb#229 def write(object, attribute, key, value); end end end -# source://activerecord/lib/active_record/store.rb#260 +# source://activerecord//lib/active_record/store.rb#260 class ActiveRecord::Store::IndifferentCoder # @return [IndifferentCoder] a new instance of IndifferentCoder # - # source://activerecord/lib/active_record/store.rb#261 + # source://activerecord//lib/active_record/store.rb#261 def initialize(attr_name, coder_or_class_name); end - # source://activerecord/lib/active_record/store.rb#270 + # source://activerecord//lib/active_record/store.rb#270 def dump(obj); end - # source://activerecord/lib/active_record/store.rb#274 + # source://activerecord//lib/active_record/store.rb#274 def load(yaml); end private - # source://activerecord/lib/active_record/store.rb#290 + # source://activerecord//lib/active_record/store.rb#290 def as_regular_hash(obj); end class << self - # source://activerecord/lib/active_record/store.rb#278 + # source://activerecord//lib/active_record/store.rb#278 def as_indifferent_hash(obj); end end end -# source://activerecord/lib/active_record/store.rb#249 +# source://activerecord//lib/active_record/store.rb#249 class ActiveRecord::Store::IndifferentHashAccessor < ::ActiveRecord::Store::HashAccessor class << self - # source://activerecord/lib/active_record/store.rb#250 + # source://activerecord//lib/active_record/store.rb#250 def prepare(object, store_attribute); end end end -# source://activerecord/lib/active_record/store.rb#239 +# source://activerecord//lib/active_record/store.rb#239 class ActiveRecord::Store::StringKeyedHashAccessor < ::ActiveRecord::Store::HashAccessor class << self - # source://activerecord/lib/active_record/store.rb#240 + # source://activerecord//lib/active_record/store.rb#240 def read(object, attribute, key); end - # source://activerecord/lib/active_record/store.rb#244 + # source://activerecord//lib/active_record/store.rb#244 def write(object, attribute, key, value); end end end # Raised on attempt to lazily load records that are marked as strict loading. # -# source://activerecord/lib/active_record/errors.rb#377 +# source://activerecord//lib/active_record/errors.rb#377 class ActiveRecord::StrictLoadingViolationError < ::ActiveRecord::ActiveRecordError; end # Raised when the single-table inheritance mechanism fails to locate the subclass @@ -34119,7 +34182,7 @@ class ActiveRecord::StrictLoadingViolationError < ::ActiveRecord::ActiveRecordEr # {ActiveRecord::Base.inheritance_column}[rdoc-ref:ModelSchema::ClassMethods#inheritance_column] # points to). # -# source://activerecord/lib/active_record/errors.rb#22 +# source://activerecord//lib/active_record/errors.rb#22 class ActiveRecord::SubclassNotFound < ::ActiveRecord::ActiveRecordError; end # = Active Record \Suppressor @@ -34151,119 +34214,119 @@ class ActiveRecord::SubclassNotFound < ::ActiveRecord::ActiveRecordError; end # end # end # -# source://activerecord/lib/active_record/suppressor.rb#32 +# source://activerecord//lib/active_record/suppressor.rb#32 module ActiveRecord::Suppressor extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Suppressor::ClassMethods - # source://activerecord/lib/active_record/suppressor.rb#51 + # source://activerecord//lib/active_record/suppressor.rb#51 def save(**_arg0); end - # source://activerecord/lib/active_record/suppressor.rb#55 + # source://activerecord//lib/active_record/suppressor.rb#55 def save!(**_arg0); end class << self - # source://activerecord/lib/active_record/suppressor.rb#36 + # source://activerecord//lib/active_record/suppressor.rb#36 def registry; end end end -# source://activerecord/lib/active_record/suppressor.rb#41 +# source://activerecord//lib/active_record/suppressor.rb#41 module ActiveRecord::Suppressor::ClassMethods - # source://activerecord/lib/active_record/suppressor.rb#42 + # source://activerecord//lib/active_record/suppressor.rb#42 def suppress(&block); end end -# source://activerecord/lib/active_record/table_metadata.rb#4 +# source://activerecord//lib/active_record/table_metadata.rb#4 class ActiveRecord::TableMetadata # @return [TableMetadata] a new instance of TableMetadata # - # source://activerecord/lib/active_record/table_metadata.rb#7 + # source://activerecord//lib/active_record/table_metadata.rb#7 def initialize(klass, arel_table, reflection = T.unsafe(nil)); end - # source://activerecord/lib/active_record/table_metadata.rb#74 + # source://activerecord//lib/active_record/table_metadata.rb#77 def aggregated_with?(aggregation_name); end # Returns the value of attribute arel_table. # - # source://activerecord/lib/active_record/table_metadata.rb#89 + # source://activerecord//lib/active_record/table_metadata.rb#89 def arel_table; end - # source://activerecord/lib/active_record/table_metadata.rb#38 + # source://activerecord//lib/active_record/table_metadata.rb#38 def associated_table(table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/table_metadata.rb#25 + # source://activerecord//lib/active_record/table_metadata.rb#25 def associated_with?(table_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/table_metadata.rb#21 + # source://activerecord//lib/active_record/table_metadata.rb#21 def has_column?(column_name); end - # source://activerecord/lib/active_record/table_metadata.rb#5 + # source://activerecord//lib/active_record/table_metadata.rb#5 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/table_metadata.rb#5 + # source://activerecord//lib/active_record/table_metadata.rb#5 def join_foreign_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/table_metadata.rb#5 + # source://activerecord//lib/active_record/table_metadata.rb#5 def join_primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/table_metadata.rb#5 + # source://activerecord//lib/active_record/table_metadata.rb#5 def join_primary_type(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord/lib/active_record/table_metadata.rb#62 + # source://activerecord//lib/active_record/table_metadata.rb#62 def polymorphic_association?; end - # source://activerecord/lib/active_record/table_metadata.rb#66 + # source://activerecord//lib/active_record/table_metadata.rb#66 def polymorphic_name_association; end - # source://activerecord/lib/active_record/table_metadata.rb#79 + # source://activerecord//lib/active_record/table_metadata.rb#79 def predicate_builder; end - # source://activerecord/lib/active_record/table_metadata.rb#13 + # source://activerecord//lib/active_record/table_metadata.rb#13 def primary_key; end - # source://activerecord/lib/active_record/table_metadata.rb#74 + # source://activerecord//lib/active_record/table_metadata.rb#74 def reflect_on_aggregation(aggregation_name); end # @return [Boolean] # - # source://activerecord/lib/active_record/table_metadata.rb#70 + # source://activerecord//lib/active_record/table_metadata.rb#70 def through_association?; end - # source://activerecord/lib/active_record/table_metadata.rb#17 + # source://activerecord//lib/active_record/table_metadata.rb#17 def type(column_name); end private # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/table_metadata.rb#92 + # source://activerecord//lib/active_record/table_metadata.rb#92 def klass; end # Returns the value of attribute reflection. # - # source://activerecord/lib/active_record/table_metadata.rb#92 + # source://activerecord//lib/active_record/table_metadata.rb#92 def reflection; end end # Raised when a model makes a query but it has not specified an associated table. # -# source://activerecord/lib/active_record/errors.rb#50 +# source://activerecord//lib/active_record/errors.rb#50 class ActiveRecord::TableNotSpecified < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record.rb#168 +# source://activerecord//lib/active_record.rb#168 module ActiveRecord::Tasks extend ::ActiveSupport::Autoload end -# source://activerecord/lib/active_record/tasks/database_tasks.rb#7 +# source://activerecord//lib/active_record/tasks/database_tasks.rb#7 class ActiveRecord::Tasks::DatabaseNotSupported < ::StandardError; end # = Active Record \DatabaseTasks @@ -34298,81 +34361,81 @@ class ActiveRecord::Tasks::DatabaseNotSupported < ::StandardError; end # # DatabaseTasks.create_current('production') # -# source://activerecord/lib/active_record/tasks/database_tasks.rb#40 +# source://activerecord//lib/active_record/tasks/database_tasks.rb#40 module ActiveRecord::Tasks::DatabaseTasks extend ::ActiveRecord::Tasks::DatabaseTasks - # source://activerecord/lib/active_record/tasks/database_tasks.rb#459 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#459 def cache_dump_filename(db_config_name, schema_cache_path: T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#324 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#324 def charset(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#319 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#319 def charset_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#65 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#65 def check_protected_environments!(environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#477 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#477 def check_schema_file(filename); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#309 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#309 def check_target_version; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#503 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#503 def clear_schema_cache(filename); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#334 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#334 def collation(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#329 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#329 def collation_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#115 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#115 def create(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#127 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#127 def create_all; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#170 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#170 def create_current(environment = T.unsafe(nil), name = T.unsafe(nil)); end # Returns the value of attribute database_configuration. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#61 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#61 def database_configuration; end # Sets the attribute database_configuration # # @param value the value to set the attribute database_configuration to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#61 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#61 def database_configuration=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#277 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#277 def db_configs_with_versions(environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#83 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#83 def db_dir; end # Sets the attribute db_dir # # @param value the value to set the attribute db_dir to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def db_dir=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#223 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#223 def drop(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#235 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#235 def drop_all; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#239 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#239 def drop_current(environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#422 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#422 def dump_schema(db_config, format = T.unsafe(nil)); end # Dumps the schema cache in YAML format for the connection into the file @@ -34380,442 +34443,442 @@ module ActiveRecord::Tasks::DatabaseTasks # ==== Examples # ActiveRecord::Tasks::DatabaseTasks.dump_schema_cache(ActiveRecord::Base.connection, "tmp/schema_dump.yaml") # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#499 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#499 def dump_schema_cache(conn, filename); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#103 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#103 def env; end # Sets the attribute env # # @param value the value to set the attribute env to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def env=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#91 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#91 def fixtures_path; end # Sets the attribute fixtures_path # # @param value the value to set the attribute fixtures_path to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def fixtures_path=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#141 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#141 def for_each(databases); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#368 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#368 def load_schema(db_config, format = T.unsafe(nil), file = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#469 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#469 def load_schema_current(format = T.unsafe(nil), file = T.unsafe(nil), environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#485 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#485 def load_seed; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#256 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#256 def migrate(version = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#294 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#294 def migrate_status; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#524 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#524 def migration_class; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#528 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#528 def migration_connection; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#87 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#87 def migrations_paths; end # Sets the attribute migrations_paths # # @param value the value to set the attribute migrations_paths to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def migrations_paths=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#107 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#107 def name; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#176 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#176 def prepare_all; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#339 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#339 def purge(configuration); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#344 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#344 def purge_all; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#348 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#348 def purge_current(environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#156 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#156 def raise_for_multi_db(environment = T.unsafe(nil), command:); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#404 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#404 def reconstruct_from_schema(db_config, format = T.unsafe(nil), file = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#73 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#73 def register_task(pattern, task); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#99 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#99 def root; end # Sets the attribute root # # @param value the value to set the attribute root to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def root=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#446 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#446 def schema_dump_path(db_config, format = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#389 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#389 def schema_up_to_date?(configuration, format = T.unsafe(nil), file = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#111 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#111 def seed_loader; end # Sets the attribute seed_loader # # @param value the value to set the attribute seed_loader to. # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#60 def seed_loader=(_arg0); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#135 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#135 def setup_initial_database_yaml; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#354 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#354 def structure_dump(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#361 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#361 def structure_load(configuration, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#315 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#315 def target_version; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#250 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#250 def truncate_all(environment = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#518 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#518 def with_temporary_connection(db_config, clobber: T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#507 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#507 def with_temporary_connection_for_each(env: T.unsafe(nil), name: T.unsafe(nil), clobber: T.unsafe(nil), &block); end private - # source://activerecord/lib/active_record/tasks/database_tasks.rb#626 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#626 def check_current_protected_environment!(db_config); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#565 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#565 def class_for_adapter(adapter); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#542 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#542 def configs_for(**options); end # Create a new instance for the specified db configuration object # For classes that have been converted to use db_config objects, pass a # `DatabaseConfig`, otherwise pass a `Hash` # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#557 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#557 def database_adapter_for(db_config, *arguments); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#573 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#573 def each_current_configuration(environment, name = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#583 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#583 def each_current_environment(environment, &block); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#589 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#589 def each_local_configuration; end # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#601 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#601 def local_database?(db_config); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#546 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#546 def resolve_configuration(configuration); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#606 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#606 def schema_sha1(file); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#610 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#610 def structure_dump_flags_for(adapter); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#618 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#618 def structure_load_flags_for(adapter); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#243 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#243 def truncate_tables(db_config); end # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/database_tasks.rb#550 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#550 def verbose?; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#533 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#533 def with_temporary_pool(db_config, clobber: T.unsafe(nil)); end class << self - # source://activerecord/lib/active_record/tasks/database_tasks.rb#50 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#50 def structure_dump_flags; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#50 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#50 def structure_dump_flags=(val); end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#56 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#56 def structure_load_flags; end - # source://activerecord/lib/active_record/tasks/database_tasks.rb#56 + # source://activerecord//lib/active_record/tasks/database_tasks.rb#56 def structure_load_flags=(val); end end end -# source://activerecord/lib/active_record/tasks/database_tasks.rb#63 +# source://activerecord//lib/active_record/tasks/database_tasks.rb#63 ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#5 +# source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#5 class ActiveRecord::Tasks::MySQLDatabaseTasks # @return [MySQLDatabaseTasks] a new instance of MySQLDatabaseTasks # - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#12 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#12 def initialize(db_config); end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#34 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#34 def charset; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#38 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#38 def collation; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#17 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#17 def create; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#23 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#23 def drop; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#28 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#28 def purge; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#42 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#42 def structure_dump(filename, extra_flags); end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#61 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#61 def structure_load(filename, extra_flags); end private # Returns the value of attribute configuration_hash. # - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#71 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#71 def configuration_hash; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#81 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#81 def configuration_hash_without_database; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#73 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#73 def connection; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#85 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#85 def creation_options; end # Returns the value of attribute db_config. # - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#71 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#71 def db_config; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#77 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#77 def establish_connection(config = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#92 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#92 def prepare_command_options; end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#111 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#111 def run_cmd(cmd, args, action); end - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#115 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#115 def run_cmd_error(cmd, args, action); end class << self # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#8 + # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#8 def using_database_configurations?; end end end -# source://activerecord/lib/active_record/tasks/mysql_database_tasks.rb#6 +# source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#6 ActiveRecord::Tasks::MySQLDatabaseTasks::ER_DB_CREATE_EXISTS = T.let(T.unsafe(nil), Integer) -# source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#7 +# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#7 class ActiveRecord::Tasks::PostgreSQLDatabaseTasks # @return [PostgreSQLDatabaseTasks] a new instance of PostgreSQLDatabaseTasks # - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#16 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#16 def initialize(db_config); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#32 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#32 def charset; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#36 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#36 def collation; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#21 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#21 def create(connection_already_established = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#27 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#27 def drop; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#40 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#40 def purge; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#46 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#46 def structure_dump(filename, extra_flags); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#80 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#80 def structure_load(filename, extra_flags); end private # Returns the value of attribute configuration_hash. # - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#88 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#88 def configuration_hash; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#90 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#90 def connection; end # Returns the value of attribute db_config. # - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#88 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#88 def db_config; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#98 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#98 def encoding; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#94 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#94 def establish_connection(config = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#106 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#106 def psql_env; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#102 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#102 def public_schema_config; end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#130 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#130 def remove_sql_header_comments(filename); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#119 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#119 def run_cmd(cmd, args, action); end - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#123 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#123 def run_cmd_error(cmd, args, action); end class << self # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#12 + # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#12 def using_database_configurations?; end end end -# source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#8 +# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#8 ActiveRecord::Tasks::PostgreSQLDatabaseTasks::DEFAULT_ENCODING = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#9 +# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#9 ActiveRecord::Tasks::PostgreSQLDatabaseTasks::ON_ERROR_STOP_1 = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#10 +# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#10 ActiveRecord::Tasks::PostgreSQLDatabaseTasks::SQL_COMMENT_BEGIN = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#5 +# source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#5 class ActiveRecord::Tasks::SQLiteDatabaseTasks # @return [SQLiteDatabaseTasks] a new instance of SQLiteDatabaseTasks # - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#10 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#10 def initialize(db_config, root = T.unsafe(nil)); end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#40 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#40 def charset; end # @raise [DatabaseAlreadyExists] # - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#15 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#15 def create; end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#22 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#22 def drop; end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#31 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#31 def purge; end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#44 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#44 def structure_dump(filename, extra_flags); end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#60 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#60 def structure_load(filename, extra_flags); end private - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#68 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#68 def connection; end # Returns the value of attribute db_config. # - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#66 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#66 def db_config; end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#72 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#72 def establish_connection(config = T.unsafe(nil)); end # Returns the value of attribute root. # - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#66 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#66 def root; end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#76 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#76 def run_cmd(cmd, args, out); end - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#80 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#80 def run_cmd_error(cmd, args); end class << self # @return [Boolean] # - # source://activerecord/lib/active_record/tasks/sqlite_database_tasks.rb#6 + # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#6 def using_database_configurations?; end end end -# source://activerecord/lib/active_record/test_databases.rb#6 +# source://activerecord//lib/active_record/test_databases.rb#6 module ActiveRecord::TestDatabases class << self - # source://activerecord/lib/active_record/test_databases.rb#11 + # source://activerecord//lib/active_record/test_databases.rb#11 def create_and_load_schema(i, env_name:); end end end -# source://activerecord/lib/active_record/associations.rb#177 +# source://activerecord//lib/active_record/associations.rb#177 class ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ActiveRecordError # @return [ThroughCantAssociateThroughHasOneOrManyReflection] a new instance of ThroughCantAssociateThroughHasOneOrManyReflection # - # source://activerecord/lib/active_record/associations.rb#178 + # source://activerecord//lib/active_record/associations.rb#178 def initialize(owner = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/associations.rb#224 +# source://activerecord//lib/active_record/associations.rb#224 class ActiveRecord::ThroughNestedAssociationsAreReadonly < ::ActiveRecord::ActiveRecordError # @return [ThroughNestedAssociationsAreReadonly] a new instance of ThroughNestedAssociationsAreReadonly # - # source://activerecord/lib/active_record/associations.rb#225 + # source://activerecord//lib/active_record/associations.rb#225 def initialize(owner = T.unsafe(nil), reflection = T.unsafe(nil)); end end @@ -34859,7 +34922,7 @@ end # self.skip_time_zone_conversion_for_attributes = [:written_on] # end # -# source://activerecord/lib/active_record/timestamp.rb#43 +# source://activerecord//lib/active_record/timestamp.rb#43 module ActiveRecord::Timestamp extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -34869,47 +34932,47 @@ module ActiveRecord::Timestamp private - # source://activerecord/lib/active_record/timestamp.rb#107 + # source://activerecord//lib/active_record/timestamp.rb#107 def _create_record; end - # source://activerecord/lib/active_record/timestamp.rb#119 + # source://activerecord//lib/active_record/timestamp.rb#119 def _update_record; end - # source://activerecord/lib/active_record/timestamp.rb#155 + # source://activerecord//lib/active_record/timestamp.rb#155 def all_timestamp_attributes_in_model; end # Clear attributes and changed_attributes # - # source://activerecord/lib/active_record/timestamp.rb#170 + # source://activerecord//lib/active_record/timestamp.rb#170 def clear_timestamp_attributes; end - # source://activerecord/lib/active_record/timestamp.rb#125 + # source://activerecord//lib/active_record/timestamp.rb#125 def create_or_update(touch: T.unsafe(nil), **_arg1); end - # source://activerecord/lib/active_record/timestamp.rb#159 + # source://activerecord//lib/active_record/timestamp.rb#159 def current_time_from_proper_timezone; end - # source://activerecord/lib/active_record/timestamp.rb#102 + # source://activerecord//lib/active_record/timestamp.rb#102 def init_internals; end - # source://activerecord/lib/active_record/timestamp.rb#50 + # source://activerecord//lib/active_record/timestamp.rb#50 def initialize_dup(other); end - # source://activerecord/lib/active_record/timestamp.rb#163 + # source://activerecord//lib/active_record/timestamp.rb#163 def max_updated_column_timestamp; end - # source://activerecord/lib/active_record/timestamp.rb#130 + # source://activerecord//lib/active_record/timestamp.rb#130 def record_update_timestamps; end # @return [Boolean] # - # source://activerecord/lib/active_record/timestamp.rb#143 + # source://activerecord//lib/active_record/timestamp.rb#143 def should_record_timestamps?; end - # source://activerecord/lib/active_record/timestamp.rb#147 + # source://activerecord//lib/active_record/timestamp.rb#147 def timestamp_attributes_for_create_in_model; end - # source://activerecord/lib/active_record/timestamp.rb#151 + # source://activerecord//lib/active_record/timestamp.rb#151 def timestamp_attributes_for_update_in_model; end module GeneratedClassMethods @@ -34925,38 +34988,38 @@ module ActiveRecord::Timestamp end end -# source://activerecord/lib/active_record/timestamp.rb#55 +# source://activerecord//lib/active_record/timestamp.rb#55 module ActiveRecord::Timestamp::ClassMethods - # source://activerecord/lib/active_record/timestamp.rb#74 + # source://activerecord//lib/active_record/timestamp.rb#74 def all_timestamp_attributes_in_model; end - # source://activerecord/lib/active_record/timestamp.rb#79 + # source://activerecord//lib/active_record/timestamp.rb#79 def current_time_from_proper_timezone; end - # source://activerecord/lib/active_record/timestamp.rb#64 + # source://activerecord//lib/active_record/timestamp.rb#64 def timestamp_attributes_for_create_in_model; end - # source://activerecord/lib/active_record/timestamp.rb#69 + # source://activerecord//lib/active_record/timestamp.rb#69 def timestamp_attributes_for_update_in_model; end - # source://activerecord/lib/active_record/timestamp.rb#56 + # source://activerecord//lib/active_record/timestamp.rb#56 def touch_attributes_with_time(*names, time: T.unsafe(nil)); end protected - # source://activerecord/lib/active_record/timestamp.rb#84 + # source://activerecord//lib/active_record/timestamp.rb#84 def reload_schema_from_cache(recursive = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/timestamp.rb#92 + # source://activerecord//lib/active_record/timestamp.rb#92 def timestamp_attributes_for_create; end - # source://activerecord/lib/active_record/timestamp.rb#96 + # source://activerecord//lib/active_record/timestamp.rb#96 def timestamp_attributes_for_update; end end -# source://activerecord/lib/active_record/token_for.rb#6 +# source://activerecord//lib/active_record/token_for.rb#6 module ActiveRecord::TokenFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -34969,7 +35032,7 @@ module ActiveRecord::TokenFor # Use ClassMethods#generates_token_for to define a token purpose and # behavior. # - # source://activerecord/lib/active_record/token_for.rb#109 + # source://activerecord//lib/active_record/token_for.rb#109 def generate_token_for(purpose); end module GeneratedClassMethods @@ -34982,14 +35045,14 @@ module ActiveRecord::TokenFor module GeneratedInstanceMethods; end end -# source://activerecord/lib/active_record/token_for.rb#38 +# source://activerecord//lib/active_record/token_for.rb#38 module ActiveRecord::TokenFor::ClassMethods # Finds a record using a given +token+ for a predefined +purpose+. Returns # +nil+ if the token is invalid or the record was not found. # # @raise [UnknownPrimaryKey] # - # source://activerecord/lib/active_record/token_for.rb#90 + # source://activerecord//lib/active_record/token_for.rb#90 def find_by_token_for(purpose, token); end # Finds a record using a given +token+ for a predefined +purpose+. Raises @@ -34997,7 +35060,7 @@ module ActiveRecord::TokenFor::ClassMethods # (e.g. expired, bad format, etc). Raises ActiveRecord::RecordNotFound if # the token is valid but the record was not found. # - # source://activerecord/lib/active_record/token_for.rb#99 + # source://activerecord//lib/active_record/token_for.rb#99 def find_by_token_for!(purpose, token); end # Defines the behavior of tokens generated for a specific +purpose+. @@ -35046,107 +35109,132 @@ module ActiveRecord::TokenFor::ClassMethods # user.update!(password: "new password") # User.find_by_token_for(:password_reset, token) # => nil # - # source://activerecord/lib/active_record/token_for.rb#84 + # source://activerecord//lib/active_record/token_for.rb#84 def generates_token_for(purpose, expires_in: T.unsafe(nil), &block); end end -# source://activerecord/lib/active_record/token_for.rb#14 +# source://activerecord//lib/active_record/token_for.rb#14 class ActiveRecord::TokenFor::TokenDefinition < ::Struct # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://activerecord//lib/active_record/token_for.rb#14 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def block=(_); end # Returns the value of attribute defining_class # # @return [Object] the current value of defining_class + # + # source://activerecord//lib/active_record/token_for.rb#14 def defining_class; end # Sets the attribute defining_class # # @param value [Object] the value to set the attribute defining_class to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def defining_class=(_); end # Returns the value of attribute expires_in # # @return [Object] the current value of expires_in + # + # source://activerecord//lib/active_record/token_for.rb#14 def expires_in; end # Sets the attribute expires_in # # @param value [Object] the value to set the attribute expires_in to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def expires_in=(_); end - # source://activerecord/lib/active_record/token_for.rb#15 + # source://activerecord//lib/active_record/token_for.rb#15 def full_purpose; end - # source://activerecord/lib/active_record/token_for.rb#27 + # source://activerecord//lib/active_record/token_for.rb#27 def generate_token(model); end - # source://activerecord/lib/active_record/token_for.rb#19 + # source://activerecord//lib/active_record/token_for.rb#19 def message_verifier; end - # source://activerecord/lib/active_record/token_for.rb#23 + # source://activerecord//lib/active_record/token_for.rb#23 def payload_for(model); end # Returns the value of attribute purpose # # @return [Object] the current value of purpose + # + # source://activerecord//lib/active_record/token_for.rb#14 def purpose; end # Sets the attribute purpose # # @param value [Object] the value to set the attribute purpose to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def purpose=(_); end - # source://activerecord/lib/active_record/token_for.rb#31 + # source://activerecord//lib/active_record/token_for.rb#31 def resolve_token(token); end class << self + # source://activerecord//lib/active_record/token_for.rb#14 def [](*_arg0); end + + # source://activerecord//lib/active_record/token_for.rb#14 def inspect; end + + # source://activerecord//lib/active_record/token_for.rb#14 def keyword_init?; end + + # source://activerecord//lib/active_record/token_for.rb#14 def members; end + + # source://activerecord//lib/active_record/token_for.rb#14 def new(*_arg0); end end end # = Active Record Touch Later # -# source://activerecord/lib/active_record/touch_later.rb#5 +# source://activerecord//lib/active_record/touch_later.rb#5 module ActiveRecord::TouchLater - # source://activerecord/lib/active_record/touch_later.rb#6 + # source://activerecord//lib/active_record/touch_later.rb#6 def before_committed!; end - # source://activerecord/lib/active_record/touch_later.rb#38 + # source://activerecord//lib/active_record/touch_later.rb#38 def touch(*names, time: T.unsafe(nil)); end - # source://activerecord/lib/active_record/touch_later.rb#11 + # source://activerecord//lib/active_record/touch_later.rb#11 def touch_later(*names); end private # @return [Boolean] # - # source://activerecord/lib/active_record/touch_later.rb#66 + # source://activerecord//lib/active_record/touch_later.rb#66 def has_defer_touch_attrs?; end - # source://activerecord/lib/active_record/touch_later.rb#49 + # source://activerecord//lib/active_record/touch_later.rb#49 def init_internals; end - # source://activerecord/lib/active_record/touch_later.rb#54 + # source://activerecord//lib/active_record/touch_later.rb#54 def surreptitiously_touch(attr_names); end - # source://activerecord/lib/active_record/touch_later.rb#61 + # source://activerecord//lib/active_record/touch_later.rb#61 def touch_deferred_attributes; end end @@ -35158,7 +35246,7 @@ end # # The mysql2, trilogy, and postgresql adapters support setting the transaction isolation level. # -# source://activerecord/lib/active_record/errors.rb#481 +# source://activerecord//lib/active_record/errors.rb#481 class ActiveRecord::TransactionIsolationError < ::ActiveRecord::ActiveRecordError; end # TransactionRollbackError will be raised when a transaction is rolled @@ -35182,24 +35270,24 @@ class ActiveRecord::TransactionIsolationError < ::ActiveRecord::ActiveRecordErro # * https://www.postgresql.org/docs/current/static/transaction-iso.html # * https://dev.mysql.com/doc/mysql-errors/en/server-error-reference.html#error_er_lock_deadlock # -# source://activerecord/lib/active_record/errors.rb#504 +# source://activerecord//lib/active_record/errors.rb#504 class ActiveRecord::TransactionRollbackError < ::ActiveRecord::StatementInvalid; end # See ActiveRecord::Transactions::ClassMethods for documentation. # -# source://activerecord/lib/active_record/transactions.rb#5 +# source://activerecord//lib/active_record/transactions.rb#5 module ActiveRecord::Transactions extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Transactions::ClassMethods - # source://activerecord/lib/active_record/transactions.rb#16 + # source://activerecord//lib/active_record/transactions.rb#16 def _new_record_before_last_commit; end - # source://activerecord/lib/active_record/transactions.rb#16 + # source://activerecord//lib/active_record/transactions.rb#16 def _new_record_before_last_commit=(_arg0); end - # source://activerecord/lib/active_record/transactions.rb#320 + # source://activerecord//lib/active_record/transactions.rb#320 def before_committed!; end # Call the #after_commit callbacks. @@ -35207,35 +35295,35 @@ module ActiveRecord::Transactions # Ensure that it is not called if the object was never persisted (failed create), # but call it after the commit of a destroyed object. # - # source://activerecord/lib/active_record/transactions.rb#328 + # source://activerecord//lib/active_record/transactions.rb#328 def committed!(should_run_callbacks: T.unsafe(nil)); end - # source://activerecord/lib/active_record/transactions.rb#304 + # source://activerecord//lib/active_record/transactions.rb#304 def destroy; end # Call the #after_rollback callbacks. The +force_restore_state+ argument indicates if the record # state should be rolled back to the beginning or just to the last savepoint. # - # source://activerecord/lib/active_record/transactions.rb#340 + # source://activerecord//lib/active_record/transactions.rb#340 def rolledback!(force_restore_state: T.unsafe(nil), should_run_callbacks: T.unsafe(nil)); end - # source://activerecord/lib/active_record/transactions.rb#308 + # source://activerecord//lib/active_record/transactions.rb#308 def save(**_arg0); end - # source://activerecord/lib/active_record/transactions.rb#312 + # source://activerecord//lib/active_record/transactions.rb#312 def save!(**_arg0); end - # source://activerecord/lib/active_record/transactions.rb#316 + # source://activerecord//lib/active_record/transactions.rb#316 def touch(*_arg0, **_arg1); end # See ActiveRecord::Transactions::ClassMethods for detailed documentation. # - # source://activerecord/lib/active_record/transactions.rb#300 + # source://activerecord//lib/active_record/transactions.rb#300 def transaction(**options, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/transactions.rb#371 + # source://activerecord//lib/active_record/transactions.rb#371 def trigger_transactional_callbacks?; end # Executes a block within a transaction and captures its return value as a @@ -35245,64 +35333,64 @@ module ActiveRecord::Transactions # This method is available within the context of an ActiveRecord::Base # instance. # - # source://activerecord/lib/active_record/transactions.rb#356 + # source://activerecord//lib/active_record/transactions.rb#356 def with_transaction_returning_status; end private # Returns the value of attribute _committed_already_called. # - # source://activerecord/lib/active_record/transactions.rb#377 + # source://activerecord//lib/active_record/transactions.rb#377 def _committed_already_called; end # Returns the value of attribute _trigger_destroy_callback. # - # source://activerecord/lib/active_record/transactions.rb#377 + # source://activerecord//lib/active_record/transactions.rb#377 def _trigger_destroy_callback; end # Returns the value of attribute _trigger_update_callback. # - # source://activerecord/lib/active_record/transactions.rb#377 + # source://activerecord//lib/active_record/transactions.rb#377 def _trigger_update_callback; end # Add the record to the current transaction so that the #after_rollback and #after_commit # callbacks can be called. # - # source://activerecord/lib/active_record/transactions.rb#459 + # source://activerecord//lib/active_record/transactions.rb#459 def add_to_transaction(ensure_finalize = T.unsafe(nil)); end # Clear the new record state and id of a record. # - # source://activerecord/lib/active_record/transactions.rb#407 + # source://activerecord//lib/active_record/transactions.rb#407 def clear_transaction_record_state; end # @return [Boolean] # - # source://activerecord/lib/active_record/transactions.rb#463 + # source://activerecord//lib/active_record/transactions.rb#463 def has_transactional_callbacks?; end - # source://activerecord/lib/active_record/transactions.rb#379 + # source://activerecord//lib/active_record/transactions.rb#379 def init_internals; end # Save the new record state and id of a record so it can be restored later if a transaction fails. # - # source://activerecord/lib/active_record/transactions.rb#387 + # source://activerecord//lib/active_record/transactions.rb#387 def remember_transaction_record_state; end # Restore the new record state and id of a record that was previously saved by a call to save_record_state. # - # source://activerecord/lib/active_record/transactions.rb#414 + # source://activerecord//lib/active_record/transactions.rb#414 def restore_transaction_record_state(force_restore_state = T.unsafe(nil)); end # Determine if a transaction included an action for :create, :update, or :destroy. Used in filtering callbacks. # # @return [Boolean] # - # source://activerecord/lib/active_record/transactions.rb#444 + # source://activerecord//lib/active_record/transactions.rb#444 def transaction_include_any_action?(actions); end end -# source://activerecord/lib/active_record/transactions.rb#8 +# source://activerecord//lib/active_record/transactions.rb#8 ActiveRecord::Transactions::ACTIONS = T.let(T.unsafe(nil), Array) # = Active Record \Transactions @@ -35497,7 +35585,7 @@ ActiveRecord::Transactions::ACTIONS = T.let(T.unsafe(nil), Array) # # Note that "TRUNCATE" is also a MySQL DDL statement! # -# source://activerecord/lib/active_record/transactions.rb#209 +# source://activerecord//lib/active_record/transactions.rb#209 module ActiveRecord::Transactions::ClassMethods # This callback is called after a record has been created, updated, or destroyed. # @@ -35511,87 +35599,87 @@ module ActiveRecord::Transactions::ClassMethods # after_commit :do_foo_bar, on: [:create, :update] # after_commit :do_bar_baz, on: [:update, :destroy] # - # source://activerecord/lib/active_record/transactions.rb#232 + # source://activerecord//lib/active_record/transactions.rb#232 def after_commit(*args, &block); end # Shortcut for after_commit :hook, on: :create. # - # source://activerecord/lib/active_record/transactions.rb#244 + # source://activerecord//lib/active_record/transactions.rb#244 def after_create_commit(*args, &block); end # Shortcut for after_commit :hook, on: :destroy. # - # source://activerecord/lib/active_record/transactions.rb#256 + # source://activerecord//lib/active_record/transactions.rb#256 def after_destroy_commit(*args, &block); end # This callback is called after a create, update, or destroy are rolled back. # # Please check the documentation of #after_commit for options. # - # source://activerecord/lib/active_record/transactions.rb#264 + # source://activerecord//lib/active_record/transactions.rb#264 def after_rollback(*args, &block); end # Shortcut for after_commit :hook, on: [ :create, :update ]. # - # source://activerecord/lib/active_record/transactions.rb#238 + # source://activerecord//lib/active_record/transactions.rb#238 def after_save_commit(*args, &block); end # Shortcut for after_commit :hook, on: :update. # - # source://activerecord/lib/active_record/transactions.rb#250 + # source://activerecord//lib/active_record/transactions.rb#250 def after_update_commit(*args, &block); end - # source://activerecord/lib/active_record/transactions.rb#215 + # source://activerecord//lib/active_record/transactions.rb#215 def before_commit(*args, &block); end # See the ConnectionAdapters::DatabaseStatements#transaction API docs. # - # source://activerecord/lib/active_record/transactions.rb#211 + # source://activerecord//lib/active_record/transactions.rb#211 def transaction(**options, &block); end private - # source://activerecord/lib/active_record/transactions.rb#292 + # source://activerecord//lib/active_record/transactions.rb#292 def assert_valid_transaction_action(actions); end - # source://activerecord/lib/active_record/transactions.rb#270 + # source://activerecord//lib/active_record/transactions.rb#270 def prepend_option; end - # source://activerecord/lib/active_record/transactions.rb#278 + # source://activerecord//lib/active_record/transactions.rb#278 def set_options_for_callbacks!(args, enforced_options = T.unsafe(nil)); end end -# source://activerecord/lib/active_record/translation.rb#4 +# source://activerecord//lib/active_record/translation.rb#4 module ActiveRecord::Translation include ::ActiveModel::Naming include ::ActiveModel::Translation # Set the i18n scope to override ActiveModel. # - # source://activerecord/lib/active_record/translation.rb#20 + # source://activerecord//lib/active_record/translation.rb#20 def i18n_scope; end # Set the lookup ancestors for ActiveModel. # - # source://activerecord/lib/active_record/translation.rb#8 + # source://activerecord//lib/active_record/translation.rb#8 def lookup_ancestors; end end # :stopdoc: # -# source://activerecord/lib/active_record/type/internal/timezone.rb#4 +# source://activerecord//lib/active_record/type/internal/timezone.rb#4 module ActiveRecord::Type class << self - # source://activerecord/lib/active_record/type.rb#49 + # source://activerecord//lib/active_record/type.rb#49 def adapter_name_from(model); end - # source://activerecord/lib/active_record/type.rb#27 + # source://activerecord//lib/active_record/type.rb#27 def add_modifier(*_arg0, **_arg1, &_arg2); end - # source://activerecord/lib/active_record/type.rb#45 + # source://activerecord//lib/active_record/type.rb#45 def default_value; end - # source://activerecord/lib/active_record/type.rb#41 + # source://activerecord//lib/active_record/type.rb#41 def lookup(*args, adapter: T.unsafe(nil), **kwargs); end # Add a new type to the registry, allowing it to be referenced as a @@ -35603,457 +35691,457 @@ module ActiveRecord::Type # cause your type to be used instead of the native type. override: # false will cause the native type to be used over yours if one exists. # - # source://activerecord/lib/active_record/type.rb#37 + # source://activerecord//lib/active_record/type.rb#37 def register(type_name, klass = T.unsafe(nil), **options, &block); end - # source://activerecord/lib/active_record/type.rb#26 + # source://activerecord//lib/active_record/type.rb#26 def registry; end - # source://activerecord/lib/active_record/type.rb#26 + # source://activerecord//lib/active_record/type.rb#26 def registry=(_arg0); end private - # source://activerecord/lib/active_record/type.rb#54 + # source://activerecord//lib/active_record/type.rb#54 def current_adapter_name; end end end -# source://activerecord/lib/active_record/type/adapter_specific_registry.rb#6 +# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#6 class ActiveRecord::Type::AdapterSpecificRegistry # @return [AdapterSpecificRegistry] a new instance of AdapterSpecificRegistry # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#7 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#7 def initialize; end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#15 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#15 def add_modifier(options, klass, **args); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#27 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#27 def lookup(symbol, *args, **kwargs); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#19 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#19 def register(type_name, klass = T.unsafe(nil), **options, &block); end private - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#40 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#40 def find_registration(symbol, *args, **kwargs); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#11 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#11 def initialize_copy(other); end # Returns the value of attribute registrations. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#38 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#38 def registrations; end end -# source://activerecord/lib/active_record/type.rb#59 +# source://activerecord//lib/active_record/type.rb#59 ActiveRecord::Type::BigInteger = ActiveModel::Type::BigInteger -# source://activerecord/lib/active_record/type.rb#60 +# source://activerecord//lib/active_record/type.rb#60 ActiveRecord::Type::Binary = ActiveModel::Type::Binary -# source://activerecord/lib/active_record/type.rb#61 +# source://activerecord//lib/active_record/type.rb#61 ActiveRecord::Type::Boolean = ActiveModel::Type::Boolean -# source://activerecord/lib/active_record/type/date.rb#5 +# source://activerecord//lib/active_record/type/date.rb#5 class ActiveRecord::Type::Date < ::ActiveModel::Type::Date include ::ActiveRecord::Type::Internal::Timezone end -# source://activerecord/lib/active_record/type/date_time.rb#5 +# source://activerecord//lib/active_record/type/date_time.rb#5 class ActiveRecord::Type::DateTime < ::ActiveModel::Type::DateTime include ::ActiveRecord::Type::Internal::Timezone end -# source://activerecord/lib/active_record/type.rb#62 +# source://activerecord//lib/active_record/type.rb#62 ActiveRecord::Type::Decimal = ActiveModel::Type::Decimal -# source://activerecord/lib/active_record/type/decimal_without_scale.rb#5 +# source://activerecord//lib/active_record/type/decimal_without_scale.rb#5 class ActiveRecord::Type::DecimalWithoutScale < ::ActiveModel::Type::BigInteger - # source://activerecord/lib/active_record/type/decimal_without_scale.rb#6 + # source://activerecord//lib/active_record/type/decimal_without_scale.rb#6 def type; end - # source://activerecord/lib/active_record/type/decimal_without_scale.rb#10 + # source://activerecord//lib/active_record/type/decimal_without_scale.rb#10 def type_cast_for_schema(value); end end -# source://activerecord/lib/active_record/type/adapter_specific_registry.rb#110 +# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#110 class ActiveRecord::Type::DecorationRegistration < ::ActiveRecord::Type::Registration # @return [DecorationRegistration] a new instance of DecorationRegistration # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#111 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#111 def initialize(options, klass, adapter: T.unsafe(nil)); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#117 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#117 def call(registry, *args, **kwargs); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#122 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#122 def matches?(*args, **kwargs); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#126 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#126 def priority; end private # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#131 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#131 def klass; end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#133 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#133 def matches_options?(**kwargs); end # Returns the value of attribute options. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#131 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#131 def options; end end -# source://activerecord/lib/active_record/type.rb#63 +# source://activerecord//lib/active_record/type.rb#63 ActiveRecord::Type::Float = ActiveModel::Type::Float -# source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#5 +# source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#5 class ActiveRecord::Type::HashLookupTypeMap # @return [HashLookupTypeMap] a new instance of HashLookupTypeMap # - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#6 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#6 def initialize(parent = T.unsafe(nil)); end - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#39 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#39 def alias_type(type, alias_type); end - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#34 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#34 def clear; end - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#17 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#17 def fetch(lookup_key, *args, &block); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#43 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#43 def key?(key); end - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#47 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#47 def keys; end - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#13 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#13 def lookup(lookup_key, *args); end # @raise [::ArgumentError] # - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#23 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#23 def register_type(key, value = T.unsafe(nil), &block); end private - # source://activerecord/lib/active_record/type/hash_lookup_type_map.rb#52 + # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#52 def perform_fetch(type, *args, &block); end end -# source://activerecord/lib/active_record/type.rb#65 +# source://activerecord//lib/active_record/type.rb#65 ActiveRecord::Type::ImmutableString = ActiveModel::Type::ImmutableString -# source://activerecord/lib/active_record/type.rb#64 +# source://activerecord//lib/active_record/type.rb#64 ActiveRecord::Type::Integer = ActiveModel::Type::Integer -# source://activerecord/lib/active_record/type/internal/timezone.rb#5 +# source://activerecord//lib/active_record/type/internal/timezone.rb#5 module ActiveRecord::Type::Internal; end -# source://activerecord/lib/active_record/type/internal/timezone.rb#6 +# source://activerecord//lib/active_record/type/internal/timezone.rb#6 module ActiveRecord::Type::Internal::Timezone - # source://activerecord/lib/active_record/type/internal/timezone.rb#7 + # source://activerecord//lib/active_record/type/internal/timezone.rb#7 def initialize(timezone: T.unsafe(nil), **kwargs); end - # source://activerecord/lib/active_record/type/internal/timezone.rb#16 + # source://activerecord//lib/active_record/type/internal/timezone.rb#16 def default_timezone; end # @return [Boolean] # - # source://activerecord/lib/active_record/type/internal/timezone.rb#12 + # source://activerecord//lib/active_record/type/internal/timezone.rb#12 def is_utc?; end end -# source://activerecord/lib/active_record/type/json.rb#5 +# source://activerecord//lib/active_record/type/json.rb#5 class ActiveRecord::Type::Json < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Mutable - # source://activerecord/lib/active_record/type/json.rb#25 + # source://activerecord//lib/active_record/type/json.rb#25 def accessor; end # @return [Boolean] # - # source://activerecord/lib/active_record/type/json.rb#21 + # source://activerecord//lib/active_record/type/json.rb#21 def changed_in_place?(raw_old_value, new_value); end - # source://activerecord/lib/active_record/type/json.rb#12 + # source://activerecord//lib/active_record/type/json.rb#12 def deserialize(value); end - # source://activerecord/lib/active_record/type/json.rb#17 + # source://activerecord//lib/active_record/type/json.rb#17 def serialize(value); end - # source://activerecord/lib/active_record/type/json.rb#8 + # source://activerecord//lib/active_record/type/json.rb#8 def type; end end -# source://activerecord/lib/active_record/type/adapter_specific_registry.rb#47 +# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#47 class ActiveRecord::Type::Registration # @return [Registration] a new instance of Registration # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#48 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#48 def initialize(name, block, adapter: T.unsafe(nil), override: T.unsafe(nil)); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#63 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#63 def <=>(other); end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#55 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#55 def call(_registry, *args, adapter: T.unsafe(nil), **kwargs); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#59 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#59 def matches?(type_name, *args, **kwargs); end protected # Returns the value of attribute adapter. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#73 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#73 def adapter; end # Returns the value of attribute block. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#73 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#73 def block; end # Returns the value of attribute name. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#73 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#73 def name; end # Returns the value of attribute override. # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#73 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#73 def override; end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#75 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#75 def priority; end - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#86 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#86 def priority_except_adapter; end private # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#95 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#95 def conflicts_with?(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#104 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#104 def has_adapter_conflict?(other); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#91 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#91 def matches_adapter?(adapter: T.unsafe(nil), **_arg1); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/adapter_specific_registry.rb#100 + # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#100 def same_priority_except_adapter?(other); end end -# source://activerecord/lib/active_record/type/serialized.rb#5 +# source://activerecord//lib/active_record/type/serialized.rb#5 class ActiveRecord::Type::Serialized include ::ActiveModel::Type::Helpers::Mutable # @return [Serialized] a new instance of Serialized # - # source://activerecord/lib/active_record/type/serialized.rb#12 + # source://activerecord//lib/active_record/type/serialized.rb#12 def initialize(subtype, coder); end - # source://activerecord/lib/active_record/type/serialized.rb#44 + # source://activerecord//lib/active_record/type/serialized.rb#44 def accessor; end - # source://activerecord/lib/active_record/type/serialized.rb#48 + # source://activerecord//lib/active_record/type/serialized.rb#48 def assert_valid_value(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/serialized.rb#37 + # source://activerecord//lib/active_record/type/serialized.rb#37 def changed_in_place?(raw_old_value, value); end # Returns the value of attribute coder. # - # source://activerecord/lib/active_record/type/serialized.rb#10 + # source://activerecord//lib/active_record/type/serialized.rb#10 def coder; end - # source://activerecord/lib/active_record/type/serialized.rb#18 + # source://activerecord//lib/active_record/type/serialized.rb#18 def deserialize(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/serialized.rb#54 + # source://activerecord//lib/active_record/type/serialized.rb#54 def force_equality?(value); end - # source://activerecord/lib/active_record/type/serialized.rb#33 + # source://activerecord//lib/active_record/type/serialized.rb#33 def inspect; end - # source://activerecord/lib/active_record/type/serialized.rb#26 + # source://activerecord//lib/active_record/type/serialized.rb#26 def serialize(value); end # @return [Boolean] # - # source://activerecord/lib/active_record/type/serialized.rb#58 + # source://activerecord//lib/active_record/type/serialized.rb#58 def serialized?; end # Returns the value of attribute subtype. # - # source://activerecord/lib/active_record/type/serialized.rb#10 + # source://activerecord//lib/active_record/type/serialized.rb#10 def subtype; end private # @return [Boolean] # - # source://activerecord/lib/active_record/type/serialized.rb#63 + # source://activerecord//lib/active_record/type/serialized.rb#63 def default_value?(value); end - # source://activerecord/lib/active_record/type/serialized.rb#67 + # source://activerecord//lib/active_record/type/serialized.rb#67 def encoded(value); end end -# source://activerecord/lib/active_record/type.rb#66 +# source://activerecord//lib/active_record/type.rb#66 ActiveRecord::Type::String = ActiveModel::Type::String -# source://activerecord/lib/active_record/type/text.rb#5 +# source://activerecord//lib/active_record/type/text.rb#5 class ActiveRecord::Type::Text < ::ActiveModel::Type::String - # source://activerecord/lib/active_record/type/text.rb#6 + # source://activerecord//lib/active_record/type/text.rb#6 def type; end end -# source://activerecord/lib/active_record/type/time.rb#5 +# source://activerecord//lib/active_record/type/time.rb#5 class ActiveRecord::Type::Time < ::ActiveModel::Type::Time include ::ActiveRecord::Type::Internal::Timezone - # source://activerecord/lib/active_record/type/time.rb#11 + # source://activerecord//lib/active_record/type/time.rb#11 def serialize(value); end - # source://activerecord/lib/active_record/type/time.rb#20 + # source://activerecord//lib/active_record/type/time.rb#20 def serialize_cast_value(value); end private - # source://activerecord/lib/active_record/type/time.rb#25 + # source://activerecord//lib/active_record/type/time.rb#25 def cast_value(value); end end -# source://activerecord/lib/active_record/type/time.rb#8 +# source://activerecord//lib/active_record/type/time.rb#8 class ActiveRecord::Type::Time::Value; end -# source://activerecord/lib/active_record/type/type_map.rb#7 +# source://activerecord//lib/active_record/type/type_map.rb#7 class ActiveRecord::Type::TypeMap # @return [TypeMap] a new instance of TypeMap # - # source://activerecord/lib/active_record/type/type_map.rb#8 + # source://activerecord//lib/active_record/type/type_map.rb#8 def initialize(parent = T.unsafe(nil)); end - # source://activerecord/lib/active_record/type/type_map.rb#35 + # source://activerecord//lib/active_record/type/type_map.rb#35 def alias_type(key, target_key); end - # source://activerecord/lib/active_record/type/type_map.rb#18 + # source://activerecord//lib/active_record/type/type_map.rb#18 def fetch(lookup_key, &block); end - # source://activerecord/lib/active_record/type/type_map.rb#14 + # source://activerecord//lib/active_record/type/type_map.rb#14 def lookup(lookup_key); end # @raise [::ArgumentError] # - # source://activerecord/lib/active_record/type/type_map.rb#24 + # source://activerecord//lib/active_record/type/type_map.rb#24 def register_type(key, value = T.unsafe(nil), &block); end protected - # source://activerecord/lib/active_record/type/type_map.rb#43 + # source://activerecord//lib/active_record/type/type_map.rb#43 def perform_fetch(lookup_key, &block); end end -# source://activerecord/lib/active_record/type/unsigned_integer.rb#5 +# source://activerecord//lib/active_record/type/unsigned_integer.rb#5 class ActiveRecord::Type::UnsignedInteger < ::ActiveModel::Type::Integer private - # source://activerecord/lib/active_record/type/unsigned_integer.rb#7 + # source://activerecord//lib/active_record/type/unsigned_integer.rb#7 def max_value; end - # source://activerecord/lib/active_record/type/unsigned_integer.rb#11 + # source://activerecord//lib/active_record/type/unsigned_integer.rb#11 def min_value; end end -# source://activerecord/lib/active_record/type.rb#67 +# source://activerecord//lib/active_record/type.rb#67 ActiveRecord::Type::Value = ActiveModel::Type::Value -# source://activerecord/lib/active_record/type_caster/map.rb#4 +# source://activerecord//lib/active_record/type_caster/map.rb#4 module ActiveRecord::TypeCaster; end -# source://activerecord/lib/active_record/type_caster/connection.rb#5 +# source://activerecord//lib/active_record/type_caster/connection.rb#5 class ActiveRecord::TypeCaster::Connection # @return [Connection] a new instance of Connection # - # source://activerecord/lib/active_record/type_caster/connection.rb#6 + # source://activerecord//lib/active_record/type_caster/connection.rb#6 def initialize(klass, table_name); end - # source://activerecord/lib/active_record/type_caster/connection.rb#11 + # source://activerecord//lib/active_record/type_caster/connection.rb#11 def type_cast_for_database(attr_name, value); end - # source://activerecord/lib/active_record/type_caster/connection.rb#16 + # source://activerecord//lib/active_record/type_caster/connection.rb#16 def type_for_attribute(attr_name); end private - # source://activerecord/lib/active_record/type_caster/connection.rb#27 + # source://activerecord//lib/active_record/type_caster/connection.rb#27 def connection(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute table_name. # - # source://activerecord/lib/active_record/type_caster/connection.rb#30 + # source://activerecord//lib/active_record/type_caster/connection.rb#30 def table_name; end end -# source://activerecord/lib/active_record/type_caster/map.rb#5 +# source://activerecord//lib/active_record/type_caster/map.rb#5 class ActiveRecord::TypeCaster::Map # @return [Map] a new instance of Map # - # source://activerecord/lib/active_record/type_caster/map.rb#6 + # source://activerecord//lib/active_record/type_caster/map.rb#6 def initialize(klass); end - # source://activerecord/lib/active_record/type_caster/map.rb#10 + # source://activerecord//lib/active_record/type_caster/map.rb#10 def type_cast_for_database(attr_name, value); end - # source://activerecord/lib/active_record/type_caster/map.rb#15 + # source://activerecord//lib/active_record/type_caster/map.rb#15 def type_for_attribute(name); end private # Returns the value of attribute klass. # - # source://activerecord/lib/active_record/type_caster/map.rb#20 + # source://activerecord//lib/active_record/type_caster/map.rb#20 def klass; end end -# source://activerecord/lib/active_record/type/adapter_specific_registry.rb#141 +# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#141 class ActiveRecord::TypeConflictError < ::StandardError; end # Raised when unknown attributes are supplied via mass assignment. # -# source://activerecord/lib/active_record/errors.rb#417 +# source://activerecord//lib/active_record/errors.rb#417 ActiveRecord::UnknownAttributeError = ActiveModel::UnknownAttributeError # UnknownAttributeReference is raised when an unknown and potentially unsafe @@ -36077,48 +36165,48 @@ ActiveRecord::UnknownAttributeError = ActiveModel::UnknownAttributeError # Again, such a workaround should *not* be used when passing user-provided # values, such as request parameters or model attributes to query methods. # -# source://activerecord/lib/active_record/errors.rb#578 +# source://activerecord//lib/active_record/errors.rb#578 class ActiveRecord::UnknownAttributeReference < ::ActiveRecord::ActiveRecordError; end -# source://activerecord/lib/active_record/migration.rb#114 +# source://activerecord//lib/active_record/migration.rb#114 class ActiveRecord::UnknownMigrationVersionError < ::ActiveRecord::MigrationError # @return [UnknownMigrationVersionError] a new instance of UnknownMigrationVersionError # - # source://activerecord/lib/active_record/migration.rb#115 + # source://activerecord//lib/active_record/migration.rb#115 def initialize(version = T.unsafe(nil)); end end # Raised when a primary key is needed, but not specified in the schema or model. # -# source://activerecord/lib/active_record/errors.rb#445 +# source://activerecord//lib/active_record/errors.rb#445 class ActiveRecord::UnknownPrimaryKey < ::ActiveRecord::ActiveRecordError # @return [UnknownPrimaryKey] a new instance of UnknownPrimaryKey # - # source://activerecord/lib/active_record/errors.rb#448 + # source://activerecord//lib/active_record/errors.rb#448 def initialize(model = T.unsafe(nil), description = T.unsafe(nil)); end # Returns the value of attribute model. # - # source://activerecord/lib/active_record/errors.rb#446 + # source://activerecord//lib/active_record/errors.rb#446 def model; end end -# source://activerecord/lib/active_record/gem_version.rb#9 +# source://activerecord//lib/active_record/gem_version.rb#9 module ActiveRecord::VERSION; end -# source://activerecord/lib/active_record/gem_version.rb#10 +# source://activerecord//lib/active_record/gem_version.rb#10 ActiveRecord::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activerecord/lib/active_record/gem_version.rb#11 +# source://activerecord//lib/active_record/gem_version.rb#11 ActiveRecord::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activerecord/lib/active_record/gem_version.rb#13 +# source://activerecord//lib/active_record/gem_version.rb#13 ActiveRecord::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/gem_version.rb#15 +# source://activerecord//lib/active_record/gem_version.rb#15 ActiveRecord::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activerecord/lib/active_record/gem_version.rb#12 +# source://activerecord//lib/active_record/gem_version.rb#12 ActiveRecord::VERSION::TINY = T.let(T.unsafe(nil), Integer) # = Active Record \Validations @@ -36131,7 +36219,7 @@ ActiveRecord::VERSION::TINY = T.let(T.unsafe(nil), Integer) # :create or :update depending on whether the model is a # {new_record?}[rdoc-ref:Persistence#new_record?]. # -# source://activerecord/lib/active_record/validations.rb#40 +# source://activerecord//lib/active_record/validations.rb#40 module ActiveRecord::Validations extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -36153,13 +36241,13 @@ module ActiveRecord::Validations # The regular {ActiveRecord::Base#save}[rdoc-ref:Persistence#save] method is replaced # with this when the validations module is mixed in, which it is by default. # - # source://activerecord/lib/active_record/validations.rb#48 + # source://activerecord//lib/active_record/validations.rb#48 def save(**options); end # Attempts to save the record just like {ActiveRecord::Base#save}[rdoc-ref:Base#save] but # will raise an ActiveRecord::RecordInvalid exception instead of returning +false+ if the record is not valid. # - # source://activerecord/lib/active_record/validations.rb#54 + # source://activerecord//lib/active_record/validations.rb#54 def save!(**options); end # Runs all the validations within the specified context. Returns +true+ if @@ -36177,7 +36265,7 @@ module ActiveRecord::Validations # # @return [Boolean] # - # source://activerecord/lib/active_record/validations.rb#70 + # source://activerecord//lib/active_record/validations.rb#70 def valid?(context = T.unsafe(nil)); end # Runs all the validations within the specified context. Returns +true+ if @@ -36195,20 +36283,20 @@ module ActiveRecord::Validations # # @return [Boolean] # - # source://activerecord/lib/active_record/validations.rb#70 + # source://activerecord//lib/active_record/validations.rb#76 def validate(context = T.unsafe(nil)); end private - # source://activerecord/lib/active_record/validations.rb#79 + # source://activerecord//lib/active_record/validations.rb#79 def default_validation_context; end - # source://activerecord/lib/active_record/validations.rb#87 + # source://activerecord//lib/active_record/validations.rb#87 def perform_validations(options = T.unsafe(nil)); end # @raise [RecordInvalid] # - # source://activerecord/lib/active_record/validations.rb#83 + # source://activerecord//lib/active_record/validations.rb#83 def raise_validation_error; end module GeneratedClassMethods @@ -36228,26 +36316,26 @@ module ActiveRecord::Validations end end -# source://activerecord/lib/active_record/validations/absence.rb#5 +# source://activerecord//lib/active_record/validations/absence.rb#5 class ActiveRecord::Validations::AbsenceValidator < ::ActiveModel::Validations::AbsenceValidator - # source://activerecord/lib/active_record/validations/absence.rb#6 + # source://activerecord//lib/active_record/validations/absence.rb#6 def validate_each(record, attribute, association_or_value); end end -# source://activerecord/lib/active_record/validations/associated.rb#5 +# source://activerecord//lib/active_record/validations/associated.rb#5 class ActiveRecord::Validations::AssociatedValidator < ::ActiveModel::EachValidator - # source://activerecord/lib/active_record/validations/associated.rb#6 + # source://activerecord//lib/active_record/validations/associated.rb#6 def validate_each(record, attribute, value); end private # @return [Boolean] # - # source://activerecord/lib/active_record/validations/associated.rb#13 + # source://activerecord//lib/active_record/validations/associated.rb#13 def valid_object?(record); end end -# source://activerecord/lib/active_record/validations/associated.rb#18 +# source://activerecord//lib/active_record/validations/associated.rb#18 module ActiveRecord::Validations::ClassMethods # Validates that the specified attributes are not present (as defined by # Object#present?). If the attribute is an association, the associated object @@ -36255,7 +36343,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_absence_of for more information. # - # source://activerecord/lib/active_record/validations/absence.rb#20 + # source://activerecord//lib/active_record/validations/absence.rb#20 def validates_absence_of(*attr_names); end # Validates whether the associated object or objects are all valid. @@ -36294,7 +36382,7 @@ module ActiveRecord::Validations::ClassMethods # method, proc, or string should return or evaluate to a +true+ or +false+ # value. # - # source://activerecord/lib/active_record/validations/associated.rb#54 + # source://activerecord//lib/active_record/validations/associated.rb#54 def validates_associated(*attr_names); end # Validates that the specified attributes match the length restrictions supplied. @@ -36302,7 +36390,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_length_of for more information. # - # source://activerecord/lib/active_record/validations/length.rb#19 + # source://activerecord//lib/active_record/validations/length.rb#19 def validates_length_of(*attr_names); end # Validates whether the value of the specified attribute is numeric by @@ -36314,7 +36402,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_numericality_of for more information. # - # source://activerecord/lib/active_record/validations/numericality.rb#31 + # source://activerecord//lib/active_record/validations/numericality.rb#31 def validates_numericality_of(*attr_names); end # Validates that the specified attributes are not blank (as defined by @@ -36343,7 +36431,7 @@ module ActiveRecord::Validations::ClassMethods # it is both present and valid, you also need to use # {validates_associated}[rdoc-ref:Validations::ClassMethods#validates_associated]. # - # source://activerecord/lib/active_record/validations/presence.rb#40 + # source://activerecord//lib/active_record/validations/presence.rb#40 def validates_presence_of(*attr_names); end # Validates that the specified attributes match the length restrictions supplied. @@ -36351,7 +36439,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_length_of for more information. # - # source://activerecord/lib/active_record/validations/length.rb#19 + # source://activerecord//lib/active_record/validations/length.rb#23 def validates_size_of(*attr_names); end # Validates whether the value of the specified attributes are unique @@ -36491,54 +36579,54 @@ module ActiveRecord::Validations::ClassMethods # * ActiveRecord::ConnectionAdapters::SQLite3Adapter. # * ActiveRecord::ConnectionAdapters::PostgreSQLAdapter. # - # source://activerecord/lib/active_record/validations/uniqueness.rb#286 + # source://activerecord//lib/active_record/validations/uniqueness.rb#286 def validates_uniqueness_of(*attr_names); end end -# source://activerecord/lib/active_record/validations/length.rb#5 +# source://activerecord//lib/active_record/validations/length.rb#5 class ActiveRecord::Validations::LengthValidator < ::ActiveModel::Validations::LengthValidator - # source://activerecord/lib/active_record/validations/length.rb#6 + # source://activerecord//lib/active_record/validations/length.rb#6 def validate_each(record, attribute, association_or_value); end end -# source://activerecord/lib/active_record/validations/numericality.rb#5 +# source://activerecord//lib/active_record/validations/numericality.rb#5 class ActiveRecord::Validations::NumericalityValidator < ::ActiveModel::Validations::NumericalityValidator - # source://activerecord/lib/active_record/validations/numericality.rb#6 + # source://activerecord//lib/active_record/validations/numericality.rb#6 def validate_each(record, attribute, value, precision: T.unsafe(nil), scale: T.unsafe(nil)); end private - # source://activerecord/lib/active_record/validations/numericality.rb#13 + # source://activerecord//lib/active_record/validations/numericality.rb#13 def column_precision_for(record, attribute); end - # source://activerecord/lib/active_record/validations/numericality.rb#17 + # source://activerecord//lib/active_record/validations/numericality.rb#17 def column_scale_for(record, attribute); end end -# source://activerecord/lib/active_record/validations/presence.rb#5 +# source://activerecord//lib/active_record/validations/presence.rb#5 class ActiveRecord::Validations::PresenceValidator < ::ActiveModel::Validations::PresenceValidator - # source://activerecord/lib/active_record/validations/presence.rb#6 + # source://activerecord//lib/active_record/validations/presence.rb#6 def validate_each(record, attribute, association_or_value); end end -# source://activerecord/lib/active_record/validations/uniqueness.rb#5 +# source://activerecord//lib/active_record/validations/uniqueness.rb#5 class ActiveRecord::Validations::UniquenessValidator < ::ActiveModel::EachValidator # @return [UniquenessValidator] a new instance of UniquenessValidator # - # source://activerecord/lib/active_record/validations/uniqueness.rb#6 + # source://activerecord//lib/active_record/validations/uniqueness.rb#6 def initialize(options); end - # source://activerecord/lib/active_record/validations/uniqueness.rb#19 + # source://activerecord//lib/active_record/validations/uniqueness.rb#19 def validate_each(record, attribute, value); end private - # source://activerecord/lib/active_record/validations/uniqueness.rb#111 + # source://activerecord//lib/active_record/validations/uniqueness.rb#111 def build_relation(klass, attribute, value); end # @return [Boolean] # - # source://activerecord/lib/active_record/validations/uniqueness.rb#82 + # source://activerecord//lib/active_record/validations/uniqueness.rb#82 def covered_by_unique_index?(klass, record, attribute, scope); end # The check for an existing value should be run from a class that @@ -36547,44 +36635,44 @@ class ActiveRecord::Validations::UniquenessValidator < ::ActiveModel::EachValida # their subclasses, we have to build the hierarchy between self and # the record's class. # - # source://activerecord/lib/active_record/validations/uniqueness.rb#59 + # source://activerecord//lib/active_record/validations/uniqueness.rb#59 def find_finder_class_for(record); end - # source://activerecord/lib/active_record/validations/uniqueness.rb#142 + # source://activerecord//lib/active_record/validations/uniqueness.rb#142 def map_enum_attribute(klass, attribute, value); end - # source://activerecord/lib/active_record/validations/uniqueness.rb#97 + # source://activerecord//lib/active_record/validations/uniqueness.rb#97 def resolve_attributes(record, attributes); end - # source://activerecord/lib/active_record/validations/uniqueness.rb#129 + # source://activerecord//lib/active_record/validations/uniqueness.rb#129 def scope_relation(record, relation); end # @return [Boolean] # - # source://activerecord/lib/active_record/validations/uniqueness.rb#69 + # source://activerecord//lib/active_record/validations/uniqueness.rb#69 def validation_needed?(klass, record, attribute); end end # Raised when a record cannot be inserted or updated because a value too long for a column type. # -# source://activerecord/lib/active_record/errors.rb#276 +# source://activerecord//lib/active_record/errors.rb#276 class ActiveRecord::ValueTooLong < ::ActiveRecord::StatementInvalid; end # Defunct wrapper class kept for compatibility. # StatementInvalid wraps the original exception now. # -# source://activerecord/lib/active_record/errors.rb#204 +# source://activerecord//lib/active_record/errors.rb#204 class ActiveRecord::WrappedDatabaseException < ::ActiveRecord::StatementInvalid; end -# source://activerecord/lib/arel/errors.rb#3 +# source://activerecord//lib/arel/errors.rb#3 module Arel class << self # @return [Boolean] # - # source://activerecord/lib/arel.rb#60 + # source://activerecord//lib/arel.rb#60 def arel_node?(value); end - # source://activerecord/lib/arel.rb#64 + # source://activerecord//lib/arel.rb#64 def fetch_attribute(value, &block); end # Wrap a known-safe SQL string for passing to query methods, e.g. @@ -36605,30 +36693,30 @@ module Arel # supplied in the call; without them, the placeholder tokens have no # special meaning, and will be passed through to the query as-is. # - # source://activerecord/lib/arel.rb#48 + # source://activerecord//lib/arel.rb#48 def sql(sql_string, *positional_binds, **named_binds); end - # source://activerecord/lib/arel.rb#56 + # source://activerecord//lib/arel.rb#56 def star; end end end -# source://activerecord/lib/arel/alias_predication.rb#4 +# source://activerecord//lib/arel/alias_predication.rb#4 module Arel::AliasPredication - # source://activerecord/lib/arel/alias_predication.rb#5 + # source://activerecord//lib/arel/alias_predication.rb#5 def as(other); end end -# source://activerecord/lib/arel/errors.rb#4 +# source://activerecord//lib/arel/errors.rb#4 class Arel::ArelError < ::StandardError; end -# source://activerecord/lib/arel/attributes/attribute.rb#32 +# source://activerecord//lib/arel/attributes/attribute.rb#32 Arel::Attribute = Arel::Attributes::Attribute -# source://activerecord/lib/arel/attributes/attribute.rb#4 +# source://activerecord//lib/arel/attributes/attribute.rb#4 module Arel::Attributes; end -# source://activerecord/lib/arel/attributes/attribute.rb#5 +# source://activerecord//lib/arel/attributes/attribute.rb#5 class Arel::Attributes::Attribute < ::Struct include ::Arel::Expressions include ::Arel::Predications @@ -36638,1586 +36726,1586 @@ class Arel::Attributes::Attribute < ::Struct # @return [Boolean] # - # source://activerecord/lib/arel/attributes/attribute.rb#26 + # source://activerecord//lib/arel/attributes/attribute.rb#26 def able_to_type_cast?; end # Create a node for lowering this attribute # - # source://activerecord/lib/arel/attributes/attribute.rb#18 + # source://activerecord//lib/arel/attributes/attribute.rb#18 def lower; end - # source://activerecord/lib/arel/attributes/attribute.rb#22 + # source://activerecord//lib/arel/attributes/attribute.rb#22 def type_cast_for_database(value); end - # source://activerecord/lib/arel/attributes/attribute.rb#12 + # source://activerecord//lib/arel/attributes/attribute.rb#12 def type_caster; end end -# source://activerecord/lib/arel/errors.rb#10 +# source://activerecord//lib/arel/errors.rb#10 class Arel::BindError < ::Arel::ArelError # @return [BindError] a new instance of BindError # - # source://activerecord/lib/arel/errors.rb#11 + # source://activerecord//lib/arel/errors.rb#11 def initialize(message, sql = T.unsafe(nil)); end end -# source://activerecord/lib/arel/collectors/plain_string.rb#4 +# source://activerecord//lib/arel/collectors/plain_string.rb#4 module Arel::Collectors; end -# source://activerecord/lib/arel/collectors/bind.rb#5 +# source://activerecord//lib/arel/collectors/bind.rb#5 class Arel::Collectors::Bind # @return [Bind] a new instance of Bind # - # source://activerecord/lib/arel/collectors/bind.rb#6 + # source://activerecord//lib/arel/collectors/bind.rb#6 def initialize; end - # source://activerecord/lib/arel/collectors/bind.rb#10 + # source://activerecord//lib/arel/collectors/bind.rb#10 def <<(str); end - # source://activerecord/lib/arel/collectors/bind.rb#14 + # source://activerecord//lib/arel/collectors/bind.rb#14 def add_bind(bind); end - # source://activerecord/lib/arel/collectors/bind.rb#19 + # source://activerecord//lib/arel/collectors/bind.rb#19 def add_binds(binds, proc_for_binds = T.unsafe(nil)); end - # source://activerecord/lib/arel/collectors/bind.rb#24 + # source://activerecord//lib/arel/collectors/bind.rb#24 def value; end end -# source://activerecord/lib/arel/collectors/composite.rb#5 +# source://activerecord//lib/arel/collectors/composite.rb#5 class Arel::Collectors::Composite # @return [Composite] a new instance of Composite # - # source://activerecord/lib/arel/collectors/composite.rb#8 + # source://activerecord//lib/arel/collectors/composite.rb#8 def initialize(left, right); end - # source://activerecord/lib/arel/collectors/composite.rb#13 + # source://activerecord//lib/arel/collectors/composite.rb#13 def <<(str); end - # source://activerecord/lib/arel/collectors/composite.rb#19 + # source://activerecord//lib/arel/collectors/composite.rb#19 def add_bind(bind, &block); end - # source://activerecord/lib/arel/collectors/composite.rb#25 + # source://activerecord//lib/arel/collectors/composite.rb#25 def add_binds(binds, proc_for_binds = T.unsafe(nil), &block); end # Returns the value of attribute preparable. # - # source://activerecord/lib/arel/collectors/composite.rb#6 + # source://activerecord//lib/arel/collectors/composite.rb#6 def preparable; end # Sets the attribute preparable # # @param value the value to set the attribute preparable to. # - # source://activerecord/lib/arel/collectors/composite.rb#6 + # source://activerecord//lib/arel/collectors/composite.rb#6 def preparable=(_arg0); end - # source://activerecord/lib/arel/collectors/composite.rb#31 + # source://activerecord//lib/arel/collectors/composite.rb#31 def value; end private # Returns the value of attribute left. # - # source://activerecord/lib/arel/collectors/composite.rb#36 + # source://activerecord//lib/arel/collectors/composite.rb#36 def left; end # Returns the value of attribute right. # - # source://activerecord/lib/arel/collectors/composite.rb#36 + # source://activerecord//lib/arel/collectors/composite.rb#36 def right; end end -# source://activerecord/lib/arel/collectors/plain_string.rb#5 +# source://activerecord//lib/arel/collectors/plain_string.rb#5 class Arel::Collectors::PlainString # @return [PlainString] a new instance of PlainString # - # source://activerecord/lib/arel/collectors/plain_string.rb#6 + # source://activerecord//lib/arel/collectors/plain_string.rb#6 def initialize; end - # source://activerecord/lib/arel/collectors/plain_string.rb#14 + # source://activerecord//lib/arel/collectors/plain_string.rb#14 def <<(str); end - # source://activerecord/lib/arel/collectors/plain_string.rb#10 + # source://activerecord//lib/arel/collectors/plain_string.rb#10 def value; end end -# source://activerecord/lib/arel/collectors/sql_string.rb#7 +# source://activerecord//lib/arel/collectors/sql_string.rb#7 class Arel::Collectors::SQLString < ::Arel::Collectors::PlainString # @return [SQLString] a new instance of SQLString # - # source://activerecord/lib/arel/collectors/sql_string.rb#10 + # source://activerecord//lib/arel/collectors/sql_string.rb#10 def initialize(*_arg0); end - # source://activerecord/lib/arel/collectors/sql_string.rb#15 + # source://activerecord//lib/arel/collectors/sql_string.rb#15 def add_bind(bind); end - # source://activerecord/lib/arel/collectors/sql_string.rb#21 + # source://activerecord//lib/arel/collectors/sql_string.rb#21 def add_binds(binds, proc_for_binds = T.unsafe(nil), &block); end # Returns the value of attribute preparable. # - # source://activerecord/lib/arel/collectors/sql_string.rb#8 + # source://activerecord//lib/arel/collectors/sql_string.rb#8 def preparable; end # Sets the attribute preparable # # @param value the value to set the attribute preparable to. # - # source://activerecord/lib/arel/collectors/sql_string.rb#8 + # source://activerecord//lib/arel/collectors/sql_string.rb#8 def preparable=(_arg0); end end -# source://activerecord/lib/arel/collectors/substitute_binds.rb#5 +# source://activerecord//lib/arel/collectors/substitute_binds.rb#5 class Arel::Collectors::SubstituteBinds # @return [SubstituteBinds] a new instance of SubstituteBinds # - # source://activerecord/lib/arel/collectors/substitute_binds.rb#8 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#8 def initialize(quoter, delegate_collector); end - # source://activerecord/lib/arel/collectors/substitute_binds.rb#13 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#13 def <<(str); end - # source://activerecord/lib/arel/collectors/substitute_binds.rb#18 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#18 def add_bind(bind); end - # source://activerecord/lib/arel/collectors/substitute_binds.rb#23 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#23 def add_binds(binds, proc_for_binds = T.unsafe(nil)); end # Returns the value of attribute preparable. # - # source://activerecord/lib/arel/collectors/substitute_binds.rb#6 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#6 def preparable; end # Sets the attribute preparable # # @param value the value to set the attribute preparable to. # - # source://activerecord/lib/arel/collectors/substitute_binds.rb#6 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#6 def preparable=(_arg0); end - # source://activerecord/lib/arel/collectors/substitute_binds.rb#27 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#27 def value; end private # Returns the value of attribute delegate. # - # source://activerecord/lib/arel/collectors/substitute_binds.rb#32 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#32 def delegate; end # Returns the value of attribute quoter. # - # source://activerecord/lib/arel/collectors/substitute_binds.rb#32 + # source://activerecord//lib/arel/collectors/substitute_binds.rb#32 def quoter; end end # FIXME hopefully we can remove this # -# source://activerecord/lib/arel/crud.rb#6 +# source://activerecord//lib/arel/crud.rb#6 module Arel::Crud - # source://activerecord/lib/arel/crud.rb#36 + # source://activerecord//lib/arel/crud.rb#36 def compile_delete(key = T.unsafe(nil), having_clause = T.unsafe(nil), group_values_columns = T.unsafe(nil)); end - # source://activerecord/lib/arel/crud.rb#7 + # source://activerecord//lib/arel/crud.rb#7 def compile_insert(values); end - # source://activerecord/lib/arel/crud.rb#17 + # source://activerecord//lib/arel/crud.rb#17 def compile_update(values, key = T.unsafe(nil), having_clause = T.unsafe(nil), group_values_columns = T.unsafe(nil)); end - # source://activerecord/lib/arel/crud.rb#13 + # source://activerecord//lib/arel/crud.rb#13 def create_insert; end end -# source://activerecord/lib/arel/delete_manager.rb#4 +# source://activerecord//lib/arel/delete_manager.rb#4 class Arel::DeleteManager < ::Arel::TreeManager include ::Arel::TreeManager::StatementMethods # @return [DeleteManager] a new instance of DeleteManager # - # source://activerecord/lib/arel/delete_manager.rb#7 + # source://activerecord//lib/arel/delete_manager.rb#7 def initialize(table = T.unsafe(nil)); end - # source://activerecord/lib/arel/delete_manager.rb#11 + # source://activerecord//lib/arel/delete_manager.rb#11 def from(relation); end - # source://activerecord/lib/arel/delete_manager.rb#16 + # source://activerecord//lib/arel/delete_manager.rb#16 def group(columns); end - # source://activerecord/lib/arel/delete_manager.rb#27 + # source://activerecord//lib/arel/delete_manager.rb#27 def having(expr); end end -# source://activerecord/lib/arel/errors.rb#7 +# source://activerecord//lib/arel/errors.rb#7 class Arel::EmptyJoinError < ::Arel::ArelError; end -# source://activerecord/lib/arel/expressions.rb#4 +# source://activerecord//lib/arel/expressions.rb#4 module Arel::Expressions - # source://activerecord/lib/arel/expressions.rb#21 + # source://activerecord//lib/arel/expressions.rb#21 def average; end - # source://activerecord/lib/arel/expressions.rb#5 + # source://activerecord//lib/arel/expressions.rb#5 def count(distinct = T.unsafe(nil)); end - # source://activerecord/lib/arel/expressions.rb#25 + # source://activerecord//lib/arel/expressions.rb#25 def extract(field); end - # source://activerecord/lib/arel/expressions.rb#13 + # source://activerecord//lib/arel/expressions.rb#13 def maximum; end - # source://activerecord/lib/arel/expressions.rb#17 + # source://activerecord//lib/arel/expressions.rb#17 def minimum; end - # source://activerecord/lib/arel/expressions.rb#9 + # source://activerecord//lib/arel/expressions.rb#9 def sum; end end # Methods for creating various nodes # -# source://activerecord/lib/arel/factory_methods.rb#6 +# source://activerecord//lib/arel/factory_methods.rb#6 module Arel::FactoryMethods - # source://activerecord/lib/arel/factory_methods.rb#49 + # source://activerecord//lib/arel/factory_methods.rb#49 def cast(name, type); end - # source://activerecord/lib/arel/factory_methods.rb#45 + # source://activerecord//lib/arel/factory_methods.rb#45 def coalesce(*exprs); end - # source://activerecord/lib/arel/factory_methods.rb#27 + # source://activerecord//lib/arel/factory_methods.rb#27 def create_and(clauses); end - # source://activerecord/lib/arel/factory_methods.rb#11 + # source://activerecord//lib/arel/factory_methods.rb#11 def create_false; end - # source://activerecord/lib/arel/factory_methods.rb#19 + # source://activerecord//lib/arel/factory_methods.rb#19 def create_join(to, constraint = T.unsafe(nil), klass = T.unsafe(nil)); end - # source://activerecord/lib/arel/factory_methods.rb#31 + # source://activerecord//lib/arel/factory_methods.rb#31 def create_on(expr); end - # source://activerecord/lib/arel/factory_methods.rb#23 + # source://activerecord//lib/arel/factory_methods.rb#23 def create_string_join(to); end - # source://activerecord/lib/arel/factory_methods.rb#15 + # source://activerecord//lib/arel/factory_methods.rb#15 def create_table_alias(relation, name); end - # source://activerecord/lib/arel/factory_methods.rb#7 + # source://activerecord//lib/arel/factory_methods.rb#7 def create_true; end - # source://activerecord/lib/arel/factory_methods.rb#35 + # source://activerecord//lib/arel/factory_methods.rb#35 def grouping(expr); end # Create a LOWER() function # - # source://activerecord/lib/arel/factory_methods.rb#41 + # source://activerecord//lib/arel/factory_methods.rb#41 def lower(column); end end -# source://activerecord/lib/arel/filter_predications.rb#4 +# source://activerecord//lib/arel/filter_predications.rb#4 module Arel::FilterPredications - # source://activerecord/lib/arel/filter_predications.rb#5 + # source://activerecord//lib/arel/filter_predications.rb#5 def filter(expr); end end -# source://activerecord/lib/arel/insert_manager.rb#4 +# source://activerecord//lib/arel/insert_manager.rb#4 class Arel::InsertManager < ::Arel::TreeManager # @return [InsertManager] a new instance of InsertManager # - # source://activerecord/lib/arel/insert_manager.rb#5 + # source://activerecord//lib/arel/insert_manager.rb#5 def initialize(table = T.unsafe(nil)); end - # source://activerecord/lib/arel/insert_manager.rb#14 + # source://activerecord//lib/arel/insert_manager.rb#14 def columns; end - # source://activerecord/lib/arel/insert_manager.rb#40 + # source://activerecord//lib/arel/insert_manager.rb#40 def create_values(values); end - # source://activerecord/lib/arel/insert_manager.rb#44 + # source://activerecord//lib/arel/insert_manager.rb#44 def create_values_list(rows); end - # source://activerecord/lib/arel/insert_manager.rb#21 + # source://activerecord//lib/arel/insert_manager.rb#21 def insert(fields); end - # source://activerecord/lib/arel/insert_manager.rb#9 + # source://activerecord//lib/arel/insert_manager.rb#9 def into(table); end - # source://activerecord/lib/arel/insert_manager.rb#17 + # source://activerecord//lib/arel/insert_manager.rb#17 def select(select); end - # source://activerecord/lib/arel/insert_manager.rb#15 + # source://activerecord//lib/arel/insert_manager.rb#15 def values=(val); end end -# source://activerecord/lib/arel/math.rb#4 +# source://activerecord//lib/arel/math.rb#4 module Arel::Math - # source://activerecord/lib/arel/math.rb#21 + # source://activerecord//lib/arel/math.rb#21 def &(other); end - # source://activerecord/lib/arel/math.rb#5 + # source://activerecord//lib/arel/math.rb#5 def *(other); end - # source://activerecord/lib/arel/math.rb#9 + # source://activerecord//lib/arel/math.rb#9 def +(other); end - # source://activerecord/lib/arel/math.rb#13 + # source://activerecord//lib/arel/math.rb#13 def -(other); end - # source://activerecord/lib/arel/math.rb#17 + # source://activerecord//lib/arel/math.rb#17 def /(other); end - # source://activerecord/lib/arel/math.rb#33 + # source://activerecord//lib/arel/math.rb#33 def <<(other); end - # source://activerecord/lib/arel/math.rb#37 + # source://activerecord//lib/arel/math.rb#37 def >>(other); end - # source://activerecord/lib/arel/math.rb#29 + # source://activerecord//lib/arel/math.rb#29 def ^(other); end - # source://activerecord/lib/arel/math.rb#25 + # source://activerecord//lib/arel/math.rb#25 def |(other); end - # source://activerecord/lib/arel/math.rb#41 + # source://activerecord//lib/arel/math.rb#41 def ~; end end -# source://activerecord/lib/arel/nodes/node.rb#4 +# source://activerecord//lib/arel/nodes/node.rb#4 module Arel::Nodes class << self - # source://activerecord/lib/arel/nodes/casted.rb#48 + # source://activerecord//lib/arel/nodes/casted.rb#48 def build_quoted(other, attribute = T.unsafe(nil)); end end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#32 +# source://activerecord//lib/arel/nodes/infix_operation.rb#32 class Arel::Nodes::Addition < ::Arel::Nodes::InfixOperation # @return [Addition] a new instance of Addition # - # source://activerecord/lib/arel/nodes/infix_operation.rb#33 + # source://activerecord//lib/arel/nodes/infix_operation.rb#33 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/and.rb#5 +# source://activerecord//lib/arel/nodes/and.rb#5 class Arel::Nodes::And < ::Arel::Nodes::NodeExpression # @return [And] a new instance of And # - # source://activerecord/lib/arel/nodes/and.rb#8 + # source://activerecord//lib/arel/nodes/and.rb#8 def initialize(children); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/and.rb#29 + # source://activerecord//lib/arel/nodes/and.rb#33 def ==(other); end # Returns the value of attribute children. # - # source://activerecord/lib/arel/nodes/and.rb#6 + # source://activerecord//lib/arel/nodes/and.rb#6 def children; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/and.rb#29 + # source://activerecord//lib/arel/nodes/and.rb#29 def eql?(other); end - # source://activerecord/lib/arel/nodes/and.rb#21 + # source://activerecord//lib/arel/nodes/and.rb#21 def fetch_attribute(&block); end - # source://activerecord/lib/arel/nodes/and.rb#25 + # source://activerecord//lib/arel/nodes/and.rb#25 def hash; end - # source://activerecord/lib/arel/nodes/and.rb#13 + # source://activerecord//lib/arel/nodes/and.rb#13 def left; end - # source://activerecord/lib/arel/nodes/and.rb#17 + # source://activerecord//lib/arel/nodes/and.rb#17 def right; end end -# source://activerecord/lib/arel/nodes/binary.rb#42 +# source://activerecord//lib/arel/nodes/binary.rb#42 class Arel::Nodes::As < ::Arel::Nodes::Binary - # source://activerecord/lib/arel/nodes/binary.rb#43 + # source://activerecord//lib/arel/nodes/binary.rb#43 def to_cte; end end -# source://activerecord/lib/arel/nodes/ascending.rb#5 +# source://activerecord//lib/arel/nodes/ascending.rb#5 class Arel::Nodes::Ascending < ::Arel::Nodes::Ordering # @return [Boolean] # - # source://activerecord/lib/arel/nodes/ascending.rb#14 + # source://activerecord//lib/arel/nodes/ascending.rb#14 def ascending?; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/ascending.rb#18 + # source://activerecord//lib/arel/nodes/ascending.rb#18 def descending?; end - # source://activerecord/lib/arel/nodes/ascending.rb#10 + # source://activerecord//lib/arel/nodes/ascending.rb#10 def direction; end - # source://activerecord/lib/arel/nodes/ascending.rb#6 + # source://activerecord//lib/arel/nodes/ascending.rb#6 def reverse; end end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::Assignment < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/function.rb#42 +# source://activerecord//lib/arel/nodes/function.rb#42 class Arel::Nodes::Avg < ::Arel::Nodes::Function; end -# source://activerecord/lib/arel/nodes/binary.rb#48 +# source://activerecord//lib/arel/nodes/binary.rb#48 class Arel::Nodes::Between < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Bin < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/binary.rb#5 +# source://activerecord//lib/arel/nodes/binary.rb#5 class Arel::Nodes::Binary < ::Arel::Nodes::NodeExpression # @return [Binary] a new instance of Binary # - # source://activerecord/lib/arel/nodes/binary.rb#8 + # source://activerecord//lib/arel/nodes/binary.rb#8 def initialize(left, right); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/binary.rb#24 + # source://activerecord//lib/arel/nodes/binary.rb#29 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/binary.rb#24 + # source://activerecord//lib/arel/nodes/binary.rb#24 def eql?(other); end - # source://activerecord/lib/arel/nodes/binary.rb#20 + # source://activerecord//lib/arel/nodes/binary.rb#20 def hash; end # Returns the value of attribute left. # - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/binary.rb#6 def left; end # Sets the attribute left # # @param value the value to set the attribute left to. # - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/binary.rb#6 def left=(_arg0); end # Returns the value of attribute right. # - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/binary.rb#6 def right; end # Sets the attribute right # # @param value the value to set the attribute right to. # - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/binary.rb#6 def right=(_arg0); end private - # source://activerecord/lib/arel/nodes/binary.rb#14 + # source://activerecord//lib/arel/nodes/binary.rb#14 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/bind_param.rb#5 +# source://activerecord//lib/arel/nodes/bind_param.rb#5 class Arel::Nodes::BindParam < ::Arel::Nodes::Node # @return [BindParam] a new instance of BindParam # - # source://activerecord/lib/arel/nodes/bind_param.rb#8 + # source://activerecord//lib/arel/nodes/bind_param.rb#8 def initialize(value); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bind_param.rb#17 + # source://activerecord//lib/arel/nodes/bind_param.rb#21 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bind_param.rb#17 + # source://activerecord//lib/arel/nodes/bind_param.rb#17 def eql?(other); end - # source://activerecord/lib/arel/nodes/bind_param.rb#13 + # source://activerecord//lib/arel/nodes/bind_param.rb#13 def hash; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bind_param.rb#35 + # source://activerecord//lib/arel/nodes/bind_param.rb#35 def infinite?; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bind_param.rb#23 + # source://activerecord//lib/arel/nodes/bind_param.rb#23 def nil?; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bind_param.rb#39 + # source://activerecord//lib/arel/nodes/bind_param.rb#39 def unboundable?; end # Returns the value of attribute value. # - # source://activerecord/lib/arel/nodes/bind_param.rb#6 + # source://activerecord//lib/arel/nodes/bind_param.rb#6 def value; end - # source://activerecord/lib/arel/nodes/bind_param.rb#27 + # source://activerecord//lib/arel/nodes/bind_param.rb#27 def value_before_type_cast; end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#62 +# source://activerecord//lib/arel/nodes/infix_operation.rb#62 class Arel::Nodes::BitwiseAnd < ::Arel::Nodes::InfixOperation # @return [BitwiseAnd] a new instance of BitwiseAnd # - # source://activerecord/lib/arel/nodes/infix_operation.rb#63 + # source://activerecord//lib/arel/nodes/infix_operation.rb#63 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/unary_operation.rb#14 +# source://activerecord//lib/arel/nodes/unary_operation.rb#14 class Arel::Nodes::BitwiseNot < ::Arel::Nodes::UnaryOperation # @return [BitwiseNot] a new instance of BitwiseNot # - # source://activerecord/lib/arel/nodes/unary_operation.rb#15 + # source://activerecord//lib/arel/nodes/unary_operation.rb#15 def initialize(operand); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#68 +# source://activerecord//lib/arel/nodes/infix_operation.rb#68 class Arel::Nodes::BitwiseOr < ::Arel::Nodes::InfixOperation # @return [BitwiseOr] a new instance of BitwiseOr # - # source://activerecord/lib/arel/nodes/infix_operation.rb#69 + # source://activerecord//lib/arel/nodes/infix_operation.rb#69 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#80 +# source://activerecord//lib/arel/nodes/infix_operation.rb#80 class Arel::Nodes::BitwiseShiftLeft < ::Arel::Nodes::InfixOperation # @return [BitwiseShiftLeft] a new instance of BitwiseShiftLeft # - # source://activerecord/lib/arel/nodes/infix_operation.rb#81 + # source://activerecord//lib/arel/nodes/infix_operation.rb#81 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#86 +# source://activerecord//lib/arel/nodes/infix_operation.rb#86 class Arel::Nodes::BitwiseShiftRight < ::Arel::Nodes::InfixOperation # @return [BitwiseShiftRight] a new instance of BitwiseShiftRight # - # source://activerecord/lib/arel/nodes/infix_operation.rb#87 + # source://activerecord//lib/arel/nodes/infix_operation.rb#87 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#74 +# source://activerecord//lib/arel/nodes/infix_operation.rb#74 class Arel::Nodes::BitwiseXor < ::Arel::Nodes::InfixOperation # @return [BitwiseXor] a new instance of BitwiseXor # - # source://activerecord/lib/arel/nodes/infix_operation.rb#75 + # source://activerecord//lib/arel/nodes/infix_operation.rb#75 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/bound_sql_literal.rb#5 +# source://activerecord//lib/arel/nodes/bound_sql_literal.rb#5 class Arel::Nodes::BoundSqlLiteral < ::Arel::Nodes::NodeExpression # @return [BoundSqlLiteral] a new instance of BoundSqlLiteral # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#8 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#8 def initialize(sql_with_placeholders, positional_binds, named_binds); end # @raise [ArgumentError] # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#50 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#50 def +(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#42 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#48 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#42 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#42 def eql?(other); end - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#38 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#38 def hash; end - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#56 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#56 def inspect; end # Returns the value of attribute named_binds. # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#6 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#6 def named_binds; end # Returns the value of attribute positional_binds. # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#6 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#6 def positional_binds; end # Returns the value of attribute sql_with_placeholders. # - # source://activerecord/lib/arel/nodes/bound_sql_literal.rb#6 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#6 def sql_with_placeholders; end end -# source://activerecord/lib/arel/nodes/case.rb#5 +# source://activerecord//lib/arel/nodes/case.rb#5 class Arel::Nodes::Case < ::Arel::Nodes::NodeExpression # @return [Case] a new instance of Case # - # source://activerecord/lib/arel/nodes/case.rb#8 + # source://activerecord//lib/arel/nodes/case.rb#8 def initialize(expression = T.unsafe(nil), default = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/case.rb#40 + # source://activerecord//lib/arel/nodes/case.rb#46 def ==(other); end # Returns the value of attribute case. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def case; end # Sets the attribute case # # @param value the value to set the attribute case to. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def case=(_arg0); end # Returns the value of attribute conditions. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def conditions; end # Sets the attribute conditions # # @param value the value to set the attribute conditions to. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def conditions=(_arg0); end # Returns the value of attribute default. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def default; end # Sets the attribute default # # @param value the value to set the attribute default to. # - # source://activerecord/lib/arel/nodes/case.rb#6 + # source://activerecord//lib/arel/nodes/case.rb#6 def default=(_arg0); end - # source://activerecord/lib/arel/nodes/case.rb#24 + # source://activerecord//lib/arel/nodes/case.rb#24 def else(expression); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/case.rb#40 + # source://activerecord//lib/arel/nodes/case.rb#40 def eql?(other); end - # source://activerecord/lib/arel/nodes/case.rb#36 + # source://activerecord//lib/arel/nodes/case.rb#36 def hash; end - # source://activerecord/lib/arel/nodes/case.rb#19 + # source://activerecord//lib/arel/nodes/case.rb#19 def then(expression); end - # source://activerecord/lib/arel/nodes/case.rb#14 + # source://activerecord//lib/arel/nodes/case.rb#14 def when(condition, expression = T.unsafe(nil)); end private - # source://activerecord/lib/arel/nodes/case.rb#29 + # source://activerecord//lib/arel/nodes/case.rb#29 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/casted.rb#5 +# source://activerecord//lib/arel/nodes/casted.rb#5 class Arel::Nodes::Casted < ::Arel::Nodes::NodeExpression # @return [Casted] a new instance of Casted # - # source://activerecord/lib/arel/nodes/casted.rb#9 + # source://activerecord//lib/arel/nodes/casted.rb#9 def initialize(value, attribute); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/casted.rb#29 + # source://activerecord//lib/arel/nodes/casted.rb#34 def ==(other); end # Returns the value of attribute attribute. # - # source://activerecord/lib/arel/nodes/casted.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#6 def attribute; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/casted.rb#29 + # source://activerecord//lib/arel/nodes/casted.rb#29 def eql?(other); end - # source://activerecord/lib/arel/nodes/casted.rb#25 + # source://activerecord//lib/arel/nodes/casted.rb#25 def hash; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/casted.rb#15 + # source://activerecord//lib/arel/nodes/casted.rb#15 def nil?; end # Returns the value of attribute value. # - # source://activerecord/lib/arel/nodes/casted.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#6 def value; end # Returns the value of attribute value. # - # source://activerecord/lib/arel/nodes/casted.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#7 def value_before_type_cast; end - # source://activerecord/lib/arel/nodes/casted.rb#17 + # source://activerecord//lib/arel/nodes/casted.rb#17 def value_for_database; end end -# source://activerecord/lib/arel/nodes/comment.rb#5 +# source://activerecord//lib/arel/nodes/comment.rb#5 class Arel::Nodes::Comment < ::Arel::Nodes::Node # @return [Comment] a new instance of Comment # - # source://activerecord/lib/arel/nodes/comment.rb#8 + # source://activerecord//lib/arel/nodes/comment.rb#8 def initialize(values); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/comment.rb#22 + # source://activerecord//lib/arel/nodes/comment.rb#26 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/comment.rb#22 + # source://activerecord//lib/arel/nodes/comment.rb#22 def eql?(other); end - # source://activerecord/lib/arel/nodes/comment.rb#18 + # source://activerecord//lib/arel/nodes/comment.rb#18 def hash; end # Returns the value of attribute values. # - # source://activerecord/lib/arel/nodes/comment.rb#6 + # source://activerecord//lib/arel/nodes/comment.rb#6 def values; end private - # source://activerecord/lib/arel/nodes/comment.rb#13 + # source://activerecord//lib/arel/nodes/comment.rb#13 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#44 +# source://activerecord//lib/arel/nodes/infix_operation.rb#44 class Arel::Nodes::Concat < ::Arel::Nodes::InfixOperation # @return [Concat] a new instance of Concat # - # source://activerecord/lib/arel/nodes/infix_operation.rb#45 + # source://activerecord//lib/arel/nodes/infix_operation.rb#45 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#50 +# source://activerecord//lib/arel/nodes/infix_operation.rb#50 class Arel::Nodes::Contains < ::Arel::Nodes::InfixOperation # @return [Contains] a new instance of Contains # - # source://activerecord/lib/arel/nodes/infix_operation.rb#51 + # source://activerecord//lib/arel/nodes/infix_operation.rb#51 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/count.rb#5 +# source://activerecord//lib/arel/nodes/count.rb#5 class Arel::Nodes::Count < ::Arel::Nodes::Function # @return [Count] a new instance of Count # - # source://activerecord/lib/arel/nodes/count.rb#6 + # source://activerecord//lib/arel/nodes/count.rb#6 def initialize(expr, distinct = T.unsafe(nil), aliaz = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/cte.rb#5 +# source://activerecord//lib/arel/nodes/cte.rb#5 class Arel::Nodes::Cte < ::Arel::Nodes::Binary # @return [Cte] a new instance of Cte # - # source://activerecord/lib/arel/nodes/cte.rb#10 + # source://activerecord//lib/arel/nodes/cte.rb#10 def initialize(name, relation, materialized: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/cte.rb#19 + # source://activerecord//lib/arel/nodes/cte.rb#25 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/cte.rb#19 + # source://activerecord//lib/arel/nodes/cte.rb#19 def eql?(other); end - # source://activerecord/lib/arel/nodes/cte.rb#15 + # source://activerecord//lib/arel/nodes/cte.rb#15 def hash; end # Returns the value of attribute materialized. # - # source://activerecord/lib/arel/nodes/cte.rb#8 + # source://activerecord//lib/arel/nodes/cte.rb#8 def materialized; end - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/cte.rb#6 def name; end - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/cte.rb#7 def relation; end - # source://activerecord/lib/arel/nodes/cte.rb#27 + # source://activerecord//lib/arel/nodes/cte.rb#27 def to_cte; end - # source://activerecord/lib/arel/nodes/cte.rb#31 + # source://activerecord//lib/arel/nodes/cte.rb#31 def to_table; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Cube < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/window.rb#103 +# source://activerecord//lib/arel/nodes/window.rb#103 class Arel::Nodes::CurrentRow < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#108 + # source://activerecord//lib/arel/nodes/window.rb#111 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#108 + # source://activerecord//lib/arel/nodes/window.rb#108 def eql?(other); end - # source://activerecord/lib/arel/nodes/window.rb#104 + # source://activerecord//lib/arel/nodes/window.rb#104 def hash; end end -# source://activerecord/lib/arel/nodes/delete_statement.rb#5 +# source://activerecord//lib/arel/nodes/delete_statement.rb#5 class Arel::Nodes::DeleteStatement < ::Arel::Nodes::Node # @return [DeleteStatement] a new instance of DeleteStatement # - # source://activerecord/lib/arel/nodes/delete_statement.rb#8 + # source://activerecord//lib/arel/nodes/delete_statement.rb#8 def initialize(relation = T.unsafe(nil), wheres = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/delete_statement.rb#30 + # source://activerecord//lib/arel/nodes/delete_statement.rb#41 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/delete_statement.rb#30 + # source://activerecord//lib/arel/nodes/delete_statement.rb#30 def eql?(other); end # Returns the value of attribute groups. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def groups; end # Sets the attribute groups # # @param value the value to set the attribute groups to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def groups=(_arg0); end - # source://activerecord/lib/arel/nodes/delete_statement.rb#26 + # source://activerecord//lib/arel/nodes/delete_statement.rb#26 def hash; end # Returns the value of attribute havings. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def havings; end # Sets the attribute havings # # @param value the value to set the attribute havings to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def havings=(_arg0); end # Returns the value of attribute key. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def key; end # Sets the attribute key # # @param value the value to set the attribute key to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def key=(_arg0); end # Returns the value of attribute limit. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def limit; end # Sets the attribute limit # # @param value the value to set the attribute limit to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def limit=(_arg0); end # Returns the value of attribute offset. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def offset; end # Sets the attribute offset # # @param value the value to set the attribute offset to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def offset=(_arg0); end # Returns the value of attribute orders. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def orders; end # Sets the attribute orders # # @param value the value to set the attribute orders to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def orders=(_arg0); end # Returns the value of attribute relation. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def relation; end # Sets the attribute relation # # @param value the value to set the attribute relation to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def relation=(_arg0); end # Returns the value of attribute wheres. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def wheres; end # Sets the attribute wheres # # @param value the value to set the attribute wheres to. # - # source://activerecord/lib/arel/nodes/delete_statement.rb#6 + # source://activerecord//lib/arel/nodes/delete_statement.rb#6 def wheres=(_arg0); end private - # source://activerecord/lib/arel/nodes/delete_statement.rb#20 + # source://activerecord//lib/arel/nodes/delete_statement.rb#20 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/descending.rb#5 +# source://activerecord//lib/arel/nodes/descending.rb#5 class Arel::Nodes::Descending < ::Arel::Nodes::Ordering # @return [Boolean] # - # source://activerecord/lib/arel/nodes/descending.rb#14 + # source://activerecord//lib/arel/nodes/descending.rb#14 def ascending?; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/descending.rb#18 + # source://activerecord//lib/arel/nodes/descending.rb#18 def descending?; end - # source://activerecord/lib/arel/nodes/descending.rb#10 + # source://activerecord//lib/arel/nodes/descending.rb#10 def direction; end - # source://activerecord/lib/arel/nodes/descending.rb#6 + # source://activerecord//lib/arel/nodes/descending.rb#6 def reverse; end end -# source://activerecord/lib/arel/nodes/terminal.rb#5 +# source://activerecord//lib/arel/nodes/terminal.rb#5 class Arel::Nodes::Distinct < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord/lib/arel/nodes/terminal.rb#10 + # source://activerecord//lib/arel/nodes/terminal.rb#13 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/terminal.rb#10 + # source://activerecord//lib/arel/nodes/terminal.rb#10 def eql?(other); end - # source://activerecord/lib/arel/nodes/terminal.rb#6 + # source://activerecord//lib/arel/nodes/terminal.rb#6 def hash; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::DistinctOn < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/infix_operation.rb#26 +# source://activerecord//lib/arel/nodes/infix_operation.rb#26 class Arel::Nodes::Division < ::Arel::Nodes::InfixOperation # @return [Division] a new instance of Division # - # source://activerecord/lib/arel/nodes/infix_operation.rb#27 + # source://activerecord//lib/arel/nodes/infix_operation.rb#27 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/matches.rb#16 +# source://activerecord//lib/arel/nodes/matches.rb#16 class Arel::Nodes::DoesNotMatch < ::Arel::Nodes::Matches; end -# source://activerecord/lib/arel/nodes/case.rb#52 +# source://activerecord//lib/arel/nodes/case.rb#52 class Arel::Nodes::Else < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/equality.rb#5 +# source://activerecord//lib/arel/nodes/equality.rb#5 class Arel::Nodes::Equality < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute # @return [Boolean] # - # source://activerecord/lib/arel/nodes/equality.rb#8 + # source://activerecord//lib/arel/nodes/equality.rb#8 def equality?; end - # source://activerecord/lib/arel/nodes/equality.rb#10 + # source://activerecord//lib/arel/nodes/equality.rb#10 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::Except < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/function.rb#42 +# source://activerecord//lib/arel/nodes/function.rb#42 class Arel::Nodes::Exists < ::Arel::Nodes::Function; end -# source://activerecord/lib/arel/nodes/extract.rb#5 +# source://activerecord//lib/arel/nodes/extract.rb#5 class Arel::Nodes::Extract < ::Arel::Nodes::Unary # @return [Extract] a new instance of Extract # - # source://activerecord/lib/arel/nodes/extract.rb#8 + # source://activerecord//lib/arel/nodes/extract.rb#8 def initialize(expr, field); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/extract.rb#17 + # source://activerecord//lib/arel/nodes/extract.rb#21 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/extract.rb#17 + # source://activerecord//lib/arel/nodes/extract.rb#17 def eql?(other); end # Returns the value of attribute field. # - # source://activerecord/lib/arel/nodes/extract.rb#6 + # source://activerecord//lib/arel/nodes/extract.rb#6 def field; end # Sets the attribute field # # @param value the value to set the attribute field to. # - # source://activerecord/lib/arel/nodes/extract.rb#6 + # source://activerecord//lib/arel/nodes/extract.rb#6 def field=(_arg0); end - # source://activerecord/lib/arel/nodes/extract.rb#13 + # source://activerecord//lib/arel/nodes/extract.rb#13 def hash; end end -# source://activerecord/lib/arel/nodes/false.rb#5 +# source://activerecord//lib/arel/nodes/false.rb#5 class Arel::Nodes::False < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord/lib/arel/nodes/false.rb#10 + # source://activerecord//lib/arel/nodes/false.rb#13 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/false.rb#10 + # source://activerecord//lib/arel/nodes/false.rb#10 def eql?(other); end - # source://activerecord/lib/arel/nodes/false.rb#6 + # source://activerecord//lib/arel/nodes/false.rb#6 def hash; end end -# source://activerecord/lib/arel/nodes/binary.rb#32 +# source://activerecord//lib/arel/nodes/binary.rb#32 module Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#33 + # source://activerecord//lib/arel/nodes/binary.rb#33 def fetch_attribute; end end -# source://activerecord/lib/arel/nodes/filter.rb#5 +# source://activerecord//lib/arel/nodes/filter.rb#5 class Arel::Nodes::Filter < ::Arel::Nodes::Binary include ::Arel::WindowPredications end -# source://activerecord/lib/arel/nodes/window.rb#120 +# source://activerecord//lib/arel/nodes/window.rb#120 class Arel::Nodes::Following < ::Arel::Nodes::Unary # @return [Following] a new instance of Following # - # source://activerecord/lib/arel/nodes/window.rb#121 + # source://activerecord//lib/arel/nodes/window.rb#121 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/fragments.rb#5 +# source://activerecord//lib/arel/nodes/fragments.rb#5 class Arel::Nodes::Fragments < ::Arel::Nodes::Node # @return [Fragments] a new instance of Fragments # - # source://activerecord/lib/arel/nodes/fragments.rb#8 + # source://activerecord//lib/arel/nodes/fragments.rb#8 def initialize(values = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://activerecord/lib/arel/nodes/fragments.rb#22 + # source://activerecord//lib/arel/nodes/fragments.rb#22 def +(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/fragments.rb#28 + # source://activerecord//lib/arel/nodes/fragments.rb#32 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/fragments.rb#28 + # source://activerecord//lib/arel/nodes/fragments.rb#28 def eql?(other); end - # source://activerecord/lib/arel/nodes/fragments.rb#18 + # source://activerecord//lib/arel/nodes/fragments.rb#18 def hash; end # Returns the value of attribute values. # - # source://activerecord/lib/arel/nodes/fragments.rb#6 + # source://activerecord//lib/arel/nodes/fragments.rb#6 def values; end private - # source://activerecord/lib/arel/nodes/fragments.rb#13 + # source://activerecord//lib/arel/nodes/fragments.rb#13 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/full_outer_join.rb#5 +# source://activerecord//lib/arel/nodes/full_outer_join.rb#5 class Arel::Nodes::FullOuterJoin < ::Arel::Nodes::Join; end -# source://activerecord/lib/arel/nodes/function.rb#5 +# source://activerecord//lib/arel/nodes/function.rb#5 class Arel::Nodes::Function < ::Arel::Nodes::NodeExpression include ::Arel::WindowPredications include ::Arel::FilterPredications # @return [Function] a new instance of Function # - # source://activerecord/lib/arel/nodes/function.rb#10 + # source://activerecord//lib/arel/nodes/function.rb#10 def initialize(expr, aliaz = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/function.rb#26 + # source://activerecord//lib/arel/nodes/function.rb#32 def ==(other); end # Returns the value of attribute alias. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def alias; end # Sets the attribute alias # # @param value the value to set the attribute alias to. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def alias=(_arg0); end - # source://activerecord/lib/arel/nodes/function.rb#17 + # source://activerecord//lib/arel/nodes/function.rb#17 def as(aliaz); end # Returns the value of attribute distinct. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def distinct; end # Sets the attribute distinct # # @param value the value to set the attribute distinct to. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def distinct=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/function.rb#26 + # source://activerecord//lib/arel/nodes/function.rb#26 def eql?(other); end # Returns the value of attribute expressions. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def expressions; end # Sets the attribute expressions # # @param value the value to set the attribute expressions to. # - # source://activerecord/lib/arel/nodes/function.rb#8 + # source://activerecord//lib/arel/nodes/function.rb#8 def expressions=(_arg0); end - # source://activerecord/lib/arel/nodes/function.rb#22 + # source://activerecord//lib/arel/nodes/function.rb#22 def hash; end end -# source://activerecord/lib/arel/nodes/binary.rb#50 +# source://activerecord//lib/arel/nodes/binary.rb#50 class Arel::Nodes::GreaterThan < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#53 + # source://activerecord//lib/arel/nodes/binary.rb#53 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#58 +# source://activerecord//lib/arel/nodes/binary.rb#58 class Arel::Nodes::GreaterThanOrEqual < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#61 + # source://activerecord//lib/arel/nodes/binary.rb#61 def invert; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Group < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/grouping.rb#5 +# source://activerecord//lib/arel/nodes/grouping.rb#5 class Arel::Nodes::Grouping < ::Arel::Nodes::Unary - # source://activerecord/lib/arel/nodes/grouping.rb#6 + # source://activerecord//lib/arel/nodes/grouping.rb#6 def fetch_attribute(&block); end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::GroupingElement < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::GroupingSet < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/homogeneous_in.rb#5 +# source://activerecord//lib/arel/nodes/homogeneous_in.rb#5 class Arel::Nodes::HomogeneousIn < ::Arel::Nodes::Node # @return [HomogeneousIn] a new instance of HomogeneousIn # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#8 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#8 def initialize(values, attribute, type); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#18 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#21 def ==(other); end # Returns the value of attribute attribute. # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#6 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#6 def attribute; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#39 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#39 def casted_values; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#18 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#18 def eql?(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#23 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#23 def equality?; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#54 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#54 def fetch_attribute(&block); end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#14 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#14 def hash; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#27 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#27 def invert; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#31 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#31 def left; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#50 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#50 def proc_for_binds; end - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#35 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#35 def right; end # Returns the value of attribute type. # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#6 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#6 def type; end # Returns the value of attribute values. # - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#6 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#6 def values; end protected - # source://activerecord/lib/arel/nodes/homogeneous_in.rb#63 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#63 def ivars; end end -# source://activerecord/lib/arel/nodes/in.rb#5 +# source://activerecord//lib/arel/nodes/in.rb#5 class Arel::Nodes::In < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute # @return [Boolean] # - # source://activerecord/lib/arel/nodes/in.rb#8 + # source://activerecord//lib/arel/nodes/in.rb#8 def equality?; end - # source://activerecord/lib/arel/nodes/in.rb#10 + # source://activerecord//lib/arel/nodes/in.rb#10 def invert; end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#5 +# source://activerecord//lib/arel/nodes/infix_operation.rb#5 class Arel::Nodes::InfixOperation < ::Arel::Nodes::Binary # @return [InfixOperation] a new instance of InfixOperation # - # source://activerecord/lib/arel/nodes/infix_operation.rb#14 + # source://activerecord//lib/arel/nodes/infix_operation.rb#14 def initialize(operator, left, right); end # Returns the value of attribute operator. # - # source://activerecord/lib/arel/nodes/infix_operation.rb#12 + # source://activerecord//lib/arel/nodes/infix_operation.rb#12 def operator; end end -# source://activerecord/lib/arel/nodes/inner_join.rb#5 +# source://activerecord//lib/arel/nodes/inner_join.rb#5 class Arel::Nodes::InnerJoin < ::Arel::Nodes::Join; end -# source://activerecord/lib/arel/nodes/insert_statement.rb#5 +# source://activerecord//lib/arel/nodes/insert_statement.rb#5 class Arel::Nodes::InsertStatement < ::Arel::Nodes::Node # @return [InsertStatement] a new instance of InsertStatement # - # source://activerecord/lib/arel/nodes/insert_statement.rb#8 + # source://activerecord//lib/arel/nodes/insert_statement.rb#8 def initialize(relation = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/insert_statement.rb#27 + # source://activerecord//lib/arel/nodes/insert_statement.rb#34 def ==(other); end # Returns the value of attribute columns. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def columns; end # Sets the attribute columns # # @param value the value to set the attribute columns to. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def columns=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/insert_statement.rb#27 + # source://activerecord//lib/arel/nodes/insert_statement.rb#27 def eql?(other); end - # source://activerecord/lib/arel/nodes/insert_statement.rb#23 + # source://activerecord//lib/arel/nodes/insert_statement.rb#23 def hash; end # Returns the value of attribute relation. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def relation; end # Sets the attribute relation # # @param value the value to set the attribute relation to. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def relation=(_arg0); end # Returns the value of attribute select. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def select; end # Sets the attribute select # # @param value the value to set the attribute select to. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def select=(_arg0); end # Returns the value of attribute values. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def values; end # Sets the attribute values # # @param value the value to set the attribute values to. # - # source://activerecord/lib/arel/nodes/insert_statement.rb#6 + # source://activerecord//lib/arel/nodes/insert_statement.rb#6 def values=(_arg0); end private - # source://activerecord/lib/arel/nodes/insert_statement.rb#16 + # source://activerecord//lib/arel/nodes/insert_statement.rb#16 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::Intersect < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/binary.rb#82 +# source://activerecord//lib/arel/nodes/binary.rb#82 class Arel::Nodes::IsDistinctFrom < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#85 + # source://activerecord//lib/arel/nodes/binary.rb#85 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#90 +# source://activerecord//lib/arel/nodes/binary.rb#90 class Arel::Nodes::IsNotDistinctFrom < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#93 + # source://activerecord//lib/arel/nodes/binary.rb#93 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::Join < ::Arel::Nodes::Binary; end # Class that represents a join source # # https://www.sqlite.org/syntaxdiagrams.html#join-source # -# source://activerecord/lib/arel/nodes/join_source.rb#10 +# source://activerecord//lib/arel/nodes/join_source.rb#10 class Arel::Nodes::JoinSource < ::Arel::Nodes::Binary # @return [JoinSource] a new instance of JoinSource # - # source://activerecord/lib/arel/nodes/join_source.rb#11 + # source://activerecord//lib/arel/nodes/join_source.rb#11 def initialize(single_source, joinop = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/join_source.rb#15 + # source://activerecord//lib/arel/nodes/join_source.rb#15 def empty?; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Lateral < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/leading_join.rb#5 +# source://activerecord//lib/arel/nodes/leading_join.rb#5 class Arel::Nodes::LeadingJoin < ::Arel::Nodes::InnerJoin; end -# source://activerecord/lib/arel/nodes/binary.rb#66 +# source://activerecord//lib/arel/nodes/binary.rb#66 class Arel::Nodes::LessThan < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#69 + # source://activerecord//lib/arel/nodes/binary.rb#69 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#74 +# source://activerecord//lib/arel/nodes/binary.rb#74 class Arel::Nodes::LessThanOrEqual < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#77 + # source://activerecord//lib/arel/nodes/binary.rb#77 def invert; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Limit < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Lock < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/matches.rb#5 +# source://activerecord//lib/arel/nodes/matches.rb#5 class Arel::Nodes::Matches < ::Arel::Nodes::Binary # @return [Matches] a new instance of Matches # - # source://activerecord/lib/arel/nodes/matches.rb#9 + # source://activerecord//lib/arel/nodes/matches.rb#9 def initialize(left, right, escape = T.unsafe(nil), case_sensitive = T.unsafe(nil)); end # Returns the value of attribute case_sensitive. # - # source://activerecord/lib/arel/nodes/matches.rb#7 + # source://activerecord//lib/arel/nodes/matches.rb#7 def case_sensitive; end # Sets the attribute case_sensitive # # @param value the value to set the attribute case_sensitive to. # - # source://activerecord/lib/arel/nodes/matches.rb#7 + # source://activerecord//lib/arel/nodes/matches.rb#7 def case_sensitive=(_arg0); end # Returns the value of attribute escape. # - # source://activerecord/lib/arel/nodes/matches.rb#6 + # source://activerecord//lib/arel/nodes/matches.rb#6 def escape; end end -# source://activerecord/lib/arel/nodes/function.rb#42 +# source://activerecord//lib/arel/nodes/function.rb#42 class Arel::Nodes::Max < ::Arel::Nodes::Function; end -# source://activerecord/lib/arel/nodes/function.rb#42 +# source://activerecord//lib/arel/nodes/function.rb#42 class Arel::Nodes::Min < ::Arel::Nodes::Function; end -# source://activerecord/lib/arel/nodes/infix_operation.rb#20 +# source://activerecord//lib/arel/nodes/infix_operation.rb#20 class Arel::Nodes::Multiplication < ::Arel::Nodes::InfixOperation # @return [Multiplication] a new instance of Multiplication # - # source://activerecord/lib/arel/nodes/infix_operation.rb#21 + # source://activerecord//lib/arel/nodes/infix_operation.rb#21 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/named_function.rb#5 +# source://activerecord//lib/arel/nodes/named_function.rb#5 class Arel::Nodes::NamedFunction < ::Arel::Nodes::Function # @return [NamedFunction] a new instance of NamedFunction # - # source://activerecord/lib/arel/nodes/named_function.rb#8 + # source://activerecord//lib/arel/nodes/named_function.rb#8 def initialize(name, expr, aliaz = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/named_function.rb#17 + # source://activerecord//lib/arel/nodes/named_function.rb#20 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/named_function.rb#17 + # source://activerecord//lib/arel/nodes/named_function.rb#17 def eql?(other); end - # source://activerecord/lib/arel/nodes/named_function.rb#13 + # source://activerecord//lib/arel/nodes/named_function.rb#13 def hash; end # Returns the value of attribute name. # - # source://activerecord/lib/arel/nodes/named_function.rb#6 + # source://activerecord//lib/arel/nodes/named_function.rb#6 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord/lib/arel/nodes/named_function.rb#6 + # source://activerecord//lib/arel/nodes/named_function.rb#6 def name=(_arg0); end end -# source://activerecord/lib/arel/nodes/window.rb#68 +# source://activerecord//lib/arel/nodes/window.rb#68 class Arel::Nodes::NamedWindow < ::Arel::Nodes::Window # @return [NamedWindow] a new instance of NamedWindow # - # source://activerecord/lib/arel/nodes/window.rb#71 + # source://activerecord//lib/arel/nodes/window.rb#71 def initialize(name); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#85 + # source://activerecord//lib/arel/nodes/window.rb#88 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#85 + # source://activerecord//lib/arel/nodes/window.rb#85 def eql?(other); end - # source://activerecord/lib/arel/nodes/window.rb#81 + # source://activerecord//lib/arel/nodes/window.rb#81 def hash; end # Returns the value of attribute name. # - # source://activerecord/lib/arel/nodes/window.rb#69 + # source://activerecord//lib/arel/nodes/window.rb#69 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord/lib/arel/nodes/window.rb#69 + # source://activerecord//lib/arel/nodes/window.rb#69 def name=(_arg0); end private - # source://activerecord/lib/arel/nodes/window.rb#76 + # source://activerecord//lib/arel/nodes/window.rb#76 def initialize_copy(other); end end @@ -38333,36 +38421,36 @@ end # # # SELECT * FROM "users" WHERE LOWER("users"."name") = 'dhh' AND "users"."age" > '35' # -# source://activerecord/lib/arel/nodes/node.rb#116 +# source://activerecord//lib/arel/nodes/node.rb#116 class Arel::Nodes::Node include ::Arel::FactoryMethods # Factory method to create an Nodes::And node. # - # source://activerecord/lib/arel/nodes/node.rb#135 + # source://activerecord//lib/arel/nodes/node.rb#135 def and(right); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/node.rb#157 + # source://activerecord//lib/arel/nodes/node.rb#157 def equality?; end - # source://activerecord/lib/arel/nodes/node.rb#154 + # source://activerecord//lib/arel/nodes/node.rb#154 def fetch_attribute; end - # source://activerecord/lib/arel/nodes/node.rb#139 + # source://activerecord//lib/arel/nodes/node.rb#139 def invert; end # Factory method to create a Nodes::Not node that has the recipient of # the caller as a child. # - # source://activerecord/lib/arel/nodes/node.rb#122 + # source://activerecord//lib/arel/nodes/node.rb#122 def not; end # Factory method to create a Nodes::Grouping node that has an Nodes::Or # node as a child. # - # source://activerecord/lib/arel/nodes/node.rb#129 + # source://activerecord//lib/arel/nodes/node.rb#129 def or(right); end # FIXME: this method should go away. I don't like people calling @@ -38371,11 +38459,11 @@ class Arel::Nodes::Node # # Maybe we should just use `Table.engine`? :'( # - # source://activerecord/lib/arel/nodes/node.rb#148 + # source://activerecord//lib/arel/nodes/node.rb#148 def to_sql(engine = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/node_expression.rb#5 +# source://activerecord//lib/arel/nodes/node_expression.rb#5 class Arel::Nodes::NodeExpression < ::Arel::Nodes::Node include ::Arel::Expressions include ::Arel::Predications @@ -38384,393 +38472,393 @@ class Arel::Nodes::NodeExpression < ::Arel::Nodes::Node include ::Arel::Math end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Not < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/binary.rb#98 +# source://activerecord//lib/arel/nodes/binary.rb#98 class Arel::Nodes::NotEqual < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#101 + # source://activerecord//lib/arel/nodes/binary.rb#101 def invert; end end -# source://activerecord/lib/arel/nodes/binary.rb#106 +# source://activerecord//lib/arel/nodes/binary.rb#106 class Arel::Nodes::NotIn < ::Arel::Nodes::Binary include ::Arel::Nodes::FetchAttribute - # source://activerecord/lib/arel/nodes/binary.rb#109 + # source://activerecord//lib/arel/nodes/binary.rb#109 def invert; end end -# source://activerecord/lib/arel/nodes/regexp.rb#14 +# source://activerecord//lib/arel/nodes/regexp.rb#14 class Arel::Nodes::NotRegexp < ::Arel::Nodes::Regexp; end -# source://activerecord/lib/arel/nodes/ordering.rb#15 +# source://activerecord//lib/arel/nodes/ordering.rb#15 class Arel::Nodes::NullsFirst < ::Arel::Nodes::Ordering - # source://activerecord/lib/arel/nodes/ordering.rb#16 + # source://activerecord//lib/arel/nodes/ordering.rb#16 def reverse; end end -# source://activerecord/lib/arel/nodes/ordering.rb#21 +# source://activerecord//lib/arel/nodes/ordering.rb#21 class Arel::Nodes::NullsLast < ::Arel::Nodes::Ordering - # source://activerecord/lib/arel/nodes/ordering.rb#22 + # source://activerecord//lib/arel/nodes/ordering.rb#22 def reverse; end end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::Offset < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::On < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::OptimizerHints < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/binary.rb#114 +# source://activerecord//lib/arel/nodes/binary.rb#114 class Arel::Nodes::Or < ::Arel::Nodes::Binary - # source://activerecord/lib/arel/nodes/binary.rb#115 + # source://activerecord//lib/arel/nodes/binary.rb#115 def fetch_attribute(&block); end end -# source://activerecord/lib/arel/nodes/ordering.rb#5 +# source://activerecord//lib/arel/nodes/ordering.rb#5 class Arel::Nodes::Ordering < ::Arel::Nodes::Unary - # source://activerecord/lib/arel/nodes/ordering.rb#6 + # source://activerecord//lib/arel/nodes/ordering.rb#6 def nulls_first; end - # source://activerecord/lib/arel/nodes/ordering.rb#10 + # source://activerecord//lib/arel/nodes/ordering.rb#10 def nulls_last; end end -# source://activerecord/lib/arel/nodes/outer_join.rb#5 +# source://activerecord//lib/arel/nodes/outer_join.rb#5 class Arel::Nodes::OuterJoin < ::Arel::Nodes::Join; end -# source://activerecord/lib/arel/nodes/over.rb#5 +# source://activerecord//lib/arel/nodes/over.rb#5 class Arel::Nodes::Over < ::Arel::Nodes::Binary # @return [Over] a new instance of Over # - # source://activerecord/lib/arel/nodes/over.rb#8 + # source://activerecord//lib/arel/nodes/over.rb#8 def initialize(left, right = T.unsafe(nil)); end - # source://activerecord/lib/arel/nodes/over.rb#12 + # source://activerecord//lib/arel/nodes/over.rb#12 def operator; end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#56 +# source://activerecord//lib/arel/nodes/infix_operation.rb#56 class Arel::Nodes::Overlaps < ::Arel::Nodes::InfixOperation # @return [Overlaps] a new instance of Overlaps # - # source://activerecord/lib/arel/nodes/infix_operation.rb#57 + # source://activerecord//lib/arel/nodes/infix_operation.rb#57 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/window.rb#114 +# source://activerecord//lib/arel/nodes/window.rb#114 class Arel::Nodes::Preceding < ::Arel::Nodes::Unary # @return [Preceding] a new instance of Preceding # - # source://activerecord/lib/arel/nodes/window.rb#115 + # source://activerecord//lib/arel/nodes/window.rb#115 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/casted.rb#37 +# source://activerecord//lib/arel/nodes/casted.rb#37 class Arel::Nodes::Quoted < ::Arel::Nodes::Unary # @return [Boolean] # - # source://activerecord/lib/arel/nodes/casted.rb#43 + # source://activerecord//lib/arel/nodes/casted.rb#43 def infinite?; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/casted.rb#41 + # source://activerecord//lib/arel/nodes/casted.rb#41 def nil?; end - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#39 def value_before_type_cast; end - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#38 def value_for_database; end end -# source://activerecord/lib/arel/nodes/window.rb#97 +# source://activerecord//lib/arel/nodes/window.rb#97 class Arel::Nodes::Range < ::Arel::Nodes::Unary # @return [Range] a new instance of Range # - # source://activerecord/lib/arel/nodes/window.rb#98 + # source://activerecord//lib/arel/nodes/window.rb#98 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/regexp.rb#5 +# source://activerecord//lib/arel/nodes/regexp.rb#5 class Arel::Nodes::Regexp < ::Arel::Nodes::Binary # @return [Regexp] a new instance of Regexp # - # source://activerecord/lib/arel/nodes/regexp.rb#8 + # source://activerecord//lib/arel/nodes/regexp.rb#8 def initialize(left, right, case_sensitive = T.unsafe(nil)); end # Returns the value of attribute case_sensitive. # - # source://activerecord/lib/arel/nodes/regexp.rb#6 + # source://activerecord//lib/arel/nodes/regexp.rb#6 def case_sensitive; end # Sets the attribute case_sensitive # # @param value the value to set the attribute case_sensitive to. # - # source://activerecord/lib/arel/nodes/regexp.rb#6 + # source://activerecord//lib/arel/nodes/regexp.rb#6 def case_sensitive=(_arg0); end end -# source://activerecord/lib/arel/nodes/right_outer_join.rb#5 +# source://activerecord//lib/arel/nodes/right_outer_join.rb#5 class Arel::Nodes::RightOuterJoin < ::Arel::Nodes::Join; end -# source://activerecord/lib/arel/nodes/unary.rb#41 +# source://activerecord//lib/arel/nodes/unary.rb#41 class Arel::Nodes::RollUp < ::Arel::Nodes::Unary; end -# source://activerecord/lib/arel/nodes/window.rb#91 +# source://activerecord//lib/arel/nodes/window.rb#91 class Arel::Nodes::Rows < ::Arel::Nodes::Unary # @return [Rows] a new instance of Rows # - # source://activerecord/lib/arel/nodes/window.rb#92 + # source://activerecord//lib/arel/nodes/window.rb#92 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/select_core.rb#5 +# source://activerecord//lib/arel/nodes/select_core.rb#5 class Arel::Nodes::SelectCore < ::Arel::Nodes::Node # @return [SelectCore] a new instance of SelectCore # - # source://activerecord/lib/arel/nodes/select_core.rb#9 + # source://activerecord//lib/arel/nodes/select_core.rb#9 def initialize(relation = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/select_core.rb#52 + # source://activerecord//lib/arel/nodes/select_core.rb#64 def ==(other); end # Returns the value of attribute comment. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def comment; end # Sets the attribute comment # # @param value the value to set the attribute comment to. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def comment=(_arg0); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/select_core.rb#52 + # source://activerecord//lib/arel/nodes/select_core.rb#52 def eql?(other); end - # source://activerecord/lib/arel/nodes/select_core.rb#24 + # source://activerecord//lib/arel/nodes/select_core.rb#24 def from; end - # source://activerecord/lib/arel/nodes/select_core.rb#28 + # source://activerecord//lib/arel/nodes/select_core.rb#28 def from=(value); end - # source://activerecord/lib/arel/nodes/select_core.rb#24 + # source://activerecord//lib/arel/nodes/select_core.rb#33 def froms; end - # source://activerecord/lib/arel/nodes/select_core.rb#28 + # source://activerecord//lib/arel/nodes/select_core.rb#32 def froms=(value); end # Returns the value of attribute groups. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def groups; end # Sets the attribute groups # # @param value the value to set the attribute groups to. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def groups=(_arg0); end - # source://activerecord/lib/arel/nodes/select_core.rb#45 + # source://activerecord//lib/arel/nodes/select_core.rb#45 def hash; end # Returns the value of attribute havings. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def havings; end # Sets the attribute havings # # @param value the value to set the attribute havings to. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def havings=(_arg0); end # Returns the value of attribute optimizer_hints. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def optimizer_hints; end # Sets the attribute optimizer_hints # # @param value the value to set the attribute optimizer_hints to. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def optimizer_hints=(_arg0); end # Returns the value of attribute projections. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def projections; end # Sets the attribute projections # # @param value the value to set the attribute projections to. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def projections=(_arg0); end # Returns the value of attribute set_quantifier. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def set_quantifier; end # Sets the attribute set_quantifier # # @param value the value to set the attribute set_quantifier to. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def set_quantifier=(_arg0); end # Returns the value of attribute source. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def source; end # Sets the attribute source # # @param value the value to set the attribute source to. # - # source://activerecord/lib/arel/nodes/select_core.rb#7 + # source://activerecord//lib/arel/nodes/select_core.rb#7 def source=(_arg0); end # Returns the value of attribute wheres. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def wheres; end # Sets the attribute wheres # # @param value the value to set the attribute wheres to. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def wheres=(_arg0); end # Returns the value of attribute windows. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def windows; end # Sets the attribute windows # # @param value the value to set the attribute windows to. # - # source://activerecord/lib/arel/nodes/select_core.rb#6 + # source://activerecord//lib/arel/nodes/select_core.rb#6 def windows=(_arg0); end private - # source://activerecord/lib/arel/nodes/select_core.rb#35 + # source://activerecord//lib/arel/nodes/select_core.rb#35 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/select_statement.rb#5 +# source://activerecord//lib/arel/nodes/select_statement.rb#5 class Arel::Nodes::SelectStatement < ::Arel::Nodes::NodeExpression # @return [SelectStatement] a new instance of SelectStatement # - # source://activerecord/lib/arel/nodes/select_statement.rb#9 + # source://activerecord//lib/arel/nodes/select_statement.rb#9 def initialize(relation = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/select_statement.rb#29 + # source://activerecord//lib/arel/nodes/select_statement.rb#38 def ==(other); end # Returns the value of attribute cores. # - # source://activerecord/lib/arel/nodes/select_statement.rb#6 + # source://activerecord//lib/arel/nodes/select_statement.rb#6 def cores; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/select_statement.rb#29 + # source://activerecord//lib/arel/nodes/select_statement.rb#29 def eql?(other); end - # source://activerecord/lib/arel/nodes/select_statement.rb#25 + # source://activerecord//lib/arel/nodes/select_statement.rb#25 def hash; end # Returns the value of attribute limit. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def limit; end # Sets the attribute limit # # @param value the value to set the attribute limit to. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def limit=(_arg0); end # Returns the value of attribute lock. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def lock; end # Sets the attribute lock # # @param value the value to set the attribute lock to. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def lock=(_arg0); end # Returns the value of attribute offset. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def offset; end # Sets the attribute offset # # @param value the value to set the attribute offset to. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def offset=(_arg0); end # Returns the value of attribute orders. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def orders; end # Sets the attribute orders # # @param value the value to set the attribute orders to. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def orders=(_arg0); end # Returns the value of attribute with. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def with; end # Sets the attribute with # # @param value the value to set the attribute with to. # - # source://activerecord/lib/arel/nodes/select_statement.rb#7 + # source://activerecord//lib/arel/nodes/select_statement.rb#7 def with=(_arg0); end private - # source://activerecord/lib/arel/nodes/select_statement.rb#19 + # source://activerecord//lib/arel/nodes/select_statement.rb#19 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/sql_literal.rb#5 +# source://activerecord//lib/arel/nodes/sql_literal.rb#5 class Arel::Nodes::SqlLiteral < ::String include ::Arel::Expressions include ::Arel::Predications @@ -38779,1156 +38867,1156 @@ class Arel::Nodes::SqlLiteral < ::String # @raise [ArgumentError] # - # source://activerecord/lib/arel/nodes/sql_literal.rb#18 + # source://activerecord//lib/arel/nodes/sql_literal.rb#18 def +(other); end - # source://activerecord/lib/arel/nodes/sql_literal.rb#11 + # source://activerecord//lib/arel/nodes/sql_literal.rb#11 def encode_with(coder); end - # source://activerecord/lib/arel/nodes/sql_literal.rb#15 + # source://activerecord//lib/arel/nodes/sql_literal.rb#15 def fetch_attribute; end end -# source://activerecord/lib/arel/nodes/string_join.rb#5 +# source://activerecord//lib/arel/nodes/string_join.rb#5 class Arel::Nodes::StringJoin < ::Arel::Nodes::Join # @return [StringJoin] a new instance of StringJoin # - # source://activerecord/lib/arel/nodes/string_join.rb#6 + # source://activerecord//lib/arel/nodes/string_join.rb#6 def initialize(left, right = T.unsafe(nil)); end end -# source://activerecord/lib/arel/nodes/infix_operation.rb#38 +# source://activerecord//lib/arel/nodes/infix_operation.rb#38 class Arel::Nodes::Subtraction < ::Arel::Nodes::InfixOperation # @return [Subtraction] a new instance of Subtraction # - # source://activerecord/lib/arel/nodes/infix_operation.rb#39 + # source://activerecord//lib/arel/nodes/infix_operation.rb#39 def initialize(left, right); end end -# source://activerecord/lib/arel/nodes/function.rb#42 +# source://activerecord//lib/arel/nodes/function.rb#42 class Arel::Nodes::Sum < ::Arel::Nodes::Function; end -# source://activerecord/lib/arel/nodes/table_alias.rb#5 +# source://activerecord//lib/arel/nodes/table_alias.rb#5 class Arel::Nodes::TableAlias < ::Arel::Nodes::Binary - # source://activerecord/lib/arel/nodes/table_alias.rb#10 + # source://activerecord//lib/arel/nodes/table_alias.rb#10 def [](name); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/table_alias.rb#26 + # source://activerecord//lib/arel/nodes/table_alias.rb#26 def able_to_type_cast?; end - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/table_alias.rb#6 def name; end - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/table_alias.rb#7 def relation; end - # source://activerecord/lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/table_alias.rb#8 def table_alias; end - # source://activerecord/lib/arel/nodes/table_alias.rb#14 + # source://activerecord//lib/arel/nodes/table_alias.rb#14 def table_name; end - # source://activerecord/lib/arel/nodes/table_alias.rb#30 + # source://activerecord//lib/arel/nodes/table_alias.rb#30 def to_cte; end - # source://activerecord/lib/arel/nodes/table_alias.rb#18 + # source://activerecord//lib/arel/nodes/table_alias.rb#18 def type_cast_for_database(attr_name, value); end - # source://activerecord/lib/arel/nodes/table_alias.rb#22 + # source://activerecord//lib/arel/nodes/table_alias.rb#22 def type_for_attribute(name); end end -# source://activerecord/lib/arel/nodes/true.rb#5 +# source://activerecord//lib/arel/nodes/true.rb#5 class Arel::Nodes::True < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord/lib/arel/nodes/true.rb#10 + # source://activerecord//lib/arel/nodes/true.rb#13 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/true.rb#10 + # source://activerecord//lib/arel/nodes/true.rb#10 def eql?(other); end - # source://activerecord/lib/arel/nodes/true.rb#6 + # source://activerecord//lib/arel/nodes/true.rb#6 def hash; end end -# source://activerecord/lib/arel/nodes/unary.rb#5 +# source://activerecord//lib/arel/nodes/unary.rb#5 class Arel::Nodes::Unary < ::Arel::Nodes::NodeExpression # @return [Unary] a new instance of Unary # - # source://activerecord/lib/arel/nodes/unary.rb#9 + # source://activerecord//lib/arel/nodes/unary.rb#9 def initialize(expr); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/unary.rb#18 + # source://activerecord//lib/arel/nodes/unary.rb#22 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/unary.rb#18 + # source://activerecord//lib/arel/nodes/unary.rb#18 def eql?(other); end # Returns the value of attribute expr. # - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unary.rb#6 def expr; end # Sets the attribute expr # # @param value the value to set the attribute expr to. # - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unary.rb#6 def expr=(_arg0); end - # source://activerecord/lib/arel/nodes/unary.rb#14 + # source://activerecord//lib/arel/nodes/unary.rb#14 def hash; end # Returns the value of attribute expr. # - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unary.rb#7 def value; end end -# source://activerecord/lib/arel/nodes/unary_operation.rb#5 +# source://activerecord//lib/arel/nodes/unary_operation.rb#5 class Arel::Nodes::UnaryOperation < ::Arel::Nodes::Unary # @return [UnaryOperation] a new instance of UnaryOperation # - # source://activerecord/lib/arel/nodes/unary_operation.rb#8 + # source://activerecord//lib/arel/nodes/unary_operation.rb#8 def initialize(operator, operand); end # Returns the value of attribute operator. # - # source://activerecord/lib/arel/nodes/unary_operation.rb#6 + # source://activerecord//lib/arel/nodes/unary_operation.rb#6 def operator; end end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::Union < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/binary.rb#128 +# source://activerecord//lib/arel/nodes/binary.rb#128 class Arel::Nodes::UnionAll < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/unqualified_column.rb#5 +# source://activerecord//lib/arel/nodes/unqualified_column.rb#5 class Arel::Nodes::UnqualifiedColumn < ::Arel::Nodes::Unary - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unqualified_column.rb#6 def attribute; end - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unqualified_column.rb#7 def attribute=(_arg0); end - # source://activerecord/lib/arel/nodes/unqualified_column.rb#13 + # source://activerecord//lib/arel/nodes/unqualified_column.rb#13 def column; end - # source://activerecord/lib/arel/nodes/unqualified_column.rb#17 + # source://activerecord//lib/arel/nodes/unqualified_column.rb#17 def name; end - # source://activerecord/lib/arel/nodes/unqualified_column.rb#9 + # source://activerecord//lib/arel/nodes/unqualified_column.rb#9 def relation; end end -# source://activerecord/lib/arel/nodes/update_statement.rb#5 +# source://activerecord//lib/arel/nodes/update_statement.rb#5 class Arel::Nodes::UpdateStatement < ::Arel::Nodes::Node # @return [UpdateStatement] a new instance of UpdateStatement # - # source://activerecord/lib/arel/nodes/update_statement.rb#8 + # source://activerecord//lib/arel/nodes/update_statement.rb#8 def initialize(relation = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/update_statement.rb#31 + # source://activerecord//lib/arel/nodes/update_statement.rb#43 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/update_statement.rb#31 + # source://activerecord//lib/arel/nodes/update_statement.rb#31 def eql?(other); end # Returns the value of attribute groups. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def groups; end # Sets the attribute groups # # @param value the value to set the attribute groups to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def groups=(_arg0); end - # source://activerecord/lib/arel/nodes/update_statement.rb#27 + # source://activerecord//lib/arel/nodes/update_statement.rb#27 def hash; end # Returns the value of attribute havings. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def havings; end # Sets the attribute havings # # @param value the value to set the attribute havings to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def havings=(_arg0); end # Returns the value of attribute key. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def key; end # Sets the attribute key # # @param value the value to set the attribute key to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def key=(_arg0); end # Returns the value of attribute limit. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def limit; end # Sets the attribute limit # # @param value the value to set the attribute limit to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def limit=(_arg0); end # Returns the value of attribute offset. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def offset; end # Sets the attribute offset # # @param value the value to set the attribute offset to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def offset=(_arg0); end # Returns the value of attribute orders. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def orders; end # Sets the attribute orders # # @param value the value to set the attribute orders to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def orders=(_arg0); end # Returns the value of attribute relation. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def relation; end # Sets the attribute relation # # @param value the value to set the attribute relation to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def relation=(_arg0); end # Returns the value of attribute values. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def values; end # Sets the attribute values # # @param value the value to set the attribute values to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def values=(_arg0); end # Returns the value of attribute wheres. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def wheres; end # Sets the attribute wheres # # @param value the value to set the attribute wheres to. # - # source://activerecord/lib/arel/nodes/update_statement.rb#6 + # source://activerecord//lib/arel/nodes/update_statement.rb#6 def wheres=(_arg0); end private - # source://activerecord/lib/arel/nodes/update_statement.rb#21 + # source://activerecord//lib/arel/nodes/update_statement.rb#21 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/values_list.rb#5 +# source://activerecord//lib/arel/nodes/values_list.rb#5 class Arel::Nodes::ValuesList < ::Arel::Nodes::Unary - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/values_list.rb#6 def rows; end end -# source://activerecord/lib/arel/nodes/case.rb#49 +# source://activerecord//lib/arel/nodes/case.rb#49 class Arel::Nodes::When < ::Arel::Nodes::Binary; end -# source://activerecord/lib/arel/nodes/window.rb#5 +# source://activerecord//lib/arel/nodes/window.rb#5 class Arel::Nodes::Window < ::Arel::Nodes::Node # @return [Window] a new instance of Window # - # source://activerecord/lib/arel/nodes/window.rb#8 + # source://activerecord//lib/arel/nodes/window.rb#8 def initialize; end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#59 + # source://activerecord//lib/arel/nodes/window.rb#65 def ==(other); end # @return [Boolean] # - # source://activerecord/lib/arel/nodes/window.rb#59 + # source://activerecord//lib/arel/nodes/window.rb#59 def eql?(other); end - # source://activerecord/lib/arel/nodes/window.rb#30 + # source://activerecord//lib/arel/nodes/window.rb#30 def frame(expr); end # Returns the value of attribute framing. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def framing; end # Sets the attribute framing # # @param value the value to set the attribute framing to. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def framing=(_arg0); end - # source://activerecord/lib/arel/nodes/window.rb#55 + # source://activerecord//lib/arel/nodes/window.rb#55 def hash; end - # source://activerecord/lib/arel/nodes/window.rb#14 + # source://activerecord//lib/arel/nodes/window.rb#14 def order(*expr); end # Returns the value of attribute orders. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def orders; end # Sets the attribute orders # # @param value the value to set the attribute orders to. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def orders=(_arg0); end - # source://activerecord/lib/arel/nodes/window.rb#22 + # source://activerecord//lib/arel/nodes/window.rb#22 def partition(*expr); end # Returns the value of attribute partitions. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def partitions; end # Sets the attribute partitions # # @param value the value to set the attribute partitions to. # - # source://activerecord/lib/arel/nodes/window.rb#6 + # source://activerecord//lib/arel/nodes/window.rb#6 def partitions=(_arg0); end - # source://activerecord/lib/arel/nodes/window.rb#42 + # source://activerecord//lib/arel/nodes/window.rb#42 def range(expr = T.unsafe(nil)); end - # source://activerecord/lib/arel/nodes/window.rb#34 + # source://activerecord//lib/arel/nodes/window.rb#34 def rows(expr = T.unsafe(nil)); end private - # source://activerecord/lib/arel/nodes/window.rb#50 + # source://activerecord//lib/arel/nodes/window.rb#50 def initialize_copy(other); end end -# source://activerecord/lib/arel/nodes/with.rb#5 +# source://activerecord//lib/arel/nodes/with.rb#5 class Arel::Nodes::With < ::Arel::Nodes::Unary - # source://activerecord/lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/with.rb#6 def children; end end -# source://activerecord/lib/arel/nodes/with.rb#9 +# source://activerecord//lib/arel/nodes/with.rb#9 class Arel::Nodes::WithRecursive < ::Arel::Nodes::With; end -# source://activerecord/lib/arel/order_predications.rb#4 +# source://activerecord//lib/arel/order_predications.rb#4 module Arel::OrderPredications - # source://activerecord/lib/arel/order_predications.rb#5 + # source://activerecord//lib/arel/order_predications.rb#5 def asc; end - # source://activerecord/lib/arel/order_predications.rb#9 + # source://activerecord//lib/arel/order_predications.rb#9 def desc; end end -# source://activerecord/lib/arel/predications.rb#4 +# source://activerecord//lib/arel/predications.rb#4 module Arel::Predications - # source://activerecord/lib/arel/predications.rb#37 + # source://activerecord//lib/arel/predications.rb#37 def between(other); end - # source://activerecord/lib/arel/predications.rb#215 + # source://activerecord//lib/arel/predications.rb#215 def concat(other); end - # source://activerecord/lib/arel/predications.rb#219 + # source://activerecord//lib/arel/predications.rb#219 def contains(other); end - # source://activerecord/lib/arel/predications.rb#147 + # source://activerecord//lib/arel/predications.rb#147 def does_not_match(other, escape = T.unsafe(nil), case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#159 + # source://activerecord//lib/arel/predications.rb#159 def does_not_match_all(others, escape = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#155 + # source://activerecord//lib/arel/predications.rb#155 def does_not_match_any(others, escape = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#151 + # source://activerecord//lib/arel/predications.rb#151 def does_not_match_regexp(other, case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#17 + # source://activerecord//lib/arel/predications.rb#17 def eq(other); end - # source://activerecord/lib/arel/predications.rb#33 + # source://activerecord//lib/arel/predications.rb#33 def eq_all(others); end - # source://activerecord/lib/arel/predications.rb#29 + # source://activerecord//lib/arel/predications.rb#29 def eq_any(others); end - # source://activerecord/lib/arel/predications.rb#175 + # source://activerecord//lib/arel/predications.rb#175 def gt(right); end - # source://activerecord/lib/arel/predications.rb#183 + # source://activerecord//lib/arel/predications.rb#183 def gt_all(others); end - # source://activerecord/lib/arel/predications.rb#179 + # source://activerecord//lib/arel/predications.rb#179 def gt_any(others); end - # source://activerecord/lib/arel/predications.rb#163 + # source://activerecord//lib/arel/predications.rb#163 def gteq(right); end - # source://activerecord/lib/arel/predications.rb#171 + # source://activerecord//lib/arel/predications.rb#171 def gteq_all(others); end - # source://activerecord/lib/arel/predications.rb#167 + # source://activerecord//lib/arel/predications.rb#167 def gteq_any(others); end - # source://activerecord/lib/arel/predications.rb#65 + # source://activerecord//lib/arel/predications.rb#65 def in(other); end - # source://activerecord/lib/arel/predications.rb#80 + # source://activerecord//lib/arel/predications.rb#80 def in_all(others); end - # source://activerecord/lib/arel/predications.rb#76 + # source://activerecord//lib/arel/predications.rb#76 def in_any(others); end - # source://activerecord/lib/arel/predications.rb#25 + # source://activerecord//lib/arel/predications.rb#25 def is_distinct_from(other); end - # source://activerecord/lib/arel/predications.rb#21 + # source://activerecord//lib/arel/predications.rb#21 def is_not_distinct_from(other); end - # source://activerecord/lib/arel/predications.rb#187 + # source://activerecord//lib/arel/predications.rb#187 def lt(right); end - # source://activerecord/lib/arel/predications.rb#195 + # source://activerecord//lib/arel/predications.rb#195 def lt_all(others); end - # source://activerecord/lib/arel/predications.rb#191 + # source://activerecord//lib/arel/predications.rb#191 def lt_any(others); end - # source://activerecord/lib/arel/predications.rb#199 + # source://activerecord//lib/arel/predications.rb#199 def lteq(right); end - # source://activerecord/lib/arel/predications.rb#207 + # source://activerecord//lib/arel/predications.rb#207 def lteq_all(others); end - # source://activerecord/lib/arel/predications.rb#203 + # source://activerecord//lib/arel/predications.rb#203 def lteq_any(others); end - # source://activerecord/lib/arel/predications.rb#131 + # source://activerecord//lib/arel/predications.rb#131 def matches(other, escape = T.unsafe(nil), case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#143 + # source://activerecord//lib/arel/predications.rb#143 def matches_all(others, escape = T.unsafe(nil), case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#139 + # source://activerecord//lib/arel/predications.rb#139 def matches_any(others, escape = T.unsafe(nil), case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#135 + # source://activerecord//lib/arel/predications.rb#135 def matches_regexp(other, case_sensitive = T.unsafe(nil)); end - # source://activerecord/lib/arel/predications.rb#84 + # source://activerecord//lib/arel/predications.rb#84 def not_between(other); end - # source://activerecord/lib/arel/predications.rb#5 + # source://activerecord//lib/arel/predications.rb#5 def not_eq(other); end - # source://activerecord/lib/arel/predications.rb#13 + # source://activerecord//lib/arel/predications.rb#13 def not_eq_all(others); end - # source://activerecord/lib/arel/predications.rb#9 + # source://activerecord//lib/arel/predications.rb#9 def not_eq_any(others); end - # source://activerecord/lib/arel/predications.rb#112 + # source://activerecord//lib/arel/predications.rb#112 def not_in(other); end - # source://activerecord/lib/arel/predications.rb#127 + # source://activerecord//lib/arel/predications.rb#127 def not_in_all(others); end - # source://activerecord/lib/arel/predications.rb#123 + # source://activerecord//lib/arel/predications.rb#123 def not_in_any(others); end - # source://activerecord/lib/arel/predications.rb#223 + # source://activerecord//lib/arel/predications.rb#223 def overlaps(other); end - # source://activerecord/lib/arel/predications.rb#227 + # source://activerecord//lib/arel/predications.rb#227 def quoted_array(others); end - # source://activerecord/lib/arel/predications.rb#211 + # source://activerecord//lib/arel/predications.rb#211 def when(right); end private - # source://activerecord/lib/arel/predications.rb#239 + # source://activerecord//lib/arel/predications.rb#239 def grouping_all(method_id, others, *extras); end - # source://activerecord/lib/arel/predications.rb#232 + # source://activerecord//lib/arel/predications.rb#232 def grouping_any(method_id, others, *extras); end # @return [Boolean] # - # source://activerecord/lib/arel/predications.rb#248 + # source://activerecord//lib/arel/predications.rb#248 def infinity?(value); end # @return [Boolean] # - # source://activerecord/lib/arel/predications.rb#256 + # source://activerecord//lib/arel/predications.rb#256 def open_ended?(value); end - # source://activerecord/lib/arel/predications.rb#244 + # source://activerecord//lib/arel/predications.rb#244 def quoted_node(other); end # @return [Boolean] # - # source://activerecord/lib/arel/predications.rb#252 + # source://activerecord//lib/arel/predications.rb#252 def unboundable?(value); end end -# source://activerecord/lib/arel/select_manager.rb#4 +# source://activerecord//lib/arel/select_manager.rb#4 class Arel::SelectManager < ::Arel::TreeManager include ::Arel::Crud # @return [SelectManager] a new instance of SelectManager # - # source://activerecord/lib/arel/select_manager.rb#9 + # source://activerecord//lib/arel/select_manager.rb#9 def initialize(table = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#48 + # source://activerecord//lib/arel/select_manager.rb#48 def as(other); end - # source://activerecord/lib/arel/select_manager.rb#252 + # source://activerecord//lib/arel/select_manager.rb#252 def comment(*values); end - # source://activerecord/lib/arel/select_manager.rb#24 + # source://activerecord//lib/arel/select_manager.rb#24 def constraints; end - # source://activerecord/lib/arel/select_manager.rb#154 + # source://activerecord//lib/arel/select_manager.rb#154 def distinct(value = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#163 + # source://activerecord//lib/arel/select_manager.rb#163 def distinct_on(value); end - # source://activerecord/lib/arel/select_manager.rb#213 + # source://activerecord//lib/arel/select_manager.rb#213 def except(other); end # Produces an Arel::Nodes::Exists node # - # source://activerecord/lib/arel/select_manager.rb#44 + # source://activerecord//lib/arel/select_manager.rb#44 def exists; end - # source://activerecord/lib/arel/select_manager.rb#85 + # source://activerecord//lib/arel/select_manager.rb#85 def from(table); end - # source://activerecord/lib/arel/select_manager.rb#98 + # source://activerecord//lib/arel/select_manager.rb#98 def froms; end - # source://activerecord/lib/arel/select_manager.rb#74 + # source://activerecord//lib/arel/select_manager.rb#74 def group(*columns); end - # source://activerecord/lib/arel/select_manager.rb#119 + # source://activerecord//lib/arel/select_manager.rb#119 def having(expr); end - # source://activerecord/lib/arel/select_manager.rb#209 + # source://activerecord//lib/arel/select_manager.rb#209 def intersect(other); end - # source://activerecord/lib/arel/select_manager.rb#102 + # source://activerecord//lib/arel/select_manager.rb#102 def join(relation, klass = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#244 + # source://activerecord//lib/arel/select_manager.rb#244 def join_sources; end - # source://activerecord/lib/arel/select_manager.rb#218 + # source://activerecord//lib/arel/select_manager.rb#218 def lateral(table_name = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#19 + # source://activerecord//lib/arel/select_manager.rb#19 def limit; end - # source://activerecord/lib/arel/select_manager.rb#234 + # source://activerecord//lib/arel/select_manager.rb#242 def limit=(limit); end - # source://activerecord/lib/arel/select_manager.rb#52 + # source://activerecord//lib/arel/select_manager.rb#52 def lock(locking = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#65 + # source://activerecord//lib/arel/select_manager.rb#65 def locked; end - # source://activerecord/lib/arel/select_manager.rb#213 + # source://activerecord//lib/arel/select_manager.rb#216 def minus(other); end - # source://activerecord/lib/arel/select_manager.rb#28 + # source://activerecord//lib/arel/select_manager.rb#28 def offset; end - # source://activerecord/lib/arel/select_manager.rb#32 + # source://activerecord//lib/arel/select_manager.rb#40 def offset=(amount); end - # source://activerecord/lib/arel/select_manager.rb#69 + # source://activerecord//lib/arel/select_manager.rb#69 def on(*exprs); end - # source://activerecord/lib/arel/select_manager.rb#147 + # source://activerecord//lib/arel/select_manager.rb#147 def optimizer_hints(*hints); end - # source://activerecord/lib/arel/select_manager.rb#172 + # source://activerecord//lib/arel/select_manager.rb#172 def order(*expr); end - # source://activerecord/lib/arel/select_manager.rb#180 + # source://activerecord//lib/arel/select_manager.rb#180 def orders; end - # source://activerecord/lib/arel/select_manager.rb#115 + # source://activerecord//lib/arel/select_manager.rb#115 def outer_join(relation); end - # source://activerecord/lib/arel/select_manager.rb#130 + # source://activerecord//lib/arel/select_manager.rb#130 def project(*projections); end - # source://activerecord/lib/arel/select_manager.rb#139 + # source://activerecord//lib/arel/select_manager.rb#139 def projections; end - # source://activerecord/lib/arel/select_manager.rb#143 + # source://activerecord//lib/arel/select_manager.rb#143 def projections=(projections); end - # source://activerecord/lib/arel/select_manager.rb#32 + # source://activerecord//lib/arel/select_manager.rb#32 def skip(amount); end - # source://activerecord/lib/arel/select_manager.rb#248 + # source://activerecord//lib/arel/select_manager.rb#248 def source; end - # source://activerecord/lib/arel/select_manager.rb#234 + # source://activerecord//lib/arel/select_manager.rb#234 def take(limit); end - # source://activerecord/lib/arel/select_manager.rb#19 + # source://activerecord//lib/arel/select_manager.rb#22 def taken; end - # source://activerecord/lib/arel/select_manager.rb#198 + # source://activerecord//lib/arel/select_manager.rb#198 def union(operation, other = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#184 + # source://activerecord//lib/arel/select_manager.rb#184 def where(expr); end - # source://activerecord/lib/arel/select_manager.rb#192 + # source://activerecord//lib/arel/select_manager.rb#192 def where_sql(engine = T.unsafe(nil)); end - # source://activerecord/lib/arel/select_manager.rb#124 + # source://activerecord//lib/arel/select_manager.rb#124 def window(name); end - # source://activerecord/lib/arel/select_manager.rb#223 + # source://activerecord//lib/arel/select_manager.rb#223 def with(*subqueries); end private - # source://activerecord/lib/arel/select_manager.rb#258 + # source://activerecord//lib/arel/select_manager.rb#258 def collapse(exprs); end - # source://activerecord/lib/arel/select_manager.rb#14 + # source://activerecord//lib/arel/select_manager.rb#14 def initialize_copy(other); end end -# source://activerecord/lib/arel/select_manager.rb#7 +# source://activerecord//lib/arel/select_manager.rb#7 Arel::SelectManager::STRING_OR_SYMBOL_CLASS = T.let(T.unsafe(nil), Array) -# source://activerecord/lib/arel/table.rb#4 +# source://activerecord//lib/arel/table.rb#4 class Arel::Table include ::Arel::FactoryMethods include ::Arel::AliasPredication # @return [Table] a new instance of Table # - # source://activerecord/lib/arel/table.rb#14 + # source://activerecord//lib/arel/table.rb#14 def initialize(name, as: T.unsafe(nil), klass: T.unsafe(nil), type_caster: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/table.rb#99 + # source://activerecord//lib/arel/table.rb#104 def ==(other); end - # source://activerecord/lib/arel/table.rb#86 + # source://activerecord//lib/arel/table.rb#86 def [](name, table = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/table.rb#114 + # source://activerecord//lib/arel/table.rb#114 def able_to_type_cast?; end - # source://activerecord/lib/arel/table.rb#34 + # source://activerecord//lib/arel/table.rb#34 def alias(name = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord/lib/arel/table.rb#99 + # source://activerecord//lib/arel/table.rb#99 def eql?(other); end - # source://activerecord/lib/arel/table.rb#38 + # source://activerecord//lib/arel/table.rb#38 def from; end - # source://activerecord/lib/arel/table.rb#58 + # source://activerecord//lib/arel/table.rb#58 def group(*columns); end - # source://activerecord/lib/arel/table.rb#92 + # source://activerecord//lib/arel/table.rb#92 def hash; end - # source://activerecord/lib/arel/table.rb#82 + # source://activerecord//lib/arel/table.rb#82 def having(expr); end - # source://activerecord/lib/arel/table.rb#42 + # source://activerecord//lib/arel/table.rb#42 def join(relation, klass = T.unsafe(nil)); end # Returns the value of attribute name. # - # source://activerecord/lib/arel/table.rb#11 + # source://activerecord//lib/arel/table.rb#11 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord/lib/arel/table.rb#11 + # source://activerecord//lib/arel/table.rb#11 def name=(_arg0); end - # source://activerecord/lib/arel/table.rb#62 + # source://activerecord//lib/arel/table.rb#62 def order(*expr); end - # source://activerecord/lib/arel/table.rb#54 + # source://activerecord//lib/arel/table.rb#54 def outer_join(relation); end - # source://activerecord/lib/arel/table.rb#70 + # source://activerecord//lib/arel/table.rb#70 def project(*things); end - # source://activerecord/lib/arel/table.rb#78 + # source://activerecord//lib/arel/table.rb#78 def skip(amount); end # Returns the value of attribute table_alias. # - # source://activerecord/lib/arel/table.rb#12 + # source://activerecord//lib/arel/table.rb#12 def table_alias; end - # source://activerecord/lib/arel/table.rb#74 + # source://activerecord//lib/arel/table.rb#74 def take(amount); end - # source://activerecord/lib/arel/table.rb#106 + # source://activerecord//lib/arel/table.rb#106 def type_cast_for_database(attr_name, value); end - # source://activerecord/lib/arel/table.rb#110 + # source://activerecord//lib/arel/table.rb#110 def type_for_attribute(name); end - # source://activerecord/lib/arel/table.rb#66 + # source://activerecord//lib/arel/table.rb#66 def where(condition); end private # Returns the value of attribute type_caster. # - # source://activerecord/lib/arel/table.rb#119 + # source://activerecord//lib/arel/table.rb#119 def type_caster; end class << self # Returns the value of attribute engine. # - # source://activerecord/lib/arel/table.rb#9 + # source://activerecord//lib/arel/table.rb#9 def engine; end # Sets the attribute engine # # @param value the value to set the attribute engine to. # - # source://activerecord/lib/arel/table.rb#9 + # source://activerecord//lib/arel/table.rb#9 def engine=(_arg0); end end end -# source://activerecord/lib/arel/tree_manager.rb#4 +# source://activerecord//lib/arel/tree_manager.rb#4 class Arel::TreeManager include ::Arel::FactoryMethods # Returns the value of attribute ast. # - # source://activerecord/lib/arel/tree_manager.rb#45 + # source://activerecord//lib/arel/tree_manager.rb#45 def ast; end - # source://activerecord/lib/arel/tree_manager.rb#47 + # source://activerecord//lib/arel/tree_manager.rb#47 def to_dot; end - # source://activerecord/lib/arel/tree_manager.rb#53 + # source://activerecord//lib/arel/tree_manager.rb#53 def to_sql(engine = T.unsafe(nil)); end private - # source://activerecord/lib/arel/tree_manager.rb#59 + # source://activerecord//lib/arel/tree_manager.rb#59 def initialize_copy(other); end end -# source://activerecord/lib/arel/tree_manager.rb#7 +# source://activerecord//lib/arel/tree_manager.rb#7 module Arel::TreeManager::StatementMethods - # source://activerecord/lib/arel/tree_manager.rb#31 + # source://activerecord//lib/arel/tree_manager.rb#31 def key; end - # source://activerecord/lib/arel/tree_manager.rb#23 + # source://activerecord//lib/arel/tree_manager.rb#23 def key=(key); end - # source://activerecord/lib/arel/tree_manager.rb#13 + # source://activerecord//lib/arel/tree_manager.rb#13 def offset(offset); end - # source://activerecord/lib/arel/tree_manager.rb#18 + # source://activerecord//lib/arel/tree_manager.rb#18 def order(*expr); end - # source://activerecord/lib/arel/tree_manager.rb#8 + # source://activerecord//lib/arel/tree_manager.rb#8 def take(limit); end - # source://activerecord/lib/arel/tree_manager.rb#39 + # source://activerecord//lib/arel/tree_manager.rb#39 def where(expr); end - # source://activerecord/lib/arel/tree_manager.rb#35 + # source://activerecord//lib/arel/tree_manager.rb#35 def wheres=(exprs); end end -# source://activerecord/lib/arel/update_manager.rb#4 +# source://activerecord//lib/arel/update_manager.rb#4 class Arel::UpdateManager < ::Arel::TreeManager include ::Arel::TreeManager::StatementMethods # @return [UpdateManager] a new instance of UpdateManager # - # source://activerecord/lib/arel/update_manager.rb#7 + # source://activerecord//lib/arel/update_manager.rb#7 def initialize(table = T.unsafe(nil)); end - # source://activerecord/lib/arel/update_manager.rb#32 + # source://activerecord//lib/arel/update_manager.rb#32 def group(columns); end - # source://activerecord/lib/arel/update_manager.rb#43 + # source://activerecord//lib/arel/update_manager.rb#43 def having(expr); end - # source://activerecord/lib/arel/update_manager.rb#18 + # source://activerecord//lib/arel/update_manager.rb#18 def set(values); end # UPDATE +table+ # - # source://activerecord/lib/arel/update_manager.rb#13 + # source://activerecord//lib/arel/update_manager.rb#13 def table(table); end end -# source://activerecord/lib/arel.rb#29 +# source://activerecord//lib/arel.rb#29 Arel::VERSION = T.let(T.unsafe(nil), String) -# source://activerecord/lib/arel/visitors/visitor.rb#4 +# source://activerecord//lib/arel/visitors/visitor.rb#4 module Arel::Visitors; end -# source://activerecord/lib/arel/visitors/dot.rb#5 +# source://activerecord//lib/arel/visitors/dot.rb#5 class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # @return [Dot] a new instance of Dot # - # source://activerecord/lib/arel/visitors/dot.rb#19 + # source://activerecord//lib/arel/visitors/dot.rb#19 def initialize; end - # source://activerecord/lib/arel/visitors/dot.rb#28 + # source://activerecord//lib/arel/visitors/dot.rb#28 def accept(object, collector); end private - # source://activerecord/lib/arel/visitors/dot.rb#260 + # source://activerecord//lib/arel/visitors/dot.rb#260 def edge(name); end - # source://activerecord/lib/arel/visitors/dot.rb#278 + # source://activerecord//lib/arel/visitors/dot.rb#278 def quote(string); end - # source://activerecord/lib/arel/visitors/dot.rb#282 + # source://activerecord//lib/arel/visitors/dot.rb#282 def to_dot; end - # source://activerecord/lib/arel/visitors/dot.rb#246 + # source://activerecord//lib/arel/visitors/dot.rb#246 def visit(o); end - # source://activerecord/lib/arel/visitors/dot.rb#215 + # source://activerecord//lib/arel/visitors/dot.rb#215 def visit_ActiveModel_Attribute(o); end - # source://activerecord/lib/arel/visitors/dot.rb#183 + # source://activerecord//lib/arel/visitors/dot.rb#183 def visit_Arel_Attributes_Attribute(o); end - # source://activerecord/lib/arel/visitors/dot.rb#188 + # source://activerecord//lib/arel/visitors/dot.rb#193 def visit_Arel_Nodes_And(o); end - # source://activerecord/lib/arel/visitors/dot.rb#44 + # source://activerecord//lib/arel/visitors/dot.rb#44 def visit_Arel_Nodes_Binary(o); end - # source://activerecord/lib/arel/visitors/dot.rb#211 + # source://activerecord//lib/arel/visitors/dot.rb#211 def visit_Arel_Nodes_BindParam(o); end - # source://activerecord/lib/arel/visitors/dot.rb#236 + # source://activerecord//lib/arel/visitors/dot.rb#236 def visit_Arel_Nodes_Case(o); end - # source://activerecord/lib/arel/visitors/dot.rb#172 + # source://activerecord//lib/arel/visitors/dot.rb#172 def visit_Arel_Nodes_Casted(o); end - # source://activerecord/lib/arel/visitors/dot.rb#232 + # source://activerecord//lib/arel/visitors/dot.rb#232 def visit_Arel_Nodes_Comment(o); end - # source://activerecord/lib/arel/visitors/dot.rb#77 + # source://activerecord//lib/arel/visitors/dot.rb#77 def visit_Arel_Nodes_Count(o); end # intentionally left blank # - # source://activerecord/lib/arel/visitors/dot.rb#103 + # source://activerecord//lib/arel/visitors/dot.rb#106 def visit_Arel_Nodes_CurrentRow(o); end - # source://activerecord/lib/arel/visitors/dot.rb#159 + # source://activerecord//lib/arel/visitors/dot.rb#159 def visit_Arel_Nodes_DeleteStatement(o); end - # source://activerecord/lib/arel/visitors/dot.rb#103 + # source://activerecord//lib/arel/visitors/dot.rb#107 def visit_Arel_Nodes_Distinct(o); end - # source://activerecord/lib/arel/visitors/dot.rb#109 + # source://activerecord//lib/arel/visitors/dot.rb#109 def visit_Arel_Nodes_Extract(o); end - # source://activerecord/lib/arel/visitors/dot.rb#34 + # source://activerecord//lib/arel/visitors/dot.rb#34 def visit_Arel_Nodes_Function(o); end - # source://activerecord/lib/arel/visitors/dot.rb#177 + # source://activerecord//lib/arel/visitors/dot.rb#177 def visit_Arel_Nodes_HomogeneousIn(o); end - # source://activerecord/lib/arel/visitors/dot.rb#54 + # source://activerecord//lib/arel/visitors/dot.rb#54 def visit_Arel_Nodes_InfixOperation(o); end - # source://activerecord/lib/arel/visitors/dot.rb#121 + # source://activerecord//lib/arel/visitors/dot.rb#121 def visit_Arel_Nodes_InsertStatement(o); end - # source://activerecord/lib/arel/visitors/dot.rb#114 + # source://activerecord//lib/arel/visitors/dot.rb#114 def visit_Arel_Nodes_NamedFunction(o); end - # source://activerecord/lib/arel/visitors/dot.rb#96 + # source://activerecord//lib/arel/visitors/dot.rb#96 def visit_Arel_Nodes_NamedWindow(o); end - # source://activerecord/lib/arel/visitors/dot.rb#60 + # source://activerecord//lib/arel/visitors/dot.rb#66 def visit_Arel_Nodes_NotRegexp(o); end - # source://activerecord/lib/arel/visitors/dot.rb#68 + # source://activerecord//lib/arel/visitors/dot.rb#68 def visit_Arel_Nodes_Ordering(o); end - # source://activerecord/lib/arel/visitors/dot.rb#60 + # source://activerecord//lib/arel/visitors/dot.rb#65 def visit_Arel_Nodes_Regexp(o); end - # source://activerecord/lib/arel/visitors/dot.rb#128 + # source://activerecord//lib/arel/visitors/dot.rb#128 def visit_Arel_Nodes_SelectCore(o); end - # source://activerecord/lib/arel/visitors/dot.rb#140 + # source://activerecord//lib/arel/visitors/dot.rb#140 def visit_Arel_Nodes_SelectStatement(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#209 def visit_Arel_Nodes_SqlLiteral(o); end - # source://activerecord/lib/arel/visitors/dot.rb#86 + # source://activerecord//lib/arel/visitors/dot.rb#86 def visit_Arel_Nodes_StringJoin(o); end - # source://activerecord/lib/arel/visitors/dot.rb#72 + # source://activerecord//lib/arel/visitors/dot.rb#72 def visit_Arel_Nodes_TableAlias(o); end - # source://activerecord/lib/arel/visitors/dot.rb#40 + # source://activerecord//lib/arel/visitors/dot.rb#40 def visit_Arel_Nodes_Unary(o); end - # source://activerecord/lib/arel/visitors/dot.rb#49 + # source://activerecord//lib/arel/visitors/dot.rb#49 def visit_Arel_Nodes_UnaryOperation(o); end - # source://activerecord/lib/arel/visitors/dot.rb#149 + # source://activerecord//lib/arel/visitors/dot.rb#149 def visit_Arel_Nodes_UpdateStatement(o); end - # source://activerecord/lib/arel/visitors/dot.rb#82 + # source://activerecord//lib/arel/visitors/dot.rb#82 def visit_Arel_Nodes_ValuesList(o); end - # source://activerecord/lib/arel/visitors/dot.rb#90 + # source://activerecord//lib/arel/visitors/dot.rb#90 def visit_Arel_Nodes_Window(o); end - # source://activerecord/lib/arel/visitors/dot.rb#188 + # source://activerecord//lib/arel/visitors/dot.rb#194 def visit_Arel_Nodes_With(o); end - # source://activerecord/lib/arel/visitors/dot.rb#168 + # source://activerecord//lib/arel/visitors/dot.rb#168 def visit_Arel_Table(o); end - # source://activerecord/lib/arel/visitors/dot.rb#225 + # source://activerecord//lib/arel/visitors/dot.rb#225 def visit_Array(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#206 def visit_BigDecimal(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#200 def visit_Date(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#201 def visit_DateTime(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#204 def visit_FalseClass(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#207 def visit_Float(o); end - # source://activerecord/lib/arel/visitors/dot.rb#219 + # source://activerecord//lib/arel/visitors/dot.rb#219 def visit_Hash(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#205 def visit_Integer(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#202 def visit_NilClass(o); end - # source://activerecord/lib/arel/visitors/dot.rb#225 + # source://activerecord//lib/arel/visitors/dot.rb#230 def visit_Set(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#196 def visit_String(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#208 def visit_Symbol(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#199 def visit_Time(o); end - # source://activerecord/lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#203 def visit_TrueClass(o); end - # source://activerecord/lib/arel/visitors/dot.rb#188 + # source://activerecord//lib/arel/visitors/dot.rb#188 def visit__children(o); end - # source://activerecord/lib/arel/visitors/dot.rb#103 + # source://activerecord//lib/arel/visitors/dot.rb#103 def visit__no_edges(o); end - # source://activerecord/lib/arel/visitors/dot.rb#60 + # source://activerecord//lib/arel/visitors/dot.rb#60 def visit__regexp(o); end - # source://activerecord/lib/arel/visitors/dot.rb#242 + # source://activerecord//lib/arel/visitors/dot.rb#242 def visit_edge(o, method); end - # source://activerecord/lib/arel/visitors/dot.rb#268 + # source://activerecord//lib/arel/visitors/dot.rb#268 def with_node(node); end end -# source://activerecord/lib/arel/visitors/dot.rb#16 +# source://activerecord//lib/arel/visitors/dot.rb#16 class Arel::Visitors::Dot::Edge < ::Struct; end -# source://activerecord/lib/arel/visitors/dot.rb#6 +# source://activerecord//lib/arel/visitors/dot.rb#6 class Arel::Visitors::Dot::Node # @return [Node] a new instance of Node # - # source://activerecord/lib/arel/visitors/dot.rb#9 + # source://activerecord//lib/arel/visitors/dot.rb#9 def initialize(name, id, fields = T.unsafe(nil)); end # Returns the value of attribute fields. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def fields; end # Sets the attribute fields # # @param value the value to set the attribute fields to. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def fields=(_arg0); end # Returns the value of attribute id. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def id; end # Sets the attribute id # # @param value the value to set the attribute id to. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def id=(_arg0); end # Returns the value of attribute name. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord/lib/arel/visitors/dot.rb#7 + # source://activerecord//lib/arel/visitors/dot.rb#7 def name=(_arg0); end end -# source://activerecord/lib/arel/visitors/mysql.rb#5 +# source://activerecord//lib/arel/visitors/mysql.rb#5 class Arel::Visitors::MySQL < ::Arel::Visitors::ToSql private # MySQL doesn't automatically create a temporary table for use subquery, so we have # to give it some prompting in the form of a subsubquery. # - # source://activerecord/lib/arel/visitors/mysql.rb#88 + # source://activerecord//lib/arel/visitors/mysql.rb#88 def build_subselect(key, o); end # In the simple case, MySQL allows us to place JOINs directly into the UPDATE # query. However, this does not allow for LIMIT, OFFSET and ORDER. To support # these, we must use a subquery. # - # source://activerecord/lib/arel/visitors/mysql.rb#76 + # source://activerecord//lib/arel/visitors/mysql.rb#84 def prepare_delete_statement(o); end # In the simple case, MySQL allows us to place JOINs directly into the UPDATE # query. However, this does not allow for LIMIT, OFFSET and ORDER. To support # these, we must use a subquery. # - # source://activerecord/lib/arel/visitors/mysql.rb#76 + # source://activerecord//lib/arel/visitors/mysql.rb#76 def prepare_update_statement(o); end - # source://activerecord/lib/arel/visitors/mysql.rb#7 + # source://activerecord//lib/arel/visitors/mysql.rb#7 def visit_Arel_Nodes_Bin(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#34 + # source://activerecord//lib/arel/visitors/mysql.rb#34 def visit_Arel_Nodes_Concat(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#67 + # source://activerecord//lib/arel/visitors/mysql.rb#67 def visit_Arel_Nodes_Cte(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#49 + # source://activerecord//lib/arel/visitors/mysql.rb#49 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#43 + # source://activerecord//lib/arel/visitors/mysql.rb#43 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#58 + # source://activerecord//lib/arel/visitors/mysql.rb#58 def visit_Arel_Nodes_NotRegexp(o, collector); end # no-op # - # source://activerecord/lib/arel/visitors/mysql.rb#63 + # source://activerecord//lib/arel/visitors/mysql.rb#63 def visit_Arel_Nodes_NullsFirst(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#54 + # source://activerecord//lib/arel/visitors/mysql.rb#54 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#29 + # source://activerecord//lib/arel/visitors/mysql.rb#29 def visit_Arel_Nodes_SelectCore(o, collector); end # :'( @@ -39936,603 +40024,603 @@ class Arel::Visitors::MySQL < ::Arel::Visitors::ToSql # you can use some large number for the second parameter. # https://dev.mysql.com/doc/refman/en/select.html # - # source://activerecord/lib/arel/visitors/mysql.rb#22 + # source://activerecord//lib/arel/visitors/mysql.rb#22 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord/lib/arel/visitors/mysql.rb#13 + # source://activerecord//lib/arel/visitors/mysql.rb#13 def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end end -# source://activerecord/lib/arel/visitors/postgresql.rb#5 +# source://activerecord//lib/arel/visitors/postgresql.rb#5 class Arel::Visitors::PostgreSQL < ::Arel::Visitors::ToSql private - # source://activerecord/lib/arel/visitors/postgresql.rb#84 + # source://activerecord//lib/arel/visitors/postgresql.rb#84 def bind_block; end # Utilized by GroupingSet, Cube & RollUp visitors to # handle grouping aggregation semantics # - # source://activerecord/lib/arel/visitors/postgresql.rb#99 + # source://activerecord//lib/arel/visitors/postgresql.rb#99 def grouping_array_or_grouping_element(o, collector); end # Used by Lateral visitor to enclose select queries in parentheses # - # source://activerecord/lib/arel/visitors/postgresql.rb#87 + # source://activerecord//lib/arel/visitors/postgresql.rb#87 def grouping_parentheses(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#49 + # source://activerecord//lib/arel/visitors/postgresql.rb#49 def visit_Arel_Nodes_Cube(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#39 + # source://activerecord//lib/arel/visitors/postgresql.rb#39 def visit_Arel_Nodes_DistinctOn(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#18 + # source://activerecord//lib/arel/visitors/postgresql.rb#18 def visit_Arel_Nodes_DoesNotMatch(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#44 + # source://activerecord//lib/arel/visitors/postgresql.rb#44 def visit_Arel_Nodes_GroupingElement(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#59 + # source://activerecord//lib/arel/visitors/postgresql.rb#59 def visit_Arel_Nodes_GroupingSet(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#75 + # source://activerecord//lib/arel/visitors/postgresql.rb#75 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#69 + # source://activerecord//lib/arel/visitors/postgresql.rb#69 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#64 + # source://activerecord//lib/arel/visitors/postgresql.rb#64 def visit_Arel_Nodes_Lateral(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#7 + # source://activerecord//lib/arel/visitors/postgresql.rb#7 def visit_Arel_Nodes_Matches(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#34 + # source://activerecord//lib/arel/visitors/postgresql.rb#34 def visit_Arel_Nodes_NotRegexp(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#29 + # source://activerecord//lib/arel/visitors/postgresql.rb#29 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord/lib/arel/visitors/postgresql.rb#54 + # source://activerecord//lib/arel/visitors/postgresql.rb#54 def visit_Arel_Nodes_RollUp(o, collector); end end -# source://activerecord/lib/arel/visitors/postgresql.rb#81 +# source://activerecord//lib/arel/visitors/postgresql.rb#81 Arel::Visitors::PostgreSQL::BIND_BLOCK = T.let(T.unsafe(nil), Proc) -# source://activerecord/lib/arel/visitors/sqlite.rb#5 +# source://activerecord//lib/arel/visitors/sqlite.rb#5 class Arel::Visitors::SQLite < ::Arel::Visitors::ToSql private - # source://activerecord/lib/arel/visitors/sqlite.rb#21 + # source://activerecord//lib/arel/visitors/sqlite.rb#21 def visit_Arel_Nodes_False(o, collector); end - # source://activerecord/lib/arel/visitors/sqlite.rb#31 + # source://activerecord//lib/arel/visitors/sqlite.rb#31 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/sqlite.rb#25 + # source://activerecord//lib/arel/visitors/sqlite.rb#25 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end # Locks are not supported in SQLite # - # source://activerecord/lib/arel/visitors/sqlite.rb#8 + # source://activerecord//lib/arel/visitors/sqlite.rb#8 def visit_Arel_Nodes_Lock(o, collector); end - # source://activerecord/lib/arel/visitors/sqlite.rb#12 + # source://activerecord//lib/arel/visitors/sqlite.rb#12 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord/lib/arel/visitors/sqlite.rb#17 + # source://activerecord//lib/arel/visitors/sqlite.rb#17 def visit_Arel_Nodes_True(o, collector); end end -# source://activerecord/lib/arel/visitors/to_sql.rb#11 +# source://activerecord//lib/arel/visitors/to_sql.rb#11 class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # @return [ToSql] a new instance of ToSql # - # source://activerecord/lib/arel/visitors/to_sql.rb#12 + # source://activerecord//lib/arel/visitors/to_sql.rb#12 def initialize(connection); end - # source://activerecord/lib/arel/visitors/to_sql.rb#17 + # source://activerecord//lib/arel/visitors/to_sql.rb#17 def compile(node, collector = T.unsafe(nil)); end private - # source://activerecord/lib/arel/visitors/to_sql.rb#983 + # source://activerecord//lib/arel/visitors/to_sql.rb#983 def aggregate(name, o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#759 + # source://activerecord//lib/arel/visitors/to_sql.rb#759 def bind_block; end # FIXME: we should probably have a 2-pass visitor for this # - # source://activerecord/lib/arel/visitors/to_sql.rb#946 + # source://activerecord//lib/arel/visitors/to_sql.rb#946 def build_subselect(key, o); end - # source://activerecord/lib/arel/visitors/to_sql.rb#1010 + # source://activerecord//lib/arel/visitors/to_sql.rb#1010 def collect_ctes(children, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#176 + # source://activerecord//lib/arel/visitors/to_sql.rb#176 def collect_nodes_for(nodes, collector, spacer, connector = T.unsafe(nil)); end - # source://activerecord/lib/arel/visitors/to_sql.rb#890 + # source://activerecord//lib/arel/visitors/to_sql.rb#890 def collect_optimizer_hints(o, collector); end # @return [Boolean] # - # source://activerecord/lib/arel/visitors/to_sql.rb#920 + # source://activerecord//lib/arel/visitors/to_sql.rb#920 def has_group_by_and_having?(o); end # @return [Boolean] # - # source://activerecord/lib/arel/visitors/to_sql.rb#912 + # source://activerecord//lib/arel/visitors/to_sql.rb#912 def has_join_sources?(o); end # @return [Boolean] # - # source://activerecord/lib/arel/visitors/to_sql.rb#916 + # source://activerecord//lib/arel/visitors/to_sql.rb#916 def has_limit_or_offset_or_orders?(o); end - # source://activerecord/lib/arel/visitors/to_sql.rb#960 + # source://activerecord//lib/arel/visitors/to_sql.rb#960 def infix_value(o, collector, value); end - # source://activerecord/lib/arel/visitors/to_sql.rb#966 + # source://activerecord//lib/arel/visitors/to_sql.rb#966 def infix_value_with_paren(o, collector, value, suppress_parens = T.unsafe(nil)); end - # source://activerecord/lib/arel/visitors/to_sql.rb#900 + # source://activerecord//lib/arel/visitors/to_sql.rb#900 def inject_join(list, collector, join_str); end - # source://activerecord/lib/arel/visitors/to_sql.rb#997 + # source://activerecord//lib/arel/visitors/to_sql.rb#997 def is_distinct_from(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#894 + # source://activerecord//lib/arel/visitors/to_sql.rb#894 def maybe_visit(thing, collector); end # The default strategy for an UPDATE with joins is to use a subquery. This doesn't work # on MySQL (even when aliasing the tables), but MySQL allows using JOIN directly in # an UPDATE statement, so in the MySQL visitor we redefine this to do that. # - # source://activerecord/lib/arel/visitors/to_sql.rb#927 + # source://activerecord//lib/arel/visitors/to_sql.rb#943 def prepare_delete_statement(o); end # The default strategy for an UPDATE with joins is to use a subquery. This doesn't work # on MySQL (even when aliasing the tables), but MySQL allows using JOIN directly in # an UPDATE statement, so in the MySQL visitor we redefine this to do that. # - # source://activerecord/lib/arel/visitors/to_sql.rb#927 + # source://activerecord//lib/arel/visitors/to_sql.rb#927 def prepare_update_statement(o); end - # source://activerecord/lib/arel/visitors/to_sql.rb#870 + # source://activerecord//lib/arel/visitors/to_sql.rb#870 def quote(value); end - # source://activerecord/lib/arel/visitors/to_sql.rb#880 + # source://activerecord//lib/arel/visitors/to_sql.rb#880 def quote_column_name(name); end - # source://activerecord/lib/arel/visitors/to_sql.rb#875 + # source://activerecord//lib/arel/visitors/to_sql.rb#875 def quote_table_name(name); end - # source://activerecord/lib/arel/visitors/to_sql.rb#885 + # source://activerecord//lib/arel/visitors/to_sql.rb#885 def sanitize_as_sql_comment(value); end # @return [Boolean] # - # source://activerecord/lib/arel/visitors/to_sql.rb#908 + # source://activerecord//lib/arel/visitors/to_sql.rb#908 def unboundable?(value); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#831 def unsupported(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#761 + # source://activerecord//lib/arel/visitors/to_sql.rb#761 def visit_ActiveModel_Attribute(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#835 def visit_ActiveSupport_Multibyte_Chars(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#836 def visit_ActiveSupport_StringInquirer(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#751 + # source://activerecord//lib/arel/visitors/to_sql.rb#751 def visit_Arel_Attributes_Attribute(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#616 + # source://activerecord//lib/arel/visitors/to_sql.rb#616 def visit_Arel_Nodes_And(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#698 + # source://activerecord//lib/arel/visitors/to_sql.rb#698 def visit_Arel_Nodes_As(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#360 + # source://activerecord//lib/arel/visitors/to_sql.rb#360 def visit_Arel_Nodes_Ascending(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#635 + # source://activerecord//lib/arel/visitors/to_sql.rb#635 def visit_Arel_Nodes_Assignment(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#417 + # source://activerecord//lib/arel/visitors/to_sql.rb#417 def visit_Arel_Nodes_Avg(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#427 + # source://activerecord//lib/arel/visitors/to_sql.rb#427 def visit_Arel_Nodes_Between(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#183 + # source://activerecord//lib/arel/visitors/to_sql.rb#183 def visit_Arel_Nodes_Bin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#765 + # source://activerecord//lib/arel/visitors/to_sql.rb#765 def visit_Arel_Nodes_BindParam(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#774 + # source://activerecord//lib/arel/visitors/to_sql.rb#774 def visit_Arel_Nodes_BoundSqlLiteral(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#704 + # source://activerecord//lib/arel/visitors/to_sql.rb#704 def visit_Arel_Nodes_Case(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#84 + # source://activerecord//lib/arel/visitors/to_sql.rb#84 def visit_Arel_Nodes_Casted(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#172 + # source://activerecord//lib/arel/visitors/to_sql.rb#172 def visit_Arel_Nodes_Comment(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#401 + # source://activerecord//lib/arel/visitors/to_sql.rb#401 def visit_Arel_Nodes_Count(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#737 + # source://activerecord//lib/arel/visitors/to_sql.rb#737 def visit_Arel_Nodes_Cte(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#293 + # source://activerecord//lib/arel/visitors/to_sql.rb#293 def visit_Arel_Nodes_CurrentRow(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#22 + # source://activerecord//lib/arel/visitors/to_sql.rb#22 def visit_Arel_Nodes_DeleteStatement(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#364 + # source://activerecord//lib/arel/visitors/to_sql.rb#364 def visit_Arel_Nodes_Descending(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#187 + # source://activerecord//lib/arel/visitors/to_sql.rb#187 def visit_Arel_Nodes_Distinct(o, collector); end # @raise [NotImplementedError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#191 + # source://activerecord//lib/arel/visitors/to_sql.rb#191 def visit_Arel_Nodes_DistinctOn(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#493 + # source://activerecord//lib/arel/visitors/to_sql.rb#493 def visit_Arel_Nodes_DoesNotMatch(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#728 + # source://activerecord//lib/arel/visitors/to_sql.rb#728 def visit_Arel_Nodes_Else(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#648 + # source://activerecord//lib/arel/visitors/to_sql.rb#648 def visit_Arel_Nodes_Equality(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#218 + # source://activerecord//lib/arel/visitors/to_sql.rb#218 def visit_Arel_Nodes_Except(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#73 + # source://activerecord//lib/arel/visitors/to_sql.rb#73 def visit_Arel_Nodes_Exists(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#396 + # source://activerecord//lib/arel/visitors/to_sql.rb#396 def visit_Arel_Nodes_Extract(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#93 + # source://activerecord//lib/arel/visitors/to_sql.rb#93 def visit_Arel_Nodes_False(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#248 + # source://activerecord//lib/arel/visitors/to_sql.rb#248 def visit_Arel_Nodes_Filter(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#283 + # source://activerecord//lib/arel/visitors/to_sql.rb#283 def visit_Arel_Nodes_Following(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#866 + # source://activerecord//lib/arel/visitors/to_sql.rb#866 def visit_Arel_Nodes_Fragments(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#528 + # source://activerecord//lib/arel/visitors/to_sql.rb#528 def visit_Arel_Nodes_FullOuterJoin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#445 + # source://activerecord//lib/arel/visitors/to_sql.rb#445 def visit_Arel_Nodes_GreaterThan(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#433 + # source://activerecord//lib/arel/visitors/to_sql.rb#433 def visit_Arel_Nodes_GreaterThanOrEqual(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#379 + # source://activerecord//lib/arel/visitors/to_sql.rb#379 def visit_Arel_Nodes_Group(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#324 + # source://activerecord//lib/arel/visitors/to_sql.rb#324 def visit_Arel_Nodes_Grouping(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#333 + # source://activerecord//lib/arel/visitors/to_sql.rb#333 def visit_Arel_Nodes_HomogeneousIn(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#584 + # source://activerecord//lib/arel/visitors/to_sql.rb#584 def visit_Arel_Nodes_In(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#850 + # source://activerecord//lib/arel/visitors/to_sql.rb#850 def visit_Arel_Nodes_InfixOperation(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#549 + # source://activerecord//lib/arel/visitors/to_sql.rb#549 def visit_Arel_Nodes_InnerJoin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#51 + # source://activerecord//lib/arel/visitors/to_sql.rb#51 def visit_Arel_Nodes_InsertStatement(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#213 + # source://activerecord//lib/arel/visitors/to_sql.rb#213 def visit_Arel_Nodes_Intersect(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#673 + # source://activerecord//lib/arel/visitors/to_sql.rb#673 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#663 + # source://activerecord//lib/arel/visitors/to_sql.rb#663 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#505 + # source://activerecord//lib/arel/visitors/to_sql.rb#505 def visit_Arel_Nodes_JoinSource(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#469 + # source://activerecord//lib/arel/visitors/to_sql.rb#469 def visit_Arel_Nodes_LessThan(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#457 + # source://activerecord//lib/arel/visitors/to_sql.rb#457 def visit_Arel_Nodes_LessThanOrEqual(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#315 + # source://activerecord//lib/arel/visitors/to_sql.rb#315 def visit_Arel_Nodes_Limit(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#320 + # source://activerecord//lib/arel/visitors/to_sql.rb#320 def visit_Arel_Nodes_Lock(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#481 + # source://activerecord//lib/arel/visitors/to_sql.rb#481 def visit_Arel_Nodes_Matches(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#409 + # source://activerecord//lib/arel/visitors/to_sql.rb#409 def visit_Arel_Nodes_Max(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#413 + # source://activerecord//lib/arel/visitors/to_sql.rb#413 def visit_Arel_Nodes_Min(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#383 + # source://activerecord//lib/arel/visitors/to_sql.rb#383 def visit_Arel_Nodes_NamedFunction(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#223 + # source://activerecord//lib/arel/visitors/to_sql.rb#223 def visit_Arel_Nodes_NamedWindow(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#565 + # source://activerecord//lib/arel/visitors/to_sql.rb#565 def visit_Arel_Nodes_Not(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#683 + # source://activerecord//lib/arel/visitors/to_sql.rb#683 def visit_Arel_Nodes_NotEqual(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#600 + # source://activerecord//lib/arel/visitors/to_sql.rb#600 def visit_Arel_Nodes_NotIn(o, collector); end # @raise [NotImplementedError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#520 + # source://activerecord//lib/arel/visitors/to_sql.rb#520 def visit_Arel_Nodes_NotRegexp(o, collector); end # NullsFirst is available on all but MySQL, where it is redefined. # - # source://activerecord/lib/arel/visitors/to_sql.rb#369 + # source://activerecord//lib/arel/visitors/to_sql.rb#369 def visit_Arel_Nodes_NullsFirst(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#374 + # source://activerecord//lib/arel/visitors/to_sql.rb#374 def visit_Arel_Nodes_NullsLast(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#310 + # source://activerecord//lib/arel/visitors/to_sql.rb#310 def visit_Arel_Nodes_Offset(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#560 + # source://activerecord//lib/arel/visitors/to_sql.rb#560 def visit_Arel_Nodes_On(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#167 + # source://activerecord//lib/arel/visitors/to_sql.rb#167 def visit_Arel_Nodes_OptimizerHints(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#620 + # source://activerecord//lib/arel/visitors/to_sql.rb#620 def visit_Arel_Nodes_Or(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#535 + # source://activerecord//lib/arel/visitors/to_sql.rb#535 def visit_Arel_Nodes_OuterJoin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#297 + # source://activerecord//lib/arel/visitors/to_sql.rb#297 def visit_Arel_Nodes_Over(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#273 + # source://activerecord//lib/arel/visitors/to_sql.rb#273 def visit_Arel_Nodes_Preceding(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#84 + # source://activerecord//lib/arel/visitors/to_sql.rb#87 def visit_Arel_Nodes_Quoted(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#264 + # source://activerecord//lib/arel/visitors/to_sql.rb#264 def visit_Arel_Nodes_Range(o, collector); end # @raise [NotImplementedError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#516 + # source://activerecord//lib/arel/visitors/to_sql.rb#516 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#542 + # source://activerecord//lib/arel/visitors/to_sql.rb#542 def visit_Arel_Nodes_RightOuterJoin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#255 + # source://activerecord//lib/arel/visitors/to_sql.rb#255 def visit_Arel_Nodes_Rows(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#146 + # source://activerecord//lib/arel/visitors/to_sql.rb#146 def visit_Arel_Nodes_SelectCore(o, collector); end # The Oracle enhanced adapter uses this private method, # see https://github.com/rsim/oracle-enhanced/issues/2186 # - # source://activerecord/lib/arel/visitors/to_sql.rb#140 + # source://activerecord//lib/arel/visitors/to_sql.rb#140 def visit_Arel_Nodes_SelectOptions(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#117 + # source://activerecord//lib/arel/visitors/to_sql.rb#117 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#769 + # source://activerecord//lib/arel/visitors/to_sql.rb#769 def visit_Arel_Nodes_SqlLiteral(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#524 + # source://activerecord//lib/arel/visitors/to_sql.rb#524 def visit_Arel_Nodes_StringJoin(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#405 + # source://activerecord//lib/arel/visitors/to_sql.rb#405 def visit_Arel_Nodes_Sum(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#421 + # source://activerecord//lib/arel/visitors/to_sql.rb#421 def visit_Arel_Nodes_TableAlias(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#89 + # source://activerecord//lib/arel/visitors/to_sql.rb#89 def visit_Arel_Nodes_True(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#856 + # source://activerecord//lib/arel/visitors/to_sql.rb#856 def visit_Arel_Nodes_UnaryOperation(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#205 + # source://activerecord//lib/arel/visitors/to_sql.rb#205 def visit_Arel_Nodes_Union(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#209 + # source://activerecord//lib/arel/visitors/to_sql.rb#209 def visit_Arel_Nodes_UnionAll(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#733 + # source://activerecord//lib/arel/visitors/to_sql.rb#733 def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#39 + # source://activerecord//lib/arel/visitors/to_sql.rb#39 def visit_Arel_Nodes_UpdateStatement(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#97 + # source://activerecord//lib/arel/visitors/to_sql.rb#97 def visit_Arel_Nodes_ValuesList(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#721 + # source://activerecord//lib/arel/visitors/to_sql.rb#721 def visit_Arel_Nodes_When(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#229 + # source://activerecord//lib/arel/visitors/to_sql.rb#229 def visit_Arel_Nodes_Window(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#195 + # source://activerecord//lib/arel/visitors/to_sql.rb#195 def visit_Arel_Nodes_With(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#200 + # source://activerecord//lib/arel/visitors/to_sql.rb#200 def visit_Arel_Nodes_WithRecursive(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#355 + # source://activerecord//lib/arel/visitors/to_sql.rb#355 def visit_Arel_SelectManager(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#570 + # source://activerecord//lib/arel/visitors/to_sql.rb#570 def visit_Arel_Table(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#861 + # source://activerecord//lib/arel/visitors/to_sql.rb#861 def visit_Array(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#837 def visit_BigDecimal(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#838 def visit_Class(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#839 def visit_Date(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#840 def visit_DateTime(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#841 def visit_FalseClass(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#842 def visit_Float(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#843 def visit_Hash(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#827 + # source://activerecord//lib/arel/visitors/to_sql.rb#827 def visit_Integer(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#844 def visit_NilClass(o, collector); end - # source://activerecord/lib/arel/visitors/to_sql.rb#861 + # source://activerecord//lib/arel/visitors/to_sql.rb#864 def visit_Set(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#845 def visit_String(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#846 def visit_Symbol(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#847 def visit_Time(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord/lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#848 def visit_TrueClass(o, collector); end end -# source://activerecord/lib/arel/visitors/to_sql.rb#756 +# source://activerecord//lib/arel/visitors/to_sql.rb#756 Arel::Visitors::ToSql::BIND_BLOCK = T.let(T.unsafe(nil), Proc) -# source://activerecord/lib/arel/visitors/to_sql.rb#5 +# source://activerecord//lib/arel/visitors/to_sql.rb#5 class Arel::Visitors::UnsupportedVisitError < ::StandardError # @return [UnsupportedVisitError] a new instance of UnsupportedVisitError # - # source://activerecord/lib/arel/visitors/to_sql.rb#6 + # source://activerecord//lib/arel/visitors/to_sql.rb#6 def initialize(object); end end -# source://activerecord/lib/arel/visitors/visitor.rb#5 +# source://activerecord//lib/arel/visitors/visitor.rb#5 class Arel::Visitors::Visitor # @return [Visitor] a new instance of Visitor # - # source://activerecord/lib/arel/visitors/visitor.rb#6 + # source://activerecord//lib/arel/visitors/visitor.rb#6 def initialize; end - # source://activerecord/lib/arel/visitors/visitor.rb#10 + # source://activerecord//lib/arel/visitors/visitor.rb#10 def accept(object, collector = T.unsafe(nil)); end private # Returns the value of attribute dispatch. # - # source://activerecord/lib/arel/visitors/visitor.rb#15 + # source://activerecord//lib/arel/visitors/visitor.rb#15 def dispatch; end - # source://activerecord/lib/arel/visitors/visitor.rb#23 + # source://activerecord//lib/arel/visitors/visitor.rb#23 def get_dispatch_cache; end - # source://activerecord/lib/arel/visitors/visitor.rb#27 + # source://activerecord//lib/arel/visitors/visitor.rb#27 def visit(object, collector = T.unsafe(nil)); end class << self - # source://activerecord/lib/arel/visitors/visitor.rb#17 + # source://activerecord//lib/arel/visitors/visitor.rb#17 def dispatch_cache; end end end -# source://activerecord/lib/arel/window_predications.rb#4 +# source://activerecord//lib/arel/window_predications.rb#4 module Arel::WindowPredications - # source://activerecord/lib/arel/window_predications.rb#5 + # source://activerecord//lib/arel/window_predications.rb#5 def over(expr = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/activeresource@6.1.4.rbi b/sorbet/rbi/gems/activeresource@6.1.4.rbi index 83b84d3ac..a8d03969e 100644 --- a/sorbet/rbi/gems/activeresource@6.1.4.rbi +++ b/sorbet/rbi/gems/activeresource@6.1.4.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `activeresource` gem. # Please instead update this file by running `bin/tapioca gem activeresource`. + # source://activeresource//lib/active_resource/exceptions.rb#3 module ActiveResource extend ::ActiveSupport::Autoload @@ -221,10 +222,10 @@ class ActiveResource::Associations::Builder::BelongsTo < ::ActiveResource::Assoc def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#7 def macro; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#5 def valid_options; end end end @@ -235,7 +236,7 @@ class ActiveResource::Associations::Builder::HasMany < ::ActiveResource::Associa def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/has_many.rb#5 def macro; end end end @@ -246,7 +247,7 @@ class ActiveResource::Associations::Builder::HasOne < ::ActiveResource::Associat def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/has_one.rb#5 def macro; end end end @@ -620,10 +621,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1318 def ==(other); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks?; end # source://activeresource//lib/active_resource/base.rb#331 @@ -635,10 +636,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#331 def _collection_parser?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks; end # source://activeresource//lib/active_resource/base.rb#330 @@ -650,40 +651,40 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#330 def _format?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_create_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_destroy_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_save_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_update_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_validation_callbacks(&block); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks; end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators; end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators?; end # source://activeresource//lib/active_resource/base.rb#1184 @@ -818,10 +819,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#332 def include_format_in_path?; end - # source://activemodel/7.1.4.2/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json; end - # source://activemodel/7.1.4.2/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json?; end # This is a list of known attributes for this resource. Either @@ -862,7 +863,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#323 def logger; end - # source://activemodel/7.1.4.2/lib/active_model/naming.rb#255 + # source://activeresource//lib/active_resource/base.rb#1721 def model_name(&block); end # Returns +true+ if this object hasn't yet been saved, otherwise, returns +false+. @@ -896,10 +897,10 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1265 + # source://activeresource//lib/active_resource/base.rb#1268 def new_record?; end - # source://activemodel/7.1.4.2/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter=(_arg0); end # Returns +true+ if this object has been saved, otherwise returns +false+. @@ -928,13 +929,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1565 def read_attribute_for_serialization(n); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections; end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections=(_arg0); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections?; end # A method to \reload the attributes of this object from the remote web service. @@ -953,6 +954,8 @@ class ActiveResource::Base def reload; end # For checking respond_to? without searching the attributes (which is faster). + # + # source://activeresource//lib/active_resource/base.rb#1537 def respond_to_without_attributes?(*_arg0); end # Saves (+POST+) or \updates (+PUT+) a resource. Delegates to +create+ if the object is \new, @@ -969,7 +972,7 @@ class ActiveResource::Base # my_company.size = 10 # my_company.save # sends PUT /companies/1 (update) # - # source://activeresource//lib/active_resource/validations.rb#111 + # source://activeresource//lib/active_resource/base.rb#1365 def save(options = T.unsafe(nil)); end # Saves the resource. @@ -989,7 +992,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1384 def save!; end - # source://activeresource//lib/active_resource/base.rb#1365 + # source://activeresource//lib/active_resource/base.rb#1724 def save_without_validation; end # If no schema has been defined for the class (see @@ -1034,7 +1037,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1532 def update_attributes(attributes); end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#67 + # source://activeresource//lib/active_resource/base.rb#1724 def validation_context; end protected @@ -1122,26 +1125,26 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1697 def split_options(options = T.unsafe(nil)); end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#67 + # source://activeresource//lib/active_resource/base.rb#1724 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks=(value); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token_defined?; end # source://activeresource//lib/active_resource/base.rb#331 @@ -1153,25 +1156,25 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#331 def _collection_parser?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _connection; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _connection=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _connection_defined?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks=(value); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks=(value); end # source://activeresource//lib/active_resource/base.rb#330 @@ -1183,94 +1186,94 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#330 def _format?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _headers; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _headers=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _headers_defined?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _password; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _password=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _password_defined?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy_defined?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _site; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _site=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _site_defined?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _user; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _user=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _user_defined?; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks=(value); end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks; end - # source://activesupport/7.1.4.2/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks=(value); end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators; end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators=(value); end - # source://activemodel/7.1.4.2/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators?; end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_create(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_destroy(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_save(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_update(*args, **options, &block); end # This is an alias for find(:all). You can pass in all the same @@ -1279,16 +1282,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1039 def all(*args); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_create(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_destroy(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_save(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_update(*args, **options, &block); end # source://activeresource//lib/active_resource/base.rb#562 @@ -1307,16 +1310,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#557 def bearer_token=(bearer_token); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_create(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_destroy(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_save(*args, **options, &block); end - # source://activemodel/7.1.4.2/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_update(*args, **options, &block); end # Builds a new, unsaved record using the default values from the remote server so @@ -1442,7 +1445,7 @@ class ActiveResource::Base # # Let's assume a request to events/5/cancel.json # Event.delete(params[:id]) # sends DELETE /events/5 # - # source://activeresource//lib/active_resource/custom_methods.rb#76 + # source://activeresource//lib/active_resource/base.rb#1063 def delete(custom_method_name, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/base.rb#708 @@ -1617,7 +1620,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#775 def format_extension; end - # source://activeresource//lib/active_resource/custom_methods.rb#58 + # source://activeresource//lib/active_resource/base.rb#1724 def get(custom_method_name, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/base.rb#698 @@ -1632,13 +1635,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#332 def include_format_in_path?; end - # source://activemodel/7.1.4.2/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json; end - # source://activemodel/7.1.4.2/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json=(value); end - # source://activemodel/7.1.4.2/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json?; end # Returns the list of known attributes for this resource, gathered @@ -1695,16 +1698,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#612 def open_timeout=(timeout); end - # source://activeresource//lib/active_resource/base.rb#1063 + # source://activeresource//lib/active_resource/base.rb#1724 def orig_delete(id, options = T.unsafe(nil)); end - # source://activemodel/7.1.4.2/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter; end - # source://activemodel/7.1.4.2/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter=(value); end - # source://activemodel/7.1.4.2/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter?; end # Gets the \password for REST HTTP authentication. @@ -1717,10 +1720,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#541 def password=(password); end - # source://activeresource//lib/active_resource/custom_methods.rb#68 + # source://activeresource//lib/active_resource/base.rb#1724 def patch(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#64 + # source://activeresource//lib/active_resource/base.rb#1724 def post(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end # Gets the \prefix for a resource's nested URL (e.g., prefix/collectionname/1.json) @@ -1761,7 +1764,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#509 def proxy=(proxy); end - # source://activeresource//lib/active_resource/custom_methods.rb#72 + # source://activeresource//lib/active_resource/base.rb#1724 def put(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end # Gets the number of seconds after which reads to the REST API should time out. @@ -1774,13 +1777,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#618 def read_timeout=(timeout); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections; end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections=(value); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections?; end # Creates a schema for this resource - setting the attributes that are @@ -1865,27 +1868,27 @@ class ActiveResource::Base # # @param value the value to set the attribute collection_name to. # - # source://activeresource//lib/active_resource/base.rb#712 + # source://activeresource//lib/active_resource/base.rb#773 def set_collection_name(_arg0); end # Sets the attribute element_name # # @param value the value to set the attribute element_name to. # - # source://activeresource//lib/active_resource/base.rb#706 + # source://activeresource//lib/active_resource/base.rb#772 def set_element_name(_arg0); end # Sets the \prefix for a resource's nested URL (e.g., prefix/collectionname/1.json). # Default value is site.path. # - # source://activeresource//lib/active_resource/base.rb#751 + # source://activeresource//lib/active_resource/base.rb#770 def set_prefix(value = T.unsafe(nil)); end # Sets the attribute primary_key # # @param value the value to set the attribute primary_key to. # - # source://activeresource//lib/active_resource/base.rb#718 + # source://activeresource//lib/active_resource/base.rb#889 def set_primary_key(_arg0); end # Gets the URI of the REST resources to map for this class. The site variable is required for @@ -2318,7 +2321,7 @@ class ActiveResource::Collection # source://activeresource//lib/active_resource/collection.rb#10 def map(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#67 + # source://activeresource//lib/active_resource/collection.rb#74 def map!; end # source://activeresource//lib/active_resource/collection.rb#10 @@ -2771,7 +2774,7 @@ class ActiveResource::Connection # Creates new Net::HTTP instance for communication with the # remote service and resources. # - # source://activeresource//lib/active_resource/http_mock.rb#364 + # source://activeresource//lib/active_resource/connection.rb#171 def http; end # source://activeresource//lib/active_resource/connection.rb#288 @@ -3033,25 +3036,25 @@ class ActiveResource::HttpMock # source://activeresource//lib/active_resource/http_mock.rb#270 def initialize(site); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def delete(path, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def get(path, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def head(path, headers, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/http_mock.rb#274 def inspect_responses; end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def patch(path, body, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def post(path, body, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def put(path, body, headers, options = T.unsafe(nil)); end class << self @@ -3207,22 +3210,22 @@ class ActiveResource::HttpMock::Responder # source://activeresource//lib/active_resource/http_mock.rb#56 def initialize(responses); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def delete(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def get(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def head(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def patch(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def post(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def put(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end private @@ -3617,37 +3620,37 @@ class ActiveResource::Schema # source://activeresource//lib/active_resource/schema.rb#11 def attrs=(_arg0); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def binary(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def boolean(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def date(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def datetime(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def decimal(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def float(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def integer(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def string(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def text(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def time(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def timestamp(*args); end end diff --git a/sorbet/rbi/gems/activestorage@7.1.5.1.rbi b/sorbet/rbi/gems/activestorage@7.1.5.1.rbi index 203db13fa..623565ddb 100644 --- a/sorbet/rbi/gems/activestorage@7.1.5.1.rbi +++ b/sorbet/rbi/gems/activestorage@7.1.5.1.rbi @@ -11,1295 +11,316 @@ class ActiveRecord::Base include ::ActiveModel::AttributeAssignment include ::ActiveModel::Serialization - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _before_commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _create_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _destroy_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _find_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _initialize_callbacks; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _rollback_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_before_commit_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_commit_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_create_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_destroy_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_find_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_initialize_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_rollback_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_save_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_touch_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_update_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_validate_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_validation_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _save_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _touch_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _update_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _validate_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _validation_callbacks; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators?; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activestorage/lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage/lib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#178 - def column_for_attribute(name, &block); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#97 - def default_connection_handler; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#97 - def default_connection_handler?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#99 - def default_role; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#99 - def default_role?; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#101 - def default_shard; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#101 - def default_shard?; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#47 - def destroy_association_async_batch_size; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#37 - def destroy_association_async_job(&block); end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(_arg0); end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.1.5.1lib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.1.5.1lib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#22 - def logger; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#22 - def logger?; end - - # source://activemodel/7.1.5.1lib/active_model/naming.rb#255 - def model_name(&block); end - - # source://activerecord/7.1.5.1lib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.1.5.1lib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes=(_arg0); end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter=(_arg0); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps=(_arg0); end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.1.5.1lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.1.5.1lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#71 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#71 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#70 - def time_zone_aware_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#70 - def time_zone_aware_attributes?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#72 - def time_zone_aware_types; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#72 - def time_zone_aware_types?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#178 - def type_for_attribute(attr_name, &block); end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 - def validation_context; end - - private - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#67 - def validation_context=(_arg0); end - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activerecord/7.1.5.1lib/active_record/readonly_attributes.rb#11 - def _attr_readonly; end - - # source://activerecord/7.1.5.1lib/active_record/readonly_attributes.rb#11 - def _attr_readonly=(value); end - - # source://activerecord/7.1.5.1lib/active_record/readonly_attributes.rb#11 - def _attr_readonly?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _before_commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _before_commit_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _commit_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _commit_callbacks=(value); end - - # source://activerecord/7.1.5.1lib/active_record/counter_cache.rb#9 - def _counter_cache_columns; end - - # source://activerecord/7.1.5.1lib/active_record/counter_cache.rb#9 - def _counter_cache_columns=(value); end - - # source://activerecord/7.1.5.1lib/active_record/counter_cache.rb#9 - def _counter_cache_columns?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _create_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _create_callbacks=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#24 - def _destroy_association_async_job; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#24 - def _destroy_association_async_job=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#24 - def _destroy_association_async_job?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _destroy_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _destroy_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _find_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _find_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _initialize_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _initialize_callbacks=(value); end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections=(value); end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _rollback_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _rollback_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _save_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _save_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _touch_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _touch_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _update_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _update_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _validate_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _validate_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _validation_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _validation_callbacks=(value); end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators=(value); end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators?; end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_find(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_initialize(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_touch(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#144 - def after_update(*args, **options, &block); end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#12 - def aggregate_reflections=(value); end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#105 - def application_record_class?; end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#137 - def around_update(*args, **options, &block); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#125 - def asynchronous_queries_session; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#129 - def asynchronous_queries_tracker; end - - # source://activestorage/lib/active_storage/reflection.rb#53 + # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections; end - # source://activestorage/lib/active_storage/reflection.rb#53 + # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections=(value); end - # source://activestorage/lib/active_storage/reflection.rb#53 + # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases=(value); end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns=(value); end - - # source://activemodel/7.1.5.1lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads?; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#13 - def automatic_scope_inversing=(value); end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_create(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_destroy(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_save(*args, **options, &block); end - - # source://activemodel/7.1.5.1lib/active_model/callbacks.rb#130 - def before_update(*args, **options, &block); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#89 - def belongs_to_required_by_default; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#89 - def belongs_to_required_by_default=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#89 - def belongs_to_required_by_default?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#16 - def cache_timestamp_format=(value); end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#24 - def cache_versioning=(value); end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#32 - def collection_cache_versioning=(value); end - - # source://activerecord/7.1.5.1lib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#77 - def configurations; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#71 - def configurations=(config); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#189 - def connected_to_stack; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#203 - def connection_class; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#199 - def connection_class=(b); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#207 - def connection_class?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#211 - def connection_class_for_self; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#117 - def connection_handler; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#121 - def connection_handler=(handler); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#180 - def current_preventing_writes; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#143 - def current_role; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#161 - def current_shard; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#97 - def default_connection_handler; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#97 - def default_connection_handler=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#97 - def default_connection_handler?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#99 - def default_role; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#99 - def default_role=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#99 - def default_role?; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#20 - def default_scope_override=(value); end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/default.rb#19 - def default_scopes=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#101 - def default_shard; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#101 - def default_shard=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#101 - def default_shard?; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums=(value); end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#47 - def destroy_association_async_batch_size; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#47 - def destroy_association_async_batch_size=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#27 - def destroy_association_async_job; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#24 - def destroy_association_async_job=(value); end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(value); end - - # source://activerecord/7.1.5.1lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements?; end - - # source://activerecord/7.1.5.1lib/active_record/token_for.rb#11 - def generated_token_verifier; end - - # source://activerecord/7.1.5.1lib/active_record/token_for.rb#11 - def generated_token_verifier=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#93 - def has_many_inversing; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#93 - def has_many_inversing=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#93 - def has_many_inversing?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#165 - def immutable_strings_by_default; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#165 - def immutable_strings_by_default=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#165 - def immutable_strings_by_default?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#164 - def implicit_order_column; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#164 - def implicit_order_column=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#164 - def implicit_order_column?; end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json=(value); end - - # source://activemodel/7.1.5.1lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#167 - def inheritance_column; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#321 - def inheritance_column=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#167 - def inheritance_column?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#162 - def internal_metadata_table_name; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#162 - def internal_metadata_table_name=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#162 - def internal_metadata_table_name?; end - - # source://activerecord/7.1.5.1lib/active_record/store.rb#101 - def local_stored_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/store.rb#101 - def local_stored_attributes=(_arg0); end - - # source://activerecord/7.1.5.1lib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.1.5.1lib/active_record/locking/optimistic.rb#56 - def lock_optimistically=(value); end - - # source://activerecord/7.1.5.1lib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#22 - def logger; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#22 - def logger=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#22 - def logger?; end - - # source://activerecord/7.1.5.1lib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.1.5.1lib/active_record/nested_attributes.rb#15 - def nested_attributes_options=(value); end - - # source://activerecord/7.1.5.1lib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes=(value); end - - # source://activerecord/7.1.5.1lib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter; end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter=(value); end - - # source://activemodel/7.1.5.1lib/active_model/conversion.rb#32 - def param_delimiter?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#163 - def pluralize_table_names=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#158 - def primary_key_prefix_type=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps=(value); end - - # source://activerecord/7.1.5.1lib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#161 - def schema_migrations_table_name; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#161 - def schema_migrations_table_name=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#161 - def schema_migrations_table_name?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#103 - def shard_selector; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#103 - def shard_selector=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#103 - def shard_selector?; end - - # source://activerecord/7.1.5.1lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.1.5.1lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret=(value); end - - # source://activerecord/7.1.5.1lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#71 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#71 - def skip_time_zone_conversion_for_attributes=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#71 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#43 - def store_full_class_name=(value); end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#47 - def store_full_sti_class=(value); end - - # source://activerecord/7.1.5.1lib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#91 - def strict_loading_by_default; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#91 - def strict_loading_by_default=(value); end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#91 - def strict_loading_by_default?; end - - # source://activerecord/7.1.5.1lib/active_record/core.rb#226 - def strict_loading_violation!(owner:, reflection:); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#159 - def table_name_prefix=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#160 - def table_name_suffix=(value); end - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#70 - def time_zone_aware_attributes; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#70 - def time_zone_aware_attributes=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#70 - def time_zone_aware_attributes?; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#72 - def time_zone_aware_types; end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#72 - def time_zone_aware_types=(value); end - - # source://activerecord/7.1.5.1lib/active_record/attribute_methods/time_zone_conversion.rb#72 - def time_zone_aware_types?; end - - # source://activerecord/7.1.5.1lib/active_record/token_for.rb#10 - def token_definitions; end - - # source://activerecord/7.1.5.1lib/active_record/token_for.rb#10 - def token_definitions=(value); end - - private - - # source://activerecord/7.1.5.1lib/active_record/model_schema.rb#167 - def _inheritance_column=(value); end end end # :markup: markdown # :include: ../README.md # -# source://activestorage/lib/active_storage/gem_version.rb#3 +# source://activestorage//lib/active_storage/gem_version.rb#3 module ActiveStorage extend ::ActiveSupport::Autoload - # source://activestorage/lib/active_storage.rb#55 + # source://activestorage//lib/active_storage.rb#55 def analyzers; end - # source://activestorage/lib/active_storage.rb#55 + # source://activestorage//lib/active_storage.rb#55 def analyzers=(val); end - # source://activestorage/lib/active_storage.rb#61 + # source://activestorage//lib/active_storage.rb#61 def binary_content_type; end - # source://activestorage/lib/active_storage.rb#61 + # source://activestorage//lib/active_storage.rb#61 def binary_content_type=(val); end - # source://activestorage/lib/active_storage.rb#63 + # source://activestorage//lib/active_storage.rb#63 def content_types_allowed_inline; end - # source://activestorage/lib/active_storage.rb#63 + # source://activestorage//lib/active_storage.rb#63 def content_types_allowed_inline=(val); end - # source://activestorage/lib/active_storage.rb#62 + # source://activestorage//lib/active_storage.rb#62 def content_types_to_serve_as_binary; end - # source://activestorage/lib/active_storage.rb#62 + # source://activestorage//lib/active_storage.rb#62 def content_types_to_serve_as_binary=(val); end - # source://activestorage/lib/active_storage.rb#360 + # source://activestorage//lib/active_storage.rb#360 def draw_routes; end - # source://activestorage/lib/active_storage.rb#360 + # source://activestorage//lib/active_storage.rb#360 def draw_routes=(val); end - # source://activestorage/lib/active_storage.rb#48 + # source://activestorage//lib/active_storage.rb#48 def logger; end - # source://activestorage/lib/active_storage.rb#48 + # source://activestorage//lib/active_storage.rb#48 def logger=(val); end - # source://activestorage/lib/active_storage.rb#57 + # source://activestorage//lib/active_storage.rb#57 def paths; end - # source://activestorage/lib/active_storage.rb#57 + # source://activestorage//lib/active_storage.rb#57 def paths=(val); end - # source://activestorage/lib/active_storage.rb#54 + # source://activestorage//lib/active_storage.rb#54 def previewers; end - # source://activestorage/lib/active_storage.rb#54 + # source://activestorage//lib/active_storage.rb#54 def previewers=(val); end - # source://activestorage/lib/active_storage.rb#52 + # source://activestorage//lib/active_storage.rb#52 def queues; end - # source://activestorage/lib/active_storage.rb#52 + # source://activestorage//lib/active_storage.rb#52 def queues=(val); end - # source://activestorage/lib/active_storage.rb#361 + # source://activestorage//lib/active_storage.rb#361 def resolve_model_to_route; end - # source://activestorage/lib/active_storage.rb#361 + # source://activestorage//lib/active_storage.rb#361 def resolve_model_to_route=(val); end - # source://activestorage/lib/active_storage.rb#359 + # source://activestorage//lib/active_storage.rb#359 def routes_prefix; end - # source://activestorage/lib/active_storage.rb#359 + # source://activestorage//lib/active_storage.rb#359 def routes_prefix=(val); end - # source://activestorage/lib/active_storage.rb#356 + # source://activestorage//lib/active_storage.rb#356 def service_urls_expire_in; end - # source://activestorage/lib/active_storage.rb#356 + # source://activestorage//lib/active_storage.rb#356 def service_urls_expire_in=(val); end - # source://activestorage/lib/active_storage.rb#65 + # source://activestorage//lib/active_storage.rb#65 def supported_image_processing_methods; end - # source://activestorage/lib/active_storage.rb#65 + # source://activestorage//lib/active_storage.rb#65 def supported_image_processing_methods=(val); end - # source://activestorage/lib/active_storage.rb#363 + # source://activestorage//lib/active_storage.rb#363 def track_variants; end - # source://activestorage/lib/active_storage.rb#363 + # source://activestorage//lib/active_storage.rb#363 def track_variants=(val); end - # source://activestorage/lib/active_storage.rb#354 + # source://activestorage//lib/active_storage.rb#354 def unsupported_image_processing_arguments; end - # source://activestorage/lib/active_storage.rb#354 + # source://activestorage//lib/active_storage.rb#354 def unsupported_image_processing_arguments=(val); end - # source://activestorage/lib/active_storage.rb#357 + # source://activestorage//lib/active_storage.rb#357 def urls_expire_in; end - # source://activestorage/lib/active_storage.rb#357 + # source://activestorage//lib/active_storage.rb#357 def urls_expire_in=(val); end - # source://activestorage/lib/active_storage.rb#59 + # source://activestorage//lib/active_storage.rb#59 def variable_content_types; end - # source://activestorage/lib/active_storage.rb#59 + # source://activestorage//lib/active_storage.rb#59 def variable_content_types=(val); end - # source://activestorage/lib/active_storage.rb#50 + # source://activestorage//lib/active_storage.rb#50 def variant_processor; end - # source://activestorage/lib/active_storage.rb#50 + # source://activestorage//lib/active_storage.rb#50 def variant_processor=(val); end - # source://activestorage/lib/active_storage.rb#49 + # source://activestorage//lib/active_storage.rb#49 def verifier; end - # source://activestorage/lib/active_storage.rb#49 + # source://activestorage//lib/active_storage.rb#49 def verifier=(val); end - # source://activestorage/lib/active_storage.rb#365 + # source://activestorage//lib/active_storage.rb#365 def video_preview_arguments; end - # source://activestorage/lib/active_storage.rb#365 + # source://activestorage//lib/active_storage.rb#365 def video_preview_arguments=(val); end - # source://activestorage/lib/active_storage.rb#60 + # source://activestorage//lib/active_storage.rb#60 def web_image_content_types; end - # source://activestorage/lib/active_storage.rb#60 + # source://activestorage//lib/active_storage.rb#60 def web_image_content_types=(val); end class << self - # source://activestorage/lib/active_storage.rb#55 + # source://activestorage//lib/active_storage.rb#55 def analyzers; end - # source://activestorage/lib/active_storage.rb#55 + # source://activestorage//lib/active_storage.rb#55 def analyzers=(val); end - # source://activestorage/lib/active_storage.rb#61 + # source://activestorage//lib/active_storage.rb#61 def binary_content_type; end - # source://activestorage/lib/active_storage.rb#61 + # source://activestorage//lib/active_storage.rb#61 def binary_content_type=(val); end - # source://activestorage/lib/active_storage.rb#63 + # source://activestorage//lib/active_storage.rb#63 def content_types_allowed_inline; end - # source://activestorage/lib/active_storage.rb#63 + # source://activestorage//lib/active_storage.rb#63 def content_types_allowed_inline=(val); end - # source://activestorage/lib/active_storage.rb#62 + # source://activestorage//lib/active_storage.rb#62 def content_types_to_serve_as_binary; end - # source://activestorage/lib/active_storage.rb#62 + # source://activestorage//lib/active_storage.rb#62 def content_types_to_serve_as_binary=(val); end - # source://activestorage/lib/active_storage/deprecator.rb#4 + # source://activestorage//lib/active_storage/deprecator.rb#4 def deprecator; end - # source://activestorage/lib/active_storage.rb#360 + # source://activestorage//lib/active_storage.rb#360 def draw_routes; end - # source://activestorage/lib/active_storage.rb#360 + # source://activestorage//lib/active_storage.rb#360 def draw_routes=(val); end # Returns the currently loaded version of Active Storage as a +Gem::Version+. # - # source://activestorage/lib/active_storage/gem_version.rb#5 + # source://activestorage//lib/active_storage/gem_version.rb#5 def gem_version; end - # source://activestorage/lib/active_storage.rb#48 + # source://activestorage//lib/active_storage.rb#48 def logger; end - # source://activestorage/lib/active_storage.rb#48 + # source://activestorage//lib/active_storage.rb#48 def logger=(val); end - # source://activestorage/lib/active_storage.rb#57 + # source://activestorage//lib/active_storage.rb#57 def paths; end - # source://activestorage/lib/active_storage.rb#57 + # source://activestorage//lib/active_storage.rb#57 def paths=(val); end - # source://activestorage/lib/active_storage.rb#54 + # source://activestorage//lib/active_storage.rb#54 def previewers; end - # source://activestorage/lib/active_storage.rb#54 + # source://activestorage//lib/active_storage.rb#54 def previewers=(val); end - # source://activestorage/lib/active_storage.rb#52 + # source://activestorage//lib/active_storage.rb#52 def queues; end - # source://activestorage/lib/active_storage.rb#52 + # source://activestorage//lib/active_storage.rb#52 def queues=(val); end - # source://railties/7.1.5.1lib/rails/engine.rb#412 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_helpers_paths; end - # source://railties/7.1.5.1lib/rails/engine.rb#395 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_namespace; end - # source://railties/7.1.5.1lib/rails/engine.rb#416 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://activestorage/lib/active_storage.rb#367 + # source://activestorage//lib/active_storage.rb#367 def replace_on_assign_to_many; end - # source://activestorage/lib/active_storage.rb#371 + # source://activestorage//lib/active_storage.rb#371 def replace_on_assign_to_many=(value); end - # source://activestorage/lib/active_storage.rb#361 + # source://activestorage//lib/active_storage.rb#361 def resolve_model_to_route; end - # source://activestorage/lib/active_storage.rb#361 + # source://activestorage//lib/active_storage.rb#361 def resolve_model_to_route=(val); end - # source://activestorage/lib/active_storage.rb#359 + # source://activestorage//lib/active_storage.rb#359 def routes_prefix; end - # source://activestorage/lib/active_storage.rb#359 + # source://activestorage//lib/active_storage.rb#359 def routes_prefix=(val); end - # source://activestorage/lib/active_storage.rb#356 + # source://activestorage//lib/active_storage.rb#356 def service_urls_expire_in; end - # source://activestorage/lib/active_storage.rb#356 + # source://activestorage//lib/active_storage.rb#356 def service_urls_expire_in=(val); end - # source://activestorage/lib/active_storage.rb#375 + # source://activestorage//lib/active_storage.rb#375 def silence_invalid_content_types_warning; end - # source://activestorage/lib/active_storage.rb#379 + # source://activestorage//lib/active_storage.rb#379 def silence_invalid_content_types_warning=(value); end - # source://activestorage/lib/active_storage.rb#65 + # source://activestorage//lib/active_storage.rb#65 def supported_image_processing_methods; end - # source://activestorage/lib/active_storage.rb#65 + # source://activestorage//lib/active_storage.rb#65 def supported_image_processing_methods=(val); end - # source://railties/7.1.5.1lib/rails/engine.rb#401 + # source://activestorage//lib/active_storage/engine.rb#26 def table_name_prefix; end - # source://activestorage/lib/active_storage.rb#363 + # source://activestorage//lib/active_storage.rb#363 def track_variants; end - # source://activestorage/lib/active_storage.rb#363 + # source://activestorage//lib/active_storage.rb#363 def track_variants=(val); end - # source://activestorage/lib/active_storage.rb#354 + # source://activestorage//lib/active_storage.rb#354 def unsupported_image_processing_arguments; end - # source://activestorage/lib/active_storage.rb#354 + # source://activestorage//lib/active_storage.rb#354 def unsupported_image_processing_arguments=(val); end - # source://activestorage/lib/active_storage.rb#357 + # source://activestorage//lib/active_storage.rb#357 def urls_expire_in; end - # source://activestorage/lib/active_storage.rb#357 + # source://activestorage//lib/active_storage.rb#357 def urls_expire_in=(val); end - # source://railties/7.1.5.1lib/rails/engine.rb#408 + # source://activestorage//lib/active_storage/engine.rb#26 def use_relative_model_naming?; end - # source://activestorage/lib/active_storage.rb#59 + # source://activestorage//lib/active_storage.rb#59 def variable_content_types; end - # source://activestorage/lib/active_storage.rb#59 + # source://activestorage//lib/active_storage.rb#59 def variable_content_types=(val); end - # source://activestorage/lib/active_storage.rb#50 + # source://activestorage//lib/active_storage.rb#50 def variant_processor; end - # source://activestorage/lib/active_storage.rb#50 + # source://activestorage//lib/active_storage.rb#50 def variant_processor=(val); end - # source://activestorage/lib/active_storage.rb#49 + # source://activestorage//lib/active_storage.rb#49 def verifier; end - # source://activestorage/lib/active_storage.rb#49 + # source://activestorage//lib/active_storage.rb#49 def verifier=(val); end # Returns the currently loaded version of Active Storage as a +Gem::Version+. # - # source://activestorage/lib/active_storage/version.rb#7 + # source://activestorage//lib/active_storage/version.rb#7 def version; end - # source://activestorage/lib/active_storage.rb#365 + # source://activestorage//lib/active_storage.rb#365 def video_preview_arguments; end - # source://activestorage/lib/active_storage.rb#365 + # source://activestorage//lib/active_storage.rb#365 def video_preview_arguments=(val); end - # source://activestorage/lib/active_storage.rb#60 + # source://activestorage//lib/active_storage.rb#60 def web_image_content_types; end - # source://activestorage/lib/active_storage.rb#60 + # source://activestorage//lib/active_storage.rb#60 def web_image_content_types=(val); end end end @@ -1308,10 +329,7 @@ class ActiveStorage::AnalyzeJob < ::ActiveStorage::BaseJob def perform(blob); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -1321,39 +339,39 @@ end # This is an abstract base class for analyzers, which extract metadata from blobs. See # ActiveStorage::Analyzer::VideoAnalyzer for an example of a concrete subclass. # -# source://activestorage/lib/active_storage/analyzer.rb#8 +# source://activestorage//lib/active_storage/analyzer.rb#8 class ActiveStorage::Analyzer # @return [Analyzer] a new instance of Analyzer # - # source://activestorage/lib/active_storage/analyzer.rb#23 + # source://activestorage//lib/active_storage/analyzer.rb#23 def initialize(blob); end # Returns the value of attribute blob. # - # source://activestorage/lib/active_storage/analyzer.rb#9 + # source://activestorage//lib/active_storage/analyzer.rb#9 def blob; end # Override this method in a concrete subclass. Have it return a Hash of metadata. # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/analyzer.rb#28 + # source://activestorage//lib/active_storage/analyzer.rb#28 def metadata; end private # Downloads the blob to a tempfile on disk. Yields the tempfile. # - # source://activestorage/lib/active_storage/analyzer.rb#34 + # source://activestorage//lib/active_storage/analyzer.rb#34 def download_blob_to_tempfile(&block); end - # source://activestorage/lib/active_storage/analyzer.rb#46 + # source://activestorage//lib/active_storage/analyzer.rb#46 def instrument(analyzer, &block); end - # source://activestorage/lib/active_storage/analyzer.rb#38 + # source://activestorage//lib/active_storage/analyzer.rb#38 def logger; end - # source://activestorage/lib/active_storage/analyzer.rb#42 + # source://activestorage//lib/active_storage/analyzer.rb#42 def tmpdir; end class << self @@ -1362,7 +380,7 @@ class ActiveStorage::Analyzer # # @return [Boolean] # - # source://activestorage/lib/active_storage/analyzer.rb#13 + # source://activestorage//lib/active_storage/analyzer.rb#13 def accept?(blob); end # Implement this method in concrete subclasses. It will determine if blob analysis @@ -1370,186 +388,186 @@ class ActiveStorage::Analyzer # # @return [Boolean] # - # source://activestorage/lib/active_storage/analyzer.rb#19 + # source://activestorage//lib/active_storage/analyzer.rb#19 def analyze_later?; end end end -# source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#14 +# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#14 class ActiveStorage::Analyzer::AudioAnalyzer < ::ActiveStorage::Analyzer - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#19 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#19 def metadata; end private - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#44 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#44 def audio_stream; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#29 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#29 def bit_rate; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#24 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#24 def duration; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#73 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#73 def ffprobe_path; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#52 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#52 def probe; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#56 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#56 def probe_from(file); end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#34 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#34 def sample_rate; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#48 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#48 def streams; end - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#39 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#39 def tags; end class << self - # source://activestorage/lib/active_storage/analyzer/audio_analyzer.rb#15 + # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#15 def accept?(blob); end end end -# source://activestorage/lib/active_storage/analyzer/image_analyzer.rb#14 +# source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#14 class ActiveStorage::Analyzer::ImageAnalyzer < ::ActiveStorage::Analyzer - # source://activestorage/lib/active_storage/analyzer/image_analyzer.rb#19 + # source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#19 def metadata; end class << self - # source://activestorage/lib/active_storage/analyzer/image_analyzer.rb#15 + # source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#15 def accept?(blob); end end end -# source://activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb#6 +# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#6 class ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick < ::ActiveStorage::Analyzer::ImageAnalyzer private - # source://activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb#12 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#12 def read_image; end - # source://activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb#37 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#37 def rotated_image?(image); end class << self - # source://activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb#7 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#7 def accept?(blob); end end end -# source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#6 +# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#6 class ActiveStorage::Analyzer::ImageAnalyzer::Vips < ::ActiveStorage::Analyzer::ImageAnalyzer private - # source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#12 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#12 def read_image; end - # source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#38 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#38 def rotated_image?(image); end - # source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#44 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#44 def valid_image?(image); end class << self - # source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#7 + # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#7 def accept?(blob); end end end -# source://activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb#37 +# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#37 ActiveStorage::Analyzer::ImageAnalyzer::Vips::ROTATIONS = T.let(T.unsafe(nil), Regexp) -# source://activestorage/lib/active_storage/analyzer/null_analyzer.rb#4 +# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#4 class ActiveStorage::Analyzer::NullAnalyzer < ::ActiveStorage::Analyzer - # source://activestorage/lib/active_storage/analyzer/null_analyzer.rb#13 + # source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#13 def metadata; end class << self - # source://activestorage/lib/active_storage/analyzer/null_analyzer.rb#5 + # source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#5 def accept?(blob); end - # source://activestorage/lib/active_storage/analyzer/null_analyzer.rb#9 + # source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#9 def analyze_later?; end end end -# source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#24 +# source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#24 class ActiveStorage::Analyzer::VideoAnalyzer < ::ActiveStorage::Analyzer - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#29 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#29 def metadata; end private - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#55 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#55 def angle; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#78 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#78 def audio?; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#116 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#116 def audio_stream; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#86 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#86 def computed_height; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#124 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#124 def container; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#63 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#63 def display_aspect_ratio; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#100 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#100 def display_height_scale; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#50 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#50 def duration; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#96 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#96 def encoded_height; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#92 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#92 def encoded_width; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#149 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#149 def ffprobe_path; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#42 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#42 def height; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#128 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#128 def probe; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#132 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#132 def probe_from(file); end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#74 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#74 def rotated?; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#108 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#108 def side_data; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#120 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#120 def streams; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#104 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#104 def tags; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#82 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#82 def video?; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#112 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#112 def video_stream; end - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#34 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#34 def width; end class << self - # source://activestorage/lib/active_storage/analyzer/video_analyzer.rb#25 + # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#25 def accept?(blob); end end end @@ -1559,382 +577,382 @@ end # Abstract base class for the concrete ActiveStorage::Attached::One and ActiveStorage::Attached::Many # classes that both provide proxy access to the blob association for a record. # -# source://activestorage/lib/active_storage/attached.rb#10 +# source://activestorage//lib/active_storage/attached.rb#10 class ActiveStorage::Attached # @return [Attached] a new instance of Attached # - # source://activestorage/lib/active_storage/attached.rb#13 + # source://activestorage//lib/active_storage/attached.rb#13 def initialize(name, record); end # Returns the value of attribute name. # - # source://activestorage/lib/active_storage/attached.rb#11 + # source://activestorage//lib/active_storage/attached.rb#11 def name; end # Returns the value of attribute record. # - # source://activestorage/lib/active_storage/attached.rb#11 + # source://activestorage//lib/active_storage/attached.rb#11 def record; end private - # source://activestorage/lib/active_storage/attached.rb#18 + # source://activestorage//lib/active_storage/attached.rb#18 def change; end end -# source://activestorage/lib/active_storage/attached/changes.rb#4 +# source://activestorage//lib/active_storage/attached/changes.rb#4 module ActiveStorage::Attached::Changes extend ::ActiveSupport::Autoload end -# source://activestorage/lib/active_storage/attached/changes/create_many.rb#4 +# source://activestorage//lib/active_storage/attached/changes/create_many.rb#4 class ActiveStorage::Attached::Changes::CreateMany - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#7 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#7 def initialize(name, record, attachables, pending_uploads: T.unsafe(nil)); end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 def attachables; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#14 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#14 def attachments; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#18 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#18 def blobs; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 def pending_uploads; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 def record; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#26 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#26 def save; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#22 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#22 def upload; end private - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#44 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#44 def assign_associated_attachments; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#36 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#36 def build_subchange_from(attachable); end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#52 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#52 def persisted_or_new_attachments; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#48 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#48 def reset_associated_blobs; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#32 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#32 def subchanges; end - # source://activestorage/lib/active_storage/attached/changes/create_many.rb#40 + # source://activestorage//lib/active_storage/attached/changes/create_many.rb#40 def subchanges_without_blobs; end end -# source://activestorage/lib/active_storage/attached/changes/create_one.rb#7 +# source://activestorage//lib/active_storage/attached/changes/create_one.rb#7 class ActiveStorage::Attached::Changes::CreateOne - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#10 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#10 def initialize(name, record, attachable); end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#8 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#8 def attachable; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#15 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#15 def attachment; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#19 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#19 def blob; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#8 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#8 def name; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#8 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#8 def record; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#48 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#48 def save; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#23 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#23 def upload; end private - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#120 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#120 def attachment_service_name; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#64 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#64 def build_attachment; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#58 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#58 def find_attachment; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#54 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#54 def find_or_build_attachment; end - # source://activestorage/lib/active_storage/attached/changes/create_one.rb#68 + # source://activestorage//lib/active_storage/attached/changes/create_one.rb#68 def find_or_build_blob; end end -# source://activestorage/lib/active_storage/attached/changes/create_one_of_many.rb#4 +# source://activestorage//lib/active_storage/attached/changes/create_one_of_many.rb#4 class ActiveStorage::Attached::Changes::CreateOneOfMany < ::ActiveStorage::Attached::Changes::CreateOne private - # source://activestorage/lib/active_storage/attached/changes/create_one_of_many.rb#6 + # source://activestorage//lib/active_storage/attached/changes/create_one_of_many.rb#6 def find_attachment; end end -# source://activestorage/lib/active_storage/attached/changes/delete_many.rb#4 +# source://activestorage//lib/active_storage/attached/changes/delete_many.rb#4 class ActiveStorage::Attached::Changes::DeleteMany - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#7 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#7 def initialize(name, record); end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#11 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#11 def attachables; end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#15 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#15 def attachments; end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#19 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#19 def blobs; end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5 def record; end - # source://activestorage/lib/active_storage/attached/changes/delete_many.rb#23 + # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#23 def save; end end -# source://activestorage/lib/active_storage/attached/changes/delete_one.rb#4 +# source://activestorage//lib/active_storage/attached/changes/delete_one.rb#4 class ActiveStorage::Attached::Changes::DeleteOne - # source://activestorage/lib/active_storage/attached/changes/delete_one.rb#7 + # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#7 def initialize(name, record); end - # source://activestorage/lib/active_storage/attached/changes/delete_one.rb#11 + # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#11 def attachment; end - # source://activestorage/lib/active_storage/attached/changes/delete_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/delete_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5 def record; end - # source://activestorage/lib/active_storage/attached/changes/delete_one.rb#15 + # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#15 def save; end end -# source://activestorage/lib/active_storage/attached/changes/detach_many.rb#4 +# source://activestorage//lib/active_storage/attached/changes/detach_many.rb#4 class ActiveStorage::Attached::Changes::DetachMany - # source://activestorage/lib/active_storage/attached/changes/detach_many.rb#7 + # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#7 def initialize(name, record, attachments); end - # source://activestorage/lib/active_storage/attached/changes/detach_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5 def attachments; end - # source://activestorage/lib/active_storage/attached/changes/detach_many.rb#11 + # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#11 def detach; end - # source://activestorage/lib/active_storage/attached/changes/detach_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/detach_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5 def record; end end -# source://activestorage/lib/active_storage/attached/changes/detach_one.rb#4 +# source://activestorage//lib/active_storage/attached/changes/detach_one.rb#4 class ActiveStorage::Attached::Changes::DetachOne - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#7 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#7 def initialize(name, record, attachment); end - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5 def attachment; end - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#11 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#11 def detach; end - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5 def record; end private - # source://activestorage/lib/active_storage/attached/changes/detach_one.rb#19 + # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#19 def reset; end end -# source://activestorage/lib/active_storage/attached/changes/purge_many.rb#4 +# source://activestorage//lib/active_storage/attached/changes/purge_many.rb#4 class ActiveStorage::Attached::Changes::PurgeMany - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#7 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#7 def initialize(name, record, attachments); end - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5 def attachments; end - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#11 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#11 def purge; end - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#16 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#16 def purge_later; end - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5 def record; end private - # source://activestorage/lib/active_storage/attached/changes/purge_many.rb#22 + # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#22 def reset; end end -# source://activestorage/lib/active_storage/attached/changes/purge_one.rb#4 +# source://activestorage//lib/active_storage/attached/changes/purge_one.rb#4 class ActiveStorage::Attached::Changes::PurgeOne - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#7 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#7 def initialize(name, record, attachment); end - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5 def attachment; end - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5 def name; end - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#11 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#11 def purge; end - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#16 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#16 def purge_later; end - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#5 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5 def record; end private - # source://activestorage/lib/active_storage/attached/changes/purge_one.rb#22 + # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#22 def reset; end end -# source://activestorage/lib/active_storage/attached/many.rb#7 +# source://activestorage//lib/active_storage/attached/many.rb#7 class ActiveStorage::Attached::Many < ::ActiveStorage::Attached - # source://activestorage/lib/active_storage/attached/many.rb#51 + # source://activestorage//lib/active_storage/attached/many.rb#51 def attach(*attachables); end - # source://activestorage/lib/active_storage/attached/many.rb#66 + # source://activestorage//lib/active_storage/attached/many.rb#66 def attached?; end - # source://activestorage/lib/active_storage/attached/many.rb#32 + # source://activestorage//lib/active_storage/attached/many.rb#32 def attachments; end - # source://activestorage/lib/active_storage/attached/many.rb#37 + # source://activestorage//lib/active_storage/attached/many.rb#37 def blobs; end - # source://activestorage/lib/active_storage/attached/many.rb#25 + # source://activestorage//lib/active_storage/attached/many.rb#25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#354 + # source://activestorage//lib/active_storage/attached/many.rb#27 def method_missing(method, *args, **_arg2, &block); end - # source://activestorage/lib/active_storage/attached/many.rb#13 + # source://activestorage//lib/active_storage/attached/many.rb#13 def purge(*_arg0, **_arg1, &_arg2); end - # source://activestorage/lib/active_storage/attached/many.rb#19 + # source://activestorage//lib/active_storage/attached/many.rb#19 def purge_later(*_arg0, **_arg1, &_arg2); end private - # source://activestorage/lib/active_storage/attached/many.rb#75 + # source://activestorage//lib/active_storage/attached/many.rb#75 def detach_many; end - # source://activestorage/lib/active_storage/attached/many.rb#71 + # source://activestorage//lib/active_storage/attached/many.rb#71 def purge_many; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#346 + # source://activestorage//lib/active_storage/attached/many.rb#27 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://activestorage/lib/active_storage/attached/model.rb#9 +# source://activestorage//lib/active_storage/attached/model.rb#9 module ActiveStorage::Attached::Model extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveStorage::Attached::Model::ClassMethods - # source://activestorage/lib/active_storage/attached/model.rb#255 + # source://activestorage//lib/active_storage/attached/model.rb#255 def attachment_changes; end - # source://activestorage/lib/active_storage/attached/model.rb#259 + # source://activestorage//lib/active_storage/attached/model.rb#259 def changed_for_autosave?; end - # source://activestorage/lib/active_storage/attached/model.rb#269 + # source://activestorage//lib/active_storage/attached/model.rb#269 def reload(*_arg0); end private - # source://activestorage/lib/active_storage/attached/model.rb#263 + # source://activestorage//lib/active_storage/attached/model.rb#263 def initialize_dup(*_arg0); end end -# source://activestorage/lib/active_storage/attached/model.rb#0 +# source://activestorage//lib/active_storage/attached/model.rb#54 module ActiveStorage::Attached::Model::ClassMethods - # source://activestorage/lib/active_storage/attached/model.rb#186 + # source://activestorage//lib/active_storage/attached/model.rb#186 def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end - # source://activestorage/lib/active_storage/attached/model.rb#96 + # source://activestorage//lib/active_storage/attached/model.rb#96 def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end private - # source://activestorage/lib/active_storage/attached/model.rb#248 + # source://activestorage//lib/active_storage/attached/model.rb#248 def validate_global_service_configuration; end - # source://activestorage/lib/active_storage/attached/model.rb#238 + # source://activestorage//lib/active_storage/attached/model.rb#238 def validate_service_configuration(association_name, service); end end -# source://activestorage/lib/active_storage/attached/one.rb#7 +# source://activestorage//lib/active_storage/attached/one.rb#7 class ActiveStorage::Attached::One < ::ActiveStorage::Attached - # source://activestorage/lib/active_storage/attached/one.rb#58 + # source://activestorage//lib/active_storage/attached/one.rb#58 def attach(attachable); end - # source://activestorage/lib/active_storage/attached/one.rb#73 + # source://activestorage//lib/active_storage/attached/one.rb#73 def attached?; end - # source://activestorage/lib/active_storage/attached/one.rb#33 + # source://activestorage//lib/active_storage/attached/one.rb#33 def attachment; end - # source://activestorage/lib/active_storage/attached/one.rb#44 + # source://activestorage//lib/active_storage/attached/one.rb#44 def blank?; end - # source://activestorage/lib/active_storage/attached/one.rb#25 + # source://activestorage//lib/active_storage/attached/one.rb#25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#332 + # source://activestorage//lib/active_storage/attached/one.rb#27 def method_missing(method, *args, **_arg2, &block); end - # source://activestorage/lib/active_storage/attached/one.rb#13 + # source://activestorage//lib/active_storage/attached/one.rb#13 def purge(*_arg0, **_arg1, &_arg2); end - # source://activestorage/lib/active_storage/attached/one.rb#19 + # source://activestorage//lib/active_storage/attached/one.rb#19 def purge_later(*_arg0, **_arg1, &_arg2); end private - # source://activestorage/lib/active_storage/attached/one.rb#82 + # source://activestorage//lib/active_storage/attached/one.rb#82 def detach_one; end - # source://activestorage/lib/active_storage/attached/one.rb#78 + # source://activestorage//lib/active_storage/attached/one.rb#78 def purge_one; end - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#324 + # source://activestorage//lib/active_storage/attached/one.rb#27 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -1942,24 +960,15 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record include ::ActiveStorage::Attachment::GeneratedAttributeMethods include ::ActiveStorage::Attachment::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_blob(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_record(*args); end - - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#354 def method_missing(method, *args, **_arg2, &block); end - def preview(transformations); end def purge; end def purge_later; end def representation(transformations); end def signed_id(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def validate_associated_records_for_blob(*args); end - def variant(transformations); end private @@ -1969,75 +978,26 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record def mirror_blob_later; end def named_variants; end def purge_dependent_blob_later; end - - # source://activesupport/7.1.5.1lib/active_support/core_ext/module/delegation.rb#346 def respond_to_missing?(name, include_private = T.unsafe(nil)); end - def transform_variants_later; end def transformations_by_name(transformations); end - - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def with_all_variant_records(*args, **_arg1); end - end end module ActiveStorage::Attachment::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def blob=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#145 def blob_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#149 def blob_previously_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_blob!(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def record; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def record=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#145 def record_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#149 def record_previously_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_record; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_record; end end @@ -2048,17 +1008,11 @@ class ActiveStorage::BaseController < ::ActionController::Base private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal/etag_with_template_digest.rb#29 def etag_with_template_digest; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2077,14 +1031,10 @@ class ActiveStorage::Blobs::ProxyController < ::ActiveStorage::BaseController private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2096,24 +1046,17 @@ class ActiveStorage::Blobs::RedirectController < ::ActiveStorage::BaseController private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end class ActiveStorage::Current < ::ActiveSupport::CurrentAttributes class << self - # source://activesupport/7.1.5.1lib/active_support/current_attributes.rb#127 def url_options; end - - # source://activesupport/7.1.5.1lib/active_support/current_attributes.rb#127 def url_options=(value); end end end @@ -2123,14 +1066,11 @@ class ActiveStorage::DirectUploadsController < ::ActiveStorage::BaseController private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def blob_args; end def direct_upload_json(blob); end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2147,67 +1087,57 @@ class ActiveStorage::DiskController < ::ActiveStorage::BaseController private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def acceptable_content?(token); end def decode_verified_key; end def decode_verified_token; end def named_disk_service(name); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end -# source://activestorage/lib/active_storage/downloader.rb#4 +# source://activestorage//lib/active_storage/downloader.rb#4 class ActiveStorage::Downloader # @return [Downloader] a new instance of Downloader # - # source://activestorage/lib/active_storage/downloader.rb#7 + # source://activestorage//lib/active_storage/downloader.rb#7 def initialize(service); end - # source://activestorage/lib/active_storage/downloader.rb#11 + # source://activestorage//lib/active_storage/downloader.rb#11 def open(key, checksum: T.unsafe(nil), verify: T.unsafe(nil), name: T.unsafe(nil), tmpdir: T.unsafe(nil)); end # Returns the value of attribute service. # - # source://activestorage/lib/active_storage/downloader.rb#5 + # source://activestorage//lib/active_storage/downloader.rb#5 def service; end private - # source://activestorage/lib/active_storage/downloader.rb#30 + # source://activestorage//lib/active_storage/downloader.rb#30 def download(key, file); end - # source://activestorage/lib/active_storage/downloader.rb#20 + # source://activestorage//lib/active_storage/downloader.rb#20 def open_tempfile(name, tmpdir = T.unsafe(nil)); end - # source://activestorage/lib/active_storage/downloader.rb#37 + # source://activestorage//lib/active_storage/downloader.rb#37 def verify_integrity_of(file, checksum:); end end -# source://activestorage/lib/active_storage/engine.rb#25 -class ActiveStorage::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://activestorage//lib/active_storage/engine.rb#25 +class ActiveStorage::Engine < ::Rails::Engine; end # Generic base class for all Active Storage exceptions. # -# source://activestorage/lib/active_storage/errors.rb#5 +# source://activestorage//lib/active_storage/errors.rb#5 class ActiveStorage::Error < ::StandardError; end # Raised when ActiveStorage::Blob#download is called on a blob where the # backing file is no longer present in its service. # -# source://activestorage/lib/active_storage/errors.rb#25 +# source://activestorage//lib/active_storage/errors.rb#25 class ActiveStorage::FileNotFoundError < ::ActiveStorage::Error; end module ActiveStorage::FileServer @@ -2274,19 +1204,19 @@ end # When processed, Active Record will insert database records for each fixture # entry and will ensure the Active Storage relationship is intact. # -# source://activestorage/lib/active_storage/fixture_set.rb#44 +# source://activestorage//lib/active_storage/fixture_set.rb#44 class ActiveStorage::FixtureSet include ::ActiveSupport::Testing::FileFixtures include ::ActiveRecord::SecureToken extend ::ActiveRecord::SecureToken::ClassMethods - # source://activesupport/7.1.5.1lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path; end - # source://activesupport/7.1.5.1lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path?; end - # source://activestorage/lib/active_storage/fixture_set.rb#70 + # source://activestorage//lib/active_storage/fixture_set.rb#70 def prepare(instance, **attributes); end class << self @@ -2308,16 +1238,16 @@ class ActiveStorage::FixtureSet # service_name: "public" # ) %> # - # source://activestorage/lib/active_storage/fixture_set.rb#66 + # source://activestorage//lib/active_storage/fixture_set.rb#66 def blob(filename:, **attributes); end - # source://activesupport/7.1.5.1lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path; end - # source://activesupport/7.1.5.1lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path=(value); end - # source://activesupport/7.1.5.1lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path?; end end end @@ -2325,63 +1255,63 @@ end # Raised when uploaded or downloaded data does not match a precomputed checksum. # Indicates that a network error or a software bug caused data corruption. # -# source://activestorage/lib/active_storage/errors.rb#21 +# source://activestorage//lib/active_storage/errors.rb#21 class ActiveStorage::IntegrityError < ::ActiveStorage::Error; end # Raised when ActiveStorage::Blob#variant is called on a blob that isn't variable. # Use ActiveStorage::Blob#variable? to determine whether a blob is variable. # -# source://activestorage/lib/active_storage/errors.rb#9 +# source://activestorage//lib/active_storage/errors.rb#9 class ActiveStorage::InvariableError < ::ActiveStorage::Error; end -# source://activestorage/lib/active_storage/log_subscriber.rb#6 +# source://activestorage//lib/active_storage/log_subscriber.rb#6 class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activestorage/lib/active_storage/log_subscriber.rb#53 + # source://activestorage//lib/active_storage/log_subscriber.rb#53 def logger; end - # source://activestorage/lib/active_storage/log_subscriber.rb#21 + # source://activestorage//lib/active_storage/log_subscriber.rb#21 def preview(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#26 + # source://activestorage//lib/active_storage/log_subscriber.rb#26 def service_delete(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#31 + # source://activestorage//lib/active_storage/log_subscriber.rb#31 def service_delete_prefixed(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#14 + # source://activestorage//lib/active_storage/log_subscriber.rb#14 def service_download(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#36 + # source://activestorage//lib/active_storage/log_subscriber.rb#36 def service_exist(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#46 + # source://activestorage//lib/active_storage/log_subscriber.rb#46 def service_mirror(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#14 + # source://activestorage//lib/active_storage/log_subscriber.rb#14 def service_streaming_download(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#7 + # source://activestorage//lib/active_storage/log_subscriber.rb#7 def service_upload(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#41 + # source://activestorage//lib/active_storage/log_subscriber.rb#41 def service_url(event); end private - # source://activestorage/lib/active_storage/log_subscriber.rb#62 + # source://activestorage//lib/active_storage/log_subscriber.rb#62 def debug(event, colored_message); end - # source://activestorage/lib/active_storage/log_subscriber.rb#58 + # source://activestorage//lib/active_storage/log_subscriber.rb#58 def info(event, colored_message); end - # source://activestorage/lib/active_storage/log_subscriber.rb#70 + # source://activestorage//lib/active_storage/log_subscriber.rb#70 def key_in(event); end - # source://activestorage/lib/active_storage/log_subscriber.rb#66 + # source://activestorage//lib/active_storage/log_subscriber.rb#66 def log_prefix_for_service(event); end class << self - # source://activesupport/7.1.5.1lib/active_support/log_subscriber.rb#88 + # source://activestorage//lib/active_storage/log_subscriber.rb#12 def log_levels; end end end @@ -2390,10 +1320,7 @@ class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob def perform(key, checksum:); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -2408,17 +1335,14 @@ end # Raised when a Previewer is unable to generate a preview image. # -# source://activestorage/lib/active_storage/errors.rb#28 +# source://activestorage//lib/active_storage/errors.rb#28 class ActiveStorage::PreviewError < ::ActiveStorage::Error; end class ActiveStorage::PreviewImageJob < ::ActiveStorage::BaseJob def perform(blob, variations); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -2429,16 +1353,16 @@ end # ActiveStorage::Previewer::MuPDFPreviewer and ActiveStorage::Previewer::VideoPreviewer for # examples of concrete subclasses. # -# source://activestorage/lib/active_storage/previewer.rb#9 +# source://activestorage//lib/active_storage/previewer.rb#9 class ActiveStorage::Previewer # @return [Previewer] a new instance of Previewer # - # source://activestorage/lib/active_storage/previewer.rb#18 + # source://activestorage//lib/active_storage/previewer.rb#18 def initialize(blob); end # Returns the value of attribute blob. # - # source://activestorage/lib/active_storage/previewer.rb#10 + # source://activestorage//lib/active_storage/previewer.rb#10 def blob; end # Override this method in a concrete subclass. Have it yield an attachable preview image (i.e. @@ -2447,17 +1371,17 @@ class ActiveStorage::Previewer # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/previewer.rb#25 + # source://activestorage//lib/active_storage/previewer.rb#25 def preview(**options); end private - # source://activestorage/lib/active_storage/previewer.rb#78 + # source://activestorage//lib/active_storage/previewer.rb#78 def capture(*argv, to:); end # Downloads the blob to a tempfile on disk. Yields the tempfile. # - # source://activestorage/lib/active_storage/previewer.rb#31 + # source://activestorage//lib/active_storage/previewer.rb#31 def download_blob_to_tempfile(&block); end # Executes a system command, capturing its binary output in a tempfile. Yields the tempfile. @@ -2475,22 +1399,22 @@ class ActiveStorage::Previewer # # The output tempfile is opened in the directory returned by #tmpdir. # - # source://activestorage/lib/active_storage/previewer.rb#49 + # source://activestorage//lib/active_storage/previewer.rb#49 def draw(*argv); end - # source://activestorage/lib/active_storage/previewer.rb#69 + # source://activestorage//lib/active_storage/previewer.rb#69 def instrument(operation, payload = T.unsafe(nil), &block); end - # source://activestorage/lib/active_storage/previewer.rb#93 + # source://activestorage//lib/active_storage/previewer.rb#93 def logger; end - # source://activestorage/lib/active_storage/previewer.rb#59 + # source://activestorage//lib/active_storage/previewer.rb#59 def open_tempfile; end - # source://activestorage/lib/active_storage/previewer.rb#73 + # source://activestorage//lib/active_storage/previewer.rb#73 def service_name; end - # source://activestorage/lib/active_storage/previewer.rb#97 + # source://activestorage//lib/active_storage/previewer.rb#97 def tmpdir; end class << self @@ -2499,73 +1423,73 @@ class ActiveStorage::Previewer # # @return [Boolean] # - # source://activestorage/lib/active_storage/previewer.rb#14 + # source://activestorage//lib/active_storage/previewer.rb#14 def accept?(blob); end end end -# source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#4 +# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#4 class ActiveStorage::Previewer::MuPDFPreviewer < ::ActiveStorage::Previewer - # source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#23 + # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#23 def preview(**options); end private - # source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#32 + # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#32 def draw_first_page_from(file, &block); end class << self - # source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#6 + # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#6 def accept?(blob); end - # source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#14 + # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#14 def mutool_exists?; end - # source://activestorage/lib/active_storage/previewer/mupdf_previewer.rb#10 + # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#10 def mutool_path; end end end -# source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#4 +# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#4 class ActiveStorage::Previewer::PopplerPDFPreviewer < ::ActiveStorage::Previewer - # source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#21 + # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#21 def preview(**options); end private - # source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#30 + # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#30 def draw_first_page_from(file, &block); end class << self - # source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#6 + # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#6 def accept?(blob); end - # source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#14 + # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#14 def pdftoppm_exists?; end - # source://activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb#10 + # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#10 def pdftoppm_path; end end end -# source://activestorage/lib/active_storage/previewer/video_previewer.rb#6 +# source://activestorage//lib/active_storage/previewer/video_previewer.rb#6 class ActiveStorage::Previewer::VideoPreviewer < ::ActiveStorage::Previewer - # source://activestorage/lib/active_storage/previewer/video_previewer.rb#23 + # source://activestorage//lib/active_storage/previewer/video_previewer.rb#23 def preview(**options); end private - # source://activestorage/lib/active_storage/previewer/video_previewer.rb#32 + # source://activestorage//lib/active_storage/previewer/video_previewer.rb#32 def draw_relevant_frame_from(file, &block); end class << self - # source://activestorage/lib/active_storage/previewer/video_previewer.rb#8 + # source://activestorage//lib/active_storage/previewer/video_previewer.rb#8 def accept?(blob); end - # source://activestorage/lib/active_storage/previewer/video_previewer.rb#12 + # source://activestorage//lib/active_storage/previewer/video_previewer.rb#12 def ffmpeg_exists?; end - # source://activestorage/lib/active_storage/previewer/video_previewer.rb#18 + # source://activestorage//lib/active_storage/previewer/video_previewer.rb#18 def ffmpeg_path; end end end @@ -2574,10 +1498,7 @@ class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob def perform(blob); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -2585,23 +1506,15 @@ end class ActiveStorage::Record < ::ActiveRecord::Base include ::ActiveStorage::Record::GeneratedAttributeMethods include ::ActiveStorage::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActiveStorage::Record::GeneratedAssociationMethods; end module ActiveStorage::Record::GeneratedAttributeMethods; end -# source://activestorage/lib/active_storage/reflection.rb#4 +# source://activestorage//lib/active_storage/reflection.rb#4 module ActiveStorage::Reflection; end -# source://activestorage/lib/active_storage/reflection.rb#49 +# source://activestorage//lib/active_storage/reflection.rb#49 module ActiveStorage::Reflection::ActiveRecordExtensions extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2621,12 +1534,12 @@ module ActiveStorage::Reflection::ActiveRecordExtensions end end -# source://activestorage/lib/active_storage/reflection.rb#56 +# source://activestorage//lib/active_storage/reflection.rb#56 module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods # Returns an array of reflection objects for all the attachments in the # class. # - # source://activestorage/lib/active_storage/reflection.rb#59 + # source://activestorage//lib/active_storage/reflection.rb#59 def reflect_on_all_attachments; end # Returns the reflection object for the named +attachment+. @@ -2634,45 +1547,45 @@ module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods # User.reflect_on_attachment(:avatar) # # => the avatar reflection # - # source://activestorage/lib/active_storage/reflection.rb#68 + # source://activestorage//lib/active_storage/reflection.rb#68 def reflect_on_attachment(attachment); end end -# source://activestorage/lib/active_storage/reflection.rb#5 +# source://activestorage//lib/active_storage/reflection.rb#5 class ActiveStorage::Reflection::HasAttachedReflection < ::ActiveRecord::Reflection::MacroReflection - # source://activestorage/lib/active_storage/reflection.rb#10 + # source://activestorage//lib/active_storage/reflection.rb#10 def named_variants; end - # source://activestorage/lib/active_storage/reflection.rb#6 + # source://activestorage//lib/active_storage/reflection.rb#6 def variant(name, transformations); end end # Holds all the metadata about a has_many_attached attachment as it was # specified in the Active Record class. # -# source://activestorage/lib/active_storage/reflection.rb#25 +# source://activestorage//lib/active_storage/reflection.rb#25 class ActiveStorage::Reflection::HasManyAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection - # source://activestorage/lib/active_storage/reflection.rb#26 + # source://activestorage//lib/active_storage/reflection.rb#26 def macro; end end # Holds all the metadata about a has_one_attached attachment as it was # specified in the Active Record class. # -# source://activestorage/lib/active_storage/reflection.rb#17 +# source://activestorage//lib/active_storage/reflection.rb#17 class ActiveStorage::Reflection::HasOneAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection - # source://activestorage/lib/active_storage/reflection.rb#18 + # source://activestorage//lib/active_storage/reflection.rb#18 def macro; end end -# source://activestorage/lib/active_storage/reflection.rb#31 +# source://activestorage//lib/active_storage/reflection.rb#31 module ActiveStorage::Reflection::ReflectionExtension - # source://activestorage/lib/active_storage/reflection.rb#32 + # source://activestorage//lib/active_storage/reflection.rb#32 def add_attachment_reflection(model, name, reflection); end private - # source://activestorage/lib/active_storage/reflection.rb#37 + # source://activestorage//lib/active_storage/reflection.rb#37 def reflection_class_for(macro); end end @@ -2683,17 +1596,12 @@ class ActiveStorage::Representations::BaseController < ::ActiveStorage::BaseCont private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def blob_scope; end def set_representation; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2708,14 +1616,10 @@ class ActiveStorage::Representations::ProxyController < ::ActiveStorage::Represe private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2725,11 +1629,9 @@ class ActiveStorage::Representations::RedirectController < ::ActiveStorage::Repr private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2769,7 +1671,7 @@ end # { local: {service: "Disk", root: Pathname("/tmp/foo/storage") } } # ) # -# source://activestorage/lib/active_storage/service.rb#43 +# source://activestorage//lib/active_storage/service.rb#43 class ActiveStorage::Service extend ::ActiveSupport::Autoload @@ -2777,35 +1679,35 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#96 + # source://activestorage//lib/active_storage/service.rb#96 def compose(source_keys, destination_key, filename: T.unsafe(nil), content_type: T.unsafe(nil), disposition: T.unsafe(nil), custom_metadata: T.unsafe(nil)); end # Delete the file at the +key+. # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#101 + # source://activestorage//lib/active_storage/service.rb#101 def delete(key); end # Delete files at keys starting with the +prefix+. # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#106 + # source://activestorage//lib/active_storage/service.rb#106 def delete_prefixed(prefix); end # Return the content of the file at the +key+. # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#82 + # source://activestorage//lib/active_storage/service.rb#82 def download(key); end # Return the partial content in the byte +range+ of the file at the +key+. # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#87 + # source://activestorage//lib/active_storage/service.rb#87 def download_chunk(key, range); end # Return +true+ if a file exists at the +key+. @@ -2813,39 +1715,39 @@ class ActiveStorage::Service # @raise [NotImplementedError] # @return [Boolean] # - # source://activestorage/lib/active_storage/service.rb#111 + # source://activestorage//lib/active_storage/service.rb#111 def exist?(key); end # Returns a Hash of headers for +url_for_direct_upload+ requests. # - # source://activestorage/lib/active_storage/service.rb#143 + # source://activestorage//lib/active_storage/service.rb#143 def headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end # Returns the value of attribute name. # - # source://activestorage/lib/active_storage/service.rb#46 + # source://activestorage//lib/active_storage/service.rb#46 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activestorage/lib/active_storage/service.rb#46 + # source://activestorage//lib/active_storage/service.rb#46 def name=(_arg0); end - # source://activestorage/lib/active_storage/service.rb#91 + # source://activestorage//lib/active_storage/service.rb#91 def open(*args, **options, &block); end # @return [Boolean] # - # source://activestorage/lib/active_storage/service.rb#147 + # source://activestorage//lib/active_storage/service.rb#147 def public?; end # Update metadata for the file identified by +key+ in the service. # Override in subclasses only if the service needs to store specific # metadata that has to be updated upon identification. # - # source://activestorage/lib/active_storage/service.rb#78 + # source://activestorage//lib/active_storage/service.rb#78 def update_metadata(key, **metadata); end # Upload the +io+ to the +key+ specified. If a +checksum+ is provided, the service will @@ -2853,7 +1755,7 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#71 + # source://activestorage//lib/active_storage/service.rb#71 def upload(key, io, checksum: T.unsafe(nil), **options); end # Returns the URL for the file at the +key+. This returns a permanent URL for public files, and returns a @@ -2861,7 +1763,7 @@ class ActiveStorage::Service # +filename+, and +content_type+ that you wish the file to be served with on request. Additionally, you can also provide # the amount of seconds the URL will be valid for, specified in +expires_in+. # - # source://activestorage/lib/active_storage/service.rb#119 + # source://activestorage//lib/active_storage/service.rb#119 def url(key, **options); end # Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+. @@ -2871,33 +1773,33 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#138 + # source://activestorage//lib/active_storage/service.rb#138 def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end private - # source://activestorage/lib/active_storage/service.rb#175 + # source://activestorage//lib/active_storage/service.rb#175 def content_disposition_with(filename:, type: T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#160 + # source://activestorage//lib/active_storage/service.rb#160 def custom_metadata_headers(metadata); end - # source://activestorage/lib/active_storage/service.rb#164 + # source://activestorage//lib/active_storage/service.rb#164 def instrument(operation, payload = T.unsafe(nil), &block); end # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#152 + # source://activestorage//lib/active_storage/service.rb#152 def private_url(key, expires_in:, filename:, disposition:, content_type:, **_arg5); end # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/service.rb#156 + # source://activestorage//lib/active_storage/service.rb#156 def public_url(key, **_arg1); end - # source://activestorage/lib/active_storage/service.rb#170 + # source://activestorage//lib/active_storage/service.rb#170 def service_name; end class << self @@ -2908,60 +1810,60 @@ class ActiveStorage::Service # # See MirrorService for an example. # - # source://activestorage/lib/active_storage/service.rb#62 + # source://activestorage//lib/active_storage/service.rb#62 def build(configurator:, name:, service: T.unsafe(nil), **service_config); end # Configure an Active Storage service by name from a set of configurations, # typically loaded from a YAML file. The Active Storage engine uses this # to set the global Active Storage service when the app boots. # - # source://activestorage/lib/active_storage/service.rb#52 + # source://activestorage//lib/active_storage/service.rb#52 def configure(service_name, configurations); end end end -# source://activestorage/lib/active_storage/service/configurator.rb#4 +# source://activestorage//lib/active_storage/service/configurator.rb#4 class ActiveStorage::Service::Configurator - # source://activestorage/lib/active_storage/service/configurator.rb#11 + # source://activestorage//lib/active_storage/service/configurator.rb#11 def initialize(configurations); end - # source://activestorage/lib/active_storage/service/configurator.rb#15 + # source://activestorage//lib/active_storage/service/configurator.rb#15 def build(service_name); end - # source://activestorage/lib/active_storage/service/configurator.rb#5 + # source://activestorage//lib/active_storage/service/configurator.rb#5 def configurations; end private - # source://activestorage/lib/active_storage/service/configurator.rb#23 + # source://activestorage//lib/active_storage/service/configurator.rb#23 def config_for(name); end - # source://activestorage/lib/active_storage/service/configurator.rb#29 + # source://activestorage//lib/active_storage/service/configurator.rb#29 def resolve(class_name); end class << self - # source://activestorage/lib/active_storage/service/configurator.rb#7 + # source://activestorage//lib/active_storage/service/configurator.rb#7 def build(service_name, configurations); end end end -# source://activestorage/lib/active_storage/service/registry.rb#4 +# source://activestorage//lib/active_storage/service/registry.rb#4 class ActiveStorage::Service::Registry - # source://activestorage/lib/active_storage/service/registry.rb#5 + # source://activestorage//lib/active_storage/service/registry.rb#5 def initialize(configurations); end - # source://activestorage/lib/active_storage/service/registry.rb#10 + # source://activestorage//lib/active_storage/service/registry.rb#10 def fetch(name); end private - # source://activestorage/lib/active_storage/service/registry.rb#26 + # source://activestorage//lib/active_storage/service/registry.rb#26 def configurations; end - # source://activestorage/lib/active_storage/service/registry.rb#28 + # source://activestorage//lib/active_storage/service/registry.rb#28 def configurator; end - # source://activestorage/lib/active_storage/service/registry.rb#26 + # source://activestorage//lib/active_storage/service/registry.rb#26 def services; end end @@ -2999,15 +1901,12 @@ class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob def perform(blob, transformations); end class << self - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 def rescue_handlers; end end end -# source://activestorage/lib/active_storage.rb#383 +# source://activestorage//lib/active_storage.rb#383 module ActiveStorage::Transformers extend ::ActiveSupport::Autoload end @@ -3021,23 +1920,23 @@ end # * ActiveStorage::Transformers::ImageProcessingTransformer: # backed by ImageProcessing, a common interface for MiniMagick and ruby-vips # -# source://activestorage/lib/active_storage/transformers/transformer.rb#13 +# source://activestorage//lib/active_storage/transformers/transformer.rb#13 class ActiveStorage::Transformers::Transformer # @return [Transformer] a new instance of Transformer # - # source://activestorage/lib/active_storage/transformers/transformer.rb#16 + # source://activestorage//lib/active_storage/transformers/transformer.rb#16 def initialize(transformations); end # Applies the transformations to the source image in +file+, producing a target image in the # specified +format+. Yields an open Tempfile containing the target image. Closes and unlinks # the output tempfile after yielding to the given block. Returns the result of the block. # - # source://activestorage/lib/active_storage/transformers/transformer.rb#23 + # source://activestorage//lib/active_storage/transformers/transformer.rb#23 def transform(file, format:); end # Returns the value of attribute transformations. # - # source://activestorage/lib/active_storage/transformers/transformer.rb#14 + # source://activestorage//lib/active_storage/transformers/transformer.rb#14 def transformations; end private @@ -3047,148 +1946,79 @@ class ActiveStorage::Transformers::Transformer # # @raise [NotImplementedError] # - # source://activestorage/lib/active_storage/transformers/transformer.rb#36 + # source://activestorage//lib/active_storage/transformers/transformer.rb#36 def process(file, format:); end end # Raised when ActiveStorage::Blob#preview is called on a blob that isn't previewable. # Use ActiveStorage::Blob#previewable? to determine whether a blob is previewable. # -# source://activestorage/lib/active_storage/errors.rb#13 +# source://activestorage//lib/active_storage/errors.rb#13 class ActiveStorage::UnpreviewableError < ::ActiveStorage::Error; end # Raised when ActiveStorage::Blob#representation is called on a blob that isn't representable. # Use ActiveStorage::Blob#representable? to determine whether a blob is representable. # -# source://activestorage/lib/active_storage/errors.rb#17 +# source://activestorage//lib/active_storage/errors.rb#17 class ActiveStorage::UnrepresentableError < ::ActiveStorage::Error; end -# source://activestorage/lib/active_storage/gem_version.rb#9 +# source://activestorage//lib/active_storage/gem_version.rb#9 module ActiveStorage::VERSION; end -# source://activestorage/lib/active_storage/gem_version.rb#10 +# source://activestorage//lib/active_storage/gem_version.rb#10 ActiveStorage::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activestorage/lib/active_storage/gem_version.rb#11 +# source://activestorage//lib/active_storage/gem_version.rb#11 ActiveStorage::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activestorage/lib/active_storage/gem_version.rb#13 +# source://activestorage//lib/active_storage/gem_version.rb#13 ActiveStorage::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://activestorage/lib/active_storage/gem_version.rb#15 +# source://activestorage//lib/active_storage/gem_version.rb#15 ActiveStorage::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activestorage/lib/active_storage/gem_version.rb#12 +# source://activestorage//lib/active_storage/gem_version.rb#12 ActiveStorage::VERSION::TINY = T.let(T.unsafe(nil), Integer) class ActiveStorage::VariantRecord < ::ActiveStorage::Record include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_blob(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_image_attachment(*args); end - - # source://activerecord/7.1.5.1lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_image_blob(*args); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.5.1lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.5.1lib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/lib/active_storage/reflection.rb#53 + # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections; end - - # source://activerecord/7.1.5.1lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.5.1lib/active_record/scoping/named.rb#174 - def with_attached_image(*args, **_arg1); end end end module ActiveStorage::VariantRecord::GeneratedAssociationMethods - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def blob=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#145 def blob_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/belongs_to.rb#149 def blob_previously_changed?; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_image_attachment(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#32 def build_image_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_blob!(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_image_attachment(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_image_attachment!(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#36 def create_image_blob(*args, &block); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#40 def create_image_blob!(*args, &block); end - - # source://activestorage/lib/active_storage/attached/model.rb#101 def image; end - - # source://activestorage/lib/active_storage/attached/model.rb#106 def image=(attachable); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def image_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def image_attachment=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#103 def image_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/association.rb#111 def image_blob=(value); end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_image_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#19 def reload_image_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_blob; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_image_attachment; end - - # source://activerecord/7.1.5.1lib/active_record/associations/builder/singular_association.rb#23 def reset_image_blob; end end diff --git a/sorbet/rbi/gems/activesupport@7.1.5.1.rbi b/sorbet/rbi/gems/activesupport@7.1.5.1.rbi index 91a9bf4b4..0efc2e734 100644 --- a/sorbet/rbi/gems/activesupport@7.1.5.1.rbi +++ b/sorbet/rbi/gems/activesupport@7.1.5.1.rbi @@ -4,112 +4,113 @@ # This is an autogenerated file for types exported from the `activesupport` gem. # Please instead update this file by running `bin/tapioca gem activesupport`. + # :include: ../README.rdoc # -# source://activesupport/lib/active_support/deep_mergeable.rb#3 +# source://activesupport//lib/active_support/deep_mergeable.rb#3 module ActiveSupport extend ::ActiveSupport::LazyLoadHooks extend ::ActiveSupport::Autoload - # source://activesupport/lib/active_support/json/decoding.rb#9 + # source://activesupport//lib/active_support/json/decoding.rb#9 def parse_json_times; end - # source://activesupport/lib/active_support/json/decoding.rb#9 + # source://activesupport//lib/active_support/json/decoding.rb#9 def parse_json_times=(val); end - # source://activesupport/lib/active_support.rb#98 + # source://activesupport//lib/active_support.rb#98 def test_order; end - # source://activesupport/lib/active_support.rb#98 + # source://activesupport//lib/active_support.rb#98 def test_order=(val); end - # source://activesupport/lib/active_support.rb#99 + # source://activesupport//lib/active_support.rb#99 def test_parallelization_threshold; end - # source://activesupport/lib/active_support.rb#99 + # source://activesupport//lib/active_support.rb#99 def test_parallelization_threshold=(val); end class << self - # source://activesupport/lib/active_support.rb#104 + # source://activesupport//lib/active_support.rb#104 def cache_format_version; end - # source://activesupport/lib/active_support.rb#108 + # source://activesupport//lib/active_support.rb#108 def cache_format_version=(value); end - # source://activesupport/lib/active_support/deprecator.rb#4 + # source://activesupport//lib/active_support/deprecator.rb#4 def deprecator; end - # source://activesupport/lib/active_support.rb#92 + # source://activesupport//lib/active_support.rb#92 def eager_load!; end - # source://activesupport/lib/active_support.rb#102 + # source://activesupport//lib/active_support.rb#102 def error_reporter; end - # source://activesupport/lib/active_support.rb#102 + # source://activesupport//lib/active_support.rb#102 def error_reporter=(_arg0); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def escape_html_entities_in_json(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def escape_html_entities_in_json=(arg); end # Returns the currently loaded version of Active Support as a +Gem::Version+. # - # source://activesupport/lib/active_support/gem_version.rb#5 + # source://activesupport//lib/active_support/gem_version.rb#5 def gem_version; end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def json_encoder(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def json_encoder=(arg); end - # source://activesupport/lib/active_support/json/decoding.rb#9 + # source://activesupport//lib/active_support/json/decoding.rb#9 def parse_json_times; end - # source://activesupport/lib/active_support/json/decoding.rb#9 + # source://activesupport//lib/active_support/json/decoding.rb#9 def parse_json_times=(val); end - # source://activesupport/lib/active_support.rb#98 + # source://activesupport//lib/active_support.rb#98 def test_order; end - # source://activesupport/lib/active_support.rb#98 + # source://activesupport//lib/active_support.rb#98 def test_order=(val); end - # source://activesupport/lib/active_support.rb#99 + # source://activesupport//lib/active_support.rb#99 def test_parallelization_threshold; end - # source://activesupport/lib/active_support.rb#99 + # source://activesupport//lib/active_support.rb#99 def test_parallelization_threshold=(val); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def time_precision(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def time_precision=(arg); end - # source://activesupport/lib/active_support.rb#112 + # source://activesupport//lib/active_support.rb#112 def to_time_preserves_timezone; end - # source://activesupport/lib/active_support.rb#116 + # source://activesupport//lib/active_support.rb#116 def to_time_preserves_timezone=(value); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def use_standard_json_time_format(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/json/encoding.rb#8 + # source://activesupport//lib/active_support/json/encoding.rb#8 def use_standard_json_time_format=(arg); end - # source://activesupport/lib/active_support.rb#126 + # source://activesupport//lib/active_support.rb#126 def utc_to_local_returns_utc_offset_times; end - # source://activesupport/lib/active_support.rb#130 + # source://activesupport//lib/active_support.rb#130 def utc_to_local_returns_utc_offset_times=(value); end # Returns the currently loaded version of Active Support as a +Gem::Version+. # - # source://activesupport/lib/active_support/version.rb#7 + # source://activesupport//lib/active_support/version.rb#7 def version; end end end @@ -122,7 +123,7 @@ end # module and invoke the +action+ class macro to define the action. An action # needs a name and a block to execute. # -# source://activesupport/lib/active_support/actionable_error.rb#11 +# source://activesupport//lib/active_support/actionable_error.rb#11 module ActiveSupport::ActionableError extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -131,10 +132,10 @@ module ActiveSupport::ActionableError mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods class << self - # source://activesupport/lib/active_support/actionable_error.rb#20 + # source://activesupport//lib/active_support/actionable_error.rb#20 def actions(error); end - # source://activesupport/lib/active_support/actionable_error.rb#29 + # source://activesupport//lib/active_support/actionable_error.rb#29 def dispatch(error, name); end end @@ -151,7 +152,7 @@ module ActiveSupport::ActionableError end end -# source://activesupport/lib/active_support/actionable_error.rb#35 +# source://activesupport//lib/active_support/actionable_error.rb#35 module ActiveSupport::ActionableError::ClassMethods # Defines an action that can resolve the error. # @@ -163,11 +164,11 @@ module ActiveSupport::ActionableError::ClassMethods # end # end # - # source://activesupport/lib/active_support/actionable_error.rb#45 + # source://activesupport//lib/active_support/actionable_error.rb#45 def action(name, &block); end end -# source://activesupport/lib/active_support/actionable_error.rb#14 +# source://activesupport//lib/active_support/actionable_error.rb#14 class ActiveSupport::ActionableError::NonActionable < ::StandardError; end # = \Array Inquirer @@ -181,7 +182,7 @@ class ActiveSupport::ActionableError::NonActionable < ::StandardError; end # variants.tablet? # => true # variants.desktop? # => false # -# source://activesupport/lib/active_support/array_inquirer.rb#14 +# source://activesupport//lib/active_support/array_inquirer.rb#14 class ActiveSupport::ArrayInquirer < ::Array # Passes each element of +candidates+ collection to ArrayInquirer collection. # The method returns true if any element from the ArrayInquirer collection @@ -198,17 +199,17 @@ class ActiveSupport::ArrayInquirer < ::Array # # @return [Boolean] # - # source://activesupport/lib/active_support/array_inquirer.rb#27 + # source://activesupport//lib/active_support/array_inquirer.rb#27 def any?(*candidates); end private - # source://activesupport/lib/active_support/array_inquirer.rb#42 + # source://activesupport//lib/active_support/array_inquirer.rb#42 def method_missing(name, *args); end # @return [Boolean] # - # source://activesupport/lib/active_support/array_inquirer.rb#38 + # source://activesupport//lib/active_support/array_inquirer.rb#38 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -236,25 +237,25 @@ end # # MyLib.eager_load! # -# source://activesupport/lib/active_support/dependencies/autoload.rb#29 +# source://activesupport//lib/active_support/dependencies/autoload.rb#29 module ActiveSupport::Autoload - # source://activesupport/lib/active_support/dependencies/autoload.rb#42 + # source://activesupport//lib/active_support/dependencies/autoload.rb#42 def autoload(const_name, path = T.unsafe(nil)); end - # source://activesupport/lib/active_support/dependencies/autoload.rb#63 + # source://activesupport//lib/active_support/dependencies/autoload.rb#63 def autoload_at(path); end - # source://activesupport/lib/active_support/dependencies/autoload.rb#56 + # source://activesupport//lib/active_support/dependencies/autoload.rb#56 def autoload_under(path); end - # source://activesupport/lib/active_support/dependencies/autoload.rb#70 + # source://activesupport//lib/active_support/dependencies/autoload.rb#70 def eager_autoload; end - # source://activesupport/lib/active_support/dependencies/autoload.rb#77 + # source://activesupport//lib/active_support/dependencies/autoload.rb#77 def eager_load!; end class << self - # source://activesupport/lib/active_support/dependencies/autoload.rb#30 + # source://activesupport//lib/active_support/dependencies/autoload.rb#30 def extended(base); end end end @@ -289,11 +290,11 @@ end # # Inspired by the Quiet Backtrace gem by thoughtbot. # -# source://activesupport/lib/active_support/backtrace_cleaner.rb#33 +# source://activesupport//lib/active_support/backtrace_cleaner.rb#33 class ActiveSupport::BacktraceCleaner # @return [BacktraceCleaner] a new instance of BacktraceCleaner # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#34 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#34 def initialize; end # Adds a filter from the block provided. Each line in the backtrace will be @@ -302,7 +303,7 @@ class ActiveSupport::BacktraceCleaner # # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb" # backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '') } # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#81 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#81 def add_filter(&block); end # Adds a silencer from the block provided. If the silencer returns +true+ @@ -311,71 +312,71 @@ class ActiveSupport::BacktraceCleaner # # Will reject all lines that include the word "puma", like "/gems/puma/server.rb" or "/app/my_puma_server/rb" # backtrace_cleaner.add_silencer { |line| /puma/.match?(line) } # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#90 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#90 def add_silencer(&block); end # Returns the backtrace after all filters and silencers have been run # against it. Filters run first, then silencers. # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#44 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#44 def clean(backtrace, kind = T.unsafe(nil)); end # Returns the frame with all filters applied. # returns +nil+ if the frame was silenced. # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#60 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#60 def clean_frame(frame, kind = T.unsafe(nil)); end # Returns the backtrace after all filters and silencers have been run # against it. Filters run first, then silencers. # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#44 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#56 def filter(backtrace, kind = T.unsafe(nil)); end # Removes all filters, but leaves in the silencers. Useful if you suddenly # need to see entire filepaths in the backtrace that you had already # filtered out. # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#104 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#104 def remove_filters!; end # Removes all silencers, but leaves in the filters. Useful if your # context of debugging suddenly expands as you suspect a bug in one of # the libraries you use. # - # source://activesupport/lib/active_support/backtrace_cleaner.rb#97 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#97 def remove_silencers!; end private - # source://activesupport/lib/active_support/backtrace_cleaner.rb#120 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#120 def add_core_silencer; end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#111 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#111 def add_gem_filter; end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#124 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#124 def add_gem_silencer; end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#128 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#128 def add_stdlib_silencer; end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#132 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#132 def filter_backtrace(backtrace); end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#148 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#148 def noise(backtrace); end - # source://activesupport/lib/active_support/backtrace_cleaner.rb#140 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#140 def silence(backtrace); end end -# source://activesupport/lib/active_support/backtrace_cleaner.rb#109 +# source://activesupport//lib/active_support/backtrace_cleaner.rb#109 ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp) # = \Benchmarkable # -# source://activesupport/lib/active_support/benchmarkable.rb#8 +# source://activesupport//lib/active_support/benchmarkable.rb#8 module ActiveSupport::Benchmarkable # Allows you to measure the execution time of a block in a template and # records the result to the log. Wrap this block around expensive operations @@ -407,13 +408,13 @@ module ActiveSupport::Benchmarkable # <%= expensive_and_chatty_files_operation %> # <% end %> # - # source://activesupport/lib/active_support/benchmarkable.rb#38 + # source://activesupport//lib/active_support/benchmarkable.rb#38 def benchmark(message = T.unsafe(nil), options = T.unsafe(nil), &block); end end -# source://activesupport/lib/active_support/core_ext/big_decimal/conversions.rb#7 +# source://activesupport//lib/active_support/core_ext/big_decimal/conversions.rb#7 module ActiveSupport::BigDecimalWithDefaultFormat - # source://activesupport/lib/active_support/core_ext/big_decimal/conversions.rb#8 + # source://activesupport//lib/active_support/core_ext/big_decimal/conversions.rb#8 def to_s(format = T.unsafe(nil)); end end @@ -488,20 +489,20 @@ end # puts logger.broadcasts # => [MyLogger, MyLogger] # logger.loggable? # [true, true] # -# source://activesupport/lib/active_support/broadcast_logger.rb#74 +# source://activesupport//lib/active_support/broadcast_logger.rb#74 class ActiveSupport::BroadcastLogger include ::ActiveSupport::LoggerSilence include ::ActiveSupport::LoggerThreadSafeLevel # @return [BroadcastLogger] a new instance of BroadcastLogger # - # source://activesupport/lib/active_support/broadcast_logger.rb#82 + # source://activesupport//lib/active_support/broadcast_logger.rb#82 def initialize(*loggers); end - # source://activesupport/lib/active_support/broadcast_logger.rb#112 + # source://activesupport//lib/active_support/broadcast_logger.rb#112 def <<(message); end - # source://activesupport/lib/active_support/broadcast_logger.rb#116 + # source://activesupport//lib/active_support/broadcast_logger.rb#116 def add(*_arg0, **_arg1, &_arg2); end # Add logger(s) to the broadcast. @@ -509,23 +510,23 @@ class ActiveSupport::BroadcastLogger # broadcast_logger = ActiveSupport::BroadcastLogger.new # broadcast_logger.broadcast_to(Logger.new(STDOUT), Logger.new(STDERR)) # - # source://activesupport/lib/active_support/broadcast_logger.rb#93 + # source://activesupport//lib/active_support/broadcast_logger.rb#93 def broadcast_to(*loggers); end # Returns all the logger that are part of this broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#78 + # source://activesupport//lib/active_support/broadcast_logger.rb#78 def broadcasts; end - # source://activesupport/lib/active_support/broadcast_logger.rb#162 + # source://activesupport//lib/active_support/broadcast_logger.rb#162 def close; end - # source://activesupport/lib/active_support/broadcast_logger.rb#121 + # source://activesupport//lib/active_support/broadcast_logger.rb#121 def debug(*_arg0, **_arg1, &_arg2); end # Sets the log level to Logger::DEBUG for the whole broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#173 + # source://activesupport//lib/active_support/broadcast_logger.rb#173 def debug!; end # +True+ if the log level allows entries with severity Logger::DEBUG to be written @@ -533,15 +534,15 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#168 + # source://activesupport//lib/active_support/broadcast_logger.rb#168 def debug?; end - # source://activesupport/lib/active_support/broadcast_logger.rb#133 + # source://activesupport//lib/active_support/broadcast_logger.rb#133 def error(*_arg0, **_arg1, &_arg2); end # Sets the log level to Logger::ERROR for the whole broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#206 + # source://activesupport//lib/active_support/broadcast_logger.rb#206 def error!; end # +True+ if the log level allows entries with severity Logger::ERROR to be written @@ -549,15 +550,15 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#201 + # source://activesupport//lib/active_support/broadcast_logger.rb#201 def error?; end - # source://activesupport/lib/active_support/broadcast_logger.rb#137 + # source://activesupport//lib/active_support/broadcast_logger.rb#137 def fatal(*_arg0, **_arg1, &_arg2); end # Sets the log level to Logger::FATAL for the whole broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#217 + # source://activesupport//lib/active_support/broadcast_logger.rb#217 def fatal!; end # +True+ if the log level allows entries with severity Logger::FATAL to be written @@ -565,23 +566,23 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#212 + # source://activesupport//lib/active_support/broadcast_logger.rb#212 def fatal?; end # Returns the value of attribute formatter. # - # source://activesupport/lib/active_support/broadcast_logger.rb#79 + # source://activesupport//lib/active_support/broadcast_logger.rb#79 def formatter; end - # source://activesupport/lib/active_support/broadcast_logger.rb#145 + # source://activesupport//lib/active_support/broadcast_logger.rb#145 def formatter=(formatter); end - # source://activesupport/lib/active_support/broadcast_logger.rb#125 + # source://activesupport//lib/active_support/broadcast_logger.rb#125 def info(*_arg0, **_arg1, &_arg2); end # Sets the log level to Logger::INFO for the whole broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#184 + # source://activesupport//lib/active_support/broadcast_logger.rb#184 def info!; end # +True+ if the log level allows entries with severity Logger::INFO to be written @@ -589,40 +590,40 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#179 + # source://activesupport//lib/active_support/broadcast_logger.rb#179 def info?; end - # source://activesupport/lib/active_support/broadcast_logger.rb#108 + # source://activesupport//lib/active_support/broadcast_logger.rb#108 def level; end - # source://activesupport/lib/active_support/broadcast_logger.rb#151 + # source://activesupport//lib/active_support/broadcast_logger.rb#151 def level=(level); end - # source://activesupport/lib/active_support/broadcast_logger.rb#156 + # source://activesupport//lib/active_support/broadcast_logger.rb#156 def local_level=(level); end - # source://activesupport/lib/active_support/broadcast_logger.rb#116 + # source://activesupport//lib/active_support/broadcast_logger.rb#119 def log(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute progname. # - # source://activesupport/lib/active_support/broadcast_logger.rb#80 + # source://activesupport//lib/active_support/broadcast_logger.rb#80 def progname; end # Sets the attribute progname # # @param value the value to set the attribute progname to. # - # source://activesupport/lib/active_support/broadcast_logger.rb#80 + # source://activesupport//lib/active_support/broadcast_logger.rb#80 def progname=(_arg0); end - # source://activesupport/lib/active_support/broadcast_logger.rb#151 + # source://activesupport//lib/active_support/broadcast_logger.rb#154 def sev_threshold=(level); end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer; end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer=(val); end # Remove a logger from the broadcast. When a logger is removed, messages sent to @@ -633,18 +634,18 @@ class ActiveSupport::BroadcastLogger # # broadcast_logger.stop_broadcasting_to(sink) # - # source://activesupport/lib/active_support/broadcast_logger.rb#104 + # source://activesupport//lib/active_support/broadcast_logger.rb#104 def stop_broadcasting_to(logger); end - # source://activesupport/lib/active_support/broadcast_logger.rb#141 + # source://activesupport//lib/active_support/broadcast_logger.rb#141 def unknown(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/broadcast_logger.rb#129 + # source://activesupport//lib/active_support/broadcast_logger.rb#129 def warn(*_arg0, **_arg1, &_arg2); end # Sets the log level to Logger::WARN for the whole broadcast. # - # source://activesupport/lib/active_support/broadcast_logger.rb#195 + # source://activesupport//lib/active_support/broadcast_logger.rb#195 def warn!; end # +True+ if the log level allows entries with severity Logger::WARN to be written @@ -652,37 +653,37 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#190 + # source://activesupport//lib/active_support/broadcast_logger.rb#190 def warn?; end private - # source://activesupport/lib/active_support/broadcast_logger.rb#230 + # source://activesupport//lib/active_support/broadcast_logger.rb#230 def dispatch(&block); end - # source://activesupport/lib/active_support/broadcast_logger.rb#221 + # source://activesupport//lib/active_support/broadcast_logger.rb#221 def initialize_copy(other); end - # source://activesupport/lib/active_support/broadcast_logger.rb#235 + # source://activesupport//lib/active_support/broadcast_logger.rb#235 def method_missing(name, *args, **kwargs, &block); end # @return [Boolean] # - # source://activesupport/lib/active_support/broadcast_logger.rb#247 + # source://activesupport//lib/active_support/broadcast_logger.rb#247 def respond_to_missing?(method, include_all); end class << self - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer; end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer=(val); end end end # See ActiveSupport::Cache::Store for documentation. # -# source://activesupport/lib/active_support/cache/entry.rb#6 +# source://activesupport//lib/active_support/cache/entry.rb#6 module ActiveSupport::Cache class << self # Expands out the +key+ argument into a key that can be used for the @@ -698,19 +699,19 @@ module ActiveSupport::Cache # # The +key+ argument can also respond to +cache_key+ or +to_param+. # - # source://activesupport/lib/active_support/cache.rb#117 + # source://activesupport//lib/active_support/cache.rb#117 def expand_cache_key(key, namespace = T.unsafe(nil)); end # Returns the value of attribute format_version. # - # source://activesupport/lib/active_support/cache.rb#58 + # source://activesupport//lib/active_support/cache.rb#58 def format_version; end # Sets the attribute format_version # # @param value the value to set the attribute format_version to. # - # source://activesupport/lib/active_support/cache.rb#58 + # source://activesupport//lib/active_support/cache.rb#58 def format_version=(_arg0); end # Creates a new Store object according to the given options. @@ -739,125 +740,125 @@ module ActiveSupport::Cache # ActiveSupport::Cache.lookup_store(MyOwnCacheStore.new) # # => returns MyOwnCacheStore.new # - # source://activesupport/lib/active_support/cache.rb#85 + # source://activesupport//lib/active_support/cache.rb#85 def lookup_store(store = T.unsafe(nil), *parameters); end private - # source://activesupport/lib/active_support/cache.rb#129 + # source://activesupport//lib/active_support/cache.rb#129 def retrieve_cache_key(key); end # Obtains the specified cache store class, given the name of the +store+. # Raises an error when the store class cannot be found. # - # source://activesupport/lib/active_support/cache.rb#141 + # source://activesupport//lib/active_support/cache.rb#141 def retrieve_store_class(store); end end end -# source://activesupport/lib/active_support/cache/coder.rb#7 +# source://activesupport//lib/active_support/cache/coder.rb#7 class ActiveSupport::Cache::Coder # @return [Coder] a new instance of Coder # - # source://activesupport/lib/active_support/cache/coder.rb#8 + # source://activesupport//lib/active_support/cache/coder.rb#8 def initialize(serializer, compressor, legacy_serializer: T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/coder.rb#14 + # source://activesupport//lib/active_support/cache/coder.rb#14 def dump(entry); end - # source://activesupport/lib/active_support/cache/coder.rb#20 + # source://activesupport//lib/active_support/cache/coder.rb#20 def dump_compressed(entry, threshold); end - # source://activesupport/lib/active_support/cache/coder.rb#48 + # source://activesupport//lib/active_support/cache/coder.rb#48 def load(dumped); end private - # source://activesupport/lib/active_support/cache/coder.rb#136 + # source://activesupport//lib/active_support/cache/coder.rb#136 def dump_version(version); end - # source://activesupport/lib/active_support/cache/coder.rb#144 + # source://activesupport//lib/active_support/cache/coder.rb#144 def load_version(dumped_version); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/coder.rb#121 + # source://activesupport//lib/active_support/cache/coder.rb#121 def signature?(dumped); end - # source://activesupport/lib/active_support/cache/coder.rb#129 + # source://activesupport//lib/active_support/cache/coder.rb#129 def try_compress(string, threshold); end - # source://activesupport/lib/active_support/cache/coder.rb#125 + # source://activesupport//lib/active_support/cache/coder.rb#125 def type_for_string(value); end end -# source://activesupport/lib/active_support/cache/coder.rb#76 +# source://activesupport//lib/active_support/cache/coder.rb#76 ActiveSupport::Cache::Coder::COMPRESSED_FLAG = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/cache/coder.rb#98 +# source://activesupport//lib/active_support/cache/coder.rb#98 class ActiveSupport::Cache::Coder::LazyEntry < ::ActiveSupport::Cache::Entry # @return [LazyEntry] a new instance of LazyEntry # - # source://activesupport/lib/active_support/cache/coder.rb#99 + # source://activesupport//lib/active_support/cache/coder.rb#99 def initialize(serializer, compressor, payload, **options); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/coder.rb#114 + # source://activesupport//lib/active_support/cache/coder.rb#114 def mismatched?(version); end - # source://activesupport/lib/active_support/cache/coder.rb#106 + # source://activesupport//lib/active_support/cache/coder.rb#106 def value; end end -# source://activesupport/lib/active_support/cache/coder.rb#84 +# source://activesupport//lib/active_support/cache/coder.rb#84 ActiveSupport::Cache::Coder::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#68 +# source://activesupport//lib/active_support/cache/coder.rb#68 ActiveSupport::Cache::Coder::OBJECT_DUMP_TYPE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/cache/coder.rb#80 +# source://activesupport//lib/active_support/cache/coder.rb#80 ActiveSupport::Cache::Coder::PACKED_EXPIRES_AT_TEMPLATE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#78 +# source://activesupport//lib/active_support/cache/coder.rb#78 ActiveSupport::Cache::Coder::PACKED_TEMPLATE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#79 +# source://activesupport//lib/active_support/cache/coder.rb#79 ActiveSupport::Cache::Coder::PACKED_TYPE_TEMPLATE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#82 +# source://activesupport//lib/active_support/cache/coder.rb#82 ActiveSupport::Cache::Coder::PACKED_VERSION_INDEX = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/cache/coder.rb#81 +# source://activesupport//lib/active_support/cache/coder.rb#81 ActiveSupport::Cache::Coder::PACKED_VERSION_LENGTH_TEMPLATE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#66 +# source://activesupport//lib/active_support/cache/coder.rb#66 ActiveSupport::Cache::Coder::SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/coder.rb#96 +# source://activesupport//lib/active_support/cache/coder.rb#96 ActiveSupport::Cache::Coder::STRING_DESERIALIZERS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/cache/coder.rb#70 +# source://activesupport//lib/active_support/cache/coder.rb#70 ActiveSupport::Cache::Coder::STRING_ENCODINGS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/cache/coder.rb#86 +# source://activesupport//lib/active_support/cache/coder.rb#86 class ActiveSupport::Cache::Coder::StringDeserializer # @return [StringDeserializer] a new instance of StringDeserializer # - # source://activesupport/lib/active_support/cache/coder.rb#87 + # source://activesupport//lib/active_support/cache/coder.rb#87 def initialize(encoding); end - # source://activesupport/lib/active_support/cache/coder.rb#91 + # source://activesupport//lib/active_support/cache/coder.rb#91 def load(payload); end end -# source://activesupport/lib/active_support/cache.rb#45 +# source://activesupport//lib/active_support/cache.rb#45 ActiveSupport::Cache::DEFAULT_COMPRESS_LIMIT = T.let(T.unsafe(nil), Integer) # Raised by coders when the cache entry can't be deserialized. # This error is treated as a cache miss. # -# source://activesupport/lib/active_support/cache.rb#49 +# source://activesupport//lib/active_support/cache.rb#49 class ActiveSupport::Cache::DeserializationError < ::StandardError; end # This class is used to represent cache entries. Cache entries have a value, an optional @@ -868,34 +869,34 @@ class ActiveSupport::Cache::DeserializationError < ::StandardError; end # Since cache entries in most instances will be serialized, the internals of this class are highly optimized # using short instance variable names that are lazily defined. # -# source://activesupport/lib/active_support/cache/entry.rb#14 +# source://activesupport//lib/active_support/cache/entry.rb#14 class ActiveSupport::Cache::Entry # Creates a new cache entry for the specified value. Options supported are # +:compressed+, +:version+, +:expires_at+ and +:expires_in+. # # @return [Entry] a new instance of Entry # - # source://activesupport/lib/active_support/cache/entry.rb#25 + # source://activesupport//lib/active_support/cache/entry.rb#25 def initialize(value, compressed: T.unsafe(nil), version: T.unsafe(nil), expires_in: T.unsafe(nil), expires_at: T.unsafe(nil), **_arg5); end # Returns the size of the cached value. This could be less than # value.bytesize if the data is compressed. # - # source://activesupport/lib/active_support/cache/entry.rb#61 + # source://activesupport//lib/active_support/cache/entry.rb#61 def bytesize; end - # source://activesupport/lib/active_support/cache/entry.rb#76 + # source://activesupport//lib/active_support/cache/entry.rb#76 def compressed(compress_threshold); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/entry.rb#72 + # source://activesupport//lib/active_support/cache/entry.rb#72 def compressed?; end # Duplicates the value in a class. This is used by cache implementations that don't natively # serialize entries to protect against accidental cache modifications. # - # source://activesupport/lib/active_support/cache/entry.rb#106 + # source://activesupport//lib/active_support/cache/entry.rb#106 def dup_value!; end # Checks if the entry is expired. The +expires_in+ parameter can override @@ -903,46 +904,46 @@ class ActiveSupport::Cache::Entry # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/entry.rb#43 + # source://activesupport//lib/active_support/cache/entry.rb#43 def expired?; end - # source://activesupport/lib/active_support/cache/entry.rb#47 + # source://activesupport//lib/active_support/cache/entry.rb#47 def expires_at; end - # source://activesupport/lib/active_support/cache/entry.rb#51 + # source://activesupport//lib/active_support/cache/entry.rb#51 def expires_at=(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/entry.rb#100 + # source://activesupport//lib/active_support/cache/entry.rb#100 def local?; end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/entry.rb#37 + # source://activesupport//lib/active_support/cache/entry.rb#37 def mismatched?(version); end - # source://activesupport/lib/active_support/cache/entry.rb#116 + # source://activesupport//lib/active_support/cache/entry.rb#116 def pack; end - # source://activesupport/lib/active_support/cache/entry.rb#33 + # source://activesupport//lib/active_support/cache/entry.rb#33 def value; end # Returns the value of attribute version. # - # source://activesupport/lib/active_support/cache/entry.rb#21 + # source://activesupport//lib/active_support/cache/entry.rb#21 def version; end private - # source://activesupport/lib/active_support/cache/entry.rb#127 + # source://activesupport//lib/active_support/cache/entry.rb#127 def marshal_load(payload); end - # source://activesupport/lib/active_support/cache/entry.rb#123 + # source://activesupport//lib/active_support/cache/entry.rb#123 def uncompress(value); end class << self - # source://activesupport/lib/active_support/cache/entry.rb#16 + # source://activesupport//lib/active_support/cache/entry.rb#16 def unpack(members); end end end @@ -951,28 +952,28 @@ end # # A cache store implementation which stores everything on the filesystem. # -# source://activesupport/lib/active_support/cache/file_store.rb#12 +# source://activesupport//lib/active_support/cache/file_store.rb#12 class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store # @return [FileStore] a new instance of FileStore # - # source://activesupport/lib/active_support/cache/file_store.rb#20 + # source://activesupport//lib/active_support/cache/file_store.rb#20 def initialize(cache_path, **options); end # Returns the value of attribute cache_path. # - # source://activesupport/lib/active_support/cache/file_store.rb#13 + # source://activesupport//lib/active_support/cache/file_store.rb#13 def cache_path; end # Preemptively iterates through all stored keys and removes the ones which have expired. # - # source://activesupport/lib/active_support/cache/file_store.rb#40 + # source://activesupport//lib/active_support/cache/file_store.rb#40 def cleanup(options = T.unsafe(nil)); end # Deletes all items from the cache. In this case it deletes all the entries in the specified # file store directory except for .keep or .gitkeep. Be careful which directory is specified in your # config file when using +FileStore+ because everything in that directory will be deleted. # - # source://activesupport/lib/active_support/cache/file_store.rb#33 + # source://activesupport//lib/active_support/cache/file_store.rb#33 def clear(options = T.unsafe(nil)); end # Decrement a cached integer value. Returns the updated value. @@ -986,10 +987,10 @@ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store # cache.write("baz", 5) # cache.decrement("baz") # => 4 # - # source://activesupport/lib/active_support/cache/file_store.rb#75 + # source://activesupport//lib/active_support/cache/file_store.rb#75 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/file_store.rb#79 + # source://activesupport//lib/active_support/cache/file_store.rb#79 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value. Returns the updated value. @@ -1004,61 +1005,61 @@ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store # cache.write("baz", 5) # cache.increment("baz") # => 6 # - # source://activesupport/lib/active_support/cache/file_store.rb#60 + # source://activesupport//lib/active_support/cache/file_store.rb#60 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/file_store.rb#90 + # source://activesupport//lib/active_support/cache/file_store.rb#90 def inspect; end private # Delete empty directories in the cache. # - # source://activesupport/lib/active_support/cache/file_store.rb#184 + # source://activesupport//lib/active_support/cache/file_store.rb#184 def delete_empty_directories(dir); end - # source://activesupport/lib/active_support/cache/file_store.rb#120 + # source://activesupport//lib/active_support/cache/file_store.rb#120 def delete_entry(key, **options); end # Make sure a file path's directories exist. # - # source://activesupport/lib/active_support/cache/file_store.rb#193 + # source://activesupport//lib/active_support/cache/file_store.rb#193 def ensure_cache_path(path); end # Translate a file path into a key. # - # source://activesupport/lib/active_support/cache/file_store.rb#178 + # source://activesupport//lib/active_support/cache/file_store.rb#178 def file_path_key(path); end # Lock a file for a block so only one process can modify it at a time. # - # source://activesupport/lib/active_support/cache/file_store.rb#137 + # source://activesupport//lib/active_support/cache/file_store.rb#137 def lock_file(file_name, &block); end # Modifies the amount of an integer value that is stored in the cache. # If the key is not found it is created and set to +amount+. # - # source://activesupport/lib/active_support/cache/file_store.rb#211 + # source://activesupport//lib/active_support/cache/file_store.rb#211 def modify_value(name, amount, options); end # Translate a key into a file path. # - # source://activesupport/lib/active_support/cache/file_store.rb#151 + # source://activesupport//lib/active_support/cache/file_store.rb#151 def normalize_key(key, options); end - # source://activesupport/lib/active_support/cache/file_store.rb#95 + # source://activesupport//lib/active_support/cache/file_store.rb#95 def read_entry(key, **options); end - # source://activesupport/lib/active_support/cache/file_store.rb#102 + # source://activesupport//lib/active_support/cache/file_store.rb#102 def read_serialized_entry(key, **_arg1); end - # source://activesupport/lib/active_support/cache/file_store.rb#197 + # source://activesupport//lib/active_support/cache/file_store.rb#197 def search_dir(dir, &callback); end - # source://activesupport/lib/active_support/cache/file_store.rb#109 + # source://activesupport//lib/active_support/cache/file_store.rb#109 def write_entry(key, entry, **options); end - # source://activesupport/lib/active_support/cache/file_store.rb#113 + # source://activesupport//lib/active_support/cache/file_store.rb#113 def write_serialized_entry(key, payload, **options); end class << self @@ -1066,25 +1067,25 @@ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/file_store.rb#26 + # source://activesupport//lib/active_support/cache/file_store.rb#26 def supports_cache_versioning?; end end end -# source://activesupport/lib/active_support/cache/file_store.rb#15 +# source://activesupport//lib/active_support/cache/file_store.rb#15 ActiveSupport::Cache::FileStore::DIR_FORMATTER = T.let(T.unsafe(nil), String) # max filename size on file system is 255, minus room for timestamp, pid, and random characters appended by Tempfile (used by atomic write) # -# source://activesupport/lib/active_support/cache/file_store.rb#16 +# source://activesupport//lib/active_support/cache/file_store.rb#16 ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE = T.let(T.unsafe(nil), Integer) # max is 1024, plus some room # -# source://activesupport/lib/active_support/cache/file_store.rb#17 +# source://activesupport//lib/active_support/cache/file_store.rb#17 ActiveSupport::Cache::FileStore::FILEPATH_MAX_SIZE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/cache/file_store.rb#18 +# source://activesupport//lib/active_support/cache/file_store.rb#18 ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array) # = Memory \Cache \Store @@ -1109,21 +1110,21 @@ ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array) # # +MemoryStore+ is thread-safe. # -# source://activesupport/lib/active_support/cache/memory_store.rb#28 +# source://activesupport//lib/active_support/cache/memory_store.rb#28 class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store # @return [MemoryStore] a new instance of MemoryStore # - # source://activesupport/lib/active_support/cache/memory_store.rb#73 + # source://activesupport//lib/active_support/cache/memory_store.rb#73 def initialize(options = T.unsafe(nil)); end # Preemptively iterates through all stored keys and removes the ones which have expired. # - # source://activesupport/lib/active_support/cache/memory_store.rb#101 + # source://activesupport//lib/active_support/cache/memory_store.rb#101 def cleanup(options = T.unsafe(nil)); end # Delete all data stored in a given cache store. # - # source://activesupport/lib/active_support/cache/memory_store.rb#93 + # source://activesupport//lib/active_support/cache/memory_store.rb#93 def clear(options = T.unsafe(nil)); end # Decrement a cached integer value. Returns the updated value. @@ -1137,12 +1138,12 @@ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store # cache.write("baz", 5) # cache.decrement("baz") # => 4 # - # source://activesupport/lib/active_support/cache/memory_store.rb#164 + # source://activesupport//lib/active_support/cache/memory_store.rb#164 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Deletes cache entries if the cache key matches a given pattern. # - # source://activesupport/lib/active_support/cache/memory_store.rb#169 + # source://activesupport//lib/active_support/cache/memory_store.rb#169 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value. Returns the updated value. @@ -1157,49 +1158,49 @@ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store # cache.write("baz", 5) # cache.increment("baz") # => 6 # - # source://activesupport/lib/active_support/cache/memory_store.rb#149 + # source://activesupport//lib/active_support/cache/memory_store.rb#149 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/memory_store.rb#180 + # source://activesupport//lib/active_support/cache/memory_store.rb#180 def inspect; end # To ensure entries fit within the specified memory prune the cache by removing the least # recently accessed entries. # - # source://activesupport/lib/active_support/cache/memory_store.rb#114 + # source://activesupport//lib/active_support/cache/memory_store.rb#114 def prune(target_size, max_time = T.unsafe(nil)); end # Returns true if the cache is currently being pruned. # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/memory_store.rb#133 + # source://activesupport//lib/active_support/cache/memory_store.rb#133 def pruning?; end # Synchronize calls to the cache. This should be called wherever the underlying cache implementation # is not thread safe. # - # source://activesupport/lib/active_support/cache/memory_store.rb#186 + # source://activesupport//lib/active_support/cache/memory_store.rb#186 def synchronize(&block); end private - # source://activesupport/lib/active_support/cache/memory_store.rb#193 + # source://activesupport//lib/active_support/cache/memory_store.rb#193 def cached_size(key, payload); end - # source://activesupport/lib/active_support/cache/memory_store.rb#226 + # source://activesupport//lib/active_support/cache/memory_store.rb#226 def delete_entry(key, **options); end # Modifies the amount of an integer value that is stored in the cache. # If the key is not found it is created and set to +amount+. # - # source://activesupport/lib/active_support/cache/memory_store.rb#236 + # source://activesupport//lib/active_support/cache/memory_store.rb#236 def modify_value(name, amount, options); end - # source://activesupport/lib/active_support/cache/memory_store.rb#197 + # source://activesupport//lib/active_support/cache/memory_store.rb#197 def read_entry(key, **options); end - # source://activesupport/lib/active_support/cache/memory_store.rb#209 + # source://activesupport//lib/active_support/cache/memory_store.rb#209 def write_entry(key, entry, **options); end class << self @@ -1207,37 +1208,37 @@ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/memory_store.rb#88 + # source://activesupport//lib/active_support/cache/memory_store.rb#88 def supports_cache_versioning?; end end end -# source://activesupport/lib/active_support/cache/memory_store.rb#29 +# source://activesupport//lib/active_support/cache/memory_store.rb#29 module ActiveSupport::Cache::MemoryStore::DupCoder extend ::ActiveSupport::Cache::MemoryStore::DupCoder - # source://activesupport/lib/active_support/cache/memory_store.rb#32 + # source://activesupport//lib/active_support/cache/memory_store.rb#32 def dump(entry); end - # source://activesupport/lib/active_support/cache/memory_store.rb#40 + # source://activesupport//lib/active_support/cache/memory_store.rb#40 def dump_compressed(entry, threshold); end - # source://activesupport/lib/active_support/cache/memory_store.rb#45 + # source://activesupport//lib/active_support/cache/memory_store.rb#45 def load(entry); end private - # source://activesupport/lib/active_support/cache/memory_store.rb#56 + # source://activesupport//lib/active_support/cache/memory_store.rb#56 def dump_value(value); end - # source://activesupport/lib/active_support/cache/memory_store.rb#64 + # source://activesupport//lib/active_support/cache/memory_store.rb#64 def load_value(string); end end -# source://activesupport/lib/active_support/cache/memory_store.rb#54 +# source://activesupport//lib/active_support/cache/memory_store.rb#54 ActiveSupport::Cache::MemoryStore::DupCoder::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/memory_store.rb#191 +# source://activesupport//lib/active_support/cache/memory_store.rb#191 ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Integer) # = Null \Cache \Store @@ -1250,43 +1251,43 @@ ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Int # be cached inside blocks that utilize this strategy. See # ActiveSupport::Cache::Strategy::LocalCache for more details. # -# source://activesupport/lib/active_support/cache/null_store.rb#14 +# source://activesupport//lib/active_support/cache/null_store.rb#14 class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store include ::ActiveSupport::Cache::Strategy::LocalCache - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/null_store.rb#25 def cleanup(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/null_store.rb#22 def clear(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/null_store.rb#31 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/null_store.rb#34 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/null_store.rb#28 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/null_store.rb#37 + # source://activesupport//lib/active_support/cache/null_store.rb#37 def inspect; end private - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/null_store.rb#57 def delete_entry(key, **_arg1); end - # source://activesupport/lib/active_support/cache/null_store.rb#42 + # source://activesupport//lib/active_support/cache/null_store.rb#42 def read_entry(key, **s); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/null_store.rb#46 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/cache/null_store.rb#49 + # source://activesupport//lib/active_support/cache/null_store.rb#49 def write_entry(key, entry, **_arg2); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/null_store.rb#53 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1294,14 +1295,14 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/null_store.rb#18 + # source://activesupport//lib/active_support/cache/null_store.rb#18 def supports_cache_versioning?; end end end # Mapping of canonical option names to aliases that a store will recognize. # -# source://activesupport/lib/active_support/cache.rb#41 +# source://activesupport//lib/active_support/cache.rb#41 ActiveSupport::Cache::OPTION_ALIASES = T.let(T.unsafe(nil), Hash) # = Redis \Cache \Store @@ -1322,7 +1323,7 @@ ActiveSupport::Cache::OPTION_ALIASES = T.let(T.unsafe(nil), Hash) # +Redis::Distributed+ 4.0.1+ for distributed mget support. # * +delete_matched+ support for Redis KEYS globs. # -# source://activesupport/lib/active_support/cache/redis_cache_store.rb#37 +# source://activesupport//lib/active_support/cache/redis_cache_store.rb#37 class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store include ::ActiveSupport::Cache::Strategy::LocalCache @@ -1366,7 +1367,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # @return [RedisCacheStore] a new instance of RedisCacheStore # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#149 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#149 def initialize(error_handler: T.unsafe(nil), **redis_options); end # Cache Store API implementation. @@ -1374,7 +1375,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # Removes expired entries. Handled natively by Redis least-recently-/ # least-frequently-used expiry, so manual cleanup is not supported. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#276 def cleanup(options = T.unsafe(nil)); end # Clear the entire cache on all Redis servers. Safe to use on @@ -1382,7 +1383,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#284 def clear(options = T.unsafe(nil)); end # Decrement a cached integer value using the Redis decrby atomic operator. @@ -1402,7 +1403,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#262 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Cache Store API implementation. @@ -1421,7 +1422,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#198 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value using the Redis incrby atomic operator. @@ -1442,15 +1443,15 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#236 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#164 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#164 def inspect; end # Returns the value of attribute max_key_bytesize. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#109 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#109 def max_key_bytesize; end # Cache Store API implementation. @@ -1458,87 +1459,87 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # Read multiple values at once. Returns a hash of requested keys -> # fetched values. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#172 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#172 def read_multi(*names); end # Returns the value of attribute redis. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#110 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#110 def redis; end # Get info from redis servers. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#295 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#295 def stats; end private - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#444 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#444 def change_counter(key, amount, options); end # Delete an entry from the cache. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#379 def delete_entry(key, **_arg1); end # Deletes multiple entries in the cache. Returns the number of entries deleted. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#386 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#386 def delete_multi_entries(entries, **_options); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#422 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#422 def deserialize_entry(payload, raw: T.unsafe(nil), **_arg2); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#478 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#478 def failsafe(method, returning: T.unsafe(nil)); end # Truncate keys that exceed 1kB. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#408 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#408 def normalize_key(key, options); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#300 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#300 def pipeline_entries(entries, &block); end # Store provider interface: # Read an entry from the cache. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#314 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#314 def read_entry(key, **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#134 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#324 def read_multi_entries(names, **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#318 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#438 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#438 def serialize_entries(entries, **options); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#430 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#430 def serialize_entry(entry, raw: T.unsafe(nil), **options); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#471 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#471 def supports_expire_nx?; end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#412 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#412 def truncate_key(key); end # Write an entry to the cache. # # Requires Redis 2.6.12+ for extended SET options. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#351 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#351 def write_entry(key, entry, raw: T.unsafe(nil), **options); end # Nonstandard store provider API to write multiple values at once. # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#393 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#393 def write_multi_entries(entries, **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#355 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1553,177 +1554,177 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # :url String -> Redis.new(url: …) # :url Array -> Redis::Distributed.new([{ url: … }, { url: … }, …]) # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#81 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#81 def build_redis(redis: T.unsafe(nil), url: T.unsafe(nil), **redis_options); end # Advertise cache versioning support. # # @return [Boolean] # - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#63 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#63 def supports_cache_versioning?; end private - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#104 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#104 def build_redis_client(**redis_options); end - # source://activesupport/lib/active_support/cache/redis_cache_store.rb#98 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#98 def build_redis_distributed_client(urls:, **redis_options); end end end -# source://activesupport/lib/active_support/cache/redis_cache_store.rb#47 +# source://activesupport//lib/active_support/cache/redis_cache_store.rb#47 ActiveSupport::Cache::RedisCacheStore::DEFAULT_ERROR_HANDLER = T.let(T.unsafe(nil), Proc) -# source://activesupport/lib/active_support/cache/redis_cache_store.rb#41 +# source://activesupport//lib/active_support/cache/redis_cache_store.rb#41 ActiveSupport::Cache::RedisCacheStore::DEFAULT_REDIS_OPTIONS = T.let(T.unsafe(nil), Hash) # Keys are truncated with the Active Support digest if they exceed 1kB # -# source://activesupport/lib/active_support/cache/redis_cache_store.rb#39 +# source://activesupport//lib/active_support/cache/redis_cache_store.rb#39 ActiveSupport::Cache::RedisCacheStore::MAX_KEY_BYTESIZE = T.let(T.unsafe(nil), Integer) # The maximum number of entries to receive per SCAN call. # -# source://activesupport/lib/active_support/cache/redis_cache_store.rb#59 +# source://activesupport//lib/active_support/cache/redis_cache_store.rb#59 ActiveSupport::Cache::RedisCacheStore::SCAN_BATCH_SIZE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#8 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#8 module ActiveSupport::Cache::SerializerWithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#17 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#17 def load(dumped); end private - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#39 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#39 def marshal_load(payload); end class << self - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#9 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#9 def [](format); end end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#66 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#66 module ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback include ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#39 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#80 def _load(payload); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#72 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#72 def dump(entry); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#76 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#76 def dump_compressed(entry, threshold); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#83 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#83 def dumped?(dumped); end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#70 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#70 ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#88 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#88 module ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback include ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#110 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#110 def _load(marked); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#95 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#95 def dump(entry); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#99 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#99 def dump_compressed(entry, threshold); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#116 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#116 def dumped?(dumped); end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#93 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#93 ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback::MARK_COMPRESSED = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#92 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#92 ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback::MARK_UNCOMPRESSED = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#121 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#121 module ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback include ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#131 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#131 def _load(dumped); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#127 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#127 def dump(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#135 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#135 def dumped?(dumped); end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#125 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#125 ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#140 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#140 module ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback include ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#148 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#148 def _load(dumped); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#144 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#144 def dump(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#152 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#152 def dumped?(dumped); end private # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#157 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#157 def available?; end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#45 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#45 module ActiveSupport::Cache::SerializerWithFallback::PassthroughWithFallback include ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::PassthroughWithFallback - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#57 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#57 def _load(entry); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#49 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#49 def dump(entry); end - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#53 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#53 def dump_compressed(entry, threshold); end # @return [Boolean] # - # source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#61 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#61 def dumped?(dumped); end end -# source://activesupport/lib/active_support/cache/serializer_with_fallback.rb#166 +# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#166 ActiveSupport::Cache::SerializerWithFallback::SERIALIZERS = T.let(T.unsafe(nil), Hash) # = Active Support \Cache \Store @@ -1768,7 +1769,7 @@ ActiveSupport::Cache::SerializerWithFallback::SERIALIZERS = T.let(T.unsafe(nil), # cache.namespace = -> { @last_mod_time } # Set the namespace to a variable # @last_mod_time = Time.now # Invalidate the entire cache by changing namespace # -# source://activesupport/lib/active_support/cache.rb#194 +# source://activesupport//lib/active_support/cache.rb#194 class ActiveSupport::Cache::Store # Creates a new cache. # @@ -1844,7 +1845,7 @@ class ActiveSupport::Cache::Store # # @return [Store] a new instance of Store # - # source://activesupport/lib/active_support/cache.rb#319 + # source://activesupport//lib/active_support/cache.rb#319 def initialize(options = T.unsafe(nil)); end # Cleans up the cache by removing expired entries. @@ -1855,7 +1856,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#747 + # source://activesupport//lib/active_support/cache.rb#747 def cleanup(options = T.unsafe(nil)); end # Clears the entire cache. Be careful with this method since it could @@ -1867,7 +1868,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#757 + # source://activesupport//lib/active_support/cache.rb#757 def clear(options = T.unsafe(nil)); end # Decrements an integer value in the cache. @@ -1878,7 +1879,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#738 + # source://activesupport//lib/active_support/cache.rb#738 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Deletes an entry in the cache. Returns +true+ if an entry is deleted @@ -1886,7 +1887,7 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport/lib/active_support/cache.rb#676 + # source://activesupport//lib/active_support/cache.rb#676 def delete(name, options = T.unsafe(nil)); end # Deletes all entries with keys matching the pattern. @@ -1897,7 +1898,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#720 + # source://activesupport//lib/active_support/cache.rb#720 def delete_matched(matcher, options = T.unsafe(nil)); end # Deletes multiple entries in the cache. Returns the number of deleted @@ -1905,7 +1906,7 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport/lib/active_support/cache.rb#688 + # source://activesupport//lib/active_support/cache.rb#688 def delete_multi(names, options = T.unsafe(nil)); end # Returns +true+ if the cache contains an entry for the given key. @@ -1914,7 +1915,7 @@ class ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport/lib/active_support/cache.rb#702 + # source://activesupport//lib/active_support/cache.rb#702 def exist?(name, options = T.unsafe(nil)); end # Fetches data from the cache, using the given key. If there is data in @@ -2016,7 +2017,7 @@ class ActiveSupport::Cache::Store # token # end # - # source://activesupport/lib/active_support/cache.rb#452 + # source://activesupport//lib/active_support/cache.rb#452 def fetch(name, options = T.unsafe(nil), &block); end # Fetches data from the cache, using the given keys. If there is data in @@ -2051,7 +2052,7 @@ class ActiveSupport::Cache::Store # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/cache.rb#601 + # source://activesupport//lib/active_support/cache.rb#601 def fetch_multi(*names); end # Increments an integer value in the cache. @@ -2062,32 +2063,32 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#729 + # source://activesupport//lib/active_support/cache.rb#729 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache.rb#195 + # source://activesupport//lib/active_support/cache.rb#195 def logger; end - # source://activesupport/lib/active_support/cache.rb#195 + # source://activesupport//lib/active_support/cache.rb#195 def logger=(val); end # Silences the logger within a block. # - # source://activesupport/lib/active_support/cache.rb#346 + # source://activesupport//lib/active_support/cache.rb#346 def mute; end - # source://activesupport/lib/active_support/cache.rb#711 + # source://activesupport//lib/active_support/cache.rb#711 def new_entry(value, options = T.unsafe(nil)); end # Returns the value of attribute options. # - # source://activesupport/lib/active_support/cache.rb#198 + # source://activesupport//lib/active_support/cache.rb#198 def options; end - # source://activesupport/lib/active_support/cache.rb#196 + # source://activesupport//lib/active_support/cache.rb#196 def raise_on_invalid_cache_expiration_time; end - # source://activesupport/lib/active_support/cache.rb#196 + # source://activesupport//lib/active_support/cache.rb#196 def raise_on_invalid_cache_expiration_time=(val); end # Reads data from the cache, using the given key. If there is data in @@ -2107,7 +2108,7 @@ class ActiveSupport::Cache::Store # # Other options will be handled by the specific cache store implementation. # - # source://activesupport/lib/active_support/cache.rb#506 + # source://activesupport//lib/active_support/cache.rb#506 def read(name, options = T.unsafe(nil)); end # Reads multiple values at once from the cache. Options can be passed @@ -2117,22 +2118,22 @@ class ActiveSupport::Cache::Store # # Returns a hash mapping the names provided to the values found. # - # source://activesupport/lib/active_support/cache.rb#544 + # source://activesupport//lib/active_support/cache.rb#544 def read_multi(*names); end # Returns the value of attribute silence. # - # source://activesupport/lib/active_support/cache.rb#198 + # source://activesupport//lib/active_support/cache.rb#198 def silence; end # Silences the logger. # - # source://activesupport/lib/active_support/cache.rb#340 + # source://activesupport//lib/active_support/cache.rb#340 def silence!; end # Returns the value of attribute silence. # - # source://activesupport/lib/active_support/cache.rb#198 + # source://activesupport//lib/active_support/cache.rb#199 def silence?; end # Writes the value to the cache with the key. The value must be supported @@ -2169,20 +2170,20 @@ class ActiveSupport::Cache::Store # # Other options will be handled by the specific cache store implementation. # - # source://activesupport/lib/active_support/cache.rb#663 + # source://activesupport//lib/active_support/cache.rb#663 def write(name, value, options = T.unsafe(nil)); end # Cache Storage API to write multiple values at once. # - # source://activesupport/lib/active_support/cache.rb#558 + # source://activesupport//lib/active_support/cache.rb#558 def write_multi(hash, options = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/cache.rb#1013 + # source://activesupport//lib/active_support/cache.rb#1013 def _instrument(operation, multi: T.unsafe(nil), options: T.unsafe(nil), **payload, &block); end - # source://activesupport/lib/active_support/cache.rb#762 + # source://activesupport//lib/active_support/cache.rb#762 def default_serializer; end # Deletes an entry from the cache implementation. Subclasses must @@ -2190,41 +2191,41 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#856 + # source://activesupport//lib/active_support/cache.rb#856 def delete_entry(key, **options); end # Deletes multiples entries in the cache implementation. Subclasses MAY # implement this method. # - # source://activesupport/lib/active_support/cache.rb#862 + # source://activesupport//lib/active_support/cache.rb#862 def delete_multi_entries(entries, **options); end - # source://activesupport/lib/active_support/cache.rb#821 + # source://activesupport//lib/active_support/cache.rb#821 def deserialize_entry(payload, **_arg1); end # Expands key to be a consistent string value. Invokes +cache_key+ if # object responds to +cache_key+. Otherwise, +to_param+ method will be # called. If the key is a Hash, then keys will be sorted alphabetically. # - # source://activesupport/lib/active_support/cache.rb#976 + # source://activesupport//lib/active_support/cache.rb#976 def expanded_key(key); end - # source://activesupport/lib/active_support/cache.rb#997 + # source://activesupport//lib/active_support/cache.rb#997 def expanded_version(key); end - # source://activesupport/lib/active_support/cache.rb#1051 + # source://activesupport//lib/active_support/cache.rb#1051 def get_entry_value(entry, name, options); end - # source://activesupport/lib/active_support/cache.rb#1034 + # source://activesupport//lib/active_support/cache.rb#1034 def handle_expired_entry(entry, key, options); end - # source://activesupport/lib/active_support/cache.rb#896 + # source://activesupport//lib/active_support/cache.rb#896 def handle_invalid_expires_in(message); end - # source://activesupport/lib/active_support/cache.rb#1005 + # source://activesupport//lib/active_support/cache.rb#1005 def instrument(operation, key, options = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/cache.rb#1009 + # source://activesupport//lib/active_support/cache.rb#1009 def instrument_multi(operation, keys, options = T.unsafe(nil), &block); end # Adds the namespace defined in the options to a pattern designed to @@ -2232,12 +2233,12 @@ class ActiveSupport::Cache::Store # this method to translate a pattern that matches names into one that # matches namespaced keys. # - # source://activesupport/lib/active_support/cache.rb#785 + # source://activesupport//lib/active_support/cache.rb#785 def key_matcher(pattern, options); end # Merges the default options with ones specific to a method call. # - # source://activesupport/lib/active_support/cache.rb#867 + # source://activesupport//lib/active_support/cache.rb#867 def merged_options(call_options); end # Prefix the key with a namespace string: @@ -2250,7 +2251,7 @@ class ActiveSupport::Cache::Store # namespace_key 'foo', namespace: -> { 'cache' } # # => 'cache:foo' # - # source://activesupport/lib/active_support/cache.rb#954 + # source://activesupport//lib/active_support/cache.rb#954 def namespace_key(key, options = T.unsafe(nil)); end # Expands and namespaces the cache key. @@ -2259,15 +2260,15 @@ class ActiveSupport::Cache::Store # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/cache.rb#938 + # source://activesupport//lib/active_support/cache.rb#938 def normalize_key(key, options = T.unsafe(nil)); end # Normalize aliased options to their canonical form # - # source://activesupport/lib/active_support/cache.rb#907 + # source://activesupport//lib/active_support/cache.rb#907 def normalize_options(options); end - # source://activesupport/lib/active_support/cache.rb#993 + # source://activesupport//lib/active_support/cache.rb#993 def normalize_version(key, options = T.unsafe(nil)); end # Reads an entry from the cache implementation. Subclasses must implement @@ -2275,22 +2276,22 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#802 + # source://activesupport//lib/active_support/cache.rb#802 def read_entry(key, **options); end # Reads multiple entries from the cache implementation. Subclasses MAY # implement this method. # - # source://activesupport/lib/active_support/cache.rb#829 + # source://activesupport//lib/active_support/cache.rb#829 def read_multi_entries(names, **options); end - # source://activesupport/lib/active_support/cache.rb#1056 + # source://activesupport//lib/active_support/cache.rb#1056 def save_block_result_to_cache(name, options); end - # source://activesupport/lib/active_support/cache.rb#812 + # source://activesupport//lib/active_support/cache.rb#812 def serialize_entry(entry, **options); end - # source://activesupport/lib/active_support/cache.rb#918 + # source://activesupport//lib/active_support/cache.rb#918 def validate_options(options); end # Writes an entry to the cache implementation. Subclasses must implement @@ -2298,36 +2299,36 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/cache.rb#808 + # source://activesupport//lib/active_support/cache.rb#808 def write_entry(key, entry, **options); end # Writes multiple entries to the cache implementation. Subclasses MAY # implement this method. # - # source://activesupport/lib/active_support/cache.rb#848 + # source://activesupport//lib/active_support/cache.rb#848 def write_multi_entries(hash, **options); end class << self - # source://activesupport/lib/active_support/cache.rb#195 + # source://activesupport//lib/active_support/cache.rb#195 def logger; end - # source://activesupport/lib/active_support/cache.rb#195 + # source://activesupport//lib/active_support/cache.rb#195 def logger=(val); end - # source://activesupport/lib/active_support/cache.rb#196 + # source://activesupport//lib/active_support/cache.rb#196 def raise_on_invalid_cache_expiration_time; end - # source://activesupport/lib/active_support/cache.rb#196 + # source://activesupport//lib/active_support/cache.rb#196 def raise_on_invalid_cache_expiration_time=(val); end private - # source://activesupport/lib/active_support/cache.rb#206 + # source://activesupport//lib/active_support/cache.rb#206 def retrieve_pool_options(options); end end end -# source://activesupport/lib/active_support/cache.rb#51 +# source://activesupport//lib/active_support/cache.rb#51 module ActiveSupport::Cache::Strategy; end # = Local \Cache \Strategy @@ -2336,74 +2337,74 @@ module ActiveSupport::Cache::Strategy; end # duration of a block. Repeated calls to the cache for the same key will hit the # in-memory cache for faster access. # -# source://activesupport/lib/active_support/cache/strategy/local_cache.rb#13 +# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#13 module ActiveSupport::Cache::Strategy::LocalCache - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#85 def cleanup(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#79 def clear(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#108 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#91 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#97 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Middleware class can be inserted as a Rack handler to be local cache for the # duration of request. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#73 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#73 def middleware; end # Use a local cache for the duration of block. # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#67 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#67 def with_local_cache(&block); end private - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#185 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#185 def bypass_local_cache(&block); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162 def delete_entry(key, **_arg1); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#181 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#181 def local_cache; end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#177 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#177 def local_cache_key; end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#134 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#134 def read_multi_entries(names, **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#189 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#189 def use_temporary_local_cache(temporary_cache); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#167 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#167 def write_cache_value(name, value, **options); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153 def write_serialized_entry(key, payload, **_arg2); end end # Class for storing and registering the local caches. # -# source://activesupport/lib/active_support/cache/strategy/local_cache.rb#17 +# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#17 module ActiveSupport::Cache::Strategy::LocalCache::LocalCacheRegistry extend ::ActiveSupport::Cache::Strategy::LocalCache::LocalCacheRegistry - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#20 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#20 def cache_for(local_cache_key); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#25 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#25 def set_cache_for(local_cache_key, value); end end @@ -2412,29 +2413,29 @@ end # Simple memory backed cache. This cache is not thread safe and is intended only # for serving as a temporary memory cache for a single thread. # -# source://activesupport/lib/active_support/cache/strategy/local_cache.rb#35 +# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#35 class ActiveSupport::Cache::Strategy::LocalCache::LocalStore # @return [LocalStore] a new instance of LocalStore # - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#36 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#36 def initialize; end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#40 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#40 def clear(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#57 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#57 def delete_entry(key); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#61 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#61 def fetch_entry(key); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#44 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#44 def read_entry(key); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#48 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#48 def read_multi_entries(keys); end - # source://activesupport/lib/active_support/cache/strategy/local_cache.rb#52 + # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#52 def write_entry(key, entry); end end @@ -2442,30 +2443,30 @@ end # This class wraps up local storage for middlewares. Only the middleware method should # construct them. # -# source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#13 +# source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#13 class ActiveSupport::Cache::Strategy::LocalCache::Middleware # @return [Middleware] a new instance of Middleware # - # source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#16 + # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#16 def initialize(name, local_cache_key); end - # source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#27 + # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#27 def call(env); end - # source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#14 + # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#14 def local_cache_key; end - # source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#14 + # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#14 def name; end - # source://activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb#22 + # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#22 def new(app); end end # These options mean something to all cache implementations. Individual cache # implementations may support additional options. # -# source://activesupport/lib/active_support/cache.rb#26 +# source://activesupport//lib/active_support/cache.rb#26 ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array) # Enables the dynamic configuration of Cache entry options while ensuring @@ -2473,37 +2474,37 @@ ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array) # ActiveSupport::Cache::Store#fetch, the second argument will be an # instance of +WriteOptions+. # -# source://activesupport/lib/active_support/cache.rb#1072 +# source://activesupport//lib/active_support/cache.rb#1072 class ActiveSupport::Cache::WriteOptions # @return [WriteOptions] a new instance of WriteOptions # - # source://activesupport/lib/active_support/cache.rb#1073 + # source://activesupport//lib/active_support/cache.rb#1073 def initialize(options); end - # source://activesupport/lib/active_support/cache.rb#1097 + # source://activesupport//lib/active_support/cache.rb#1097 def expires_at; end # Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was # previously set, this will unset it since +expires_at+ and +expires_in+ # cannot both be set. # - # source://activesupport/lib/active_support/cache.rb#1104 + # source://activesupport//lib/active_support/cache.rb#1104 def expires_at=(expires_at); end - # source://activesupport/lib/active_support/cache.rb#1085 + # source://activesupport//lib/active_support/cache.rb#1085 def expires_in; end # Sets the Cache entry's +expires_in+ value. If an +expires_at+ option was # previously set, this will unset it since +expires_in+ and +expires_at+ # cannot both be set. # - # source://activesupport/lib/active_support/cache.rb#1092 + # source://activesupport//lib/active_support/cache.rb#1092 def expires_in=(expires_in); end - # source://activesupport/lib/active_support/cache.rb#1077 + # source://activesupport//lib/active_support/cache.rb#1077 def version; end - # source://activesupport/lib/active_support/cache.rb#1081 + # source://activesupport//lib/active_support/cache.rb#1081 def version=(version); end end @@ -2513,16 +2514,16 @@ end # re-executing the key generation process when it's called using the same +salt+ and # +key_size+. # -# source://activesupport/lib/active_support/key_generator.rb#55 +# source://activesupport//lib/active_support/key_generator.rb#55 class ActiveSupport::CachingKeyGenerator # @return [CachingKeyGenerator] a new instance of CachingKeyGenerator # - # source://activesupport/lib/active_support/key_generator.rb#56 + # source://activesupport//lib/active_support/key_generator.rb#56 def initialize(key_generator); end # Returns a derived key suitable for use. # - # source://activesupport/lib/active_support/key_generator.rb#62 + # source://activesupport//lib/active_support/key_generator.rb#62 def generate_key(*args); end end @@ -2580,7 +2581,7 @@ end # - save # saved # -# source://activesupport/lib/active_support/callbacks.rb#65 +# source://activesupport//lib/active_support/callbacks.rb#65 module ActiveSupport::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2612,7 +2613,7 @@ module ActiveSupport::Callbacks # smoothly through and into the supplied block, we want as little evidence # as possible that we were here. # - # source://activesupport/lib/active_support/callbacks.rb#97 + # source://activesupport//lib/active_support/callbacks.rb#97 def run_callbacks(kind, type = T.unsafe(nil)); end private @@ -2621,7 +2622,7 @@ module ActiveSupport::Callbacks # This can be overridden in ActiveSupport::Callbacks implementors in order # to provide better debugging/logging. # - # source://activesupport/lib/active_support/callbacks.rb#150 + # source://activesupport//lib/active_support/callbacks.rb#150 def halted_callback_hook(filter, name); end module GeneratedClassMethods @@ -2636,13 +2637,13 @@ module ActiveSupport::Callbacks end end -# source://activesupport/lib/active_support/callbacks.rb#73 +# source://activesupport//lib/active_support/callbacks.rb#73 ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES = T.let(T.unsafe(nil), Array) # A future invocation of user-supplied code (either as a callback, # or a condition filter). # -# source://activesupport/lib/active_support/callbacks.rb#378 +# source://activesupport//lib/active_support/callbacks.rb#378 module ActiveSupport::Callbacks::CallTemplate class << self # Filters support: @@ -2654,69 +2655,69 @@ module ActiveSupport::Callbacks::CallTemplate # All of these objects are converted into a CallTemplate and handled # the same after this point. # - # source://activesupport/lib/active_support/callbacks.rb#536 + # source://activesupport//lib/active_support/callbacks.rb#536 def build(filter, callback); end end end -# source://activesupport/lib/active_support/callbacks.rb#437 +# source://activesupport//lib/active_support/callbacks.rb#437 class ActiveSupport::Callbacks::CallTemplate::InstanceExec0 # @return [InstanceExec0] a new instance of InstanceExec0 # - # source://activesupport/lib/active_support/callbacks.rb#438 + # source://activesupport//lib/active_support/callbacks.rb#438 def initialize(block); end - # source://activesupport/lib/active_support/callbacks.rb#442 + # source://activesupport//lib/active_support/callbacks.rb#442 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#452 + # source://activesupport//lib/active_support/callbacks.rb#452 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#446 + # source://activesupport//lib/active_support/callbacks.rb#446 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#459 +# source://activesupport//lib/active_support/callbacks.rb#459 class ActiveSupport::Callbacks::CallTemplate::InstanceExec1 # @return [InstanceExec1] a new instance of InstanceExec1 # - # source://activesupport/lib/active_support/callbacks.rb#460 + # source://activesupport//lib/active_support/callbacks.rb#460 def initialize(block); end - # source://activesupport/lib/active_support/callbacks.rb#464 + # source://activesupport//lib/active_support/callbacks.rb#464 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#474 + # source://activesupport//lib/active_support/callbacks.rb#474 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#468 + # source://activesupport//lib/active_support/callbacks.rb#468 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#481 +# source://activesupport//lib/active_support/callbacks.rb#481 class ActiveSupport::Callbacks::CallTemplate::InstanceExec2 # @return [InstanceExec2] a new instance of InstanceExec2 # - # source://activesupport/lib/active_support/callbacks.rb#482 + # source://activesupport//lib/active_support/callbacks.rb#482 def initialize(block); end # @raise [ArgumentError] # - # source://activesupport/lib/active_support/callbacks.rb#486 + # source://activesupport//lib/active_support/callbacks.rb#486 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#498 + # source://activesupport//lib/active_support/callbacks.rb#498 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#491 + # source://activesupport//lib/active_support/callbacks.rb#491 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#379 +# source://activesupport//lib/active_support/callbacks.rb#379 class ActiveSupport::Callbacks::CallTemplate::MethodCall # @return [MethodCall] a new instance of MethodCall # - # source://activesupport/lib/active_support/callbacks.rb#380 + # source://activesupport//lib/active_support/callbacks.rb#380 def initialize(method); end # Return the parts needed to make this call, with the given @@ -2733,199 +2734,199 @@ class ActiveSupport::Callbacks::CallTemplate::MethodCall # The actual invocation is left up to the caller to minimize # call stack pollution. # - # source://activesupport/lib/active_support/callbacks.rb#397 + # source://activesupport//lib/active_support/callbacks.rb#397 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#407 + # source://activesupport//lib/active_support/callbacks.rb#407 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#401 + # source://activesupport//lib/active_support/callbacks.rb#401 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#414 +# source://activesupport//lib/active_support/callbacks.rb#414 class ActiveSupport::Callbacks::CallTemplate::ObjectCall # @return [ObjectCall] a new instance of ObjectCall # - # source://activesupport/lib/active_support/callbacks.rb#415 + # source://activesupport//lib/active_support/callbacks.rb#415 def initialize(target, method); end - # source://activesupport/lib/active_support/callbacks.rb#420 + # source://activesupport//lib/active_support/callbacks.rb#420 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#430 + # source://activesupport//lib/active_support/callbacks.rb#430 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#424 + # source://activesupport//lib/active_support/callbacks.rb#424 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#506 +# source://activesupport//lib/active_support/callbacks.rb#506 class ActiveSupport::Callbacks::CallTemplate::ProcCall # @return [ProcCall] a new instance of ProcCall # - # source://activesupport/lib/active_support/callbacks.rb#507 + # source://activesupport//lib/active_support/callbacks.rb#507 def initialize(target); end - # source://activesupport/lib/active_support/callbacks.rb#511 + # source://activesupport//lib/active_support/callbacks.rb#511 def expand(target, value, block); end - # source://activesupport/lib/active_support/callbacks.rb#521 + # source://activesupport//lib/active_support/callbacks.rb#521 def inverted_lambda; end - # source://activesupport/lib/active_support/callbacks.rb#515 + # source://activesupport//lib/active_support/callbacks.rb#515 def make_lambda; end end -# source://activesupport/lib/active_support/callbacks.rb#283 +# source://activesupport//lib/active_support/callbacks.rb#283 class ActiveSupport::Callbacks::Callback # @return [Callback] a new instance of Callback # - # source://activesupport/lib/active_support/callbacks.rb#298 + # source://activesupport//lib/active_support/callbacks.rb#298 def initialize(name, filter, kind, options, chain_config); end # Wraps code with filter # - # source://activesupport/lib/active_support/callbacks.rb#333 + # source://activesupport//lib/active_support/callbacks.rb#333 def apply(callback_sequence); end # Returns the value of attribute chain_config. # - # source://activesupport/lib/active_support/callbacks.rb#296 + # source://activesupport//lib/active_support/callbacks.rb#296 def chain_config; end - # source://activesupport/lib/active_support/callbacks.rb#347 + # source://activesupport//lib/active_support/callbacks.rb#347 def current_scopes; end # @return [Boolean] # - # source://activesupport/lib/active_support/callbacks.rb#323 + # source://activesupport//lib/active_support/callbacks.rb#323 def duplicates?(other); end # Returns the value of attribute filter. # - # source://activesupport/lib/active_support/callbacks.rb#296 + # source://activesupport//lib/active_support/callbacks.rb#296 def filter; end # Returns the value of attribute kind. # - # source://activesupport/lib/active_support/callbacks.rb#295 + # source://activesupport//lib/active_support/callbacks.rb#295 def kind; end # Sets the attribute kind # # @param value the value to set the attribute kind to. # - # source://activesupport/lib/active_support/callbacks.rb#295 + # source://activesupport//lib/active_support/callbacks.rb#295 def kind=(_arg0); end # @return [Boolean] # - # source://activesupport/lib/active_support/callbacks.rb#319 + # source://activesupport//lib/active_support/callbacks.rb#319 def matches?(_kind, _filter); end - # source://activesupport/lib/active_support/callbacks.rb#307 + # source://activesupport//lib/active_support/callbacks.rb#307 def merge_conditional_options(chain, if_option:, unless_option:); end # Returns the value of attribute name. # - # source://activesupport/lib/active_support/callbacks.rb#295 + # source://activesupport//lib/active_support/callbacks.rb#295 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activesupport/lib/active_support/callbacks.rb#295 + # source://activesupport//lib/active_support/callbacks.rb#295 def name=(_arg0); end private - # source://activesupport/lib/active_support/callbacks.rb#355 + # source://activesupport//lib/active_support/callbacks.rb#355 def check_conditionals(conditionals); end - # source://activesupport/lib/active_support/callbacks.rb#370 + # source://activesupport//lib/active_support/callbacks.rb#370 def conditions_lambdas; end class << self - # source://activesupport/lib/active_support/callbacks.rb#284 + # source://activesupport//lib/active_support/callbacks.rb#284 def build(chain, filter, kind, options); end end end -# source://activesupport/lib/active_support/callbacks.rb#352 +# source://activesupport//lib/active_support/callbacks.rb#352 ActiveSupport::Callbacks::Callback::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/callbacks.rb#606 +# source://activesupport//lib/active_support/callbacks.rb#606 class ActiveSupport::Callbacks::CallbackChain include ::Enumerable # @return [CallbackChain] a new instance of CallbackChain # - # source://activesupport/lib/active_support/callbacks.rb#611 + # source://activesupport//lib/active_support/callbacks.rb#611 def initialize(name, config); end - # source://activesupport/lib/active_support/callbacks.rb#671 + # source://activesupport//lib/active_support/callbacks.rb#671 def append(*callbacks); end - # source://activesupport/lib/active_support/callbacks.rb#639 + # source://activesupport//lib/active_support/callbacks.rb#639 def clear; end - # source://activesupport/lib/active_support/callbacks.rb#653 + # source://activesupport//lib/active_support/callbacks.rb#653 def compile(type); end # Returns the value of attribute config. # - # source://activesupport/lib/active_support/callbacks.rb#609 + # source://activesupport//lib/active_support/callbacks.rb#609 def config; end - # source://activesupport/lib/active_support/callbacks.rb#633 + # source://activesupport//lib/active_support/callbacks.rb#633 def delete(o); end - # source://activesupport/lib/active_support/callbacks.rb#623 + # source://activesupport//lib/active_support/callbacks.rb#623 def each(&block); end # @return [Boolean] # - # source://activesupport/lib/active_support/callbacks.rb#625 + # source://activesupport//lib/active_support/callbacks.rb#625 def empty?; end - # source://activesupport/lib/active_support/callbacks.rb#624 + # source://activesupport//lib/active_support/callbacks.rb#624 def index(o); end - # source://activesupport/lib/active_support/callbacks.rb#627 + # source://activesupport//lib/active_support/callbacks.rb#627 def insert(index, o); end # Returns the value of attribute name. # - # source://activesupport/lib/active_support/callbacks.rb#609 + # source://activesupport//lib/active_support/callbacks.rb#609 def name; end - # source://activesupport/lib/active_support/callbacks.rb#675 + # source://activesupport//lib/active_support/callbacks.rb#675 def prepend(*callbacks); end protected # Returns the value of attribute chain. # - # source://activesupport/lib/active_support/callbacks.rb#680 + # source://activesupport//lib/active_support/callbacks.rb#680 def chain; end private - # source://activesupport/lib/active_support/callbacks.rb#683 + # source://activesupport//lib/active_support/callbacks.rb#683 def append_one(callback); end - # source://activesupport/lib/active_support/callbacks.rb#703 + # source://activesupport//lib/active_support/callbacks.rb#703 def default_terminator; end - # source://activesupport/lib/active_support/callbacks.rb#646 + # source://activesupport//lib/active_support/callbacks.rb#646 def initialize_copy(other); end - # source://activesupport/lib/active_support/callbacks.rb#690 + # source://activesupport//lib/active_support/callbacks.rb#690 def prepend_one(callback); end - # source://activesupport/lib/active_support/callbacks.rb#697 + # source://activesupport//lib/active_support/callbacks.rb#697 def remove_duplicates(callback); end end @@ -2933,53 +2934,53 @@ end # chaining them with nested lambda calls, see: # https://github.com/rails/rails/issues/18011 # -# source://activesupport/lib/active_support/callbacks.rb#559 +# source://activesupport//lib/active_support/callbacks.rb#559 class ActiveSupport::Callbacks::CallbackSequence # @return [CallbackSequence] a new instance of CallbackSequence # - # source://activesupport/lib/active_support/callbacks.rb#560 + # source://activesupport//lib/active_support/callbacks.rb#560 def initialize(nested = T.unsafe(nil), call_template = T.unsafe(nil), user_conditions = T.unsafe(nil)); end - # source://activesupport/lib/active_support/callbacks.rb#574 + # source://activesupport//lib/active_support/callbacks.rb#574 def after(&after); end - # source://activesupport/lib/active_support/callbacks.rb#579 + # source://activesupport//lib/active_support/callbacks.rb#579 def around(call_template, user_conditions); end - # source://activesupport/lib/active_support/callbacks.rb#569 + # source://activesupport//lib/active_support/callbacks.rb#569 def before(&before); end - # source://activesupport/lib/active_support/callbacks.rb#593 + # source://activesupport//lib/active_support/callbacks.rb#593 def expand_call_template(arg, block); end # @return [Boolean] # - # source://activesupport/lib/active_support/callbacks.rb#589 + # source://activesupport//lib/active_support/callbacks.rb#589 def final?; end - # source://activesupport/lib/active_support/callbacks.rb#601 + # source://activesupport//lib/active_support/callbacks.rb#601 def invoke_after(arg); end - # source://activesupport/lib/active_support/callbacks.rb#597 + # source://activesupport//lib/active_support/callbacks.rb#597 def invoke_before(arg); end # Returns the value of attribute nested. # - # source://activesupport/lib/active_support/callbacks.rb#587 + # source://activesupport//lib/active_support/callbacks.rb#587 def nested; end # @return [Boolean] # - # source://activesupport/lib/active_support/callbacks.rb#583 + # source://activesupport//lib/active_support/callbacks.rb#583 def skip?(arg); end end -# source://activesupport/lib/active_support/callbacks.rb#715 +# source://activesupport//lib/active_support/callbacks.rb#715 module ActiveSupport::Callbacks::ClassMethods # This is used internally to append, prepend and skip callbacks to the # CallbackChain. # - # source://activesupport/lib/active_support/callbacks.rb#725 + # source://activesupport//lib/active_support/callbacks.rb#725 def __update_callbacks(name); end # Define sets of events in the object life cycle that support callbacks. @@ -3061,15 +3062,15 @@ module ActiveSupport::Callbacks::ClassMethods # Calling +define_callbacks+ multiple times with the same +names+ will # overwrite previous callbacks registered with #set_callback. # - # source://activesupport/lib/active_support/callbacks.rb#940 + # source://activesupport//lib/active_support/callbacks.rb#940 def define_callbacks(*names); end - # source://activesupport/lib/active_support/callbacks.rb#716 + # source://activesupport//lib/active_support/callbacks.rb#716 def normalize_callback_params(filters, block); end # Remove all set callbacks for the given event. # - # source://activesupport/lib/active_support/callbacks.rb#850 + # source://activesupport//lib/active_support/callbacks.rb#850 def reset_callbacks(name); end # Install a callback for the given event. @@ -3117,7 +3118,7 @@ module ActiveSupport::Callbacks::ClassMethods # * :prepend - If +true+, the callback will be prepended to the # existing chain rather than appended. # - # source://activesupport/lib/active_support/callbacks.rb#776 + # source://activesupport//lib/active_support/callbacks.rb#776 def set_callback(name, *filter_list, &block); end # Skip a previously set callback. Like #set_callback, :if or @@ -3156,154 +3157,175 @@ module ActiveSupport::Callbacks::ClassMethods # An ArgumentError will be raised if the callback has not # already been set (unless the :raise option is set to false). # - # source://activesupport/lib/active_support/callbacks.rb#825 + # source://activesupport//lib/active_support/callbacks.rb#825 def skip_callback(name, *filter_list, &block); end protected - # source://activesupport/lib/active_support/callbacks.rb#971 + # source://activesupport//lib/active_support/callbacks.rb#971 def get_callbacks(name); end - # source://activesupport/lib/active_support/callbacks.rb#975 + # source://activesupport//lib/active_support/callbacks.rb#975 def set_callbacks(name, callbacks); end end -# source://activesupport/lib/active_support/callbacks.rb#153 +# source://activesupport//lib/active_support/callbacks.rb#153 module ActiveSupport::Callbacks::Conditionals; end -# source://activesupport/lib/active_support/callbacks.rb#154 +# source://activesupport//lib/active_support/callbacks.rb#154 class ActiveSupport::Callbacks::Conditionals::Value # @return [Value] a new instance of Value # - # source://activesupport/lib/active_support/callbacks.rb#155 + # source://activesupport//lib/active_support/callbacks.rb#155 def initialize(&block); end - # source://activesupport/lib/active_support/callbacks.rb#158 + # source://activesupport//lib/active_support/callbacks.rb#158 def call(target, value); end end -# source://activesupport/lib/active_support/callbacks.rb#162 +# source://activesupport//lib/active_support/callbacks.rb#162 module ActiveSupport::Callbacks::Filters; end -# source://activesupport/lib/active_support/callbacks.rb#215 +# source://activesupport//lib/active_support/callbacks.rb#215 class ActiveSupport::Callbacks::Filters::After class << self - # source://activesupport/lib/active_support/callbacks.rb#216 + # source://activesupport//lib/active_support/callbacks.rb#216 def build(callback_sequence, user_callback, user_conditions, chain_config); end private - # source://activesupport/lib/active_support/callbacks.rb#258 + # source://activesupport//lib/active_support/callbacks.rb#258 def conditional(callback_sequence, user_callback, user_conditions); end - # source://activesupport/lib/active_support/callbacks.rb#247 + # source://activesupport//lib/active_support/callbacks.rb#247 def halting(callback_sequence, user_callback); end - # source://activesupport/lib/active_support/callbacks.rb#232 + # source://activesupport//lib/active_support/callbacks.rb#232 def halting_and_conditional(callback_sequence, user_callback, user_conditions); end - # source://activesupport/lib/active_support/callbacks.rb#272 + # source://activesupport//lib/active_support/callbacks.rb#272 def simple(callback_sequence, user_callback); end end end -# source://activesupport/lib/active_support/callbacks.rb#165 +# source://activesupport//lib/active_support/callbacks.rb#165 class ActiveSupport::Callbacks::Filters::Before class << self - # source://activesupport/lib/active_support/callbacks.rb#166 + # source://activesupport//lib/active_support/callbacks.rb#166 def build(callback_sequence, user_callback, user_conditions, chain_config, filter, name); end private - # source://activesupport/lib/active_support/callbacks.rb#195 + # source://activesupport//lib/active_support/callbacks.rb#195 def halting(callback_sequence, user_callback, halted_lambda, filter, name); end - # source://activesupport/lib/active_support/callbacks.rb#176 + # source://activesupport//lib/active_support/callbacks.rb#176 def halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter, name); end end end -# source://activesupport/lib/active_support/callbacks.rb#163 +# source://activesupport//lib/active_support/callbacks.rb#163 class ActiveSupport::Callbacks::Filters::Environment < ::Struct # Returns the value of attribute halted # # @return [Object] the current value of halted + # + # source://activesupport//lib/active_support/callbacks.rb#163 def halted; end # Sets the attribute halted # # @param value [Object] the value to set the attribute halted to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def halted=(_); end # Returns the value of attribute target # # @return [Object] the current value of target + # + # source://activesupport//lib/active_support/callbacks.rb#163 def target; end # Sets the attribute target # # @param value [Object] the value to set the attribute target to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def target=(_); end # Returns the value of attribute value # # @return [Object] the current value of value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def value; end # Sets the attribute value # # @param value [Object] the value to set the attribute value to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def value=(_); end class << self + # source://activesupport//lib/active_support/callbacks.rb#163 def [](*_arg0); end + + # source://activesupport//lib/active_support/callbacks.rb#163 def inspect; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def keyword_init?; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def members; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def new(*_arg0); end end end -# source://activesupport/lib/active_support/code_generator.rb#4 +# source://activesupport//lib/active_support/code_generator.rb#4 class ActiveSupport::CodeGenerator # @return [CodeGenerator] a new instance of CodeGenerator # - # source://activesupport/lib/active_support/code_generator.rb#53 + # source://activesupport//lib/active_support/code_generator.rb#53 def initialize(owner, path, line); end - # source://activesupport/lib/active_support/code_generator.rb#60 + # source://activesupport//lib/active_support/code_generator.rb#60 def define_cached_method(canonical_name, namespace:, as: T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/code_generator.rb#64 + # source://activesupport//lib/active_support/code_generator.rb#64 def execute; end class << self - # source://activesupport/lib/active_support/code_generator.rb#41 + # source://activesupport//lib/active_support/code_generator.rb#41 def batch(owner, path, line); end end end -# source://activesupport/lib/active_support/code_generator.rb#5 +# source://activesupport//lib/active_support/code_generator.rb#5 class ActiveSupport::CodeGenerator::MethodSet # @return [MethodSet] a new instance of MethodSet # - # source://activesupport/lib/active_support/code_generator.rb#8 + # source://activesupport//lib/active_support/code_generator.rb#8 def initialize(namespace); end - # source://activesupport/lib/active_support/code_generator.rb#28 + # source://activesupport//lib/active_support/code_generator.rb#28 def apply(owner, path, line); end - # source://activesupport/lib/active_support/code_generator.rb#15 + # source://activesupport//lib/active_support/code_generator.rb#15 def define_cached_method(canonical_name, as: T.unsafe(nil)); end end -# source://activesupport/lib/active_support/code_generator.rb#6 +# source://activesupport//lib/active_support/code_generator.rb#6 ActiveSupport::CodeGenerator::MethodSet::METHOD_CACHES = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/core_ext/range/compare_range.rb#4 +# source://activesupport//lib/active_support/core_ext/range/compare_range.rb#4 module ActiveSupport::CompareWithRange # Extends the default Range#=== to support range comparisons. # (1..5) === (1..5) # => true @@ -3317,7 +3339,7 @@ module ActiveSupport::CompareWithRange # # The given range must be fully bounded, with both start and end. # - # source://activesupport/lib/active_support/core_ext/range/compare_range.rb#16 + # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#16 def ===(value); end # Extends the default Range#include? to support range comparisons. @@ -3334,7 +3356,7 @@ module ActiveSupport::CompareWithRange # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/range/compare_range.rb#41 + # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41 def include?(value); end end @@ -3447,9 +3469,9 @@ end # # prepend is also used for any dependencies. # -# source://activesupport/lib/active_support/concern.rb#112 +# source://activesupport//lib/active_support/concern.rb#112 module ActiveSupport::Concern - # source://activesupport/lib/active_support/concern.rb#129 + # source://activesupport//lib/active_support/concern.rb#129 def append_features(base); end # Define class methods from given block. @@ -3473,81 +3495,81 @@ module ActiveSupport::Concern # Buzz.foo # => "foo" # Buzz.bar # => private method 'bar' called for Buzz:Class(NoMethodError) # - # source://activesupport/lib/active_support/concern.rb#209 + # source://activesupport//lib/active_support/concern.rb#209 def class_methods(&class_methods_module_definition); end # Evaluate given block in context of base class, # so that you can write class macros here. # When you define more than one +included+ block, it raises an exception. # - # source://activesupport/lib/active_support/concern.rb#158 + # source://activesupport//lib/active_support/concern.rb#158 def included(base = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/concern.rb#142 + # source://activesupport//lib/active_support/concern.rb#142 def prepend_features(base); end # Evaluate given block in context of base class, # so that you can write class macros here. # When you define more than one +prepended+ block, it raises an exception. # - # source://activesupport/lib/active_support/concern.rb#175 + # source://activesupport//lib/active_support/concern.rb#175 def prepended(base = T.unsafe(nil), &block); end class << self - # source://activesupport/lib/active_support/concern.rb#125 + # source://activesupport//lib/active_support/concern.rb#125 def extended(base); end end end -# source://activesupport/lib/active_support/concern.rb#113 +# source://activesupport//lib/active_support/concern.rb#113 class ActiveSupport::Concern::MultipleIncludedBlocks < ::StandardError # @return [MultipleIncludedBlocks] a new instance of MultipleIncludedBlocks # - # source://activesupport/lib/active_support/concern.rb#114 + # source://activesupport//lib/active_support/concern.rb#114 def initialize; end end -# source://activesupport/lib/active_support/concern.rb#119 +# source://activesupport//lib/active_support/concern.rb#119 class ActiveSupport::Concern::MultiplePrependBlocks < ::StandardError # @return [MultiplePrependBlocks] a new instance of MultiplePrependBlocks # - # source://activesupport/lib/active_support/concern.rb#120 + # source://activesupport//lib/active_support/concern.rb#120 def initialize; end end -# source://activesupport/lib/active_support/concurrency/share_lock.rb#7 +# source://activesupport//lib/active_support/concurrency/share_lock.rb#7 module ActiveSupport::Concurrency; end # A monitor that will permit dependency loading while blocked waiting for # the lock. # -# source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#32 +# source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#32 class ActiveSupport::Concurrency::LoadInterlockAwareMonitor < ::Monitor include ::ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin end -# source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#7 +# source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#7 module ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin # Enters an exclusive section, but allows dependency loading while blocked # - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#13 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#13 def mon_enter; end - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#18 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#18 def synchronize(&block); end end -# source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#9 +# source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#9 ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin::EXCEPTION_IMMEDIATE = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#8 +# source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#8 ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin::EXCEPTION_NEVER = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/concurrency/null_lock.rb#5 +# source://activesupport//lib/active_support/concurrency/null_lock.rb#5 module ActiveSupport::Concurrency::NullLock extend ::ActiveSupport::Concurrency::NullLock - # source://activesupport/lib/active_support/concurrency/null_lock.rb#8 + # source://activesupport//lib/active_support/concurrency/null_lock.rb#8 def synchronize; end end @@ -3555,13 +3577,13 @@ end # # https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock # -# source://activesupport/lib/active_support/concurrency/share_lock.rb#11 +# source://activesupport//lib/active_support/concurrency/share_lock.rb#11 class ActiveSupport::Concurrency::ShareLock include ::MonitorMixin # @return [ShareLock] a new instance of ShareLock # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#50 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#50 def initialize; end # Execute the supplied block while holding the Exclusive lock. If @@ -3571,19 +3593,19 @@ class ActiveSupport::Concurrency::ShareLock # # See +start_exclusive+ for other options. # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#148 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#148 def exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), after_compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end # We track Thread objects, instead of just using counters, because # we need exclusive locks to be reentrant, and we need to be able # to upgrade share locks to exclusive. # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#18 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#18 def raw_state; end # Execute the supplied block while holding the Share lock. # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#159 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#159 def sharing; end # Returns false if +no_wait+ is set and the lock is not @@ -3601,26 +3623,26 @@ class ActiveSupport::Concurrency::ShareLock # +purpose+ matching, it is possible to yield only to other # threads whose activity will not interfere. # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#76 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#76 def start_exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end - # source://activesupport/lib/active_support/concurrency/share_lock.rb#114 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#114 def start_sharing; end # Relinquish the exclusive lock. Must only be called by the thread # that called start_exclusive (and currently holds the lock). # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#96 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#96 def stop_exclusive(compatible: T.unsafe(nil)); end - # source://activesupport/lib/active_support/concurrency/share_lock.rb#131 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#131 def stop_sharing; end # Temporarily give up all held Share locks while executing the # supplied block, allowing any +compatible+ exclusive lock request # to proceed. # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#171 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#171 def yield_shares(purpose: T.unsafe(nil), compatible: T.unsafe(nil), block_share: T.unsafe(nil)); end private @@ -3629,41 +3651,41 @@ class ActiveSupport::Concurrency::ShareLock # # @return [Boolean] # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#204 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#204 def busy_for_exclusive?(purpose); end # @return [Boolean] # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#209 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#209 def busy_for_sharing?(purpose); end # @return [Boolean] # - # source://activesupport/lib/active_support/concurrency/share_lock.rb#214 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#214 def eligible_waiters?(compatible); end - # source://activesupport/lib/active_support/concurrency/share_lock.rb#218 + # source://activesupport//lib/active_support/concurrency/share_lock.rb#218 def wait_for(method, &block); end end -# source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#36 +# source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#36 class ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor include ::ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin # @return [ThreadLoadInterlockAwareMonitor] a new instance of ThreadLoadInterlockAwareMonitor # - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#39 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#39 def initialize; end - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#13 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#54 def mon_enter; end private - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#60 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#60 def mon_exit; end - # source://activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb#46 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#46 def mon_try_enter; end end @@ -3672,7 +3694,7 @@ end # Configurable provides a config method to store and retrieve # configuration options as an OrderedOptions. # -# source://activesupport/lib/active_support/configurable.rb#11 +# source://activesupport//lib/active_support/configurable.rb#11 module ActiveSupport::Configurable extend ::ActiveSupport::Concern @@ -3694,18 +3716,18 @@ module ActiveSupport::Configurable # user.config.allowed_access # => true # user.config.level # => 1 # - # source://activesupport/lib/active_support/configurable.rb#155 + # source://activesupport//lib/active_support/configurable.rb#155 def config; end end -# source://activesupport/lib/active_support/configurable.rb#29 +# source://activesupport//lib/active_support/configurable.rb#29 module ActiveSupport::Configurable::ClassMethods - # source://activesupport/lib/active_support/configurable.rb#30 + # source://activesupport//lib/active_support/configurable.rb#30 def config; end # @yield [config] # - # source://activesupport/lib/active_support/configurable.rb#39 + # source://activesupport//lib/active_support/configurable.rb#39 def configure; end private @@ -3779,22 +3801,22 @@ module ActiveSupport::Configurable::ClassMethods # User.allowed_access # => false # User.hair_colors # => [:brown, :black, :blonde, :red] # - # source://activesupport/lib/active_support/configurable.rb#111 + # source://activesupport//lib/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/lib/active_support/configurable.rb#132 + # source://activesupport//lib/active_support/configurable.rb#132 def inherited(subclass); end end -# source://activesupport/lib/active_support/configurable.rb#14 +# source://activesupport//lib/active_support/configurable.rb#14 class ActiveSupport::Configurable::Configuration < ::ActiveSupport::InheritableOptions - # source://activesupport/lib/active_support/configurable.rb#15 + # source://activesupport//lib/active_support/configurable.rb#15 def compile_methods!; end class << self # Compiles reader methods so we don't have to go through method_missing. # - # source://activesupport/lib/active_support/configurable.rb#20 + # source://activesupport//lib/active_support/configurable.rb#20 def compile_methods!(keys); end end end @@ -3805,37 +3827,37 @@ end # Warns in case of YAML confusing characters, like invisible # non-breaking spaces. # -# source://activesupport/lib/active_support/configuration_file.rb#9 +# source://activesupport//lib/active_support/configuration_file.rb#9 class ActiveSupport::ConfigurationFile # @return [ConfigurationFile] a new instance of ConfigurationFile # - # source://activesupport/lib/active_support/configuration_file.rb#12 + # source://activesupport//lib/active_support/configuration_file.rb#12 def initialize(content_path); end - # source://activesupport/lib/active_support/configuration_file.rb#21 + # source://activesupport//lib/active_support/configuration_file.rb#21 def parse(context: T.unsafe(nil), **options); end private - # source://activesupport/lib/active_support/configuration_file.rb#35 + # source://activesupport//lib/active_support/configuration_file.rb#35 def read(content_path); end - # source://activesupport/lib/active_support/configuration_file.rb#46 + # source://activesupport//lib/active_support/configuration_file.rb#46 def render(context); end class << self - # source://activesupport/lib/active_support/configuration_file.rb#17 + # source://activesupport//lib/active_support/configuration_file.rb#17 def parse(content_path, **options); end end end -# source://activesupport/lib/active_support/configuration_file.rb#10 +# source://activesupport//lib/active_support/configuration_file.rb#10 class ActiveSupport::ConfigurationFile::FormatError < ::StandardError; end -# source://activesupport/lib/active_support/core_ext/erb/util.rb#6 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#6 module ActiveSupport::CoreExt; end -# source://activesupport/lib/active_support/core_ext/erb/util.rb#7 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#7 module ActiveSupport::CoreExt::ERBUtil # A utility method for escaping HTML tag characters. # This method is also aliased as h. @@ -3843,7 +3865,7 @@ module ActiveSupport::CoreExt::ERBUtil # puts html_escape('is a > 0 & a < 10?') # # => is a > 0 & a < 10? # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#28 def h(s); end # A utility method for escaping HTML tag characters. @@ -3852,29 +3874,29 @@ module ActiveSupport::CoreExt::ERBUtil # puts html_escape('is a > 0 & a < 10?') # # => is a > 0 & a < 10? # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#10 def html_escape(s); end # HTML escapes strings but doesn't wrap them with an ActiveSupport::SafeBuffer. # This method is not for public consumption! Seriously! # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#18 def unwrapped_html_escape(s); end end -# source://activesupport/lib/active_support/core_ext/erb/util.rb#31 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#31 module ActiveSupport::CoreExt::ERBUtilPrivate include ::ActiveSupport::CoreExt::ERBUtil private - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def h(s); end - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def html_escape(s); end - # source://activesupport/lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def unwrapped_html_escape(s); end end @@ -3962,7 +3984,7 @@ end # The attributes stuck in Current should be used by more or less all actions on all requests. If you start # sticking controller-specific attributes in there, you're going to create a mess. # -# source://activesupport/lib/active_support/current_attributes.rb#91 +# source://activesupport//lib/active_support/current_attributes.rb#91 class ActiveSupport::CurrentAttributes include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -3970,36 +3992,36 @@ class ActiveSupport::CurrentAttributes # @return [CurrentAttributes] a new instance of CurrentAttributes # - # source://activesupport/lib/active_support/current_attributes.rb#197 + # source://activesupport//lib/active_support/current_attributes.rb#197 def initialize; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _run_reset_callbacks(&block); end # Returns the value of attribute attributes. # - # source://activesupport/lib/active_support/current_attributes.rb#195 + # source://activesupport//lib/active_support/current_attributes.rb#195 def attributes; end # Sets the attribute attributes # # @param value the value to set the attribute attributes to. # - # source://activesupport/lib/active_support/current_attributes.rb#195 + # source://activesupport//lib/active_support/current_attributes.rb#195 def attributes=(_arg0); end # Reset all attributes. Should be called before and after actions, when used as a per-request singleton. # - # source://activesupport/lib/active_support/current_attributes.rb#220 + # source://activesupport//lib/active_support/current_attributes.rb#220 def reset; end # Expose one or more attributes within a block. Old values are returned after the block concludes. @@ -4013,98 +4035,98 @@ class ActiveSupport::CurrentAttributes # end # end # - # source://activesupport/lib/active_support/current_attributes.rb#211 + # source://activesupport//lib/active_support/current_attributes.rb#211 def set(set_attributes); end private - # source://activesupport/lib/active_support/current_attributes.rb#227 + # source://activesupport//lib/active_support/current_attributes.rb#227 def assign_attributes(new_attributes); end - # source://activesupport/lib/active_support/current_attributes.rb#231 + # source://activesupport//lib/active_support/current_attributes.rb#231 def compute_attributes(keys); end class << self - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks=(value); end # Calls this callback after #reset is called on the instance. Used for resetting external collaborators, like Time.zone. # - # source://activesupport/lib/active_support/current_attributes.rb#151 + # source://activesupport//lib/active_support/current_attributes.rb#154 def after_reset(*methods, &block); end # Declares one or more attributes that will be given both class and instance accessor methods. # - # source://activesupport/lib/active_support/current_attributes.rb#104 + # source://activesupport//lib/active_support/current_attributes.rb#104 def attribute(*names); end # Calls this callback before #reset is called on the instance. Used for resetting external collaborators that depend on current values. # - # source://activesupport/lib/active_support/current_attributes.rb#146 + # source://activesupport//lib/active_support/current_attributes.rb#146 def before_reset(*methods, &block); end - # source://activesupport/lib/active_support/current_attributes.rb#162 + # source://activesupport//lib/active_support/current_attributes.rb#162 def clear_all; end # Returns singleton instance for this class in this thread. If none exists, one is created. # - # source://activesupport/lib/active_support/current_attributes.rb#99 + # source://activesupport//lib/active_support/current_attributes.rb#99 def instance; end - # source://activesupport/lib/active_support/current_attributes.rb#156 + # source://activesupport//lib/active_support/current_attributes.rb#156 def reset(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/current_attributes.rb#158 + # source://activesupport//lib/active_support/current_attributes.rb#158 def reset_all; end # Calls this callback after #reset is called on the instance. Used for resetting external collaborators, like Time.zone. # - # source://activesupport/lib/active_support/current_attributes.rb#151 + # source://activesupport//lib/active_support/current_attributes.rb#151 def resets(*methods, &block); end - # source://activesupport/lib/active_support/current_attributes.rb#156 + # source://activesupport//lib/active_support/current_attributes.rb#156 def set(*_arg0, **_arg1, &_arg2); end private - # source://activesupport/lib/active_support/current_attributes.rb#172 + # source://activesupport//lib/active_support/current_attributes.rb#172 def current_instances; end - # source://activesupport/lib/active_support/current_attributes.rb#176 + # source://activesupport//lib/active_support/current_attributes.rb#176 def current_instances_key; end - # source://activesupport/lib/active_support/current_attributes.rb#168 + # source://activesupport//lib/active_support/current_attributes.rb#168 def generated_attribute_methods; end - # source://activesupport/lib/active_support/current_attributes.rb#180 + # source://activesupport//lib/active_support/current_attributes.rb#180 def method_missing(name, *args, **_arg2, &block); end # @return [Boolean] # - # source://activesupport/lib/active_support/current_attributes.rb#190 + # source://activesupport//lib/active_support/current_attributes.rb#190 def respond_to_missing?(name, _); end end end -# source://activesupport/lib/active_support/current_attributes.rb#95 +# source://activesupport//lib/active_support/current_attributes.rb#95 ActiveSupport::CurrentAttributes::INVALID_ATTRIBUTE_NAMES = T.let(T.unsafe(nil), Array) # Provides +deep_merge+ and +deep_merge!+ methods. Expects the including class # to provide a merge!(other, &block) method. # -# source://activesupport/lib/active_support/deep_mergeable.rb#6 +# source://activesupport//lib/active_support/deep_mergeable.rb#6 module ActiveSupport::DeepMergeable # Returns a new instance with the values from +other+ merged recursively. # @@ -4128,12 +4150,12 @@ module ActiveSupport::DeepMergeable # end # # => { a: 100, b: 450, c: { c1: 300 } } # - # source://activesupport/lib/active_support/deep_mergeable.rb#29 + # source://activesupport//lib/active_support/deep_mergeable.rb#29 def deep_merge(other, &block); end # Same as #deep_merge, but modifies +self+. # - # source://activesupport/lib/active_support/deep_mergeable.rb#34 + # source://activesupport//lib/active_support/deep_mergeable.rb#34 def deep_merge!(other, &block); end # Returns true if +other+ can be deep merged into +self+. Classes may @@ -4142,41 +4164,41 @@ module ActiveSupport::DeepMergeable # # @return [Boolean] # - # source://activesupport/lib/active_support/deep_mergeable.rb#49 + # source://activesupport//lib/active_support/deep_mergeable.rb#49 def deep_merge?(other); end end -# source://activesupport/lib/active_support/dependencies/interlock.rb#6 +# source://activesupport//lib/active_support/dependencies/interlock.rb#6 module ActiveSupport::Dependencies class << self - # source://activesupport/lib/active_support/dependencies.rb#62 + # source://activesupport//lib/active_support/dependencies.rb#62 def _autoloaded_tracked_classes; end - # source://activesupport/lib/active_support/dependencies.rb#62 + # source://activesupport//lib/active_support/dependencies.rb#62 def _autoloaded_tracked_classes=(_arg0); end - # source://activesupport/lib/active_support/dependencies.rb#56 + # source://activesupport//lib/active_support/dependencies.rb#56 def _eager_load_paths; end - # source://activesupport/lib/active_support/dependencies.rb#56 + # source://activesupport//lib/active_support/dependencies.rb#56 def _eager_load_paths=(_arg0); end - # source://activesupport/lib/active_support/dependencies.rb#49 + # source://activesupport//lib/active_support/dependencies.rb#49 def autoload_once_paths; end - # source://activesupport/lib/active_support/dependencies.rb#49 + # source://activesupport//lib/active_support/dependencies.rb#49 def autoload_once_paths=(_arg0); end - # source://activesupport/lib/active_support/dependencies.rb#43 + # source://activesupport//lib/active_support/dependencies.rb#43 def autoload_paths; end - # source://activesupport/lib/active_support/dependencies.rb#43 + # source://activesupport//lib/active_support/dependencies.rb#43 def autoload_paths=(_arg0); end - # source://activesupport/lib/active_support/dependencies.rb#69 + # source://activesupport//lib/active_support/dependencies.rb#69 def autoloader; end - # source://activesupport/lib/active_support/dependencies.rb#69 + # source://activesupport//lib/active_support/dependencies.rb#69 def autoloader=(_arg0); end # Private method that reloads constants autoloaded by the main autoloader. @@ -4185,85 +4207,85 @@ module ActiveSupport::Dependencies # reload. That involves more things, like deleting unloaded classes from the # internal state of the descendants tracker, or reloading routes. # - # source://activesupport/lib/active_support/dependencies.rb#76 + # source://activesupport//lib/active_support/dependencies.rb#76 def clear; end # Private method that helps configuring the autoloaders. # # @return [Boolean] # - # source://activesupport/lib/active_support/dependencies.rb#94 + # source://activesupport//lib/active_support/dependencies.rb#94 def eager_load?(path); end - # source://activesupport/lib/active_support/dependencies.rb#10 + # source://activesupport//lib/active_support/dependencies.rb#10 def interlock; end - # source://activesupport/lib/active_support/dependencies.rb#10 + # source://activesupport//lib/active_support/dependencies.rb#10 def interlock=(_arg0); end # Execute the supplied block while holding an exclusive lock, # preventing any other thread from being inside a #run_interlock # block at the same time. # - # source://activesupport/lib/active_support/dependencies.rb#24 + # source://activesupport//lib/active_support/dependencies.rb#24 def load_interlock(&block); end # Execute the supplied block without interference from any # concurrent loads. # - # source://activesupport/lib/active_support/dependencies.rb#17 + # source://activesupport//lib/active_support/dependencies.rb#17 def run_interlock(&block); end # Private method used by require_dependency. # - # source://activesupport/lib/active_support/dependencies.rb#84 + # source://activesupport//lib/active_support/dependencies.rb#84 def search_for_file(relpath); end # Execute the supplied block while holding an exclusive lock, # preventing any other thread from being inside a #run_interlock # block at the same time. # - # source://activesupport/lib/active_support/dependencies.rb#31 + # source://activesupport//lib/active_support/dependencies.rb#31 def unload_interlock(&block); end end end -# source://activesupport/lib/active_support/dependencies/interlock.rb#7 +# source://activesupport//lib/active_support/dependencies/interlock.rb#7 class ActiveSupport::Dependencies::Interlock # @return [Interlock] a new instance of Interlock # - # source://activesupport/lib/active_support/dependencies/interlock.rb#8 + # source://activesupport//lib/active_support/dependencies/interlock.rb#8 def initialize; end - # source://activesupport/lib/active_support/dependencies/interlock.rb#32 + # source://activesupport//lib/active_support/dependencies/interlock.rb#32 def done_running; end - # source://activesupport/lib/active_support/dependencies/interlock.rb#24 + # source://activesupport//lib/active_support/dependencies/interlock.rb#24 def done_unloading; end - # source://activesupport/lib/active_support/dependencies/interlock.rb#12 + # source://activesupport//lib/active_support/dependencies/interlock.rb#12 def loading(&block); end - # source://activesupport/lib/active_support/dependencies/interlock.rb#40 + # source://activesupport//lib/active_support/dependencies/interlock.rb#40 def permit_concurrent_loads(&block); end - # source://activesupport/lib/active_support/dependencies/interlock.rb#44 + # source://activesupport//lib/active_support/dependencies/interlock.rb#44 def raw_state(&block); end - # source://activesupport/lib/active_support/dependencies/interlock.rb#36 + # source://activesupport//lib/active_support/dependencies/interlock.rb#36 def running(&block); end - # source://activesupport/lib/active_support/dependencies/interlock.rb#28 + # source://activesupport//lib/active_support/dependencies/interlock.rb#28 def start_running; end - # source://activesupport/lib/active_support/dependencies/interlock.rb#20 + # source://activesupport//lib/active_support/dependencies/interlock.rb#20 def start_unloading; end - # source://activesupport/lib/active_support/dependencies/interlock.rb#16 + # source://activesupport//lib/active_support/dependencies/interlock.rb#16 def unloading(&block); end end -# source://activesupport/lib/active_support/dependencies/require_dependency.rb#3 +# source://activesupport//lib/active_support/dependencies/require_dependency.rb#3 module ActiveSupport::Dependencies::RequireDependency # Warning: This method is obsolete. The semantics of the autoloader # match Ruby's and you do not need to be defensive with load order anymore. @@ -4273,7 +4295,7 @@ module ActiveSupport::Dependencies::RequireDependency # should call +require_dependency+ where needed in case the runtime mode is # +:classic+. # - # source://activesupport/lib/active_support/dependencies/require_dependency.rb#11 + # source://activesupport//lib/active_support/dependencies/require_dependency.rb#11 def require_dependency(filename); end end @@ -4307,7 +4329,7 @@ end # # in config/environments/test.rb # config.active_support.deprecation = :raise # -# source://activesupport/lib/active_support/deprecation.rb#35 +# source://activesupport//lib/active_support/deprecation.rb#35 class ActiveSupport::Deprecation include ::ActiveSupport::Deprecation::InstanceDelegator include ::ActiveSupport::Deprecation::Behavior @@ -4324,81 +4346,81 @@ class ActiveSupport::Deprecation # # @return [Deprecation] a new instance of Deprecation # - # source://activesupport/lib/active_support/deprecation.rb#68 + # source://activesupport//lib/active_support/deprecation.rb#68 def initialize(deprecation_horizon = T.unsafe(nil), gem_name = T.unsafe(nil)); end # The version number in which the deprecated behavior will be removed, by default. # - # source://activesupport/lib/active_support/deprecation.rb#62 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon; end # The version number in which the deprecated behavior will be removed, by default. # - # source://activesupport/lib/active_support/deprecation.rb#62 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon=(_arg0); end class << self - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def allow(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def begin_silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def behavior(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def behavior=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def debug(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def debug=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#59 def deprecate_methods(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#58 + # source://activesupport//lib/active_support/deprecation.rb#57 def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def disallowed_behavior(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def disallowed_behavior=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#58 def disallowed_warnings(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#58 def disallowed_warnings=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def end_silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def gem_name(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def gem_name=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silenced(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silenced=(arg); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#53 + # source://activesupport//lib/active_support/deprecation.rb#57 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end end end @@ -4417,11 +4439,11 @@ end # Setting behaviors only affects deprecations that happen after boot time. # For more information you can read the documentation of the #behavior= method. # -# source://activesupport/lib/active_support/deprecation/behaviors.rb#69 +# source://activesupport//lib/active_support/deprecation/behaviors.rb#69 module ActiveSupport::Deprecation::Behavior # Returns the current behavior or if one isn't set, defaults to +:stderr+. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#74 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#74 def behavior; end # Sets the behavior to the specified value. Can be a single value, array, @@ -4453,22 +4475,22 @@ module ActiveSupport::Deprecation::Behavior # all deprecation behaviors. This is similar to the +:silence+ option but # more performant. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#111 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#111 def behavior=(behavior); end # Whether to print a backtrace along with the warning. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#71 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#71 def debug; end # Whether to print a backtrace along with the warning. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#71 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#71 def debug=(_arg0); end # Returns the current behavior for disallowed deprecations or if one isn't set, defaults to +:raise+. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#79 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#79 def disallowed_behavior; end # Sets the behavior for disallowed deprecations (those configured by @@ -4476,21 +4498,21 @@ module ActiveSupport::Deprecation::Behavior # value. As with #behavior=, this can be a single value, array, or an # object that responds to +call+. # - # source://activesupport/lib/active_support/deprecation/behaviors.rb#119 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#119 def disallowed_behavior=(behavior); end private - # source://activesupport/lib/active_support/deprecation/behaviors.rb#124 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#124 def arity_coerce(behavior); end - # source://activesupport/lib/active_support/deprecation/behaviors.rb#143 + # source://activesupport//lib/active_support/deprecation/behaviors.rb#143 def arity_of_callable(callable); end end # Default warning behaviors per Rails.env. # -# source://activesupport/lib/active_support/deprecation/behaviors.rb#13 +# source://activesupport//lib/active_support/deprecation/behaviors.rb#13 ActiveSupport::Deprecation::DEFAULT_BEHAVIORS = T.let(T.unsafe(nil), Hash) # DeprecatedConstantAccessor transforms a constant into a deprecated one by @@ -4516,12 +4538,12 @@ ActiveSupport::Deprecation::DEFAULT_BEHAVIORS = T.let(T.unsafe(nil), Hash) # (Backtrace information…) # ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"] # -# source://activesupport/lib/active_support/deprecation/constant_accessor.rb#27 +# source://activesupport//lib/active_support/deprecation/constant_accessor.rb#27 module ActiveSupport::Deprecation::DeprecatedConstantAccessor class << self # @private # - # source://activesupport/lib/active_support/deprecation/constant_accessor.rb#28 + # source://activesupport//lib/active_support/deprecation/constant_accessor.rb#28 def included(base); end end end @@ -4542,14 +4564,14 @@ end # (Backtrace information…) # ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"] # -# source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#122 +# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#122 class ActiveSupport::Deprecation::DeprecatedConstantProxy < ::Module # @return [DeprecatedConstantProxy] a new instance of DeprecatedConstantProxy # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#130 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#130 def initialize(old_const, new_const, deprecator = T.unsafe(nil), message: T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#161 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#161 def append_features(base); end # Returns the class of the new constant. @@ -4558,46 +4580,46 @@ class ActiveSupport::Deprecation::DeprecatedConstantProxy < ::Module # PLANETS = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('PLANETS', 'PLANETS_POST_2006') # PLANETS.class # => Array # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#157 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#157 def class; end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#171 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#171 def extended(base); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#150 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#150 def hash(*_arg0, **_arg1, &_arg2); end # Don't give a deprecation warning on inspect since test/unit and error # logs rely on it for diagnostics. # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#144 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#144 def inspect; end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#150 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#150 def instance_methods(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#150 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#150 def name(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#166 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#166 def prepend_features(base); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#150 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#150 def respond_to?(*_arg0, **_arg1, &_arg2); end private - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#181 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#181 def const_missing(name); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#186 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#186 def method_missing(called, *args, &block); end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#177 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#177 def target; end class << self - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#123 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#123 def new(*args, **options, &block); end end end @@ -4635,19 +4657,19 @@ end # example.request.to_s # # => "special_request" # -# source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#88 +# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#88 class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ::ActiveSupport::Deprecation::DeprecationProxy # @return [DeprecatedInstanceVariableProxy] a new instance of DeprecatedInstanceVariableProxy # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#89 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#89 def initialize(instance, method, var = T.unsafe(nil), deprecator = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#98 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#98 def target; end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#102 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#102 def warn(callstack, called, args); end end @@ -4662,37 +4684,37 @@ end # (Backtrace) # # => "#" # -# source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#38 +# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#38 class ActiveSupport::Deprecation::DeprecatedObjectProxy < ::ActiveSupport::Deprecation::DeprecationProxy # @return [DeprecatedObjectProxy] a new instance of DeprecatedObjectProxy # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#39 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#39 def initialize(object, message, deprecator = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#47 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#47 def target; end - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#51 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#51 def warn(callstack, called, args); end end -# source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#5 +# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#5 class ActiveSupport::Deprecation::DeprecationProxy # Don't give a deprecation warning on inspect since test/unit and error # logs rely on it for diagnostics. # - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#17 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#17 def inspect; end private - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#22 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#22 def method_missing(called, *args, &block); end class << self - # source://activesupport/lib/active_support/deprecation/proxy_wrappers.rb#6 + # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#6 def new(*args, &block); end end end @@ -4702,16 +4724,16 @@ end # #silence method silences all deprecators in the collection for the # duration of a given block. # -# source://activesupport/lib/active_support/deprecation/deprecators.rb#9 +# source://activesupport//lib/active_support/deprecation/deprecators.rb#9 class ActiveSupport::Deprecation::Deprecators # @return [Deprecators] a new instance of Deprecators # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#10 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#10 def initialize; end # Returns a deprecator added to this collection via #[]=. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#16 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#16 def [](name); end # Adds a given +deprecator+ to this collection. The deprecator will be @@ -4728,7 +4750,7 @@ class ActiveSupport::Deprecation::Deprecators # deprecators[:foo].debug # => true # foo_deprecator.debug # => true # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#34 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#34 def []=(name, deprecator); end # Sets the deprecation warning behavior for all deprecators in this @@ -4736,12 +4758,12 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#behavior=. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#60 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#60 def behavior=(behavior); end # Sets the debug flag for all deprecators in this collection. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#52 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#52 def debug=(debug); end # Sets the disallowed deprecation warning behavior for all deprecators in @@ -4749,7 +4771,7 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#disallowed_behavior=. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#68 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#68 def disallowed_behavior=(disallowed_behavior); end # Sets the disallowed deprecation warnings for all deprecators in this @@ -4757,13 +4779,13 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#disallowed_warnings=. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#76 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#76 def disallowed_warnings=(disallowed_warnings); end # Iterates over all deprecators in this collection. If no block is given, # returns an +Enumerator+. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#41 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#41 def each(&block); end # Silences all deprecators in this collection for the duration of the @@ -4771,29 +4793,29 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#silence. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#84 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#84 def silence(&block); end # Sets the silenced flag for all deprecators in this collection. # - # source://activesupport/lib/active_support/deprecation/deprecators.rb#47 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#47 def silenced=(silenced); end private - # source://activesupport/lib/active_support/deprecation/deprecators.rb#97 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#97 def apply_options(deprecator); end - # source://activesupport/lib/active_support/deprecation/deprecators.rb#92 + # source://activesupport//lib/active_support/deprecation/deprecators.rb#92 def set_option(name, value); end end -# source://activesupport/lib/active_support/deprecation/disallowed.rb#5 +# source://activesupport//lib/active_support/deprecation/disallowed.rb#5 module ActiveSupport::Deprecation::Disallowed # Returns the configured criteria used to identify deprecation messages # which should be treated as disallowed. # - # source://activesupport/lib/active_support/deprecation/disallowed.rb#21 + # source://activesupport//lib/active_support/deprecation/disallowed.rb#21 def disallowed_warnings; end # Sets the criteria used to identify deprecation messages which should be @@ -4808,23 +4830,23 @@ module ActiveSupport::Deprecation::Disallowed # using the configured Behavior#disallowed_behavior rather than # Behavior#behavior. # - # source://activesupport/lib/active_support/deprecation/disallowed.rb#17 + # source://activesupport//lib/active_support/deprecation/disallowed.rb#17 def disallowed_warnings=(_arg0); end private # @return [Boolean] # - # source://activesupport/lib/active_support/deprecation/disallowed.rb#26 + # source://activesupport//lib/active_support/deprecation/disallowed.rb#26 def deprecation_disallowed?(message); end # @return [Boolean] # - # source://activesupport/lib/active_support/deprecation/disallowed.rb#39 + # source://activesupport//lib/active_support/deprecation/disallowed.rb#39 def explicitly_allowed?(message); end end -# source://activesupport/lib/active_support/deprecation/instance_delegator.rb#5 +# source://activesupport//lib/active_support/deprecation/instance_delegator.rb#5 module ActiveSupport::Deprecation::InstanceDelegator mixes_in_class_methods ::ActiveSupport::Deprecation::InstanceDelegator::ClassMethods mixes_in_class_methods ::ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators @@ -4832,39 +4854,39 @@ module ActiveSupport::Deprecation::InstanceDelegator class << self # @private # - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#6 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#6 def included(base); end end end -# source://activesupport/lib/active_support/deprecation/instance_delegator.rb#11 +# source://activesupport//lib/active_support/deprecation/instance_delegator.rb#11 module ActiveSupport::Deprecation::InstanceDelegator::ClassMethods - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#47 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#47 def _instance; end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#15 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#15 def include(included_module); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#42 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#42 def instance; end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#20 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#20 def method_added(method_name); end end -# source://activesupport/lib/active_support/deprecation/instance_delegator.rb#12 +# source://activesupport//lib/active_support/deprecation/instance_delegator.rb#12 ActiveSupport::Deprecation::InstanceDelegator::ClassMethods::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://activesupport/lib/active_support/deprecation/instance_delegator.rb#52 +# source://activesupport//lib/active_support/deprecation/instance_delegator.rb#52 module ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#58 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#58 def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/instance_delegator.rb#53 + # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#53 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/deprecation/method_wrappers.rb#8 +# source://activesupport//lib/active_support/deprecation/method_wrappers.rb#8 module ActiveSupport::Deprecation::MethodWrapper # Declare that a method has been deprecated. # @@ -4893,11 +4915,11 @@ module ActiveSupport::Deprecation::MethodWrapper # # DEPRECATION WARNING: ccc is deprecated and will be removed from MyGem next-release (use Bar#ccc instead). (called from irb_binding at (irb):12) # # => nil # - # source://activesupport/lib/active_support/deprecation/method_wrappers.rb#35 + # source://activesupport//lib/active_support/deprecation/method_wrappers.rb#35 def deprecate_methods(target_module, *method_names); end end -# source://activesupport/lib/active_support/deprecation/reporting.rb#7 +# source://activesupport//lib/active_support/deprecation/reporting.rb#7 module ActiveSupport::Deprecation::Reporting # Allow previously disallowed deprecation warnings within the block. # allowed_warnings can be an array containing strings, symbols, or regular @@ -4929,26 +4951,26 @@ module ActiveSupport::Deprecation::Reporting # end # # => ActiveSupport::DeprecationException for dev/test, nil for production # - # source://activesupport/lib/active_support/deprecation/reporting.rb#89 + # source://activesupport//lib/active_support/deprecation/reporting.rb#89 def allow(allowed_warnings = T.unsafe(nil), if: T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#48 + # source://activesupport//lib/active_support/deprecation/reporting.rb#48 def begin_silence; end - # source://activesupport/lib/active_support/deprecation/reporting.rb#99 + # source://activesupport//lib/active_support/deprecation/reporting.rb#99 def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#52 + # source://activesupport//lib/active_support/deprecation/reporting.rb#52 def end_silence; end # Name of gem where method is deprecated # - # source://activesupport/lib/active_support/deprecation/reporting.rb#11 + # source://activesupport//lib/active_support/deprecation/reporting.rb#11 def gem_name; end # Name of gem where method is deprecated # - # source://activesupport/lib/active_support/deprecation/reporting.rb#11 + # source://activesupport//lib/active_support/deprecation/reporting.rb#11 def gem_name=(_arg0); end # Silence deprecation warnings within the block. @@ -4962,15 +4984,15 @@ module ActiveSupport::Deprecation::Reporting # end # # => nil # - # source://activesupport/lib/active_support/deprecation/reporting.rb#41 + # source://activesupport//lib/active_support/deprecation/reporting.rb#41 def silence(&block); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#56 + # source://activesupport//lib/active_support/deprecation/reporting.rb#56 def silenced; end # Whether to print a message (silent mode) # - # source://activesupport/lib/active_support/deprecation/reporting.rb#9 + # source://activesupport//lib/active_support/deprecation/reporting.rb#9 def silenced=(_arg0); end # Outputs a deprecation warning to the output configured by @@ -4979,12 +5001,12 @@ module ActiveSupport::Deprecation::Reporting # ActiveSupport::Deprecation.new.warn('something broke!') # # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)" # - # source://activesupport/lib/active_support/deprecation/reporting.rb#18 + # source://activesupport//lib/active_support/deprecation/reporting.rb#18 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/deprecation/reporting.rb#153 + # source://activesupport//lib/active_support/deprecation/reporting.rb#153 def _extract_callstack(callstack); end # Outputs a deprecation warning message @@ -4996,34 +5018,34 @@ module ActiveSupport::Deprecation::Reporting # deprecated_method_warning(:method_name, "Optional message") # # => "method_name is deprecated and will be removed from Rails #{deprecation_horizon} (Optional message)" # - # source://activesupport/lib/active_support/deprecation/reporting.rb#115 + # source://activesupport//lib/active_support/deprecation/reporting.rb#115 def deprecated_method_warning(method_name, message = T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#129 + # source://activesupport//lib/active_support/deprecation/reporting.rb#129 def deprecation_caller_message(callstack); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#124 + # source://activesupport//lib/active_support/deprecation/reporting.rb#124 def deprecation_message(callstack, message = T.unsafe(nil)); end - # source://activesupport/lib/active_support/deprecation/reporting.rb#140 + # source://activesupport//lib/active_support/deprecation/reporting.rb#140 def extract_callstack(callstack); end # @return [Boolean] # - # source://activesupport/lib/active_support/deprecation/reporting.rb#169 + # source://activesupport//lib/active_support/deprecation/reporting.rb#169 def ignored_callstack?(path); end end -# source://activesupport/lib/active_support/deprecation/reporting.rb#167 +# source://activesupport//lib/active_support/deprecation/reporting.rb#167 ActiveSupport::Deprecation::Reporting::LIB_DIR = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/deprecation/reporting.rb#166 +# source://activesupport//lib/active_support/deprecation/reporting.rb#166 ActiveSupport::Deprecation::Reporting::RAILS_GEM_ROOT = T.let(T.unsafe(nil), String) # Raised when ActiveSupport::Deprecation::Behavior#behavior is set with :raise. # You would set :raise, as a behavior to raise errors and proactively report exceptions from deprecations. # -# source://activesupport/lib/active_support/deprecation/behaviors.rb#8 +# source://activesupport//lib/active_support/deprecation/behaviors.rb#8 class ActiveSupport::DeprecationException < ::StandardError; end # = Active Support Descendants Tracker @@ -5035,35 +5057,35 @@ class ActiveSupport::DeprecationException < ::StandardError; end # so if you know your code won't be executed on older rubies, including # +ActiveSupport::DescendantsTracker+ does not provide any benefit. # -# source://activesupport/lib/active_support/descendants_tracker.rb#15 +# source://activesupport//lib/active_support/descendants_tracker.rb#15 module ActiveSupport::DescendantsTracker - # source://activesupport/lib/active_support/descendants_tracker.rb#109 + # source://activesupport//lib/active_support/descendants_tracker.rb#109 def descendants; end class << self - # source://activesupport/lib/active_support/descendants_tracker.rb#79 + # source://activesupport//lib/active_support/descendants_tracker.rb#79 def clear(classes); end - # source://activesupport/lib/active_support/descendants_tracker.rb#104 + # source://activesupport//lib/active_support/descendants_tracker.rb#104 def descendants(klass); end - # source://activesupport/lib/active_support/descendants_tracker.rb#70 + # source://activesupport//lib/active_support/descendants_tracker.rb#70 def disable_clear!; end - # source://activesupport/lib/active_support/descendants_tracker.rb#90 + # source://activesupport//lib/active_support/descendants_tracker.rb#90 def reject!(classes); end - # source://activesupport/lib/active_support/descendants_tracker.rb#100 + # source://activesupport//lib/active_support/descendants_tracker.rb#100 def subclasses(klass); end end end -# source://activesupport/lib/active_support/descendants_tracker.rb#59 +# source://activesupport//lib/active_support/descendants_tracker.rb#59 module ActiveSupport::DescendantsTracker::ReloadedClassesFiltering - # source://activesupport/lib/active_support/descendants_tracker.rb#64 + # source://activesupport//lib/active_support/descendants_tracker.rb#64 def descendants; end - # source://activesupport/lib/active_support/descendants_tracker.rb#60 + # source://activesupport//lib/active_support/descendants_tracker.rb#60 def subclasses; end end @@ -5073,26 +5095,27 @@ end # JRuby for now doesn't have Class#descendant, but when it will, it will likely # have the same WeakMap semantic than Truffle so we future proof this as much as possible. # -# source://activesupport/lib/active_support/descendants_tracker.rb#21 +# source://activesupport//lib/active_support/descendants_tracker.rb#21 class ActiveSupport::DescendantsTracker::WeakSet < ::ObjectSpace::WeakMap - # source://activesupport/lib/active_support/descendants_tracker.rb#24 + # source://activesupport//lib/active_support/descendants_tracker.rb#24 def <<(object); end + # source://activesupport//lib/active_support/descendants_tracker.rb#22 def to_a; end end -# source://activesupport/lib/active_support/digest.rb#6 +# source://activesupport//lib/active_support/digest.rb#6 class ActiveSupport::Digest class << self - # source://activesupport/lib/active_support/digest.rb#8 + # source://activesupport//lib/active_support/digest.rb#8 def hash_digest_class; end # @raise [ArgumentError] # - # source://activesupport/lib/active_support/digest.rb#12 + # source://activesupport//lib/active_support/digest.rb#12 def hash_digest_class=(klass); end - # source://activesupport/lib/active_support/digest.rb#17 + # source://activesupport//lib/active_support/digest.rb#17 def hexdigest(arg); end end end @@ -5104,87 +5127,87 @@ end # # 1.month.ago # equivalent to Time.now.advance(months: -1) # -# source://activesupport/lib/active_support/duration.rb#14 +# source://activesupport//lib/active_support/duration.rb#14 class ActiveSupport::Duration # @return [Duration] a new instance of Duration # - # source://activesupport/lib/active_support/duration.rb#224 + # source://activesupport//lib/active_support/duration.rb#224 def initialize(value, parts, variable = T.unsafe(nil)); end # Returns the modulo of this Duration by another Duration or Numeric. # Numeric values are treated as seconds. # - # source://activesupport/lib/active_support/duration.rb#307 + # source://activesupport//lib/active_support/duration.rb#307 def %(other); end # Multiplies this Duration by a Numeric and returns a new Duration. # - # source://activesupport/lib/active_support/duration.rb#282 + # source://activesupport//lib/active_support/duration.rb#282 def *(other); end # Adds another Duration or a Numeric to this Duration. Numeric values # are treated as seconds. # - # source://activesupport/lib/active_support/duration.rb#263 + # source://activesupport//lib/active_support/duration.rb#263 def +(other); end - # source://activesupport/lib/active_support/duration.rb#321 + # source://activesupport//lib/active_support/duration.rb#321 def +@; end # Subtracts another Duration or a Numeric from this Duration. Numeric # values are treated as seconds. # - # source://activesupport/lib/active_support/duration.rb#277 + # source://activesupport//lib/active_support/duration.rb#277 def -(other); end - # source://activesupport/lib/active_support/duration.rb#317 + # source://activesupport//lib/active_support/duration.rb#317 def -@; end # Divides this Duration by a Numeric and returns a new Duration. # - # source://activesupport/lib/active_support/duration.rb#293 + # source://activesupport//lib/active_support/duration.rb#293 def /(other); end # Compares one Duration with another or a Numeric to this Duration. # Numeric values are treated as seconds. # - # source://activesupport/lib/active_support/duration.rb#253 + # source://activesupport//lib/active_support/duration.rb#253 def <=>(other); end # Returns +true+ if +other+ is also a Duration instance with the # same +value+, or if other == value. # - # source://activesupport/lib/active_support/duration.rb#336 + # source://activesupport//lib/active_support/duration.rb#336 def ==(other); end - # source://activesupport/lib/active_support/duration.rb#476 + # source://activesupport//lib/active_support/duration.rb#476 def _parts; end # Calculates a new Time or Date that is as far in the future # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#431 + # source://activesupport//lib/active_support/duration.rb#435 def after(time = T.unsafe(nil)); end # Calculates a new Time or Date that is as far in the past # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#439 + # source://activesupport//lib/active_support/duration.rb#439 def ago(time = T.unsafe(nil)); end - # source://activesupport/lib/active_support/duration.rb#454 + # source://activesupport//lib/active_support/duration.rb#454 def as_json(options = T.unsafe(nil)); end # Calculates a new Time or Date that is as far in the past # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#439 + # source://activesupport//lib/active_support/duration.rb#443 def before(time = T.unsafe(nil)); end - # source://activesupport/lib/active_support/duration.rb#240 + # source://activesupport//lib/active_support/duration.rb#240 def coerce(other); end - # source://activesupport/lib/active_support/duration.rb#462 + # source://activesupport//lib/active_support/duration.rb#462 def encode_with(coder); end # Returns +true+ if +other+ is also a Duration instance, which has the @@ -5192,44 +5215,44 @@ class ActiveSupport::Duration # # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#421 + # source://activesupport//lib/active_support/duration.rb#421 def eql?(other); end # Calculates a new Time or Date that is as far in the future # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#431 + # source://activesupport//lib/active_support/duration.rb#434 def from_now(time = T.unsafe(nil)); end - # source://activesupport/lib/active_support/duration.rb#425 + # source://activesupport//lib/active_support/duration.rb#425 def hash; end # Returns the amount of days a duration covers as a float # # 12.hours.in_days # => 0.5 # - # source://activesupport/lib/active_support/duration.rb#394 + # source://activesupport//lib/active_support/duration.rb#394 def in_days; end # Returns the amount of hours a duration covers as a float # # 1.day.in_hours # => 24.0 # - # source://activesupport/lib/active_support/duration.rb#387 + # source://activesupport//lib/active_support/duration.rb#387 def in_hours; end # Returns the amount of minutes a duration covers as a float # # 1.day.in_minutes # => 1440.0 # - # source://activesupport/lib/active_support/duration.rb#380 + # source://activesupport//lib/active_support/duration.rb#380 def in_minutes; end # Returns the amount of months a duration covers as a float # # 9.weeks.in_months # => 2.07 # - # source://activesupport/lib/active_support/duration.rb#408 + # source://activesupport//lib/active_support/duration.rb#408 def in_months; end # Returns the number of seconds that this Duration represents. @@ -5253,59 +5276,59 @@ class ActiveSupport::Duration # Time[https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be used for precision # date and time arithmetic. # - # source://activesupport/lib/active_support/duration.rb#372 + # source://activesupport//lib/active_support/duration.rb#375 def in_seconds; end # Returns the amount of weeks a duration covers as a float # # 2.months.in_weeks # => 8.696 # - # source://activesupport/lib/active_support/duration.rb#401 + # source://activesupport//lib/active_support/duration.rb#401 def in_weeks; end # Returns the amount of years a duration covers as a float # # 30.days.in_years # => 0.082 # - # source://activesupport/lib/active_support/duration.rb#415 + # source://activesupport//lib/active_support/duration.rb#415 def in_years; end - # source://activesupport/lib/active_support/duration.rb#458 + # source://activesupport//lib/active_support/duration.rb#458 def init_with(coder); end - # source://activesupport/lib/active_support/duration.rb#445 + # source://activesupport//lib/active_support/duration.rb#445 def inspect; end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#330 + # source://activesupport//lib/active_support/duration.rb#330 def instance_of?(klass); end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#325 + # source://activesupport//lib/active_support/duration.rb#325 def is_a?(klass); end # Build ISO 8601 Duration string for this duration. # The +precision+ parameter can be used to limit seconds' precision of duration. # - # source://activesupport/lib/active_support/duration.rb#468 + # source://activesupport//lib/active_support/duration.rb#468 def iso8601(precision: T.unsafe(nil)); end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#325 + # source://activesupport//lib/active_support/duration.rb#328 def kind_of?(klass); end # Returns a copy of the parts hash that defines the duration # - # source://activesupport/lib/active_support/duration.rb#236 + # source://activesupport//lib/active_support/duration.rb#236 def parts; end # Calculates a new Time or Date that is as far in the future # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#431 + # source://activesupport//lib/active_support/duration.rb#431 def since(time = T.unsafe(nil)); end # Returns the number of seconds that this Duration represents. @@ -5329,7 +5352,7 @@ class ActiveSupport::Duration # Time[https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be used for precision # date and time arithmetic. # - # source://activesupport/lib/active_support/duration.rb#372 + # source://activesupport//lib/active_support/duration.rb#372 def to_i; end # Returns the amount of seconds a duration covers as a string. @@ -5337,45 +5360,45 @@ class ActiveSupport::Duration # # 1.day.to_s # => "86400" # - # source://activesupport/lib/active_support/duration.rb#348 + # source://activesupport//lib/active_support/duration.rb#348 def to_s; end # Calculates a new Time or Date that is as far in the past # as this Duration represents. # - # source://activesupport/lib/active_support/duration.rb#439 + # source://activesupport//lib/active_support/duration.rb#442 def until(time = T.unsafe(nil)); end # Returns the value of attribute value. # - # source://activesupport/lib/active_support/duration.rb#133 + # source://activesupport//lib/active_support/duration.rb#133 def value; end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#472 + # source://activesupport//lib/active_support/duration.rb#472 def variable?; end private - # source://activesupport/lib/active_support/duration.rb#507 + # source://activesupport//lib/active_support/duration.rb#507 def method_missing(method, *args, &block); end # @raise [TypeError] # - # source://activesupport/lib/active_support/duration.rb#511 + # source://activesupport//lib/active_support/duration.rb#511 def raise_type_error(other); end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#503 + # source://activesupport//lib/active_support/duration.rb#503 def respond_to_missing?(method, _); end - # source://activesupport/lib/active_support/duration.rb#481 + # source://activesupport//lib/active_support/duration.rb#481 def sum(sign, time = T.unsafe(nil)); end class << self - # source://activesupport/lib/active_support/duration.rb#149 + # source://activesupport//lib/active_support/duration.rb#149 def ===(other); end # Creates a new Duration from a seconds value that is converted @@ -5384,19 +5407,19 @@ class ActiveSupport::Duration # ActiveSupport::Duration.build(31556952).parts # => {:years=>1} # ActiveSupport::Duration.build(2716146).parts # => {:months=>1, :days=>1} # - # source://activesupport/lib/active_support/duration.rb#189 + # source://activesupport//lib/active_support/duration.rb#189 def build(value); end - # source://activesupport/lib/active_support/duration.rb#167 + # source://activesupport//lib/active_support/duration.rb#167 def days(value); end - # source://activesupport/lib/active_support/duration.rb#163 + # source://activesupport//lib/active_support/duration.rb#163 def hours(value); end - # source://activesupport/lib/active_support/duration.rb#159 + # source://activesupport//lib/active_support/duration.rb#159 def minutes(value); end - # source://activesupport/lib/active_support/duration.rb#175 + # source://activesupport//lib/active_support/duration.rb#175 def months(value); end # Creates a new Duration from string formatted according to ISO 8601 Duration. @@ -5405,21 +5428,21 @@ class ActiveSupport::Duration # This method allows negative parts to be present in pattern. # If invalid string is provided, it will raise +ActiveSupport::Duration::ISO8601Parser::ParsingError+. # - # source://activesupport/lib/active_support/duration.rb#144 + # source://activesupport//lib/active_support/duration.rb#144 def parse(iso8601duration); end - # source://activesupport/lib/active_support/duration.rb#155 + # source://activesupport//lib/active_support/duration.rb#155 def seconds(value); end - # source://activesupport/lib/active_support/duration.rb#171 + # source://activesupport//lib/active_support/duration.rb#171 def weeks(value); end - # source://activesupport/lib/active_support/duration.rb#179 + # source://activesupport//lib/active_support/duration.rb#179 def years(value); end private - # source://activesupport/lib/active_support/duration.rb#217 + # source://activesupport//lib/active_support/duration.rb#217 def calculate_total_seconds(parts); end end end @@ -5430,132 +5453,132 @@ end # # This parser allows negative parts to be present in pattern. # -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#12 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#12 class ActiveSupport::Duration::ISO8601Parser # @return [ISO8601Parser] a new instance of ISO8601Parser # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#34 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#34 def initialize(string); end # Returns the value of attribute mode. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#32 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#32 def mode; end # Sets the attribute mode # # @param value the value to set the attribute mode to. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#32 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#32 def mode=(_arg0); end - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#41 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#41 def parse!; end # Returns the value of attribute parts. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#31 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#31 def parts; end # Returns the value of attribute scanner. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#31 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#31 def scanner; end # Returns the value of attribute sign. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#32 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#32 def sign; end # Sets the attribute sign # # @param value the value to set the attribute sign to. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#32 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#32 def sign=(_arg0); end private # @return [Boolean] # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#83 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#83 def finished?; end # Parses number which can be a float with either comma or period. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#88 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#88 def number; end # @raise [ParsingError] # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#96 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#96 def raise_parsing_error(reason = T.unsafe(nil)); end - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#92 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#92 def scan(pattern); end # Checks for various semantic errors as stated in ISO 8601 standard. # - # source://activesupport/lib/active_support/duration/iso8601_parser.rb#101 + # source://activesupport//lib/active_support/duration/iso8601_parser.rb#101 def validate!; end end -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#17 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#17 ActiveSupport::Duration::ISO8601Parser::COMMA = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#22 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#22 ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENT = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#28 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#28 ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENTS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#20 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#20 ActiveSupport::Duration::ISO8601Parser::DATE_MARKER = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#25 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#25 ActiveSupport::Duration::ISO8601Parser::DATE_TO_PART = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#16 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#16 ActiveSupport::Duration::ISO8601Parser::PERIOD = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#15 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#15 ActiveSupport::Duration::ISO8601Parser::PERIOD_OR_COMMA = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#13 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#13 class ActiveSupport::Duration::ISO8601Parser::ParsingError < ::ArgumentError; end -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#19 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#19 ActiveSupport::Duration::ISO8601Parser::SIGN_MARKER = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#23 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#23 ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENT = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#29 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#29 ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENTS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#21 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#21 ActiveSupport::Duration::ISO8601Parser::TIME_MARKER = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/duration/iso8601_parser.rb#26 +# source://activesupport//lib/active_support/duration/iso8601_parser.rb#26 ActiveSupport::Duration::ISO8601Parser::TIME_TO_PART = T.let(T.unsafe(nil), Hash) # Serializes duration to string according to ISO 8601 Duration format. # -# source://activesupport/lib/active_support/duration/iso8601_serializer.rb#6 +# source://activesupport//lib/active_support/duration/iso8601_serializer.rb#6 class ActiveSupport::Duration::ISO8601Serializer # @return [ISO8601Serializer] a new instance of ISO8601Serializer # - # source://activesupport/lib/active_support/duration/iso8601_serializer.rb#9 + # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#9 def initialize(duration, precision: T.unsafe(nil)); end # Builds and returns output string. # - # source://activesupport/lib/active_support/duration/iso8601_serializer.rb#15 + # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#15 def serialize; end private - # source://activesupport/lib/active_support/duration/iso8601_serializer.rb#56 + # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#56 def format_seconds(seconds); end # Return pair of duration's parts and whole duration sign. @@ -5563,123 +5586,123 @@ class ActiveSupport::Duration::ISO8601Serializer # Zero parts are removed as not significant. # If all parts are negative it will negate all of them and return minus as a sign. # - # source://activesupport/lib/active_support/duration/iso8601_serializer.rb#39 + # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#39 def normalize; end # @return [Boolean] # - # source://activesupport/lib/active_support/duration/iso8601_serializer.rb#52 + # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#52 def week_mixed_with_date?(parts); end end -# source://activesupport/lib/active_support/duration/iso8601_serializer.rb#7 +# source://activesupport//lib/active_support/duration/iso8601_serializer.rb#7 ActiveSupport::Duration::ISO8601Serializer::DATE_COMPONENTS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/duration.rb#130 +# source://activesupport//lib/active_support/duration.rb#130 ActiveSupport::Duration::PARTS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/duration.rb#120 +# source://activesupport//lib/active_support/duration.rb#120 ActiveSupport::Duration::PARTS_IN_SECONDS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/duration.rb#115 +# source://activesupport//lib/active_support/duration.rb#115 ActiveSupport::Duration::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/duration.rb#114 +# source://activesupport//lib/active_support/duration.rb#114 ActiveSupport::Duration::SECONDS_PER_HOUR = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/duration.rb#113 +# source://activesupport//lib/active_support/duration.rb#113 ActiveSupport::Duration::SECONDS_PER_MINUTE = T.let(T.unsafe(nil), Integer) # 1/12 of a gregorian year # -# source://activesupport/lib/active_support/duration.rb#117 +# source://activesupport//lib/active_support/duration.rb#117 ActiveSupport::Duration::SECONDS_PER_MONTH = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/duration.rb#116 +# source://activesupport//lib/active_support/duration.rb#116 ActiveSupport::Duration::SECONDS_PER_WEEK = T.let(T.unsafe(nil), Integer) # length of a gregorian year (365.2425 days) # -# source://activesupport/lib/active_support/duration.rb#118 +# source://activesupport//lib/active_support/duration.rb#118 ActiveSupport::Duration::SECONDS_PER_YEAR = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/duration.rb#15 +# source://activesupport//lib/active_support/duration.rb#15 class ActiveSupport::Duration::Scalar < ::Numeric # @return [Scalar] a new instance of Scalar # - # source://activesupport/lib/active_support/duration.rb#19 + # source://activesupport//lib/active_support/duration.rb#19 def initialize(value); end - # source://activesupport/lib/active_support/duration.rb#85 + # source://activesupport//lib/active_support/duration.rb#85 def %(other); end - # source://activesupport/lib/active_support/duration.rb#66 + # source://activesupport//lib/active_support/duration.rb#66 def *(other); end - # source://activesupport/lib/active_support/duration.rb#41 + # source://activesupport//lib/active_support/duration.rb#41 def +(other); end - # source://activesupport/lib/active_support/duration.rb#53 + # source://activesupport//lib/active_support/duration.rb#53 def -(other); end - # source://activesupport/lib/active_support/duration.rb#27 + # source://activesupport//lib/active_support/duration.rb#27 def -@; end - # source://activesupport/lib/active_support/duration.rb#77 + # source://activesupport//lib/active_support/duration.rb#77 def /(other); end - # source://activesupport/lib/active_support/duration.rb#31 + # source://activesupport//lib/active_support/duration.rb#31 def <=>(other); end - # source://activesupport/lib/active_support/duration.rb#23 + # source://activesupport//lib/active_support/duration.rb#23 def coerce(other); end - # source://activesupport/lib/active_support/duration.rb#17 + # source://activesupport//lib/active_support/duration.rb#17 def to_f(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/duration.rb#17 + # source://activesupport//lib/active_support/duration.rb#17 def to_i(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/duration.rb#17 + # source://activesupport//lib/active_support/duration.rb#17 def to_s(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute value. # - # source://activesupport/lib/active_support/duration.rb#16 + # source://activesupport//lib/active_support/duration.rb#16 def value; end # @return [Boolean] # - # source://activesupport/lib/active_support/duration.rb#93 + # source://activesupport//lib/active_support/duration.rb#93 def variable?; end private - # source://activesupport/lib/active_support/duration.rb#98 + # source://activesupport//lib/active_support/duration.rb#98 def calculate(op, other); end # @raise [TypeError] # - # source://activesupport/lib/active_support/duration.rb#108 + # source://activesupport//lib/active_support/duration.rb#108 def raise_type_error(other); end end -# source://activesupport/lib/active_support/duration.rb#131 +# source://activesupport//lib/active_support/duration.rb#131 ActiveSupport::Duration::VARIABLE_PARTS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/range/each.rb#6 +# source://activesupport//lib/active_support/core_ext/range/each.rb#6 module ActiveSupport::EachTimeWithZone - # source://activesupport/lib/active_support/core_ext/range/each.rb#7 + # source://activesupport//lib/active_support/core_ext/range/each.rb#7 def each(&block); end - # source://activesupport/lib/active_support/core_ext/range/each.rb#12 + # source://activesupport//lib/active_support/core_ext/range/each.rb#12 def step(n = T.unsafe(nil), &block); end private # @raise [TypeError] # - # source://activesupport/lib/active_support/core_ext/range/each.rb#18 + # source://activesupport//lib/active_support/core_ext/range/each.rb#18 def ensure_iteration_allowed; end end @@ -5707,11 +5730,11 @@ end # my_config.foo! # # => KeyError # -# source://activesupport/lib/active_support/encrypted_configuration.rb#35 +# source://activesupport//lib/active_support/encrypted_configuration.rb#35 class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile # @return [EncryptedConfiguration] a new instance of EncryptedConfiguration # - # source://activesupport/lib/active_support/encrypted_configuration.rb#48 + # source://activesupport//lib/active_support/encrypted_configuration.rb#48 def initialize(config_path:, key_path:, env_key:, raise_if_missing_key:); end # Returns the decrypted content as a Hash with symbolized keys. @@ -5722,67 +5745,67 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile # my_config.config # # => { some_secret: 123, some_namespace: { another_secret: 789 } } # - # source://activesupport/lib/active_support/encrypted_configuration.rb#75 + # source://activesupport//lib/active_support/encrypted_configuration.rb#75 def config; end - # source://activesupport/lib/active_support/encrypted_configuration.rb#79 + # source://activesupport//lib/active_support/encrypted_configuration.rb#79 def inspect; end - # source://activesupport/lib/active_support/core_ext/module/delegation.rb#354 + # source://activesupport//lib/active_support/encrypted_configuration.rb#46 def method_missing(method, *args, **_arg2, &block); end # Reads the file and returns the decrypted content. See EncryptedFile#read. # - # source://activesupport/lib/active_support/encrypted_configuration.rb#56 + # source://activesupport//lib/active_support/encrypted_configuration.rb#56 def read; end - # source://activesupport/lib/active_support/encrypted_configuration.rb#63 + # source://activesupport//lib/active_support/encrypted_configuration.rb#63 def validate!; end private - # source://activesupport/lib/active_support/encrypted_configuration.rb#84 + # source://activesupport//lib/active_support/encrypted_configuration.rb#84 def deep_transform(hash); end - # source://activesupport/lib/active_support/encrypted_configuration.rb#98 + # source://activesupport//lib/active_support/encrypted_configuration.rb#98 def deserialize(content); end - # source://activesupport/lib/active_support/encrypted_configuration.rb#94 + # source://activesupport//lib/active_support/encrypted_configuration.rb#94 def options; end - # source://activesupport/lib/active_support/core_ext/module/delegation.rb#346 + # source://activesupport//lib/active_support/encrypted_configuration.rb#46 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/encrypted_configuration.rb#36 +# source://activesupport//lib/active_support/encrypted_configuration.rb#36 class ActiveSupport::EncryptedConfiguration::InvalidContentError < ::RuntimeError # @return [InvalidContentError] a new instance of InvalidContentError # - # source://activesupport/lib/active_support/encrypted_configuration.rb#37 + # source://activesupport//lib/active_support/encrypted_configuration.rb#37 def initialize(content_path); end - # source://activesupport/lib/active_support/encrypted_configuration.rb#41 + # source://activesupport//lib/active_support/encrypted_configuration.rb#41 def message; end end -# source://activesupport/lib/active_support/encrypted_file.rb#8 +# source://activesupport//lib/active_support/encrypted_file.rb#8 class ActiveSupport::EncryptedFile # @return [EncryptedFile] a new instance of EncryptedFile # - # source://activesupport/lib/active_support/encrypted_file.rb#42 + # source://activesupport//lib/active_support/encrypted_file.rb#42 def initialize(content_path:, key_path:, env_key:, raise_if_missing_key:); end - # source://activesupport/lib/active_support/encrypted_file.rb#83 + # source://activesupport//lib/active_support/encrypted_file.rb#83 def change(&block); end # Returns the value of attribute content_path. # - # source://activesupport/lib/active_support/encrypted_file.rb#40 + # source://activesupport//lib/active_support/encrypted_file.rb#40 def content_path; end # Returns the value of attribute env_key. # - # source://activesupport/lib/active_support/encrypted_file.rb#40 + # source://activesupport//lib/active_support/encrypted_file.rb#40 def env_key; end # Returns the encryption key, first trying the environment variable @@ -5790,7 +5813,7 @@ class ActiveSupport::EncryptedFile # If +raise_if_missing_key+ is true, raises MissingKeyError if the # environment variable is not set and the key file does not exist. # - # source://activesupport/lib/active_support/encrypted_file.rb#52 + # source://activesupport//lib/active_support/encrypted_file.rb#52 def key; end # Returns truthy if #key is truthy. Returns falsy otherwise. Unlike #key, @@ -5798,17 +5821,17 @@ class ActiveSupport::EncryptedFile # # @return [Boolean] # - # source://activesupport/lib/active_support/encrypted_file.rb#58 + # source://activesupport//lib/active_support/encrypted_file.rb#58 def key?; end # Returns the value of attribute key_path. # - # source://activesupport/lib/active_support/encrypted_file.rb#40 + # source://activesupport//lib/active_support/encrypted_file.rb#40 def key_path; end # Returns the value of attribute raise_if_missing_key. # - # source://activesupport/lib/active_support/encrypted_file.rb#40 + # source://activesupport//lib/active_support/encrypted_file.rb#40 def raise_if_missing_key; end # Reads the file and returns the decrypted content. @@ -5820,129 +5843,129 @@ class ActiveSupport::EncryptedFile # - ActiveSupport::MessageEncryptor::InvalidMessage if the content cannot be # decrypted or verified. # - # source://activesupport/lib/active_support/encrypted_file.rb#70 + # source://activesupport//lib/active_support/encrypted_file.rb#70 def read; end - # source://activesupport/lib/active_support/encrypted_file.rb#78 + # source://activesupport//lib/active_support/encrypted_file.rb#78 def write(contents); end private # @raise [InvalidKeyLengthError] # - # source://activesupport/lib/active_support/encrypted_file.rb#129 + # source://activesupport//lib/active_support/encrypted_file.rb#129 def check_key_length; end - # source://activesupport/lib/active_support/encrypted_file.rb#108 + # source://activesupport//lib/active_support/encrypted_file.rb#108 def decrypt(contents); end - # source://activesupport/lib/active_support/encrypted_file.rb#103 + # source://activesupport//lib/active_support/encrypted_file.rb#103 def encrypt(contents); end - # source://activesupport/lib/active_support/encrypted_file.rb#112 + # source://activesupport//lib/active_support/encrypted_file.rb#112 def encryptor; end # @raise [MissingKeyError] # - # source://activesupport/lib/active_support/encrypted_file.rb#125 + # source://activesupport//lib/active_support/encrypted_file.rb#125 def handle_missing_key; end - # source://activesupport/lib/active_support/encrypted_file.rb#117 + # source://activesupport//lib/active_support/encrypted_file.rb#117 def read_env_key; end - # source://activesupport/lib/active_support/encrypted_file.rb#121 + # source://activesupport//lib/active_support/encrypted_file.rb#121 def read_key_file; end - # source://activesupport/lib/active_support/encrypted_file.rb#89 + # source://activesupport//lib/active_support/encrypted_file.rb#89 def writing(contents); end class << self - # source://activesupport/lib/active_support/encrypted_file.rb#35 + # source://activesupport//lib/active_support/encrypted_file.rb#35 def expected_key_length; end - # source://activesupport/lib/active_support/encrypted_file.rb#31 + # source://activesupport//lib/active_support/encrypted_file.rb#31 def generate_key; end end end -# source://activesupport/lib/active_support/encrypted_file.rb#29 +# source://activesupport//lib/active_support/encrypted_file.rb#29 ActiveSupport::EncryptedFile::CIPHER = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/encrypted_file.rb#23 +# source://activesupport//lib/active_support/encrypted_file.rb#23 class ActiveSupport::EncryptedFile::InvalidKeyLengthError < ::RuntimeError # @return [InvalidKeyLengthError] a new instance of InvalidKeyLengthError # - # source://activesupport/lib/active_support/encrypted_file.rb#24 + # source://activesupport//lib/active_support/encrypted_file.rb#24 def initialize; end end -# source://activesupport/lib/active_support/encrypted_file.rb#9 +# source://activesupport//lib/active_support/encrypted_file.rb#9 class ActiveSupport::EncryptedFile::MissingContentError < ::RuntimeError # @return [MissingContentError] a new instance of MissingContentError # - # source://activesupport/lib/active_support/encrypted_file.rb#10 + # source://activesupport//lib/active_support/encrypted_file.rb#10 def initialize(content_path); end end -# source://activesupport/lib/active_support/encrypted_file.rb#15 +# source://activesupport//lib/active_support/encrypted_file.rb#15 class ActiveSupport::EncryptedFile::MissingKeyError < ::RuntimeError # @return [MissingKeyError] a new instance of MissingKeyError # - # source://activesupport/lib/active_support/encrypted_file.rb#16 + # source://activesupport//lib/active_support/encrypted_file.rb#16 def initialize(key_path:, env_key:); end end -# source://activesupport/lib/active_support/core_ext/enumerable.rb#4 +# source://activesupport//lib/active_support/core_ext/enumerable.rb#4 module ActiveSupport::EnumerableCoreExt; end -# source://activesupport/lib/active_support/core_ext/enumerable.rb#5 +# source://activesupport//lib/active_support/core_ext/enumerable.rb#5 module ActiveSupport::EnumerableCoreExt::Constants private - # source://activesupport/lib/active_support/core_ext/enumerable.rb#7 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#7 def const_missing(name); end end # HACK: For performance reasons, Enumerable shouldn't have any constants of its own. # So we move SoleItemExpectedError into ActiveSupport::EnumerableCoreExt. # -# source://activesupport/lib/active_support/core_ext/enumerable.rb#25 +# source://activesupport//lib/active_support/core_ext/enumerable.rb#25 ActiveSupport::EnumerableCoreExt::SoleItemExpectedError = Enumerable::SoleItemExpectedError -# source://activesupport/lib/active_support/environment_inquirer.rb#9 +# source://activesupport//lib/active_support/environment_inquirer.rb#9 class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer # @raise [ArgumentError] # @return [EnvironmentInquirer] a new instance of EnvironmentInquirer # - # source://activesupport/lib/active_support/environment_inquirer.rb#15 + # source://activesupport//lib/active_support/environment_inquirer.rb#15 def initialize(env); end - # source://activesupport/lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def development?; end # Returns true if we're in the development or test environment. # # @return [Boolean] # - # source://activesupport/lib/active_support/environment_inquirer.rb#36 + # source://activesupport//lib/active_support/environment_inquirer.rb#36 def local?; end - # source://activesupport/lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def production?; end - # source://activesupport/lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def test?; end end # Optimization for the three default environments, so this inquirer doesn't need to rely on # the slower delegation through method_missing that StringInquirer would normally entail. # -# source://activesupport/lib/active_support/environment_inquirer.rb#10 +# source://activesupport//lib/active_support/environment_inquirer.rb#10 ActiveSupport::EnvironmentInquirer::DEFAULT_ENVIRONMENTS = T.let(T.unsafe(nil), Array) # Environments that'll respond true for #local? # -# source://activesupport/lib/active_support/environment_inquirer.rb#13 +# source://activesupport//lib/active_support/environment_inquirer.rb#13 ActiveSupport::EnvironmentInquirer::LOCAL_ENVIRONMENTS = T.let(T.unsafe(nil), Array) # = Active Support \Error Reporter @@ -5967,11 +5990,11 @@ ActiveSupport::EnvironmentInquirer::LOCAL_ENVIRONMENTS = T.let(T.unsafe(nil), Ar # # maybe_tags = Rails.error.handle(Redis::BaseError) { redis.get("tags") } # -# source://activesupport/lib/active_support/error_reporter.rb#26 +# source://activesupport//lib/active_support/error_reporter.rb#26 class ActiveSupport::ErrorReporter # @return [ErrorReporter] a new instance of ErrorReporter # - # source://activesupport/lib/active_support/error_reporter.rb#32 + # source://activesupport//lib/active_support/error_reporter.rb#32 def initialize(*subscribers, logger: T.unsafe(nil)); end # Prevent a subscriber from being notified of errors for the @@ -5980,7 +6003,7 @@ class ActiveSupport::ErrorReporter # This can be helpful for error reporting service integrations, when they wish # to handle any errors higher in the stack. # - # source://activesupport/lib/active_support/error_reporter.rb#147 + # source://activesupport//lib/active_support/error_reporter.rb#147 def disable(subscriber); end # Evaluates the given block, reporting and swallowing any unhandled error. @@ -6021,19 +6044,19 @@ class ActiveSupport::ErrorReporter # source of the error. Subscribers can use this value to ignore certain # errors. Defaults to "application". # - # source://activesupport/lib/active_support/error_reporter.rb#74 + # source://activesupport//lib/active_support/error_reporter.rb#74 def handle(*error_classes, severity: T.unsafe(nil), context: T.unsafe(nil), fallback: T.unsafe(nil), source: T.unsafe(nil)); end # Returns the value of attribute logger. # - # source://activesupport/lib/active_support/error_reporter.rb#30 + # source://activesupport//lib/active_support/error_reporter.rb#30 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://activesupport/lib/active_support/error_reporter.rb#30 + # source://activesupport//lib/active_support/error_reporter.rb#30 def logger=(_arg0); end # Evaluates the given block, reporting and re-raising any unhandled error. @@ -6065,7 +6088,7 @@ class ActiveSupport::ErrorReporter # source of the error. Subscribers can use this value to ignore certain # errors. Defaults to "application". # - # source://activesupport/lib/active_support/error_reporter.rb#110 + # source://activesupport//lib/active_support/error_reporter.rb#110 def record(*error_classes, severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end # Report an error directly to subscribers. You can use this method when the @@ -6073,7 +6096,7 @@ class ActiveSupport::ErrorReporter # # Rails.error.report(error) # - # source://activesupport/lib/active_support/error_reporter.rb#172 + # source://activesupport//lib/active_support/error_reporter.rb#172 def report(error, handled: T.unsafe(nil), severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end # Update the execution context that is accessible to error subscribers. Any @@ -6082,7 +6105,7 @@ class ActiveSupport::ErrorReporter # # Rails.error.set_context(section: "checkout", user_id: @user.id) # - # source://activesupport/lib/active_support/error_reporter.rb#163 + # source://activesupport//lib/active_support/error_reporter.rb#163 def set_context(*_arg0, **_arg1, &_arg2); end # Register a new error subscriber. The subscriber must respond to @@ -6091,7 +6114,7 @@ class ActiveSupport::ErrorReporter # # The +report+ method should never raise an error. # - # source://activesupport/lib/active_support/error_reporter.rb#123 + # source://activesupport//lib/active_support/error_reporter.rb#123 def subscribe(subscriber); end # Unregister an error subscriber. Accepts either a subscriber or a class. @@ -6103,69 +6126,69 @@ class ActiveSupport::ErrorReporter # # or # Rails.error.unsubscribe(MyErrorSubscriber) # - # source://activesupport/lib/active_support/error_reporter.rb#138 + # source://activesupport//lib/active_support/error_reporter.rb#138 def unsubscribe(subscriber); end end -# source://activesupport/lib/active_support/error_reporter.rb#28 +# source://activesupport//lib/active_support/error_reporter.rb#28 ActiveSupport::ErrorReporter::DEFAULT_SOURCE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/error_reporter.rb#27 +# source://activesupport//lib/active_support/error_reporter.rb#27 ActiveSupport::ErrorReporter::SEVERITIES = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/execution_context.rb#4 +# source://activesupport//lib/active_support/execution_context.rb#4 module ActiveSupport::ExecutionContext class << self - # source://activesupport/lib/active_support/execution_context.rb#34 + # source://activesupport//lib/active_support/execution_context.rb#34 def []=(key, value); end - # source://activesupport/lib/active_support/execution_context.rb#7 + # source://activesupport//lib/active_support/execution_context.rb#7 def after_change(&block); end - # source://activesupport/lib/active_support/execution_context.rb#43 + # source://activesupport//lib/active_support/execution_context.rb#43 def clear; end # Updates the execution context. If a block is given, it resets the provided keys to their # previous value once the block exits. # - # source://activesupport/lib/active_support/execution_context.rb#13 + # source://activesupport//lib/active_support/execution_context.rb#13 def set(**options); end - # source://activesupport/lib/active_support/execution_context.rb#39 + # source://activesupport//lib/active_support/execution_context.rb#39 def to_h; end private - # source://activesupport/lib/active_support/execution_context.rb#48 + # source://activesupport//lib/active_support/execution_context.rb#48 def store; end end end -# source://activesupport/lib/active_support/execution_wrapper.rb#8 +# source://activesupport//lib/active_support/execution_wrapper.rb#8 class ActiveSupport::ExecutionWrapper include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods extend ::ActiveSupport::DescendantsTracker - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _run_complete_callbacks(&block); end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_run_callbacks(&block); end - # source://activesupport/lib/active_support/execution_wrapper.rb#142 + # source://activesupport//lib/active_support/execution_wrapper.rb#142 def complete; end # Complete this in-flight execution. This method *must* be called @@ -6173,54 +6196,54 @@ class ActiveSupport::ExecutionWrapper # # Where possible, prefer +wrap+. # - # source://activesupport/lib/active_support/execution_wrapper.rb#136 + # source://activesupport//lib/active_support/execution_wrapper.rb#136 def complete!; end - # source://activesupport/lib/active_support/execution_wrapper.rb#128 + # source://activesupport//lib/active_support/execution_wrapper.rb#128 def run; end - # source://activesupport/lib/active_support/execution_wrapper.rb#123 + # source://activesupport//lib/active_support/execution_wrapper.rb#123 def run!; end private - # source://activesupport/lib/active_support/execution_wrapper.rb#147 + # source://activesupport//lib/active_support/execution_wrapper.rb#147 def hook_state; end class << self - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks=(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/execution_wrapper.rb#119 + # source://activesupport//lib/active_support/execution_wrapper.rb#119 def active?; end - # source://activesupport/lib/active_support/execution_wrapper.rb#115 + # source://activesupport//lib/active_support/execution_wrapper.rb#115 def active_key; end - # source://activesupport/lib/active_support/execution_wrapper.rb#111 + # source://activesupport//lib/active_support/execution_wrapper.rb#111 def error_reporter; end - # source://activesupport/lib/active_support/execution_wrapper.rb#101 + # source://activesupport//lib/active_support/execution_wrapper.rb#101 def perform; end # Register an object to be invoked during both the +run+ and @@ -6232,7 +6255,7 @@ class ActiveSupport::ExecutionWrapper # a preceding +to_run+ block; all ordinary +to_complete+ blocks are # invoked in that situation.) # - # source://activesupport/lib/active_support/execution_wrapper.rb#51 + # source://activesupport//lib/active_support/execution_wrapper.rb#51 def register_hook(hook, outer: T.unsafe(nil)); end # Run this execution. @@ -6242,79 +6265,105 @@ class ActiveSupport::ExecutionWrapper # # Where possible, prefer +wrap+. # - # source://activesupport/lib/active_support/execution_wrapper.rb#67 + # source://activesupport//lib/active_support/execution_wrapper.rb#67 def run!(reset: T.unsafe(nil)); end - # source://activesupport/lib/active_support/execution_wrapper.rb#22 + # source://activesupport//lib/active_support/execution_wrapper.rb#22 def to_complete(*args, &block); end - # source://activesupport/lib/active_support/execution_wrapper.rb#18 + # source://activesupport//lib/active_support/execution_wrapper.rb#18 def to_run(*args, &block); end # Perform the work in the supplied block as an execution. # - # source://activesupport/lib/active_support/execution_wrapper.rb#87 + # source://activesupport//lib/active_support/execution_wrapper.rb#87 def wrap(source: T.unsafe(nil)); end end end -# source://activesupport/lib/active_support/execution_wrapper.rb#33 +# source://activesupport//lib/active_support/execution_wrapper.rb#33 class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct - # source://activesupport/lib/active_support/execution_wrapper.rb#34 + # source://activesupport//lib/active_support/execution_wrapper.rb#40 def after(target); end - # source://activesupport/lib/active_support/execution_wrapper.rb#34 + # source://activesupport//lib/active_support/execution_wrapper.rb#34 def before(target); end # Returns the value of attribute hook # # @return [Object] the current value of hook + # + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def hook; end # Sets the attribute hook # # @param value [Object] the value to set the attribute hook to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def hook=(_); end class << self + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def [](*_arg0); end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def inspect; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def keyword_init?; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def members; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def new(*_arg0); end end end -# source://activesupport/lib/active_support/execution_wrapper.rb#11 +# source://activesupport//lib/active_support/execution_wrapper.rb#11 ActiveSupport::ExecutionWrapper::Null = T.let(T.unsafe(nil), Object) -# source://activesupport/lib/active_support/execution_wrapper.rb#26 +# source://activesupport//lib/active_support/execution_wrapper.rb#26 class ActiveSupport::ExecutionWrapper::RunHook < ::Struct - # source://activesupport/lib/active_support/execution_wrapper.rb#27 + # source://activesupport//lib/active_support/execution_wrapper.rb#27 def before(target); end # Returns the value of attribute hook # # @return [Object] the current value of hook + # + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def hook; end # Sets the attribute hook # # @param value [Object] the value to set the attribute hook to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def hook=(_); end class << self + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def [](*_arg0); end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def inspect; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def keyword_init?; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def members; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def new(*_arg0); end end end -# source://activesupport/lib/active_support/executor.rb#6 +# source://activesupport//lib/active_support/executor.rb#6 class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end # = \File Update Checker @@ -6347,7 +6396,7 @@ class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end # i18n_reloader.execute_if_updated # end # -# source://activesupport/lib/active_support/file_update_checker.rb#35 +# source://activesupport//lib/active_support/file_update_checker.rb#35 class ActiveSupport::FileUpdateChecker # It accepts two parameters on initialization. The first is an array # of files and the second is an optional hash of directories. The hash must @@ -6360,18 +6409,18 @@ class ActiveSupport::FileUpdateChecker # # @return [FileUpdateChecker] a new instance of FileUpdateChecker # - # source://activesupport/lib/active_support/file_update_checker.rb#44 + # source://activesupport//lib/active_support/file_update_checker.rb#44 def initialize(files, dirs = T.unsafe(nil), &block); end # Executes the given block and updates the latest watched files and # timestamp. # - # source://activesupport/lib/active_support/file_update_checker.rb#82 + # source://activesupport//lib/active_support/file_update_checker.rb#82 def execute; end # Execute the block given if updated. # - # source://activesupport/lib/active_support/file_update_checker.rb#92 + # source://activesupport//lib/active_support/file_update_checker.rb#92 def execute_if_updated; end # Check if any of the entries were updated. If so, the watched and/or @@ -6380,18 +6429,18 @@ class ActiveSupport::FileUpdateChecker # # @return [Boolean] # - # source://activesupport/lib/active_support/file_update_checker.rb#63 + # source://activesupport//lib/active_support/file_update_checker.rb#63 def updated?; end private - # source://activesupport/lib/active_support/file_update_checker.rb#158 + # source://activesupport//lib/active_support/file_update_checker.rb#158 def compile_ext(array); end - # source://activesupport/lib/active_support/file_update_checker.rb#144 + # source://activesupport//lib/active_support/file_update_checker.rb#144 def compile_glob(hash); end - # source://activesupport/lib/active_support/file_update_checker.rb#154 + # source://activesupport//lib/active_support/file_update_checker.rb#154 def escape(key); end # This method returns the maximum mtime of the files in +paths+, or +nil+ @@ -6402,55 +6451,55 @@ class ActiveSupport::FileUpdateChecker # healthy to consider this edge case because with mtimes in the future # reloading is not triggered. # - # source://activesupport/lib/active_support/file_update_checker.rb#122 + # source://activesupport//lib/active_support/file_update_checker.rb#122 def max_mtime(paths); end - # source://activesupport/lib/active_support/file_update_checker.rb#111 + # source://activesupport//lib/active_support/file_update_checker.rb#111 def updated_at(paths); end - # source://activesupport/lib/active_support/file_update_checker.rb#103 + # source://activesupport//lib/active_support/file_update_checker.rb#103 def watched; end end -# source://activesupport/lib/active_support/fork_tracker.rb#4 +# source://activesupport//lib/active_support/fork_tracker.rb#4 module ActiveSupport::ForkTracker class << self - # source://activesupport/lib/active_support/fork_tracker.rb#67 + # source://activesupport//lib/active_support/fork_tracker.rb#67 def after_fork(&block); end - # source://activesupport/lib/active_support/fork_tracker.rb#40 + # source://activesupport//lib/active_support/fork_tracker.rb#40 def after_fork_callback; end - # source://activesupport/lib/active_support/fork_tracker.rb#49 + # source://activesupport//lib/active_support/fork_tracker.rb#49 def check!; end - # source://activesupport/lib/active_support/fork_tracker.rb#56 + # source://activesupport//lib/active_support/fork_tracker.rb#56 def hook!; end - # source://activesupport/lib/active_support/fork_tracker.rb#72 + # source://activesupport//lib/active_support/fork_tracker.rb#72 def unregister(callback); end end end -# source://activesupport/lib/active_support/fork_tracker.rb#15 +# source://activesupport//lib/active_support/fork_tracker.rb#15 module ActiveSupport::ForkTracker::CoreExt - # source://activesupport/lib/active_support/fork_tracker.rb#16 + # source://activesupport//lib/active_support/fork_tracker.rb#16 def fork(*_arg0, **_arg1, &_arg2); end end -# source://activesupport/lib/active_support/fork_tracker.rb#31 +# source://activesupport//lib/active_support/fork_tracker.rb#31 module ActiveSupport::ForkTracker::CoreExtPrivate include ::ActiveSupport::ForkTracker::CoreExt private - # source://activesupport/lib/active_support/fork_tracker.rb#16 + # source://activesupport//lib/active_support/fork_tracker.rb#33 def fork(*_arg0, **_arg1, &_arg2); end end -# source://activesupport/lib/active_support/fork_tracker.rb#5 +# source://activesupport//lib/active_support/fork_tracker.rb#5 module ActiveSupport::ForkTracker::ModernCoreExt - # source://activesupport/lib/active_support/fork_tracker.rb#6 + # source://activesupport//lib/active_support/fork_tracker.rb#6 def _fork; end end @@ -6465,29 +6514,29 @@ end # ActiveSupport::Gzip.decompress(gzip) # # => "compress me!" # -# source://activesupport/lib/active_support/gzip.rb#17 +# source://activesupport//lib/active_support/gzip.rb#17 module ActiveSupport::Gzip class << self # Compresses a string using gzip. # - # source://activesupport/lib/active_support/gzip.rb#32 + # source://activesupport//lib/active_support/gzip.rb#32 def compress(source, level = T.unsafe(nil), strategy = T.unsafe(nil)); end # Decompresses a gzipped string. # - # source://activesupport/lib/active_support/gzip.rb#27 + # source://activesupport//lib/active_support/gzip.rb#27 def decompress(source); end end end -# source://activesupport/lib/active_support/gzip.rb#18 +# source://activesupport//lib/active_support/gzip.rb#18 class ActiveSupport::Gzip::Stream < ::StringIO # @return [Stream] a new instance of Stream # - # source://activesupport/lib/active_support/gzip.rb#19 + # source://activesupport//lib/active_support/gzip.rb#19 def initialize(*_arg0); end - # source://activesupport/lib/active_support/gzip.rb#23 + # source://activesupport//lib/active_support/gzip.rb#23 def close; end end @@ -6538,11 +6587,11 @@ end # # which will, in turn, require this file. # -# source://activesupport/lib/active_support/hash_with_indifferent_access.rb#55 +# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#55 class ActiveSupport::HashWithIndifferentAccess < ::Hash # @return [HashWithIndifferentAccess] a new instance of HashWithIndifferentAccess # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#70 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#70 def initialize(constructor = T.unsafe(nil)); end # Same as Hash#[] where the key passed as argument can be @@ -6555,7 +6604,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters[:foo] # => 1 # counters[:zoo] # => nil # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#168 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#168 def [](key); end # Assigns a new value to the hash: @@ -6565,7 +6614,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # This value can be later fetched using either +:key+ or 'key'. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#98 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#98 def []=(key, value); end # Same as Hash#assoc where the key passed as argument can be @@ -6578,19 +6627,19 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters.assoc(:foo) # => ["foo", 1] # counters.assoc(:zoo) # => nil # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#181 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#181 def assoc(key); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#375 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#375 def compact; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#319 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#319 def deep_stringify_keys; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#317 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#317 def deep_stringify_keys!; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#324 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#324 def deep_symbolize_keys; end # Same as Hash#default where the key passed as argument can be @@ -6604,12 +6653,12 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.default('foo') # => 'foo' # hash.default(:foo) # => 'foo' # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#223 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#223 def default(key = T.unsafe(nil)); end # Removes the specified key from the hash. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#303 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#303 def delete(key); end # Same as Hash#dig where the key passed as argument can be @@ -6622,7 +6671,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters.dig(:foo, :bar) # => 1 # counters.dig(:zoo) # => nil # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#208 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#208 def dig(*args); end # Returns a shallow copy of the hash. @@ -6634,7 +6683,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash[:a][:c] # => "c" # dup[:a][:c] # => "c" # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#264 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#264 def dup; end # Returns a hash with indifferent access that includes everything except given keys. @@ -6642,7 +6691,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.except(:a, "b") # => {c: 10}.with_indifferent_access # hash # => { a: "x", b: "y", c: 10 }.with_indifferent_access # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#311 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#311 def except(*keys); end # Returns +true+ so that Array#extract_options! finds members of @@ -6650,7 +6699,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#58 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#58 def extractable_options?; end # Same as Hash#fetch where the key passed as argument can be @@ -6664,7 +6713,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters.fetch(:bar) { |key| 0 } # => 0 # counters.fetch(:zoo) # => KeyError: key not found: "zoo" # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#195 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#195 def fetch(key, *extras); end # Returns an array of the values at the specified indices, but also @@ -6677,7 +6726,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.fetch_values('a', 'c') { |key| 'z' } # => ["x", "z"] # hash.fetch_values('a', 'c') # => KeyError: key not found: "c" # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#251 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#251 def fetch_values(*indices, &block); end # Checks the hash for a key matching the argument passed in: @@ -6689,7 +6738,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#156 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -6701,7 +6750,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#155 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -6713,7 +6762,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#151 def key?(key); end # Checks the hash for a key matching the argument passed in: @@ -6725,14 +6774,14 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#157 def member?(key); end # This method has the same semantics of +update+, except it does not # modify the receiver but rather returns a new hash with indifferent # access with the result of the merge. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#273 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#273 def merge(*hashes, &block); end # Updates the receiver in-place, merging in the hashes passed as arguments: @@ -6764,16 +6813,19 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash_2['key'] = 12 # hash_1.update(hash_2) { |key, old, new| old + new } # => {"key"=>22} # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#132 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#143 def merge!(*other_hashes, &block); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#66 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#66 def nested_under_indifferent_access; end + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#90 def regular_update(*_arg0); end + + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#89 def regular_writer(_arg0, _arg1); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#332 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#332 def reject(*args, &block); end # Replaces the contents of this hash with other_hash. @@ -6781,7 +6833,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # h = { "a" => 100, "b" => 200 } # h.replace({ "c" => 300, "d" => 400 }) # => {"c"=>300, "d"=>400} # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#298 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#298 def replace(other_hash); end # Like +merge+ but the other way around: Merges the receiver into the @@ -6791,21 +6843,21 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash['a'] = nil # hash.reverse_merge(a: 0, b: 1) # => {"a"=>nil, "b"=>1} # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#283 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#283 def reverse_merge(other_hash); end # Same semantics as +reverse_merge+ but modifies the receiver in-place. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#289 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#289 def reverse_merge!(other_hash); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#327 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#327 def select(*args, &block); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#365 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#365 def slice(*keys); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#370 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#370 def slice!(*keys); end # Assigns a new value to the hash: @@ -6815,36 +6867,36 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # This value can be later fetched using either +:key+ or 'key'. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#98 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#102 def store(key, value); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#318 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#318 def stringify_keys; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#316 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#316 def stringify_keys!; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#322 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#322 def symbolize_keys; end # Convert to a regular hash with string keys. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#380 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#380 def to_hash; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#322 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#323 def to_options; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#325 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#325 def to_options!; end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#344 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#344 def transform_keys(hash = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#349 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#349 def transform_keys!(hash = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#337 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#337 def transform_values(&block); end # Updates the receiver in-place, merging in the hashes passed as arguments: @@ -6876,7 +6928,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash_2['key'] = 12 # hash_1.update(hash_2) { |key, old, new| old + new } # => {"key"=>22} # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#132 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#132 def update(*other_hashes, &block); end # Returns an array of the values at the specified indices: @@ -6886,7 +6938,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash[:b] = 'y' # hash.values_at('a', 'b') # => ["x", "y"] # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#237 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#237 def values_at(*keys); end # Like +merge+ but the other way around: Merges the receiver into the @@ -6896,15 +6948,15 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash['a'] = nil # hash.reverse_merge(a: 0, b: 1) # => {"a"=>nil, "b"=>1} # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#283 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#286 def with_defaults(other_hash); end # Same semantics as +reverse_merge+ but modifies the receiver in-place. # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#289 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#292 def with_defaults!(other_hash); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#62 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#62 def with_indifferent_access; end # Returns a hash with indifferent access that includes everything except given keys. @@ -6912,55 +6964,55 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.except(:a, "b") # => {c: 10}.with_indifferent_access # hash # => { a: "x", b: "y", c: 10 }.with_indifferent_access # - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#311 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#314 def without(*keys); end private - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#392 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#392 def convert_key(key); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#401 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#401 def convert_value(value, conversion: T.unsafe(nil)); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#418 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#418 def set_defaults(target); end - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#426 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#426 def update_with_single_argument(other_hash, block); end class << self - # source://activesupport/lib/active_support/hash_with_indifferent_access.rb#85 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#85 def [](*args); end end end -# source://activesupport/lib/active_support/hash_with_indifferent_access.rb#342 +# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#342 ActiveSupport::HashWithIndifferentAccess::NOT_GIVEN = T.let(T.unsafe(nil), Object) -# source://activesupport/lib/active_support/html_safe_translation.rb#4 +# source://activesupport//lib/active_support/html_safe_translation.rb#4 module ActiveSupport::HtmlSafeTranslation extend ::ActiveSupport::HtmlSafeTranslation # @return [Boolean] # - # source://activesupport/lib/active_support/html_safe_translation.rb#27 + # source://activesupport//lib/active_support/html_safe_translation.rb#27 def html_safe_translation_key?(key); end - # source://activesupport/lib/active_support/html_safe_translation.rb#7 + # source://activesupport//lib/active_support/html_safe_translation.rb#7 def translate(key, **options); end private - # source://activesupport/lib/active_support/html_safe_translation.rb#32 + # source://activesupport//lib/active_support/html_safe_translation.rb#32 def html_escape_translation_options(options); end - # source://activesupport/lib/active_support/html_safe_translation.rb#45 + # source://activesupport//lib/active_support/html_safe_translation.rb#45 def html_safe_translation(translation); end # @return [Boolean] # - # source://activesupport/lib/active_support/html_safe_translation.rb#40 + # source://activesupport//lib/active_support/html_safe_translation.rb#40 def i18n_option?(name); end end @@ -6977,7 +7029,7 @@ end # require it for your application or wish to define rules for languages other # than English, please correct or add them yourself (explained below). # -# source://activesupport/lib/active_support/inflector/inflections.rb#7 +# source://activesupport//lib/active_support/inflector/inflections.rb#7 module ActiveSupport::Inflector extend ::ActiveSupport::Inflector @@ -6998,7 +7050,7 @@ module ActiveSupport::Inflector # # camelize(underscore('SSLError')) # => "SslError" # - # source://activesupport/lib/active_support/inflector/methods.rb#70 + # source://activesupport//lib/active_support/inflector/methods.rb#70 def camelize(term, uppercase_first_letter = T.unsafe(nil)); end # Creates a class name from a plural table name like \Rails does for table @@ -7012,7 +7064,7 @@ module ActiveSupport::Inflector # # classify('calculus') # => "Calculu" # - # source://activesupport/lib/active_support/inflector/methods.rb#218 + # source://activesupport//lib/active_support/inflector/methods.rb#218 def classify(table_name); end # Tries to find a constant with the name specified in the argument string. @@ -7034,14 +7086,14 @@ module ActiveSupport::Inflector # NameError is raised when the name is not in CamelCase or the constant is # unknown. # - # source://activesupport/lib/active_support/inflector/methods.rb#289 + # source://activesupport//lib/active_support/inflector/methods.rb#289 def constantize(camel_cased_word); end # Replaces underscores with dashes in the string. # # dasherize('puni_puni') # => "puni-puni" # - # source://activesupport/lib/active_support/inflector/methods.rb#226 + # source://activesupport//lib/active_support/inflector/methods.rb#226 def dasherize(underscored_word); end # Removes the rightmost segment from the constant expression in the string. @@ -7054,7 +7106,7 @@ module ActiveSupport::Inflector # # See also #demodulize. # - # source://activesupport/lib/active_support/inflector/methods.rb#256 + # source://activesupport//lib/active_support/inflector/methods.rb#256 def deconstantize(path); end # Removes the module part from the expression in the string. @@ -7066,7 +7118,7 @@ module ActiveSupport::Inflector # # See also #deconstantize. # - # source://activesupport/lib/active_support/inflector/methods.rb#238 + # source://activesupport//lib/active_support/inflector/methods.rb#238 def demodulize(path); end # Converts the first character in the string to lowercase. @@ -7075,7 +7127,7 @@ module ActiveSupport::Inflector # downcase_first('I') # => "i" # downcase_first('') # => "" # - # source://activesupport/lib/active_support/inflector/methods.rb#175 + # source://activesupport//lib/active_support/inflector/methods.rb#175 def downcase_first(string); end # Creates a foreign key name from a class name. @@ -7086,7 +7138,7 @@ module ActiveSupport::Inflector # foreign_key('Message', false) # => "messageid" # foreign_key('Admin::Post') # => "post_id" # - # source://activesupport/lib/active_support/inflector/methods.rb#267 + # source://activesupport//lib/active_support/inflector/methods.rb#267 def foreign_key(class_name, separate_class_name_and_id_with_underscore = T.unsafe(nil)); end # Tweaks an attribute name for display to end users. @@ -7115,7 +7167,7 @@ module ActiveSupport::Inflector # # humanize('ssl_error') # => "SSL error" # - # source://activesupport/lib/active_support/inflector/methods.rb#135 + # source://activesupport//lib/active_support/inflector/methods.rb#135 def humanize(lower_case_and_underscored_word, capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end # Yields a singleton instance of Inflector::Inflections so you can specify @@ -7127,7 +7179,7 @@ module ActiveSupport::Inflector # inflect.uncountable 'rails' # end # - # source://activesupport/lib/active_support/inflector/inflections.rb#265 + # source://activesupport//lib/active_support/inflector/inflections.rb#265 def inflections(locale = T.unsafe(nil)); end # Returns the suffix that should be added to a number to denote the position @@ -7140,7 +7192,7 @@ module ActiveSupport::Inflector # ordinal(-11) # => "th" # ordinal(-1021) # => "st" # - # source://activesupport/lib/active_support/inflector/methods.rb#334 + # source://activesupport//lib/active_support/inflector/methods.rb#334 def ordinal(number); end # Turns a number into an ordinal string used to denote the position in an @@ -7153,7 +7205,7 @@ module ActiveSupport::Inflector # ordinalize(-11) # => "-11th" # ordinalize(-1021) # => "-1021st" # - # source://activesupport/lib/active_support/inflector/methods.rb#347 + # source://activesupport//lib/active_support/inflector/methods.rb#347 def ordinalize(number); end # Replaces special characters in a string so that it may be used as part of @@ -7183,7 +7235,7 @@ module ActiveSupport::Inflector # By default, this parameter is set to nil and it will use # the configured I18n.locale. # - # source://activesupport/lib/active_support/inflector/transliterate.rb#123 + # source://activesupport//lib/active_support/inflector/transliterate.rb#123 def parameterize(string, separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end # Returns the plural form of the word in the string. @@ -7199,7 +7251,7 @@ module ActiveSupport::Inflector # pluralize('CamelOctopus') # => "CamelOctopi" # pluralize('ley', :es) # => "leyes" # - # source://activesupport/lib/active_support/inflector/methods.rb#33 + # source://activesupport//lib/active_support/inflector/methods.rb#33 def pluralize(word, locale = T.unsafe(nil)); end # Tries to find a constant with the name specified in the argument string. @@ -7225,7 +7277,7 @@ module ActiveSupport::Inflector # safe_constantize('UnknownModule') # => nil # safe_constantize('UnknownModule::Foo::Bar') # => nil # - # source://activesupport/lib/active_support/inflector/methods.rb#315 + # source://activesupport//lib/active_support/inflector/methods.rb#315 def safe_constantize(camel_cased_word); end # The reverse of #pluralize, returns the singular form of a word in a @@ -7242,7 +7294,7 @@ module ActiveSupport::Inflector # singularize('CamelOctopi') # => "CamelOctopus" # singularize('leyes', :es) # => "ley" # - # source://activesupport/lib/active_support/inflector/methods.rb#50 + # source://activesupport//lib/active_support/inflector/methods.rb#50 def singularize(word, locale = T.unsafe(nil)); end # Creates the name of a table like \Rails does for models to table names. @@ -7252,7 +7304,7 @@ module ActiveSupport::Inflector # tableize('ham_and_egg') # => "ham_and_eggs" # tableize('fancyCategory') # => "fancy_categories" # - # source://activesupport/lib/active_support/inflector/methods.rb#204 + # source://activesupport//lib/active_support/inflector/methods.rb#204 def tableize(class_name); end # Capitalizes all the words and replaces some characters in the string to @@ -7269,7 +7321,7 @@ module ActiveSupport::Inflector # titleize('raiders_of_the_lost_ark') # => "Raiders Of The Lost Ark" # titleize('string_ending_with_id', keep_id_suffix: true) # => "String Ending With Id" # - # source://activesupport/lib/active_support/inflector/methods.rb#192 + # source://activesupport//lib/active_support/inflector/methods.rb#192 def titleize(word, keep_id_suffix: T.unsafe(nil)); end # Replaces non-ASCII characters with an ASCII approximation, or if none @@ -7329,7 +7381,7 @@ module ActiveSupport::Inflector # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/inflector/transliterate.rb#64 + # source://activesupport//lib/active_support/inflector/transliterate.rb#64 def transliterate(string, replacement = T.unsafe(nil), locale: T.unsafe(nil)); end # Makes an underscored, lowercase form from the expression in the string. @@ -7344,7 +7396,7 @@ module ActiveSupport::Inflector # # camelize(underscore('SSLError')) # => "SslError" # - # source://activesupport/lib/active_support/inflector/methods.rb#99 + # source://activesupport//lib/active_support/inflector/methods.rb#99 def underscore(camel_cased_word); end # Converts the first character in the string to uppercase. @@ -7353,7 +7405,7 @@ module ActiveSupport::Inflector # upcase_first('w') # => "W" # upcase_first('') # => "" # - # source://activesupport/lib/active_support/inflector/methods.rb#166 + # source://activesupport//lib/active_support/inflector/methods.rb#166 def upcase_first(string); end private @@ -7366,7 +7418,7 @@ module ActiveSupport::Inflector # apply_inflections('post', inflections.plurals, :en) # => "posts" # apply_inflections('posts', inflections.singulars, :en) # => "post" # - # source://activesupport/lib/active_support/inflector/methods.rb#376 + # source://activesupport//lib/active_support/inflector/methods.rb#376 def apply_inflections(word, rules, locale = T.unsafe(nil)); end # Mounts a regular expression, returned as a string to ease interpolation, @@ -7375,11 +7427,11 @@ module ActiveSupport::Inflector # const_regexp("Foo::Bar::Baz") # => "Foo(::Bar(::Baz)?)?" # const_regexp("::") # => "::" # - # source://activesupport/lib/active_support/inflector/methods.rb#357 + # source://activesupport//lib/active_support/inflector/methods.rb#357 def const_regexp(camel_cased_word); end end -# source://activesupport/lib/active_support/inflector/transliterate.rb#8 +# source://activesupport//lib/active_support/inflector/transliterate.rb#8 ActiveSupport::Inflector::ALLOWED_ENCODINGS_FOR_TRANSLITERATE = T.let(T.unsafe(nil), Array) # = Active Support \Inflections @@ -7403,11 +7455,11 @@ ActiveSupport::Inflector::ALLOWED_ENCODINGS_FOR_TRANSLITERATE = T.let(T.unsafe(n # singularization rules that is runs. This guarantees that your rules run # before any of the rules that may already have been loaded. # -# source://activesupport/lib/active_support/inflector/inflections.rb#30 +# source://activesupport//lib/active_support/inflector/inflections.rb#30 class ActiveSupport::Inflector::Inflections # @return [Inflections] a new instance of Inflections # - # source://activesupport/lib/active_support/inflector/inflections.rb#80 + # source://activesupport//lib/active_support/inflector/inflections.rb#80 def initialize; end # Specifies a new acronym. An acronym must be specified as it will appear @@ -7460,18 +7512,18 @@ class ActiveSupport::Inflector::Inflections # underscore 'McDonald' # => 'mcdonald' # camelize 'mcdonald' # => 'McDonald' # - # source://activesupport/lib/active_support/inflector/inflections.rb#142 + # source://activesupport//lib/active_support/inflector/inflections.rb#142 def acronym(word); end # Returns the value of attribute acronyms. # - # source://activesupport/lib/active_support/inflector/inflections.rb#76 + # source://activesupport//lib/active_support/inflector/inflections.rb#76 def acronyms; end - # source://activesupport/lib/active_support/inflector/inflections.rb#78 + # source://activesupport//lib/active_support/inflector/inflections.rb#78 def acronyms_camelize_regex; end - # source://activesupport/lib/active_support/inflector/inflections.rb#78 + # source://activesupport//lib/active_support/inflector/inflections.rb#78 def acronyms_underscore_regex; end # Clears the loaded inflections within a given scope (default is @@ -7482,7 +7534,7 @@ class ActiveSupport::Inflector::Inflections # clear :all # clear :plurals # - # source://activesupport/lib/active_support/inflector/inflections.rb#231 + # source://activesupport//lib/active_support/inflector/inflections.rb#231 def clear(scope = T.unsafe(nil)); end # Specifies a humanized form of a string by a regular expression rule or @@ -7494,12 +7546,12 @@ class ActiveSupport::Inflector::Inflections # human /_cnt$/i, '\1_count' # human 'legacy_col_person_name', 'Name' # - # source://activesupport/lib/active_support/inflector/inflections.rb#220 + # source://activesupport//lib/active_support/inflector/inflections.rb#220 def human(rule, replacement); end # Returns the value of attribute humans. # - # source://activesupport/lib/active_support/inflector/inflections.rb#76 + # source://activesupport//lib/active_support/inflector/inflections.rb#76 def humans; end # Specifies a new irregular that applies to both pluralization and @@ -7510,7 +7562,7 @@ class ActiveSupport::Inflector::Inflections # irregular 'cactus', 'cacti' # irregular 'person', 'people' # - # source://activesupport/lib/active_support/inflector/inflections.rb#174 + # source://activesupport//lib/active_support/inflector/inflections.rb#174 def irregular(singular, plural); end # Specifies a new pluralization rule and its replacement. The rule can @@ -7518,12 +7570,12 @@ class ActiveSupport::Inflector::Inflections # always be a string that may include references to the matched data from # the rule. # - # source://activesupport/lib/active_support/inflector/inflections.rb#151 + # source://activesupport//lib/active_support/inflector/inflections.rb#151 def plural(rule, replacement); end # Returns the value of attribute plurals. # - # source://activesupport/lib/active_support/inflector/inflections.rb#76 + # source://activesupport//lib/active_support/inflector/inflections.rb#76 def plurals; end # Specifies a new singularization rule and its replacement. The rule can @@ -7531,12 +7583,12 @@ class ActiveSupport::Inflector::Inflections # always be a string that may include references to the matched data from # the rule. # - # source://activesupport/lib/active_support/inflector/inflections.rb#161 + # source://activesupport//lib/active_support/inflector/inflections.rb#161 def singular(rule, replacement); end # Returns the value of attribute singulars. # - # source://activesupport/lib/active_support/inflector/inflections.rb#76 + # source://activesupport//lib/active_support/inflector/inflections.rb#76 def singulars; end # Specifies words that are uncountable and should not be inflected. @@ -7545,57 +7597,57 @@ class ActiveSupport::Inflector::Inflections # uncountable 'money', 'information' # uncountable %w( money information rice ) # - # source://activesupport/lib/active_support/inflector/inflections.rb#208 + # source://activesupport//lib/active_support/inflector/inflections.rb#208 def uncountable(*words); end # Returns the value of attribute uncountables. # - # source://activesupport/lib/active_support/inflector/inflections.rb#76 + # source://activesupport//lib/active_support/inflector/inflections.rb#76 def uncountables; end private - # source://activesupport/lib/active_support/inflector/inflections.rb#250 + # source://activesupport//lib/active_support/inflector/inflections.rb#250 def define_acronym_regex_patterns; end # Private, for the test suite. # - # source://activesupport/lib/active_support/inflector/inflections.rb#86 + # source://activesupport//lib/active_support/inflector/inflections.rb#86 def initialize_dup(orig); end class << self - # source://activesupport/lib/active_support/inflector/inflections.rb#65 + # source://activesupport//lib/active_support/inflector/inflections.rb#65 def instance(locale = T.unsafe(nil)); end - # source://activesupport/lib/active_support/inflector/inflections.rb#69 + # source://activesupport//lib/active_support/inflector/inflections.rb#69 def instance_or_fallback(locale); end end end -# source://activesupport/lib/active_support/inflector/inflections.rb#33 +# source://activesupport//lib/active_support/inflector/inflections.rb#33 class ActiveSupport::Inflector::Inflections::Uncountables < ::Array # @return [Uncountables] a new instance of Uncountables # - # source://activesupport/lib/active_support/inflector/inflections.rb#34 + # source://activesupport//lib/active_support/inflector/inflections.rb#34 def initialize; end - # source://activesupport/lib/active_support/inflector/inflections.rb#44 + # source://activesupport//lib/active_support/inflector/inflections.rb#44 def <<(*word); end - # source://activesupport/lib/active_support/inflector/inflections.rb#48 + # source://activesupport//lib/active_support/inflector/inflections.rb#48 def add(words); end - # source://activesupport/lib/active_support/inflector/inflections.rb#39 + # source://activesupport//lib/active_support/inflector/inflections.rb#39 def delete(entry); end # @return [Boolean] # - # source://activesupport/lib/active_support/inflector/inflections.rb#55 + # source://activesupport//lib/active_support/inflector/inflections.rb#55 def uncountable?(str); end private - # source://activesupport/lib/active_support/inflector/inflections.rb#60 + # source://activesupport//lib/active_support/inflector/inflections.rb#60 def to_regex(string); end end @@ -7616,67 +7668,67 @@ end # h.girl # => 'Mary' # h.boy # => 'John' # -# source://activesupport/lib/active_support/ordered_options.rb#93 +# source://activesupport//lib/active_support/ordered_options.rb#93 class ActiveSupport::InheritableOptions < ::ActiveSupport::OrderedOptions # @return [InheritableOptions] a new instance of InheritableOptions # - # source://activesupport/lib/active_support/ordered_options.rb#94 + # source://activesupport//lib/active_support/ordered_options.rb#94 def initialize(parent = T.unsafe(nil)); end - # source://activesupport/lib/active_support/ordered_options.rb#105 + # source://activesupport//lib/active_support/ordered_options.rb#105 def inheritable_copy; end end -# source://activesupport/lib/active_support/isolated_execution_state.rb#6 +# source://activesupport//lib/active_support/isolated_execution_state.rb#6 module ActiveSupport::IsolatedExecutionState class << self - # source://activesupport/lib/active_support/isolated_execution_state.rb#37 + # source://activesupport//lib/active_support/isolated_execution_state.rb#37 def [](key); end - # source://activesupport/lib/active_support/isolated_execution_state.rb#41 + # source://activesupport//lib/active_support/isolated_execution_state.rb#41 def []=(key, value); end - # source://activesupport/lib/active_support/isolated_execution_state.rb#53 + # source://activesupport//lib/active_support/isolated_execution_state.rb#53 def clear; end - # source://activesupport/lib/active_support/isolated_execution_state.rb#57 + # source://activesupport//lib/active_support/isolated_execution_state.rb#57 def context; end - # source://activesupport/lib/active_support/isolated_execution_state.rb#49 + # source://activesupport//lib/active_support/isolated_execution_state.rb#49 def delete(key); end # Returns the value of attribute isolation_level. # - # source://activesupport/lib/active_support/isolated_execution_state.rb#13 + # source://activesupport//lib/active_support/isolated_execution_state.rb#13 def isolation_level; end - # source://activesupport/lib/active_support/isolated_execution_state.rb#15 + # source://activesupport//lib/active_support/isolated_execution_state.rb#15 def isolation_level=(level); end # @return [Boolean] # - # source://activesupport/lib/active_support/isolated_execution_state.rb#45 + # source://activesupport//lib/active_support/isolated_execution_state.rb#45 def key?(key); end # Returns the value of attribute scope. # - # source://activesupport/lib/active_support/isolated_execution_state.rb#13 + # source://activesupport//lib/active_support/isolated_execution_state.rb#13 def scope; end - # source://activesupport/lib/active_support/isolated_execution_state.rb#61 + # source://activesupport//lib/active_support/isolated_execution_state.rb#61 def share_with(other); end - # source://activesupport/lib/active_support/isolated_execution_state.rb#33 + # source://activesupport//lib/active_support/isolated_execution_state.rb#33 def unique_id; end private - # source://activesupport/lib/active_support/isolated_execution_state.rb#69 + # source://activesupport//lib/active_support/isolated_execution_state.rb#69 def state; end end end -# source://activesupport/lib/active_support/json/decoding.rb#11 +# source://activesupport//lib/active_support/json/decoding.rb#11 module ActiveSupport::JSON class << self # Parses a JSON string (JavaScript Object Notation) into a hash. @@ -7685,13 +7737,13 @@ module ActiveSupport::JSON # ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}") # => {"team" => "rails", "players" => "36"} # - # source://activesupport/lib/active_support/json/decoding.rb#22 + # source://activesupport//lib/active_support/json/decoding.rb#22 def decode(json); end - # source://activesupport/lib/active_support/json/encoding.rb#22 + # source://activesupport//lib/active_support/json/encoding.rb#25 def dump(value, options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/json/encoding.rb#22 + # source://activesupport//lib/active_support/json/encoding.rb#22 def encode(value, options = T.unsafe(nil)); end # Parses a JSON string (JavaScript Object Notation) into a hash. @@ -7700,7 +7752,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}") # => {"team" => "rails", "players" => "36"} # - # source://activesupport/lib/active_support/json/decoding.rb#22 + # source://activesupport//lib/active_support/json/decoding.rb#31 def load(json); end # Returns the class of the error that will be raised when there is an @@ -7714,92 +7766,92 @@ module ActiveSupport::JSON # Rails.logger.warn("Attempted to decode invalid JSON: #{some_string}") # end # - # source://activesupport/lib/active_support/json/decoding.rb#43 + # source://activesupport//lib/active_support/json/decoding.rb#43 def parse_error; end private - # source://activesupport/lib/active_support/json/decoding.rb#48 + # source://activesupport//lib/active_support/json/decoding.rb#48 def convert_dates_from(data); end end end -# source://activesupport/lib/active_support/json/decoding.rb#14 +# source://activesupport//lib/active_support/json/decoding.rb#14 ActiveSupport::JSON::DATETIME_REGEX = T.let(T.unsafe(nil), Regexp) # matches YAML-formatted dates # -# source://activesupport/lib/active_support/json/decoding.rb#13 +# source://activesupport//lib/active_support/json/decoding.rb#13 ActiveSupport::JSON::DATE_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/json/encoding.rb#28 +# source://activesupport//lib/active_support/json/encoding.rb#28 module ActiveSupport::JSON::Encoding class << self # If true, encode >, <, & as escaped unicode sequences (e.g. > as \u003e) # as a safety measure. # - # source://activesupport/lib/active_support/json/encoding.rb#103 + # source://activesupport//lib/active_support/json/encoding.rb#103 def escape_html_entities_in_json; end # If true, encode >, <, & as escaped unicode sequences (e.g. > as \u003e) # as a safety measure. # - # source://activesupport/lib/active_support/json/encoding.rb#103 + # source://activesupport//lib/active_support/json/encoding.rb#103 def escape_html_entities_in_json=(_arg0); end # Sets the encoder used by \Rails to encode Ruby objects into JSON strings # in +Object#to_json+ and +ActiveSupport::JSON.encode+. # - # source://activesupport/lib/active_support/json/encoding.rb#111 + # source://activesupport//lib/active_support/json/encoding.rb#111 def json_encoder; end # Sets the encoder used by \Rails to encode Ruby objects into JSON strings # in +Object#to_json+ and +ActiveSupport::JSON.encode+. # - # source://activesupport/lib/active_support/json/encoding.rb#111 + # source://activesupport//lib/active_support/json/encoding.rb#111 def json_encoder=(_arg0); end # Sets the precision of encoded time values. # Defaults to 3 (equivalent to millisecond precision) # - # source://activesupport/lib/active_support/json/encoding.rb#107 + # source://activesupport//lib/active_support/json/encoding.rb#107 def time_precision; end # Sets the precision of encoded time values. # Defaults to 3 (equivalent to millisecond precision) # - # source://activesupport/lib/active_support/json/encoding.rb#107 + # source://activesupport//lib/active_support/json/encoding.rb#107 def time_precision=(_arg0); end # If true, use ISO 8601 format for dates and times. Otherwise, fall back # to the Active Support legacy format. # - # source://activesupport/lib/active_support/json/encoding.rb#99 + # source://activesupport//lib/active_support/json/encoding.rb#99 def use_standard_json_time_format; end # If true, use ISO 8601 format for dates and times. Otherwise, fall back # to the Active Support legacy format. # - # source://activesupport/lib/active_support/json/encoding.rb#99 + # source://activesupport//lib/active_support/json/encoding.rb#99 def use_standard_json_time_format=(_arg0); end end end -# source://activesupport/lib/active_support/json/encoding.rb#29 +# source://activesupport//lib/active_support/json/encoding.rb#29 class ActiveSupport::JSON::Encoding::JSONGemEncoder # @return [JSONGemEncoder] a new instance of JSONGemEncoder # - # source://activesupport/lib/active_support/json/encoding.rb#32 + # source://activesupport//lib/active_support/json/encoding.rb#32 def initialize(options = T.unsafe(nil)); end # Encode the given object into a JSON string # - # source://activesupport/lib/active_support/json/encoding.rb#37 + # source://activesupport//lib/active_support/json/encoding.rb#37 def encode(value); end # Returns the value of attribute options. # - # source://activesupport/lib/active_support/json/encoding.rb#30 + # source://activesupport//lib/active_support/json/encoding.rb#30 def options; end private @@ -7818,12 +7870,12 @@ class ActiveSupport::JSON::Encoding::JSONGemEncoder # to +object.as_json+, not any of this method's recursive +#as_json+ # calls. # - # source://activesupport/lib/active_support/json/encoding.rb#70 + # source://activesupport//lib/active_support/json/encoding.rb#70 def jsonify(value); end # Encode a "jsonified" Ruby data structure using the JSON gem # - # source://activesupport/lib/active_support/json/encoding.rb#91 + # source://activesupport//lib/active_support/json/encoding.rb#91 def stringify(jsonified); end end @@ -7834,28 +7886,28 @@ end # This lets \Rails applications have a single secure secret, but avoid reusing that # key in multiple incompatible contexts. # -# source://activesupport/lib/active_support/key_generator.rb#13 +# source://activesupport//lib/active_support/key_generator.rb#13 class ActiveSupport::KeyGenerator # @return [KeyGenerator] a new instance of KeyGenerator # - # source://activesupport/lib/active_support/key_generator.rb#28 + # source://activesupport//lib/active_support/key_generator.rb#28 def initialize(secret, options = T.unsafe(nil)); end # Returns a derived key suitable for use. The default +key_size+ is chosen # to be compatible with the default settings of ActiveSupport::MessageVerifier. # i.e. OpenSSL::Digest::SHA1#block_length # - # source://activesupport/lib/active_support/key_generator.rb#41 + # source://activesupport//lib/active_support/key_generator.rb#41 def generate_key(salt, key_size = T.unsafe(nil)); end - # source://activesupport/lib/active_support/key_generator.rb#45 + # source://activesupport//lib/active_support/key_generator.rb#45 def inspect; end class << self - # source://activesupport/lib/active_support/key_generator.rb#23 + # source://activesupport//lib/active_support/key_generator.rb#23 def hash_digest_class; end - # source://activesupport/lib/active_support/key_generator.rb#15 + # source://activesupport//lib/active_support/key_generator.rb#15 def hash_digest_class=(klass); end end end @@ -7900,7 +7952,7 @@ end # end # end # -# source://activesupport/lib/active_support/lazy_load_hooks.rb#43 +# source://activesupport//lib/active_support/lazy_load_hooks.rb#43 module ActiveSupport::LazyLoadHooks # Declares a block that will be executed when a \Rails component is fully # loaded. If the component has already loaded, the block is executed @@ -7911,7 +7963,7 @@ module ActiveSupport::LazyLoadHooks # * :yield - Yields the object that run_load_hooks to +block+. # * :run_once - Given +block+ will run only once. # - # source://activesupport/lib/active_support/lazy_load_hooks.rb#60 + # source://activesupport//lib/active_support/lazy_load_hooks.rb#60 def on_load(name, options = T.unsafe(nil), &block); end # Executes all blocks registered to +name+ via on_load, using +base+ as the @@ -7922,19 +7974,19 @@ module ActiveSupport::LazyLoadHooks # In the case of the above example, it will execute all hooks registered # for +:active_record+ within the class +ActiveRecord::Base+. # - # source://activesupport/lib/active_support/lazy_load_hooks.rb#75 + # source://activesupport//lib/active_support/lazy_load_hooks.rb#75 def run_load_hooks(name, base = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/lazy_load_hooks.rb#91 + # source://activesupport//lib/active_support/lazy_load_hooks.rb#91 def execute_hook(name, base, options, block); end - # source://activesupport/lib/active_support/lazy_load_hooks.rb#83 + # source://activesupport//lib/active_support/lazy_load_hooks.rb#83 def with_execution_control(name, block, once); end class << self - # source://activesupport/lib/active_support/lazy_load_hooks.rb#44 + # source://activesupport//lib/active_support/lazy_load_hooks.rb#44 def extended(base); end end end @@ -7994,52 +8046,52 @@ end # that all logs are flushed, and it is called in Rails::Rack::Logger after a # request finishes. # -# source://activesupport/lib/active_support/log_subscriber.rb#64 +# source://activesupport//lib/active_support/log_subscriber.rb#64 class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber # @return [LogSubscriber] a new instance of LogSubscriber # - # source://activesupport/lib/active_support/log_subscriber.rb#137 + # source://activesupport//lib/active_support/log_subscriber.rb#137 def initialize; end - # source://activesupport/lib/active_support/log_subscriber.rb#150 + # source://activesupport//lib/active_support/log_subscriber.rb#150 def call(event); end - # source://activesupport/lib/active_support/log_subscriber.rb#87 + # source://activesupport//lib/active_support/log_subscriber.rb#87 def colorize_logging; end - # source://activesupport/lib/active_support/log_subscriber.rb#87 + # source://activesupport//lib/active_support/log_subscriber.rb#87 def colorize_logging=(val); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def debug(progname = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def error(progname = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/log_subscriber.rb#162 + # source://activesupport//lib/active_support/log_subscriber.rb#162 def event_levels=(_arg0); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def fatal(progname = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def info(progname = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/log_subscriber.rb#142 + # source://activesupport//lib/active_support/log_subscriber.rb#142 def logger; end - # source://activesupport/lib/active_support/log_subscriber.rb#156 + # source://activesupport//lib/active_support/log_subscriber.rb#156 def publish_event(event); end # @return [Boolean] # - # source://activesupport/lib/active_support/log_subscriber.rb#146 + # source://activesupport//lib/active_support/log_subscriber.rb#146 def silenced?(event); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def unknown(progname = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/log_subscriber.rb#167 + # source://activesupport//lib/active_support/log_subscriber.rb#167 def warn(progname = T.unsafe(nil), &block); end private @@ -8048,121 +8100,121 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber # by specifying bold, italic, or underline options. Inspired by Highline, # this method will automatically clear formatting at the end of the returned String. # - # source://activesupport/lib/active_support/log_subscriber.rb#176 + # source://activesupport//lib/active_support/log_subscriber.rb#176 def color(text, color, mode_options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/log_subscriber.rb#198 + # source://activesupport//lib/active_support/log_subscriber.rb#198 def log_exception(name, e); end - # source://activesupport/lib/active_support/log_subscriber.rb#184 + # source://activesupport//lib/active_support/log_subscriber.rb#184 def mode_from(options); end class << self - # source://activesupport/lib/active_support/log_subscriber.rb#103 + # source://activesupport//lib/active_support/log_subscriber.rb#103 def attach_to(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/log_subscriber.rb#87 + # source://activesupport//lib/active_support/log_subscriber.rb#87 def colorize_logging; end - # source://activesupport/lib/active_support/log_subscriber.rb#87 + # source://activesupport//lib/active_support/log_subscriber.rb#87 def colorize_logging=(val); end # Flush all log_subscribers' logger. # - # source://activesupport/lib/active_support/log_subscriber.rb#116 + # source://activesupport//lib/active_support/log_subscriber.rb#116 def flush_all!; end - # source://activesupport/lib/active_support/log_subscriber.rb#88 + # source://activesupport//lib/active_support/log_subscriber.rb#88 def log_levels; end - # source://activesupport/lib/active_support/log_subscriber.rb#88 + # source://activesupport//lib/active_support/log_subscriber.rb#88 def log_levels=(value); end - # source://activesupport/lib/active_support/log_subscriber.rb#88 + # source://activesupport//lib/active_support/log_subscriber.rb#88 def log_levels?; end - # source://activesupport/lib/active_support/log_subscriber.rb#111 + # source://activesupport//lib/active_support/log_subscriber.rb#111 def log_subscribers; end - # source://activesupport/lib/active_support/log_subscriber.rb#97 + # source://activesupport//lib/active_support/log_subscriber.rb#97 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://activesupport/lib/active_support/log_subscriber.rb#109 + # source://activesupport//lib/active_support/log_subscriber.rb#109 def logger=(_arg0); end private - # source://activesupport/lib/active_support/log_subscriber.rb#121 + # source://activesupport//lib/active_support/log_subscriber.rb#121 def fetch_public_methods(subscriber, inherit_all); end - # source://activesupport/lib/active_support/log_subscriber.rb#125 + # source://activesupport//lib/active_support/log_subscriber.rb#125 def set_event_levels; end - # source://activesupport/lib/active_support/log_subscriber.rb#131 + # source://activesupport//lib/active_support/log_subscriber.rb#131 def subscribe_log_level(method, level); end end end # ANSI sequence colors # -# source://activesupport/lib/active_support/log_subscriber.rb#78 +# source://activesupport//lib/active_support/log_subscriber.rb#78 ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#82 +# source://activesupport//lib/active_support/log_subscriber.rb#82 ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#67 +# source://activesupport//lib/active_support/log_subscriber.rb#67 ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy) # Embed in a String to clear all previous ANSI sequences. # -# source://activesupport/lib/active_support/log_subscriber.rb#66 +# source://activesupport//lib/active_support/log_subscriber.rb#66 ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy) -# source://activesupport/lib/active_support/log_subscriber.rb#84 +# source://activesupport//lib/active_support/log_subscriber.rb#84 ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#80 +# source://activesupport//lib/active_support/log_subscriber.rb#80 ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#90 +# source://activesupport//lib/active_support/log_subscriber.rb#90 ActiveSupport::LogSubscriber::LEVEL_CHECKS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/log_subscriber.rb#83 +# source://activesupport//lib/active_support/log_subscriber.rb#83 ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String) # ANSI sequence modes # -# source://activesupport/lib/active_support/log_subscriber.rb#70 +# source://activesupport//lib/active_support/log_subscriber.rb#70 ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/log_subscriber.rb#79 +# source://activesupport//lib/active_support/log_subscriber.rb#79 ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#85 +# source://activesupport//lib/active_support/log_subscriber.rb#85 ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/log_subscriber.rb#81 +# source://activesupport//lib/active_support/log_subscriber.rb#81 ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/logger.rb#8 +# source://activesupport//lib/active_support/logger.rb#8 class ActiveSupport::Logger < ::Logger include ::ActiveSupport::LoggerSilence include ::ActiveSupport::LoggerThreadSafeLevel # @return [Logger] a new instance of Logger # - # source://activesupport/lib/active_support/logger.rb#29 + # source://activesupport//lib/active_support/logger.rb#29 def initialize(*args, **kwargs); end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer; end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer=(val); end class << self @@ -8174,77 +8226,77 @@ class ActiveSupport::Logger < ::Logger # # @return [Boolean] # - # source://activesupport/lib/active_support/logger.rb#16 + # source://activesupport//lib/active_support/logger.rb#16 def logger_outputs_to?(logger, *sources); end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer; end - # source://activesupport/lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer=(val); end end end # Simple formatter which only displays the message. # -# source://activesupport/lib/active_support/logger.rb#35 +# source://activesupport//lib/active_support/logger.rb#35 class ActiveSupport::Logger::SimpleFormatter < ::Logger::Formatter # This method is invoked when a log event occurs # - # source://activesupport/lib/active_support/logger.rb#37 + # source://activesupport//lib/active_support/logger.rb#37 def call(severity, timestamp, progname, msg); end end -# source://activesupport/lib/active_support/logger_silence.rb#8 +# source://activesupport//lib/active_support/logger_silence.rb#8 module ActiveSupport::LoggerSilence extend ::ActiveSupport::Concern include ::ActiveSupport::LoggerThreadSafeLevel # Silences the logger for the duration of the block. # - # source://activesupport/lib/active_support/logger_silence.rb#17 + # source://activesupport//lib/active_support/logger_silence.rb#17 def silence(severity = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/logger_thread_safe_level.rb#7 +# source://activesupport//lib/active_support/logger_thread_safe_level.rb#7 module ActiveSupport::LoggerThreadSafeLevel extend ::ActiveSupport::Concern - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def debug?; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def error?; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def fatal?; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def info?; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#38 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#38 def level; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#18 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#18 def local_level; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#22 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#22 def local_level=(level); end # Change the thread-local level for the duration of the given block. # - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#43 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#43 def log_at(level); end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def unknown?; end - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def warn?; end private - # source://activesupport/lib/active_support/logger_thread_safe_level.rb#51 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#51 def local_level_key; end end @@ -8328,7 +8380,7 @@ end # # crypt.rotate old_secret, cipher: "aes-256-cbc" # -# source://activesupport/lib/active_support/message_encryptor.rb#90 +# source://activesupport//lib/active_support/message_encryptor.rb#90 class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec include ::ActiveSupport::Messages::Rotator @@ -8397,10 +8449,10 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # # @return [MessageEncryptor] a new instance of MessageEncryptor # - # source://activesupport/lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/message_encryptor.rb#183 def initialize(*args, on_rotation: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/message_encryptor.rb#256 + # source://activesupport//lib/active_support/message_encryptor.rb#256 def create_message(value, **options); end # Decrypt and verify a message. We need to verify the message in order to @@ -8420,7 +8472,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # encryptor.decrypt_and_verify(message) # => "bye" # encryptor.decrypt_and_verify(message, purpose: "greeting") # => nil # - # source://activesupport/lib/active_support/message_encryptor.rb#241 + # source://activesupport//lib/active_support/message_encryptor.rb#241 def decrypt_and_verify(message, **options); end # Encrypt and sign a message. We need to sign the message in order to avoid @@ -8451,105 +8503,105 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # specified when verifying the message; otherwise, verification will fail. # (See #decrypt_and_verify.) # - # source://activesupport/lib/active_support/message_encryptor.rb#220 + # source://activesupport//lib/active_support/message_encryptor.rb#220 def encrypt_and_sign(value, **options); end - # source://activesupport/lib/active_support/message_encryptor.rb#264 + # source://activesupport//lib/active_support/message_encryptor.rb#264 def inspect; end - # source://activesupport/lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/message_encryptor.rb#260 def read_message(message, on_rotation: T.unsafe(nil), **options); end private # Returns the value of attribute aead_mode. # - # source://activesupport/lib/active_support/message_encryptor.rb#371 + # source://activesupport//lib/active_support/message_encryptor.rb#371 def aead_mode; end # Returns the value of attribute aead_mode. # - # source://activesupport/lib/active_support/message_encryptor.rb#371 + # source://activesupport//lib/active_support/message_encryptor.rb#372 def aead_mode?; end - # source://activesupport/lib/active_support/message_encryptor.rb#295 + # source://activesupport//lib/active_support/message_encryptor.rb#295 def decrypt(encrypted_message); end - # source://activesupport/lib/active_support/message_encryptor.rb#277 + # source://activesupport//lib/active_support/message_encryptor.rb#277 def encrypt(data); end - # source://activesupport/lib/active_support/message_encryptor.rb#340 + # source://activesupport//lib/active_support/message_encryptor.rb#340 def extract_part(encrypted_message, rindex, length); end - # source://activesupport/lib/active_support/message_encryptor.rb#350 + # source://activesupport//lib/active_support/message_encryptor.rb#350 def extract_parts(encrypted_message); end - # source://activesupport/lib/active_support/message_encryptor.rb#336 + # source://activesupport//lib/active_support/message_encryptor.rb#336 def join_parts(parts); end - # source://activesupport/lib/active_support/message_encryptor.rb#320 + # source://activesupport//lib/active_support/message_encryptor.rb#320 def length_after_encode(length_before_encode); end - # source://activesupport/lib/active_support/message_encryptor.rb#332 + # source://activesupport//lib/active_support/message_encryptor.rb#332 def length_of_encoded_auth_tag; end - # source://activesupport/lib/active_support/message_encryptor.rb#328 + # source://activesupport//lib/active_support/message_encryptor.rb#328 def length_of_encoded_iv; end - # source://activesupport/lib/active_support/message_encryptor.rb#367 + # source://activesupport//lib/active_support/message_encryptor.rb#367 def new_cipher; end - # source://activesupport/lib/active_support/message_encryptor.rb#269 + # source://activesupport//lib/active_support/message_encryptor.rb#269 def sign(data); end - # source://activesupport/lib/active_support/message_encryptor.rb#273 + # source://activesupport//lib/active_support/message_encryptor.rb#273 def verify(data); end class << self - # source://activesupport/lib/active_support/message_encryptor.rb#96 + # source://activesupport//lib/active_support/message_encryptor.rb#96 def default_cipher; end # Given a cipher, returns the key length of the cipher to help generate the key of desired size # - # source://activesupport/lib/active_support/message_encryptor.rb#252 + # source://activesupport//lib/active_support/message_encryptor.rb#252 def key_len(cipher = T.unsafe(nil)); end - # source://activesupport/lib/active_support/message_encryptor.rb#93 + # source://activesupport//lib/active_support/message_encryptor.rb#93 def use_authenticated_message_encryption; end - # source://activesupport/lib/active_support/message_encryptor.rb#93 + # source://activesupport//lib/active_support/message_encryptor.rb#93 def use_authenticated_message_encryption=(val); end end end -# source://activesupport/lib/active_support/message_encryptor.rb#118 +# source://activesupport//lib/active_support/message_encryptor.rb#118 ActiveSupport::MessageEncryptor::AUTH_TAG_LENGTH = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/message_encryptor.rb#115 +# source://activesupport//lib/active_support/message_encryptor.rb#115 class ActiveSupport::MessageEncryptor::InvalidMessage < ::StandardError; end -# source://activesupport/lib/active_support/message_encryptor.rb#105 +# source://activesupport//lib/active_support/message_encryptor.rb#105 module ActiveSupport::MessageEncryptor::NullSerializer class << self - # source://activesupport/lib/active_support/message_encryptor.rb#110 + # source://activesupport//lib/active_support/message_encryptor.rb#110 def dump(value); end - # source://activesupport/lib/active_support/message_encryptor.rb#106 + # source://activesupport//lib/active_support/message_encryptor.rb#106 def load(value); end end end -# source://activesupport/lib/active_support/message_encryptor.rb#116 +# source://activesupport//lib/active_support/message_encryptor.rb#116 ActiveSupport::MessageEncryptor::OpenSSLCipherError = OpenSSL::Cipher::CipherError -# source://activesupport/lib/active_support/message_encryptor.rb#119 +# source://activesupport//lib/active_support/message_encryptor.rb#119 ActiveSupport::MessageEncryptor::SEPARATOR = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/message_encryptors.rb#6 +# source://activesupport//lib/active_support/message_encryptors.rb#6 class ActiveSupport::MessageEncryptors < ::ActiveSupport::Messages::RotationCoordinator private - # source://activesupport/lib/active_support/message_encryptors.rb#135 + # source://activesupport//lib/active_support/message_encryptors.rb#135 def build(salt, secret_generator:, secret_generator_options:, **options); end end @@ -8641,7 +8693,7 @@ end # # verifier.rotate(old_secret, digest: "SHA256", serializer: Marshal) # -# source://activesupport/lib/active_support/message_verifier.rb#98 +# source://activesupport//lib/active_support/message_verifier.rb#98 class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec include ::ActiveSupport::Messages::Rotator @@ -8696,10 +8748,10 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # @raise [ArgumentError] # @return [MessageVerifier] a new instance of MessageVerifier # - # source://activesupport/lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/message_verifier.rb#153 def initialize(*args, on_rotation: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/message_verifier.rb#296 + # source://activesupport//lib/active_support/message_verifier.rb#296 def create_message(value, **options); end # Generates a signed message for the provided value. @@ -8737,13 +8789,13 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # specified when verifying the message; otherwise, verification will fail. # (See #verified and #verify.) # - # source://activesupport/lib/active_support/message_verifier.rb#292 + # source://activesupport//lib/active_support/message_verifier.rb#292 def generate(value, **options); end - # source://activesupport/lib/active_support/message_verifier.rb#304 + # source://activesupport//lib/active_support/message_verifier.rb#304 def inspect; end - # source://activesupport/lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/message_verifier.rb#300 def read_message(message, on_rotation: T.unsafe(nil), **options); end # Checks if a signed message could have been generated by signing an object @@ -8758,7 +8810,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # # @return [Boolean] # - # source://activesupport/lib/active_support/message_verifier.rb#169 + # source://activesupport//lib/active_support/message_verifier.rb#169 def valid_message?(message); end # Decodes the signed message using the +MessageVerifier+'s secret. @@ -8798,7 +8850,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # verifier.verified(message) # => "bye" # verifier.verified(message, purpose: "greeting") # => nil # - # source://activesupport/lib/active_support/message_verifier.rb#210 + # source://activesupport//lib/active_support/message_verifier.rb#210 def verified(message, **options); end # Decodes the signed message using the +MessageVerifier+'s secret. @@ -8829,334 +8881,334 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # verifier.verify(message) # => "bye" # verifier.verify(message, purpose: "greeting") # => raises InvalidSignature # - # source://activesupport/lib/active_support/message_verifier.rb#248 + # source://activesupport//lib/active_support/message_verifier.rb#248 def verify(message, **options); end private - # source://activesupport/lib/active_support/message_verifier.rb#335 + # source://activesupport//lib/active_support/message_verifier.rb#335 def digest_length_in_hex; end # @return [Boolean] # - # source://activesupport/lib/active_support/message_verifier.rb#352 + # source://activesupport//lib/active_support/message_verifier.rb#352 def digest_matches_data?(digest, data); end - # source://activesupport/lib/active_support/message_verifier.rb#314 + # source://activesupport//lib/active_support/message_verifier.rb#314 def extract_encoded(signed); end - # source://activesupport/lib/active_support/message_verifier.rb#331 + # source://activesupport//lib/active_support/message_verifier.rb#331 def generate_digest(data); end # @return [Boolean] # - # source://activesupport/lib/active_support/message_verifier.rb#343 + # source://activesupport//lib/active_support/message_verifier.rb#343 def separator_at?(signed_message, index); end - # source://activesupport/lib/active_support/message_verifier.rb#347 + # source://activesupport//lib/active_support/message_verifier.rb#347 def separator_index_for(signed_message); end - # source://activesupport/lib/active_support/message_verifier.rb#309 + # source://activesupport//lib/active_support/message_verifier.rb#309 def sign_encoded(encoded); end end -# source://activesupport/lib/active_support/message_verifier.rb#101 +# source://activesupport//lib/active_support/message_verifier.rb#101 class ActiveSupport::MessageVerifier::InvalidSignature < ::StandardError; end -# source://activesupport/lib/active_support/message_verifier.rb#103 +# source://activesupport//lib/active_support/message_verifier.rb#103 ActiveSupport::MessageVerifier::SEPARATOR = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/message_verifier.rb#104 +# source://activesupport//lib/active_support/message_verifier.rb#104 ActiveSupport::MessageVerifier::SEPARATOR_LENGTH = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/message_verifiers.rb#6 +# source://activesupport//lib/active_support/message_verifiers.rb#6 class ActiveSupport::MessageVerifiers < ::ActiveSupport::Messages::RotationCoordinator private - # source://activesupport/lib/active_support/message_verifiers.rb#131 + # source://activesupport//lib/active_support/message_verifiers.rb#131 def build(salt, secret_generator:, secret_generator_options:, **options); end end -# source://activesupport/lib/active_support/messages/rotation_coordinator.rb#6 +# source://activesupport//lib/active_support/messages/rotation_coordinator.rb#6 module ActiveSupport::Messages; end -# source://activesupport/lib/active_support/messages/codec.rb#9 +# source://activesupport//lib/active_support/messages/codec.rb#9 class ActiveSupport::Messages::Codec include ::ActiveSupport::Messages::Metadata # @return [Codec] a new instance of Codec # - # source://activesupport/lib/active_support/messages/codec.rb#15 + # source://activesupport//lib/active_support/messages/codec.rb#15 def initialize(**options); end private - # source://activesupport/lib/active_support/messages/codec.rb#45 + # source://activesupport//lib/active_support/messages/codec.rb#45 def catch_and_ignore(throwable, &block); end - # source://activesupport/lib/active_support/messages/codec.rb#52 + # source://activesupport//lib/active_support/messages/codec.rb#52 def catch_and_raise(throwable, as: T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/messages/codec.rb#29 + # source://activesupport//lib/active_support/messages/codec.rb#29 def decode(encoded, url_safe: T.unsafe(nil)); end - # source://activesupport/lib/active_support/messages/codec.rb#39 + # source://activesupport//lib/active_support/messages/codec.rb#39 def deserialize(serialized); end - # source://activesupport/lib/active_support/messages/codec.rb#25 + # source://activesupport//lib/active_support/messages/codec.rb#25 def encode(data, url_safe: T.unsafe(nil)); end - # source://activesupport/lib/active_support/messages/codec.rb#35 + # source://activesupport//lib/active_support/messages/codec.rb#35 def serialize(data); end # Returns the value of attribute serializer. # - # source://activesupport/lib/active_support/messages/codec.rb#23 + # source://activesupport//lib/active_support/messages/codec.rb#23 def serializer; end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/codec.rb#60 + # source://activesupport//lib/active_support/messages/codec.rb#60 def use_message_serializer_for_metadata?; end class << self - # source://activesupport/lib/active_support/messages/codec.rb#12 + # source://activesupport//lib/active_support/messages/codec.rb#12 def default_serializer; end - # source://activesupport/lib/active_support/messages/codec.rb#12 + # source://activesupport//lib/active_support/messages/codec.rb#12 def default_serializer=(value); end end end -# source://activesupport/lib/active_support/messages/metadata.rb#9 +# source://activesupport//lib/active_support/messages/metadata.rb#9 module ActiveSupport::Messages::Metadata private - # source://activesupport/lib/active_support/messages/metadata.rb#128 + # source://activesupport//lib/active_support/messages/metadata.rb#128 def deserialize_from_json(serialized); end - # source://activesupport/lib/active_support/messages/metadata.rb#141 + # source://activesupport//lib/active_support/messages/metadata.rb#141 def deserialize_from_json_safe_string(string); end - # source://activesupport/lib/active_support/messages/metadata.rb#43 + # source://activesupport//lib/active_support/messages/metadata.rb#43 def deserialize_with_metadata(message, **expected_metadata); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/metadata.rb#96 + # source://activesupport//lib/active_support/messages/metadata.rb#96 def dual_serialized_metadata_envelope_json?(string); end - # source://activesupport/lib/active_support/messages/metadata.rb#78 + # source://activesupport//lib/active_support/messages/metadata.rb#78 def extract_from_metadata_envelope(envelope, purpose: T.unsafe(nil)); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/metadata.rb#92 + # source://activesupport//lib/active_support/messages/metadata.rb#92 def metadata_envelope?(object); end - # source://activesupport/lib/active_support/messages/metadata.rb#114 + # source://activesupport//lib/active_support/messages/metadata.rb#114 def parse_expiry(expires_at); end - # source://activesupport/lib/active_support/messages/metadata.rb#100 + # source://activesupport//lib/active_support/messages/metadata.rb#100 def pick_expiry(expires_at, expires_in); end - # source://activesupport/lib/active_support/messages/metadata.rb#124 + # source://activesupport//lib/active_support/messages/metadata.rb#124 def serialize_to_json(data); end - # source://activesupport/lib/active_support/messages/metadata.rb#137 + # source://activesupport//lib/active_support/messages/metadata.rb#137 def serialize_to_json_safe_string(data); end - # source://activesupport/lib/active_support/messages/metadata.rb#30 + # source://activesupport//lib/active_support/messages/metadata.rb#30 def serialize_with_metadata(data, **metadata); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/metadata.rb#60 + # source://activesupport//lib/active_support/messages/metadata.rb#60 def use_message_serializer_for_metadata?; end - # source://activesupport/lib/active_support/messages/metadata.rb#64 + # source://activesupport//lib/active_support/messages/metadata.rb#64 def wrap_in_metadata_envelope(hash, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end - # source://activesupport/lib/active_support/messages/metadata.rb#71 + # source://activesupport//lib/active_support/messages/metadata.rb#71 def wrap_in_metadata_legacy_envelope(hash, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end class << self - # source://activesupport/lib/active_support/messages/metadata.rb#10 + # source://activesupport//lib/active_support/messages/metadata.rb#10 def use_message_serializer_for_metadata; end - # source://activesupport/lib/active_support/messages/metadata.rb#10 + # source://activesupport//lib/active_support/messages/metadata.rb#10 def use_message_serializer_for_metadata=(_arg0); end end end -# source://activesupport/lib/active_support/messages/metadata.rb#12 +# source://activesupport//lib/active_support/messages/metadata.rb#12 ActiveSupport::Messages::Metadata::ENVELOPE_SERIALIZERS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/messages/metadata.rb#19 +# source://activesupport//lib/active_support/messages/metadata.rb#19 ActiveSupport::Messages::Metadata::TIMESTAMP_SERIALIZERS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/messages/rotation_configuration.rb#5 +# source://activesupport//lib/active_support/messages/rotation_configuration.rb#5 class ActiveSupport::Messages::RotationConfiguration # @return [RotationConfiguration] a new instance of RotationConfiguration # - # source://activesupport/lib/active_support/messages/rotation_configuration.rb#8 + # source://activesupport//lib/active_support/messages/rotation_configuration.rb#8 def initialize; end # Returns the value of attribute encrypted. # - # source://activesupport/lib/active_support/messages/rotation_configuration.rb#6 + # source://activesupport//lib/active_support/messages/rotation_configuration.rb#6 def encrypted; end - # source://activesupport/lib/active_support/messages/rotation_configuration.rb#12 + # source://activesupport//lib/active_support/messages/rotation_configuration.rb#12 def rotate(kind, *args, **options); end # Returns the value of attribute signed. # - # source://activesupport/lib/active_support/messages/rotation_configuration.rb#6 + # source://activesupport//lib/active_support/messages/rotation_configuration.rb#6 def signed; end end -# source://activesupport/lib/active_support/messages/rotation_coordinator.rb#7 +# source://activesupport//lib/active_support/messages/rotation_coordinator.rb#7 class ActiveSupport::Messages::RotationCoordinator # @raise [ArgumentError] # @return [RotationCoordinator] a new instance of RotationCoordinator # - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#10 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#10 def initialize(&secret_generator); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#18 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#18 def [](salt); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#22 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#22 def []=(salt, codec); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#39 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#39 def clear_rotations; end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#45 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#45 def on_rotation(&callback); end # @raise [ArgumentError] # - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#26 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#26 def rotate(**options, &block); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#35 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#35 def rotate_defaults; end # Returns the value of attribute transitional. # - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#8 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#8 def transitional; end # Sets the attribute transitional # # @param value the value to set the attribute transitional to. # - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#8 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#8 def transitional=(_arg0); end private # @raise [NotImplementedError] # - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#88 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#88 def build(salt, secret_generator:, secret_generator_options:, **options); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#76 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#76 def build_with_rotations(salt); end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#51 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#51 def changing_configuration!; end - # source://activesupport/lib/active_support/messages/rotation_coordinator.rb#62 + # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#62 def normalize_options(options); end end -# source://activesupport/lib/active_support/messages/rotator.rb#5 +# source://activesupport//lib/active_support/messages/rotator.rb#5 module ActiveSupport::Messages::Rotator - # source://activesupport/lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/messages/rotator.rb#6 def initialize(*args, on_rotation: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/messages/rotator.rb#18 + # source://activesupport//lib/active_support/messages/rotator.rb#18 def fall_back_to(fallback); end - # source://activesupport/lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/messages/rotator.rb#23 def read_message(message, on_rotation: T.unsafe(nil), **options); end - # source://activesupport/lib/active_support/messages/rotator.rb#14 + # source://activesupport//lib/active_support/messages/rotator.rb#14 def rotate(*args, **options); end private - # source://activesupport/lib/active_support/messages/rotator.rb#44 + # source://activesupport//lib/active_support/messages/rotator.rb#44 def build_rotation(*args, **options); end - # source://activesupport/lib/active_support/messages/rotator.rb#48 + # source://activesupport//lib/active_support/messages/rotator.rb#48 def catch_rotation_error(&block); end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#8 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#8 module ActiveSupport::Messages::SerializerWithFallback - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#17 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#17 def load(dumped); end private - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#33 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#33 def detect_format(dumped); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#44 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#44 def fallback?(format); end class << self - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#9 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#9 def [](format); end end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#48 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#48 module ActiveSupport::Messages::SerializerWithFallback::AllowMarshal private # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#50 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#50 def fallback?(format); end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#78 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#78 module ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback include ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#90 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#90 def _load(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#86 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#86 def dump(object); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#96 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#96 def dumped?(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#82 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#82 def format; end private - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#101 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#101 def detect_format(dumped); end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#94 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#94 ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback::JSON_START_WITH = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#107 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#107 module ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMarshal include ::ActiveSupport::Messages::SerializerWithFallback include ::ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback @@ -9167,59 +9219,59 @@ module ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMar extend ::ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMarshal end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#55 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#55 module ActiveSupport::Messages::SerializerWithFallback::MarshalWithFallback include ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback::MarshalWithFallback - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#67 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#67 def _load(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#63 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#63 def dump(object); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#73 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#73 def dumped?(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#59 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#59 def format; end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#71 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#71 ActiveSupport::Messages::SerializerWithFallback::MarshalWithFallback::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#113 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#113 module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback include ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback extend ::ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#125 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#125 def _load(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#121 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#121 def dump(object); end # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#129 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#129 def dumped?(dumped); end - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#117 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#117 def format; end private # @return [Boolean] # - # source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#134 + # source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#134 def available?; end end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#143 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#143 module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackAllowMarshal include ::ActiveSupport::Messages::SerializerWithFallback include ::ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback @@ -9230,15 +9282,15 @@ module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackA extend ::ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackAllowMarshal end -# source://activesupport/lib/active_support/messages/serializer_with_fallback.rb#149 +# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#149 ActiveSupport::Messages::SerializerWithFallback::SERIALIZERS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/multibyte.rb#4 +# source://activesupport//lib/active_support/multibyte.rb#4 module ActiveSupport::Multibyte class << self # Returns the current proxy class. # - # source://activesupport/lib/active_support/multibyte.rb#19 + # source://activesupport//lib/active_support/multibyte.rb#19 def proxy_class; end # The proxy class returned when calling mb_chars. You can use this accessor @@ -9248,7 +9300,7 @@ module ActiveSupport::Multibyte # # ActiveSupport::Multibyte.proxy_class = CharsForUTF32 # - # source://activesupport/lib/active_support/multibyte.rb#14 + # source://activesupport//lib/active_support/multibyte.rb#14 def proxy_class=(klass); end end end @@ -9291,7 +9343,7 @@ end # # ActiveSupport::Multibyte.proxy_class = CharsForUTF32 # -# source://activesupport/lib/active_support/multibyte/chars.rb#47 +# source://activesupport//lib/active_support/multibyte/chars.rb#47 class ActiveSupport::Multibyte::Chars include ::Comparable @@ -9299,19 +9351,19 @@ class ActiveSupport::Multibyte::Chars # # @return [Chars] a new instance of Chars # - # source://activesupport/lib/active_support/multibyte/chars.rb#56 + # source://activesupport//lib/active_support/multibyte/chars.rb#56 def initialize(string); end - # source://activesupport/lib/active_support/multibyte/chars.rb#53 + # source://activesupport//lib/active_support/multibyte/chars.rb#53 def <=>(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/multibyte/chars.rb#53 + # source://activesupport//lib/active_support/multibyte/chars.rb#53 def =~(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/multibyte/chars.rb#53 + # source://activesupport//lib/active_support/multibyte/chars.rb#53 def acts_like_string?(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/multibyte/chars.rb#161 + # source://activesupport//lib/active_support/multibyte/chars.rb#161 def as_json(options = T.unsafe(nil)); end # Performs composition on all the characters. @@ -9319,7 +9371,7 @@ class ActiveSupport::Multibyte::Chars # 'é'.length # => 1 # 'é'.mb_chars.compose.to_s.length # => 1 # - # source://activesupport/lib/active_support/multibyte/chars.rb#140 + # source://activesupport//lib/active_support/multibyte/chars.rb#140 def compose; end # Performs canonical decomposition on all the characters. @@ -9327,7 +9379,7 @@ class ActiveSupport::Multibyte::Chars # 'é'.length # => 1 # 'é'.mb_chars.decompose.to_s.length # => 2 # - # source://activesupport/lib/active_support/multibyte/chars.rb#132 + # source://activesupport//lib/active_support/multibyte/chars.rb#132 def decompose; end # Returns the number of grapheme clusters in the string. @@ -9335,7 +9387,7 @@ class ActiveSupport::Multibyte::Chars # 'क्षि'.mb_chars.length # => 4 # 'क्षि'.mb_chars.grapheme_length # => 2 # - # source://activesupport/lib/active_support/multibyte/chars.rb#148 + # source://activesupport//lib/active_support/multibyte/chars.rb#148 def grapheme_length; end # Limits the byte size of the string to a number of bytes without breaking @@ -9344,25 +9396,25 @@ class ActiveSupport::Multibyte::Chars # # 'こんにちは'.mb_chars.limit(7).to_s # => "こん" # - # source://activesupport/lib/active_support/multibyte/chars.rb#115 + # source://activesupport//lib/active_support/multibyte/chars.rb#115 def limit(limit); end - # source://activesupport/lib/active_support/multibyte/chars.rb#53 + # source://activesupport//lib/active_support/multibyte/chars.rb#53 def match?(*_arg0, **_arg1, &_arg2); end # Forward all undefined methods to the wrapped string. # - # source://activesupport/lib/active_support/multibyte/chars.rb#62 + # source://activesupport//lib/active_support/multibyte/chars.rb#62 def method_missing(method, *args, &block); end # Reverses all characters in the string. # # 'Café'.mb_chars.reverse.to_s # => 'éfaC' # - # source://activesupport/lib/active_support/multibyte/chars.rb#106 + # source://activesupport//lib/active_support/multibyte/chars.rb#106 def reverse; end - # source://activesupport/lib/active_support/multibyte/chars.rb#166 + # source://activesupport//lib/active_support/multibyte/chars.rb#166 def reverse!(*args); end # Works like String#slice!, but returns an instance of @@ -9375,7 +9427,7 @@ class ActiveSupport::Multibyte::Chars # string.mb_chars.slice!(0..3) # => # # string # => 'me' # - # source://activesupport/lib/active_support/multibyte/chars.rb#96 + # source://activesupport//lib/active_support/multibyte/chars.rb#96 def slice!(*args); end # Works just like String#split, with the exception that the items @@ -9384,7 +9436,7 @@ class ActiveSupport::Multibyte::Chars # # 'Café périferôl'.mb_chars.split(/é/).map { |part| part.upcase.to_s } # => ["CAF", " P", "RIFERÔL"] # - # source://activesupport/lib/active_support/multibyte/chars.rb#83 + # source://activesupport//lib/active_support/multibyte/chars.rb#83 def split(*args); end # Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent @@ -9393,10 +9445,10 @@ class ActiveSupport::Multibyte::Chars # Passing +true+ will forcibly tidy all bytes, assuming that the string's # encoding is entirely CP1252 or ISO-8859-1. # - # source://activesupport/lib/active_support/multibyte/chars.rb#157 + # source://activesupport//lib/active_support/multibyte/chars.rb#157 def tidy_bytes(force = T.unsafe(nil)); end - # source://activesupport/lib/active_support/multibyte/chars.rb#166 + # source://activesupport//lib/active_support/multibyte/chars.rb#166 def tidy_bytes!(*args); end # Capitalizes the first letter of every word, when possible. @@ -9404,7 +9456,7 @@ class ActiveSupport::Multibyte::Chars # "ÉL QUE SE ENTERÓ".mb_chars.titleize.to_s # => "Él Que Se Enteró" # "日本語".mb_chars.titleize.to_s # => "日本語" # - # source://activesupport/lib/active_support/multibyte/chars.rb#123 + # source://activesupport//lib/active_support/multibyte/chars.rb#126 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -9412,27 +9464,27 @@ class ActiveSupport::Multibyte::Chars # "ÉL QUE SE ENTERÓ".mb_chars.titleize.to_s # => "Él Que Se Enteró" # "日本語".mb_chars.titleize.to_s # => "日本語" # - # source://activesupport/lib/active_support/multibyte/chars.rb#123 + # source://activesupport//lib/active_support/multibyte/chars.rb#123 def titleize; end # Returns the value of attribute wrapped_string. # - # source://activesupport/lib/active_support/multibyte/chars.rb#49 + # source://activesupport//lib/active_support/multibyte/chars.rb#50 def to_s; end # Returns the value of attribute wrapped_string. # - # source://activesupport/lib/active_support/multibyte/chars.rb#49 + # source://activesupport//lib/active_support/multibyte/chars.rb#51 def to_str; end # Returns the value of attribute wrapped_string. # - # source://activesupport/lib/active_support/multibyte/chars.rb#49 + # source://activesupport//lib/active_support/multibyte/chars.rb#49 def wrapped_string; end private - # source://activesupport/lib/active_support/multibyte/chars.rb#173 + # source://activesupport//lib/active_support/multibyte/chars.rb#173 def chars(string); end # Returns +true+ if _obj_ responds to the given method. Private methods @@ -9441,22 +9493,22 @@ class ActiveSupport::Multibyte::Chars # # @return [Boolean] # - # source://activesupport/lib/active_support/multibyte/chars.rb#74 + # source://activesupport//lib/active_support/multibyte/chars.rb#74 def respond_to_missing?(method, include_private); end end -# source://activesupport/lib/active_support/multibyte/unicode.rb#5 +# source://activesupport//lib/active_support/multibyte/unicode.rb#5 module ActiveSupport::Multibyte::Unicode extend ::ActiveSupport::Multibyte::Unicode # Compose decomposed characters to the composed form. # - # source://activesupport/lib/active_support/multibyte/unicode.rb#21 + # source://activesupport//lib/active_support/multibyte/unicode.rb#21 def compose(codepoints); end # Decompose composed characters to the decomposed form. # - # source://activesupport/lib/active_support/multibyte/unicode.rb#12 + # source://activesupport//lib/active_support/multibyte/unicode.rb#12 def decompose(type, codepoints); end # Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent @@ -9465,18 +9517,18 @@ module ActiveSupport::Multibyte::Unicode # Passing +true+ will forcibly tidy all bytes, assuming that the string's # encoding is entirely CP1252 or ISO-8859-1. # - # source://activesupport/lib/active_support/multibyte/unicode.rb#30 + # source://activesupport//lib/active_support/multibyte/unicode.rb#30 def tidy_bytes(string, force = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/multibyte/unicode.rb#37 + # source://activesupport//lib/active_support/multibyte/unicode.rb#37 def recode_windows1252_chars(string); end end # The Unicode version that is supported by the implementation # -# source://activesupport/lib/active_support/multibyte/unicode.rb#9 +# source://activesupport//lib/active_support/multibyte/unicode.rb#9 ActiveSupport::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String) # = \Notifications @@ -9664,13 +9716,13 @@ ActiveSupport::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String # Notifications ships with a queue implementation that consumes and publishes events # to all log subscribers. You can use any queue implementation you want. # -# source://activesupport/lib/active_support/notifications/instrumenter.rb#7 +# source://activesupport//lib/active_support/notifications/instrumenter.rb#7 module ActiveSupport::Notifications class << self - # source://activesupport/lib/active_support/notifications.rb#204 + # source://activesupport//lib/active_support/notifications.rb#204 def instrument(name, payload = T.unsafe(nil)); end - # source://activesupport/lib/active_support/notifications.rb#268 + # source://activesupport//lib/active_support/notifications.rb#268 def instrumenter; end # Performs the same functionality as #subscribe, but the +start+ and @@ -9680,25 +9732,25 @@ module ActiveSupport::Notifications # duration is important. For example, computing elapsed time between # two events. # - # source://activesupport/lib/active_support/notifications.rb#253 + # source://activesupport//lib/active_support/notifications.rb#253 def monotonic_subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end # Returns the value of attribute notifier. # - # source://activesupport/lib/active_support/notifications.rb#194 + # source://activesupport//lib/active_support/notifications.rb#194 def notifier; end # Sets the attribute notifier # # @param value the value to set the attribute notifier to. # - # source://activesupport/lib/active_support/notifications.rb#194 + # source://activesupport//lib/active_support/notifications.rb#194 def notifier=(_arg0); end - # source://activesupport/lib/active_support/notifications.rb#196 + # source://activesupport//lib/active_support/notifications.rb#196 def publish(name, *args); end - # source://activesupport/lib/active_support/notifications.rb#200 + # source://activesupport//lib/active_support/notifications.rb#200 def publish_event(event); end # Subscribe to a given event name with the passed +block+. @@ -9732,42 +9784,42 @@ module ActiveSupport::Notifications # ActiveSupport::Notifications.subscribe(:render) {|*args| ...} # #=> ArgumentError (pattern must be specified as a String, Regexp or empty) # - # source://activesupport/lib/active_support/notifications.rb#243 + # source://activesupport//lib/active_support/notifications.rb#243 def subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/notifications.rb#257 + # source://activesupport//lib/active_support/notifications.rb#257 def subscribed(callback, pattern = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end - # source://activesupport/lib/active_support/notifications.rb#264 + # source://activesupport//lib/active_support/notifications.rb#264 def unsubscribe(subscriber_or_name); end private - # source://activesupport/lib/active_support/notifications.rb#273 + # source://activesupport//lib/active_support/notifications.rb#273 def registry; end end end -# source://activesupport/lib/active_support/notifications/instrumenter.rb#106 +# source://activesupport//lib/active_support/notifications/instrumenter.rb#106 class ActiveSupport::Notifications::Event # @return [Event] a new instance of Event # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#110 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#110 def initialize(name, start, ending, transaction_id, payload); end # Returns the number of allocations made between the call to #start! and # the call to #finish!. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#172 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#172 def allocations; end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#176 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#176 def children; end # Returns the CPU time (in milliseconds) passed between the call to # #start! and the call to #finish!. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#159 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#159 def cpu_time; end # Returns the difference in milliseconds between when the execution of the @@ -9783,72 +9835,72 @@ class ActiveSupport::Notifications::Event # # @event.duration # => 1000.138 # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#205 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#205 def duration; end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#126 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#126 def end; end # Record information at the time this event finishes # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#151 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#151 def finish!; end # Returns the idle time time (in milliseconds) passed between the call to # #start! and the call to #finish!. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#165 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#165 def idle_time; end # Returns the value of attribute name. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#107 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#107 def name; end # @return [Boolean] # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#184 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#184 def parent_of?(event); end # Returns the value of attribute payload. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#108 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#108 def payload; end # Sets the attribute payload # # @param value the value to set the attribute payload to. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#108 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#108 def payload=(_arg0); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#130 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#130 def record; end # Record information at the time this event starts # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#144 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#144 def start!; end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#122 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#122 def time; end # Returns the value of attribute transaction_id. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#107 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#107 def transaction_id; end private - # source://activesupport/lib/active_support/notifications/instrumenter.rb#210 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#210 def now; end # Likely on JRuby, TruffleRuby # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#227 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#227 def now_allocations; end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#217 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#217 def now_cpu; end end @@ -9857,120 +9909,120 @@ end # # This class is thread safe. All methods are reentrant. # -# source://activesupport/lib/active_support/notifications/fanout.rb#51 +# source://activesupport//lib/active_support/notifications/fanout.rb#51 class ActiveSupport::Notifications::Fanout include ::Mutex_m include ::ActiveSupport::Notifications::FanoutIteration # @return [Fanout] a new instance of Fanout # - # source://activesupport/lib/active_support/notifications/fanout.rb#54 + # source://activesupport//lib/active_support/notifications/fanout.rb#54 def initialize; end - # source://activesupport/lib/active_support/notifications/fanout.rb#301 + # source://activesupport//lib/active_support/notifications/fanout.rb#301 def all_listeners_for(name); end - # source://activesupport/lib/active_support/notifications/fanout.rb#276 + # source://activesupport//lib/active_support/notifications/fanout.rb#276 def build_handle(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#105 + # source://activesupport//lib/active_support/notifications/fanout.rb#105 def clear_cache(key = T.unsafe(nil)); end - # source://activesupport/lib/active_support/notifications/fanout.rb#287 + # source://activesupport//lib/active_support/notifications/fanout.rb#287 def finish(name, id, payload, listeners = T.unsafe(nil)); end - # source://activesupport/lib/active_support/notifications/fanout.rb#191 + # source://activesupport//lib/active_support/notifications/fanout.rb#191 def groups_for(name); end - # source://activesupport/lib/active_support/notifications/fanout.rb#63 + # source://activesupport//lib/active_support/notifications/fanout.rb#63 def inspect; end - # source://activesupport/lib/active_support/notifications/fanout.rb#310 + # source://activesupport//lib/active_support/notifications/fanout.rb#310 def listeners_for(name); end # @return [Boolean] # - # source://activesupport/lib/active_support/notifications/fanout.rb#314 + # source://activesupport//lib/active_support/notifications/fanout.rb#314 def listening?(name); end - # source://mutex_m/0.3.0lib/mutex_m.rb#96 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#86 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def locked?; end - # source://activesupport/lib/active_support/notifications/fanout.rb#293 + # source://activesupport//lib/active_support/notifications/fanout.rb#293 def publish(name, *args); end - # source://activesupport/lib/active_support/notifications/fanout.rb#297 + # source://activesupport//lib/active_support/notifications/fanout.rb#297 def publish_event(event); end - # source://activesupport/lib/active_support/notifications/fanout.rb#280 + # source://activesupport//lib/active_support/notifications/fanout.rb#280 def start(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#68 + # source://activesupport//lib/active_support/notifications/fanout.rb#68 def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#81 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def synchronize(&block); end - # source://mutex_m/0.3.0lib/mutex_m.rb#91 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def try_lock; end - # source://mutex_m/0.3.0lib/mutex_m.rb#101 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def unlock; end - # source://activesupport/lib/active_support/notifications/fanout.rb#85 + # source://activesupport//lib/active_support/notifications/fanout.rb#85 def unsubscribe(subscriber_or_name); end # This is a sync queue, so there is no waiting. # - # source://activesupport/lib/active_support/notifications/fanout.rb#319 + # source://activesupport//lib/active_support/notifications/fanout.rb#319 def wait; end end -# source://activesupport/lib/active_support/notifications/fanout.rb#117 +# source://activesupport//lib/active_support/notifications/fanout.rb#117 class ActiveSupport::Notifications::Fanout::BaseGroup include ::ActiveSupport::Notifications::FanoutIteration # @return [BaseGroup] a new instance of BaseGroup # - # source://activesupport/lib/active_support/notifications/fanout.rb#120 + # source://activesupport//lib/active_support/notifications/fanout.rb#120 def initialize(listeners, name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#124 + # source://activesupport//lib/active_support/notifications/fanout.rb#124 def each(&block); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#129 +# source://activesupport//lib/active_support/notifications/fanout.rb#129 class ActiveSupport::Notifications::Fanout::BaseTimeGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport/lib/active_support/notifications/fanout.rb#134 + # source://activesupport//lib/active_support/notifications/fanout.rb#134 def finish(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#130 + # source://activesupport//lib/active_support/notifications/fanout.rb#130 def start(name, id, payload); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#170 +# source://activesupport//lib/active_support/notifications/fanout.rb#170 class ActiveSupport::Notifications::Fanout::EventObjectGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport/lib/active_support/notifications/fanout.rb#176 + # source://activesupport//lib/active_support/notifications/fanout.rb#176 def finish(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#171 + # source://activesupport//lib/active_support/notifications/fanout.rb#171 def start(name, id, payload); end private - # source://activesupport/lib/active_support/notifications/fanout.rb#186 + # source://activesupport//lib/active_support/notifications/fanout.rb#186 def build_event(name, id, payload); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#156 +# source://activesupport//lib/active_support/notifications/fanout.rb#156 class ActiveSupport::Notifications::Fanout::EventedGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport/lib/active_support/notifications/fanout.rb#163 + # source://activesupport//lib/active_support/notifications/fanout.rb#163 def finish(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#157 + # source://activesupport//lib/active_support/notifications/fanout.rb#157 def start(name, id, payload); end end @@ -9989,189 +10041,189 @@ end # handle.finish # end # -# source://activesupport/lib/active_support/notifications/fanout.rb#231 +# source://activesupport//lib/active_support/notifications/fanout.rb#231 class ActiveSupport::Notifications::Fanout::Handle include ::ActiveSupport::Notifications::FanoutIteration # @return [Handle] a new instance of Handle # - # source://activesupport/lib/active_support/notifications/fanout.rb#234 + # source://activesupport//lib/active_support/notifications/fanout.rb#234 def initialize(notifier, name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#253 + # source://activesupport//lib/active_support/notifications/fanout.rb#253 def finish; end - # source://activesupport/lib/active_support/notifications/fanout.rb#257 + # source://activesupport//lib/active_support/notifications/fanout.rb#257 def finish_with_values(name, id, payload); end - # source://activesupport/lib/active_support/notifications/fanout.rb#244 + # source://activesupport//lib/active_support/notifications/fanout.rb#244 def start; end private - # source://activesupport/lib/active_support/notifications/fanout.rb#267 + # source://activesupport//lib/active_support/notifications/fanout.rb#267 def ensure_state!(expected); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#142 +# source://activesupport//lib/active_support/notifications/fanout.rb#142 class ActiveSupport::Notifications::Fanout::MonotonicTimedGroup < ::ActiveSupport::Notifications::Fanout::BaseTimeGroup private - # source://activesupport/lib/active_support/notifications/fanout.rb#144 + # source://activesupport//lib/active_support/notifications/fanout.rb#144 def now; end end -# source://activesupport/lib/active_support/notifications/fanout.rb#322 +# source://activesupport//lib/active_support/notifications/fanout.rb#322 module ActiveSupport::Notifications::Fanout::Subscribers class << self - # source://activesupport/lib/active_support/notifications/fanout.rb#323 + # source://activesupport//lib/active_support/notifications/fanout.rb#323 def new(pattern, listener, monotonic); end end end -# source://activesupport/lib/active_support/notifications/fanout.rb#437 +# source://activesupport//lib/active_support/notifications/fanout.rb#437 class ActiveSupport::Notifications::Fanout::Subscribers::EventObject < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented - # source://activesupport/lib/active_support/notifications/fanout.rb#438 + # source://activesupport//lib/active_support/notifications/fanout.rb#438 def group_class; end - # source://activesupport/lib/active_support/notifications/fanout.rb#442 + # source://activesupport//lib/active_support/notifications/fanout.rb#442 def publish_event(event); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#379 +# source://activesupport//lib/active_support/notifications/fanout.rb#379 class ActiveSupport::Notifications::Fanout::Subscribers::Evented # @return [Evented] a new instance of Evented # - # source://activesupport/lib/active_support/notifications/fanout.rb#382 + # source://activesupport//lib/active_support/notifications/fanout.rb#382 def initialize(pattern, delegate); end # Returns the value of attribute delegate. # - # source://activesupport/lib/active_support/notifications/fanout.rb#380 + # source://activesupport//lib/active_support/notifications/fanout.rb#380 def delegate; end - # source://activesupport/lib/active_support/notifications/fanout.rb#390 + # source://activesupport//lib/active_support/notifications/fanout.rb#390 def group_class; end # Returns the value of attribute pattern. # - # source://activesupport/lib/active_support/notifications/fanout.rb#380 + # source://activesupport//lib/active_support/notifications/fanout.rb#380 def pattern; end - # source://activesupport/lib/active_support/notifications/fanout.rb#394 + # source://activesupport//lib/active_support/notifications/fanout.rb#394 def publish(name, *args); end - # source://activesupport/lib/active_support/notifications/fanout.rb#400 + # source://activesupport//lib/active_support/notifications/fanout.rb#400 def publish_event(event); end # Returns the value of attribute silenceable. # - # source://activesupport/lib/active_support/notifications/fanout.rb#380 + # source://activesupport//lib/active_support/notifications/fanout.rb#380 def silenceable; end # @return [Boolean] # - # source://activesupport/lib/active_support/notifications/fanout.rb#408 + # source://activesupport//lib/active_support/notifications/fanout.rb#408 def silenced?(name); end # @return [Boolean] # - # source://activesupport/lib/active_support/notifications/fanout.rb#412 + # source://activesupport//lib/active_support/notifications/fanout.rb#412 def subscribed_to?(name); end - # source://activesupport/lib/active_support/notifications/fanout.rb#416 + # source://activesupport//lib/active_support/notifications/fanout.rb#416 def unsubscribe!(name); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#342 +# source://activesupport//lib/active_support/notifications/fanout.rb#342 class ActiveSupport::Notifications::Fanout::Subscribers::Matcher # @return [Matcher] a new instance of Matcher # - # source://activesupport/lib/active_support/notifications/fanout.rb#355 + # source://activesupport//lib/active_support/notifications/fanout.rb#355 def initialize(pattern); end - # source://activesupport/lib/active_support/notifications/fanout.rb#364 + # source://activesupport//lib/active_support/notifications/fanout.rb#364 def ===(name); end # Returns the value of attribute exclusions. # - # source://activesupport/lib/active_support/notifications/fanout.rb#343 + # source://activesupport//lib/active_support/notifications/fanout.rb#343 def exclusions; end # Returns the value of attribute pattern. # - # source://activesupport/lib/active_support/notifications/fanout.rb#343 + # source://activesupport//lib/active_support/notifications/fanout.rb#343 def pattern; end - # source://activesupport/lib/active_support/notifications/fanout.rb#360 + # source://activesupport//lib/active_support/notifications/fanout.rb#360 def unsubscribe!(name); end class << self - # source://activesupport/lib/active_support/notifications/fanout.rb#345 + # source://activesupport//lib/active_support/notifications/fanout.rb#345 def wrap(pattern); end end end -# source://activesupport/lib/active_support/notifications/fanout.rb#368 +# source://activesupport//lib/active_support/notifications/fanout.rb#368 class ActiveSupport::Notifications::Fanout::Subscribers::Matcher::AllMessages - # source://activesupport/lib/active_support/notifications/fanout.rb#369 + # source://activesupport//lib/active_support/notifications/fanout.rb#369 def ===(name); end - # source://activesupport/lib/active_support/notifications/fanout.rb#373 + # source://activesupport//lib/active_support/notifications/fanout.rb#373 def unsubscribe!(*_arg0); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#431 +# source://activesupport//lib/active_support/notifications/fanout.rb#431 class ActiveSupport::Notifications::Fanout::Subscribers::MonotonicTimed < ::ActiveSupport::Notifications::Fanout::Subscribers::Timed - # source://activesupport/lib/active_support/notifications/fanout.rb#432 + # source://activesupport//lib/active_support/notifications/fanout.rb#432 def group_class; end end -# source://activesupport/lib/active_support/notifications/fanout.rb#421 +# source://activesupport//lib/active_support/notifications/fanout.rb#421 class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented - # source://activesupport/lib/active_support/notifications/fanout.rb#422 + # source://activesupport//lib/active_support/notifications/fanout.rb#422 def group_class; end - # source://activesupport/lib/active_support/notifications/fanout.rb#426 + # source://activesupport//lib/active_support/notifications/fanout.rb#426 def publish(name, *args); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#149 +# source://activesupport//lib/active_support/notifications/fanout.rb#149 class ActiveSupport::Notifications::Fanout::TimedGroup < ::ActiveSupport::Notifications::Fanout::BaseTimeGroup private - # source://activesupport/lib/active_support/notifications/fanout.rb#151 + # source://activesupport//lib/active_support/notifications/fanout.rb#151 def now; end end -# source://activesupport/lib/active_support/notifications/fanout.rb#20 +# source://activesupport//lib/active_support/notifications/fanout.rb#20 module ActiveSupport::Notifications::FanoutIteration private - # source://activesupport/lib/active_support/notifications/fanout.rb#22 + # source://activesupport//lib/active_support/notifications/fanout.rb#22 def iterate_guarding_exceptions(collection); end end -# source://activesupport/lib/active_support/notifications/fanout.rb#10 +# source://activesupport//lib/active_support/notifications/fanout.rb#10 class ActiveSupport::Notifications::InstrumentationSubscriberError < ::RuntimeError # @return [InstrumentationSubscriberError] a new instance of InstrumentationSubscriberError # - # source://activesupport/lib/active_support/notifications/fanout.rb#13 + # source://activesupport//lib/active_support/notifications/fanout.rb#13 def initialize(exceptions); end # Returns the value of attribute exceptions. # - # source://activesupport/lib/active_support/notifications/fanout.rb#11 + # source://activesupport//lib/active_support/notifications/fanout.rb#11 def exceptions; end end # Instrumenters are stored in a thread local. # -# source://activesupport/lib/active_support/notifications/instrumenter.rb#9 +# source://activesupport//lib/active_support/notifications/instrumenter.rb#9 class ActiveSupport::Notifications::Instrumenter # @return [Instrumenter] a new instance of Instrumenter # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#12 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#12 def initialize(notifier); end # Returns a "handle" for an event with the given +name+ and +payload+. @@ -10185,20 +10237,20 @@ class ActiveSupport::Notifications::Instrumenter # # See ActiveSupport::Notifications::Fanout::Handle. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#78 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#78 def build_handle(name, payload); end # Send a finish notification with +name+ and +payload+. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#92 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#92 def finish(name, payload); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#96 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#96 def finish_with_state(listeners_state, name, payload); end # Returns the value of attribute id. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#10 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#10 def id; end # Given a block, instrument it by measuring the time taken to execute @@ -10206,55 +10258,55 @@ class ActiveSupport::Notifications::Instrumenter # notifier. Notice that events get sent even if an error occurs in the # passed-in block. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#54 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#54 def instrument(name, payload = T.unsafe(nil)); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#82 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#82 def new_event(name, payload = T.unsafe(nil)); end # Send a start notification with +name+ and +payload+. # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#87 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#87 def start(name, payload); end private - # source://activesupport/lib/active_support/notifications/instrumenter.rb#101 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#101 def unique_id; end end -# source://activesupport/lib/active_support/notifications/instrumenter.rb#21 +# source://activesupport//lib/active_support/notifications/instrumenter.rb#21 class ActiveSupport::Notifications::Instrumenter::LegacyHandle # @return [LegacyHandle] a new instance of LegacyHandle # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#34 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#34 def initialize(notifier, name, id, payload); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#45 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#45 def finish; end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#41 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#41 def start; end end -# source://activesupport/lib/active_support/notifications/instrumenter.rb#22 +# source://activesupport//lib/active_support/notifications/instrumenter.rb#22 class ActiveSupport::Notifications::Instrumenter::LegacyHandle::Wrapper # @return [Wrapper] a new instance of Wrapper # - # source://activesupport/lib/active_support/notifications/instrumenter.rb#23 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#23 def initialize(notifier); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#27 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#27 def build_handle(name, id, payload); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#31 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#31 def finish(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/notifications/instrumenter.rb#31 + # source://activesupport//lib/active_support/notifications/instrumenter.rb#31 def start(*_arg0, **_arg1, &_arg2); end end -# source://activesupport/lib/active_support/number_helper.rb#4 +# source://activesupport//lib/active_support/number_helper.rb#4 module ActiveSupport::NumberHelper extend ::ActiveSupport::Autoload extend ::ActiveSupport::NumberHelper @@ -10328,7 +10380,7 @@ module ActiveSupport::NumberHelper # number_to_currency(1234567890.50, strip_insignificant_zeros: true) # # => "$1,234,567,890.5" # - # source://activesupport/lib/active_support/number_helper.rb#139 + # source://activesupport//lib/active_support/number_helper.rb#139 def number_to_currency(number, options = T.unsafe(nil)); end # Formats +number+ by grouping thousands with a delimiter. @@ -10368,7 +10420,7 @@ module ActiveSupport::NumberHelper # number_to_delimited("123456.78", delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/) # # => "1,23,456.78" # - # source://activesupport/lib/active_support/number_helper.rb#242 + # source://activesupport//lib/active_support/number_helper.rb#242 def number_to_delimited(number, options = T.unsafe(nil)); end # Formats +number+ into a more human-friendly representation. Useful for @@ -10469,7 +10521,7 @@ module ActiveSupport::NumberHelper # number_to_human(0.1, units: :distance) # => "10 centimeters" # number_to_human(0.01, units: :distance) # => "1 centimeter" # - # source://activesupport/lib/active_support/number_helper.rb#453 + # source://activesupport//lib/active_support/number_helper.rb#453 def number_to_human(number, options = T.unsafe(nil)); end # Formats +number+ as bytes into a more human-friendly representation. @@ -10521,7 +10573,7 @@ module ActiveSupport::NumberHelper # Whether to remove insignificant zeros after the decimal separator. # Defaults to true. # - # source://activesupport/lib/active_support/number_helper.rb#351 + # source://activesupport//lib/active_support/number_helper.rb#351 def number_to_human_size(number, options = T.unsafe(nil)); end # Formats +number+ as a percentage string. @@ -10582,7 +10634,7 @@ module ActiveSupport::NumberHelper # number_to_percentage(100, format: "%n %") # # => "100.000 %" # - # source://activesupport/lib/active_support/number_helper.rb#201 + # source://activesupport//lib/active_support/number_helper.rb#201 def number_to_percentage(number, options = T.unsafe(nil)); end # Formats +number+ into a phone number. @@ -10630,7 +10682,7 @@ module ActiveSupport::NumberHelper # number_to_phone(75561234567, pattern: /(\d{1,4})(\d{4})(\d{4})$/, area_code: true) # # => "(755) 6123-4567" # - # source://activesupport/lib/active_support/number_helper.rb#66 + # source://activesupport//lib/active_support/number_helper.rb#66 def number_to_phone(number, options = T.unsafe(nil)); end # Formats +number+ to a specific level of precision. @@ -10685,310 +10737,310 @@ module ActiveSupport::NumberHelper # number_to_rounded(12.34, strip_insignificant_zeros: true) # => "12.34" # number_to_rounded(12.3456, strip_insignificant_zeros: true) # => "12.346" # - # source://activesupport/lib/active_support/number_helper.rb#298 + # source://activesupport//lib/active_support/number_helper.rb#298 def number_to_rounded(number, options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/number_helper/number_converter.rb#12 +# source://activesupport//lib/active_support/number_helper/number_converter.rb#12 class ActiveSupport::NumberHelper::NumberConverter # @return [NumberConverter] a new instance of NumberConverter # - # source://activesupport/lib/active_support/number_helper/number_converter.rb#124 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#124 def initialize(number, options); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#130 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#130 def execute; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace=(_arg0); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace?; end # Returns the value of attribute number. # - # source://activesupport/lib/active_support/number_helper/number_converter.rb#19 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#19 def number; end # Returns the value of attribute opts. # - # source://activesupport/lib/active_support/number_helper/number_converter.rb#19 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#19 def opts; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float=(_arg0); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float?; end private - # source://activesupport/lib/active_support/number_helper/number_converter.rb#149 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#149 def default_format_options; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#174 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#174 def default_value(key); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#145 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#145 def format_options; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#155 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#155 def i18n_format_options; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#141 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#141 def options; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#170 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#170 def translate_in_locale(key, **i18n_options); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#166 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#166 def translate_number_value_with_default(key, **i18n_options); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#178 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#178 def valid_bigdecimal; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#120 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#120 def convert(number, options); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace=(value); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace?; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float=(value); end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 def validate_float?; end end end -# source://activesupport/lib/active_support/number_helper/number_converter.rb#21 +# source://activesupport//lib/active_support/number_helper/number_converter.rb#21 ActiveSupport::NumberHelper::NumberConverter::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/number_helper/number_to_currency_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#7 class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_currency_converter.rb#10 + # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#10 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_currency_converter.rb#38 + # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#38 def i18n_opts; end - # source://activesupport/lib/active_support/number_helper/number_to_currency_converter.rb#29 + # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#29 def options; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8 def namespace; end end end -# source://activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#7 class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb#12 + # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#12 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb#25 + # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#25 def delimiter_pattern; end - # source://activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#17 def parts; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8 def validate_float; end end end -# source://activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb#10 +# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#10 ActiveSupport::NumberHelper::NumberToDelimitedConverter::DEFAULT_DELIMITER_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#7 class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#15 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#15 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#50 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#50 def calculate_exponent(units); end - # source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#38 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#38 def determine_unit(units, exponent); end - # source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#34 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#34 def format; end - # source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#55 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#55 def unit_exponents(units); end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12 def namespace; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13 def validate_float; end end end -# source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#8 +# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#8 ActiveSupport::NumberHelper::NumberToHumanConverter::DECIMAL_UNITS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/number_helper/number_to_human_converter.rb#10 +# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#10 ActiveSupport::NumberHelper::NumberToHumanConverter::INVERTED_DECIMAL_UNITS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#7 class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#13 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#13 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#55 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#55 def base; end - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#31 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#31 def conversion_format; end - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#44 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#44 def exponent; end # @return [Boolean] # - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#51 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#51 def smaller_than_base?; end - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#39 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#39 def storage_unit_key; end - # source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#35 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#35 def unit; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10 def namespace; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11 def validate_float; end end end -# source://activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb#8 +# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#8 ActiveSupport::NumberHelper::NumberToHumanSizeConverter::STORAGE_UNITS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/number_helper/number_to_percentage_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#7 class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_percentage_converter.rb#10 + # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#10 def convert; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8 def namespace; end end end -# source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#8 +# source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#8 class ActiveSupport::NumberHelper::NumberToPhoneConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#9 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#9 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#16 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#16 def convert_to_phone_number(number); end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#24 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#24 def convert_with_area_code(number); end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#31 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#31 def convert_without_area_code(number); end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#47 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#47 def country_code(code); end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#43 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#43 def delimiter; end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#51 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#51 def phone_ext(ext); end - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#55 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#55 def regexp_pattern(default_pattern); end # @return [Boolean] # - # source://activesupport/lib/active_support/number_helper/number_to_phone_converter.rb#39 + # source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#39 def start_with_delimiter?(number); end end -# source://activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb#7 +# source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#7 class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::NumberHelper::NumberConverter - # source://activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb#11 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#11 def convert; end private - # source://activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb#49 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#49 def format_number(number); end - # source://activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb#45 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#45 def strip_insignificant_zeros; end class << self - # source://activesupport/lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8 def namespace; end - # source://activesupport/lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9 def validate_float; end end end -# source://activesupport/lib/active_support/number_helper/rounding_helper.rb#5 +# source://activesupport//lib/active_support/number_helper/rounding_helper.rb#5 class ActiveSupport::NumberHelper::RoundingHelper # @return [RoundingHelper] a new instance of RoundingHelper # - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#8 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#8 def initialize(options); end - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#20 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#20 def digit_count(number); end # Returns the value of attribute options. # - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#6 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#6 def options; end - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#12 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#12 def round(number); end private - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#37 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#37 def absolute_precision(number); end - # source://activesupport/lib/active_support/number_helper/rounding_helper.rb#26 + # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#26 def convert_to_decimal(number); end end -# source://activesupport/lib/active_support/core_ext/numeric/conversions.rb#7 +# source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#7 module ActiveSupport::NumericWithFormat # \Numeric With Format # @@ -11096,7 +11148,7 @@ module ActiveSupport::NumericWithFormat # separator: ',', # significant: false) # => "1,2 Million" # - # source://activesupport/lib/active_support/core_ext/numeric/conversions.rb#113 + # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#139 def to_formatted_s(format = T.unsafe(nil), options = T.unsafe(nil)); end # \Numeric With Format @@ -11205,25 +11257,25 @@ module ActiveSupport::NumericWithFormat # separator: ',', # significant: false) # => "1,2 Million" # - # source://activesupport/lib/active_support/core_ext/numeric/conversions.rb#113 + # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#113 def to_fs(format = T.unsafe(nil), options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/option_merger.rb#6 +# source://activesupport//lib/active_support/option_merger.rb#6 class ActiveSupport::OptionMerger # @return [OptionMerger] a new instance of OptionMerger # - # source://activesupport/lib/active_support/option_merger.rb#11 + # source://activesupport//lib/active_support/option_merger.rb#11 def initialize(context, options); end private - # source://activesupport/lib/active_support/option_merger.rb#16 + # source://activesupport//lib/active_support/option_merger.rb#16 def method_missing(method, *arguments, &block); end # @return [Boolean] # - # source://activesupport/lib/active_support/option_merger.rb#34 + # source://activesupport//lib/active_support/option_merger.rb#34 def respond_to_missing?(*arguments); end end @@ -11242,28 +11294,28 @@ end # +ActiveSupport::OrderedHash+ is namespaced to prevent conflicts # with other implementations. # -# source://activesupport/lib/active_support/ordered_hash.rb#24 +# source://activesupport//lib/active_support/ordered_hash.rb#24 class ActiveSupport::OrderedHash < ::Hash - # source://activesupport/lib/active_support/ordered_hash.rb#29 + # source://activesupport//lib/active_support/ordered_hash.rb#29 def encode_with(coder); end # Returns true to make sure that this hash is extractable via Array#extract_options! # # @return [Boolean] # - # source://activesupport/lib/active_support/ordered_hash.rb#46 + # source://activesupport//lib/active_support/ordered_hash.rb#46 def extractable_options?; end - # source://activesupport/lib/active_support/ordered_hash.rb#41 + # source://activesupport//lib/active_support/ordered_hash.rb#41 def nested_under_indifferent_access; end - # source://activesupport/lib/active_support/ordered_hash.rb#37 + # source://activesupport//lib/active_support/ordered_hash.rb#37 def reject(*args, &block); end - # source://activesupport/lib/active_support/ordered_hash.rb#33 + # source://activesupport//lib/active_support/ordered_hash.rb#33 def select(*args, &block); end - # source://activesupport/lib/active_support/ordered_hash.rb#25 + # source://activesupport//lib/active_support/ordered_hash.rb#25 def to_yaml_type; end end @@ -11294,38 +11346,40 @@ end # # h.dog! # => raises KeyError: :dog is blank # -# source://activesupport/lib/active_support/ordered_options.rb#33 +# source://activesupport//lib/active_support/ordered_options.rb#33 class ActiveSupport::OrderedOptions < ::Hash - # source://activesupport/lib/active_support/ordered_options.rb#41 + # source://activesupport//lib/active_support/ordered_options.rb#41 def [](key); end - # source://activesupport/lib/active_support/ordered_options.rb#37 + # source://activesupport//lib/active_support/ordered_options.rb#37 def []=(key, value); end - # source://activesupport/lib/active_support/ordered_options.rb#45 + # source://activesupport//lib/active_support/ordered_options.rb#45 def dig(key, *identifiers); end # @return [Boolean] # - # source://activesupport/lib/active_support/ordered_options.rb#68 + # source://activesupport//lib/active_support/ordered_options.rb#68 def extractable_options?; end - # source://activesupport/lib/active_support/ordered_options.rb#72 + # source://activesupport//lib/active_support/ordered_options.rb#72 def inspect; end - # source://activesupport/lib/active_support/ordered_options.rb#49 + # source://activesupport//lib/active_support/ordered_options.rb#49 def method_missing(name, *args); end protected # preserve the original #[] method + # + # source://activesupport//lib/active_support/ordered_options.rb#34 def _get(_arg0); end private # @return [Boolean] # - # source://activesupport/lib/active_support/ordered_options.rb#64 + # source://activesupport//lib/active_support/ordered_options.rb#64 def respond_to_missing?(name, include_private); end end @@ -11361,7 +11415,7 @@ end # v.reverse! if /secret/i.match?(k) # end]) # -# source://activesupport/lib/active_support/parameter_filter.rb#39 +# source://activesupport//lib/active_support/parameter_filter.rb#39 class ActiveSupport::ParameterFilter # Create instance with given filters. Supported type of filters are +String+, +Regexp+, and +Proc+. # Other types of filters are treated as +String+ using +to_s+. @@ -11373,28 +11427,28 @@ class ActiveSupport::ParameterFilter # # @return [ParameterFilter] a new instance of ParameterFilter # - # source://activesupport/lib/active_support/parameter_filter.rb#77 + # source://activesupport//lib/active_support/parameter_filter.rb#77 def initialize(filters = T.unsafe(nil), mask: T.unsafe(nil)); end # Mask value of +params+ if key matches one of filters. # - # source://activesupport/lib/active_support/parameter_filter.rb#83 + # source://activesupport//lib/active_support/parameter_filter.rb#83 def filter(params); end # Returns filtered value for given key. For +Proc+ filters, third block argument is not populated. # - # source://activesupport/lib/active_support/parameter_filter.rb#88 + # source://activesupport//lib/active_support/parameter_filter.rb#88 def filter_param(key, value); end private - # source://activesupport/lib/active_support/parameter_filter.rb#125 + # source://activesupport//lib/active_support/parameter_filter.rb#125 def call(params, full_parent_key = T.unsafe(nil), original_params = T.unsafe(nil)); end - # source://activesupport/lib/active_support/parameter_filter.rb#93 + # source://activesupport//lib/active_support/parameter_filter.rb#93 def compile_filters!(filters); end - # source://activesupport/lib/active_support/parameter_filter.rb#135 + # source://activesupport//lib/active_support/parameter_filter.rb#135 def value_for_key(key, value, full_parent_key = T.unsafe(nil), original_params = T.unsafe(nil)); end class << self @@ -11411,12 +11465,12 @@ class ActiveSupport::ParameterFilter # # ActiveSupport::ParameterFilter.new(precompiled) # - # source://activesupport/lib/active_support/parameter_filter.rb#55 + # source://activesupport//lib/active_support/parameter_filter.rb#55 def precompile_filters(filters); end end end -# source://activesupport/lib/active_support/parameter_filter.rb#40 +# source://activesupport//lib/active_support/parameter_filter.rb#40 ActiveSupport::ParameterFilter::FILTERED = T.let(T.unsafe(nil), String) # = Active Support Proxy \Object @@ -11424,20 +11478,20 @@ ActiveSupport::ParameterFilter::FILTERED = T.let(T.unsafe(nil), String) # A class with no predefined methods that behaves similarly to Builder's # BlankSlate. Used for proxy classes. # -# source://activesupport/lib/active_support/proxy_object.rb#8 +# source://activesupport//lib/active_support/proxy_object.rb#8 class ActiveSupport::ProxyObject < ::BasicObject # Let ActiveSupport::ProxyObject at least raise exceptions. # - # source://activesupport/lib/active_support/proxy_object.rb#13 + # source://activesupport//lib/active_support/proxy_object.rb#13 def raise(*args); end end -# source://activesupport/lib/active_support/railtie.rb#7 +# source://activesupport//lib/active_support/railtie.rb#7 class ActiveSupport::Railtie < ::Rails::Railtie; end # = \Range With Format # -# source://activesupport/lib/active_support/core_ext/range/conversions.rb#5 +# source://activesupport//lib/active_support/core_ext/range/conversions.rb#5 module ActiveSupport::RangeWithFormat # Convert range to a formatted string. See RANGE_FORMATS for predefined formats. # @@ -11461,7 +11515,7 @@ module ActiveSupport::RangeWithFormat # # config/initializers/range_formats.rb # Range::RANGE_FORMATS[:short] = ->(start, stop) { "Between #{start.to_fs(:db)} and #{stop.to_fs(:db)}" } # - # source://activesupport/lib/active_support/core_ext/range/conversions.rb#51 + # source://activesupport//lib/active_support/core_ext/range/conversions.rb#58 def to_formatted_s(format = T.unsafe(nil)); end # Convert range to a formatted string. See RANGE_FORMATS for predefined formats. @@ -11486,11 +11540,11 @@ module ActiveSupport::RangeWithFormat # # config/initializers/range_formats.rb # Range::RANGE_FORMATS[:short] = ->(start, stop) { "Between #{start.to_fs(:db)} and #{stop.to_fs(:db)}" } # - # source://activesupport/lib/active_support/core_ext/range/conversions.rb#51 + # source://activesupport//lib/active_support/core_ext/range/conversions.rb#51 def to_fs(format = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/range/conversions.rb#6 +# source://activesupport//lib/active_support/core_ext/range/conversions.rb#6 ActiveSupport::RangeWithFormat::RANGE_FORMATS = T.let(T.unsafe(nil), Hash) # = Active Support \Reloader @@ -11514,132 +11568,132 @@ ActiveSupport::RangeWithFormat::RANGE_FORMATS = T.let(T.unsafe(nil), Hash) # after_class_unload -- Run immediately after the classes are # unloaded. # -# source://activesupport/lib/active_support/reloader.rb#28 +# source://activesupport//lib/active_support/reloader.rb#28 class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper # @return [Reloader] a new instance of Reloader # - # source://activesupport/lib/active_support/reloader.rb#99 + # source://activesupport//lib/active_support/reloader.rb#99 def initialize; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/reloader.rb#31 def _run_class_unload_callbacks(&block); end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/reloader.rb#29 def _run_prepare_callbacks(&block); end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check; end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check=(_arg0); end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check?; end - # source://activesupport/lib/active_support/reloader.rb#126 + # source://activesupport//lib/active_support/reloader.rb#126 def class_unload!(&block); end - # source://activesupport/lib/active_support/reloader.rb#131 + # source://activesupport//lib/active_support/reloader.rb#131 def complete!; end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor; end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor=(_arg0); end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor?; end # Release the unload lock if it has been previously obtained # - # source://activesupport/lib/active_support/reloader.rb#114 + # source://activesupport//lib/active_support/reloader.rb#114 def release_unload_lock!; end # Acquire the ActiveSupport::Dependencies::Interlock unload lock, # ensuring it will be released automatically # - # source://activesupport/lib/active_support/reloader.rb#106 + # source://activesupport//lib/active_support/reloader.rb#106 def require_unload_lock!; end - # source://activesupport/lib/active_support/reloader.rb#121 + # source://activesupport//lib/active_support/reloader.rb#121 def run!; end class << self - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/reloader.rb#29 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks=(value); end # Registers a callback that will run immediately after the classes are unloaded. # - # source://activesupport/lib/active_support/reloader.rb#44 + # source://activesupport//lib/active_support/reloader.rb#44 def after_class_unload(*args, &block); end # Registers a callback that will run immediately before the classes are unloaded. # - # source://activesupport/lib/active_support/reloader.rb#39 + # source://activesupport//lib/active_support/reloader.rb#39 def before_class_unload(*args, &block); end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check; end - # source://activesupport/lib/active_support/reloader.rb#87 + # source://activesupport//lib/active_support/reloader.rb#87 def check!; end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check=(value); end - # source://activesupport/lib/active_support/reloader.rb#85 + # source://activesupport//lib/active_support/reloader.rb#85 def check?; end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor; end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor=(value); end - # source://activesupport/lib/active_support/reloader.rb#84 + # source://activesupport//lib/active_support/reloader.rb#84 def executor?; end - # source://activesupport/lib/active_support/reloader.rb#95 + # source://activesupport//lib/active_support/reloader.rb#95 def prepare!; end # Initiate a manual reload # - # source://activesupport/lib/active_support/reloader.rb#51 + # source://activesupport//lib/active_support/reloader.rb#51 def reload!; end - # source://activesupport/lib/active_support/reloader.rb#91 + # source://activesupport//lib/active_support/reloader.rb#91 def reloaded!; end - # source://activesupport/lib/active_support/reloader.rb#62 + # source://activesupport//lib/active_support/reloader.rb#62 def run!(reset: T.unsafe(nil)); end # Registers a callback that will run once at application startup and every time the code is reloaded. # - # source://activesupport/lib/active_support/reloader.rb#34 + # source://activesupport//lib/active_support/reloader.rb#34 def to_prepare(*args, &block); end # Run the supplied block as a work unit, reloading code as needed # - # source://activesupport/lib/active_support/reloader.rb#71 + # source://activesupport//lib/active_support/reloader.rb#71 def wrap(**kwargs); end end end @@ -11648,7 +11702,7 @@ end # # Rescuable module adds support for easier exception handling. # -# source://activesupport/lib/active_support/rescuable.rb#11 +# source://activesupport//lib/active_support/rescuable.rb#11 module ActiveSupport::Rescuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -11659,13 +11713,13 @@ module ActiveSupport::Rescuable # Internal handler lookup. Delegates to class method. Some libraries call # this directly, so keeping it around for compatibility. # - # source://activesupport/lib/active_support/rescuable.rb#172 + # source://activesupport//lib/active_support/rescuable.rb#172 def handler_for_rescue(exception); end # Delegates to the class method, but uses the instance as the subject for # rescue_from handlers (method calls, +instance_exec+ blocks). # - # source://activesupport/lib/active_support/rescuable.rb#166 + # source://activesupport//lib/active_support/rescuable.rb#166 def rescue_with_handler(exception); end module GeneratedClassMethods @@ -11681,9 +11735,9 @@ module ActiveSupport::Rescuable end end -# source://activesupport/lib/active_support/rescuable.rb#18 +# source://activesupport//lib/active_support/rescuable.rb#18 module ActiveSupport::Rescuable::ClassMethods - # source://activesupport/lib/active_support/rescuable.rb#105 + # source://activesupport//lib/active_support/rescuable.rb#105 def handler_for_rescue(exception, object: T.unsafe(nil)); end # Registers exception classes with a handler to be called by rescue_with_handler. @@ -11721,7 +11775,7 @@ module ActiveSupport::Rescuable::ClassMethods # # Exceptions raised inside exception handlers are not propagated up. # - # source://activesupport/lib/active_support/rescuable.rb#53 + # source://activesupport//lib/active_support/rescuable.rb#53 def rescue_from(*klasses, with: T.unsafe(nil), &block); end # Matches an exception to a handler based on the exception class. @@ -11739,263 +11793,264 @@ module ActiveSupport::Rescuable::ClassMethods # # Returns the exception if it was handled and +nil+ if it was not. # - # source://activesupport/lib/active_support/rescuable.rb#90 + # source://activesupport//lib/active_support/rescuable.rb#90 def rescue_with_handler(exception, object: T.unsafe(nil), visited_exceptions: T.unsafe(nil)); end private - # source://activesupport/lib/active_support/rescuable.rb#139 + # source://activesupport//lib/active_support/rescuable.rb#139 def constantize_rescue_handler_class(class_or_name); end - # source://activesupport/lib/active_support/rescuable.rb#124 + # source://activesupport//lib/active_support/rescuable.rb#124 def find_rescue_handler(exception); end end -# source://activesupport/lib/active_support/ruby_features.rb#4 +# source://activesupport//lib/active_support/ruby_features.rb#4 module ActiveSupport::RubyFeatures; end # RUBY_VERSION >= "3.1" # -# source://activesupport/lib/active_support/ruby_features.rb#5 +# source://activesupport//lib/active_support/ruby_features.rb#5 ActiveSupport::RubyFeatures::CLASS_SUBCLASSES = T.let(T.unsafe(nil), TrueClass) -# source://activesupport/lib/active_support/core_ext/string/output_safety.rb#19 +# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#19 class ActiveSupport::SafeBuffer < ::String # @return [SafeBuffer] a new instance of SafeBuffer # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#70 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#70 def initialize(str = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#130 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#130 def %(args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#123 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#123 def *(_); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#119 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#119 def +(other); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#87 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#93 def <<(value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#38 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#38 def [](*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#111 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#111 def []=(arg1, arg2, arg3 = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#95 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#95 def bytesplice(*args, value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def capitalize(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def capitalize!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chomp(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chomp!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chop(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chop!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#59 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#59 def chr; end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#80 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#80 def clone_empty; end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#87 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#87 def concat(value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_prefix(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_prefix!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_suffix(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_suffix!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def downcase(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def downcase!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#153 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#153 def encode_with(coder); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#174 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def gsub(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#185 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def gsub!(*args, &block); end # Returns the value of attribute html_safe. # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#141 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#142 def html_safe?; end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#99 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#99 def insert(index, value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def lstrip(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def lstrip!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def next(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def next!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#103 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#103 def prepend(value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#107 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#107 def replace(value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def reverse(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def reverse!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def rstrip(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def rstrip!(*args); end # @raise [SafeConcatError] # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#65 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#65 def safe_concat(value); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def scrub(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def scrub!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#38 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#49 def slice(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#51 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#51 def slice!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def squeeze(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def squeeze!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def strip(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def strip!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#174 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def sub(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#185 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def sub!(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def succ(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def succ!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def swapcase(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def swapcase!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#149 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#149 def to_param; end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#145 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#145 def to_s; end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr_s(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr_s!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def unicode_normalize(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def unicode_normalize!(*args); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def upcase(*args, &block); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def upcase!(*args); end private - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#200 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#200 def explicit_html_escape_interpolated_argument(arg); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#204 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#204 def implicit_html_escape_interpolated_argument(arg); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#75 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#75 def initialize_copy(other); end + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#28 def original_concat(*_arg0); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#212 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#212 def set_block_back_references(block, match_data); end - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#218 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#218 def string_into_safe_buffer(new_string, is_html_safe); end end # Raised when ActiveSupport::SafeBuffer#safe_concat is called on unsafe buffers. # -# source://activesupport/lib/active_support/core_ext/string/output_safety.rb#32 +# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#32 class ActiveSupport::SafeBuffer::SafeConcatError < ::StandardError # @return [SafeConcatError] a new instance of SafeConcatError # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#33 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#33 def initialize; end end -# source://activesupport/lib/active_support/core_ext/string/output_safety.rb#20 +# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#20 ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/string/output_safety.rb#26 +# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#26 ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS_WITH_BACKREF = T.let(T.unsafe(nil), Array) # = Secure Compare Rotator @@ -12024,32 +12079,32 @@ ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS_WITH_BACKREF = T.let(T.unsafe(n # end # end # -# source://activesupport/lib/active_support/secure_compare_rotator.rb#32 +# source://activesupport//lib/active_support/secure_compare_rotator.rb#32 class ActiveSupport::SecureCompareRotator include ::ActiveSupport::SecurityUtils # @return [SecureCompareRotator] a new instance of SecureCompareRotator # - # source://activesupport/lib/active_support/secure_compare_rotator.rb#37 + # source://activesupport//lib/active_support/secure_compare_rotator.rb#37 def initialize(value, on_rotation: T.unsafe(nil)); end - # source://activesupport/lib/active_support/secure_compare_rotator.rb#43 + # source://activesupport//lib/active_support/secure_compare_rotator.rb#43 def rotate(previous_value); end - # source://activesupport/lib/active_support/secure_compare_rotator.rb#47 + # source://activesupport//lib/active_support/secure_compare_rotator.rb#47 def secure_compare!(other_value, on_rotation: T.unsafe(nil)); end end -# source://activesupport/lib/active_support/secure_compare_rotator.rb#35 +# source://activesupport//lib/active_support/secure_compare_rotator.rb#35 class ActiveSupport::SecureCompareRotator::InvalidMatch < ::StandardError; end -# source://activesupport/lib/active_support/security_utils.rb#4 +# source://activesupport//lib/active_support/security_utils.rb#4 module ActiveSupport::SecurityUtils private # @raise [ArgumentError] # - # source://activesupport/lib/active_support/security_utils.rb#11 + # source://activesupport//lib/active_support/security_utils.rb#11 def fixed_length_secure_compare(a, b); end # Secure string comparison for strings of variable length. @@ -12059,13 +12114,13 @@ module ActiveSupport::SecurityUtils # the secret length. This should be considered when using secure_compare # to compare weak, short secrets to user input. # - # source://activesupport/lib/active_support/security_utils.rb#33 + # source://activesupport//lib/active_support/security_utils.rb#33 def secure_compare(a, b); end class << self # @raise [ArgumentError] # - # source://activesupport/lib/active_support/security_utils.rb#11 + # source://activesupport//lib/active_support/security_utils.rb#25 def fixed_length_secure_compare(a, b); end # Secure string comparison for strings of variable length. @@ -12075,7 +12130,7 @@ module ActiveSupport::SecurityUtils # the secret length. This should be considered when using secure_compare # to compare weak, short secrets to user input. # - # source://activesupport/lib/active_support/security_utils.rb#33 + # source://activesupport//lib/active_support/security_utils.rb#36 def secure_compare(a, b); end end end @@ -12098,16 +12153,16 @@ end # vehicle.car? # => true # vehicle.bike? # => false # -# source://activesupport/lib/active_support/string_inquirer.rb#21 +# source://activesupport//lib/active_support/string_inquirer.rb#21 class ActiveSupport::StringInquirer < ::String private - # source://activesupport/lib/active_support/string_inquirer.rb#27 + # source://activesupport//lib/active_support/string_inquirer.rb#27 def method_missing(method_name, *arguments); end # @return [Boolean] # - # source://activesupport/lib/active_support/string_inquirer.rb#23 + # source://activesupport//lib/active_support/string_inquirer.rb#23 def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end end @@ -12138,81 +12193,81 @@ end # # ActiveRecord::StatsSubscriber.detach_from(:active_record) # -# source://activesupport/lib/active_support/subscriber.rb#32 +# source://activesupport//lib/active_support/subscriber.rb#32 class ActiveSupport::Subscriber # @return [Subscriber] a new instance of Subscriber # - # source://activesupport/lib/active_support/subscriber.rb#130 + # source://activesupport//lib/active_support/subscriber.rb#130 def initialize; end - # source://activesupport/lib/active_support/subscriber.rb#135 + # source://activesupport//lib/active_support/subscriber.rb#135 def call(event); end - # source://activesupport/lib/active_support/subscriber.rb#128 + # source://activesupport//lib/active_support/subscriber.rb#128 def patterns; end - # source://activesupport/lib/active_support/subscriber.rb#140 + # source://activesupport//lib/active_support/subscriber.rb#140 def publish_event(event); end class << self # Attach the subscriber to a namespace. # - # source://activesupport/lib/active_support/subscriber.rb#35 + # source://activesupport//lib/active_support/subscriber.rb#35 def attach_to(namespace, subscriber = T.unsafe(nil), notifier = T.unsafe(nil), inherit_all: T.unsafe(nil)); end # Detach the subscriber from a namespace. # - # source://activesupport/lib/active_support/subscriber.rb#50 + # source://activesupport//lib/active_support/subscriber.rb#50 def detach_from(namespace, notifier = T.unsafe(nil)); end # Adds event subscribers for all new methods added to the class. # - # source://activesupport/lib/active_support/subscriber.rb#69 + # source://activesupport//lib/active_support/subscriber.rb#69 def method_added(event); end - # source://activesupport/lib/active_support/subscriber.rb#78 + # source://activesupport//lib/active_support/subscriber.rb#78 def subscribers; end private - # source://activesupport/lib/active_support/subscriber.rb#85 + # source://activesupport//lib/active_support/subscriber.rb#85 def add_event_subscriber(event); end - # source://activesupport/lib/active_support/subscriber.rb#123 + # source://activesupport//lib/active_support/subscriber.rb#123 def fetch_public_methods(subscriber, inherit_all); end - # source://activesupport/lib/active_support/subscriber.rb#107 + # source://activesupport//lib/active_support/subscriber.rb#107 def find_attached_subscriber; end # @return [Boolean] # - # source://activesupport/lib/active_support/subscriber.rb#111 + # source://activesupport//lib/active_support/subscriber.rb#111 def invalid_event?(event); end # Returns the value of attribute namespace. # - # source://activesupport/lib/active_support/subscriber.rb#83 + # source://activesupport//lib/active_support/subscriber.rb#83 def namespace; end # Returns the value of attribute notifier. # - # source://activesupport/lib/active_support/subscriber.rb#83 + # source://activesupport//lib/active_support/subscriber.rb#83 def notifier; end # @return [Boolean] # - # source://activesupport/lib/active_support/subscriber.rb#119 + # source://activesupport//lib/active_support/subscriber.rb#119 def pattern_subscribed?(pattern); end - # source://activesupport/lib/active_support/subscriber.rb#115 + # source://activesupport//lib/active_support/subscriber.rb#115 def prepare_pattern(event); end - # source://activesupport/lib/active_support/subscriber.rb#96 + # source://activesupport//lib/active_support/subscriber.rb#96 def remove_event_subscriber(event); end # Returns the value of attribute subscriber. # - # source://activesupport/lib/active_support/subscriber.rb#83 + # source://activesupport//lib/active_support/subscriber.rb#83 def subscriber; end end end @@ -12222,37 +12277,37 @@ end # source location of the syntax error. That way we can display the error # source on error pages in development. # -# source://activesupport/lib/active_support/syntax_error_proxy.rb#10 +# source://activesupport//lib/active_support/syntax_error_proxy.rb#10 class ActiveSupport::SyntaxErrorProxy - # source://activesupport/lib/active_support/syntax_error_proxy.rb#11 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#11 def backtrace; end - # source://activesupport/lib/active_support/syntax_error_proxy.rb#34 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#34 def backtrace_locations; end private - # source://activesupport/lib/active_support/syntax_error_proxy.rb#47 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#47 def parse_message_for_trace; end end -# source://activesupport/lib/active_support/syntax_error_proxy.rb#15 +# source://activesupport//lib/active_support/syntax_error_proxy.rb#15 class ActiveSupport::SyntaxErrorProxy::BacktraceLocation < ::Struct - # source://activesupport/lib/active_support/syntax_error_proxy.rb#19 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#19 def label; end - # source://activesupport/lib/active_support/syntax_error_proxy.rb#16 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#16 def spot(_); end end -# source://activesupport/lib/active_support/syntax_error_proxy.rb#23 +# source://activesupport//lib/active_support/syntax_error_proxy.rb#23 class ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy # @return [BacktraceLocationProxy] a new instance of BacktraceLocationProxy # - # source://activesupport/lib/active_support/syntax_error_proxy.rb#24 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#24 def initialize(loc, ex); end - # source://activesupport/lib/active_support/syntax_error_proxy.rb#29 + # source://activesupport//lib/active_support/syntax_error_proxy.rb#29 def spot(_); end end @@ -12278,106 +12333,106 @@ end # it easy to stamp log lines with subdomains, request ids, and anything else # to aid debugging of multi-user production applications. # -# source://activesupport/lib/active_support/tagged_logging.rb#30 +# source://activesupport//lib/active_support/tagged_logging.rb#30 module ActiveSupport::TaggedLogging - # source://activesupport/lib/active_support/tagged_logging.rb#135 + # source://activesupport//lib/active_support/tagged_logging.rb#135 def clear_tags!(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/tagged_logging.rb#148 + # source://activesupport//lib/active_support/tagged_logging.rb#148 def flush; end - # source://activesupport/lib/active_support/tagged_logging.rb#135 + # source://activesupport//lib/active_support/tagged_logging.rb#135 def pop_tags(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/tagged_logging.rb#135 + # source://activesupport//lib/active_support/tagged_logging.rb#135 def push_tags(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/tagged_logging.rb#137 + # source://activesupport//lib/active_support/tagged_logging.rb#137 def tagged(*tags); end class << self - # source://activesupport/lib/active_support/tagged_logging.rb#117 + # source://activesupport//lib/active_support/tagged_logging.rb#117 def new(logger); end end end -# source://activesupport/lib/active_support/tagged_logging.rb#31 +# source://activesupport//lib/active_support/tagged_logging.rb#31 module ActiveSupport::TaggedLogging::Formatter # This method is invoked when a log event occurs. # - # source://activesupport/lib/active_support/tagged_logging.rb#33 + # source://activesupport//lib/active_support/tagged_logging.rb#33 def call(severity, timestamp, progname, msg); end - # source://activesupport/lib/active_support/tagged_logging.rb#52 + # source://activesupport//lib/active_support/tagged_logging.rb#52 def clear_tags!; end - # source://activesupport/lib/active_support/tagged_logging.rb#62 + # source://activesupport//lib/active_support/tagged_logging.rb#62 def current_tags; end - # source://activesupport/lib/active_support/tagged_logging.rb#48 + # source://activesupport//lib/active_support/tagged_logging.rb#48 def pop_tags(count = T.unsafe(nil)); end - # source://activesupport/lib/active_support/tagged_logging.rb#44 + # source://activesupport//lib/active_support/tagged_logging.rb#44 def push_tags(*tags); end - # source://activesupport/lib/active_support/tagged_logging.rb#56 + # source://activesupport//lib/active_support/tagged_logging.rb#56 def tag_stack; end - # source://activesupport/lib/active_support/tagged_logging.rb#37 + # source://activesupport//lib/active_support/tagged_logging.rb#37 def tagged(*tags); end - # source://activesupport/lib/active_support/tagged_logging.rb#66 + # source://activesupport//lib/active_support/tagged_logging.rb#66 def tags_text; end end -# source://activesupport/lib/active_support/tagged_logging.rb#109 +# source://activesupport//lib/active_support/tagged_logging.rb#109 module ActiveSupport::TaggedLogging::LocalTagStorage # Returns the value of attribute tag_stack. # - # source://activesupport/lib/active_support/tagged_logging.rb#110 + # source://activesupport//lib/active_support/tagged_logging.rb#110 def tag_stack; end # Sets the attribute tag_stack # # @param value the value to set the attribute tag_stack to. # - # source://activesupport/lib/active_support/tagged_logging.rb#110 + # source://activesupport//lib/active_support/tagged_logging.rb#110 def tag_stack=(_arg0); end class << self # @private # - # source://activesupport/lib/active_support/tagged_logging.rb#112 + # source://activesupport//lib/active_support/tagged_logging.rb#112 def extended(base); end end end -# source://activesupport/lib/active_support/tagged_logging.rb#71 +# source://activesupport//lib/active_support/tagged_logging.rb#71 class ActiveSupport::TaggedLogging::TagStack # @return [TagStack] a new instance of TagStack # - # source://activesupport/lib/active_support/tagged_logging.rb#74 + # source://activesupport//lib/active_support/tagged_logging.rb#74 def initialize; end - # source://activesupport/lib/active_support/tagged_logging.rb#92 + # source://activesupport//lib/active_support/tagged_logging.rb#92 def clear; end - # source://activesupport/lib/active_support/tagged_logging.rb#97 + # source://activesupport//lib/active_support/tagged_logging.rb#97 def format_message(message); end - # source://activesupport/lib/active_support/tagged_logging.rb#87 + # source://activesupport//lib/active_support/tagged_logging.rb#87 def pop_tags(count); end - # source://activesupport/lib/active_support/tagged_logging.rb#79 + # source://activesupport//lib/active_support/tagged_logging.rb#79 def push_tags(tags); end # Returns the value of attribute tags. # - # source://activesupport/lib/active_support/tagged_logging.rb#72 + # source://activesupport//lib/active_support/tagged_logging.rb#72 def tags; end end -# source://activesupport/lib/active_support/test_case.rb#20 +# source://activesupport//lib/active_support/test_case.rb#20 class ActiveSupport::TestCase < ::Minitest::Test include ::ActiveSupport::Testing::SetupAndTeardown include ::ActiveSupport::Testing::TaggedLogging @@ -12393,104 +12448,104 @@ class ActiveSupport::TestCase < ::Minitest::Test extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods extend ::ActiveSupport::Testing::Declarative - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/test_case.rb#144 def _run_setup_callbacks(&block); end - # source://activesupport/lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/test_case.rb#144 def _run_teardown_callbacks(&block); end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks; end - # source://minitest/5.25.2lib/minitest/assertions.rb#731 + # source://activesupport//lib/active_support/test_case.rb#239 def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#660 + # source://activesupport//lib/active_support/test_case.rb#162 def assert_not_empty(obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#671 + # source://activesupport//lib/active_support/test_case.rb#173 def assert_not_equal(exp, act, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#683 + # source://activesupport//lib/active_support/test_case.rb#184 def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#695 + # source://activesupport//lib/active_support/test_case.rb#195 def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#702 + # source://activesupport//lib/active_support/test_case.rb#206 def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#713 + # source://activesupport//lib/active_support/test_case.rb#217 def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#723 + # source://activesupport//lib/active_support/test_case.rb#228 def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#741 + # source://activesupport//lib/active_support/test_case.rb#250 def assert_not_nil(obj, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#776 + # source://activesupport//lib/active_support/test_case.rb#261 def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#799 + # source://activesupport//lib/active_support/test_case.rb#272 def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#808 + # source://activesupport//lib/active_support/test_case.rb#283 def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end - # source://minitest/5.25.2lib/minitest/assertions.rb#817 + # source://activesupport//lib/active_support/test_case.rb#294 def assert_not_same(exp, act, msg = T.unsafe(nil)); end - # source://activesupport/lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path; end - # source://activesupport/lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path?; end - # source://activesupport/lib/active_support/test_case.rb#298 + # source://activesupport//lib/active_support/test_case.rb#298 def inspect; end - # source://minitest/5.25.2lib/minitest.rb#376 + # source://activesupport//lib/active_support/test_case.rb#141 def method_name; end class << self - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks?; end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks=(value); end - # source://activesupport/lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks; end - # source://activesupport/lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks=(value); end - # source://activesupport/lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path; end - # source://activesupport/lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path=(value); end - # source://activesupport/lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path?; end # Parallelizes the test suite. @@ -12527,7 +12582,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # number of tests to run is above the +threshold+ param. The default value is # 50, and it's configurable via +config.active_support.test_parallelization_threshold+. # - # source://activesupport/lib/active_support/test_case.rb#80 + # source://activesupport//lib/active_support/test_case.rb#80 def parallelize(workers: T.unsafe(nil), with: T.unsafe(nil), threshold: T.unsafe(nil)); end # Set up hook for parallel testing. This can be used if you have multiple @@ -12544,7 +12599,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # end # end # - # source://activesupport/lib/active_support/test_case.rb#100 + # source://activesupport//lib/active_support/test_case.rb#100 def parallelize_setup(&block); end # Clean up hook for parallel testing. This can be used to drop databases @@ -12561,7 +12616,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # end # end # - # source://activesupport/lib/active_support/test_case.rb#117 + # source://activesupport//lib/active_support/test_case.rb#117 def parallelize_teardown(&block); end # Returns the order in which test cases are run. @@ -12571,7 +12626,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # Possible values are +:random+, +:parallel+, +:alpha+, +:sorted+. # Defaults to +:random+. # - # source://activesupport/lib/active_support/test_case.rb#43 + # source://activesupport//lib/active_support/test_case.rb#43 def test_order; end # Sets the order in which test cases are run. @@ -12584,18 +12639,18 @@ class ActiveSupport::TestCase < ::Minitest::Test # * +:sorted+ (to run tests alphabetically by method name) # * +:alpha+ (equivalent to +:sorted+) # - # source://activesupport/lib/active_support/test_case.rb#33 + # source://activesupport//lib/active_support/test_case.rb#33 def test_order=(new_order); end end end -# source://activesupport/lib/active_support/test_case.rb#21 +# source://activesupport//lib/active_support/test_case.rb#21 ActiveSupport::TestCase::Assertion = Minitest::Assertion -# source://activesupport/lib/active_support/testing/tagged_logging.rb#4 +# source://activesupport//lib/active_support/testing/tagged_logging.rb#4 module ActiveSupport::Testing; end -# source://activesupport/lib/active_support/testing/assertions.rb#7 +# source://activesupport//lib/active_support/testing/assertions.rb#7 module ActiveSupport::Testing::Assertions # Assertion that the result of evaluating an expression is changed before # and after invoking the passed in block. @@ -12632,7 +12687,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { status: { incident: true } } # end # - # source://activesupport/lib/active_support/testing/assertions.rb#191 + # source://activesupport//lib/active_support/testing/assertions.rb#191 def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end # Test numeric difference between the return value of an expression as a @@ -12683,7 +12738,7 @@ module ActiveSupport::Testing::Assertions # post :delete, params: { id: ... } # end # - # source://activesupport/lib/active_support/testing/assertions.rb#101 + # source://activesupport//lib/active_support/testing/assertions.rb#101 def assert_difference(expression, *args, &block); end # Assertion that the result of evaluating an expression is not changed before @@ -12706,7 +12761,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { status: { ok: false } } # end # - # source://activesupport/lib/active_support/testing/assertions.rb#238 + # source://activesupport//lib/active_support/testing/assertions.rb#238 def assert_no_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), &block); end # Assertion that the numeric result of evaluating an expression is not @@ -12734,7 +12789,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { article: invalid_attributes } # end # - # source://activesupport/lib/active_support/testing/assertions.rb#153 + # source://activesupport//lib/active_support/testing/assertions.rb#153 def assert_no_difference(expression, message = T.unsafe(nil), &block); end # Asserts that an expression is not truthy. Passes if +object+ is +nil+ or @@ -12749,7 +12804,7 @@ module ActiveSupport::Testing::Assertions # # assert_not foo, 'foo should be false' # - # source://activesupport/lib/active_support/testing/assertions.rb#21 + # source://activesupport//lib/active_support/testing/assertions.rb#21 def assert_not(object, message = T.unsafe(nil)); end # Assertion that the block should not raise an exception. @@ -12760,7 +12815,7 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'no_exception') # end # - # source://activesupport/lib/active_support/testing/assertions.rb#48 + # source://activesupport//lib/active_support/testing/assertions.rb#48 def assert_nothing_raised; end # Asserts that a block raises one of +exp+. This is an enhancement of the @@ -12771,7 +12826,7 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'exception') # end # - # source://activesupport/lib/active_support/testing/assertions.rb#34 + # source://activesupport//lib/active_support/testing/assertions.rb#39 def assert_raise(*exp, match: T.unsafe(nil), &block); end # Asserts that a block raises one of +exp+. This is an enhancement of the @@ -12782,16 +12837,16 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'exception') # end # - # source://activesupport/lib/active_support/testing/assertions.rb#34 + # source://activesupport//lib/active_support/testing/assertions.rb#34 def assert_raises(*exp, match: T.unsafe(nil), &block); end private - # source://activesupport/lib/active_support/testing/assertions.rb#265 + # source://activesupport//lib/active_support/testing/assertions.rb#265 def _assert_nothing_raised_or_warn(assertion, &block); end end -# source://activesupport/lib/active_support/testing/assertions.rb#8 +# source://activesupport//lib/active_support/testing/assertions.rb#8 ActiveSupport::Testing::Assertions::UNTRACKED = T.let(T.unsafe(nil), Object) # Resolves a constant from a minitest spec name. @@ -12819,20 +12874,20 @@ ActiveSupport::Testing::Assertions::UNTRACKED = T.let(T.unsafe(nil), Object) # Class === constant && constant < ::ActionController::Metal # end # -# source://activesupport/lib/active_support/testing/constant_lookup.rb#32 +# source://activesupport//lib/active_support/testing/constant_lookup.rb#32 module ActiveSupport::Testing::ConstantLookup extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods end -# source://activesupport/lib/active_support/testing/constant_lookup.rb#35 +# source://activesupport//lib/active_support/testing/constant_lookup.rb#35 module ActiveSupport::Testing::ConstantLookup::ClassMethods - # source://activesupport/lib/active_support/testing/constant_lookup.rb#36 + # source://activesupport//lib/active_support/testing/constant_lookup.rb#36 def determine_constant_from_test_name(test_name); end end -# source://activesupport/lib/active_support/testing/constant_stubbing.rb#5 +# source://activesupport//lib/active_support/testing/constant_stubbing.rb#5 module ActiveSupport::Testing::ConstantStubbing # Changes the value of a constant for the duration of a block. Example: # @@ -12850,11 +12905,11 @@ module ActiveSupport::Testing::ConstantStubbing # (like separate test suites running in parallel) that all depend on the same constant, it's possible # divergent stubbing will trample on each other. # - # source://activesupport/lib/active_support/testing/constant_stubbing.rb#21 + # source://activesupport//lib/active_support/testing/constant_stubbing.rb#21 def stub_const(mod, constant, new_value); end end -# source://activesupport/lib/active_support/testing/declarative.rb#5 +# source://activesupport//lib/active_support/testing/declarative.rb#5 module ActiveSupport::Testing::Declarative # Helper to define a test method using a String. Under the hood, it replaces # spaces with underscores and defines the test method. @@ -12863,11 +12918,11 @@ module ActiveSupport::Testing::Declarative # ... # end # - # source://activesupport/lib/active_support/testing/declarative.rb#13 + # source://activesupport//lib/active_support/testing/declarative.rb#13 def test(name, &block); end end -# source://activesupport/lib/active_support/testing/deprecation.rb#7 +# source://activesupport//lib/active_support/testing/deprecation.rb#7 module ActiveSupport::Testing::Deprecation # :call-seq: # assert_deprecated(deprecator, &block) @@ -12891,7 +12946,7 @@ module ActiveSupport::Testing::Deprecation # CustomDeprecator.warn "foo should no longer be used" # end # - # source://activesupport/lib/active_support/testing/deprecation.rb#30 + # source://activesupport//lib/active_support/testing/deprecation.rb#30 def assert_deprecated(match = T.unsafe(nil), deprecator = T.unsafe(nil), &block); end # Asserts that no deprecation warnings are emitted by the given deprecator during the execution of the yielded block. @@ -12904,7 +12959,7 @@ module ActiveSupport::Testing::Deprecation # CustomDeprecator.warn "message" # passes assertion, different deprecator # end # - # source://activesupport/lib/active_support/testing/deprecation.rb#54 + # source://activesupport//lib/active_support/testing/deprecation.rb#54 def assert_not_deprecated(deprecator = T.unsafe(nil), &block); end # Returns the return value of the block and an array of all the deprecation warnings emitted by the given @@ -12916,11 +12971,11 @@ module ActiveSupport::Testing::Deprecation # :result # end # => [:result, ["message"]] # - # source://activesupport/lib/active_support/testing/deprecation.rb#72 + # source://activesupport//lib/active_support/testing/deprecation.rb#72 def collect_deprecations(deprecator = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#5 +# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#5 module ActiveSupport::Testing::ErrorReporterAssertions # Assertion that the block should cause at least one exception to be reported # to +Rails.error+. @@ -12942,7 +12997,7 @@ module ActiveSupport::Testing::ErrorReporterAssertions # assert_equal :warning, report.severity # assert_predicate report, :handled? # - # source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#88 + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#88 def assert_error_reported(error_class = T.unsafe(nil), &block); end # Assertion that the block should not cause an exception to be reported @@ -12954,93 +13009,124 @@ module ActiveSupport::Testing::ErrorReporterAssertions # perform_service(param: 'no_exception') # end # - # source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#62 + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#62 def assert_no_error_reported(&block); end end -# source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#6 +# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#6 module ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector class << self - # source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#16 + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#16 def record; end - # source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#29 + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#29 def report(error, **kwargs); end private - # source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#38 + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#38 def subscribe; end end end -# source://activesupport/lib/active_support/testing/error_reporter_assertions.rb#10 +# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < ::Struct # Returns the value of attribute context # # @return [Object] the current value of context + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def context; end # Sets the attribute context # # @param value [Object] the value to set the attribute context to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def context=(_); end # Returns the value of attribute error # # @return [Object] the current value of error + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def error; end # Sets the attribute error # # @param value [Object] the value to set the attribute error to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def error=(_); end # Returns the value of attribute handled # # @return [Object] the current value of handled + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def handled; end # Sets the attribute handled # # @param value [Object] the value to set the attribute handled to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def handled=(_); end # Returns the value of attribute handled # # @return [Object] the current value of handled + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#12 def handled?; end # Returns the value of attribute severity # # @return [Object] the current value of severity + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def severity; end # Sets the attribute severity # # @param value [Object] the value to set the attribute severity to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def severity=(_); end # Returns the value of attribute source # # @return [Object] the current value of source + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def source; end # Sets the attribute source # # @param value [Object] the value to set the attribute source to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def source=(_); end class << self + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def [](*_arg0); end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def inspect; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def keyword_init?; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def members; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def new(*_arg0); end end end @@ -13055,7 +13141,7 @@ end # file_fixture("example.txt").read # get the file's content # file_fixture("example.mp3").size # get the file size # -# source://activesupport/lib/active_support/testing/file_fixtures.rb#16 +# source://activesupport//lib/active_support/testing/file_fixtures.rb#16 module ActiveSupport::Testing::FileFixtures extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -13066,7 +13152,7 @@ module ActiveSupport::Testing::FileFixtures # # Raises +ArgumentError+ if +fixture_name+ can't be found. # - # source://activesupport/lib/active_support/testing/file_fixtures.rb#26 + # source://activesupport//lib/active_support/testing/file_fixtures.rb#26 def file_fixture(fixture_name); end module GeneratedClassMethods @@ -13081,218 +13167,218 @@ module ActiveSupport::Testing::FileFixtures end end -# source://activesupport/lib/active_support/testing/isolation.rb#5 +# source://activesupport//lib/active_support/testing/isolation.rb#5 module ActiveSupport::Testing::Isolation include ::ActiveSupport::Testing::Isolation::Forking - # source://activesupport/lib/active_support/testing/isolation.rb#18 + # source://activesupport//lib/active_support/testing/isolation.rb#18 def run; end class << self # @return [Boolean] # - # source://activesupport/lib/active_support/testing/isolation.rb#14 + # source://activesupport//lib/active_support/testing/isolation.rb#14 def forking_env?; end - # source://activesupport/lib/active_support/testing/isolation.rb#8 + # source://activesupport//lib/active_support/testing/isolation.rb#8 def included(klass); end end end -# source://activesupport/lib/active_support/testing/isolation.rb#26 +# source://activesupport//lib/active_support/testing/isolation.rb#26 module ActiveSupport::Testing::Isolation::Forking - # source://activesupport/lib/active_support/testing/isolation.rb#27 + # source://activesupport//lib/active_support/testing/isolation.rb#27 def run_in_isolation(&blk); end end -# source://activesupport/lib/active_support/testing/isolation.rb#64 +# source://activesupport//lib/active_support/testing/isolation.rb#64 module ActiveSupport::Testing::Isolation::Subprocess # Complicated H4X to get this working in Windows / JRuby with # no forking. # - # source://activesupport/lib/active_support/testing/isolation.rb#69 + # source://activesupport//lib/active_support/testing/isolation.rb#69 def run_in_isolation(&blk); end end -# source://activesupport/lib/active_support/testing/isolation.rb#65 +# source://activesupport//lib/active_support/testing/isolation.rb#65 ActiveSupport::Testing::Isolation::Subprocess::ORIG_ARGV = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/testing/parallelization/server.rb#8 +# source://activesupport//lib/active_support/testing/parallelization/server.rb#8 class ActiveSupport::Testing::Parallelization # @return [Parallelization] a new instance of Parallelization # - # source://activesupport/lib/active_support/testing/parallelization.rb#28 + # source://activesupport//lib/active_support/testing/parallelization.rb#28 def initialize(worker_count); end - # source://activesupport/lib/active_support/testing/parallelization.rb#41 + # source://activesupport//lib/active_support/testing/parallelization.rb#41 def <<(work); end - # source://activesupport/lib/active_support/testing/parallelization.rb#18 + # source://activesupport//lib/active_support/testing/parallelization.rb#18 def after_fork_hooks; end - # source://activesupport/lib/active_support/testing/parallelization.rb#26 + # source://activesupport//lib/active_support/testing/parallelization.rb#26 def run_cleanup_hooks; end - # source://activesupport/lib/active_support/testing/parallelization.rb#49 + # source://activesupport//lib/active_support/testing/parallelization.rb#49 def shutdown; end - # source://activesupport/lib/active_support/testing/parallelization.rb#45 + # source://activesupport//lib/active_support/testing/parallelization.rb#45 def size; end - # source://activesupport/lib/active_support/testing/parallelization.rb#35 + # source://activesupport//lib/active_support/testing/parallelization.rb#35 def start; end class << self - # source://activesupport/lib/active_support/testing/parallelization.rb#14 + # source://activesupport//lib/active_support/testing/parallelization.rb#14 def after_fork_hook(&blk); end - # source://activesupport/lib/active_support/testing/parallelization.rb#18 + # source://activesupport//lib/active_support/testing/parallelization.rb#18 def after_fork_hooks; end - # source://activesupport/lib/active_support/testing/parallelization.rb#22 + # source://activesupport//lib/active_support/testing/parallelization.rb#22 def run_cleanup_hook(&blk); end - # source://activesupport/lib/active_support/testing/parallelization.rb#26 + # source://activesupport//lib/active_support/testing/parallelization.rb#26 def run_cleanup_hooks; end end end -# source://activesupport/lib/active_support/testing/parallelization/server.rb#9 +# source://activesupport//lib/active_support/testing/parallelization/server.rb#9 class ActiveSupport::Testing::Parallelization::Server include ::DRb::DRbUndumped # @return [Server] a new instance of Server # - # source://activesupport/lib/active_support/testing/parallelization/server.rb#12 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#12 def initialize; end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#28 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#28 def <<(o); end # @return [Boolean] # - # source://activesupport/lib/active_support/testing/parallelization/server.rb#48 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#48 def active_workers?; end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#52 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#52 def interrupt; end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#33 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#33 def pop; end # @raise [DRb::DRbConnError] # - # source://activesupport/lib/active_support/testing/parallelization/server.rb#18 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#18 def record(reporter, result); end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#56 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#56 def shutdown; end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#40 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#40 def start_worker(worker_id); end - # source://activesupport/lib/active_support/testing/parallelization/server.rb#44 + # source://activesupport//lib/active_support/testing/parallelization/server.rb#44 def stop_worker(worker_id); end end -# source://activesupport/lib/active_support/testing/parallelization/worker.rb#6 +# source://activesupport//lib/active_support/testing/parallelization/worker.rb#6 class ActiveSupport::Testing::Parallelization::Worker # @return [Worker] a new instance of Worker # - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#7 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#7 def initialize(number, url); end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#80 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#80 def after_fork; end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#42 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#42 def perform_job(job); end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#86 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#86 def run_cleanup; end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#56 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#56 def safe_record(reporter, result); end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#14 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#14 def start; end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#36 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#36 def work_from_queue; end private - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#93 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#93 def add_setup_exception(result); end - # source://activesupport/lib/active_support/testing/parallelization/worker.rb#97 + # source://activesupport//lib/active_support/testing/parallelization/worker.rb#97 def set_process_title(status); end end -# source://activesupport/lib/active_support/testing/parallelize_executor.rb#5 +# source://activesupport//lib/active_support/testing/parallelize_executor.rb#5 class ActiveSupport::Testing::ParallelizeExecutor # @return [ParallelizeExecutor] a new instance of ParallelizeExecutor # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#8 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#8 def initialize(size:, with:, threshold: T.unsafe(nil)); end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#22 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#22 def <<(work); end # Returns the value of attribute parallelize_with. # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#6 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#6 def parallelize_with; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#26 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#26 def shutdown; end # Returns the value of attribute size. # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#6 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#6 def size; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#15 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#15 def start; end # Returns the value of attribute threshold. # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#6 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#6 def threshold; end private - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#35 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#35 def build_parallel_executor; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#72 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#72 def execution_info; end # @return [Boolean] # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#60 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#60 def many_workers?; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#31 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#31 def parallel_executor; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#47 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#47 def parallelize; end # @return [Boolean] # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#52 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#52 def parallelized?; end # @return [Boolean] # - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#56 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#56 def should_parallelize?; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#68 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#68 def show_execution_info; end - # source://activesupport/lib/active_support/testing/parallelize_executor.rb#64 + # source://activesupport//lib/active_support/testing/parallelize_executor.rb#64 def tests_count; end end @@ -13310,40 +13396,40 @@ end # end # end # -# source://activesupport/lib/active_support/testing/setup_and_teardown.rb#20 +# source://activesupport//lib/active_support/testing/setup_and_teardown.rb#20 module ActiveSupport::Testing::SetupAndTeardown - # source://activesupport/lib/active_support/testing/setup_and_teardown.rb#44 + # source://activesupport//lib/active_support/testing/setup_and_teardown.rb#44 def after_teardown; end - # source://activesupport/lib/active_support/testing/setup_and_teardown.rb#39 + # source://activesupport//lib/active_support/testing/setup_and_teardown.rb#39 def before_setup; end class << self - # source://activesupport/lib/active_support/testing/setup_and_teardown.rb#21 + # source://activesupport//lib/active_support/testing/setup_and_teardown.rb#21 def prepended(klass); end end end -# source://activesupport/lib/active_support/testing/setup_and_teardown.rb#27 +# source://activesupport//lib/active_support/testing/setup_and_teardown.rb#27 module ActiveSupport::Testing::SetupAndTeardown::ClassMethods # Add a callback, which runs before TestCase#setup. # - # source://activesupport/lib/active_support/testing/setup_and_teardown.rb#29 + # source://activesupport//lib/active_support/testing/setup_and_teardown.rb#29 def setup(*args, &block); end # Add a callback, which runs after TestCase#teardown. # - # source://activesupport/lib/active_support/testing/setup_and_teardown.rb#34 + # source://activesupport//lib/active_support/testing/setup_and_teardown.rb#34 def teardown(*args, &block); end end # Manages stubs for TimeHelpers # -# source://activesupport/lib/active_support/testing/time_helpers.rb#9 +# source://activesupport//lib/active_support/testing/time_helpers.rb#9 class ActiveSupport::Testing::SimpleStubs # @return [SimpleStubs] a new instance of SimpleStubs # - # source://activesupport/lib/active_support/testing/time_helpers.rb#12 + # source://activesupport//lib/active_support/testing/time_helpers.rb#12 def initialize; end # Stubs object.method_name with the given block @@ -13354,115 +13440,136 @@ class ActiveSupport::Testing::SimpleStubs # simple_stubs.stub_object(Time, :now) { at(target.to_i) } # Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#23 + # source://activesupport//lib/active_support/testing/time_helpers.rb#23 def stub_object(object, method_name, &block); end # Returns true if any stubs are set, false if there are none # # @return [Boolean] # - # source://activesupport/lib/active_support/testing/time_helpers.rb#53 + # source://activesupport//lib/active_support/testing/time_helpers.rb#53 def stubbed?; end # Returns the Stub for object#method_name # (nil if it is not stubbed) # - # source://activesupport/lib/active_support/testing/time_helpers.rb#48 + # source://activesupport//lib/active_support/testing/time_helpers.rb#48 def stubbing(object, method_name); end # Remove all object-method stubs held by this instance # - # source://activesupport/lib/active_support/testing/time_helpers.rb#37 + # source://activesupport//lib/active_support/testing/time_helpers.rb#37 def unstub_all!; end private # Restores the original object.method described by the Stub # - # source://activesupport/lib/active_support/testing/time_helpers.rb#59 + # source://activesupport//lib/active_support/testing/time_helpers.rb#59 def unstub_object(stub); end end -# source://activesupport/lib/active_support/testing/time_helpers.rb#10 +# source://activesupport//lib/active_support/testing/time_helpers.rb#10 class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct # Returns the value of attribute method_name # # @return [Object] the current value of method_name + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def method_name; end # Sets the attribute method_name # # @param value [Object] the value to set the attribute method_name to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def method_name=(_); end # Returns the value of attribute object # # @return [Object] the current value of object + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def object; end # Sets the attribute object # # @param value [Object] the value to set the attribute object to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def object=(_); end # Returns the value of attribute original_method # # @return [Object] the current value of original_method + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def original_method; end # Sets the attribute original_method # # @param value [Object] the value to set the attribute original_method to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def original_method=(_); end class << self + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def [](*_arg0); end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def inspect; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def keyword_init?; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def members; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def new(*_arg0); end end end -# source://activesupport/lib/active_support/testing/stream.rb#5 +# source://activesupport//lib/active_support/testing/stream.rb#5 module ActiveSupport::Testing::Stream private - # source://activesupport/lib/active_support/testing/stream.rb#23 + # source://activesupport//lib/active_support/testing/stream.rb#23 def capture(stream); end - # source://activesupport/lib/active_support/testing/stream.rb#17 + # source://activesupport//lib/active_support/testing/stream.rb#17 def quietly(&block); end - # source://activesupport/lib/active_support/testing/stream.rb#7 + # source://activesupport//lib/active_support/testing/stream.rb#7 def silence_stream(stream); end end # Logs a "PostsControllerTest: test name" heading before each test to # make test.log easier to search and follow along with. # -# source://activesupport/lib/active_support/testing/tagged_logging.rb#7 +# source://activesupport//lib/active_support/testing/tagged_logging.rb#7 module ActiveSupport::Testing::TaggedLogging - # source://activesupport/lib/active_support/testing/tagged_logging.rb#10 + # source://activesupport//lib/active_support/testing/tagged_logging.rb#10 def before_setup; end - # source://activesupport/lib/active_support/testing/tagged_logging.rb#8 + # source://activesupport//lib/active_support/testing/tagged_logging.rb#8 def tagged_logger=(_arg0); end private - # source://activesupport/lib/active_support/testing/tagged_logging.rb#22 + # source://activesupport//lib/active_support/testing/tagged_logging.rb#22 def tagged_logger; end end # Contains helpers that help you test passage of time. # -# source://activesupport/lib/active_support/testing/time_helpers.rb#68 +# source://activesupport//lib/active_support/testing/time_helpers.rb#68 module ActiveSupport::Testing::TimeHelpers - # source://activesupport/lib/active_support/testing/time_helpers.rb#69 + # source://activesupport//lib/active_support/testing/time_helpers.rb#69 def after_teardown; end # Calls +travel_to+ with +Time.now+. Forwards optional with_usec argument. @@ -13482,7 +13589,7 @@ module ActiveSupport::Testing::TimeHelpers # end # Time.current # => Sun, 09 Jul 2017 15:34:50 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#256 + # source://activesupport//lib/active_support/testing/time_helpers.rb#256 def freeze_time(with_usec: T.unsafe(nil), &block); end # Changes current time to the time in the future or in the past by a given time difference by @@ -13509,7 +13616,7 @@ module ActiveSupport::Testing::TimeHelpers # end # Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#97 + # source://activesupport//lib/active_support/testing/time_helpers.rb#97 def travel(duration, with_usec: T.unsafe(nil), &block); end # Returns the current time back to its original state, by removing the stubs added by @@ -13536,7 +13643,7 @@ module ActiveSupport::Testing::TimeHelpers # # Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#230 + # source://activesupport//lib/active_support/testing/time_helpers.rb#230 def travel_back; end # Changes current time to the given time by stubbing +Time.now+, +Time.new+, @@ -13572,7 +13679,7 @@ module ActiveSupport::Testing::TimeHelpers # end # Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#133 + # source://activesupport//lib/active_support/testing/time_helpers.rb#133 def travel_to(date_or_time, with_usec: T.unsafe(nil)); end # Returns the current time back to its original state, by removing the stubs added by @@ -13599,24 +13706,24 @@ module ActiveSupport::Testing::TimeHelpers # # Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00 # - # source://activesupport/lib/active_support/testing/time_helpers.rb#230 + # source://activesupport//lib/active_support/testing/time_helpers.rb#238 def unfreeze_time; end private # Returns the value of attribute in_block. # - # source://activesupport/lib/active_support/testing/time_helpers.rb#265 + # source://activesupport//lib/active_support/testing/time_helpers.rb#265 def in_block; end # Sets the attribute in_block # # @param value the value to set the attribute in_block to. # - # source://activesupport/lib/active_support/testing/time_helpers.rb#265 + # source://activesupport//lib/active_support/testing/time_helpers.rb#265 def in_block=(_arg0); end - # source://activesupport/lib/active_support/testing/time_helpers.rb#261 + # source://activesupport//lib/active_support/testing/time_helpers.rb#261 def simple_stubs; end end @@ -13654,14 +13761,14 @@ end # t.is_a?(Time) # => true # t.is_a?(ActiveSupport::TimeWithZone) # => true # -# source://activesupport/lib/active_support/time_with_zone.rb#44 +# source://activesupport//lib/active_support/time_with_zone.rb#44 class ActiveSupport::TimeWithZone include ::DateAndTime::Compatibility include ::Comparable # @return [TimeWithZone] a new instance of TimeWithZone # - # source://activesupport/lib/active_support/time_with_zone.rb#51 + # source://activesupport//lib/active_support/time_with_zone.rb#51 def initialize(utc_time, time_zone, local_time = T.unsafe(nil), period = T.unsafe(nil)); end # Adds an interval of time to the current object's time and returns that @@ -13681,7 +13788,7 @@ class ActiveSupport::TimeWithZone # now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00 # now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#299 + # source://activesupport//lib/active_support/time_with_zone.rb#299 def +(other); end # Subtracts an interval of time and returns a new TimeWithZone object unless @@ -13707,19 +13814,19 @@ class ActiveSupport::TimeWithZone # # Time.zone.now - 1.day.ago # => 86399.999967 # - # source://activesupport/lib/active_support/time_with_zone.rb#333 + # source://activesupport//lib/active_support/time_with_zone.rb#333 def -(other); end # Use the time in UTC for comparisons. # - # source://activesupport/lib/active_support/time_with_zone.rb#232 + # source://activesupport//lib/active_support/time_with_zone.rb#232 def <=>(other); end # So that +self+ acts_like?(:time). # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#494 + # source://activesupport//lib/active_support/time_with_zone.rb#494 def acts_like_time?; end # Uses Date to provide precise Time calculations for years, months, and days @@ -13744,9 +13851,10 @@ class ActiveSupport::TimeWithZone # now.advance(months: 1) # => Tue, 02 Dec 2014 01:26:28.558049687 EST -05:00 # now.advance(years: 1) # => Mon, 02 Nov 2015 01:26:28.558049687 EST -05:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#422 + # source://activesupport//lib/active_support/time_with_zone.rb#422 def advance(options); end + # source://activesupport//lib/active_support/time_with_zone.rb#236 def after?(_arg0); end # Subtracts an interval of time from the current object's time and returns @@ -13767,7 +13875,7 @@ class ActiveSupport::TimeWithZone # now.ago(24.hours) # => Sun, 02 Nov 2014 01:26:28.725182881 EDT -04:00 # now.ago(1.day) # => Sun, 02 Nov 2014 00:26:28.725182881 EDT -04:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#361 + # source://activesupport//lib/active_support/time_with_zone.rb#361 def ago(other); end # Coerces time to a string for JSON encoding. The default format is ISO 8601. @@ -13783,9 +13891,10 @@ class ActiveSupport::TimeWithZone # Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json # # => "2005/02/01 05:15:10 -1000" # - # source://activesupport/lib/active_support/time_with_zone.rb#166 + # source://activesupport//lib/active_support/time_with_zone.rb#166 def as_json(options = T.unsafe(nil)); end + # source://activesupport//lib/active_support/time_with_zone.rb#235 def before?(_arg0); end # Returns true if the current object's time is within the specified @@ -13793,14 +13902,14 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#240 + # source://activesupport//lib/active_support/time_with_zone.rb#240 def between?(min, max); end # An instance of ActiveSupport::TimeWithZone is never blank # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#505 + # source://activesupport//lib/active_support/time_with_zone.rb#505 def blank?; end # Returns a new +ActiveSupport::TimeWithZone+ where one or more of the elements have @@ -13821,15 +13930,15 @@ class ActiveSupport::TimeWithZone # t.change(offset: "-10:00") # => Fri, 14 Apr 2017 11:45:15.116992711 HST -10:00 # t.change(zone: "Hawaii") # => Fri, 14 Apr 2017 11:45:15.116992711 HST -10:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#382 + # source://activesupport//lib/active_support/time_with_zone.rb#382 def change(options); end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#66 def comparable_time; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def day; end # Returns true if the current time is within Daylight Savings Time for the @@ -13841,17 +13950,17 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#94 + # source://activesupport//lib/active_support/time_with_zone.rb#94 def dst?; end - # source://activesupport/lib/active_support/time_with_zone.rb#178 + # source://activesupport//lib/active_support/time_with_zone.rb#178 def encode_with(coder); end # Returns +true+ if +other+ is equal to current object. # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#275 + # source://activesupport//lib/active_support/time_with_zone.rb#275 def eql?(other); end # Returns a formatted string of the offset from UTC, or an alternative @@ -13863,32 +13972,32 @@ class ActiveSupport::TimeWithZone # Time.zone = 'UTC' # => "UTC" # Time.zone.now.formatted_offset(true, "0") # => "0" # - # source://activesupport/lib/active_support/time_with_zone.rb#125 + # source://activesupport//lib/active_support/time_with_zone.rb#125 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end - # source://activesupport/lib/active_support/time_with_zone.rb#509 + # source://activesupport//lib/active_support/time_with_zone.rb#509 def freeze; end # Returns true if the current object's time is in the future. # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#270 + # source://activesupport//lib/active_support/time_with_zone.rb#270 def future?; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#67 def getgm; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#83 + # source://activesupport//lib/active_support/time_with_zone.rb#86 def getlocal(utc_offset = T.unsafe(nil)); end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#68 def getutc; end # Returns true if the current time zone is set to UTC. @@ -13900,28 +14009,28 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#105 + # source://activesupport//lib/active_support/time_with_zone.rb#108 def gmt?; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport/lib/active_support/time_with_zone.rb#111 + # source://activesupport//lib/active_support/time_with_zone.rb#114 def gmt_offset; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#69 def gmtime; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport/lib/active_support/time_with_zone.rb#111 + # source://activesupport//lib/active_support/time_with_zone.rb#115 def gmtoff; end - # source://activesupport/lib/active_support/time_with_zone.rb#279 + # source://activesupport//lib/active_support/time_with_zone.rb#279 def hash; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def hour; end # Returns a string of the object's date and time in the format used by @@ -13929,7 +14038,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.httpdate # => "Tue, 01 Jan 2013 04:39:43 GMT" # - # source://activesupport/lib/active_support/time_with_zone.rb#186 + # source://activesupport//lib/active_support/time_with_zone.rb#186 def httpdate; end # Adds an interval of time to the current object's time and returns that @@ -13949,29 +14058,29 @@ class ActiveSupport::TimeWithZone # now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00 # now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#299 + # source://activesupport//lib/active_support/time_with_zone.rb#308 def in(other); end # Returns the simultaneous time in Time.zone, or the specified zone. # - # source://activesupport/lib/active_support/time_with_zone.rb#77 + # source://activesupport//lib/active_support/time_with_zone.rb#77 def in_time_zone(new_zone = T.unsafe(nil)); end - # source://activesupport/lib/active_support/time_with_zone.rb#174 + # source://activesupport//lib/active_support/time_with_zone.rb#174 def init_with(coder); end # Returns a string of the object's date, time, zone, and offset from UTC. # # Time.zone.now.inspect # => "Thu, 04 Dec 2014 11:00:25.624541392 EST -05:00" # - # source://activesupport/lib/active_support/time_with_zone.rb#140 + # source://activesupport//lib/active_support/time_with_zone.rb#140 def inspect; end # Say we're a Time to thwart type checking. # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#499 + # source://activesupport//lib/active_support/time_with_zone.rb#499 def is_a?(klass); end # Returns true if the current time is within Daylight Savings Time for the @@ -13983,7 +14092,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#94 + # source://activesupport//lib/active_support/time_with_zone.rb#97 def isdst; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -13991,43 +14100,43 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport/lib/active_support/time_with_zone.rb#148 + # source://activesupport//lib/active_support/time_with_zone.rb#151 def iso8601(fraction_digits = T.unsafe(nil)); end # Say we're a Time to thwart type checking. # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#499 + # source://activesupport//lib/active_support/time_with_zone.rb#502 def kind_of?(klass); end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#83 + # source://activesupport//lib/active_support/time_with_zone.rb#83 def localtime(utc_offset = T.unsafe(nil)); end - # source://activesupport/lib/active_support/time_with_zone.rb#515 + # source://activesupport//lib/active_support/time_with_zone.rb#515 def marshal_dump; end - # source://activesupport/lib/active_support/time_with_zone.rb#519 + # source://activesupport//lib/active_support/time_with_zone.rb#519 def marshal_load(variables); end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def mday; end # Send the missing method to +time+ instance, and wrap result in a new # TimeWithZone with the existing +time_zone+. # - # source://activesupport/lib/active_support/time_with_zone.rb#540 + # source://activesupport//lib/active_support/time_with_zone.rb#540 def method_missing(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def min; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def mon; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def month; end # Returns true if the current object's time falls within @@ -14035,22 +14144,22 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#257 + # source://activesupport//lib/active_support/time_with_zone.rb#260 def next_day?; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def nsec; end # Returns true if the current object's time is in the past. # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#245 + # source://activesupport//lib/active_support/time_with_zone.rb#245 def past?; end # Returns the underlying +TZInfo::TimezonePeriod+. # - # source://activesupport/lib/active_support/time_with_zone.rb#72 + # source://activesupport//lib/active_support/time_with_zone.rb#72 def period; end # Returns true if the current object's time falls within @@ -14058,7 +14167,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#264 + # source://activesupport//lib/active_support/time_with_zone.rb#267 def prev_day?; end # respond_to_missing? is not called in some cases, such as when type conversion is @@ -14066,7 +14175,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#525 + # source://activesupport//lib/active_support/time_with_zone.rb#525 def respond_to?(sym, include_priv = T.unsafe(nil)); end # Returns a string of the object's date and time in the RFC 2822 standard @@ -14074,7 +14183,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000" # - # source://activesupport/lib/active_support/time_with_zone.rb#194 + # source://activesupport//lib/active_support/time_with_zone.rb#194 def rfc2822; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -14082,7 +14191,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport/lib/active_support/time_with_zone.rb#148 + # source://activesupport//lib/active_support/time_with_zone.rb#152 def rfc3339(fraction_digits = T.unsafe(nil)); end # Returns a string of the object's date and time in the RFC 2822 standard @@ -14090,10 +14199,10 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000" # - # source://activesupport/lib/active_support/time_with_zone.rb#194 + # source://activesupport//lib/active_support/time_with_zone.rb#197 def rfc822; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def sec; end # Adds an interval of time to the current object's time and returns that @@ -14113,23 +14222,23 @@ class ActiveSupport::TimeWithZone # now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00 # now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00 # - # source://activesupport/lib/active_support/time_with_zone.rb#299 + # source://activesupport//lib/active_support/time_with_zone.rb#307 def since(other); end # Replaces %Z directive with +zone before passing to Time#strftime, # so that zone information is correct. # - # source://activesupport/lib/active_support/time_with_zone.rb#226 + # source://activesupport//lib/active_support/time_with_zone.rb#226 def strftime(format); end # Returns a Time instance that represents the time in +time_zone+. # - # source://activesupport/lib/active_support/time_with_zone.rb#58 + # source://activesupport//lib/active_support/time_with_zone.rb#58 def time; end # Returns the value of attribute time_zone. # - # source://activesupport/lib/active_support/time_with_zone.rb#49 + # source://activesupport//lib/active_support/time_with_zone.rb#49 def time_zone; end # Returns Array of parts of Time in sequence of @@ -14138,10 +14247,10 @@ class ActiveSupport::TimeWithZone # now = Time.zone.now # => Tue, 18 Aug 2015 02:29:27.485278555 UTC +00:00 # now.to_a # => [27, 29, 2, 18, 8, 2015, 2, 230, false, "UTC"] # - # source://activesupport/lib/active_support/time_with_zone.rb#445 + # source://activesupport//lib/active_support/time_with_zone.rb#445 def to_a; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def to_date; end # Returns an instance of DateTime with the timezone's UTC offset @@ -14149,7 +14258,7 @@ class ActiveSupport::TimeWithZone # Time.zone.now.to_datetime # => Tue, 18 Aug 2015 02:32:20 +0000 # Time.current.in_time_zone('Hawaii').to_datetime # => Mon, 17 Aug 2015 16:32:20 -1000 # - # source://activesupport/lib/active_support/time_with_zone.rb#478 + # source://activesupport//lib/active_support/time_with_zone.rb#478 def to_datetime; end # Returns the object's date and time as a floating-point number of seconds @@ -14157,7 +14266,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_f # => 1417709320.285418 # - # source://activesupport/lib/active_support/time_with_zone.rb#453 + # source://activesupport//lib/active_support/time_with_zone.rb#453 def to_f; end # Returns a string of the object's date and time. @@ -14169,7 +14278,7 @@ class ActiveSupport::TimeWithZone # * :db - format outputs time in UTC :db time. See Time#to_fs(:db). # * Any key in +Time::DATE_FORMATS+ can be used. See active_support/core_ext/time/conversions.rb. # - # source://activesupport/lib/active_support/time_with_zone.rb#212 + # source://activesupport//lib/active_support/time_with_zone.rb#222 def to_formatted_s(format = T.unsafe(nil)); end # Returns a string of the object's date and time. @@ -14181,7 +14290,7 @@ class ActiveSupport::TimeWithZone # * :db - format outputs time in UTC :db time. See Time#to_fs(:db). # * Any key in +Time::DATE_FORMATS+ can be used. See active_support/core_ext/time/conversions.rb. # - # source://activesupport/lib/active_support/time_with_zone.rb#212 + # source://activesupport//lib/active_support/time_with_zone.rb#212 def to_fs(format = T.unsafe(nil)); end # Returns the object's date and time as an integer number of seconds @@ -14189,7 +14298,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_i # => 1417709320 # - # source://activesupport/lib/active_support/time_with_zone.rb#461 + # source://activesupport//lib/active_support/time_with_zone.rb#461 def to_i; end # Returns the object's date and time as a rational number of seconds @@ -14197,19 +14306,19 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_r # => (708854548642709/500000) # - # source://activesupport/lib/active_support/time_with_zone.rb#470 + # source://activesupport//lib/active_support/time_with_zone.rb#470 def to_r; end # Returns a string of the object's date and time. # - # source://activesupport/lib/active_support/time_with_zone.rb#200 + # source://activesupport//lib/active_support/time_with_zone.rb#200 def to_s; end # Returns an instance of +Time+, either with the same UTC offset # as +self+ or in the local system timezone depending on the setting # of +ActiveSupport.to_time_preserves_timezone+. # - # source://activesupport/lib/active_support/time_with_zone.rb#485 + # source://activesupport//lib/active_support/time_with_zone.rb#485 def to_time; end # Returns true if the current object's time falls within @@ -14217,7 +14326,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#251 + # source://activesupport//lib/active_support/time_with_zone.rb#251 def today?; end # Returns true if the current object's time falls within @@ -14225,7 +14334,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#257 + # source://activesupport//lib/active_support/time_with_zone.rb#257 def tomorrow?; end # Returns the object's date and time as an integer number of seconds @@ -14233,15 +14342,15 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_i # => 1417709320 # - # source://activesupport/lib/active_support/time_with_zone.rb#461 + # source://activesupport//lib/active_support/time_with_zone.rb#464 def tv_sec; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def usec; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport/lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#63 def utc; end # Returns true if the current time zone is set to UTC. @@ -14253,15 +14362,15 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#105 + # source://activesupport//lib/active_support/time_with_zone.rb#105 def utc?; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport/lib/active_support/time_with_zone.rb#111 + # source://activesupport//lib/active_support/time_with_zone.rb#111 def utc_offset; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def wday; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -14269,13 +14378,13 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport/lib/active_support/time_with_zone.rb#148 + # source://activesupport//lib/active_support/time_with_zone.rb#148 def xmlschema(fraction_digits = T.unsafe(nil)); end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def yday; end - # source://activesupport/lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def year; end # Returns true if the current object's time falls within @@ -14283,7 +14392,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#264 + # source://activesupport//lib/active_support/time_with_zone.rb#264 def yesterday?; end # Returns the time zone abbreviation. @@ -14291,20 +14400,20 @@ class ActiveSupport::TimeWithZone # Time.zone = 'Eastern Time (US & Canada)' # => "Eastern Time (US & Canada)" # Time.zone.now.zone # => "EST" # - # source://activesupport/lib/active_support/time_with_zone.rb#133 + # source://activesupport//lib/active_support/time_with_zone.rb#133 def zone; end private # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#576 + # source://activesupport//lib/active_support/time_with_zone.rb#576 def duration_of_variable_length?(obj); end - # source://activesupport/lib/active_support/time_with_zone.rb#557 + # source://activesupport//lib/active_support/time_with_zone.rb#557 def get_period_and_ensure_valid_local_time(period); end - # source://activesupport/lib/active_support/time_with_zone.rb#549 + # source://activesupport//lib/active_support/time_with_zone.rb#549 def incorporate_utc_offset(time, offset); end # Ensure proxy class responds to all methods that underlying time instance @@ -14312,20 +14421,20 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport/lib/active_support/time_with_zone.rb#533 + # source://activesupport//lib/active_support/time_with_zone.rb#533 def respond_to_missing?(sym, include_priv); end - # source://activesupport/lib/active_support/time_with_zone.rb#570 + # source://activesupport//lib/active_support/time_with_zone.rb#570 def transfer_time_values_to_utc_constructor(time); end - # source://activesupport/lib/active_support/time_with_zone.rb#580 + # source://activesupport//lib/active_support/time_with_zone.rb#580 def wrap_with_time_zone(time); end end -# source://activesupport/lib/active_support/time_with_zone.rb#45 +# source://activesupport//lib/active_support/time_with_zone.rb#45 ActiveSupport::TimeWithZone::PRECISIONS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/time_with_zone.rb#547 +# source://activesupport//lib/active_support/time_with_zone.rb#547 ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer) # = Active Support \Time Zone @@ -14353,7 +14462,7 @@ ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer) # Time.zone.name # => "Eastern Time (US & Canada)" # Time.zone.now # => Sun, 18 May 2008 14:30:44 EDT -04:00 # -# source://activesupport/lib/active_support/values/time_zone.rb#31 +# source://activesupport//lib/active_support/values/time_zone.rb#31 class ActiveSupport::TimeZone include ::Comparable @@ -14361,19 +14470,19 @@ class ActiveSupport::TimeZone # # @return [TimeZone] a new instance of TimeZone # - # source://activesupport/lib/active_support/values/time_zone.rb#311 + # source://activesupport//lib/active_support/values/time_zone.rb#311 def initialize(name, utc_offset = T.unsafe(nil), tzinfo = T.unsafe(nil)); end # Compare this time zone to the parameter. The two are compared first on # their offsets, and then by name. # - # source://activesupport/lib/active_support/values/time_zone.rb#335 + # source://activesupport//lib/active_support/values/time_zone.rb#335 def <=>(zone); end # Compare #name and TZInfo identifier to a supplied regexp, returning +true+ # if a match is found. # - # source://activesupport/lib/active_support/values/time_zone.rb#344 + # source://activesupport//lib/active_support/values/time_zone.rb#344 def =~(re); end # Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -14388,10 +14497,10 @@ class ActiveSupport::TimeZone # Time.zone = 'Hawaii' # => "Hawaii" # Time.at(946684800, 123456.789).nsec # => 123456789 # - # source://activesupport/lib/active_support/values/time_zone.rb#381 + # source://activesupport//lib/active_support/values/time_zone.rb#381 def at(*args); end - # source://activesupport/lib/active_support/values/time_zone.rb#577 + # source://activesupport//lib/active_support/values/time_zone.rb#577 def encode_with(coder); end # Returns a formatted string of the offset from UTC, or an alternative @@ -14401,10 +14510,10 @@ class ActiveSupport::TimeZone # zone.formatted_offset # => "-06:00" # zone.formatted_offset(false) # => "-0600" # - # source://activesupport/lib/active_support/values/time_zone.rb#329 + # source://activesupport//lib/active_support/values/time_zone.rb#329 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end - # source://activesupport/lib/active_support/values/time_zone.rb#573 + # source://activesupport//lib/active_support/values/time_zone.rb#573 def init_with(coder); end # Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -14421,7 +14530,7 @@ class ActiveSupport::TimeZone # If the string is invalid then an +ArgumentError+ will be raised unlike +parse+ # which usually returns +nil+ when given an invalid date string. # - # source://activesupport/lib/active_support/values/time_zone.rb#398 + # source://activesupport//lib/active_support/values/time_zone.rb#398 def iso8601(str); end # Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -14430,13 +14539,13 @@ class ActiveSupport::TimeZone # Time.zone = 'Hawaii' # => "Hawaii" # Time.zone.local(2007, 2, 1, 15, 30, 45) # => Thu, 01 Feb 2007 15:30:45 HST -10:00 # - # source://activesupport/lib/active_support/values/time_zone.rb#365 + # source://activesupport//lib/active_support/values/time_zone.rb#365 def local(*args); end # Adjust the given time to the simultaneous time in UTC. Returns a # Time.utc() instance. # - # source://activesupport/lib/active_support/values/time_zone.rb#553 + # source://activesupport//lib/active_support/values/time_zone.rb#553 def local_to_utc(time, dst = T.unsafe(nil)); end # Compare #name and TZInfo identifier to a supplied regexp, returning +true+ @@ -14444,12 +14553,12 @@ class ActiveSupport::TimeZone # # @return [Boolean] # - # source://activesupport/lib/active_support/values/time_zone.rb#350 + # source://activesupport//lib/active_support/values/time_zone.rb#350 def match?(re); end # Returns the value of attribute name. # - # source://activesupport/lib/active_support/values/time_zone.rb#298 + # source://activesupport//lib/active_support/values/time_zone.rb#298 def name; end # Returns an ActiveSupport::TimeWithZone instance representing the current @@ -14458,7 +14567,7 @@ class ActiveSupport::TimeZone # Time.zone = 'Hawaii' # => "Hawaii" # Time.zone.now # => Wed, 23 Jan 2008 20:24:27 HST -10:00 # - # source://activesupport/lib/active_support/values/time_zone.rb#518 + # source://activesupport//lib/active_support/values/time_zone.rb#518 def now; end # Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -14480,22 +14589,22 @@ class ActiveSupport::TimeZone # # If the string is invalid then an +ArgumentError+ could be raised. # - # source://activesupport/lib/active_support/values/time_zone.rb#455 + # source://activesupport//lib/active_support/values/time_zone.rb#455 def parse(str, now = T.unsafe(nil)); end # Available so that TimeZone instances respond like +TZInfo::Timezone+ # instances. # - # source://activesupport/lib/active_support/values/time_zone.rb#565 + # source://activesupport//lib/active_support/values/time_zone.rb#565 def period_for_local(time, dst = T.unsafe(nil)); end # Available so that TimeZone instances respond like +TZInfo::Timezone+ # instances. # - # source://activesupport/lib/active_support/values/time_zone.rb#559 + # source://activesupport//lib/active_support/values/time_zone.rb#559 def period_for_utc(time); end - # source://activesupport/lib/active_support/values/time_zone.rb#569 + # source://activesupport//lib/active_support/values/time_zone.rb#569 def periods_for_local(time); end # Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -14513,7 +14622,7 @@ class ActiveSupport::TimeZone # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/values/time_zone.rb#471 + # source://activesupport//lib/active_support/values/time_zone.rb#471 def rfc3339(str); end # Parses +str+ according to +format+ and returns an ActiveSupport::TimeWithZone. @@ -14537,32 +14646,32 @@ class ActiveSupport::TimeZone # # Time.zone.strptime('Mar 2000', '%b %Y') # => Wed, 01 Mar 2000 00:00:00 HST -10:00 # - # source://activesupport/lib/active_support/values/time_zone.rb#509 + # source://activesupport//lib/active_support/values/time_zone.rb#509 def strptime(str, format, now = T.unsafe(nil)); end # Returns a textual representation of this time zone. # - # source://activesupport/lib/active_support/values/time_zone.rb#356 + # source://activesupport//lib/active_support/values/time_zone.rb#356 def to_s; end # Returns the current date in this time zone. # - # source://activesupport/lib/active_support/values/time_zone.rb#523 + # source://activesupport//lib/active_support/values/time_zone.rb#523 def today; end # Returns the next date in this time zone. # - # source://activesupport/lib/active_support/values/time_zone.rb#528 + # source://activesupport//lib/active_support/values/time_zone.rb#528 def tomorrow; end # Returns the value of attribute tzinfo. # - # source://activesupport/lib/active_support/values/time_zone.rb#299 + # source://activesupport//lib/active_support/values/time_zone.rb#299 def tzinfo; end # Returns the offset of this time zone from UTC in seconds. # - # source://activesupport/lib/active_support/values/time_zone.rb#319 + # source://activesupport//lib/active_support/values/time_zone.rb#319 def utc_offset; end # Adjust the given time to the simultaneous time in the time zone @@ -14573,22 +14682,22 @@ class ActiveSupport::TimeZone # As of tzinfo 2, utc_to_local returns a Time with a non-zero utc_offset. # See the +utc_to_local_returns_utc_offset_times+ config for more info. # - # source://activesupport/lib/active_support/values/time_zone.rb#544 + # source://activesupport//lib/active_support/values/time_zone.rb#544 def utc_to_local(time); end # Returns the previous date in this time zone. # - # source://activesupport/lib/active_support/values/time_zone.rb#533 + # source://activesupport//lib/active_support/values/time_zone.rb#533 def yesterday; end private # @raise [ArgumentError] # - # source://activesupport/lib/active_support/values/time_zone.rb#583 + # source://activesupport//lib/active_support/values/time_zone.rb#583 def parts_to_time(parts, now); end - # source://activesupport/lib/active_support/values/time_zone.rb#608 + # source://activesupport//lib/active_support/values/time_zone.rb#608 def time_now; end class << self @@ -14598,36 +14707,38 @@ class ActiveSupport::TimeZone # timezone to find. (The first one with that offset will be returned.) # Returns +nil+ if no such time zone is known to the system. # - # source://activesupport/lib/active_support/values/time_zone.rb#234 + # source://activesupport//lib/active_support/values/time_zone.rb#234 def [](arg); end # Returns an array of all TimeZone objects. There are multiple # TimeZone objects per time zone, in many cases, to make it easier # for users to find their own time zone. # - # source://activesupport/lib/active_support/values/time_zone.rb#225 + # source://activesupport//lib/active_support/values/time_zone.rb#225 def all; end - # source://activesupport/lib/active_support/values/time_zone.rb#267 + # source://activesupport//lib/active_support/values/time_zone.rb#267 def clear; end # A convenience method for returning a collection of TimeZone objects # for time zones in the country specified by its ISO 3166-1 Alpha2 code. # - # source://activesupport/lib/active_support/values/time_zone.rb#262 + # source://activesupport//lib/active_support/values/time_zone.rb#262 def country_zones(country_code); end # :stopdoc: + # + # source://activesupport//lib/active_support/values/time_zone.rb#212 def create(*_arg0); end - # source://activesupport/lib/active_support/values/time_zone.rb#207 + # source://activesupport//lib/active_support/values/time_zone.rb#207 def find_tzinfo(name); end # Returns a TimeZone instance with the given name, or +nil+ if no # such TimeZone instance exists. (This exists to support the use of # this class with the +composed_of+ macro.) # - # source://activesupport/lib/active_support/values/time_zone.rb#218 + # source://activesupport//lib/active_support/values/time_zone.rb#218 def new(name); end # Assumes self represents an offset from UTC in seconds (as returned from @@ -14635,138 +14746,138 @@ class ActiveSupport::TimeZone # # ActiveSupport::TimeZone.seconds_to_utc_offset(-21_600) # => "-06:00" # - # source://activesupport/lib/active_support/values/time_zone.rb#199 + # source://activesupport//lib/active_support/values/time_zone.rb#199 def seconds_to_utc_offset(seconds, colon = T.unsafe(nil)); end # A convenience method for returning a collection of TimeZone objects # for time zones in the USA. # - # source://activesupport/lib/active_support/values/time_zone.rb#256 + # source://activesupport//lib/active_support/values/time_zone.rb#256 def us_zones; end private - # source://activesupport/lib/active_support/values/time_zone.rb#275 + # source://activesupport//lib/active_support/values/time_zone.rb#275 def load_country_zones(code); end - # source://activesupport/lib/active_support/values/time_zone.rb#289 + # source://activesupport//lib/active_support/values/time_zone.rb#289 def zones_map; end end end # Keys are \Rails TimeZone names, values are TZInfo identifiers. # -# source://activesupport/lib/active_support/values/time_zone.rb#33 +# source://activesupport//lib/active_support/values/time_zone.rb#33 ActiveSupport::TimeZone::MAPPING = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/values/time_zone.rb#188 +# source://activesupport//lib/active_support/values/time_zone.rb#188 ActiveSupport::TimeZone::UTC_OFFSET_WITHOUT_COLON = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/values/time_zone.rb#187 +# source://activesupport//lib/active_support/values/time_zone.rb#187 ActiveSupport::TimeZone::UTC_OFFSET_WITH_COLON = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/object/json.rb#35 +# source://activesupport//lib/active_support/core_ext/object/json.rb#35 module ActiveSupport::ToJsonWithActiveSupportEncoder - # source://activesupport/lib/active_support/core_ext/object/json.rb#36 + # source://activesupport//lib/active_support/core_ext/object/json.rb#36 def to_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/object/try.rb#6 +# source://activesupport//lib/active_support/core_ext/object/try.rb#6 module ActiveSupport::Tryable - # source://activesupport/lib/active_support/core_ext/object/try.rb#7 + # source://activesupport//lib/active_support/core_ext/object/try.rb#7 def try(*args, **_arg1, &block); end - # source://activesupport/lib/active_support/core_ext/object/try.rb#20 + # source://activesupport//lib/active_support/core_ext/object/try.rb#20 def try!(*args, **_arg1, &block); end end -# source://activesupport/lib/active_support/gem_version.rb#9 +# source://activesupport//lib/active_support/gem_version.rb#9 module ActiveSupport::VERSION; end -# source://activesupport/lib/active_support/gem_version.rb#10 +# source://activesupport//lib/active_support/gem_version.rb#10 ActiveSupport::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/gem_version.rb#11 +# source://activesupport//lib/active_support/gem_version.rb#11 ActiveSupport::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/gem_version.rb#13 +# source://activesupport//lib/active_support/gem_version.rb#13 ActiveSupport::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/gem_version.rb#15 +# source://activesupport//lib/active_support/gem_version.rb#15 ActiveSupport::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/gem_version.rb#12 +# source://activesupport//lib/active_support/gem_version.rb#12 ActiveSupport::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/hash/conversions.rb#140 +# source://activesupport//lib/active_support/core_ext/hash/conversions.rb#140 class ActiveSupport::XMLConverter # @return [XMLConverter] a new instance of XMLConverter # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#151 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#151 def initialize(xml, disallowed_types = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#156 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#156 def to_h; end private # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#222 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#222 def become_array?(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#218 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#218 def become_content?(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#226 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#226 def become_empty_string?(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#232 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#232 def become_hash?(value); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#172 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#172 def deep_to_h(value); end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#241 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#241 def garbage?(value); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#161 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#161 def normalize_keys(params); end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#236 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#236 def nothing?(value); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#257 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#257 def process_array(value); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#248 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#248 def process_content(value); end - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#185 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#185 def process_hash(value); end end -# source://activesupport/lib/active_support/core_ext/hash/conversions.rb#149 +# source://activesupport//lib/active_support/core_ext/hash/conversions.rb#149 ActiveSupport::XMLConverter::DISALLOWED_TYPES = T.let(T.unsafe(nil), Array) # Raised if the XML contains attributes with type="yaml" or # type="symbol". Read Hash#from_xml for more details. # -# source://activesupport/lib/active_support/core_ext/hash/conversions.rb#143 +# source://activesupport//lib/active_support/core_ext/hash/conversions.rb#143 class ActiveSupport::XMLConverter::DisallowedType < ::StandardError # @return [DisallowedType] a new instance of DisallowedType # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#144 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#144 def initialize(type); end end @@ -14776,94 +14887,94 @@ end # gem 'libxml-ruby' # XmlMini.backend = 'LibXML' # -# source://activesupport/lib/active_support/xml_mini.rb#17 +# source://activesupport//lib/active_support/xml_mini.rb#17 module ActiveSupport::XmlMini extend ::ActiveSupport::XmlMini - # source://activesupport/lib/active_support/xml_mini.rb#97 + # source://activesupport//lib/active_support/xml_mini.rb#97 def backend; end - # source://activesupport/lib/active_support/xml_mini.rb#101 + # source://activesupport//lib/active_support/xml_mini.rb#101 def backend=(name); end # Returns the value of attribute depth. # - # source://activesupport/lib/active_support/xml_mini.rb#92 + # source://activesupport//lib/active_support/xml_mini.rb#92 def depth; end # Sets the attribute depth # # @param value the value to set the attribute depth to. # - # source://activesupport/lib/active_support/xml_mini.rb#92 + # source://activesupport//lib/active_support/xml_mini.rb#92 def depth=(_arg0); end - # source://activesupport/lib/active_support/xml_mini.rb#95 + # source://activesupport//lib/active_support/xml_mini.rb#95 def parse(*_arg0, **_arg1, &_arg2); end - # source://activesupport/lib/active_support/xml_mini.rb#148 + # source://activesupport//lib/active_support/xml_mini.rb#148 def rename_key(key, options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/xml_mini.rb#115 + # source://activesupport//lib/active_support/xml_mini.rb#115 def to_tag(key, value, options); end - # source://activesupport/lib/active_support/xml_mini.rb#107 + # source://activesupport//lib/active_support/xml_mini.rb#107 def with_backend(name); end private - # source://activesupport/lib/active_support/xml_mini.rb#159 + # source://activesupport//lib/active_support/xml_mini.rb#159 def _dasherize(key); end # TODO: Add support for other encodings # - # source://activesupport/lib/active_support/xml_mini.rb#166 + # source://activesupport//lib/active_support/xml_mini.rb#166 def _parse_binary(bin, entity); end - # source://activesupport/lib/active_support/xml_mini.rb#175 + # source://activesupport//lib/active_support/xml_mini.rb#175 def _parse_file(file, entity); end - # source://activesupport/lib/active_support/xml_mini.rb#191 + # source://activesupport//lib/active_support/xml_mini.rb#191 def cast_backend_name_to_module(name); end - # source://activesupport/lib/active_support/xml_mini.rb#183 + # source://activesupport//lib/active_support/xml_mini.rb#183 def current_thread_backend; end - # source://activesupport/lib/active_support/xml_mini.rb#187 + # source://activesupport//lib/active_support/xml_mini.rb#187 def current_thread_backend=(name); end end -# source://activesupport/lib/active_support/xml_mini.rb#34 +# source://activesupport//lib/active_support/xml_mini.rb#34 ActiveSupport::XmlMini::DEFAULT_ENCODINGS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/xml_mini.rb#55 +# source://activesupport//lib/active_support/xml_mini.rb#55 ActiveSupport::XmlMini::FORMATTING = T.let(T.unsafe(nil), Hash) # This module decorates files deserialized using Hash.from_xml with # the original_filename and content_type methods. # -# source://activesupport/lib/active_support/xml_mini.rb#22 +# source://activesupport//lib/active_support/xml_mini.rb#22 module ActiveSupport::XmlMini::FileLike - # source://activesupport/lib/active_support/xml_mini.rb#29 + # source://activesupport//lib/active_support/xml_mini.rb#29 def content_type; end - # source://activesupport/lib/active_support/xml_mini.rb#23 + # source://activesupport//lib/active_support/xml_mini.rb#23 def content_type=(_arg0); end - # source://activesupport/lib/active_support/xml_mini.rb#25 + # source://activesupport//lib/active_support/xml_mini.rb#25 def original_filename; end - # source://activesupport/lib/active_support/xml_mini.rb#23 + # source://activesupport//lib/active_support/xml_mini.rb#23 def original_filename=(_arg0); end end -# source://activesupport/lib/active_support/xml_mini.rb#65 +# source://activesupport//lib/active_support/xml_mini.rb#65 ActiveSupport::XmlMini::PARSING = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/xml_mini.rb#39 +# source://activesupport//lib/active_support/xml_mini.rb#39 ActiveSupport::XmlMini::TYPE_NAMES = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/xml_mini/rexml.rb#8 +# source://activesupport//lib/active_support/xml_mini/rexml.rb#8 module ActiveSupport::XmlMini_REXML extend ::ActiveSupport::XmlMini_REXML @@ -14875,7 +14986,7 @@ module ActiveSupport::XmlMini_REXML # data:: # XML Document string or IO to parse # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#20 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#20 def parse(data); end private @@ -14885,7 +14996,7 @@ module ActiveSupport::XmlMini_REXML # element:: # The document element to be collapsed. # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#63 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#63 def collapse(element, depth); end # Determines if a document element has text content @@ -14895,7 +15006,7 @@ module ActiveSupport::XmlMini_REXML # # @return [Boolean] # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#133 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#133 def empty_content?(element); end # Converts the attributes array of an XML element into a hash. @@ -14904,7 +15015,7 @@ module ActiveSupport::XmlMini_REXML # element:: # XML element to extract attributes from. # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#123 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#123 def get_attributes(element); end # Adds a new key/value pair to an existing Hash. If the key to be added @@ -14919,7 +15030,7 @@ module ActiveSupport::XmlMini_REXML # value:: # Value to be associated with key. # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#103 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#103 def merge!(hash, key, value); end # Convert an XML element and merge into the hash @@ -14931,7 +15042,7 @@ module ActiveSupport::XmlMini_REXML # # @raise [REXML::ParseException] # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#54 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#54 def merge_element!(hash, element, depth); end # Merge all the texts of an element into the hash @@ -14941,23 +15052,33 @@ module ActiveSupport::XmlMini_REXML # element:: # XML element whose texts are to me merged into the hash # - # source://activesupport/lib/active_support/xml_mini/rexml.rb#81 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#81 def merge_texts!(hash, element); end - # source://activesupport/lib/active_support/xml_mini/rexml.rb#41 + # source://activesupport//lib/active_support/xml_mini/rexml.rb#41 def require_rexml; end end -# source://activesupport/lib/active_support/xml_mini/rexml.rb#11 +# source://activesupport//lib/active_support/xml_mini/rexml.rb#11 ActiveSupport::XmlMini_REXML::CONTENT_KEY = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/array/extract_options.rb#14 +# source://activesupport//lib/active_support/core_ext/array/extract_options.rb#14 class Array include ::Enumerable - # source://activesupport/lib/active_support/core_ext/object/json.rb#166 + # source://activesupport//lib/active_support/core_ext/object/json.rb#166 def as_json(options = T.unsafe(nil)); end + # An array is blank if it's empty: + # + # [].blank? # => true + # [1,2,3].blank? # => false + # + # @return [true, false] + # + # source://activesupport//lib/active_support/core_ext/object/blank.rb#90 + def blank?; end + # Removes all blank elements from the +Array+ in place and returns self. # Uses Object#blank? for determining if an item is blank. # @@ -14965,7 +15086,7 @@ class Array # a.compact_blank! # # => [1, 2, true] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#258 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#258 def compact_blank!; end # Returns a deep copy of array. @@ -14977,7 +15098,7 @@ class Array # array[1][2] # => nil # dup[1][2] # => 4 # - # source://activesupport/lib/active_support/core_ext/object/deep_dup.rb#29 + # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#29 def deep_dup; end # Returns a copy of the Array excluding the specified elements. @@ -14988,7 +15109,7 @@ class Array # Note: This is an optimization of Enumerable#excluding that uses Array#- # instead of Array#reject for performance reasons. # - # source://activesupport/lib/active_support/core_ext/array/access.rb#47 + # source://activesupport//lib/active_support/core_ext/array/access.rb#47 def excluding(*elements); end # Removes and returns the elements for which the block returns a true value. @@ -14998,7 +15119,7 @@ class Array # odd_numbers = numbers.extract! { |number| number.odd? } # => [1, 3, 5, 7, 9] # numbers # => [0, 2, 4, 6, 8] # - # source://activesupport/lib/active_support/core_ext/array/extract.rb#10 + # source://activesupport//lib/active_support/core_ext/array/extract.rb#10 def extract!; end # Extracts options from a set of arguments. Removes and returns the last @@ -15011,28 +15132,28 @@ class Array # options(1, 2) # => {} # options(1, 2, a: :b) # => {:a=>:b} # - # source://activesupport/lib/active_support/core_ext/array/extract_options.rb#24 + # source://activesupport//lib/active_support/core_ext/array/extract_options.rb#24 def extract_options!; end # Equal to self[4]. # # %w( a b c d e ).fifth # => "e" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#76 + # source://activesupport//lib/active_support/core_ext/array/access.rb#76 def fifth; end # Equal to self[41]. Also known as accessing "the reddit". # # (1..42).to_a.forty_two # => 42 # - # source://activesupport/lib/active_support/core_ext/array/access.rb#83 + # source://activesupport//lib/active_support/core_ext/array/access.rb#83 def forty_two; end # Equal to self[3]. # # %w( a b c d e ).fourth # => "d" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#69 + # source://activesupport//lib/active_support/core_ext/array/access.rb#69 def fourth; end # Returns the tail of the array from +position+. @@ -15044,7 +15165,7 @@ class Array # %w( a b c d ).from(-2) # => ["c", "d"] # %w( a b c ).from(-10) # => [] # - # source://activesupport/lib/active_support/core_ext/array/access.rb#12 + # source://activesupport//lib/active_support/core_ext/array/access.rb#12 def from(position); end # Splits or iterates over the array in +number+ of groups, padding any @@ -15065,7 +15186,7 @@ class Array # ["4", "5"] # ["6", "7"] # - # source://activesupport/lib/active_support/core_ext/array/grouping.rb#62 + # source://activesupport//lib/active_support/core_ext/array/grouping.rb#62 def in_groups(number, fill_with = T.unsafe(nil), &block); end # Splits or iterates over the array in groups of size +number+, @@ -15087,7 +15208,7 @@ class Array # ["3", "4"] # ["5"] # - # source://activesupport/lib/active_support/core_ext/array/grouping.rb#22 + # source://activesupport//lib/active_support/core_ext/array/grouping.rb#22 def in_groups_of(number, fill_with = T.unsafe(nil), &block); end # Returns a new array that includes the passed elements. @@ -15095,7 +15216,7 @@ class Array # [ 1, 2, 3 ].including(4, 5) # => [ 1, 2, 3, 4, 5 ] # [ [ 0, 1 ] ].including([ [ 1, 0 ] ]) # => [ [ 0, 1 ], [ 1, 0 ] ] # - # source://activesupport/lib/active_support/core_ext/array/access.rb#36 + # source://activesupport//lib/active_support/core_ext/array/access.rb#36 def including(*elements); end # Wraps the array in an ActiveSupport::ArrayInquirer object, which gives a @@ -15109,21 +15230,21 @@ class Array # pets.any?(:cat, :ferret) # => true # pets.any?(:ferret, :alligator) # => false # - # source://activesupport/lib/active_support/core_ext/array/inquiry.rb#16 + # source://activesupport//lib/active_support/core_ext/array/inquiry.rb#16 def inquiry; end # Equal to self[1]. # # %w( a b c d e ).second # => "b" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#55 + # source://activesupport//lib/active_support/core_ext/array/access.rb#55 def second; end # Equal to self[-2]. # # %w( a b c d e ).second_to_last # => "d" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#97 + # source://activesupport//lib/active_support/core_ext/array/access.rb#97 def second_to_last; end # Divides the array into one or more subarrays based on a delimiting +value+ @@ -15132,21 +15253,21 @@ class Array # [1, 2, 3, 4, 5].split(3) # => [[1, 2], [4, 5]] # (1..10).to_a.split { |i| i % 3 == 0 } # => [[1, 2], [4, 5], [7, 8], [10]] # - # source://activesupport/lib/active_support/core_ext/array/grouping.rb#93 + # source://activesupport//lib/active_support/core_ext/array/grouping.rb#93 def split(value = T.unsafe(nil), &block); end # Equal to self[2]. # # %w( a b c d e ).third # => "c" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#62 + # source://activesupport//lib/active_support/core_ext/array/access.rb#62 def third; end # Equal to self[-3]. # # %w( a b c d e ).third_to_last # => "c" # - # source://activesupport/lib/active_support/core_ext/array/access.rb#90 + # source://activesupport//lib/active_support/core_ext/array/access.rb#90 def third_to_last; end # Returns the beginning of the array up to +position+. @@ -15158,10 +15279,10 @@ class Array # %w( a b c d ).to(-2) # => ["a", "b", "c"] # %w( a b c ).to(-10) # => [] # - # source://activesupport/lib/active_support/core_ext/array/access.rb#24 + # source://activesupport//lib/active_support/core_ext/array/access.rb#24 def to(position); end - # source://activesupport/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#107 def to_default_s(*args, **_arg1, &block); end # Extends Array#to_s to convert a collection of elements into a @@ -15173,7 +15294,7 @@ class Array # Blog.none.to_fs(:db) # => "null" # [1,2].to_fs # => "[1, 2]" # - # source://activesupport/lib/active_support/core_ext/array/conversions.rb#94 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#106 def to_formatted_s(format = T.unsafe(nil)); end # Extends Array#to_s to convert a collection of elements into a @@ -15185,13 +15306,13 @@ class Array # Blog.none.to_fs(:db) # => "null" # [1,2].to_fs # => "[1, 2]" # - # source://activesupport/lib/active_support/core_ext/array/conversions.rb#94 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#94 def to_fs(format = T.unsafe(nil)); end # Calls to_param on all its elements and joins the result with # slashes. This is used by url_for in Action Pack. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#42 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#42 def to_param; end # Converts an array into a string suitable for use as a URL query string, @@ -15199,7 +15320,7 @@ class Array # # ['Rails', 'coding'].to_query('hobbies') # => "hobbies%5B%5D=Rails&hobbies%5B%5D=coding" # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#50 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#50 def to_query(key); end # Converts the array to a comma-separated sentence where the last element is @@ -15254,7 +15375,7 @@ class Array # ['uno', 'dos', 'tres'].to_sentence(locale: :es) # # => "uno o dos o al menos tres" # - # source://activesupport/lib/active_support/core_ext/array/conversions.rb#60 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#60 def to_sentence(options = T.unsafe(nil)); end # Returns a string that represents the array in XML by invoking +to_xml+ @@ -15332,7 +15453,7 @@ class Array # # # - # source://activesupport/lib/active_support/core_ext/array/conversions.rb#185 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#185 def to_xml(options = T.unsafe(nil)); end # Returns a copy of the Array excluding the specified elements. @@ -15343,7 +15464,7 @@ class Array # Note: This is an optimization of Enumerable#excluding that uses Array#- # instead of Array#reject for performance reasons. # - # source://activesupport/lib/active_support/core_ext/array/access.rb#47 + # source://activesupport//lib/active_support/core_ext/array/access.rb#50 def without(*elements); end class << self @@ -15383,12 +15504,12 @@ class Array # The differences with Kernel#Array explained above # apply to the rest of objects. # - # source://activesupport/lib/active_support/core_ext/array/wrap.rb#39 + # source://activesupport//lib/active_support/core_ext/array/wrap.rb#39 def wrap(object); end end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#126 +# source://activesupport//lib/active_support/core_ext/object/json.rb#126 class BigDecimal < ::Numeric include ::ActiveSupport::BigDecimalWithDefaultFormat include ::ActiveSupport::NumericWithFormat @@ -15403,14 +15524,14 @@ class BigDecimal < ::Numeric # BigDecimal, it still has the chance to post-process the string and get the # real value. # - # source://activesupport/lib/active_support/core_ext/object/json.rb#136 + # source://activesupport//lib/active_support/core_ext/object/json.rb#136 def as_json(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/big_decimal/conversions.rb#8 + # source://activesupport//lib/active_support/core_ext/big_decimal/conversions.rb#8 def to_s(format = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/class/attribute.rb#5 +# source://activesupport//lib/active_support/core_ext/class/attribute.rb#5 class Class < ::Module include ::ActiveSupport::DescendantsTracker::ReloadedClassesFiltering @@ -15494,7 +15615,7 @@ class Class < ::Module # # class_attribute :settings, default: {} # - # source://activesupport/lib/active_support/core_ext/class/attribute.rb#85 + # source://activesupport//lib/active_support/core_ext/class/attribute.rb#85 def class_attribute(*attrs, instance_accessor: T.unsafe(nil), instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_predicate: T.unsafe(nil), default: T.unsafe(nil)); end # Returns an array with all classes that are < than its receiver. @@ -15511,7 +15632,7 @@ class Class < ::Module # class D < C; end # C.descendants # => [B, A, D] # - # source://activesupport/lib/active_support/descendants_tracker.rb#64 + # source://activesupport//lib/active_support/core_ext/class/subclasses.rb#21 def descendants; end # Returns an array with the direct children of +self+. @@ -15522,38 +15643,38 @@ class Class < ::Module # # Foo.subclasses # => [Bar] # - # source://activesupport/lib/active_support/descendants_tracker.rb#60 + # source://activesupport//lib/active_support/descendants_tracker.rb#60 def subclasses; end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#69 +# source://activesupport//lib/active_support/core_ext/object/json.rb#69 class Data - # source://activesupport/lib/active_support/core_ext/object/json.rb#70 + # source://activesupport//lib/active_support/core_ext/object/json.rb#70 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/date/zones.rb#6 +# source://activesupport//lib/active_support/core_ext/date/zones.rb#6 class Date include ::Comparable include ::DateAndTime::Zones include ::DateAndTime::Calculations - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#90 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#98 def +(other); end - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#100 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#108 def -(other); end # Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#160 def <=>(other); end # Duck-types as a Date-like class. See Object#acts_like?. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date/acts_like.rb#7 + # source://activesupport//lib/active_support/core_ext/date/acts_like.rb#7 def acts_like_date?; end # Provides precise Date calculations for years, months, and days. The +options+ parameter takes a hash with @@ -15573,51 +15694,51 @@ class Date # Date.new(2004, 9, 30).advance(days: 1).advance(months: 1) # # => Mon, 01 Nov 2004 # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#127 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#127 def advance(options); end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # and then subtracts the specified number of seconds. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#55 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#55 def ago(seconds); end - # source://activesupport/lib/active_support/core_ext/object/json.rb#205 + # source://activesupport//lib/active_support/core_ext/object/json.rb#205 def as_json(options = T.unsafe(nil)); end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#72 def at_beginning_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#85 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#88 def at_end_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#80 def at_midday; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#82 def at_middle_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#71 def at_midnight; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#81 def at_noon; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#67 def beginning_of_day; end # No Date is blank: @@ -15626,7 +15747,7 @@ class Date # # @return [false] # - # source://activesupport/lib/active_support/core_ext/date/blank.rb#11 + # source://activesupport//lib/active_support/core_ext/date/blank.rb#11 def blank?; end # Returns a new Date where one or more of the elements have been changed according to the +options+ parameter. @@ -15635,68 +15756,80 @@ class Date # Date.new(2007, 5, 12).change(day: 1) # => Date.new(2007, 5, 1) # Date.new(2007, 5, 12).change(year: 2005, month: 1) # => Date.new(2005, 1, 12) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#143 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#143 def change(options); end # Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#152 def compare_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#159 + def compare_without_coercion(_arg0); end + + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#66 + def default_inspect; end + # Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#85 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#85 def end_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # and then adds the specified number of seconds # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#61 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#64 def in(seconds); end # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005" # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#63 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#67 def inspect; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#78 def midday; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 def middle_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#70 def midnight; end - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#100 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#100 def minus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#107 + def minus_without_duration(_arg0); end + # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#79 def noon; end - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#90 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#90 def plus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#97 + def plus_without_duration(_arg0); end + # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005" # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#63 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#63 def readable_inspect; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # and then adds the specified number of seconds # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#61 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#61 def since(seconds); end - # source://activesupport/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#59 def to_default_s(*args, **_arg1, &block); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -15724,7 +15857,7 @@ class Date # Date::DATE_FORMATS[:month_and_year] = '%B %Y' # Date::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#47 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#58 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -15752,7 +15885,7 @@ class Date # Date::DATE_FORMATS[:month_and_year] = '%B %Y' # Date::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#47 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#47 def to_fs(format = T.unsafe(nil)); end # Converts a Date instance to a Time, where the time is set to the beginning of the day. @@ -15770,7 +15903,7 @@ class Date # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#83 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#69 def to_time(form = T.unsafe(nil)); end # Returns a string which represents the time in used time zone as DateTime @@ -15779,7 +15912,7 @@ class Date # date = Date.new(2015, 05, 23) # => Sat, 23 May 2015 # date.xmlschema # => "2015-05-23T00:00:00+04:00" # - # source://activesupport/lib/active_support/core_ext/date/conversions.rb#95 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#88 def xmlschema; end class << self @@ -15787,7 +15920,7 @@ class Date # If Date.beginning_of_week has not been set for the current request, returns the week start specified in config.beginning_of_week. # If no +config.beginning_of_week+ was specified, returns +:monday+. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#19 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#19 def beginning_of_week; end # Sets Date.beginning_of_week to a week start (e.g. +:monday+) for current request/thread. @@ -15795,84 +15928,84 @@ class Date # This method accepts any of the following day symbols: # +:monday+, +:tuesday+, +:wednesday+, +:thursday+, +:friday+, +:saturday+, +:sunday+ # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#27 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#27 def beginning_of_week=(week_start); end # Returns the value of attribute beginning_of_week_default. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#14 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#14 def beginning_of_week_default; end # Sets the attribute beginning_of_week_default # # @param value the value to set the attribute beginning_of_week_default to. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#14 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#14 def beginning_of_week_default=(_arg0); end # Returns Time.zone.today when Time.zone or config.time_zone are set, otherwise just returns Date.today. # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#48 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#48 def current; end # Returns week start day symbol (e.g. +:monday+), or raises an +ArgumentError+ for invalid day symbol. # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#32 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#32 def find_beginning_of_week!(week_start); end # Returns a new Date representing the date 1 day after today (i.e. tomorrow's date). # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#43 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#43 def tomorrow; end # Returns a new Date representing the date 1 day ago (i.e. yesterday's date). # - # source://activesupport/lib/active_support/core_ext/date/calculations.rb#38 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#38 def yesterday; end end end -# source://activesupport/lib/active_support/core_ext/date/conversions.rb#9 +# source://activesupport//lib/active_support/core_ext/date/conversions.rb#9 Date::DATE_FORMATS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#5 +# source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#5 module DateAndTime; end -# source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#7 +# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#7 module DateAndTime::Calculations # Returns true if the date/time falls after date_or_time. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#72 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#72 def after?(date_or_time); end # Returns a Range representing the whole day of the current date/time. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#310 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#310 def all_day; end # Returns a Range representing the whole month of the current date/time. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#321 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#321 def all_month; end # Returns a Range representing the whole quarter of the current date/time. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#326 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#326 def all_quarter; end # Returns a Range representing the whole week of the current date/time. # Week starts on start_day, default is Date.beginning_of_week or config.beginning_of_week when set. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#316 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#316 def all_week(start_day = T.unsafe(nil)); end # Returns a Range representing the whole year of the current date/time. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#331 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#331 def all_year; end # Returns a new date/time at the start of the month. @@ -15885,7 +16018,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Thu, 18 Jun 2015 15:23:13 +0000 # now.beginning_of_month # => Mon, 01 Jun 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#125 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#128 def at_beginning_of_month; end # Returns a new date/time at the start of the quarter. @@ -15898,7 +16031,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_quarter # => Wed, 01 Jul 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#139 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#143 def at_beginning_of_quarter; end # Returns a new date/time representing the start of this week on the given day. @@ -15906,7 +16039,7 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # +DateTime+ objects have their time set to 0:00. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#267 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#271 def at_beginning_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time at the beginning of the year. @@ -15919,13 +16052,13 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_year # => Thu, 01 Jan 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#179 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#182 def at_beginning_of_year; end # Returns a new date/time representing the end of the month. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#296 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#300 def at_end_of_month; end # Returns a new date/time at the end of the quarter. @@ -15938,7 +16071,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.end_of_quarter # => Wed, 30 Sep 2015 23:59:59 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#154 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#158 def at_end_of_quarter; end # Returns a new date/time representing the end of this week on the given day. @@ -15946,20 +16079,20 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#283 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#286 def at_end_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time representing the end of the year. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#304 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#307 def at_end_of_year; end # Returns true if the date/time falls before date_or_time. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#67 def before?(date_or_time); end # Returns a new date/time at the start of the month. @@ -15972,7 +16105,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Thu, 18 Jun 2015 15:23:13 +0000 # now.beginning_of_month # => Mon, 01 Jun 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#125 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#125 def beginning_of_month; end # Returns a new date/time at the start of the quarter. @@ -15985,7 +16118,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_quarter # => Wed, 01 Jul 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#139 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#139 def beginning_of_quarter; end # Returns a new date/time representing the start of this week on the given day. @@ -15993,7 +16126,7 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # +DateTime+ objects have their time set to 0:00. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#267 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#267 def beginning_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time at the beginning of the year. @@ -16006,30 +16139,30 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_year # => Thu, 01 Jan 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#179 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#179 def beginning_of_year; end # Returns a new date/time the specified number of days ago. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#77 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#77 def days_ago(days); end # Returns a new date/time the specified number of days in the future. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#82 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#82 def days_since(days); end # Returns the number of days to the start of the week on the given day. # Week is assumed to start on +start_day+, default is # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#258 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#258 def days_to_week_start(start_day = T.unsafe(nil)); end # Returns a new date/time representing the end of the month. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#296 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#296 def end_of_month; end # Returns a new date/time at the end of the quarter. @@ -16042,7 +16175,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.end_of_quarter # => Wed, 30 Sep 2015 23:59:59 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#154 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#154 def end_of_quarter; end # Returns a new date/time representing the end of this week on the given day. @@ -16050,30 +16183,30 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#283 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#283 def end_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time representing the end of the year. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#304 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#304 def end_of_year; end # Returns true if the date/time is in the future. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#52 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#52 def future?; end # Short-hand for months_ago(1). # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#240 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#240 def last_month; end # Short-hand for months_ago(3). # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#245 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#248 def last_quarter; end # Returns a new date/time representing the given day in the previous week. @@ -16081,40 +16214,40 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 0:00 unless +same_time+ is true. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#223 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#227 def last_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end # Returns a new date/time representing the previous weekday. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#230 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#237 def last_weekday; end # Short-hand for years_ago(1). # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#251 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#251 def last_year; end # Returns Monday of this week assuming that week starts on Monday. # +DateTime+ objects have their time set to 0:00. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#275 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#275 def monday; end # Returns a new date/time the specified number of months ago. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#97 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#97 def months_ago(months); end # Returns a new date/time the specified number of months in the future. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#102 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#102 def months_since(months); end # Returns true if the date/time is tomorrow. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#35 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#38 def next_day?; end # Returns a new date/time representing the next occurrence of the specified day of week. @@ -16123,12 +16256,12 @@ module DateAndTime::Calculations # today.next_occurring(:monday) # => Mon, 18 Dec 2017 # today.next_occurring(:thursday) # => Thu, 21 Dec 2017 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#340 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#340 def next_occurring(day_of_week); end # Short-hand for months_since(3). # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#215 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#215 def next_quarter; end # Returns a new date/time representing the given day in the next week. @@ -16148,40 +16281,40 @@ module DateAndTime::Calculations # now = DateTime.current # => Thu, 07 May 2015 13:31:16 +0000 # now.next_week # => Mon, 11 May 2015 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#200 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#200 def next_week(given_day_in_next_week = T.unsafe(nil), same_time: T.unsafe(nil)); end # Returns a new date/time representing the next weekday. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#206 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#206 def next_weekday; end # Returns true if the date/time does not fall on a Saturday or Sunday. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#62 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#62 def on_weekday?; end # Returns true if the date/time falls on a Saturday or Sunday. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#57 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#57 def on_weekend?; end # Returns true if the date/time is in the past. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#47 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#47 def past?; end # Returns true if the date/time is yesterday. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#41 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#44 def prev_day?; end # Returns a new date/time representing the previous occurrence of the specified day of week. @@ -16190,12 +16323,12 @@ module DateAndTime::Calculations # today.prev_occurring(:monday) # => Mon, 11 Dec 2017 # today.prev_occurring(:thursday) # => Thu, 07 Dec 2017 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#351 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#351 def prev_occurring(day_of_week); end # Short-hand for months_ago(3). # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#245 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#245 def prev_quarter; end # Returns a new date/time representing the given day in the previous week. @@ -16203,12 +16336,12 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 0:00 unless +same_time+ is true. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#223 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#223 def prev_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end # Returns a new date/time representing the previous weekday. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#230 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#230 def prev_weekday; end # Returns the quarter for a date/time. @@ -16218,111 +16351,111 @@ module DateAndTime::Calculations # Date.new(2010, 9, 15).quarter # => 3 # Date.new(2010, 12, 25).quarter # => 4 # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#166 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#166 def quarter; end # Returns Sunday of this week assuming that week starts on Monday. # +DateTime+ objects have their time set to 23:59:59. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#290 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#290 def sunday; end # Returns true if the date/time is today. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#30 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#30 def today?; end # Returns a new date/time representing tomorrow. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#25 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#25 def tomorrow; end # Returns true if the date/time is tomorrow. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#35 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#35 def tomorrow?; end # Returns a new date/time the specified number of weeks ago. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#87 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#87 def weeks_ago(weeks); end # Returns a new date/time the specified number of weeks in the future. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#92 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#92 def weeks_since(weeks); end # Returns a new date/time the specified number of years ago. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#107 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#107 def years_ago(years); end # Returns a new date/time the specified number of years in the future. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#112 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#112 def years_since(years); end # Returns a new date/time representing yesterday. # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#20 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#20 def yesterday; end # Returns true if the date/time is yesterday. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#41 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#41 def yesterday?; end private - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#370 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#370 def copy_time_to(other); end - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#366 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#366 def days_span(day); end - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#358 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#358 def first_hour(date_or_time); end - # source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#362 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#362 def last_hour(date_or_time); end end -# source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#8 +# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#8 DateAndTime::Calculations::DAYS_INTO_WEEK = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/core_ext/date_and_time/calculations.rb#17 +# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#17 DateAndTime::Calculations::WEEKEND_DAYS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#6 +# source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#6 module DateAndTime::Compatibility - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#14 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#14 def preserve_timezone; end - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#29 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#29 def utc_to_local_returns_utc_offset_times; end class << self - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#14 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#14 def preserve_timezone; end - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#14 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#14 def preserve_timezone=(val); end - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#29 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#29 def utc_to_local_returns_utc_offset_times; end - # source://activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb#29 + # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#29 def utc_to_local_returns_utc_offset_times=(val); end end end -# source://activesupport/lib/active_support/core_ext/date_and_time/zones.rb#4 +# source://activesupport//lib/active_support/core_ext/date_and_time/zones.rb#4 module DateAndTime::Zones # Returns the simultaneous time in Time.zone if a zone is given or # if Time.zone_default is set. Otherwise, it returns the current time. @@ -16340,37 +16473,37 @@ module DateAndTime::Zones # Time.utc(2000).in_time_zone('Alaska') # => Fri, 31 Dec 1999 15:00:00 AKST -09:00 # Date.new(2000).in_time_zone('Alaska') # => Sat, 01 Jan 2000 00:00:00 AKST -09:00 # - # source://activesupport/lib/active_support/core_ext/date_and_time/zones.rb#20 + # source://activesupport//lib/active_support/core_ext/date_and_time/zones.rb#20 def in_time_zone(zone = T.unsafe(nil)); end private - # source://activesupport/lib/active_support/core_ext/date_and_time/zones.rb#32 + # source://activesupport//lib/active_support/core_ext/date_and_time/zones.rb#32 def time_with_zone(time, zone); end end -# source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#5 +# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#5 class DateTime < ::Date include ::DateAndTime::Compatibility # Layers additional behavior on DateTime#<=> so that Time and # ActiveSupport::TimeWithZone instances can be compared with a DateTime. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#208 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#208 def <=>(other); end # Duck-types as a Date-like class. See Object#acts_like?. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_time/acts_like.rb#8 + # source://activesupport//lib/active_support/core_ext/date_time/acts_like.rb#8 def acts_like_date?; end # Duck-types as a Time-like class. See Object#acts_like?. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_time/acts_like.rb#13 + # source://activesupport//lib/active_support/core_ext/date_time/acts_like.rb#13 def acts_like_time?; end # Uses Date to provide precise Time calculations for years, months, and days. @@ -16382,81 +16515,81 @@ class DateTime < ::Date # largest to smallest. This order can affect the result around the end of a # month. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#82 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#82 def advance(options); end # Returns a new DateTime representing the time a number of seconds ago. # Do not use this method in combination with x.months, use months_ago instead! # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#109 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#109 def ago(seconds); end - # source://activesupport/lib/active_support/core_ext/object/json.rb#215 + # source://activesupport//lib/active_support/core_ext/object/json.rb#215 def as_json(options = T.unsafe(nil)); end # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#127 def at_beginning_of_day; end # Returns a new DateTime representing the start of the hour (hh:00:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#146 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#149 def at_beginning_of_hour; end # Returns a new DateTime representing the start of the minute (hh:mm:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#158 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#161 def at_beginning_of_minute; end # Returns a new DateTime representing the end of the day (23:59:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#140 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#143 def at_end_of_day; end # Returns a new DateTime representing the end of the hour (hh:59:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#155 def at_end_of_hour; end # Returns a new DateTime representing the end of the minute (hh:mm:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#164 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#167 def at_end_of_minute; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#135 def at_midday; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#137 def at_middle_of_day; end # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#126 def at_midnight; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#136 def at_noon; end # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#122 def beginning_of_day; end # Returns a new DateTime representing the start of the hour (hh:00:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#146 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#146 def beginning_of_hour; end # Returns a new DateTime representing the start of the minute (hh:mm:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#158 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#158 def beginning_of_minute; end # No DateTime is ever blank: @@ -16465,7 +16598,7 @@ class DateTime < ::Date # # @return [false] # - # source://activesupport/lib/active_support/core_ext/date_time/blank.rb#11 + # source://activesupport//lib/active_support/core_ext/date_time/blank.rb#11 def blank?; end # Returns a new DateTime where one or more of the elements have been changed @@ -16482,22 +16615,25 @@ class DateTime < ::Date # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#51 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#51 def change(options); end + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#63 + def default_inspect; end + # Returns a new DateTime representing the end of the day (23:59:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#140 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#140 def end_of_day; end # Returns a new DateTime representing the end of the hour (hh:59:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#152 def end_of_hour; end # Returns a new DateTime representing the end of the minute (hh:mm:59). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#164 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#164 def end_of_minute; end # Returns a formatted string of the offset from UTC, or an alternative @@ -16507,7 +16643,7 @@ class DateTime < ::Date # datetime.formatted_offset # => "-06:00" # datetime.formatted_offset(false) # => "-0600" # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#55 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#55 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16515,12 +16651,12 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#192 def getgm; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#170 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#178 def getlocal(utc_offset = T.unsafe(nil)); end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16528,7 +16664,7 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#193 def getutc; end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16536,54 +16672,54 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#194 def gmtime; end # Returns a new DateTime representing the time a number of seconds since the # instance time. Do not use this method in combination with x.months, use # months_since instead! # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#116 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#119 def in(seconds); end # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005 14:30:00 +0000". # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#60 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#64 def inspect; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#170 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#170 def localtime(utc_offset = T.unsafe(nil)); end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#133 def midday; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 def middle_of_day; end # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#125 def midnight; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#134 def noon; end # Returns the fraction of a second as nanoseconds # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#98 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#98 def nsec; end # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005 14:30:00 +0000". # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#60 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#60 def readable_inspect; end # Returns the number of seconds since 00:00:00. @@ -16592,7 +16728,7 @@ class DateTime < ::Date # DateTime.new(2012, 8, 29, 12, 34, 56).seconds_since_midnight # => 45296 # DateTime.new(2012, 8, 29, 23, 59, 59).seconds_since_midnight # => 86399 # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#20 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#20 def seconds_since_midnight; end # Returns the number of seconds until 23:59:59. @@ -16601,29 +16737,29 @@ class DateTime < ::Date # DateTime.new(2012, 8, 29, 12, 34, 56).seconds_until_end_of_day # => 41103 # DateTime.new(2012, 8, 29, 23, 59, 59).seconds_until_end_of_day # => 0 # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#29 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#29 def seconds_until_end_of_day; end # Returns a new DateTime representing the time a number of seconds since the # instance time. Do not use this method in combination with x.months, use # months_since instead! # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#116 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#116 def since(seconds); end # Returns the fraction of a second as a +Rational+ # # DateTime.new(2012, 8, 29, 0, 0, 0.5).subsec # => (1/2) # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#36 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#36 def subsec; end - # source://activesupport/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#44 def to_default_s(*args, **_arg1, &block); end # Converts +self+ to a floating-point number of seconds, including fractional microseconds, since the Unix epoch. # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#83 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#83 def to_f; end # Convert to a formatted string. See Time::DATE_FORMATS for predefined formats. @@ -16652,7 +16788,7 @@ class DateTime < ::Date # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = lambda { |time| time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#35 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#42 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See Time::DATE_FORMATS for predefined formats. @@ -16681,12 +16817,12 @@ class DateTime < ::Date # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = lambda { |time| time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#35 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#35 def to_fs(format = T.unsafe(nil)); end # Converts +self+ to an integer number of seconds since the Unix epoch. # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#88 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#88 def to_i; end # Either return an instance of +Time+ with the same UTC offset @@ -16694,12 +16830,12 @@ class DateTime < ::Date # in the local system timezone depending on the setting of # on the setting of +ActiveSupport.to_time_preserves_timezone+. # - # source://activesupport/lib/active_support/core_ext/date_time/compatibility.rb#15 + # source://activesupport//lib/active_support/core_ext/date_time/compatibility.rb#9 def to_time; end # Returns the fraction of a second as microseconds # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#93 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#93 def usec; end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16707,27 +16843,27 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#184 def utc; end # Returns +true+ if offset == 0. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#197 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#197 def utc?; end # Returns the offset value in seconds. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#202 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#202 def utc_offset; end private - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#103 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#103 def offset_in_seconds; end - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#107 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#107 def seconds_since_unix_epoch; end class << self @@ -16739,24 +16875,24 @@ class DateTime < ::Date # DateTime.civil_from_format :local, 2012, 12, 17 # # => Mon, 17 Dec 2012 00:00:00 +0000 # - # source://activesupport/lib/active_support/core_ext/date_time/conversions.rb#73 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#73 def civil_from_format(utc_or_local, year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), min = T.unsafe(nil), sec = T.unsafe(nil)); end # Returns Time.zone.now.to_datetime when Time.zone or # config.time_zone are set, otherwise returns # Time.now.to_datetime. # - # source://activesupport/lib/active_support/core_ext/date_time/calculations.rb#10 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#10 def current; end end end -# source://activesupport/lib/active_support/core_ext/object/try.rb#117 +# source://activesupport//lib/active_support/core_ext/object/try.rb#117 class Delegator < ::BasicObject include ::ActiveSupport::Tryable end -# source://activesupport/lib/active_support/core_ext/digest/uuid.rb#7 +# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#7 module Digest::UUID class << self # Generates a v5 non-random UUID (Universally Unique IDentifier). @@ -16766,44 +16902,44 @@ module Digest::UUID # # See RFC 4122 for details of UUID at: https://www.ietf.org/rfc/rfc4122.txt # - # source://activesupport/lib/active_support/core_ext/digest/uuid.rb#19 + # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#19 def uuid_from_hash(hash_class, namespace, name); end # Convenience method for uuid_from_hash using OpenSSL::Digest::MD5. # - # source://activesupport/lib/active_support/core_ext/digest/uuid.rb#42 + # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#42 def uuid_v3(uuid_namespace, name); end # Convenience method for SecureRandom.uuid. # - # source://activesupport/lib/active_support/core_ext/digest/uuid.rb#52 + # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#52 def uuid_v4; end # Convenience method for uuid_from_hash using OpenSSL::Digest::SHA1. # - # source://activesupport/lib/active_support/core_ext/digest/uuid.rb#47 + # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#47 def uuid_v5(uuid_namespace, name); end private - # source://activesupport/lib/active_support/core_ext/digest/uuid.rb#56 + # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#56 def pack_uuid_namespace(namespace); end end end -# source://activesupport/lib/active_support/core_ext/digest/uuid.rb#8 +# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#8 Digest::UUID::DNS_NAMESPACE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/digest/uuid.rb#10 +# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#10 Digest::UUID::OID_NAMESPACE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/digest/uuid.rb#9 +# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#9 Digest::UUID::URL_NAMESPACE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/digest/uuid.rb#11 +# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#11 Digest::UUID::X500_NAMESPACE = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#39 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#39 module ERB::Util include ::ActiveSupport::CoreExt::ERBUtil include ::ActiveSupport::CoreExt::ERBUtilPrivate @@ -16819,7 +16955,7 @@ module ERB::Util # html_escape_once('<< Accept & Checkout') # # => "<< Accept & Checkout" # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#63 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#63 def html_escape_once(s); end # A utility method for escaping HTML entities in JSON strings. Specifically, the @@ -16878,7 +17014,7 @@ module ERB::Util # JSON gem, do not provide this kind of protection by default; also some gems # might override +to_json+ to bypass Active Support's encoder). # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#124 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#124 def json_escape(s); end # A utility method for escaping XML names of tags and names of attributes. @@ -16888,16 +17024,10 @@ module ERB::Util # # It follows the requirements of the specification: https://www.w3.org/TR/REC-xml/#NT-Name # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#142 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#142 def xml_name_escape(name); end class << self - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 - def h(s); end - - # source://activesupport/lib/active_support/core_ext/erb/util.rb#25 - def html_escape(s); end - # A utility method for escaping HTML without affecting existing escaped entities. # # html_escape_once('1 < 2 & 3') @@ -16906,7 +17036,7 @@ module ERB::Util # html_escape_once('<< Accept & Checkout') # # => "<< Accept & Checkout" # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#63 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#67 def html_escape_once(s); end # A utility method for escaping HTML entities in JSON strings. Specifically, the @@ -16965,16 +17095,16 @@ module ERB::Util # JSON gem, do not provide this kind of protection by default; also some gems # might override +to_json+ to bypass Active Support's encoder). # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#124 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#134 def json_escape(s); end # Tokenizes a line of ERB. This is really just for error reporting and # nobody should use it. # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#161 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#161 def tokenize(source); end - # source://activesupport/lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#10 def unwrapped_html_escape(s); end # A utility method for escaping XML names of tags and names of attributes. @@ -16984,43 +17114,43 @@ module ERB::Util # # It follows the requirements of the specification: https://www.w3.org/TR/REC-xml/#NT-Name # - # source://activesupport/lib/active_support/core_ext/erb/util.rb#142 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#157 def xml_name_escape(name); end end end -# source://activesupport/lib/active_support/core_ext/erb/util.rb#40 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#40 ERB::Util::HTML_ESCAPE = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#41 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#41 ERB::Util::HTML_ESCAPE_ONCE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#49 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#49 ERB::Util::INVALID_TAG_NAME_FOLLOWING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#47 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#47 ERB::Util::INVALID_TAG_NAME_START_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#50 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#50 ERB::Util::SAFE_XML_TAG_NAME_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#48 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#48 ERB::Util::TAG_NAME_FOLLOWING_CODEPOINTS = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/erb/util.rb#51 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#51 ERB::Util::TAG_NAME_REPLACEMENT_CHAR = T.let(T.unsafe(nil), String) # Following XML requirements: https://www.w3.org/TR/REC-xml/#NT-Name # -# source://activesupport/lib/active_support/core_ext/erb/util.rb#44 +# source://activesupport//lib/active_support/core_ext/erb/util.rb#44 ERB::Util::TAG_NAME_START_CODEPOINTS = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/object/json.rb#147 +# source://activesupport//lib/active_support/core_ext/object/json.rb#147 module Enumerable include ::ActiveSupport::ToJsonWithActiveSupportEncoder extend ::ActiveSupport::EnumerableCoreExt::Constants - # source://activesupport/lib/active_support/core_ext/object/json.rb#148 + # source://activesupport//lib/active_support/core_ext/object/json.rb#148 def as_json(options = T.unsafe(nil)); end # Returns a new +Array+ without the blank items. @@ -17037,7 +17167,7 @@ module Enumerable # { a: "", b: 1, c: nil, d: [], e: false, f: true }.compact_blank # # => { b: 1, f: true } # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#184 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#184 def compact_blank; end # The negative of the Enumerable#include?. Returns +true+ if the @@ -17045,7 +17175,7 @@ module Enumerable # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#118 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#118 def exclude?(object); end # Returns a copy of the enumerable excluding the specified elements. @@ -17059,7 +17189,7 @@ module Enumerable # {foo: 1, bar: 2, baz: 3}.excluding :bar # # => {foo: 1, baz: 3} # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#132 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#132 def excluding(*elements); end # Returns a new +Array+ where the order has been set to that provided in the +series+, based on the +key+ of the @@ -17071,7 +17201,7 @@ module Enumerable # If the +series+ include keys that have no corresponding element in the Enumerable, these are ignored. # If the Enumerable has additional elements that aren't named in the +series+, these are not included in the result. # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#196 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#196 def in_order_of(key, series); end # Returns a new array that includes the passed elements. @@ -17082,7 +17212,7 @@ module Enumerable # ["David", "Rafael"].including %w[ Aaron Todd ] # # => ["David", "Rafael", "Aaron", "Todd"] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#112 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#112 def including(*elements); end # Convert an enumerable to a hash, using the block result as the key and the @@ -17094,7 +17224,7 @@ module Enumerable # people.index_by { |person| "#{person.first_name} #{person.last_name}" } # # => { "Chade- Fowlersburg-e" => , "David Heinemeier Hansson" => , ...} # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#52 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#52 def index_by; end # Convert an enumerable to a hash, using the element as the key and the block @@ -17111,7 +17241,7 @@ module Enumerable # %i( created_at updated_at ).index_with(Time.now) # # => { created_at: 2020-03-09 22:31:47, updated_at: 2020-03-09 22:31:47 } # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#75 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#75 def index_with(default = T.unsafe(nil)); end # Returns +true+ if the enumerable has more than 1 element. Functionally @@ -17121,7 +17251,7 @@ module Enumerable # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#93 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#93 def many?; end # Calculates the maximum from the extracted elements. @@ -17129,7 +17259,7 @@ module Enumerable # payments = [Payment.new(5), Payment.new(15), Payment.new(10)] # payments.maximum(:price) # => 15 # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#40 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#40 def maximum(key); end # Calculates the minimum from the extracted elements. @@ -17137,7 +17267,7 @@ module Enumerable # payments = [Payment.new(5), Payment.new(15), Payment.new(10)] # payments.minimum(:price) # => 5 # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#32 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#32 def minimum(key); end # Extract the given key from the first element in the enumerable. @@ -17148,7 +17278,7 @@ module Enumerable # [{ id: 1, name: "David" }, { id: 2, name: "Rafael" }].pick(:id, :name) # # => [1, "David"] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#161 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#161 def pick(*keys); end # Extract the given key from each element in the enumerable. @@ -17159,7 +17289,7 @@ module Enumerable # [{ id: 1, name: "David" }, { id: 2, name: "Rafael" }].pluck(:id, :name) # # => [[1, "David"], [2, "Rafael"]] # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#145 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#145 def pluck(*keys); end # Returns the sole item in the enumerable. If there are no items, or more @@ -17169,7 +17299,7 @@ module Enumerable # Set.new.sole # => Enumerable::SoleItemExpectedError: no item found # { a: 1, b: 2 }.sole # => Enumerable::SoleItemExpectedError: multiple items found # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#206 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#206 def sole; end # Returns a copy of the enumerable excluding the specified elements. @@ -17183,25 +17313,25 @@ module Enumerable # {foo: 1, bar: 2, baz: 3}.excluding :bar # # => {foo: 1, baz: 3} # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#132 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#136 def without(*elements); end end # Error generated by +sole+ when called on an enumerable that doesn't have # exactly one item. # -# source://activesupport/lib/active_support/core_ext/enumerable.rb#21 +# source://activesupport//lib/active_support/core_ext/enumerable.rb#21 class Enumerable::SoleItemExpectedError < ::StandardError; end -# source://activesupport/lib/active_support/core_ext/object/json.rb#250 +# source://activesupport//lib/active_support/core_ext/object/json.rb#250 class Exception - # source://activesupport/lib/active_support/core_ext/object/json.rb#251 + # source://activesupport//lib/active_support/core_ext/object/json.rb#251 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/object/blank.rb#61 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#61 class FalseClass - # source://activesupport/lib/active_support/core_ext/object/json.rb#89 + # source://activesupport//lib/active_support/core_ext/object/json.rb#89 def as_json(options = T.unsafe(nil)); end # +false+ is blank: @@ -17210,16 +17340,16 @@ class FalseClass # # @return [true] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#67 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#67 def blank?; end # Returns +self+. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#34 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#34 def to_param; end end -# source://activesupport/lib/active_support/core_ext/file/atomic.rb#5 +# source://activesupport//lib/active_support/core_ext/file/atomic.rb#5 class File < ::IO class << self # Write to a file atomically. Useful for situations where you don't @@ -17238,38 +17368,61 @@ class File < ::IO # file.write('hello') # end # - # source://activesupport/lib/active_support/core_ext/file/atomic.rb#21 + # source://activesupport//lib/active_support/core_ext/file/atomic.rb#21 def atomic_write(file_name, temp_dir = T.unsafe(nil)); end # Private utility method. # - # source://activesupport/lib/active_support/core_ext/file/atomic.rb#56 + # source://activesupport//lib/active_support/core_ext/file/atomic.rb#56 def probe_stat_in(dir); end end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#118 +# source://activesupport//lib/active_support/core_ext/object/json.rb#118 class Float < ::Numeric include ::ActiveSupport::NumericWithFormat # Encoding Infinity or NaN to JSON should return "null". The default returns # "Infinity" or "NaN" which are not valid JSON. # - # source://activesupport/lib/active_support/core_ext/object/json.rb#121 + # source://activesupport//lib/active_support/core_ext/object/json.rb#121 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/hash/deep_merge.rb#5 +# source://activesupport//lib/active_support/core_ext/hash/deep_merge.rb#5 class Hash include ::Enumerable include ::ActiveSupport::DeepMergeable - # source://activesupport/lib/active_support/core_ext/object/json.rb#172 + # source://activesupport//lib/active_support/core_ext/object/json.rb#172 def as_json(options = T.unsafe(nil)); end + # Validates all keys in a hash match *valid_keys, raising + # +ArgumentError+ on a mismatch. + # + # Note that keys are treated differently than HashWithIndifferentAccess, + # meaning that string and symbol keys will not match. + # + # { name: 'Rob', years: '28' }.assert_valid_keys(:name, :age) # => raises "ArgumentError: Unknown key: :years. Valid keys are: :name, :age" + # { name: 'Rob', age: '28' }.assert_valid_keys('name', 'age') # => raises "ArgumentError: Unknown key: :name. Valid keys are: 'name', 'age'" + # { name: 'Rob', age: '28' }.assert_valid_keys(:name, :age) # => passes, raises nothing + # + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#48 + def assert_valid_keys(*valid_keys); end + + # A hash is blank if it's empty: + # + # {}.blank? # => true + # { key: 'value' }.blank? # => false + # + # @return [true, false] + # + # source://activesupport//lib/active_support/core_ext/object/blank.rb#100 + def blank?; end + # Hash#reject has its own definition, so this needs one too. # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#217 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#217 def compact_blank; end # Removes all blank values from the +Hash+ in place and returns self. @@ -17279,7 +17432,7 @@ class Hash # h.compact_blank! # # => { b: 1, f: true } # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#227 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#227 def compact_blank!; end # Returns a deep copy of hash. @@ -17291,7 +17444,7 @@ class Hash # hash[:a][:c] # => nil # dup[:a][:c] # => "c" # - # source://activesupport/lib/active_support/core_ext/object/deep_dup.rb#43 + # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#43 def deep_dup; end # :method: deep_merge! @@ -17304,7 +17457,7 @@ class Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/hash/deep_merge.rb#39 + # source://activesupport//lib/active_support/core_ext/hash/deep_merge.rb#39 def deep_merge?(other); end # Returns a new hash with all keys converted to strings. @@ -17316,14 +17469,14 @@ class Hash # hash.deep_stringify_keys # # => {"person"=>{"name"=>"Rob", "age"=>"28"}} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#84 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#84 def deep_stringify_keys; end # Destructively converts all keys to strings. # This includes the keys from the root hash and from all # nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#91 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#91 def deep_stringify_keys!; end # Returns a new hash with all keys converted to symbols, as long as @@ -17335,14 +17488,14 @@ class Hash # hash.deep_symbolize_keys # # => {:person=>{:name=>"Rob", :age=>"28"}} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#103 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#103 def deep_symbolize_keys; end # Destructively converts all keys to symbols, as long as they respond # to +to_sym+. This includes the keys from the root hash and from all # nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#110 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#110 def deep_symbolize_keys!; end # Returns a new hash with all keys converted by the block operation. @@ -17354,14 +17507,14 @@ class Hash # hash.deep_transform_keys{ |key| key.to_s.upcase } # # => {"PERSON"=>{"NAME"=>"Rob", "AGE"=>"28"}} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#65 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#65 def deep_transform_keys(&block); end # Destructively converts all keys by using the block operation. # This includes the keys from the root hash and from all # nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#72 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#72 def deep_transform_keys!(&block); end # Returns a new hash with all values converted by the block operation. @@ -17373,14 +17526,14 @@ class Hash # hash.deep_transform_values{ |value| value.to_s.upcase } # # => {person: {name: "ROB", age: "28"}} # - # source://activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#12 + # source://activesupport//lib/active_support/core_ext/hash/deep_transform_values.rb#12 def deep_transform_values(&block); end # Destructively converts all values by using the block operation. # This includes the values from the root hash and from all # nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#19 + # source://activesupport//lib/active_support/core_ext/hash/deep_transform_values.rb#19 def deep_transform_values!(&block); end # Removes the given keys from hash and returns it. @@ -17388,7 +17541,7 @@ class Hash # hash.except!(:c) # => { a: true, b: false } # hash # => { a: true, b: false } # - # source://activesupport/lib/active_support/core_ext/hash/except.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/except.rb#20 def except!(*keys); end # Removes and returns the key/value pairs matching the given keys. @@ -17397,7 +17550,7 @@ class Hash # hash.extract!(:a, :b) # => {:a=>1, :b=>2} # hash # => {:c=>3, :d=>4} # - # source://activesupport/lib/active_support/core_ext/hash/slice.rb#24 + # source://activesupport//lib/active_support/core_ext/hash/slice.rb#24 def extract!(*keys); end # By default, only instances of Hash itself are extractable. @@ -17408,7 +17561,7 @@ class Hash # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/array/extract_options.rb#9 + # source://activesupport//lib/active_support/core_ext/array/extract_options.rb#9 def extractable_options?; end # Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver: @@ -17425,7 +17578,7 @@ class Hash # { a: b }.with_indifferent_access['a'] # calls b.nested_under_indifferent_access # # => {"b"=>1} # - # source://activesupport/lib/active_support/core_ext/hash/indifferent_access.rb#9 + # source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#23 def nested_under_indifferent_access; end # Merges the caller into +other_hash+. For example, @@ -17439,17 +17592,17 @@ class Hash # This is particularly useful for initializing an options hash # with default values. # - # source://activesupport/lib/active_support/core_ext/hash/reverse_merge.rb#14 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#14 def reverse_merge(other_hash); end # Destructive +reverse_merge+. # - # source://activesupport/lib/active_support/core_ext/hash/reverse_merge.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#20 def reverse_merge!(other_hash); end # Destructive +reverse_merge+. # - # source://activesupport/lib/active_support/core_ext/hash/reverse_merge.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#23 def reverse_update(other_hash); end # Replaces the hash with only the given keys. @@ -17459,7 +17612,7 @@ class Hash # hash.slice!(:a, :b) # => {:c=>3, :d=>4} # hash # => {:a=>1, :b=>2} # - # source://activesupport/lib/active_support/core_ext/hash/slice.rb#10 + # source://activesupport//lib/active_support/core_ext/hash/slice.rb#10 def slice!(*keys); end # Returns a new hash with all keys converted to strings. @@ -17469,13 +17622,13 @@ class Hash # hash.stringify_keys # # => {"name"=>"Rob", "age"=>"28"} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#10 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#10 def stringify_keys; end # Destructively converts all keys to strings. Same as # +stringify_keys+, but modifies +self+. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#16 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#16 def stringify_keys!; end # Returns a new hash with all keys converted to symbols, as long as @@ -17486,13 +17639,13 @@ class Hash # hash.symbolize_keys # # => {:name=>"Rob", :age=>"28"} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#27 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#27 def symbolize_keys; end # Destructively converts all keys to symbols, as long as they respond # to +to_sym+. Same as +symbolize_keys+, but modifies +self+. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#34 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#34 def symbolize_keys!; end # Returns a new hash with all keys converted to symbols, as long as @@ -17503,13 +17656,13 @@ class Hash # hash.symbolize_keys # # => {:name=>"Rob", :age=>"28"} # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#27 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#30 def to_options; end # Destructively converts all keys to symbols, as long as they respond # to +to_sym+. Same as +symbolize_keys+, but modifies +self+. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#34 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#37 def to_options!; end # Returns a string representation of the receiver suitable for use as a URL @@ -17526,7 +17679,7 @@ class Hash # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#75 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#86 def to_param(namespace = T.unsafe(nil)); end # Returns a string representation of the receiver suitable for use as a URL @@ -17543,7 +17696,7 @@ class Hash # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#75 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#75 def to_query(namespace = T.unsafe(nil)); end # Returns a string containing an XML representation of its receiver: @@ -17609,7 +17762,7 @@ class Hash # configure your own builder with the :builder option. The method also accepts # options like :dasherize and friends, they are forwarded to the builder. # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#74 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#74 def to_xml(options = T.unsafe(nil)); end # Merges the caller into +other_hash+. For example, @@ -17623,43 +17776,43 @@ class Hash # This is particularly useful for initializing an options hash # with default values. # - # source://activesupport/lib/active_support/core_ext/hash/reverse_merge.rb#14 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#17 def with_defaults(other_hash); end # Destructive +reverse_merge+. # - # source://activesupport/lib/active_support/core_ext/hash/reverse_merge.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#24 def with_defaults!(other_hash); end # Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver: # # { a: 1 }.with_indifferent_access['a'] # => 1 # - # source://activesupport/lib/active_support/core_ext/hash/indifferent_access.rb#9 + # source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#9 def with_indifferent_access; end private # Support methods for deep transforming nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#116 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#116 def _deep_transform_keys_in_object(object, &block); end - # source://activesupport/lib/active_support/core_ext/hash/keys.rb#129 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#129 def _deep_transform_keys_in_object!(object, &block); end # Support methods for deep transforming nested hashes and arrays. # - # source://activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#25 + # source://activesupport//lib/active_support/core_ext/hash/deep_transform_values.rb#25 def _deep_transform_values_in_object(object, &block); end - # source://activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb#36 + # source://activesupport//lib/active_support/core_ext/hash/deep_transform_values.rb#36 def _deep_transform_values_in_object!(object, &block); end class << self # Builds a Hash from XML just like Hash.from_xml, but also allows Symbol and YAML. # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#133 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#133 def from_trusted_xml(xml); end # Returns a Hash containing a collection of pairs when the key is the node name and the value is @@ -17697,96 +17850,52 @@ class Hash # Note that passing custom disallowed types will override the default types, # which are Symbol and YAML. # - # source://activesupport/lib/active_support/core_ext/hash/conversions.rb#128 + # source://activesupport//lib/active_support/core_ext/hash/conversions.rb#128 def from_xml(xml, disallowed_types = T.unsafe(nil)); end end end # :stopdoc: # -# source://activesupport/lib/active_support/hash_with_indifferent_access.rb#443 +# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#443 HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess # :enddoc: # -# source://activesupport/lib/active_support/i18n_railtie.rb#8 -module I18n - class << self - # source://i18n/1.14.6lib/i18n/backend/cache.rb#64 - def cache_key_digest; end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#68 - def cache_key_digest=(key_digest); end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#56 - def cache_namespace; end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#60 - def cache_namespace=(namespace); end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#48 - def cache_store; end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#52 - def cache_store=(store); end +# source://activesupport//lib/active_support/i18n_railtie.rb#8 +module I18n; end - # source://i18n/1.14.6lib/i18n/backend/fallbacks.rb#17 - def fallbacks; end - - # source://i18n/1.14.6lib/i18n/backend/fallbacks.rb#23 - def fallbacks=(fallbacks); end - - # source://i18n/1.14.6lib/i18n/interpolate/ruby.rb#23 - def interpolate(string, values); end - - # source://i18n/1.14.6lib/i18n/interpolate/ruby.rb#29 - def interpolate_hash(string, values); end - - # source://i18n/1.14.6lib/i18n.rb#38 - def new_double_nested_cache; end - - # source://i18n/1.14.6lib/i18n/backend/cache.rb#72 - def perform_caching?; end - - # source://i18n/1.14.6lib/i18n.rb#46 - def reserve_key(key); end - - # source://i18n/1.14.6lib/i18n.rb#51 - def reserved_keys_pattern; end - end -end - -# source://activesupport/lib/active_support/i18n_railtie.rb#9 +# source://activesupport//lib/active_support/i18n_railtie.rb#9 class I18n::Railtie < ::Rails::Railtie class << self - # source://activesupport/lib/active_support/i18n_railtie.rb#95 + # source://activesupport//lib/active_support/i18n_railtie.rb#95 def include_fallbacks_module; end - # source://activesupport/lib/active_support/i18n_railtie.rb#99 + # source://activesupport//lib/active_support/i18n_railtie.rb#99 def init_fallbacks(fallbacks); end # Setup i18n configuration. # - # source://activesupport/lib/active_support/i18n_railtie.rb#32 + # source://activesupport//lib/active_support/i18n_railtie.rb#32 def initialize_i18n(app); end - # source://activesupport/lib/active_support/i18n_railtie.rb#80 + # source://activesupport//lib/active_support/i18n_railtie.rb#80 def setup_raise_on_missing_translations_config(app); end - # source://activesupport/lib/active_support/i18n_railtie.rb#115 + # source://activesupport//lib/active_support/i18n_railtie.rb#115 def validate_fallbacks(fallbacks); end - # source://activesupport/lib/active_support/i18n_railtie.rb#126 + # source://activesupport//lib/active_support/i18n_railtie.rb#126 def watched_dirs_with_extensions(paths); end end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#153 +# source://activesupport//lib/active_support/core_ext/object/json.rb#153 class IO include ::Enumerable include ::File::Constants - # source://activesupport/lib/active_support/core_ext/object/json.rb#154 + # source://activesupport//lib/active_support/core_ext/object/json.rb#154 def as_json(options = T.unsafe(nil)); end end @@ -17903,13 +18012,13 @@ IO::READABLE = T.let(T.unsafe(nil), Integer) class IO::TimeoutError < ::IOError; end IO::WRITABLE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/object/json.rb#237 +# source://activesupport//lib/active_support/core_ext/object/json.rb#237 class IPAddr - # source://activesupport/lib/active_support/core_ext/object/json.rb#238 + # source://activesupport//lib/active_support/core_ext/object/json.rb#238 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/integer/time.rb#6 +# source://activesupport//lib/active_support/core_ext/integer/time.rb#6 class Integer < ::Numeric include ::ActiveSupport::NumericWithFormat @@ -17917,14 +18026,14 @@ class Integer < ::Numeric # # 2.months # => 2 months # - # source://activesupport/lib/active_support/core_ext/integer/time.rb#10 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#13 def month; end # Returns a Duration instance matching the number of months provided. # # 2.months # => 2 months # - # source://activesupport/lib/active_support/core_ext/integer/time.rb#10 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#10 def months; end # Check whether the integer is evenly divisible by the argument. @@ -17935,7 +18044,7 @@ class Integer < ::Numeric # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/integer/multiple.rb#9 + # source://activesupport//lib/active_support/core_ext/integer/multiple.rb#9 def multiple_of?(number); end # Ordinal returns the suffix used to denote the position @@ -17948,7 +18057,7 @@ class Integer < ::Numeric # -11.ordinal # => "th" # -1001.ordinal # => "st" # - # source://activesupport/lib/active_support/core_ext/integer/inflections.rb#28 + # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#28 def ordinal; end # Ordinalize turns a number into an ordinal string used to denote the @@ -17961,31 +18070,31 @@ class Integer < ::Numeric # -11.ordinalize # => "-11th" # -1001.ordinalize # => "-1001st" # - # source://activesupport/lib/active_support/core_ext/integer/inflections.rb#15 + # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#15 def ordinalize; end # Returns a Duration instance matching the number of years provided. # # 2.years # => 2 years # - # source://activesupport/lib/active_support/core_ext/integer/time.rb#18 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#21 def year; end # Returns a Duration instance matching the number of years provided. # # 2.years # => 2 years # - # source://activesupport/lib/active_support/core_ext/integer/time.rb#18 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#18 def years; end end Integer::GMP_VERSION = T.let(T.unsafe(nil), String) -# source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#3 +# source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#3 module Kernel # class_eval on an object acts like +singleton_class.class_eval+. # - # source://activesupport/lib/active_support/core_ext/kernel/singleton_class.rb#5 + # source://activesupport//lib/active_support/core_ext/kernel/singleton_class.rb#5 def class_eval(*args, &block); end private @@ -17994,13 +18103,13 @@ module Kernel # # See Module::Concerning for more. # - # source://activesupport/lib/active_support/core_ext/kernel/concern.rb#11 + # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11 def concern(topic, &module_definition); end # Sets $VERBOSE to +true+ for the duration of the block and back to its # original value afterwards. # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#20 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#20 def enable_warnings(&block); end # Sets $VERBOSE to +nil+ for the duration of the block and back to its original @@ -18012,7 +18121,7 @@ module Kernel # # noisy_call # warning voiced # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#14 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#14 def silence_warnings(&block); end # Blocks and ignores any exception passed as argument if raised within the block. @@ -18024,13 +18133,13 @@ module Kernel # # puts 'This code gets executed and nothing related to ZeroDivisionError was seen' # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#41 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#41 def suppress(*exception_classes); end # Sets $VERBOSE for the duration of the block and back to its original # value afterwards. # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#26 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#26 def with_warnings(flag); end class << self @@ -18038,13 +18147,13 @@ module Kernel # # See Module::Concerning for more. # - # source://activesupport/lib/active_support/core_ext/kernel/concern.rb#11 + # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11 def concern(topic, &module_definition); end # Sets $VERBOSE to +true+ for the duration of the block and back to its # original value afterwards. # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#20 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#20 def enable_warnings(&block); end # Sets $VERBOSE to +nil+ for the duration of the block and back to its original @@ -18056,7 +18165,7 @@ module Kernel # # noisy_call # warning voiced # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#14 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#14 def silence_warnings(&block); end # Blocks and ignores any exception passed as argument if raised within the block. @@ -18068,18 +18177,18 @@ module Kernel # # puts 'This code gets executed and nothing related to ZeroDivisionError was seen' # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#41 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#41 def suppress(*exception_classes); end # Sets $VERBOSE for the duration of the block and back to its original # value afterwards. # - # source://activesupport/lib/active_support/core_ext/kernel/reporting.rb#26 + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#26 def with_warnings(flag); end end end -# source://activesupport/lib/active_support/core_ext/load_error.rb#3 +# source://activesupport//lib/active_support/core_ext/load_error.rb#3 class LoadError < ::ScriptError include ::DidYouMean::Correctable @@ -18088,7 +18197,7 @@ class LoadError < ::ScriptError # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/load_error.rb#6 + # source://activesupport//lib/active_support/core_ext/load_error.rb#6 def is_missing?(location); end end @@ -18104,7 +18213,7 @@ end # Note that it can also be scoped per-fiber if +Rails.application.config.active_support.isolation_level+ # is set to +:fiber+. # -# source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#8 +# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#8 class Module include ::Module::Concerning @@ -18126,7 +18235,7 @@ class Module # e.subject = "Megastars" # e.title # => "Megastars" # - # source://activesupport/lib/active_support/core_ext/module/aliasing.rb#21 + # source://activesupport//lib/active_support/core_ext/module/aliasing.rb#21 def alias_attribute(new_name, old_name); end # A module may or may not have a name. @@ -18155,32 +18264,32 @@ class Module # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/module/anonymous.rb#27 + # source://activesupport//lib/active_support/core_ext/module/anonymous.rb#27 def anonymous?; end - # source://activesupport/lib/active_support/core_ext/object/json.rb#53 + # source://activesupport//lib/active_support/core_ext/object/json.rb#53 def as_json(options = T.unsafe(nil)); end # Declares an attribute reader and writer backed by an internally-named instance # variable. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#16 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#20 def attr_internal(*attrs); end # Declares an attribute reader and writer backed by an internally-named instance # variable. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#16 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#16 def attr_internal_accessor(*attrs); end # Declares an attribute reader backed by an internally-named instance variable. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#5 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#5 def attr_internal_reader(*attrs); end # Declares an attribute writer backed by an internally-named instance variable. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#10 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#10 def attr_internal_writer(*attrs); end # Defines both class and instance accessors for class attributes. @@ -18250,7 +18359,7 @@ class Module # Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red] # Person.class_variable_get("@@hair_styles") # => [:long, :short] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#208 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#213 def cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end # Defines a class attribute and creates a class and instance reader methods. @@ -18302,7 +18411,7 @@ class Module # # @raise [TypeError] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#55 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#75 def cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end # Defines a class attribute and creates a class and instance writer methods to @@ -18352,7 +18461,7 @@ class Module # # @raise [TypeError] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#121 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#140 def cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end # Returns a copy of module or class if it's anonymous. If it's @@ -18362,7 +18471,7 @@ class Module # klass = Class.new # klass.deep_dup == klass # => false # - # source://activesupport/lib/active_support/core_ext/object/deep_dup.rb#64 + # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#64 def deep_dup; end # Provides a +delegate+ class method to easily expose contained objects' @@ -18519,7 +18628,7 @@ class Module # # The target method must be public, otherwise it will raise +NoMethodError+. # - # source://activesupport/lib/active_support/core_ext/module/delegation.rb#171 + # source://activesupport//lib/active_support/core_ext/module/delegation.rb#171 def delegate(*methods, to: T.unsafe(nil), prefix: T.unsafe(nil), allow_nil: T.unsafe(nil), private: T.unsafe(nil)); end # When building decorators, a common pattern may emerge: @@ -18569,7 +18678,7 @@ class Module # Marshal.dump(object), should the delegation target method # of object add or remove instance variables. # - # source://activesupport/lib/active_support/core_ext/module/delegation.rb#318 + # source://activesupport//lib/active_support/core_ext/module/delegation.rb#318 def delegate_missing_to(target, allow_nil: T.unsafe(nil)); end # deprecate :foo, deprecator: MyLib.deprecator @@ -18586,7 +18695,7 @@ class Module # end # end # - # source://activesupport/lib/active_support/core_ext/module/deprecation.rb#17 + # source://activesupport//lib/active_support/core_ext/module/deprecation.rb#17 def deprecate(*method_names, deprecator: T.unsafe(nil), **options); end # Defines both class and instance accessors for class attributes. @@ -18656,7 +18765,7 @@ class Module # Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red] # Person.class_variable_get("@@hair_styles") # => [:long, :short] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#208 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#208 def mattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end # Defines a class attribute and creates a class and instance reader methods. @@ -18708,7 +18817,7 @@ class Module # # @raise [TypeError] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#55 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#55 def mattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end # Defines a class attribute and creates a class and instance writer methods to @@ -18758,10 +18867,10 @@ class Module # # @raise [TypeError] # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors.rb#121 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#121 def mattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/module/redefine_method.rb#30 + # source://activesupport//lib/active_support/core_ext/module/redefine_method.rb#30 def method_visibility(method); end # Returns the module which contains this one according to its name. @@ -18780,14 +18889,14 @@ class Module # M.module_parent # => Object # Module.new.module_parent # => Object # - # source://activesupport/lib/active_support/core_ext/module/introspection.rb#34 + # source://activesupport//lib/active_support/core_ext/module/introspection.rb#34 def module_parent; end # Returns the name of the module containing this one. # # M::N.module_parent_name # => "M" # - # source://activesupport/lib/active_support/core_ext/module/introspection.rb#9 + # source://activesupport//lib/active_support/core_ext/module/introspection.rb#9 def module_parent_name; end # Returns all the parents of this module according to its name, ordered from @@ -18803,36 +18912,36 @@ class Module # M::N.module_parents # => [M, Object] # X.module_parents # => [M, Object] # - # source://activesupport/lib/active_support/core_ext/module/introspection.rb#50 + # source://activesupport//lib/active_support/core_ext/module/introspection.rb#50 def module_parents; end # Replaces the existing method definition, if there is one, with the passed # block as its body. # - # source://activesupport/lib/active_support/core_ext/module/redefine_method.rb#17 + # source://activesupport//lib/active_support/core_ext/module/redefine_method.rb#17 def redefine_method(method, &block); end # Replaces the existing singleton method definition, if there is one, with # the passed block as its body. # - # source://activesupport/lib/active_support/core_ext/module/redefine_method.rb#26 + # source://activesupport//lib/active_support/core_ext/module/redefine_method.rb#26 def redefine_singleton_method(method, &block); end # Removes the named method, if it exists. # - # source://activesupport/lib/active_support/core_ext/module/remove_method.rb#7 + # source://activesupport//lib/active_support/core_ext/module/remove_method.rb#7 def remove_possible_method(method); end # Removes the named singleton method, if it exists. # - # source://activesupport/lib/active_support/core_ext/module/remove_method.rb#14 + # source://activesupport//lib/active_support/core_ext/module/remove_method.rb#14 def remove_possible_singleton_method(method); end # Marks the named method as intended to be redefined, if it exists. # Suppresses the Ruby method redefinition warning. Prefer # #redefine_method where possible. # - # source://activesupport/lib/active_support/core_ext/module/redefine_method.rb#7 + # source://activesupport//lib/active_support/core_ext/module/redefine_method.rb#7 def silence_redefinition_of_method(method); end # Defines both class and instance accessors for class attributes. @@ -18881,7 +18990,7 @@ class Module # multiple threads can access the default value, non-frozen default values # will be duped and frozen. # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#170 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#174 def thread_cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates class and instance reader methods. @@ -18911,7 +19020,7 @@ class Module # # Current.new.user # => NoMethodError # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#41 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#81 def thread_cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates a class and instance writer methods to @@ -18933,7 +19042,7 @@ class Module # # Current.new.user = "DHH" # => NoMethodError # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#101 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#123 def thread_cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil)); end # Defines both class and instance accessors for class attributes. @@ -18982,7 +19091,7 @@ class Module # multiple threads can access the default value, non-frozen default values # will be duped and frozen. # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#170 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#170 def thread_mattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates class and instance reader methods. @@ -19012,7 +19121,7 @@ class Module # # Current.new.user # => NoMethodError # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#41 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#41 def thread_mattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates a class and instance writer methods to @@ -19034,28 +19143,28 @@ class Module # # Current.new.user = "DHH" # => NoMethodError # - # source://activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#101 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#101 def thread_mattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil)); end private - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#30 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#30 def attr_internal_define(attr_name, type); end - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#26 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#26 def attr_internal_ivar_name(attr); end class << self # Returns the value of attribute attr_internal_naming_format. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#22 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#22 def attr_internal_naming_format; end # Sets the attribute attr_internal_naming_format # # @param value the value to set the attribute attr_internal_naming_format to. # - # source://activesupport/lib/active_support/core_ext/module/attr_internal.rb#22 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#22 def attr_internal_naming_format=(_arg0); end end end @@ -19167,7 +19276,7 @@ end # concerning supports a prepend: true argument which will prepend the # concern instead of using include for it. # -# source://activesupport/lib/active_support/core_ext/module/concerning.rb#112 +# source://activesupport//lib/active_support/core_ext/module/concerning.rb#112 module Module::Concerning # A low-cruft shortcut to define a concern. # @@ -19183,31 +19292,31 @@ module Module::Concerning # ... # end # - # source://activesupport/lib/active_support/core_ext/module/concerning.rb#132 + # source://activesupport//lib/active_support/core_ext/module/concerning.rb#132 def concern(topic, &module_definition); end # Define a new concern and mix it in. # - # source://activesupport/lib/active_support/core_ext/module/concerning.rb#114 + # source://activesupport//lib/active_support/core_ext/module/concerning.rb#114 def concerning(topic, prepend: T.unsafe(nil), &block); end end -# source://activesupport/lib/active_support/core_ext/module/delegation.rb#13 +# source://activesupport//lib/active_support/core_ext/module/delegation.rb#13 Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/module/delegation.rb#14 +# source://activesupport//lib/active_support/core_ext/module/delegation.rb#14 Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set) # Error generated by +delegate+ when a method is called on +nil+ and +allow_nil+ # option is not used. # -# source://activesupport/lib/active_support/core_ext/module/delegation.rb#8 +# source://activesupport//lib/active_support/core_ext/module/delegation.rb#8 class Module::DelegationError < ::NoMethodError; end -# source://activesupport/lib/active_support/core_ext/module/delegation.rb#10 +# source://activesupport//lib/active_support/core_ext/module/delegation.rb#10 Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/name_error.rb#3 +# source://activesupport//lib/active_support/core_ext/name_error.rb#3 class NameError < ::StandardError include ::ErrorHighlight::CoreExt include ::DidYouMean::Correctable @@ -19221,7 +19330,7 @@ class NameError < ::StandardError # end # # => "HelloWorld" # - # source://activesupport/lib/active_support/core_ext/name_error.rb#12 + # source://activesupport//lib/active_support/core_ext/name_error.rb#12 def missing_name; end # Was this exception raised because the given name was missing? @@ -19235,21 +19344,21 @@ class NameError < ::StandardError # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/name_error.rb#44 + # source://activesupport//lib/active_support/core_ext/name_error.rb#44 def missing_name?(name); end private - # source://activesupport/lib/active_support/core_ext/name_error.rb#56 + # source://activesupport//lib/active_support/core_ext/name_error.rb#56 def real_mod_name(mod); end end -# source://activesupport/lib/active_support/core_ext/name_error.rb#53 +# source://activesupport//lib/active_support/core_ext/name_error.rb#53 NameError::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod) -# source://activesupport/lib/active_support/core_ext/object/blank.rb#50 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#50 class NilClass - # source://activesupport/lib/active_support/core_ext/object/json.rb#95 + # source://activesupport//lib/active_support/core_ext/object/json.rb#95 def as_json(options = T.unsafe(nil)); end # +nil+ is blank: @@ -19258,12 +19367,12 @@ class NilClass # # @return [true] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#56 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#56 def blank?; end # Returns +self+. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#20 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#20 def to_param; end # Calling +try+ on +nil+ always returns +nil+. @@ -19277,22 +19386,22 @@ class NilClass # With +try+ # @person.try(:children).try(:first).try(:name) # - # source://activesupport/lib/active_support/core_ext/object/try.rb#148 + # source://activesupport//lib/active_support/core_ext/object/try.rb#148 def try(*_arg0); end # Calling +try!+ on +nil+ always returns +nil+. # # nil.try!(:name) # => nil # - # source://activesupport/lib/active_support/core_ext/object/try.rb#155 + # source://activesupport//lib/active_support/core_ext/object/try.rb#155 def try!(*_arg0); end end -# source://activesupport/lib/active_support/core_ext/object/blank.rb#134 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#134 class Numeric include ::Comparable - # source://activesupport/lib/active_support/core_ext/object/json.rb#113 + # source://activesupport//lib/active_support/core_ext/object/json.rb#113 def as_json(options = T.unsafe(nil)); end # No number is blank: @@ -19302,96 +19411,96 @@ class Numeric # # @return [false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#141 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#141 def blank?; end # Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes # # 2.bytes # => 2 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#15 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#18 def byte; end # Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes # # 2.bytes # => 2 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#15 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#15 def bytes; end # Returns a Duration instance matching the number of days provided. # # 2.days # => 2 days # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#37 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#40 def day; end # Returns a Duration instance matching the number of days provided. # # 2.days # => 2 days # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#37 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#37 def days; end # Returns the number of bytes equivalent to the exabytes provided. # # 2.exabytes # => 2_305_843_009_213_693_952 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#63 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#66 def exabyte; end # Returns the number of bytes equivalent to the exabytes provided. # # 2.exabytes # => 2_305_843_009_213_693_952 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#63 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#63 def exabytes; end # Returns a Duration instance matching the number of fortnights provided. # # 2.fortnights # => 4 weeks # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#53 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#56 def fortnight; end # Returns a Duration instance matching the number of fortnights provided. # # 2.fortnights # => 4 weeks # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#53 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#53 def fortnights; end # Returns the number of bytes equivalent to the gigabytes provided. # # 2.gigabytes # => 2_147_483_648 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#39 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#42 def gigabyte; end # Returns the number of bytes equivalent to the gigabytes provided. # # 2.gigabytes # => 2_147_483_648 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#39 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#39 def gigabytes; end # Returns a Duration instance matching the number of hours provided. # # 2.hours # => 2 hours # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#29 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#32 def hour; end # Returns a Duration instance matching the number of hours provided. # # 2.hours # => 2 hours # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#29 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#29 def hours; end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#13 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#13 def html_safe?; end # Returns the number of milliseconds equivalent to the seconds provided. @@ -19400,141 +19509,141 @@ class Numeric # 2.in_milliseconds # => 2000 # 1.hour.in_milliseconds # => 3600000 # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#63 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#63 def in_milliseconds; end # Returns the number of bytes equivalent to the kilobytes provided. # # 2.kilobytes # => 2048 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#23 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#26 def kilobyte; end # Returns the number of bytes equivalent to the kilobytes provided. # # 2.kilobytes # => 2048 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#23 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#23 def kilobytes; end # Returns the number of bytes equivalent to the megabytes provided. # # 2.megabytes # => 2_097_152 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#31 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#34 def megabyte; end # Returns the number of bytes equivalent to the megabytes provided. # # 2.megabytes # => 2_097_152 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#31 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#31 def megabytes; end # Returns a Duration instance matching the number of minutes provided. # # 2.minutes # => 2 minutes # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#21 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#24 def minute; end # Returns a Duration instance matching the number of minutes provided. # # 2.minutes # => 2 minutes # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#21 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#21 def minutes; end # Returns the number of bytes equivalent to the petabytes provided. # # 2.petabytes # => 2_251_799_813_685_248 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#55 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#58 def petabyte; end # Returns the number of bytes equivalent to the petabytes provided. # # 2.petabytes # => 2_251_799_813_685_248 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#55 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#55 def petabytes; end # Returns a Duration instance matching the number of seconds provided. # # 2.seconds # => 2 seconds # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#13 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#16 def second; end # Returns a Duration instance matching the number of seconds provided. # # 2.seconds # => 2 seconds # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#13 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#13 def seconds; end # Returns the number of bytes equivalent to the terabytes provided. # # 2.terabytes # => 2_199_023_255_552 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#47 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#50 def terabyte; end # Returns the number of bytes equivalent to the terabytes provided. # # 2.terabytes # => 2_199_023_255_552 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#47 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#47 def terabytes; end # Returns a Duration instance matching the number of weeks provided. # # 2.weeks # => 2 weeks # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#45 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#48 def week; end # Returns a Duration instance matching the number of weeks provided. # # 2.weeks # => 2 weeks # - # source://activesupport/lib/active_support/core_ext/numeric/time.rb#45 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#45 def weeks; end # Returns the number of bytes equivalent to the zettabytes provided. # # 2.zettabytes # => 2_361_183_241_434_822_606_848 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#71 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#74 def zettabyte; end # Returns the number of bytes equivalent to the zettabytes provided. # # 2.zettabytes # => 2_361_183_241_434_822_606_848 # - # source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#71 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#71 def zettabytes; end end -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#9 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#9 Numeric::EXABYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#6 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#6 Numeric::GIGABYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#4 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#4 Numeric::KILOBYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#5 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#5 Numeric::MEGABYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#8 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#8 Numeric::PETABYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#7 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#7 Numeric::TERABYTE = T.let(T.unsafe(nil), Integer) -# source://activesupport/lib/active_support/core_ext/numeric/bytes.rb#10 +# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#10 Numeric::ZETTABYTE = T.let(T.unsafe(nil), Integer) # -- @@ -19556,7 +19665,7 @@ Numeric::ZETTABYTE = T.let(T.unsafe(nil), Integer) # using that rescue idiom. # ++ # -# source://activesupport/lib/active_support/core_ext/object/blank.rb#5 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#5 class Object < ::BasicObject include ::ActiveSupport::ToJsonWithActiveSupportEncoder include ::ActiveSupport::Dependencies::RequireDependency @@ -19595,10 +19704,10 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/object/acts_like.rb#33 + # source://activesupport//lib/active_support/core_ext/object/acts_like.rb#33 def acts_like?(duck); end - # source://activesupport/lib/active_support/core_ext/object/json.rb#59 + # source://activesupport//lib/active_support/core_ext/object/json.rb#59 def as_json(options = T.unsafe(nil)); end # An object is blank if it's false, empty, or a whitespace string. @@ -19614,7 +19723,7 @@ class Object < ::BasicObject # # @return [true, false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#18 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#18 def blank?; end # Returns a deep copy of object if it's duplicable. If it's @@ -19627,7 +19736,7 @@ class Object < ::BasicObject # object.instance_variable_defined?(:@a) # => false # dup.instance_variable_defined?(:@a) # => true # - # source://activesupport/lib/active_support/core_ext/object/deep_dup.rb#15 + # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#15 def deep_dup; end # Can you safely dup this object? @@ -19637,12 +19746,12 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/object/duplicable.rb#26 + # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#26 def duplicable?; end # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#7 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#7 def html_safe?; end # Returns true if this object is included in the argument. @@ -19659,7 +19768,7 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/object/inclusion.rb#15 + # source://activesupport//lib/active_support/core_ext/object/inclusion.rb#15 def in?(another_object); end # Returns a hash with string keys that maps instance variable names without "@" to their @@ -19673,7 +19782,7 @@ class Object < ::BasicObject # # C.new(0, 1).instance_values # => {"x" => 0, "y" => 1} # - # source://activesupport/lib/active_support/core_ext/object/instance_variables.rb#14 + # source://activesupport//lib/active_support/core_ext/object/instance_variables.rb#14 def instance_values; end # Returns an array of instance variable names as strings including "@". @@ -19686,7 +19795,7 @@ class Object < ::BasicObject # # C.new(0, 1).instance_variable_names # => ["@y", "@x"] # - # source://activesupport/lib/active_support/core_ext/object/instance_variables.rb#30 + # source://activesupport//lib/active_support/core_ext/object/instance_variables.rb#30 def instance_variable_names; end # Returns the receiver if it's present otherwise returns +nil+. @@ -19706,7 +19815,7 @@ class Object < ::BasicObject # # @return [Object] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#45 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#45 def presence; end # Returns the receiver if it's included in the argument otherwise returns +nil+. @@ -19718,25 +19827,25 @@ class Object < ::BasicObject # # @return [Object] # - # source://activesupport/lib/active_support/core_ext/object/inclusion.rb#34 + # source://activesupport//lib/active_support/core_ext/object/inclusion.rb#34 def presence_in(another_object); end # An object is present if it's not blank. # # @return [true, false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#25 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#25 def present?; end # Alias of to_s. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#7 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#7 def to_param; end # Converts an object into a string suitable for use as a URL query string, # using the given key as the param name. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#13 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#13 def to_query(key); end # Set and restore public attributes around a block. @@ -19760,7 +19869,7 @@ class Object < ::BasicObject # It can be used on any object as long as both the reader and writer methods # are public. # - # source://activesupport/lib/active_support/core_ext/object/with.rb#24 + # source://activesupport//lib/active_support/core_ext/object/with.rb#24 def with(**attributes); end # An elegant way to factor duplication out of options passed to a series of @@ -19849,13 +19958,13 @@ class Object < ::BasicObject # styled.button_tag "I'm red too!" # # => # - # source://activesupport/lib/active_support/core_ext/object/with_options.rb#92 + # source://activesupport//lib/active_support/core_ext/object/with_options.rb#92 def with_options(options, &block); end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#230 +# source://activesupport//lib/active_support/core_ext/object/json.rb#230 class Pathname - # source://activesupport/lib/active_support/core_ext/object/json.rb#231 + # source://activesupport//lib/active_support/core_ext/object/json.rb#231 def as_json(options = T.unsafe(nil)); end # An Pathname is blank if it's empty: @@ -19866,7 +19975,7 @@ class Pathname # # @return [true, false] # - # source://activesupport/lib/active_support/core_ext/pathname/blank.rb#13 + # source://activesupport//lib/active_support/core_ext/pathname/blank.rb#13 def blank?; end # Returns the receiver if the named file exists otherwise returns +nil+. @@ -19884,7 +19993,7 @@ class Pathname # # @return [Pathname] # - # source://activesupport/lib/active_support/core_ext/pathname/existence.rb#20 + # source://activesupport//lib/active_support/core_ext/pathname/existence.rb#20 def existence; end end @@ -19895,49 +20004,55 @@ module Process extend ::ActiveSupport::ForkTracker::ModernCoreExt class << self - # source://activesupport/lib/active_support/fork_tracker.rb#6 + # source://activesupport//lib/active_support/fork_tracker.rb#6 def _fork; end end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#244 +# source://activesupport//lib/active_support/core_ext/object/json.rb#244 class Process::Status - # source://activesupport/lib/active_support/core_ext/object/json.rb#245 + # source://activesupport//lib/active_support/core_ext/object/json.rb#245 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#159 +# source://activesupport//lib/active_support/core_ext/object/json.rb#159 class Range include ::ActiveSupport::RangeWithFormat include ::ActiveSupport::CompareWithRange include ::ActiveSupport::EachTimeWithZone include ::Enumerable - # source://activesupport/lib/active_support/core_ext/range/compare_range.rb#16 + # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#16 def ===(value); end - # source://activesupport/lib/active_support/core_ext/object/json.rb#160 + # source://activesupport//lib/active_support/core_ext/object/json.rb#160 def as_json(options = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/range/each.rb#7 + # source://activesupport//lib/active_support/core_ext/range/each.rb#7 def each(&block); end - # source://activesupport/lib/active_support/core_ext/range/compare_range.rb#41 + # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41 def include?(value); end - # source://activesupport/lib/active_support/core_ext/range/each.rb#12 + # @raise [TypeError] + # @return [Boolean] + # + # source://activesupport//lib/active_support/core_ext/range/overlap.rb#39 + def overlaps?(_arg0); end + + # source://activesupport//lib/active_support/core_ext/range/each.rb#12 def step(n = T.unsafe(nil), &block); end # Optimize range sum to use arithmetic progression if a block is not given and # we have a range of numeric values. # - # source://activesupport/lib/active_support/core_ext/enumerable.rb#236 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#236 def sum(initial_value = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#141 +# source://activesupport//lib/active_support/core_ext/object/json.rb#141 class Regexp - # source://activesupport/lib/active_support/core_ext/object/json.rb#142 + # source://activesupport//lib/active_support/core_ext/object/json.rb#142 def as_json(options = T.unsafe(nil)); end # Returns +true+ if the regexp has the multiline flag set. @@ -19950,28 +20065,28 @@ class Regexp # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/regexp.rb#11 + # source://activesupport//lib/active_support/core_ext/regexp.rb#11 def multiline?; end end -# source://activesupport/lib/active_support/core_ext/securerandom.rb#5 +# source://activesupport//lib/active_support/core_ext/securerandom.rb#5 module SecureRandom class << self - # source://activesupport/lib/active_support/core_ext/securerandom.rb#45 + # source://activesupport//lib/active_support/core_ext/securerandom.rb#45 def base36(n = T.unsafe(nil)); end - # source://activesupport/lib/active_support/core_ext/securerandom.rb#20 + # source://activesupport//lib/active_support/core_ext/securerandom.rb#20 def base58(n = T.unsafe(nil)); end end end -# source://activesupport/lib/active_support/core_ext/securerandom.rb#7 +# source://activesupport//lib/active_support/core_ext/securerandom.rb#7 SecureRandom::BASE36_ALPHABET = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/securerandom.rb#6 +# source://activesupport//lib/active_support/core_ext/securerandom.rb#6 SecureRandom::BASE58_ALPHABET = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/object/duplicable.rb#62 +# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#62 module Singleton mixes_in_class_methods ::Singleton::SingletonClassMethods @@ -19981,7 +20096,7 @@ module Singleton # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/object/duplicable.rb#66 + # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#66 def duplicable?; end end @@ -19990,7 +20105,7 @@ end # # 'ScaleScore'.tableize # => "scale_scores" # -# source://activesupport/lib/active_support/core_ext/object/blank.rb#103 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#103 class String include ::Comparable @@ -19998,10 +20113,10 @@ class String # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/string/behavior.rb#5 + # source://activesupport//lib/active_support/core_ext/string/behavior.rb#5 def acts_like_string?; end - # source://activesupport/lib/active_support/core_ext/object/json.rb#101 + # source://activesupport//lib/active_support/core_ext/object/json.rb#101 def as_json(options = T.unsafe(nil)); end # If you pass a single integer, returns a substring of one character at that @@ -20030,7 +20145,7 @@ class String # str.at("lo") # => "lo" # str.at("ol") # => nil # - # source://activesupport/lib/active_support/core_ext/string/access.rb#29 + # source://activesupport//lib/active_support/core_ext/string/access.rb#29 def at(position); end # A string is blank if it's empty or contains whitespaces only: @@ -20046,7 +20161,7 @@ class String # # @return [true, false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#121 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#121 def blank?; end # By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize @@ -20061,7 +20176,7 @@ class String # # See ActiveSupport::Inflector.camelize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#101 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#111 def camelcase(first_letter = T.unsafe(nil)); end # By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize @@ -20076,7 +20191,7 @@ class String # # See ActiveSupport::Inflector.camelize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#101 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#101 def camelize(first_letter = T.unsafe(nil)); end # Creates a class name from a plural table name like \Rails does for table names to models. @@ -20088,7 +20203,7 @@ class String # # See ActiveSupport::Inflector.classify. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#239 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#239 def classify; end # +constantize+ tries to find a declared constant with the name specified @@ -20101,7 +20216,7 @@ class String # # See ActiveSupport::Inflector.constantize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#73 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#73 def constantize; end # Replaces underscores with dashes in the string. @@ -20110,7 +20225,7 @@ class String # # See ActiveSupport::Inflector.dasherize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#148 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#148 def dasherize; end # Removes the rightmost segment from the constant expression in the string. @@ -20125,7 +20240,7 @@ class String # # See also +demodulize+. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#177 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#177 def deconstantize; end # Removes the module part from the constant expression in the string. @@ -20139,7 +20254,7 @@ class String # # See also +deconstantize+. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#162 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#162 def demodulize; end # Converts the first character to lowercase. @@ -20150,9 +20265,12 @@ class String # # See ActiveSupport::Inflector.downcase_first. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#284 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#284 def downcase_first; end + # source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#5 + def ends_with?(*_arg0); end + # The inverse of String#include?. Returns true if the string # does not include the other string. # @@ -20162,7 +20280,7 @@ class String # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/string/exclude.rb#10 + # source://activesupport//lib/active_support/core_ext/string/exclude.rb#10 def exclude?(string); end # Returns the first character. If a limit is supplied, returns a substring @@ -20176,7 +20294,7 @@ class String # str.first(0) # => "" # str.first(6) # => "hello" # - # source://activesupport/lib/active_support/core_ext/string/access.rb#78 + # source://activesupport//lib/active_support/core_ext/string/access.rb#78 def first(limit = T.unsafe(nil)); end # Creates a foreign key name from a class name. @@ -20189,7 +20307,7 @@ class String # # See ActiveSupport::Inflector.foreign_key. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#297 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#297 def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end # Returns a substring from the given position to the end of the string. @@ -20206,7 +20324,7 @@ class String # str.from(0).to(-1) # => "hello" # str.from(1).to(-2) # => "ell" # - # source://activesupport/lib/active_support/core_ext/string/access.rb#46 + # source://activesupport//lib/active_support/core_ext/string/access.rb#46 def from(position); end # Marks a string as trusted safe. It will be inserted into HTML with no @@ -20215,7 +20333,7 @@ class String # +raw+ helper in views. It is recommended that you use +sanitize+ instead of # this method. It should never be called on user input. # - # source://activesupport/lib/active_support/core_ext/string/output_safety.rb#232 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#232 def html_safe; end # Capitalizes the first word, turns underscores into spaces, and (by default) strips a @@ -20238,13 +20356,13 @@ class String # # See ActiveSupport::Inflector.humanize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#262 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#262 def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end # Converts String to a TimeWithZone in the current zone if Time.zone or Time.zone_default # is set, otherwise converts String to a Time via String#to_time # - # source://activesupport/lib/active_support/core_ext/string/zones.rb#9 + # source://activesupport//lib/active_support/core_ext/string/zones.rb#9 def in_time_zone(zone = T.unsafe(nil)); end # Indents the lines in the receiver: @@ -20276,14 +20394,14 @@ class String # "foo\n\nbar".indent(2) # => " foo\n\n bar" # "foo\n\nbar".indent(2, nil, true) # => " foo\n \n bar" # - # source://activesupport/lib/active_support/core_ext/string/indent.rb#42 + # source://activesupport//lib/active_support/core_ext/string/indent.rb#42 def indent(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end # Same as +indent+, except it indents the receiver in-place. # # Returns the indented string, or +nil+ if there was nothing to indent. # - # source://activesupport/lib/active_support/core_ext/string/indent.rb#7 + # source://activesupport//lib/active_support/core_ext/string/indent.rb#7 def indent!(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end # Wraps the current string in the ActiveSupport::StringInquirer class, @@ -20293,7 +20411,7 @@ class String # env.production? # => true # env.development? # => false # - # source://activesupport/lib/active_support/core_ext/string/inquiry.rb#13 + # source://activesupport//lib/active_support/core_ext/string/inquiry.rb#13 def inquiry; end # Returns +true+ if string has utf_8 encoding. @@ -20306,7 +20424,7 @@ class String # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/string/multibyte.rb#48 + # source://activesupport//lib/active_support/core_ext/string/multibyte.rb#48 def is_utf8?; end # Returns the last character of the string. If a limit is supplied, returns a substring @@ -20320,7 +20438,7 @@ class String # str.last(0) # => "" # str.last(6) # => "hello" # - # source://activesupport/lib/active_support/core_ext/string/access.rb#92 + # source://activesupport//lib/active_support/core_ext/string/access.rb#92 def last(limit = T.unsafe(nil)); end # == Multibyte proxy @@ -20355,7 +20473,7 @@ class String # For more information about the methods defined on the Chars proxy see ActiveSupport::Multibyte::Chars. For # information about how to change the default Multibyte behavior see ActiveSupport::Multibyte. # - # source://activesupport/lib/active_support/core_ext/string/multibyte.rb#37 + # source://activesupport//lib/active_support/core_ext/string/multibyte.rb#37 def mb_chars; end # Replaces special characters in a string so that it may be used as part of a 'pretty' URL. @@ -20393,7 +20511,7 @@ class String # # See ActiveSupport::Inflector.parameterize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#215 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#215 def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end # Returns the plural form of the word in the string. @@ -20420,7 +20538,7 @@ class String # # See ActiveSupport::Inflector.pluralize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#35 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#35 def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end # Returns a new string with all occurrences of the patterns removed. @@ -20429,7 +20547,7 @@ class String # str.remove(" test", /bar/) # => "foo " # str # => "foo bar test" # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#32 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#32 def remove(*patterns); end # Alters the string by removing all occurrences of the patterns. @@ -20437,7 +20555,7 @@ class String # str.remove!(" test", /bar/) # => "foo " # str # => "foo " # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#40 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#40 def remove!(*patterns); end # +safe_constantize+ tries to find a declared constant with the name specified @@ -20450,7 +20568,7 @@ class String # # See ActiveSupport::Inflector.safe_constantize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#86 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#86 def safe_constantize; end # The reverse of +pluralize+, returns the singular form of a word in a string. @@ -20470,7 +20588,7 @@ class String # # See ActiveSupport::Inflector.singularize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#60 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#60 def singularize(locale = T.unsafe(nil)); end # Returns the string, first removing all whitespace on both ends of @@ -20483,7 +20601,7 @@ class String # string }.squish # => "Multi-line string" # " foo bar \n \t boo".squish # => "foo bar boo" # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#13 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#13 def squish; end # Performs a destructive squish. See String#squish. @@ -20491,9 +20609,12 @@ class String # str.squish! # => "foo bar boo" # str # => "foo bar boo" # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#21 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#21 def squish!; end + # source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#4 + def starts_with?(*_arg0); end + # Strips indentation in heredocs. # # For example in @@ -20513,7 +20634,7 @@ class String # Technically, it looks for the least indented non-empty line # in the whole string, and removes that amount of leading whitespace. # - # source://activesupport/lib/active_support/core_ext/string/strip.rb#22 + # source://activesupport//lib/active_support/core_ext/string/strip.rb#22 def strip_heredoc; end # Creates the name of a table like \Rails does for models to table names. This method @@ -20525,7 +20646,7 @@ class String # # See ActiveSupport::Inflector.tableize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#227 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#227 def tableize; end # Capitalizes all the words and replaces some characters in the string to create @@ -20542,7 +20663,7 @@ class String # # See ActiveSupport::Inflector.titleize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#126 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#129 def titlecase(keep_id_suffix: T.unsafe(nil)); end # Capitalizes all the words and replaces some characters in the string to create @@ -20559,7 +20680,7 @@ class String # # See ActiveSupport::Inflector.titleize. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#126 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#126 def titleize(keep_id_suffix: T.unsafe(nil)); end # Returns a substring from the beginning of the string to the given position. @@ -20576,7 +20697,7 @@ class String # str.from(0).to(-1) # => "hello" # str.from(1).to(-2) # => "ell" # - # source://activesupport/lib/active_support/core_ext/string/access.rb#63 + # source://activesupport//lib/active_support/core_ext/string/access.rb#63 def to(position); end # Converts a string to a Date value. @@ -20586,7 +20707,7 @@ class String # "2012-12-13".to_date # => Thu, 13 Dec 2012 # "12/13/2012".to_date # => ArgumentError: invalid date # - # source://activesupport/lib/active_support/core_ext/string/conversions.rb#47 + # source://activesupport//lib/active_support/core_ext/string/conversions.rb#47 def to_date; end # Converts a string to a DateTime value. @@ -20596,7 +20717,7 @@ class String # "2012-12-13 12:50".to_datetime # => Thu, 13 Dec 2012 12:50:00 +0000 # "12/13/2012".to_datetime # => ArgumentError: invalid date # - # source://activesupport/lib/active_support/core_ext/string/conversions.rb#57 + # source://activesupport//lib/active_support/core_ext/string/conversions.rb#57 def to_datetime; end # Converts a string to a Time value. @@ -20615,7 +20736,7 @@ class String # "12/13/2012".to_time # => ArgumentError: argument out of range # "1604326192".to_time # => ArgumentError: argument out of range # - # source://activesupport/lib/active_support/core_ext/string/conversions.rb#22 + # source://activesupport//lib/active_support/core_ext/string/conversions.rb#22 def to_time(form = T.unsafe(nil)); end # Truncates a given +text+ to length truncate_to if +text+ is longer than truncate_to: @@ -20641,7 +20762,7 @@ class String # 'And they found that many people were sleeping better.'.truncate(4, omission: '... (continued)') # # => "... (continued)" # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#70 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#70 def truncate(truncate_to, options = T.unsafe(nil)); end # Truncates +text+ to at most truncate_to bytes in length without @@ -20661,7 +20782,7 @@ class String # # Raises +ArgumentError+ when the bytesize of :omission exceeds truncate_to. # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#101 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#101 def truncate_bytes(truncate_to, omission: T.unsafe(nil)); end # Truncates a given +text+ after a given number of words (words_count): @@ -20679,7 +20800,7 @@ class String # 'And they found that many people were sleeping better.'.truncate_words(5, omission: '... (continued)') # # => "And they found that many... (continued)" # - # source://activesupport/lib/active_support/core_ext/string/filters.rb#142 + # source://activesupport//lib/active_support/core_ext/string/filters.rb#142 def truncate_words(words_count, options = T.unsafe(nil)); end # The reverse of +camelize+. Makes an underscored, lowercase form from the expression in the string. @@ -20691,7 +20812,7 @@ class String # # See ActiveSupport::Inflector.underscore. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#139 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#139 def underscore; end # Converts the first character to uppercase. @@ -20702,74 +20823,80 @@ class String # # See ActiveSupport::Inflector.upcase_first. # - # source://activesupport/lib/active_support/core_ext/string/inflections.rb#273 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#273 def upcase_first; end end -# source://activesupport/lib/active_support/core_ext/object/blank.rb#104 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#104 String::BLANK_RE = T.let(T.unsafe(nil), Regexp) -# source://activesupport/lib/active_support/core_ext/object/blank.rb#105 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#105 String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map) -# source://activesupport/lib/active_support/core_ext/object/json.rb#76 +# source://activesupport//lib/active_support/core_ext/object/json.rb#76 class Struct include ::Enumerable - # source://activesupport/lib/active_support/core_ext/object/json.rb#77 + # source://activesupport//lib/active_support/core_ext/object/json.rb#77 def as_json(options = T.unsafe(nil)); end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#106 +# source://activesupport//lib/active_support/core_ext/object/json.rb#106 class Symbol include ::Comparable - # source://activesupport/lib/active_support/core_ext/object/json.rb#107 + # source://activesupport//lib/active_support/core_ext/object/json.rb#107 def as_json(options = T.unsafe(nil)); end + + # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#5 + def ends_with?(*_arg0); end + + # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#4 + def starts_with?(*_arg0); end end class Thread - # source://activesupport/lib/active_support/isolated_execution_state.rb#9 + # source://activesupport//lib/active_support/isolated_execution_state.rb#9 def active_support_execution_state; end - # source://activesupport/lib/active_support/isolated_execution_state.rb#9 + # source://activesupport//lib/active_support/isolated_execution_state.rb#9 def active_support_execution_state=(_arg0); end end -# source://activesupport/lib/active_support/core_ext/thread/backtrace/location.rb#3 +# source://activesupport//lib/active_support/core_ext/thread/backtrace/location.rb#3 class Thread::Backtrace::Location - # source://activesupport/lib/active_support/core_ext/thread/backtrace/location.rb#5 + # source://activesupport//lib/active_support/core_ext/thread/backtrace/location.rb#5 def spot(ex); end end -# source://activesupport/lib/active_support/core_ext/object/blank.rb#146 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#146 class Time include ::Comparable include ::DateAndTime::Zones include ::DateAndTime::Calculations include ::DateAndTime::Compatibility - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#300 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#308 def +(other); end # Time#- can also be used to determine the number of seconds between two Time instances. # We're layering on additional behavior so that ActiveSupport::TimeWithZone instances # are coerced into values that Time#- will recognize # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#323 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#318 def -(other); end # Layers additional behavior on Time#<=> so that DateTime and ActiveSupport::TimeWithZone instances # can be chronologically compared with a Time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#332 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#343 def <=>(other); end # Duck-types as a Time-like class. See Object#acts_like?. # # @return [Boolean] # - # source://activesupport/lib/active_support/core_ext/time/acts_like.rb#7 + # source://activesupport//lib/active_support/core_ext/time/acts_like.rb#7 def acts_like_time?; end # Uses Date to provide precise Time calculations for years, months, and days @@ -20788,80 +20915,80 @@ class Time # largest to smallest. This order can affect the result around the end of a # month. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#202 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#202 def advance(options); end # Returns a new Time representing the time a number of seconds ago, this is basically a wrapper around the Numeric extension # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#228 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#228 def ago(seconds); end - # source://activesupport/lib/active_support/core_ext/object/json.rb#195 + # source://activesupport//lib/active_support/core_ext/object/json.rb#195 def as_json(options = T.unsafe(nil)); end # Returns a new Time representing the start of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#246 def at_beginning_of_day; end # Returns a new Time representing the start of the hour (x:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#270 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#273 def at_beginning_of_hour; end # Returns a new Time representing the start of the minute (x:xx:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#286 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#289 def at_beginning_of_minute; end # Returns a new Time representing the end of the day, 23:59:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#259 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#267 def at_end_of_day; end # Returns a new Time representing the end of the hour, x:59:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#276 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#283 def at_end_of_hour; end # Returns a new Time representing the end of the minute, x:xx:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#292 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#298 def at_end_of_minute; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#254 def at_midday; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#256 def at_middle_of_day; end # Returns a new Time representing the start of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#245 def at_midnight; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#255 def at_noon; end # Returns a new Time representing the start of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#241 def beginning_of_day; end # Returns a new Time representing the start of the hour (x:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#270 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#270 def beginning_of_hour; end # Returns a new Time representing the start of the minute (x:xx:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#286 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#286 def beginning_of_minute; end # No Time is blank: @@ -20870,7 +20997,7 @@ class Time # # @return [false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#152 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#152 def blank?; end # Returns a new Time where one or more of the elements have been changed according @@ -20888,127 +21015,144 @@ class Time # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#138 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#138 def change(options); end # Layers additional behavior on Time#<=> so that DateTime and ActiveSupport::TimeWithZone instances # can be chronologically compared with a Time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#332 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#332 def compare_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#342 + def compare_without_coercion(_arg0); end + # Returns a new Time representing the end of the day, 23:59:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#259 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#259 def end_of_day; end # Returns a new Time representing the end of the hour, x:59:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#276 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#276 def end_of_hour; end # Returns a new Time representing the end of the minute, x:xx:59.999999 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#292 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#292 def end_of_minute; end # Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances # can be eql? to an equivalent Time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#347 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#353 def eql?(other); end # Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances # can be eql? to an equivalent Time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#347 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#347 def eql_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#352 + def eql_without_coercion(_arg0); end + # Returns a formatted string of the offset from UTC, or an alternative # string if the time zone is already UTC. # # Time.local(2000).formatted_offset # => "-06:00" # Time.local(2000).formatted_offset(false) # => "-0600" # - # source://activesupport/lib/active_support/core_ext/time/conversions.rb#69 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#69 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end # Returns a new Time representing the time a number of seconds since the instance time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#233 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#238 def in(seconds); end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#252 def midday; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 def middle_of_day; end # Returns a new Time representing the start of the day (0:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#244 def midnight; end # Time#- can also be used to determine the number of seconds between two Time instances. # We're layering on additional behavior so that ActiveSupport::TimeWithZone instances # are coerced into values that Time#- will recognize # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#323 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#323 def minus_with_coercion(other); end - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#310 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#310 def minus_with_duration(other); end - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#310 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#327 def minus_without_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#317 + def minus_without_duration(_arg0); end + # Returns a new time the specified number of days in the future. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#361 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#361 def next_day(days = T.unsafe(nil)); end # Returns a new time the specified number of months in the future. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#371 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#371 def next_month(months = T.unsafe(nil)); end # Returns a new time the specified number of years in the future. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#381 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#381 def next_year(years = T.unsafe(nil)); end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#253 def noon; end - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#300 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#300 def plus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#307 + def plus_without_duration(_arg0); end + # Returns a new time the specified number of days ago. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#356 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#356 def prev_day(days = T.unsafe(nil)); end # Returns a new time the specified number of months ago. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#366 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#366 def prev_month(months = T.unsafe(nil)); end # Returns a new time the specified number of years ago. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#376 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#376 def prev_year(years = T.unsafe(nil)); end + # Aliased to +xmlschema+ for compatibility with +DateTime+ + # + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#74 + def rfc3339(fraction_digits = T.unsafe(nil)); end + # Returns the fraction of a second as a +Rational+ # # Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2) # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#107 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#107 def sec_fraction; end # Returns the number of seconds since 00:00:00. @@ -21017,7 +21161,7 @@ class Time # Time.new(2012, 8, 29, 12, 34, 56).seconds_since_midnight # => 45296.0 # Time.new(2012, 8, 29, 23, 59, 59).seconds_since_midnight # => 86399.0 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#91 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#91 def seconds_since_midnight; end # Returns the number of seconds until 23:59:59. @@ -21026,15 +21170,15 @@ class Time # Time.new(2012, 8, 29, 12, 34, 56).seconds_until_end_of_day # => 41103 # Time.new(2012, 8, 29, 23, 59, 59).seconds_until_end_of_day # => 0 # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#100 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#100 def seconds_until_end_of_day; end # Returns a new Time representing the time a number of seconds since the instance time # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#233 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#233 def since(seconds); end - # source://activesupport/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#61 def to_default_s(*args, **_arg1, &block); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -21063,7 +21207,7 @@ class Time # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = ->(time) { time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/time/conversions.rb#53 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#60 def to_formatted_s(format = T.unsafe(nil)); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -21092,48 +21236,51 @@ class Time # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = ->(time) { time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport/lib/active_support/core_ext/time/conversions.rb#53 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#53 def to_fs(format = T.unsafe(nil)); end # Either return +self+ or the time in the local system timezone depending # on the setting of +ActiveSupport.to_time_preserves_timezone+. # - # source://activesupport/lib/active_support/core_ext/time/compatibility.rb#13 + # source://activesupport//lib/active_support/core_ext/time/compatibility.rb#9 def to_time; end class << self # Overriding case equality method so that it returns true for ActiveSupport::TimeWithZone instances # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#18 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#18 def ===(other); end # Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime # instances can be used when called with a single argument # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#45 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#60 def at(*args, **kwargs); end # Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime # instances can be used when called with a single argument # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#45 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#45 def at_with_coercion(*args, **kwargs); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#59 + def at_without_coercion(time, subsec = T.unsafe(nil), unit = T.unsafe(nil), in: T.unsafe(nil)); end + # Returns Time.zone.now when Time.zone or config.time_zone are set, otherwise just returns Time.now. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#39 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#39 def current; end # Returns the number of days in the given month. # If no year is specified, it will use the current year. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#24 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#24 def days_in_month(month, year = T.unsafe(nil)); end # Returns the number of days in the given year. # If no year is specified, it will use the current year. # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#34 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#34 def days_in_year(year = T.unsafe(nil)); end # Returns a TimeZone instance matching the time zone provided. @@ -21143,7 +21290,7 @@ class Time # Time.find_zone "America/New_York" # => # # Time.find_zone "NOT-A-TIMEZONE" # => nil # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#93 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#93 def find_zone(time_zone); end # Returns a TimeZone instance matching the time zone provided. @@ -21157,7 +21304,7 @@ class Time # Time.find_zone! false # => false # Time.find_zone! "NOT-A-TIMEZONE" # => ArgumentError: Invalid Timezone: NOT-A-TIMEZONE # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#81 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#81 def find_zone!(time_zone); end # Creates a +Time+ instance from an RFC 3339 string. @@ -21170,7 +21317,7 @@ class Time # # @raise [ArgumentError] # - # source://activesupport/lib/active_support/core_ext/time/calculations.rb#69 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#69 def rfc3339(str); end # Allows override of Time.zone locally inside supplied block; @@ -21190,13 +21337,13 @@ class Time # attributes that have been read before the block will remain in # the application's default timezone. # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#61 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#61 def use_zone(time_zone); end # Returns the TimeZone for the current request, if this has been set (via Time.zone=). # If Time.zone has not been set for the current request, returns the TimeZone specified in config.time_zone. # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#14 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#14 def zone; end # Sets Time.zone to a TimeZone object for the current request/thread. @@ -21223,32 +21370,32 @@ class Time # end # end # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#41 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#41 def zone=(time_zone); end # Returns the value of attribute zone_default. # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#10 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#10 def zone_default; end # Sets the attribute zone_default # # @param value the value to set the attribute zone_default to. # - # source://activesupport/lib/active_support/core_ext/time/zones.rb#10 + # source://activesupport//lib/active_support/core_ext/time/zones.rb#10 def zone_default=(_arg0); end end end -# source://activesupport/lib/active_support/core_ext/time/calculations.rb#14 +# source://activesupport//lib/active_support/core_ext/time/calculations.rb#14 Time::COMMON_YEAR_DAYS_IN_MONTH = T.let(T.unsafe(nil), Array) -# source://activesupport/lib/active_support/core_ext/time/conversions.rb#8 +# source://activesupport//lib/active_support/core_ext/time/conversions.rb#8 Time::DATE_FORMATS = T.let(T.unsafe(nil), Hash) -# source://activesupport/lib/active_support/core_ext/object/blank.rb#72 +# source://activesupport//lib/active_support/core_ext/object/blank.rb#72 class TrueClass - # source://activesupport/lib/active_support/core_ext/object/json.rb#83 + # source://activesupport//lib/active_support/core_ext/object/json.rb#83 def as_json(options = T.unsafe(nil)); end # +true+ is not blank: @@ -21257,19 +21404,19 @@ class TrueClass # # @return [false] # - # source://activesupport/lib/active_support/core_ext/object/blank.rb#78 + # source://activesupport//lib/active_support/core_ext/object/blank.rb#78 def blank?; end # Returns +self+. # - # source://activesupport/lib/active_support/core_ext/object/to_query.rb#27 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#27 def to_param; end end -# source://activesupport/lib/active_support/core_ext/object/json.rb#224 +# source://activesupport//lib/active_support/core_ext/object/json.rb#224 class URI::Generic include ::URI::RFC2396_REGEXP - # source://activesupport/lib/active_support/core_ext/object/json.rb#225 + # source://activesupport//lib/active_support/core_ext/object/json.rb#225 def as_json(options = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/addressable@2.8.7.rbi b/sorbet/rbi/gems/addressable@2.8.7.rbi index 2b953874c..2270465b4 100644 --- a/sorbet/rbi/gems/addressable@2.8.7.rbi +++ b/sorbet/rbi/gems/addressable@2.8.7.rbi @@ -13,7 +13,7 @@ module Addressable; end # source://addressable//lib/addressable/idna/pure.rb#21 module Addressable::IDNA class << self - # source://addressable//lib/addressable/idna/pure.rb#117 + # source://addressable//lib/addressable/idna/pure.rb#122 def _deprecated_unicode_normalize_kc(value); end # Converts from a Unicode internationalized domain name to an ASCII @@ -28,6 +28,11 @@ module Addressable::IDNA # source://addressable//lib/addressable/idna/pure.rb#93 def to_unicode(input); end + # @deprecated Use {String#unicode_normalize(:nfkc)} instead + # + # source://addressable//lib/addressable/idna/pure.rb#117 + def unicode_normalize_kc(*args, **_arg1, &block); end + private # source://addressable//lib/addressable/idna/pure.rb#140 @@ -197,7 +202,7 @@ class Addressable::Template # otherwise. # @see #== # - # source://addressable//lib/addressable/template.rb#274 + # source://addressable//lib/addressable/template.rb#283 def eql?(template); end # Expands a URI template into a full URI. @@ -332,7 +337,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#607 + # source://addressable//lib/addressable/template.rb#610 def keys; end # Extracts match data from the URI using a URI Template pattern. @@ -413,7 +418,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#607 + # source://addressable//lib/addressable/template.rb#611 def names; end # Expands a URI template into another URI template. @@ -651,7 +656,7 @@ class Addressable::Template::MatchData # Note that this list will include nils for any variables which # were in the Template, but did not appear in the URI. # - # source://addressable//lib/addressable/template.rb#143 + # source://addressable//lib/addressable/template.rb#149 def captures; end # Returns a String representation of the MatchData's state. @@ -665,7 +670,7 @@ class Addressable::Template::MatchData # Note that this list will include variables which do not appear # in the mapping because they were not present in URI. # - # source://addressable//lib/addressable/template.rb#132 + # source://addressable//lib/addressable/template.rb#135 def keys; end # @return [Hash] The mapping that resulted from the match. @@ -680,14 +685,14 @@ class Addressable::Template::MatchData # Note that this list will include variables which do not appear # in the mapping because they were not present in URI. # - # source://addressable//lib/addressable/template.rb#132 + # source://addressable//lib/addressable/template.rb#136 def names; end # Dummy method for code expecting a ::MatchData instance # # @return [String] An empty string. # - # source://addressable//lib/addressable/template.rb#222 + # source://addressable//lib/addressable/template.rb#225 def post_match; end # Dummy method for code expecting a ::MatchData instance @@ -699,7 +704,7 @@ class Addressable::Template::MatchData # @return [String] The matched URI as String. # - # source://addressable//lib/addressable/template.rb#191 + # source://addressable//lib/addressable/template.rb#194 def string; end # @return [Addressable::Template] The Template used for the match. @@ -796,7 +801,7 @@ class Addressable::URI # @param The [String, Addressable::URI, #to_str] URI to join with. # @return [Addressable::URI] The joined URI. # - # source://addressable//lib/addressable/uri.rb#1889 + # source://addressable//lib/addressable/uri.rb#1982 def +(uri); end # Returns true if the URI objects are equal. This method @@ -1400,7 +1405,7 @@ class Addressable::URI # # @return [String] The URI's String representation. # - # source://addressable//lib/addressable/uri.rb#2341 + # source://addressable//lib/addressable/uri.rb#2361 def to_str; end # The user component for this URI. @@ -1568,7 +1573,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#616 + # source://addressable//lib/addressable/uri.rb#651 def escape(uri, return_type = T.unsafe(nil)); end # Percent encodes a URI component. @@ -1601,7 +1606,7 @@ class Addressable::URI # character_class. # @return [String] The encoded component. # - # source://addressable//lib/addressable/uri.rb#403 + # source://addressable//lib/addressable/uri.rb#446 def escape_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end # Encodes a set of key/value pairs according to the rules for the @@ -1777,7 +1782,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#502 def unencode_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Unencodes any percent encoded characters within a URI component. @@ -1796,7 +1801,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#501 def unescape(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Unencodes any percent encoded characters within a URI component. @@ -1815,7 +1820,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#503 def unescape_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end end end diff --git a/sorbet/rbi/gems/ansi@1.5.0.rbi b/sorbet/rbi/gems/ansi@1.5.0.rbi index 7fc7dfd9b..7cf6aca2a 100644 --- a/sorbet/rbi/gems/ansi@1.5.0.rbi +++ b/sorbet/rbi/gems/ansi@1.5.0.rbi @@ -59,7 +59,7 @@ module ANSI::Code # Move cursor left a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#149 + # source://ansi//lib/ansi/code.rb#152 def back(spaces = T.unsafe(nil)); end # source://ansi//lib/ansi/code.rb#70 @@ -131,7 +131,7 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#176 + # source://ansi//lib/ansi/code.rb#226 def color(*codes); end # source://ansi//lib/ansi/code.rb#70 @@ -171,7 +171,7 @@ module ANSI::Code # Move cursor right a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#155 + # source://ansi//lib/ansi/code.rb#158 def forward(spaces = T.unsafe(nil)); end # source://ansi//lib/ansi/code.rb#70 @@ -317,7 +317,7 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#176 + # source://ansi//lib/ansi/code.rb#214 def style(*codes); end # Remove ANSI codes from string or block value. @@ -335,7 +335,7 @@ module ANSI::Code # @param string [String] String from which to remove ANSI codes. # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#201 + # source://ansi//lib/ansi/code.rb#232 def uncolor(string = T.unsafe(nil)); end # Remove ANSI codes from string or block value. @@ -345,7 +345,7 @@ module ANSI::Code # @param string [String] String from which to remove ANSI codes. # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#201 + # source://ansi//lib/ansi/code.rb#220 def unstyle(string = T.unsafe(nil)); end # Move cursor up a specified number of spaces. diff --git a/sorbet/rbi/gems/ast@2.4.2.rbi b/sorbet/rbi/gems/ast@2.4.2.rbi index e0ae88ef3..537ea7f6e 100644 --- a/sorbet/rbi/gems/ast@2.4.2.rbi +++ b/sorbet/rbi/gems/ast@2.4.2.rbi @@ -77,14 +77,14 @@ class AST::Node # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#168 + # source://ast//lib/ast/node.rb#172 def +(array); end # Appends `element` to `children` and returns the resulting node. # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#177 + # source://ast//lib/ast/node.rb#181 def <<(element); end # Compares `self` to `other`, possibly converting with `to_ast`. Only @@ -123,7 +123,7 @@ class AST::Node # # @return self # - # source://ast//lib/ast/node.rb#115 + # source://ast//lib/ast/node.rb#118 def clone; end # Concatenates `array` with `children` and returns the resulting node. @@ -186,7 +186,7 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#56 + # source://ast//lib/ast/node.rb#57 def to_a; end # @return [AST::Node] self @@ -199,7 +199,7 @@ class AST::Node # @param indent [Integer] Base indentation level. # @return [String] # - # source://ast//lib/ast/node.rb#187 + # source://ast//lib/ast/node.rb#204 def to_s(indent = T.unsafe(nil)); end # Converts `self` to a pretty-printed s-expression. @@ -266,6 +266,7 @@ class AST::Node private + # source://ast//lib/ast/node.rb#107 def original_dup; end end diff --git a/sorbet/rbi/gems/base64@0.2.0.rbi b/sorbet/rbi/gems/base64@0.2.0.rbi index 087b64e5a..c33e78e42 100644 --- a/sorbet/rbi/gems/base64@0.2.0.rbi +++ b/sorbet/rbi/gems/base64@0.2.0.rbi @@ -185,6 +185,8 @@ # # Base64.encode64("\n\n\n") # => "CgoK\n" # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" +# +# source://base64//lib/base64.rb#184 module Base64 private @@ -206,7 +208,7 @@ module Base64 # Base64.decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.decode64("MDEyMzQ1Njc==") # => "01234567" # - # source://base64//base64.rb#241 + # source://base64//lib/base64.rb#241 def decode64(str); end # Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+. @@ -238,7 +240,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" # - # source://base64//base64.rb#219 + # source://base64//lib/base64.rb#219 def encode64(bin); end # Returns a string containing the decoding of an RFC-2045-compliant @@ -261,7 +263,7 @@ module Base64 # Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError # - # source://base64//base64.rb#297 + # source://base64//lib/base64.rb#297 def strict_decode64(str); end # Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+. @@ -292,7 +294,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK" # - # source://base64//base64.rb#273 + # source://base64//lib/base64.rb#273 def strict_encode64(bin); end # Returns the decoding of an RFC-4648-compliant \Base64-encoded string +str+: @@ -311,7 +313,7 @@ module Base64 # Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError. # - # source://base64//base64.rb#351 + # source://base64//lib/base64.rb#351 def urlsafe_decode64(str); end # Returns the RFC-4648-compliant \Base64-encoding of +bin+. @@ -341,7 +343,7 @@ module Base64 # Base64.urlsafe_encode64('*' * 46) # # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg==" # - # source://base64//base64.rb#328 + # source://base64//lib/base64.rb#328 def urlsafe_encode64(bin, padding: T.unsafe(nil)); end class << self @@ -363,7 +365,7 @@ module Base64 # Base64.decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.decode64("MDEyMzQ1Njc==") # => "01234567" # - # source://base64//base64.rb#241 + # source://base64//lib/base64.rb#241 def decode64(str); end # Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+. @@ -395,7 +397,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" # - # source://base64//base64.rb#219 + # source://base64//lib/base64.rb#219 def encode64(bin); end # Returns a string containing the decoding of an RFC-2045-compliant @@ -418,7 +420,7 @@ module Base64 # Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError # - # source://base64//base64.rb#297 + # source://base64//lib/base64.rb#297 def strict_decode64(str); end # Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+. @@ -449,7 +451,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK" # - # source://base64//base64.rb#273 + # source://base64//lib/base64.rb#273 def strict_encode64(bin); end # Returns the decoding of an RFC-4648-compliant \Base64-encoded string +str+: @@ -468,7 +470,7 @@ module Base64 # Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError. # - # source://base64//base64.rb#351 + # source://base64//lib/base64.rb#351 def urlsafe_decode64(str); end # Returns the RFC-4648-compliant \Base64-encoding of +bin+. @@ -498,10 +500,10 @@ module Base64 # Base64.urlsafe_encode64('*' * 46) # # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg==" # - # source://base64//base64.rb#328 + # source://base64//lib/base64.rb#328 def urlsafe_encode64(bin, padding: T.unsafe(nil)); end end end -# source://base64//base64.rb#186 +# source://base64//lib/base64.rb#186 Base64::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/bcrypt@3.1.20.rbi b/sorbet/rbi/gems/bcrypt@3.1.20.rbi index a40921b8a..7a6240380 100644 --- a/sorbet/rbi/gems/bcrypt@3.1.20.rbi +++ b/sorbet/rbi/gems/bcrypt@3.1.20.rbi @@ -218,7 +218,7 @@ class BCrypt::Password < ::String # @password.to_s == @password # => True # @password.to_s == @password.to_s # => True # - # source://bcrypt//lib/bcrypt/password.rb#76 + # source://bcrypt//lib/bcrypt/password.rb#79 def is_password?(secret); end # The salt of the store password hash (including version and cost). diff --git a/sorbet/rbi/gems/benchmark@0.4.0.rbi b/sorbet/rbi/gems/benchmark@0.4.0.rbi index 61e529288..533e4a5d6 100644 --- a/sorbet/rbi/gems/benchmark@0.4.0.rbi +++ b/sorbet/rbi/gems/benchmark@0.4.0.rbi @@ -108,7 +108,7 @@ # >total: 2.880000 0.000000 2.880000 ( 2.883764) # >avg: 0.960000 0.000000 0.960000 ( 0.961255) # -# source://benchmark/lib/benchmark.rb#122 +# source://benchmark//lib/benchmark.rb#122 module Benchmark private @@ -153,7 +153,7 @@ module Benchmark # >total: 2.930000 0.000000 2.930000 ( 2.932889) # >avg: 0.976667 0.000000 0.976667 ( 0.977630) # - # source://benchmark/lib/benchmark.rb#170 + # source://benchmark//lib/benchmark.rb#170 def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end # A simple interface to the #benchmark method, #bm generates sequential @@ -176,7 +176,7 @@ module Benchmark # times: 0.960000 0.000000 0.960000 ( 0.960423) # upto: 0.950000 0.000000 0.950000 ( 0.954864) # - # source://benchmark/lib/benchmark.rb#215 + # source://benchmark//lib/benchmark.rb#215 def bm(label_width = T.unsafe(nil), *labels, &blk); end # Sometimes benchmark results are skewed because code executed @@ -216,7 +216,7 @@ module Benchmark # #bmbm yields a Benchmark::Job object and returns an array of # Benchmark::Tms objects. # - # source://benchmark/lib/benchmark.rb#257 + # source://benchmark//lib/benchmark.rb#257 def bmbm(width = T.unsafe(nil)); end # Returns the time used to execute the given block as a @@ -235,7 +235,7 @@ module Benchmark # # 0.220000 0.000000 0.220000 ( 0.227313) # - # source://benchmark/lib/benchmark.rb#302 + # source://benchmark//lib/benchmark.rb#302 def measure(label = T.unsafe(nil)); end # Returns the elapsed real time used to execute the given block. @@ -244,7 +244,7 @@ module Benchmark # Benchmark.realtime { "a" * 1_000_000_000 } # #=> 0.5098029999935534 # - # source://benchmark/lib/benchmark.rb#321 + # source://benchmark//lib/benchmark.rb#321 def realtime; end class << self @@ -289,7 +289,7 @@ module Benchmark # >total: 2.930000 0.000000 2.930000 ( 2.932889) # >avg: 0.976667 0.000000 0.976667 ( 0.977630) # - # source://benchmark/lib/benchmark.rb#170 + # source://benchmark//lib/benchmark.rb#327 def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end # A simple interface to the #benchmark method, #bm generates sequential @@ -312,7 +312,7 @@ module Benchmark # times: 0.960000 0.000000 0.960000 ( 0.960423) # upto: 0.950000 0.000000 0.950000 ( 0.954864) # - # source://benchmark/lib/benchmark.rb#215 + # source://benchmark//lib/benchmark.rb#327 def bm(label_width = T.unsafe(nil), *labels, &blk); end # Sometimes benchmark results are skewed because code executed @@ -352,7 +352,7 @@ module Benchmark # #bmbm yields a Benchmark::Job object and returns an array of # Benchmark::Tms objects. # - # source://benchmark/lib/benchmark.rb#257 + # source://benchmark//lib/benchmark.rb#327 def bmbm(width = T.unsafe(nil)); end # Returns the time used to execute the given block as a @@ -371,7 +371,7 @@ module Benchmark # # 0.220000 0.000000 0.220000 ( 0.227313) # - # source://benchmark/lib/benchmark.rb#302 + # source://benchmark//lib/benchmark.rb#327 def measure(label = T.unsafe(nil)); end # Returns the elapsed real time used to execute the given block. @@ -380,7 +380,7 @@ module Benchmark # Benchmark.realtime { "a" * 1_000_000_000 } # #=> 0.5098029999935534 # - # source://benchmark/lib/benchmark.rb#321 + # source://benchmark//lib/benchmark.rb#327 def realtime; end end end @@ -388,7 +388,7 @@ end # A Job is a sequence of labelled blocks to be processed by the # Benchmark.bmbm method. It is of little direct interest to the user. # -# source://benchmark/lib/benchmark.rb#333 +# source://benchmark//lib/benchmark.rb#333 class Benchmark::Job # Returns an initialized Job instance. # Usually, one doesn't call this method directly, as new @@ -398,38 +398,38 @@ class Benchmark::Job # # @return [Job] a new instance of Job # - # source://benchmark/lib/benchmark.rb#341 + # source://benchmark//lib/benchmark.rb#341 def initialize(width); end # Registers the given label and block pair in the job list. # # @raise [ArgumentError] # - # source://benchmark/lib/benchmark.rb#349 + # source://benchmark//lib/benchmark.rb#349 def item(label = T.unsafe(nil), &blk); end # An array of 2-element arrays, consisting of label and block pairs. # - # source://benchmark/lib/benchmark.rb#361 + # source://benchmark//lib/benchmark.rb#361 def list; end # Registers the given label and block pair in the job list. # # @raise [ArgumentError] # - # source://benchmark/lib/benchmark.rb#349 + # source://benchmark//lib/benchmark.rb#358 def report(label = T.unsafe(nil), &blk); end # Length of the widest label in the #list. # - # source://benchmark/lib/benchmark.rb#364 + # source://benchmark//lib/benchmark.rb#364 def width; end end # This class is used by the Benchmark.benchmark and Benchmark.bm methods. # It is of little direct interest to the user. # -# source://benchmark/lib/benchmark.rb#371 +# source://benchmark//lib/benchmark.rb#371 class Benchmark::Report # Returns an initialized Report instance. # Usually, one doesn't call this method directly, as new @@ -439,43 +439,43 @@ class Benchmark::Report # # @return [Report] a new instance of Report # - # source://benchmark/lib/benchmark.rb#379 + # source://benchmark//lib/benchmark.rb#379 def initialize(width = T.unsafe(nil), format = T.unsafe(nil)); end # An array of Benchmark::Tms objects representing each item. # - # source://benchmark/lib/benchmark.rb#398 + # source://benchmark//lib/benchmark.rb#398 def format; end # Prints the +label+ and measured time for the block, # formatted by +format+. See Tms#format for the # formatting rules. # - # source://benchmark/lib/benchmark.rb#388 + # source://benchmark//lib/benchmark.rb#388 def item(label = T.unsafe(nil), *format, &blk); end # An array of Benchmark::Tms objects representing each item. # - # source://benchmark/lib/benchmark.rb#398 + # source://benchmark//lib/benchmark.rb#398 def list; end # Prints the +label+ and measured time for the block, # formatted by +format+. See Tms#format for the # formatting rules. # - # source://benchmark/lib/benchmark.rb#388 + # source://benchmark//lib/benchmark.rb#395 def report(label = T.unsafe(nil), *format, &blk); end # An array of Benchmark::Tms objects representing each item. # - # source://benchmark/lib/benchmark.rb#398 + # source://benchmark//lib/benchmark.rb#398 def width; end end # A data object, representing the times associated with a benchmark # measurement. # -# source://benchmark/lib/benchmark.rb#407 +# source://benchmark//lib/benchmark.rb#407 class Benchmark::Tms # Returns an initialized Tms object which has # +utime+ as the user CPU time, +stime+ as the system CPU time, @@ -484,13 +484,13 @@ class Benchmark::Tms # # @return [Tms] a new instance of Tms # - # source://benchmark/lib/benchmark.rb#442 + # source://benchmark//lib/benchmark.rb#442 def initialize(utime = T.unsafe(nil), stime = T.unsafe(nil), cutime = T.unsafe(nil), cstime = T.unsafe(nil), real = T.unsafe(nil), label = T.unsafe(nil)); end # Returns a new Tms object obtained by memberwise multiplication # of the individual times for this Tms object by +x+. # - # source://benchmark/lib/benchmark.rb#490 + # source://benchmark//lib/benchmark.rb#490 def *(x); end # Returns a new Tms object obtained by memberwise summation @@ -498,27 +498,27 @@ class Benchmark::Tms # Tms object. # This method and #/() are useful for taking statistics. # - # source://benchmark/lib/benchmark.rb#477 + # source://benchmark//lib/benchmark.rb#477 def +(other); end # Returns a new Tms object obtained by memberwise subtraction # of the individual times for the +other+ Tms object from those of this # Tms object. # - # source://benchmark/lib/benchmark.rb#484 + # source://benchmark//lib/benchmark.rb#484 def -(other); end # Returns a new Tms object obtained by memberwise division # of the individual times for this Tms object by +x+. # This method and #+() are useful for taking statistics. # - # source://benchmark/lib/benchmark.rb#497 + # source://benchmark//lib/benchmark.rb#497 def /(x); end # Returns a new Tms object whose times are the sum of the times for this # Tms object, plus the time required to execute the code block (+blk+). # - # source://benchmark/lib/benchmark.rb#451 + # source://benchmark//lib/benchmark.rb#451 def add(&blk); end # An in-place version of #add. @@ -526,17 +526,17 @@ class Benchmark::Tms # for this Tms object, plus the time required to execute # the code block (+blk+). # - # source://benchmark/lib/benchmark.rb#461 + # source://benchmark//lib/benchmark.rb#461 def add!(&blk); end # System CPU time of children # - # source://benchmark/lib/benchmark.rb#425 + # source://benchmark//lib/benchmark.rb#425 def cstime; end # User CPU time of children # - # source://benchmark/lib/benchmark.rb#422 + # source://benchmark//lib/benchmark.rb#422 def cutime; end # Returns the contents of this Tms object as @@ -555,22 +555,22 @@ class Benchmark::Tms # If +format+ is not given, FORMAT is used as default value, detailing the # user, system and real elapsed time. # - # source://benchmark/lib/benchmark.rb#516 + # source://benchmark//lib/benchmark.rb#516 def format(format = T.unsafe(nil), *args); end # Label # - # source://benchmark/lib/benchmark.rb#434 + # source://benchmark//lib/benchmark.rb#434 def label; end # Elapsed real time # - # source://benchmark/lib/benchmark.rb#428 + # source://benchmark//lib/benchmark.rb#428 def real; end # System CPU time # - # source://benchmark/lib/benchmark.rb#419 + # source://benchmark//lib/benchmark.rb#419 def stime; end # Returns a new 6-element array, consisting of the @@ -578,27 +578,27 @@ class Benchmark::Tms # user CPU time, children's system CPU time and elapsed # real time. # - # source://benchmark/lib/benchmark.rb#541 + # source://benchmark//lib/benchmark.rb#541 def to_a; end # Returns a hash containing the same data as `to_a`. # - # source://benchmark/lib/benchmark.rb#548 + # source://benchmark//lib/benchmark.rb#548 def to_h; end # Same as #format. # - # source://benchmark/lib/benchmark.rb#531 + # source://benchmark//lib/benchmark.rb#531 def to_s; end # Total time, that is +utime+ + +stime+ + +cutime+ + +cstime+ # - # source://benchmark/lib/benchmark.rb#431 + # source://benchmark//lib/benchmark.rb#431 def total; end # User CPU time # - # source://benchmark/lib/benchmark.rb#416 + # source://benchmark//lib/benchmark.rb#416 def utime; end protected @@ -610,9 +610,9 @@ class Benchmark::Tms # +op+ can be a mathematical operation such as +, -, # *, / # - # source://benchmark/lib/benchmark.rb#569 + # source://benchmark//lib/benchmark.rb#569 def memberwise(op, x); end end -# source://benchmark/lib/benchmark.rb#124 +# source://benchmark//lib/benchmark.rb#124 Benchmark::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/bigdecimal@3.1.9.rbi b/sorbet/rbi/gems/bigdecimal@3.1.9.rbi index 98d1001d8..c275b2f77 100644 --- a/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +++ b/sorbet/rbi/gems/bigdecimal@3.1.9.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem bigdecimal`. -# source://bigdecimal/lib/bigdecimal/util.rb#78 +# source://bigdecimal//lib/bigdecimal/util.rb#78 class BigDecimal < ::Numeric # call-seq: # a.to_d -> bigdecimal @@ -17,7 +17,7 @@ class BigDecimal < ::Numeric # d = BigDecimal("3.14") # d.to_d # => 0.314e1 # - # source://bigdecimal/lib/bigdecimal/util.rb#110 + # source://bigdecimal//lib/bigdecimal/util.rb#110 def to_d; end # call-seq: @@ -31,13 +31,13 @@ class BigDecimal < ::Numeric # d = BigDecimal("3.14") # d.to_digits # => "3.14" # - # source://bigdecimal/lib/bigdecimal/util.rb#90 + # source://bigdecimal//lib/bigdecimal/util.rb#90 def to_digits; end end BigDecimal::VERSION = T.let(T.unsafe(nil), String) -# source://bigdecimal/lib/bigdecimal/util.rb#138 +# source://bigdecimal//lib/bigdecimal/util.rb#138 class Complex < ::Numeric # call-seq: # cmp.to_d -> bigdecimal @@ -57,11 +57,11 @@ class Complex < ::Numeric # # See also Kernel.BigDecimal. # - # source://bigdecimal/lib/bigdecimal/util.rb#157 + # source://bigdecimal//lib/bigdecimal/util.rb#157 def to_d(*args); end end -# source://bigdecimal/lib/bigdecimal/util.rb#171 +# source://bigdecimal//lib/bigdecimal/util.rb#171 class NilClass # call-seq: # nil.to_d -> bigdecimal @@ -73,6 +73,6 @@ class NilClass # # nil.to_d # => 0.0 # - # source://bigdecimal/lib/bigdecimal/util.rb#182 + # source://bigdecimal//lib/bigdecimal/util.rb#182 def to_d; end end diff --git a/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi b/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi index e6a82d005..436d33024 100644 --- a/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +++ b/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi @@ -110,7 +110,7 @@ module Concurrent # # @raise [Transaction::AbortError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#139 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def abort_transaction; end # Run a block that reads and writes `TVar`s as a single atomic transaction. @@ -145,7 +145,7 @@ module Concurrent # end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#82 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def atomically; end # Number of processors cores available for process scheduling. @@ -163,7 +163,7 @@ module Concurrent # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#56 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#80 def call_dataflow(method, executor, *inputs, &block); end # The maximum number of processors cores available for process scheduling. @@ -211,16 +211,16 @@ module Concurrent # @yieldparam inputs [Future] each of the `Future` inputs to the dataflow # @yieldreturn [Object] the result of the block operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#34 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#37 def dataflow(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#44 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#47 def dataflow!(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#39 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#42 def dataflow_with(executor, *inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#49 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#52 def dataflow_with!(executor, *inputs, &block); end # Disables AtExit handlers including pool auto-termination handlers. @@ -286,7 +286,7 @@ module Concurrent # # @raise [Transaction::LeaveError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#144 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def leave_transaction; end # Returns the current time as tracked by the application monotonic clock. @@ -297,7 +297,7 @@ module Concurrent # @return [Float] The current monotonic time since some unspecified # starting point # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/monotonic_time.rb#15 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/monotonic_time.rb#18 def monotonic_time(unit = T.unsafe(nil)); end # @return [Boolean] @@ -895,7 +895,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#229 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#233 def deref; end # When {#failed?} and {#error_mode} is `:fail`, returns the error object @@ -948,7 +948,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # action # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#294 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#298 def post(*args, &action); end # When {#failed?} and {#error_mode} is `:fail`, returns the error object @@ -957,7 +957,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [nil, Error] the error which caused the failure when {#failed?} # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#240 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#244 def reason; end # When an Agent is {#failed?}, changes the Agent {#value} to `new_value` @@ -1173,7 +1173,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @return [Boolean] # @see #restart # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#402 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#406 def stopped?; end # The current value (state) of the Agent, irrespective of any pending or @@ -1324,52 +1324,77 @@ class Concurrent::Agent::Job < ::Struct # Returns the value of attribute action # # @return [Object] the current value of action + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def action; end # Sets the attribute action # # @param value [Object] the value to set the attribute action to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def action=(_); end # Returns the value of attribute args # # @return [Object] the current value of args + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def args; end # Sets the attribute args # # @param value [Object] the value to set the attribute args to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def args=(_); end # Returns the value of attribute caller # # @return [Object] the current value of caller + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def caller; end # Sets the attribute caller # # @param value [Object] the value to set the attribute caller to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def caller=(_); end # Returns the value of attribute executor # # @return [Object] the current value of executor + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def executor; end # Sets the attribute executor # # @param value [Object] the value to set the attribute executor to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def executor=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def new(*_arg0); end end end @@ -1674,7 +1699,7 @@ module Concurrent::Async # requested method # @return [Concurrent::IVar] the completed result of the synchronous operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#430 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#433 def call; end # Causes the chained method call to be performed asynchronously on the @@ -1694,7 +1719,7 @@ module Concurrent::Async # the requested method # @return [Concurrent::IVar] the pending result of the asynchronous operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#412 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#415 def cast; end # Initialize the internal serializer and other stnchronization mechanisms. @@ -1918,7 +1943,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#121 def initialize(value, opts = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def __initialize_atomic_fields__; end # Atomically sets the value of atom to the new value if and only if the @@ -1933,7 +1958,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#181 def compare_and_set(old_value, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#102 def deref; end # Atomically sets the value of atom to the new value without regard for the @@ -1980,18 +2005,18 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # # @return [Object] The current value. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def value; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def compare_and_set_value(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def update_value(&block); end # Is the new value valid? @@ -2003,7 +2028,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#216 def valid?(new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def value=(value); end end @@ -2065,7 +2090,7 @@ end class Concurrent::AtomicBoolean < ::Concurrent::MutexAtomicBoolean # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#121 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#125 def inspect; end # @return [String] Short string representation. @@ -2149,7 +2174,7 @@ end class Concurrent::AtomicFixnum < ::Concurrent::MutexAtomicFixnum # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#138 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#142 def inspect; end # @return [String] Short string representation. @@ -2175,7 +2200,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#15 def initialize(value = T.unsafe(nil), mark = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def __initialize_atomic_fields__; end # Atomically sets the value and mark to the given updated value and @@ -2209,7 +2234,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @param new_mark [Boolean] the new mark # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#33 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#59 def compare_and_swap(expected_val, new_val, expected_mark, new_mark); end # Gets the current reference and marked values. @@ -2230,7 +2255,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # # @return [Boolean] the current marked value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#82 def marked?; end # _Unconditionally_ sets to the given value of both the reference and @@ -2293,22 +2318,22 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def compare_and_set_reference(expected, value); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#163 def immutable_array(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def reference; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def reference=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def swap_reference(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def update_reference(&block); end end @@ -2372,7 +2397,7 @@ end class Concurrent::AtomicReference < ::Concurrent::MutexAtomicReference # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#129 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#133 def inspect; end # @return [String] Short string representation. @@ -2386,195 +2411,195 @@ Concurrent::AtomicReferenceImplementation = Concurrent::MutexAtomicReference # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#30 class Concurrent::CRubySet < ::Set - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#18 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def initialize(*args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def &(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def +(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def -(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <<(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <=>(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ==(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ===(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def >(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def >=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ^(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def add(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def add?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def classify(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def clear(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def collect!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def compare_by_identity(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def compare_by_identity?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def difference(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def disjoint?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def divide(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def each(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def empty?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def eql?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def filter!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten_merge(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def freeze(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def hash(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def include?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def inspect(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def intersect?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def intersection(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def join(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def keep_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def length(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def map!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def member?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def merge(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def pretty_print(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def pretty_print_cycle(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def proper_subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def proper_superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def reject!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def replace(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def reset(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def select!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def size(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def subtract(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_a(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_s(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_set(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def union(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def |(*args); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#23 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def initialize_copy(other); end end @@ -2948,22 +2973,22 @@ end # # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#50 class Concurrent::Collection::NonConcurrentPriorityQueue < ::Concurrent::Collection::RubyNonConcurrentPriorityQueue - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#59 def <<(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#56 def deq; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#60 def enq(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#48 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#52 def has_priority?(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#57 def shift; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#54 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#54 def size; end end @@ -3012,7 +3037,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to insert onto the queue # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#85 def <<(item); end # Removes all of the elements from this priority queue. @@ -3033,7 +3058,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # # @return [Object] the head of the queue or `nil` when empty # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#74 def deq; end # Returns `true` if `self` contains no elements. @@ -3048,7 +3073,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to insert onto the queue # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#86 def enq(item); end # Returns `true` if the given item is present in `self` (that is, if any @@ -3057,7 +3082,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to search for # @return [Boolean] true if the item is found else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#48 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#51 def has_priority?(item); end # Returns `true` if the given item is present in `self` (that is, if any @@ -3105,14 +3130,14 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # # @return [Object] the head of the queue or `nil` when empty # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#75 def shift; end # The current length of the queue. # # @return [Fixnum] the number of items in the queue # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#54 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#57 def size; end private @@ -3189,7 +3214,7 @@ module Concurrent::Concern::Dereferenceable # # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#21 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#24 def deref; end # Return the value this object represents after applying the options specified @@ -3298,7 +3323,7 @@ module Concurrent::Concern::Obligation # @raise [Exception] raises the reason when rejected # @return [Obligation] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#86 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#89 def no_error!(timeout = T.unsafe(nil)); end # Is obligation completion still pending? @@ -3312,7 +3337,7 @@ module Concurrent::Concern::Obligation # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#20 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#23 def realized?; end # If an exception was raised during processing this will return the @@ -3682,19 +3707,32 @@ class Concurrent::CyclicBarrier::Generation < ::Struct # Returns the value of attribute status # # @return [Object] the current value of status + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def status; end # Sets the attribute status # # @param value [Object] the value to set the attribute status to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def status=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def new(*_arg0); end end end @@ -4473,7 +4511,7 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # but no new tasks will be accepted. Has no additional effect if the # thread pool is not running. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#55 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#59 def kill; end # Submit a task to the executor for asynchronous processing. @@ -4561,13 +4599,13 @@ module Concurrent::ImmutableStruct # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#68 def select(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#17 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#21 def to_a; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#41 def to_h; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#33 def to_s; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#17 @@ -4654,7 +4692,7 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#51 def initialize(head = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def __initialize_atomic_fields__; end # @return [true, false] @@ -4708,7 +4746,7 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#154 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#158 def inspect; end # @return [Node] @@ -4741,19 +4779,19 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def compare_and_set_head(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def head; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def head=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def swap_head(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def update_head(&block); end class << self @@ -4793,6 +4831,7 @@ class Concurrent::LockFreeStack::Node def value=(_arg0); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#28 def [](*_arg0); end end end @@ -4978,7 +5017,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#274 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#279 def each; end # Iterates over each key. @@ -5067,7 +5106,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param key [Object] # @return [Object] the value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#21 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#162 def get(key); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#321 @@ -5102,7 +5141,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param value [Object] # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#17 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#163 def put(key, value); end # Insert value into map with key if key is absent in one atomic step. @@ -5278,7 +5317,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # # @return [Boolean] True if `Just` or false if `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#176 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#179 def fulfilled?; end # The value of a `Maybe` when `Just`. Will be `NONE` when `Nothing`. @@ -5314,19 +5353,19 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # The reason for the `Maybe` when `Nothing`. Will be `NONE` when `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#117 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#191 def reason; end # Is this `Maybe` a `nothing` (rejected with an exception upon fulfillment)? # # @return [Boolean] True if `Nothing` or false if `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#184 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#187 def rejected?; end # The value of a `Maybe` when `Just`. Will be `NONE` when `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#114 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#189 def value; end class << self @@ -5369,7 +5408,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#119 def new(*args, &block); end end end @@ -5514,7 +5553,7 @@ module Concurrent::MutableStruct # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#51 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#54 def to_a; end # Returns a hash containing the names and values for the struct’s members. @@ -5528,7 +5567,7 @@ module Concurrent::MutableStruct # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#72 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#75 def to_s; end # Returns the values for this struct as an Array. @@ -5801,7 +5840,7 @@ class Concurrent::MutexAtomicFixnum # @param delta [Fixnum] the amount by which to decrease the current value # @return [Fixnum] the current value after decrementation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#37 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#41 def down(delta = T.unsafe(nil)); end # Increases the current value by the given amount (defaults to 1). @@ -5817,7 +5856,7 @@ class Concurrent::MutexAtomicFixnum # @param delta [Fixnum] the amount by which to increase the current value # @return [Fixnum] the current value after incrementation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#30 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#34 def up(delta = T.unsafe(nil)); end # Pass the current value to the given block, replacing it @@ -5883,7 +5922,7 @@ class Concurrent::MutexAtomicReference # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#45 def _compare_and_set(old_value, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb#10 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#13 def compare_and_swap(old_value, new_value); end # Gets the current value. @@ -5914,14 +5953,14 @@ class Concurrent::MutexAtomicReference # @param new_value [Object] the new value # @return [Object] the old value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#35 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#42 def swap(new_value); end # Gets the current value. # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#23 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#26 def value; end # Sets to the given value. @@ -5929,7 +5968,7 @@ class Concurrent::MutexAtomicReference # @param new_value [Object] the new value # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#32 def value=(new_value); end protected @@ -6263,7 +6302,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#360 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#364 def catch(&block); end # Execute an `:unscheduled` `Promise`. Immediately sets the state to `:pending` and @@ -6303,7 +6342,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#360 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#365 def on_error(&block); end # Chain onto this promise an action to be undertaken on success @@ -6536,7 +6575,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#522 def initialize(promise, default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def __initialize_atomic_fields__; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#738 @@ -6603,10 +6642,10 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#619 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#623 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def internal_state; end # Shortcut of {#on_resolution_using} with default `:io` executor supplied. @@ -6680,7 +6719,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @param resolvable [Resolvable] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#629 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#633 def tangle(resolvable); end # @return [String] Short string representation. @@ -6755,16 +6794,16 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#818 def callback_notify_blocked(state, promise, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def compare_and_set_internal_state(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def internal_state=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def swap_internal_state(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def update_internal_state(&block); end # @return [Boolean] @@ -6824,13 +6863,13 @@ class Concurrent::Promises::AbstractPromise < ::Concurrent::Synchronization::Obj # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1581 def delayed_because; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1558 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1562 def event; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1558 def future; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1575 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1579 def inspect; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1568 @@ -6955,7 +6994,7 @@ class Concurrent::Promises::BlockedPromise < ::Concurrent::Promises::InnerPromis private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1621 def new(*args, &block); end end end @@ -7010,7 +7049,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Future, Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#839 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#847 def &(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7040,7 +7079,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#875 def schedule(intended_time); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#596 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#828 def then(*args, &task); end # Returns self, since this is event @@ -7081,7 +7120,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#853 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#857 def |(event_or_future); end private @@ -7123,7 +7162,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #any_resolved_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#278 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#282 def any(*futures_and_or_events); end # Shortcut of {#any_event_on} with default `:io` executor supplied. @@ -7369,7 +7408,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #zip_futures_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#240 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#258 def zip(*futures_and_or_events); end # Shortcut of {#zip_events_on} with default `:io` executor supplied. @@ -7466,7 +7505,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1070 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1078 def &(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7507,7 +7546,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @param level [Integer] how many levels of futures should flatten # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1120 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1124 def flat(level = T.unsafe(nil)); end # Creates new event which will be resolved when the returned event by receiver is. @@ -7536,7 +7575,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1235 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1243 def inspect; end # Shortcut of {#on_fulfillment_using} with default `:io` executor supplied. @@ -7813,7 +7852,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1085 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1089 def |(event_or_future); end private @@ -8255,7 +8294,7 @@ class Concurrent::Promises::ResolvableFuturePromise < ::Concurrent::Promises::Ab # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1607 def initialize(default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1592 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1611 def evaluate_to(*args, block); end end @@ -8757,22 +8796,22 @@ class Concurrent::RubyExchanger < ::Concurrent::AbstractExchanger # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#159 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def compare_and_set_slot(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def slot; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def slot=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def swap_slot(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def update_slot(&block); end private @@ -8801,10 +8840,10 @@ class Concurrent::RubyExchanger::Node < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#142 def initialize(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def compare_and_set_value(expected, value); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#153 @@ -8813,16 +8852,16 @@ class Concurrent::RubyExchanger::Node < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#149 def latch; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def update_value(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def value; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def value=(value); end end @@ -9456,7 +9495,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#135 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def fail(reason = T.unsafe(nil)); end # Reschedule the task using the given delay and the current time. @@ -9476,10 +9515,10 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#312 def ns_schedule(delay); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#113 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def set(value = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#145 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def try_set(value = T.unsafe(nil), &block); end class << self @@ -9642,23 +9681,31 @@ class Concurrent::SerializedExecution::Job < ::Struct # Returns the value of attribute args # # @return [Object] the current value of args + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def args; end # Sets the attribute args # # @param value [Object] the value to set the attribute args to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def args=(_); end # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def block=(_); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#17 @@ -9667,19 +9714,32 @@ class Concurrent::SerializedExecution::Job < ::Struct # Returns the value of attribute executor # # @return [Object] the current value of executor + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def executor; end # Sets the attribute executor # # @param value [Object] the value to set the attribute executor to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def executor=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def new(*_arg0); end end end @@ -9835,7 +9895,7 @@ module Concurrent::SettableStruct # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#18 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#21 def to_a; end # Returns a hash containing the names and values for the struct’s members. @@ -9849,7 +9909,7 @@ module Concurrent::SettableStruct # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#32 def to_s; end # Returns the values for this struct as an Array. @@ -10172,7 +10232,7 @@ module Concurrent::Synchronization::AbstractStruct # # @return [Fixnum] the number of struct members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#19 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#22 def size; end protected @@ -10319,12 +10379,12 @@ class Concurrent::Synchronization::Condition < ::Concurrent::Synchronization::Lo def wait_until(timeout = T.unsafe(nil), &condition); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#15 def private_new(*args, &block); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#16 def new(*args, &block); end end end @@ -10347,22 +10407,22 @@ class Concurrent::Synchronization::Lock < ::Concurrent::Synchronization::Lockabl # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#31 def broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#16 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#35 def ns_broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#11 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#29 def ns_signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#52 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#17 def ns_wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#37 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#23 def ns_wait_until(timeout = T.unsafe(nil), &condition); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#25 def signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#44 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#11 def synchronize; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#13 @@ -10983,7 +11043,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#166 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#66 def <<(task); end # Initialize the object. @@ -11252,7 +11312,7 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#166 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#292 def <<(task); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#352 @@ -11270,7 +11330,7 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#318 def ns_shutdown_execution; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#17 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#292 def post(*args, &task); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#330 @@ -11370,30 +11430,47 @@ class Concurrent::Transaction::OpenEntry < ::Struct # Returns the value of attribute modified # # @return [Object] the current value of modified + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def modified; end # Sets the attribute modified # # @param value [Object] the value to set the attribute modified to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def modified=(_); end # Returns the value of attribute value # # @return [Object] the current value of value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def value; end # Sets the attribute value # # @param value [Object] the value to set the attribute value to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def value=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def new(*_arg0); end end end @@ -11433,7 +11510,7 @@ class Concurrent::Tuple # @param new_value [Object] the value to set at the given index # @return [Boolean] true if the value at the given element was set else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#69 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#73 def cas(i, old_value, new_value); end # Set the value at the given index to the new value if and only if the current @@ -11481,7 +11558,7 @@ class Concurrent::Tuple # @param i [Integer] the index from which to retrieve the value # @return [Object] the value at the given index or nil if the index is out of bounds # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#43 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#47 def volatile_get(i); end # Set the element at the given index to the given value @@ -11490,7 +11567,7 @@ class Concurrent::Tuple # @param value [Object] the value to set at the given index # @return [Object] the new value of the element at the given index or nil if the index is out of bounds # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#55 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#59 def volatile_set(i, value); end end diff --git a/sorbet/rbi/gems/config@5.5.2.rbi b/sorbet/rbi/gems/config@5.5.2.rbi index d8a7c49c6..acb969c4d 100644 --- a/sorbet/rbi/gems/config@5.5.2.rbi +++ b/sorbet/rbi/gems/config@5.5.2.rbi @@ -138,7 +138,7 @@ class Config::Options < ::OpenStruct # look through all our sources and rebuild the configuration # - # source://config//lib/config/options.rb#35 + # source://config//lib/config/options.rb#63 def load!; end # source://config//lib/config/options.rb#133 @@ -179,7 +179,7 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#133 def test; end - # source://config//lib/config/options.rb#70 + # source://config//lib/config/options.rb#84 def to_h; end # source://config//lib/config/options.rb#70 diff --git a/sorbet/rbi/gems/connection_pool@2.5.0.rbi b/sorbet/rbi/gems/connection_pool@2.5.0.rbi index f59947ba8..10c928085 100644 --- a/sorbet/rbi/gems/connection_pool@2.5.0.rbi +++ b/sorbet/rbi/gems/connection_pool@2.5.0.rbi @@ -34,91 +34,91 @@ # - :timeout - amount of time to wait for a connection if none currently available, defaults to 5 seconds # - :auto_reload_after_fork - automatically drop all connections after fork, defaults to true # -# source://connection_pool/lib/connection_pool/version.rb#1 +# source://connection_pool//lib/connection_pool/version.rb#1 class ConnectionPool # @raise [ArgumentError] # @return [ConnectionPool] a new instance of ConnectionPool # - # source://connection_pool/lib/connection_pool.rb#90 + # source://connection_pool//lib/connection_pool.rb#90 def initialize(options = T.unsafe(nil), &block); end # Automatically drop all connections after fork # - # source://connection_pool/lib/connection_pool.rb#172 + # source://connection_pool//lib/connection_pool.rb#172 def auto_reload_after_fork; end # Number of pool entries available for checkout at this instant. # - # source://connection_pool/lib/connection_pool.rb#175 + # source://connection_pool//lib/connection_pool.rb#175 def available; end - # source://connection_pool/lib/connection_pool.rb#129 + # source://connection_pool//lib/connection_pool.rb#129 def checkin(force: T.unsafe(nil)); end - # source://connection_pool/lib/connection_pool.rb#119 + # source://connection_pool//lib/connection_pool.rb#119 def checkout(options = T.unsafe(nil)); end # Number of pool entries created and idle in the pool. # - # source://connection_pool/lib/connection_pool.rb#180 + # source://connection_pool//lib/connection_pool.rb#180 def idle; end # Reaps idle connections that have been idle for over +idle_seconds+. # +idle_seconds+ defaults to 60. # - # source://connection_pool/lib/connection_pool.rb#165 + # source://connection_pool//lib/connection_pool.rb#165 def reap(idle_seconds = T.unsafe(nil), &block); end # Reloads the ConnectionPool by passing each connection to +block+ and then # removing it the pool. Subsequent checkouts will create new connections as # needed. # - # source://connection_pool/lib/connection_pool.rb#159 + # source://connection_pool//lib/connection_pool.rb#159 def reload(&block); end # Shuts down the ConnectionPool by passing each connection to +block+ and # then removing it from the pool. Attempting to checkout a connection after # shutdown will raise +ConnectionPool::PoolShuttingDownError+. # - # source://connection_pool/lib/connection_pool.rb#150 + # source://connection_pool//lib/connection_pool.rb#150 def shutdown(&block); end # Size of this connection pool # - # source://connection_pool/lib/connection_pool.rb#170 + # source://connection_pool//lib/connection_pool.rb#170 def size; end - # source://connection_pool/lib/connection_pool.rb#105 + # source://connection_pool//lib/connection_pool.rb#117 def then(options = T.unsafe(nil)); end - # source://connection_pool/lib/connection_pool.rb#105 + # source://connection_pool//lib/connection_pool.rb#105 def with(options = T.unsafe(nil)); end class << self - # source://connection_pool/lib/connection_pool.rb#52 + # source://connection_pool//lib/connection_pool.rb#52 def after_fork; end - # source://connection_pool/lib/connection_pool.rb#44 + # source://connection_pool//lib/connection_pool.rb#44 def wrap(options, &block); end end end -# source://connection_pool/lib/connection_pool.rb#42 +# source://connection_pool//lib/connection_pool.rb#42 ConnectionPool::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://connection_pool/lib/connection_pool.rb#5 +# source://connection_pool//lib/connection_pool.rb#5 class ConnectionPool::Error < ::RuntimeError; end -# source://connection_pool/lib/connection_pool.rb#70 +# source://connection_pool//lib/connection_pool.rb#70 module ConnectionPool::ForkTracker - # source://connection_pool/lib/connection_pool.rb#71 + # source://connection_pool//lib/connection_pool.rb#71 def _fork; end end -# source://connection_pool/lib/connection_pool.rb#49 +# source://connection_pool//lib/connection_pool.rb#49 ConnectionPool::INSTANCES = T.let(T.unsafe(nil), ObjectSpace::WeakMap) -# source://connection_pool/lib/connection_pool.rb#7 +# source://connection_pool//lib/connection_pool.rb#7 class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end # Examples: @@ -135,42 +135,42 @@ class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end # ts.pop timeout: 5 # #=> raises ConnectionPool::TimeoutError after 5 seconds # -# source://connection_pool/lib/connection_pool/timed_stack.rb#20 +# source://connection_pool//lib/connection_pool/timed_stack.rb#20 class ConnectionPool::TimedStack # Creates a new pool with +size+ connections that are created from the given # +block+. # # @return [TimedStack] a new instance of TimedStack # - # source://connection_pool/lib/connection_pool/timed_stack.rb#27 + # source://connection_pool//lib/connection_pool/timed_stack.rb#27 def initialize(size = T.unsafe(nil), &block); end # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be # used by subclasses that extend TimedStack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#41 + # source://connection_pool//lib/connection_pool/timed_stack.rb#53 def <<(obj, options = T.unsafe(nil)); end # Returns +true+ if there are no available connections. # # @return [Boolean] # - # source://connection_pool/lib/connection_pool/timed_stack.rb#125 + # source://connection_pool//lib/connection_pool/timed_stack.rb#125 def empty?; end # The number of connections created and available on the stack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#138 + # source://connection_pool//lib/connection_pool/timed_stack.rb#138 def idle; end # The number of connections available on the stack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#132 + # source://connection_pool//lib/connection_pool/timed_stack.rb#132 def length; end # Returns the value of attribute max. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#21 + # source://connection_pool//lib/connection_pool/timed_stack.rb#21 def max; end # Retrieves a connection from the stack. If a connection is available it is @@ -181,20 +181,20 @@ class ConnectionPool::TimedStack # the +timeout+ argument (which will be removed in a future release). Other # options may be used by subclasses that extend TimedStack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#64 + # source://connection_pool//lib/connection_pool/timed_stack.rb#64 def pop(timeout = T.unsafe(nil), options = T.unsafe(nil)); end # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be # used by subclasses that extend TimedStack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#41 + # source://connection_pool//lib/connection_pool/timed_stack.rb#41 def push(obj, options = T.unsafe(nil)); end # Reaps connections that were checked in more than +idle_seconds+ ago. # # @raise [ArgumentError] # - # source://connection_pool/lib/connection_pool/timed_stack.rb#104 + # source://connection_pool//lib/connection_pool/timed_stack.rb#104 def reap(idle_seconds, &block); end # Shuts down the TimedStack by passing each connection to +block+ and then @@ -204,7 +204,7 @@ class ConnectionPool::TimedStack # # @raise [ArgumentError] # - # source://connection_pool/lib/connection_pool/timed_stack.rb#90 + # source://connection_pool//lib/connection_pool/timed_stack.rb#90 def shutdown(reload: T.unsafe(nil), &block); end private @@ -215,17 +215,17 @@ class ConnectionPool::TimedStack # # @return [Boolean] # - # source://connection_pool/lib/connection_pool/timed_stack.rb#153 + # source://connection_pool//lib/connection_pool/timed_stack.rb#153 def connection_stored?(options = T.unsafe(nil)); end - # source://connection_pool/lib/connection_pool/timed_stack.rb#144 + # source://connection_pool//lib/connection_pool/timed_stack.rb#144 def current_time; end # This is an extension point for TimedStack and is called with a mutex. # # This method must return a connection from the stack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#162 + # source://connection_pool//lib/connection_pool/timed_stack.rb#162 def fetch_connection(options = T.unsafe(nil)); end # This is an extension point for TimedStack and is called with a mutex. @@ -234,7 +234,7 @@ class ConnectionPool::TimedStack # # @return [Boolean] # - # source://connection_pool/lib/connection_pool/timed_stack.rb#198 + # source://connection_pool//lib/connection_pool/timed_stack.rb#198 def idle_connections?(idle_seconds); end # This is an extension point for TimedStack and is called with a mutex. @@ -242,21 +242,21 @@ class ConnectionPool::TimedStack # This method returns the oldest idle connection if it has been idle for more than idle_seconds. # This requires that the stack is kept in order of checked in time (oldest first). # - # source://connection_pool/lib/connection_pool/timed_stack.rb#185 + # source://connection_pool//lib/connection_pool/timed_stack.rb#185 def reserve_idle_connection(idle_seconds); end # This is an extension point for TimedStack and is called with a mutex. # # This method must shut down all connections on the stack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#171 + # source://connection_pool//lib/connection_pool/timed_stack.rb#171 def shutdown_connections(options = T.unsafe(nil)); end # This is an extension point for TimedStack and is called with a mutex. # # This method must return +obj+ to the stack. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#207 + # source://connection_pool//lib/connection_pool/timed_stack.rb#207 def store_connection(obj, options = T.unsafe(nil)); end # This is an extension point for TimedStack and is called with a mutex. @@ -264,48 +264,48 @@ class ConnectionPool::TimedStack # This method must create a connection if and only if the total number of # connections allowed has not been met. # - # source://connection_pool/lib/connection_pool/timed_stack.rb#217 + # source://connection_pool//lib/connection_pool/timed_stack.rb#217 def try_create(options = T.unsafe(nil)); end end -# source://connection_pool/lib/connection_pool.rb#9 +# source://connection_pool//lib/connection_pool.rb#9 class ConnectionPool::TimeoutError < ::Timeout::Error; end -# source://connection_pool/lib/connection_pool/version.rb#2 +# source://connection_pool//lib/connection_pool/version.rb#2 ConnectionPool::VERSION = T.let(T.unsafe(nil), String) -# source://connection_pool/lib/connection_pool/wrapper.rb#2 +# source://connection_pool//lib/connection_pool/wrapper.rb#2 class ConnectionPool::Wrapper < ::BasicObject # @return [Wrapper] a new instance of Wrapper # - # source://connection_pool/lib/connection_pool/wrapper.rb#5 + # source://connection_pool//lib/connection_pool/wrapper.rb#5 def initialize(options = T.unsafe(nil), &block); end - # source://connection_pool/lib/connection_pool/wrapper.rb#35 + # source://connection_pool//lib/connection_pool/wrapper.rb#35 def method_missing(name, *args, **kwargs, &block); end - # source://connection_pool/lib/connection_pool/wrapper.rb#25 + # source://connection_pool//lib/connection_pool/wrapper.rb#25 def pool_available; end - # source://connection_pool/lib/connection_pool/wrapper.rb#17 + # source://connection_pool//lib/connection_pool/wrapper.rb#17 def pool_shutdown(&block); end - # source://connection_pool/lib/connection_pool/wrapper.rb#21 + # source://connection_pool//lib/connection_pool/wrapper.rb#21 def pool_size; end # @return [Boolean] # - # source://connection_pool/lib/connection_pool/wrapper.rb#29 + # source://connection_pool//lib/connection_pool/wrapper.rb#29 def respond_to?(id, *args); end - # source://connection_pool/lib/connection_pool/wrapper.rb#13 + # source://connection_pool//lib/connection_pool/wrapper.rb#13 def with(&block); end - # source://connection_pool/lib/connection_pool/wrapper.rb#9 + # source://connection_pool//lib/connection_pool/wrapper.rb#9 def wrapped_pool; end end -# source://connection_pool/lib/connection_pool/wrapper.rb#3 +# source://connection_pool//lib/connection_pool/wrapper.rb#3 ConnectionPool::Wrapper::METHODS = T.let(T.unsafe(nil), Array) module Process diff --git a/sorbet/rbi/gems/date@3.4.1.rbi b/sorbet/rbi/gems/date@3.4.1.rbi index 399300c2b..1dcd7c8ee 100644 --- a/sorbet/rbi/gems/date@3.4.1.rbi +++ b/sorbet/rbi/gems/date@3.4.1.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem date`. -# source://date/lib/date.rb#6 +# source://date//lib/date.rb#6 class Date include ::Comparable @@ -16,60 +16,60 @@ class Date # # @return [Boolean] # - # source://date/lib/date.rb#13 + # source://date//lib/date.rb#13 def infinite?; end end -# source://date/lib/date.rb#17 +# source://date//lib/date.rb#17 class Date::Infinity < ::Numeric # @return [Infinity] a new instance of Infinity # - # source://date/lib/date.rb#19 + # source://date//lib/date.rb#19 def initialize(d = T.unsafe(nil)); end - # source://date/lib/date.rb#33 + # source://date//lib/date.rb#33 def +@; end - # source://date/lib/date.rb#32 + # source://date//lib/date.rb#32 def -@; end - # source://date/lib/date.rb#35 + # source://date//lib/date.rb#35 def <=>(other); end - # source://date/lib/date.rb#30 + # source://date//lib/date.rb#30 def abs; end - # source://date/lib/date.rb#51 + # source://date//lib/date.rb#51 def coerce(other); end # @return [Boolean] # - # source://date/lib/date.rb#26 + # source://date//lib/date.rb#26 def finite?; end # @return [Boolean] # - # source://date/lib/date.rb#27 + # source://date//lib/date.rb#27 def infinite?; end # @return [Boolean] # - # source://date/lib/date.rb#28 + # source://date//lib/date.rb#28 def nan?; end - # source://date/lib/date.rb#59 + # source://date//lib/date.rb#59 def to_f; end # @return [Boolean] # - # source://date/lib/date.rb#25 + # source://date//lib/date.rb#25 def zero?; end protected - # source://date/lib/date.rb#21 + # source://date//lib/date.rb#21 def d; end end -# source://date/lib/date.rb#7 +# source://date//lib/date.rb#7 Date::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/drb@2.2.1.rbi b/sorbet/rbi/gems/drb@2.2.1.rbi index d97695d9a..371a922ec 100644 --- a/sorbet/rbi/gems/drb@2.2.1.rbi +++ b/sorbet/rbi/gems/drb@2.2.1.rbi @@ -175,7 +175,7 @@ module DRb # If there is no current server, this returns the default configuration. # See #current_server and DRbServer::make_config. # - # source://drb//lib/drb/drb.rb#1832 + # source://drb//lib/drb/drb.rb#1837 def config; end # Get the 'current' server. @@ -191,14 +191,14 @@ module DRb # # @raise [DRbServerNotFound] # - # source://drb//lib/drb/drb.rb#1789 + # source://drb//lib/drb/drb.rb#1795 def current_server; end # Retrieves the server with the given +uri+. # # See also regist_server and remove_server. # - # source://drb//lib/drb/drb.rb#1934 + # source://drb//lib/drb/drb.rb#1937 def fetch_server(uri); end # Get the front object of the current server. @@ -206,21 +206,21 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1843 + # source://drb//lib/drb/drb.rb#1846 def front; end # Is +uri+ the URI for the current local server? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1822 + # source://drb//lib/drb/drb.rb#1826 def here?(uri); end # Set the default ACL to +acl+. # # See DRb::DRbServer.default_acl. # - # source://drb//lib/drb/drb.rb#1888 + # source://drb//lib/drb/drb.rb#1891 def install_acl(acl); end # Set the default id conversion object. @@ -230,24 +230,24 @@ module DRb # # See DRbServer#default_id_conv. # - # source://drb//lib/drb/drb.rb#1880 + # source://drb//lib/drb/drb.rb#1883 def install_id_conv(idconv); end - # source://drb//lib/drb/drb.rb#1894 + # source://drb//lib/drb/drb.rb#1897 def mutex; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1776 + # source://drb//lib/drb/drb.rb#1777 def primary_server; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1776 + # source://drb//lib/drb/drb.rb#1777 def primary_server=(_arg0); end # Registers +server+ with DRb. @@ -263,12 +263,12 @@ module DRb # s = DRb::DRbServer.new # automatically calls regist_server # DRb.fetch_server s.uri #=> # # - # source://drb//lib/drb/drb.rb#1912 + # source://drb//lib/drb/drb.rb#1918 def regist_server(server); end # Removes +server+ from the list of registered servers. # - # source://drb//lib/drb/drb.rb#1921 + # source://drb//lib/drb/drb.rb#1929 def remove_server(server); end # Start a dRuby server locally. @@ -287,7 +287,7 @@ module DRb # # See DRbServer::new. # - # source://drb//lib/drb/drb.rb#1768 + # source://drb//lib/drb/drb.rb#1771 def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end # Stop the local dRuby server. @@ -295,14 +295,14 @@ module DRb # This operates on the primary server. If there is no primary # server currently running, it is a noop. # - # source://drb//lib/drb/drb.rb#1801 + # source://drb//lib/drb/drb.rb#1805 def stop_service; end # Get the thread of the primary server. # # This returns nil if there is no primary server. See #primary_server. # - # source://drb//lib/drb/drb.rb#1869 + # source://drb//lib/drb/drb.rb#1872 def thread; end # Get a reference id for an object using the current server. @@ -310,7 +310,7 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1860 + # source://drb//lib/drb/drb.rb#1863 def to_id(obj); end # Convert a reference into an object using the current server. @@ -318,14 +318,14 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1852 + # source://drb//lib/drb/drb.rb#1864 def to_obj(ref); end # Get the URI defining the local dRuby space. # # This is the URI of the current server. See #current_server. # - # source://drb//lib/drb/drb.rb#1810 + # source://drb//lib/drb/drb.rb#1819 def uri; end end end @@ -504,7 +504,7 @@ class DRb::DRbObject # source://drb//lib/drb/drb.rb#1080 def _dump(lv); end - # source://drb//lib/drb/eq.rb#4 + # source://drb//lib/drb/eq.rb#13 def eql?(other); end # source://drb//lib/drb/eq.rb#9 @@ -682,10 +682,10 @@ module DRb::DRbProtocol class << self # Add a new protocol to the DRbProtocol module. # - # source://drb//lib/drb/drb.rb#724 + # source://drb//lib/drb/drb.rb#727 def add_protocol(prot); end - # source://drb//lib/drb/drb.rb#802 + # source://drb//lib/drb/drb.rb#807 def auto_load(uri); end # Open a client connection to +uri+ with the configuration +config+. @@ -698,7 +698,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#736 + # source://drb//lib/drb/drb.rb#753 def open(uri, config, first = T.unsafe(nil)); end # Open a server listening for connections at +uri+ with @@ -713,7 +713,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#764 + # source://drb//lib/drb/drb.rb#777 def open_server(uri, config, first = T.unsafe(nil)); end # Parse +uri+ into a [uri, option] pair. @@ -725,7 +725,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#785 + # source://drb//lib/drb/drb.rb#800 def uri_option(uri, config, first = T.unsafe(nil)); end end end @@ -1189,7 +1189,7 @@ class DRb::DRbURIOption # source://drb//lib/drb/drb.rb#1028 def ==(other); end - # source://drb//lib/drb/drb.rb#1028 + # source://drb//lib/drb/drb.rb#1037 def eql?(other); end # source://drb//lib/drb/drb.rb#1033 diff --git a/sorbet/rbi/gems/erubi@1.13.1.rbi b/sorbet/rbi/gems/erubi@1.13.1.rbi index 190ba0dfe..3a6982f1a 100644 --- a/sorbet/rbi/gems/erubi@1.13.1.rbi +++ b/sorbet/rbi/gems/erubi@1.13.1.rbi @@ -5,18 +5,20 @@ # Please instead update this file by running `bin/tapioca gem erubi`. -# source://erubi/lib/erubi.rb#3 +# source://erubi//lib/erubi.rb#3 module Erubi private + # source://erubi//lib/erubi.rb#22 def h(_arg0); end class << self + # source://erubi//lib/erubi.rb#49 def h(_arg0); end end end -# source://erubi/lib/erubi.rb#51 +# source://erubi//lib/erubi.rb#51 class Erubi::Engine # Initialize a new Erubi::Engine. Options: # +:bufval+ :: The value to use for the buffer variable, as a string (default '::String.new'). @@ -47,69 +49,69 @@ class Erubi::Engine # # @return [Engine] a new instance of Engine # - # source://erubi/lib/erubi.rb#91 + # source://erubi//lib/erubi.rb#91 def initialize(input, properties = T.unsafe(nil)); end # The variable name used for the buffer variable. # - # source://erubi/lib/erubi.rb#62 + # source://erubi//lib/erubi.rb#62 def bufvar; end # The filename of the template, if one was given. # - # source://erubi/lib/erubi.rb#59 + # source://erubi//lib/erubi.rb#59 def filename; end # The frozen ruby source code generated from the template, which can be evaled. # - # source://erubi/lib/erubi.rb#56 + # source://erubi//lib/erubi.rb#56 def src; end private # :nocov: # - # source://erubi/lib/erubi.rb#209 + # source://erubi//lib/erubi.rb#209 def _dup_string_if_frozen(string); end # Add ruby code to the template # - # source://erubi/lib/erubi.rb#232 + # source://erubi//lib/erubi.rb#232 def add_code(code); end # Add the given ruby expression result to the template, # escaping it based on the indicator given and escape flag. # - # source://erubi/lib/erubi.rb#241 + # source://erubi//lib/erubi.rb#241 def add_expression(indicator, code); end # Add the result of Ruby expression to the template # - # source://erubi/lib/erubi.rb#250 + # source://erubi//lib/erubi.rb#250 def add_expression_result(code); end # Add the escaped result of Ruby expression to the template # - # source://erubi/lib/erubi.rb#255 + # source://erubi//lib/erubi.rb#255 def add_expression_result_escaped(code); end # Add the given postamble to the src. Can be overridden in subclasses # to make additional changes to src that depend on the current state. # - # source://erubi/lib/erubi.rb#261 + # source://erubi//lib/erubi.rb#261 def add_postamble(postamble); end # Add raw text to the template. Modifies argument if argument is mutable as a memory optimization. # Must be called with a string, cannot be called with nil (Rails's subclass depends on it). # - # source://erubi/lib/erubi.rb#222 + # source://erubi//lib/erubi.rb#222 def add_text(text); end # Raise an exception, as the base engine class does not support handling other indicators. # # @raise [ArgumentError] # - # source://erubi/lib/erubi.rb#267 + # source://erubi//lib/erubi.rb#267 def handle(indicator, code, tailch, rspace, lspace); end # Make sure that any current expression has been terminated. @@ -117,7 +119,7 @@ class Erubi::Engine # the chain_appends option is used, expressions may not be # terminated. # - # source://erubi/lib/erubi.rb#295 + # source://erubi//lib/erubi.rb#295 def terminate_expression; end # Make sure the buffer variable is the target of the next append @@ -127,29 +129,29 @@ class Erubi::Engine # This method should only be called if the block will result in # code where << will append to the bufvar. # - # source://erubi/lib/erubi.rb#277 + # source://erubi//lib/erubi.rb#277 def with_buffer; end end # The default regular expression used for scanning. # -# source://erubi/lib/erubi.rb#53 +# source://erubi//lib/erubi.rb#53 Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://erubi/lib/erubi.rb#17 +# source://erubi//lib/erubi.rb#17 Erubi::FREEZE_TEMPLATE_LITERALS = T.let(T.unsafe(nil), TrueClass) -# source://erubi/lib/erubi.rb#15 +# source://erubi//lib/erubi.rb#15 Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol) -# source://erubi/lib/erubi.rb#8 +# source://erubi//lib/erubi.rb#8 Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer) -# source://erubi/lib/erubi.rb#9 +# source://erubi//lib/erubi.rb#9 Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer) -# source://erubi/lib/erubi.rb#16 +# source://erubi//lib/erubi.rb#16 Erubi::SKIP_DEFINED_FOR_INSTANCE_VARIABLE = T.let(T.unsafe(nil), TrueClass) -# source://erubi/lib/erubi.rb#4 +# source://erubi//lib/erubi.rb#4 Erubi::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/faraday@2.9.0.rbi b/sorbet/rbi/gems/faraday@2.9.0.rbi index c5db85e4d..0fbc8a86c 100644 --- a/sorbet/rbi/gems/faraday@2.9.0.rbi +++ b/sorbet/rbi/gems/faraday@2.9.0.rbi @@ -320,23 +320,31 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://faraday//lib/faraday/adapter/test.rb#187 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def block=(_); end # Returns the value of attribute body # # @return [Object] the current value of body + # + # source://faraday//lib/faraday/adapter/test.rb#187 def body; end # Sets the attribute body # # @param value [Object] the value to set the attribute body to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def body=(_); end # @return [Boolean] @@ -347,12 +355,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute headers # # @return [Object] the current value of headers + # + # source://faraday//lib/faraday/adapter/test.rb#187 def headers; end # Sets the attribute headers # # @param value [Object] the value to set the attribute headers to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def headers=(_); end # @return [Boolean] @@ -363,12 +375,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute host # # @return [Object] the current value of host + # + # source://faraday//lib/faraday/adapter/test.rb#187 def host; end # Sets the attribute host # # @param value [Object] the value to set the attribute host to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def host=(_); end # @param env [Faraday::Env] @@ -386,12 +402,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://faraday//lib/faraday/adapter/test.rb#187 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def path=(_); end # @return [Boolean] @@ -402,33 +422,50 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute query # # @return [Object] the current value of query + # + # source://faraday//lib/faraday/adapter/test.rb#187 def query; end # Sets the attribute query # # @param value [Object] the value to set the attribute query to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def query=(_); end # Returns the value of attribute strict_mode # # @return [Object] the current value of strict_mode + # + # source://faraday//lib/faraday/adapter/test.rb#187 def strict_mode; end # Sets the attribute strict_mode # # @param value [Object] the value to set the attribute strict_mode to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def strict_mode=(_); end # source://faraday//lib/faraday/adapter/test.rb#253 def to_s; end class << self + # source://faraday//lib/faraday/adapter/test.rb#187 def [](*_arg0); end + + # source://faraday//lib/faraday/adapter/test.rb#187 def inspect; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def keyword_init?; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def members; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def new(*_arg0); end end end @@ -572,6 +609,12 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#63 def initialize(url = T.unsafe(nil), options = T.unsafe(nil)); end + # source://faraday//lib/faraday/connection.rb#120 + def adapter(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#120 + def app(*args, **_arg1, &block); end + # Build an absolute URL based on url_prefix. # # of the resulting url (default: nil). @@ -639,7 +682,7 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#40 def default_parallel_manager=(_arg0); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def delete(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # Creates a duplicate of this Faraday::Connection. @@ -653,10 +696,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#533 def find_default_proxy; end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def get(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def head(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # @return [Hash] unencoded HTTP header key/value pairs. @@ -671,6 +714,12 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#114 def headers=(hash); end + # source://faraday//lib/faraday/connection.rb#338 + def host(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#338 + def host=(*args, **_arg1, &block); end + # Sets up the parallel manager to make a set of requests. # # @param manager [Object] The parallel manager that this Connection's @@ -718,9 +767,12 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#108 def params=(hash); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#278 def patch(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end + # source://faraday//lib/faraday/connection.rb#339 + def path_prefix(*args, **_arg1, &block); end + # Sets the path prefix and ensures that it always has a leading # slash. # @@ -730,7 +782,13 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#382 def path_prefix=(value); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#338 + def port(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#338 + def port=(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#278 def post(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end # @return [Hash] proxy options. @@ -751,9 +809,15 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#513 def proxy_from_env(url); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#278 def put(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end + # source://faraday//lib/faraday/connection.rb#120 + def request(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#120 + def response(*args, **_arg1, &block); end + # Builds and runs the Faraday::Request. # # @param method [Symbol] HTTP method. @@ -766,6 +830,12 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#431 def run_request(method, url, body, headers); end + # source://faraday//lib/faraday/connection.rb#338 + def scheme(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/connection.rb#338 + def scheme=(*args, **_arg1, &block); end + # source://faraday//lib/faraday/connection.rb#371 def set_basic_auth(user, password); end @@ -779,7 +849,7 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#551 def support_parallel?(adapter); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def trace(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # @return [String] a URI with the prefix used for all requests from this @@ -806,6 +876,9 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#356 def url_prefix=(url, encoder = T.unsafe(nil)); end + # source://faraday//lib/faraday/connection.rb#120 + def use(*args, **_arg1, &block); end + # Yields username and password extracted from a URI if they both exist. # # @api private @@ -837,43 +910,77 @@ class Faraday::ConnectionFailed < ::Faraday::Error; end # # source://faraday//lib/faraday/options/connection_options.rb#8 class Faraday::ConnectionOptions < ::Faraday::Options + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder_class; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder_class=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def headers; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def headers=(_); end # source://faraday//lib/faraday/options/connection_options.rb#19 def new_builder(block); end + # source://faraday//lib/faraday/options/connection_options.rb#8 def parallel_manager; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def parallel_manager=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def params; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def params=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def proxy; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def proxy=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#8 def request; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def request=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#8 def ssl; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def ssl=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def url; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def url=(_); end class << self + # source://faraday//lib/faraday/options/connection_options.rb#8 def [](*_arg0); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def inspect; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def members; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def new(*_arg0); end end end @@ -979,9 +1086,13 @@ class Faraday::Env < ::Faraday::Options def inspect; end # @return [Symbol] HTTP method (`:get`, `:post`) + # + # source://faraday//lib/faraday/options/env.rb#57 def method; end # @return [Symbol] HTTP method (`:get`, `:post`) + # + # source://faraday//lib/faraday/options/env.rb#57 def method=(_); end # source://faraday//lib/faraday/options/env.rb#133 @@ -991,24 +1102,39 @@ class Faraday::Env < ::Faraday::Options def parallel?; end # @return [Object] sent if the connection is in parallel mode + # + # source://faraday//lib/faraday/options/env.rb#57 def parallel_manager; end # @return [Object] sent if the connection is in parallel mode + # + # source://faraday//lib/faraday/options/env.rb#57 def parallel_manager=(_); end # @return [Hash] + # + # source://faraday//lib/faraday/options/env.rb#57 def params; end # @return [Hash] + # + # source://faraday//lib/faraday/options/env.rb#57 def params=(_); end + # source://faraday//lib/faraday/options/env.rb#74 + def params_encoder(*args, **_arg1, &block); end + # source://faraday//lib/faraday/options/env.rb#145 def parse_body?; end # @return [String] + # + # source://faraday//lib/faraday/options/env.rb#57 def reason_phrase; end # @return [String] + # + # source://faraday//lib/faraday/options/env.rb#57 def reason_phrase=(_); end # Options for configuring the request. @@ -1028,6 +1154,8 @@ class Faraday::Env < ::Faraday::Options # - `:password` - Proxy server password # # @return [Hash] options for configuring the request. + # + # source://faraday//lib/faraday/options/env.rb#57 def request; end # Options for configuring the request. @@ -1047,42 +1175,70 @@ class Faraday::Env < ::Faraday::Options # - `:password` - Proxy server password # # @return [Hash] options for configuring the request. + # + # source://faraday//lib/faraday/options/env.rb#57 def request=(_); end + # source://faraday//lib/faraday/options/env.rb#57 def request_body; end + + # source://faraday//lib/faraday/options/env.rb#57 def request_body=(_); end # @return [Hash] HTTP Headers to be sent to the server. + # + # source://faraday//lib/faraday/options/env.rb#57 def request_headers; end # @return [Hash] HTTP Headers to be sent to the server. + # + # source://faraday//lib/faraday/options/env.rb#57 def request_headers=(_); end # @return [Response] + # + # source://faraday//lib/faraday/options/env.rb#57 def response; end # @return [Response] + # + # source://faraday//lib/faraday/options/env.rb#57 def response=(_); end + # source://faraday//lib/faraday/options/env.rb#57 def response_body; end + + # source://faraday//lib/faraday/options/env.rb#57 def response_body=(_); end # @return [Hash] HTTP headers from the server + # + # source://faraday//lib/faraday/options/env.rb#57 def response_headers; end # @return [Hash] HTTP headers from the server + # + # source://faraday//lib/faraday/options/env.rb#57 def response_headers=(_); end # @return [Hash] options for configuring SSL requests + # + # source://faraday//lib/faraday/options/env.rb#57 def ssl; end # @return [Hash] options for configuring SSL requests + # + # source://faraday//lib/faraday/options/env.rb#57 def ssl=(_); end # @return [Integer] HTTP response status code + # + # source://faraday//lib/faraday/options/env.rb#57 def status; end # @return [Integer] HTTP response status code + # + # source://faraday//lib/faraday/options/env.rb#57 def status=(_); end # source://faraday//lib/faraday/options/env.rb#169 @@ -1095,24 +1251,35 @@ class Faraday::Env < ::Faraday::Options def success?; end # @return [URI] URI instance for the current request. + # + # source://faraday//lib/faraday/options/env.rb#57 def url; end # @return [URI] URI instance for the current request. + # + # source://faraday//lib/faraday/options/env.rb#57 def url=(_); end class << self + # source://faraday//lib/faraday/options/env.rb#57 def [](*_arg0); end # source://faraday//lib/faraday/options/env.rb#80 def from(value); end + # source://faraday//lib/faraday/options/env.rb#57 def inspect; end + + # source://faraday//lib/faraday/options/env.rb#57 def keyword_init?; end # source://faraday//lib/faraday/options/env.rb#200 def member_set; end + # source://faraday//lib/faraday/options/env.rb#57 def members; end + + # source://faraday//lib/faraday/options/env.rb#57 def new(*_arg0); end end end @@ -1226,6 +1393,9 @@ module Faraday::FlatParamsEncoder # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#23 def encode(params); end + # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 + def escape(*args, **_arg1, &block); end + # Returns the value of attribute sort_params. # # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99 @@ -1237,6 +1407,9 @@ module Faraday::FlatParamsEncoder # # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99 def sort_params=(_arg0); end + + # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 + def unescape(*args, **_arg1, &block); end end end @@ -1259,18 +1432,33 @@ class Faraday::Logging::Formatter # source://faraday//lib/faraday/logging/formatter.rb#14 def initialize(logger:, options:); end + # source://faraday//lib/faraday/logging/formatter.rb#23 + def debug(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/logging/formatter.rb#23 + def error(*args, **_arg1, &block); end + # source://faraday//lib/faraday/logging/formatter.rb#41 def exception(exc); end + # source://faraday//lib/faraday/logging/formatter.rb#23 + def fatal(*args, **_arg1, &block); end + # source://faraday//lib/faraday/logging/formatter.rb#52 def filter(filter_word, filter_replacement); end + # source://faraday//lib/faraday/logging/formatter.rb#23 + def info(*args, **_arg1, &block); end + # source://faraday//lib/faraday/logging/formatter.rb#25 def request(env); end # source://faraday//lib/faraday/logging/formatter.rb#34 def response(env); end + # source://faraday//lib/faraday/logging/formatter.rb#23 + def warn(*args, **_arg1, &block); end + private # source://faraday//lib/faraday/logging/formatter.rb#98 @@ -1429,6 +1617,9 @@ module Faraday::NestedParamsEncoder # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 def array_indices=(_arg0); end + # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 + def escape(*args, **_arg1, &block); end + # Returns the value of attribute sort_params. # # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 @@ -1440,6 +1631,9 @@ module Faraday::NestedParamsEncoder # # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 def sort_params=(_arg0); end + + # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 + def unescape(*args, **_arg1, &block); end end end @@ -1507,14 +1701,14 @@ class Faraday::Options < ::Struct # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#113 + # source://faraday//lib/faraday/options.rb#117 def has_key?(key); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#127 + # source://faraday//lib/faraday/options.rb#131 def has_value?(value); end # Internal @@ -1623,27 +1817,65 @@ class Faraday::ProxyAuthError < ::Faraday::ClientError; end class Faraday::ProxyOptions < ::Faraday::Options extend ::Forwardable - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def host(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def host=(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def password; end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def password=(_); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def path(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def path=(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def port(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def port=(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def scheme(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#10 + def scheme=(*args, **_arg1, &block); end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def uri; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def uri=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/proxy_options.rb#8 def user; end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def user=(_); end class << self + # source://faraday//lib/faraday/options/proxy_options.rb#8 def [](*_arg0); end # source://faraday//lib/faraday/options/proxy_options.rb#13 def from(value); end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def inspect; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def members; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def new(*_arg0); end end end @@ -1742,7 +1974,7 @@ class Faraday::RackBuilder # methods to push onto the various positions in the stack: # - # source://faraday//lib/faraday/rack_builder.rb#118 + # source://faraday//lib/faraday/rack_builder.rb#125 def insert_before(index, *args, **_arg2, &block); end # Locks the middleware stack to ensure no further modifications are made. @@ -1878,25 +2110,35 @@ class Faraday::Request < ::Struct def []=(key, value); end # @return [String] body + # + # source://faraday//lib/faraday/request.rb#27 def body; end # @return [String] body + # + # source://faraday//lib/faraday/request.rb#27 def body=(_); end # @return [Faraday::Utils::Headers] headers + # + # source://faraday//lib/faraday/request.rb#27 def headers; end # Replace request headers, preserving the existing hash type. # # @param hash [Hash] new headers # - # source://faraday//lib/faraday/request.rb#61 + # source://faraday//lib/faraday/request.rb#27 def headers=(hash); end # @return [Symbol] the HTTP method of the Request + # + # source://faraday//lib/faraday/request.rb#27 def http_method; end # @return [Symbol] the HTTP method of the Request + # + # source://faraday//lib/faraday/request.rb#27 def http_method=(_); end # Marshal serialization support. @@ -1915,25 +2157,35 @@ class Faraday::Request < ::Struct def marshal_load(serialised); end # @return [RequestOptions] options + # + # source://faraday//lib/faraday/request.rb#27 def options; end # @return [RequestOptions] options + # + # source://faraday//lib/faraday/request.rb#27 def options=(_); end # @return [Hash] query parameters + # + # source://faraday//lib/faraday/request.rb#27 def params; end # Replace params, preserving the existing hash type. # # @param hash [Hash] new params # - # source://faraday//lib/faraday/request.rb#49 + # source://faraday//lib/faraday/request.rb#27 def params=(hash); end # @return [URI, String] the path + # + # source://faraday//lib/faraday/request.rb#27 def path; end # @return [URI, String] the path + # + # source://faraday//lib/faraday/request.rb#27 def path=(_); end # @return [Env] the Env for this Request @@ -1952,10 +2204,14 @@ class Faraday::Request < ::Struct private + # source://faraday//lib/faraday/request.rb#30 def member_get(_arg0); end + + # source://faraday//lib/faraday/request.rb#32 def member_set(_arg0, _arg1); end class << self + # source://faraday//lib/faraday/request.rb#27 def [](*_arg0); end # @param request_method [String] @@ -1966,9 +2222,16 @@ class Faraday::Request < ::Struct # source://faraday//lib/faraday/request.rb#39 def create(request_method); end + # source://faraday//lib/faraday/request.rb#27 def inspect; end + + # source://faraday//lib/faraday/request.rb#27 def keyword_init?; end + + # source://faraday//lib/faraday/request.rb#27 def members; end + + # source://faraday//lib/faraday/request.rb#27 def new(*_arg0); end end end @@ -2045,21 +2308,32 @@ end # # source://faraday//lib/faraday/request/instrumentation.rb#8 class Faraday::Request::Instrumentation::Options < ::Faraday::Options - # source://faraday//lib/faraday/request/instrumentation.rb#17 + # source://faraday//lib/faraday/request/instrumentation.rb#8 def instrumenter; end + # source://faraday//lib/faraday/request/instrumentation.rb#8 def instrumenter=(_); end - # source://faraday//lib/faraday/request/instrumentation.rb#11 + # source://faraday//lib/faraday/request/instrumentation.rb#8 def name; end + # source://faraday//lib/faraday/request/instrumentation.rb#8 def name=(_); end class << self + # source://faraday//lib/faraday/request/instrumentation.rb#8 def [](*_arg0); end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def inspect; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def members; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def new(*_arg0); end end end @@ -2163,38 +2437,89 @@ class Faraday::RequestOptions < ::Faraday::Options # source://faraday//lib/faraday/options/request_options.rb#11 def []=(key, value); end + # source://faraday//lib/faraday/options/request_options.rb#7 def bind; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def bind=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def boundary; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def boundary=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def context; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def context=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def oauth; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def oauth=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def on_data; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def on_data=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def open_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def open_timeout=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def params_encoder; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def params_encoder=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def proxy; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def proxy=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def read_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def read_timeout=(_); end # source://faraday//lib/faraday/options/request_options.rb#19 def stream_response?; end + # source://faraday//lib/faraday/options/request_options.rb#7 def timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def timeout=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def write_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def write_timeout=(_); end class << self + # source://faraday//lib/faraday/options/request_options.rb#7 def [](*_arg0); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def inspect; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def keyword_init?; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def members; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def new(*_arg0); end end end @@ -2221,6 +2546,9 @@ class Faraday::Response # source://faraday//lib/faraday/response.rb#11 def initialize(env = T.unsafe(nil)); end + # source://faraday//lib/faraday/response.rb#30 + def [](*args, **_arg1, &block); end + # Expand the env with more properties, without overriding existing ones. # Useful for applying request params after restoring a marshalled Response. # @@ -2371,105 +2699,170 @@ class Faraday::SSLError < ::Faraday::Error; end # source://faraday//lib/faraday/options/ssl_options.rb#50 class Faraday::SSLOptions < ::Faraday::Options # @return [String] CA file + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_file; end # @return [String] CA file + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_file=(_); end # @return [String] CA path + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_path; end # @return [String] CA path + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_path=(_); end # @return [OpenSSL::X509::Store] certificate store + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def cert_store; end # @return [OpenSSL::X509::Store] certificate store + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def cert_store=(_); end # @return [OpenSSL::X509::Certificate] certificate (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def certificate; end # @return [OpenSSL::X509::Certificate] certificate (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def certificate=(_); end # @return [String, OpenSSL::X509::Certificate] client certificate + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_cert; end # @return [String, OpenSSL::X509::Certificate] client certificate + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_cert=(_); end # @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_key; end # @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_key=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#61 def disable?; end # @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def max_version; end # @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def max_version=(_); end # @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def min_version; end # @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def min_version=(_); end # @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def private_key; end # @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def private_key=(_); end # @return [Boolean] whether to verify SSL certificates or not + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify; end # @return [Boolean] whether to verify SSL certificates or not + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#56 def verify?; end # @return [Integer] maximum depth for the certificate chain verification + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_depth; end # @return [Integer] maximum depth for the certificate chain verification + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_depth=(_); end # @return [Boolean] whether to enable hostname verification on server certificates # during the handshake or not (see https://github.com/ruby/openssl/pull/60) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_hostname; end # @return [Boolean] whether to enable hostname verification on server certificates # during the handshake or not (see https://github.com/ruby/openssl/pull/60) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_hostname=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#66 def verify_hostname?; end # @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_mode; end # @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_mode=(_); end # @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def version; end # @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def version=(_); end class << self + # source://faraday//lib/faraday/options/ssl_options.rb#50 def [](*_arg0); end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def inspect; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def keyword_init?; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def members; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def new(*_arg0); end end end @@ -2685,7 +3078,7 @@ class Faraday::Utils::Headers < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#84 def has_key?(key); end # @return [Boolean] @@ -2698,12 +3091,12 @@ class Faraday::Utils::Headers < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#86 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#85 def member?(key); end # source://faraday//lib/faraday/utils/headers.rb#95 @@ -2721,7 +3114,7 @@ class Faraday::Utils::Headers < ::Hash # source://faraday//lib/faraday/utils/headers.rb#107 def to_hash; end - # source://faraday//lib/faraday/utils/headers.rb#88 + # source://faraday//lib/faraday/utils/headers.rb#93 def update(other); end protected @@ -2772,7 +3165,7 @@ class Faraday::Utils::ParamsHash < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#23 def has_key?(key); end # @return [Boolean] @@ -2782,18 +3175,18 @@ class Faraday::Utils::ParamsHash < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#25 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#24 def member?(key); end # source://faraday//lib/faraday/utils/params_hash.rb#35 def merge(params); end - # source://faraday//lib/faraday/utils/params_hash.rb#27 + # source://faraday//lib/faraday/utils/params_hash.rb#33 def merge!(params); end # source://faraday//lib/faraday/utils/params_hash.rb#44 diff --git a/sorbet/rbi/gems/frozen_record@0.27.4.rbi b/sorbet/rbi/gems/frozen_record@0.27.4.rbi index 61a869ee4..8ac883b52 100644 --- a/sorbet/rbi/gems/frozen_record@0.27.4.rbi +++ b/sorbet/rbi/gems/frozen_record@0.27.4.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `frozen_record` gem. # Please instead update this file by running `bin/tapioca gem frozen_record`. + # source://frozen_record//lib/frozen_record/version.rb#3 module FrozenRecord class << self @@ -105,19 +106,19 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#293 def [](attr); end - # source://frozen_record//lib/frozen_record/base.rb#293 + # source://frozen_record//lib/frozen_record/base.rb#296 def attribute(attr); end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases?; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns?; end # source://frozen_record//lib/frozen_record/base.rb#285 @@ -126,16 +127,16 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#289 def id; end - # source://activemodel/7.1.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json; end - # source://activemodel/7.1.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json?; end - # source://activemodel/7.1.4/lib/active_model/naming.rb#255 + # source://frozen_record//lib/frozen_record/base.rb#24 def model_name(&block); end - # source://activemodel/7.1.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter=(_arg0); end # @return [Boolean] @@ -197,19 +198,19 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#145 def add_index(attribute, unique: T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#96 + # source://frozen_record//lib/frozen_record/base.rb#99 def all; end # source://frozen_record//lib/frozen_record/base.rb#150 def attribute(attribute, klass); end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases=(value); end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases?; end # source://frozen_record//lib/frozen_record/base.rb#33 @@ -221,13 +222,13 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#33 def attribute_deserializers?; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns; end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns=(value); end - # source://activemodel/7.1.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns?; end # source://frozen_record//lib/frozen_record/base.rb#85 @@ -315,13 +316,13 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#105 def ids(*_arg0, **_arg1, &_arg2); end - # source://activemodel/7.1.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json; end - # source://activemodel/7.1.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json=(value); end - # source://activemodel/7.1.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json?; end # source://frozen_record//lib/frozen_record/base.rb#32 @@ -372,13 +373,13 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#105 def order(*_arg0, **_arg1, &_arg2); end - # source://activemodel/7.1.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter; end - # source://activemodel/7.1.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter=(value); end - # source://activemodel/7.1.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter?; end # source://frozen_record//lib/frozen_record/base.rb#105 @@ -429,6 +430,7 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#265 def list_attributes(records); end + # source://frozen_record//lib/frozen_record/base.rb#210 def load(*_arg0); end # source://frozen_record//lib/frozen_record/base.rb#253 @@ -601,7 +603,7 @@ class FrozenRecord::Scope # source://frozen_record//lib/frozen_record/scope.rb#36 def find_by_id(id); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # source://frozen_record//lib/frozen_record/scope.rb#12 def find_each(*_arg0, **_arg1, &_arg2); end # source://frozen_record//lib/frozen_record/scope.rb#11 @@ -772,7 +774,7 @@ class FrozenRecord::Scope::Matcher # source://frozen_record//lib/frozen_record/scope.rb#322 def ==(other); end - # source://frozen_record//lib/frozen_record/scope.rb#322 + # source://frozen_record//lib/frozen_record/scope.rb#325 def eql?(other); end # source://frozen_record//lib/frozen_record/scope.rb#306 diff --git a/sorbet/rbi/gems/globalid@1.2.1.rbi b/sorbet/rbi/gems/globalid@1.2.1.rbi index 6baf4a4a9..46bbb1225 100644 --- a/sorbet/rbi/gems/globalid@1.2.1.rbi +++ b/sorbet/rbi/gems/globalid@1.2.1.rbi @@ -26,7 +26,7 @@ class GlobalID # source://globalid//lib/global_id/global_id.rb#42 def deconstruct_keys(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#63 + # source://globalid//lib/global_id/global_id.rb#66 def eql?(other); end # source://globalid//lib/global_id/global_id.rb#48 @@ -126,7 +126,7 @@ module GlobalID::Identification # global_id.modal_id # => "1" # global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x" # - # source://globalid//lib/global_id/identification.rb#37 + # source://globalid//lib/global_id/identification.rb#40 def to_gid(options = T.unsafe(nil)); end # Returns the Global ID parameter of the model. @@ -206,7 +206,7 @@ module GlobalID::Identification # GlobalID::Locator.locate_signed(signup_person_sgid.to_s, for: 'signup_form') # => # # - # source://globalid//lib/global_id/identification.rb#107 + # source://globalid//lib/global_id/identification.rb#110 def to_sgid(options = T.unsafe(nil)); end # Returns the Signed Global ID parameter. @@ -502,7 +502,7 @@ class SignedGlobalID < ::GlobalID # source://globalid//lib/global_id/signed_global_id.rb#57 def purpose; end - # source://globalid//lib/global_id/signed_global_id.rb#66 + # source://globalid//lib/global_id/signed_global_id.rb#69 def to_param; end # source://globalid//lib/global_id/signed_global_id.rb#66 @@ -576,6 +576,30 @@ class SignedGlobalID::ExpiredMessage < ::StandardError; end # source://globalid//lib/global_id/uri/gid.rb#7 class URI::GID < ::URI::Generic + # URI::GID encodes an app unique reference to a specific model as an URI. + # It has the components: app name, model class name, model id and params. + # All components except params are required. + # + # The URI format looks like "gid://app/model_name/model_id". + # + # Simple metadata can be stored in params. Useful if your app has multiple databases, + # for instance, and you need to find out which one to look up the model in. + # + # Params will be encoded as query parameters like so + # "gid://app/model_name/model_id?key=value&another_key=another_value". + # + # Params won't be typecast, they're always strings. + # For convenience params can be accessed using both strings and symbol keys. + # + # Multi value params aren't supported. Any params encoding multiple values under + # the same key will return only the last value. For example, when decoding + # params like "key=first_value&key=last_value" key will only be last_value. + # + # Read the documentation for +parse+, +create+ and +build+ for more. + # + # source://globalid//lib/global_id/uri/gid.rb#28 + def app; end + # source://globalid//lib/global_id/uri/gid.rb#107 def deconstruct_keys(_keys); end diff --git a/sorbet/rbi/gems/google-protobuf@4.29.3.rbi b/sorbet/rbi/gems/google-protobuf@4.29.3.rbi index ee87e0ce8..cde96e80e 100644 --- a/sorbet/rbi/gems/google-protobuf@4.29.3.rbi +++ b/sorbet/rbi/gems/google-protobuf@4.29.3.rbi @@ -4,19 +4,20 @@ # This is an autogenerated file for types exported from the `google-protobuf` gem. # Please instead update this file by running `bin/tapioca gem google-protobuf`. + # We define these before requiring the platform-specific modules. # That way the module init can grab references to these. # -# source://google-protobuf/lib/google/protobuf/message_exts.rb#8 +# source://google-protobuf//lib/google/protobuf/message_exts.rb#8 module Google; end -# source://google-protobuf/lib/google/protobuf/message_exts.rb#9 +# source://google-protobuf//lib/google/protobuf/message_exts.rb#9 module Google::Protobuf class << self - # source://google-protobuf/lib/google/protobuf.rb#38 + # source://google-protobuf//lib/google/protobuf.rb#38 def decode(klass, proto, options = T.unsafe(nil)); end - # source://google-protobuf/lib/google/protobuf.rb#42 + # source://google-protobuf//lib/google/protobuf.rb#42 def decode_json(klass, json, options = T.unsafe(nil)); end def deep_copy(_arg0); end @@ -24,15 +25,15 @@ module Google::Protobuf # @raise [FrozenError] def discard_unknown(_arg0); end - # source://google-protobuf/lib/google/protobuf.rb#30 + # source://google-protobuf//lib/google/protobuf.rb#30 def encode(msg, options = T.unsafe(nil)); end - # source://google-protobuf/lib/google/protobuf.rb#34 + # source://google-protobuf//lib/google/protobuf.rb#34 def encode_json(msg, options = T.unsafe(nil)); end end end -# source://google-protobuf/lib/google/protobuf/message_exts.rb#29 +# source://google-protobuf//lib/google/protobuf/message_exts.rb#29 class Google::Protobuf::AbstractMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -110,7 +111,7 @@ class Google::Protobuf::EnumDescriptor def options; end end -# source://google-protobuf/lib/google/protobuf.rb#16 +# source://google-protobuf//lib/google/protobuf.rb#16 class Google::Protobuf::Error < ::StandardError; end class Google::Protobuf::FieldDescriptor @@ -177,30 +178,30 @@ class Google::Protobuf::FileDescriptor def options; end end -# source://google-protobuf/lib/google/protobuf.rb#46 +# source://google-protobuf//lib/google/protobuf.rb#46 Google::Protobuf::IMPLEMENTATION = T.let(T.unsafe(nil), Symbol) -# source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#10 +# source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#10 module Google::Protobuf::Internal; end class Google::Protobuf::Internal::Arena; end -# source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#42 +# source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#42 class Google::Protobuf::Internal::LegacyObjectCache # @return [LegacyObjectCache] a new instance of LegacyObjectCache # - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#43 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#43 def initialize; end - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#49 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#49 def get(key); end - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#71 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#71 def try_add(key, value); end private - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#86 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#86 def purge; end end @@ -221,17 +222,17 @@ Google::Protobuf::Internal::OBJECT_CACHE = T.let(T.unsafe(nil), Google::Protobuf # are 32 bits. In this case, we enable the secondary Hash to hold the keys # and prevent them from being collected. # -# source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#25 +# source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#25 class Google::Protobuf::Internal::ObjectCache # @return [ObjectCache] a new instance of ObjectCache # - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#26 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#26 def initialize; end - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#31 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#31 def get(key); end - # source://google-protobuf/lib/google/protobuf/internal/object_cache.rb#35 + # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#35 def try_add(key, value); end end @@ -353,25 +354,25 @@ class Google::Protobuf::Map def values; end end -# source://google-protobuf/lib/google/protobuf/message_exts.rb#10 +# source://google-protobuf//lib/google/protobuf/message_exts.rb#10 module Google::Protobuf::MessageExts mixes_in_class_methods ::Google::Protobuf::MessageExts::ClassMethods - # source://google-protobuf/lib/google/protobuf/message_exts.rb#20 + # source://google-protobuf//lib/google/protobuf/message_exts.rb#20 def to_json(options = T.unsafe(nil)); end - # source://google-protobuf/lib/google/protobuf/message_exts.rb#24 + # source://google-protobuf//lib/google/protobuf/message_exts.rb#24 def to_proto(options = T.unsafe(nil)); end class << self # this is only called in jruby; mri loades the ClassMethods differently # - # source://google-protobuf/lib/google/protobuf/message_exts.rb#13 + # source://google-protobuf//lib/google/protobuf/message_exts.rb#13 def included(klass); end end end -# source://google-protobuf/lib/google/protobuf/message_exts.rb#17 +# source://google-protobuf//lib/google/protobuf/message_exts.rb#17 module Google::Protobuf::MessageExts::ClassMethods; end class Google::Protobuf::MethodDescriptor @@ -397,13 +398,13 @@ class Google::Protobuf::OneofDescriptor def options; end end -# source://google-protobuf/lib/google/protobuf.rb#20 +# source://google-protobuf//lib/google/protobuf.rb#20 Google::Protobuf::PREFER_FFI = T.let(T.unsafe(nil), FalseClass) -# source://google-protobuf/lib/google/protobuf.rb#17 +# source://google-protobuf//lib/google/protobuf.rb#17 class Google::Protobuf::ParseError < ::Google::Protobuf::Error; end -# source://google-protobuf/lib/google/protobuf/repeated_field.rb#27 +# source://google-protobuf//lib/google/protobuf/repeated_field.rb#27 class Google::Protobuf::RepeatedField include ::Enumerable extend ::Forwardable @@ -411,21 +412,21 @@ class Google::Protobuf::RepeatedField # @return [RepeatedField] a new instance of RepeatedField def initialize(*_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def &(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def *(*args, **_arg1, &block); end def +(_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def -(*args, **_arg1, &block); end # @raise [FrozenError] def <<(_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def <=>(*args, **_arg1, &block); end def ==(_arg0); end @@ -434,15 +435,15 @@ class Google::Protobuf::RepeatedField # @raise [FrozenError] def []=(_arg0, _arg1); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def assoc(*args, **_arg1, &block); end def at(*_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def bsearch(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def bsearch_index(*args, **_arg1, &block); end # @raise [FrozenError] @@ -450,45 +451,45 @@ class Google::Protobuf::RepeatedField def clone; end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def collect!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def compact(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def compact!(*args, &block); end def concat(_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def count(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def cycle(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#104 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def delete(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#104 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def delete_at(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def delete_if(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def difference(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def dig(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def drop(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def drop_while(*args, **_arg1, &block); end def dup; end @@ -501,33 +502,33 @@ class Google::Protobuf::RepeatedField # acts like an ordinary Ruby sequence. def each; end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def each_index(*args, &block); end # @return [Boolean] # - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#92 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#92 def empty?; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def eql?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def fetch(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def fill(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def find_index(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#58 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#58 def first(n = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def flatten(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def flatten!(*args, &block); end # Freezes the RepeatedField object. We have to intercept this so we can @@ -545,117 +546,121 @@ class Google::Protobuf::RepeatedField def hash; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def include?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def index(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def insert(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def inspect(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def intersection(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def join(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#151 def keep_if(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#69 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#69 def last(n = T.unsafe(nil)); end def length; end + + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#99 def map; end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#152 def map!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pack(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def permutation(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#81 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#81 def pop(n = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pretty_print(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pretty_print_cycle(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def product(*args, **_arg1, &block); end # @raise [FrozenError] def push(*_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rassoc(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#153 def reject!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def repeated_combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def repeated_permutation(*args, **_arg1, &block); end # @raise [FrozenError] def replace(_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def reverse(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def reverse!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rindex(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rotate(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def rotate!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def sample(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def select!(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def shelljoin(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#104 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def shift(*args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def shuffle(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def shuffle!(*args, &block); end def size; end # array aliases into enumerable + # + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#97 def slice(*_arg0); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#104 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def slice!(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def sort!(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def sort_by!(*args, &block); end # call-seq: @@ -665,27 +670,28 @@ class Google::Protobuf::RepeatedField # Also called as a fallback of Object#to_a def to_ary; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def to_s(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def transpose(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def union(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def uniq(*args, **_arg1, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def uniq!(*args, &block); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#104 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def unshift(*args, &block); end + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#98 def values_at; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def |(*args, **_arg1, &block); end private @@ -696,10 +702,10 @@ class Google::Protobuf::RepeatedField class << self private - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#103 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#103 def define_array_wrapper_method(method_name); end - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#115 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#115 def define_array_wrapper_with_result_method(method_name); end end end @@ -708,9 +714,9 @@ end # This only applies in cases where the calling function which created the enumerator, # such as #sort!, modifies itself rather than a new array, such as #sort # -# source://google-protobuf/lib/google/protobuf/repeated_field.rb#159 +# source://google-protobuf//lib/google/protobuf/repeated_field.rb#159 class Google::Protobuf::RepeatedField::ProxyingEnumerator < ::Struct - # source://google-protobuf/lib/google/protobuf/repeated_field.rb#160 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#160 def each(*args, &block); end end @@ -726,5 +732,5 @@ class Google::Protobuf::ServiceDescriptor def options; end end -# source://google-protobuf/lib/google/protobuf.rb#18 +# source://google-protobuf//lib/google/protobuf.rb#18 class Google::Protobuf::TypeError < ::TypeError; end diff --git a/sorbet/rbi/gems/graphql@2.4.8.rbi b/sorbet/rbi/gems/graphql@2.4.8.rbi index 4b825ed04..48d752e67 100644 --- a/sorbet/rbi/gems/graphql@2.4.8.rbi +++ b/sorbet/rbi/gems/graphql@2.4.8.rbi @@ -4,24 +4,25 @@ # This is an autogenerated file for types exported from the `graphql` gem. # Please instead update this file by running `bin/tapioca gem graphql`. -# source://graphql/lib/graphql/autoload.rb#3 + +# source://graphql//lib/graphql/autoload.rb#3 module GraphQL extend ::GraphQL::Autoload class << self - # source://graphql/lib/graphql.rb#39 + # source://graphql//lib/graphql.rb#39 def default_parser; end # Sets the attribute default_parser # # @param value the value to set the attribute default_parser to. # - # source://graphql/lib/graphql.rb#43 + # source://graphql//lib/graphql.rb#43 def default_parser=(_arg0); end # Load all `autoload`-configured classes, and also eager-load dependents who have autoloads of their own. # - # source://graphql/lib/graphql.rb#14 + # source://graphql//lib/graphql.rb#14 def eager_load!; end # Turn a query string or schema definition into an AST @@ -29,7 +30,7 @@ module GraphQL # @param graphql_string [String] a GraphQL query string or schema definition # @return [GraphQL::Language::Nodes::Document] # - # source://graphql/lib/graphql.rb#49 + # source://graphql//lib/graphql.rb#49 def parse(graphql_string, trace: T.unsafe(nil), filename: T.unsafe(nil), max_tokens: T.unsafe(nil)); end # Read the contents of `filename` and parse them as GraphQL @@ -37,37 +38,37 @@ module GraphQL # @param filename [String] Path to a `.graphql` file containing IDL or query # @return [GraphQL::Language::Nodes::Document] # - # source://graphql/lib/graphql.rb#56 + # source://graphql//lib/graphql.rb#56 def parse_file(filename); end - # source://graphql/lib/graphql.rb#66 + # source://graphql//lib/graphql.rb#66 def parse_with_racc(string, filename: T.unsafe(nil), trace: T.unsafe(nil)); end # If true, the parser should raise when an integer or float is followed immediately by an identifier (instead of a space or punctuation) # - # source://graphql/lib/graphql.rb#84 + # source://graphql//lib/graphql.rb#84 def reject_numbers_followed_by_names; end # If true, the parser should raise when an integer or float is followed immediately by an identifier (instead of a space or punctuation) # - # source://graphql/lib/graphql.rb#84 + # source://graphql//lib/graphql.rb#84 def reject_numbers_followed_by_names=(_arg0); end # @return [Array] # - # source://graphql/lib/graphql.rb#62 + # source://graphql//lib/graphql.rb#62 def scan(graphql_string); end - # source://graphql/lib/graphql.rb#71 + # source://graphql//lib/graphql.rb#71 def scan_with_ruby(graphql_string); end end end -# source://graphql/lib/graphql/analysis/visitor.rb#3 +# source://graphql//lib/graphql/analysis/visitor.rb#3 module GraphQL::Analysis private - # source://graphql/lib/graphql/analysis.rb#89 + # source://graphql//lib/graphql/analysis.rb#89 def analysis_errors(results); end # Analyze a multiplex, and all queries within. @@ -78,18 +79,18 @@ module GraphQL::Analysis # @param analyzers [Array] # @return [Array] Results from multiplex analyzers # - # source://graphql/lib/graphql/analysis.rb#22 + # source://graphql//lib/graphql/analysis.rb#22 def analyze_multiplex(multiplex, analyzers); end # @param query [GraphQL::Query] # @param analyzers [Array] # @return [Array] Results from those analyzers # - # source://graphql/lib/graphql/analysis.rb#51 + # source://graphql//lib/graphql/analysis.rb#51 def analyze_query(query, analyzers, multiplex_analyzers: T.unsafe(nil)); end class << self - # source://graphql/lib/graphql/analysis.rb#89 + # source://graphql//lib/graphql/analysis.rb#89 def analysis_errors(results); end # Analyze a multiplex, and all queries within. @@ -100,19 +101,19 @@ module GraphQL::Analysis # @param analyzers [Array] # @return [Array] Results from multiplex analyzers # - # source://graphql/lib/graphql/analysis.rb#22 + # source://graphql//lib/graphql/analysis.rb#22 def analyze_multiplex(multiplex, analyzers); end # @param query [GraphQL::Query] # @param analyzers [Array] # @return [Array] Results from those analyzers # - # source://graphql/lib/graphql/analysis.rb#51 + # source://graphql//lib/graphql/analysis.rb#51 def analyze_query(query, analyzers, multiplex_analyzers: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/analysis.rb#13 +# source://graphql//lib/graphql/analysis.rb#13 GraphQL::Analysis::AST = GraphQL::Analysis # Query analyzer for query ASTs. Query analyzers respond to visitor style methods @@ -123,11 +124,11 @@ GraphQL::Analysis::AST = GraphQL::Analysis # # @param The [GraphQL::Query, GraphQL::Execution::Multiplex] query or multiplex to analyze # -# source://graphql/lib/graphql/analysis/analyzer.rb#11 +# source://graphql//lib/graphql/analysis/analyzer.rb#11 class GraphQL::Analysis::Analyzer # @return [Analyzer] a new instance of Analyzer # - # source://graphql/lib/graphql/analysis/analyzer.rb#12 + # source://graphql//lib/graphql/analysis/analyzer.rb#12 def initialize(subject); end # Analyzer hook to decide at analysis time whether a query should @@ -135,103 +136,103 @@ class GraphQL::Analysis::Analyzer # # @return [Boolean] If the query should be analyzed or not # - # source://graphql/lib/graphql/analysis/analyzer.rb#27 + # source://graphql//lib/graphql/analysis/analyzer.rb#27 def analyze?; end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_abstract_node(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_argument(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_directive(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_document(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_enum(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_fragment_spread(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_inline_fragment(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_input_object(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_list_type(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_non_null_type(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_null_value(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_operation_definition(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_type_name(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_variable_definition(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_variable_identifier(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_abstract_node(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_argument(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_directive(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_document(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_enum(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_fragment_spread(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_inline_fragment(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_input_object(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_list_type(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_non_null_type(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_null_value(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_operation_definition(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_type_name(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_variable_definition(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_variable_identifier(node, parent, visitor); end # The result for this analyzer. Returning {GraphQL::AnalysisError} results @@ -240,7 +241,7 @@ class GraphQL::Analysis::Analyzer # @raise [GraphQL::RequiredImplementationMissingError] # @return [Any] The analyzer result # - # source://graphql/lib/graphql/analysis/analyzer.rb#41 + # source://graphql//lib/graphql/analysis/analyzer.rb#41 def result; end # Analyzer hook to decide at analysis time whether analysis @@ -248,93 +249,93 @@ class GraphQL::Analysis::Analyzer # # @return [Boolean] If analysis requires visitation or not # - # source://graphql/lib/graphql/analysis/analyzer.rb#34 + # source://graphql//lib/graphql/analysis/analyzer.rb#34 def visit?; end protected # @return [GraphQL::Execution::Multiplex, nil] `nil` if this analyzer is visiting a query # - # source://graphql/lib/graphql/analysis/analyzer.rb#86 + # source://graphql//lib/graphql/analysis/analyzer.rb#86 def multiplex; end # @return [GraphQL::Query, nil] `nil` if this analyzer is visiting a multiplex # (When this is `nil`, use `visitor.query` inside visit methods to get the current query) # - # source://graphql/lib/graphql/analysis/analyzer.rb#83 + # source://graphql//lib/graphql/analysis/analyzer.rb#83 def query; end # @return [GraphQL::Query, GraphQL::Execution::Multiplex] Whatever this analyzer is analyzing # - # source://graphql/lib/graphql/analysis/analyzer.rb#79 + # source://graphql//lib/graphql/analysis/analyzer.rb#79 def subject; end class << self private - # source://graphql/lib/graphql/analysis/analyzer.rb#48 + # source://graphql//lib/graphql/analysis/analyzer.rb#48 def build_visitor_hooks(member_name); end end end -# source://graphql/lib/graphql/analysis/field_usage.rb#4 +# source://graphql//lib/graphql/analysis/field_usage.rb#4 class GraphQL::Analysis::FieldUsage < ::GraphQL::Analysis::Analyzer # @return [FieldUsage] a new instance of FieldUsage # - # source://graphql/lib/graphql/analysis/field_usage.rb#5 + # source://graphql//lib/graphql/analysis/field_usage.rb#5 def initialize(query); end - # source://graphql/lib/graphql/analysis/field_usage.rb#13 + # source://graphql//lib/graphql/analysis/field_usage.rb#13 def on_leave_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/field_usage.rb#26 + # source://graphql//lib/graphql/analysis/field_usage.rb#26 def result; end private - # source://graphql/lib/graphql/analysis/field_usage.rb#37 + # source://graphql//lib/graphql/analysis/field_usage.rb#37 def extract_deprecated_arguments(argument_values); end - # source://graphql/lib/graphql/analysis/field_usage.rb#74 + # source://graphql//lib/graphql/analysis/field_usage.rb#74 def extract_deprecated_enum_value(enum_type, value); end end # Used under the hood to implement complexity validation, # see {Schema#max_complexity} and {Query#max_complexity} # -# source://graphql/lib/graphql/analysis/max_query_complexity.rb#6 +# source://graphql//lib/graphql/analysis/max_query_complexity.rb#6 class GraphQL::Analysis::MaxQueryComplexity < ::GraphQL::Analysis::QueryComplexity - # source://graphql/lib/graphql/analysis/max_query_complexity.rb#7 + # source://graphql//lib/graphql/analysis/max_query_complexity.rb#7 def result; end end -# source://graphql/lib/graphql/analysis/max_query_depth.rb#4 +# source://graphql//lib/graphql/analysis/max_query_depth.rb#4 class GraphQL::Analysis::MaxQueryDepth < ::GraphQL::Analysis::QueryDepth - # source://graphql/lib/graphql/analysis/max_query_depth.rb#5 + # source://graphql//lib/graphql/analysis/max_query_depth.rb#5 def result; end end # Calculate the complexity of a query, using {Field#complexity} values. # -# source://graphql/lib/graphql/analysis/query_complexity.rb#5 +# source://graphql//lib/graphql/analysis/query_complexity.rb#5 class GraphQL::Analysis::QueryComplexity < ::GraphQL::Analysis::Analyzer # State for the query complexity calculation: # - `complexities_on_type` holds complexity scores for each type # # @return [QueryComplexity] a new instance of QueryComplexity # - # source://graphql/lib/graphql/analysis/query_complexity.rb#8 + # source://graphql//lib/graphql/analysis/query_complexity.rb#8 def initialize(query); end - # source://graphql/lib/graphql/analysis/query_complexity.rb#49 + # source://graphql//lib/graphql/analysis/query_complexity.rb#49 def on_enter_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/query_complexity.rb#67 + # source://graphql//lib/graphql/analysis/query_complexity.rb#67 def on_leave_field(node, parent, visitor); end # Override this method to use the complexity result # - # source://graphql/lib/graphql/analysis/query_complexity.rb#15 + # source://graphql//lib/graphql/analysis/query_complexity.rb#15 def result; end private @@ -346,37 +347,37 @@ class GraphQL::Analysis::QueryComplexity < ::GraphQL::Analysis::Analyzer # @param max_complexity [Numeric] Field's maximum complexity including child complexity # @param child_complexity [Numeric, nil] Field's child complexity # - # source://graphql/lib/graphql/analysis/query_complexity.rb#136 + # source://graphql//lib/graphql/analysis/query_complexity.rb#136 def field_complexity(scoped_type_complexity, max_complexity:, child_complexity: T.unsafe(nil)); end # @return [Integer] # - # source://graphql/lib/graphql/analysis/query_complexity.rb#80 + # source://graphql//lib/graphql/analysis/query_complexity.rb#80 def max_possible_complexity; end # @param inner_selections [Array>] Field selections for a scope # @return [Integer] Total complexity value for all these selections in the parent scope # - # source://graphql/lib/graphql/analysis/query_complexity.rb#141 + # source://graphql//lib/graphql/analysis/query_complexity.rb#141 def merged_max_complexity(query, inner_selections); end # @param query [GraphQL::Query] Used for `query.possible_types` # @param scopes [Array] Array of scoped type complexities # @return [Integer] # - # source://graphql/lib/graphql/analysis/query_complexity.rb#89 + # source://graphql//lib/graphql/analysis/query_complexity.rb#89 def merged_max_complexity_for_scopes(query, scopes); end # @return [Boolean] # - # source://graphql/lib/graphql/analysis/query_complexity.rb#123 + # source://graphql//lib/graphql/analysis/query_complexity.rb#123 def types_intersect?(query, a, b); end end # ScopedTypeComplexity models a tree of GraphQL types mapped to inner selections, ie: # Hash> # -# source://graphql/lib/graphql/analysis/query_complexity.rb#21 +# source://graphql//lib/graphql/analysis/query_complexity.rb#21 class GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity < ::Hash # @param parent_type [Class] The owner of `field_definition` # @param field_definition [GraphQL::Field, GraphQL::Schema::Field] Used for getting the `.complexity` configuration @@ -384,36 +385,36 @@ class GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity < ::Hash # @param response_path [Array] The path to the response key for the field # @return [Hash>] # - # source://graphql/lib/graphql/analysis/query_complexity.rb#32 + # source://graphql//lib/graphql/analysis/query_complexity.rb#32 def initialize(parent_type, field_definition, query, response_path); end # Returns the value of attribute field_definition. # - # source://graphql/lib/graphql/analysis/query_complexity.rb#25 + # source://graphql//lib/graphql/analysis/query_complexity.rb#25 def field_definition; end # @return [Array] # - # source://graphql/lib/graphql/analysis/query_complexity.rb#42 + # source://graphql//lib/graphql/analysis/query_complexity.rb#42 def nodes; end - # source://graphql/lib/graphql/analysis/query_complexity.rb#44 + # source://graphql//lib/graphql/analysis/query_complexity.rb#44 def own_complexity(child_complexity); end # Returns the value of attribute query. # - # source://graphql/lib/graphql/analysis/query_complexity.rb#25 + # source://graphql//lib/graphql/analysis/query_complexity.rb#25 def query; end # Returns the value of attribute response_path. # - # source://graphql/lib/graphql/analysis/query_complexity.rb#25 + # source://graphql//lib/graphql/analysis/query_complexity.rb#25 def response_path; end end # A proc for defaulting empty namespace requests as a new scope hash. # -# source://graphql/lib/graphql/analysis/query_complexity.rb#23 +# source://graphql//lib/graphql/analysis/query_complexity.rb#23 GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity::DEFAULT_PROC = T.let(T.unsafe(nil), Proc) # A query reducer for measuring the depth of a given query. @@ -438,20 +439,20 @@ GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity::DEFAULT_PROC = T.let(T # Schema.execute(query_str) # # GraphQL query depth: 8 # -# source://graphql/lib/graphql/analysis/query_depth.rb#26 +# source://graphql//lib/graphql/analysis/query_depth.rb#26 class GraphQL::Analysis::QueryDepth < ::GraphQL::Analysis::Analyzer # @return [QueryDepth] a new instance of QueryDepth # - # source://graphql/lib/graphql/analysis/query_depth.rb#27 + # source://graphql//lib/graphql/analysis/query_depth.rb#27 def initialize(query); end - # source://graphql/lib/graphql/analysis/query_depth.rb#34 + # source://graphql//lib/graphql/analysis/query_depth.rb#34 def on_enter_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/query_depth.rb#42 + # source://graphql//lib/graphql/analysis/query_depth.rb#42 def on_leave_field(node, parent, visitor); end - # source://graphql/lib/graphql/analysis/query_depth.rb#53 + # source://graphql//lib/graphql/analysis/query_depth.rb#53 def result; end end @@ -464,148 +465,148 @@ end # # @see {GraphQL::Analysis::Analyzer} AST Analyzers for queries # -# source://graphql/lib/graphql/analysis/visitor.rb#12 +# source://graphql//lib/graphql/analysis/visitor.rb#12 class GraphQL::Analysis::Visitor < ::GraphQL::Language::StaticVisitor # @return [Visitor] a new instance of Visitor # - # source://graphql/lib/graphql/analysis/visitor.rb#13 + # source://graphql//lib/graphql/analysis/visitor.rb#13 def initialize(query:, analyzers:); end # @return [GraphQL::Argument, nil] The most-recently-entered GraphQL::Argument, if currently inside one # - # source://graphql/lib/graphql/analysis/visitor.rb#232 + # source://graphql//lib/graphql/analysis/visitor.rb#232 def argument_definition; end # @return [GraphQL::Execution::Interpreter::Arguments] Arguments for this node, merging default values, literal values and query variables # @see {GraphQL::Query#arguments_for} # - # source://graphql/lib/graphql/analysis/visitor.rb#48 + # source://graphql//lib/graphql/analysis/visitor.rb#48 def arguments_for(ast_node, field_definition); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_argument(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_directive(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_field(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_fragment_definition(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_fragment_spread(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_inline_fragment(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#72 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_operation_definition(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_argument(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_directive(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_field(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_fragment_definition(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_fragment_spread(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_inline_fragment(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_operation_definition(node, parent); end # @return [GraphQL::Directive, nil] The most-recently-entered GraphQL::Directive, if currently inside one # - # source://graphql/lib/graphql/analysis/visitor.rb#227 + # source://graphql//lib/graphql/analysis/visitor.rb#227 def directive_definition; end # @return [GraphQL::Field, nil] The most-recently-entered GraphQL::Field, if currently inside one # - # source://graphql/lib/graphql/analysis/visitor.rb#217 + # source://graphql//lib/graphql/analysis/visitor.rb#217 def field_definition; end # @return [Array] Types whose scope we've entered # - # source://graphql/lib/graphql/analysis/visitor.rb#34 + # source://graphql//lib/graphql/analysis/visitor.rb#34 def object_types; end - # source://graphql/lib/graphql/analysis/visitor.rb#167 + # source://graphql//lib/graphql/analysis/visitor.rb#167 def on_argument(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#158 + # source://graphql//lib/graphql/analysis/visitor.rb#158 def on_directive(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#131 + # source://graphql//lib/graphql/analysis/visitor.rb#131 def on_field(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#107 + # source://graphql//lib/graphql/analysis/visitor.rb#107 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#192 + # source://graphql//lib/graphql/analysis/visitor.rb#192 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#118 + # source://graphql//lib/graphql/analysis/visitor.rb#118 def on_inline_fragment(node, parent); end - # source://graphql/lib/graphql/analysis/visitor.rb#96 + # source://graphql//lib/graphql/analysis/visitor.rb#96 def on_operation_definition(node, parent); end # @return [GraphQL::BaseType] The type which the current type came from # - # source://graphql/lib/graphql/analysis/visitor.rb#212 + # source://graphql//lib/graphql/analysis/visitor.rb#212 def parent_type_definition; end # @return [GraphQL::Argument, nil] The previous GraphQL argument # - # source://graphql/lib/graphql/analysis/visitor.rb#237 + # source://graphql//lib/graphql/analysis/visitor.rb#237 def previous_argument_definition; end # @return [GraphQL::Field, nil] The GraphQL field which returned the object that the current field belongs to # - # source://graphql/lib/graphql/analysis/visitor.rb#222 + # source://graphql//lib/graphql/analysis/visitor.rb#222 def previous_field_definition; end # @return [GraphQL::Query] the query being visited # - # source://graphql/lib/graphql/analysis/visitor.rb#31 + # source://graphql//lib/graphql/analysis/visitor.rb#31 def query; end # @return [Array] The path to the response key for the current field # - # source://graphql/lib/graphql/analysis/visitor.rb#63 + # source://graphql//lib/graphql/analysis/visitor.rb#63 def response_path; end # @return [Boolean] If the current node should be skipped because of a skip or include directive # - # source://graphql/lib/graphql/analysis/visitor.rb#58 + # source://graphql//lib/graphql/analysis/visitor.rb#58 def skipping?; end # @return [GraphQL::BaseType] The current object type # - # source://graphql/lib/graphql/analysis/visitor.rb#207 + # source://graphql//lib/graphql/analysis/visitor.rb#207 def type_definition; end - # source://graphql/lib/graphql/analysis/visitor.rb#39 + # source://graphql//lib/graphql/analysis/visitor.rb#39 def visit; end # @return [Boolean] If the visitor is currently inside a fragment definition # - # source://graphql/lib/graphql/analysis/visitor.rb#53 + # source://graphql//lib/graphql/analysis/visitor.rb#53 def visiting_fragment_definition?; end private @@ -613,32 +614,32 @@ class GraphQL::Analysis::Visitor < ::GraphQL::Language::StaticVisitor # Visit a fragment spread inline instead of visiting the definition # by itself. # - # source://graphql/lib/graphql/analysis/visitor.rb#245 + # source://graphql//lib/graphql/analysis/visitor.rb#245 def enter_fragment_spread_inline(fragment_spread); end # Visit a fragment spread inline instead of visiting the definition # by itself. # - # source://graphql/lib/graphql/analysis/visitor.rb#261 + # source://graphql//lib/graphql/analysis/visitor.rb#261 def leave_fragment_spread_inline(_fragment_spread); end # @yield [node] # - # source://graphql/lib/graphql/analysis/visitor.rb#270 + # source://graphql//lib/graphql/analysis/visitor.rb#270 def on_fragment_with_type(node); end # @return [Boolean] # - # source://graphql/lib/graphql/analysis/visitor.rb#265 + # source://graphql//lib/graphql/analysis/visitor.rb#265 def skip?(ast_node); end end -# source://graphql/lib/graphql/analysis_error.rb#3 +# source://graphql//lib/graphql/analysis_error.rb#3 class GraphQL::AnalysisError < ::GraphQL::ExecutionError; end # @see GraphQL::Railtie for automatic Rails integration # -# source://graphql/lib/graphql/autoload.rb#5 +# source://graphql//lib/graphql/autoload.rb#5 module GraphQL::Autoload # Register a constant named `const_name` to be loaded from `path`. # This is like `Kernel#autoload` but it tracks the constants so they can be eager-loaded with {#eager_load!} @@ -647,21 +648,21 @@ module GraphQL::Autoload # @param path [String] # @return [void] # - # source://graphql/lib/graphql/autoload.rb#11 + # source://graphql//lib/graphql/autoload.rb#11 def autoload(const_name, path); end # Call this to load this constant's `autoload` dependents and continue calling recursively # # @return [void] # - # source://graphql/lib/graphql/autoload.rb#20 + # source://graphql//lib/graphql/autoload.rb#20 def eager_load!; end private # @return [Boolean] `true` if GraphQL-Ruby is currently eager-loading its constants # - # source://graphql/lib/graphql/autoload.rb#34 + # source://graphql//lib/graphql/autoload.rb#34 def eager_loading?; end end @@ -677,33 +678,33 @@ end # end # end # -# source://graphql/lib/graphql/backtrace/inspect_result.rb#3 +# source://graphql//lib/graphql/backtrace/inspect_result.rb#3 class GraphQL::Backtrace include ::Enumerable extend ::Forwardable # @return [Backtrace] a new instance of Backtrace # - # source://graphql/lib/graphql/backtrace.rb#30 + # source://graphql//lib/graphql/backtrace.rb#30 def initialize(context, value: T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/backtrace.rb#24 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/backtrace.rb#24 def each(*args, **_arg1, &block); end - # source://graphql/lib/graphql/backtrace.rb#34 + # source://graphql//lib/graphql/backtrace.rb#34 def inspect; end - # source://graphql/lib/graphql/backtrace.rb#40 + # source://graphql//lib/graphql/backtrace.rb#40 def to_a; end - # source://graphql/lib/graphql/backtrace.rb#34 + # source://graphql//lib/graphql/backtrace.rb#38 def to_s; end class << self - # source://graphql/lib/graphql/backtrace.rb#26 + # source://graphql//lib/graphql/backtrace.rb#26 def use(schema_defn); end end end @@ -712,200 +713,200 @@ end # # @api private # -# source://graphql/lib/graphql/backtrace.rb#46 +# source://graphql//lib/graphql/backtrace.rb#46 class GraphQL::Backtrace::Frame # @api private # @return [Frame] a new instance of Frame # - # source://graphql/lib/graphql/backtrace.rb#48 + # source://graphql//lib/graphql/backtrace.rb#48 def initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:); end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def arguments; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def ast_node; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def field; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def object; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def parent_frame; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def path; end # @api private # - # source://graphql/lib/graphql/backtrace.rb#47 + # source://graphql//lib/graphql/backtrace.rb#47 def query; end end -# source://graphql/lib/graphql/backtrace/inspect_result.rb#4 +# source://graphql//lib/graphql/backtrace/inspect_result.rb#4 module GraphQL::Backtrace::InspectResult private - # source://graphql/lib/graphql/backtrace/inspect_result.rb#7 + # source://graphql//lib/graphql/backtrace/inspect_result.rb#7 def inspect_result(obj); end - # source://graphql/lib/graphql/backtrace/inspect_result.rb#24 + # source://graphql//lib/graphql/backtrace/inspect_result.rb#24 def inspect_truncated(obj); end class << self - # source://graphql/lib/graphql/backtrace/inspect_result.rb#7 + # source://graphql//lib/graphql/backtrace/inspect_result.rb#7 def inspect_result(obj); end - # source://graphql/lib/graphql/backtrace/inspect_result.rb#24 + # source://graphql//lib/graphql/backtrace/inspect_result.rb#24 def inspect_truncated(obj); end end end # A class for turning a context into a human-readable table or array # -# source://graphql/lib/graphql/backtrace/table.rb#5 +# source://graphql//lib/graphql/backtrace/table.rb#5 class GraphQL::Backtrace::Table # @return [Table] a new instance of Table # - # source://graphql/lib/graphql/backtrace/table.rb#16 + # source://graphql//lib/graphql/backtrace/table.rb#16 def initialize(context, value:); end # @return [Array] An array of position + field name entries # - # source://graphql/lib/graphql/backtrace/table.rb#27 + # source://graphql//lib/graphql/backtrace/table.rb#27 def to_backtrace; end # @return [String] A table layout of backtrace with metadata # - # source://graphql/lib/graphql/backtrace/table.rb#22 + # source://graphql//lib/graphql/backtrace/table.rb#22 def to_table; end private # @return [Array] 5 items for a backtrace table (not `key`) # - # source://graphql/lib/graphql/backtrace/table.rb#79 + # source://graphql//lib/graphql/backtrace/table.rb#79 def build_rows(context_entry, rows:, top: T.unsafe(nil)); end # @return [String] # - # source://graphql/lib/graphql/backtrace/table.rb#43 + # source://graphql//lib/graphql/backtrace/table.rb#43 def render_table(rows); end - # source://graphql/lib/graphql/backtrace/table.rb#38 + # source://graphql//lib/graphql/backtrace/table.rb#38 def rows; end - # source://graphql/lib/graphql/backtrace/table.rb#128 + # source://graphql//lib/graphql/backtrace/table.rb#128 def value_at(runtime, path); end end -# source://graphql/lib/graphql/backtrace/table.rb#8 +# source://graphql//lib/graphql/backtrace/table.rb#8 GraphQL::Backtrace::Table::HEADERS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/backtrace/table.rb#7 +# source://graphql//lib/graphql/backtrace/table.rb#7 GraphQL::Backtrace::Table::MAX_COL_WIDTH = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/backtrace/table.rb#6 +# source://graphql//lib/graphql/backtrace/table.rb#6 GraphQL::Backtrace::Table::MIN_COL_WIDTH = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/backtrace/trace.rb#4 +# source://graphql//lib/graphql/backtrace/trace.rb#4 module GraphQL::Backtrace::Trace - # source://graphql/lib/graphql/backtrace/trace.rb#5 + # source://graphql//lib/graphql/backtrace/trace.rb#5 def initialize(*args, **kwargs, &block); end - # source://graphql/lib/graphql/backtrace/trace.rb#18 + # source://graphql//lib/graphql/backtrace/trace.rb#18 def analyze_query(query:); end - # source://graphql/lib/graphql/backtrace/trace.rb#36 + # source://graphql//lib/graphql/backtrace/trace.rb#36 def execute_field(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/backtrace/trace.rb#41 + # source://graphql//lib/graphql/backtrace/trace.rb#41 def execute_field_lazy(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/backtrace/trace.rb#46 + # source://graphql//lib/graphql/backtrace/trace.rb#46 def execute_multiplex(multiplex:); end - # source://graphql/lib/graphql/backtrace/trace.rb#25 + # source://graphql//lib/graphql/backtrace/trace.rb#25 def execute_query(query:); end - # source://graphql/lib/graphql/backtrace/trace.rb#30 + # source://graphql//lib/graphql/backtrace/trace.rb#30 def execute_query_lazy(query:, multiplex:); end - # source://graphql/lib/graphql/backtrace/trace.rb#11 + # source://graphql//lib/graphql/backtrace/trace.rb#11 def validate(query:, validate:); end private - # source://graphql/lib/graphql/backtrace/trace.rb#69 + # source://graphql//lib/graphql/backtrace/trace.rb#69 def push_field_backtrace_context(field, query, ast_node, arguments, object); end - # source://graphql/lib/graphql/backtrace/trace.rb#62 + # source://graphql//lib/graphql/backtrace/trace.rb#62 def push_query_backtrace_context(query); end end # When {Backtrace} is enabled, raised errors are wrapped with {TracedError}. # -# source://graphql/lib/graphql/backtrace/traced_error.rb#5 +# source://graphql//lib/graphql/backtrace/traced_error.rb#5 class GraphQL::Backtrace::TracedError < ::GraphQL::Error # @return [TracedError] a new instance of TracedError # - # source://graphql/lib/graphql/backtrace/traced_error.rb#28 + # source://graphql//lib/graphql/backtrace/traced_error.rb#28 def initialize(err, current_ctx); end # @return [GraphQL::Query::Context] The context at the field where the error was raised # - # source://graphql/lib/graphql/backtrace/traced_error.rb#10 + # source://graphql//lib/graphql/backtrace/traced_error.rb#10 def context; end # @return [Array] Printable backtrace of GraphQL error context # - # source://graphql/lib/graphql/backtrace/traced_error.rb#7 + # source://graphql//lib/graphql/backtrace/traced_error.rb#7 def graphql_backtrace; end end # This many lines of the original Ruby backtrace # are included in the message # -# source://graphql/lib/graphql/backtrace/traced_error.rb#26 +# source://graphql//lib/graphql/backtrace/traced_error.rb#26 GraphQL::Backtrace::TracedError::CAUSE_BACKTRACE_PREVIEW_LENGTH = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/backtrace/traced_error.rb#12 +# source://graphql//lib/graphql/backtrace/traced_error.rb#12 GraphQL::Backtrace::TracedError::MESSAGE_TEMPLATE = T.let(T.unsafe(nil), String) # TODO this is not fiber-friendly # -# source://graphql/lib/graphql/backtrace/tracer.rb#5 +# source://graphql//lib/graphql/backtrace/tracer.rb#5 module GraphQL::Backtrace::Tracer private # Implement the {GraphQL::Tracing} API. # - # source://graphql/lib/graphql/backtrace/tracer.rb#9 + # source://graphql//lib/graphql/backtrace/tracer.rb#9 def trace(key, metadata); end class << self # Implement the {GraphQL::Tracing} API. # - # source://graphql/lib/graphql/backtrace/tracer.rb#9 + # source://graphql//lib/graphql/backtrace/tracer.rb#9 def trace(key, metadata); end end end -# source://graphql/lib/graphql/coercion_error.rb#3 +# source://graphql//lib/graphql/coercion_error.rb#3 class GraphQL::CoercionError < ::GraphQL::ExecutionError; end # This module exposes Fiber-level runtime information. @@ -928,23 +929,23 @@ class GraphQL::CoercionError < ::GraphQL::ExecutionError; end # }, # ] # -# source://graphql/lib/graphql/current.rb#24 +# source://graphql//lib/graphql/current.rb#24 module GraphQL::Current class << self # @return [Class, nil] The currently-running {Dataloader::Source} class, if there is one. # - # source://graphql/lib/graphql/current.rb#48 + # source://graphql//lib/graphql/current.rb#48 def dataloader_source_class; end # @return [GraphQL::Field, nil] The currently-running field, if there is one. # @see GraphQL::Field#path for a string identifying this field # - # source://graphql/lib/graphql/current.rb#43 + # source://graphql//lib/graphql/current.rb#43 def field; end # @return [String, nil] Comma-joined operation names for the currently-running {Multiplex}. `nil` if all operations are anonymous. # - # source://graphql/lib/graphql/current.rb#26 + # source://graphql//lib/graphql/current.rb#26 def operation_name; end end end @@ -964,34 +965,34 @@ end # dataloader.with(Sources::Record, Team).load(object.team_id) # end # -# source://graphql/lib/graphql/dataloader/null_dataloader.rb#4 +# source://graphql//lib/graphql/dataloader/null_dataloader.rb#4 class GraphQL::Dataloader # @return [Dataloader] a new instance of Dataloader # - # source://graphql/lib/graphql/dataloader.rb#58 + # source://graphql//lib/graphql/dataloader.rb#58 def initialize(nonblocking: T.unsafe(nil), fiber_limit: T.unsafe(nil)); end # @api private Nothing to see here # - # source://graphql/lib/graphql/dataloader.rb#138 + # source://graphql//lib/graphql/dataloader.rb#138 def append_job(&job); end # This method is called when Dataloader is finished using a fiber. # Use it to perform any cleanup, such as releasing database connections (if required manually) # - # source://graphql/lib/graphql/dataloader.rb#99 + # source://graphql//lib/graphql/dataloader.rb#99 def cleanup_fiber; end # Clear any already-loaded objects from {Source} caches # # @return [void] # - # source://graphql/lib/graphql/dataloader.rb#147 + # source://graphql//lib/graphql/dataloader.rb#147 def clear_cache; end # @return [Integer, nil] # - # source://graphql/lib/graphql/dataloader.rb#68 + # source://graphql//lib/graphql/dataloader.rb#68 def fiber_limit; end # This is called before the fiber is spawned, from the parent context (i.e. from @@ -999,23 +1000,23 @@ class GraphQL::Dataloader # # @return [Hash] Current fiber-local variables # - # source://graphql/lib/graphql/dataloader.rb#78 + # source://graphql//lib/graphql/dataloader.rb#78 def get_fiber_variables; end # @return [Boolean] # - # source://graphql/lib/graphql/dataloader.rb#70 + # source://graphql//lib/graphql/dataloader.rb#70 def nonblocking?; end - # source://graphql/lib/graphql/dataloader.rb#186 + # source://graphql//lib/graphql/dataloader.rb#186 def run; end - # source://graphql/lib/graphql/dataloader.rb#237 + # source://graphql//lib/graphql/dataloader.rb#237 def run_fiber(f); end # Use a self-contained queue for the work in the block. # - # source://graphql/lib/graphql/dataloader.rb#155 + # source://graphql//lib/graphql/dataloader.rb#155 def run_isolated; end # Set up the fiber variables in a new fiber. @@ -1025,15 +1026,15 @@ class GraphQL::Dataloader # @param vars [Hash] Fiber-local variables from {get_fiber_variables} # @return [void] # - # source://graphql/lib/graphql/dataloader.rb#92 + # source://graphql//lib/graphql/dataloader.rb#92 def set_fiber_variables(vars); end - # source://graphql/lib/graphql/dataloader.rb#241 + # source://graphql//lib/graphql/dataloader.rb#241 def spawn_fiber; end # truffle-ruby wasn't doing well with the implementation below # - # source://graphql/lib/graphql/dataloader.rb#118 + # source://graphql//lib/graphql/dataloader.rb#118 def with(source_class, *batch_args, **batch_kwargs); end # Tell the dataloader that this fiber is waiting for data. @@ -1042,70 +1043,70 @@ class GraphQL::Dataloader # # @return [void] # - # source://graphql/lib/graphql/dataloader.rb#132 + # source://graphql//lib/graphql/dataloader.rb#132 def yield; end private - # source://graphql/lib/graphql/dataloader.rb#252 + # source://graphql//lib/graphql/dataloader.rb#252 def calculate_fiber_limit; end - # source://graphql/lib/graphql/dataloader.rb#263 + # source://graphql//lib/graphql/dataloader.rb#263 def join_queues(prev_queue, new_queue); end - # source://graphql/lib/graphql/dataloader.rb#269 + # source://graphql//lib/graphql/dataloader.rb#269 def spawn_job_fiber; end - # source://graphql/lib/graphql/dataloader.rb#279 + # source://graphql//lib/graphql/dataloader.rb#279 def spawn_source_fiber; end class << self # Returns the value of attribute default_fiber_limit. # - # source://graphql/lib/graphql/dataloader.rb#27 + # source://graphql//lib/graphql/dataloader.rb#27 def default_fiber_limit; end # Sets the attribute default_fiber_limit # # @param value the value to set the attribute default_fiber_limit to. # - # source://graphql/lib/graphql/dataloader.rb#27 + # source://graphql//lib/graphql/dataloader.rb#27 def default_fiber_limit=(_arg0); end # Returns the value of attribute default_nonblocking. # - # source://graphql/lib/graphql/dataloader.rb#27 + # source://graphql//lib/graphql/dataloader.rb#27 def default_nonblocking; end # Sets the attribute default_nonblocking # # @param value the value to set the attribute default_nonblocking to. # - # source://graphql/lib/graphql/dataloader.rb#27 + # source://graphql//lib/graphql/dataloader.rb#27 def default_nonblocking=(_arg0); end - # source://graphql/lib/graphql/dataloader.rb#30 + # source://graphql//lib/graphql/dataloader.rb#30 def use(schema, nonblocking: T.unsafe(nil), fiber_limit: T.unsafe(nil)); end # Call the block with a Dataloader instance, # then run all enqueued jobs and return the result of the block. # - # source://graphql/lib/graphql/dataloader.rb#48 + # source://graphql//lib/graphql/dataloader.rb#48 def with_dataloading(&block); end end end -# source://graphql/lib/graphql/dataloader/async_dataloader.rb#4 +# source://graphql//lib/graphql/dataloader/async_dataloader.rb#4 class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader - # source://graphql/lib/graphql/dataloader/async_dataloader.rb#14 + # source://graphql//lib/graphql/dataloader/async_dataloader.rb#14 def run; end - # source://graphql/lib/graphql/dataloader/async_dataloader.rb#5 + # source://graphql//lib/graphql/dataloader/async_dataloader.rb#5 def yield; end private - # source://graphql/lib/graphql/dataloader/async_dataloader.rb#66 + # source://graphql//lib/graphql/dataloader/async_dataloader.rb#66 def spawn_source_task(parent_task, condition); end end @@ -1114,75 +1115,75 @@ end # The Dataloader interface isn't public, but it enables # simple internal code while adding the option to add Dataloader. # -# source://graphql/lib/graphql/dataloader/null_dataloader.rb#9 +# source://graphql//lib/graphql/dataloader/null_dataloader.rb#9 class GraphQL::Dataloader::NullDataloader < ::GraphQL::Dataloader - # source://graphql/lib/graphql/dataloader/null_dataloader.rb#18 + # source://graphql//lib/graphql/dataloader/null_dataloader.rb#18 def append_job; end # These are all no-ops because code was # executed synchronously. # - # source://graphql/lib/graphql/dataloader/null_dataloader.rb#12 + # source://graphql//lib/graphql/dataloader/null_dataloader.rb#12 def run; end - # source://graphql/lib/graphql/dataloader/null_dataloader.rb#13 + # source://graphql//lib/graphql/dataloader/null_dataloader.rb#13 def run_isolated; end # @raise [GraphQL::Error] # - # source://graphql/lib/graphql/dataloader/null_dataloader.rb#14 + # source://graphql//lib/graphql/dataloader/null_dataloader.rb#14 def yield; end end # @see Source#request which returns an instance of this # -# source://graphql/lib/graphql/dataloader/request.rb#5 +# source://graphql//lib/graphql/dataloader/request.rb#5 class GraphQL::Dataloader::Request # @return [Request] a new instance of Request # - # source://graphql/lib/graphql/dataloader/request.rb#6 + # source://graphql//lib/graphql/dataloader/request.rb#6 def initialize(source, key); end # Call this method to cause the current Fiber to wait for the results of this request. # # @return [Object] the object loaded for `key` # - # source://graphql/lib/graphql/dataloader/request.rb#14 + # source://graphql//lib/graphql/dataloader/request.rb#14 def load; end - # source://graphql/lib/graphql/dataloader/request.rb#18 + # source://graphql//lib/graphql/dataloader/request.rb#18 def load_with_deprecation_warning; end end # @see Source#request_all which returns an instance of this. # -# source://graphql/lib/graphql/dataloader/request_all.rb#5 +# source://graphql//lib/graphql/dataloader/request_all.rb#5 class GraphQL::Dataloader::RequestAll < ::GraphQL::Dataloader::Request # @return [RequestAll] a new instance of RequestAll # - # source://graphql/lib/graphql/dataloader/request_all.rb#6 + # source://graphql//lib/graphql/dataloader/request_all.rb#6 def initialize(source, keys); end # Call this method to cause the current Fiber to wait for the results of this request. # # @return [Array] One object for each of `keys` # - # source://graphql/lib/graphql/dataloader/request_all.rb#14 + # source://graphql//lib/graphql/dataloader/request_all.rb#14 def load; end end -# source://graphql/lib/graphql/dataloader/source.rb#5 +# source://graphql//lib/graphql/dataloader/source.rb#5 class GraphQL::Dataloader::Source # Clear any already-loaded objects for this source # # @return [void] # - # source://graphql/lib/graphql/dataloader/source.rb#167 + # source://graphql//lib/graphql/dataloader/source.rb#167 def clear_cache; end # Returns the value of attribute dataloader. # - # source://graphql/lib/graphql/dataloader/source.rb#18 + # source://graphql//lib/graphql/dataloader/source.rb#18 def dataloader; end # Subclasses must implement this method to return a value for each of `keys` @@ -1190,19 +1191,19 @@ class GraphQL::Dataloader::Source # @param keys [Array] keys passed to {#load}, {#load_all}, {#request}, or {#request_all} # @return [Array] A loaded value for each of `keys`. The array must match one-for-one to the list of `keys`. # - # source://graphql/lib/graphql/dataloader/source.rb#86 + # source://graphql//lib/graphql/dataloader/source.rb#86 def fetch(keys); end # @param value [Object] A loading value which will be passed to {#fetch} if it isn't already in the internal cache. # @return [Object] The result from {#fetch} for `key`. If `key` hasn't been loaded yet, the Fiber will yield until it's loaded. # - # source://graphql/lib/graphql/dataloader/source.rb#51 + # source://graphql//lib/graphql/dataloader/source.rb#51 def load(value); end # @param values [Array] Loading keys which will be passed to `#fetch` (or read from the internal cache). # @return [Object] The result from {#fetch} for `keys`. If `keys` haven't been loaded yet, the Fiber will yield until they're loaded. # - # source://graphql/lib/graphql/dataloader/source.rb#64 + # source://graphql//lib/graphql/dataloader/source.rb#64 def load_all(values); end # Add these key-value pairs to this source's cache @@ -1211,27 +1212,27 @@ class GraphQL::Dataloader::Source # @param new_results [Hash Object>] key-value pairs to cache in this source # @return [void] # - # source://graphql/lib/graphql/dataloader/source.rb#117 + # source://graphql//lib/graphql/dataloader/source.rb#117 def merge(new_results); end # Returns the value of attribute pending. # - # source://graphql/lib/graphql/dataloader/source.rb#172 + # source://graphql//lib/graphql/dataloader/source.rb#172 def pending; end # @return [Boolean] True if this source has any pending requests for data. # - # source://graphql/lib/graphql/dataloader/source.rb#109 + # source://graphql//lib/graphql/dataloader/source.rb#109 def pending?; end # @return [Dataloader::Request] a pending request for a value from `key`. Call `.load` on that object to wait for the result. # - # source://graphql/lib/graphql/dataloader/source.rb#21 + # source://graphql//lib/graphql/dataloader/source.rb#21 def request(value); end # @return [Dataloader::Request] a pending request for a values from `keys`. Call `.load` on that object to wait for the results. # - # source://graphql/lib/graphql/dataloader/source.rb#39 + # source://graphql//lib/graphql/dataloader/source.rb#39 def request_all(values); end # Implement this method to return a stable identifier if different @@ -1240,12 +1241,12 @@ class GraphQL::Dataloader::Source # @param value [Object] A value passed to `.request` or `.load`, for which a value will be loaded # @return [Object] The key for tracking this pending data # - # source://graphql/lib/graphql/dataloader/source.rb#34 + # source://graphql//lib/graphql/dataloader/source.rb#34 def result_key_for(value); end # Returns the value of attribute results. # - # source://graphql/lib/graphql/dataloader/source.rb#172 + # source://graphql//lib/graphql/dataloader/source.rb#172 def results; end # Called by {GraphQL::Dataloader} to resolve and pending requests to this source. @@ -1253,14 +1254,14 @@ class GraphQL::Dataloader::Source # @api private # @return [void] # - # source://graphql/lib/graphql/dataloader/source.rb#128 + # source://graphql//lib/graphql/dataloader/source.rb#128 def run_pending_keys; end # Called by {Dataloader} to prepare the {Source}'s internal state # # @api private # - # source://graphql/lib/graphql/dataloader/source.rb#8 + # source://graphql//lib/graphql/dataloader/source.rb#8 def setup(dataloader); end # Wait for a batch, if there's anything to batch. @@ -1268,7 +1269,7 @@ class GraphQL::Dataloader::Source # # @return [void] # - # source://graphql/lib/graphql/dataloader/source.rb#95 + # source://graphql//lib/graphql/dataloader/source.rb#95 def sync(pending_result_keys); end private @@ -1279,7 +1280,7 @@ class GraphQL::Dataloader::Source # @param key [Object] key passed to {#load} or {#load_all} # @return [Object] The result from {#fetch} for `key`. # - # source://graphql/lib/graphql/dataloader/source.rb#180 + # source://graphql//lib/graphql/dataloader/source.rb#180 def result_for(key); end class << self @@ -1298,12 +1299,12 @@ class GraphQL::Dataloader::Source # @param batch_kwargs [Hash] # @return [Object] # - # source://graphql/lib/graphql/dataloader/source.rb#161 + # source://graphql//lib/graphql/dataloader/source.rb#161 def batch_key_for(*batch_args, **batch_kwargs); end end end -# source://graphql/lib/graphql/dataloader/source.rb#91 +# source://graphql//lib/graphql/dataloader/source.rb#91 GraphQL::Dataloader::Source::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer) # This error is raised when `Types::ISO8601Date` is asked to return a value @@ -1311,20 +1312,20 @@ GraphQL::Dataloader::Source::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer) # # @see GraphQL::Types::ISO8601Date which raises this error # -# source://graphql/lib/graphql/date_encoding_error.rb#7 +# source://graphql//lib/graphql/date_encoding_error.rb#7 class GraphQL::DateEncodingError < ::GraphQL::RuntimeTypeError # @return [DateEncodingError] a new instance of DateEncodingError # - # source://graphql/lib/graphql/date_encoding_error.rb#11 + # source://graphql//lib/graphql/date_encoding_error.rb#11 def initialize(value); end # The value which couldn't be encoded # - # source://graphql/lib/graphql/date_encoding_error.rb#9 + # source://graphql//lib/graphql/date_encoding_error.rb#9 def date_value; end end -# source://graphql/lib/graphql/dig.rb#3 +# source://graphql//lib/graphql/dig.rb#3 module GraphQL::Dig # implemented using the old activesupport #dig instead of the ruby built-in # so we can use some of the magic in Schema::InputObject and Interpreter::Arguments @@ -1333,7 +1334,7 @@ module GraphQL::Dig # @param args [Array<[String, Symbol>] Retrieves the value object corresponding to the each key objects repeatedly] rgs [Array<[String, Symbol>] Retrieves the value object corresponding to the each key objects repeatedly # @return [Object] # - # source://graphql/lib/graphql/dig.rb#10 + # source://graphql//lib/graphql/dig.rb#10 def dig(own_key, *rest_keys); end end @@ -1342,32 +1343,32 @@ end # # @see GraphQL::Types::ISO8601Duration which raises this error # -# source://graphql/lib/graphql/duration_encoding_error.rb#7 +# source://graphql//lib/graphql/duration_encoding_error.rb#7 class GraphQL::DurationEncodingError < ::GraphQL::RuntimeTypeError # @return [DurationEncodingError] a new instance of DurationEncodingError # - # source://graphql/lib/graphql/duration_encoding_error.rb#11 + # source://graphql//lib/graphql/duration_encoding_error.rb#11 def initialize(value); end # The value which couldn't be encoded # - # source://graphql/lib/graphql/duration_encoding_error.rb#9 + # source://graphql//lib/graphql/duration_encoding_error.rb#9 def duration_value; end end -# source://graphql/lib/graphql.rb#77 +# source://graphql//lib/graphql.rb#77 module GraphQL::EmptyObjects; end -# source://graphql/lib/graphql.rb#79 +# source://graphql//lib/graphql.rb#79 GraphQL::EmptyObjects::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql.rb#78 +# source://graphql//lib/graphql.rb#78 GraphQL::EmptyObjects::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql.rb#21 +# source://graphql//lib/graphql.rb#21 class GraphQL::Error < ::StandardError; end -# source://graphql/lib/graphql/execution/directive_checks.rb#3 +# source://graphql//lib/graphql/execution/directive_checks.rb#3 module GraphQL::Execution; end # Boolean checks for how an AST node's directives should @@ -1375,41 +1376,41 @@ module GraphQL::Execution; end # # @api private # -# source://graphql/lib/graphql/execution/directive_checks.rb#7 +# source://graphql//lib/graphql/execution/directive_checks.rb#7 module GraphQL::Execution::DirectiveChecks private # @api private # @return [Boolean] Should this node be included in the query? # - # source://graphql/lib/graphql/execution/directive_checks.rb#14 + # source://graphql//lib/graphql/execution/directive_checks.rb#14 def include?(directive_ast_nodes, query); end class << self # @api private # @return [Boolean] Should this node be included in the query? # - # source://graphql/lib/graphql/execution/directive_checks.rb#14 + # source://graphql//lib/graphql/execution/directive_checks.rb#14 def include?(directive_ast_nodes, query); end end end # @api private # -# source://graphql/lib/graphql/execution/directive_checks.rb#9 +# source://graphql//lib/graphql/execution/directive_checks.rb#9 GraphQL::Execution::DirectiveChecks::INCLUDE = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/execution/directive_checks.rb#8 +# source://graphql//lib/graphql/execution/directive_checks.rb#8 GraphQL::Execution::DirectiveChecks::SKIP = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/execution/errors.rb#5 +# source://graphql//lib/graphql/execution/errors.rb#5 class GraphQL::Execution::Errors class << self # @return [Proc, nil] The handler for `error_class`, if one was registered on this schema or inherited # - # source://graphql/lib/graphql/execution/errors.rb#56 + # source://graphql//lib/graphql/execution/errors.rb#56 def find_handler_for(schema, error_class); end # Register this handler, updating the @@ -1420,12 +1421,12 @@ class GraphQL::Execution::Errors # @param error_handler [Proc] # @return [void] # - # source://graphql/lib/graphql/execution/errors.rb#13 + # source://graphql//lib/graphql/execution/errors.rb#13 def register_rescue_from(error_class, error_handlers, error_handler); end end end -# source://graphql/lib/graphql/execution/interpreter/argument_value.rb#5 +# source://graphql//lib/graphql/execution/interpreter/argument_value.rb#5 class GraphQL::Execution::Interpreter class << self # @param schema [GraphQL::Schema] @@ -1434,7 +1435,7 @@ class GraphQL::Execution::Interpreter # @param max_complexity [Integer, nil] # @return [Array] One result per query # - # source://graphql/lib/graphql/execution/interpreter.rb#24 + # source://graphql//lib/graphql/execution/interpreter.rb#24 def run_all(schema, query_options, context: T.unsafe(nil), max_complexity: T.unsafe(nil)); end end end @@ -1443,31 +1444,31 @@ end # # @see Interpreter::Arguments#argument_values for a hash of these objects. # -# source://graphql/lib/graphql/execution/interpreter/argument_value.rb#8 +# source://graphql//lib/graphql/execution/interpreter/argument_value.rb#8 class GraphQL::Execution::Interpreter::ArgumentValue # @return [ArgumentValue] a new instance of ArgumentValue # - # source://graphql/lib/graphql/execution/interpreter/argument_value.rb#9 + # source://graphql//lib/graphql/execution/interpreter/argument_value.rb#9 def initialize(definition:, value:, original_value:, default_used:); end # @return [Boolean] `true` if the schema-defined `default_value:` was applied in this case. (No client-provided value was present.) # - # source://graphql/lib/graphql/execution/interpreter/argument_value.rb#26 + # source://graphql//lib/graphql/execution/interpreter/argument_value.rb#26 def default_used?; end # @return [GraphQL::Schema::Argument] The definition instance for this argument # - # source://graphql/lib/graphql/execution/interpreter/argument_value.rb#23 + # source://graphql//lib/graphql/execution/interpreter/argument_value.rb#23 def definition; end # @return [Object] The value of this argument _before_ `prepare` is applied. # - # source://graphql/lib/graphql/execution/interpreter/argument_value.rb#20 + # source://graphql//lib/graphql/execution/interpreter/argument_value.rb#20 def original_value; end # @return [Object] The Ruby-ready value for this Argument # - # source://graphql/lib/graphql/execution/interpreter/argument_value.rb#17 + # source://graphql//lib/graphql/execution/interpreter/argument_value.rb#17 def value; end end @@ -1478,7 +1479,7 @@ end # # @see GraphQL::Query#arguments_for to get access to these objects. # -# source://graphql/lib/graphql/execution/interpreter/arguments.rb#12 +# source://graphql//lib/graphql/execution/interpreter/arguments.rb#12 class GraphQL::Execution::Interpreter::Arguments include ::GraphQL::Dig extend ::Forwardable @@ -1487,38 +1488,38 @@ class GraphQL::Execution::Interpreter::Arguments # @param keyword_arguments [nil, Hash{Symbol => Object}] # @return [Arguments] a new instance of Arguments # - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#24 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#24 def initialize(argument_values:, keyword_arguments: T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def [](*args, **_arg1, &block); end # @return [Hash{Symbol => ArgumentValue}] # - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#56 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#56 def argument_values; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#63 def each_value(*args, **_arg1, &block); end # @return [Boolean] # - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#58 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#58 def empty?; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def fetch(*args, **_arg1, &block); end - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#65 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#65 def inspect; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def keys(*args, **_arg1, &block); end # The Ruby-style arguments hash, ready for a resolver. @@ -1526,7 +1527,7 @@ class GraphQL::Execution::Interpreter::Arguments # # @return [Hash] # - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#20 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#20 def keyword_arguments; end # Create a new arguments instance which includes these extras. @@ -1537,85 +1538,85 @@ class GraphQL::Execution::Interpreter::Arguments # @param extra_args [Hash Object>] # @return [Interpreter::Arguments] # - # source://graphql/lib/graphql/execution/interpreter/arguments.rb#76 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#76 def merge_extras(extra_args); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def size(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def to_h(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def values(*args, **_arg1, &block); end end -# source://graphql/lib/graphql/execution/interpreter/arguments.rb#84 +# source://graphql//lib/graphql/execution/interpreter/arguments.rb#84 GraphQL::Execution::Interpreter::Arguments::EMPTY = T.let(T.unsafe(nil), GraphQL::Execution::Interpreter::Arguments) -# source://graphql/lib/graphql/execution/interpreter/arguments.rb#83 +# source://graphql//lib/graphql/execution/interpreter/arguments.rb#83 GraphQL::Execution::Interpreter::Arguments::NO_ARGS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#6 +# source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#6 class GraphQL::Execution::Interpreter::ArgumentsCache # @return [ArgumentsCache] a new instance of ArgumentsCache # - # source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#7 + # source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#7 def initialize(query); end # @yield [Interpreter::Arguments, Lazy] The finally-loaded arguments # - # source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#37 + # source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#37 def dataload_for(ast_node, argument_owner, parent_object, &block); end - # source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#24 + # source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#24 def fetch(ast_node, argument_owner, parent_object); end class << self - # source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#57 + # source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#57 def prepare_args_hash(query, ast_arg_or_hash_or_value); end end end -# source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#54 +# source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#54 GraphQL::Execution::Interpreter::ArgumentsCache::NO_ARGUMENTS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/execution/interpreter/arguments_cache.rb#55 +# source://graphql//lib/graphql/execution/interpreter/arguments_cache.rb#55 GraphQL::Execution::Interpreter::ArgumentsCache::NO_VALUE_GIVEN = T.let(T.unsafe(nil), Object) -# source://graphql/lib/graphql/execution/interpreter/execution_errors.rb#6 +# source://graphql//lib/graphql/execution/interpreter/execution_errors.rb#6 class GraphQL::Execution::Interpreter::ExecutionErrors # @return [ExecutionErrors] a new instance of ExecutionErrors # - # source://graphql/lib/graphql/execution/interpreter/execution_errors.rb#7 + # source://graphql//lib/graphql/execution/interpreter/execution_errors.rb#7 def initialize(ctx, ast_node, path); end - # source://graphql/lib/graphql/execution/interpreter/execution_errors.rb#13 + # source://graphql//lib/graphql/execution/interpreter/execution_errors.rb#13 def add(err_or_msg); end end -# source://graphql/lib/graphql/execution/interpreter.rb#154 +# source://graphql//lib/graphql/execution/interpreter.rb#154 class GraphQL::Execution::Interpreter::ListResultFailedError < ::GraphQL::Error # @return [ListResultFailedError] a new instance of ListResultFailedError # - # source://graphql/lib/graphql/execution/interpreter.rb#155 + # source://graphql//lib/graphql/execution/interpreter.rb#155 def initialize(value:, path:, field:); end end # Wrapper for raw values # -# source://graphql/lib/graphql/execution/interpreter/handles_raw_value.rb#7 +# source://graphql//lib/graphql/execution/interpreter/handles_raw_value.rb#7 class GraphQL::Execution::Interpreter::RawValue # @return [RawValue] a new instance of RawValue # - # source://graphql/lib/graphql/execution/interpreter/handles_raw_value.rb#8 + # source://graphql//lib/graphql/execution/interpreter/handles_raw_value.rb#8 def initialize(obj = T.unsafe(nil)); end - # source://graphql/lib/graphql/execution/interpreter/handles_raw_value.rb#12 + # source://graphql//lib/graphql/execution/interpreter/handles_raw_value.rb#12 def resolve; end end -# source://graphql/lib/graphql/execution/interpreter/resolve.rb#6 +# source://graphql//lib/graphql/execution/interpreter/resolve.rb#6 module GraphQL::Execution::Interpreter::Resolve class << self # After getting `results` back from an interpreter evaluation, @@ -1632,17 +1633,17 @@ module GraphQL::Execution::Interpreter::Resolve # # @return [void] # - # source://graphql/lib/graphql/execution/interpreter/resolve.rb#50 + # source://graphql//lib/graphql/execution/interpreter/resolve.rb#50 def resolve(results, dataloader); end # Continue field results in `results` until there's nothing else to continue. # # @return [void] # - # source://graphql/lib/graphql/execution/interpreter/resolve.rb#9 + # source://graphql//lib/graphql/execution/interpreter/resolve.rb#9 def resolve_all(results, dataloader); end - # source://graphql/lib/graphql/execution/interpreter/resolve.rb#14 + # source://graphql//lib/graphql/execution/interpreter/resolve.rb#14 def resolve_each_depth(lazies_at_depth, dataloader); end end end @@ -1652,12 +1653,12 @@ end # # @api private # -# source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#6 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#6 class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Runtime] a new instance of Runtime # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#38 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#38 def initialize(query:, lazies_at_depth:); end # @api private @@ -1667,23 +1668,23 @@ class GraphQL::Execution::Interpreter::Runtime # @param trace [Boolean] If `false`, don't wrap this with field tracing # @return [GraphQL::Execution::Lazy, Object] If loading `object` will be deferred, it's a wrapper over it. # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#760 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#760 def after_lazy(lazy_obj, field:, owner_object:, arguments:, ast_node:, result:, result_name:, runtime_state:, eager: T.unsafe(nil), trace: T.unsafe(nil), &block); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#814 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#814 def arguments(graphql_object, arg_owner, ast_node); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#695 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#695 def call_method_on_directives(method_name, object, directives, &block); end # @api private # @return [GraphQL::Query::Context] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#36 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#36 def context; end # The resolver for `field` returned `value`. Continue to execute the query, @@ -1696,22 +1697,22 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Lazy, Array, Hash, Object] Lazy, Array, and Hash are all traversed to resolve lazy values later # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#566 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#566 def continue_field(value, owner_type, field, current_type, ast_node, next_selections, is_non_null, owner_object, arguments, result_name, selection_result, was_scoped, runtime_state); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#460 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#460 def continue_value(value, field, is_non_null, ast_node, result_name, selection_result); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#448 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#448 def current_path; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#823 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#823 def delete_all_interpreter_context; end # Check {Schema::Directive.include?} for each directive that's present @@ -1719,86 +1720,86 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Boolean] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#727 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#727 def directives_include?(node, graphql_object, parent_type); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#109 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#109 def each_gathered_selections(response_hash); end # @api private # @return [void] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#243 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#243 def evaluate_selection(result_name, field_ast_nodes_or_ast_node, selections_result); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#287 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#287 def evaluate_selection_with_args(arguments, field_defn, ast_node, field_ast_nodes, object, result_name, selection_result, runtime_state); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#345 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#345 def evaluate_selection_with_resolved_keyword_args(kwarg_arguments, resolved_arguments, field_defn, ast_node, field_ast_nodes, object, result_name, selection_result, runtime_state); end # @api private # @return [void] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#197 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#197 def evaluate_selections(gathered_selections, selections_result, target_result, runtime_state); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#59 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#59 def final_result; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#120 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#120 def gather_selections(owner_object, owner_type, selections, selections_to_run = T.unsafe(nil), selections_by_name = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#738 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#738 def get_current_runtime_state; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#63 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#63 def inspect; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#850 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#850 def lazy?(object); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#743 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#743 def minimal_after_lazy(value, &block); end # @api private # @return [GraphQL::Query] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#30 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#30 def query; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#681 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#681 def resolve_list_item(inner_value, inner_type, inner_type_non_null, ast_node, field, owner_object, arguments, this_idx, response_list, owner_type, was_scoped, runtime_state); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#834 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#834 def resolve_type(type, value); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#700 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#700 def run_directive(method_name, object, directives, idx, &block); end # This _begins_ the execution. Some deferred work @@ -1807,13 +1808,13 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [void] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#70 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#70 def run_eager; end # @api private # @return [Class] # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#33 def schema; end # Mark this node and any already-registered children as dead, @@ -1821,228 +1822,228 @@ class GraphQL::Execution::Interpreter::Runtime # # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#435 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#435 def set_graphql_dead(selection_result); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#405 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#405 def set_result(selection_result, result_name, value, is_child_result, is_non_null); end end # @api private # -# source://graphql/lib/graphql/execution/interpreter/runtime.rb#12 +# source://graphql//lib/graphql/execution/interpreter/runtime.rb#12 class GraphQL::Execution::Interpreter::Runtime::CurrentState # @api private # @return [CurrentState] a new instance of CurrentState # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#13 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#13 def initialize; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_arguments; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_arguments=(_arg0); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_field; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_field=(_arg0); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#21 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#21 def current_object; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_result; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_result=(_arg0); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_result_name; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def current_result_name=(_arg0); end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def was_authorized_by_scope_items; end # @api private # - # source://graphql/lib/graphql/execution/interpreter/runtime.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 def was_authorized_by_scope_items=(_arg0); end end -# source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#7 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#7 module GraphQL::Execution::Interpreter::Runtime::GraphQLResult - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#8 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#8 def initialize(result_name, result_type, application_value, parent_result, is_non_null_in_parent, selections, is_eager); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#27 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#27 def build_path(path_array); end # Returns the value of attribute graphql_application_value. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_application_value; end # Returns the value of attribute graphql_dead. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 def graphql_dead; end # Sets the attribute graphql_dead # # @param value the value to set the attribute graphql_dead to. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 def graphql_dead=(_arg0); end # Returns the value of attribute graphql_is_eager. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_is_eager; end # Returns the value of attribute graphql_is_non_null_in_parent. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_is_non_null_in_parent; end # Returns the value of attribute graphql_parent. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_parent; end # @return [Hash] Plain-Ruby result data (`@graphql_metadata` contains Result wrapper objects) # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 def graphql_result_data; end # @return [Hash] Plain-Ruby result data (`@graphql_metadata` contains Result wrapper objects) # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 def graphql_result_data=(_arg0); end # Returns the value of attribute graphql_result_name. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_result_name; end # Returns the value of attribute graphql_result_type. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_result_type; end # Returns the value of attribute graphql_selections. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_selections; end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#23 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#23 def path; end end -# source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#126 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#126 class GraphQL::Execution::Interpreter::Runtime::GraphQLResultArray include ::GraphQL::Execution::Interpreter::Runtime::GraphQLResult # @return [GraphQLResultArray] a new instance of GraphQLResultArray # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#129 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#129 def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#134 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#134 def graphql_skip_at(index); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#156 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#156 def set_child_result(idx, value); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#146 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#146 def set_leaf(idx, value); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#168 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#168 def values; end end -# source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#40 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#40 class GraphQL::Execution::Interpreter::Runtime::GraphQLResultHash include ::GraphQL::Execution::Interpreter::Runtime::GraphQLResult # @return [GraphQLResultHash] a new instance of GraphQLResultHash # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#41 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#41 def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#98 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#98 def [](k); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#81 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#81 def delete(key); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#86 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#86 def each; end # Returns the value of attribute graphql_merged_into. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 def graphql_merged_into; end # Sets the attribute graphql_merged_into # # @param value the value to set the attribute graphql_merged_into to. # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 def graphql_merged_into=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#94 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#94 def key?(k); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#102 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#102 def merge_into(into_result); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#70 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#70 def set_child_result(key, value); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#50 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#50 def set_leaf(key, value); end - # source://graphql/lib/graphql/execution/interpreter/runtime/graphql_result.rb#90 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#90 def values; end end # @api private # -# source://graphql/lib/graphql/execution/interpreter/runtime.rb#459 +# source://graphql//lib/graphql/execution/interpreter/runtime.rb#459 GraphQL::Execution::Interpreter::Runtime::HALT = T.let(T.unsafe(nil), Object) # @api private # -# source://graphql/lib/graphql/execution/interpreter/runtime.rb#194 +# source://graphql//lib/graphql/execution/interpreter/runtime.rb#194 GraphQL::Execution::Interpreter::Runtime::NO_ARGS = T.let(T.unsafe(nil), Hash) # This wraps a value which is available, but not yet calculated, like a promise or future. @@ -2055,7 +2056,7 @@ GraphQL::Execution::Interpreter::Runtime::NO_ARGS = T.let(T.unsafe(nil), Hash) # # @api private # -# source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#11 +# source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#11 class GraphQL::Execution::Lazy # Create a {Lazy} which will get its inner value by calling the block # @@ -2064,24 +2065,24 @@ class GraphQL::Execution::Lazy # @param get_value_func [Proc] a block to get the inner value (later) # @return [Lazy] a new instance of Lazy # - # source://graphql/lib/graphql/execution/lazy.rb#20 + # source://graphql//lib/graphql/execution/lazy.rb#20 def initialize(field: T.unsafe(nil), &get_value_func); end # @api private # - # source://graphql/lib/graphql/execution/lazy.rb#15 + # source://graphql//lib/graphql/execution/lazy.rb#15 def field; end # @api private # @return [Lazy] A {Lazy} whose value depends on another {Lazy}, plus any transformations in `block` # - # source://graphql/lib/graphql/execution/lazy.rb#49 + # source://graphql//lib/graphql/execution/lazy.rb#49 def then; end # @api private # @return [Object] The wrapped value, calling the lazy block if necessary # - # source://graphql/lib/graphql/execution/lazy.rb#27 + # source://graphql//lib/graphql/execution/lazy.rb#27 def value; end class << self @@ -2089,7 +2090,7 @@ class GraphQL::Execution::Lazy # @param lazies [Array] Maybe-lazy objects # @return [Lazy] A lazy which will sync all of `lazies` # - # source://graphql/lib/graphql/execution/lazy.rb#57 + # source://graphql//lib/graphql/execution/lazy.rb#57 def all(lazies); end end end @@ -2102,50 +2103,50 @@ end # @api private # @see {Schema#lazy?} looks up values from this map # -# source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#18 +# source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#18 class GraphQL::Execution::Lazy::LazyMethodMap # @api private # @return [LazyMethodMap] a new instance of LazyMethodMap # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#19 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#19 def initialize(use_concurrent: T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#39 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#39 def each; end # @api private # @param value [Object] an object which may have a `lazy_value_method` registered for its class or superclasses # @return [Symbol, nil] The `lazy_value_method` for this object, or nil # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#35 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#35 def get(value); end # @api private # @param lazy_class [Class] A class which represents a lazy value (subclasses may also be used) # @param lazy_value_method [Symbol] The method to call on this class to get its value # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#29 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#29 def set(lazy_class, lazy_value_method); end protected # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#45 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#45 def storage; end private # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#49 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#49 def find_superclass_method(value_class); end # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#23 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#23 def initialize_copy(other); end end @@ -2153,44 +2154,44 @@ end # # @api private # -# source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#57 +# source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#57 class GraphQL::Execution::Lazy::LazyMethodMap::ConcurrentishMap extend ::Forwardable # @api private # @return [ConcurrentishMap] a new instance of ConcurrentishMap # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#63 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#63 def initialize; end # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#70 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#70 def []=(key, value); end # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#76 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#76 def compute_if_absent(key); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 def each_pair(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 def size(*args, **_arg1, &block); end protected # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#89 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#89 def copy_storage; end private # @api private # - # source://graphql/lib/graphql/execution/lazy/lazy_method_map.rb#82 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#82 def initialize_copy(other); end end @@ -2198,7 +2199,7 @@ end # # @api private # -# source://graphql/lib/graphql/execution/lazy.rb#65 +# source://graphql//lib/graphql/execution/lazy.rb#65 GraphQL::Execution::Lazy::NullResult = T.let(T.unsafe(nil), GraphQL::Execution::Lazy) # Lookahead creates a uniform interface to inspect the forthcoming selections. @@ -2227,7 +2228,7 @@ GraphQL::Execution::Lazy::NullResult = T.let(T.unsafe(nil), GraphQL::Execution:: # end # end # -# source://graphql/lib/graphql/execution/lookahead.rb#29 +# source://graphql//lib/graphql/execution/lookahead.rb#29 class GraphQL::Execution::Lookahead # @param query [GraphQL::Query] # @param ast_nodes [Array, Array] @@ -2235,7 +2236,7 @@ class GraphQL::Execution::Lookahead # @param root_type [Class] if `ast_nodes` are operation definition, this is the root type for that operation # @return [Lookahead] a new instance of Lookahead # - # source://graphql/lib/graphql/execution/lookahead.rb#34 + # source://graphql//lib/graphql/execution/lookahead.rb#34 def initialize(query:, ast_nodes:, field: T.unsafe(nil), root_type: T.unsafe(nil), owner_type: T.unsafe(nil)); end # Like {#selection}, but for aliases. @@ -2243,25 +2244,25 @@ class GraphQL::Execution::Lookahead # # @return [GraphQL::Execution::Lookahead] # - # source://graphql/lib/graphql/execution/lookahead.rb#147 + # source://graphql//lib/graphql/execution/lookahead.rb#147 def alias_selection(alias_name, selected_type: T.unsafe(nil), arguments: T.unsafe(nil)); end # @return [Hash] # - # source://graphql/lib/graphql/execution/lookahead.rb#53 + # source://graphql//lib/graphql/execution/lookahead.rb#53 def arguments; end # @return [Array] # - # source://graphql/lib/graphql/execution/lookahead.rb#44 + # source://graphql//lib/graphql/execution/lookahead.rb#44 def ast_nodes; end # @return [GraphQL::Schema::Field] # - # source://graphql/lib/graphql/execution/lookahead.rb#47 + # source://graphql//lib/graphql/execution/lookahead.rb#47 def field; end - # source://graphql/lib/graphql/execution/lookahead.rb#216 + # source://graphql//lib/graphql/execution/lookahead.rb#216 def inspect; end # The method name of the field. @@ -2274,17 +2275,17 @@ class GraphQL::Execution::Lookahead # end # @return [Symbol] # - # source://graphql/lib/graphql/execution/lookahead.rb#212 + # source://graphql//lib/graphql/execution/lookahead.rb#212 def name; end # @return [GraphQL::Schema::Object, GraphQL::Schema::Union, GraphQL::Schema::Interface] # - # source://graphql/lib/graphql/execution/lookahead.rb#50 + # source://graphql//lib/graphql/execution/lookahead.rb#50 def owner_type; end # @return [Boolean] True if this lookahead represents a field that was requested # - # source://graphql/lib/graphql/execution/lookahead.rb#107 + # source://graphql//lib/graphql/execution/lookahead.rb#107 def selected?; end # Like {#selects?}, but can be used for chaining. @@ -2293,7 +2294,7 @@ class GraphQL::Execution::Lookahead # @param field_name [String, Symbol] # @return [GraphQL::Execution::Lookahead] # - # source://graphql/lib/graphql/execution/lookahead.rb#115 + # source://graphql//lib/graphql/execution/lookahead.rb#115 def selection(field_name, selected_type: T.unsafe(nil), arguments: T.unsafe(nil)); end # Like {#selection}, but for all nodes. @@ -2311,7 +2312,7 @@ class GraphQL::Execution::Lookahead # @param arguments [Hash] Arguments which must match in the selection # @return [Array] # - # source://graphql/lib/graphql/execution/lookahead.rb#181 + # source://graphql//lib/graphql/execution/lookahead.rb#181 def selections(arguments: T.unsafe(nil)); end # True if this node has a selection on `field_name`. @@ -2328,7 +2329,7 @@ class GraphQL::Execution::Lookahead # @param arguments [Hash] Arguments which must match in the selection # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#86 + # source://graphql//lib/graphql/execution/lookahead.rb#86 def selects?(field_name, selected_type: T.unsafe(nil), arguments: T.unsafe(nil)); end # True if this node has a selection with alias matching `alias_name`. @@ -2345,79 +2346,79 @@ class GraphQL::Execution::Lookahead # @param arguments [Hash] Arguments which must match in the selection # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#102 + # source://graphql//lib/graphql/execution/lookahead.rb#102 def selects_alias?(alias_name, arguments: T.unsafe(nil)); end private - # source://graphql/lib/graphql/execution/lookahead.rb#356 + # source://graphql//lib/graphql/execution/lookahead.rb#356 def alias_selections; end # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#326 + # source://graphql//lib/graphql/execution/lookahead.rb#326 def arguments_match?(arguments, field_defn, field_node); end # If a selection on `node` matches `field_name` (which is backed by `field_defn`) # and matches the `arguments:` constraints, then add that node to `matches` # - # source://graphql/lib/graphql/execution/lookahead.rb#304 + # source://graphql//lib/graphql/execution/lookahead.rb#304 def find_selected_nodes(node, field_name, field_defn, arguments:, matches:, alias_name: T.unsafe(nil)); end - # source://graphql/lib/graphql/execution/lookahead.rb#264 + # source://graphql//lib/graphql/execution/lookahead.rb#264 def find_selections(subselections_by_type, selections_on_type, selected_type, ast_selections, arguments); end - # source://graphql/lib/graphql/execution/lookahead.rb#340 + # source://graphql//lib/graphql/execution/lookahead.rb#340 def lookahead_for_selection(field_defn, selected_type, arguments, alias_name = T.unsafe(nil)); end - # source://graphql/lib/graphql/execution/lookahead.rb#361 + # source://graphql//lib/graphql/execution/lookahead.rb#361 def lookup_alias_node(nodes, name); end - # source://graphql/lib/graphql/execution/lookahead.rb#380 + # source://graphql//lib/graphql/execution/lookahead.rb#380 def lookup_fragment(ast_selection); end # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#252 + # source://graphql//lib/graphql/execution/lookahead.rb#252 def skipped_by_directive?(ast_selection); end - # source://graphql/lib/graphql/execution/lookahead.rb#369 + # source://graphql//lib/graphql/execution/lookahead.rb#369 def unwrap_fragments(node); end end # A singleton, so that misses don't come with overhead. # -# source://graphql/lib/graphql/execution/lookahead.rb#248 +# source://graphql//lib/graphql/execution/lookahead.rb#248 GraphQL::Execution::Lookahead::NULL_LOOKAHEAD = T.let(T.unsafe(nil), GraphQL::Execution::Lookahead::NullLookahead) # This is returned for {Lookahead#selection} when a non-existent field is passed # -# source://graphql/lib/graphql/execution/lookahead.rb#221 +# source://graphql//lib/graphql/execution/lookahead.rb#221 class GraphQL::Execution::Lookahead::NullLookahead < ::GraphQL::Execution::Lookahead # No inputs required here. # # @return [NullLookahead] a new instance of NullLookahead # - # source://graphql/lib/graphql/execution/lookahead.rb#223 + # source://graphql//lib/graphql/execution/lookahead.rb#223 def initialize; end - # source://graphql/lib/graphql/execution/lookahead.rb#242 + # source://graphql//lib/graphql/execution/lookahead.rb#242 def inspect; end # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#226 + # source://graphql//lib/graphql/execution/lookahead.rb#226 def selected?; end - # source://graphql/lib/graphql/execution/lookahead.rb#234 + # source://graphql//lib/graphql/execution/lookahead.rb#234 def selection(*_arg0); end - # source://graphql/lib/graphql/execution/lookahead.rb#238 + # source://graphql//lib/graphql/execution/lookahead.rb#238 def selections(*_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/execution/lookahead.rb#230 + # source://graphql//lib/graphql/execution/lookahead.rb#230 def selects?(*_arg0); end end @@ -2443,44 +2444,44 @@ end # @api private # @see {Schema#multiplex} for public API # -# source://graphql/lib/graphql/execution/multiplex.rb#25 +# source://graphql//lib/graphql/execution/multiplex.rb#25 class GraphQL::Execution::Multiplex include ::GraphQL::Tracing::Traceable # @api private # @return [Multiplex] a new instance of Multiplex # - # source://graphql/lib/graphql/execution/multiplex.rb#30 + # source://graphql//lib/graphql/execution/multiplex.rb#30 def initialize(schema:, queries:, context:, max_complexity:); end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def context; end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def current_trace; end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def dataloader; end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def max_complexity; end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def queries; end # @api private # - # source://graphql/lib/graphql/execution/multiplex.rb#28 + # source://graphql//lib/graphql/execution/multiplex.rb#28 def schema; end end @@ -2488,47 +2489,47 @@ end # # @api private # -# source://graphql/lib/graphql/execution.rb#16 +# source://graphql//lib/graphql/execution.rb#16 GraphQL::Execution::SKIP = T.let(T.unsafe(nil), GraphQL::Execution::Skip) # @api private # -# source://graphql/lib/graphql/execution.rb#12 +# source://graphql//lib/graphql/execution.rb#12 class GraphQL::Execution::Skip < ::GraphQL::Error; end # If a field's resolve function returns a {ExecutionError}, # the error will be inserted into the response's `"errors"` key # and the field will resolve to `nil`. # -# source://graphql/lib/graphql/execution_error.rb#6 +# source://graphql//lib/graphql/execution_error.rb#6 class GraphQL::ExecutionError < ::GraphQL::Error # @return [ExecutionError] a new instance of ExecutionError # - # source://graphql/lib/graphql/execution_error.rb#24 + # source://graphql//lib/graphql/execution_error.rb#24 def initialize(message, ast_node: T.unsafe(nil), options: T.unsafe(nil), extensions: T.unsafe(nil)); end # @return [GraphQL::Language::Nodes::Field] the field where the error occurred # - # source://graphql/lib/graphql/execution_error.rb#8 + # source://graphql//lib/graphql/execution_error.rb#8 def ast_node; end # @return [GraphQL::Language::Nodes::Field] the field where the error occurred # - # source://graphql/lib/graphql/execution_error.rb#8 + # source://graphql//lib/graphql/execution_error.rb#8 def ast_node=(_arg0); end # under the `extensions` key. # # @return [Hash] Optional custom data for error objects which will be added # - # source://graphql/lib/graphql/execution_error.rb#22 + # source://graphql//lib/graphql/execution_error.rb#22 def extensions; end # under the `extensions` key. # # @return [Hash] Optional custom data for error objects which will be added # - # source://graphql/lib/graphql/execution_error.rb#22 + # source://graphql//lib/graphql/execution_error.rb#22 def extensions=(_arg0); end # recommends that any custom entries in an error be under the @@ -2537,7 +2538,7 @@ class GraphQL::ExecutionError < ::GraphQL::Error # @deprecated Use `extensions` instead of `options`. The GraphQL spec # @return [Hash] Optional data for error objects # - # source://graphql/lib/graphql/execution_error.rb#18 + # source://graphql//lib/graphql/execution_error.rb#18 def options; end # recommends that any custom entries in an error be under the @@ -2546,26 +2547,26 @@ class GraphQL::ExecutionError < ::GraphQL::Error # @deprecated Use `extensions` instead of `options`. The GraphQL spec # @return [Hash] Optional data for error objects # - # source://graphql/lib/graphql/execution_error.rb#18 + # source://graphql//lib/graphql/execution_error.rb#18 def options=(_arg0); end # response which corresponds to this error. # # @return [String] an array describing the JSON-path into the execution # - # source://graphql/lib/graphql/execution_error.rb#12 + # source://graphql//lib/graphql/execution_error.rb#12 def path; end # response which corresponds to this error. # # @return [String] an array describing the JSON-path into the execution # - # source://graphql/lib/graphql/execution_error.rb#12 + # source://graphql//lib/graphql/execution_error.rb#12 def path=(_arg0); end # @return [Hash] An entry for the response's "errors" key # - # source://graphql/lib/graphql/execution_error.rb#32 + # source://graphql//lib/graphql/execution_error.rb#32 def to_h; end end @@ -2575,16 +2576,16 @@ end # # @see GraphQL::Types::Int which raises this error # -# source://graphql/lib/graphql/integer_decoding_error.rb#8 +# source://graphql//lib/graphql/integer_decoding_error.rb#8 class GraphQL::IntegerDecodingError < ::GraphQL::RuntimeTypeError # @return [IntegerDecodingError] a new instance of IntegerDecodingError # - # source://graphql/lib/graphql/integer_decoding_error.rb#12 + # source://graphql//lib/graphql/integer_decoding_error.rb#12 def initialize(value); end # The value which couldn't be decoded # - # source://graphql/lib/graphql/integer_decoding_error.rb#10 + # source://graphql//lib/graphql/integer_decoding_error.rb#10 def integer_value; end end @@ -2597,89 +2598,89 @@ end # # @see GraphQL::Types::Int which raises this error # -# source://graphql/lib/graphql/integer_encoding_error.rb#11 +# source://graphql//lib/graphql/integer_encoding_error.rb#11 class GraphQL::IntegerEncodingError < ::GraphQL::RuntimeTypeError # @return [IntegerEncodingError] a new instance of IntegerEncodingError # - # source://graphql/lib/graphql/integer_encoding_error.rb#21 + # source://graphql//lib/graphql/integer_encoding_error.rb#21 def initialize(value, context:); end # @return [GraphQL::Schema::Field] The field that returned a too-big integer # - # source://graphql/lib/graphql/integer_encoding_error.rb#16 + # source://graphql//lib/graphql/integer_encoding_error.rb#16 def field; end # The value which couldn't be encoded # - # source://graphql/lib/graphql/integer_encoding_error.rb#13 + # source://graphql//lib/graphql/integer_encoding_error.rb#13 def integer_value; end # @return [Array] Where the field appeared in the GraphQL response # - # source://graphql/lib/graphql/integer_encoding_error.rb#19 + # source://graphql//lib/graphql/integer_encoding_error.rb#19 def path; end end -# source://graphql/lib/graphql/introspection.rb#3 +# source://graphql//lib/graphql/introspection.rb#3 module GraphQL::Introspection class << self - # source://graphql/lib/graphql/introspection.rb#4 + # source://graphql//lib/graphql/introspection.rb#4 def query(include_deprecated_args: T.unsafe(nil), include_schema_description: T.unsafe(nil), include_is_repeatable: T.unsafe(nil), include_specified_by_url: T.unsafe(nil), include_is_one_of: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/introspection/base_object.rb#4 +# source://graphql//lib/graphql/introspection/base_object.rb#4 class GraphQL::Introspection::BaseObject < ::GraphQL::Schema::Object extend ::GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces class << self - # source://graphql/lib/graphql/introspection/base_object.rb#7 + # source://graphql//lib/graphql/introspection/base_object.rb#7 def field(*args, **kwargs, &block); end end end -# source://graphql/lib/graphql/introspection/directive_location_enum.rb#4 +# source://graphql//lib/graphql/introspection/directive_location_enum.rb#4 class GraphQL::Introspection::DirectiveLocationEnum < ::GraphQL::Schema::Enum; end -# source://graphql/lib/graphql/introspection/directive_location_enum.rb#0 +# source://graphql//lib/graphql/introspection/directive_location_enum.rb#4 class GraphQL::Introspection::DirectiveLocationEnum::UnresolvedValueError < ::GraphQL::Schema::Enum::UnresolvedValueError; end -# source://graphql/lib/graphql/introspection/directive_type.rb#4 +# source://graphql//lib/graphql/introspection/directive_type.rb#4 class GraphQL::Introspection::DirectiveType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/directive_type.rb#24 + # source://graphql//lib/graphql/introspection/directive_type.rb#24 def args(include_deprecated:); end end -# source://graphql/lib/graphql/introspection/dynamic_fields.rb#4 +# source://graphql//lib/graphql/introspection/dynamic_fields.rb#4 class GraphQL::Introspection::DynamicFields < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/dynamic_fields.rb#7 + # source://graphql//lib/graphql/introspection/dynamic_fields.rb#7 def __typename; end end -# source://graphql/lib/graphql/introspection/entry_points.rb#4 +# source://graphql//lib/graphql/introspection/entry_points.rb#4 class GraphQL::Introspection::EntryPoints < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/entry_points.rb#10 + # source://graphql//lib/graphql/introspection/entry_points.rb#10 def __schema; end - # source://graphql/lib/graphql/introspection/entry_points.rb#17 + # source://graphql//lib/graphql/introspection/entry_points.rb#17 def __type(name:); end end -# source://graphql/lib/graphql/introspection/enum_value_type.rb#4 +# source://graphql//lib/graphql/introspection/enum_value_type.rb#4 class GraphQL::Introspection::EnumValueType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/enum_value_type.rb#18 + # source://graphql//lib/graphql/introspection/enum_value_type.rb#18 def is_deprecated; end - # source://graphql/lib/graphql/introspection/enum_value_type.rb#14 + # source://graphql//lib/graphql/introspection/enum_value_type.rb#14 def name; end end -# source://graphql/lib/graphql/introspection/field_type.rb#4 +# source://graphql//lib/graphql/introspection/field_type.rb#4 class GraphQL::Introspection::FieldType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/field_type.rb#21 + # source://graphql//lib/graphql/introspection/field_type.rb#21 def args(include_deprecated:); end - # source://graphql/lib/graphql/introspection/field_type.rb#17 + # source://graphql//lib/graphql/introspection/field_type.rb#17 def is_deprecated; end end @@ -2687,153 +2688,153 @@ end # argument for inputFields since the server may not support it. Two stage # introspection queries will be required to handle this in clients. # -# source://graphql/lib/graphql/introspection/introspection_query.rb#6 +# source://graphql//lib/graphql/introspection/introspection_query.rb#6 GraphQL::Introspection::INTROSPECTION_QUERY = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/introspection/input_value_type.rb#4 +# source://graphql//lib/graphql/introspection/input_value_type.rb#4 class GraphQL::Introspection::InputValueType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/input_value_type.rb#20 + # source://graphql//lib/graphql/introspection/input_value_type.rb#20 def default_value; end - # source://graphql/lib/graphql/introspection/input_value_type.rb#16 + # source://graphql//lib/graphql/introspection/input_value_type.rb#16 def is_deprecated; end private # Recursively serialize, taking care not to add quotes to enum values # - # source://graphql/lib/graphql/introspection/input_value_type.rb#44 + # source://graphql//lib/graphql/introspection/input_value_type.rb#44 def serialize_default_value(value, type); end end -# source://graphql/lib/graphql/introspection/schema_type.rb#5 +# source://graphql//lib/graphql/introspection/schema_type.rb#5 class GraphQL::Introspection::SchemaType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/schema_type.rb#41 + # source://graphql//lib/graphql/introspection/schema_type.rb#41 def directives; end - # source://graphql/lib/graphql/introspection/schema_type.rb#33 + # source://graphql//lib/graphql/introspection/schema_type.rb#33 def mutation_type; end - # source://graphql/lib/graphql/introspection/schema_type.rb#29 + # source://graphql//lib/graphql/introspection/schema_type.rb#29 def query_type; end - # source://graphql/lib/graphql/introspection/schema_type.rb#18 + # source://graphql//lib/graphql/introspection/schema_type.rb#18 def schema_description; end - # source://graphql/lib/graphql/introspection/schema_type.rb#37 + # source://graphql//lib/graphql/introspection/schema_type.rb#37 def subscription_type; end - # source://graphql/lib/graphql/introspection/schema_type.rb#22 + # source://graphql//lib/graphql/introspection/schema_type.rb#22 def types; end end -# source://graphql/lib/graphql/introspection/type_kind_enum.rb#4 +# source://graphql//lib/graphql/introspection/type_kind_enum.rb#4 class GraphQL::Introspection::TypeKindEnum < ::GraphQL::Schema::Enum; end -# source://graphql/lib/graphql/introspection/type_kind_enum.rb#0 +# source://graphql//lib/graphql/introspection/type_kind_enum.rb#4 class GraphQL::Introspection::TypeKindEnum::UnresolvedValueError < ::GraphQL::Schema::Enum::UnresolvedValueError; end -# source://graphql/lib/graphql/introspection/type_type.rb#4 +# source://graphql//lib/graphql/introspection/type_type.rb#4 class GraphQL::Introspection::TypeType < ::GraphQL::Introspection::BaseObject - # source://graphql/lib/graphql/introspection/type_type.rb#51 + # source://graphql//lib/graphql/introspection/type_type.rb#51 def enum_values(include_deprecated:); end - # source://graphql/lib/graphql/introspection/type_type.rb#91 + # source://graphql//lib/graphql/introspection/type_type.rb#91 def fields(include_deprecated:); end - # source://graphql/lib/graphql/introspection/type_type.rb#73 + # source://graphql//lib/graphql/introspection/type_type.rb#73 def input_fields(include_deprecated:); end - # source://graphql/lib/graphql/introspection/type_type.rb#65 + # source://graphql//lib/graphql/introspection/type_type.rb#65 def interfaces; end - # source://graphql/lib/graphql/introspection/type_type.rb#34 + # source://graphql//lib/graphql/introspection/type_type.rb#34 def is_one_of; end - # source://graphql/lib/graphql/introspection/type_type.rb#47 + # source://graphql//lib/graphql/introspection/type_type.rb#47 def kind; end - # source://graphql/lib/graphql/introspection/type_type.rb#103 + # source://graphql//lib/graphql/introspection/type_type.rb#103 def of_type; end - # source://graphql/lib/graphql/introspection/type_type.rb#83 + # source://graphql//lib/graphql/introspection/type_type.rb#83 def possible_types; end - # source://graphql/lib/graphql/introspection/type_type.rb#39 + # source://graphql//lib/graphql/introspection/type_type.rb#39 def specified_by_url; end end -# source://graphql/lib/graphql/invalid_name_error.rb#3 +# source://graphql//lib/graphql/invalid_name_error.rb#3 class GraphQL::InvalidNameError < ::GraphQL::ExecutionError # @return [InvalidNameError] a new instance of InvalidNameError # - # source://graphql/lib/graphql/invalid_name_error.rb#5 + # source://graphql//lib/graphql/invalid_name_error.rb#5 def initialize(name, valid_regex); end # Returns the value of attribute name. # - # source://graphql/lib/graphql/invalid_name_error.rb#4 + # source://graphql//lib/graphql/invalid_name_error.rb#4 def name; end # Returns the value of attribute valid_regex. # - # source://graphql/lib/graphql/invalid_name_error.rb#4 + # source://graphql//lib/graphql/invalid_name_error.rb#4 def valid_regex; end end # Raised automatically when a field's resolve function returns `nil` # for a non-null field. # -# source://graphql/lib/graphql/invalid_null_error.rb#5 +# source://graphql//lib/graphql/invalid_null_error.rb#5 class GraphQL::InvalidNullError < ::GraphQL::RuntimeTypeError # @return [InvalidNullError] a new instance of InvalidNullError # - # source://graphql/lib/graphql/invalid_null_error.rb#15 + # source://graphql//lib/graphql/invalid_null_error.rb#15 def initialize(parent_type, field, value); end # @return [GraphQL::Field] The field which failed to return a value # - # source://graphql/lib/graphql/invalid_null_error.rb#10 + # source://graphql//lib/graphql/invalid_null_error.rb#10 def field; end # @deprecated always false # @return [Boolean] # - # source://graphql/lib/graphql/invalid_null_error.rb#28 + # source://graphql//lib/graphql/invalid_null_error.rb#28 def parent_error?; end # @return [GraphQL::BaseType] The owner of {#field} # - # source://graphql/lib/graphql/invalid_null_error.rb#7 + # source://graphql//lib/graphql/invalid_null_error.rb#7 def parent_type; end # @return [Hash] An entry for the response's "errors" key # - # source://graphql/lib/graphql/invalid_null_error.rb#23 + # source://graphql//lib/graphql/invalid_null_error.rb#23 def to_h; end # @return [nil, GraphQL::ExecutionError] The invalid value for this field # - # source://graphql/lib/graphql/invalid_null_error.rb#13 + # source://graphql//lib/graphql/invalid_null_error.rb#13 def value; end class << self - # source://graphql/lib/graphql/invalid_null_error.rb#41 + # source://graphql//lib/graphql/invalid_null_error.rb#41 def inspect; end # Returns the value of attribute parent_class. # - # source://graphql/lib/graphql/invalid_null_error.rb#33 + # source://graphql//lib/graphql/invalid_null_error.rb#33 def parent_class; end # Sets the attribute parent_class # # @param value the value to set the attribute parent_class to. # - # source://graphql/lib/graphql/invalid_null_error.rb#33 + # source://graphql//lib/graphql/invalid_null_error.rb#33 def parent_class=(_arg0); end - # source://graphql/lib/graphql/invalid_null_error.rb#35 + # source://graphql//lib/graphql/invalid_null_error.rb#35 def subclass_for(parent_class); end end end @@ -2841,18 +2842,18 @@ end # This error is raised when GraphQL-Ruby encounters a situation # that it *thought* would never happen. Please report this bug! # -# source://graphql/lib/graphql.rb#26 +# source://graphql//lib/graphql.rb#26 class GraphQL::InvariantError < ::GraphQL::Error # @return [InvariantError] a new instance of InvariantError # - # source://graphql/lib/graphql.rb#27 + # source://graphql//lib/graphql.rb#27 def initialize(message); end end -# source://graphql/lib/graphql/language/block_string.rb#3 +# source://graphql//lib/graphql/language/block_string.rb#3 module GraphQL::Language class << self - # source://graphql/lib/graphql/language.rb#89 + # source://graphql//lib/graphql/language.rb#89 def add_space_between_numbers_and_names(query_str); end # Returns a new string if any single-quoted newlines were escaped. @@ -2860,36 +2861,36 @@ module GraphQL::Language # # @return [String] # - # source://graphql/lib/graphql/language.rb#47 + # source://graphql//lib/graphql/language.rb#47 def escape_single_quoted_newlines(query_str); end # @api private # - # source://graphql/lib/graphql/language.rb#20 + # source://graphql//lib/graphql/language.rb#20 def serialize(value); end end end -# source://graphql/lib/graphql/language/block_string.rb#4 +# source://graphql//lib/graphql/language/block_string.rb#4 module GraphQL::Language::BlockString class << self # @yield [parts.slice!(0, 3).join] # - # source://graphql/lib/graphql/language/block_string.rb#94 + # source://graphql//lib/graphql/language/block_string.rb#94 def break_line(line, length); end # @return [Boolean] # - # source://graphql/lib/graphql/language/block_string.rb#110 + # source://graphql//lib/graphql/language/block_string.rb#110 def contains_only_whitespace?(line); end - # source://graphql/lib/graphql/language/block_string.rb#61 + # source://graphql//lib/graphql/language/block_string.rb#61 def print(str, indent: T.unsafe(nil)); end # Remove leading and trailing whitespace from a block string. # See "Block Strings" in https://github.com/facebook/graphql/blob/master/spec/Section%202%20--%20Language.md # - # source://graphql/lib/graphql/language/block_string.rb#7 + # source://graphql//lib/graphql/language/block_string.rb#7 def trim_whitespace(str); end end end @@ -2907,48 +2908,48 @@ end # # @see GraphQL::Railtie for simple Rails integration # -# source://graphql/lib/graphql/language/cache.rb#20 +# source://graphql//lib/graphql/language/cache.rb#20 class GraphQL::Language::Cache # @return [Cache] a new instance of Cache # - # source://graphql/lib/graphql/language/cache.rb#21 + # source://graphql//lib/graphql/language/cache.rb#21 def initialize(path); end - # source://graphql/lib/graphql/language/cache.rb#27 + # source://graphql//lib/graphql/language/cache.rb#27 def fetch(filename); end end -# source://graphql/lib/graphql/language/cache.rb#25 +# source://graphql//lib/graphql/language/cache.rb#25 GraphQL::Language::Cache::DIGEST = T.let(T.unsafe(nil), Digest::SHA256) -# source://graphql/lib/graphql/language/comment.rb#4 +# source://graphql//lib/graphql/language/comment.rb#4 module GraphQL::Language::Comment class << self - # source://graphql/lib/graphql/language/comment.rb#5 + # source://graphql//lib/graphql/language/comment.rb#5 def print(str, indent: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/language/definition_slice.rb#4 +# source://graphql//lib/graphql/language/definition_slice.rb#4 module GraphQL::Language::DefinitionSlice extend ::GraphQL::Language::DefinitionSlice - # source://graphql/lib/graphql/language/definition_slice.rb#7 + # source://graphql//lib/graphql/language/definition_slice.rb#7 def slice(document, name); end end -# source://graphql/lib/graphql/language/definition_slice.rb#18 +# source://graphql//lib/graphql/language/definition_slice.rb#18 class GraphQL::Language::DefinitionSlice::DependencyVisitor < ::GraphQL::Language::StaticVisitor # @return [DependencyVisitor] a new instance of DependencyVisitor # - # source://graphql/lib/graphql/language/definition_slice.rb#19 + # source://graphql//lib/graphql/language/definition_slice.rb#19 def initialize(doc, definitions, names); end - # source://graphql/lib/graphql/language/definition_slice.rb#25 + # source://graphql//lib/graphql/language/definition_slice.rb#25 def on_fragment_spread(node, parent); end class << self - # source://graphql/lib/graphql/language/definition_slice.rb#32 + # source://graphql//lib/graphql/language/definition_slice.rb#32 def find_definition_dependencies(definitions, name, names); end end end @@ -2964,177 +2965,177 @@ end # @param include_built_in_scalars [Boolean] Whether or not to include built in scalars in the AST # @param include_built_in_directives [Boolean] Whether or not to include built in directives in the AST # -# source://graphql/lib/graphql/language/document_from_schema_definition.rb#15 +# source://graphql//lib/graphql/language/document_from_schema_definition.rb#15 class GraphQL::Language::DocumentFromSchemaDefinition # @api private # @return [DocumentFromSchemaDefinition] a new instance of DocumentFromSchemaDefinition # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#16 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#16 def initialize(schema, context: T.unsafe(nil), include_introspection_types: T.unsafe(nil), include_built_in_directives: T.unsafe(nil), include_built_in_scalars: T.unsafe(nil), always_include_schema: T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#132 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#132 def build_argument_node(argument); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#249 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#249 def build_argument_nodes(arguments); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#197 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#197 def build_default_value(default_value, type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#265 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#265 def build_definition_nodes; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#175 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#175 def build_directive_location_node(location); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#171 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#171 def build_directive_location_nodes(locations); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#161 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#161 def build_directive_node(directive); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#259 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#259 def build_directive_nodes(directives); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#102 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#102 def build_enum_type_node(enum_type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#114 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#114 def build_enum_value_node(enum_value); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#70 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#70 def build_field_node(field); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#324 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#324 def build_field_nodes(fields); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#151 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#151 def build_input_object_node(input_object); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#91 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#91 def build_interface_type_node(interface_type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#53 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#53 def build_object_type_node(object_type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#123 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#123 def build_scalar_type_node(scalar_type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#38 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#38 def build_schema_node; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#230 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#230 def build_type_definition_node(type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#312 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#312 def build_type_definition_nodes(types); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#181 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#181 def build_type_name_node(type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#81 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#81 def build_union_type_node(union_type); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#32 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#32 def document; end private # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#382 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#382 def always_include_schema; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#348 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#348 def definition_directives(member, directives_method); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#344 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#344 def directives(member); end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#382 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#382 def include_built_in_directives; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#382 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#382 def include_built_in_scalars; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#382 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#382 def include_introspection_types; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#332 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#332 def include_schema_node?; end # @api private # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#382 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#382 def schema; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/language/document_from_schema_definition.rb#338 + # source://graphql//lib/graphql/language/document_from_schema_definition.rb#338 def schema_respects_root_name_conventions?(schema); end end # Exposes {.generate}, which turns AST nodes back into query strings. # -# source://graphql/lib/graphql/language/generation.rb#5 +# source://graphql//lib/graphql/language/generation.rb#5 module GraphQL::Language::Generation extend ::GraphQL::Language::Generation @@ -3149,238 +3150,238 @@ module GraphQL::Language::Generation # @param printer [GraphQL::Language::Printer] An optional custom printer for printing AST nodes. Defaults to GraphQL::Language::Printer # @return [String] Valid GraphQL for `node` # - # source://graphql/lib/graphql/language/generation.rb#19 + # source://graphql//lib/graphql/language/generation.rb#19 def generate(node, indent: T.unsafe(nil), printer: T.unsafe(nil)); end end -# source://graphql/lib/graphql/language.rb#80 +# source://graphql//lib/graphql/language.rb#80 GraphQL::Language::INVALID_NUMBER_FOLLOWED_BY_NAME_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#5 +# source://graphql//lib/graphql/language/lexer.rb#5 class GraphQL::Language::Lexer # @return [Lexer] a new instance of Lexer # - # source://graphql/lib/graphql/language/lexer.rb#6 + # source://graphql//lib/graphql/language/lexer.rb#6 def initialize(graphql_str, filename: T.unsafe(nil), max_tokens: T.unsafe(nil)); end # This produces a unique integer for bytes 2 and 3 of each keyword string # See https://tenderlovemaking.com/2023/09/02/fast-tokenizers-with-stringscanner.html # - # source://graphql/lib/graphql/language/lexer.rb#245 + # source://graphql//lib/graphql/language/lexer.rb#245 def _hash(key); end - # source://graphql/lib/graphql/language/lexer.rb#24 + # source://graphql//lib/graphql/language/lexer.rb#24 def advance; end - # source://graphql/lib/graphql/language/lexer.rb#164 + # source://graphql//lib/graphql/language/lexer.rb#164 def column_number; end - # source://graphql/lib/graphql/language/lexer.rb#108 + # source://graphql//lib/graphql/language/lexer.rb#108 def debug_token_value(token_name); end # @return [Boolean] # - # source://graphql/lib/graphql/language/lexer.rb#18 + # source://graphql//lib/graphql/language/lexer.rb#18 def eos?; end - # source://graphql/lib/graphql/language/lexer.rb#160 + # source://graphql//lib/graphql/language/lexer.rb#160 def line_number; end # Returns the value of attribute pos. # - # source://graphql/lib/graphql/language/lexer.rb#22 + # source://graphql//lib/graphql/language/lexer.rb#22 def pos; end # @raise [GraphQL::ParseError] # - # source://graphql/lib/graphql/language/lexer.rb#168 + # source://graphql//lib/graphql/language/lexer.rb#168 def raise_parse_error(message, line = T.unsafe(nil), col = T.unsafe(nil)); end - # source://graphql/lib/graphql/language/lexer.rb#137 + # source://graphql//lib/graphql/language/lexer.rb#137 def string_value; end - # source://graphql/lib/graphql/language/lexer.rb#102 + # source://graphql//lib/graphql/language/lexer.rb#102 def token_value; end # Returns the value of attribute tokens_count. # - # source://graphql/lib/graphql/language/lexer.rb#22 + # source://graphql//lib/graphql/language/lexer.rb#22 def tokens_count; end class << self # Replace any escaped unicode or whitespace with the _actual_ characters # To avoid allocating more strings, this modifies the string passed into it # - # source://graphql/lib/graphql/language/lexer.rb#324 + # source://graphql//lib/graphql/language/lexer.rb#324 def replace_escaped_characters_in_place(raw_string); end # This is not used during parsing because the parser # doesn't actually need tokens. # - # source://graphql/lib/graphql/language/lexer.rb#351 + # source://graphql//lib/graphql/language/lexer.rb#351 def tokenize(string); end end end -# source://graphql/lib/graphql/language/lexer.rb#278 +# source://graphql//lib/graphql/language/lexer.rb#278 GraphQL::Language::Lexer::BLOCK_QUOTE = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#282 +# source://graphql//lib/graphql/language/lexer.rb#282 GraphQL::Language::Lexer::BLOCK_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#298 +# source://graphql//lib/graphql/language/lexer.rb#298 module GraphQL::Language::Lexer::ByteFor; end -# source://graphql/lib/graphql/language/lexer.rb#302 +# source://graphql//lib/graphql/language/lexer.rb#302 GraphQL::Language::Lexer::ByteFor::ELLIPSIS = T.let(T.unsafe(nil), Integer) # identifier, *not* a keyword # -# source://graphql/lib/graphql/language/lexer.rb#303 +# source://graphql//lib/graphql/language/lexer.rb#303 GraphQL::Language::Lexer::ByteFor::IDENTIFIER = T.let(T.unsafe(nil), Integer) # identifier or keyword # -# source://graphql/lib/graphql/language/lexer.rb#300 +# source://graphql//lib/graphql/language/lexer.rb#300 GraphQL::Language::Lexer::ByteFor::NAME = T.let(T.unsafe(nil), Integer) # int or float # -# source://graphql/lib/graphql/language/lexer.rb#299 +# source://graphql//lib/graphql/language/lexer.rb#299 GraphQL::Language::Lexer::ByteFor::NUMBER = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/language/lexer.rb#304 +# source://graphql//lib/graphql/language/lexer.rb#304 GraphQL::Language::Lexer::ByteFor::PUNCTUATION = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/language/lexer.rb#301 +# source://graphql//lib/graphql/language/lexer.rb#301 GraphQL::Language::Lexer::ByteFor::STRING = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/language/lexer.rb#135 +# source://graphql//lib/graphql/language/lexer.rb#135 GraphQL::Language::Lexer::ESCAPED = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#279 +# source://graphql//lib/graphql/language/lexer.rb#279 GraphQL::Language::Lexer::ESCAPED_QUOTE = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#122 +# source://graphql//lib/graphql/language/lexer.rb#122 GraphQL::Language::Lexer::ESCAPES = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#123 +# source://graphql//lib/graphql/language/lexer.rb#123 GraphQL::Language::Lexer::ESCAPES_REPLACE = T.let(T.unsafe(nil), Hash) # Use this array to check, for a given byte that will start a token, # what kind of token might it start? # -# source://graphql/lib/graphql/language/lexer.rb#296 +# source://graphql//lib/graphql/language/lexer.rb#296 GraphQL::Language::Lexer::FIRST_BYTES = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/language/lexer.rb#180 +# source://graphql//lib/graphql/language/lexer.rb#180 GraphQL::Language::Lexer::FLOAT_DECIMAL_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#181 +# source://graphql//lib/graphql/language/lexer.rb#181 GraphQL::Language::Lexer::FLOAT_EXP_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#274 +# source://graphql//lib/graphql/language/lexer.rb#274 GraphQL::Language::Lexer::FOUR_DIGIT_UNICODE = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#178 +# source://graphql//lib/graphql/language/lexer.rb#178 GraphQL::Language::Lexer::IDENTIFIER_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#172 +# source://graphql//lib/graphql/language/lexer.rb#172 GraphQL::Language::Lexer::IGNORE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#179 +# source://graphql//lib/graphql/language/lexer.rb#179 GraphQL::Language::Lexer::INT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#185 +# source://graphql//lib/graphql/language/lexer.rb#185 GraphQL::Language::Lexer::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/language/lexer.rb#208 +# source://graphql//lib/graphql/language/lexer.rb#208 GraphQL::Language::Lexer::KEYWORD_BY_TWO_BYTES = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/language/lexer.rb#207 +# source://graphql//lib/graphql/language/lexer.rb#207 GraphQL::Language::Lexer::KEYWORD_REGEXP = T.let(T.unsafe(nil), Regexp) # TODO: FLOAT_EXP_REGEXP should not be allowed to follow INT_REGEXP, integers are not allowed to have exponent parts. # -# source://graphql/lib/graphql/language/lexer.rb#183 +# source://graphql//lib/graphql/language/lexer.rb#183 GraphQL::Language::Lexer::NUMERIC_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#275 +# source://graphql//lib/graphql/language/lexer.rb#275 GraphQL::Language::Lexer::N_DIGIT_UNICODE = T.let(T.unsafe(nil), Regexp) # A sparse array mapping the bytes for each punctuation # to a symbol name for that punctuation # -# source://graphql/lib/graphql/language/lexer.rb#267 +# source://graphql//lib/graphql/language/lexer.rb#267 GraphQL::Language::Lexer::PUNCTUATION_NAME_FOR_BYTE = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/language/lexer.rb#249 +# source://graphql//lib/graphql/language/lexer.rb#249 module GraphQL::Language::Lexer::Punctuation; end -# source://graphql/lib/graphql/language/lexer.rb#262 +# source://graphql//lib/graphql/language/lexer.rb#262 GraphQL::Language::Lexer::Punctuation::AMP = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#260 +# source://graphql//lib/graphql/language/lexer.rb#260 GraphQL::Language::Lexer::Punctuation::BANG = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#256 +# source://graphql//lib/graphql/language/lexer.rb#256 GraphQL::Language::Lexer::Punctuation::COLON = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#258 +# source://graphql//lib/graphql/language/lexer.rb#258 GraphQL::Language::Lexer::Punctuation::DIR_SIGN = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#259 +# source://graphql//lib/graphql/language/lexer.rb#259 GraphQL::Language::Lexer::Punctuation::EQUALS = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#254 +# source://graphql//lib/graphql/language/lexer.rb#254 GraphQL::Language::Lexer::Punctuation::LBRACKET = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#250 +# source://graphql//lib/graphql/language/lexer.rb#250 GraphQL::Language::Lexer::Punctuation::LCURLY = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#252 +# source://graphql//lib/graphql/language/lexer.rb#252 GraphQL::Language::Lexer::Punctuation::LPAREN = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#261 +# source://graphql//lib/graphql/language/lexer.rb#261 GraphQL::Language::Lexer::Punctuation::PIPE = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#255 +# source://graphql//lib/graphql/language/lexer.rb#255 GraphQL::Language::Lexer::Punctuation::RBRACKET = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#251 +# source://graphql//lib/graphql/language/lexer.rb#251 GraphQL::Language::Lexer::Punctuation::RCURLY = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#253 +# source://graphql//lib/graphql/language/lexer.rb#253 GraphQL::Language::Lexer::Punctuation::RPAREN = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#257 +# source://graphql//lib/graphql/language/lexer.rb#257 GraphQL::Language::Lexer::Punctuation::VAR_SIGN = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#272 +# source://graphql//lib/graphql/language/lexer.rb#272 GraphQL::Language::Lexer::QUOTE = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/lexer.rb#281 +# source://graphql//lib/graphql/language/lexer.rb#281 GraphQL::Language::Lexer::QUOTED_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#280 +# source://graphql//lib/graphql/language/lexer.rb#280 GraphQL::Language::Lexer::STRING_CHAR = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#277 +# source://graphql//lib/graphql/language/lexer.rb#277 GraphQL::Language::Lexer::STRING_ESCAPE = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#273 +# source://graphql//lib/graphql/language/lexer.rb#273 GraphQL::Language::Lexer::UNICODE_DIGIT = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#276 +# source://graphql//lib/graphql/language/lexer.rb#276 GraphQL::Language::Lexer::UNICODE_ESCAPE = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#133 +# source://graphql//lib/graphql/language/lexer.rb#133 GraphQL::Language::Lexer::UTF_8 = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/lexer.rb#134 +# source://graphql//lib/graphql/language/lexer.rb#134 GraphQL::Language::Lexer::VALID_STRING = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/language/nodes.rb#4 +# source://graphql//lib/graphql/language/nodes.rb#4 module GraphQL::Language::Nodes; end # {AbstractNode} is the base class for all nodes in a GraphQL AST. @@ -3390,40 +3391,40 @@ module GraphQL::Language::Nodes; end # - `scalars` returns all scalar (Ruby) values attached to this one. Used for comparing nodes. # - `to_query_string` turns an AST node into a GraphQL string # -# source://graphql/lib/graphql/language/nodes.rb#12 +# source://graphql//lib/graphql/language/nodes.rb#12 class GraphQL::Language::Nodes::AbstractNode # Value equality # # @return [Boolean] True if `self` is equivalent to `other` # - # source://graphql/lib/graphql/language/nodes.rb#50 + # source://graphql//lib/graphql/language/nodes.rb#50 def ==(other); end # @return [Array] all nodes in the tree below this one # - # source://graphql/lib/graphql/language/nodes.rb#60 + # source://graphql//lib/graphql/language/nodes.rb#60 def children; end - # source://graphql/lib/graphql/language/nodes.rb#76 + # source://graphql//lib/graphql/language/nodes.rb#76 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#40 + # source://graphql//lib/graphql/language/nodes.rb#40 def col; end - # source://graphql/lib/graphql/language/nodes.rb#44 + # source://graphql//lib/graphql/language/nodes.rb#44 def definition_line; end # TODO DRY with `replace_child` # - # source://graphql/lib/graphql/language/nodes.rb#122 + # source://graphql//lib/graphql/language/nodes.rb#122 def delete_child(previous_child); end # Returns the value of attribute filename. # - # source://graphql/lib/graphql/language/nodes.rb#34 + # source://graphql//lib/graphql/language/nodes.rb#34 def filename; end - # source://graphql/lib/graphql/language/nodes.rb#36 + # source://graphql//lib/graphql/language/nodes.rb#36 def line; end # This creates a copy of `self`, with `new_options` applied. @@ -3431,44 +3432,44 @@ class GraphQL::Language::Nodes::AbstractNode # @param new_options [Hash] # @return [AbstractNode] a shallow copy of `self` # - # source://graphql/lib/graphql/language/nodes.rb#95 + # source://graphql//lib/graphql/language/nodes.rb#95 def merge(new_options); end - # source://graphql/lib/graphql/language/nodes.rb#80 + # source://graphql//lib/graphql/language/nodes.rb#80 def position; end # Copy `self`, but modify the copy so that `previous_child` is replaced by `new_child` # - # source://graphql/lib/graphql/language/nodes.rb#100 + # source://graphql//lib/graphql/language/nodes.rb#100 def replace_child(previous_child, new_child); end # @return [Array] Scalar values attached to this node # - # source://graphql/lib/graphql/language/nodes.rb#65 + # source://graphql//lib/graphql/language/nodes.rb#65 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#84 + # source://graphql//lib/graphql/language/nodes.rb#84 def to_query_string(printer: T.unsafe(nil)); end protected - # source://graphql/lib/graphql/language/nodes.rb#136 + # source://graphql//lib/graphql/language/nodes.rb#136 def merge!(new_options); end private # This might be unnecessary, but its easiest to add it here. # - # source://graphql/lib/graphql/language/nodes.rb#70 + # source://graphql//lib/graphql/language/nodes.rb#70 def initialize_copy(other); end class << self - # source://graphql/lib/graphql/language/nodes.rb#168 + # source://graphql//lib/graphql/language/nodes.rb#168 def children_of_type; end # Add a default `#visit_method` and `#children_method_name` using the class name # - # source://graphql/lib/graphql/language/nodes.rb#145 + # source://graphql//lib/graphql/language/nodes.rb#145 def inherited(child_class); end private @@ -3479,205 +3480,205 @@ class GraphQL::Language::Nodes::AbstractNode # - Add a persistent update method to add a child # - Generate a `#children` method # - # source://graphql/lib/graphql/language/nodes.rb#179 + # source://graphql//lib/graphql/language/nodes.rb#179 def children_methods(children_of_type); end - # source://graphql/lib/graphql/language/nodes.rb#278 + # source://graphql//lib/graphql/language/nodes.rb#278 def generate_initialize; end # These methods return a plain Ruby value, not another node # - Add reader methods # - Add a `#scalars` method # - # source://graphql/lib/graphql/language/nodes.rb#246 + # source://graphql//lib/graphql/language/nodes.rb#246 def scalar_methods(*method_names); end end end -# source://graphql/lib/graphql/language/nodes.rb#14 +# source://graphql//lib/graphql/language/nodes.rb#14 module GraphQL::Language::Nodes::AbstractNode::DefinitionNode - # source://graphql/lib/graphql/language/nodes.rb#19 + # source://graphql//lib/graphql/language/nodes.rb#19 def initialize(definition_line: T.unsafe(nil), **_rest); end # This AST node's {#line} returns the first line, which may be the description. # # @return [Integer] The first line of the definition (not the description) # - # source://graphql/lib/graphql/language/nodes.rb#17 + # source://graphql//lib/graphql/language/nodes.rb#17 def definition_line; end - # source://graphql/lib/graphql/language/nodes.rb#24 + # source://graphql//lib/graphql/language/nodes.rb#24 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#28 + # source://graphql//lib/graphql/language/nodes.rb#28 def marshal_load(values); end end -# source://graphql/lib/graphql/language/nodes.rb#57 +# source://graphql//lib/graphql/language/nodes.rb#57 GraphQL::Language::Nodes::AbstractNode::NO_CHILDREN = T.let(T.unsafe(nil), Array) # A key-value pair for a field's inputs # -# source://graphql/lib/graphql/language/nodes.rb#362 +# source://graphql//lib/graphql/language/nodes.rb#362 class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), value: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#372 + # source://graphql//lib/graphql/language/nodes.rb#372 def children; end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#340 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end # @return [String] the key for this argument # - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [String, Float, Integer, Boolean, Array, InputObject, VariableIdentifier] The value passed for this key # - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def value; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, value, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#377 +# source://graphql//lib/graphql/language/nodes.rb#377 class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#340 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, arguments, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#385 +# source://graphql//lib/graphql/language/nodes.rb#385 class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), repeatable: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), locations: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#386 + # source://graphql//lib/graphql/language/nodes.rb#386 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def locations; end - # source://graphql/lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#344 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_location(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def repeatable; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, repeatable, description, arguments, locations, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#382 +# source://graphql//lib/graphql/language/nodes.rb#382 class GraphQL::Language::Nodes::DirectiveLocation < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3698,1072 +3699,1072 @@ end # # document.to_query_string(printer: VariableScrubber.new) # -# source://graphql/lib/graphql/language/nodes.rb#609 +# source://graphql//lib/graphql/language/nodes.rb#609 class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(definitions: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # @return [Array] top-level GraphQL units: operations or fragments # - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def definitions; end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#339 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#615 + # source://graphql//lib/graphql/language/nodes.rb#615 def slice_definition(name); end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, definitions, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # An enum value. The string is available as {#name}. # -# source://graphql/lib/graphql/language/nodes.rb#396 +# source://graphql//lib/graphql/language/nodes.rb#396 class GraphQL::Language::Nodes::Enum < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#758 +# source://graphql//lib/graphql/language/nodes.rb#758 class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), values: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#759 + # source://graphql//lib/graphql/language/nodes.rb#759 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#759 + # source://graphql//lib/graphql/language/nodes.rb#759 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#344 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_value(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def values; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, description, directives, values, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#768 +# source://graphql//lib/graphql/language/nodes.rb#768 class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), values: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#341 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_value(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def values; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, directives, values, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#749 +# source://graphql//lib/graphql/language/nodes.rb#749 class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#750 + # source://graphql//lib/graphql/language/nodes.rb#750 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#750 + # source://graphql//lib/graphql/language/nodes.rb#750 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#343 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, description, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A single selection in a GraphQL query. # -# source://graphql/lib/graphql/language/nodes.rb#404 +# source://graphql//lib/graphql/language/nodes.rb#404 class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # @return [Field] a new instance of Field # - # source://graphql/lib/graphql/language/nodes.rb#405 + # source://graphql//lib/graphql/language/nodes.rb#405 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), field_alias: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def alias; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#423 + # source://graphql//lib/graphql/language/nodes.rb#423 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#427 + # source://graphql//lib/graphql/language/nodes.rb#427 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#419 + # source://graphql//lib/graphql/language/nodes.rb#419 def from_a(filename, line, col, field_alias, name, arguments, directives, selections); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#671 +# source://graphql//lib/graphql/language/nodes.rb#671 class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#672 + # source://graphql//lib/graphql/language/nodes.rb#672 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#672 + # source://graphql//lib/graphql/language/nodes.rb#672 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end # this is so that `children_method_name` of `InputValueDefinition` works properly # with `#replace_child` # - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#682 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#337 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#345 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#683 + # source://graphql//lib/graphql/language/nodes.rb#683 def merge(new_options); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, type, description, arguments, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A reusable fragment, defined at document-level. # -# source://graphql/lib/graphql/language/nodes.rb#443 +# source://graphql//lib/graphql/language/nodes.rb#443 class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes::AbstractNode # @return [FragmentDefinition] a new instance of FragmentDefinition # - # source://graphql/lib/graphql/language/nodes.rb#444 + # source://graphql//lib/graphql/language/nodes.rb#444 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), filename: T.unsafe(nil), pos: T.unsafe(nil), source: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#460 + # source://graphql//lib/graphql/language/nodes.rb#460 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#464 + # source://graphql//lib/graphql/language/nodes.rb#464 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#456 + # source://graphql//lib/graphql/language/nodes.rb#456 def from_a(filename, line, col, name, type, directives, selections); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # Application of a named fragment in a selection # -# source://graphql/lib/graphql/language/nodes.rb#478 +# source://graphql//lib/graphql/language/nodes.rb#478 class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#340 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # An unnamed fragment, defined directly in the query with `... { }` # -# source://graphql/lib/graphql/language/nodes.rb#489 +# source://graphql//lib/graphql/language/nodes.rb#489 class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(type: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#341 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, type, directives, selections, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A collection of key-value inputs which may be a field argument # -# source://graphql/lib/graphql/language/nodes.rb#503 +# source://graphql//lib/graphql/language/nodes.rb#503 class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(arguments: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # @return [Array] A list of key-value pairs inside this input object # - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#339 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end # @return [Hash] Recursively turn this input object into a Ruby Hash # - # source://graphql/lib/graphql/language/nodes.rb#511 + # source://graphql//lib/graphql/language/nodes.rb#511 def to_h(options = T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end private - # source://graphql/lib/graphql/language/nodes.rb#523 + # source://graphql//lib/graphql/language/nodes.rb#523 def serialize_value_for_hash(value); end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, arguments, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#777 +# source://graphql//lib/graphql/language/nodes.rb#777 class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#778 + # source://graphql//lib/graphql/language/nodes.rb#778 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#778 + # source://graphql//lib/graphql/language/nodes.rb#778 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#344 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, description, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#787 +# source://graphql//lib/graphql/language/nodes.rb#787 class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#341 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#662 +# source://graphql//lib/graphql/language/nodes.rb#662 class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#663 + # source://graphql//lib/graphql/language/nodes.rb#663 def comment; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def default_value; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#663 + # source://graphql//lib/graphql/language/nodes.rb#663 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#337 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#345 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, type, default_value, description, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#710 +# source://graphql//lib/graphql/language/nodes.rb#710 class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#711 + # source://graphql//lib/graphql/language/nodes.rb#711 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#711 + # source://graphql//lib/graphql/language/nodes.rb#711 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def interfaces; end - # source://graphql/lib/graphql/language/nodes.rb#337 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#345 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_interface(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, description, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#721 +# source://graphql//lib/graphql/language/nodes.rb#721 class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def interfaces; end - # source://graphql/lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#342 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_interface(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A list type definition, denoted with `[...]` (used for variable type definitions) # -# source://graphql/lib/graphql/language/nodes.rb#542 +# source://graphql//lib/graphql/language/nodes.rb#542 class GraphQL::Language::Nodes::ListType < ::GraphQL::Language::Nodes::WrapperType - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#5 +# source://graphql//lib/graphql/language/nodes.rb#5 GraphQL::Language::Nodes::NONE = T.let(T.unsafe(nil), Array) # Base class for nodes whose only value is a name (no child nodes or other scalars) # -# source://graphql/lib/graphql/language/nodes.rb#356 +# source://graphql//lib/graphql/language/nodes.rb#356 class GraphQL::Language::Nodes::NameOnlyNode < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#339 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A non-null type definition, denoted with `...!` (used for variable type definitions) # -# source://graphql/lib/graphql/language/nodes.rb#546 +# source://graphql//lib/graphql/language/nodes.rb#546 class GraphQL::Language::Nodes::NonNullType < ::GraphQL::Language::Nodes::WrapperType - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A null value literal. # -# source://graphql/lib/graphql/language/nodes.rb#400 +# source://graphql//lib/graphql/language/nodes.rb#400 class GraphQL::Language::Nodes::NullValue < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#691 +# source://graphql//lib/graphql/language/nodes.rb#691 class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#692 + # source://graphql//lib/graphql/language/nodes.rb#692 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#692 + # source://graphql//lib/graphql/language/nodes.rb#692 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def interfaces; end - # source://graphql/lib/graphql/language/nodes.rb#337 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#345 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, interfaces, description, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#701 +# source://graphql//lib/graphql/language/nodes.rb#701 class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def interfaces; end - # source://graphql/lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#342 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4772,665 +4773,665 @@ end # May be anonymous or named. # May be explicitly typed (eg `mutation { ... }`) or implicitly a query (eg `{ ... }`). # -# source://graphql/lib/graphql/language/nodes.rb#568 +# source://graphql//lib/graphql/language/nodes.rb#568 class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(operation_type: T.unsafe(nil), name: T.unsafe(nil), variables: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#214 + # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#344 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_variable(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end # @return [String, nil] The root type for this operation, or `nil` for implicit `"query"` # - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def operation_type; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [Array] Root-level fields on this operation # - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end # @return [Array] Variable $definitions for this operation # - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def variables; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, operation_type, name, variables, directives, selections, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#645 +# source://graphql//lib/graphql/language/nodes.rb#645 class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#646 + # source://graphql//lib/graphql/language/nodes.rb#646 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#646 + # source://graphql//lib/graphql/language/nodes.rb#646 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#343 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, description, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#654 +# source://graphql//lib/graphql/language/nodes.rb#654 class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#340 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#629 +# source://graphql//lib/graphql/language/nodes.rb#629 class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#343 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def mutation; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def query; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def subscription; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, query, mutation, subscription, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#637 +# source://graphql//lib/graphql/language/nodes.rb#637 class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#342 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def mutation; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def query; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def subscription; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, query, mutation, subscription, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # A type name, used for variable definitions # -# source://graphql/lib/graphql/language/nodes.rb#621 +# source://graphql//lib/graphql/language/nodes.rb#621 class GraphQL::Language::Nodes::TypeName < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#731 +# source://graphql//lib/graphql/language/nodes.rb#731 class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute comment. # - # source://graphql/lib/graphql/language/nodes.rb#732 + # source://graphql//lib/graphql/language/nodes.rb#732 def comment; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/language/nodes.rb#732 + # source://graphql//lib/graphql/language/nodes.rb#732 def description; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#344 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # Returns the value of attribute types. # - # source://graphql/lib/graphql/language/nodes.rb#732 + # source://graphql//lib/graphql/language/nodes.rb#732 def types; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, types, description, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/nodes.rb#740 +# source://graphql//lib/graphql/language/nodes.rb#740 class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#341 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # Returns the value of attribute types. # - # source://graphql/lib/graphql/language/nodes.rb#741 + # source://graphql//lib/graphql/language/nodes.rb#741 def types; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, types, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # An operation-level query variable # -# source://graphql/lib/graphql/language/nodes.rb#550 +# source://graphql//lib/graphql/language/nodes.rb#550 class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # @return [String, Integer, Float, Boolean, Array, NullValue] A Ruby value to use if no other value is provided # - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def default_value; end - # source://graphql/lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql/lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#343 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [TypeName, NonNullType, ListType] The expected type of this value # - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, name, type, default_value, directives, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # Usage of a variable in a query. Name does _not_ include `$`. # -# source://graphql/lib/graphql/language/nodes.rb#625 +# source://graphql//lib/graphql/language/nodes.rb#625 class GraphQL::Language::Nodes::VariableIdentifier < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end # Base class for non-null type names and list type names # -# source://graphql/lib/graphql/language/nodes.rb#350 +# source://graphql//lib/graphql/language/nodes.rb#350 class GraphQL::Language::Nodes::WrapperType < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql/lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#318 def initialize(of_type: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_dump; end - # source://graphql/lib/graphql/language/nodes.rb#339 + # source://graphql//lib/graphql/language/nodes.rb#318 def marshal_load(values); end - # source://graphql/lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def of_type; end - # source://graphql/lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql/lib/graphql/language/nodes.rb#152 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql/lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql/lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#318 def from_a(filename, line, col, of_type, comment: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end -# source://graphql/lib/graphql/language/parser.rb#8 +# source://graphql//lib/graphql/language/parser.rb#8 class GraphQL::Language::Parser include ::GraphQL::Language::Nodes include ::GraphQL::EmptyObjects # @return [Parser] a new instance of Parser # - # source://graphql/lib/graphql/language/parser.rb#30 + # source://graphql//lib/graphql/language/parser.rb#30 def initialize(graphql_str, filename: T.unsafe(nil), trace: T.unsafe(nil), max_tokens: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/parser.rb#66 + # source://graphql//lib/graphql/language/parser.rb#66 def column_at(pos); end - # source://graphql/lib/graphql/language/parser.rb#57 + # source://graphql//lib/graphql/language/parser.rb#57 def line_at(pos); end - # source://graphql/lib/graphql/language/parser.rb#42 + # source://graphql//lib/graphql/language/parser.rb#42 def parse; end - # source://graphql/lib/graphql/language/parser.rb#52 + # source://graphql//lib/graphql/language/parser.rb#52 def tokens_count; end private - # source://graphql/lib/graphql/language/parser.rb#96 + # source://graphql//lib/graphql/language/parser.rb#96 def advance_token; end # @return [Boolean] # - # source://graphql/lib/graphql/language/parser.rb#795 + # source://graphql//lib/graphql/language/parser.rb#795 def at?(expected_token_name); end # token_value works for when the scanner matched something # which is usually fine and it's good for it to be fast at that. # - # source://graphql/lib/graphql/language/parser.rb#834 + # source://graphql//lib/graphql/language/parser.rb#834 def debug_token_value; end - # source://graphql/lib/graphql/language/parser.rb#119 + # source://graphql//lib/graphql/language/parser.rb#119 def definition; end - # source://graphql/lib/graphql/language/parser.rb#104 + # source://graphql//lib/graphql/language/parser.rb#104 def document; end - # source://graphql/lib/graphql/language/parser.rb#806 + # source://graphql//lib/graphql/language/parser.rb#806 def expect_one_of(token_names); end - # source://graphql/lib/graphql/language/parser.rb#799 + # source://graphql//lib/graphql/language/parser.rb#799 def expect_token(expected_token_name); end # Only use when we care about the expected token's value # - # source://graphql/lib/graphql/language/parser.rb#823 + # source://graphql//lib/graphql/language/parser.rb#823 def expect_token_value(tok); end # @return [Array] Positions of each line break in the original string # - # source://graphql/lib/graphql/language/parser.rb#79 + # source://graphql//lib/graphql/language/parser.rb#79 def lines_at; end - # source://graphql/lib/graphql/language/parser.rb#505 + # source://graphql//lib/graphql/language/parser.rb#505 def list_type; end - # source://graphql/lib/graphql/language/parser.rb#459 + # source://graphql//lib/graphql/language/parser.rb#459 def parse_argument_definitions; end - # source://graphql/lib/graphql/language/parser.rb#673 + # source://graphql//lib/graphql/language/parser.rb#673 def parse_arguments; end - # source://graphql/lib/graphql/language/parser.rb#656 + # source://graphql//lib/graphql/language/parser.rb#656 def parse_directives; end - # source://graphql/lib/graphql/language/parser.rb#384 + # source://graphql//lib/graphql/language/parser.rb#384 def parse_enum_value_definitions; end - # source://graphql/lib/graphql/language/parser.rb#440 + # source://graphql//lib/graphql/language/parser.rb#440 def parse_field_definitions; end - # source://graphql/lib/graphql/language/parser.rb#425 + # source://graphql//lib/graphql/language/parser.rb#425 def parse_implements; end - # source://graphql/lib/graphql/language/parser.rb#370 + # source://graphql//lib/graphql/language/parser.rb#370 def parse_input_object_field_definitions; end - # source://graphql/lib/graphql/language/parser.rb#473 + # source://graphql//lib/graphql/language/parser.rb#473 def parse_input_value_definition; end - # source://graphql/lib/graphql/language/parser.rb#578 + # source://graphql//lib/graphql/language/parser.rb#578 def parse_name; end - # source://graphql/lib/graphql/language/parser.rb#644 + # source://graphql//lib/graphql/language/parser.rb#644 def parse_name_without_on; end - # source://graphql/lib/graphql/language/parser.rb#513 + # source://graphql//lib/graphql/language/parser.rb#513 def parse_operation_type; end - # source://graphql/lib/graphql/language/parser.rb#652 + # source://graphql//lib/graphql/language/parser.rb#652 def parse_type_name; end - # source://graphql/lib/graphql/language/parser.rb#408 + # source://graphql//lib/graphql/language/parser.rb#408 def parse_union_members; end - # source://graphql/lib/graphql/language/parser.rb#100 + # source://graphql//lib/graphql/language/parser.rb#100 def pos; end # @raise [GraphQL::ParseError] # - # source://graphql/lib/graphql/language/parser.rb#810 + # source://graphql//lib/graphql/language/parser.rb#810 def raise_parse_error(message); end - # source://graphql/lib/graphql/language/parser.rb#527 + # source://graphql//lib/graphql/language/parser.rb#527 def selection_set; end - # source://graphql/lib/graphql/language/parser.rb#693 + # source://graphql//lib/graphql/language/parser.rb#693 def string_value; end # Returns the value of attribute token_name. # - # source://graphql/lib/graphql/language/parser.rb#94 + # source://graphql//lib/graphql/language/parser.rb#94 def token_name; end - # source://graphql/lib/graphql/language/parser.rb#490 + # source://graphql//lib/graphql/language/parser.rb#490 def type; end - # source://graphql/lib/graphql/language/parser.rb#699 + # source://graphql//lib/graphql/language/parser.rb#699 def value; end class << self # Returns the value of attribute cache. # - # source://graphql/lib/graphql/language/parser.rb#13 + # source://graphql//lib/graphql/language/parser.rb#13 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://graphql/lib/graphql/language/parser.rb#13 + # source://graphql//lib/graphql/language/parser.rb#13 def cache=(_arg0); end - # source://graphql/lib/graphql/language/parser.rb#15 + # source://graphql//lib/graphql/language/parser.rb#15 def parse(graphql_str, filename: T.unsafe(nil), trace: T.unsafe(nil), max_tokens: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/parser.rb#19 + # source://graphql//lib/graphql/language/parser.rb#19 def parse_file(filename, trace: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/language/parser.rb#837 +# source://graphql//lib/graphql/language/parser.rb#837 class GraphQL::Language::Parser::SchemaParser < ::GraphQL::Language::Parser # @return [SchemaParser] a new instance of SchemaParser # - # source://graphql/lib/graphql/language/parser.rb#838 + # source://graphql//lib/graphql/language/parser.rb#838 def initialize(*args, **kwargs); end end -# source://graphql/lib/graphql/language/printer.rb#4 +# source://graphql//lib/graphql/language/printer.rb#4 class GraphQL::Language::Printer # Turn an arbitrary AST node back into a string. # @@ -5453,144 +5454,144 @@ class GraphQL::Language::Printer # @param truncate_size [Integer, nil] The size to truncate to. # @return [String] Valid GraphQL for `node` # - # source://graphql/lib/graphql/language/printer.rb#54 + # source://graphql//lib/graphql/language/printer.rb#54 def print(node, indent: T.unsafe(nil), truncate_size: T.unsafe(nil)); end protected - # source://graphql/lib/graphql/language/printer.rb#76 + # source://graphql//lib/graphql/language/printer.rb#76 def print_argument(argument); end - # source://graphql/lib/graphql/language/printer.rb#296 + # source://graphql//lib/graphql/language/printer.rb#296 def print_arguments(arguments, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#430 + # source://graphql//lib/graphql/language/printer.rb#430 def print_comment(node, indent: T.unsafe(nil), first_in_block: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#423 + # source://graphql//lib/graphql/language/printer.rb#423 def print_description(node, indent: T.unsafe(nil), first_in_block: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#437 + # source://graphql//lib/graphql/language/printer.rb#437 def print_description_and_comment(node); end - # source://graphql/lib/graphql/language/printer.rb#91 + # source://graphql//lib/graphql/language/printer.rb#91 def print_directive(directive); end - # source://graphql/lib/graphql/language/printer.rb#399 + # source://graphql//lib/graphql/language/printer.rb#399 def print_directive_definition(directive); end - # source://graphql/lib/graphql/language/printer.rb#458 + # source://graphql//lib/graphql/language/printer.rb#458 def print_directives(directives); end - # source://graphql/lib/graphql/language/printer.rb#69 + # source://graphql//lib/graphql/language/printer.rb#69 def print_document(document); end - # source://graphql/lib/graphql/language/printer.rb#105 + # source://graphql//lib/graphql/language/printer.rb#105 def print_enum(enum); end - # source://graphql/lib/graphql/language/printer.rb#358 + # source://graphql//lib/graphql/language/printer.rb#358 def print_enum_type_definition(enum_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#374 + # source://graphql//lib/graphql/language/printer.rb#374 def print_enum_value_definition(enum_value); end - # source://graphql/lib/graphql/language/printer.rb#113 + # source://graphql//lib/graphql/language/printer.rb#113 def print_field(field, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#321 + # source://graphql//lib/graphql/language/printer.rb#321 def print_field_definition(field); end - # source://graphql/lib/graphql/language/printer.rb#442 + # source://graphql//lib/graphql/language/printer.rb#442 def print_field_definitions(fields); end - # source://graphql/lib/graphql/language/printer.rb#132 + # source://graphql//lib/graphql/language/printer.rb#132 def print_fragment_definition(fragment_def, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#148 + # source://graphql//lib/graphql/language/printer.rb#148 def print_fragment_spread(fragment_spread, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#273 + # source://graphql//lib/graphql/language/printer.rb#273 def print_implements(type); end - # source://graphql/lib/graphql/language/printer.rb#155 + # source://graphql//lib/graphql/language/printer.rb#155 def print_inline_fragment(inline_fragment, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#82 + # source://graphql//lib/graphql/language/printer.rb#82 def print_input_object(input_object); end - # source://graphql/lib/graphql/language/printer.rb#381 + # source://graphql//lib/graphql/language/printer.rb#381 def print_input_object_type_definition(input_object_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#285 + # source://graphql//lib/graphql/language/printer.rb#285 def print_input_value_definition(input_value); end - # source://graphql/lib/graphql/language/printer.rb#331 + # source://graphql//lib/graphql/language/printer.rb#331 def print_interface_type_definition(interface_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#166 + # source://graphql//lib/graphql/language/printer.rb#166 def print_list_type(list_type); end - # source://graphql/lib/graphql/language/printer.rb#479 + # source://graphql//lib/graphql/language/printer.rb#479 def print_node(node, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#172 + # source://graphql//lib/graphql/language/printer.rb#172 def print_non_null_type(non_null_type); end - # source://graphql/lib/graphql/language/printer.rb#109 + # source://graphql//lib/graphql/language/printer.rb#109 def print_null_value; end - # source://graphql/lib/graphql/language/printer.rb#264 + # source://graphql//lib/graphql/language/printer.rb#264 def print_object_type_definition(object_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#177 + # source://graphql//lib/graphql/language/printer.rb#177 def print_operation_definition(operation_definition, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#257 + # source://graphql//lib/graphql/language/printer.rb#257 def print_scalar_type_definition(scalar_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#222 + # source://graphql//lib/graphql/language/printer.rb#222 def print_schema_definition(schema, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#467 + # source://graphql//lib/graphql/language/printer.rb#467 def print_selections(selections, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#65 + # source://graphql//lib/graphql/language/printer.rb#65 def print_string(str); end - # source://graphql/lib/graphql/language/printer.rb#198 + # source://graphql//lib/graphql/language/printer.rb#198 def print_type_name(type_name); end - # source://graphql/lib/graphql/language/printer.rb#340 + # source://graphql//lib/graphql/language/printer.rb#340 def print_union_type_definition(union_type, extension: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#202 + # source://graphql//lib/graphql/language/printer.rb#202 def print_variable_definition(variable_definition); end - # source://graphql/lib/graphql/language/printer.rb#217 + # source://graphql//lib/graphql/language/printer.rb#217 def print_variable_identifier(variable_identifier); end end -# source://graphql/lib/graphql/language/printer.rb#5 +# source://graphql//lib/graphql/language/printer.rb#5 GraphQL::Language::Printer::OMISSION = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/language/printer.rb#7 +# source://graphql//lib/graphql/language/printer.rb#7 class GraphQL::Language::Printer::TruncatableBuffer # @return [TruncatableBuffer] a new instance of TruncatableBuffer # - # source://graphql/lib/graphql/language/printer.rb#12 + # source://graphql//lib/graphql/language/printer.rb#12 def initialize(truncate_size: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/printer.rb#17 + # source://graphql//lib/graphql/language/printer.rb#17 def append(other); end - # source://graphql/lib/graphql/language/printer.rb#26 + # source://graphql//lib/graphql/language/printer.rb#26 def to_string; end end -# source://graphql/lib/graphql/language/printer.rb#10 +# source://graphql//lib/graphql/language/printer.rb#10 GraphQL::Language::Printer::TruncatableBuffer::DEFAULT_INIT_CAPACITY = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/language/printer.rb#8 +# source://graphql//lib/graphql/language/printer.rb#8 class GraphQL::Language::Printer::TruncatableBuffer::TruncateSizeReached < ::StandardError; end # A custom printer used to print sanitized queries. It inlines provided variables @@ -5607,43 +5608,43 @@ class GraphQL::Language::Printer::TruncatableBuffer::TruncateSizeReached < ::Sta # puts printer.sanitized_query_string # @see {Query#sanitized_query_string} # -# source://graphql/lib/graphql/language/sanitized_printer.rb#18 +# source://graphql//lib/graphql/language/sanitized_printer.rb#18 class GraphQL::Language::SanitizedPrinter < ::GraphQL::Language::Printer # @return [SanitizedPrinter] a new instance of SanitizedPrinter # - # source://graphql/lib/graphql/language/sanitized_printer.rb#22 + # source://graphql//lib/graphql/language/sanitized_printer.rb#22 def initialize(query, inline_variables: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/language/sanitized_printer.rb#99 + # source://graphql//lib/graphql/language/sanitized_printer.rb#99 def coerce_argument_value_to_list?(type, value); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#75 + # source://graphql//lib/graphql/language/sanitized_printer.rb#75 def print_argument(argument); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#144 + # source://graphql//lib/graphql/language/sanitized_printer.rb#144 def print_directive(directive); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#115 + # source://graphql//lib/graphql/language/sanitized_printer.rb#115 def print_field(field, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#135 + # source://graphql//lib/graphql/language/sanitized_printer.rb#135 def print_fragment_definition(fragment_def, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#123 + # source://graphql//lib/graphql/language/sanitized_printer.rb#123 def print_inline_fragment(inline_fragment, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#39 + # source://graphql//lib/graphql/language/sanitized_printer.rb#39 def print_node(node, indent: T.unsafe(nil)); end # Print the operation definition but do not include the variable # definitions since we will inline them within the query # - # source://graphql/lib/graphql/language/sanitized_printer.rb#154 + # source://graphql//lib/graphql/language/sanitized_printer.rb#154 def print_operation_definition(operation_definition, indent: T.unsafe(nil)); end - # source://graphql/lib/graphql/language/sanitized_printer.rb#106 + # source://graphql//lib/graphql/language/sanitized_printer.rb#106 def print_variable_identifier(variable_id); end # Indicates whether or not to redact non-null values for the given argument. Defaults to redacting all strings @@ -5651,184 +5652,184 @@ class GraphQL::Language::SanitizedPrinter < ::GraphQL::Language::Printer # # @return [Boolean] # - # source://graphql/lib/graphql/language/sanitized_printer.rb#63 + # source://graphql//lib/graphql/language/sanitized_printer.rb#63 def redact_argument_value?(argument, value); end # Returns the value to use for redacted versions of the given argument. Defaults to the # string "". # - # source://graphql/lib/graphql/language/sanitized_printer.rb#71 + # source://graphql//lib/graphql/language/sanitized_printer.rb#71 def redacted_argument_value(argument); end # @return [String, nil] A scrubbed query string, if the query was valid. # - # source://graphql/lib/graphql/language/sanitized_printer.rb#31 + # source://graphql//lib/graphql/language/sanitized_printer.rb#31 def sanitized_query_string; end private # Returns the value of attribute query. # - # source://graphql/lib/graphql/language/sanitized_printer.rb#217 + # source://graphql//lib/graphql/language/sanitized_printer.rb#217 def query; end - # source://graphql/lib/graphql/language/sanitized_printer.rb#172 + # source://graphql//lib/graphql/language/sanitized_printer.rb#172 def value_to_ast(value, type); end end -# source://graphql/lib/graphql/language/sanitized_printer.rb#20 +# source://graphql//lib/graphql/language/sanitized_printer.rb#20 GraphQL::Language::SanitizedPrinter::REDACTED = T.let(T.unsafe(nil), String) # Like `GraphQL::Language::Visitor` except it doesn't support # making changes to the document -- only visiting it as-is. # -# source://graphql/lib/graphql/language/static_visitor.rb#6 +# source://graphql//lib/graphql/language/static_visitor.rb#6 class GraphQL::Language::StaticVisitor # @return [StaticVisitor] a new instance of StaticVisitor # - # source://graphql/lib/graphql/language/static_visitor.rb#7 + # source://graphql//lib/graphql/language/static_visitor.rb#7 def initialize(document); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_argument(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#109 + # source://graphql//lib/graphql/language/static_visitor.rb#109 def on_argument_children(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive_location(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_document(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#58 + # source://graphql//lib/graphql/language/static_visitor.rb#58 def on_document_children(document_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_value_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_field(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#65 + # source://graphql//lib/graphql/language/static_visitor.rb#65 def on_field_children(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_field_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#94 + # source://graphql//lib/graphql/language/static_visitor.rb#94 def on_fragment_definition_children(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_inline_fragment(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#94 + # source://graphql//lib/graphql/language/static_visitor.rb#99 def on_inline_fragment_children(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_value_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_interface_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_interface_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_list_type(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_non_null_type(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_null_value(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_object_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_object_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_operation_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#101 + # source://graphql//lib/graphql/language/static_visitor.rb#101 def on_operation_definition_children(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_scalar_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_scalar_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_schema_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_schema_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_type_name(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_union_type_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_union_type_extension(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_variable_definition(node, parent); end - # source://graphql/lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_variable_identifier(node, parent); end # Visit `document` and all children # # @return [void] # - # source://graphql/lib/graphql/language/static_visitor.rb#13 + # source://graphql//lib/graphql/language/static_visitor.rb#13 def visit; end - # source://graphql/lib/graphql/language/static_visitor.rb#73 + # source://graphql//lib/graphql/language/static_visitor.rb#73 def visit_directives(new_node); end - # source://graphql/lib/graphql/language/static_visitor.rb#79 + # source://graphql//lib/graphql/language/static_visitor.rb#79 def visit_selections(new_node); end class << self # We don't use `alias` here because it breaks `super` # - # source://graphql/lib/graphql/language/static_visitor.rb#26 + # source://graphql//lib/graphql/language/static_visitor.rb#26 def make_visit_methods(ast_node_class); end end end @@ -5864,268 +5865,268 @@ end # # => 3 # @see GraphQL::Language::StaticVisitor for a faster visitor that doesn't support modifying the document # -# source://graphql/lib/graphql/language/visitor.rb#35 +# source://graphql//lib/graphql/language/visitor.rb#35 class GraphQL::Language::Visitor # @return [Visitor] a new instance of Visitor # - # source://graphql/lib/graphql/language/visitor.rb#42 + # source://graphql//lib/graphql/language/visitor.rb#42 def initialize(document); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_argument(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#197 + # source://graphql//lib/graphql/language/visitor.rb#197 def on_argument_children(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_argument_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_location(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_location_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_document(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#119 + # source://graphql//lib/graphql/language/visitor.rb#119 def on_document_children(document_node); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_document_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_value_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_value_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#132 + # source://graphql//lib/graphql/language/visitor.rb#132 def on_field_children(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#176 + # source://graphql//lib/graphql/language/visitor.rb#176 def on_fragment_definition_children(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_spread_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_inline_fragment(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#176 + # source://graphql//lib/graphql/language/visitor.rb#182 def on_inline_fragment_children(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_inline_fragment_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_value_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_value_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#116 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#116 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_list_type(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_list_type_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_non_null_type(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_non_null_type_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_null_value(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_null_value_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_operation_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#184 + # source://graphql//lib/graphql/language/visitor.rb#184 def on_operation_definition_children(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_operation_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_type_name(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_type_name_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_extension(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_extension_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_definition(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_definition_with_modifications(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_identifier(node, parent); end - # source://graphql/lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_identifier_with_modifications(node, parent); end # @return [GraphQL::Language::Nodes::Document] The document with any modifications applied # - # source://graphql/lib/graphql/language/visitor.rb#48 + # source://graphql//lib/graphql/language/visitor.rb#48 def result; end # Visit `document` and all children # # @return [void] # - # source://graphql/lib/graphql/language/visitor.rb#52 + # source://graphql//lib/graphql/language/visitor.rb#52 def visit; end - # source://graphql/lib/graphql/language/visitor.rb#145 + # source://graphql//lib/graphql/language/visitor.rb#145 def visit_directives(new_node); end - # source://graphql/lib/graphql/language/visitor.rb#156 + # source://graphql//lib/graphql/language/visitor.rb#156 def visit_selections(new_node); end private - # source://graphql/lib/graphql/language/visitor.rb#261 + # source://graphql//lib/graphql/language/visitor.rb#261 def apply_modifications(node, parent, new_node_and_new_parent); end class << self # We don't use `alias` here because it breaks `super` # - # source://graphql/lib/graphql/language/visitor.rb#65 + # source://graphql//lib/graphql/language/visitor.rb#65 def make_visit_methods(ast_node_class); end end end @@ -6133,10 +6134,10 @@ end # When this is returned from a visitor method, # Then the `node` passed into the method is removed from `parent`'s children. # -# source://graphql/lib/graphql/language/visitor.rb#40 +# source://graphql//lib/graphql/language/visitor.rb#40 GraphQL::Language::Visitor::DELETE_NODE = T.let(T.unsafe(nil), GraphQL::Language::Visitor::DeleteNode) -# source://graphql/lib/graphql/language/visitor.rb#36 +# source://graphql//lib/graphql/language/visitor.rb#36 class GraphQL::Language::Visitor::DeleteNode; end # Raised when a argument is configured with `loads:` and the client provides an `ID`, @@ -6144,106 +6145,106 @@ class GraphQL::Language::Visitor::DeleteNode; end # # @see GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader#load_application_object_failed, A hook which you can override in resolvers, mutations and input objects. # -# source://graphql/lib/graphql/load_application_object_failed_error.rb#8 +# source://graphql//lib/graphql/load_application_object_failed_error.rb#8 class GraphQL::LoadApplicationObjectFailedError < ::GraphQL::ExecutionError # @return [LoadApplicationObjectFailedError] a new instance of LoadApplicationObjectFailedError # - # source://graphql/lib/graphql/load_application_object_failed_error.rb#18 + # source://graphql//lib/graphql/load_application_object_failed_error.rb#18 def initialize(argument:, id:, object:, context:); end # @return [GraphQL::Schema::Argument] the argument definition for the argument that was looked up # - # source://graphql/lib/graphql/load_application_object_failed_error.rb#10 + # source://graphql//lib/graphql/load_application_object_failed_error.rb#10 def argument; end # @return [GraphQL::Query::Context] # - # source://graphql/lib/graphql/load_application_object_failed_error.rb#16 + # source://graphql//lib/graphql/load_application_object_failed_error.rb#16 def context; end # @return [String] The ID provided by the client # - # source://graphql/lib/graphql/load_application_object_failed_error.rb#12 + # source://graphql//lib/graphql/load_application_object_failed_error.rb#12 def id; end # @return [Object] The value found with this ID # - # source://graphql/lib/graphql/load_application_object_failed_error.rb#14 + # source://graphql//lib/graphql/load_application_object_failed_error.rb#14 def object; end end -# source://graphql/lib/graphql.rb#75 +# source://graphql//lib/graphql.rb#75 GraphQL::NOT_CONFIGURED = T.let(T.unsafe(nil), Object) -# source://graphql/lib/graphql/name_validator.rb#3 +# source://graphql//lib/graphql/name_validator.rb#3 class GraphQL::NameValidator class << self # @raise [GraphQL::InvalidNameError] # - # source://graphql/lib/graphql/name_validator.rb#6 + # source://graphql//lib/graphql/name_validator.rb#6 def validate!(name); end end end -# source://graphql/lib/graphql/name_validator.rb#4 +# source://graphql//lib/graphql/name_validator.rb#4 GraphQL::NameValidator::VALID_NAME_REGEX = T.let(T.unsafe(nil), Regexp) -# source://graphql/lib/graphql/pagination/connection.rb#4 +# source://graphql//lib/graphql/pagination/connection.rb#4 module GraphQL::Pagination; end # Customizes `RelationConnection` to work with `ActiveRecord::Relation`s. # -# source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#7 +# source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#7 class GraphQL::Pagination::ActiveRecordRelationConnection < ::GraphQL::Pagination::RelationConnection private # @return [Boolean] # - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#72 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#72 def already_loaded?(relation); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#43 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#43 def null_relation(relation); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#10 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#10 def relation_count(relation); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#27 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#27 def relation_limit(relation); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#35 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#35 def relation_offset(relation); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#52 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#52 def set_limit(nodes, limit); end - # source://graphql/lib/graphql/pagination/active_record_relation_connection.rb#60 + # source://graphql//lib/graphql/pagination/active_record_relation_connection.rb#60 def set_offset(nodes, offset); end end -# source://graphql/lib/graphql/pagination/array_connection.rb#6 +# source://graphql//lib/graphql/pagination/array_connection.rb#6 class GraphQL::Pagination::ArrayConnection < ::GraphQL::Pagination::Connection - # source://graphql/lib/graphql/pagination/array_connection.rb#22 + # source://graphql//lib/graphql/pagination/array_connection.rb#22 def cursor_for(item); end - # source://graphql/lib/graphql/pagination/array_connection.rb#17 + # source://graphql//lib/graphql/pagination/array_connection.rb#17 def has_next_page; end - # source://graphql/lib/graphql/pagination/array_connection.rb#12 + # source://graphql//lib/graphql/pagination/array_connection.rb#12 def has_previous_page; end - # source://graphql/lib/graphql/pagination/array_connection.rb#7 + # source://graphql//lib/graphql/pagination/array_connection.rb#7 def nodes; end private - # source://graphql/lib/graphql/pagination/array_connection.rb#29 + # source://graphql//lib/graphql/pagination/array_connection.rb#29 def index_from_cursor(cursor); end # Populate all the pagination info _once_, # It doesn't do anything on subsequent calls. # - # source://graphql/lib/graphql/pagination/array_connection.rb#35 + # source://graphql//lib/graphql/pagination/array_connection.rb#35 def load_nodes; end end @@ -6257,7 +6258,7 @@ end # # Pagination arguments and context may be provided at initialization or assigned later (see {Schema::Field::ConnectionExtension}). # -# source://graphql/lib/graphql/pagination/connection.rb#14 +# source://graphql//lib/graphql/pagination/connection.rb#14 class GraphQL::Pagination::Connection # @param items [Object] some unpaginated collection item, like an `Array` or `ActiveRecord::Relation` # @param context [Query::Context] @@ -6271,55 +6272,55 @@ class GraphQL::Pagination::Connection # @param default_page_size [Integer, nil] A configured value to determine the result size when neither first or last are given. # @return [Connection] a new instance of Connection # - # source://graphql/lib/graphql/pagination/connection.rb#69 + # source://graphql//lib/graphql/pagination/connection.rb#69 def initialize(items, parent: T.unsafe(nil), field: T.unsafe(nil), context: T.unsafe(nil), first: T.unsafe(nil), after: T.unsafe(nil), max_page_size: T.unsafe(nil), default_page_size: T.unsafe(nil), last: T.unsafe(nil), before: T.unsafe(nil), edge_class: T.unsafe(nil), arguments: T.unsafe(nil)); end # @return [String, nil] the client-provided cursor. `""` is treated as `nil`. # - # source://graphql/lib/graphql/pagination/connection.rb#48 + # source://graphql//lib/graphql/pagination/connection.rb#48 def after; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def after_value; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def after_value=(_arg0); end # @return [Hash Object>] The field arguments from the field that returned this connection # - # source://graphql/lib/graphql/pagination/connection.rb#57 + # source://graphql//lib/graphql/pagination/connection.rb#57 def arguments; end # @return [Hash Object>] The field arguments from the field that returned this connection # - # source://graphql/lib/graphql/pagination/connection.rb#57 + # source://graphql//lib/graphql/pagination/connection.rb#57 def arguments=(_arg0); end # @return [String, nil] the client-provided cursor. `""` is treated as `nil`. # - # source://graphql/lib/graphql/pagination/connection.rb#39 + # source://graphql//lib/graphql/pagination/connection.rb#39 def before; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def before_value; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def before_value=(_arg0); end # @return [GraphQL::Query::Context] # - # source://graphql/lib/graphql/pagination/connection.rb#22 + # source://graphql//lib/graphql/pagination/connection.rb#22 def context; end - # source://graphql/lib/graphql/pagination/connection.rb#24 + # source://graphql//lib/graphql/pagination/connection.rb#24 def context=(new_ctx); end # Return a cursor for this item. @@ -6328,50 +6329,50 @@ class GraphQL::Pagination::Connection # @raise [PaginationImplementationMissingError] # @return [String] # - # source://graphql/lib/graphql/pagination/connection.rb#218 + # source://graphql//lib/graphql/pagination/connection.rb#218 def cursor_for(item); end - # source://graphql/lib/graphql/pagination/connection.rb#123 + # source://graphql//lib/graphql/pagination/connection.rb#123 def default_page_size; end - # source://graphql/lib/graphql/pagination/connection.rb#118 + # source://graphql//lib/graphql/pagination/connection.rb#118 def default_page_size=(new_value); end # @return [Class] A wrapper class for edges of this connection # - # source://graphql/lib/graphql/pagination/connection.rb#174 + # source://graphql//lib/graphql/pagination/connection.rb#174 def edge_class; end # @return [Class] A wrapper class for edges of this connection # - # source://graphql/lib/graphql/pagination/connection.rb#174 + # source://graphql//lib/graphql/pagination/connection.rb#174 def edge_class=(_arg0); end # A dynamic alias for compatibility with {Relay::BaseConnection}. # # @deprecated use {#nodes} instead # - # source://graphql/lib/graphql/pagination/connection.rb#186 + # source://graphql//lib/graphql/pagination/connection.rb#186 def edge_nodes; end # @return [Array] {nodes}, but wrapped with Edge instances # - # source://graphql/lib/graphql/pagination/connection.rb#169 + # source://graphql//lib/graphql/pagination/connection.rb#169 def edges; end # @return [String] The cursor of the last item in {nodes} # - # source://graphql/lib/graphql/pagination/connection.rb#211 + # source://graphql//lib/graphql/pagination/connection.rb#211 def end_cursor; end # @return [GraphQL::Schema::Field] The field this connection was returned by # - # source://graphql/lib/graphql/pagination/connection.rb#177 + # source://graphql//lib/graphql/pagination/connection.rb#177 def field; end # @return [GraphQL::Schema::Field] The field this connection was returned by # - # source://graphql/lib/graphql/pagination/connection.rb#177 + # source://graphql//lib/graphql/pagination/connection.rb#177 def field=(_arg0); end # @return [Integer, nil] A clamped `first` value. @@ -6381,100 +6382,100 @@ class GraphQL::Pagination::Connection # is greater than `max_page_size``, it'll be clamped down to # `max_page_size`. If `default_page_size` is nil, use `max_page_size`. # - # source://graphql/lib/graphql/pagination/connection.rb#143 + # source://graphql//lib/graphql/pagination/connection.rb#143 def first; end # Sets the attribute first # # @param value the value to set the attribute first to. # - # source://graphql/lib/graphql/pagination/connection.rb#135 + # source://graphql//lib/graphql/pagination/connection.rb#135 def first=(_arg0); end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def first_value; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def first_value=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/pagination/connection.rb#131 + # source://graphql//lib/graphql/pagination/connection.rb#131 def has_default_page_size_override?; end # @return [Boolean] # - # source://graphql/lib/graphql/pagination/connection.rb#114 + # source://graphql//lib/graphql/pagination/connection.rb#114 def has_max_page_size_override?; end # @raise [PaginationImplementationMissingError] # @return [Boolean] True if there are more items after this page # - # source://graphql/lib/graphql/pagination/connection.rb#196 + # source://graphql//lib/graphql/pagination/connection.rb#196 def has_next_page; end # @raise [PaginationImplementationMissingError] # @return [Boolean] True if there were items before these items # - # source://graphql/lib/graphql/pagination/connection.rb#201 + # source://graphql//lib/graphql/pagination/connection.rb#201 def has_previous_page; end # @return [Object] A list object, from the application. This is the unpaginated value passed into the connection. # - # source://graphql/lib/graphql/pagination/connection.rb#19 + # source://graphql//lib/graphql/pagination/connection.rb#19 def items; end # @return [Integer, nil] A clamped `last` value. (The underlying instance variable doesn't have limits on it) # - # source://graphql/lib/graphql/pagination/connection.rb#164 + # source://graphql//lib/graphql/pagination/connection.rb#164 def last; end # Sets the attribute last # # @param value the value to set the attribute last to. # - # source://graphql/lib/graphql/pagination/connection.rb#162 + # source://graphql//lib/graphql/pagination/connection.rb#162 def last=(_arg0); end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def last_value; end # Raw access to client-provided values. (`max_page_size` not applied to first or last.) # - # source://graphql/lib/graphql/pagination/connection.rb#36 + # source://graphql//lib/graphql/pagination/connection.rb#36 def last_value=(_arg0); end - # source://graphql/lib/graphql/pagination/connection.rb#106 + # source://graphql//lib/graphql/pagination/connection.rb#106 def max_page_size; end - # source://graphql/lib/graphql/pagination/connection.rb#101 + # source://graphql//lib/graphql/pagination/connection.rb#101 def max_page_size=(new_value); end # @raise [PaginationImplementationMissingError] # @return [Array] A slice of {items}, constrained by {@first_value}/{@after_value}/{@last_value}/{@before_value} # - # source://graphql/lib/graphql/pagination/connection.rb#180 + # source://graphql//lib/graphql/pagination/connection.rb#180 def nodes; end # The connection object itself implements `PageInfo` fields # - # source://graphql/lib/graphql/pagination/connection.rb#191 + # source://graphql//lib/graphql/pagination/connection.rb#191 def page_info; end # @return [Object] the object this collection belongs to # - # source://graphql/lib/graphql/pagination/connection.rb#33 + # source://graphql//lib/graphql/pagination/connection.rb#33 def parent; end # @return [Object] the object this collection belongs to # - # source://graphql/lib/graphql/pagination/connection.rb#33 + # source://graphql//lib/graphql/pagination/connection.rb#33 def parent=(_arg0); end # This is called by `Relay::RangeAdd` -- it can be overridden @@ -6483,66 +6484,66 @@ class GraphQL::Pagination::Connection # @param item [Object] An item newly added to `items` # @return [Edge] # - # source://graphql/lib/graphql/pagination/connection.rb#158 + # source://graphql//lib/graphql/pagination/connection.rb#158 def range_add_edge(item); end # @return [String] The cursor of the first item in {nodes} # - # source://graphql/lib/graphql/pagination/connection.rb#206 + # source://graphql//lib/graphql/pagination/connection.rb#206 def start_cursor; end # @return [Boolean] # - # source://graphql/lib/graphql/pagination/connection.rb#97 + # source://graphql//lib/graphql/pagination/connection.rb#97 def was_authorized_by_scope_items?; end private - # source://graphql/lib/graphql/pagination/connection.rb#248 + # source://graphql//lib/graphql/pagination/connection.rb#248 def decode(cursor); end - # source://graphql/lib/graphql/pagination/connection.rb#224 + # source://graphql//lib/graphql/pagination/connection.rb#224 def detect_was_authorized_by_scope_items; end - # source://graphql/lib/graphql/pagination/connection.rb#252 + # source://graphql//lib/graphql/pagination/connection.rb#252 def encode(cursor); end # @param argument [nil, Integer] `first` or `last`, as provided by the client # @param max_page_size [nil, Integer] # @return [nil, Integer] `nil` if the input was `nil`, otherwise a value between `0` and `max_page_size` # - # source://graphql/lib/graphql/pagination/connection.rb#237 + # source://graphql//lib/graphql/pagination/connection.rb#237 def limit_pagination_argument(argument, max_page_size); end end # A wrapper around paginated items. It includes a {cursor} for pagination # and could be extended with custom relationship-level data. # -# source://graphql/lib/graphql/pagination/connection.rb#258 +# source://graphql//lib/graphql/pagination/connection.rb#258 class GraphQL::Pagination::Connection::Edge # @return [Edge] a new instance of Edge # - # source://graphql/lib/graphql/pagination/connection.rb#261 + # source://graphql//lib/graphql/pagination/connection.rb#261 def initialize(node, connection); end - # source://graphql/lib/graphql/pagination/connection.rb#270 + # source://graphql//lib/graphql/pagination/connection.rb#270 def cursor; end # Returns the value of attribute node. # - # source://graphql/lib/graphql/pagination/connection.rb#259 + # source://graphql//lib/graphql/pagination/connection.rb#259 def node; end - # source://graphql/lib/graphql/pagination/connection.rb#266 + # source://graphql//lib/graphql/pagination/connection.rb#266 def parent; end # @return [Boolean] # - # source://graphql/lib/graphql/pagination/connection.rb#274 + # source://graphql//lib/graphql/pagination/connection.rb#274 def was_authorized_by_scope_items?; end end -# source://graphql/lib/graphql/pagination/connection.rb#15 +# source://graphql//lib/graphql/pagination/connection.rb#15 class GraphQL::Pagination::Connection::PaginationImplementationMissingError < ::GraphQL::Error; end # A schema-level connection wrapper manager. @@ -6559,128 +6560,128 @@ class GraphQL::Pagination::Connection::PaginationImplementationMissingError < :: # end # @see {Schema.connections} # -# source://graphql/lib/graphql/pagination/connections.rb#20 +# source://graphql//lib/graphql/pagination/connections.rb#20 class GraphQL::Pagination::Connections # @return [Connections] a new instance of Connections # - # source://graphql/lib/graphql/pagination/connections.rb#24 + # source://graphql//lib/graphql/pagination/connections.rb#24 def initialize(schema:); end - # source://graphql/lib/graphql/pagination/connections.rb#30 + # source://graphql//lib/graphql/pagination/connections.rb#30 def add(nodes_class, implementation); end - # source://graphql/lib/graphql/pagination/connections.rb#38 + # source://graphql//lib/graphql/pagination/connections.rb#38 def all_wrappers; end - # source://graphql/lib/graphql/pagination/connections.rb#34 + # source://graphql//lib/graphql/pagination/connections.rb#34 def delete(nodes_class); end # use an override if there is one # # @api private # - # source://graphql/lib/graphql/pagination/connections.rb#88 + # source://graphql//lib/graphql/pagination/connections.rb#88 def edge_class_for_field(field); end # Used by the runtime to wrap values in connection wrappers. # # @api Private # - # source://graphql/lib/graphql/pagination/connections.rb#61 + # source://graphql//lib/graphql/pagination/connections.rb#61 def wrap(field, parent, items, arguments, context); end - # source://graphql/lib/graphql/pagination/connections.rb#48 + # source://graphql//lib/graphql/pagination/connections.rb#48 def wrapper_for(items, wrappers: T.unsafe(nil)); end protected # Returns the value of attribute wrappers. # - # source://graphql/lib/graphql/pagination/connections.rb#99 + # source://graphql//lib/graphql/pagination/connections.rb#99 def wrappers; end private - # source://graphql/lib/graphql/pagination/connections.rb#103 + # source://graphql//lib/graphql/pagination/connections.rb#103 def add_default; end end -# source://graphql/lib/graphql/pagination/connections.rb#21 +# source://graphql//lib/graphql/pagination/connections.rb#21 class GraphQL::Pagination::Connections::ImplementationMissingError < ::GraphQL::Error; end -# source://graphql/lib/graphql/pagination/mongoid_relation_connection.rb#6 +# source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#6 class GraphQL::Pagination::MongoidRelationConnection < ::GraphQL::Pagination::RelationConnection - # source://graphql/lib/graphql/pagination/mongoid_relation_connection.rb#19 + # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#19 def null_relation(relation); end - # source://graphql/lib/graphql/pagination/mongoid_relation_connection.rb#15 + # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#15 def relation_count(relation); end - # source://graphql/lib/graphql/pagination/mongoid_relation_connection.rb#11 + # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#11 def relation_limit(relation); end - # source://graphql/lib/graphql/pagination/mongoid_relation_connection.rb#7 + # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#7 def relation_offset(relation); end end # A generic class for working with database query objects. # -# source://graphql/lib/graphql/pagination/relation_connection.rb#7 +# source://graphql//lib/graphql/pagination/relation_connection.rb#7 class GraphQL::Pagination::RelationConnection < ::GraphQL::Pagination::Connection - # source://graphql/lib/graphql/pagination/relation_connection.rb#47 + # source://graphql//lib/graphql/pagination/relation_connection.rb#47 def cursor_for(item); end - # source://graphql/lib/graphql/pagination/relation_connection.rb#30 + # source://graphql//lib/graphql/pagination/relation_connection.rb#30 def has_next_page; end - # source://graphql/lib/graphql/pagination/relation_connection.rb#13 + # source://graphql//lib/graphql/pagination/relation_connection.rb#13 def has_previous_page; end - # source://graphql/lib/graphql/pagination/relation_connection.rb#8 + # source://graphql//lib/graphql/pagination/relation_connection.rb#8 def nodes; end private # @return [Integer, nil] # - # source://graphql/lib/graphql/pagination/relation_connection.rb#174 + # source://graphql//lib/graphql/pagination/relation_connection.rb#174 def after_offset; end # @return [Integer, nil] # - # source://graphql/lib/graphql/pagination/relation_connection.rb#169 + # source://graphql//lib/graphql/pagination/relation_connection.rb#169 def before_offset; end - # source://graphql/lib/graphql/pagination/relation_connection.rb#115 + # source://graphql//lib/graphql/pagination/relation_connection.rb#115 def calculate_sliced_nodes_parameters; end # Apply `first` and `last` to `sliced_nodes`, # returning a new relation # - # source://graphql/lib/graphql/pagination/relation_connection.rb#180 + # source://graphql//lib/graphql/pagination/relation_connection.rb#180 def limited_nodes; end # Load nodes after applying first/last/before/after, # returns an array of nodes # - # source://graphql/lib/graphql/pagination/relation_connection.rb#222 + # source://graphql//lib/graphql/pagination/relation_connection.rb#222 def load_nodes; end # @param relation [Object] A database query object # @return [Object] A modified query object which will return no records # - # source://graphql/lib/graphql/pagination/relation_connection.rb#84 + # source://graphql//lib/graphql/pagination/relation_connection.rb#84 def null_relation(relation); end # @return [Integer] # - # source://graphql/lib/graphql/pagination/relation_connection.rb#89 + # source://graphql//lib/graphql/pagination/relation_connection.rb#89 def offset_from_cursor(cursor); end # @param relation [Object] A database query object # @return [Integer, nil] The number of items in this relation (hopefully determined without loading all records into memory!) # - # source://graphql/lib/graphql/pagination/relation_connection.rb#78 + # source://graphql//lib/graphql/pagination/relation_connection.rb#78 def relation_count(relation); end # @param relation [Object] A database query object @@ -6688,88 +6689,88 @@ class GraphQL::Pagination::RelationConnection < ::GraphQL::Pagination::Connectio # @param size [Integer] The value against which we check the relation size # @return [Boolean] True if the number of items in this relation is larger than `size` # - # source://graphql/lib/graphql/pagination/relation_connection.rb#60 + # source://graphql//lib/graphql/pagination/relation_connection.rb#60 def relation_larger_than(relation, _initial_offset, size); end # @param relation [Object] A database query object # @return [Integer, nil] The limit value, or nil if there isn't one # - # source://graphql/lib/graphql/pagination/relation_connection.rb#72 + # source://graphql//lib/graphql/pagination/relation_connection.rb#72 def relation_limit(relation); end # @param relation [Object] A database query object # @return [Integer, nil] The offset value, or nil if there isn't one # - # source://graphql/lib/graphql/pagination/relation_connection.rb#66 + # source://graphql//lib/graphql/pagination/relation_connection.rb#66 def relation_offset(relation); end # Abstract this operation so we can always ignore inputs less than zero. # (Sequel doesn't like it, understandably.) # - # source://graphql/lib/graphql/pagination/relation_connection.rb#105 + # source://graphql//lib/graphql/pagination/relation_connection.rb#105 def set_limit(relation, limit_value); end # Abstract this operation so we can always ignore inputs less than zero. # (Sequel doesn't like it, understandably.) # - # source://graphql/lib/graphql/pagination/relation_connection.rb#95 + # source://graphql//lib/graphql/pagination/relation_connection.rb#95 def set_offset(relation, offset_value); end # Apply `before` and `after` to the underlying `items`, # returning a new relation. # - # source://graphql/lib/graphql/pagination/relation_connection.rb#147 + # source://graphql//lib/graphql/pagination/relation_connection.rb#147 def sliced_nodes; end end # Customizes `RelationConnection` to work with `Sequel::Dataset`s. # -# source://graphql/lib/graphql/pagination/sequel_dataset_connection.rb#7 +# source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#7 class GraphQL::Pagination::SequelDatasetConnection < ::GraphQL::Pagination::RelationConnection private - # source://graphql/lib/graphql/pagination/sequel_dataset_connection.rb#23 + # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#23 def null_relation(relation); end - # source://graphql/lib/graphql/pagination/sequel_dataset_connection.rb#18 + # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#18 def relation_count(relation); end - # source://graphql/lib/graphql/pagination/sequel_dataset_connection.rb#14 + # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#14 def relation_limit(relation); end - # source://graphql/lib/graphql/pagination/sequel_dataset_connection.rb#10 + # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#10 def relation_offset(relation); end end -# source://graphql/lib/graphql/parse_error.rb#3 +# source://graphql//lib/graphql/parse_error.rb#3 class GraphQL::ParseError < ::GraphQL::Error # @return [ParseError] a new instance of ParseError # - # source://graphql/lib/graphql/parse_error.rb#5 + # source://graphql//lib/graphql/parse_error.rb#5 def initialize(message, line, col, query, filename: T.unsafe(nil)); end # Returns the value of attribute col. # - # source://graphql/lib/graphql/parse_error.rb#4 + # source://graphql//lib/graphql/parse_error.rb#4 def col; end # Returns the value of attribute line. # - # source://graphql/lib/graphql/parse_error.rb#4 + # source://graphql//lib/graphql/parse_error.rb#4 def line; end # Returns the value of attribute query. # - # source://graphql/lib/graphql/parse_error.rb#4 + # source://graphql//lib/graphql/parse_error.rb#4 def query; end - # source://graphql/lib/graphql/parse_error.rb#16 + # source://graphql//lib/graphql/parse_error.rb#16 def to_h; end end # A combination of query string and {Schema} instance which can be reduced to a {#result}. # -# source://graphql/lib/graphql/query.rb#5 +# source://graphql//lib/graphql/query.rb#5 class GraphQL::Query include ::GraphQL::Tracing::Traceable extend ::GraphQL::Autoload @@ -6788,28 +6789,28 @@ class GraphQL::Query # @param visibility_profile [Symbol] # @return [Query] a new instance of Query # - # source://graphql/lib/graphql/query.rb#101 + # source://graphql//lib/graphql/query.rb#101 def initialize(schema, query_string = T.unsafe(nil), query: T.unsafe(nil), document: T.unsafe(nil), context: T.unsafe(nil), variables: T.unsafe(nil), validate: T.unsafe(nil), static_validator: T.unsafe(nil), visibility_profile: T.unsafe(nil), subscription_topic: T.unsafe(nil), operation_name: T.unsafe(nil), root_value: T.unsafe(nil), max_depth: T.unsafe(nil), max_complexity: T.unsafe(nil), warden: T.unsafe(nil), use_visibility_profile: T.unsafe(nil)); end - # source://graphql/lib/graphql/query.rb#420 + # source://graphql//lib/graphql/query.rb#420 def after_lazy(value, &block); end # Returns the value of attribute analysis_errors. # - # source://graphql/lib/graphql/query.rb#349 + # source://graphql//lib/graphql/query.rb#349 def analysis_errors; end # Sets the attribute analysis_errors # # @param value the value to set the attribute analysis_errors to. # - # source://graphql/lib/graphql/query.rb#349 + # source://graphql//lib/graphql/query.rb#349 def analysis_errors=(_arg0); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def analyzers(*args, **_arg1, &block); end - # source://graphql/lib/graphql/query.rb#302 + # source://graphql//lib/graphql/query.rb#302 def arguments_cache; end # Node-level cache for calculating arguments. Used during execution and query analysis. @@ -6818,30 +6819,30 @@ class GraphQL::Query # @param definition [GraphQL::Schema::Field] # @param parent_object [GraphQL::Schema::Object] # - # source://graphql/lib/graphql/query.rb#298 + # source://graphql//lib/graphql/query.rb#298 def arguments_for(ast_node, definition, parent_object: T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def ast_analyzers(*args, **_arg1, &block); end # Returns the value of attribute context. # - # source://graphql/lib/graphql/query.rb#30 + # source://graphql//lib/graphql/query.rb#30 def context; end # @return [GraphQL::Tracing::Trace] # - # source://graphql/lib/graphql/query.rb#201 + # source://graphql//lib/graphql/query.rb#201 def current_trace; end # @return [GraphQL::Language::Nodes::Document] # - # source://graphql/lib/graphql/query.rb#67 + # source://graphql//lib/graphql/query.rb#67 def document; end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#260 + # source://graphql//lib/graphql/query.rb#260 def executed?; end # This contains a few components: @@ -6857,102 +6858,102 @@ class GraphQL::Query # @see operation_fingerprint # @see variables_fingerprint # - # source://graphql/lib/graphql/query.rb#328 + # source://graphql//lib/graphql/query.rb#328 def fingerprint; end - # source://graphql/lib/graphql/query.rb#243 + # source://graphql//lib/graphql/query.rb#243 def fragments; end - # source://graphql/lib/graphql/query.rb#362 + # source://graphql//lib/graphql/query.rb#362 def get_field(owner, field_name); end - # source://graphql/lib/graphql/query.rb#358 + # source://graphql//lib/graphql/query.rb#358 def get_type(type_name); end # @api private # - # source://graphql/lib/graphql/query.rb#416 + # source://graphql//lib/graphql/query.rb#416 def handle_or_reraise(err); end - # source://graphql/lib/graphql/query.rb#76 + # source://graphql//lib/graphql/query.rb#76 def inspect; end # Returns the value of attribute logger. # - # source://graphql/lib/graphql/query.rb#432 + # source://graphql//lib/graphql/query.rb#432 def logger; end # A lookahead for the root selections of this query # # @return [GraphQL::Execution::Lookahead] # - # source://graphql/lib/graphql/query.rb#211 + # source://graphql//lib/graphql/query.rb#211 def lookahead; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def max_complexity(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def max_depth(*args, **_arg1, &block); end # Returns the value of attribute multiplex. # - # source://graphql/lib/graphql/query.rb#198 + # source://graphql//lib/graphql/query.rb#198 def multiplex; end # Sets the attribute multiplex # # @param value the value to set the attribute multiplex to. # - # source://graphql/lib/graphql/query.rb#198 + # source://graphql//lib/graphql/query.rb#198 def multiplex=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#403 + # source://graphql//lib/graphql/query.rb#403 def mutation?; end # @return [String] An opaque hash for identifying this query's given query string and selected operation # - # source://graphql/lib/graphql/query.rb#333 + # source://graphql//lib/graphql/query.rb#333 def operation_fingerprint; end # @return [nil, String] The operation name provided by client or the one inferred from the document. Used to determine which operation to run. # - # source://graphql/lib/graphql/query.rb#36 + # source://graphql//lib/graphql/query.rb#36 def operation_name; end # @return [nil, String] The operation name provided by client or the one inferred from the document. Used to determine which operation to run. # - # source://graphql/lib/graphql/query.rb#36 + # source://graphql//lib/graphql/query.rb#36 def operation_name=(_arg0); end - # source://graphql/lib/graphql/query.rb#247 + # source://graphql//lib/graphql/query.rb#247 def operations; end - # source://graphql/lib/graphql/query.rb#366 + # source://graphql//lib/graphql/query.rb#366 def possible_types(type); end # Returns the value of attribute provided_variables. # - # source://graphql/lib/graphql/query.rb#30 + # source://graphql//lib/graphql/query.rb#30 def provided_variables; end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#407 + # source://graphql//lib/graphql/query.rb#407 def query?; end # If a document was provided to `GraphQL::Schema#execute` instead of the raw query string, we will need to get it from the document # - # source://graphql/lib/graphql/query.rb#191 + # source://graphql//lib/graphql/query.rb#191 def query_string; end # Sets the attribute query_string # # @param value the value to set the attribute query_string to. # - # source://graphql/lib/graphql/query.rb#64 + # source://graphql//lib/graphql/query.rb#64 def query_string=(_arg0); end # @param abstract_type [GraphQL::UnionType, GraphQL::InterfaceType] @@ -6960,37 +6961,37 @@ class GraphQL::Query # @return [GraphQL::ObjectType, nil] The runtime type of `value` from {Schema#resolve_type} # @see {#possible_types} to apply filtering from `only` / `except` # - # source://graphql/lib/graphql/query.rb#391 + # source://graphql//lib/graphql/query.rb#391 def resolve_type(abstract_type, value = T.unsafe(nil)); end # Get the result for this query, executing it once # # @return [GraphQL::Query::Result] A Hash-like GraphQL response, with `"data"` and/or `"errors"` keys # - # source://graphql/lib/graphql/query.rb#253 + # source://graphql//lib/graphql/query.rb#253 def result; end # @api private # - # source://graphql/lib/graphql/query.rb#241 + # source://graphql//lib/graphql/query.rb#241 def result_values; end # @api private # - # source://graphql/lib/graphql/query.rb#231 + # source://graphql//lib/graphql/query.rb#231 def result_values=(result_hash); end - # source://graphql/lib/graphql/query.rb#370 + # source://graphql//lib/graphql/query.rb#370 def root_type_for_operation(op_type); end # The value for root types # - # source://graphql/lib/graphql/query.rb#33 + # source://graphql//lib/graphql/query.rb#33 def root_value; end # The value for root types # - # source://graphql/lib/graphql/query.rb#33 + # source://graphql//lib/graphql/query.rb#33 def root_value=(_arg0); end # A version of the given query string, with: @@ -6999,12 +7000,12 @@ class GraphQL::Query # # @return [String, nil] Returns nil if the query is invalid. # - # source://graphql/lib/graphql/query.rb#310 + # source://graphql//lib/graphql/query.rb#310 def sanitized_query_string(inline_variables: T.unsafe(nil)); end # Returns the value of attribute schema. # - # source://graphql/lib/graphql/query.rb#30 + # source://graphql//lib/graphql/query.rb#30 def schema; end # This is the operation to run for this query. @@ -7012,72 +7013,72 @@ class GraphQL::Query # # @return [GraphQL::Language::Nodes::OperationDefinition, nil] # - # source://graphql/lib/graphql/query.rb#271 + # source://graphql//lib/graphql/query.rb#271 def selected_operation; end # @return [String, nil] The name of the operation to run (may be inferred) # - # source://graphql/lib/graphql/query.rb#81 + # source://graphql//lib/graphql/query.rb#81 def selected_operation_name; end - # source://graphql/lib/graphql/query.rb#264 + # source://graphql//lib/graphql/query.rb#264 def static_errors; end # @return [GraphQL::StaticValidation::Validator] if present, the query will validate with these rules. # - # source://graphql/lib/graphql/query.rb#51 + # source://graphql//lib/graphql/query.rb#51 def static_validator; end # @param new_validate [GraphQL::StaticValidation::Validator] if present, the query will validate with these rules. This can't be reasssigned after validation. # - # source://graphql/lib/graphql/query.rb#54 + # source://graphql//lib/graphql/query.rb#54 def static_validator=(new_validator); end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#411 + # source://graphql//lib/graphql/query.rb#411 def subscription?; end # @return [String, nil] the triggered event, if this query is a subscription update # - # source://graphql/lib/graphql/query.rb#87 + # source://graphql//lib/graphql/query.rb#87 def subscription_topic; end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#205 + # source://graphql//lib/graphql/query.rb#205 def subscription_update?; end # Returns the value of attribute tracers. # - # source://graphql/lib/graphql/query.rb#89 + # source://graphql//lib/graphql/query.rb#89 def tracers; end - # source://graphql/lib/graphql/query.rb#383 + # source://graphql//lib/graphql/query.rb#383 def types; end # @return [Boolean] # - # source://graphql/lib/graphql/query.rb#350 + # source://graphql//lib/graphql/query.rb#350 def valid?; end # @return [Boolean] if false, static validation is skipped (execution behavior for invalid queries is undefined) # - # source://graphql/lib/graphql/query.rb#39 + # source://graphql//lib/graphql/query.rb#39 def validate; end # @param new_validate [Boolean] if false, static validation is skipped. This can't be reasssigned after validation. # - # source://graphql/lib/graphql/query.rb#42 + # source://graphql//lib/graphql/query.rb#42 def validate=(new_validate); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def validate_timeout_remaining(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def validation_errors(*args, **_arg1, &block); end - # source://graphql/lib/graphql/query.rb#342 + # source://graphql//lib/graphql/query.rb#342 def validation_pipeline; end # Determine the values for variables of this query, using default values @@ -7087,41 +7088,41 @@ class GraphQL::Query # # @return [GraphQL::Query::Variables] Variables to apply to this query # - # source://graphql/lib/graphql/query.rb#281 + # source://graphql//lib/graphql/query.rb#281 def variables; end # @return [String] An opaque hash for identifying this query's given a variable values (not including defaults) # - # source://graphql/lib/graphql/query.rb#338 + # source://graphql//lib/graphql/query.rb#338 def variables_fingerprint; end # @return [Symbol, nil] # - # source://graphql/lib/graphql/query.rb#196 + # source://graphql//lib/graphql/query.rb#196 def visibility_profile; end - # source://graphql/lib/graphql/query.rb#354 + # source://graphql//lib/graphql/query.rb#354 def warden; end private - # source://graphql/lib/graphql/query.rb#436 + # source://graphql//lib/graphql/query.rb#436 def find_operation(operations, operation_name); end - # source://graphql/lib/graphql/query.rb#446 + # source://graphql//lib/graphql/query.rb#446 def prepare_ast; end # Since the query string is processed at the last possible moment, # any internal values which depend on it should be accessed within this wrapper. # - # source://graphql/lib/graphql/query.rb#510 + # source://graphql//lib/graphql/query.rb#510 def with_prepared_ast; end end # Expose some query-specific info to field resolve functions. # It delegates `[]` to the hash that's passed to `GraphQL::Query#initialize`. # -# source://graphql/lib/graphql/query/context.rb#7 +# source://graphql//lib/graphql/query/context.rb#7 class GraphQL::Query::Context extend ::Forwardable @@ -7131,17 +7132,17 @@ class GraphQL::Query::Context # @param values [Hash] A hash of arbitrary values which will be accessible at query-time # @return [Context] a new instance of Context # - # source://graphql/lib/graphql/query/context.rb#48 + # source://graphql//lib/graphql/query/context.rb#48 def initialize(query:, values:, schema: T.unsafe(nil)); end # Lookup `key` from the hash passed to {Schema#execute} as `context:` # - # source://graphql/lib/graphql/query/context.rb#97 + # source://graphql//lib/graphql/query/context.rb#97 def [](key); end # Reassign `key` to the hash passed to {Schema#execute} as `context:` # - # source://graphql/lib/graphql/query/context.rb#80 + # source://graphql//lib/graphql/query/context.rb#80 def []=(key, value); end # Add error at query-level. @@ -7149,53 +7150,53 @@ class GraphQL::Query::Context # @param error [GraphQL::ExecutionError] an execution error # @return [void] # - # source://graphql/lib/graphql/query/context.rb#125 + # source://graphql//lib/graphql/query/context.rb#125 def add_error(error); end # @example Print the GraphQL backtrace during field resolution # puts ctx.backtrace # @return [GraphQL::Backtrace] The backtrace for this point in query execution # - # source://graphql/lib/graphql/query/context.rb#137 + # source://graphql//lib/graphql/query/context.rb#137 def backtrace; end - # source://graphql/lib/graphql/query/context.rb#145 + # source://graphql//lib/graphql/query/context.rb#145 def current_path; end - # source://graphql/lib/graphql/query/context.rb#67 + # source://graphql//lib/graphql/query/context.rb#67 def dataloader; end - # source://graphql/lib/graphql/query/context.rb#159 + # source://graphql//lib/graphql/query/context.rb#159 def delete(key); end - # source://graphql/lib/graphql/query/context.rb#187 + # source://graphql//lib/graphql/query/context.rb#187 def dig(key, *other_keys); end # @return [Array] errors returned during execution # - # source://graphql/lib/graphql/query/context.rb#34 + # source://graphql//lib/graphql/query/context.rb#34 def errors; end - # source://graphql/lib/graphql/query/context.rb#141 + # source://graphql//lib/graphql/query/context.rb#141 def execution_errors; end - # source://graphql/lib/graphql/query/context.rb#169 + # source://graphql//lib/graphql/query/context.rb#169 def fetch(key, default = T.unsafe(nil)); end - # source://graphql/lib/graphql/query/context.rb#246 + # source://graphql//lib/graphql/query/context.rb#246 def inspect; end # @api private # - # source://graphql/lib/graphql/query/context.rb#72 + # source://graphql//lib/graphql/query/context.rb#72 def interpreter=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/query/context.rb#214 + # source://graphql//lib/graphql/query/context.rb#214 def key?(key); end - # source://graphql/lib/graphql/query/context.rb#242 + # source://graphql//lib/graphql/query/context.rb#242 def logger; end # Get an isolated hash for `ns`. Doesn't affect user-provided storage. @@ -7203,32 +7204,32 @@ class GraphQL::Query::Context # @param ns [Object] a usage-specific namespace identifier # @return [Hash] namespaced storage # - # source://graphql/lib/graphql/query/context.rb#229 + # source://graphql//lib/graphql/query/context.rb#229 def namespace(ns); end # @return [Boolean] true if this namespace was accessed before # - # source://graphql/lib/graphql/query/context.rb#238 + # source://graphql//lib/graphql/query/context.rb#238 def namespace?(ns); end # @return [Array] The current position in the result # - # source://graphql/lib/graphql/query/context.rb#43 + # source://graphql//lib/graphql/query/context.rb#43 def path; end # @return [GraphQL::Query] The query whose context this is # - # source://graphql/lib/graphql/query/context.rb#37 + # source://graphql//lib/graphql/query/context.rb#37 def query; end # @return [Hash] A hash that will be added verbatim to the result hash, as `"extensions" => { ... }` # - # source://graphql/lib/graphql/query/context.rb#63 + # source://graphql//lib/graphql/query/context.rb#63 def response_extensions; end # @return [GraphQL::Schema] # - # source://graphql/lib/graphql/query/context.rb#40 + # source://graphql//lib/graphql/query/context.rb#40 def schema; end # Use this when you need to do a scoped set _inside_ a lazy-loaded (or batch-loaded) @@ -7242,120 +7243,120 @@ class GraphQL::Query::Context # end # @return [Context::Scoped] # - # source://graphql/lib/graphql/query/context.rb#269 + # source://graphql//lib/graphql/query/context.rb#269 def scoped; end # @api private # - # source://graphql/lib/graphql/query/context.rb#78 + # source://graphql//lib/graphql/query/context.rb#78 def scoped_context; end - # source://graphql/lib/graphql/query/context.rb#250 + # source://graphql//lib/graphql/query/context.rb#250 def scoped_merge!(hash); end - # source://graphql/lib/graphql/query/context.rb#254 + # source://graphql//lib/graphql/query/context.rb#254 def scoped_set!(key, value); end # Return this value to tell the runtime # to exclude this field from the response altogether # - # source://graphql/lib/graphql/query/context.rb#118 + # source://graphql//lib/graphql/query/context.rb#118 def skip; end - # source://graphql/lib/graphql/query/context.rb#204 + # source://graphql//lib/graphql/query/context.rb#204 def to_h; end - # source://graphql/lib/graphql/query/context.rb#204 + # source://graphql//lib/graphql/query/context.rb#212 def to_hash; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/context.rb#84 def trace(*args, **_arg1, &block); end - # source://graphql/lib/graphql/query/context.rb#86 + # source://graphql//lib/graphql/query/context.rb#86 def types; end # Sets the attribute types # # @param value the value to set the attribute types to. # - # source://graphql/lib/graphql/query/context.rb#90 + # source://graphql//lib/graphql/query/context.rb#90 def types=(_arg0); end # @api private # - # source://graphql/lib/graphql/query/context.rb#75 + # source://graphql//lib/graphql/query/context.rb#75 def value=(_arg0); end # @return [GraphQL::Schema::Warden] # - # source://graphql/lib/graphql/query/context.rb#219 + # source://graphql//lib/graphql/query/context.rb#219 def warden; end # @api private # - # source://graphql/lib/graphql/query/context.rb#224 + # source://graphql//lib/graphql/query/context.rb#224 def warden=(_arg0); end end -# source://graphql/lib/graphql/query/context.rb#9 +# source://graphql//lib/graphql/query/context.rb#9 class GraphQL::Query::Context::ExecutionErrors # @return [ExecutionErrors] a new instance of ExecutionErrors # - # source://graphql/lib/graphql/query/context.rb#10 + # source://graphql//lib/graphql/query/context.rb#10 def initialize(ctx); end - # source://graphql/lib/graphql/query/context.rb#14 + # source://graphql//lib/graphql/query/context.rb#27 def >>(err_or_msg); end - # source://graphql/lib/graphql/query/context.rb#14 + # source://graphql//lib/graphql/query/context.rb#14 def add(err_or_msg); end - # source://graphql/lib/graphql/query/context.rb#14 + # source://graphql//lib/graphql/query/context.rb#28 def push(err_or_msg); end end -# source://graphql/lib/graphql/query/context.rb#92 +# source://graphql//lib/graphql/query/context.rb#92 GraphQL::Query::Context::RUNTIME_METADATA_KEYS = T.let(T.unsafe(nil), Set) -# source://graphql/lib/graphql/query/context.rb#273 +# source://graphql//lib/graphql/query/context.rb#273 class GraphQL::Query::Context::Scoped # @return [Scoped] a new instance of Scoped # - # source://graphql/lib/graphql/query/context.rb#274 + # source://graphql//lib/graphql/query/context.rb#274 def initialize(scoped_context, path); end - # source://graphql/lib/graphql/query/context.rb#279 + # source://graphql//lib/graphql/query/context.rb#279 def merge!(hash); end - # source://graphql/lib/graphql/query/context.rb#283 + # source://graphql//lib/graphql/query/context.rb#283 def set!(key, value); end end -# source://graphql/lib/graphql/query/context/scoped_context.rb#5 +# source://graphql//lib/graphql/query/context/scoped_context.rb#5 class GraphQL::Query::Context::ScopedContext # @return [ScopedContext] a new instance of ScopedContext # - # source://graphql/lib/graphql/query/context/scoped_context.rb#6 + # source://graphql//lib/graphql/query/context/scoped_context.rb#6 def initialize(query_context); end - # source://graphql/lib/graphql/query/context/scoped_context.rb#46 + # source://graphql//lib/graphql/query/context/scoped_context.rb#46 def [](key); end - # source://graphql/lib/graphql/query/context/scoped_context.rb#55 + # source://graphql//lib/graphql/query/context/scoped_context.rb#55 def current_path; end - # source://graphql/lib/graphql/query/context/scoped_context.rb#59 + # source://graphql//lib/graphql/query/context/scoped_context.rb#59 def dig(key, *other_keys); end # @return [Boolean] # - # source://graphql/lib/graphql/query/context/scoped_context.rb#35 + # source://graphql//lib/graphql/query/context/scoped_context.rb#35 def key?(key); end - # source://graphql/lib/graphql/query/context/scoped_context.rb#24 + # source://graphql//lib/graphql/query/context/scoped_context.rb#24 def merge!(hash, at: T.unsafe(nil)); end - # source://graphql/lib/graphql/query/context/scoped_context.rb#12 + # source://graphql//lib/graphql/query/context/scoped_context.rb#12 def merged_context; end private @@ -7363,11 +7364,11 @@ class GraphQL::Query::Context::ScopedContext # Start at the current location, # but look up the tree for previously-assigned scoped values # - # source://graphql/lib/graphql/query/context/scoped_context.rb#77 + # source://graphql//lib/graphql/query/context/scoped_context.rb#77 def each_present_path_ctx; end end -# source://graphql/lib/graphql/query/context.rb#167 +# source://graphql//lib/graphql/query/context.rb#167 GraphQL::Query::Context::UNSPECIFIED_FETCH_DEFAULT = T.let(T.unsafe(nil), Object) # @api private @@ -7375,7 +7376,7 @@ GraphQL::Query::Context::UNSPECIFIED_FETCH_DEFAULT = T.let(T.unsafe(nil), Object # @see Query#variables_fingerprint # @see Query#fingerprint # -# source://graphql/lib/graphql/query/fingerprint.rb#11 +# source://graphql//lib/graphql/query/fingerprint.rb#11 module GraphQL::Query::Fingerprint class << self # Make an obfuscated hash of the given string (either a query string or variables JSON) @@ -7384,121 +7385,124 @@ module GraphQL::Query::Fingerprint # @param string [String] # @return [String] A normalized, opaque hash # - # source://graphql/lib/graphql/query/fingerprint.rb#15 + # source://graphql//lib/graphql/query/fingerprint.rb#15 def generate(input_str); end end end -# source://graphql/lib/graphql/query/input_validation_result.rb#4 +# source://graphql//lib/graphql/query/input_validation_result.rb#4 class GraphQL::Query::InputValidationResult # @return [InputValidationResult] a new instance of InputValidationResult # - # source://graphql/lib/graphql/query/input_validation_result.rb#13 + # source://graphql//lib/graphql/query/input_validation_result.rb#13 def initialize(valid: T.unsafe(nil), problems: T.unsafe(nil)); end - # source://graphql/lib/graphql/query/input_validation_result.rb#22 + # source://graphql//lib/graphql/query/input_validation_result.rb#22 def add_problem(explanation, path = T.unsafe(nil), extensions: T.unsafe(nil), message: T.unsafe(nil)); end - # source://graphql/lib/graphql/query/input_validation_result.rb#35 + # source://graphql//lib/graphql/query/input_validation_result.rb#35 def merge_result!(path, inner_result); end # Returns the value of attribute problems. # - # source://graphql/lib/graphql/query/input_validation_result.rb#5 + # source://graphql//lib/graphql/query/input_validation_result.rb#5 def problems; end # Sets the attribute problems # # @param value the value to set the attribute problems to. # - # source://graphql/lib/graphql/query/input_validation_result.rb#5 + # source://graphql//lib/graphql/query/input_validation_result.rb#5 def problems=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/query/input_validation_result.rb#18 + # source://graphql//lib/graphql/query/input_validation_result.rb#18 def valid?; end class << self - # source://graphql/lib/graphql/query/input_validation_result.rb#7 + # source://graphql//lib/graphql/query/input_validation_result.rb#7 def from_problem(explanation, path = T.unsafe(nil), extensions: T.unsafe(nil), message: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/query/input_validation_result.rb#48 +# source://graphql//lib/graphql/query/input_validation_result.rb#48 GraphQL::Query::InputValidationResult::VALID = T.let(T.unsafe(nil), GraphQL::Query::InputValidationResult) # This object can be `ctx` in places where there is no query # -# source://graphql/lib/graphql/query/null_context.rb#6 +# source://graphql//lib/graphql/query/null_context.rb#6 class GraphQL::Query::NullContext < ::GraphQL::Query::Context include ::Singleton extend ::Singleton::SingletonClassMethods # @return [NullContext] a new instance of NullContext # - # source://graphql/lib/graphql/query/null_context.rb#23 + # source://graphql//lib/graphql/query/null_context.rb#23 def initialize; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def [](*args, **_arg1, &block); end # Returns the value of attribute dataloader. # - # source://graphql/lib/graphql/query/null_context.rb#20 + # source://graphql//lib/graphql/query/null_context.rb#20 def dataloader; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def dig(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def fetch(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def key?(*args, **_arg1, &block); end # Returns the value of attribute query. # - # source://graphql/lib/graphql/query/null_context.rb#20 + # source://graphql//lib/graphql/query/null_context.rb#20 def query; end # Returns the value of attribute schema. # - # source://graphql/lib/graphql/query/null_context.rb#20 + # source://graphql//lib/graphql/query/null_context.rb#20 def schema; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def to_h(*args, **_arg1, &block); end # Returns the value of attribute warden. # - # source://graphql/lib/graphql/query/null_context.rb#20 + # source://graphql//lib/graphql/query/null_context.rb#20 def warden; end class << self private + # source://graphql//lib/graphql/query/null_context.rb#7 def allocate; end + + # source://graphql//lib/graphql/query/null_context.rb#7 def new(*_arg0); end end end -# source://graphql/lib/graphql/query/null_context.rb#9 +# source://graphql//lib/graphql/query/null_context.rb#9 class GraphQL::Query::NullContext::NullQuery # @yield [value] # - # source://graphql/lib/graphql/query/null_context.rb#10 + # source://graphql//lib/graphql/query/null_context.rb#10 def after_lazy(value); end end -# source://graphql/lib/graphql/query/null_context.rb#15 +# source://graphql//lib/graphql/query/null_context.rb#15 class GraphQL::Query::NullContext::NullSchema < ::GraphQL::Schema; end -# source://graphql/lib/graphql/query.rb#19 +# source://graphql//lib/graphql/query.rb#19 class GraphQL::Query::OperationNameMissingError < ::GraphQL::ExecutionError # @return [OperationNameMissingError] a new instance of OperationNameMissingError # - # source://graphql/lib/graphql/query.rb#20 + # source://graphql//lib/graphql/query.rb#20 def initialize(name); end end @@ -7506,13 +7510,13 @@ end # It provides the requested data and # access to the {Query} and {Query::Context}. # -# source://graphql/lib/graphql/query/result.rb#8 +# source://graphql//lib/graphql/query/result.rb#8 class GraphQL::Query::Result extend ::Forwardable # @return [Result] a new instance of Result # - # source://graphql/lib/graphql/query/result.rb#11 + # source://graphql//lib/graphql/query/result.rb#11 def initialize(query:, values:); end # A result is equal to another object when: @@ -7524,59 +7528,59 @@ class GraphQL::Query::Result # # @return [Boolean] # - # source://graphql/lib/graphql/query/result.rb#51 + # source://graphql//lib/graphql/query/result.rb#51 def ==(other); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def as_json(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def context(*args, **_arg1, &block); end - # source://graphql/lib/graphql/query/result.rb#39 + # source://graphql//lib/graphql/query/result.rb#39 def inspect; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def keys(*args, **_arg1, &block); end # Delegate any hash-like method to the underlying hash. # - # source://graphql/lib/graphql/query/result.rb#27 + # source://graphql//lib/graphql/query/result.rb#27 def method_missing(method_name, *args, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def mutation?(*args, **_arg1, &block); end # @return [GraphQL::Query] The query that was executed # - # source://graphql/lib/graphql/query/result.rb#17 + # source://graphql//lib/graphql/query/result.rb#17 def query; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def query?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def subscription?(*args, **_arg1, &block); end # @return [Hash] The resulting hash of "data" and/or "errors" # - # source://graphql/lib/graphql/query/result.rb#20 + # source://graphql//lib/graphql/query/result.rb#20 def to_h; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def to_json(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def values(*args, **_arg1, &block); end private # @return [Boolean] # - # source://graphql/lib/graphql/query/result.rb#35 + # source://graphql//lib/graphql/query/result.rb#35 def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end end @@ -7593,50 +7597,50 @@ end # # @api private # -# source://graphql/lib/graphql/query/validation_pipeline.rb#16 +# source://graphql//lib/graphql/query/validation_pipeline.rb#16 class GraphQL::Query::ValidationPipeline # @api private # @return [ValidationPipeline] a new instance of ValidationPipeline # - # source://graphql/lib/graphql/query/validation_pipeline.rb#19 + # source://graphql//lib/graphql/query/validation_pipeline.rb#19 def initialize(query:, parse_error:, operation_name_error:, max_depth:, max_complexity:); end # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#43 + # source://graphql//lib/graphql/query/validation_pipeline.rb#43 def analyzers; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/query/validation_pipeline.rb#48 + # source://graphql//lib/graphql/query/validation_pipeline.rb#48 def has_validated?; end # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#17 + # source://graphql//lib/graphql/query/validation_pipeline.rb#17 def max_complexity; end # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#17 + # source://graphql//lib/graphql/query/validation_pipeline.rb#17 def max_depth; end # @api private # @return [Boolean] does this query have errors that should prevent it from running? # - # source://graphql/lib/graphql/query/validation_pipeline.rb#32 + # source://graphql//lib/graphql/query/validation_pipeline.rb#32 def valid?; end # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#17 + # source://graphql//lib/graphql/query/validation_pipeline.rb#17 def validate_timeout_remaining; end # @api private # @return [Array] Static validation errors for the query string # - # source://graphql/lib/graphql/query/validation_pipeline.rb#38 + # source://graphql//lib/graphql/query/validation_pipeline.rb#38 def validation_errors; end private @@ -7646,7 +7650,7 @@ class GraphQL::Query::ValidationPipeline # # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#96 + # source://graphql//lib/graphql/query/validation_pipeline.rb#96 def build_analyzers(schema, max_depth, max_complexity); end # If the pipeline wasn't run yet, run it. @@ -7654,92 +7658,92 @@ class GraphQL::Query::ValidationPipeline # # @api private # - # source://graphql/lib/graphql/query/validation_pipeline.rb#56 + # source://graphql//lib/graphql/query/validation_pipeline.rb#56 def ensure_has_validated; end end -# source://graphql/lib/graphql/query/variable_validation_error.rb#4 +# source://graphql//lib/graphql/query/variable_validation_error.rb#4 class GraphQL::Query::VariableValidationError < ::GraphQL::ExecutionError # @return [VariableValidationError] a new instance of VariableValidationError # - # source://graphql/lib/graphql/query/variable_validation_error.rb#7 + # source://graphql//lib/graphql/query/variable_validation_error.rb#7 def initialize(variable_ast, type, value, validation_result, msg: T.unsafe(nil)); end - # source://graphql/lib/graphql/query/variable_validation_error.rb#21 + # source://graphql//lib/graphql/query/variable_validation_error.rb#21 def to_h; end # Returns the value of attribute validation_result. # - # source://graphql/lib/graphql/query/variable_validation_error.rb#5 + # source://graphql//lib/graphql/query/variable_validation_error.rb#5 def validation_result; end # Sets the attribute validation_result # # @param value the value to set the attribute validation_result to. # - # source://graphql/lib/graphql/query/variable_validation_error.rb#5 + # source://graphql//lib/graphql/query/variable_validation_error.rb#5 def validation_result=(_arg0); end # Returns the value of attribute value. # - # source://graphql/lib/graphql/query/variable_validation_error.rb#5 + # source://graphql//lib/graphql/query/variable_validation_error.rb#5 def value; end # Sets the attribute value # # @param value the value to set the attribute value to. # - # source://graphql/lib/graphql/query/variable_validation_error.rb#5 + # source://graphql//lib/graphql/query/variable_validation_error.rb#5 def value=(_arg0); end private - # source://graphql/lib/graphql/query/variable_validation_error.rb#36 + # source://graphql//lib/graphql/query/variable_validation_error.rb#36 def problem_fields; end end # Read-only access to query variables, applying default values if needed. # -# source://graphql/lib/graphql/query/variables.rb#5 +# source://graphql//lib/graphql/query/variables.rb#5 class GraphQL::Query::Variables extend ::Forwardable # @return [Variables] a new instance of Variables # - # source://graphql/lib/graphql/query/variables.rb#13 + # source://graphql//lib/graphql/query/variables.rb#13 def initialize(ctx, ast_variables, provided_variables); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def [](*args, **_arg1, &block); end # Returns the value of attribute context. # - # source://graphql/lib/graphql/query/variables.rb#11 + # source://graphql//lib/graphql/query/variables.rb#11 def context; end # @return [Array] Any errors encountered when parsing the provided variables and literal values # - # source://graphql/lib/graphql/query/variables.rb#9 + # source://graphql//lib/graphql/query/variables.rb#9 def errors; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def fetch(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def length(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def to_h(*args, **_arg1, &block); end private - # source://graphql/lib/graphql/query/variables.rb#85 + # source://graphql//lib/graphql/query/variables.rb#85 def add_max_errors_reached_message; end - # source://graphql/lib/graphql/query/variables.rb#70 + # source://graphql//lib/graphql/query/variables.rb#70 def deep_stringify(val); end end @@ -7749,10 +7753,10 @@ end # # config.graphql.parser_cache = true # -# source://graphql/lib/graphql/railtie.rb#10 +# source://graphql//lib/graphql/railtie.rb#10 class GraphQL::Railtie < ::Rails::Railtie; end -# source://graphql/lib/graphql/relay/range_add.rb#3 +# source://graphql//lib/graphql/relay/range_add.rb#3 module GraphQL::Relay; end # This provides some isolation from `GraphQL::Relay` internals. @@ -7781,7 +7785,7 @@ module GraphQL::Relay; end # new_comment_edge: range_add.edge, # } # -# source://graphql/lib/graphql/relay/range_add.rb#29 +# source://graphql//lib/graphql/relay/range_add.rb#29 class GraphQL::Relay::RangeAdd # @param collection [Object] The list of items to wrap in a connection # @param item [Object] The newly-added item (will be wrapped in `edge_class`) @@ -7790,29 +7794,29 @@ class GraphQL::Relay::RangeAdd # @param edge_class [Class] The class to wrap `item` with (defaults to the connection's edge class) # @return [RangeAdd] a new instance of RangeAdd # - # source://graphql/lib/graphql/relay/range_add.rb#37 + # source://graphql//lib/graphql/relay/range_add.rb#37 def initialize(collection:, item:, context:, parent: T.unsafe(nil), edge_class: T.unsafe(nil)); end # Returns the value of attribute connection. # - # source://graphql/lib/graphql/relay/range_add.rb#30 + # source://graphql//lib/graphql/relay/range_add.rb#30 def connection; end # Returns the value of attribute edge. # - # source://graphql/lib/graphql/relay/range_add.rb#30 + # source://graphql//lib/graphql/relay/range_add.rb#30 def edge; end # Returns the value of attribute parent. # - # source://graphql/lib/graphql/relay/range_add.rb#30 + # source://graphql//lib/graphql/relay/range_add.rb#30 def parent; end end -# source://graphql/lib/graphql.rb#35 +# source://graphql//lib/graphql.rb#35 class GraphQL::RequiredImplementationMissingError < ::GraphQL::Error; end -# source://graphql/lib/graphql/runtime_type_error.rb#3 +# source://graphql//lib/graphql/runtime_type_error.rb#3 class GraphQL::RuntimeTypeError < ::GraphQL::Error; end # A GraphQL schema which may be queried with {GraphQL::Query}. @@ -7837,7 +7841,7 @@ class GraphQL::RuntimeTypeError < ::GraphQL::Error; end # orphan_types ImageType, AudioType # end # -# source://graphql/lib/graphql/schema/addition.rb#4 +# source://graphql//lib/graphql/schema/addition.rb#4 class GraphQL::Schema extend ::GraphQL::Schema::Member::HasAstNode extend ::GraphQL::Schema::FindInheritedValue @@ -7847,7 +7851,7 @@ class GraphQL::Schema class << self # @api private # - # source://graphql/lib/graphql/schema.rb#1556 + # source://graphql//lib/graphql/schema.rb#1556 def add_subscription_extension_if_necessary; end # Return a lazy if any of `maybe_lazies` are lazy, @@ -7856,7 +7860,7 @@ class GraphQL::Schema # @api private # @param maybe_lazies [Array] # - # source://graphql/lib/graphql/schema.rb#1621 + # source://graphql//lib/graphql/schema.rb#1621 def after_any_lazies(maybe_lazies); end # Call the given block at the right time, either: @@ -7865,17 +7869,17 @@ class GraphQL::Schema # # @api private # - # source://graphql/lib/graphql/schema.rb#1581 + # source://graphql//lib/graphql/schema.rb#1581 def after_lazy(value, &block); end - # source://graphql/lib/graphql/schema.rb#902 + # source://graphql//lib/graphql/schema.rb#902 def analysis_engine; end # Sets the attribute analysis_engine # # @param value the value to set the attribute analysis_engine to. # - # source://graphql/lib/graphql/schema.rb#900 + # source://graphql//lib/graphql/schema.rb#900 def analysis_engine=(_arg0); end # Return the Hash response of {Introspection::INTROSPECTION_QUERY}. @@ -7890,83 +7894,83 @@ class GraphQL::Schema # @param include_is_one_of [Boolean] If true, `isOneOf: true|false` will be included with input objects # @return [Hash] GraphQL result # - # source://graphql/lib/graphql/schema.rb#275 + # source://graphql//lib/graphql/schema.rb#275 def as_json(context: T.unsafe(nil), include_deprecated_args: T.unsafe(nil), include_schema_description: T.unsafe(nil), include_is_repeatable: T.unsafe(nil), include_specified_by_url: T.unsafe(nil), include_is_one_of: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#211 + # source://graphql//lib/graphql/schema.rb#211 def build_trace_mode(mode); end # @return [GraphQL::Pagination::Connections] if installed # - # source://graphql/lib/graphql/schema.rb#422 + # source://graphql//lib/graphql/schema.rb#422 def connections; end # @api private # - # source://graphql/lib/graphql/schema.rb#419 + # source://graphql//lib/graphql/schema.rb#419 def connections=(_arg0); end # @param new_context_class [Class] A subclass to use when executing queries # - # source://graphql/lib/graphql/schema.rb#1077 + # source://graphql//lib/graphql/schema.rb#1077 def context_class(new_context_class = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#930 + # source://graphql//lib/graphql/schema.rb#930 def count_introspection_fields; end - # source://graphql/lib/graphql/schema.rb#761 + # source://graphql//lib/graphql/schema.rb#761 def cursor_encoder(new_encoder = T.unsafe(nil)); end # @api private # @see GraphQL::Dataloader # - # source://graphql/lib/graphql/schema.rb#678 + # source://graphql//lib/graphql/schema.rb#678 def dataloader_class; end # Sets the attribute dataloader_class # # @param value the value to set the attribute dataloader_class to. # - # source://graphql/lib/graphql/schema.rb#682 + # source://graphql//lib/graphql/schema.rb#682 def dataloader_class=(_arg0); end - # source://graphql/lib/graphql/schema.rb#1046 + # source://graphql//lib/graphql/schema.rb#1046 def default_analysis_engine; end - # source://graphql/lib/graphql/schema.rb#1361 + # source://graphql//lib/graphql/schema.rb#1361 def default_directives; end - # source://graphql/lib/graphql/schema.rb#1038 + # source://graphql//lib/graphql/schema.rb#1038 def default_execution_strategy; end # @param new_default_logger [#log] Something to use for logging messages # - # source://graphql/lib/graphql/schema.rb#1056 + # source://graphql//lib/graphql/schema.rb#1056 def default_logger(new_default_logger = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#768 + # source://graphql//lib/graphql/schema.rb#768 def default_max_page_size(new_default_max_page_size = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#787 + # source://graphql//lib/graphql/schema.rb#787 def default_page_size(new_default_page_size = T.unsafe(nil)); end # @param new_mode [Symbol] If configured, this will be used when `context: { trace_mode: ... }` isn't set. # - # source://graphql/lib/graphql/schema.rb#150 + # source://graphql//lib/graphql/schema.rb#150 def default_trace_mode(new_mode = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#136 + # source://graphql//lib/graphql/schema.rb#136 def deprecated_graphql_definition; end # @return [String, nil] # - # source://graphql/lib/graphql/schema.rb#301 + # source://graphql//lib/graphql/schema.rb#301 def description(new_description = T.unsafe(nil)); end # Returns `DidYouMean` if it's defined. # Override this to return `nil` if you don't want to use `DidYouMean` # - # source://graphql/lib/graphql/schema.rb#1633 + # source://graphql//lib/graphql/schema.rb#1633 def did_you_mean(new_dym = T.unsafe(nil)); end # Attach a single directive to this schema @@ -7974,51 +7978,51 @@ class GraphQL::Schema # @param new_directive [Class] # @return void # - # source://graphql/lib/graphql/schema.rb#1353 + # source://graphql//lib/graphql/schema.rb#1353 def directive(new_directive); end # Add several directives at once # # @param new_directives [Class] # - # source://graphql/lib/graphql/schema.rb#1337 + # source://graphql//lib/graphql/schema.rb#1337 def directives(*new_directives); end - # source://graphql/lib/graphql/schema.rb#938 + # source://graphql//lib/graphql/schema.rb#938 def disable_introspection_entry_points; end # @return [Boolean] # - # source://graphql/lib/graphql/schema.rb#956 + # source://graphql//lib/graphql/schema.rb#956 def disable_introspection_entry_points?; end - # source://graphql/lib/graphql/schema.rb#944 + # source://graphql//lib/graphql/schema.rb#944 def disable_schema_introspection_entry_point; end # @return [Boolean] # - # source://graphql/lib/graphql/schema.rb#964 + # source://graphql//lib/graphql/schema.rb#964 def disable_schema_introspection_entry_point?; end - # source://graphql/lib/graphql/schema.rb#950 + # source://graphql//lib/graphql/schema.rb#950 def disable_type_introspection_entry_point; end # @return [Boolean] # - # source://graphql/lib/graphql/schema.rb#972 + # source://graphql//lib/graphql/schema.rb#972 def disable_type_introspection_entry_point?; end - # source://graphql/lib/graphql/schema.rb#906 + # source://graphql//lib/graphql/schema.rb#906 def error_bubbling(new_error_bubbling = T.unsafe(nil)); end # Sets the attribute error_bubbling # # @param value the value to set the attribute error_bubbling to. # - # source://graphql/lib/graphql/schema.rb#915 + # source://graphql//lib/graphql/schema.rb#915 def error_bubbling=(_arg0); end - # source://graphql/lib/graphql/schema.rb#1113 + # source://graphql//lib/graphql/schema.rb#1113 def error_handlers; end # Execute a query on itself. @@ -8026,16 +8030,16 @@ class GraphQL::Schema # @return [GraphQL::Query::Result] query result, ready to be serialized as JSON # @see {Query#initialize} for arguments. # - # source://graphql/lib/graphql/schema.rb#1504 + # source://graphql//lib/graphql/schema.rb#1504 def execute(query_str = T.unsafe(nil), **kwargs); end # @param new_extra_types [Module] Type definitions to include in printing and introspection, even though they aren't referenced in the schema # @return [Array] Type definitions added to this schema # - # source://graphql/lib/graphql/schema.rb#982 + # source://graphql//lib/graphql/schema.rb#982 def extra_types(*new_extra_types); end - # source://graphql/lib/graphql/schema.rb#311 + # source://graphql//lib/graphql/schema.rb#311 def find(path); end # Create schema from an IDL schema or file containing an IDL definition. @@ -8046,7 +8050,7 @@ class GraphQL::Schema # @param using [Hash] Plugins to attach to the created schema with `use(key, value)` # @return [Class] the schema described by `document` # - # source://graphql/lib/graphql/schema.rb#115 + # source://graphql//lib/graphql/schema.rb#115 def from_definition(definition_or_path, default_resolve: T.unsafe(nil), parser: T.unsafe(nil), using: T.unsafe(nil)); end # Create schema with the result of an introspection query. @@ -8054,13 +8058,13 @@ class GraphQL::Schema # @param introspection_result [Hash] A response from {GraphQL::Introspection::INTROSPECTION_QUERY} # @return [Class] the schema described by `input` # - # source://graphql/lib/graphql/schema.rb#105 + # source://graphql//lib/graphql/schema.rb#105 def from_introspection(introspection_result); end - # source://graphql/lib/graphql/schema.rb#709 + # source://graphql//lib/graphql/schema.rb#709 def get_field(type_or_name, field_name, context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#732 + # source://graphql//lib/graphql/schema.rb#732 def get_fields(type, context = T.unsafe(nil)); end # @param type_name [String] @@ -8068,17 +8072,17 @@ class GraphQL::Schema # @param use_visibility_profile Private, for migration to {Schema::Visibility} # @return [Module, nil] A type, or nil if there's no type called `type_name` # - # source://graphql/lib/graphql/schema.rb#375 + # source://graphql//lib/graphql/schema.rb#375 def get_type(type_name, context = T.unsafe(nil), use_visibility_profile = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema.rb#1122 + # source://graphql//lib/graphql/schema.rb#1122 def handle_or_reraise(context, err); end # @return [Boolean] Does this schema have _any_ definition for a type named `type_name`, regardless of visibility? # - # source://graphql/lib/graphql/schema.rb#414 + # source://graphql//lib/graphql/schema.rb#414 def has_defined_type?(type_name); end # Return a stable ID string for `object` so that it can be refetched later, using {.object_from_id}. @@ -8095,16 +8099,16 @@ class GraphQL::Schema # @raise [GraphQL::RequiredImplementationMissingError] # @return [String] A stable identifier which can be passed to {.object_from_id} later to re-fetch `application_object` # - # source://graphql/lib/graphql/schema.rb#1234 + # source://graphql//lib/graphql/schema.rb#1234 def id_from_object(application_object, graphql_type, context); end - # source://graphql/lib/graphql/schema.rb#1186 + # source://graphql//lib/graphql/schema.rb#1186 def inherited(child_class); end - # source://graphql/lib/graphql/schema.rb#1325 + # source://graphql//lib/graphql/schema.rb#1325 def instrument(instrument_step, instrumenter, options = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#1548 + # source://graphql//lib/graphql/schema.rb#1548 def instrumenters; end # Pass a custom introspection module here to use it for this schema. @@ -8112,53 +8116,53 @@ class GraphQL::Schema # @param new_introspection_namespace [Module] If given, use this module for custom introspection on the schema # @return [Module, nil] The configured namespace, if there is one # - # source://graphql/lib/graphql/schema.rb#739 + # source://graphql//lib/graphql/schema.rb#739 def introspection(new_introspection_namespace = T.unsafe(nil)); end # @return [Schema::IntrospectionSystem] Based on {introspection} # - # source://graphql/lib/graphql/schema.rb#752 + # source://graphql//lib/graphql/schema.rb#752 def introspection_system; end # @return [Boolean] True if this object should be lazily resolved # - # source://graphql/lib/graphql/schema.rb#1613 + # source://graphql//lib/graphql/schema.rb#1613 def lazy?(obj); end # @return [Symbol, nil] The method name to lazily resolve `obj`, or nil if `obj`'s class wasn't registered with {#lazy_resolve}. # - # source://graphql/lib/graphql/schema.rb#1608 + # source://graphql//lib/graphql/schema.rb#1608 def lazy_method_name(obj); end - # source://graphql/lib/graphql/schema.rb#1321 + # source://graphql//lib/graphql/schema.rb#1321 def lazy_resolve(lazy_class, value_method); end # Called when a type is needed by name at runtime # - # source://graphql/lib/graphql/schema.rb#1252 + # source://graphql//lib/graphql/schema.rb#1252 def load_type(type_name, ctx); end - # source://graphql/lib/graphql/schema.rb#881 + # source://graphql//lib/graphql/schema.rb#881 def max_complexity(max_complexity = T.unsafe(nil), count_introspection_fields: T.unsafe(nil)); end # Sets the attribute max_complexity # # @param value the value to set the attribute max_complexity to. # - # source://graphql/lib/graphql/schema.rb#879 + # source://graphql//lib/graphql/schema.rb#879 def max_complexity=(_arg0); end - # source://graphql/lib/graphql/schema.rb#892 + # source://graphql//lib/graphql/schema.rb#892 def max_complexity_count_introspection_fields; end - # source://graphql/lib/graphql/schema.rb#919 + # source://graphql//lib/graphql/schema.rb#919 def max_depth(new_max_depth = T.unsafe(nil), count_introspection_fields: T.unsafe(nil)); end # Sets the attribute max_depth # # @param value the value to set the attribute max_depth to. # - # source://graphql/lib/graphql/schema.rb#917 + # source://graphql//lib/graphql/schema.rb#917 def max_depth=(_arg0); end # A limit on the number of tokens to accept on incoming query strings. @@ -8166,7 +8170,7 @@ class GraphQL::Schema # # @return [nil, Integer] # - # source://graphql/lib/graphql/schema.rb#779 + # source://graphql//lib/graphql/schema.rb#779 def max_query_string_tokens(new_max_tokens = T.unsafe(nil)); end # Execute several queries on itself, concurrently. @@ -8188,16 +8192,16 @@ class GraphQL::Schema # @see {Query#initialize} for query keyword arguments # @see {Execution::Multiplex#run_all} for multiplex keyword arguments # - # source://graphql/lib/graphql/schema.rb#1544 + # source://graphql//lib/graphql/schema.rb#1544 def multiplex(queries, **kwargs); end # @param new_analyzer [Class] An analyzer to run on multiplexes to this schema # @see GraphQL::Analysis the analysis system # - # source://graphql/lib/graphql/schema.rb#1485 + # source://graphql//lib/graphql/schema.rb#1485 def multiplex_analyzer(new_analyzer); end - # source://graphql/lib/graphql/schema.rb#1489 + # source://graphql//lib/graphql/schema.rb#1489 def multiplex_analyzers; end # Get or set the root `mutation { ... }` object for this schema. @@ -8208,10 +8212,10 @@ class GraphQL::Schema # @param lazy_load_block If a block is given, then it will be called when GraphQL-Ruby needs the root mutation type. # @return [Class, nil] The configured mutation root type, if there is one. # - # source://graphql/lib/graphql/schema.rb#484 + # source://graphql//lib/graphql/schema.rb#484 def mutation(new_mutation_object = T.unsafe(nil), &lazy_load_block); end - # source://graphql/lib/graphql/schema.rb#807 + # source://graphql//lib/graphql/schema.rb#807 def mutation_execution_strategy(new_mutation_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end # Create a trace instance which will include the trace modules specified for the optional mode. @@ -8222,7 +8226,7 @@ class GraphQL::Schema # @param options [Hash] Keywords that will be passed to the tracing class during `#initialize` # @return [Tracing::Trace] # - # source://graphql/lib/graphql/schema.rb#1448 + # source://graphql//lib/graphql/schema.rb#1448 def new_trace(mode: T.unsafe(nil), **options); end # Fetch an object based on an incoming ID and the current context. This method should return an object @@ -8239,7 +8243,7 @@ class GraphQL::Schema # @return [Object, nil] The application which `object_id` references, or `nil` if there is no object or the current operation shouldn't have access to the object # @see id_from_object which produces these IDs # - # source://graphql/lib/graphql/schema.rb#1217 + # source://graphql//lib/graphql/schema.rb#1217 def object_from_id(object_id, context); end # Tell the schema about these types so that they can be registered as implementations of interfaces in the schema. @@ -8250,13 +8254,13 @@ class GraphQL::Schema # @param new_orphan_types [Array>] Object types to register as implementations of interfaces in the schema. # @return [Array>] All previously-registered orphan types for this schema # - # source://graphql/lib/graphql/schema.rb#1007 + # source://graphql//lib/graphql/schema.rb#1007 def orphan_types(*new_orphan_types); end - # source://graphql/lib/graphql/schema.rb#207 + # source://graphql//lib/graphql/schema.rb#207 def own_trace_modes; end - # source://graphql/lib/graphql/schema.rb#244 + # source://graphql//lib/graphql/schema.rb#244 def own_trace_modules; end # A function to call when {#execute} receives an invalid query string @@ -8267,10 +8271,10 @@ class GraphQL::Schema # @param ctx [GraphQL::Query::Context] The context for the query where the error occurred # @return void # - # source://graphql/lib/graphql/schema.rb#1317 + # source://graphql//lib/graphql/schema.rb#1317 def parse_error(parse_err, ctx); end - # source://graphql/lib/graphql/schema.rb#335 + # source://graphql//lib/graphql/schema.rb#335 def plugins; end # @param type [Module] The type definition whose possible types you want to see @@ -8279,7 +8283,7 @@ class GraphQL::Schema # @return [Hash] All possible types, if no `type` is given. # @return [Array] Possible types for `type`, if it's given. # - # source://graphql/lib/graphql/schema.rb#625 + # source://graphql//lib/graphql/schema.rb#625 def possible_types(type = T.unsafe(nil), context = T.unsafe(nil), use_visibility_profile = T.unsafe(nil)); end # Get or set the root `query { ... }` object for this schema. @@ -8290,24 +8294,24 @@ class GraphQL::Schema # @param lazy_load_block If a block is given, then it will be called when GraphQL-Ruby needs the root query type. # @return [Class, nil] The configured query root type, if there is one. # - # source://graphql/lib/graphql/schema.rb#445 + # source://graphql//lib/graphql/schema.rb#445 def query(new_query_object = T.unsafe(nil), &lazy_load_block); end # @param new_analyzer [Class] An analyzer to run on queries to this schema # @see GraphQL::Analysis the analysis system # - # source://graphql/lib/graphql/schema.rb#1475 + # source://graphql//lib/graphql/schema.rb#1475 def query_analyzer(new_analyzer); end - # source://graphql/lib/graphql/schema.rb#1479 + # source://graphql//lib/graphql/schema.rb#1479 def query_analyzers; end # @param new_query_class [Class] A subclass to use when executing queries # - # source://graphql/lib/graphql/schema.rb#861 + # source://graphql//lib/graphql/schema.rb#861 def query_class(new_query_class = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#795 + # source://graphql//lib/graphql/schema.rb#795 def query_execution_strategy(new_query_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end # Called when execution encounters a `SystemStackError`. By default, it adds a client-facing error to the response. @@ -8317,10 +8321,10 @@ class GraphQL::Schema # @param err [SystemStackError] # @return [void] # - # source://graphql/lib/graphql/schema.rb#1573 + # source://graphql//lib/graphql/schema.rb#1573 def query_stack_error(query, err); end - # source://graphql/lib/graphql/schema.rb#684 + # source://graphql//lib/graphql/schema.rb#684 def references_to(to_type = T.unsafe(nil), from: T.unsafe(nil)); end # Register a handler for errors raised during execution. The handlers can return a new value or raise a new error. @@ -8337,7 +8341,7 @@ class GraphQL::Schema # @yieldparam context [GraphQL::Query::Context] The context for the currently-running operation # @yieldreturn [Object] Some object to use in the place where this error was raised # - # source://graphql/lib/graphql/schema.rb#1099 + # source://graphql//lib/graphql/schema.rb#1099 def rescue_from(*err_classes, &handler_block); end # GraphQL-Ruby calls this method during execution when it needs the application to determine the type to use for an object. @@ -8358,29 +8362,29 @@ class GraphQL::Schema # @raise [GraphQL::RequiredImplementationMissingError] # @return [Class] The root types (query, mutation, subscription) defined for this schema # - # source://graphql/lib/graphql/schema.rb#572 + # source://graphql//lib/graphql/schema.rb#572 def root_types; end - # source://graphql/lib/graphql/schema.rb#1493 + # source://graphql//lib/graphql/schema.rb#1493 def sanitized_printer(new_sanitized_printer = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#1242 + # source://graphql//lib/graphql/schema.rb#1242 def schema_directive(dir_class, **options); end - # source://graphql/lib/graphql/schema.rb#1247 + # source://graphql//lib/graphql/schema.rb#1247 def schema_directives; end - # source://graphql/lib/graphql/schema.rb#319 + # source://graphql//lib/graphql/schema.rb#319 def static_validator; end # Get or set the root `subscription { ... }` object for this schema. @@ -8391,18 +8395,18 @@ class GraphQL::Schema # @param lazy_load_block If a block is given, then it will be called when GraphQL-Ruby needs the root subscription type. # @return [Class, nil] The configured subscription root type, if there is one. # - # source://graphql/lib/graphql/schema.rb#523 + # source://graphql//lib/graphql/schema.rb#523 def subscription(new_subscription_object = T.unsafe(nil), &lazy_load_block); end - # source://graphql/lib/graphql/schema.rb#819 + # source://graphql//lib/graphql/schema.rb#819 def subscription_execution_strategy(new_subscription_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end # @return [GraphQL::Subscriptions] # - # source://graphql/lib/graphql/schema.rb#141 + # source://graphql//lib/graphql/schema.rb#141 def subscriptions(inherited: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#145 + # source://graphql//lib/graphql/schema.rb#145 def subscriptions=(new_implementation); end # Override this method to handle lazy objects in a custom way. @@ -8411,7 +8415,7 @@ class GraphQL::Schema # @param value [Object] an instance of a class registered with {.lazy_resolve} # @return [Object] A GraphQL-ready (non-lazy) object # - # source://graphql/lib/graphql/schema.rb#1597 + # source://graphql//lib/graphql/schema.rb#1597 def sync_lazy(value); end # Return the GraphQL IDL for the schema @@ -8419,14 +8423,14 @@ class GraphQL::Schema # @param context [Hash] # @return [String] # - # source://graphql/lib/graphql/schema.rb#290 + # source://graphql//lib/graphql/schema.rb#290 def to_definition(context: T.unsafe(nil)); end # Return the GraphQL::Language::Document IDL AST for the schema # # @return [GraphQL::Language::Document] # - # source://graphql/lib/graphql/schema.rb#296 + # source://graphql//lib/graphql/schema.rb#296 def to_document; end # Returns the JSON response of {Introspection::INTROSPECTION_QUERY}. @@ -8434,15 +8438,15 @@ class GraphQL::Schema # @return [String] # @see {#as_json} # - # source://graphql/lib/graphql/schema.rb#261 + # source://graphql//lib/graphql/schema.rb#261 def to_json(**args); end - # source://graphql/lib/graphql/schema.rb#162 + # source://graphql//lib/graphql/schema.rb#162 def trace_class(new_class = T.unsafe(nil)); end # @return [Class] Return the trace class to use for this mode, looking one up on the superclass if this Schema doesn't have one defined. # - # source://graphql/lib/graphql/schema.rb#178 + # source://graphql//lib/graphql/schema.rb#178 def trace_class_for(mode, build: T.unsafe(nil)); end # Configure `trace_class` to be used whenever `context: { trace_mode: mode_name }` is requested. @@ -8458,19 +8462,19 @@ class GraphQL::Schema # @param trace_class [Class] subclass of GraphQL::Tracing::Trace # @return void # - # source://graphql/lib/graphql/schema.rb#202 + # source://graphql//lib/graphql/schema.rb#202 def trace_mode(mode_name, trace_class); end # @return [Array] Modules added for tracing in `trace_mode`, including inherited ones # - # source://graphql/lib/graphql/schema.rb#249 + # source://graphql//lib/graphql/schema.rb#249 def trace_modules_for(trace_mode); end # The options hash for this trace mode # # @return [Hash] # - # source://graphql/lib/graphql/schema.rb#1426 + # source://graphql//lib/graphql/schema.rb#1426 def trace_options_for(mode); end # Mix `trace_mod` into this schema's `Trace` class so that its methods @@ -8482,13 +8486,13 @@ class GraphQL::Schema # @return [void] # @see GraphQL::Tracing::Trace for available tracing methods # - # source://graphql/lib/graphql/schema.rb#1396 + # source://graphql//lib/graphql/schema.rb#1396 def trace_with(trace_mod, mode: T.unsafe(nil), **options); end - # source://graphql/lib/graphql/schema.rb#1371 + # source://graphql//lib/graphql/schema.rb#1371 def tracer(new_tracer, silence_deprecation_warning: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#1384 + # source://graphql//lib/graphql/schema.rb#1384 def tracers; end # Called at runtime when GraphQL-Ruby encounters a mismatch between the application behavior @@ -8503,10 +8507,10 @@ class GraphQL::Schema # @raise [GraphQL::Error] to crash the query and raise a developer-facing error # @return [void] # - # source://graphql/lib/graphql/schema.rb#1300 + # source://graphql//lib/graphql/schema.rb#1300 def type_error(type_error, ctx); end - # source://graphql/lib/graphql/schema.rb#705 + # source://graphql//lib/graphql/schema.rb#705 def type_from_ast(ast_node, context: T.unsafe(nil)); end # Build a map of `{ name => type }` and return it @@ -8514,7 +8518,7 @@ class GraphQL::Schema # @return [Hash Class>] A dictionary of type classes by their GraphQL name # @see get_type Which is more efficient for finding _one type_ by name, because it doesn't merge hashes. # - # source://graphql/lib/graphql/schema.rb#342 + # source://graphql//lib/graphql/schema.rb#342 def types(context = T.unsafe(nil)); end # This hook is called when a field fails an `authorized?` check. @@ -8530,7 +8534,7 @@ class GraphQL::Schema # @param unauthorized_error [GraphQL::UnauthorizedFieldError] # @return [Field] The returned field will be put in the GraphQL response # - # source://graphql/lib/graphql/schema.rb#1286 + # source://graphql//lib/graphql/schema.rb#1286 def unauthorized_field(unauthorized_error); end # This hook is called when an object fails an `authorized?` check. @@ -8549,10 +8553,10 @@ class GraphQL::Schema # @param unauthorized_error [GraphQL::UnauthorizedError] # @return [Object] The returned object will be put in the GraphQL response # - # source://graphql/lib/graphql/schema.rb#1270 + # source://graphql//lib/graphql/schema.rb#1270 def unauthorized_object(unauthorized_error); end - # source://graphql/lib/graphql/schema.rb#661 + # source://graphql//lib/graphql/schema.rb#661 def union_memberships(type = T.unsafe(nil)); end # Add `plugin` to this schema @@ -8560,18 +8564,18 @@ class GraphQL::Schema # @param plugin [#use] A Schema plugin # @return void # - # source://graphql/lib/graphql/schema.rb#326 + # source://graphql//lib/graphql/schema.rb#326 def use(plugin, **kwargs); end # @api private # - # source://graphql/lib/graphql/schema.rb#606 + # source://graphql//lib/graphql/schema.rb#606 def use_visibility_profile=(_arg0); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema.rb#610 + # source://graphql//lib/graphql/schema.rb#610 def use_visibility_profile?; end # Validate a query string according to this schema. @@ -8579,199 +8583,199 @@ class GraphQL::Schema # @param string_or_document [String, GraphQL::Language::Nodes::Document] # @return [Array] # - # source://graphql/lib/graphql/schema.rb#846 + # source://graphql//lib/graphql/schema.rb#846 def validate(string_or_document, rules: T.unsafe(nil), context: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema.rb#871 + # source://graphql//lib/graphql/schema.rb#871 def validate_max_errors(new_validate_max_errors = T.unsafe(nil)); end # Sets the attribute validate_max_errors # # @param value the value to set the attribute validate_max_errors to. # - # source://graphql/lib/graphql/schema.rb#869 + # source://graphql//lib/graphql/schema.rb#869 def validate_max_errors=(_arg0); end - # source://graphql/lib/graphql/schema.rb#833 + # source://graphql//lib/graphql/schema.rb#833 def validate_timeout(new_validate_timeout = T.unsafe(nil)); end # Sets the attribute validate_timeout # # @param value the value to set the attribute validate_timeout to. # - # source://graphql/lib/graphql/schema.rb#831 + # source://graphql//lib/graphql/schema.rb#831 def validate_timeout=(_arg0); end # @api private # - # source://graphql/lib/graphql/schema.rb#608 + # source://graphql//lib/graphql/schema.rb#608 def visibility; end # @api private # - # source://graphql/lib/graphql/schema.rb#608 + # source://graphql//lib/graphql/schema.rb#608 def visibility=(_arg0); end # @api private # - # source://graphql/lib/graphql/schema.rb#595 + # source://graphql//lib/graphql/schema.rb#595 def visibility_profile_class; end # @api private # - # source://graphql/lib/graphql/schema.rb#606 + # source://graphql//lib/graphql/schema.rb#606 def visibility_profile_class=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/schema.rb#1238 + # source://graphql//lib/graphql/schema.rb#1238 def visible?(member, ctx); end # @api private # - # source://graphql/lib/graphql/schema.rb#581 + # source://graphql//lib/graphql/schema.rb#581 def warden_class; end # @api private # - # source://graphql/lib/graphql/schema.rb#592 + # source://graphql//lib/graphql/schema.rb#592 def warden_class=(_arg0); end private - # source://graphql/lib/graphql/schema.rb#1647 + # source://graphql//lib/graphql/schema.rb#1647 def add_trace_options_for(mode, new_options); end # @param t [Module, Array] # @return [void] # - # source://graphql/lib/graphql/schema.rb#1664 + # source://graphql//lib/graphql/schema.rb#1664 def add_type_and_traverse(t, root:); end # This is overridden in subclasses to check the inheritance chain # - # source://graphql/lib/graphql/schema.rb#1779 + # source://graphql//lib/graphql/schema.rb#1779 def get_references_to(type_defn); end - # source://graphql/lib/graphql/schema.rb#1716 + # source://graphql//lib/graphql/schema.rb#1716 def lazy_methods; end - # source://graphql/lib/graphql/schema.rb#1738 + # source://graphql//lib/graphql/schema.rb#1738 def non_introspection_types; end - # source://graphql/lib/graphql/schema.rb#1758 + # source://graphql//lib/graphql/schema.rb#1758 def own_directives; end - # source://graphql/lib/graphql/schema.rb#1762 + # source://graphql//lib/graphql/schema.rb#1762 def own_instrumenters; end - # source://graphql/lib/graphql/schema.rb#1774 + # source://graphql//lib/graphql/schema.rb#1774 def own_multiplex_analyzers; end - # source://graphql/lib/graphql/schema.rb#1746 + # source://graphql//lib/graphql/schema.rb#1746 def own_orphan_types; end - # source://graphql/lib/graphql/schema.rb#1742 + # source://graphql//lib/graphql/schema.rb#1742 def own_plugins; end - # source://graphql/lib/graphql/schema.rb#1750 + # source://graphql//lib/graphql/schema.rb#1750 def own_possible_types; end - # source://graphql/lib/graphql/schema.rb#1770 + # source://graphql//lib/graphql/schema.rb#1770 def own_query_analyzers; end - # source://graphql/lib/graphql/schema.rb#1734 + # source://graphql//lib/graphql/schema.rb#1734 def own_references_to; end - # source://graphql/lib/graphql/schema.rb#1766 + # source://graphql//lib/graphql/schema.rb#1766 def own_tracers; end - # source://graphql/lib/graphql/schema.rb#1730 + # source://graphql//lib/graphql/schema.rb#1730 def own_types; end - # source://graphql/lib/graphql/schema.rb#1754 + # source://graphql//lib/graphql/schema.rb#1754 def own_union_memberships; end end end -# source://graphql/lib/graphql/schema/addition.rb#5 +# source://graphql//lib/graphql/schema/addition.rb#5 class GraphQL::Schema::Addition # @return [Addition] a new instance of Addition # - # source://graphql/lib/graphql/schema/addition.rb#8 + # source://graphql//lib/graphql/schema/addition.rb#8 def initialize(schema:, own_types:, new_types:); end # Returns the value of attribute arguments_with_default_values. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def arguments_with_default_values; end # Returns the value of attribute directives. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def directives; end # Returns the value of attribute possible_types. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def possible_types; end # Returns the value of attribute references. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def references; end # Returns the value of attribute types. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def types; end # Returns the value of attribute union_memberships. # - # source://graphql/lib/graphql/schema/addition.rb#6 + # source://graphql//lib/graphql/schema/addition.rb#6 def union_memberships; end private - # source://graphql/lib/graphql/schema/addition.rb#42 + # source://graphql//lib/graphql/schema/addition.rb#42 def add_directives_from(owner); end - # source://graphql/lib/graphql/schema/addition.rb#152 + # source://graphql//lib/graphql/schema/addition.rb#152 def add_type(type, owner:, late_types:, path:); end - # source://graphql/lib/graphql/schema/addition.rb#50 + # source://graphql//lib/graphql/schema/addition.rb#50 def add_type_and_traverse(new_types); end # Lookup using `own_types` here because it's ok to override # inherited types by name # - # source://graphql/lib/graphql/schema/addition.rb#38 + # source://graphql//lib/graphql/schema/addition.rb#38 def get_local_type(name); end - # source://graphql/lib/graphql/schema/addition.rb#26 + # source://graphql//lib/graphql/schema/addition.rb#26 def get_type(name); end - # source://graphql/lib/graphql/schema/addition.rb#22 + # source://graphql//lib/graphql/schema/addition.rb#22 def references_to(thing, from:); end - # source://graphql/lib/graphql/schema/addition.rb#91 + # source://graphql//lib/graphql/schema/addition.rb#91 def update_type_owner(owner, type); end end -# source://graphql/lib/graphql/schema/always_visible.rb#4 +# source://graphql//lib/graphql/schema/always_visible.rb#4 module GraphQL::Schema::AlwaysVisible # @return [Boolean] # - # source://graphql/lib/graphql/schema/always_visible.rb#9 + # source://graphql//lib/graphql/schema/always_visible.rb#9 def visible?(_member, _context); end class << self - # source://graphql/lib/graphql/schema/always_visible.rb#5 + # source://graphql//lib/graphql/schema/always_visible.rb#5 def use(schema, **opts); end end end -# source://graphql/lib/graphql/schema/argument.rb#4 +# source://graphql//lib/graphql/schema/argument.rb#4 class GraphQL::Schema::Argument include ::GraphQL::Schema::Member::HasPath include ::GraphQL::Schema::Member::HasAstNode @@ -8796,107 +8800,107 @@ class GraphQL::Schema::Argument # @param replace_null_with_default [Boolean] if `true`, incoming values of `null` will be replaced with the configured `default_value` # @return [Argument] a new instance of Argument # - # source://graphql/lib/graphql/schema/argument.rb#53 + # source://graphql//lib/graphql/schema/argument.rb#53 def initialize(arg_name = T.unsafe(nil), type_expr = T.unsafe(nil), desc = T.unsafe(nil), owner:, required: T.unsafe(nil), type: T.unsafe(nil), name: T.unsafe(nil), loads: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), ast_node: T.unsafe(nil), default_value: T.unsafe(nil), as: T.unsafe(nil), from_resolver: T.unsafe(nil), camelize: T.unsafe(nil), prepare: T.unsafe(nil), validates: T.unsafe(nil), directives: T.unsafe(nil), deprecation_reason: T.unsafe(nil), replace_null_with_default: T.unsafe(nil), &definition_block); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/argument.rb#162 + # source://graphql//lib/graphql/schema/argument.rb#162 def authorized?(obj, value, ctx); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/argument.rb#166 + # source://graphql//lib/graphql/schema/argument.rb#166 def authorized_as_type?(obj, value, ctx, as_type:); end # @api private # - # source://graphql/lib/graphql/schema/argument.rb#252 + # source://graphql//lib/graphql/schema/argument.rb#252 def coerce_into_values(parent_object, values, context, argument_values); end # @return [String] Comment for this argument # - # source://graphql/lib/graphql/schema/argument.rb#136 + # source://graphql//lib/graphql/schema/argument.rb#136 def comment(text = T.unsafe(nil)); end # Sets the attribute comment # # @param value the value to set the attribute comment to. # - # source://graphql/lib/graphql/schema/argument.rb#133 + # source://graphql//lib/graphql/schema/argument.rb#133 def comment=(_arg0); end # @param default_value [Object] The value to use when the client doesn't provide one # @return [Object] the value used when the client doesn't provide a value for this argument # - # source://graphql/lib/graphql/schema/argument.rb#106 + # source://graphql//lib/graphql/schema/argument.rb#106 def default_value(new_default_value = T.unsafe(nil)); end # @return [Boolean] True if this argument has a default value # - # source://graphql/lib/graphql/schema/argument.rb#114 + # source://graphql//lib/graphql/schema/argument.rb#114 def default_value?; end # @return [String] Deprecation reason for this argument # - # source://graphql/lib/graphql/schema/argument.rb#145 + # source://graphql//lib/graphql/schema/argument.rb#145 def deprecation_reason(text = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/argument.rb#153 + # source://graphql//lib/graphql/schema/argument.rb#153 def deprecation_reason=(new_reason); end # @return [String] Documentation for this argument # - # source://graphql/lib/graphql/schema/argument.rb#125 + # source://graphql//lib/graphql/schema/argument.rb#125 def description(text = T.unsafe(nil)); end # Sets the attribute description # # @param value the value to set the attribute description to. # - # source://graphql/lib/graphql/schema/argument.rb#122 + # source://graphql//lib/graphql/schema/argument.rb#122 def description=(_arg0); end # @return [Boolean] true if a resolver defined this argument # - # source://graphql/lib/graphql/schema/argument.rb#35 + # source://graphql//lib/graphql/schema/argument.rb#35 def from_resolver?; end # @return [String] the GraphQL name for this argument, camelized unless `camelize: false` is provided # - # source://graphql/lib/graphql/schema/argument.rb#13 + # source://graphql//lib/graphql/schema/argument.rb#14 def graphql_name; end - # source://graphql/lib/graphql/schema/argument.rb#100 + # source://graphql//lib/graphql/schema/argument.rb#100 def inspect; end # @return [Symbol] This argument's name in Ruby keyword arguments # - # source://graphql/lib/graphql/schema/argument.rb#29 + # source://graphql//lib/graphql/schema/argument.rb#29 def keyword; end - # source://graphql/lib/graphql/schema/argument.rb#313 + # source://graphql//lib/graphql/schema/argument.rb#313 def load_and_authorize_value(load_method_owner, coerced_value, context); end # @return [Class, Module, nil] If this argument should load an application object, this is the type of object to load # - # source://graphql/lib/graphql/schema/argument.rb#32 + # source://graphql//lib/graphql/schema/argument.rb#32 def loads; end # @return [String] the GraphQL name for this argument, camelized unless `camelize: false` is provided # - # source://graphql/lib/graphql/schema/argument.rb#13 + # source://graphql//lib/graphql/schema/argument.rb#13 def name; end # @return [GraphQL::Schema::Field, Class] The field or input object this argument belongs to # - # source://graphql/lib/graphql/schema/argument.rb#17 + # source://graphql//lib/graphql/schema/argument.rb#17 def owner; end # @param new_prepare [Method, Proc] # @return [Symbol] A method or proc to call to transform this value before sending it to field resolution method # - # source://graphql/lib/graphql/schema/argument.rb#21 + # source://graphql//lib/graphql/schema/argument.rb#21 def prepare(new_prepare = T.unsafe(nil)); end # Apply the {prepare} configuration to `value`, using methods from `obj`. @@ -8904,94 +8908,94 @@ class GraphQL::Schema::Argument # # @api private # - # source://graphql/lib/graphql/schema/argument.rb#220 + # source://graphql//lib/graphql/schema/argument.rb#220 def prepare_value(obj, value, context: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/argument.rb#118 + # source://graphql//lib/graphql/schema/argument.rb#118 def replace_null_with_default?; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/argument.rb#211 + # source://graphql//lib/graphql/schema/argument.rb#211 def statically_coercible?; end - # source://graphql/lib/graphql/schema/argument.rb#199 + # source://graphql//lib/graphql/schema/argument.rb#199 def type; end - # source://graphql/lib/graphql/schema/argument.rb#189 + # source://graphql//lib/graphql/schema/argument.rb#189 def type=(new_type); end # @api private # - # source://graphql/lib/graphql/schema/argument.rb#366 + # source://graphql//lib/graphql/schema/argument.rb#366 def validate_default_value; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/argument.rb#158 + # source://graphql//lib/graphql/schema/argument.rb#158 def visible?(context); end private - # source://graphql/lib/graphql/schema/argument.rb#403 + # source://graphql//lib/graphql/schema/argument.rb#403 def recursively_prepare_input_object(value, type); end - # source://graphql/lib/graphql/schema/argument.rb#430 + # source://graphql//lib/graphql/schema/argument.rb#430 def validate_deprecated_or_optional(null:, deprecation_reason:); end - # source://graphql/lib/graphql/schema/argument.rb#418 + # source://graphql//lib/graphql/schema/argument.rb#418 def validate_input_type(input_type); end end -# source://graphql/lib/graphql/schema/argument.rb#394 +# source://graphql//lib/graphql/schema/argument.rb#394 class GraphQL::Schema::Argument::InvalidDefaultValueError < ::GraphQL::Error # @return [InvalidDefaultValueError] a new instance of InvalidDefaultValueError # - # source://graphql/lib/graphql/schema/argument.rb#395 + # source://graphql//lib/graphql/schema/argument.rb#395 def initialize(argument); end end -# source://graphql/lib/graphql/schema/built_in_types.rb#4 +# source://graphql//lib/graphql/schema/built_in_types.rb#4 GraphQL::Schema::BUILT_IN_TYPES = T.let(T.unsafe(nil), Hash) # @api private # -# source://graphql/lib/graphql/schema/base_64_encoder.rb#6 +# source://graphql//lib/graphql/schema/base_64_encoder.rb#6 module GraphQL::Schema::Base64Encoder class << self # @api private # - # source://graphql/lib/graphql/schema/base_64_encoder.rb#11 + # source://graphql//lib/graphql/schema/base_64_encoder.rb#11 def decode(encoded_text, nonce: T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/base_64_encoder.rb#7 + # source://graphql//lib/graphql/schema/base_64_encoder.rb#7 def encode(unencoded_text, nonce: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#4 +# source://graphql//lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#4 module GraphQL::Schema::BuildFromDefinition class << self # @see {Schema.from_definition} # - # source://graphql/lib/graphql/schema/build_from_definition.rb#9 + # source://graphql//lib/graphql/schema/build_from_definition.rb#9 def from_definition(schema_superclass, definition_string, parser: T.unsafe(nil), **kwargs); end - # source://graphql/lib/graphql/schema/build_from_definition.rb#16 + # source://graphql//lib/graphql/schema/build_from_definition.rb#16 def from_definition_path(schema_superclass, definition_path, parser: T.unsafe(nil), **kwargs); end - # source://graphql/lib/graphql/schema/build_from_definition.rb#23 + # source://graphql//lib/graphql/schema/build_from_definition.rb#23 def from_document(schema_superclass, document, default_resolve:, using: T.unsafe(nil), relay: T.unsafe(nil)); end end end # @api private # -# source://graphql/lib/graphql/schema/build_from_definition.rb#29 +# source://graphql//lib/graphql/schema/build_from_definition.rb#29 module GraphQL::Schema::BuildFromDefinition::Builder include ::GraphQL::EmptyObjects extend ::GraphQL::EmptyObjects @@ -8999,93 +9003,93 @@ module GraphQL::Schema::BuildFromDefinition::Builder # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#269 + # source://graphql//lib/graphql/schema/build_from_definition.rb#269 def args_to_kwargs(arg_owner, node); end # @api private # @raise [InvalidDocumentError] # - # source://graphql/lib/graphql/schema/build_from_definition.rb#33 + # source://graphql//lib/graphql/schema/build_from_definition.rb#33 def build(schema_superclass, document, default_resolve:, relay:, using: T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#394 + # source://graphql//lib/graphql/schema/build_from_definition.rb#394 def build_arguments(type_class, arguments, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#379 + # source://graphql//lib/graphql/schema/build_from_definition.rb#379 def build_default_value(default_value); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#208 + # source://graphql//lib/graphql/schema/build_from_definition.rb#208 def build_definition_from_node(definition, type_resolver, default_resolve); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#306 + # source://graphql//lib/graphql/schema/build_from_definition.rb#306 def build_deprecation_reason(directives); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#418 + # source://graphql//lib/graphql/schema/build_from_definition.rb#418 def build_directive(directive_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#239 + # source://graphql//lib/graphql/schema/build_from_definition.rb#239 def build_directives(definition, ast_node, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#287 + # source://graphql//lib/graphql/schema/build_from_definition.rb#287 def build_enum_type(enum_type_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#447 + # source://graphql//lib/graphql/schema/build_from_definition.rb#447 def build_fields(owner, field_definitions, type_resolver, default_resolve:); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#368 + # source://graphql//lib/graphql/schema/build_from_definition.rb#368 def build_input_object_type(input_object_type_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#430 + # source://graphql//lib/graphql/schema/build_from_definition.rb#430 def build_interface_type(interface_type_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#350 + # source://graphql//lib/graphql/schema/build_from_definition.rb#350 def build_object_type(object_type_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#481 + # source://graphql//lib/graphql/schema/build_from_definition.rb#481 def build_resolve_type(lookup_hash, directives, missing_type_handler); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#316 + # source://graphql//lib/graphql/schema/build_from_definition.rb#316 def build_scalar_type(scalar_type_definition, type_resolver, default_resolve:); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#333 + # source://graphql//lib/graphql/schema/build_from_definition.rb#333 def build_scalar_type_coerce_method(scalar_class, method_name, default_definition_resolve); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#339 + # source://graphql//lib/graphql/schema/build_from_definition.rb#339 def build_union_type(union_type_definition, type_resolver); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition.rb#251 + # source://graphql//lib/graphql/schema/build_from_definition.rb#251 def prepare_directives(ast_node, type_resolver); end # Modify `types`, replacing any late-bound references to built-in types @@ -9096,13 +9100,13 @@ module GraphQL::Schema::BuildFromDefinition::Builder # @api private # @return void # - # source://graphql/lib/graphql/schema/build_from_definition.rb#230 + # source://graphql//lib/graphql/schema/build_from_definition.rb#230 def replace_late_bound_types_with_built_in(types); end end # @api private # -# source://graphql/lib/graphql/schema/build_from_definition.rb#204 +# source://graphql//lib/graphql/schema/build_from_definition.rb#204 GraphQL::Schema::BuildFromDefinition::Builder::NullResolveType = T.let(T.unsafe(nil), Proc) # Wrap a user-provided hash of resolution behavior for easy access at runtime. @@ -9115,35 +9119,35 @@ GraphQL::Schema::BuildFromDefinition::Builder::NullResolveType = T.let(T.unsafe( # # @api private # -# source://graphql/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#5 +# source://graphql//lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#5 class GraphQL::Schema::BuildFromDefinition::ResolveMap # @api private # @return [ResolveMap] a new instance of ResolveMap # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#23 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#23 def initialize(user_resolve_hash); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#63 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#63 def call(type, field, obj, args, ctx); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#68 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#68 def coerce_input(type, value, ctx); end # @api private # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#72 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#72 def coerce_result(type, value, ctx); end end -# source://graphql/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#6 +# source://graphql//lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#6 class GraphQL::Schema::BuildFromDefinition::ResolveMap::DefaultResolve # @return [DefaultResolve] a new instance of DefaultResolve # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#7 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#7 def initialize(field_map, field_name); end # Make some runtime checks about @@ -9155,25 +9159,25 @@ class GraphQL::Schema::BuildFromDefinition::ResolveMap::DefaultResolve # # If `obj` doesn't implement `field_name`, raise an error. # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#20 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb#20 def call(obj, args, ctx); end end # @api private # -# source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#17 +# source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#17 module GraphQL::Schema::BuildFromDefinition::ResolveMap::NullScalarCoerce class << self # @api private # - # source://graphql/lib/graphql/schema/build_from_definition/resolve_map.rb#18 + # source://graphql//lib/graphql/schema/build_from_definition/resolve_map.rb#18 def call(val, _ctx); end end end # @api private # -# source://graphql/lib/graphql/schema.rb#1804 +# source://graphql//lib/graphql/schema.rb#1804 module GraphQL::Schema::DefaultTraceClass; end # Subclasses of this can influence how {GraphQL::Execution::Interpreter} runs queries. @@ -9181,7 +9185,7 @@ module GraphQL::Schema::DefaultTraceClass; end # - {.include?}: if it returns `false`, the field or fragment will be skipped altogether, as if it were absent # - {.resolve}: Wraps field resolution (so it should call `yield` to continue) # -# source://graphql/lib/graphql/schema/directive.rb#9 +# source://graphql//lib/graphql/schema/directive.rb#9 class GraphQL::Schema::Directive < ::GraphQL::Schema::Member include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader extend ::GraphQL::Schema::Member::HasArguments @@ -9191,134 +9195,134 @@ class GraphQL::Schema::Directive < ::GraphQL::Schema::Member # @return [Directive] a new instance of Directive # - # source://graphql/lib/graphql/schema/directive.rb#114 + # source://graphql//lib/graphql/schema/directive.rb#114 def initialize(owner, **arguments); end # @return [GraphQL::Interpreter::Arguments] # - # source://graphql/lib/graphql/schema/directive.rb#112 + # source://graphql//lib/graphql/schema/directive.rb#112 def arguments; end - # source://graphql/lib/graphql/schema/directive.rb#125 + # source://graphql//lib/graphql/schema/directive.rb#125 def graphql_name; end # @return [GraphQL::Schema::Field, GraphQL::Schema::Argument, Class, Module] # - # source://graphql/lib/graphql/schema/directive.rb#109 + # source://graphql//lib/graphql/schema/directive.rb#109 def owner; end private - # source://graphql/lib/graphql/schema/directive.rb#213 + # source://graphql//lib/graphql/schema/directive.rb#213 def assert_has_location(location); end - # source://graphql/lib/graphql/schema/directive.rb#176 + # source://graphql//lib/graphql/schema/directive.rb#176 def assert_valid_owner; end class << self - # source://graphql/lib/graphql/schema/directive.rb#44 + # source://graphql//lib/graphql/schema/directive.rb#44 def default_directive(new_default_directive = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#54 + # source://graphql//lib/graphql/schema/directive.rb#54 def default_directive?; end # Return a name based on the class name, # but downcase the first letter. # - # source://graphql/lib/graphql/schema/directive.rb#23 + # source://graphql//lib/graphql/schema/directive.rb#23 def default_graphql_name; end # If false, this part of the query won't be evaluated # # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#59 + # source://graphql//lib/graphql/schema/directive.rb#59 def include?(_object, arguments, context); end - # source://graphql/lib/graphql/schema/directive.rb#31 + # source://graphql//lib/graphql/schema/directive.rb#31 def locations(*new_locations); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#78 + # source://graphql//lib/graphql/schema/directive.rb#78 def on_field?; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#82 + # source://graphql//lib/graphql/schema/directive.rb#82 def on_fragment?; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#86 + # source://graphql//lib/graphql/schema/directive.rb#86 def on_operation?; end - # source://graphql/lib/graphql/schema/directive.rb#17 + # source://graphql//lib/graphql/schema/directive.rb#17 def path; end - # source://graphql/lib/graphql/schema/directive.rb#94 + # source://graphql//lib/graphql/schema/directive.rb#94 def repeatable(new_value); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#90 + # source://graphql//lib/graphql/schema/directive.rb#90 def repeatable?; end # Continuing is passed as a block; `yield` to continue # - # source://graphql/lib/graphql/schema/directive.rb#69 + # source://graphql//lib/graphql/schema/directive.rb#69 def resolve(object, arguments, context); end # Continuing is passed as a block, yield to continue. # - # source://graphql/lib/graphql/schema/directive.rb#74 + # source://graphql//lib/graphql/schema/directive.rb#74 def resolve_each(object, arguments, context); end # Determines whether {Execution::Lookahead} considers the field to be selected # # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive.rb#64 + # source://graphql//lib/graphql/schema/directive.rb#64 def static_include?(_arguments, _context); end private # @private # - # source://graphql/lib/graphql/schema/directive.rb#100 + # source://graphql//lib/graphql/schema/directive.rb#100 def inherited(subclass); end end end -# source://graphql/lib/graphql/schema/directive.rb#141 +# source://graphql//lib/graphql/schema/directive.rb#141 GraphQL::Schema::Directive::ARGUMENT_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#151 +# source://graphql//lib/graphql/schema/directive.rb#151 GraphQL::Schema::Directive::DEFAULT_DEPRECATION_REASON = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/schema/directive/deprecated.rb#5 +# source://graphql//lib/graphql/schema/directive/deprecated.rb#5 class GraphQL::Schema::Directive::Deprecated < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments end -# source://graphql/lib/graphql/schema/directive.rb#144 +# source://graphql//lib/graphql/schema/directive.rb#144 GraphQL::Schema::Directive::ENUM = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#145 +# source://graphql//lib/graphql/schema/directive.rb#145 GraphQL::Schema::Directive::ENUM_VALUE = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#133 +# source://graphql//lib/graphql/schema/directive.rb#133 GraphQL::Schema::Directive::FIELD = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#140 +# source://graphql//lib/graphql/schema/directive.rb#140 GraphQL::Schema::Directive::FIELD_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#134 +# source://graphql//lib/graphql/schema/directive.rb#134 GraphQL::Schema::Directive::FRAGMENT_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#135 +# source://graphql//lib/graphql/schema/directive.rb#135 GraphQL::Schema::Directive::FRAGMENT_SPREAD = T.let(T.unsafe(nil), Symbol) # An example directive to show how you might interact with the runtime. @@ -9352,7 +9356,7 @@ GraphQL::Schema::Directive::FRAGMENT_SPREAD = T.let(T.unsafe(nil), Symbol) # } # } # -# source://graphql/lib/graphql/schema/directive/feature.rb#36 +# source://graphql//lib/graphql/schema/directive/feature.rb#36 class GraphQL::Schema::Directive::Feature < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments @@ -9365,14 +9369,14 @@ class GraphQL::Schema::Directive::Feature < ::GraphQL::Schema::Directive # @raise [GraphQL::RequiredImplementationMissingError] # @return [Boolean] If truthy, execution will continue # - # source://graphql/lib/graphql/schema/directive/feature.rb#60 + # source://graphql//lib/graphql/schema/directive/feature.rb#60 def enabled?(flag_name, object, context); end # Implement the Directive API # # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive/feature.rb#49 + # source://graphql//lib/graphql/schema/directive/feature.rb#49 def include?(object, arguments, context); end end end @@ -9381,110 +9385,110 @@ end # # In this case, the server hides types and fields _entirely_, unless the current context has certain `:flags` present. # -# source://graphql/lib/graphql/schema/directive/flagged.rb#8 +# source://graphql//lib/graphql/schema/directive/flagged.rb#8 class GraphQL::Schema::Directive::Flagged < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments # @return [Flagged] a new instance of Flagged # - # source://graphql/lib/graphql/schema/directive/flagged.rb#9 + # source://graphql//lib/graphql/schema/directive/flagged.rb#9 def initialize(target, **options); end end -# source://graphql/lib/graphql/schema/directive/flagged.rb#40 +# source://graphql//lib/graphql/schema/directive/flagged.rb#40 module GraphQL::Schema::Directive::Flagged::VisibleByFlag # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive/flagged.rb#45 + # source://graphql//lib/graphql/schema/directive/flagged.rb#45 def visible?(context); end class << self # @private # - # source://graphql/lib/graphql/schema/directive/flagged.rb#41 + # source://graphql//lib/graphql/schema/directive/flagged.rb#41 def included(schema_class); end end end -# source://graphql/lib/graphql/schema/directive.rb#136 +# source://graphql//lib/graphql/schema/directive.rb#136 GraphQL::Schema::Directive::INLINE_FRAGMENT = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#147 +# source://graphql//lib/graphql/schema/directive.rb#147 GraphQL::Schema::Directive::INPUT_FIELD_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#146 +# source://graphql//lib/graphql/schema/directive.rb#146 GraphQL::Schema::Directive::INPUT_OBJECT = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#142 +# source://graphql//lib/graphql/schema/directive.rb#142 GraphQL::Schema::Directive::INTERFACE = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive/include.rb#5 +# source://graphql//lib/graphql/schema/directive/include.rb#5 class GraphQL::Schema::Directive::Include < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive/include.rb#19 + # source://graphql//lib/graphql/schema/directive/include.rb#19 def static_include?(args, ctx); end end end -# source://graphql/lib/graphql/schema/directive.rb#129 +# source://graphql//lib/graphql/schema/directive.rb#129 GraphQL::Schema::Directive::LOCATIONS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/directive.rb#152 +# source://graphql//lib/graphql/schema/directive.rb#152 GraphQL::Schema::Directive::LOCATION_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/schema/directive.rb#131 +# source://graphql//lib/graphql/schema/directive.rb#131 GraphQL::Schema::Directive::MUTATION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#139 +# source://graphql//lib/graphql/schema/directive.rb#139 GraphQL::Schema::Directive::OBJECT = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive/one_of.rb#5 +# source://graphql//lib/graphql/schema/directive/one_of.rb#5 class GraphQL::Schema::Directive::OneOf < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments # @return [OneOf] a new instance of OneOf # - # source://graphql/lib/graphql/schema/directive/one_of.rb#10 + # source://graphql//lib/graphql/schema/directive/one_of.rb#10 def initialize(*_arg0, **_arg1, &_arg2); end end -# source://graphql/lib/graphql/schema/directive/one_of.rb#16 +# source://graphql//lib/graphql/schema/directive/one_of.rb#16 module GraphQL::Schema::Directive::OneOf::IsOneOf # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive/one_of.rb#17 + # source://graphql//lib/graphql/schema/directive/one_of.rb#17 def one_of?; end end -# source://graphql/lib/graphql/schema/directive.rb#130 +# source://graphql//lib/graphql/schema/directive.rb#130 GraphQL::Schema::Directive::QUERY = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#138 +# source://graphql//lib/graphql/schema/directive.rb#138 GraphQL::Schema::Directive::SCALAR = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#137 +# source://graphql//lib/graphql/schema/directive.rb#137 GraphQL::Schema::Directive::SCHEMA = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#132 +# source://graphql//lib/graphql/schema/directive.rb#132 GraphQL::Schema::Directive::SUBSCRIPTION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive/skip.rb#5 +# source://graphql//lib/graphql/schema/directive/skip.rb#5 class GraphQL::Schema::Directive::Skip < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self # @return [Boolean] # - # source://graphql/lib/graphql/schema/directive/skip.rb#19 + # source://graphql//lib/graphql/schema/directive/skip.rb#19 def static_include?(args, ctx); end end end -# source://graphql/lib/graphql/schema/directive/specified_by.rb#5 +# source://graphql//lib/graphql/schema/directive/specified_by.rb#5 class GraphQL::Schema::Directive::SpecifiedBy < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments end @@ -9504,37 +9508,37 @@ end # username @transform(by: "upcase") # } # -# source://graphql/lib/graphql/schema/directive/transform.rb#20 +# source://graphql//lib/graphql/schema/directive/transform.rb#20 class GraphQL::Schema::Directive::Transform < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self # Implement the Directive API # - # source://graphql/lib/graphql/schema/directive/transform.rb#36 + # source://graphql//lib/graphql/schema/directive/transform.rb#36 def resolve(object, arguments, context); end end end -# source://graphql/lib/graphql/schema/directive/transform.rb#30 +# source://graphql//lib/graphql/schema/directive/transform.rb#30 GraphQL::Schema::Directive::Transform::TRANSFORMS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/directive.rb#143 +# source://graphql//lib/graphql/schema/directive.rb#143 GraphQL::Schema::Directive::UNION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema/directive.rb#148 +# source://graphql//lib/graphql/schema/directive.rb#148 GraphQL::Schema::Directive::VARIABLE_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql/lib/graphql/schema.rb#80 +# source://graphql//lib/graphql/schema.rb#80 class GraphQL::Schema::DuplicateNamesError < ::GraphQL::Error # @return [DuplicateNamesError] a new instance of DuplicateNamesError # - # source://graphql/lib/graphql/schema.rb#82 + # source://graphql//lib/graphql/schema.rb#82 def initialize(duplicated_name:, duplicated_definition_1:, duplicated_definition_2:); end # Returns the value of attribute duplicated_name. # - # source://graphql/lib/graphql/schema.rb#81 + # source://graphql//lib/graphql/schema.rb#81 def duplicated_name; end end @@ -9556,14 +9560,14 @@ end # value :PEPPERS # end # -# source://graphql/lib/graphql/schema/enum.rb#22 +# source://graphql//lib/graphql/schema/enum.rb#22 class GraphQL::Schema::Enum < ::GraphQL::Schema::Member extend ::GraphQL::Schema::Member::ValidatesInput class << self # @return [Array] An unfiltered list of all definitions # - # source://graphql/lib/graphql/schema/enum.rb#123 + # source://graphql//lib/graphql/schema/enum.rb#123 def all_enum_value_definitions; end # Called by the runtime with incoming string representations from a query. @@ -9574,7 +9578,7 @@ class GraphQL::Schema::Enum < ::GraphQL::Schema::Member # @raise [GraphQL::UnauthorizedEnumValueError] if an {EnumValue} matches but returns false for `.authorized?`. Goes to {Schema.unauthorized_object}. # @return [Object] The Ruby value for the matched {GraphQL::Schema::EnumValue} # - # source://graphql/lib/graphql/schema/enum.rb#197 + # source://graphql//lib/graphql/schema/enum.rb#197 def coerce_input(value_name, ctx); end # Called by the runtime when a field returns a value to give back to the client. @@ -9585,28 +9589,28 @@ class GraphQL::Schema::Enum < ::GraphQL::Schema::Member # @raise [GraphQL::Schema::Enum::UnresolvedValueError] if {value} doesn't match a configured value or if the matching value isn't authorized. # @return [String] The GraphQL-ready string for {value} # - # source://graphql/lib/graphql/schema/enum.rb#180 + # source://graphql//lib/graphql/schema/enum.rb#180 def coerce_result(value, ctx); end # @return [Class] for handling `value(...)` inputs and building `GraphQL::Enum::EnumValue`s out of them # - # source://graphql/lib/graphql/schema/enum.rb#147 + # source://graphql//lib/graphql/schema/enum.rb#147 def enum_value_class(new_enum_value_class = T.unsafe(nil)); end # @return [Array] Possible values of this enum # - # source://graphql/lib/graphql/schema/enum.rb#86 + # source://graphql//lib/graphql/schema/enum.rb#86 def enum_values(context = T.unsafe(nil)); end # @private # - # source://graphql/lib/graphql/schema/enum.rb#212 + # source://graphql//lib/graphql/schema/enum.rb#212 def inherited(child_class); end - # source://graphql/lib/graphql/schema/enum.rb#157 + # source://graphql//lib/graphql/schema/enum.rb#157 def kind; end - # source://graphql/lib/graphql/schema/enum.rb#161 + # source://graphql//lib/graphql/schema/enum.rb#161 def validate_non_null_input(value_name, ctx, max_errors: T.unsafe(nil)); end # Define a value for this enum @@ -9620,17 +9624,17 @@ class GraphQL::Schema::Enum < ::GraphQL::Schema::Member # @return [void] # @see {Schema::EnumValue} which handles these inputs by default # - # source://graphql/lib/graphql/schema/enum.rb#67 + # source://graphql//lib/graphql/schema/enum.rb#67 def value(*args, **kwargs, &block); end # @return [Hash GraphQL::Schema::EnumValue>] Possible values of this enum, keyed by name. # - # source://graphql/lib/graphql/schema/enum.rb#142 + # source://graphql//lib/graphql/schema/enum.rb#142 def values(context = T.unsafe(nil)); end private - # source://graphql/lib/graphql/schema/enum.rb#223 + # source://graphql//lib/graphql/schema/enum.rb#223 def own_values; end end end @@ -9638,11 +9642,11 @@ end # Raised when a {GraphQL::Schema::Enum} is defined to have no values. # This can also happen when all values return false for `.visible?`. # -# source://graphql/lib/graphql/schema/enum.rb#51 +# source://graphql//lib/graphql/schema/enum.rb#51 class GraphQL::Schema::Enum::MissingValuesError < ::GraphQL::Error # @return [MissingValuesError] a new instance of MissingValuesError # - # source://graphql/lib/graphql/schema/enum.rb#52 + # source://graphql//lib/graphql/schema/enum.rb#52 def initialize(enum_type); end end @@ -9655,11 +9659,11 @@ end # # {GraphQL::Schema::Enum} subclasses get their own subclass of this error, so that bug trackers can better show where they came from. # -# source://graphql/lib/graphql/schema/enum.rb#33 +# source://graphql//lib/graphql/schema/enum.rb#33 class GraphQL::Schema::Enum::UnresolvedValueError < ::GraphQL::Error # @return [UnresolvedValueError] a new instance of UnresolvedValueError # - # source://graphql/lib/graphql/schema/enum.rb#34 + # source://graphql//lib/graphql/schema/enum.rb#34 def initialize(value:, enum:, context:, authorized:); end end @@ -9681,7 +9685,7 @@ end # enum_value_class CustomEnumValue # end # -# source://graphql/lib/graphql/schema/enum_value.rb#22 +# source://graphql//lib/graphql/schema/enum_value.rb#22 class GraphQL::Schema::EnumValue < ::GraphQL::Schema::Member include ::GraphQL::Schema::Member::HasPath include ::GraphQL::Schema::Member::HasAstNode @@ -9690,43 +9694,43 @@ class GraphQL::Schema::EnumValue < ::GraphQL::Schema::Member # @return [EnumValue] a new instance of EnumValue # - # source://graphql/lib/graphql/schema/enum_value.rb#33 + # source://graphql//lib/graphql/schema/enum_value.rb#33 def initialize(graphql_name, desc = T.unsafe(nil), owner:, ast_node: T.unsafe(nil), directives: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), value: T.unsafe(nil), deprecation_reason: T.unsafe(nil), &block); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/enum_value.rb#81 + # source://graphql//lib/graphql/schema/enum_value.rb#81 def authorized?(_ctx); end - # source://graphql/lib/graphql/schema/enum_value.rb#62 + # source://graphql//lib/graphql/schema/enum_value.rb#62 def comment(new_comment = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/enum_value.rb#55 + # source://graphql//lib/graphql/schema/enum_value.rb#55 def description(new_desc = T.unsafe(nil)); end # Returns the value of attribute graphql_name. # - # source://graphql/lib/graphql/schema/enum_value.rb#28 + # source://graphql//lib/graphql/schema/enum_value.rb#28 def graphql_name; end - # source://graphql/lib/graphql/schema/enum_value.rb#76 + # source://graphql//lib/graphql/schema/enum_value.rb#76 def inspect; end # @return [Class] The enum type that owns this value # - # source://graphql/lib/graphql/schema/enum_value.rb#31 + # source://graphql//lib/graphql/schema/enum_value.rb#31 def owner; end - # source://graphql/lib/graphql/schema/enum_value.rb#69 + # source://graphql//lib/graphql/schema/enum_value.rb#69 def value(new_val = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/enum_value.rb#80 + # source://graphql//lib/graphql/schema/enum_value.rb#80 def visible?(_ctx); end end -# source://graphql/lib/graphql/schema/field/connection_extension.rb#5 +# source://graphql//lib/graphql/schema/field/connection_extension.rb#5 class GraphQL::Schema::Field include ::GraphQL::Schema::Member::HasArguments include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader @@ -9773,12 +9777,12 @@ class GraphQL::Schema::Field # @param fallback_value [Object] A fallback value if the method is not defined # @return [Field] a new instance of Field # - # source://graphql/lib/graphql/schema/field.rb#244 + # source://graphql//lib/graphql/schema/field.rb#244 def initialize(type: T.unsafe(nil), name: T.unsafe(nil), owner: T.unsafe(nil), null: T.unsafe(nil), description: T.unsafe(nil), comment: T.unsafe(nil), deprecation_reason: T.unsafe(nil), method: T.unsafe(nil), hash_key: T.unsafe(nil), dig: T.unsafe(nil), resolver_method: T.unsafe(nil), connection: T.unsafe(nil), max_page_size: T.unsafe(nil), default_page_size: T.unsafe(nil), scope: T.unsafe(nil), introspection: T.unsafe(nil), camelize: T.unsafe(nil), trace: T.unsafe(nil), complexity: T.unsafe(nil), ast_node: T.unsafe(nil), extras: T.unsafe(nil), extensions: T.unsafe(nil), connection_extension: T.unsafe(nil), resolver_class: T.unsafe(nil), subscription_scope: T.unsafe(nil), relay_node_field: T.unsafe(nil), relay_nodes_field: T.unsafe(nil), method_conflict_warning: T.unsafe(nil), broadcastable: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), validates: T.unsafe(nil), fallback_value: T.unsafe(nil), dynamic_introspection: T.unsafe(nil), &definition_block); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/field.rb#647 + # source://graphql//lib/graphql/schema/field.rb#647 def authorized?(object, args, context); end # If true, subscription updates with this field can be shared between viewers @@ -9786,64 +9790,64 @@ class GraphQL::Schema::Field # @return [Boolean, nil] # @see GraphQL::Subscriptions::BroadcastAnalyzer # - # source://graphql/lib/graphql/schema/field.rb#386 + # source://graphql//lib/graphql/schema/field.rb#386 def broadcastable?; end - # source://graphql/lib/graphql/schema/field.rb#499 + # source://graphql//lib/graphql/schema/field.rb#499 def calculate_complexity(query:, nodes:, child_complexity:); end # @param text [String] # @return [String, nil] # - # source://graphql/lib/graphql/schema/field.rb#412 + # source://graphql//lib/graphql/schema/field.rb#412 def comment(text = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/field.rb#549 + # source://graphql//lib/graphql/schema/field.rb#549 def complexity(new_complexity = T.unsafe(nil)); end # Can be set with `connection: true|false` or inferred from a type name ending in `*Connection` # # @return [Boolean] if true, this field will be wrapped with Relay connection behavior # - # source://graphql/lib/graphql/schema/field.rb#146 + # source://graphql//lib/graphql/schema/field.rb#146 def connection?; end # @return [Integer, nil] Applied to connections if {#has_default_page_size?} # - # source://graphql/lib/graphql/schema/field.rb#595 + # source://graphql//lib/graphql/schema/field.rb#595 def default_page_size; end # @param text [String] # @return [String] # - # source://graphql/lib/graphql/schema/field.rb#398 + # source://graphql//lib/graphql/schema/field.rb#398 def description(text = T.unsafe(nil)); end # Sets the attribute description # # @param value the value to set the attribute description to. # - # source://graphql/lib/graphql/schema/field.rb#24 + # source://graphql//lib/graphql/schema/field.rb#24 def description=(_arg0); end # Returns the value of attribute dig_keys. # - # source://graphql/lib/graphql/schema/field.rb#33 + # source://graphql//lib/graphql/schema/field.rb#33 def dig_keys; end - # source://graphql/lib/graphql/schema/field.rb#44 + # source://graphql//lib/graphql/schema/field.rb#44 def directives; end # Returns the value of attribute dynamic_introspection. # - # source://graphql/lib/graphql/schema/field.rb#381 + # source://graphql//lib/graphql/schema/field.rb#381 def dynamic_introspection; end # Sets the attribute dynamic_introspection # # @param value the value to set the attribute dynamic_introspection to. # - # source://graphql/lib/graphql/schema/field.rb#381 + # source://graphql//lib/graphql/schema/field.rb#381 def dynamic_introspection=(_arg0); end # Calls the definition block, if one was given. @@ -9853,7 +9857,7 @@ class GraphQL::Schema::Field # @api private # @return [self] # - # source://graphql/lib/graphql/schema/field.rb#367 + # source://graphql//lib/graphql/schema/field.rb#367 def ensure_loaded; end # Add `extension` to this field, initialized with `options` if provided. @@ -9866,7 +9870,7 @@ class GraphQL::Schema::Field # @param options [Hash] if provided, given as `options:` when initializing `extension`. # @return [void] # - # source://graphql/lib/graphql/schema/field.rb#464 + # source://graphql//lib/graphql/schema/field.rb#464 def extension(extension_class, **options); end # Read extension instances from this field, @@ -9882,7 +9886,7 @@ class GraphQL::Schema::Field # @param extensions [Array Hash>>] Add extensions to this field. For hash elements, only the first key/value is used. # @return [Array] extensions to apply to this field # - # source://graphql/lib/graphql/schema/field.rb#439 + # source://graphql//lib/graphql/schema/field.rb#439 def extensions(new_extensions = T.unsafe(nil)); end # Read extras (as symbols) from this field, @@ -9891,100 +9895,100 @@ class GraphQL::Schema::Field # @param new_extras [Array] Add extras to this field # @return [Array] # - # source://graphql/lib/graphql/schema/field.rb#481 + # source://graphql//lib/graphql/schema/field.rb#481 def extras(new_extras = T.unsafe(nil)); end # @param ctx [GraphQL::Query::Context] # - # source://graphql/lib/graphql/schema/field.rb#802 + # source://graphql//lib/graphql/schema/field.rb#802 def fetch_extra(extra_name, ctx); end # @return [String] the GraphQL name for this field, camelized unless `camelize: false` is provided # - # source://graphql/lib/graphql/schema/field.rb#21 + # source://graphql//lib/graphql/schema/field.rb#22 def graphql_name; end # @return [Boolean] True if this field's {#default_page_size} should override the schema default. # - # source://graphql/lib/graphql/schema/field.rb#590 + # source://graphql//lib/graphql/schema/field.rb#590 def has_default_page_size?; end # @return [Boolean] True if this field's {#max_page_size} should override the schema default. # - # source://graphql/lib/graphql/schema/field.rb#574 + # source://graphql//lib/graphql/schema/field.rb#574 def has_max_page_size?; end # Returns the value of attribute hash_key. # - # source://graphql/lib/graphql/schema/field.rb#32 + # source://graphql//lib/graphql/schema/field.rb#32 def hash_key; end - # source://graphql/lib/graphql/schema/field.rb#83 + # source://graphql//lib/graphql/schema/field.rb#83 def inspect; end # @return [Boolean] Is this field a predefined introspection field? # - # source://graphql/lib/graphql/schema/field.rb#79 + # source://graphql//lib/graphql/schema/field.rb#79 def introspection?; end # @return [Integer, nil] Applied to connections if {#has_max_page_size?} # - # source://graphql/lib/graphql/schema/field.rb#579 + # source://graphql//lib/graphql/schema/field.rb#579 def max_page_size; end # @return [Boolean] Should we warn if this field's name conflicts with a built-in method? # - # source://graphql/lib/graphql/schema/field.rb#210 + # source://graphql//lib/graphql/schema/field.rb#210 def method_conflict_warning?; end # @return [String] Method or hash key on the underlying object to look up # - # source://graphql/lib/graphql/schema/field.rb#30 + # source://graphql//lib/graphql/schema/field.rb#30 def method_str; end # @return [Symbol] Method or hash key on the underlying object to look up # - # source://graphql/lib/graphql/schema/field.rb#27 + # source://graphql//lib/graphql/schema/field.rb#27 def method_sym; end # @return [Class, nil] The {Schema::Resolver} this field was derived from, if there is one # - # source://graphql/lib/graphql/schema/field.rb#74 + # source://graphql//lib/graphql/schema/field.rb#87 def mutation; end # @return [String] the GraphQL name for this field, camelized unless `camelize: false` is provided # - # source://graphql/lib/graphql/schema/field.rb#21 + # source://graphql//lib/graphql/schema/field.rb#21 def name; end # @return [Symbol] the original name of the field, passed in by the user # - # source://graphql/lib/graphql/schema/field.rb#71 + # source://graphql//lib/graphql/schema/field.rb#71 def original_name; end # @return [Class] The thing this field was defined on (type, mutation, resolver) # - # source://graphql/lib/graphql/schema/field.rb#57 + # source://graphql//lib/graphql/schema/field.rb#57 def owner; end # @return [Class] The thing this field was defined on (type, mutation, resolver) # - # source://graphql/lib/graphql/schema/field.rb#57 + # source://graphql//lib/graphql/schema/field.rb#57 def owner=(_arg0); end # @return [Class] The GraphQL type this field belongs to. (For fields defined on mutations, it's the payload type) # - # source://graphql/lib/graphql/schema/field.rb#60 + # source://graphql//lib/graphql/schema/field.rb#60 def owner_type; end # @return Boolean # - # source://graphql/lib/graphql/schema/field.rb#205 + # source://graphql//lib/graphql/schema/field.rb#205 def relay_node_field; end # @return Boolean # - # source://graphql/lib/graphql/schema/field.rb#207 + # source://graphql//lib/graphql/schema/field.rb#207 def relay_nodes_field; end # This method is called by the interpreter for each field. @@ -9994,39 +9998,39 @@ class GraphQL::Schema::Field # @param args [Hash] A symbol-keyed hash of Ruby keyword arguments. (Empty if no args) # @param ctx [GraphQL::Query::Context] # - # source://graphql/lib/graphql/schema/field.rb#696 + # source://graphql//lib/graphql/schema/field.rb#696 def resolve(object, args, query_ctx); end # @return [Class, nil] The {Schema::Resolver} this field was derived from, if there is one # - # source://graphql/lib/graphql/schema/field.rb#74 + # source://graphql//lib/graphql/schema/field.rb#74 def resolver; end # @return [Symbol] The method on the type to look up # - # source://graphql/lib/graphql/schema/field.rb#36 + # source://graphql//lib/graphql/schema/field.rb#36 def resolver_method; end # @return [Boolean] if true, the return type's `.scope_items` method will be applied to this field's return value # - # source://graphql/lib/graphql/schema/field.rb#169 + # source://graphql//lib/graphql/schema/field.rb#169 def scoped?; end # @return [String, nil] # - # source://graphql/lib/graphql/schema/field.rb#93 + # source://graphql//lib/graphql/schema/field.rb#93 def subscription_scope; end # Sets the attribute subscription_scope # # @param value the value to set the attribute subscription_scope to. # - # source://graphql/lib/graphql/schema/field.rb#96 + # source://graphql//lib/graphql/schema/field.rb#96 def subscription_scope=(_arg0); end # @return [Boolean] Apply tracing to this field? (Default: skip scalars, this is the override value) # - # source://graphql/lib/graphql/schema/field.rb#90 + # source://graphql//lib/graphql/schema/field.rb#90 def trace; end # Get or set the return type of this field. @@ -10036,33 +10040,33 @@ class GraphQL::Schema::Field # @param new_type [Module, GraphQL::Schema::NonNull, GraphQL::Schema::List] A GraphQL return type # @return [Module, GraphQL::Schema::NonNull, GraphQL::Schema::List, nil] the configured type for this field # - # source://graphql/lib/graphql/schema/field.rb#613 + # source://graphql//lib/graphql/schema/field.rb#613 def type(new_type = T.unsafe(nil)); end # Sets the attribute type # # @param value the value to set the attribute type to. # - # source://graphql/lib/graphql/schema/field.rb#606 + # source://graphql//lib/graphql/schema/field.rb#606 def type=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/field.rb#639 + # source://graphql//lib/graphql/schema/field.rb#639 def visible?(context); end private - # source://graphql/lib/graphql/schema/field.rb#924 + # source://graphql//lib/graphql/schema/field.rb#924 def apply_own_complexity_to(child_complexity, query, nodes); end - # source://graphql/lib/graphql/schema/field.rb#814 + # source://graphql//lib/graphql/schema/field.rb#814 def assert_satisfactory_implementation(receiver, method_name, ruby_kwargs); end - # source://graphql/lib/graphql/schema/field.rb#901 + # source://graphql//lib/graphql/schema/field.rb#901 def run_extensions_before_resolve(obj, args, ctx, extended, idx: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/field.rb#942 + # source://graphql//lib/graphql/schema/field.rb#942 def set_pagination_extensions(connection_extension:); end # Wrap execution with hooks. @@ -10070,7 +10074,7 @@ class GraphQL::Schema::Field # # @return [Object] Whatever the # - # source://graphql/lib/graphql/schema/field.rb#868 + # source://graphql//lib/graphql/schema/field.rb#868 def with_extensions(obj, args, ctx); end class << self @@ -10084,7 +10088,7 @@ class GraphQL::Schema::Field # end # @return [Class] A {FieldExtension} subclass for implementing pagination behavior. # - # source://graphql/lib/graphql/schema/field.rb#196 + # source://graphql//lib/graphql/schema/field.rb#196 def connection_extension(new_extension_class = T.unsafe(nil)); end # Create a field instance from a list of arguments, keyword arguments, and a block. @@ -10100,92 +10104,92 @@ class GraphQL::Schema::Field # @return [GraphQL::Schema:Field] an instance of `self` # @see {.initialize} for other options # - # source://graphql/lib/graphql/schema/field.rb#109 + # source://graphql//lib/graphql/schema/field.rb#109 def from_options(name = T.unsafe(nil), type = T.unsafe(nil), desc = T.unsafe(nil), comment: T.unsafe(nil), resolver: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), **kwargs, &block); end end end -# source://graphql/lib/graphql/schema/field/connection_extension.rb#6 +# source://graphql//lib/graphql/schema/field/connection_extension.rb#6 class GraphQL::Schema::Field::ConnectionExtension < ::GraphQL::Schema::FieldExtension - # source://graphql/lib/graphql/schema/field/connection_extension.rb#24 + # source://graphql//lib/graphql/schema/field/connection_extension.rb#24 def after_resolve(value:, object:, arguments:, context:, memo:); end - # source://graphql/lib/graphql/schema/field/connection_extension.rb#7 + # source://graphql//lib/graphql/schema/field/connection_extension.rb#7 def apply; end # Remove pagination args before passing it to a user method # # @yield [object, next_args, arguments] # - # source://graphql/lib/graphql/schema/field/connection_extension.rb#15 + # source://graphql//lib/graphql/schema/field/connection_extension.rb#15 def resolve(object:, arguments:, context:); end end -# source://graphql/lib/graphql/schema/field.rb#854 +# source://graphql//lib/graphql/schema/field.rb#854 class GraphQL::Schema::Field::ExtendedState # @return [ExtendedState] a new instance of ExtendedState # - # source://graphql/lib/graphql/schema/field.rb#855 + # source://graphql//lib/graphql/schema/field.rb#855 def initialize(args, object); end # Returns the value of attribute added_extras. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def added_extras; end # Sets the attribute added_extras # # @param value the value to set the attribute added_extras to. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def added_extras=(_arg0); end # Returns the value of attribute arguments. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def arguments; end # Sets the attribute arguments # # @param value the value to set the attribute arguments to. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def arguments=(_arg0); end # Returns the value of attribute memos. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def memos; end # Sets the attribute memos # # @param value the value to set the attribute memos to. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def memos=(_arg0); end # Returns the value of attribute object. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def object; end # Sets the attribute object # # @param value the value to set the attribute object to. # - # source://graphql/lib/graphql/schema/field.rb#862 + # source://graphql//lib/graphql/schema/field.rb#862 def object=(_arg0); end end -# source://graphql/lib/graphql/schema/field.rb#18 +# source://graphql//lib/graphql/schema/field.rb#18 class GraphQL::Schema::Field::FieldImplementationFailed < ::GraphQL::Error; end -# source://graphql/lib/graphql/schema/field.rb#605 +# source://graphql//lib/graphql/schema/field.rb#605 class GraphQL::Schema::Field::MissingReturnTypeError < ::GraphQL::Error; end -# source://graphql/lib/graphql/schema/field/scope_extension.rb#6 +# source://graphql//lib/graphql/schema/field/scope_extension.rb#6 class GraphQL::Schema::Field::ScopeExtension < ::GraphQL::Schema::FieldExtension - # source://graphql/lib/graphql/schema/field/scope_extension.rb#7 + # source://graphql//lib/graphql/schema/field/scope_extension.rb#7 def after_resolve(object:, arguments:, context:, value:, memo:); end end @@ -10197,7 +10201,7 @@ end # The instance is frozen so that instance variables aren't modified during query execution, # which could cause all kinds of issues due to race conditions. # -# source://graphql/lib/graphql/schema/field_extension.rb#11 +# source://graphql//lib/graphql/schema/field_extension.rb#11 class GraphQL::Schema::FieldExtension # Called when the extension is mounted with `extension(name, options)`. # The instance will be frozen to avoid improper use of state during execution. @@ -10206,17 +10210,17 @@ class GraphQL::Schema::FieldExtension # @param options [Object] The second argument to `extension`, or `{}` if nothing was passed. # @return [FieldExtension] a new instance of FieldExtension # - # source://graphql/lib/graphql/schema/field_extension.rb#25 + # source://graphql//lib/graphql/schema/field_extension.rb#25 def initialize(field:, options:); end # @return [Array, nil] `default_argument`s added, if any were added (otherwise, `nil`) # - # source://graphql/lib/graphql/schema/field_extension.rb#19 + # source://graphql//lib/graphql/schema/field_extension.rb#19 def added_default_arguments; end # @api private # - # source://graphql/lib/graphql/schema/field_extension.rb#117 + # source://graphql//lib/graphql/schema/field_extension.rb#117 def added_extras; end # Called after the field's definition block has been executed. @@ -10224,12 +10228,12 @@ class GraphQL::Schema::FieldExtension # # @return [void] # - # source://graphql/lib/graphql/schema/field_extension.rb#88 + # source://graphql//lib/graphql/schema/field_extension.rb#88 def after_define; end # @api private # - # source://graphql/lib/graphql/schema/field_extension.rb#92 + # source://graphql//lib/graphql/schema/field_extension.rb#92 def after_define_apply; end # Called after {#field} was resolved, and after any lazy values (like `Promise`s) were synced, @@ -10244,7 +10248,7 @@ class GraphQL::Schema::FieldExtension # @param memo [Object] The third value yielded by {#resolve}, or `nil` if there wasn't one # @return [Object] The return value for this field. # - # source://graphql/lib/graphql/schema/field_extension.rb#148 + # source://graphql//lib/graphql/schema/field_extension.rb#148 def after_resolve(object:, arguments:, context:, value:, memo:); end # Called when this extension is attached to a field. @@ -10252,17 +10256,17 @@ class GraphQL::Schema::FieldExtension # # @return [void] # - # source://graphql/lib/graphql/schema/field_extension.rb#82 + # source://graphql//lib/graphql/schema/field_extension.rb#82 def apply; end # @return [GraphQL::Schema::Field] # - # source://graphql/lib/graphql/schema/field_extension.rb#13 + # source://graphql//lib/graphql/schema/field_extension.rb#13 def field; end # @return [Object] # - # source://graphql/lib/graphql/schema/field_extension.rb#16 + # source://graphql//lib/graphql/schema/field_extension.rb#16 def options; end # Called before resolving {#field}. It should either: @@ -10280,19 +10284,19 @@ class GraphQL::Schema::FieldExtension # @yieldparam arguments [Hash] The keyword arguments to continue resolving with # @yieldparam memo [Object] Any extension-specific value which will be passed to {#after_resolve} later # - # source://graphql/lib/graphql/schema/field_extension.rb#133 + # source://graphql//lib/graphql/schema/field_extension.rb#133 def resolve(object:, arguments:, context:); end class << self # @see Argument#initialize # @see HasArguments#argument # - # source://graphql/lib/graphql/schema/field_extension.rb#48 + # source://graphql//lib/graphql/schema/field_extension.rb#48 def default_argument(*argument_args, **argument_kwargs); end # @return [Array(Array, Hash), nil] A list of default argument configs, or `nil` if there aren't any # - # source://graphql/lib/graphql/schema/field_extension.rb#34 + # source://graphql//lib/graphql/schema/field_extension.rb#34 def default_argument_configurations; end # If configured, these `extras` will be added to the field if they aren't already present, @@ -10302,29 +10306,29 @@ class GraphQL::Schema::FieldExtension # @param new_extras [Array] If provided, assign extras used by this extension # @return [Array] any extras assigned to this extension # - # source://graphql/lib/graphql/schema/field_extension.rb#59 + # source://graphql//lib/graphql/schema/field_extension.rb#59 def extras(new_extras = T.unsafe(nil)); end end end -# source://graphql/lib/graphql/schema/find_inherited_value.rb#4 +# source://graphql//lib/graphql/schema/find_inherited_value.rb#4 module GraphQL::Schema::FindInheritedValue include ::GraphQL::EmptyObjects private - # source://graphql/lib/graphql/schema/find_inherited_value.rb#15 + # source://graphql//lib/graphql/schema/find_inherited_value.rb#15 def find_inherited_value(method_name, default_value = T.unsafe(nil)); end class << self # @private # - # source://graphql/lib/graphql/schema/find_inherited_value.rb#5 + # source://graphql//lib/graphql/schema/find_inherited_value.rb#5 def extended(child_cls); end # @private # - # source://graphql/lib/graphql/schema/find_inherited_value.rb#9 + # source://graphql//lib/graphql/schema/find_inherited_value.rb#9 def included(child_cls); end end end @@ -10340,87 +10344,87 @@ end # @example Finding directives # MySchema.find("@include") # -# source://graphql/lib/graphql/schema/finder.rb#19 +# source://graphql//lib/graphql/schema/finder.rb#19 class GraphQL::Schema::Finder # @return [Finder] a new instance of Finder # - # source://graphql/lib/graphql/schema/finder.rb#22 + # source://graphql//lib/graphql/schema/finder.rb#22 def initialize(schema); end - # source://graphql/lib/graphql/schema/finder.rb#26 + # source://graphql//lib/graphql/schema/finder.rb#26 def find(path); end private - # source://graphql/lib/graphql/schema/finder.rb#57 + # source://graphql//lib/graphql/schema/finder.rb#57 def find_in_directive(directive, path:); end - # source://graphql/lib/graphql/schema/finder.rb#137 + # source://graphql//lib/graphql/schema/finder.rb#137 def find_in_enum_type(enum_type, path:); end - # source://graphql/lib/graphql/schema/finder.rb#103 + # source://graphql//lib/graphql/schema/finder.rb#103 def find_in_field(field, path:); end - # source://graphql/lib/graphql/schema/finder.rb#90 + # source://graphql//lib/graphql/schema/finder.rb#90 def find_in_fields_type(type, kind:, path:); end - # source://graphql/lib/graphql/schema/finder.rb#120 + # source://graphql//lib/graphql/schema/finder.rb#120 def find_in_input_object(input_object, path:); end - # source://graphql/lib/graphql/schema/finder.rb#68 + # source://graphql//lib/graphql/schema/finder.rb#68 def find_in_type(type, path:); end # Returns the value of attribute schema. # - # source://graphql/lib/graphql/schema/finder.rb#55 + # source://graphql//lib/graphql/schema/finder.rb#55 def schema; end end -# source://graphql/lib/graphql/schema/finder.rb#20 +# source://graphql//lib/graphql/schema/finder.rb#20 class GraphQL::Schema::Finder::MemberNotFoundError < ::ArgumentError; end -# source://graphql/lib/graphql/schema/has_single_input_argument.rb#5 +# source://graphql//lib/graphql/schema/has_single_input_argument.rb#5 module GraphQL::Schema::HasSingleInputArgument mixes_in_class_methods ::GraphQL::Schema::HasSingleInputArgument::ClassMethods - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#6 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#6 def resolve_with_support(**inputs); end private - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#152 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#152 def authorize_arguments(args, values); end class << self # @private # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#42 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#42 def included(base); end end end -# source://graphql/lib/graphql/schema/has_single_input_argument.rb#46 +# source://graphql//lib/graphql/schema/has_single_input_argument.rb#46 module GraphQL::Schema::HasSingleInputArgument::ClassMethods - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#74 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#74 def all_field_argument_definitions; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#70 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#70 def any_field_arguments?; end # Also apply this argument to the input type: # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#79 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#79 def argument(*args, own_argument: T.unsafe(nil), **kwargs, &block); end - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#47 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#47 def dummy; end - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#58 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#58 def field_arguments(context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#62 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#62 def get_field_argument(name, context = T.unsafe(nil)); end # The base class for generated input object types @@ -10428,16 +10432,16 @@ module GraphQL::Schema::HasSingleInputArgument::ClassMethods # @param new_class [Class] The base class to use for generating input object definitions # @return [Class] The base class for this mutation's generated input object (default is {GraphQL::Schema::InputObject}) # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#105 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#105 def input_object_class(new_class = T.unsafe(nil)); end # @param new_input_type [Class, nil] If provided, it configures this mutation to accept `new_input_type` instead of generating an input type # @return [Class] The generated {Schema::InputObject} class for this mutation's `input` # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#114 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#114 def input_type(new_input_type = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#66 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#66 def own_field_arguments; end private @@ -10447,11 +10451,11 @@ module GraphQL::Schema::HasSingleInputArgument::ClassMethods # # @return [Class] a subclass of {.input_object_class} # - # source://graphql/lib/graphql/schema/has_single_input_argument.rb#126 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#126 def generate_input_type; end end -# source://graphql/lib/graphql/schema/input_object.rb#4 +# source://graphql//lib/graphql/schema/input_object.rb#4 class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader include ::GraphQL::Dig @@ -10466,7 +10470,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # @return [InputObject] a new instance of InputObject # - # source://graphql/lib/graphql/schema/input_object.rb#29 + # source://graphql//lib/graphql/schema/input_object.rb#29 def initialize(arguments, ruby_kwargs:, context:, defaults_used:); end # Lookup a key on this object, it accepts new-style underscored symbols @@ -10474,133 +10478,133 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # # @param key [Symbol, String] # - # source://graphql/lib/graphql/schema/input_object.rb#95 + # source://graphql//lib/graphql/schema/input_object.rb#95 def [](key); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def any?(*args, **_arg1, &block); end # @return [GraphQL::Execution::Interpereter::Arguments] The underlying arguments instance # - # source://graphql/lib/graphql/schema/input_object.rb#24 + # source://graphql//lib/graphql/schema/input_object.rb#24 def arguments; end # @return [GraphQL::Query::Context] The context for this query # - # source://graphql/lib/graphql/schema/input_object.rb#22 + # source://graphql//lib/graphql/schema/input_object.rb#22 def context; end - # source://graphql/lib/graphql/schema/input_object.rb#56 + # source://graphql//lib/graphql/schema/input_object.rb#56 def deconstruct_keys(keys = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def empty?(*args, **_arg1, &block); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/input_object.rb#105 + # source://graphql//lib/graphql/schema/input_object.rb#105 def key?(key); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def keys(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def map(*args, **_arg1, &block); end - # source://graphql/lib/graphql/schema/input_object.rb#66 + # source://graphql//lib/graphql/schema/input_object.rb#66 def prepare; end - # source://graphql/lib/graphql/schema/input_object.rb#48 + # source://graphql//lib/graphql/schema/input_object.rb#48 def to_h; end - # source://graphql/lib/graphql/schema/input_object.rb#52 + # source://graphql//lib/graphql/schema/input_object.rb#52 def to_hash; end # A copy of the Ruby-style hash # - # source://graphql/lib/graphql/schema/input_object.rb#110 + # source://graphql//lib/graphql/schema/input_object.rb#110 def to_kwargs; end - # source://graphql/lib/graphql/schema/input_object.rb#77 + # source://graphql//lib/graphql/schema/input_object.rb#77 def unwrap_value(value); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#27 def values(*args, **_arg1, &block); end private - # source://graphql/lib/graphql/schema/input_object.rb#300 + # source://graphql//lib/graphql/schema/input_object.rb#300 def overwrite_argument(key, value); end class << self - # source://graphql/lib/graphql/schema/input_object.rb#142 + # source://graphql//lib/graphql/schema/input_object.rb#142 def argument(*args, **kwargs, &block); end - # source://graphql/lib/graphql/schema/input_object.rb#279 + # source://graphql//lib/graphql/schema/input_object.rb#279 def arguments(context = T.unsafe(nil), require_defined_arguments = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/input_object.rb#115 + # source://graphql//lib/graphql/schema/input_object.rb#115 def authorized?(obj, value, ctx); end - # source://graphql/lib/graphql/schema/input_object.rb#229 + # source://graphql//lib/graphql/schema/input_object.rb#229 def coerce_input(value, ctx); end # It's funny to think of a _result_ of an input object. # This is used for rendering the default value in introspection responses. # - # source://graphql/lib/graphql/schema/input_object.rb#247 + # source://graphql//lib/graphql/schema/input_object.rb#247 def coerce_result(value, ctx); end # @param new_has_no_arguments [Boolean] Call with `true` to make this InputObject type ignore the requirement to have any defined arguments. # @return [void] # - # source://graphql/lib/graphql/schema/input_object.rb#269 + # source://graphql//lib/graphql/schema/input_object.rb#269 def has_no_arguments(new_has_no_arguments); end # @return [Boolean] `true` if `has_no_arguments(true)` was configued # - # source://graphql/lib/graphql/schema/input_object.rb#275 + # source://graphql//lib/graphql/schema/input_object.rb#275 def has_no_arguments?; end - # source://graphql/lib/graphql/schema/input_object.rb#165 + # source://graphql//lib/graphql/schema/input_object.rb#165 def kind; end - # source://graphql/lib/graphql/schema/input_object.rb#129 + # source://graphql//lib/graphql/schema/input_object.rb#129 def one_of; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/input_object.rb#138 + # source://graphql//lib/graphql/schema/input_object.rb#138 def one_of?; end - # source://graphql/lib/graphql/schema/input_object.rb#172 + # source://graphql//lib/graphql/schema/input_object.rb#172 def validate_non_null_input(input, ctx, max_errors: T.unsafe(nil)); end private # Suppress redefinition warning for objectId arguments # - # source://graphql/lib/graphql/schema/input_object.rb#289 + # source://graphql//lib/graphql/schema/input_object.rb#289 def suppress_redefinition_warning; end end end # Raised when an InputObject doesn't have any arguments defined and hasn't explicitly opted out of this requirement # -# source://graphql/lib/graphql/schema/input_object.rb#14 +# source://graphql//lib/graphql/schema/input_object.rb#14 class GraphQL::Schema::InputObject::ArgumentsAreRequiredError < ::GraphQL::Error # @return [ArgumentsAreRequiredError] a new instance of ArgumentsAreRequiredError # - # source://graphql/lib/graphql/schema/input_object.rb#15 + # source://graphql//lib/graphql/schema/input_object.rb#15 def initialize(input_object_type); end end -# source://graphql/lib/graphql/schema/interface.rb#4 +# source://graphql//lib/graphql/schema/interface.rb#4 module GraphQL::Schema::Interface include ::GraphQL::Schema::Member::GraphQLTypeNames extend ::GraphQL::Schema::FindInheritedValue @@ -10618,11 +10622,11 @@ module GraphQL::Schema::Interface extend ::GraphQL::Schema::Member::HasInterfaces extend ::GraphQL::Schema::Interface::DefinitionMethods - # source://graphql/lib/graphql/schema/interface.rb#119 + # source://graphql//lib/graphql/schema/interface.rb#119 def unwrap; end end -# source://graphql/lib/graphql/schema/interface.rb#6 +# source://graphql//lib/graphql/schema/interface.rb#6 module GraphQL::Schema::Interface::DefinitionMethods include ::GraphQL::Schema::FindInheritedValue include ::GraphQL::EmptyObjects @@ -10642,15 +10646,15 @@ module GraphQL::Schema::Interface::DefinitionMethods # - Added as class methods to this interface # - Added as class methods to all child interfaces # - # source://graphql/lib/graphql/schema/interface.rb#22 + # source://graphql//lib/graphql/schema/interface.rb#22 def definition_methods(&block); end # Here's the tricky part. Make sure behavior keeps making its way down the inheritance chain. # - # source://graphql/lib/graphql/schema/interface.rb#49 + # source://graphql//lib/graphql/schema/interface.rb#49 def included(child_class); end - # source://graphql/lib/graphql/schema/interface.rb#112 + # source://graphql//lib/graphql/schema/interface.rb#112 def kind; end # Register other Interface or Object types as implementers of this Interface. @@ -10661,41 +10665,41 @@ module GraphQL::Schema::Interface::DefinitionMethods # @param types [Class, Module] # @return [Array] Implementers of this interface, if they're registered # - # source://graphql/lib/graphql/schema/interface.rb#92 + # source://graphql//lib/graphql/schema/interface.rb#92 def orphan_types(*types); end - # source://graphql/lib/graphql/schema/interface.rb#40 + # source://graphql//lib/graphql/schema/interface.rb#40 def type_membership_class(membership_class = T.unsafe(nil)); end # @return [Boolean] # @see {Schema::Warden} hides interfaces without visible implementations # - # source://graphql/lib/graphql/schema/interface.rb#36 + # source://graphql//lib/graphql/schema/interface.rb#36 def visible?(context); end end -# source://graphql/lib/graphql/schema/introspection_system.rb#4 +# source://graphql//lib/graphql/schema/introspection_system.rb#4 class GraphQL::Schema::IntrospectionSystem # @return [IntrospectionSystem] a new instance of IntrospectionSystem # - # source://graphql/lib/graphql/schema/introspection_system.rb#7 + # source://graphql//lib/graphql/schema/introspection_system.rb#7 def initialize(schema); end - # source://graphql/lib/graphql/schema/introspection_system.rb#59 + # source://graphql//lib/graphql/schema/introspection_system.rb#59 def dynamic_field(name:); end - # source://graphql/lib/graphql/schema/introspection_system.rb#55 + # source://graphql//lib/graphql/schema/introspection_system.rb#55 def dynamic_fields; end - # source://graphql/lib/graphql/schema/introspection_system.rb#51 + # source://graphql//lib/graphql/schema/introspection_system.rb#51 def entry_point(name:); end - # source://graphql/lib/graphql/schema/introspection_system.rb#47 + # source://graphql//lib/graphql/schema/introspection_system.rb#47 def entry_points; end # Returns the value of attribute possible_types. # - # source://graphql/lib/graphql/schema/introspection_system.rb#5 + # source://graphql//lib/graphql/schema/introspection_system.rb#5 def possible_types; end # The introspection system is prepared with a bunch of LateBoundTypes. @@ -10705,45 +10709,45 @@ class GraphQL::Schema::IntrospectionSystem # @api private # @return void # - # source://graphql/lib/graphql/schema/introspection_system.rb#69 + # source://graphql//lib/graphql/schema/introspection_system.rb#69 def resolve_late_bindings; end # Returns the value of attribute types. # - # source://graphql/lib/graphql/schema/introspection_system.rb#5 + # source://graphql//lib/graphql/schema/introspection_system.rb#5 def types; end private # This is probably not 100% robust -- but it has to be good enough to avoid modifying the built-in introspection types # - # source://graphql/lib/graphql/schema/introspection_system.rb#121 + # source://graphql//lib/graphql/schema/introspection_system.rb#121 def dup_type_class(type_class); end - # source://graphql/lib/graphql/schema/introspection_system.rb#115 + # source://graphql//lib/graphql/schema/introspection_system.rb#115 def get_fields_from_class(class_sym:); end - # source://graphql/lib/graphql/schema/introspection_system.rb#107 + # source://graphql//lib/graphql/schema/introspection_system.rb#107 def load_constant(class_name); end - # source://graphql/lib/graphql/schema/introspection_system.rb#90 + # source://graphql//lib/graphql/schema/introspection_system.rb#90 def resolve_late_binding(late_bound_type); end end -# source://graphql/lib/graphql/schema/introspection_system.rb#137 +# source://graphql//lib/graphql/schema/introspection_system.rb#137 class GraphQL::Schema::IntrospectionSystem::PerFieldProxyResolve # @return [PerFieldProxyResolve] a new instance of PerFieldProxyResolve # - # source://graphql/lib/graphql/schema/introspection_system.rb#138 + # source://graphql//lib/graphql/schema/introspection_system.rb#138 def initialize(object_class:, inner_resolve:); end - # source://graphql/lib/graphql/schema/introspection_system.rb#143 + # source://graphql//lib/graphql/schema/introspection_system.rb#143 def call(obj, args, ctx); end end # Error that is raised when [#Schema#from_definition] is passed an invalid schema definition string. # -# source://graphql/lib/graphql/schema.rb#99 +# source://graphql//lib/graphql/schema.rb#99 class GraphQL::Schema::InvalidDocumentError < ::GraphQL::Error; end # A stand-in for a type which will be resolved in a given schema, by name. @@ -10751,58 +10755,58 @@ class GraphQL::Schema::InvalidDocumentError < ::GraphQL::Error; end # # @api Private # -# source://graphql/lib/graphql/schema/late_bound_type.rb#7 +# source://graphql//lib/graphql/schema/late_bound_type.rb#7 class GraphQL::Schema::LateBoundType # @api Private # @return [LateBoundType] a new instance of LateBoundType # - # source://graphql/lib/graphql/schema/late_bound_type.rb#10 + # source://graphql//lib/graphql/schema/late_bound_type.rb#10 def initialize(local_name); end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#8 + # source://graphql//lib/graphql/schema/late_bound_type.rb#9 def graphql_name; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#32 + # source://graphql//lib/graphql/schema/late_bound_type.rb#32 def inspect; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#8 + # source://graphql//lib/graphql/schema/late_bound_type.rb#8 def name; end # @api Private # @return [Boolean] # - # source://graphql/lib/graphql/schema/late_bound_type.rb#36 + # source://graphql//lib/graphql/schema/late_bound_type.rb#36 def non_null?; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#24 + # source://graphql//lib/graphql/schema/late_bound_type.rb#24 def to_list_type; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#20 + # source://graphql//lib/graphql/schema/late_bound_type.rb#20 def to_non_null_type; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#32 + # source://graphql//lib/graphql/schema/late_bound_type.rb#40 def to_s; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#28 + # source://graphql//lib/graphql/schema/late_bound_type.rb#28 def to_type_signature; end # @api Private # - # source://graphql/lib/graphql/schema/late_bound_type.rb#16 + # source://graphql//lib/graphql/schema/late_bound_type.rb#16 def unwrap; end end @@ -10811,48 +10815,48 @@ end # # @see {Schema::Member::TypeSystemHelpers#to_list_type} # -# source://graphql/lib/graphql/schema/list.rb#8 +# source://graphql//lib/graphql/schema/list.rb#8 class GraphQL::Schema::List < ::GraphQL::Schema::Wrapper include ::GraphQL::Schema::Member::ValidatesInput - # source://graphql/lib/graphql/schema/list.rb#39 + # source://graphql//lib/graphql/schema/list.rb#39 def coerce_input(value, ctx); end - # source://graphql/lib/graphql/schema/list.rb#35 + # source://graphql//lib/graphql/schema/list.rb#35 def coerce_result(value, ctx); end # Also for implementing introspection # - # source://graphql/lib/graphql/schema/list.rb#31 + # source://graphql//lib/graphql/schema/list.rb#31 def description; end # This is for introspection, where it's expected the name will be `null` # - # source://graphql/lib/graphql/schema/list.rb#26 + # source://graphql//lib/graphql/schema/list.rb#26 def graphql_name; end # @return [GraphQL::TypeKinds::LIST] # - # source://graphql/lib/graphql/schema/list.rb#12 + # source://graphql//lib/graphql/schema/list.rb#12 def kind; end # @return [true] # - # source://graphql/lib/graphql/schema/list.rb#17 + # source://graphql//lib/graphql/schema/list.rb#17 def list?; end - # source://graphql/lib/graphql/schema/list.rb#21 + # source://graphql//lib/graphql/schema/list.rb#21 def to_type_signature; end - # source://graphql/lib/graphql/schema/list.rb#48 + # source://graphql//lib/graphql/schema/list.rb#48 def validate_non_null_input(value, ctx, max_errors: T.unsafe(nil)); end private - # source://graphql/lib/graphql/schema/list.rb#79 + # source://graphql//lib/graphql/schema/list.rb#79 def add_max_errors_reached_message(result); end - # source://graphql/lib/graphql/schema/list.rb#70 + # source://graphql//lib/graphql/schema/list.rb#70 def ensure_array(value); end end @@ -10863,7 +10867,7 @@ end # # @see GraphQL::Schema.from_introspection for a public API # -# source://graphql/lib/graphql/schema/loader.rb#10 +# source://graphql//lib/graphql/schema/loader.rb#10 module GraphQL::Schema::Loader extend ::GraphQL::Schema::Loader @@ -10872,33 +10876,33 @@ module GraphQL::Schema::Loader # @param introspection_result [Hash] A response from {GraphQL::Introspection::INTROSPECTION_QUERY} # @return [Class] the schema described by `input` # - # source://graphql/lib/graphql/schema/loader.rb#16 + # source://graphql//lib/graphql/schema/loader.rb#16 def load(introspection_result); end class << self - # source://graphql/lib/graphql/schema/loader.rb#197 + # source://graphql//lib/graphql/schema/loader.rb#197 def build_arguments(arg_owner, args, type_resolver); end - # source://graphql/lib/graphql/schema/loader.rb#173 + # source://graphql//lib/graphql/schema/loader.rb#173 def build_fields(type_defn, fields, type_resolver); end private - # source://graphql/lib/graphql/schema/loader.rb#160 + # source://graphql//lib/graphql/schema/loader.rb#160 def define_directive(directive, type_resolver); end - # source://graphql/lib/graphql/schema/loader.rb#99 + # source://graphql//lib/graphql/schema/loader.rb#99 def define_type(type, type_resolver); end - # source://graphql/lib/graphql/schema/loader.rb#78 + # source://graphql//lib/graphql/schema/loader.rb#78 def extract_default_value(default_value_str, input_value_ast); end - # source://graphql/lib/graphql/schema/loader.rb#59 + # source://graphql//lib/graphql/schema/loader.rb#59 def resolve_type(types, type); end end end -# source://graphql/lib/graphql/schema/loader.rb#54 +# source://graphql//lib/graphql/schema/loader.rb#54 GraphQL::Schema::Loader::NullScalarCoerce = T.let(T.unsafe(nil), Proc) # The base class for things that make up the schema, @@ -10906,7 +10910,7 @@ GraphQL::Schema::Loader::NullScalarCoerce = T.let(T.unsafe(nil), Proc) # # @api private # -# source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#7 +# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#7 class GraphQL::Schema::Member include ::GraphQL::Schema::Member::GraphQLTypeNames extend ::GraphQL::Schema::FindInheritedValue @@ -10926,7 +10930,7 @@ end # @api private # @see Classes that extend this, eg {GraphQL::Schema::Object} # -# source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#11 +# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#11 module GraphQL::Schema::Member::BaseDSLMethods include ::GraphQL::Schema::FindInheritedValue include ::GraphQL::EmptyObjects @@ -10934,7 +10938,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#129 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#129 def authorized?(object, context); end # Call this method to provide a new comment; OR @@ -10944,7 +10948,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_comment [String] # @return [String, nil] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#57 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#57 def comment(new_comment = T.unsafe(nil)); end # Creates the default name for a schema member. @@ -10953,12 +10957,12 @@ module GraphQL::Schema::Member::BaseDSLMethods # # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#117 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#117 def default_graphql_name; end # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#133 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#133 def default_relay; end # Call this method to provide a new description; OR @@ -10968,7 +10972,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_description [String] # @return [String] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#43 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#43 def description(new_description = T.unsafe(nil)); end # Call this with a new name to override the default name for this schema member; OR @@ -10980,19 +10984,19 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_name [String] # @return [String] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#20 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#20 def graphql_name(new_name = T.unsafe(nil)); end # @api private # @return [Boolean] If true, this object is part of the introspection system # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#86 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#86 def introspection(new_introspection = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#96 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#96 def introspection?; end # The mutation this type was derived from, if it was derived from a mutation @@ -11000,35 +11004,37 @@ module GraphQL::Schema::Member::BaseDSLMethods # @api private # @return [Class] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#102 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#102 def mutation(mutation_class = T.unsafe(nil)); end # Just a convenience method to point out that people should use graphql_name instead # # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#30 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#30 def name(new_name = T.unsafe(nil)); end # @api private + # + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#112 def unwrap; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#125 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#125 def visible?(context); end protected # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#139 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#139 def default_graphql_name=(_arg0); end # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#139 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#139 def graphql_name=(_arg0); end end @@ -11037,84 +11043,84 @@ end # # @api private # -# source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#69 +# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#69 module GraphQL::Schema::Member::BaseDSLMethods::ConfigurationExtension # @api private # - # source://graphql/lib/graphql/schema/member/base_dsl_methods.rb#70 + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#70 def inherited(child_class); end end # @api private # -# source://graphql/lib/graphql/schema/member/build_type.rb#6 +# source://graphql//lib/graphql/schema/member/build_type.rb#6 module GraphQL::Schema::Member::BuildType private # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#127 + # source://graphql//lib/graphql/schema/member/build_type.rb#127 def camelize(string); end # Resolves constant from string (based on Rails `ActiveSupport::Inflector.constantize`) # # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#140 + # source://graphql//lib/graphql/schema/member/build_type.rb#140 def constantize(string); end # @api private # @param type_expr [String, Class, GraphQL::BaseType] # @return [GraphQL::BaseType] # - # source://graphql/lib/graphql/schema/member/build_type.rb#12 + # source://graphql//lib/graphql/schema/member/build_type.rb#12 def parse_type(type_expr, null:); end # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#99 + # source://graphql//lib/graphql/schema/member/build_type.rb#99 def to_type_name(something); end # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#171 + # source://graphql//lib/graphql/schema/member/build_type.rb#171 def underscore(string); end class << self # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#127 + # source://graphql//lib/graphql/schema/member/build_type.rb#127 def camelize(string); end # Resolves constant from string (based on Rails `ActiveSupport::Inflector.constantize`) # # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#140 + # source://graphql//lib/graphql/schema/member/build_type.rb#140 def constantize(string); end # @api private # @param type_expr [String, Class, GraphQL::BaseType] # @return [GraphQL::BaseType] # - # source://graphql/lib/graphql/schema/member/build_type.rb#12 + # source://graphql//lib/graphql/schema/member/build_type.rb#12 def parse_type(type_expr, null:); end # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#99 + # source://graphql//lib/graphql/schema/member/build_type.rb#99 def to_type_name(something); end # @api private # - # source://graphql/lib/graphql/schema/member/build_type.rb#171 + # source://graphql//lib/graphql/schema/member/build_type.rb#171 def underscore(string); end end end # @api private # -# source://graphql/lib/graphql/schema/member/build_type.rb#7 +# source://graphql//lib/graphql/schema/member/build_type.rb#7 GraphQL::Schema::Member::BuildType::LIST_TYPE_ERROR = T.let(T.unsafe(nil), String) # These constants are interpreted as GraphQL types when defining fields or arguments @@ -11125,25 +11131,25 @@ GraphQL::Schema::Member::BuildType::LIST_TYPE_ERROR = T.let(T.unsafe(nil), Strin # field :id, ID, null: false # field :score, Int, null: false # -# source://graphql/lib/graphql/schema/member/graphql_type_names.rb#14 +# source://graphql//lib/graphql/schema/member/graphql_type_names.rb#14 module GraphQL::Schema::Member::GraphQLTypeNames; end # @api private # -# source://graphql/lib/graphql/schema/member/graphql_type_names.rb#15 +# source://graphql//lib/graphql/schema/member/graphql_type_names.rb#15 GraphQL::Schema::Member::GraphQLTypeNames::Boolean = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/schema/member/graphql_type_names.rb#16 +# source://graphql//lib/graphql/schema/member/graphql_type_names.rb#16 GraphQL::Schema::Member::GraphQLTypeNames::ID = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/schema/member/graphql_type_names.rb#17 +# source://graphql//lib/graphql/schema/member/graphql_type_names.rb#17 GraphQL::Schema::Member::GraphQLTypeNames::Int = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/schema/member/has_arguments.rb#5 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#5 module GraphQL::Schema::Member::HasArguments include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader @@ -11154,36 +11160,36 @@ module GraphQL::Schema::Member::HasArguments # @param arg_defn [GraphQL::Schema::Argument] # @return [GraphQL::Schema::Argument] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#47 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#47 def add_argument(arg_defn); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#200 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#200 def all_argument_definitions; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#92 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#92 def any_arguments?; end # @return [GraphQL::Schema::Argument] An instance of {argument_class}, created from `*args` # @see {GraphQL::Schema::Argument#initialize} for parameters # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#19 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#19 def argument(*args, **kwargs, &block); end # @param new_arg_class [Class] A class to use for building argument definitions # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#223 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#223 def argument_class(new_arg_class = T.unsafe(nil)); end # @return [Hash GraphQL::Schema::Argument] Arguments defined on this thing, keyed by name. Includes inherited definitions] Hash GraphQL::Schema::Argument] Arguments defined on this thing, keyed by name. Includes inherited definitions # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#79 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#79 def arguments(context = T.unsafe(nil), _require_defined_arguments = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#306 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#306 def arguments_statically_coercible?; end # If given a block, it will eventually yield the loaded args to the block. @@ -11196,58 +11202,58 @@ module GraphQL::Schema::Member::HasArguments # @return [Interpreter::Arguments, Execution::Lazy] # @yield [Interpreter::Arguments, Execution::Lazy] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#236 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#236 def coerce_arguments(parent_object, values, context, &block); end # @return [GraphQL::Schema::Argument, nil] Argument defined on this thing, fetched by name. # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#211 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#211 def get_argument(argument_name, context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#422 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#422 def own_arguments; end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#63 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#63 def remove_argument(arg_defn); end # Usually, this is validated statically by RequiredArgumentsArePresent, # but not for directives. # TODO apply static validations on schema definitions? # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#293 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#293 def validate_directive_argument(arg_defn, value); end class << self # @private # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#11 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#11 def extended(cls); end # @private # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#6 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#6 def included(cls); end end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#314 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#314 module GraphQL::Schema::Member::HasArguments::ArgumentClassAccessor - # source://graphql/lib/graphql/schema/member/has_arguments.rb#315 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#315 def argument_class(new_arg_class = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#326 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#326 module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader - # source://graphql/lib/graphql/schema/member/has_arguments.rb#351 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#351 def authorize_application_object(argument, id, context, loaded_application_object); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#346 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#346 def load_and_authorize_application_object(argument, id, context); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#338 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#338 def load_application_object(argument, id, context); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#416 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#416 def load_application_object_failed(err); end # Look up the corresponding object for a provided ID. @@ -11258,98 +11264,98 @@ module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader # @param id [String] A client-provided to look up # @param context [GraphQL::Query::Context] the current context # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#334 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#334 def object_from_id(type, id, context); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#96 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#96 module GraphQL::Schema::Member::HasArguments::ClassConfigured - # source://graphql/lib/graphql/schema/member/has_arguments.rb#97 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#97 def inherited(child_class); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#102 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#102 module GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments - # source://graphql/lib/graphql/schema/member/has_arguments.rb#123 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#123 def all_argument_definitions; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#119 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#119 def any_arguments?; end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#103 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#103 def arguments(context = T.unsafe(nil), require_defined_arguments = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#136 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#136 def get_argument(argument_name, context = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#151 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#151 module GraphQL::Schema::Member::HasArguments::FieldConfigured - # source://graphql/lib/graphql/schema/member/has_arguments.rb#174 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#174 def all_argument_definitions; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/has_arguments.rb#170 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#170 def any_arguments?; end - # source://graphql/lib/graphql/schema/member/has_arguments.rb#152 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#152 def arguments(context = T.unsafe(nil), _require_defined_arguments = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#298 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#298 module GraphQL::Schema::Member::HasArguments::HasDirectiveArguments - # source://graphql/lib/graphql/schema/member/has_arguments.rb#299 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#299 def validate_directive_argument(arg_defn, value); end end -# source://graphql/lib/graphql/schema/member/has_arguments.rb#421 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#421 GraphQL::Schema::Member::HasArguments::NO_ARGUMENTS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/schema/member/has_ast_node.rb#5 +# source://graphql//lib/graphql/schema/member/has_ast_node.rb#5 module GraphQL::Schema::Member::HasAstNode # If this schema was parsed from a `.graphql` file (or other SDL), # this is the AST node that defined this part of the schema. # - # source://graphql/lib/graphql/schema/member/has_ast_node.rb#18 + # source://graphql//lib/graphql/schema/member/has_ast_node.rb#18 def ast_node(new_ast_node = T.unsafe(nil)); end # Sets the attribute ast_node # # @param value the value to set the attribute ast_node to. # - # source://graphql/lib/graphql/schema/member/has_ast_node.rb#28 + # source://graphql//lib/graphql/schema/member/has_ast_node.rb#28 def ast_node=(_arg0); end - # source://graphql/lib/graphql/schema/member/has_ast_node.rb#11 + # source://graphql//lib/graphql/schema/member/has_ast_node.rb#11 def inherited(child_cls); end class << self # @private # - # source://graphql/lib/graphql/schema/member/has_ast_node.rb#6 + # source://graphql//lib/graphql/schema/member/has_ast_node.rb#6 def extended(child_cls); end end end -# source://graphql/lib/graphql/schema/member/has_deprecation_reason.rb#6 +# source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#6 module GraphQL::Schema::Member::HasDeprecationReason # @return [String, nil] Explains why this member was deprecated (if present, this will be marked deprecated in introspection) # - # source://graphql/lib/graphql/schema/member/has_deprecation_reason.rb#8 + # source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#8 def deprecation_reason; end # Set the deprecation reason for this member, or remove it by assigning `nil` # # @param text [String, nil] # - # source://graphql/lib/graphql/schema/member/has_deprecation_reason.rb#12 + # source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#12 def deprecation_reason=(text); end end -# source://graphql/lib/graphql/schema/member/has_directives.rb#6 +# source://graphql//lib/graphql/schema/member/has_directives.rb#6 module GraphQL::Schema::Member::HasDirectives # Create an instance of `dir_class` for `self`, using `options`. # @@ -11357,13 +11363,13 @@ module GraphQL::Schema::Member::HasDirectives # # @return [void] # - # source://graphql/lib/graphql/schema/member/has_directives.rb#22 + # source://graphql//lib/graphql/schema/member/has_directives.rb#22 def directive(dir_class, **options); end - # source://graphql/lib/graphql/schema/member/has_directives.rb#36 + # source://graphql//lib/graphql/schema/member/has_directives.rb#36 def directives; end - # source://graphql/lib/graphql/schema/member/has_directives.rb#12 + # source://graphql//lib/graphql/schema/member/has_directives.rb#12 def inherited(child_cls); end # Remove an attached instance of `dir_class`, if there is one @@ -11371,36 +11377,36 @@ module GraphQL::Schema::Member::HasDirectives # @param dir_class [Class] # @return [viod] # - # source://graphql/lib/graphql/schema/member/has_directives.rb#31 + # source://graphql//lib/graphql/schema/member/has_directives.rb#31 def remove_directive(dir_class); end protected # Returns the value of attribute own_directives. # - # source://graphql/lib/graphql/schema/member/has_directives.rb#114 + # source://graphql//lib/graphql/schema/member/has_directives.rb#114 def own_directives; end # Sets the attribute own_directives # # @param value the value to set the attribute own_directives to. # - # source://graphql/lib/graphql/schema/member/has_directives.rb#114 + # source://graphql//lib/graphql/schema/member/has_directives.rb#114 def own_directives=(_arg0); end class << self - # source://graphql/lib/graphql/schema/member/has_directives.rb#41 + # source://graphql//lib/graphql/schema/member/has_directives.rb#41 def add_directive(schema_member, directives, directive_class, directive_options); end # @private # - # source://graphql/lib/graphql/schema/member/has_directives.rb#7 + # source://graphql//lib/graphql/schema/member/has_directives.rb#7 def extended(child_cls); end - # source://graphql/lib/graphql/schema/member/has_directives.rb#50 + # source://graphql//lib/graphql/schema/member/has_directives.rb#50 def get_directives(schema_member, directives, directives_method); end - # source://graphql/lib/graphql/schema/member/has_directives.rb#46 + # source://graphql//lib/graphql/schema/member/has_directives.rb#46 def remove_directive(directives, directive_class); end private @@ -11413,14 +11419,14 @@ module GraphQL::Schema::Member::HasDirectives # @param dirs [Array] # @return [void] # - # source://graphql/lib/graphql/schema/member/has_directives.rb#99 + # source://graphql//lib/graphql/schema/member/has_directives.rb#99 def merge_directives(target, dirs); end end end # Shared code for Objects, Interfaces, Mutations, Subscriptions # -# source://graphql/lib/graphql/schema/member/has_fields.rb#7 +# source://graphql//lib/graphql/schema/member/has_fields.rb#7 module GraphQL::Schema::Member::HasFields include ::GraphQL::Schema::Member::HasFields::InterfaceMethods @@ -11429,10 +11435,10 @@ module GraphQL::Schema::Member::HasFields # @param field_defn [GraphQL::Schema::Field] # @return [void] # - # source://graphql/lib/graphql/schema/member/has_fields.rb#36 + # source://graphql//lib/graphql/schema/member/has_fields.rb#36 def add_field(field_defn, method_conflict_warning: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_fields.rb#99 + # source://graphql//lib/graphql/schema/member/has_fields.rb#99 def all_field_definitions; end # Add a field to this object or interface with the given definition @@ -11440,31 +11446,31 @@ module GraphQL::Schema::Member::HasFields # @return [GraphQL::Schema::Field] # @see {GraphQL::Schema::Field#initialize} for method signature # - # source://graphql/lib/graphql/schema/member/has_fields.rb#11 + # source://graphql//lib/graphql/schema/member/has_fields.rb#11 def field(*args, **kwargs, &block); end # @return [Class] The class to initialize when adding fields to this kind of schema member # - # source://graphql/lib/graphql/schema/member/has_fields.rb#64 + # source://graphql//lib/graphql/schema/member/has_fields.rb#64 def field_class(new_field_class = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_fields.rb#74 + # source://graphql//lib/graphql/schema/member/has_fields.rb#74 def global_id_field(field_name, **kwargs); end # @param new_has_no_fields [Boolean] Call with `true` to make this Object type ignore the requirement to have any defined fields. # @return [void] # - # source://graphql/lib/graphql/schema/member/has_fields.rb#84 + # source://graphql//lib/graphql/schema/member/has_fields.rb#84 def has_no_fields(new_has_no_fields); end # @return [Boolean] `true` if `has_no_fields(true)` was configued # - # source://graphql/lib/graphql/schema/member/has_fields.rb#90 + # source://graphql//lib/graphql/schema/member/has_fields.rb#90 def has_no_fields?; end # @return [Hash GraphQL::Schema::Field, Array>] Fields defined on this class _specifically_, not parent classes # - # source://graphql/lib/graphql/schema/member/has_fields.rb#95 + # source://graphql//lib/graphql/schema/member/has_fields.rb#95 def own_fields; end private @@ -11472,28 +11478,28 @@ module GraphQL::Schema::Member::HasFields # @param [GraphQL::Schema::Field] # @return [String] A warning to give when this field definition might conflict with a built-in method # - # source://graphql/lib/graphql/schema/member/has_fields.rb#237 + # source://graphql//lib/graphql/schema/member/has_fields.rb#237 def conflict_field_name_warning(field_defn); end - # source://graphql/lib/graphql/schema/member/has_fields.rb#203 + # source://graphql//lib/graphql/schema/member/has_fields.rb#203 def inherited(subclass); end # If `type` is an interface, and `self` has a type membership for `type`, then make sure it's visible. # # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/has_fields.rb#213 + # source://graphql//lib/graphql/schema/member/has_fields.rb#213 def visible_interface_implementation?(type, context, warden); end class << self # @private # - # source://graphql/lib/graphql/schema/member/has_fields.rb#196 + # source://graphql//lib/graphql/schema/member/has_fields.rb#196 def extended(child_class); end # @private # - # source://graphql/lib/graphql/schema/member/has_fields.rb#190 + # source://graphql//lib/graphql/schema/member/has_fields.rb#190 def included(child_class); end end end @@ -11503,35 +11509,35 @@ end # # @api private # -# source://graphql/lib/graphql/schema/member/has_fields.rb#31 +# source://graphql//lib/graphql/schema/member/has_fields.rb#31 GraphQL::Schema::Member::HasFields::CONFLICT_FIELD_NAMES = T.let(T.unsafe(nil), Set) # A list of GraphQL-Ruby keywords. # # @api private # -# source://graphql/lib/graphql/schema/member/has_fields.rb#25 +# source://graphql//lib/graphql/schema/member/has_fields.rb#25 GraphQL::Schema::Member::HasFields::GRAPHQL_RUBY_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/member/has_fields.rb#111 +# source://graphql//lib/graphql/schema/member/has_fields.rb#111 module GraphQL::Schema::Member::HasFields::InterfaceMethods # @return [Hash GraphQL::Schema::Field>] Fields on this object, keyed by name, including inherited fields # - # source://graphql/lib/graphql/schema/member/has_fields.rb#126 + # source://graphql//lib/graphql/schema/member/has_fields.rb#126 def fields(context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_fields.rb#112 + # source://graphql//lib/graphql/schema/member/has_fields.rb#112 def get_field(field_name, context = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/member/has_fields.rb#145 +# source://graphql//lib/graphql/schema/member/has_fields.rb#145 module GraphQL::Schema::Member::HasFields::ObjectMethods # @return [Hash GraphQL::Schema::Field>] Fields on this object, keyed by name, including inherited fields # - # source://graphql/lib/graphql/schema/member/has_fields.rb#165 + # source://graphql//lib/graphql/schema/member/has_fields.rb#165 def fields(context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_fields.rb#146 + # source://graphql//lib/graphql/schema/member/has_fields.rb#146 def get_field(field_name, context = T.unsafe(nil)); end end @@ -11539,39 +11545,39 @@ end # # @api private # -# source://graphql/lib/graphql/schema/member/has_fields.rb#20 +# source://graphql//lib/graphql/schema/member/has_fields.rb#20 GraphQL::Schema::Member::HasFields::RUBY_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/member/has_interfaces.rb#6 +# source://graphql//lib/graphql/schema/member/has_interfaces.rb#6 module GraphQL::Schema::Member::HasInterfaces - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#7 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#7 def implements(*new_interfaces, **options); end - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#57 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#57 def interface_type_memberships; end # param context [Query::Context] If omitted, skip filtering. # - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#102 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#102 def interfaces(context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#53 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#53 def own_interface_type_memberships; end private - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#134 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#134 def inherited(subclass); end class << self # @private # - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#130 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#130 def extended(child_class); end end end -# source://graphql/lib/graphql/schema/member/has_interfaces.rb#61 +# source://graphql//lib/graphql/schema/member/has_interfaces.rb#61 module GraphQL::Schema::Member::HasInterfaces::ClassConfigured # This combination of extended -> inherited -> extended # means that the base class (`Schema::Object`) *won't* @@ -11579,38 +11585,38 @@ module GraphQL::Schema::Member::HasInterfaces::ClassConfigured # but child classes of `Schema::Object` will have it. # That way, we don't need a `superclass.respond_to?(...)` check. # - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#67 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#67 def inherited(child_class); end end -# source://graphql/lib/graphql/schema/member/has_interfaces.rb#72 +# source://graphql//lib/graphql/schema/member/has_interfaces.rb#72 module GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#89 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#89 def interface_type_memberships; end - # source://graphql/lib/graphql/schema/member/has_interfaces.rb#73 + # source://graphql//lib/graphql/schema/member/has_interfaces.rb#73 def interfaces(context = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/member/has_path.rb#6 +# source://graphql//lib/graphql/schema/member/has_path.rb#6 module GraphQL::Schema::Member::HasPath # @return [String] A description of this member's place in the GraphQL schema # - # source://graphql/lib/graphql/schema/member/has_path.rb#8 + # source://graphql//lib/graphql/schema/member/has_path.rb#8 def path; end end # Set up a type-specific error to make debugging & bug tracker integration better # -# source://graphql/lib/graphql/schema/member/has_unresolved_type_error.rb#7 +# source://graphql//lib/graphql/schema/member/has_unresolved_type_error.rb#7 module GraphQL::Schema::Member::HasUnresolvedTypeError private - # source://graphql/lib/graphql/schema/member/has_unresolved_type_error.rb#9 + # source://graphql//lib/graphql/schema/member/has_unresolved_type_error.rb#9 def add_unresolved_type_error(child_class); end end -# source://graphql/lib/graphql/schema/member/has_validators.rb#5 +# source://graphql//lib/graphql/schema/member/has_validators.rb#5 module GraphQL::Schema::Member::HasValidators include ::GraphQL::EmptyObjects @@ -11620,84 +11626,84 @@ module GraphQL::Schema::Member::HasValidators # @param validation_config [Hash{Symbol => Hash}] # @return [void] # - # source://graphql/lib/graphql/schema/member/has_validators.rb#12 + # source://graphql//lib/graphql/schema/member/has_validators.rb#12 def validates(validation_config); end # @return [Array] # - # source://graphql/lib/graphql/schema/member/has_validators.rb#20 + # source://graphql//lib/graphql/schema/member/has_validators.rb#20 def validators; end class << self # @private # - # source://graphql/lib/graphql/schema/member/has_validators.rb#50 + # source://graphql//lib/graphql/schema/member/has_validators.rb#50 def extended(child_cls); end end end -# source://graphql/lib/graphql/schema/member/has_validators.rb#24 +# source://graphql//lib/graphql/schema/member/has_validators.rb#24 module GraphQL::Schema::Member::HasValidators::ClassConfigured - # source://graphql/lib/graphql/schema/member/has_validators.rb#25 + # source://graphql//lib/graphql/schema/member/has_validators.rb#25 def inherited(child_cls); end end -# source://graphql/lib/graphql/schema/member/has_validators.rb#30 +# source://graphql//lib/graphql/schema/member/has_validators.rb#30 module GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators include ::GraphQL::EmptyObjects - # source://graphql/lib/graphql/schema/member/has_validators.rb#33 + # source://graphql//lib/graphql/schema/member/has_validators.rb#33 def validators; end end -# source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#6 +# source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#6 module GraphQL::Schema::Member::RelayShortcuts - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#53 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#53 def connection_type; end - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#24 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#24 def connection_type_class(new_connection_type_class = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#41 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#41 def edge_type; end - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#7 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#7 def edge_type_class(new_edge_type_class = T.unsafe(nil)); end protected - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#67 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#67 def configured_connection_type_class; end - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#71 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#71 def configured_edge_type_class; end # Sets the attribute connection_type # # @param value the value to set the attribute connection_type to. # - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#75 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#75 def connection_type=(_arg0); end # Sets the attribute connection_type_class # # @param value the value to set the attribute connection_type_class to. # - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#75 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#75 def connection_type_class=(_arg0); end # Sets the attribute edge_type # # @param value the value to set the attribute edge_type to. # - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#75 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#75 def edge_type=(_arg0); end # Sets the attribute edge_type_class # # @param value the value to set the attribute edge_type_class to. # - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#75 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#75 def edge_type_class=(_arg0); end private @@ -11705,16 +11711,16 @@ module GraphQL::Schema::Member::RelayShortcuts # If one of these values is accessed, initialize all the instance variables to retain # a consistent object shape. # - # source://graphql/lib/graphql/schema/member/relay_shortcuts.rb#81 + # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#81 def initialize_relay_metadata; end end -# source://graphql/lib/graphql/schema/member/scoped.rb#6 +# source://graphql//lib/graphql/schema/member/scoped.rb#6 module GraphQL::Schema::Member::Scoped - # source://graphql/lib/graphql/schema/member/scoped.rb#31 + # source://graphql//lib/graphql/schema/member/scoped.rb#31 def inherited(subclass); end - # source://graphql/lib/graphql/schema/member/scoped.rb#19 + # source://graphql//lib/graphql/schema/member/scoped.rb#19 def reauthorize_scoped_objects(new_value = T.unsafe(nil)); end # This is called when a field has `scope: true`. @@ -11726,69 +11732,69 @@ module GraphQL::Schema::Member::Scoped # @param context [GraphQL::Query::Context] # @return [Object] Another list-like object, scoped to the current context # - # source://graphql/lib/graphql/schema/member/scoped.rb#15 + # source://graphql//lib/graphql/schema/member/scoped.rb#15 def scope_items(items, context); end end -# source://graphql/lib/graphql/schema/member/type_system_helpers.rb#6 +# source://graphql//lib/graphql/schema/member/type_system_helpers.rb#6 module GraphQL::Schema::Member::TypeSystemHelpers - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#7 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#7 def initialize(*_arg0, **_arg1, &_arg2); end # @raise [GraphQL::RequiredImplementationMissingError] # @return [GraphQL::TypeKinds::TypeKind] # - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#38 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#38 def kind; end # @return [Boolean] true if this is a list type. A non-nullable list is considered a list. # - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#29 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#29 def list?; end # @return [Boolean] true if this is a non-nullable type. A nullable list of non-nullables is considered nullable. # - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#24 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#24 def non_null?; end # @return [Schema::List] Make a list-type representation of this type # - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#19 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#19 def to_list_type; end # @return [Schema::NonNull] Make a non-null-type representation of this type # - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#14 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#14 def to_non_null_type; end - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#33 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#33 def to_type_signature; end private - # source://graphql/lib/graphql/schema/member/type_system_helpers.rb#44 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#44 def inherited(subclass); end end -# source://graphql/lib/graphql/schema/member/validates_input.rb#6 +# source://graphql//lib/graphql/schema/member/validates_input.rb#6 module GraphQL::Schema::Member::ValidatesInput - # source://graphql/lib/graphql/schema/member/validates_input.rb#23 + # source://graphql//lib/graphql/schema/member/validates_input.rb#23 def coerce_isolated_input(v); end - # source://graphql/lib/graphql/schema/member/validates_input.rb#27 + # source://graphql//lib/graphql/schema/member/validates_input.rb#27 def coerce_isolated_result(v); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/validates_input.rb#7 + # source://graphql//lib/graphql/schema/member/validates_input.rb#7 def valid_input?(val, ctx); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/member/validates_input.rb#19 + # source://graphql//lib/graphql/schema/member/validates_input.rb#19 def valid_isolated_input?(v); end - # source://graphql/lib/graphql/schema/member/validates_input.rb#11 + # source://graphql//lib/graphql/schema/member/validates_input.rb#11 def validate_input(val, ctx, max_errors: T.unsafe(nil)); end end @@ -11847,7 +11853,7 @@ end # GRAPHQL # @see {GraphQL::Schema::RelayClassicMutation} for an extension of this class with some conventions built-in. # -# source://graphql/lib/graphql/schema/mutation.rb#61 +# source://graphql//lib/graphql/schema/mutation.rb#61 class GraphQL::Schema::Mutation < ::GraphQL::Schema::Resolver extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -11857,23 +11863,23 @@ class GraphQL::Schema::Mutation < ::GraphQL::Schema::Resolver # @api private # - # source://graphql/lib/graphql/schema/mutation.rb#66 + # source://graphql//lib/graphql/schema/mutation.rb#66 def call_resolve(_args_hash); end class << self # @return [Boolean] # - # source://graphql/lib/graphql/schema/mutation.rb#73 + # source://graphql//lib/graphql/schema/mutation.rb#73 def visible?(context); end private - # source://graphql/lib/graphql/schema/mutation.rb#79 + # source://graphql//lib/graphql/schema/mutation.rb#79 def conflict_field_name_warning(field_defn); end # Override this to attach self as `mutation` # - # source://graphql/lib/graphql/schema/mutation.rb#84 + # source://graphql//lib/graphql/schema/mutation.rb#84 def generate_payload_type; end end end @@ -11883,64 +11889,64 @@ end # # @see {Schema::Member::TypeSystemHelpers#to_non_null_type} # -# source://graphql/lib/graphql/schema/non_null.rb#8 +# source://graphql//lib/graphql/schema/non_null.rb#8 class GraphQL::Schema::NonNull < ::GraphQL::Schema::Wrapper include ::GraphQL::Schema::Member::ValidatesInput - # source://graphql/lib/graphql/schema/non_null.rb#49 + # source://graphql//lib/graphql/schema/non_null.rb#49 def coerce_input(value, ctx); end - # source://graphql/lib/graphql/schema/non_null.rb#57 + # source://graphql//lib/graphql/schema/non_null.rb#57 def coerce_result(value, ctx); end # This is for implementing introspection # - # source://graphql/lib/graphql/schema/non_null.rb#62 + # source://graphql//lib/graphql/schema/non_null.rb#62 def description; end # This is for introspection, where it's expected the name will be `null` # - # source://graphql/lib/graphql/schema/non_null.rb#45 + # source://graphql//lib/graphql/schema/non_null.rb#45 def graphql_name; end - # source://graphql/lib/graphql/schema/non_null.rb#30 + # source://graphql//lib/graphql/schema/non_null.rb#30 def inspect; end # @return [GraphQL::TypeKinds::NON_NULL] # - # source://graphql/lib/graphql/schema/non_null.rb#12 + # source://graphql//lib/graphql/schema/non_null.rb#12 def kind; end # @return [Boolean] True if this type wraps a list type # - # source://graphql/lib/graphql/schema/non_null.rb#22 + # source://graphql//lib/graphql/schema/non_null.rb#22 def list?; end # @return [true] # - # source://graphql/lib/graphql/schema/non_null.rb#17 + # source://graphql//lib/graphql/schema/non_null.rb#17 def non_null?; end - # source://graphql/lib/graphql/schema/non_null.rb#26 + # source://graphql//lib/graphql/schema/non_null.rb#26 def to_type_signature; end - # source://graphql/lib/graphql/schema/non_null.rb#34 + # source://graphql//lib/graphql/schema/non_null.rb#34 def validate_input(value, ctx, max_errors: T.unsafe(nil)); end end # @api private # -# source://graphql/lib/graphql/schema/null_mask.rb#5 +# source://graphql//lib/graphql/schema/null_mask.rb#5 module GraphQL::Schema::NullMask class << self # @api private # - # source://graphql/lib/graphql/schema/null_mask.rb#6 + # source://graphql//lib/graphql/schema/null_mask.rb#6 def call(member, ctx); end end end -# source://graphql/lib/graphql/schema/object.rb#7 +# source://graphql//lib/graphql/schema/object.rb#7 class GraphQL::Schema::Object < ::GraphQL::Schema::Member extend ::GraphQL::Schema::Member::HasFields extend ::GraphQL::Schema::Member::HasFields::ObjectMethods @@ -11949,28 +11955,28 @@ class GraphQL::Schema::Object < ::GraphQL::Schema::Member # @return [Object] a new instance of Object # - # source://graphql/lib/graphql/schema/object.rb#112 + # source://graphql//lib/graphql/schema/object.rb#112 def initialize(object, context); end # @return [GraphQL::Query::Context] the context instance for this query # - # source://graphql/lib/graphql/schema/object.rb#23 + # source://graphql//lib/graphql/schema/object.rb#23 def context; end # @return [GraphQL::Dataloader] # - # source://graphql/lib/graphql/schema/object.rb#26 + # source://graphql//lib/graphql/schema/object.rb#26 def dataloader; end # @return [Object] the application object this type is wrapping # - # source://graphql/lib/graphql/schema/object.rb#20 + # source://graphql//lib/graphql/schema/object.rb#20 def object; end # Call this in a field method to return a value that should be returned to the client # without any further handling by GraphQL. # - # source://graphql/lib/graphql/schema/object.rb#32 + # source://graphql//lib/graphql/schema/object.rb#32 def raw_value(obj); end class << self @@ -11992,42 +11998,43 @@ class GraphQL::Schema::Object < ::GraphQL::Schema::Member # @raise [GraphQL::UnauthorizedError] if the user-provided hook returns `false` # @return [GraphQL::Schema::Object, GraphQL::Execution::Lazy] # - # source://graphql/lib/graphql/schema/object.rb#67 + # source://graphql//lib/graphql/schema/object.rb#67 def authorized_new(object, context); end # Set up a type-specific invalid null error to use when this object's non-null fields wrongly return `nil`. # It should help with debugging and bug tracker integrations. # - # source://graphql/lib/graphql/schema/object.rb#120 + # source://graphql//lib/graphql/schema/object.rb#120 def const_missing(name); end - # source://graphql/lib/graphql/schema/object.rb#130 + # source://graphql//lib/graphql/schema/object.rb#130 def kind; end - # source://graphql/lib/graphql/schema/object.rb#107 + # source://graphql//lib/graphql/schema/object.rb#107 def scoped_new(object, context); end # This is called by the runtime to return an object to call methods on. # - # source://graphql/lib/graphql/schema/object.rb#46 + # source://graphql//lib/graphql/schema/object.rb#46 def wrap(object, context); end - # source://graphql/lib/graphql/schema/object.rb#41 + # source://graphql//lib/graphql/schema/object.rb#41 def wrap_scoped(object, context); end protected + # source://graphql//lib/graphql/schema/object.rb#39 def new(*_arg0); end end end # Raised when an Object doesn't have any field defined and hasn't explicitly opted out of this requirement # -# source://graphql/lib/graphql/schema/object.rb#12 +# source://graphql//lib/graphql/schema/object.rb#12 class GraphQL::Schema::Object::FieldsAreRequiredError < ::GraphQL::Error # @return [FieldsAreRequiredError] a new instance of FieldsAreRequiredError # - # source://graphql/lib/graphql/schema/object.rb#13 + # source://graphql//lib/graphql/schema/object.rb#13 def initialize(object_type); end end @@ -12059,38 +12066,38 @@ end # printer = GraphQL::Schema::Printer.new(MySchema) # puts printer.print_type(Types::Post) # -# source://graphql/lib/graphql/schema/printer.rb#34 +# source://graphql//lib/graphql/schema/printer.rb#34 class GraphQL::Schema::Printer < ::GraphQL::Language::Printer # @param schema [GraphQL::Schema] # @param context [Hash] # @param introspection [Boolean] Should include the introspection types in the string? # @return [Printer] a new instance of Printer # - # source://graphql/lib/graphql/schema/printer.rb#40 + # source://graphql//lib/graphql/schema/printer.rb#40 def initialize(schema, context: T.unsafe(nil), introspection: T.unsafe(nil)); end # Return a GraphQL schema string for the defined types in the schema # - # source://graphql/lib/graphql/schema/printer.rb#88 + # source://graphql//lib/graphql/schema/printer.rb#88 def print_schema; end - # source://graphql/lib/graphql/schema/printer.rb#92 + # source://graphql//lib/graphql/schema/printer.rb#92 def print_type(type); end # Returns the value of attribute schema. # - # source://graphql/lib/graphql/schema/printer.rb#35 + # source://graphql//lib/graphql/schema/printer.rb#35 def schema; end # Returns the value of attribute warden. # - # source://graphql/lib/graphql/schema/printer.rb#35 + # source://graphql//lib/graphql/schema/printer.rb#35 def warden; end class << self # Return the GraphQL schema string for the introspection type system # - # source://graphql/lib/graphql/schema/printer.rb#52 + # source://graphql//lib/graphql/schema/printer.rb#52 def print_introspection_schema; end # Return a GraphQL schema string for the defined types in the schema @@ -12100,14 +12107,14 @@ class GraphQL::Schema::Printer < ::GraphQL::Language::Printer # @param only [<#call(member, ctx)>] # @param except [<#call(member, ctx)>] # - # source://graphql/lib/graphql/schema/printer.rb#82 + # source://graphql//lib/graphql/schema/printer.rb#82 def print_schema(schema, **args); end end end -# source://graphql/lib/graphql/schema/printer.rb#97 +# source://graphql//lib/graphql/schema/printer.rb#97 class GraphQL::Schema::Printer::IntrospectionPrinter < ::GraphQL::Language::Printer - # source://graphql/lib/graphql/schema/printer.rb#98 + # source://graphql//lib/graphql/schema/printer.rb#98 def print_schema_definition(schema); end end @@ -12128,7 +12135,7 @@ end # # @see {GraphQL::Schema::Mutation} for an example, it's basically the same. # -# source://graphql/lib/graphql/schema/relay_classic_mutation.rb#22 +# source://graphql//lib/graphql/schema/relay_classic_mutation.rb#22 class GraphQL::Schema::RelayClassicMutation < ::GraphQL::Schema::Mutation include ::GraphQL::Schema::HasSingleInputArgument extend ::GraphQL::Schema::HasSingleInputArgument::ClassMethods @@ -12136,7 +12143,7 @@ class GraphQL::Schema::RelayClassicMutation < ::GraphQL::Schema::Mutation # Override {GraphQL::Schema::Resolver#resolve_with_support} to # delete `client_mutation_id` from the kwargs. # - # source://graphql/lib/graphql/schema/relay_classic_mutation.rb#34 + # source://graphql//lib/graphql/schema/relay_classic_mutation.rb#34 def resolve_with_support(**inputs); end end @@ -12156,7 +12163,7 @@ end # @see {GraphQL::Schema::Mutation} for a concrete subclass of `Resolver`. # @see {GraphQL::Function} `Resolver` is a replacement for `GraphQL::Function` # -# source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#5 +# source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#5 class GraphQL::Schema::Resolver include ::GraphQL::Schema::Member::GraphQLTypeNames include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader @@ -12177,10 +12184,10 @@ class GraphQL::Schema::Resolver # @param field [GraphQL::Schema::Field] # @return [Resolver] a new instance of Resolver # - # source://graphql/lib/graphql/schema/resolver.rb#34 + # source://graphql//lib/graphql/schema/resolver.rb#34 def initialize(object:, context:, field:); end - # source://graphql/lib/graphql/schema/resolver.rb#60 + # source://graphql//lib/graphql/schema/resolver.rb#60 def arguments; end # Called after arguments are loaded, but before resolving. @@ -12192,32 +12199,32 @@ class GraphQL::Schema::Resolver # @raise [GraphQL::UnauthorizedError] To signal an authorization failure # @return [Boolean, early_return_data] If `false`, execution will stop (and `early_return_data` will be returned instead, if present.) # - # source://graphql/lib/graphql/schema/resolver.rb#154 + # source://graphql//lib/graphql/schema/resolver.rb#154 def authorized?(**inputs); end # @api private {GraphQL::Schema::Mutation} uses this to clear the dataloader cache # - # source://graphql/lib/graphql/schema/resolver.rb#119 + # source://graphql//lib/graphql/schema/resolver.rb#119 def call_resolve(args_hash); end # @return [GraphQL::Query::Context] # - # source://graphql/lib/graphql/schema/resolver.rb#50 + # source://graphql//lib/graphql/schema/resolver.rb#50 def context; end # @return [GraphQL::Dataloader] # - # source://graphql/lib/graphql/schema/resolver.rb#53 + # source://graphql//lib/graphql/schema/resolver.rb#53 def dataloader; end # @return [GraphQL::Schema::Field] # - # source://graphql/lib/graphql/schema/resolver.rb#58 + # source://graphql//lib/graphql/schema/resolver.rb#58 def field; end # @return [Object] The application object this field is being resolved on # - # source://graphql/lib/graphql/schema/resolver.rb#47 + # source://graphql//lib/graphql/schema/resolver.rb#47 def object; end # Called before arguments are prepared. @@ -12231,7 +12238,7 @@ class GraphQL::Schema::Resolver # @raise [GraphQL::UnauthorizedError] To signal an authorization failure # @return [Boolean, early_return_data] If `false`, execution will stop (and `early_return_data` will be returned instead, if present.) # - # source://graphql/lib/graphql/schema/resolver.rb#143 + # source://graphql//lib/graphql/schema/resolver.rb#143 def ready?(**args); end # Do the work. Everything happens here. @@ -12239,7 +12246,7 @@ class GraphQL::Schema::Resolver # @raise [GraphQL::RequiredImplementationMissingError] # @return [Object] An object corresponding to the return type # - # source://graphql/lib/graphql/schema/resolver.rb#129 + # source://graphql//lib/graphql/schema/resolver.rb#129 def resolve(**args); end # This method is _actually_ called by the runtime, @@ -12248,7 +12255,7 @@ class GraphQL::Schema::Resolver # # @api private # - # source://graphql/lib/graphql/schema/resolver.rb#68 + # source://graphql//lib/graphql/schema/resolver.rb#68 def resolve_with_support(**args); end # Called when an object loaded by `loads:` fails the `.authorized?` check for its resolved GraphQL object type. @@ -12259,27 +12266,27 @@ class GraphQL::Schema::Resolver # # @param err [GraphQL::UnauthorizedError] # - # source://graphql/lib/graphql/schema/resolver.rb#166 + # source://graphql//lib/graphql/schema/resolver.rb#166 def unauthorized_object(err); end private - # source://graphql/lib/graphql/schema/resolver.rb#172 + # source://graphql//lib/graphql/schema/resolver.rb#172 def authorize_arguments(args, inputs); end - # source://graphql/lib/graphql/schema/resolver.rb#218 + # source://graphql//lib/graphql/schema/resolver.rb#218 def get_argument(name, context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/resolver.rb#191 + # source://graphql//lib/graphql/schema/resolver.rb#191 def load_arguments(args); end class << self - # source://graphql/lib/graphql/schema/resolver.rb#235 + # source://graphql//lib/graphql/schema/resolver.rb#235 def all_field_argument_definitions; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/resolver.rb#227 + # source://graphql//lib/graphql/schema/resolver.rb#227 def any_field_arguments?; end # Add an argument to this field's signature, but @@ -12287,22 +12294,22 @@ class GraphQL::Schema::Resolver # # @see {GraphQL::Schema::Argument#initialize} for the signature # - # source://graphql/lib/graphql/schema/resolver.rb#376 + # source://graphql//lib/graphql/schema/resolver.rb#376 def argument(*args, **kwargs, &block); end - # source://graphql/lib/graphql/schema/resolver.rb#313 + # source://graphql//lib/graphql/schema/resolver.rb#313 def broadcastable(new_broadcastable); end # @return [Boolean, nil] # - # source://graphql/lib/graphql/schema/resolver.rb#318 + # source://graphql//lib/graphql/schema/resolver.rb#318 def broadcastable?; end # Specifies the complexity of the field. Defaults to `1` # # @return [Integer, Proc] # - # source://graphql/lib/graphql/schema/resolver.rb#306 + # source://graphql//lib/graphql/schema/resolver.rb#306 def complexity(new_complexity = T.unsafe(nil)); end # Get or set the `default_page_size:` which will be configured for fields using this resolver @@ -12311,7 +12318,7 @@ class GraphQL::Schema::Resolver # @param default_page_size [Integer, nil] Set a new value # @return [Integer, nil] The `default_page_size` assigned to fields that use this resolver # - # source://graphql/lib/graphql/schema/resolver.rb#351 + # source://graphql//lib/graphql/schema/resolver.rb#351 def default_page_size(new_default_page_size = T.unsafe(nil)); end # Registers new extension @@ -12319,35 +12326,35 @@ class GraphQL::Schema::Resolver # @param extension [Class] Extension class # @param options [Hash] Optional extension options # - # source://graphql/lib/graphql/schema/resolver.rb#385 + # source://graphql//lib/graphql/schema/resolver.rb#385 def extension(extension, **options); end # @api private # - # source://graphql/lib/graphql/schema/resolver.rb#391 + # source://graphql//lib/graphql/schema/resolver.rb#391 def extensions; end # Additional info injected into {#resolve} # # @see {GraphQL::Schema::Field#extras} # - # source://graphql/lib/graphql/schema/resolver.rb#250 + # source://graphql//lib/graphql/schema/resolver.rb#250 def extras(new_extras = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/resolver.rb#223 + # source://graphql//lib/graphql/schema/resolver.rb#223 def field_arguments(context = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/resolver.rb#231 + # source://graphql//lib/graphql/schema/resolver.rb#231 def get_field_argument(name, context = T.unsafe(nil)); end # @return [Boolean] `true` if this resolver or a superclass has an assigned `default_page_size` # - # source://graphql/lib/graphql/schema/resolver.rb#364 + # source://graphql//lib/graphql/schema/resolver.rb#364 def has_default_page_size?; end # @return [Boolean] `true` if this resolver or a superclass has an assigned `max_page_size` # - # source://graphql/lib/graphql/schema/resolver.rb#343 + # source://graphql//lib/graphql/schema/resolver.rb#343 def has_max_page_size?; end # Get or set the `max_page_size:` which will be configured for fields using this resolver @@ -12356,7 +12363,7 @@ class GraphQL::Schema::Resolver # @param max_page_size [Integer, nil] Set a new value # @return [Integer, nil] The `max_page_size` assigned to fields that use this resolver # - # source://graphql/lib/graphql/schema/resolver.rb#330 + # source://graphql//lib/graphql/schema/resolver.rb#330 def max_page_size(new_max_page_size = T.unsafe(nil)); end # If `true` (default), then the return type for this resolver will be nullable. @@ -12365,17 +12372,17 @@ class GraphQL::Schema::Resolver # @param allow_null [Boolean] Whether or not the response can be null # @see #type which sets the return type of this field and accepts a `null:` option # - # source://graphql/lib/graphql/schema/resolver.rb#263 + # source://graphql//lib/graphql/schema/resolver.rb#263 def null(allow_null = T.unsafe(nil)); end # Default `:resolve` set below. # # @return [Symbol] The method to call on instances of this object to resolve the field # - # source://graphql/lib/graphql/schema/resolver.rb#241 + # source://graphql//lib/graphql/schema/resolver.rb#241 def resolve_method(new_method = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/resolver.rb#271 + # source://graphql//lib/graphql/schema/resolver.rb#271 def resolver_method(new_method_name = T.unsafe(nil)); end # Call this method to get the return type of the field, @@ -12387,19 +12394,19 @@ class GraphQL::Schema::Resolver # @param null [true, false] Whether or not the field may return `nil` # @return [Class] The type which this field returns. # - # source://graphql/lib/graphql/schema/resolver.rb#286 + # source://graphql//lib/graphql/schema/resolver.rb#286 def type(new_type = T.unsafe(nil), null: T.unsafe(nil)); end # A non-normalized type configuration, without `null` applied # - # source://graphql/lib/graphql/schema/resolver.rb#369 + # source://graphql//lib/graphql/schema/resolver.rb#369 def type_expr; end private # Returns the value of attribute own_extensions. # - # source://graphql/lib/graphql/schema/resolver.rb#412 + # source://graphql//lib/graphql/schema/resolver.rb#412 def own_extensions; end end end @@ -12409,12 +12416,12 @@ end # # Or, an already-defined one can be attached with `payload_type(...)`. # -# source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#10 +# source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#10 module GraphQL::Schema::Resolver::HasPayloadType - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#62 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#62 def field(*args, **kwargs, &block); end - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#36 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#36 def field_class(new_class = T.unsafe(nil)); end # An object class to use for deriving return types @@ -12422,7 +12429,7 @@ module GraphQL::Schema::Resolver::HasPayloadType # @param new_class [Class, nil] Defaults to {GraphQL::Schema::Object} # @return [Class] # - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#49 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#49 def object_class(new_class = T.unsafe(nil)); end # Call this method to get the derived return type of the mutation, @@ -12432,10 +12439,10 @@ module GraphQL::Schema::Resolver::HasPayloadType # @param new_payload_type [Class, nil] If a type definition class is provided, it will be used as the return type of the mutation field # @return [Class] The object type which this mutation returns. # - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#16 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#16 def payload_type(new_payload_type = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#23 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#23 def type(new_type = T.unsafe(nil), null: T.unsafe(nil)); end # Call this method to get the derived return type of the mutation, @@ -12445,7 +12452,7 @@ module GraphQL::Schema::Resolver::HasPayloadType # @param new_payload_type [Class, nil] If a type definition class is provided, it will be used as the return type of the mutation field # @return [Class] The object type which this mutation returns. # - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#16 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#34 def type_expr(new_payload_type = T.unsafe(nil)); end private @@ -12454,46 +12461,46 @@ module GraphQL::Schema::Resolver::HasPayloadType # This value will be cached as `{.payload_type}`. # Override this hook to customize return type generation. # - # source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#89 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#89 def generate_payload_type; end end -# source://graphql/lib/graphql/schema/resolver/has_payload_type.rb#60 +# source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#60 GraphQL::Schema::Resolver::HasPayloadType::NO_INTERFACES = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/scalar.rb#4 +# source://graphql//lib/graphql/schema/scalar.rb#4 class GraphQL::Schema::Scalar < ::GraphQL::Schema::Member extend ::GraphQL::Schema::Member::ValidatesInput class << self - # source://graphql/lib/graphql/schema/scalar.rb#8 + # source://graphql//lib/graphql/schema/scalar.rb#8 def coerce_input(val, ctx); end - # source://graphql/lib/graphql/schema/scalar.rb#12 + # source://graphql//lib/graphql/schema/scalar.rb#12 def coerce_result(val, ctx); end - # source://graphql/lib/graphql/schema/scalar.rb#32 + # source://graphql//lib/graphql/schema/scalar.rb#32 def default_scalar(is_default = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/scalar.rb#39 + # source://graphql//lib/graphql/schema/scalar.rb#39 def default_scalar?; end - # source://graphql/lib/graphql/schema/scalar.rb#16 + # source://graphql//lib/graphql/schema/scalar.rb#16 def kind; end - # source://graphql/lib/graphql/schema/scalar.rb#20 + # source://graphql//lib/graphql/schema/scalar.rb#20 def specified_by_url(new_url = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/scalar.rb#43 + # source://graphql//lib/graphql/schema/scalar.rb#43 def validate_non_null_input(value, ctx, max_errors: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/schema.rb#1784 +# source://graphql//lib/graphql/schema.rb#1784 module GraphQL::Schema::SubclassGetReferencesTo - # source://graphql/lib/graphql/schema.rb#1785 + # source://graphql//lib/graphql/schema.rb#1785 def get_references_to(type_defn); end end @@ -12507,7 +12514,7 @@ end # # Also, `#unsubscribe` terminates the subscription. # -# source://graphql/lib/graphql/schema/subscription.rb#14 +# source://graphql//lib/graphql/schema/subscription.rb#14 class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -12518,57 +12525,57 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # @api private # @return [Subscription] a new instance of Subscription # - # source://graphql/lib/graphql/schema/subscription.rb#23 + # source://graphql//lib/graphql/schema/subscription.rb#23 def initialize(object:, context:, field:); end # @return [Subscriptions::Event] This object is used as a representation of this subscription for the backend # - # source://graphql/lib/graphql/schema/subscription.rb#191 + # source://graphql//lib/graphql/schema/subscription.rb#191 def event; end # If an argument is flagged with `loads:` and no object is found for it, # remove this subscription (assuming that the object was deleted in the meantime, # or that it became inaccessible). # - # source://graphql/lib/graphql/schema/subscription.rb#107 + # source://graphql//lib/graphql/schema/subscription.rb#107 def load_application_object_failed(err); end # Implement the {Resolve} API. # You can implement this if you want code to run for _both_ the initial subscription # and for later updates. Or, implement {#subscribe} and {#update} # - # source://graphql/lib/graphql/schema/subscription.rb#61 + # source://graphql//lib/graphql/schema/subscription.rb#61 def resolve(**args); end # Wrap the user-defined `#subscribe` hook # # @api private # - # source://graphql/lib/graphql/schema/subscription.rb#69 + # source://graphql//lib/graphql/schema/subscription.rb#69 def resolve_subscribe(**args); end # Wrap the user-provided `#update` hook # # @api private # - # source://graphql/lib/graphql/schema/subscription.rb#87 + # source://graphql//lib/graphql/schema/subscription.rb#87 def resolve_update(**args); end # @api private # - # source://graphql/lib/graphql/schema/subscription.rb#36 + # source://graphql//lib/graphql/schema/subscription.rb#36 def resolve_with_support(**args); end # The default implementation returns nothing on subscribe. # Override it to return an object or # `:no_response` to (explicitly) return nothing. # - # source://graphql/lib/graphql/schema/subscription.rb#81 + # source://graphql//lib/graphql/schema/subscription.rb#81 def subscribe(args = T.unsafe(nil)); end # @return [Boolean] `true` if {#write_subscription} was called already # - # source://graphql/lib/graphql/schema/subscription.rb#186 + # source://graphql//lib/graphql/schema/subscription.rb#186 def subscription_written?; end # Call this to halt execution and remove this subscription from the system @@ -12576,14 +12583,14 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # @param update_value [Object] if present, deliver this update before unsubscribing # @return [void] # - # source://graphql/lib/graphql/schema/subscription.rb#117 + # source://graphql//lib/graphql/schema/subscription.rb#117 def unsubscribe(update_value = T.unsafe(nil)); end # The default implementation returns the root object. # Override it to return {NO_UPDATE} if you want to # skip updates sometimes. Or override it to return a different object. # - # source://graphql/lib/graphql/schema/subscription.rb#100 + # source://graphql//lib/graphql/schema/subscription.rb#100 def update(args = T.unsafe(nil)); end # Calls through to `schema.subscriptions` to register this subscription with the backend. @@ -12597,7 +12604,7 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # # @return [void] # - # source://graphql/lib/graphql/schema/subscription.rb#175 + # source://graphql//lib/graphql/schema/subscription.rb#175 def write_subscription; end class << self @@ -12608,12 +12615,12 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # @param optional [Boolean] If true, then don't require `scope:` to be provided to updates to this subscription. # @return [Symbol] # - # source://graphql/lib/graphql/schema/subscription.rb#127 + # source://graphql//lib/graphql/schema/subscription.rb#127 def subscription_scope(new_scope = T.unsafe(nil), optional: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/subscription.rb#138 + # source://graphql//lib/graphql/schema/subscription.rb#138 def subscription_scope_optional?; end # This is called during initial subscription to get a "name" for this subscription. @@ -12633,12 +12640,12 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # @return [String] An identifier corresponding to a stream of updates # @see {#update} for how to skip updates when an event comes with a matching topic. # - # source://graphql/lib/graphql/schema/subscription.rb#162 + # source://graphql//lib/graphql/schema/subscription.rb#162 def topic_for(arguments:, field:, scope:); end end end -# source://graphql/lib/graphql/schema/subscription.rb#17 +# source://graphql//lib/graphql/schema/subscription.rb#17 GraphQL::Schema::Subscription::NO_UPDATE = T.let(T.unsafe(nil), Symbol) # This plugin will stop resolving new fields after `max_seconds` have elapsed. @@ -12670,11 +12677,11 @@ GraphQL::Schema::Subscription::NO_UPDATE = T.let(T.unsafe(nil), Symbol) # use MyTimeout, max_seconds: 2 # end # -# source://graphql/lib/graphql/schema/timeout.rb#35 +# source://graphql//lib/graphql/schema/timeout.rb#35 class GraphQL::Schema::Timeout # @return [Timeout] a new instance of Timeout # - # source://graphql/lib/graphql/schema/timeout.rb#41 + # source://graphql//lib/graphql/schema/timeout.rb#41 def initialize(max_seconds:); end # Invoked when a query times out. @@ -12682,7 +12689,7 @@ class GraphQL::Schema::Timeout # @param error [GraphQL::Schema::Timeout::TimeoutError] # @param query [GraphQL::Error] # - # source://graphql/lib/graphql/schema/timeout.rb#101 + # source://graphql//lib/graphql/schema/timeout.rb#101 def handle_timeout(error, query); end # Called at the start of each query. @@ -12691,11 +12698,11 @@ class GraphQL::Schema::Timeout # @param query [GraphQL::Query] The query that's about to run # @return [Numeric, false] The number of seconds after which to interrupt query execution and call {#handle_error}, or `false` to bypass the timeout. # - # source://graphql/lib/graphql/schema/timeout.rb#94 + # source://graphql//lib/graphql/schema/timeout.rb#94 def max_seconds(query); end class << self - # source://graphql/lib/graphql/schema/timeout.rb#36 + # source://graphql//lib/graphql/schema/timeout.rb#36 def use(schema, max_seconds: T.unsafe(nil)); end end end @@ -12708,31 +12715,31 @@ end # to take this error and raise a new one which _doesn't_ descend from {GraphQL::ExecutionError}, # such as `RuntimeError`. # -# source://graphql/lib/graphql/schema/timeout.rb#112 +# source://graphql//lib/graphql/schema/timeout.rb#112 class GraphQL::Schema::Timeout::TimeoutError < ::GraphQL::ExecutionError # @return [TimeoutError] a new instance of TimeoutError # - # source://graphql/lib/graphql/schema/timeout.rb#113 + # source://graphql//lib/graphql/schema/timeout.rb#113 def initialize(field); end end -# source://graphql/lib/graphql/schema/timeout.rb#45 +# source://graphql//lib/graphql/schema/timeout.rb#45 module GraphQL::Schema::Timeout::Trace # @param max_seconds [Numeric] how many seconds the query should be allowed to resolve new fields # - # source://graphql/lib/graphql/schema/timeout.rb#47 + # source://graphql//lib/graphql/schema/timeout.rb#47 def initialize(timeout:, **rest); end - # source://graphql/lib/graphql/schema/timeout.rb#71 + # source://graphql//lib/graphql/schema/timeout.rb#71 def execute_field(query:, field:, **_rest); end - # source://graphql/lib/graphql/schema/timeout.rb#52 + # source://graphql//lib/graphql/schema/timeout.rb#52 def execute_multiplex(multiplex:); end end # @api private # -# source://graphql/lib/graphql/schema/type_expression.rb#5 +# source://graphql//lib/graphql/schema/type_expression.rb#5 module GraphQL::Schema::TypeExpression class << self # Fetch a type from a type map by its AST specification. @@ -12743,14 +12750,14 @@ module GraphQL::Schema::TypeExpression # @param ast_node [GraphQL::Language::Nodes::AbstractNode] # @return [Class, GraphQL::Schema::NonNull, GraphQL::Schema:List] # - # source://graphql/lib/graphql/schema/type_expression.rb#11 + # source://graphql//lib/graphql/schema/type_expression.rb#11 def build_type(type_owner, ast_node); end private # @api private # - # source://graphql/lib/graphql/schema/type_expression.rb#31 + # source://graphql//lib/graphql/schema/type_expression.rb#31 def wrap_type(type, wrapper_method); end end end @@ -12758,7 +12765,7 @@ end # This class joins an object type to an abstract type (interface or union) of which # it is a member. # -# source://graphql/lib/graphql/schema/type_membership.rb#7 +# source://graphql//lib/graphql/schema/type_membership.rb#7 class GraphQL::Schema::TypeMembership # Called when an object is hooked up to an abstract type, such as {Schema::Union.possible_types} # or {Schema::Object.implements} (for interfaces). @@ -12768,52 +12775,53 @@ class GraphQL::Schema::TypeMembership # @param options [Hash] Any options passed to `.possible_types` or `.implements` # @return [TypeMembership] a new instance of TypeMembership # - # source://graphql/lib/graphql/schema/type_membership.rb#23 + # source://graphql//lib/graphql/schema/type_membership.rb#23 def initialize(abstract_type, object_type, **options); end # @return [Class, Module] # - # source://graphql/lib/graphql/schema/type_membership.rb#12 + # source://graphql//lib/graphql/schema/type_membership.rb#12 def abstract_type; end - # source://graphql/lib/graphql/schema/type_membership.rb#36 + # source://graphql//lib/graphql/schema/type_membership.rb#36 def graphql_name; end - # source://graphql/lib/graphql/schema/type_membership.rb#44 + # source://graphql//lib/graphql/schema/type_membership.rb#44 def inspect; end # @return [Class] # - # source://graphql/lib/graphql/schema/type_membership.rb#9 + # source://graphql//lib/graphql/schema/type_membership.rb#9 def object_type; end # @return [Class] # - # source://graphql/lib/graphql/schema/type_membership.rb#9 + # source://graphql//lib/graphql/schema/type_membership.rb#9 def object_type=(_arg0); end # @return [Hash] # - # source://graphql/lib/graphql/schema/type_membership.rb#15 + # source://graphql//lib/graphql/schema/type_membership.rb#15 def options; end - # source://graphql/lib/graphql/schema/type_membership.rb#40 + # source://graphql//lib/graphql/schema/type_membership.rb#40 def path; end + # source://graphql//lib/graphql/schema/type_membership.rb#48 def type_class; end # @return [Boolean] if false, {#object_type} will be treated as _not_ a member of {#abstract_type} # - # source://graphql/lib/graphql/schema/type_membership.rb#30 + # source://graphql//lib/graphql/schema/type_membership.rb#30 def visible?(ctx); end end -# source://graphql/lib/graphql/schema/union.rb#4 +# source://graphql//lib/graphql/schema/union.rb#4 class GraphQL::Schema::Union < ::GraphQL::Schema::Member extend ::GraphQL::Schema::Member::HasUnresolvedTypeError class << self - # source://graphql/lib/graphql/schema/union.rb#31 + # source://graphql//lib/graphql/schema/union.rb#31 def all_possible_types; end # Update a type membership whose `.object_type` is a string or late-bound type @@ -12822,92 +12830,92 @@ class GraphQL::Schema::Union < ::GraphQL::Schema::Member # # @api private # - # source://graphql/lib/graphql/schema/union.rb#55 + # source://graphql//lib/graphql/schema/union.rb#55 def assign_type_membership_object_type(object_type); end # @private # - # source://graphql/lib/graphql/schema/union.rb#8 + # source://graphql//lib/graphql/schema/union.rb#8 def inherited(child_class); end - # source://graphql/lib/graphql/schema/union.rb#43 + # source://graphql//lib/graphql/schema/union.rb#43 def kind; end - # source://graphql/lib/graphql/schema/union.rb#13 + # source://graphql//lib/graphql/schema/union.rb#13 def possible_types(*types, context: T.unsafe(nil), **options); end - # source://graphql/lib/graphql/schema/union.rb#35 + # source://graphql//lib/graphql/schema/union.rb#35 def type_membership_class(membership_class = T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/union.rb#47 + # source://graphql//lib/graphql/schema/union.rb#47 def type_memberships; end private - # source://graphql/lib/graphql/schema/union.rb#72 + # source://graphql//lib/graphql/schema/union.rb#72 def assert_valid_union_member(type_defn); end end end -# source://graphql/lib/graphql/schema/unique_within_type.rb#6 +# source://graphql//lib/graphql/schema/unique_within_type.rb#6 module GraphQL::Schema::UniqueWithinType private # @param node_id [String] A unique ID generated by {.encode} # @return [Array<(String, String)>] The type name & value passed to {.encode} # - # source://graphql/lib/graphql/schema/unique_within_type.rb#29 + # source://graphql//lib/graphql/schema/unique_within_type.rb#29 def decode(node_id, separator: T.unsafe(nil)); end # @param type_name [String] # @param object_value [Any] # @return [String] a unique, opaque ID generated as a function of the two inputs # - # source://graphql/lib/graphql/schema/unique_within_type.rb#17 + # source://graphql//lib/graphql/schema/unique_within_type.rb#17 def encode(type_name, object_value, separator: T.unsafe(nil)); end class << self # @param node_id [String] A unique ID generated by {.encode} # @return [Array<(String, String)>] The type name & value passed to {.encode} # - # source://graphql/lib/graphql/schema/unique_within_type.rb#29 + # source://graphql//lib/graphql/schema/unique_within_type.rb#29 def decode(node_id, separator: T.unsafe(nil)); end # Returns the value of attribute default_id_separator. # - # source://graphql/lib/graphql/schema/unique_within_type.rb#8 + # source://graphql//lib/graphql/schema/unique_within_type.rb#8 def default_id_separator; end # Sets the attribute default_id_separator # # @param value the value to set the attribute default_id_separator to. # - # source://graphql/lib/graphql/schema/unique_within_type.rb#8 + # source://graphql//lib/graphql/schema/unique_within_type.rb#8 def default_id_separator=(_arg0); end # @param type_name [String] # @param object_value [Any] # @return [String] a unique, opaque ID generated as a function of the two inputs # - # source://graphql/lib/graphql/schema/unique_within_type.rb#17 + # source://graphql//lib/graphql/schema/unique_within_type.rb#17 def encode(type_name, object_value, separator: T.unsafe(nil)); end end end -# source://graphql/lib/graphql/schema.rb#90 +# source://graphql//lib/graphql/schema.rb#90 class GraphQL::Schema::UnresolvedLateBoundTypeError < ::GraphQL::Error # @return [UnresolvedLateBoundTypeError] a new instance of UnresolvedLateBoundTypeError # - # source://graphql/lib/graphql/schema.rb#92 + # source://graphql//lib/graphql/schema.rb#92 def initialize(type:); end # Returns the value of attribute type. # - # source://graphql/lib/graphql/schema.rb#91 + # source://graphql//lib/graphql/schema.rb#91 def type; end end -# source://graphql/lib/graphql/schema/validator.rb#5 +# source://graphql//lib/graphql/schema/validator.rb#5 class GraphQL::Schema::Validator include ::GraphQL::EmptyObjects @@ -12916,18 +12924,18 @@ class GraphQL::Schema::Validator # @param allow_null [Boolean] if `true`, then incoming `null`s will skip this validation # @return [Validator] a new instance of Validator # - # source://graphql/lib/graphql/schema/validator.rb#13 + # source://graphql//lib/graphql/schema/validator.rb#13 def initialize(validated:, allow_blank: T.unsafe(nil), allow_null: T.unsafe(nil)); end # This is like `String#%`, but it supports the case that only some of `string`'s # values are present in `substitutions` # - # source://graphql/lib/graphql/schema/validator.rb#29 + # source://graphql//lib/graphql/schema/validator.rb#29 def partial_format(string, substitutions); end # @return [Boolean] `true` if `value` is `nil` and this validator has `allow_null: true` or if value is `.blank?` and this validator has `allow_blank: true` # - # source://graphql/lib/graphql/schema/validator.rb#38 + # source://graphql//lib/graphql/schema/validator.rb#38 def permitted_empty_value?(value); end # @param object [Object] The application object that this argument's field is being resolved for @@ -12936,34 +12944,34 @@ class GraphQL::Schema::Validator # @raise [GraphQL::RequiredImplementationMissingError] # @return [nil, Array, String] Error message or messages to add # - # source://graphql/lib/graphql/schema/validator.rb#23 + # source://graphql//lib/graphql/schema/validator.rb#23 def validate(object, context, value); end # The thing being validated # # @return [GraphQL::Schema::Argument, GraphQL::Schema::Field, GraphQL::Schema::Resolver, Class] # - # source://graphql/lib/graphql/schema/validator.rb#8 + # source://graphql//lib/graphql/schema/validator.rb#8 def validated; end class << self # Returns the value of attribute all_validators. # - # source://graphql/lib/graphql/schema/validator.rb#100 + # source://graphql//lib/graphql/schema/validator.rb#100 def all_validators; end # Sets the attribute all_validators # # @param value the value to set the attribute all_validators to. # - # source://graphql/lib/graphql/schema/validator.rb#100 + # source://graphql//lib/graphql/schema/validator.rb#100 def all_validators=(_arg0); end # @param schema_member [GraphQL::Schema::Field, GraphQL::Schema::Argument, Class] # @param validates_hash [Hash{Symbol => Hash}, Hash{Class => Hash} nil] A configuration passed as `validates:` # @return [Array] # - # source://graphql/lib/graphql/schema/validator.rb#46 + # source://graphql//lib/graphql/schema/validator.rb#46 def from_config(schema_member, validates_hash); end # Add `validator_class` to be initialized when `validates:` is given `name`. @@ -12973,7 +12981,7 @@ class GraphQL::Schema::Validator # @param validator_class [Class] # @return [void] # - # source://graphql/lib/graphql/schema/validator.rb#86 + # source://graphql//lib/graphql/schema/validator.rb#86 def install(name, validator_class); end # Remove whatever validator class is {.install}ed at `name`, if there is one @@ -12981,7 +12989,7 @@ class GraphQL::Schema::Validator # @param name [Symbol] # @return [void] # - # source://graphql/lib/graphql/schema/validator.rb#94 + # source://graphql//lib/graphql/schema/validator.rb#94 def uninstall(name); end # @param validators [Array] @@ -12990,7 +12998,7 @@ class GraphQL::Schema::Validator # @param value [Object] # @return [void] # - # source://graphql/lib/graphql/schema/validator.rb#122 + # source://graphql//lib/graphql/schema/validator.rb#122 def validate!(validators, object, context, value, as: T.unsafe(nil)); end end end @@ -13010,14 +13018,14 @@ end # argument :choices, [Integer], # validates: { all: { inclusion: { in: 1..12 } } } # -# source://graphql/lib/graphql/schema/validator/all_validator.rb#23 +# source://graphql//lib/graphql/schema/validator/all_validator.rb#23 class GraphQL::Schema::Validator::AllValidator < ::GraphQL::Schema::Validator # @return [AllValidator] a new instance of AllValidator # - # source://graphql/lib/graphql/schema/validator/all_validator.rb#24 + # source://graphql//lib/graphql/schema/validator/all_validator.rb#24 def initialize(validated:, allow_blank: T.unsafe(nil), allow_null: T.unsafe(nil), **validators); end - # source://graphql/lib/graphql/schema/validator/all_validator.rb#30 + # source://graphql//lib/graphql/schema/validator/all_validator.rb#30 def validate(object, context, value); end end @@ -13026,14 +13034,14 @@ end # @example Require a non-empty string for an argument # argument :name, String, required: true, validate: { allow_blank: false } # -# source://graphql/lib/graphql/schema/validator/allow_blank_validator.rb#10 +# source://graphql//lib/graphql/schema/validator/allow_blank_validator.rb#10 class GraphQL::Schema::Validator::AllowBlankValidator < ::GraphQL::Schema::Validator # @return [AllowBlankValidator] a new instance of AllowBlankValidator # - # source://graphql/lib/graphql/schema/validator/allow_blank_validator.rb#11 + # source://graphql//lib/graphql/schema/validator/allow_blank_validator.rb#11 def initialize(allow_blank_positional, allow_blank: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/allow_blank_validator.rb#17 + # source://graphql//lib/graphql/schema/validator/allow_blank_validator.rb#17 def validate(_object, _context, value); end end @@ -13042,18 +13050,18 @@ end # @example require a non-null value for an argument if it is provided # argument :name, String, required: false, validates: { allow_null: false } # -# source://graphql/lib/graphql/schema/validator/allow_null_validator.rb#10 +# source://graphql//lib/graphql/schema/validator/allow_null_validator.rb#10 class GraphQL::Schema::Validator::AllowNullValidator < ::GraphQL::Schema::Validator # @return [AllowNullValidator] a new instance of AllowNullValidator # - # source://graphql/lib/graphql/schema/validator/allow_null_validator.rb#12 + # source://graphql//lib/graphql/schema/validator/allow_null_validator.rb#12 def initialize(allow_null_positional, allow_null: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/allow_null_validator.rb#18 + # source://graphql//lib/graphql/schema/validator/allow_null_validator.rb#18 def validate(_object, _context, value); end end -# source://graphql/lib/graphql/schema/validator/allow_null_validator.rb#11 +# source://graphql//lib/graphql/schema/validator/allow_null_validator.rb#11 GraphQL::Schema::Validator::AllowNullValidator::MESSAGE = T.let(T.unsafe(nil), String) # Use this to specifically reject values from an argument. @@ -13063,16 +13071,16 @@ GraphQL::Schema::Validator::AllowNullValidator::MESSAGE = T.let(T.unsafe(nil), S # argument :favorite_non_prime, Integer, required: true, # validates: { exclusion: { in: [2, 3, 5, 7, ... ]} } # -# source://graphql/lib/graphql/schema/validator/exclusion_validator.rb#13 +# source://graphql//lib/graphql/schema/validator/exclusion_validator.rb#13 class GraphQL::Schema::Validator::ExclusionValidator < ::GraphQL::Schema::Validator # @param message [String] # @param in [Array] The values to reject # @return [ExclusionValidator] a new instance of ExclusionValidator # - # source://graphql/lib/graphql/schema/validator/exclusion_validator.rb#16 + # source://graphql//lib/graphql/schema/validator/exclusion_validator.rb#16 def initialize(in:, message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/exclusion_validator.rb#23 + # source://graphql//lib/graphql/schema/validator/exclusion_validator.rb#23 def validate(_object, _context, value); end end @@ -13089,17 +13097,17 @@ end # # # It's pretty hard to come up with a legitimate use case for `without:` # -# source://graphql/lib/graphql/schema/validator/format_validator.rb#20 +# source://graphql//lib/graphql/schema/validator/format_validator.rb#20 class GraphQL::Schema::Validator::FormatValidator < ::GraphQL::Schema::Validator # @param with [RegExp, nil] # @param without [Regexp, nil] # @param message [String] # @return [FormatValidator] a new instance of FormatValidator # - # source://graphql/lib/graphql/schema/validator/format_validator.rb#24 + # source://graphql//lib/graphql/schema/validator/format_validator.rb#24 def initialize(with: T.unsafe(nil), without: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/format_validator.rb#36 + # source://graphql//lib/graphql/schema/validator/format_validator.rb#36 def validate(_object, _context, value); end end @@ -13112,16 +13120,16 @@ end # argument :favorite_prime, Integer, required: true, # validates: { inclusion: { in: [2, 3, 5, 7, 11, ... ] } } # -# source://graphql/lib/graphql/schema/validator/inclusion_validator.rb#15 +# source://graphql//lib/graphql/schema/validator/inclusion_validator.rb#15 class GraphQL::Schema::Validator::InclusionValidator < ::GraphQL::Schema::Validator # @param message [String] # @param in [Array] The values to allow # @return [InclusionValidator] a new instance of InclusionValidator # - # source://graphql/lib/graphql/schema/validator/inclusion_validator.rb#18 + # source://graphql//lib/graphql/schema/validator/inclusion_validator.rb#18 def initialize(in:, message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/inclusion_validator.rb#25 + # source://graphql//lib/graphql/schema/validator/inclusion_validator.rb#25 def validate(_object, _context, value); end end @@ -13134,7 +13142,7 @@ end # # argument :ice_cream_preferences, [ICE_CREAM_FLAVOR], required: true, validates: { length: { is: 3 } } # -# source://graphql/lib/graphql/schema/validator/length_validator.rb#16 +# source://graphql//lib/graphql/schema/validator/length_validator.rb#16 class GraphQL::Schema::Validator::LengthValidator < ::GraphQL::Schema::Validator # @param maximum [Integer] # @param too_long [String] Used when `maximum` is exceeded or value is greater than `within` @@ -13146,10 +13154,10 @@ class GraphQL::Schema::Validator::LengthValidator < ::GraphQL::Schema::Validator # @param message [String] # @return [LengthValidator] a new instance of LengthValidator # - # source://graphql/lib/graphql/schema/validator/length_validator.rb#25 + # source://graphql//lib/graphql/schema/validator/length_validator.rb#25 def initialize(maximum: T.unsafe(nil), too_long: T.unsafe(nil), minimum: T.unsafe(nil), too_short: T.unsafe(nil), is: T.unsafe(nil), within: T.unsafe(nil), wrong_length: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/length_validator.rb#45 + # source://graphql//lib/graphql/schema/validator/length_validator.rb#45 def validate(_object, _context, value); end end @@ -13165,7 +13173,7 @@ end # # argument :items_count, Integer, required: true, validates: { numericality: { greater_than_or_equal_to: 0 } } # -# source://graphql/lib/graphql/schema/validator/numericality_validator.rb#19 +# source://graphql//lib/graphql/schema/validator/numericality_validator.rb#19 class GraphQL::Schema::Validator::NumericalityValidator < ::GraphQL::Schema::Validator # @param greater_than [Integer] # @param greater_than_or_equal_to [Integer] @@ -13179,10 +13187,10 @@ class GraphQL::Schema::Validator::NumericalityValidator < ::GraphQL::Schema::Val # @param message [String] used for all validation failures # @return [NumericalityValidator] a new instance of NumericalityValidator # - # source://graphql/lib/graphql/schema/validator/numericality_validator.rb#30 + # source://graphql//lib/graphql/schema/validator/numericality_validator.rb#30 def initialize(greater_than: T.unsafe(nil), greater_than_or_equal_to: T.unsafe(nil), less_than: T.unsafe(nil), less_than_or_equal_to: T.unsafe(nil), equal_to: T.unsafe(nil), other_than: T.unsafe(nil), odd: T.unsafe(nil), even: T.unsafe(nil), within: T.unsafe(nil), message: T.unsafe(nil), null_message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/numericality_validator.rb#54 + # source://graphql//lib/graphql/schema/validator/numericality_validator.rb#54 def validate(object, context, value); end end @@ -13215,60 +13223,60 @@ end # argument :age, Integer, required: :nullable # end # -# source://graphql/lib/graphql/schema/validator/required_validator.rb#37 +# source://graphql//lib/graphql/schema/validator/required_validator.rb#37 class GraphQL::Schema::Validator::RequiredValidator < ::GraphQL::Schema::Validator # @param one_of [Array] A list of arguments, exactly one of which is required for this field # @param argument [Symbol] An argument that is required for this field # @param message [String] # @return [RequiredValidator] a new instance of RequiredValidator # - # source://graphql/lib/graphql/schema/validator/required_validator.rb#41 + # source://graphql//lib/graphql/schema/validator/required_validator.rb#41 def initialize(one_of: T.unsafe(nil), argument: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql/lib/graphql/schema/validator/required_validator.rb#99 + # source://graphql//lib/graphql/schema/validator/required_validator.rb#99 def arg_keyword_to_grapqhl_name(argument_definitions, arg_keyword); end - # source://graphql/lib/graphql/schema/validator/required_validator.rb#81 + # source://graphql//lib/graphql/schema/validator/required_validator.rb#81 def build_message(context); end - # source://graphql/lib/graphql/schema/validator/required_validator.rb#53 + # source://graphql//lib/graphql/schema/validator/required_validator.rb#53 def validate(_object, context, value); end end -# source://graphql/lib/graphql/schema/validator.rb#107 +# source://graphql//lib/graphql/schema/validator.rb#107 class GraphQL::Schema::Validator::ValidationFailedError < ::GraphQL::ExecutionError # @return [ValidationFailedError] a new instance of ValidationFailedError # - # source://graphql/lib/graphql/schema/validator.rb#110 + # source://graphql//lib/graphql/schema/validator.rb#110 def initialize(errors:); end # Returns the value of attribute errors. # - # source://graphql/lib/graphql/schema/validator.rb#108 + # source://graphql//lib/graphql/schema/validator.rb#108 def errors; end end # Use this plugin to make some parts of your schema hidden from some viewers. # -# source://graphql/lib/graphql/schema/visibility/profile.rb#5 +# source://graphql//lib/graphql/schema/visibility/profile.rb#5 class GraphQL::Schema::Visibility # @return [Visibility] a new instance of Visibility # - # source://graphql/lib/graphql/schema/visibility.rb#22 + # source://graphql//lib/graphql/schema/visibility.rb#22 def initialize(schema, dynamic:, preload:, profiles:, migration_errors:); end - # source://graphql/lib/graphql/schema/visibility.rb#44 + # source://graphql//lib/graphql/schema/visibility.rb#44 def all_directives; end - # source://graphql/lib/graphql/schema/visibility.rb#49 + # source://graphql//lib/graphql/schema/visibility.rb#49 def all_interface_type_memberships; end - # source://graphql/lib/graphql/schema/visibility.rb#54 + # source://graphql//lib/graphql/schema/visibility.rb#54 def all_references; end # Returns the value of attribute cached_profiles. # - # source://graphql/lib/graphql/schema/visibility.rb#146 + # source://graphql//lib/graphql/schema/visibility.rb#146 def cached_profiles; end # Make another Visibility for `schema` based on this one @@ -13276,72 +13284,72 @@ class GraphQL::Schema::Visibility # @api private # @return [Visibility] # - # source://graphql/lib/graphql/schema/visibility.rb#132 + # source://graphql//lib/graphql/schema/visibility.rb#132 def dup_for(other_schema); end - # source://graphql/lib/graphql/schema/visibility.rb#59 + # source://graphql//lib/graphql/schema/visibility.rb#59 def get_type(type_name); end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#119 + # source://graphql//lib/graphql/schema/visibility.rb#119 def introspection_system_configured(introspection_system); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility.rb#142 + # source://graphql//lib/graphql/schema/visibility.rb#142 def migration_errors?; end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#98 + # source://graphql//lib/graphql/schema/visibility.rb#98 def mutation_configured(mutation_type); end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#112 + # source://graphql//lib/graphql/schema/visibility.rb#112 def orphan_types_configured(orphan_types); end - # source://graphql/lib/graphql/schema/visibility.rb#68 + # source://graphql//lib/graphql/schema/visibility.rb#68 def preload; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility.rb#64 + # source://graphql//lib/graphql/schema/visibility.rb#64 def preload?; end - # source://graphql/lib/graphql/schema/visibility.rb#148 + # source://graphql//lib/graphql/schema/visibility.rb#148 def profile_for(context, visibility_profile); end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#91 + # source://graphql//lib/graphql/schema/visibility.rb#91 def query_configured(query_type); end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#105 + # source://graphql//lib/graphql/schema/visibility.rb#105 def subscription_configured(subscription_type); end # Returns the value of attribute top_level. # - # source://graphql/lib/graphql/schema/visibility.rb#172 + # source://graphql//lib/graphql/schema/visibility.rb#172 def top_level; end - # source://graphql/lib/graphql/schema/visibility.rb#177 + # source://graphql//lib/graphql/schema/visibility.rb#177 def top_level_profile(refresh: T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/visibility.rb#175 + # source://graphql//lib/graphql/schema/visibility.rb#175 def unfiltered_interface_type_memberships; end private - # source://graphql/lib/graphql/schema/visibility.rb#186 + # source://graphql//lib/graphql/schema/visibility.rb#186 def ensure_all_loaded(types_to_visit); end - # source://graphql/lib/graphql/schema/visibility.rb#199 + # source://graphql//lib/graphql/schema/visibility.rb#199 def load_all(types: T.unsafe(nil)); end class << self @@ -13350,7 +13358,7 @@ class GraphQL::Schema::Visibility # @param preload [Boolean] if `true`, load the default schema profile and all named profiles immediately (defaults to `true` for `Rails.env.production?`) # @param migration_errors [Boolean] if `true`, raise an error when `Visibility` and `Warden` return different results # - # source://graphql/lib/graphql/schema/visibility.rb#15 + # source://graphql//lib/graphql/schema/visibility.rb#15 def use(schema, dynamic: T.unsafe(nil), profiles: T.unsafe(nil), preload: T.unsafe(nil), migration_errors: T.unsafe(nil)); end end end @@ -13379,98 +13387,98 @@ end # # use GraphQL::Schema::Visibility, migration_errors: true # -# source://graphql/lib/graphql/schema/visibility/migration.rb#29 +# source://graphql//lib/graphql/schema/visibility/migration.rb#29 class GraphQL::Schema::Visibility::Migration < ::GraphQL::Schema::Visibility::Profile # @return [Migration] a new instance of Migration # - # source://graphql/lib/graphql/schema/visibility/migration.rb#79 + # source://graphql//lib/graphql/schema/visibility/migration.rb#79 def initialize(context:, schema:, name: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def all_types(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def all_types_h(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def argument(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def arguments(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#136 + # source://graphql//lib/graphql/schema/visibility/migration.rb#136 def call_method_and_compare(method, args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def directive_exists?(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def directives(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def enum_values(*args); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/migration.rb#154 + # source://graphql//lib/graphql/schema/visibility/migration.rb#154 def equivalent_schema_members?(member1, member2); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def field(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def fields(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def interfaces(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def loadable?(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def loadable_possible_types(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#104 + # source://graphql//lib/graphql/schema/visibility/migration.rb#104 def loaded_types; end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def mutation_root(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def possible_types(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def query_root(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def reachable_type?(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def subscription_root(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def type(*args); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#131 + # source://graphql//lib/graphql/schema/visibility/migration.rb#131 def visible_enum_value?(*args); end end -# source://graphql/lib/graphql/schema/visibility/migration.rb#108 +# source://graphql//lib/graphql/schema/visibility/migration.rb#108 GraphQL::Schema::Visibility::Migration::PUBLIC_PROFILE_METHODS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/schema/visibility/migration.rb#30 +# source://graphql//lib/graphql/schema/visibility/migration.rb#30 class GraphQL::Schema::Visibility::Migration::RuntimeTypesMismatchError < ::GraphQL::Error # @return [RuntimeTypesMismatchError] a new instance of RuntimeTypesMismatchError # - # source://graphql/lib/graphql/schema/visibility/migration.rb#31 + # source://graphql//lib/graphql/schema/visibility/migration.rb#31 def initialize(method_called, warden_result, profile_result, method_args); end private - # source://graphql/lib/graphql/schema/visibility/migration.rb#44 + # source://graphql//lib/graphql/schema/visibility/migration.rb#44 def compare_results(warden_result, profile_result); end - # source://graphql/lib/graphql/schema/visibility/migration.rb#63 + # source://graphql//lib/graphql/schema/visibility/migration.rb#63 def humanize(val); end end @@ -13484,148 +13492,148 @@ end # - It checks `.visible?` on root introspection types # - It can be used to cache profiles by name for re-use across queries # -# source://graphql/lib/graphql/schema/visibility/profile.rb#15 +# source://graphql//lib/graphql/schema/visibility/profile.rb#15 class GraphQL::Schema::Visibility::Profile # @return [Profile] a new instance of Profile # - # source://graphql/lib/graphql/schema/visibility/profile.rb#34 + # source://graphql//lib/graphql/schema/visibility/profile.rb#34 def initialize(context:, schema:, name: T.unsafe(nil)); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#225 + # source://graphql//lib/graphql/schema/visibility/profile.rb#225 def all_types; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#230 + # source://graphql//lib/graphql/schema/visibility/profile.rb#230 def all_types_h; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#178 + # source://graphql//lib/graphql/schema/visibility/profile.rb#178 def argument(owner, arg_name); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#174 + # source://graphql//lib/graphql/schema/visibility/profile.rb#174 def arguments(owner); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#239 + # source://graphql//lib/graphql/schema/visibility/profile.rb#239 def directive_exists?(dir_name); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#243 + # source://graphql//lib/graphql/schema/visibility/profile.rb#243 def directives; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#235 + # source://graphql//lib/graphql/schema/visibility/profile.rb#235 def enum_values(owner); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#140 + # source://graphql//lib/graphql/schema/visibility/profile.rb#140 def field(owner, field_name); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#91 + # source://graphql//lib/graphql/schema/visibility/profile.rb#91 def field_on_visible_interface?(field, owner); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#170 + # source://graphql//lib/graphql/schema/visibility/profile.rb#170 def fields(owner); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#205 + # source://graphql//lib/graphql/schema/visibility/profile.rb#205 def interfaces(obj_or_int_type); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#249 + # source://graphql//lib/graphql/schema/visibility/profile.rb#249 def loadable?(t, _ctx); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#254 + # source://graphql//lib/graphql/schema/visibility/profile.rb#254 def loadable_possible_types(t, _ctx); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#258 + # source://graphql//lib/graphql/schema/visibility/profile.rb#258 def loaded_types; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#217 + # source://graphql//lib/graphql/schema/visibility/profile.rb#217 def mutation_root; end # @return [Symbol, nil] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#32 + # source://graphql//lib/graphql/schema/visibility/profile.rb#32 def name; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#201 + # source://graphql//lib/graphql/schema/visibility/profile.rb#201 def possible_types(type); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#213 + # source://graphql//lib/graphql/schema/visibility/profile.rb#213 def query_root; end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#262 + # source://graphql//lib/graphql/schema/visibility/profile.rb#262 def reachable_type?(type_name); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#221 + # source://graphql//lib/graphql/schema/visibility/profile.rb#221 def subscription_root; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#115 + # source://graphql//lib/graphql/schema/visibility/profile.rb#115 def type(type_name); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#267 + # source://graphql//lib/graphql/schema/visibility/profile.rb#267 def visible_enum_value?(enum_value, _ctx = T.unsafe(nil)); end private - # source://graphql/lib/graphql/schema/visibility/profile.rb#290 + # source://graphql//lib/graphql/schema/visibility/profile.rb#290 def load_all_types; end - # source://graphql/lib/graphql/schema/visibility/profile.rb#273 + # source://graphql//lib/graphql/schema/visibility/profile.rb#273 def non_duplicate_items(definitions, visibility_cache); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#318 + # source://graphql//lib/graphql/schema/visibility/profile.rb#318 def possible_types_for(type); end # @raise [DuplicateNamesError] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#286 + # source://graphql//lib/graphql/schema/visibility/profile.rb#286 def raise_duplicate_definition(first_defn, second_defn); end # @return [Boolean] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#314 + # source://graphql//lib/graphql/schema/visibility/profile.rb#314 def referenced?(type_defn); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#350 + # source://graphql//lib/graphql/schema/visibility/profile.rb#350 def visible_field_for(owner, field); end class << self # @return [Schema::Visibility::Profile] # - # source://graphql/lib/graphql/schema/visibility/profile.rb#17 + # source://graphql//lib/graphql/schema/visibility/profile.rb#17 def from_context(ctx, schema); end - # source://graphql/lib/graphql/schema/visibility/profile.rb#25 + # source://graphql//lib/graphql/schema/visibility/profile.rb#25 def null_profile(context:, schema:); end end end -# source://graphql/lib/graphql/schema/visibility/visit.rb#5 +# source://graphql//lib/graphql/schema/visibility/visit.rb#5 class GraphQL::Schema::Visibility::Visit # @return [Visit] a new instance of Visit # - # source://graphql/lib/graphql/schema/visibility/visit.rb#6 + # source://graphql//lib/graphql/schema/visibility/visit.rb#6 def initialize(schema, &visit_block); end - # source://graphql/lib/graphql/schema/visibility/visit.rb#28 + # source://graphql//lib/graphql/schema/visibility/visit.rb#28 def entry_point_directives; end - # source://graphql/lib/graphql/schema/visibility/visit.rb#16 + # source://graphql//lib/graphql/schema/visibility/visit.rb#16 def entry_point_types; end - # source://graphql/lib/graphql/schema/visibility/visit.rb#32 + # source://graphql//lib/graphql/schema/visibility/visit.rb#32 def visit_each(types: T.unsafe(nil), directives: T.unsafe(nil)); end private - # source://graphql/lib/graphql/schema/visibility/visit.rb#127 + # source://graphql//lib/graphql/schema/visibility/visit.rb#127 def append_unvisited_type(owner, type); end - # source://graphql/lib/graphql/schema/visibility/visit.rb#135 + # source://graphql//lib/graphql/schema/visibility/visit.rb#135 def update_type_owner(owner, type); end end @@ -13637,156 +13645,156 @@ end # # @api private # -# source://graphql/lib/graphql/schema/warden.rb#14 +# source://graphql//lib/graphql/schema/warden.rb#14 class GraphQL::Schema::Warden # @api private # @param context [GraphQL::Query::Context] # @param schema [GraphQL::Schema] # @return [Warden] a new instance of Warden # - # source://graphql/lib/graphql/schema/warden.rb#200 + # source://graphql//lib/graphql/schema/warden.rb#200 def initialize(context:, schema:); end # @api private # @param argument_owner [GraphQL::Field, GraphQL::InputObjectType] # @return [Array] Visible arguments on `argument_owner` # - # source://graphql/lib/graphql/schema/warden.rb#310 + # source://graphql//lib/graphql/schema/warden.rb#310 def arguments(argument_owner, ctx = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#353 + # source://graphql//lib/graphql/schema/warden.rb#353 def directives; end # @api private # @return [Array] Visible members of `enum_defn` # - # source://graphql/lib/graphql/schema/warden.rb#325 + # source://graphql//lib/graphql/schema/warden.rb#325 def enum_values(enum_defn); end # @api private # @param type_defn [GraphQL::ObjectType, GraphQL::InterfaceType] # @return [Array] Fields on `type_defn` # - # source://graphql/lib/graphql/schema/warden.rb#303 + # source://graphql//lib/graphql/schema/warden.rb#303 def fields(type_defn); end # @api private # @return [GraphQL::Argument, nil] The argument named `argument_name` on `parent_type`, if it exists and is visible # - # source://graphql/lib/graphql/schema/warden.rb#287 + # source://graphql//lib/graphql/schema/warden.rb#287 def get_argument(parent_type, argument_name); end # @api private # @return [GraphQL::Field, nil] The field named `field_name` on `parent_type`, if it exists # - # source://graphql/lib/graphql/schema/warden.rb#271 + # source://graphql//lib/graphql/schema/warden.rb#271 def get_field(parent_type, field_name); end # @api private # @return [GraphQL::BaseType, nil] The type named `type_name`, if it exists (else `nil`) # - # source://graphql/lib/graphql/schema/warden.rb#246 + # source://graphql//lib/graphql/schema/warden.rb#246 def get_type(type_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#390 + # source://graphql//lib/graphql/schema/warden.rb#390 def interface_type_memberships(obj_type, _ctx = T.unsafe(nil)); end # @api private # @return [Array] Visible interfaces implemented by `obj_type` # - # source://graphql/lib/graphql/schema/warden.rb#342 + # source://graphql//lib/graphql/schema/warden.rb#342 def interfaces(obj_type); end # @api private # @return [Boolean] True if this type is used for `loads:` but not in the schema otherwise and not _explicitly_ hidden. # - # source://graphql/lib/graphql/schema/warden.rb#234 + # source://graphql//lib/graphql/schema/warden.rb#234 def loadable?(type, _ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#238 + # source://graphql//lib/graphql/schema/warden.rb#238 def loadable_possible_types(union_type, _ctx); end # @api private # @return [Array] The types which may be member of `type_defn` # - # source://graphql/lib/graphql/schema/warden.rb#293 + # source://graphql//lib/graphql/schema/warden.rb#293 def possible_types(type_defn); end # @api private # @return [Boolean] Boolean True if the type is visible and reachable in the schema # - # source://graphql/lib/graphql/schema/warden.rb#265 + # source://graphql//lib/graphql/schema/warden.rb#265 def reachable_type?(type_name); end # @api private # @return [Array] Visible and reachable types in the schema # - # source://graphql/lib/graphql/schema/warden.rb#260 + # source://graphql//lib/graphql/schema/warden.rb#260 def reachable_types; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#357 + # source://graphql//lib/graphql/schema/warden.rb#357 def root_type_for_operation(op_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#218 + # source://graphql//lib/graphql/schema/warden.rb#218 def skip_warning=(_arg0); end # @api private # @return [Hash] Visible types in the schema # - # source://graphql/lib/graphql/schema/warden.rb#221 + # source://graphql//lib/graphql/schema/warden.rb#221 def types; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#116 + # source://graphql//lib/graphql/schema/warden.rb#116 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#377 + # source://graphql//lib/graphql/schema/warden.rb#377 def visible_argument?(arg_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#336 + # source://graphql//lib/graphql/schema/warden.rb#336 def visible_enum_value?(enum_value, _ctx = T.unsafe(nil)); end # @api private # @param owner [Class, Module] If provided, confirm that field has the given owner. # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#367 + # source://graphql//lib/graphql/schema/warden.rb#367 def visible_field?(field_defn, _ctx = T.unsafe(nil), owner = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#381 + # source://graphql//lib/graphql/schema/warden.rb#381 def visible_type?(type_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#386 + # source://graphql//lib/graphql/schema/warden.rb#386 def visible_type_membership?(type_membership, _ctx = T.unsafe(nil)); end private # @api private # - # source://graphql/lib/graphql/schema/warden.rb#495 + # source://graphql//lib/graphql/schema/warden.rb#495 def check_visible(schema, member); end # If this field was inherited from an interface, and the field on that interface is _hidden_, @@ -13796,35 +13804,35 @@ class GraphQL::Schema::Warden # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#446 + # source://graphql//lib/graphql/schema/warden.rb#446 def field_on_visible_interface?(field_defn, type_defn); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#483 + # source://graphql//lib/graphql/schema/warden.rb#483 def orphan_type?(type_defn); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#547 + # source://graphql//lib/graphql/schema/warden.rb#547 def reachable_type_set; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#491 + # source://graphql//lib/graphql/schema/warden.rb#491 def read_through; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#478 + # source://graphql//lib/graphql/schema/warden.rb#478 def referenced?(type_defn); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#472 + # source://graphql//lib/graphql/schema/warden.rb#472 def root_type?(type_defn); end # We need this to tell whether a field was inherited by an interface @@ -13832,45 +13840,45 @@ class GraphQL::Schema::Warden # # @api private # - # source://graphql/lib/graphql/schema/warden.rb#438 + # source://graphql//lib/graphql/schema/warden.rb#438 def unfiltered_interfaces(type_defn); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#431 + # source://graphql//lib/graphql/schema/warden.rb#431 def union_memberships(obj_type); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#487 + # source://graphql//lib/graphql/schema/warden.rb#487 def visible?(member); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#399 + # source://graphql//lib/graphql/schema/warden.rb#399 def visible_and_reachable_type?(type_defn); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#585 + # source://graphql//lib/graphql/schema/warden.rb#585 def visit_type(type, unvisited_types, visited_type_set, type_by_name_hash, included_interface_possible_types_set, include_interface_possible_types:); end class << self # @api private # - # source://graphql/lib/graphql/schema/warden.rb#15 + # source://graphql//lib/graphql/schema/warden.rb#15 def from_context(context); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#22 + # source://graphql//lib/graphql/schema/warden.rb#22 def types_from_context(context); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#29 + # source://graphql//lib/graphql/schema/warden.rb#29 def use(schema); end # @api private @@ -13881,148 +13889,148 @@ class GraphQL::Schema::Warden # @return [Object] `entry` or one of `entry`'s items if exactly one of them is visible for this context # @return [nil] If neither `entry` nor any of `entry`'s items are visible for this context # - # source://graphql/lib/graphql/schema/warden.rb#39 + # source://graphql//lib/graphql/schema/warden.rb#39 def visible_entry?(visibility_method, entry, context, warden = T.unsafe(nil)); end end end # @api private # -# source://graphql/lib/graphql/schema/warden.rb#531 +# source://graphql//lib/graphql/schema/warden.rb#531 GraphQL::Schema::Warden::ADD_WARDEN_WARNING = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/schema/warden.rb#82 +# source://graphql//lib/graphql/schema/warden.rb#82 class GraphQL::Schema::Warden::NullWarden # @api private # @return [NullWarden] a new instance of NullWarden # - # source://graphql/lib/graphql/schema/warden.rb#83 + # source://graphql//lib/graphql/schema/warden.rb#83 def initialize(_filter = T.unsafe(nil), context:, schema:); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#100 + # source://graphql//lib/graphql/schema/warden.rb#100 def arguments(argument_owner, ctx = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#105 + # source://graphql//lib/graphql/schema/warden.rb#105 def directives; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#101 + # source://graphql//lib/graphql/schema/warden.rb#101 def enum_values(enum_defn); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#106 + # source://graphql//lib/graphql/schema/warden.rb#106 def fields(type_defn); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#102 + # source://graphql//lib/graphql/schema/warden.rb#102 def get_argument(parent_type, argument_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#107 + # source://graphql//lib/graphql/schema/warden.rb#107 def get_field(parent_type, field_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#99 + # source://graphql//lib/graphql/schema/warden.rb#99 def get_type(type_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#98 + # source://graphql//lib/graphql/schema/warden.rb#98 def interface_type_memberships(obj_type, _ctx = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#113 + # source://graphql//lib/graphql/schema/warden.rb#113 def interfaces(obj_type); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#109 + # source://graphql//lib/graphql/schema/warden.rb#109 def loadable?(type, _ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#110 + # source://graphql//lib/graphql/schema/warden.rb#110 def loadable_possible_types(union_type, _ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#112 + # source://graphql//lib/graphql/schema/warden.rb#112 def possible_types(type_defn); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#108 + # source://graphql//lib/graphql/schema/warden.rb#108 def reachable_type?(type_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#111 + # source://graphql//lib/graphql/schema/warden.rb#111 def reachable_types; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#104 + # source://graphql//lib/graphql/schema/warden.rb#104 def root_type_for_operation(op_name); end # No-op, but for compatibility: # # @api private # - # source://graphql/lib/graphql/schema/warden.rb#89 + # source://graphql//lib/graphql/schema/warden.rb#89 def skip_warning=(_arg0); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#103 + # source://graphql//lib/graphql/schema/warden.rb#103 def types; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#91 + # source://graphql//lib/graphql/schema/warden.rb#91 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#94 + # source://graphql//lib/graphql/schema/warden.rb#94 def visible_argument?(arg_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#96 + # source://graphql//lib/graphql/schema/warden.rb#96 def visible_enum_value?(enum_value, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#93 + # source://graphql//lib/graphql/schema/warden.rb#93 def visible_field?(field_defn, _ctx = T.unsafe(nil), owner = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#95 + # source://graphql//lib/graphql/schema/warden.rb#95 def visible_type?(type_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#97 + # source://graphql//lib/graphql/schema/warden.rb#97 def visible_type_membership?(type_membership, _ctx = T.unsafe(nil)); end end @@ -14033,121 +14041,121 @@ end # # @api private # -# source://graphql/lib/graphql/schema/warden.rb#65 +# source://graphql//lib/graphql/schema/warden.rb#65 class GraphQL::Schema::Warden::PassThruWarden class << self # @api private # - # source://graphql/lib/graphql/schema/warden.rb#73 + # source://graphql//lib/graphql/schema/warden.rb#73 def arguments(owner, ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#72 + # source://graphql//lib/graphql/schema/warden.rb#72 def interface_type_memberships(obj_t, ctx); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#74 + # source://graphql//lib/graphql/schema/warden.rb#74 def loadable?(type, ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#75 + # source://graphql//lib/graphql/schema/warden.rb#75 def loadable_possible_types(type, ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#76 + # source://graphql//lib/graphql/schema/warden.rb#76 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#68 + # source://graphql//lib/graphql/schema/warden.rb#68 def visible_argument?(arg, ctx); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#70 + # source://graphql//lib/graphql/schema/warden.rb#70 def visible_enum_value?(ev, ctx); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#67 + # source://graphql//lib/graphql/schema/warden.rb#67 def visible_field?(field, ctx); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#69 + # source://graphql//lib/graphql/schema/warden.rb#69 def visible_type?(type, ctx); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#71 + # source://graphql//lib/graphql/schema/warden.rb#71 def visible_type_membership?(tm, ctx); end end end # @api private # -# source://graphql/lib/graphql/schema/warden.rb#120 +# source://graphql//lib/graphql/schema/warden.rb#120 class GraphQL::Schema::Warden::VisibilityProfile # @api private # @return [VisibilityProfile] a new instance of VisibilityProfile # - # source://graphql/lib/graphql/schema/warden.rb#121 + # source://graphql//lib/graphql/schema/warden.rb#121 def initialize(warden); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#173 + # source://graphql//lib/graphql/schema/warden.rb#173 def all_types; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#141 + # source://graphql//lib/graphql/schema/warden.rb#141 def argument(owner, arg_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#157 + # source://graphql//lib/graphql/schema/warden.rb#157 def arguments(owner); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#129 + # source://graphql//lib/graphql/schema/warden.rb#129 def directive_exists?(dir_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#125 + # source://graphql//lib/graphql/schema/warden.rb#125 def directives; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#169 + # source://graphql//lib/graphql/schema/warden.rb#169 def enum_values(enum_type); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#137 + # source://graphql//lib/graphql/schema/warden.rb#137 def field(owner, field_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#161 + # source://graphql//lib/graphql/schema/warden.rb#161 def fields(owner); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#177 + # source://graphql//lib/graphql/schema/warden.rb#177 def interfaces(obj_type); end # TODO remove ctx here? @@ -14155,74 +14163,74 @@ class GraphQL::Schema::Warden::VisibilityProfile # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#181 + # source://graphql//lib/graphql/schema/warden.rb#181 def loadable?(t, ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#185 + # source://graphql//lib/graphql/schema/warden.rb#185 def loadable_possible_types(t, ctx); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#149 + # source://graphql//lib/graphql/schema/warden.rb#149 def mutation_root; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#165 + # source://graphql//lib/graphql/schema/warden.rb#165 def possible_types(type); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#145 + # source://graphql//lib/graphql/schema/warden.rb#145 def query_root; end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#189 + # source://graphql//lib/graphql/schema/warden.rb#189 def reachable_type?(type_name); end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#153 + # source://graphql//lib/graphql/schema/warden.rb#153 def subscription_root; end # @api private # - # source://graphql/lib/graphql/schema/warden.rb#133 + # source://graphql//lib/graphql/schema/warden.rb#133 def type(name); end # @api private # @return [Boolean] # - # source://graphql/lib/graphql/schema/warden.rb#193 + # source://graphql//lib/graphql/schema/warden.rb#193 def visible_enum_value?(enum_value, ctx = T.unsafe(nil)); end end -# source://graphql/lib/graphql/schema/wrapper.rb#5 +# source://graphql//lib/graphql/schema/wrapper.rb#5 class GraphQL::Schema::Wrapper include ::GraphQL::Schema::Member::TypeSystemHelpers # @return [Wrapper] a new instance of Wrapper # - # source://graphql/lib/graphql/schema/wrapper.rb#11 + # source://graphql//lib/graphql/schema/wrapper.rb#11 def initialize(of_type); end - # source://graphql/lib/graphql/schema/wrapper.rb#19 + # source://graphql//lib/graphql/schema/wrapper.rb#19 def ==(other); end # @return [Class, Module] The inner type of this wrapping type, the type of which one or more objects may be present. # - # source://graphql/lib/graphql/schema/wrapper.rb#9 + # source://graphql//lib/graphql/schema/wrapper.rb#9 def of_type; end - # source://graphql/lib/graphql/schema/wrapper.rb#15 + # source://graphql//lib/graphql/schema/wrapper.rb#15 def unwrap; end end -# source://graphql/lib/graphql/static_validation/error.rb#3 +# source://graphql//lib/graphql/static_validation/error.rb#3 module GraphQL::StaticValidation; end # Default rules for {GraphQL::StaticValidation::Validator} @@ -14231,166 +14239,166 @@ module GraphQL::StaticValidation; end # which stops the visit on that node. That way it doesn't try to find fields on types that # don't exist, etc. # -# source://graphql/lib/graphql/static_validation/all_rules.rb#9 +# source://graphql//lib/graphql/static_validation/all_rules.rb#9 GraphQL::StaticValidation::ALL_RULES = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible.rb#4 +# source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible.rb#4 module GraphQL::StaticValidation::ArgumentLiteralsAreCompatible - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible.rb#5 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible.rb#5 def on_argument(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#4 class GraphQL::StaticValidation::ArgumentLiteralsAreCompatibleError < ::GraphQL::StaticValidation::Error # @return [ArgumentLiteralsAreCompatibleError] a new instance of ArgumentLiteralsAreCompatibleError # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#10 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#10 def initialize(message, type:, path: T.unsafe(nil), nodes: T.unsafe(nil), argument_name: T.unsafe(nil), extensions: T.unsafe(nil), coerce_extensions: T.unsafe(nil), argument: T.unsafe(nil), value: T.unsafe(nil)); end # Returns the value of attribute argument. # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#7 def argument; end # Returns the value of attribute argument_name. # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#6 def argument_name; end - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#43 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#43 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#21 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#5 def type_name; end # Returns the value of attribute value. # - # source://graphql/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb#8 def value; end end -# source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique.rb#4 +# source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique.rb#4 module GraphQL::StaticValidation::ArgumentNamesAreUnique include ::GraphQL::StaticValidation::Error::ErrorHelper - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique.rb#12 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique.rb#12 def on_directive(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique.rb#7 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique.rb#7 def on_field(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique.rb#17 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique.rb#17 def validate_arguments(node); end end -# source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#4 class GraphQL::StaticValidation::ArgumentNamesAreUniqueError < ::GraphQL::StaticValidation::Error # @return [ArgumentNamesAreUniqueError] a new instance of ArgumentNamesAreUniqueError # - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#7 def initialize(message, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#24 def code; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#5 def name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/argument_names_are_unique_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/arguments_are_defined.rb#4 +# source://graphql//lib/graphql/static_validation/rules/arguments_are_defined.rb#4 module GraphQL::StaticValidation::ArgumentsAreDefined - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined.rb#5 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined.rb#5 def on_argument(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined.rb#44 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined.rb#44 def node_type(parent); end - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined.rb#48 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined.rb#48 def parent_definition(parent); end # TODO smell: these methods are added to all visitors, since they're included in a module. # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined.rb#31 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined.rb#31 def parent_name(parent, type_defn); end end -# source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#4 class GraphQL::StaticValidation::ArgumentsAreDefinedError < ::GraphQL::StaticValidation::Error # @return [ArgumentsAreDefinedError] a new instance of ArgumentsAreDefinedError # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#10 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#10 def initialize(message, name:, type:, argument_name:, parent:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end # Returns the value of attribute argument_name. # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#7 def argument_name; end - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#32 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#32 def code; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#5 def name; end # Returns the value of attribute parent. # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#8 def parent; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#19 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#19 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/arguments_are_defined_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/arguments_are_defined_error.rb#6 def type_name; end end -# source://graphql/lib/graphql/static_validation/base_visitor.rb#4 +# source://graphql//lib/graphql/static_validation/base_visitor.rb#4 class GraphQL::StaticValidation::BaseVisitor < ::GraphQL::Language::StaticVisitor # @return [BaseVisitor] a new instance of BaseVisitor # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#5 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#5 def initialize(document, context); end # Returns the value of attribute context. # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#18 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#18 def context; end # @return [Array] Types whose scope we've entered # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#21 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#21 def object_types; end # @return [Array] The nesting of the current position in the AST # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#24 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#24 def path; end private - # source://graphql/lib/graphql/static_validation/base_visitor.rb#191 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#191 def add_error(error, path: T.unsafe(nil)); end class << self @@ -14400,70 +14408,70 @@ class GraphQL::StaticValidation::BaseVisitor < ::GraphQL::Language::StaticVisito # @param rules [Array] # @return [Class] A class for validating `rules` during visitation # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#32 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#32 def including_rules(rules); end end end -# source://graphql/lib/graphql/static_validation/base_visitor.rb#55 +# source://graphql//lib/graphql/static_validation/base_visitor.rb#55 module GraphQL::StaticValidation::BaseVisitor::ContextMethods # @return [GraphQL::Argument, nil] The most-recently-entered GraphQL::Argument, if currently inside one # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#164 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#164 def argument_definition; end # @return [GraphQL::Directive, nil] The most-recently-entered GraphQL::Directive, if currently inside one # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#159 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#159 def directive_definition; end # @return [GraphQL::Field, nil] The most-recently-entered GraphQL::Field, if currently inside one # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#154 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#154 def field_definition; end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#103 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#103 def on_argument(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#96 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#96 def on_directive(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#79 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#79 def on_field(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#65 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#65 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#126 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#126 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#72 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#72 def on_inline_fragment(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#132 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#132 def on_input_object(node, parent); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#56 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#56 def on_operation_definition(node, parent); end # @return [GraphQL::BaseType] The type which the current type came from # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#149 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#149 def parent_type_definition; end # @return [GraphQL::BaseType] The current object type # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#144 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#144 def type_definition; end private # @yield [node] # - # source://graphql/lib/graphql/static_validation/base_visitor.rb#172 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#172 def on_fragment_with_type(node); end - # source://graphql/lib/graphql/static_validation/base_visitor.rb#184 + # source://graphql//lib/graphql/static_validation/base_visitor.rb#184 def push_type(t); end end @@ -14471,33 +14479,33 @@ end # and expose the fragment definitions which # are used by a given operation # -# source://graphql/lib/graphql/static_validation/definition_dependencies.rb#7 +# source://graphql//lib/graphql/static_validation/definition_dependencies.rb#7 module GraphQL::StaticValidation::DefinitionDependencies - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#10 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#10 def initialize(*_arg0); end # Returns the value of attribute dependencies. # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#8 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#8 def dependencies; end # A map of operation definitions to an array of that operation's dependencies # # @return [DependencyMap] # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#69 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#69 def dependency_map(&block); end - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#32 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#32 def on_document(node, parent); end - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#51 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#51 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#58 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#58 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#44 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#44 def on_operation_definition(node, prev_node); end private @@ -14506,332 +14514,332 @@ module GraphQL::StaticValidation::DefinitionDependencies # Keys are top-level definitions # Values are arrays of flattened dependencies # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#114 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#114 def resolve_dependencies; end end # Map definition AST nodes to the definition AST nodes they depend on. # Expose circular dependencies. # -# source://graphql/lib/graphql/static_validation/definition_dependencies.rb#75 +# source://graphql//lib/graphql/static_validation/definition_dependencies.rb#75 class GraphQL::StaticValidation::DefinitionDependencies::DependencyMap # @return [DependencyMap] a new instance of DependencyMap # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#85 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#85 def initialize; end # @return [Array] dependencies for `definition_node` # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#93 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#93 def [](definition_node); end # @return [Array] # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#77 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#77 def cyclical_definitions; end # @return [Hash>] # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#80 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#80 def unmet_dependencies; end # @return [Array] # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#83 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#83 def unused_dependencies; end end -# source://graphql/lib/graphql/static_validation/definition_dependencies.rb#98 +# source://graphql//lib/graphql/static_validation/definition_dependencies.rb#98 class GraphQL::StaticValidation::DefinitionDependencies::NodeWithPath extend ::Forwardable # @return [NodeWithPath] a new instance of NodeWithPath # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#101 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#101 def initialize(node, path); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def eql?(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def hash(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def name(*args, **_arg1, &block); end # Returns the value of attribute node. # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#100 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#100 def node; end # Returns the value of attribute path. # - # source://graphql/lib/graphql/static_validation/definition_dependencies.rb#100 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#100 def path; end end -# source://graphql/lib/graphql/static_validation/rules/directives_are_defined.rb#4 +# source://graphql//lib/graphql/static_validation/rules/directives_are_defined.rb#4 module GraphQL::StaticValidation::DirectivesAreDefined - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined.rb#5 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined.rb#5 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined.rb#9 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined.rb#9 def on_directive(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/directives_are_defined_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/directives_are_defined_error.rb#4 class GraphQL::StaticValidation::DirectivesAreDefinedError < ::GraphQL::StaticValidation::Error # @return [DirectivesAreDefinedError] a new instance of DirectivesAreDefinedError # - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined_error.rb#7 def initialize(message, directive:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined_error.rb#24 def code; end # Returns the value of attribute directive_name. # - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined_error.rb#5 def directive_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/directives_are_defined_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/directives_are_defined_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#4 +# source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#4 module GraphQL::StaticValidation::DirectivesAreInValidLocations include ::GraphQL::Language - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#7 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#7 def on_directive(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#53 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#53 def assert_includes_location(directive_defn, directive_ast, required_location); end - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#35 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#35 def validate_location(ast_directive, ast_parent, directives); end end -# source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#14 +# source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#14 GraphQL::StaticValidation::DirectivesAreInValidLocations::LOCATION_MESSAGE_NAMES = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#25 +# source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#25 GraphQL::StaticValidation::DirectivesAreInValidLocations::SIMPLE_LOCATIONS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#33 +# source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb#33 GraphQL::StaticValidation::DirectivesAreInValidLocations::SIMPLE_LOCATION_NODES = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#4 class GraphQL::StaticValidation::DirectivesAreInValidLocationsError < ::GraphQL::StaticValidation::Error # @return [DirectivesAreInValidLocationsError] a new instance of DirectivesAreInValidLocationsError # - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#8 def initialize(message, target:, path: T.unsafe(nil), nodes: T.unsafe(nil), name: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#26 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#26 def code; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#6 def name; end # Returns the value of attribute target_name. # - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#5 def target_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#15 + # source://graphql//lib/graphql/static_validation/rules/directives_are_in_valid_locations_error.rb#15 def to_h; end end # Generates GraphQL-compliant validation message. # -# source://graphql/lib/graphql/static_validation/error.rb#5 +# source://graphql//lib/graphql/static_validation/error.rb#5 class GraphQL::StaticValidation::Error # @return [Error] a new instance of Error # - # source://graphql/lib/graphql/static_validation/error.rb#19 + # source://graphql//lib/graphql/static_validation/error.rb#19 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end # Returns the value of attribute message. # - # source://graphql/lib/graphql/static_validation/error.rb#16 + # source://graphql//lib/graphql/static_validation/error.rb#16 def message; end # Returns the value of attribute nodes. # - # source://graphql/lib/graphql/static_validation/error.rb#33 + # source://graphql//lib/graphql/static_validation/error.rb#33 def nodes; end # Returns the value of attribute path. # - # source://graphql/lib/graphql/static_validation/error.rb#17 + # source://graphql//lib/graphql/static_validation/error.rb#17 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://graphql/lib/graphql/static_validation/error.rb#17 + # source://graphql//lib/graphql/static_validation/error.rb#17 def path=(_arg0); end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/error.rb#26 + # source://graphql//lib/graphql/static_validation/error.rb#26 def to_h; end private - # source://graphql/lib/graphql/static_validation/error.rb#37 + # source://graphql//lib/graphql/static_validation/error.rb#37 def locations; end end # Convenience for validators # -# source://graphql/lib/graphql/static_validation/error.rb#7 +# source://graphql//lib/graphql/static_validation/error.rb#7 module GraphQL::StaticValidation::Error::ErrorHelper # Error `error_message` is located at `node` # - # source://graphql/lib/graphql/static_validation/error.rb#9 + # source://graphql//lib/graphql/static_validation/error.rb#9 def error(error_message, nodes, context: T.unsafe(nil), path: T.unsafe(nil), extensions: T.unsafe(nil)); end end -# source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#4 module GraphQL::StaticValidation::FieldsAreDefinedOnType - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#5 def on_field(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#34 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type.rb#34 def possible_fields(context, parent_type); end end -# source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#4 class GraphQL::StaticValidation::FieldsAreDefinedOnTypeError < ::GraphQL::StaticValidation::Error # @return [FieldsAreDefinedOnTypeError] a new instance of FieldsAreDefinedOnTypeError # - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#8 def initialize(message, type:, field:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#27 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#27 def code; end # Returns the value of attribute field_name. # - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#6 def field_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#15 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#15 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb#5 def type_name; end end # Scalars _can't_ have selections # Objects _must_ have selections # -# source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#6 +# source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#6 module GraphQL::StaticValidation::FieldsHaveAppropriateSelections include ::GraphQL::StaticValidation::Error::ErrorHelper - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#9 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#9 def on_field(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#16 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#16 def on_operation_definition(node, _parent); end private - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#25 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb#25 def validate_field_selections(ast_node, resolved_type); end end -# source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#4 class GraphQL::StaticValidation::FieldsHaveAppropriateSelectionsError < ::GraphQL::StaticValidation::Error # @return [FieldsHaveAppropriateSelectionsError] a new instance of FieldsHaveAppropriateSelectionsError # - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#8 def initialize(message, node_name:, path: T.unsafe(nil), nodes: T.unsafe(nil), type: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#26 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#26 def code; end # Returns the value of attribute node_name. # - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#6 def node_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#15 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#15 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fields_have_appropriate_selections_error.rb#5 def type_name; end end -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#6 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#6 module GraphQL::StaticValidation::FieldsWillMerge - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#17 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#17 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#29 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#29 def on_field(node, _parent); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#24 def on_operation_definition(node, _parent); end private - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#42 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#42 def arg_conflicts; end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#391 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#391 def compared_fragments_key(frag1, frag2, exclusive); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#58 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#58 def conflicts_within_selection_set(node, parent_type); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#36 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#36 def field_conflicts; end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#329 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#329 def fields_and_fragments_from_selection(node, owner_type:, parents:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#213 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#213 def find_conflict(response_key, field1, field2, mutually_exclusive: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#309 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#309 def find_conflicts_between(response_keys, response_keys2, mutually_exclusive:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#165 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#165 def find_conflicts_between_fields_and_fragment(fragment_spread, fields, mutually_exclusive:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#99 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#99 def find_conflicts_between_fragments(fragment_spread1, fragment_spread2, mutually_exclusive:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#250 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#250 def find_conflicts_between_sub_selection_sets(field1, field2, mutually_exclusive:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#197 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#197 def find_conflicts_within(response_keys); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#340 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#340 def find_fields_and_fragments(selections, owner_type:, parents:, fields:, fragment_spreads:); end # Given two list of parents, find out if they are mutually exclusive @@ -14840,108 +14848,150 @@ module GraphQL::StaticValidation::FieldsWillMerge # # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#402 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#402 def mutually_exclusive?(parents1, parents2); end # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#357 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#357 def same_arguments?(field1, field2); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#372 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#372 def serialize_arg(arg_value); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#383 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#383 def serialize_field_args(field); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#48 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#48 def setting_errors; end end -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#14 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # Returns the value of attribute definition # # @return [Object] the current value of definition + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def definition; end # Sets the attribute definition # # @param value [Object] the value to set the attribute definition to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def definition=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def node=(_); end # Returns the value of attribute owner_type # # @return [Object] the current value of owner_type + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def owner_type; end # Sets the attribute owner_type # # @param value [Object] the value to set the attribute owner_type to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def owner_type=(_); end # Returns the value of attribute parents # # @return [Object] the current value of parents + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def parents; end # Sets the attribute parents # # @param value [Object] the value to set the attribute parents to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def parents=(_); end class << self + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def [](*_arg0); end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def inspect; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def keyword_init?; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def members; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def new(*_arg0); end end end -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#15 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 class GraphQL::StaticValidation::FieldsWillMerge::FragmentSpread < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def name=(_); end # Returns the value of attribute parents # # @return [Object] the current value of parents + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def parents; end # Sets the attribute parents # # @param value [Object] the value to set the attribute parents to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def parents=(_); end class << self + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def [](*_arg0); end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def inspect; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def keyword_init?; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def members; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def new(*_arg0); end end end @@ -14952,341 +15002,341 @@ end # # Original Algorithm: https://github.com/graphql/graphql-js/blob/master/src/validation/rules/OverlappingFieldsCanBeMerged.js # -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#12 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#12 GraphQL::StaticValidation::FieldsWillMerge::NO_ARGS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge.rb#327 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#327 GraphQL::StaticValidation::FieldsWillMerge::NO_SELECTIONS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#4 class GraphQL::StaticValidation::FieldsWillMergeError < ::GraphQL::StaticValidation::Error # @return [FieldsWillMergeError] a new instance of FieldsWillMergeError # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#8 def initialize(kind:, field_name:); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#28 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#28 def add_conflict(node, conflict_str); end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#48 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#48 def code; end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#24 def conflicts; end # Returns the value of attribute field_name. # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#5 def field_name; end # Returns the value of attribute kind. # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#6 def kind; end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#16 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#16 def message; end - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#20 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#20 def path; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fields_will_merge_error.rb#36 + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#36 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique.rb#4 module GraphQL::StaticValidation::FragmentNamesAreUnique - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique.rb#6 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique.rb#16 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique.rb#16 def on_document(_n, _p); end - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique.rb#11 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique.rb#11 def on_fragment_definition(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#4 class GraphQL::StaticValidation::FragmentNamesAreUniqueError < ::GraphQL::StaticValidation::Error # @return [FragmentNamesAreUniqueError] a new instance of FragmentNamesAreUniqueError # - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#7 def initialize(message, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#24 def code; end # Returns the value of attribute fragment_name. # - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#5 def fragment_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#4 module GraphQL::StaticValidation::FragmentSpreadsArePossible - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#5 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#25 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#25 def on_document(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#19 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#19 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#10 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#10 def on_inline_fragment(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#42 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#42 def validate_fragment_in_scope(parent_type, child_type, node, context, path); end end -# source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#63 +# source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#63 class GraphQL::StaticValidation::FragmentSpreadsArePossible::FragmentSpread # @return [FragmentSpread] a new instance of FragmentSpread # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#65 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#65 def initialize(node:, parent_type:, path:); end # Returns the value of attribute node. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 def node; end # Returns the value of attribute parent_type. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 def parent_type; end # Returns the value of attribute path. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb#64 def path; end end -# source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#4 class GraphQL::StaticValidation::FragmentSpreadsArePossibleError < ::GraphQL::StaticValidation::Error # @return [FragmentSpreadsArePossibleError] a new instance of FragmentSpreadsArePossibleError # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#9 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#9 def initialize(message, type:, fragment_name:, parent:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#30 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#30 def code; end # Returns the value of attribute fragment_name. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#6 def fragment_name; end # Returns the value of attribute parent_name. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#7 def parent_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#17 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#17 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragment_spreads_are_possible_error.rb#5 def type_name; end end -# source://graphql/lib/graphql/static_validation/rules/fragment_types_exist.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_types_exist.rb#4 module GraphQL::StaticValidation::FragmentTypesExist - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist.rb#5 def on_fragment_definition(node, _parent); end - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist.rb#11 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist.rb#11 def on_inline_fragment(node, _parent); end private - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist.rb#19 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist.rb#19 def validate_type_exists(fragment_node); end end -# source://graphql/lib/graphql/static_validation/rules/fragment_types_exist_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragment_types_exist_error.rb#4 class GraphQL::StaticValidation::FragmentTypesExistError < ::GraphQL::StaticValidation::Error # @return [FragmentTypesExistError] a new instance of FragmentTypesExistError # - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist_error.rb#7 def initialize(message, type:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist_error.rb#24 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist_error.rb#13 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/fragment_types_exist_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragment_types_exist_error.rb#5 def type_name; end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_finite.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_finite.rb#4 module GraphQL::StaticValidation::FragmentsAreFinite - # source://graphql/lib/graphql/static_validation/rules/fragments_are_finite.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_finite.rb#5 def on_document(_n, _p); end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_finite_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_finite_error.rb#4 class GraphQL::StaticValidation::FragmentsAreFiniteError < ::GraphQL::StaticValidation::Error # @return [FragmentsAreFiniteError] a new instance of FragmentsAreFiniteError # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_finite_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_finite_error.rb#7 def initialize(message, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragments_are_finite_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_finite_error.rb#24 def code; end # Returns the value of attribute fragment_name. # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_finite_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_finite_error.rb#5 def fragment_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_finite_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_finite_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_named.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_named.rb#4 module GraphQL::StaticValidation::FragmentsAreNamed - # source://graphql/lib/graphql/static_validation/rules/fragments_are_named.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_named.rb#5 def on_fragment_definition(node, _parent); end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_named_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_named_error.rb#4 class GraphQL::StaticValidation::FragmentsAreNamedError < ::GraphQL::StaticValidation::Error # @return [FragmentsAreNamedError] a new instance of FragmentsAreNamedError # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_named_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_named_error.rb#6 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragments_are_named_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_named_error.rb#21 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_named_error.rb#11 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_named_error.rb#11 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#4 module GraphQL::StaticValidation::FragmentsAreOnCompositeTypes - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#5 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#9 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#9 def on_inline_fragment(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#15 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb#15 def validate_type_is_composite(node); end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#4 class GraphQL::StaticValidation::FragmentsAreOnCompositeTypesError < ::GraphQL::StaticValidation::Error # @return [FragmentsAreOnCompositeTypesError] a new instance of FragmentsAreOnCompositeTypesError # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#8 def initialize(message, type:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end # Returns the value of attribute argument_name. # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#6 def argument_name; end - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#25 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#25 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#14 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#14 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb#5 def type_name; end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_used.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_used.rb#4 module GraphQL::StaticValidation::FragmentsAreUsed - # source://graphql/lib/graphql/static_validation/rules/fragments_are_used.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_used.rb#5 def on_document(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/fragments_are_used_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/fragments_are_used_error.rb#4 class GraphQL::StaticValidation::FragmentsAreUsedError < ::GraphQL::StaticValidation::Error # @return [FragmentsAreUsedError] a new instance of FragmentsAreUsedError # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_used_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_used_error.rb#7 def initialize(message, fragment:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/fragments_are_used_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_used_error.rb#24 def code; end # Returns the value of attribute fragment_name. # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_used_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_used_error.rb#5 def fragment_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/fragments_are_used_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/fragments_are_used_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique.rb#4 +# source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique.rb#4 module GraphQL::StaticValidation::InputObjectNamesAreUnique - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique.rb#5 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique.rb#5 def on_input_object(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique.rb#12 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique.rb#12 def validate_input_fields(node); end end -# source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#4 class GraphQL::StaticValidation::InputObjectNamesAreUniqueError < ::GraphQL::StaticValidation::Error # @return [InputObjectNamesAreUniqueError] a new instance of InputObjectNamesAreUniqueError # - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#7 def initialize(message, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#24 def code; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#5 def name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/interpreter_visitor.rb#4 +# source://graphql//lib/graphql/static_validation/interpreter_visitor.rb#4 class GraphQL::StaticValidation::InterpreterVisitor < ::GraphQL::StaticValidation::BaseVisitor include ::GraphQL::StaticValidation::DefinitionDependencies include ::GraphQL::StaticValidation::OneOfInputObjectsAreValid @@ -15326,14 +15376,14 @@ end # Test whether `ast_value` is a valid input for `type` # -# source://graphql/lib/graphql/static_validation/literal_validator.rb#5 +# source://graphql//lib/graphql/static_validation/literal_validator.rb#5 class GraphQL::StaticValidation::LiteralValidator # @return [LiteralValidator] a new instance of LiteralValidator # - # source://graphql/lib/graphql/static_validation/literal_validator.rb#6 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#6 def initialize(context:); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#13 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#13 def validate(ast_value, type); end private @@ -15343,401 +15393,401 @@ class GraphQL::StaticValidation::LiteralValidator # # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/literal_validator.rb#97 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#97 def constant_scalar?(ast_value); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#143 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#143 def ensure_array(value); end # When `error_bubbling` is false, we want to bail on the first failure that we find. # Use `throw` to escape the current call stack, returning the invalid response. # - # source://graphql/lib/graphql/static_validation/literal_validator.rb#86 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#86 def maybe_raise_if_invalid(ast_value); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#147 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#147 def merge_results(results_list); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#132 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#132 def present_input_field_values_are_valid(type, ast_node); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#34 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#34 def recursively_validate(ast_value, type); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#21 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#21 def replace_nulls_in(ast_value); end - # source://graphql/lib/graphql/static_validation/literal_validator.rb#109 + # source://graphql//lib/graphql/static_validation/literal_validator.rb#109 def required_input_fields_are_present(type, ast_node); end end -# source://graphql/lib/graphql/static_validation/rules/mutation_root_exists.rb#4 +# source://graphql//lib/graphql/static_validation/rules/mutation_root_exists.rb#4 module GraphQL::StaticValidation::MutationRootExists - # source://graphql/lib/graphql/static_validation/rules/mutation_root_exists.rb#5 + # source://graphql//lib/graphql/static_validation/rules/mutation_root_exists.rb#5 def on_operation_definition(node, _parent); end end -# source://graphql/lib/graphql/static_validation/rules/mutation_root_exists_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/mutation_root_exists_error.rb#4 class GraphQL::StaticValidation::MutationRootExistsError < ::GraphQL::StaticValidation::Error # @return [MutationRootExistsError] a new instance of MutationRootExistsError # - # source://graphql/lib/graphql/static_validation/rules/mutation_root_exists_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/mutation_root_exists_error.rb#6 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/mutation_root_exists_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/mutation_root_exists_error.rb#21 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/mutation_root_exists_error.rb#11 + # source://graphql//lib/graphql/static_validation/rules/mutation_root_exists_error.rb#11 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#4 +# source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#4 module GraphQL::StaticValidation::NoDefinitionsArePresent include ::GraphQL::StaticValidation::Error::ErrorHelper - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#7 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#7 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#17 def on_directive_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#33 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#33 def on_document(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#24 def on_enum_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#31 def on_enum_type_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#21 def on_input_object_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#28 def on_input_object_type_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#22 def on_interface_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#29 def on_interface_type_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 def on_invalid_node(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#20 def on_object_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#27 def on_object_type_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#19 def on_scalar_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#26 def on_scalar_type_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#18 def on_schema_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#25 def on_schema_extension(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#23 def on_union_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#30 def on_union_type_extension(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#4 class GraphQL::StaticValidation::NoDefinitionsArePresentError < ::GraphQL::StaticValidation::Error # @return [NoDefinitionsArePresentError] a new instance of NoDefinitionsArePresentError # - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#5 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#20 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#20 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#10 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present_error.rb#10 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#4 +# source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#4 module GraphQL::StaticValidation::OneOfInputObjectsAreValid - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#5 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#5 def on_input_object(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#17 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#17 def validate_one_of_input_object(ast_node, context, parent_type); end end -# source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#4 class GraphQL::StaticValidation::OneOfInputObjectsAreValidError < ::GraphQL::StaticValidation::Error # @return [OneOfInputObjectsAreValidError] a new instance of OneOfInputObjectsAreValidError # - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#7 def initialize(message, path:, nodes:, input_object_type:); end - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#24 def code; end # Returns the value of attribute input_object_type. # - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#5 def input_object_type; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid.rb#4 +# source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid.rb#4 module GraphQL::StaticValidation::OperationNamesAreValid - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid.rb#5 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid.rb#5 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid.rb#15 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid.rb#15 def on_document(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid.rb#10 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid.rb#10 def on_operation_definition(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#4 class GraphQL::StaticValidation::OperationNamesAreValidError < ::GraphQL::StaticValidation::Error # @return [OperationNamesAreValidError] a new instance of OperationNamesAreValidError # - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#7 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil), name: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#23 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#23 def code; end # Returns the value of attribute operation_name. # - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#5 def operation_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/operation_names_are_valid_error.rb#13 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/query_root_exists.rb#4 +# source://graphql//lib/graphql/static_validation/rules/query_root_exists.rb#4 module GraphQL::StaticValidation::QueryRootExists - # source://graphql/lib/graphql/static_validation/rules/query_root_exists.rb#5 + # source://graphql//lib/graphql/static_validation/rules/query_root_exists.rb#5 def on_operation_definition(node, _parent); end end -# source://graphql/lib/graphql/static_validation/rules/query_root_exists_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/query_root_exists_error.rb#4 class GraphQL::StaticValidation::QueryRootExistsError < ::GraphQL::StaticValidation::Error # @return [QueryRootExistsError] a new instance of QueryRootExistsError # - # source://graphql/lib/graphql/static_validation/rules/query_root_exists_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/query_root_exists_error.rb#6 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/query_root_exists_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/query_root_exists_error.rb#21 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/query_root_exists_error.rb#11 + # source://graphql//lib/graphql/static_validation/rules/query_root_exists_error.rb#11 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present.rb#4 +# source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present.rb#4 module GraphQL::StaticValidation::RequiredArgumentsArePresent - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present.rb#10 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present.rb#10 def on_directive(node, _parent); end - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present.rb#5 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present.rb#5 def on_field(node, _parent); end private - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present.rb#18 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present.rb#18 def assert_required_args(ast_node, defn); end end -# source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#4 class GraphQL::StaticValidation::RequiredArgumentsArePresentError < ::GraphQL::StaticValidation::Error # @return [RequiredArgumentsArePresentError] a new instance of RequiredArgumentsArePresentError # - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#9 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#9 def initialize(message, class_name:, name:, arguments:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end # Returns the value of attribute arguments. # - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#7 def arguments; end # Returns the value of attribute class_name. # - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#5 def class_name; end - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#30 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#30 def code; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#6 def name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#17 + # source://graphql//lib/graphql/static_validation/rules/required_arguments_are_present_error.rb#17 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#4 +# source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#4 module GraphQL::StaticValidation::RequiredInputObjectAttributesArePresent - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#5 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#5 def on_input_object(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#14 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#14 def get_parent_type(context, parent); end - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#33 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb#33 def validate_input_object(ast_node, context, parent); end end -# source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#4 class GraphQL::StaticValidation::RequiredInputObjectAttributesArePresentError < ::GraphQL::StaticValidation::Error # @return [RequiredInputObjectAttributesArePresentError] a new instance of RequiredInputObjectAttributesArePresentError # - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#9 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#9 def initialize(message, path:, nodes:, argument_type:, argument_name:, input_object_type:); end # Returns the value of attribute argument_name. # - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#6 def argument_name; end # Returns the value of attribute argument_type. # - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#5 def argument_type; end - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#30 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#30 def code; end # Returns the value of attribute input_object_type. # - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#7 def input_object_type; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#17 + # source://graphql//lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb#17 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/subscription_root_exists.rb#4 +# source://graphql//lib/graphql/static_validation/rules/subscription_root_exists.rb#4 module GraphQL::StaticValidation::SubscriptionRootExists - # source://graphql/lib/graphql/static_validation/rules/subscription_root_exists.rb#5 + # source://graphql//lib/graphql/static_validation/rules/subscription_root_exists.rb#5 def on_operation_definition(node, _parent); end end -# source://graphql/lib/graphql/static_validation/rules/subscription_root_exists_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_error.rb#4 class GraphQL::StaticValidation::SubscriptionRootExistsError < ::GraphQL::StaticValidation::Error # @return [SubscriptionRootExistsError] a new instance of SubscriptionRootExistsError # - # source://graphql/lib/graphql/static_validation/rules/subscription_root_exists_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_error.rb#6 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/subscription_root_exists_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_error.rb#21 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/subscription_root_exists_error.rb#11 + # source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_error.rb#11 def to_h; end end -# source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#4 +# source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#4 module GraphQL::StaticValidation::UniqueDirectivesPerLocation - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_enum_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_enum_value_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_field(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_field_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_fragment_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_inline_fragment(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_input_object_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_input_value_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_interface_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_object_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_operation_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_scalar_type_definition(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#23 def on_union_type_definition(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#33 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#33 def validate_directive_location(node); end end -# source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location.rb#5 +# source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#5 GraphQL::StaticValidation::UniqueDirectivesPerLocation::DIRECTIVE_NODE_HOOKS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#4 class GraphQL::StaticValidation::UniqueDirectivesPerLocationError < ::GraphQL::StaticValidation::Error # @return [UniqueDirectivesPerLocationError] a new instance of UniqueDirectivesPerLocationError # - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#7 def initialize(message, directive:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#24 def code; end # Returns the value of attribute directive_name. # - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#5 def directive_name; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#13 def to_h; end end @@ -15749,114 +15799,114 @@ end # # It holds a list of errors which each validator may add to. # -# source://graphql/lib/graphql/static_validation/validation_context.rb#11 +# source://graphql//lib/graphql/static_validation/validation_context.rb#11 class GraphQL::StaticValidation::ValidationContext extend ::Forwardable # @return [ValidationContext] a new instance of ValidationContext # - # source://graphql/lib/graphql/static_validation/validation_context.rb#21 + # source://graphql//lib/graphql/static_validation/validation_context.rb#21 def initialize(query, visitor_class, max_errors); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def argument_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def dependencies(*args, **_arg1, &block); end - # source://graphql/lib/graphql/static_validation/validation_context.rb#53 + # source://graphql//lib/graphql/static_validation/validation_context.rb#53 def did_you_mean_suggestion(name, options); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def directive_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def document(*args, **_arg1, &block); end # Returns the value of attribute errors. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def errors; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def field_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def fragments(*args, **_arg1, &block); end # Returns the value of attribute max_errors. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def max_errors; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def object_types(*args, **_arg1, &block); end - # source://graphql/lib/graphql/static_validation/validation_context.rb#37 + # source://graphql//lib/graphql/static_validation/validation_context.rb#37 def on_dependency_resolve(&handler); end # Returns the value of attribute on_dependency_resolve_handlers. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def on_dependency_resolve_handlers; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def operations(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def parent_type_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def path(*args, **_arg1, &block); end # Returns the value of attribute query. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def query; end # Returns the value of attribute schema. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def schema; end - # source://graphql/lib/graphql/static_validation/validation_context.rb#49 + # source://graphql//lib/graphql/static_validation/validation_context.rb#49 def schema_directives; end # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/validation_context.rb#45 + # source://graphql//lib/graphql/static_validation/validation_context.rb#45 def too_many_errors?; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#33 def type_definition(*args, **_arg1, &block); end # Returns the value of attribute types. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def types; end - # source://graphql/lib/graphql/static_validation/validation_context.rb#41 + # source://graphql//lib/graphql/static_validation/validation_context.rb#41 def validate_literal(ast_value, type); end # Returns the value of attribute visitor. # - # source://graphql/lib/graphql/static_validation/validation_context.rb#14 + # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def visitor; end end -# source://graphql/lib/graphql/static_validation/validation_timeout_error.rb#4 +# source://graphql//lib/graphql/static_validation/validation_timeout_error.rb#4 class GraphQL::StaticValidation::ValidationTimeoutError < ::GraphQL::StaticValidation::Error # @return [ValidationTimeoutError] a new instance of ValidationTimeoutError # - # source://graphql/lib/graphql/static_validation/validation_timeout_error.rb#5 + # source://graphql//lib/graphql/static_validation/validation_timeout_error.rb#5 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/validation_timeout_error.rb#20 + # source://graphql//lib/graphql/static_validation/validation_timeout_error.rb#20 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/validation_timeout_error.rb#10 + # source://graphql//lib/graphql/static_validation/validation_timeout_error.rb#10 def to_h; end end @@ -15869,13 +15919,13 @@ end # query = GraphQL::Query.new(MySchema, query_string) # errors = validator.validate(query)[:errors] # -# source://graphql/lib/graphql/static_validation/validator.rb#15 +# source://graphql//lib/graphql/static_validation/validator.rb#15 class GraphQL::StaticValidation::Validator # @param schema [GraphQL::Schema] # @param rules [Array<#validate(context)>] a list of rules to use when validating # @return [Validator] a new instance of Validator # - # source://graphql/lib/graphql/static_validation/validator.rb#18 + # source://graphql//lib/graphql/static_validation/validator.rb#18 def initialize(schema:, rules: T.unsafe(nil)); end # Invoked when static validation times out. @@ -15883,7 +15933,7 @@ class GraphQL::StaticValidation::Validator # @param query [GraphQL::Query] # @param context [GraphQL::StaticValidation::ValidationContext] # - # source://graphql/lib/graphql/static_validation/validator.rb#70 + # source://graphql//lib/graphql/static_validation/validator.rb#70 def handle_timeout(query, context); end # Validate `query` against the schema. Returns an array of message hashes. @@ -15894,181 +15944,181 @@ class GraphQL::StaticValidation::Validator # @param max_errors [Integer] Maximum number of errors before aborting validation. Any positive number will limit the number of errors. Defaults to nil for no limit. # @return [Array] # - # source://graphql/lib/graphql/static_validation/validator.rb#29 + # source://graphql//lib/graphql/static_validation/validator.rb#29 def validate(query, validate: T.unsafe(nil), timeout: T.unsafe(nil), max_errors: T.unsafe(nil)); end end -# source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb#4 module GraphQL::StaticValidation::VariableDefaultValuesAreCorrectlyTyped - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb#5 def on_variable_definition(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#4 class GraphQL::StaticValidation::VariableDefaultValuesAreCorrectlyTypedError < ::GraphQL::StaticValidation::Error # @return [VariableDefaultValuesAreCorrectlyTypedError] a new instance of VariableDefaultValuesAreCorrectlyTypedError # - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#14 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#14 def initialize(message, name:, error_type:, path: T.unsafe(nil), nodes: T.unsafe(nil), type: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#34 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#34 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#23 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#23 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#6 def type_name; end # Returns the value of attribute variable_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#5 def variable_name; end # Returns the value of attribute violation. # - # source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#7 def violation; end end -# source://graphql/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#9 +# source://graphql//lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb#9 GraphQL::StaticValidation::VariableDefaultValuesAreCorrectlyTypedError::VIOLATIONS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique.rb#4 module GraphQL::StaticValidation::VariableNamesAreUnique - # source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique.rb#5 def on_operation_definition(node, parent); end end -# source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#4 class GraphQL::StaticValidation::VariableNamesAreUniqueError < ::GraphQL::StaticValidation::Error # @return [VariableNamesAreUniqueError] a new instance of VariableNamesAreUniqueError # - # source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#7 def initialize(message, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#24 + # source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#24 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#13 def to_h; end # Returns the value of attribute variable_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_names_are_unique_error.rb#5 def variable_name; end end -# source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#4 module GraphQL::StaticValidation::VariableUsagesAreAllowed - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#5 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#16 def on_argument(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#11 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#11 def on_operation_definition(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#91 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#91 def create_error(error_message, var_type, ast_var, arg_defn, arg_node); end # @return [Integer] Returns the max depth of `array`, or `0` if it isn't an array at all # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#117 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#117 def depth_of_array(array); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#133 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#133 def list_dimension(type); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#143 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#143 def non_null_levels_match(arg_type, var_type); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#54 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#54 def validate_usage(argument_owner, arg_node, ast_var); end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#102 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed.rb#102 def wrap_var_type_with_depth_of_arg(var_type, arg_node); end end -# source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#4 class GraphQL::StaticValidation::VariableUsagesAreAllowedError < ::GraphQL::StaticValidation::Error # @return [VariableUsagesAreAllowedError] a new instance of VariableUsagesAreAllowedError # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#10 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#10 def initialize(message, type:, name:, argument:, error:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end # Returns the value of attribute argument_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#7 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#7 def argument_name; end - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#33 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#33 def code; end # Returns the value of attribute error_message. # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#8 def error_message; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#19 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#19 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#5 def type_name; end # Returns the value of attribute variable_name. # - # source://graphql/lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/variable_usages_are_allowed_error.rb#6 def variable_name; end end -# source://graphql/lib/graphql/static_validation/rules/variables_are_input_types.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variables_are_input_types.rb#4 module GraphQL::StaticValidation::VariablesAreInputTypes - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types.rb#5 def on_variable_definition(node, parent); end private - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types.rb#39 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types.rb#39 def get_type_name(ast_type); end end -# source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#4 class GraphQL::StaticValidation::VariablesAreInputTypesError < ::GraphQL::StaticValidation::Error # @return [VariablesAreInputTypesError] a new instance of VariablesAreInputTypesError # - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#8 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#8 def initialize(message, type:, name:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#27 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#27 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#15 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#15 def to_h; end # Returns the value of attribute type_name. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#5 def type_name; end # Returns the value of attribute variable_name. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_input_types_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/variables_are_input_types_error.rb#6 def variable_name; end end @@ -16082,32 +16132,32 @@ end # - re-visiting the AST for each validator # - allowing validators to say `followSpreads: true` # -# source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#14 +# source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#14 module GraphQL::StaticValidation::VariablesAreUsedAndDefined - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#26 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#26 def initialize(*_arg0); end - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#78 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#78 def on_document(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#48 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#48 def on_fragment_definition(node, parent); end # For FragmentSpreads: # - find the context on the stack # - mark the context as containing this spread # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#59 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#59 def on_fragment_spread(node, parent); end - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#33 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#33 def on_operation_definition(node, parent); end # For VariableIdentifiers: # - mark the variable as used # - assign its AST node # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#68 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#68 def on_variable_identifier(node, parent); end private @@ -16115,152 +16165,152 @@ module GraphQL::StaticValidation::VariablesAreUsedAndDefined # Determine all the error messages, # Then push messages into the validation context # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#124 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#124 def create_errors(node_variables); end # Follow spreads in `node`, looking them up from `spreads_for_context` and finding their match in `fragment_definitions`. # Use those fragments to update {VariableUsage}s in `parent_variables`. # Avoid infinite loops by skipping anything in `visited_fragments`. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#94 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#94 def follow_spreads(node, parent_variables, spreads_for_context, fragment_definitions, visited_fragments); end end -# source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#15 +# source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#15 class GraphQL::StaticValidation::VariablesAreUsedAndDefined::VariableUsage # Returns the value of attribute ast_node. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def ast_node; end # Sets the attribute ast_node # # @param value the value to set the attribute ast_node to. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def ast_node=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#21 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#21 def declared?; end # Returns the value of attribute declared_by. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def declared_by; end # Sets the attribute declared_by # # @param value the value to set the attribute declared_by to. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def declared_by=(_arg0); end # Returns the value of attribute path. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def path=(_arg0); end # @return [Boolean] # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#17 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#17 def used?; end # Returns the value of attribute used_by. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def used_by; end # Sets the attribute used_by # # @param value the value to set the attribute used_by to. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined.rb#16 def used_by=(_arg0); end end -# source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#4 +# source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#4 class GraphQL::StaticValidation::VariablesAreUsedAndDefinedError < ::GraphQL::StaticValidation::Error # @return [VariablesAreUsedAndDefinedError] a new instance of VariablesAreUsedAndDefinedError # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#13 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#13 def initialize(message, name:, error_type:, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#32 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#32 def code; end # A hash representation of this Message # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#21 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#21 def to_h; end # Returns the value of attribute variable_name. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#5 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#5 def variable_name; end # Returns the value of attribute violation. # - # source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#6 + # source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#6 def violation; end end -# source://graphql/lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#8 +# source://graphql//lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb#8 GraphQL::StaticValidation::VariablesAreUsedAndDefinedError::VIOLATIONS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/string_encoding_error.rb#3 +# source://graphql//lib/graphql/string_encoding_error.rb#3 class GraphQL::StringEncodingError < ::GraphQL::RuntimeTypeError # @return [StringEncodingError] a new instance of StringEncodingError # - # source://graphql/lib/graphql/string_encoding_error.rb#5 + # source://graphql//lib/graphql/string_encoding_error.rb#5 def initialize(str, context:); end # Returns the value of attribute field. # - # source://graphql/lib/graphql/string_encoding_error.rb#4 + # source://graphql//lib/graphql/string_encoding_error.rb#4 def field; end # Returns the value of attribute path. # - # source://graphql/lib/graphql/string_encoding_error.rb#4 + # source://graphql//lib/graphql/string_encoding_error.rb#4 def path; end # Returns the value of attribute string. # - # source://graphql/lib/graphql/string_encoding_error.rb#4 + # source://graphql//lib/graphql/string_encoding_error.rb#4 def string; end end -# source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#4 +# source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#4 class GraphQL::Subscriptions # @param schema [Class] the GraphQL schema this manager belongs to # @param validate_update [Boolean] If false, then validation is skipped when executing updates # @return [Subscriptions] a new instance of Subscriptions # - # source://graphql/lib/graphql/subscriptions.rb#40 + # source://graphql//lib/graphql/subscriptions.rb#40 def initialize(schema:, validate_update: T.unsafe(nil), broadcast: T.unsafe(nil), default_broadcastable: T.unsafe(nil), **rest); end # @return [Boolean] if true, then a query like this one would be broadcasted # - # source://graphql/lib/graphql/subscriptions.rb#233 + # source://graphql//lib/graphql/subscriptions.rb#233 def broadcastable?(query_str, **query_options); end # @return [String] A new unique identifier for a subscription # - # source://graphql/lib/graphql/subscriptions.rb#216 + # source://graphql//lib/graphql/subscriptions.rb#216 def build_id; end # @return [Boolean] Used when fields don't have `broadcastable:` explicitly set # - # source://graphql/lib/graphql/subscriptions.rb#50 + # source://graphql//lib/graphql/subscriptions.rb#50 def default_broadcastable; end # A subscription was terminated server-side. @@ -16270,7 +16320,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return void. # - # source://graphql/lib/graphql/subscriptions.rb#211 + # source://graphql//lib/graphql/subscriptions.rb#211 def delete_subscription(subscription_id); end # A subscription query was re-evaluated, returning `result`. @@ -16281,7 +16331,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql/lib/graphql/subscriptions.rb#194 + # source://graphql//lib/graphql/subscriptions.rb#194 def deliver(subscription_id, result); end # Run the update query for this subscription and deliver it @@ -16290,7 +16340,7 @@ class GraphQL::Subscriptions # @see {#execute_update} # @see {#deliver} # - # source://graphql/lib/graphql/subscriptions.rb#158 + # source://graphql//lib/graphql/subscriptions.rb#158 def execute(subscription_id, event, object); end # Event `event` occurred on `object`, @@ -16301,7 +16351,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql/lib/graphql/subscriptions.rb#177 + # source://graphql//lib/graphql/subscriptions.rb#177 def execute_all(event, object); end # `event` was triggered on `object`, and `subscription_id` was subscribed, @@ -16314,7 +16364,7 @@ class GraphQL::Subscriptions # @param object [Object] The value for the subscription field # @return [GraphQL::Query::Result] # - # source://graphql/lib/graphql/subscriptions.rb#104 + # source://graphql//lib/graphql/subscriptions.rb#104 def execute_update(subscription_id, event, object); end # Convert a user-provided event name or argument @@ -16326,7 +16376,7 @@ class GraphQL::Subscriptions # @param event_or_arg_name [String, Symbol] # @return [String] # - # source://graphql/lib/graphql/subscriptions.rb#228 + # source://graphql//lib/graphql/subscriptions.rb#228 def normalize_name(event_or_arg_name); end # The system wants to send an update to this subscription. @@ -16336,7 +16386,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [Hash] Containing required keys # - # source://graphql/lib/graphql/subscriptions.rb#185 + # source://graphql//lib/graphql/subscriptions.rb#185 def read_subscription(subscription_id); end # Fetch subscriptions matching this field + arguments pair @@ -16349,7 +16399,7 @@ class GraphQL::Subscriptions # @param context [Hash] # @return [void] # - # source://graphql/lib/graphql/subscriptions.rb#60 + # source://graphql//lib/graphql/subscriptions.rb#60 def trigger(event_name, args, object, scope: T.unsafe(nil), context: T.unsafe(nil)); end # Define this method to customize whether to validate @@ -16357,7 +16407,7 @@ class GraphQL::Subscriptions # # @return [Boolean] defaults to `true`, or false if `validate: false` is provided. # - # source://graphql/lib/graphql/subscriptions.rb#150 + # source://graphql//lib/graphql/subscriptions.rb#150 def validate_update?(query:, context:, root_value:, subscription_topic:, operation_name:, variables:); end # `query` was executed and found subscriptions to `events`. @@ -16368,7 +16418,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql/lib/graphql/subscriptions.rb#203 + # source://graphql//lib/graphql/subscriptions.rb#203 def write_subscription(query, events); end private @@ -16381,13 +16431,13 @@ class GraphQL::Subscriptions # @param args [Hash, Array, Any] some GraphQL input value to coerce as `arg_owner` # @return [Any] normalized arguments value # - # source://graphql/lib/graphql/subscriptions.rb#250 + # source://graphql//lib/graphql/subscriptions.rb#250 def normalize_arguments(event_name, arg_owner, args, context); end class << self # @see {Subscriptions#initialize} for options, concrete implementations may add options. # - # source://graphql/lib/graphql/subscriptions.rb#25 + # source://graphql//lib/graphql/subscriptions.rb#25 def use(defn, options = T.unsafe(nil)); end end end @@ -16471,30 +16521,30 @@ end # end # end # -# source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#84 +# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#84 class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscriptions # @param serializer [<#dump(obj), #load(string)] Used for serializing messages before handing them to `.broadcast(msg)`] erializer [<#dump(obj), #load(string)] Used for serializing messages before handing them to `.broadcast(msg)` # @param namespace [string] Used to namespace events and subscriptions (default: '') # @return [ActionCableSubscriptions] a new instance of ActionCableSubscriptions # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#90 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#90 def initialize(serializer: T.unsafe(nil), namespace: T.unsafe(nil), action_cable: T.unsafe(nil), action_cable_coder: T.unsafe(nil), **rest); end # The channel was closed, forget about it. # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#225 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#225 def delete_subscription(subscription_id); end # This subscription was re-evaluated. # Send it to the specific stream where this client was waiting. # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#126 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#126 def deliver(subscription_id, result); end # An event was triggered; Push the data over ActionCable. # Subscribers will re-evaluate locally. # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#118 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#118 def execute_all(event, object); end # This is called to turn an ActionCable-broadcasted string (JSON) @@ -16503,12 +16553,12 @@ class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscription # @param message [String] n ActionCable-broadcasted string (JSON) # @param context [GraphQL::Query::Context] the context of the first event for a given subscription fingerprint # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#198 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#198 def load_action_cable_message(message, context); end # Return the query from "storage" (in memory) # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#207 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#207 def read_subscription(subscription_id); end # Every subscribing channel is listening here, but only one of them takes any action. @@ -16522,7 +16572,7 @@ class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscription # let the listener belonging to the first event on the list be # the one to build and publish payloads. # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#167 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#167 def setup_stream(channel, initial_event); end # A query was run where these events were subscribed to. @@ -16530,22 +16580,22 @@ class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscription # It will receive notifications when events come in # and re-evaluate the query locally. # - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#136 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#136 def write_subscription(query, events); end private - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#250 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#250 def stream_event_name(event); end - # source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#246 + # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#246 def stream_subscription_name(subscription_id); end end -# source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#86 +# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#86 GraphQL::Subscriptions::ActionCableSubscriptions::EVENT_PREFIX = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/subscriptions/action_cable_subscriptions.rb#85 +# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#85 GraphQL::Subscriptions::ActionCableSubscriptions::SUBSCRIPTION_PREFIX = T.let(T.unsafe(nil), String) # Detect whether the current operation: @@ -16557,12 +16607,12 @@ GraphQL::Subscriptions::ActionCableSubscriptions::SUBSCRIPTION_PREFIX = T.let(T. # @api private # @see Subscriptions#broadcastable? for a public API # -# source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#12 +# source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#12 class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # @api private # @return [BroadcastAnalyzer] a new instance of BroadcastAnalyzer # - # source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#13 + # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#13 def initialize(subject); end # Only analyze subscription operations @@ -16570,12 +16620,12 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # @api private # @return [Boolean] # - # source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#21 + # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#21 def analyze?; end # @api private # - # source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#25 + # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#25 def on_enter_field(node, parent, visitor); end # Assign the result to context. @@ -16584,7 +16634,7 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # @api private # @return [void] # - # source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#49 + # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#49 def result; end private @@ -16593,16 +16643,16 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # # @api private # - # source://graphql/lib/graphql/subscriptions/broadcast_analyzer.rb#57 + # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#57 def apply_broadcastable(owner_type, field_defn); end end -# source://graphql/lib/graphql/subscriptions/default_subscription_resolve_extension.rb#4 +# source://graphql//lib/graphql/subscriptions/default_subscription_resolve_extension.rb#4 class GraphQL::Subscriptions::DefaultSubscriptionResolveExtension < ::GraphQL::Schema::FieldExtension - # source://graphql/lib/graphql/subscriptions/default_subscription_resolve_extension.rb#20 + # source://graphql//lib/graphql/subscriptions/default_subscription_resolve_extension.rb#20 def after_resolve(value:, context:, object:, arguments:, **rest); end - # source://graphql/lib/graphql/subscriptions/default_subscription_resolve_extension.rb#5 + # source://graphql//lib/graphql/subscriptions/default_subscription_resolve_extension.rb#5 def resolve(context:, object:, arguments:); end end @@ -16610,52 +16660,52 @@ end # - Subscribed to by `subscription { ... }` # - Triggered by `MySchema.subscriber.trigger(name, arguments, obj)` # -# source://graphql/lib/graphql/subscriptions/event.rb#8 +# source://graphql//lib/graphql/subscriptions/event.rb#8 class GraphQL::Subscriptions::Event # @return [Event] a new instance of Event # - # source://graphql/lib/graphql/subscriptions/event.rb#21 + # source://graphql//lib/graphql/subscriptions/event.rb#21 def initialize(name:, arguments:, field: T.unsafe(nil), context: T.unsafe(nil), scope: T.unsafe(nil)); end # @return [GraphQL::Execution::Interpreter::Arguments] # - # source://graphql/lib/graphql/subscriptions/event.rb#13 + # source://graphql//lib/graphql/subscriptions/event.rb#13 def arguments; end # @return [GraphQL::Query::Context] # - # source://graphql/lib/graphql/subscriptions/event.rb#16 + # source://graphql//lib/graphql/subscriptions/event.rb#16 def context; end # @return [String] a logical identifier for this event. (Stable when the query is broadcastable.) # - # source://graphql/lib/graphql/subscriptions/event.rb#48 + # source://graphql//lib/graphql/subscriptions/event.rb#48 def fingerprint; end # @return [String] Corresponds to the Subscription root field name # - # source://graphql/lib/graphql/subscriptions/event.rb#10 + # source://graphql//lib/graphql/subscriptions/event.rb#10 def name; end # @return [String] An opaque string which identifies this event, derived from `name` and `arguments` # - # source://graphql/lib/graphql/subscriptions/event.rb#19 + # source://graphql//lib/graphql/subscriptions/event.rb#19 def topic; end class << self - # source://graphql/lib/graphql/subscriptions/event.rb#64 + # source://graphql//lib/graphql/subscriptions/event.rb#64 def arguments_without_field_extras(arguments:, field:); end # @return [String] an identifier for this unit of subscription # - # source://graphql/lib/graphql/subscriptions/event.rb#40 + # source://graphql//lib/graphql/subscriptions/event.rb#40 def serialize(_name, arguments, field, scope:, context: T.unsafe(nil)); end private # @raise [ArgumentError] # - # source://graphql/lib/graphql/subscriptions/event.rb#92 + # source://graphql//lib/graphql/subscriptions/event.rb#92 def deep_sort_array_hashes(array_to_inspect); end # This method does not support cyclic references in the Hash, @@ -16664,13 +16714,13 @@ class GraphQL::Subscriptions::Event # # @raise [ArgumentError] # - # source://graphql/lib/graphql/subscriptions/event.rb#79 + # source://graphql//lib/graphql/subscriptions/event.rb#79 def deep_sort_hash_keys(hash_to_sort); end - # source://graphql/lib/graphql/subscriptions/event.rb#150 + # source://graphql//lib/graphql/subscriptions/event.rb#150 def get_arg_definition(arg_owner, arg_name, context); end - # source://graphql/lib/graphql/subscriptions/event.rb#105 + # source://graphql//lib/graphql/subscriptions/event.rb#105 def stringify_args(arg_owner, args, context); end end end @@ -16679,14 +16729,14 @@ end # - the triggered `event_name` doesn't match a field in the schema; or # - one or more arguments don't match the field arguments # -# source://graphql/lib/graphql/subscriptions.rb#14 +# source://graphql//lib/graphql/subscriptions.rb#14 class GraphQL::Subscriptions::InvalidTriggerError < ::GraphQL::Error; end # Serialization helpers for passing subscription data around. # # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#9 +# source://graphql//lib/graphql/subscriptions/serialize.rb#9 module GraphQL::Subscriptions::Serialize private @@ -16694,7 +16744,7 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] Some subscription-related data to dump # @return [String] The stringified object # - # source://graphql/lib/graphql/subscriptions/serialize.rb#28 + # source://graphql//lib/graphql/subscriptions/serialize.rb#28 def dump(obj); end # This is for turning objects into subscription scopes. @@ -16704,14 +16754,14 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] # @return [String] # - # source://graphql/lib/graphql/subscriptions/serialize.rb#36 + # source://graphql//lib/graphql/subscriptions/serialize.rb#36 def dump_recursive(obj); end # @api private # @param str [String] A serialized object from {.dump} # @return [Object] An object equivalent to the one passed to {.dump} # - # source://graphql/lib/graphql/subscriptions/serialize.rb#21 + # source://graphql//lib/graphql/subscriptions/serialize.rb#21 def load(str); end class << self @@ -16719,7 +16769,7 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] Some subscription-related data to dump # @return [String] The stringified object # - # source://graphql/lib/graphql/subscriptions/serialize.rb#28 + # source://graphql//lib/graphql/subscriptions/serialize.rb#28 def dump(obj); end # This is for turning objects into subscription scopes. @@ -16729,14 +16779,14 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] # @return [String] # - # source://graphql/lib/graphql/subscriptions/serialize.rb#36 + # source://graphql//lib/graphql/subscriptions/serialize.rb#36 def dump_recursive(obj); end # @api private # @param str [String] A serialized object from {.dump} # @return [Object] An object equivalent to the one passed to {.dump} # - # source://graphql/lib/graphql/subscriptions/serialize.rb#21 + # source://graphql//lib/graphql/subscriptions/serialize.rb#21 def load(str); end private @@ -16745,48 +16795,48 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] Some subscription-related data to dump # @return [Object] The object that converted Global::Identification # - # source://graphql/lib/graphql/subscriptions/serialize.rb#115 + # source://graphql//lib/graphql/subscriptions/serialize.rb#115 def dump_value(obj); end # @api private # @param value [Object] A parsed JSON object # @return [Object] An object that load Global::Identification recursive # - # source://graphql/lib/graphql/subscriptions/serialize.rb#58 + # source://graphql//lib/graphql/subscriptions/serialize.rb#58 def load_value(value); end end end # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#10 +# source://graphql//lib/graphql/subscriptions/serialize.rb#10 GraphQL::Subscriptions::Serialize::GLOBALID_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#15 +# source://graphql//lib/graphql/subscriptions/serialize.rb#15 GraphQL::Subscriptions::Serialize::OPEN_STRUCT_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#11 +# source://graphql//lib/graphql/subscriptions/serialize.rb#11 GraphQL::Subscriptions::Serialize::SYMBOL_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#12 +# source://graphql//lib/graphql/subscriptions/serialize.rb#12 GraphQL::Subscriptions::Serialize::SYMBOL_KEYS_KEY = T.let(T.unsafe(nil), String) # eg '2020-01-01 23:59:59.123456789+05:00' # # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#14 +# source://graphql//lib/graphql/subscriptions/serialize.rb#14 GraphQL::Subscriptions::Serialize::TIMESTAMP_FORMAT = T.let(T.unsafe(nil), String) # @api private # -# source://graphql/lib/graphql/subscriptions/serialize.rb#13 +# source://graphql//lib/graphql/subscriptions/serialize.rb#13 GraphQL::Subscriptions::Serialize::TIMESTAMP_KEY = T.let(T.unsafe(nil), String) # Raised when either: @@ -16794,105 +16844,105 @@ GraphQL::Subscriptions::Serialize::TIMESTAMP_KEY = T.let(T.unsafe(nil), String) # - Or, an update didn't pass `.trigger(..., scope:)` # When raised, the initial subscription or update fails completely. # -# source://graphql/lib/graphql/subscriptions.rb#21 +# source://graphql//lib/graphql/subscriptions.rb#21 class GraphQL::Subscriptions::SubscriptionScopeMissingError < ::GraphQL::Error; end -# source://graphql/lib/graphql/testing/helpers.rb#3 +# source://graphql//lib/graphql/testing/helpers.rb#3 module GraphQL::Testing; end -# source://graphql/lib/graphql/testing/helpers.rb#4 +# source://graphql//lib/graphql/testing/helpers.rb#4 module GraphQL::Testing::Helpers - # source://graphql/lib/graphql/testing/helpers.rb#42 + # source://graphql//lib/graphql/testing/helpers.rb#42 def run_graphql_field(schema, field_path, object, arguments: T.unsafe(nil), context: T.unsafe(nil), ast_node: T.unsafe(nil), lookahead: T.unsafe(nil)); end # @yield [resolution_context] # - # source://graphql/lib/graphql/testing/helpers.rb#104 + # source://graphql//lib/graphql/testing/helpers.rb#104 def with_resolution_context(schema, type:, object:, context: T.unsafe(nil)); end class << self # @param schema_class [Class] # @return [Module] A helpers module which always uses the given schema # - # source://graphql/lib/graphql/testing/helpers.rb#7 + # source://graphql//lib/graphql/testing/helpers.rb#7 def for(schema_class); end end end -# source://graphql/lib/graphql/testing/helpers.rb#11 +# source://graphql//lib/graphql/testing/helpers.rb#11 class GraphQL::Testing::Helpers::Error < ::GraphQL::Error; end -# source://graphql/lib/graphql/testing/helpers.rb#35 +# source://graphql//lib/graphql/testing/helpers.rb#35 class GraphQL::Testing::Helpers::FieldNotDefinedError < ::GraphQL::Testing::Helpers::Error # @return [FieldNotDefinedError] a new instance of FieldNotDefinedError # - # source://graphql/lib/graphql/testing/helpers.rb#36 + # source://graphql//lib/graphql/testing/helpers.rb#36 def initialize(type_name:, field_name:); end end -# source://graphql/lib/graphql/testing/helpers.rb#21 +# source://graphql//lib/graphql/testing/helpers.rb#21 class GraphQL::Testing::Helpers::FieldNotVisibleError < ::GraphQL::Testing::Helpers::Error # @return [FieldNotVisibleError] a new instance of FieldNotVisibleError # - # source://graphql/lib/graphql/testing/helpers.rb#22 + # source://graphql//lib/graphql/testing/helpers.rb#22 def initialize(type_name:, field_name:); end end -# source://graphql/lib/graphql/testing/helpers.rb#115 +# source://graphql//lib/graphql/testing/helpers.rb#115 class GraphQL::Testing::Helpers::ResolutionAssertionContext # @return [ResolutionAssertionContext] a new instance of ResolutionAssertionContext # - # source://graphql/lib/graphql/testing/helpers.rb#116 + # source://graphql//lib/graphql/testing/helpers.rb#116 def initialize(test, type_name:, object:, schema:, context:); end - # source://graphql/lib/graphql/testing/helpers.rb#125 + # source://graphql//lib/graphql/testing/helpers.rb#125 def run_graphql_field(field_name, arguments: T.unsafe(nil)); end end -# source://graphql/lib/graphql/testing/helpers.rb#134 +# source://graphql//lib/graphql/testing/helpers.rb#134 module GraphQL::Testing::Helpers::SchemaHelpers include ::GraphQL::Testing::Helpers - # source://graphql/lib/graphql/testing/helpers.rb#137 + # source://graphql//lib/graphql/testing/helpers.rb#137 def run_graphql_field(field_path, object, arguments: T.unsafe(nil), context: T.unsafe(nil)); end - # source://graphql/lib/graphql/testing/helpers.rb#141 + # source://graphql//lib/graphql/testing/helpers.rb#141 def with_resolution_context(*args, **kwargs, &block); end class << self - # source://graphql/lib/graphql/testing/helpers.rb#146 + # source://graphql//lib/graphql/testing/helpers.rb#146 def for(schema_class); end end end -# source://graphql/lib/graphql/testing/helpers.rb#28 +# source://graphql//lib/graphql/testing/helpers.rb#28 class GraphQL::Testing::Helpers::TypeNotDefinedError < ::GraphQL::Testing::Helpers::Error # @return [TypeNotDefinedError] a new instance of TypeNotDefinedError # - # source://graphql/lib/graphql/testing/helpers.rb#29 + # source://graphql//lib/graphql/testing/helpers.rb#29 def initialize(type_name:); end end -# source://graphql/lib/graphql/testing/helpers.rb#14 +# source://graphql//lib/graphql/testing/helpers.rb#14 class GraphQL::Testing::Helpers::TypeNotVisibleError < ::GraphQL::Testing::Helpers::Error # @return [TypeNotVisibleError] a new instance of TypeNotVisibleError # - # source://graphql/lib/graphql/testing/helpers.rb#15 + # source://graphql//lib/graphql/testing/helpers.rb#15 def initialize(type_name:); end end -# source://graphql/lib/graphql/tracing.rb#5 +# source://graphql//lib/graphql/tracing.rb#5 module GraphQL::Tracing; end # This implementation forwards events to ActiveSupport::Notifications # with a `graphql` suffix. # -# source://graphql/lib/graphql/tracing/active_support_notifications_trace.rb#9 +# source://graphql//lib/graphql/tracing/active_support_notifications_trace.rb#9 module GraphQL::Tracing::ActiveSupportNotificationsTrace include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::NotificationsTrace - # source://graphql/lib/graphql/tracing/active_support_notifications_trace.rb#11 + # source://graphql//lib/graphql/tracing/active_support_notifications_trace.rb#11 def initialize(engine: T.unsafe(nil), **rest); end end @@ -16901,20 +16951,20 @@ end # # @see KEYS for event names # -# source://graphql/lib/graphql/tracing/active_support_notifications_tracing.rb#11 +# source://graphql//lib/graphql/tracing/active_support_notifications_tracing.rb#11 module GraphQL::Tracing::ActiveSupportNotificationsTracing class << self - # source://graphql/lib/graphql/tracing/active_support_notifications_tracing.rb#16 + # source://graphql//lib/graphql/tracing/active_support_notifications_tracing.rb#16 def trace(key, metadata, &blk); end end end # A cache of frequently-used keys to avoid needless string allocations # -# source://graphql/lib/graphql/tracing/active_support_notifications_tracing.rb#13 +# source://graphql//lib/graphql/tracing/active_support_notifications_tracing.rb#13 GraphQL::Tracing::ActiveSupportNotificationsTracing::KEYS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/tracing/active_support_notifications_tracing.rb#14 +# source://graphql//lib/graphql/tracing/active_support_notifications_tracing.rb#14 GraphQL::Tracing::ActiveSupportNotificationsTracing::NOTIFICATIONS_ENGINE = T.let(T.unsafe(nil), GraphQL::Tracing::NotificationsTracing) # This class uses the AppopticsAPM SDK from the appoptics_apm gem to create @@ -16929,94 +16979,94 @@ GraphQL::Tracing::ActiveSupportNotificationsTracing::NOTIFICATIONS_ENGINE = T.le # AppOpticsAPM::Config[:graphql][:sanitize_query] = true|false # AppOpticsAPM::Config[:graphql][:remove_comments] = true|false # -# source://graphql/lib/graphql/tracing/appoptics_trace.rb#19 +# source://graphql//lib/graphql/tracing/appoptics_trace.rb#19 module GraphQL::Tracing::AppOpticsTrace include ::GraphQL::Tracing::PlatformTrace - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#90 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#90 def authorized(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#101 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#101 def authorized_lazy(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#60 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#60 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#86 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#86 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def lex(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def parse(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#141 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#141 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#137 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#137 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#145 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#145 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#112 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#112 def resolve_type(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#124 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#124 def resolve_type_lazy(**data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#43 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#43 def validate(**data); end private - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#151 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#151 def gql_config; end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#204 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#204 def graphql_context(context, layer); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#230 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#230 def graphql_multiplex(data); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#212 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#212 def graphql_query(query); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#223 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#223 def graphql_query_string(query_string); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#184 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#184 def metadata(data, layer); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#166 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#166 def multiplex_transaction_name(names); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#246 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#246 def remove_comments(query); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#237 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#237 def sanitize(query); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#176 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#176 def span_name(key); end - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#155 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#155 def transaction_name(query); end class << self @@ -17024,17 +17074,17 @@ module GraphQL::Tracing::AppOpticsTrace # with the version provided in the appoptics_apm gem, so that the newer # version of the class can be used # - # source://graphql/lib/graphql/tracing/appoptics_trace.rb#29 + # source://graphql//lib/graphql/tracing/appoptics_trace.rb#29 def version; end end end # These GraphQL events will show up as 'graphql.execute' spans # -# source://graphql/lib/graphql/tracing/appoptics_trace.rb#23 +# source://graphql//lib/graphql/tracing/appoptics_trace.rb#23 GraphQL::Tracing::AppOpticsTrace::EXEC_KEYS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/tracing/appoptics_trace.rb#0 +# source://graphql//lib/graphql/tracing/appoptics_trace.rb#135 class GraphQL::Tracing::AppOpticsTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::AppOpticsTrace @@ -17043,7 +17093,7 @@ end # These GraphQL events will show up as 'graphql.prep' spans # -# source://graphql/lib/graphql/tracing/appoptics_trace.rb#21 +# source://graphql//lib/graphql/tracing/appoptics_trace.rb#21 GraphQL::Tracing::AppOpticsTrace::PREP_KEYS = T.let(T.unsafe(nil), Array) # This class uses the AppopticsAPM SDK from the appoptics_apm gem to create @@ -17058,53 +17108,53 @@ GraphQL::Tracing::AppOpticsTrace::PREP_KEYS = T.let(T.unsafe(nil), Array) # AppOpticsAPM::Config[:graphql][:sanitize_query] = true|false # AppOpticsAPM::Config[:graphql][:remove_comments] = true|false # -# source://graphql/lib/graphql/tracing/appoptics_tracing.rb#19 +# source://graphql//lib/graphql/tracing/appoptics_tracing.rb#19 class GraphQL::Tracing::AppOpticsTracing < ::GraphQL::Tracing::PlatformTracing - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#63 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#63 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#59 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#59 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#67 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#67 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#44 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#44 def platform_trace(platform_key, _key, data); end private - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#73 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#73 def gql_config; end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#126 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#126 def graphql_context(context, layer); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#152 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#152 def graphql_multiplex(data); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#134 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#134 def graphql_query(query); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#145 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#145 def graphql_query_string(query_string); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#106 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#106 def metadata(data, layer); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#88 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#88 def multiplex_transaction_name(names); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#168 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#168 def remove_comments(query); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#159 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#159 def sanitize(query); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#98 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#98 def span_name(key); end - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#77 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#77 def transaction_name(query); end class << self @@ -17112,22 +17162,22 @@ class GraphQL::Tracing::AppOpticsTracing < ::GraphQL::Tracing::PlatformTracing # with the version provided in the appoptics_apm gem, so that the newer # version of the class can be used # - # source://graphql/lib/graphql/tracing/appoptics_tracing.rb#29 + # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#29 def version; end end end # These GraphQL events will show up as 'graphql.execute' spans # -# source://graphql/lib/graphql/tracing/appoptics_tracing.rb#23 +# source://graphql//lib/graphql/tracing/appoptics_tracing.rb#23 GraphQL::Tracing::AppOpticsTracing::EXEC_KEYS = T.let(T.unsafe(nil), Array) # These GraphQL events will show up as 'graphql.prep' spans # -# source://graphql/lib/graphql/tracing/appoptics_tracing.rb#21 +# source://graphql//lib/graphql/tracing/appoptics_tracing.rb#21 GraphQL::Tracing::AppOpticsTracing::PREP_KEYS = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/tracing/appsignal_trace.rb#7 +# source://graphql//lib/graphql/tracing/appsignal_trace.rb#7 module GraphQL::Tracing::AppsignalTrace include ::GraphQL::Tracing::PlatformTrace @@ -17135,97 +17185,97 @@ module GraphQL::Tracing::AppsignalTrace # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_appsignal_action_name]`. # - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#13 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#13 def initialize(set_action_name: T.unsafe(nil), **rest); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def lex(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def parse(**data); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#54 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#54 def platform_authorized(platform_key); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#70 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#70 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#48 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#48 def platform_execute_field(platform_key); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#66 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#66 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#60 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#60 def platform_resolve_type(platform_key); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#74 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#74 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/appsignal_trace.rb#28 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#28 def validate(**data); end end -# source://graphql/lib/graphql/tracing/appsignal_trace.rb#0 +# source://graphql//lib/graphql/tracing/appsignal_trace.rb#8 class GraphQL::Tracing::AppsignalTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::AppsignalTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/appsignal_tracing.rb#7 +# source://graphql//lib/graphql/tracing/appsignal_tracing.rb#7 class GraphQL::Tracing::AppsignalTracing < ::GraphQL::Tracing::PlatformTracing # @param set_action_name [Boolean] If true, the GraphQL operation name will be used as the transaction name. # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_appsignal_action_name]`. # @return [AppsignalTracing] a new instance of AppsignalTracing # - # source://graphql/lib/graphql/tracing/appsignal_tracing.rb#22 + # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#22 def initialize(options = T.unsafe(nil)); end - # source://graphql/lib/graphql/tracing/appsignal_tracing.rb#44 + # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#44 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/appsignal_tracing.rb#40 + # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#40 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/appsignal_tracing.rb#48 + # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#48 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/appsignal_tracing.rb#27 + # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#27 def platform_trace(platform_key, key, data); end end @@ -17233,52 +17283,52 @@ end # New-style `trace_with` modules significantly reduce the overhead of tracing, # but that advantage is lost when legacy-style tracers are also used (since the payload hashes are still constructed). # -# source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#8 +# source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#8 module GraphQL::Tracing::CallLegacyTracers - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#21 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#21 def analyze_multiplex(multiplex:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#25 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#25 def analyze_query(query:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#49 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#49 def authorized(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#53 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#53 def authorized_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#41 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#41 def execute_field(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#45 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#45 def execute_field_lazy(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#29 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#29 def execute_multiplex(multiplex:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#33 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#33 def execute_query(query:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#37 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#37 def execute_query_lazy(query:, multiplex:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#9 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#9 def lex(query_string:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#13 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#13 def parse(query_string:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#57 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#57 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#61 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#61 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/call_legacy_tracers.rb#17 + # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#17 def validate(query:, validate:); end end -# source://graphql/lib/graphql/tracing/data_dog_trace.rb#7 +# source://graphql//lib/graphql/tracing/data_dog_trace.rb#7 module GraphQL::Tracing::DataDogTrace include ::GraphQL::Tracing::PlatformTrace @@ -17286,49 +17336,49 @@ module GraphQL::Tracing::DataDogTrace # @param analytics_enabled [Boolean] Deprecated # @param analytics_sample_rate [Float] Deprecated # - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#11 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#11 def initialize(tracer: T.unsafe(nil), analytics_enabled: T.unsafe(nil), analytics_sample_rate: T.unsafe(nil), service: T.unsafe(nil), **rest); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#113 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#113 def authorized(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#132 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#132 def authorized_lazy(object:, type:, query:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#119 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#119 def authorized_span(span_key, object, type, query); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#101 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#101 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#107 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#107 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#74 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#74 def execute_field_span(span_key, query, field, ast_node, arguments, object); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def lex(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def parse(**data); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#176 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#176 def platform_authorized_key(type); end # Implement this method in a subclass to apply custom tags to datadog spans @@ -17339,52 +17389,52 @@ module GraphQL::Tracing::DataDogTrace # @param data [Hash] The runtime data for this event (@see GraphQL::Tracing for keys for each event) # @param span [Datadog::Tracing::SpanOperation] The datadog span for this event # - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#172 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#172 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#180 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#180 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#138 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#138 def resolve_type(object:, type:, query:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#144 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#144 def resolve_type_lazy(object:, type:, query:); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#150 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#150 def resolve_type_span(span_key, object, type, query); end - # source://graphql/lib/graphql/tracing/data_dog_trace.rb#35 + # source://graphql//lib/graphql/tracing/data_dog_trace.rb#35 def validate(**data); end end -# source://graphql/lib/graphql/tracing/data_dog_trace.rb#0 +# source://graphql//lib/graphql/tracing/data_dog_trace.rb#163 class GraphQL::Tracing::DataDogTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::DataDogTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/data_dog_tracing.rb#7 +# source://graphql//lib/graphql/tracing/data_dog_tracing.rb#7 class GraphQL::Tracing::DataDogTracing < ::GraphQL::Tracing::PlatformTracing # @return [Boolean] # - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#65 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#65 def analytics_enabled?; end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#70 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#70 def analytics_sample_rate; end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#79 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#79 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#75 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#75 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#83 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#83 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#19 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#19 def platform_trace(platform_key, key, data); end # Implement this method in a subclass to apply custom tags to datadog spans @@ -17393,64 +17443,64 @@ class GraphQL::Tracing::DataDogTracing < ::GraphQL::Tracing::PlatformTracing # @param data [Hash] The runtime data for this event (@see GraphQL::Tracing for keys for each event) # @param span [Datadog::Tracing::SpanOperation] The datadog span for this event # - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#55 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#55 def prepare_span(key, data, span); end - # source://graphql/lib/graphql/tracing/data_dog_tracing.rb#58 + # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#58 def tracer; end end -# source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#5 +# source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#5 module GraphQL::Tracing::LegacyHooksTrace - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#6 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#6 def execute_multiplex(multiplex:); end end -# source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#17 +# source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#17 module GraphQL::Tracing::LegacyHooksTrace::RunHooks private - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#62 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#62 def call_after_hooks(instrumenters, object, after_hook_name, ex); end # Call each before hook, and if they all succeed, yield. # If they don't all succeed, call after_ for each one that succeeded. # - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#37 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#37 def call_hooks(instrumenters, object, before_hook_name, after_hook_name); end # Call the before_ hooks of each query, # Then yield if no errors. # `call_hooks` takes care of appropriate cleanup. # - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#22 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#22 def each_query_call_hooks(instrumenters, queries, i = T.unsafe(nil)); end class << self - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#62 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#62 def call_after_hooks(instrumenters, object, after_hook_name, ex); end # Call each before hook, and if they all succeed, yield. # If they don't all succeed, call after_ for each one that succeeded. # - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#37 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#37 def call_hooks(instrumenters, object, before_hook_name, after_hook_name); end # Call the before_ hooks of each query, # Then yield if no errors. # `call_hooks` takes care of appropriate cleanup. # - # source://graphql/lib/graphql/tracing/legacy_hooks_trace.rb#22 + # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#22 def each_query_call_hooks(instrumenters, queries, i = T.unsafe(nil)); end end end -# source://graphql/lib/graphql/tracing/legacy_trace.rb#8 +# source://graphql//lib/graphql/tracing/legacy_trace.rb#8 class GraphQL::Tracing::LegacyTrace < ::GraphQL::Tracing::Trace include ::GraphQL::Tracing::CallLegacyTracers end -# source://graphql/lib/graphql/tracing/new_relic_trace.rb#7 +# source://graphql//lib/graphql/tracing/new_relic_trace.rb#7 module GraphQL::Tracing::NewRelicTrace include ::GraphQL::Tracing::PlatformTrace @@ -17458,97 +17508,97 @@ module GraphQL::Tracing::NewRelicTrace # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_new_relic_transaction_name]`. # - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#13 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#13 def initialize(set_transaction_name: T.unsafe(nil), **_rest); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def analyze_multiplex(**_keys); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def analyze_query(**_keys); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def execute_multiplex(**_keys); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#18 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#18 def execute_query(query:); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def execute_query_lazy(**_keys); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def lex(**_keys); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def parse(**_keys); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#52 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#52 def platform_authorized(platform_key); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#68 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#68 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#46 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#46 def platform_execute_field(platform_key); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#64 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#64 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#58 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#58 def platform_resolve_type(platform_key); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#72 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#72 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/new_relic_trace.rb#37 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#37 def validate(**_keys); end end -# source://graphql/lib/graphql/tracing/new_relic_trace.rb#0 +# source://graphql//lib/graphql/tracing/new_relic_trace.rb#8 class GraphQL::Tracing::NewRelicTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::NewRelicTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/new_relic_tracing.rb#7 +# source://graphql//lib/graphql/tracing/new_relic_tracing.rb#7 class GraphQL::Tracing::NewRelicTracing < ::GraphQL::Tracing::PlatformTracing # @param set_transaction_name [Boolean] If true, the GraphQL operation name will be used as the transaction name. # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_new_relic_transaction_name]`. # @return [NewRelicTracing] a new instance of NewRelicTracing # - # source://graphql/lib/graphql/tracing/new_relic_tracing.rb#22 + # source://graphql//lib/graphql/tracing/new_relic_tracing.rb#22 def initialize(options = T.unsafe(nil)); end - # source://graphql/lib/graphql/tracing/new_relic_tracing.rb#44 + # source://graphql//lib/graphql/tracing/new_relic_tracing.rb#44 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/new_relic_tracing.rb#40 + # source://graphql//lib/graphql/tracing/new_relic_tracing.rb#40 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/new_relic_tracing.rb#48 + # source://graphql//lib/graphql/tracing/new_relic_tracing.rb#48 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/new_relic_tracing.rb#27 + # source://graphql//lib/graphql/tracing/new_relic_tracing.rb#27 def platform_trace(platform_key, key, data); end end @@ -17556,7 +17606,7 @@ end # ActiveSupport::Notifications or Dry::Monitor::Notifications) # with a `graphql` suffix. # -# source://graphql/lib/graphql/tracing/notifications_trace.rb#10 +# source://graphql//lib/graphql/tracing/notifications_trace.rb#10 module GraphQL::Tracing::NotificationsTrace include ::GraphQL::Tracing::PlatformTrace @@ -17564,53 +17614,53 @@ module GraphQL::Tracing::NotificationsTrace # # @param engine [#instrument(key, metadata, block)] The notifications engine to use # - # source://graphql/lib/graphql/tracing/notifications_trace.rb#14 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#14 def initialize(engine:, **rest); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def analyze_multiplex(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def analyze_query(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def authorized(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def authorized_lazy(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def execute_field(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def execute_field_lazy(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def execute_multiplex(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def execute_query(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def execute_query_lazy(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def lex(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def parse(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def resolve_type(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def resolve_type_lazy(**metadata, &block); end - # source://graphql/lib/graphql/tracing/notifications_trace.rb#35 + # source://graphql//lib/graphql/tracing/notifications_trace.rb#35 def validate(**metadata, &block); end end -# source://graphql/lib/graphql/tracing/notifications_trace.rb#0 +# source://graphql//lib/graphql/tracing/notifications_trace.rb#42 class GraphQL::Tracing::NotificationsTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::NotificationsTrace @@ -17623,14 +17673,14 @@ end # # @see KEYS for event names # -# source://graphql/lib/graphql/tracing/notifications_tracing.rb#12 +# source://graphql//lib/graphql/tracing/notifications_tracing.rb#12 class GraphQL::Tracing::NotificationsTracing # Initialize a new NotificationsTracing instance # # @param notifications_engine [Object] The notifications engine to use # @return [NotificationsTracing] a new instance of NotificationsTracing # - # source://graphql/lib/graphql/tracing/notifications_tracing.rb#35 + # source://graphql//lib/graphql/tracing/notifications_tracing.rb#35 def initialize(notifications_engine); end # Sends a GraphQL tracing event to the notification handler @@ -17643,85 +17693,85 @@ class GraphQL::Tracing::NotificationsTracing # @param metadata [Hash] The metadata for the event # @yield The block to execute for the event # - # source://graphql/lib/graphql/tracing/notifications_tracing.rb#49 + # source://graphql//lib/graphql/tracing/notifications_tracing.rb#49 def trace(key, metadata, &blk); end end # A cache of frequently-used keys to avoid needless string allocations # -# source://graphql/lib/graphql/tracing/notifications_tracing.rb#14 +# source://graphql//lib/graphql/tracing/notifications_tracing.rb#14 GraphQL::Tracing::NotificationsTracing::KEYS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/tracing/notifications_tracing.rb#30 +# source://graphql//lib/graphql/tracing/notifications_tracing.rb#30 GraphQL::Tracing::NotificationsTracing::MAX_KEYS_SIZE = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/tracing/null_trace.rb#7 +# source://graphql//lib/graphql/tracing/null_trace.rb#7 GraphQL::Tracing::NullTrace = T.let(T.unsafe(nil), GraphQL::Tracing::Trace) -# source://graphql/lib/graphql/tracing.rb#65 +# source://graphql//lib/graphql/tracing.rb#65 module GraphQL::Tracing::NullTracer private - # source://graphql/lib/graphql/tracing.rb#67 + # source://graphql//lib/graphql/tracing.rb#67 def trace(k, v); end class << self - # source://graphql/lib/graphql/tracing.rb#67 + # source://graphql//lib/graphql/tracing.rb#67 def trace(k, v); end end end -# source://graphql/lib/graphql/tracing/platform_trace.rb#5 +# source://graphql//lib/graphql/tracing/platform_trace.rb#5 module GraphQL::Tracing::PlatformTrace - # source://graphql/lib/graphql/tracing/platform_trace.rb#6 + # source://graphql//lib/graphql/tracing/platform_trace.rb#6 def initialize(trace_scalars: T.unsafe(nil), **_options); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#28 + # source://graphql//lib/graphql/tracing/platform_trace.rb#28 def platform_authorized_lazy(key, &block); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#24 + # source://graphql//lib/graphql/tracing/platform_trace.rb#24 def platform_execute_field_lazy(*args, &block); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#32 + # source://graphql//lib/graphql/tracing/platform_trace.rb#32 def platform_resolve_type_lazy(key, &block); end private - # source://graphql/lib/graphql/tracing/platform_trace.rb#113 + # source://graphql//lib/graphql/tracing/platform_trace.rb#113 def fallback_transaction_name(context); end # Get the transaction name based on the operation type and name if possible, or fall back to a user provided # one. Useful for anonymous queries. # - # source://graphql/lib/graphql/tracing/platform_trace.rb#101 + # source://graphql//lib/graphql/tracing/platform_trace.rb#101 def transaction_name(query); end class << self # @private # - # source://graphql/lib/graphql/tracing/platform_trace.rb#36 + # source://graphql//lib/graphql/tracing/platform_trace.rb#36 def included(child_class); end end end -# source://graphql/lib/graphql/tracing/platform_trace.rb#13 +# source://graphql//lib/graphql/tracing/platform_trace.rb#13 module GraphQL::Tracing::PlatformTrace::BaseKeyCache - # source://graphql/lib/graphql/tracing/platform_trace.rb#14 + # source://graphql//lib/graphql/tracing/platform_trace.rb#14 def initialize; end # Returns the value of attribute platform_authorized_key_cache. # - # source://graphql/lib/graphql/tracing/platform_trace.rb#20 + # source://graphql//lib/graphql/tracing/platform_trace.rb#20 def platform_authorized_key_cache; end # Returns the value of attribute platform_field_key_cache. # - # source://graphql/lib/graphql/tracing/platform_trace.rb#20 + # source://graphql//lib/graphql/tracing/platform_trace.rb#20 def platform_field_key_cache; end # Returns the value of attribute platform_resolve_type_key_cache. # - # source://graphql/lib/graphql/tracing/platform_trace.rb#20 + # source://graphql//lib/graphql/tracing/platform_trace.rb#20 def platform_resolve_type_key_cache; end end @@ -17732,17 +17782,17 @@ end # # @api private # -# source://graphql/lib/graphql/tracing/platform_tracing.rb#10 +# source://graphql//lib/graphql/tracing/platform_tracing.rb#10 class GraphQL::Tracing::PlatformTracing # @api private # @return [PlatformTracing] a new instance of PlatformTracing # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#19 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#19 def initialize(options = T.unsafe(nil)); end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#25 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#25 def trace(key, data); end private @@ -17763,17 +17813,17 @@ class GraphQL::Tracing::PlatformTracing # @param trace_phase [Symbol] The stage of execution being traced (used by OpenTelementry tracing) # @return [String] # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#130 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#130 def cached_platform_key(ctx, key, trace_phase); end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#110 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#110 def fallback_transaction_name(context); end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#114 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#114 def options; end # Get the transaction name based on the operation type and name if possible, or fall back to a user provided @@ -17781,157 +17831,157 @@ class GraphQL::Tracing::PlatformTracing # # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#98 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#98 def transaction_name(query); end class << self # @api private # @private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#14 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#14 def inherited(child_class); end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#12 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#12 def platform_keys; end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#12 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#12 def platform_keys=(_arg0); end # @api private # - # source://graphql/lib/graphql/tracing/platform_tracing.rb#75 + # source://graphql//lib/graphql/tracing/platform_tracing.rb#75 def use(schema_defn, options = T.unsafe(nil)); end end end -# source://graphql/lib/graphql/tracing/prometheus_trace.rb#7 +# source://graphql//lib/graphql/tracing/prometheus_trace.rb#7 module GraphQL::Tracing::PrometheusTrace include ::GraphQL::Tracing::PlatformTrace - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#13 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#13 def initialize(client: T.unsafe(nil), keys_whitelist: T.unsafe(nil), collector_type: T.unsafe(nil), **rest); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def lex(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def parse(**data); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#46 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#46 def platform_authorized(platform_key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#66 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#66 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#50 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#50 def platform_authorized_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#38 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#38 def platform_execute_field(platform_key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#42 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#42 def platform_execute_field_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#62 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#62 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#54 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#54 def platform_resolve_type(platform_key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#70 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#70 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#58 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#58 def platform_resolve_type_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#31 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#31 def validate(**data); end private - # source://graphql/lib/graphql/tracing/prometheus_trace.rb#76 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#76 def instrument_prometheus_execution(platform_key, key, &block); end end -# source://graphql/lib/graphql/tracing/prometheus_trace.rb#0 +# source://graphql//lib/graphql/tracing/prometheus_trace.rb#11 class GraphQL::Tracing::PrometheusTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::PrometheusTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/prometheus_tracing.rb#7 +# source://graphql//lib/graphql/tracing/prometheus_tracing.rb#7 class GraphQL::Tracing::PrometheusTracing < ::GraphQL::Tracing::PlatformTracing # @return [PrometheusTracing] a new instance of PrometheusTracing # - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#24 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#24 def initialize(opts = T.unsafe(nil)); end - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#41 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#41 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#37 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#37 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#45 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#45 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#32 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#32 def platform_trace(platform_key, key, _data, &block); end private - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#51 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#51 def instrument_execution(platform_key, key, &block); end - # source://graphql/lib/graphql/tracing/prometheus_tracing.rb#59 + # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#59 def observe(platform_key, key, duration); end end -# source://graphql/lib/graphql/tracing/prometheus_tracing.rb#9 +# source://graphql//lib/graphql/tracing/prometheus_tracing.rb#9 GraphQL::Tracing::PrometheusTracing::DEFAULT_COLLECTOR_TYPE = T.let(T.unsafe(nil), String) -# source://graphql/lib/graphql/tracing/prometheus_tracing.rb#8 +# source://graphql//lib/graphql/tracing/prometheus_tracing.rb#8 GraphQL::Tracing::PrometheusTracing::DEFAULT_WHITELIST = T.let(T.unsafe(nil), Array) -# source://graphql/lib/graphql/tracing/scout_trace.rb#7 +# source://graphql//lib/graphql/tracing/scout_trace.rb#7 module GraphQL::Tracing::ScoutTrace include ::GraphQL::Tracing::PlatformTrace @@ -17939,107 +17989,107 @@ module GraphQL::Tracing::ScoutTrace # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_scout_transaction_name]`. # - # source://graphql/lib/graphql/tracing/scout_trace.rb#15 + # source://graphql//lib/graphql/tracing/scout_trace.rb#15 def initialize(set_transaction_name: T.unsafe(nil), **_rest); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def lex(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def parse(**data); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#55 + # source://graphql//lib/graphql/tracing/scout_trace.rb#55 def platform_authorized(platform_key, &block); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#65 + # source://graphql//lib/graphql/tracing/scout_trace.rb#65 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#51 + # source://graphql//lib/graphql/tracing/scout_trace.rb#51 def platform_execute_field(platform_key, &block); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#61 + # source://graphql//lib/graphql/tracing/scout_trace.rb#61 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#55 + # source://graphql//lib/graphql/tracing/scout_trace.rb#59 def platform_resolve_type(platform_key, &block); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#69 + # source://graphql//lib/graphql/tracing/scout_trace.rb#69 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/scout_trace.rb#8 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/scout_trace.rb#31 + # source://graphql//lib/graphql/tracing/scout_trace.rb#31 def validate(**data); end end -# source://graphql/lib/graphql/tracing/scout_trace.rb#10 +# source://graphql//lib/graphql/tracing/scout_trace.rb#10 GraphQL::Tracing::ScoutTrace::INSTRUMENT_OPTS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/tracing/scout_trace.rb#0 +# source://graphql//lib/graphql/tracing/scout_trace.rb#8 class GraphQL::Tracing::ScoutTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::ScoutTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/scout_tracing.rb#7 +# source://graphql//lib/graphql/tracing/scout_tracing.rb#7 class GraphQL::Tracing::ScoutTracing < ::GraphQL::Tracing::PlatformTracing # @param set_transaction_name [Boolean] If true, the GraphQL operation name will be used as the transaction name. # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_scout_transaction_name]`. # @return [ScoutTracing] a new instance of ScoutTracing # - # source://graphql/lib/graphql/tracing/scout_tracing.rb#24 + # source://graphql//lib/graphql/tracing/scout_tracing.rb#24 def initialize(options = T.unsafe(nil)); end - # source://graphql/lib/graphql/tracing/scout_tracing.rb#47 + # source://graphql//lib/graphql/tracing/scout_tracing.rb#47 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/scout_tracing.rb#43 + # source://graphql//lib/graphql/tracing/scout_tracing.rb#43 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/scout_tracing.rb#51 + # source://graphql//lib/graphql/tracing/scout_tracing.rb#51 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/scout_tracing.rb#30 + # source://graphql//lib/graphql/tracing/scout_tracing.rb#30 def platform_trace(platform_key, key, data); end end -# source://graphql/lib/graphql/tracing/scout_tracing.rb#8 +# source://graphql//lib/graphql/tracing/scout_tracing.rb#8 GraphQL::Tracing::ScoutTracing::INSTRUMENT_OPTS = T.let(T.unsafe(nil), Hash) -# source://graphql/lib/graphql/tracing/sentry_trace.rb#7 +# source://graphql//lib/graphql/tracing/sentry_trace.rb#7 module GraphQL::Tracing::SentryTrace include ::GraphQL::Tracing::PlatformTrace @@ -18047,189 +18097,189 @@ module GraphQL::Tracing::SentryTrace # This is not advised if you run more than one query per HTTP request, for example, with `graphql-client` or multiplexing. # It can also be specified per-query with `context[:set_sentry_transaction_name]`. # - # source://graphql/lib/graphql/tracing/sentry_trace.rb#13 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#13 def initialize(set_transaction_name: T.unsafe(nil), **_rest); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#18 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#18 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def lex(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def parse(**data); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#52 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#52 def platform_authorized(platform_key, &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#72 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#72 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#56 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#56 def platform_authorized_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#44 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#44 def platform_execute_field(platform_key, &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#48 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#48 def platform_execute_field_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#68 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#68 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#60 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#60 def platform_resolve_type(platform_key, &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#76 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#76 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#64 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#64 def platform_resolve_type_lazy(platform_key, &block); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#8 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#37 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#37 def validate(**data); end private - # source://graphql/lib/graphql/tracing/sentry_trace.rb#82 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#82 def instrument_sentry_execution(platform_key, trace_method, data = T.unsafe(nil), &block); end - # source://graphql/lib/graphql/tracing/sentry_trace.rb#104 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#104 def operation_name(query); end end -# source://graphql/lib/graphql/tracing/sentry_trace.rb#0 +# source://graphql//lib/graphql/tracing/sentry_trace.rb#8 class GraphQL::Tracing::SentryTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::SentryTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/statsd_trace.rb#7 +# source://graphql//lib/graphql/tracing/statsd_trace.rb#7 module GraphQL::Tracing::StatsdTrace include ::GraphQL::Tracing::PlatformTrace # @param statsd [Object] A statsd client # - # source://graphql/lib/graphql/tracing/statsd_trace.rb#11 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#11 def initialize(statsd:, **rest); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def analyze_multiplex(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def analyze_query(**data); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def authorized(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def authorized_lazy(type:, query:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def execute_multiplex(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def execute_query(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def execute_query_lazy(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def lex(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def parse(**data); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#39 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#39 def platform_authorized(key, &block); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#49 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#49 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#35 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#35 def platform_execute_field(platform_key, &block); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#45 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#45 def platform_field_key(field); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#39 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#43 def platform_resolve_type(key, &block); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#53 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#53 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#8 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/statsd_trace.rb#26 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#26 def validate(**data); end end -# source://graphql/lib/graphql/tracing/statsd_trace.rb#0 +# source://graphql//lib/graphql/tracing/statsd_trace.rb#8 class GraphQL::Tracing::StatsdTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::StatsdTrace include ::GraphQL::Tracing::PlatformTrace::BaseKeyCache end -# source://graphql/lib/graphql/tracing/statsd_tracing.rb#7 +# source://graphql//lib/graphql/tracing/statsd_tracing.rb#7 class GraphQL::Tracing::StatsdTracing < ::GraphQL::Tracing::PlatformTracing # @param statsd [Object] A statsd client # @return [StatsdTracing] a new instance of StatsdTracing # - # source://graphql/lib/graphql/tracing/statsd_tracing.rb#20 + # source://graphql//lib/graphql/tracing/statsd_tracing.rb#20 def initialize(statsd:, **rest); end - # source://graphql/lib/graphql/tracing/statsd_tracing.rb#35 + # source://graphql//lib/graphql/tracing/statsd_tracing.rb#35 def platform_authorized_key(type); end - # source://graphql/lib/graphql/tracing/statsd_tracing.rb#31 + # source://graphql//lib/graphql/tracing/statsd_tracing.rb#31 def platform_field_key(type, field); end - # source://graphql/lib/graphql/tracing/statsd_tracing.rb#39 + # source://graphql//lib/graphql/tracing/statsd_tracing.rb#39 def platform_resolve_type_key(type); end - # source://graphql/lib/graphql/tracing/statsd_tracing.rb#25 + # source://graphql//lib/graphql/tracing/statsd_tracing.rb#25 def platform_trace(platform_key, key, data); end end @@ -18239,57 +18289,57 @@ end # A trace module may implement any of the methods on `Trace`, being sure to call `super` # to continue any tracing hooks and call the actual runtime behavior. See {GraphQL::Backtrace::Trace} for example. # -# source://graphql/lib/graphql/tracing/trace.rb#13 +# source://graphql//lib/graphql/tracing/trace.rb#13 class GraphQL::Tracing::Trace # @param multiplex [GraphQL::Execution::Multiplex, nil] # @param query [GraphQL::Query, nil] # @return [Trace] a new instance of Trace # - # source://graphql/lib/graphql/tracing/trace.rb#16 + # source://graphql//lib/graphql/tracing/trace.rb#16 def initialize(multiplex: T.unsafe(nil), query: T.unsafe(nil), **_options); end - # source://graphql/lib/graphql/tracing/trace.rb#34 + # source://graphql//lib/graphql/tracing/trace.rb#34 def analyze_multiplex(multiplex:); end - # source://graphql/lib/graphql/tracing/trace.rb#38 + # source://graphql//lib/graphql/tracing/trace.rb#38 def analyze_query(query:); end - # source://graphql/lib/graphql/tracing/trace.rb#62 + # source://graphql//lib/graphql/tracing/trace.rb#62 def authorized(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#66 + # source://graphql//lib/graphql/tracing/trace.rb#66 def authorized_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#54 + # source://graphql//lib/graphql/tracing/trace.rb#54 def execute_field(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#58 + # source://graphql//lib/graphql/tracing/trace.rb#58 def execute_field_lazy(field:, query:, ast_node:, arguments:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#42 + # source://graphql//lib/graphql/tracing/trace.rb#42 def execute_multiplex(multiplex:); end - # source://graphql/lib/graphql/tracing/trace.rb#46 + # source://graphql//lib/graphql/tracing/trace.rb#46 def execute_query(query:); end - # source://graphql/lib/graphql/tracing/trace.rb#50 + # source://graphql//lib/graphql/tracing/trace.rb#50 def execute_query_lazy(query:, multiplex:); end # The Ruby parser doesn't call this method (`graphql/c_parser` does.) # - # source://graphql/lib/graphql/tracing/trace.rb#22 + # source://graphql//lib/graphql/tracing/trace.rb#22 def lex(query_string:); end - # source://graphql/lib/graphql/tracing/trace.rb#26 + # source://graphql//lib/graphql/tracing/trace.rb#26 def parse(query_string:); end - # source://graphql/lib/graphql/tracing/trace.rb#70 + # source://graphql//lib/graphql/tracing/trace.rb#70 def resolve_type(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#74 + # source://graphql//lib/graphql/tracing/trace.rb#74 def resolve_type_lazy(query:, type:, object:); end - # source://graphql/lib/graphql/tracing/trace.rb#30 + # source://graphql//lib/graphql/tracing/trace.rb#30 def validate(query:, validate:); end end @@ -18298,14 +18348,14 @@ end # # @api private # -# source://graphql/lib/graphql/tracing.rb#38 +# source://graphql//lib/graphql/tracing.rb#38 module GraphQL::Tracing::Traceable # @api private # @param key [String] The name of the event in GraphQL internals # @param metadata [Hash] Event-related metadata (can be anything) # @return [Object] Must return the value of the block # - # source://graphql/lib/graphql/tracing.rb#42 + # source://graphql//lib/graphql/tracing.rb#42 def trace(key, metadata, &block); end private @@ -18319,121 +18369,121 @@ module GraphQL::Tracing::Traceable # @param metadata [Object] The current event object # @return Whatever the block returns # - # source://graphql/lib/graphql/tracing.rb#56 + # source://graphql//lib/graphql/tracing.rb#56 def call_tracers(idx, key, metadata, &block); end end # Type kinds are the basic categories which a type may belong to (`Object`, `Scalar`, `Union`...) # -# source://graphql/lib/graphql/type_kinds.rb#4 +# source://graphql//lib/graphql/type_kinds.rb#4 module GraphQL::TypeKinds; end -# source://graphql/lib/graphql/type_kinds.rb#74 +# source://graphql//lib/graphql/type_kinds.rb#74 GraphQL::TypeKinds::ENUM = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#75 +# source://graphql//lib/graphql/type_kinds.rb#75 GraphQL::TypeKinds::INPUT_OBJECT = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#72 +# source://graphql//lib/graphql/type_kinds.rb#72 GraphQL::TypeKinds::INTERFACE = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#76 +# source://graphql//lib/graphql/type_kinds.rb#76 GraphQL::TypeKinds::LIST = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#77 +# source://graphql//lib/graphql/type_kinds.rb#77 GraphQL::TypeKinds::NON_NULL = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#71 +# source://graphql//lib/graphql/type_kinds.rb#71 GraphQL::TypeKinds::OBJECT = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#70 +# source://graphql//lib/graphql/type_kinds.rb#70 GraphQL::TypeKinds::SCALAR = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/type_kinds.rb#69 +# source://graphql//lib/graphql/type_kinds.rb#69 GraphQL::TypeKinds::TYPE_KINDS = T.let(T.unsafe(nil), Array) # These objects are singletons, eg `GraphQL::TypeKinds::UNION`, `GraphQL::TypeKinds::SCALAR`. # -# source://graphql/lib/graphql/type_kinds.rb#6 +# source://graphql//lib/graphql/type_kinds.rb#6 class GraphQL::TypeKinds::TypeKind # @return [TypeKind] a new instance of TypeKind # - # source://graphql/lib/graphql/type_kinds.rb#8 + # source://graphql//lib/graphql/type_kinds.rb#8 def initialize(name, abstract: T.unsafe(nil), leaf: T.unsafe(nil), fields: T.unsafe(nil), wraps: T.unsafe(nil), input: T.unsafe(nil), description: T.unsafe(nil)); end # Is this TypeKind abstract? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#23 + # source://graphql//lib/graphql/type_kinds.rb#23 def abstract?; end # Is this TypeKind composed of many values? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#34 + # source://graphql//lib/graphql/type_kinds.rb#34 def composite?; end # Returns the value of attribute description. # - # source://graphql/lib/graphql/type_kinds.rb#7 + # source://graphql//lib/graphql/type_kinds.rb#7 def description; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#52 + # source://graphql//lib/graphql/type_kinds.rb#52 def enum?; end # Does this TypeKind have queryable fields? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#25 + # source://graphql//lib/graphql/type_kinds.rb#25 def fields?; end # Is this TypeKind a valid query input? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#29 + # source://graphql//lib/graphql/type_kinds.rb#29 def input?; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#56 + # source://graphql//lib/graphql/type_kinds.rb#56 def input_object?; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#44 + # source://graphql//lib/graphql/type_kinds.rb#44 def interface?; end # Is this TypeKind a primitive value? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#32 + # source://graphql//lib/graphql/type_kinds.rb#32 def leaf?; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#60 + # source://graphql//lib/graphql/type_kinds.rb#60 def list?; end # Returns the value of attribute name. # - # source://graphql/lib/graphql/type_kinds.rb#7 + # source://graphql//lib/graphql/type_kinds.rb#7 def name; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#64 + # source://graphql//lib/graphql/type_kinds.rb#64 def non_null?; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#40 + # source://graphql//lib/graphql/type_kinds.rb#40 def object?; end # Does this TypeKind have multiple possible implementers? @@ -18441,81 +18491,81 @@ class GraphQL::TypeKinds::TypeKind # @deprecated Use `abstract?` instead of `resolves?`. # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#21 + # source://graphql//lib/graphql/type_kinds.rb#21 def resolves?; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#36 + # source://graphql//lib/graphql/type_kinds.rb#36 def scalar?; end - # source://graphql/lib/graphql/type_kinds.rb#30 + # source://graphql//lib/graphql/type_kinds.rb#30 def to_s; end # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#48 + # source://graphql//lib/graphql/type_kinds.rb#48 def union?; end # Does this TypeKind modify another type? # # @return [Boolean] # - # source://graphql/lib/graphql/type_kinds.rb#27 + # source://graphql//lib/graphql/type_kinds.rb#27 def wraps?; end end -# source://graphql/lib/graphql/type_kinds.rb#73 +# source://graphql//lib/graphql/type_kinds.rb#73 GraphQL::TypeKinds::UNION = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql/lib/graphql/types.rb#4 +# source://graphql//lib/graphql/types.rb#4 module GraphQL::Types extend ::GraphQL::Autoload end -# source://graphql/lib/graphql/types/big_int.rb#5 +# source://graphql//lib/graphql/types/big_int.rb#5 class GraphQL::Types::BigInt < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/big_int.rb#8 + # source://graphql//lib/graphql/types/big_int.rb#8 def coerce_input(value, _ctx); end - # source://graphql/lib/graphql/types/big_int.rb#14 + # source://graphql//lib/graphql/types/big_int.rb#14 def coerce_result(value, _ctx); end - # source://graphql/lib/graphql/types/big_int.rb#18 + # source://graphql//lib/graphql/types/big_int.rb#18 def parse_int(value); end end end -# source://graphql/lib/graphql/types/boolean.rb#4 +# source://graphql//lib/graphql/types/boolean.rb#4 class GraphQL::Types::Boolean < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/boolean.rb#7 + # source://graphql//lib/graphql/types/boolean.rb#7 def coerce_input(value, _ctx); end - # source://graphql/lib/graphql/types/boolean.rb#11 + # source://graphql//lib/graphql/types/boolean.rb#11 def coerce_result(value, _ctx); end end end -# source://graphql/lib/graphql/types/float.rb#5 +# source://graphql//lib/graphql/types/float.rb#5 class GraphQL::Types::Float < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/float.rb#8 + # source://graphql//lib/graphql/types/float.rb#8 def coerce_input(value, _ctx); end - # source://graphql/lib/graphql/types/float.rb#12 + # source://graphql//lib/graphql/types/float.rb#12 def coerce_result(value, _ctx); end end end -# source://graphql/lib/graphql/types/id.rb#4 +# source://graphql//lib/graphql/types/id.rb#4 class GraphQL::Types::ID < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/id.rb#12 + # source://graphql//lib/graphql/types/id.rb#12 def coerce_input(value, _ctx); end - # source://graphql/lib/graphql/types/id.rb#8 + # source://graphql//lib/graphql/types/id.rb#8 def coerce_result(value, _ctx); end end end @@ -18532,19 +18582,19 @@ end # Alternatively, use this built-in scalar as inspiration for your # own Date type. # -# source://graphql/lib/graphql/types/iso_8601_date.rb#15 +# source://graphql//lib/graphql/types/iso_8601_date.rb#15 class GraphQL::Types::ISO8601Date < ::GraphQL::Schema::Scalar class << self # @param str_value [String, Date, DateTime, Time] # @return [Date, nil] # - # source://graphql/lib/graphql/types/iso_8601_date.rb#27 + # source://graphql//lib/graphql/types/iso_8601_date.rb#27 def coerce_input(value, ctx); end # @param value [Date, Time, DateTime, String] # @return [String] # - # source://graphql/lib/graphql/types/iso_8601_date.rb#21 + # source://graphql//lib/graphql/types/iso_8601_date.rb#21 def coerce_result(value, _ctx); end end end @@ -18561,29 +18611,29 @@ end # Alternatively, use this built-in scalar as inspiration for your # own DateTime type. # -# source://graphql/lib/graphql/types/iso_8601_date_time.rb#18 +# source://graphql//lib/graphql/types/iso_8601_date_time.rb#18 class GraphQL::Types::ISO8601DateTime < ::GraphQL::Schema::Scalar class << self # @param str_value [String] # @return [Time] # - # source://graphql/lib/graphql/types/iso_8601_date_time.rb#54 + # source://graphql//lib/graphql/types/iso_8601_date_time.rb#54 def coerce_input(str_value, _ctx); end # @param value [Time, Date, DateTime, String] # @return [String] # - # source://graphql/lib/graphql/types/iso_8601_date_time.rb#38 + # source://graphql//lib/graphql/types/iso_8601_date_time.rb#38 def coerce_result(value, _ctx); end # @return [Integer] # - # source://graphql/lib/graphql/types/iso_8601_date_time.rb#27 + # source://graphql//lib/graphql/types/iso_8601_date_time.rb#27 def time_precision; end # @param value [Integer] # - # source://graphql/lib/graphql/types/iso_8601_date_time.rb#32 + # source://graphql//lib/graphql/types/iso_8601_date_time.rb#32 def time_precision=(value); end end end @@ -18591,7 +18641,7 @@ end # It's not compatible with Rails' default, # i.e. ActiveSupport::JSON::Encoder.time_precision (3 by default) # -# source://graphql/lib/graphql/types/iso_8601_date_time.rb#24 +# source://graphql//lib/graphql/types/iso_8601_date_time.rb#24 GraphQL::Types::ISO8601DateTime::DEFAULT_TIME_PRECISION = T.let(T.unsafe(nil), Integer) # This scalar takes `Duration`s and transmits them as strings, @@ -18607,7 +18657,7 @@ GraphQL::Types::ISO8601DateTime::DEFAULT_TIME_PRECISION = T.let(T.unsafe(nil), I # Alternatively, use this built-in scalar as inspiration for your # own Duration type. # -# source://graphql/lib/graphql/types/iso_8601_duration.rb#16 +# source://graphql//lib/graphql/types/iso_8601_duration.rb#16 class GraphQL::Types::ISO8601Duration < ::GraphQL::Schema::Scalar class << self # @param value [String, ActiveSupport::Duration] @@ -18615,45 +18665,45 @@ class GraphQL::Types::ISO8601Duration < ::GraphQL::Schema::Scalar # @raise [GraphQL::DurationEncodingError] if duration cannot be parsed # @return [ActiveSupport::Duration, nil] # - # source://graphql/lib/graphql/types/iso_8601_duration.rb#57 + # source://graphql//lib/graphql/types/iso_8601_duration.rb#57 def coerce_input(value, ctx); end # @param value [ActiveSupport::Duration, String] # @raise [GraphQL::Error] if ActiveSupport::Duration is not defined or if an incompatible object is passed # @return [String] # - # source://graphql/lib/graphql/types/iso_8601_duration.rb#33 + # source://graphql//lib/graphql/types/iso_8601_duration.rb#33 def coerce_result(value, _ctx); end # @return [Integer, nil] # - # source://graphql/lib/graphql/types/iso_8601_duration.rb#20 + # source://graphql//lib/graphql/types/iso_8601_duration.rb#20 def seconds_precision; end # @param value [Integer, nil] # - # source://graphql/lib/graphql/types/iso_8601_duration.rb#26 + # source://graphql//lib/graphql/types/iso_8601_duration.rb#26 def seconds_precision=(value); end end end # @see {Types::BigInt} for handling integers outside 32-bit range. # -# source://graphql/lib/graphql/types/int.rb#6 +# source://graphql//lib/graphql/types/int.rb#6 class GraphQL::Types::Int < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/int.rb#12 + # source://graphql//lib/graphql/types/int.rb#12 def coerce_input(value, ctx); end - # source://graphql/lib/graphql/types/int.rb#23 + # source://graphql//lib/graphql/types/int.rb#23 def coerce_result(value, ctx); end end end -# source://graphql/lib/graphql/types/int.rb#10 +# source://graphql//lib/graphql/types/int.rb#10 GraphQL::Types::Int::MAX = T.let(T.unsafe(nil), Integer) -# source://graphql/lib/graphql/types/int.rb#9 +# source://graphql//lib/graphql/types/int.rb#9 GraphQL::Types::Int::MIN = T.let(T.unsafe(nil), Integer) # An untyped JSON scalar that maps to Ruby hashes, arrays, strings, integers, floats, booleans and nils. @@ -18665,13 +18715,13 @@ GraphQL::Types::Int::MIN = T.let(T.unsafe(nil), Integer) # # argument :template_parameters, GraphQL::Types::JSON, null: false # -# source://graphql/lib/graphql/types/json.rb#13 +# source://graphql//lib/graphql/types/json.rb#13 class GraphQL::Types::JSON < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/json.rb#16 + # source://graphql//lib/graphql/types/json.rb#16 def coerce_input(value, _context); end - # source://graphql/lib/graphql/types/json.rb#20 + # source://graphql//lib/graphql/types/json.rb#20 def coerce_result(value, _context); end end end @@ -18693,7 +18743,7 @@ end # Similarly, `BaseField`'s extensions could be migrated to your app # and `Node` could be implemented to mix in your base interface module. # -# source://graphql/lib/graphql/types/relay/connection_behaviors.rb#5 +# source://graphql//lib/graphql/types/relay/connection_behaviors.rb#5 module GraphQL::Types::Relay; end # Use this to implement Relay connections, or take it as inspiration @@ -18734,7 +18784,7 @@ module GraphQL::Types::Relay; end # end # @see Relay::BaseEdge for edge types # -# source://graphql/lib/graphql/types/relay/base_connection.rb#44 +# source://graphql//lib/graphql/types/relay/base_connection.rb#44 class GraphQL::Types::Relay::BaseConnection < ::GraphQL::Schema::Object include ::GraphQL::Types::Relay::ConnectionBehaviors extend ::GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces @@ -18760,84 +18810,84 @@ end # end # @see {Relay::BaseConnection} for connection types # -# source://graphql/lib/graphql/types/relay/base_edge.rb#24 +# source://graphql//lib/graphql/types/relay/base_edge.rb#24 class GraphQL::Types::Relay::BaseEdge < ::GraphQL::Schema::Object include ::GraphQL::Types::Relay::EdgeBehaviors extend ::GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces extend ::GraphQL::Types::Relay::EdgeBehaviors::ClassMethods end -# source://graphql/lib/graphql/types/relay/page_info_behaviors.rb#23 +# source://graphql//lib/graphql/types/relay/page_info_behaviors.rb#23 module GraphQL::Types::Relay::ClassMethods # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/page_info_behaviors.rb#28 + # source://graphql//lib/graphql/types/relay/page_info_behaviors.rb#28 def default_broadcastable?; end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/page_info_behaviors.rb#24 + # source://graphql//lib/graphql/types/relay/page_info_behaviors.rb#24 def default_relay?; end end -# source://graphql/lib/graphql/types/relay/connection_behaviors.rb#6 +# source://graphql//lib/graphql/types/relay/connection_behaviors.rb#6 module GraphQL::Types::Relay::ConnectionBehaviors extend ::Forwardable mixes_in_class_methods ::GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 def cursor_from_node(*args, **_arg1, &block); end - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#196 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#196 def edges; end - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#205 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#205 def nodes; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 def parent(*args, **_arg1, &block); end class << self - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#191 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#191 def add_page_info_field(obj_type); end # @private # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#10 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#10 def included(child_class); end end end -# source://graphql/lib/graphql/types/relay/connection_behaviors.rb#25 +# source://graphql//lib/graphql/types/relay/connection_behaviors.rb#25 module GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#118 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#118 def authorized?(obj, ctx); end - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#46 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#46 def default_broadcastable(new_value); end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#42 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#42 def default_broadcastable?; end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#38 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#38 def default_relay?; end # @return [Class] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#54 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#54 def edge_class; end # Set the default `edge_nullable` for this class and its child classes. (Defaults to `true`.) # Use `edge_nullable(false)` in your base class to make non-null `edge` fields. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#149 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#149 def edge_nullable(new_value = T.unsafe(nil)); end # Configure this connection to return `edges` and `nodes` based on `edge_type_class`. @@ -18853,53 +18903,53 @@ module GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods # # @param field_options [Hash] Any extra keyword arguments to pass to the `field :edges, ...` and `field :nodes, ...` configurations # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#67 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#67 def edge_type(edge_type_class, edge_class: T.unsafe(nil), node_type: T.unsafe(nil), nodes_field: T.unsafe(nil), node_nullable: T.unsafe(nil), edges_nullable: T.unsafe(nil), edge_nullable: T.unsafe(nil), field_options: T.unsafe(nil)); end # Set the default `edges_nullable` for this class and its child classes. (Defaults to `true`.) # Use `edges_nullable(false)` in your base class to make non-null `edges` fields. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#139 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#139 def edges_nullable(new_value = T.unsafe(nil)); end # Set the default `nodes_field` for this class and its child classes. (Defaults to `true`.) # Use `nodes_field(false)` in your base class to prevent adding of a nodes field. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#159 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#159 def has_nodes_field(new_value = T.unsafe(nil)); end - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#26 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#26 def inherited(child_class); end # Set the default `node_nullable` for this class and its child classes. (Defaults to `true`.) # Use `node_nullable(false)` in your base class to make non-null `node` and `nodes` fields. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#129 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#129 def node_nullable(new_value = T.unsafe(nil)); end # @return [Class] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#51 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#51 def node_type; end # Add the shortcut `nodes` field to this connection and its subclasses # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#114 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#114 def nodes_field(node_nullable: T.unsafe(nil), field_options: T.unsafe(nil)); end # The connection will skip auth on its nodes if the node_type is configured for that # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#101 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#101 def reauthorize_scoped_objects(new_value = T.unsafe(nil)); end # Filter this list according to the way its node type would scope them # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#96 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#96 def scope_items(items, context); end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#122 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#122 def visible?(ctx); end protected @@ -18908,71 +18958,71 @@ module GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods # # @param value the value to set the attribute edge_class to. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#169 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#169 def edge_class=(_arg0); end # Sets the attribute edge_type # # @param value the value to set the attribute edge_type to. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#169 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#169 def edge_type=(_arg0); end # Sets the attribute node_type # # @param value the value to set the attribute node_type to. # - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#169 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#169 def node_type=(_arg0); end private - # source://graphql/lib/graphql/types/relay/connection_behaviors.rb#173 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#173 def define_nodes_field(nullable, field_options: T.unsafe(nil)); end end -# source://graphql/lib/graphql/types/relay/edge_behaviors.rb#6 +# source://graphql//lib/graphql/types/relay/edge_behaviors.rb#6 module GraphQL::Types::Relay::EdgeBehaviors mixes_in_class_methods ::GraphQL::Types::Relay::EdgeBehaviors::ClassMethods - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#16 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#16 def node; end class << self # @private # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#7 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#7 def included(child_class); end end end -# source://graphql/lib/graphql/types/relay/edge_behaviors.rb#23 +# source://graphql//lib/graphql/types/relay/edge_behaviors.rb#23 module GraphQL::Types::Relay::EdgeBehaviors::ClassMethods # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#67 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#67 def authorized?(obj, ctx); end - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#39 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#39 def default_broadcastable(new_value); end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#35 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#35 def default_broadcastable?; end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#31 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#31 def default_relay?; end - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#24 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#24 def inherited(child_class); end # Set the default `node_nullable` for this class and its child classes. (Defaults to `true`.) # Use `node_nullable(false)` in your base class to make non-null `node` field. # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#77 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#77 def node_nullable(new_value = T.unsafe(nil)); end # Get or set the Object type that this edge wraps. @@ -18981,12 +19031,12 @@ module GraphQL::Types::Relay::EdgeBehaviors::ClassMethods # @param null [Boolean] # @param field_options [Hash] Any extra arguments to pass to the `field :node` configuration # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#48 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#48 def node_type(node_type = T.unsafe(nil), null: T.unsafe(nil), field_options: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#71 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#71 def visible?(ctx); end protected @@ -18995,49 +19045,49 @@ module GraphQL::Types::Relay::EdgeBehaviors::ClassMethods # # @param value the value to set the attribute node_nullable to. # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#87 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#87 def node_nullable=(_arg0); end # Sets the attribute node_type # # @param value the value to set the attribute node_type to. # - # source://graphql/lib/graphql/types/relay/edge_behaviors.rb#87 + # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#87 def node_type=(_arg0); end end # Include this module to your root Query type to get a Relay-compliant `node(id: ID!): Node` field that uses the schema's `object_from_id` hook. # -# source://graphql/lib/graphql/types/relay/has_node_field.rb#7 +# source://graphql//lib/graphql/types/relay/has_node_field.rb#7 module GraphQL::Types::Relay::HasNodeField class << self - # source://graphql/lib/graphql/types/relay/has_node_field.rb#23 + # source://graphql//lib/graphql/types/relay/has_node_field.rb#23 def field_block; end - # source://graphql/lib/graphql/types/relay/has_node_field.rb#13 + # source://graphql//lib/graphql/types/relay/has_node_field.rb#13 def field_options; end # @private # - # source://graphql/lib/graphql/types/relay/has_node_field.rb#8 + # source://graphql//lib/graphql/types/relay/has_node_field.rb#8 def included(child_class); end end end # Include this module to your root Query type to get a Relay-style `nodes(id: ID!): [Node]` field that uses the schema's `object_from_id` hook. # -# source://graphql/lib/graphql/types/relay/has_nodes_field.rb#7 +# source://graphql//lib/graphql/types/relay/has_nodes_field.rb#7 module GraphQL::Types::Relay::HasNodesField class << self - # source://graphql/lib/graphql/types/relay/has_nodes_field.rb#23 + # source://graphql//lib/graphql/types/relay/has_nodes_field.rb#23 def field_block; end - # source://graphql/lib/graphql/types/relay/has_nodes_field.rb#13 + # source://graphql//lib/graphql/types/relay/has_nodes_field.rb#13 def field_options; end # @private # - # source://graphql/lib/graphql/types/relay/has_nodes_field.rb#8 + # source://graphql//lib/graphql/types/relay/has_nodes_field.rb#8 def included(child_class); end end end @@ -19046,7 +19096,7 @@ end # or you can take it as inspiration for your own implementation # of the `Node` interface. # -# source://graphql/lib/graphql/types/relay/node.rb#9 +# source://graphql//lib/graphql/types/relay/node.rb#9 module GraphQL::Types::Relay::Node include ::GraphQL::Schema::Member::GraphQLTypeNames include ::GraphQL::Schema::Interface @@ -19068,79 +19118,79 @@ module GraphQL::Types::Relay::Node extend ::GraphQL::Types::Relay::NodeBehaviors::ClassMethods end -# source://graphql/lib/graphql/types/relay/node.rb#0 +# source://graphql//lib/graphql/types/relay/node.rb#10 class GraphQL::Types::Relay::Node::UnresolvedTypeError < ::GraphQL::UnresolvedTypeError; end -# source://graphql/lib/graphql/types/relay/node_behaviors.rb#6 +# source://graphql//lib/graphql/types/relay/node_behaviors.rb#6 module GraphQL::Types::Relay::NodeBehaviors mixes_in_class_methods ::GraphQL::Types::Relay::NodeBehaviors::ClassMethods - # source://graphql/lib/graphql/types/relay/node_behaviors.rb#13 + # source://graphql//lib/graphql/types/relay/node_behaviors.rb#13 def default_global_id; end class << self # @private # - # source://graphql/lib/graphql/types/relay/node_behaviors.rb#7 + # source://graphql//lib/graphql/types/relay/node_behaviors.rb#7 def included(child_module); end end end -# source://graphql/lib/graphql/types/relay/node_behaviors.rb#17 +# source://graphql//lib/graphql/types/relay/node_behaviors.rb#17 module GraphQL::Types::Relay::NodeBehaviors::ClassMethods # @return [Boolean] # - # source://graphql/lib/graphql/types/relay/node_behaviors.rb#18 + # source://graphql//lib/graphql/types/relay/node_behaviors.rb#18 def default_relay?; end end # The return type of a connection's `pageInfo` field # -# source://graphql/lib/graphql/types/relay/page_info.rb#6 +# source://graphql//lib/graphql/types/relay/page_info.rb#6 class GraphQL::Types::Relay::PageInfo < ::GraphQL::Schema::Object include ::GraphQL::Types::Relay::PageInfoBehaviors extend ::GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces extend ::GraphQL::Types::Relay::ClassMethods end -# source://graphql/lib/graphql/types/relay/page_info_behaviors.rb#5 +# source://graphql//lib/graphql/types/relay/page_info_behaviors.rb#5 module GraphQL::Types::Relay::PageInfoBehaviors mixes_in_class_methods ::GraphQL::Types::Relay::ClassMethods class << self # @private # - # source://graphql/lib/graphql/types/relay/page_info_behaviors.rb#6 + # source://graphql//lib/graphql/types/relay/page_info_behaviors.rb#6 def included(child_class); end end end -# source://graphql/lib/graphql/types/string.rb#5 +# source://graphql//lib/graphql/types/string.rb#5 class GraphQL::Types::String < ::GraphQL::Schema::Scalar class << self - # source://graphql/lib/graphql/types/string.rb#22 + # source://graphql//lib/graphql/types/string.rb#22 def coerce_input(value, _ctx); end - # source://graphql/lib/graphql/types/string.rb#8 + # source://graphql//lib/graphql/types/string.rb#8 def coerce_result(value, ctx); end end end -# source://graphql/lib/graphql/unauthorized_enum_value_error.rb#3 +# source://graphql//lib/graphql/unauthorized_enum_value_error.rb#3 class GraphQL::UnauthorizedEnumValueError < ::GraphQL::UnauthorizedError # @return [UnauthorizedEnumValueError] a new instance of UnauthorizedEnumValueError # - # source://graphql/lib/graphql/unauthorized_enum_value_error.rb#7 + # source://graphql//lib/graphql/unauthorized_enum_value_error.rb#7 def initialize(type:, context:, enum_value:); end # @return [GraphQL::Schema::EnumValue] The value whose `#authorized?` check returned false # - # source://graphql/lib/graphql/unauthorized_enum_value_error.rb#5 + # source://graphql//lib/graphql/unauthorized_enum_value_error.rb#5 def enum_value; end # @return [GraphQL::Schema::EnumValue] The value whose `#authorized?` check returned false # - # source://graphql/lib/graphql/unauthorized_enum_value_error.rb#5 + # source://graphql//lib/graphql/unauthorized_enum_value_error.rb#5 def enum_value=(_arg0); end end @@ -19149,87 +19199,87 @@ end # # Alternatively, custom code in `authorized?` may raise this error. It will be routed the same way. # -# source://graphql/lib/graphql/unauthorized_error.rb#7 +# source://graphql//lib/graphql/unauthorized_error.rb#7 class GraphQL::UnauthorizedError < ::GraphQL::Error # @return [UnauthorizedError] a new instance of UnauthorizedError # - # source://graphql/lib/graphql/unauthorized_error.rb#17 + # source://graphql//lib/graphql/unauthorized_error.rb#17 def initialize(message = T.unsafe(nil), object: T.unsafe(nil), type: T.unsafe(nil), context: T.unsafe(nil)); end # @return [GraphQL::Query::Context] the context for the current query # - # source://graphql/lib/graphql/unauthorized_error.rb#15 + # source://graphql//lib/graphql/unauthorized_error.rb#15 def context; end # @return [GraphQL::Query::Context] the context for the current query # - # source://graphql/lib/graphql/unauthorized_error.rb#15 + # source://graphql//lib/graphql/unauthorized_error.rb#15 def context=(_arg0); end # @return [Object] the application object that failed the authorization check # - # source://graphql/lib/graphql/unauthorized_error.rb#9 + # source://graphql//lib/graphql/unauthorized_error.rb#9 def object; end # @return [Class] the GraphQL object type whose `.authorized?` method was called (and returned false) # - # source://graphql/lib/graphql/unauthorized_error.rb#12 + # source://graphql//lib/graphql/unauthorized_error.rb#12 def type; end end -# source://graphql/lib/graphql/unauthorized_field_error.rb#3 +# source://graphql//lib/graphql/unauthorized_field_error.rb#3 class GraphQL::UnauthorizedFieldError < ::GraphQL::UnauthorizedError # @return [UnauthorizedFieldError] a new instance of UnauthorizedFieldError # - # source://graphql/lib/graphql/unauthorized_field_error.rb#7 + # source://graphql//lib/graphql/unauthorized_field_error.rb#7 def initialize(message = T.unsafe(nil), object: T.unsafe(nil), type: T.unsafe(nil), context: T.unsafe(nil), field: T.unsafe(nil)); end # @return [Field] the field that failed the authorization check # - # source://graphql/lib/graphql/unauthorized_field_error.rb#5 + # source://graphql//lib/graphql/unauthorized_field_error.rb#5 def field; end # @return [Field] the field that failed the authorization check # - # source://graphql/lib/graphql/unauthorized_field_error.rb#5 + # source://graphql//lib/graphql/unauthorized_field_error.rb#5 def field=(_arg0); end end # Error raised when the value provided for a field # can't be resolved to one of the possible types for the field. # -# source://graphql/lib/graphql/unresolved_type_error.rb#5 +# source://graphql//lib/graphql/unresolved_type_error.rb#5 class GraphQL::UnresolvedTypeError < ::GraphQL::RuntimeTypeError # @return [UnresolvedTypeError] a new instance of UnresolvedTypeError # - # source://graphql/lib/graphql/unresolved_type_error.rb#21 + # source://graphql//lib/graphql/unresolved_type_error.rb#21 def initialize(value, field, parent_type, resolved_type, possible_types); end # @return [GraphQL::Field] The field whose value couldn't be resolved (`field.type` is type which couldn't be resolved) # - # source://graphql/lib/graphql/unresolved_type_error.rb#10 + # source://graphql//lib/graphql/unresolved_type_error.rb#10 def field; end # @return [GraphQL::BaseType] The owner of `field` # - # source://graphql/lib/graphql/unresolved_type_error.rb#13 + # source://graphql//lib/graphql/unresolved_type_error.rb#13 def parent_type; end # @return [Array] The allowed options for resolving `value` to `field.type` # - # source://graphql/lib/graphql/unresolved_type_error.rb#19 + # source://graphql//lib/graphql/unresolved_type_error.rb#19 def possible_types; end # @return [Object] The return of {Schema#resolve_type} for `value` # - # source://graphql/lib/graphql/unresolved_type_error.rb#16 + # source://graphql//lib/graphql/unresolved_type_error.rb#16 def resolved_type; end # @return [Object] The runtime value which couldn't be successfully resolved with `resolve_type` # - # source://graphql/lib/graphql/unresolved_type_error.rb#7 + # source://graphql//lib/graphql/unresolved_type_error.rb#7 def value; end end -# source://graphql/lib/graphql/version.rb#3 +# source://graphql//lib/graphql/version.rb#3 GraphQL::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/i18n@1.14.6.rbi b/sorbet/rbi/gems/i18n@1.14.6.rbi index a63ec7e4e..faf9d0f7b 100644 --- a/sorbet/rbi/gems/i18n@1.14.6.rbi +++ b/sorbet/rbi/gems/i18n@1.14.6.rbi @@ -13,8 +13,47 @@ class GetText::PoParser < ::Racc::Parser # source://i18n//lib/i18n/gettext/po_parser.rb#19 def _(x); end + # source://i18n//lib/i18n/gettext/po_parser.rb#282 + def _reduce_10(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#295 + def _reduce_12(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#302 + def _reduce_13(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#309 + def _reduce_14(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#316 + def _reduce_15(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#235 + def _reduce_5(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#246 + def _reduce_8(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#264 + def _reduce_9(val, _values, result); end + # source://i18n//lib/i18n/gettext/po_parser.rb#323 def _reduce_none(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 + def next_token; end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 + def on_comment(comment); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 + def on_message(msgid, msgstr); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 + def parse(str, data, ignore_fuzzy = T.unsafe(nil)); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 + def unescape(orig); end end # source://i18n//lib/i18n/gettext/po_parser.rb#184 @@ -215,7 +254,7 @@ module I18n::Backend::Base # Loads a YAML translations file. The data must have locales as # toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#261 + # source://i18n//lib/i18n/backend/base.rb#272 def load_yaml(filename); end # Loads a YAML translations file. The data must have locales as @@ -261,7 +300,7 @@ module I18n::Backend::Base # given options. If it is a Proc then it will be evaluated. All other # subjects will be returned directly. # - # source://i18n//lib/i18n/backend/base.rb#150 + # source://i18n//lib/i18n/backend/base.rb#172 def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end # @return [Boolean] @@ -796,7 +835,7 @@ class I18n::Backend::KeyValue::SubtreeProxy # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#183 + # source://i18n//lib/i18n/backend/key_value.rb#186 def kind_of?(klass); end # @return [Boolean] @@ -1180,10 +1219,10 @@ end # source://i18n//lib/i18n.rb#55 module I18n::Base - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def available_locales; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def available_locales=(value); end # @return [Boolean] @@ -1191,10 +1230,10 @@ module I18n::Base # source://i18n//lib/i18n.rb#386 def available_locales_initialized?; end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def backend; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def backend=(value); end # Gets I18n configuration object. @@ -1207,16 +1246,16 @@ module I18n::Base # source://i18n//lib/i18n.rb#62 def config=(value); end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def default_locale; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def default_locale=(value); end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def default_separator; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def default_separator=(value); end # Tells the backend to load translations now. Used in situations like the @@ -1226,7 +1265,7 @@ module I18n::Base # source://i18n//lib/i18n.rb#91 def eager_load!; end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def enforce_available_locales; end # Raises an InvalidLocale exception when the passed locale is not available. @@ -1234,13 +1273,13 @@ module I18n::Base # source://i18n//lib/i18n.rb#380 def enforce_available_locales!(locale); end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def enforce_available_locales=(value); end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def exception_handler; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def exception_handler=(value); end # Returns true if a translation exists for a given key, otherwise returns false. @@ -1280,19 +1319,19 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#335 + # source://i18n//lib/i18n.rb#343 def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def load_path; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def load_path=(value); end - # source://i18n//lib/i18n.rb#70 + # source://i18n//lib/i18n.rb#69 def locale; end - # source://i18n//lib/i18n.rb#74 + # source://i18n//lib/i18n.rb#69 def locale=(value); end # Returns true when the passed locale, which can be either a String or a @@ -1442,13 +1481,13 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#211 + # source://i18n//lib/i18n.rb#226 def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end # Wrapper for translate that adds :raise => true. With # this option, if no translation is found, it will raise I18n::MissingTranslationData # - # source://i18n//lib/i18n.rb#230 + # source://i18n//lib/i18n.rb#233 def t!(key, **options); end # Translates, pluralizes and interpolates a given key using a given locale, @@ -1874,13 +1913,13 @@ module I18n::Gettext::Helpers # source://i18n//lib/i18n/gettext/helpers.rb#17 def N_(msgsid); end - # source://i18n//lib/i18n/gettext/helpers.rb#21 + # source://i18n//lib/i18n/gettext/helpers.rb#24 def _(msgid, options = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#21 def gettext(msgid, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#38 + # source://i18n//lib/i18n/gettext/helpers.rb#41 def n_(msgid, msgid_plural, n = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#38 @@ -1890,7 +1929,7 @@ module I18n::Gettext::Helpers # npgettext('Fruits', 'apple', 'apples', 2) # npgettext('Fruits', ['apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#61 + # source://i18n//lib/i18n/gettext/helpers.rb#72 def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end # Method signatures: @@ -1904,7 +1943,7 @@ module I18n::Gettext::Helpers # nsgettext('Fruits|apple', 'apples', 2) # nsgettext(['Fruits|apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#46 + # source://i18n//lib/i18n/gettext/helpers.rb#56 def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end # Method signatures: @@ -1914,13 +1953,13 @@ module I18n::Gettext::Helpers # source://i18n//lib/i18n/gettext/helpers.rb#46 def nsgettext(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#32 + # source://i18n//lib/i18n/gettext/helpers.rb#36 def p_(msgctxt, msgid); end # source://i18n//lib/i18n/gettext/helpers.rb#32 def pgettext(msgctxt, msgid); end - # source://i18n//lib/i18n/gettext/helpers.rb#26 + # source://i18n//lib/i18n/gettext/helpers.rb#30 def s_(msgid, separator = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#26 @@ -2231,7 +2270,7 @@ module I18n::MissingTranslation::Base # source://i18n//lib/i18n/exceptions.rb#80 def to_exception; end - # source://i18n//lib/i18n/exceptions.rb#65 + # source://i18n//lib/i18n/exceptions.rb#78 def to_s; end end diff --git a/sorbet/rbi/gems/identity_cache@1.6.3.rbi b/sorbet/rbi/gems/identity_cache@1.6.3.rbi index 2a5ab155a..5884f4aad 100644 --- a/sorbet/rbi/gems/identity_cache@1.6.3.rbi +++ b/sorbet/rbi/gems/identity_cache@1.6.3.rbi @@ -406,7 +406,7 @@ IdentityCache::CacheFetcher::FillLock::FILL_LOCKED = T.let(T.unsafe(nil), Symbol # source://identity_cache//lib/identity_cache/cache_hash.rb#23 module IdentityCache::CacheHash - # source://identity_cache//lib/identity_cache/cache_hash.rb#26 + # source://identity_cache//lib/identity_cache/cache_hash.rb#31 def memcache_hash(key); end end @@ -608,7 +608,7 @@ class IdentityCache::Cached::Attribute # source://identity_cache//lib/identity_cache/cached/attribute.rb#21 def attribute; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#115 + # source://identity_cache//lib/identity_cache/cached/attribute.rb#118 def cache_decode(db_value); end # source://identity_cache//lib/identity_cache/cached/attribute.rb#115 @@ -700,7 +700,7 @@ class IdentityCache::Cached::AttributeByMulti < ::IdentityCache::Cached::Attribu # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#6 def build; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#66 + # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#53 def cache_key_from_key_values(index_key); end private diff --git a/sorbet/rbi/gems/json@2.9.1.rbi b/sorbet/rbi/gems/json@2.9.1.rbi index bb0058d17..0899d52dc 100644 --- a/sorbet/rbi/gems/json@2.9.1.rbi +++ b/sorbet/rbi/gems/json@2.9.1.rbi @@ -7,7 +7,7 @@ # Extends any Class to include _json_creatable?_ method. # -# source://json/lib/json/common.rb#888 +# source://json//lib/json/common.rb#888 class Class < ::Module # Returns true if this class can be used to create an instance # from a serialised JSON string. The class has to implement a class @@ -16,7 +16,7 @@ class Class < ::Module # # @return [Boolean] # - # source://json/lib/json/common.rb#893 + # source://json//lib/json/common.rb#893 def json_creatable?; end end @@ -599,7 +599,7 @@ end # Without custom addition: "#" (String) # With custom addition: # (Foo) # -# source://json/lib/json/version.rb#3 +# source://json//lib/json/version.rb#3 module JSON private @@ -631,7 +631,7 @@ module JSON # Output: # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"} # - # source://json/lib/json/common.rb#795 + # source://json//lib/json/common.rb#795 def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end # :call-seq: @@ -648,13 +648,13 @@ module JSON # # Raises SystemStackError (stack level too deep): # JSON.fast_generate(a) # - # source://json/lib/json/common.rb#329 + # source://json//lib/json/common.rb#329 def fast_generate(obj, opts = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json/lib/json/common.rb#329 + # source://json//lib/json/common.rb#340 def fast_unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -693,7 +693,7 @@ module JSON # # Raises JSON::NestingError (nesting of 100 is too deep): # JSON.generate(a) # - # source://json/lib/json/common.rb#301 + # source://json//lib/json/common.rb#301 def generate(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -831,7 +831,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json/lib/json/common.rb#714 + # source://json//lib/json/common.rb#714 def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # :call-seq: @@ -842,7 +842,7 @@ module JSON # # See method #parse. # - # source://json/lib/json/common.rb#250 + # source://json//lib/json/common.rb#250 def load_file(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -853,10 +853,10 @@ module JSON # # See method #parse! # - # source://json/lib/json/common.rb#261 + # source://json//lib/json/common.rb#261 def load_file!(filespec, opts = T.unsafe(nil)); end - # source://json/lib/json/common.rb#836 + # source://json//lib/json/common.rb#836 def merge_dump_options(opts, strict: T.unsafe(nil)); end # :call-seq: @@ -907,7 +907,7 @@ module JSON # # Raises JSON::ParserError (783: unexpected token at ''): # JSON.parse('') # - # source://json/lib/json/common.rb#220 + # source://json//lib/json/common.rb#220 def parse(source, opts = T.unsafe(nil)); end # :call-seq: @@ -922,7 +922,7 @@ module JSON # which disables checking for nesting depth. # - Option +allow_nan+, if not provided, defaults to +true+. # - # source://json/lib/json/common.rb#235 + # source://json//lib/json/common.rb#235 def parse!(source, opts = T.unsafe(nil)); end # :call-seq: @@ -955,28 +955,28 @@ module JSON # } # } # - # source://json/lib/json/common.rb#374 + # source://json//lib/json/common.rb#374 def pretty_generate(obj, opts = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json/lib/json/common.rb#374 + # source://json//lib/json/common.rb#395 def pretty_unparse(obj, opts = T.unsafe(nil)); end # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_ # - # source://json/lib/json/common.rb#740 + # source://json//lib/json/common.rb#740 def recurse_proc(result, &proc); end - # source://json/lib/json/common.rb#714 + # source://json//lib/json/common.rb#753 def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and # later delete them. # - # source://json/lib/json/common.rb#301 + # source://json//lib/json/common.rb#312 def unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -1108,7 +1108,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json/lib/json/common.rb#554 + # source://json//lib/json/common.rb#554 def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end class << self @@ -1124,26 +1124,26 @@ module JSON # ruby = [0, 1, nil] # JSON[ruby] # => '[0,1,null]' # - # source://json/lib/json/common.rb#23 + # source://json//lib/json/common.rb#23 def [](object, opts = T.unsafe(nil)); end - # source://json/lib/json/common.rb#80 + # source://json//lib/json/common.rb#80 def create_fast_state; end # Returns the current create identifier. # See also JSON.create_id=. # - # source://json/lib/json/common.rb#115 + # source://json//lib/json/common.rb#115 def create_id; end # Sets create identifier, which is used to decide if the _json_create_ # hook of a class should be called; initial value is +json_class+: # JSON.create_id # => 'json_class' # - # source://json/lib/json/common.rb#109 + # source://json//lib/json/common.rb#109 def create_id=(new_value); end - # source://json/lib/json/common.rb#90 + # source://json//lib/json/common.rb#90 def create_pretty_state; end # Return the constant located at _path_. The format of _path_ has to be @@ -1151,7 +1151,7 @@ module JSON # level (absolute namespace path?). If there doesn't exist a constant at # the given path, an ArgumentError is raised. # - # source://json/lib/json/common.rb#50 + # source://json//lib/json/common.rb#50 def deep_const_get(path); end # :call-seq: @@ -1182,7 +1182,7 @@ module JSON # Output: # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"} # - # source://json/lib/json/common.rb#795 + # source://json//lib/json/common.rb#795 def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end # Sets or returns the default options for the JSON.dump method. @@ -1190,7 +1190,7 @@ module JSON # opts = JSON.dump_default_options # opts # => {:max_nesting=>false, :allow_nan=>true} # - # source://json/lib/json/common.rb#761 + # source://json//lib/json/common.rb#761 def dump_default_options; end # Sets or returns the default options for the JSON.dump method. @@ -1198,7 +1198,7 @@ module JSON # opts = JSON.dump_default_options # opts # => {:max_nesting=>false, :allow_nan=>true} # - # source://json/lib/json/common.rb#761 + # source://json//lib/json/common.rb#761 def dump_default_options=(_arg0); end # :call-seq: @@ -1215,13 +1215,13 @@ module JSON # # Raises SystemStackError (stack level too deep): # JSON.fast_generate(a) # - # source://json/lib/json/common.rb#329 + # source://json//lib/json/common.rb#329 def fast_generate(obj, opts = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json/lib/json/common.rb#329 + # source://json//lib/json/common.rb#341 def fast_unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -1260,22 +1260,22 @@ module JSON # # Raises JSON::NestingError (nesting of 100 is too deep): # JSON.generate(a) # - # source://json/lib/json/common.rb#301 + # source://json//lib/json/common.rb#301 def generate(obj, opts = T.unsafe(nil)); end # Returns the JSON generator module that is used by JSON. # - # source://json/lib/json/common.rb#100 + # source://json//lib/json/common.rb#100 def generator; end # Set the module _generator_ to be used by JSON. # - # source://json/lib/json/common.rb#57 + # source://json//lib/json/common.rb#57 def generator=(generator); end # Encodes string using String.encode. # - # source://json/lib/json/common.rb#832 + # source://json//lib/json/common.rb#832 def iconv(to, from, string); end # :call-seq: @@ -1413,7 +1413,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json/lib/json/common.rb#714 + # source://json//lib/json/common.rb#714 def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # Sets or returns default options for the JSON.load method. @@ -1421,7 +1421,7 @@ module JSON # opts = JSON.load_default_options # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true} # - # source://json/lib/json/common.rb#418 + # source://json//lib/json/common.rb#418 def load_default_options; end # Sets or returns default options for the JSON.load method. @@ -1429,7 +1429,7 @@ module JSON # opts = JSON.load_default_options # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true} # - # source://json/lib/json/common.rb#418 + # source://json//lib/json/common.rb#418 def load_default_options=(_arg0); end # :call-seq: @@ -1440,7 +1440,7 @@ module JSON # # See method #parse. # - # source://json/lib/json/common.rb#250 + # source://json//lib/json/common.rb#250 def load_file(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -1451,7 +1451,7 @@ module JSON # # See method #parse! # - # source://json/lib/json/common.rb#261 + # source://json//lib/json/common.rb#261 def load_file!(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -1502,7 +1502,7 @@ module JSON # # Raises JSON::ParserError (783: unexpected token at ''): # JSON.parse('') # - # source://json/lib/json/common.rb#220 + # source://json//lib/json/common.rb#220 def parse(source, opts = T.unsafe(nil)); end # :call-seq: @@ -1517,17 +1517,17 @@ module JSON # which disables checking for nesting depth. # - Option +allow_nan+, if not provided, defaults to +true+. # - # source://json/lib/json/common.rb#235 + # source://json//lib/json/common.rb#235 def parse!(source, opts = T.unsafe(nil)); end # Returns the JSON parser class that is used by JSON. # - # source://json/lib/json/common.rb#37 + # source://json//lib/json/common.rb#37 def parser; end # Set the JSON parser class _parser_ to be used by JSON. # - # source://json/lib/json/common.rb#40 + # source://json//lib/json/common.rb#40 def parser=(parser); end # :call-seq: @@ -1560,38 +1560,38 @@ module JSON # } # } # - # source://json/lib/json/common.rb#374 + # source://json//lib/json/common.rb#374 def pretty_generate(obj, opts = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json/lib/json/common.rb#374 + # source://json//lib/json/common.rb#396 def pretty_unparse(obj, opts = T.unsafe(nil)); end # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_ # - # source://json/lib/json/common.rb#740 + # source://json//lib/json/common.rb#740 def recurse_proc(result, &proc); end - # source://json/lib/json/common.rb#714 + # source://json//lib/json/common.rb#754 def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # Sets or Returns the JSON generator state class that is used by JSON. # - # source://json/lib/json/common.rb#103 + # source://json//lib/json/common.rb#103 def state; end # Sets or Returns the JSON generator state class that is used by JSON. # - # source://json/lib/json/common.rb#103 + # source://json//lib/json/common.rb#103 def state=(_arg0); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and # later delete them. # - # source://json/lib/json/common.rb#301 + # source://json//lib/json/common.rb#313 def unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -1723,7 +1723,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json/lib/json/common.rb#554 + # source://json//lib/json/common.rb#554 def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # Sets or returns default options for the JSON.unsafe_load method. @@ -1731,7 +1731,7 @@ module JSON # opts = JSON.load_default_options # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true} # - # source://json/lib/json/common.rb#404 + # source://json//lib/json/common.rb#404 def unsafe_load_default_options; end # Sets or returns default options for the JSON.unsafe_load method. @@ -1739,17 +1739,17 @@ module JSON # opts = JSON.load_default_options # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true} # - # source://json/lib/json/common.rb#404 + # source://json//lib/json/common.rb#404 def unsafe_load_default_options=(_arg0); end private - # source://json/lib/json/common.rb#836 + # source://json//lib/json/common.rb#836 def merge_dump_options(opts, strict: T.unsafe(nil)); end end end -# source://json/lib/json/ext/generator/state.rb#6 +# source://json//lib/json/ext/generator/state.rb#6 class JSON::Ext::Generator::State # call-seq: new(opts = {}) # @@ -1772,21 +1772,21 @@ class JSON::Ext::Generator::State # # @return [State] a new instance of State # - # source://json/lib/json/ext/generator/state.rb#25 + # source://json//lib/json/ext/generator/state.rb#25 def initialize(opts = T.unsafe(nil)); end # call-seq: [](name) # # Returns the value returned by method +name+. # - # source://json/lib/json/ext/generator/state.rb#94 + # source://json//lib/json/ext/generator/state.rb#94 def [](name); end # call-seq: []=(name, value) # # Sets the attribute name to value. # - # source://json/lib/json/ext/generator/state.rb#106 + # source://json//lib/json/ext/generator/state.rb#106 def []=(name, value); end # call-seq: configure(opts) @@ -1794,7 +1794,7 @@ class JSON::Ext::Generator::State # Configure this State instance with the Hash _opts_, and return # itself. # - # source://json/lib/json/ext/generator/state.rb#35 + # source://json//lib/json/ext/generator/state.rb#35 def configure(opts); end # call-seq: @@ -1805,7 +1805,7 @@ class JSON::Ext::Generator::State # result. If no valid JSON document can be created this method raises a # GeneratorError exception. # - # source://json/lib/json/ext/generator/state.rb#57 + # source://json//lib/json/ext/generator/state.rb#57 def generate(obj, io = T.unsafe(nil)); end # call-seq: configure(opts) @@ -1813,7 +1813,7 @@ class JSON::Ext::Generator::State # Configure this State instance with the Hash _opts_, and return # itself. # - # source://json/lib/json/ext/generator/state.rb#35 + # source://json//lib/json/ext/generator/state.rb#48 def merge(opts); end # call-seq: to_h @@ -1821,7 +1821,7 @@ class JSON::Ext::Generator::State # Returns the configuration instance variables as a hash, that can be # passed to the configure method. # - # source://json/lib/json/ext/generator/state.rb#65 + # source://json//lib/json/ext/generator/state.rb#65 def to_h; end # call-seq: to_h @@ -1829,94 +1829,97 @@ class JSON::Ext::Generator::State # Returns the configuration instance variables as a hash, that can be # passed to the configure method. # - # source://json/lib/json/ext/generator/state.rb#65 + # source://json//lib/json/ext/generator/state.rb#89 def to_hash; end end # This exception is raised if a generator or unparser error occurs. # -# source://json/lib/json/common.rb#146 +# source://json//lib/json/common.rb#146 class JSON::GeneratorError < ::JSON::JSONError # @return [GeneratorError] a new instance of GeneratorError # - # source://json/lib/json/common.rb#149 + # source://json//lib/json/common.rb#149 def initialize(message, invalid_object = T.unsafe(nil)); end - # source://json/lib/json/common.rb#154 + # source://json//lib/json/common.rb#154 def detailed_message(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute invalid_object. # - # source://json/lib/json/common.rb#147 + # source://json//lib/json/common.rb#147 def invalid_object; end end -# source://json/lib/json/generic_object.rb#9 +# source://json//lib/json/generic_object.rb#9 class JSON::GenericObject < ::OpenStruct - # source://json/lib/json/generic_object.rb#67 + # source://json//lib/json/generic_object.rb#67 def as_json(*_arg0); end - # source://json/lib/json/generic_object.rb#51 + # source://json//lib/json/generic_object.rb#51 def to_hash; end - # source://json/lib/json/generic_object.rb#71 + # source://json//lib/json/generic_object.rb#71 def to_json(*a); end - # source://json/lib/json/generic_object.rb#63 + # source://json//lib/json/generic_object.rb#63 def |(other); end class << self - # source://json/lib/json/generic_object.rb#45 + # source://json//lib/json/generic_object.rb#11 + def [](*_arg0); end + + # source://json//lib/json/generic_object.rb#45 def dump(obj, *args); end - # source://json/lib/json/generic_object.rb#25 + # source://json//lib/json/generic_object.rb#25 def from_hash(object); end # Sets the attribute json_creatable # # @param value the value to set the attribute json_creatable to. # - # source://json/lib/json/generic_object.rb#17 + # source://json//lib/json/generic_object.rb#17 def json_creatable=(_arg0); end # @return [Boolean] # - # source://json/lib/json/generic_object.rb#13 + # source://json//lib/json/generic_object.rb#13 def json_creatable?; end - # source://json/lib/json/generic_object.rb#19 + # source://json//lib/json/generic_object.rb#19 def json_create(data); end - # source://json/lib/json/generic_object.rb#40 + # source://json//lib/json/generic_object.rb#40 def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end end end # The base exception for JSON errors. # -# source://json/lib/json/common.rb#126 +# source://json//lib/json/common.rb#126 class JSON::JSONError < ::StandardError class << self - # source://json/lib/json/common.rb#127 + # source://json//lib/json/common.rb#127 def wrap(exception); end end end -# source://json/lib/json/common.rb#8 +# source://json//lib/json/common.rb#8 JSON::NOT_SET = T.let(T.unsafe(nil), Object) -# source://json/lib/json/common.rb#43 +# source://json//lib/json/common.rb#43 JSON::Parser = JSON::Ext::Parser -# source://json/lib/json/common.rb#72 +# source://json//lib/json/common.rb#72 JSON::State = JSON::Ext::Generator::State # For backwards compatibility # -# source://json/lib/json/common.rb#164 +# source://json//lib/json/common.rb#164 JSON::UnparserError = JSON::GeneratorError -# source://json/lib/json/common.rb#846 +# source://json//lib/json/common.rb#846 module Kernel private @@ -1927,18 +1930,18 @@ module Kernel # The _opts_ argument is passed through to generate/parse respectively. See # generate and parse for their documentation. # - # source://json/lib/json/common.rb#873 + # source://json//lib/json/common.rb#873 def JSON(object, *args); end # Outputs _objs_ to STDOUT as JSON strings in the shortest form, that is in # one line. # - # source://json/lib/json/common.rb#851 + # source://json//lib/json/common.rb#851 def j(*objs); end # Outputs _objs_ to STDOUT as JSON strings in a pretty format, with # indentation and over many lines. # - # source://json/lib/json/common.rb#860 + # source://json//lib/json/common.rb#860 def jj(*objs); end end diff --git a/sorbet/rbi/gems/json_api_client@1.23.0.rbi b/sorbet/rbi/gems/json_api_client@1.23.0.rbi index d6c845068..5ea546cc7 100644 --- a/sorbet/rbi/gems/json_api_client@1.23.0.rbi +++ b/sorbet/rbi/gems/json_api_client@1.23.0.rbi @@ -775,7 +775,7 @@ class JsonApiClient::Paginating::NestedParamPaginator # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#75 def last; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#99 + # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#129 def limit_value; end # Returns the value of attribute links. @@ -897,7 +897,7 @@ class JsonApiClient::Paginating::Paginator # source://json_api_client//lib/json_api_client/paginating/paginator.rb#30 def last; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#56 + # source://json_api_client//lib/json_api_client/paginating/paginator.rb#78 def limit_value; end # Returns the value of attribute links. @@ -1073,7 +1073,7 @@ class JsonApiClient::Query::Builder # source://json_api_client//lib/json_api_client/query/builder.rb#119 def ==(other); end - # source://json_api_client//lib/json_api_client/query/builder.rb#88 + # source://json_api_client//lib/json_api_client/query/builder.rb#91 def all; end # source://json_api_client//lib/json_api_client/query/builder.rb#69 @@ -1082,7 +1082,7 @@ class JsonApiClient::Query::Builder # source://json_api_client//lib/json_api_client/query/builder.rb#73 def create(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#119 + # source://json_api_client//lib/json_api_client/query/builder.rb#124 def eql?(other); end # source://json_api_client//lib/json_api_client/query/builder.rb#93 @@ -1192,6 +1192,9 @@ class JsonApiClient::Query::Requestor # source://json_api_client//lib/json_api_client/query/requestor.rb#7 def initialize(klass); end + # source://json_api_client//lib/json_api_client/query/requestor.rb#56 + def connection(*args, **_arg1, &block); end + # expects a record # # source://json_api_client//lib/json_api_client/query/requestor.rb#12 @@ -1379,24 +1382,42 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#369 def initialize(params = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#10 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __belongs_to_params; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#10 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __belongs_to_params=(_arg0); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#9 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __cached_associations; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#9 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __cached_associations=(_arg0); end + # source://json_api_client//lib/json_api_client/resource.rb#9 + def __callbacks; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def __callbacks?; end + # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable; end # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable?; end + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _run_validate_callbacks(&block); end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validate_callbacks; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validators; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validators?; end + # source://json_api_client//lib/json_api_client/resource.rb#41 def add_defaults_to_changes; end @@ -1473,6 +1494,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#416 def mark_as_persisted!; end + # source://json_api_client//lib/json_api_client/resource.rb#7 + def model_name(&block); end + # Returns true if this is a new record (never persisted to the database) # # @return [Boolean] @@ -1480,6 +1504,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#442 def new_record?; end + # source://json_api_client//lib/json_api_client/resource.rb#10 + def param_delimiter=(_arg0); end + # source://json_api_client//lib/json_api_client/resource.rb#568 def path_attributes; end @@ -1569,6 +1596,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#481 def valid?(context = T.unsafe(nil)); end + # source://json_api_client//lib/json_api_client/resource.rb#9 + def validation_context; end + protected # source://json_api_client//lib/json_api_client/resource.rb#642 @@ -1625,7 +1655,19 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#622 def respond_to_missing?(symbol, include_all = T.unsafe(nil)); end + # source://json_api_client//lib/json_api_client/resource.rb#9 + def validation_context=(_arg0); end + class << self + # source://json_api_client//lib/json_api_client/resource.rb#9 + def __callbacks; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def __callbacks=(value); end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def __callbacks?; end + # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable; end @@ -1635,6 +1677,21 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable?; end + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validate_callbacks; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validate_callbacks=(value); end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validators; end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validators=(value); end + + # source://json_api_client//lib/json_api_client/resource.rb#9 + def _validators?; end + # source://json_api_client//lib/json_api_client/resource.rb#41 def add_defaults_to_changes; end @@ -1644,13 +1701,16 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#41 def add_defaults_to_changes?; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#73 + def all(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations=(value); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations?; end # Return/build a connection object @@ -1723,6 +1783,12 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#214 def default_attributes; end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def find(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/resource.rb#73 + def first(*args, **_arg1, &block); end + # Indicates whether this resource is mutable or immutable; # by default, all resources are mutable. # @@ -1731,6 +1797,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#106 def immutable(flag = T.unsafe(nil)); end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def includes(*args, **_arg1, &block); end + # @private # # source://json_api_client//lib/json_api_client/resource.rb#110 @@ -1757,6 +1826,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#225 def key_formatter; end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def last(*args, **_arg1, &block); end + # source://json_api_client//lib/json_api_client/resource.rb#21 def linker; end @@ -1773,6 +1845,15 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#126 def load(params); end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def order(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/resource.rb#73 + def page(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/resource.rb#73 + def paginate(*args, **_arg1, &block); end + # source://json_api_client//lib/json_api_client/resource.rb#21 def paginator; end @@ -1782,6 +1863,15 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def paginator?; end + # source://json_api_client//lib/json_api_client/resource.rb#10 + def param_delimiter; end + + # source://json_api_client//lib/json_api_client/resource.rb#10 + def param_delimiter=(value); end + + # source://json_api_client//lib/json_api_client/resource.rb#10 + def param_delimiter?; end + # source://json_api_client//lib/json_api_client/resource.rb#21 def parser; end @@ -1920,6 +2010,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def search_included_in_result_set?; end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def select(*args, **_arg1, &block); end + # source://json_api_client//lib/json_api_client/resource.rb#21 def site; end @@ -1944,6 +2037,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#98 def type; end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def where(*args, **_arg1, &block); end + # Within the given block, add these headers to all requests made by # the resource class # @@ -1953,6 +2049,9 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#186 def with_headers(headers); end + # source://json_api_client//lib/json_api_client/resource.rb#73 + def with_params(*args, **_arg1, &block); end + protected # source://json_api_client//lib/json_api_client/resource.rb#315 @@ -2034,6 +2133,9 @@ end class JsonApiClient::ResultSet < ::Array extend ::Forwardable + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def current_page(*args, **_arg1, &block); end + # Returns the value of attribute errors. # # source://json_api_client//lib/json_api_client/result_set.rb#7 @@ -2075,6 +2177,9 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def included=(_arg0); end + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def limit_value(*args, **_arg1, &block); end + # Returns the value of attribute links. # # source://json_api_client//lib/json_api_client/result_set.rb#7 @@ -2099,6 +2204,15 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def meta=(_arg0); end + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def next_page(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def offset(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def out_of_bounds?(*args, **_arg1, &block); end + # Returns the value of attribute pages. # # source://json_api_client//lib/json_api_client/result_set.rb#7 @@ -2111,6 +2225,12 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def pages=(_arg0); end + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def per_page(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def previous_page(*args, **_arg1, &block); end + # Returns the value of attribute record_class. # # source://json_api_client//lib/json_api_client/result_set.rb#7 @@ -2135,6 +2255,15 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def relationships=(_arg0); end + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def total_count(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def total_entries(*args, **_arg1, &block); end + + # source://json_api_client//lib/json_api_client/result_set.rb#18 + def total_pages(*args, **_arg1, &block); end + # Returns the value of attribute uri. # # source://json_api_client//lib/json_api_client/result_set.rb#7 @@ -2171,7 +2300,7 @@ class JsonApiClient::Schema # @param property_name [String] the name of the property # @return [Property, nil] the property definition for property_name or nil # - # source://json_api_client//lib/json_api_client/schema.rb#142 + # source://json_api_client//lib/json_api_client/schema.rb#146 def [](property_name); end # Add a property to the schema @@ -2185,7 +2314,7 @@ class JsonApiClient::Schema # source://json_api_client//lib/json_api_client/schema.rb#119 def add(name, options); end - # source://json_api_client//lib/json_api_client/schema.rb#132 + # source://json_api_client//lib/json_api_client/schema.rb#136 def each(&block); end # source://json_api_client//lib/json_api_client/schema.rb#132 @@ -2203,7 +2332,7 @@ class JsonApiClient::Schema # # @return [Fixnum] the number of defined properties # - # source://json_api_client//lib/json_api_client/schema.rb#126 + # source://json_api_client//lib/json_api_client/schema.rb#130 def length; end # How many properties are defined @@ -2227,41 +2356,62 @@ class JsonApiClient::Schema::Property < ::Struct # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def default=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def name=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def type=(_); end class << self + # source://json_api_client//lib/json_api_client/schema.rb#98 def [](*_arg0); end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def inspect; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def keyword_init?; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def members; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/kramdown@2.5.1.rbi b/sorbet/rbi/gems/kramdown@2.5.1.rbi index 72b747da1..7fb5ae5b0 100644 --- a/sorbet/rbi/gems/kramdown@2.5.1.rbi +++ b/sorbet/rbi/gems/kramdown@2.5.1.rbi @@ -27,19 +27,19 @@ module Kramdown::Converter extend ::Kramdown::Utils::Configurable class << self - # source://kramdown//lib/kramdown/utils/configurable.rb#37 + # source://kramdown//lib/kramdown/converter.rb#50 def add_math_engine(data, *args, &block); end - # source://kramdown//lib/kramdown/utils/configurable.rb#37 + # source://kramdown//lib/kramdown/converter.rb#34 def add_syntax_highlighter(data, *args, &block); end - # source://kramdown//lib/kramdown/utils/configurable.rb#30 + # source://kramdown//lib/kramdown/converter.rb#34 def configurables; end - # source://kramdown//lib/kramdown/utils/configurable.rb#34 + # source://kramdown//lib/kramdown/converter.rb#50 def math_engine(data); end - # source://kramdown//lib/kramdown/utils/configurable.rb#34 + # source://kramdown//lib/kramdown/converter.rb#34 def syntax_highlighter(data); end end end @@ -230,7 +230,10 @@ class Kramdown::Converter::Base private + # source://kramdown//lib/kramdown/converter/base.rb#61 def allocate; end + + # source://kramdown//lib/kramdown/converter/base.rb#61 def new(*_arg0); end end end @@ -310,7 +313,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#271 def convert_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#189 + # source://kramdown//lib/kramdown/converter/html.rb#199 def convert_dd(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#185 @@ -346,7 +349,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#363 def convert_math(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#173 + # source://kramdown//lib/kramdown/converter/html.rb#183 def convert_ol(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#86 @@ -367,13 +370,13 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#99 def convert_standalone_image(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#331 + # source://kramdown//lib/kramdown/converter/html.rb#334 def convert_strong(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#249 def convert_table(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#249 + # source://kramdown//lib/kramdown/converter/html.rb#253 def convert_tbody(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#259 @@ -382,13 +385,13 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#81 def convert_text(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#249 + # source://kramdown//lib/kramdown/converter/html.rb#254 def convert_tfoot(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#249 + # source://kramdown//lib/kramdown/converter/html.rb#252 def convert_thead(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#249 + # source://kramdown//lib/kramdown/converter/html.rb#255 def convert_tr(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#351 @@ -400,7 +403,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#239 def convert_xml_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#239 + # source://kramdown//lib/kramdown/converter/html.rb#247 def convert_xml_pi(el, indent); end # Fixes the elements for use in a TOC entry. @@ -522,7 +525,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#163 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#129 + # source://kramdown//lib/kramdown/converter/kramdown.rb#133 def convert_dl(el, opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#187 @@ -555,7 +558,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#378 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#129 + # source://kramdown//lib/kramdown/converter/kramdown.rb#132 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#92 @@ -603,7 +606,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#234 def convert_xml_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#234 + # source://kramdown//lib/kramdown/converter/kramdown.rb#242 def convert_xml_pi(el, _opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#413 @@ -734,7 +737,7 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/latex.rb#557 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#129 + # source://kramdown//lib/kramdown/converter/latex.rb#137 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/latex.rb#69 @@ -873,13 +876,13 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#221 def convert_codespan(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#186 + # source://kramdown//lib/kramdown/converter/man.rb#189 def convert_comment(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#127 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#101 + # source://kramdown//lib/kramdown/converter/man.rb#107 def convert_dl(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#121 @@ -897,7 +900,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#61 def convert_header(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#47 + # source://kramdown//lib/kramdown/converter/man.rb#49 def convert_hr(*_arg0); end # source://kramdown//lib/kramdown/converter/man.rb#182 @@ -912,7 +915,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#233 def convert_math(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#101 + # source://kramdown//lib/kramdown/converter/man.rb#108 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#52 @@ -960,7 +963,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#186 def convert_xml_comment(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#47 + # source://kramdown//lib/kramdown/converter/man.rb#50 def convert_xml_pi(*_arg0); end # source://kramdown//lib/kramdown/converter/man.rb#285 @@ -1786,63 +1789,92 @@ class Kramdown::Options::Definition < ::Struct # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://kramdown//lib/kramdown/options.rb#36 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def default=(_); end # Returns the value of attribute desc # # @return [Object] the current value of desc + # + # source://kramdown//lib/kramdown/options.rb#36 def desc; end # Sets the attribute desc # # @param value [Object] the value to set the attribute desc to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def desc=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/options.rb#36 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def name=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://kramdown//lib/kramdown/options.rb#36 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def type=(_); end # Returns the value of attribute validator # # @return [Object] the current value of validator + # + # source://kramdown//lib/kramdown/options.rb#36 def validator; end # Sets the attribute validator # # @param value [Object] the value to set the attribute validator to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def validator=(_); end class << self + # source://kramdown//lib/kramdown/options.rb#36 def [](*_arg0); end + + # source://kramdown//lib/kramdown/options.rb#36 def inspect; end + + # source://kramdown//lib/kramdown/options.rb#36 def keyword_init?; end + + # source://kramdown//lib/kramdown/options.rb#36 def members; end + + # source://kramdown//lib/kramdown/options.rb#36 def new(*_arg0); end end end @@ -1965,7 +1997,10 @@ class Kramdown::Parser::Base private + # source://kramdown//lib/kramdown/parser/base.rb#66 def allocate; end + + # source://kramdown//lib/kramdown/parser/base.rb#66 def new(*_arg0); end end end @@ -2063,7 +2098,7 @@ class Kramdown::Parser::Html::ElementConverter # source://kramdown//lib/kramdown/parser/html.rb#388 def convert_a(el); end - # source://kramdown//lib/kramdown/parser/html.rb#398 + # source://kramdown//lib/kramdown/parser/html.rb#409 def convert_b(el); end # source://kramdown//lib/kramdown/parser/html.rb#421 @@ -2075,31 +2110,31 @@ class Kramdown::Parser::Html::ElementConverter # source://kramdown//lib/kramdown/parser/html.rb#412 def convert_h1(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # source://kramdown//lib/kramdown/parser/html.rb#418 def convert_h2(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # source://kramdown//lib/kramdown/parser/html.rb#418 def convert_h3(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # source://kramdown//lib/kramdown/parser/html.rb#418 def convert_h4(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # source://kramdown//lib/kramdown/parser/html.rb#418 def convert_h5(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # source://kramdown//lib/kramdown/parser/html.rb#418 def convert_h6(el); end - # source://kramdown//lib/kramdown/parser/html.rb#398 + # source://kramdown//lib/kramdown/parser/html.rb#409 def convert_i(el); end - # source://kramdown//lib/kramdown/parser/html.rb#421 + # source://kramdown//lib/kramdown/parser/html.rb#463 def convert_pre(el); end # source://kramdown//lib/kramdown/parser/html.rb#570 def convert_script(el); end - # source://kramdown//lib/kramdown/parser/html.rb#398 + # source://kramdown//lib/kramdown/parser/html.rb#409 def convert_strong(el); end # source://kramdown//lib/kramdown/parser/html.rb#465 @@ -2723,52 +2758,77 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # Returns the value of attribute method # # @return [Object] the current value of method + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def method; end # Sets the attribute method # # @param value [Object] the value to set the attribute method to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def method=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def name=(_); end # Returns the value of attribute span_start # # @return [Object] the current value of span_start + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def span_start; end # Sets the attribute span_start # # @param value [Object] the value to set the attribute span_start to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def span_start=(_); end # Returns the value of attribute start_re # # @return [Object] the current value of start_re + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def start_re; end # Sets the attribute start_re # # @param value [Object] the value to set the attribute start_re to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def start_re=(_); end class << self + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def [](*_arg0); end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def inspect; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def keyword_init?; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def members; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#318 def new(*_arg0); end end end @@ -3079,7 +3139,7 @@ module Kramdown::Utils::Entities class << self # Return the entity for the given code point or name +point_or_name+. # - # source://kramdown//lib/kramdown/utils/entities.rb#990 + # source://kramdown//lib/kramdown/utils/entities.rb#994 def entity(point_or_name); end end end @@ -3109,30 +3169,47 @@ class Kramdown::Utils::Entities::Entity < ::Struct # Returns the value of attribute code_point # # @return [Object] the current value of code_point + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def code_point; end # Sets the attribute code_point # # @param value [Object] the value to set the attribute code_point to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def code_point=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def name=(_); end class << self + # source://kramdown//lib/kramdown/utils/entities.rb#18 def [](*_arg0); end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def inspect; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def keyword_init?; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def members; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/kredis@1.7.0.rbi b/sorbet/rbi/gems/kredis@1.7.0.rbi index 2f1d579d9..8f7d7b9f4 100644 --- a/sorbet/rbi/gems/kredis@1.7.0.rbi +++ b/sorbet/rbi/gems/kredis@1.7.0.rbi @@ -62,7 +62,7 @@ module Kredis::Attributes def kredis_key_for_attribute(name); end end -# source://kredis//lib/kredis/attributes.rb#0 +# source://kredis//lib/kredis/attributes.rb#6 module Kredis::Attributes::ClassMethods # source://kredis//lib/kredis/attributes.rb#83 def kredis_boolean(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end @@ -416,22 +416,22 @@ Kredis::Types::CallbacksProxy::AFTER_CHANGE_OPERATIONS = T.let(T.unsafe(nil), Ha class Kredis::Types::Counter < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def decrby(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#17 def decrement(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/counter.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/counter.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -446,42 +446,42 @@ class Kredis::Types::Counter < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/counter.rb#8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def incrby(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#10 def increment(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#28 def reset; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#24 def value; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/counter.rb#33 + # source://kredis//lib/kredis/types/counter.rb#4 def set_default; end end # source://kredis//lib/kredis/types/cycle.rb#3 class Kredis::Types::Cycle < ::Kredis::Types::Counter - # source://kredis//lib/kredis/types/counter.rb#24 + # source://kredis//lib/kredis/types/cycle.rb#6 def index; end # source://kredis//lib/kredis/types/cycle.rb#12 @@ -509,34 +509,34 @@ class Kredis::Types::Enum < ::Kredis::Types::Proxying # @return [Enum] a new instance of Enum # - # source://kredis//lib/kredis/default_values.rb#25 + # source://kredis//lib/kredis/types/enum.rb#14 def initialize(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/enum.rb#6 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/enum.rb#6 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/enum.rb#29 def reset; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#6 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/enum.rb#25 @@ -557,7 +557,7 @@ class Kredis::Types::Enum < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/enum.rb#12 def values=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#6 def watch(*_arg0, **_arg1, &_arg2); end private @@ -565,7 +565,7 @@ class Kredis::Types::Enum < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/enum.rb#37 def define_predicates_for_values; end - # source://kredis//lib/kredis/types/enum.rb#44 + # source://kredis//lib/kredis/types/enum.rb#6 def set_default; end end @@ -576,16 +576,16 @@ class Kredis::Types::Enum::InvalidDefault < ::StandardError; end class Kredis::Types::Flag < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/flag.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/flag.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -611,18 +611,18 @@ class Kredis::Types::Flag < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/flag.rb#18 def remove; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/flag.rb#23 + # source://kredis//lib/kredis/types/flag.rb#4 def set_default; end end @@ -636,16 +636,16 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#16 def []=(key, value); end - # source://kredis//lib/kredis/types/hash.rb#32 + # source://kredis//lib/kredis/types/hash.rb#35 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/hash.rb#6 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/hash.rb#6 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#28 @@ -654,28 +654,28 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#37 def entries; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hdel(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hgetall(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hkeys(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hmget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hset(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hvals(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#42 @@ -684,7 +684,7 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#32 def remove; end - # source://kredis//lib/kredis/types/hash.rb#37 + # source://kredis//lib/kredis/types/hash.rb#40 def to_h; end # Returns the value of attribute typed. @@ -699,7 +699,7 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#10 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#6 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#20 @@ -711,12 +711,12 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#24 def values_at(*keys); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#6 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/hash.rb#51 + # source://kredis//lib/kredis/types/hash.rb#6 def set_default; end end @@ -756,7 +756,7 @@ class Kredis::Types::Limiter::LimitExceeded < ::StandardError; end class Kredis::Types::List < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/list.rb#23 + # source://kredis//lib/kredis/types/list.rb#26 def <<(*elements); end # source://kredis//lib/kredis/types/list.rb#23 @@ -765,34 +765,34 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#28 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/list.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/list.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#10 def elements; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#32 def last(n = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def ltrim(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#19 @@ -801,10 +801,10 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#15 def remove(*elements); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def rpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#10 + # source://kredis//lib/kredis/types/list.rb#13 def to_a; end # Returns the value of attribute typed. @@ -819,15 +819,15 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/list.rb#37 + # source://kredis//lib/kredis/types/list.rb#4 def set_default; end end @@ -835,25 +835,25 @@ end class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/ordered_set.rb#28 + # source://kredis//lib/kredis/types/ordered_set.rb#31 def <<(elements); end # source://kredis//lib/kredis/types/ordered_set.rb#28 def append(elements); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/ordered_set.rb#11 def elements; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -869,7 +869,7 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#33 def limit=(limit); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/ordered_set.rb#24 @@ -878,7 +878,7 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#16 def remove(*elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#11 + # source://kredis//lib/kredis/types/ordered_set.rb#14 def to_a; end # Returns the value of attribute typed. @@ -893,28 +893,28 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def watch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zadd(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zcard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zremrangebyrank(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zscore(*_arg0, **_arg1, &_arg2); end private @@ -931,7 +931,7 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#70 def process_uptime; end - # source://kredis//lib/kredis/types/ordered_set.rb#84 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def set_default; end # source://kredis//lib/kredis/types/ordered_set.rb#74 @@ -965,6 +965,12 @@ class Kredis::Types::Proxy # source://kredis//lib/kredis/types/proxy.rb#16 def multi(*args, **kwargs, &block); end + # source://kredis//lib/kredis/types/proxy.rb#9 + def pipeline; end + + # source://kredis//lib/kredis/types/proxy.rb#9 + def pipeline=(obj); end + # source://kredis//lib/kredis/types/proxy.rb#31 def unwatch; end @@ -978,6 +984,14 @@ class Kredis::Types::Proxy # source://kredis//lib/kredis/types/proxy.rb#44 def redis; end + + class << self + # source://kredis//lib/kredis/types/proxy.rb#9 + def pipeline; end + + # source://kredis//lib/kredis/types/proxy.rb#9 + def pipeline=(obj); end + end end # source://kredis//lib/kredis/types/proxy/failsafe.rb#3 @@ -1066,19 +1080,19 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#32 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/scalar.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/scalar.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def expire(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#40 @@ -1087,7 +1101,7 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#36 def expire_in(seconds); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def expireat(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -1102,10 +1116,10 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def set(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#24 @@ -1123,7 +1137,7 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#14 @@ -1132,12 +1146,12 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#10 def value=(value); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/scalar.rb#45 + # source://kredis//lib/kredis/types/scalar.rb#4 def set_default; end end @@ -1145,7 +1159,7 @@ end class Kredis::Types::Set < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/set.rb#15 + # source://kredis//lib/kredis/types/set.rb#18 def <<(*members); end # source://kredis//lib/kredis/types/set.rb#15 @@ -1154,16 +1168,16 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#43 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/set.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/set.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#4 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1174,7 +1188,7 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#10 def members; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#20 @@ -1183,37 +1197,37 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#24 def replace(*members); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def sadd(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#47 def sample(count = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def scard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def sismember(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#35 def size; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def smembers(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def spop(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def srandmember(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def srem(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#39 def take; end - # source://kredis//lib/kredis/types/set.rb#10 + # source://kredis//lib/kredis/types/set.rb#13 def to_a; end # Returns the value of attribute typed. @@ -1228,15 +1242,15 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/set.rb#56 + # source://kredis//lib/kredis/types/set.rb#4 def set_default; end end @@ -1259,19 +1273,19 @@ class Kredis::Types::Slots < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/slots.rb#43 def available?; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def decr(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def incr(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/slots.rb#34 @@ -1294,13 +1308,13 @@ class Kredis::Types::Slots::NotAvailable < ::StandardError; end # # source://kredis//lib/kredis/types/unique_list.rb#4 class Kredis::Types::UniqueList < ::Kredis::Types::List - # source://kredis//lib/kredis/types/unique_list.rb#20 + # source://kredis//lib/kredis/types/unique_list.rb#30 def <<(elements); end # source://kredis//lib/kredis/types/unique_list.rb#20 def append(elements); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute limit. @@ -1315,10 +1329,10 @@ class Kredis::Types::UniqueList < ::Kredis::Types::List # source://kredis//lib/kredis/types/unique_list.rb#7 def limit=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def ltrim(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/unique_list.rb#9 diff --git a/sorbet/rbi/gems/logger@1.6.5.rbi b/sorbet/rbi/gems/logger@1.6.5.rbi index 607a72c59..e8c2a3197 100644 --- a/sorbet/rbi/gems/logger@1.6.5.rbi +++ b/sorbet/rbi/gems/logger@1.6.5.rbi @@ -352,7 +352,7 @@ # see details and suggestions at # {Time#strftime}[https://docs.ruby-lang.org/en/master/Time.html#method-i-strftime]. # -# source://logger/lib/logger/version.rb#3 +# source://logger//lib/logger/version.rb#3 class Logger include ::Logger::Severity @@ -406,7 +406,7 @@ class Logger # # @return [Logger] a new instance of Logger # - # source://logger/lib/logger.rb#581 + # source://logger//lib/logger.rb#581 def initialize(logdev, shift_age = T.unsafe(nil), shift_size = T.unsafe(nil), level: T.unsafe(nil), progname: T.unsafe(nil), formatter: T.unsafe(nil), datetime_format: T.unsafe(nil), binmode: T.unsafe(nil), shift_period_suffix: T.unsafe(nil), reraise_write_errors: T.unsafe(nil)); end # Writes the given +msg+ to the log with no formatting; @@ -420,7 +420,7 @@ class Logger # # My message. # - # source://logger/lib/logger.rb#689 + # source://logger//lib/logger.rb#689 def <<(msg); end # Creates a log entry, which may or may not be written to the log, @@ -450,7 +450,7 @@ class Logger # - #fatal. # - #unknown. # - # source://logger/lib/logger.rb#656 + # source://logger//lib/logger.rb#656 def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end # Closes the logger; returns +nil+: @@ -461,12 +461,12 @@ class Logger # # Related: Logger#reopen. # - # source://logger/lib/logger.rb#736 + # source://logger//lib/logger.rb#736 def close; end # Returns the date-time format; see #datetime_format=. # - # source://logger/lib/logger.rb#438 + # source://logger//lib/logger.rb#438 def datetime_format; end # Sets the date-time format. @@ -477,18 +477,18 @@ class Logger # {Time#strftime}[https://docs.ruby-lang.org/en/master/Time.html#method-i-strftime]. # - +nil+: the logger uses '%Y-%m-%dT%H:%M:%S.%6N'. # - # source://logger/lib/logger.rb#432 + # source://logger//lib/logger.rb#432 def datetime_format=(datetime_format); end # Equivalent to calling #add with severity Logger::DEBUG. # - # source://logger/lib/logger.rb#695 + # source://logger//lib/logger.rb#695 def debug(progname = T.unsafe(nil), &block); end # Sets the log level to Logger::DEBUG. # See {Log Level}[rdoc-ref:Logger@Log+Level]. # - # source://logger/lib/logger.rb#487 + # source://logger//lib/logger.rb#487 def debug!; end # Returns +true+ if the log level allows entries with severity @@ -497,18 +497,18 @@ class Logger # # @return [Boolean] # - # source://logger/lib/logger.rb#482 + # source://logger//lib/logger.rb#482 def debug?; end # Equivalent to calling #add with severity Logger::ERROR. # - # source://logger/lib/logger.rb#713 + # source://logger//lib/logger.rb#713 def error(progname = T.unsafe(nil), &block); end # Sets the log level to Logger::ERROR. # See {Log Level}[rdoc-ref:Logger@Log+Level]. # - # source://logger/lib/logger.rb#520 + # source://logger//lib/logger.rb#520 def error!; end # Returns +true+ if the log level allows entries with severity @@ -517,18 +517,18 @@ class Logger # # @return [Boolean] # - # source://logger/lib/logger.rb#515 + # source://logger//lib/logger.rb#515 def error?; end # Equivalent to calling #add with severity Logger::FATAL. # - # source://logger/lib/logger.rb#719 + # source://logger//lib/logger.rb#719 def fatal(progname = T.unsafe(nil), &block); end # Sets the log level to Logger::FATAL. # See {Log Level}[rdoc-ref:Logger@Log+Level]. # - # source://logger/lib/logger.rb#531 + # source://logger//lib/logger.rb#531 def fatal!; end # Returns +true+ if the log level allows entries with severity @@ -537,7 +537,7 @@ class Logger # # @return [Boolean] # - # source://logger/lib/logger.rb#526 + # source://logger//lib/logger.rb#526 def fatal?; end # Sets or retrieves the logger entry formatter proc. @@ -571,7 +571,7 @@ class Logger # I, [2022-05-13T13:16:29.637488 #8492] INFO -- mung: "hello \n ''" # I, [2022-05-13T13:16:29.637610 #8492] INFO -- mung: "\f\x00\xFF\\\"" # - # source://logger/lib/logger.rb#473 + # source://logger//lib/logger.rb#473 def formatter; end # Sets or retrieves the logger entry formatter proc. @@ -605,18 +605,18 @@ class Logger # I, [2022-05-13T13:16:29.637488 #8492] INFO -- mung: "hello \n ''" # I, [2022-05-13T13:16:29.637610 #8492] INFO -- mung: "\f\x00\xFF\\\"" # - # source://logger/lib/logger.rb#473 + # source://logger//lib/logger.rb#473 def formatter=(_arg0); end # Equivalent to calling #add with severity Logger::INFO. # - # source://logger/lib/logger.rb#701 + # source://logger//lib/logger.rb#701 def info(progname = T.unsafe(nil), &block); end # Sets the log level to Logger::INFO. # See {Log Level}[rdoc-ref:Logger@Log+Level]. # - # source://logger/lib/logger.rb#498 + # source://logger//lib/logger.rb#498 def info!; end # Returns +true+ if the log level allows entries with severity @@ -625,12 +625,12 @@ class Logger # # @return [Boolean] # - # source://logger/lib/logger.rb#493 + # source://logger//lib/logger.rb#493 def info?; end # Logging severity threshold (e.g. Logger::INFO). # - # source://logger/lib/logger.rb#383 + # source://logger//lib/logger.rb#383 def level; end # Sets the log level; returns +severity+. @@ -645,7 +645,7 @@ class Logger # # Logger#sev_threshold= is an alias for Logger#level=. # - # source://logger/lib/logger.rb#399 + # source://logger//lib/logger.rb#399 def level=(severity); end # Creates a log entry, which may or may not be written to the log, @@ -675,17 +675,17 @@ class Logger # - #fatal. # - #unknown. # - # source://logger/lib/logger.rb#656 + # source://logger//lib/logger.rb#676 def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end # Program name to include in log messages. # - # source://logger/lib/logger.rb#422 + # source://logger//lib/logger.rb#422 def progname; end # Program name to include in log messages. # - # source://logger/lib/logger.rb#422 + # source://logger//lib/logger.rb#422 def progname=(_arg0); end # Sets the logger's output stream: @@ -711,12 +711,12 @@ class Logger # # "E, [2022-05-12T14:21:27.596726 #22428] ERROR -- : one\n", # # "E, [2022-05-12T14:23:05.847241 #22428] ERROR -- : three\n"] # - # source://logger/lib/logger.rb#624 + # source://logger//lib/logger.rb#624 def reopen(logdev = T.unsafe(nil)); end # Logging severity threshold (e.g. Logger::INFO). # - # source://logger/lib/logger.rb#383 + # source://logger//lib/logger.rb#475 def sev_threshold; end # Sets the log level; returns +severity+. @@ -731,23 +731,23 @@ class Logger # # Logger#sev_threshold= is an alias for Logger#level=. # - # source://logger/lib/logger.rb#399 + # source://logger//lib/logger.rb#476 def sev_threshold=(severity); end # Equivalent to calling #add with severity Logger::UNKNOWN. # - # source://logger/lib/logger.rb#725 + # source://logger//lib/logger.rb#725 def unknown(progname = T.unsafe(nil), &block); end # Equivalent to calling #add with severity Logger::WARN. # - # source://logger/lib/logger.rb#707 + # source://logger//lib/logger.rb#707 def warn(progname = T.unsafe(nil), &block); end # Sets the log level to Logger::WARN. # See {Log Level}[rdoc-ref:Logger@Log+Level]. # - # source://logger/lib/logger.rb#509 + # source://logger//lib/logger.rb#509 def warn!; end # Returns +true+ if the log level allows entries with severity @@ -756,7 +756,7 @@ class Logger # # @return [Boolean] # - # source://logger/lib/logger.rb#504 + # source://logger//lib/logger.rb#504 def warn?; end # Adjust the log level during the block execution for the current Fiber only @@ -765,176 +765,176 @@ class Logger # logger.debug { "Hello" } # end # - # source://logger/lib/logger.rb#408 + # source://logger//lib/logger.rb#408 def with_level(severity); end private - # source://logger/lib/logger.rb#758 + # source://logger//lib/logger.rb#758 def format_message(severity, datetime, progname, msg); end - # source://logger/lib/logger.rb#745 + # source://logger//lib/logger.rb#745 def format_severity(severity); end - # source://logger/lib/logger.rb#754 + # source://logger//lib/logger.rb#754 def level_key; end # Guarantee the existence of this ivar even when subclasses don't call the superclass constructor. # - # source://logger/lib/logger.rb#750 + # source://logger//lib/logger.rb#750 def level_override; end end # Default formatter for log messages. # -# source://logger/lib/logger/formatter.rb#5 +# source://logger//lib/logger/formatter.rb#5 class Logger::Formatter # @return [Formatter] a new instance of Formatter # - # source://logger/lib/logger/formatter.rb#11 + # source://logger//lib/logger/formatter.rb#11 def initialize; end - # source://logger/lib/logger/formatter.rb#15 + # source://logger//lib/logger/formatter.rb#15 def call(severity, time, progname, msg); end # Returns the value of attribute datetime_format. # - # source://logger/lib/logger/formatter.rb#9 + # source://logger//lib/logger/formatter.rb#9 def datetime_format; end # Sets the attribute datetime_format # # @param value the value to set the attribute datetime_format to. # - # source://logger/lib/logger/formatter.rb#9 + # source://logger//lib/logger/formatter.rb#9 def datetime_format=(_arg0); end private - # source://logger/lib/logger/formatter.rb#21 + # source://logger//lib/logger/formatter.rb#21 def format_datetime(time); end - # source://logger/lib/logger/formatter.rb#25 + # source://logger//lib/logger/formatter.rb#25 def msg2str(msg); end end -# source://logger/lib/logger/formatter.rb#7 +# source://logger//lib/logger/formatter.rb#7 Logger::Formatter::DatetimeFormat = T.let(T.unsafe(nil), String) -# source://logger/lib/logger/formatter.rb#6 +# source://logger//lib/logger/formatter.rb#6 Logger::Formatter::Format = T.let(T.unsafe(nil), String) # Device used for logging messages. # -# source://logger/lib/logger/log_device.rb#7 +# source://logger//lib/logger/log_device.rb#7 class Logger::LogDevice include ::Logger::Period include ::MonitorMixin # @return [LogDevice] a new instance of LogDevice # - # source://logger/lib/logger/log_device.rb#14 + # source://logger//lib/logger/log_device.rb#14 def initialize(log = T.unsafe(nil), shift_age: T.unsafe(nil), shift_size: T.unsafe(nil), shift_period_suffix: T.unsafe(nil), binmode: T.unsafe(nil), reraise_write_errors: T.unsafe(nil)); end - # source://logger/lib/logger/log_device.rb#43 + # source://logger//lib/logger/log_device.rb#43 def close; end # Returns the value of attribute dev. # - # source://logger/lib/logger/log_device.rb#10 + # source://logger//lib/logger/log_device.rb#10 def dev; end # Returns the value of attribute filename. # - # source://logger/lib/logger/log_device.rb#11 + # source://logger//lib/logger/log_device.rb#11 def filename; end - # source://logger/lib/logger/log_device.rb#53 + # source://logger//lib/logger/log_device.rb#53 def reopen(log = T.unsafe(nil)); end - # source://logger/lib/logger/log_device.rb#32 + # source://logger//lib/logger/log_device.rb#32 def write(message); end private - # source://logger/lib/logger/log_device.rb#148 + # source://logger//lib/logger/log_device.rb#148 def add_log_header(file); end - # source://logger/lib/logger/log_device.rb#154 + # source://logger//lib/logger/log_device.rb#154 def check_shift_log; end - # source://logger/lib/logger/log_device.rb#124 + # source://logger//lib/logger/log_device.rb#124 def create_logfile(filename); end - # source://logger/lib/logger/log_device.rb#96 + # source://logger//lib/logger/log_device.rb#96 def fixup_mode(dev, filename); end - # source://logger/lib/logger/log_device.rb#140 + # source://logger//lib/logger/log_device.rb#140 def handle_write_errors(mesg); end - # source://logger/lib/logger/log_device.rb#169 + # source://logger//lib/logger/log_device.rb#169 def lock_shift_log; end - # source://logger/lib/logger/log_device.rb#111 + # source://logger//lib/logger/log_device.rb#111 def open_logfile(filename); end - # source://logger/lib/logger/log_device.rb#81 + # source://logger//lib/logger/log_device.rb#81 def set_dev(log); end - # source://logger/lib/logger/log_device.rb#198 + # source://logger//lib/logger/log_device.rb#198 def shift_log_age; end - # source://logger/lib/logger/log_device.rb#210 + # source://logger//lib/logger/log_device.rb#210 def shift_log_period(period_end); end end # :stopdoc: # -# source://logger/lib/logger/log_device.rb#72 +# source://logger//lib/logger/log_device.rb#72 Logger::LogDevice::MODE = T.let(T.unsafe(nil), Integer) -# source://logger/lib/logger/log_device.rb#79 +# source://logger//lib/logger/log_device.rb#79 Logger::LogDevice::MODE_TO_CREATE = T.let(T.unsafe(nil), Integer) -# source://logger/lib/logger/log_device.rb#75 +# source://logger//lib/logger/log_device.rb#75 Logger::LogDevice::MODE_TO_OPEN = T.let(T.unsafe(nil), Integer) -# source://logger/lib/logger/period.rb#4 +# source://logger//lib/logger/period.rb#4 module Logger::Period private - # source://logger/lib/logger/period.rb#9 + # source://logger//lib/logger/period.rb#9 def next_rotate_time(now, shift_age); end - # source://logger/lib/logger/period.rb#31 + # source://logger//lib/logger/period.rb#31 def previous_period_end(now, shift_age); end class << self - # source://logger/lib/logger/period.rb#9 + # source://logger//lib/logger/period.rb#9 def next_rotate_time(now, shift_age); end - # source://logger/lib/logger/period.rb#31 + # source://logger//lib/logger/period.rb#31 def previous_period_end(now, shift_age); end end end -# source://logger/lib/logger/period.rb#7 +# source://logger//lib/logger/period.rb#7 Logger::Period::SiD = T.let(T.unsafe(nil), Integer) # \Severity label for logging (max 5 chars). # -# source://logger/lib/logger.rb#743 +# source://logger//lib/logger.rb#743 Logger::SEV_LABEL = T.let(T.unsafe(nil), Array) # Logging severity. # -# source://logger/lib/logger/severity.rb#5 +# source://logger//lib/logger/severity.rb#5 module Logger::Severity class << self - # source://logger/lib/logger/severity.rb#29 + # source://logger//lib/logger/severity.rb#29 def coerce(severity); end end end -# source://logger/lib/logger/severity.rb#19 +# source://logger//lib/logger/severity.rb#19 Logger::Severity::LEVELS = T.let(T.unsafe(nil), Hash) diff --git a/sorbet/rbi/gems/loofah@2.23.1.rbi b/sorbet/rbi/gems/loofah@2.23.1.rbi index 469fedc1b..21317328e 100644 --- a/sorbet/rbi/gems/loofah@2.23.1.rbi +++ b/sorbet/rbi/gems/loofah@2.23.1.rbi @@ -39,14 +39,14 @@ module Loofah # # This method accepts the same parameters as Nokogiri::HTML4::Document.parse # - # source://loofah//lib/loofah.rb#76 + # source://loofah//lib/loofah.rb#139 def document(*args, &block); end # Shortcut for Loofah::HTML4::DocumentFragment.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::HTML4::DocumentFragment.parse # - # source://loofah//lib/loofah.rb#83 + # source://loofah//lib/loofah.rb#140 def fragment(*args, &block); end # Shortcut for Loofah::HTML4::Document.parse(*args, &block) @@ -81,12 +81,12 @@ module Loofah # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#88 + # source://loofah//lib/loofah.rb#141 def scrub_document(string_or_io, method); end # Shortcut for Loofah::HTML4::DocumentFragment.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#93 + # source://loofah//lib/loofah.rb#142 def scrub_fragment(string_or_io, method); end # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) @@ -446,7 +446,7 @@ end module Loofah::HtmlFragmentBehavior mixes_in_class_methods ::Loofah::HtmlFragmentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#197 + # source://loofah//lib/loofah/concerns.rb#201 def serialize; end # source://loofah//lib/loofah/concerns.rb#203 @@ -990,7 +990,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#94 + # source://loofah//lib/loofah/concerns.rb#107 def inner_text(options = T.unsafe(nil)); end # Returns a plain-text version of the markup contained by the document, with HTML entities @@ -1034,7 +1034,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#94 + # source://loofah//lib/loofah/concerns.rb#108 def to_str(options = T.unsafe(nil)); end # Returns a plain-text version of the markup contained by the fragment, with HTML entities diff --git a/sorbet/rbi/gems/mail@2.8.1.rbi b/sorbet/rbi/gems/mail@2.8.1.rbi index 8f3686e96..52a5fc094 100644 --- a/sorbet/rbi/gems/mail@2.8.1.rbi +++ b/sorbet/rbi/gems/mail@2.8.1.rbi @@ -821,23 +821,41 @@ Mail::CcField::NAME = T.let(T.unsafe(nil), String) # source://mail//lib/mail/check_delivery_params.rb#5 module Mail::CheckDeliveryParams class << self - # source://mail//lib/mail/check_delivery_params.rb#10 + # source://mail//lib/mail/check_delivery_params.rb#16 def _deprecated_check(mail); end - # source://mail//lib/mail/check_delivery_params.rb#32 + # source://mail//lib/mail/check_delivery_params.rb#36 def _deprecated_check_addr(addr_name, addr); end - # source://mail//lib/mail/check_delivery_params.rb#18 + # source://mail//lib/mail/check_delivery_params.rb#22 def _deprecated_check_from(addr); end - # source://mail//lib/mail/check_delivery_params.rb#53 + # source://mail//lib/mail/check_delivery_params.rb#62 def _deprecated_check_message(message); end - # source://mail//lib/mail/check_delivery_params.rb#24 + # source://mail//lib/mail/check_delivery_params.rb#30 def _deprecated_check_to(addrs); end - # source://mail//lib/mail/check_delivery_params.rb#38 + # source://mail//lib/mail/check_delivery_params.rb#51 def _deprecated_validate_smtp_addr(addr); end + + # source://mail//lib/mail/check_delivery_params.rb#10 + def check(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#32 + def check_addr(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#18 + def check_from(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#53 + def check_message(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#24 + def check_to(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#38 + def validate_smtp_addr(*args, **_arg1, &block); end end end @@ -1158,7 +1176,10 @@ class Mail::Configuration class << self private + # source://mail//lib/mail/configuration.rb#16 def allocate; end + + # source://mail//lib/mail/configuration.rb#16 def new(*_arg0); end end end @@ -1511,7 +1532,7 @@ class Mail::ContentTypeField < ::Mail::NamedStructuredField # source://mail//lib/mail/fields/content_type_field.rb#47 def attempt_to_clean; end - # source://mail//lib/mail/fields/content_type_field.rb#63 + # source://mail//lib/mail/fields/content_type_field.rb#66 def content_type; end # source://mail//lib/mail/fields/content_type_field.rb#101 @@ -2310,7 +2331,7 @@ class Mail::Field::SyntaxError < ::Mail::Field::FieldError; end # # source://mail//lib/mail/field_list.rb#8 class Mail::FieldList < ::Array - # source://mail//lib/mail/field_list.rb#22 + # source://mail//lib/mail/field_list.rb#29 def <<(field); end # source://mail//lib/mail/field_list.rb#22 @@ -2796,7 +2817,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#76 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -2808,7 +2829,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#75 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -2832,7 +2853,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#77 def member?(key); end # Merges the instantized and the specified hashes together, giving precedence to the values from the second hash @@ -2851,10 +2872,13 @@ class Mail::IndifferentHash < ::Hash # # hash_1.update(hash_2) # => {"key"=>"New Value!"} # - # source://mail//lib/mail/indifferent_hash.rb#57 + # source://mail//lib/mail/indifferent_hash.rb#62 def merge!(other_hash); end + # source://mail//lib/mail/indifferent_hash.rb#34 def regular_update(*_arg0); end + + # source://mail//lib/mail/indifferent_hash.rb#33 def regular_writer(_arg0, _arg1); end # Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second. @@ -2871,7 +2895,7 @@ class Mail::IndifferentHash < ::Hash # hash = HashWithIndifferentAccess.new # hash[:key] = "value" # - # source://mail//lib/mail/indifferent_hash.rb#41 + # source://mail//lib/mail/indifferent_hash.rb#45 def store(key, value); end # source://mail//lib/mail/indifferent_hash.rb#122 @@ -5202,7 +5226,7 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('こんにちは').slice(2..3).to_s # => "にち" # - # source://mail//lib/mail/multibyte/chars.rb#148 + # source://mail//lib/mail/multibyte/chars.rb#169 def [](*args); end # Like String#[]=, except instead of byte offsets you specify character offsets. @@ -5359,7 +5383,7 @@ class Mail::Multibyte::Chars # Mail::Multibyte.mb_chars("ÉL QUE SE ENTERÓ").titleize # => "Él Que Se Enteró" # Mail::Multibyte.mb_chars("日本語").titleize # => "日本語" # - # source://mail//lib/mail/multibyte/chars.rb#210 + # source://mail//lib/mail/multibyte/chars.rb#213 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -5373,12 +5397,12 @@ class Mail::Multibyte::Chars # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#37 + # source://mail//lib/mail/multibyte/chars.rb#38 def to_s; end # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#37 + # source://mail//lib/mail/multibyte/chars.rb#39 def to_str; end # Convert characters in the string to uppercase. @@ -5685,31 +5709,31 @@ class Mail::Multibyte::Unicode::UnicodeDatabase # source://mail//lib/mail/multibyte/unicode.rb#335 def initialize; end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def boundary; end # source://mail//lib/mail/multibyte/unicode.rb#333 def boundary=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def codepoints; end # source://mail//lib/mail/multibyte/unicode.rb#333 def codepoints=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def composition_exclusion; end # source://mail//lib/mail/multibyte/unicode.rb#333 def composition_exclusion=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def composition_map; end # source://mail//lib/mail/multibyte/unicode.rb#333 def composition_map=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def cp1252; end # source://mail//lib/mail/multibyte/unicode.rb#333 @@ -5981,46 +6005,106 @@ end # source://mail//lib/mail/parsers/address_lists_parser.rb#13 class Mail::Parsers::AddressListsParser::AddressListStruct < ::Struct + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def addresses; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def addresses=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def group_names; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def group_names=(_); end class << self + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def new(*_arg0); end end end # source://mail//lib/mail/parsers/address_lists_parser.rb#14 class Mail::Parsers::AddressListsParser::AddressStruct < ::Struct + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def comments; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def comments=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def display_name; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def display_name=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def domain; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def domain=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def error; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def error=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def group; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def group=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def local; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def local=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def obs_domain_list; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def obs_domain_list=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def raw; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def raw=(_); end class << self + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def [](*_arg0); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def inspect; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def keyword_init?; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def members; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def new(*_arg0); end end end @@ -6111,18 +6195,38 @@ end # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 class Mail::Parsers::ContentDispositionParser::ContentDispositionStruct < ::Struct + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def disposition_type; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def disposition_type=(_); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def parameters; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def parameters=(_); end class << self + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def new(*_arg0); end end end @@ -6213,16 +6317,32 @@ end # source://mail//lib/mail/parsers/content_location_parser.rb#13 class Mail::Parsers::ContentLocationParser::ContentLocationStruct < ::Struct + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def location; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def location=(_); end class << self + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def new(*_arg0); end end end @@ -6313,16 +6433,32 @@ end # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 class Mail::Parsers::ContentTransferEncodingParser::ContentTransferEncodingStruct < ::Struct + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def encoding; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def encoding=(_); end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def error=(_); end class << self + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def new(*_arg0); end end end @@ -6413,20 +6549,44 @@ end # source://mail//lib/mail/parsers/content_type_parser.rb#13 class Mail::Parsers::ContentTypeParser::ContentTypeStruct < ::Struct + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def main_type; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def main_type=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def parameters; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def parameters=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def sub_type; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def sub_type=(_); end class << self + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def new(*_arg0); end end end @@ -6517,18 +6677,38 @@ end # source://mail//lib/mail/parsers/date_time_parser.rb#13 class Mail::Parsers::DateTimeParser::DateTimeStruct < ::Struct + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def date_string; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def date_string=(_); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def time_string; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def time_string=(_); end class << self + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def new(*_arg0); end end end @@ -6619,18 +6799,38 @@ end # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 class Mail::Parsers::EnvelopeFromParser::EnvelopeFromStruct < ::Struct + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def address; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def address=(_); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def ctime_date; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def ctime_date=(_); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def error=(_); end class << self + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def new(*_arg0); end end end @@ -6721,16 +6921,32 @@ end # source://mail//lib/mail/parsers/message_ids_parser.rb#13 class Mail::Parsers::MessageIdsParser::MessageIdsStruct < ::Struct + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def message_ids; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def message_ids=(_); end class << self + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def new(*_arg0); end end end @@ -6821,18 +7037,38 @@ end # source://mail//lib/mail/parsers/mime_version_parser.rb#13 class Mail::Parsers::MimeVersionParser::MimeVersionStruct < ::Struct + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def major; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def major=(_); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def minor; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def minor=(_); end class << self + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def new(*_arg0); end end end @@ -6923,16 +7159,32 @@ end # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 class Mail::Parsers::PhraseListsParser::PhraseListsStruct < ::Struct + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def phrases; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def phrases=(_); end class << self + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def new(*_arg0); end end end @@ -7023,20 +7275,44 @@ end # source://mail//lib/mail/parsers/received_parser.rb#13 class Mail::Parsers::ReceivedParser::ReceivedStruct < ::Struct + # source://mail//lib/mail/parsers/received_parser.rb#13 def date; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def date=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def info; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def info=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def time; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def time=(_); end class << self + # source://mail//lib/mail/parsers/received_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def new(*_arg0); end end end @@ -7159,7 +7435,7 @@ class Mail::PartsList # source://mail//lib/mail/parts_list.rb#47 def inspect_structure(parent_id = T.unsafe(nil)); end - # source://mail//lib/mail/parts_list.rb#28 + # source://mail//lib/mail/parts_list.rb#37 def map; end # @raise [NoMethodError] diff --git a/sorbet/rbi/gems/marcel@1.0.4.rbi b/sorbet/rbi/gems/marcel@1.0.4.rbi index 861f2c1c8..9c22bc05d 100644 --- a/sorbet/rbi/gems/marcel@1.0.4.rbi +++ b/sorbet/rbi/gems/marcel@1.0.4.rbi @@ -36,7 +36,7 @@ class Marcel::Magic # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#103 + # source://marcel//lib/marcel/magic.rb#111 def ==(other); end # @return [Boolean] diff --git a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi index 4c51d5603..57cc73d42 100644 --- a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi +++ b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi @@ -4,91 +4,9 @@ # This is an autogenerated file for types exported from the `minitest-reporters` gem. # Please instead update this file by running `bin/tapioca gem minitest-reporters`. -# source://minitest-reporters//lib/minitest/reporters.rb#3 -module Minitest - class << self - # source://minitest/5.25.0/lib/minitest.rb#322 - def __run(reporter, options); end - - # source://minitest/5.25.0/lib/minitest.rb#96 - def after_run(&block); end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def allow_fork; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def allow_fork=(_arg0); end - - # source://minitest/5.25.0/lib/minitest.rb#69 - def autorun; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def backtrace_filter; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def backtrace_filter=(_arg0); end - - # source://minitest/5.25.0/lib/minitest.rb#18 - def cattr_accessor(name); end - - # source://minitest/5.25.0/lib/minitest.rb#1215 - def clock_time; end - - # source://minitest/5.25.0/lib/minitest.rb#302 - def empty_run!(options); end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def extensions; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def extensions=(_arg0); end - - # source://minitest/5.25.0/lib/minitest.rb#335 - def filter_backtrace(bt); end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def info_signal; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def info_signal=(_arg0); end - # source://minitest/5.25.0/lib/minitest.rb#124 - def init_plugins(options); end - - # source://minitest/5.25.0/lib/minitest.rb#108 - def load_plugins; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def parallel_executor; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def parallel_executor=(_arg0); end - - # source://minitest/5.25.0/lib/minitest.rb#142 - def process_args(args = T.unsafe(nil)); end - - # source://minitest/5.25.0/lib/minitest.rb#103 - def register_plugin(name_or_mod); end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def reporter; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def reporter=(_arg0); end - - # source://minitest/5.25.0/lib/minitest.rb#268 - def run(args = T.unsafe(nil)); end - - # source://minitest/5.25.0/lib/minitest.rb#1206 - def run_one_method(klass, method_name); end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def seed; end - - # source://minitest/5.25.0/lib/minitest.rb#19 - def seed=(_arg0); end - end -end +# source://minitest-reporters//lib/minitest/reporters.rb#3 +module Minitest; end # Filters backtraces of exceptions that may arise when running tests. # @@ -355,7 +273,7 @@ class Minitest::Reporters::DefaultReporter < ::Minitest::Reporters::BaseReporter # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#26 def start; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#89 + # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#138 def to_s; end private @@ -450,7 +368,7 @@ class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter # The percentage of tests that were skipped # Keeping old method name with typo for backwards compatibility in custom templates (for now) # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#35 + # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#40 def percent_skipps; end # The percentage of tests that were skipped diff --git a/sorbet/rbi/gems/minitest@5.25.4.rbi b/sorbet/rbi/gems/minitest@5.25.4.rbi index c72a9e321..249b80d9b 100644 --- a/sorbet/rbi/gems/minitest@5.25.4.rbi +++ b/sorbet/rbi/gems/minitest@5.25.4.rbi @@ -7,7 +7,7 @@ # Kernel extensions for minitest # -# source://minitest/lib/minitest/spec.rb#46 +# source://minitest//lib/minitest/spec.rb#46 module Kernel private @@ -45,20 +45,20 @@ module Kernel # # For more information about expectations, see Minitest::Expectations. # - # source://minitest/lib/minitest/spec.rb#82 + # source://minitest//lib/minitest/spec.rb#82 def describe(desc, *additional_desc, &block); end end # The top-level namespace for Minitest. Also the location of the main # runtime. See +Minitest.run+ for more information. # -# source://minitest/lib/minitest/parallel.rb#1 +# source://minitest//lib/minitest/parallel.rb#1 module Minitest class << self # Internal run method. Responsible for telling all Runnable # sub-classes to run. # - # source://minitest/lib/minitest.rb#323 + # source://minitest//lib/minitest.rb#323 def __run(reporter, options); end # A simple hook allowing you to run a block of code after everything @@ -66,74 +66,74 @@ module Minitest # # Minitest.after_run { p $debugging_info } # - # source://minitest/lib/minitest.rb#97 + # source://minitest//lib/minitest.rb#97 def after_run(&block); end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def allow_fork; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def allow_fork=(_arg0); end # Registers Minitest to run at process exit # - # source://minitest/lib/minitest.rb#70 + # source://minitest//lib/minitest.rb#70 def autorun; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def backtrace_filter; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def backtrace_filter=(_arg0); end - # source://minitest/lib/minitest.rb#19 + # source://minitest//lib/minitest.rb#19 def cattr_accessor(name); end - # source://minitest/lib/minitest.rb#1216 + # source://minitest//lib/minitest.rb#1216 def clock_time; end - # source://minitest/lib/minitest.rb#303 + # source://minitest//lib/minitest.rb#303 def empty_run!(options); end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def extensions; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def extensions=(_arg0); end - # source://minitest/lib/minitest.rb#336 + # source://minitest//lib/minitest.rb#336 def filter_backtrace(bt); end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def info_signal; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def info_signal=(_arg0); end - # source://minitest/lib/minitest.rb#125 + # source://minitest//lib/minitest.rb#125 def init_plugins(options); end - # source://minitest/lib/minitest.rb#109 + # source://minitest//lib/minitest.rb#109 def load_plugins; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def parallel_executor; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def parallel_executor=(_arg0); end - # source://minitest/lib/minitest.rb#143 + # source://minitest//lib/minitest.rb#143 def process_args(args = T.unsafe(nil)); end # Register a plugin to be used. Does NOT require / load it. # - # source://minitest/lib/minitest.rb#104 + # source://minitest//lib/minitest.rb#104 def register_plugin(name_or_mod); end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def reporter; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def reporter=(_arg0); end # This is the top-level run method. Everything starts from here. It @@ -155,16 +155,16 @@ module Minitest # Minitest.run_one_method(klass, runnable_method) # klass.new(runnable_method).run # - # source://minitest/lib/minitest.rb#269 + # source://minitest//lib/minitest.rb#269 def run(args = T.unsafe(nil)); end - # source://minitest/lib/minitest.rb#1207 + # source://minitest//lib/minitest.rb#1207 def run_one_method(klass, method_name); end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def seed; end - # source://minitest/lib/minitest.rb#20 + # source://minitest//lib/minitest.rb#20 def seed=(_arg0); end end end @@ -172,24 +172,24 @@ end # Defines the API for Reporters. Subclass this and override whatever # you want. Go nuts. # -# source://minitest/lib/minitest.rb#687 +# source://minitest//lib/minitest.rb#687 class Minitest::AbstractReporter # @return [AbstractReporter] a new instance of AbstractReporter # - # source://minitest/lib/minitest.rb#689 + # source://minitest//lib/minitest.rb#689 def initialize; end # Did this run pass? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#724 + # source://minitest//lib/minitest.rb#724 def passed?; end # About to start running a test. This allows a reporter to show # that it is starting or that we are in the middle of a test run. # - # source://minitest/lib/minitest.rb#703 + # source://minitest//lib/minitest.rb#703 def prerecord(klass, name); end # Output and record the result of the test. Call @@ -197,43 +197,43 @@ class Minitest::AbstractReporter # result character string. Stores the result of the run if the run # did not pass. # - # source://minitest/lib/minitest.rb#712 + # source://minitest//lib/minitest.rb#712 def record(result); end # Outputs the summary of the run. # - # source://minitest/lib/minitest.rb#718 + # source://minitest//lib/minitest.rb#718 def report; end # Starts reporting on the run. # - # source://minitest/lib/minitest.rb#696 + # source://minitest//lib/minitest.rb#696 def start; end - # source://minitest/lib/minitest.rb#728 + # source://minitest//lib/minitest.rb#728 def synchronize(&block); end end # Represents run failures. # -# source://minitest/lib/minitest.rb#1020 +# source://minitest//lib/minitest.rb#1020 class Minitest::Assertion < ::Exception - # source://minitest/lib/minitest.rb#1023 + # source://minitest//lib/minitest.rb#1023 def error; end # Where was this run before an assertion was raised? # - # source://minitest/lib/minitest.rb#1030 + # source://minitest//lib/minitest.rb#1030 def location; end - # source://minitest/lib/minitest.rb#1038 + # source://minitest//lib/minitest.rb#1038 def result_code; end - # source://minitest/lib/minitest.rb#1042 + # source://minitest//lib/minitest.rb#1042 def result_label; end end -# source://minitest/lib/minitest.rb#1021 +# source://minitest//lib/minitest.rb#1021 Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp) # Minitest Assertions. All assertion methods accept a +msg+ which is @@ -245,22 +245,22 @@ Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp) # provided by the thing including Assertions. See Minitest::Runnable # for an example. # -# source://minitest/lib/minitest/assertions.rb#16 +# source://minitest//lib/minitest/assertions.rb#16 module Minitest::Assertions - # source://minitest/lib/minitest/assertions.rb#181 + # source://minitest//lib/minitest/assertions.rb#181 def _synchronize; end - # source://minitest/lib/minitest/assertions.rb#194 + # source://minitest//lib/minitest/assertions.rb#194 def _where; end # Fails unless +test+ is truthy. # - # source://minitest/lib/minitest/assertions.rb#171 + # source://minitest//lib/minitest/assertions.rb#171 def assert(test, msg = T.unsafe(nil)); end # Fails unless +obj+ is empty. # - # source://minitest/lib/minitest/assertions.rb#188 + # source://minitest//lib/minitest/assertions.rb#188 def assert_empty(obj, msg = T.unsafe(nil)); end # Fails unless exp == act printing the difference between @@ -275,7 +275,7 @@ module Minitest::Assertions # # See also: Minitest::Assertions.diff # - # source://minitest/lib/minitest/assertions.rb#214 + # source://minitest//lib/minitest/assertions.rb#214 def assert_equal(exp, act, msg = T.unsafe(nil)); end # For comparing Floats. Fails unless +exp+ and +act+ are within +delta+ @@ -283,45 +283,45 @@ module Minitest::Assertions # # assert_in_delta Math::PI, (22.0 / 7.0), 0.01 # - # source://minitest/lib/minitest/assertions.rb#235 + # source://minitest//lib/minitest/assertions.rb#235 def assert_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end # For comparing Floats. Fails unless +exp+ and +act+ have a relative # error less than +epsilon+. # - # source://minitest/lib/minitest/assertions.rb#247 + # source://minitest//lib/minitest/assertions.rb#247 def assert_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails unless +collection+ includes +obj+. # - # source://minitest/lib/minitest/assertions.rb#254 + # source://minitest//lib/minitest/assertions.rb#254 def assert_includes(collection, obj, msg = T.unsafe(nil)); end # Fails unless +obj+ is an instance of +cls+. # - # source://minitest/lib/minitest/assertions.rb#265 + # source://minitest//lib/minitest/assertions.rb#265 def assert_instance_of(cls, obj, msg = T.unsafe(nil)); end # Fails unless +obj+ is a kind of +cls+. # - # source://minitest/lib/minitest/assertions.rb#276 + # source://minitest//lib/minitest/assertions.rb#276 def assert_kind_of(cls, obj, msg = T.unsafe(nil)); end # Fails unless +matcher+ =~ +obj+. # - # source://minitest/lib/minitest/assertions.rb#287 + # source://minitest//lib/minitest/assertions.rb#287 def assert_match(matcher, obj, msg = T.unsafe(nil)); end # Fails unless +obj+ is nil # - # source://minitest/lib/minitest/assertions.rb#299 + # source://minitest//lib/minitest/assertions.rb#299 def assert_nil(obj, msg = T.unsafe(nil)); end # For testing with binary operators. Eg: # # assert_operator 5, :<=, 4 # - # source://minitest/lib/minitest/assertions.rb#309 + # source://minitest//lib/minitest/assertions.rb#309 def assert_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails if stdout or stderr do not output the expected results. @@ -335,12 +335,12 @@ module Minitest::Assertions # # See also: #assert_silent # - # source://minitest/lib/minitest/assertions.rb#327 + # source://minitest//lib/minitest/assertions.rb#327 def assert_output(stdout = T.unsafe(nil), stderr = T.unsafe(nil)); end # Fails unless +path+ exists. # - # source://minitest/lib/minitest/assertions.rb#351 + # source://minitest//lib/minitest/assertions.rb#351 def assert_path_exists(path, msg = T.unsafe(nil)); end # For testing with pattern matching (only supported with Ruby 3.0 and later) @@ -358,7 +358,7 @@ module Minitest::Assertions # # @raise [NotImplementedError] # - # source://minitest/lib/minitest/assertions.rb#370 + # source://minitest//lib/minitest/assertions.rb#370 def assert_pattern; end # For testing with predicates. Eg: @@ -369,7 +369,7 @@ module Minitest::Assertions # # str.must_be :empty? # - # source://minitest/lib/minitest/assertions.rb#391 + # source://minitest//lib/minitest/assertions.rb#391 def assert_predicate(o1, op, msg = T.unsafe(nil)); end # Fails unless the block raises one of +exp+. Returns the @@ -393,37 +393,37 @@ module Minitest::Assertions # # assert_equal 'This is really bad', error.message # - # source://minitest/lib/minitest/assertions.rb#418 + # source://minitest//lib/minitest/assertions.rb#418 def assert_raises(*exp); end # Fails unless +obj+ responds to +meth+. # include_all defaults to false to match Object#respond_to? # - # source://minitest/lib/minitest/assertions.rb#450 + # source://minitest//lib/minitest/assertions.rb#450 def assert_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end # Fails unless +exp+ and +act+ are #equal? # - # source://minitest/lib/minitest/assertions.rb#460 + # source://minitest//lib/minitest/assertions.rb#460 def assert_same(exp, act, msg = T.unsafe(nil)); end # +send_ary+ is a receiver, message and arguments. # # Fails unless the call returns a true value # - # source://minitest/lib/minitest/assertions.rb#473 + # source://minitest//lib/minitest/assertions.rb#473 def assert_send(send_ary, m = T.unsafe(nil)); end # Fails if the block outputs anything to stderr or stdout. # # See also: #assert_output # - # source://minitest/lib/minitest/assertions.rb#488 + # source://minitest//lib/minitest/assertions.rb#488 def assert_silent; end # Fails unless the block throws +sym+ # - # source://minitest/lib/minitest/assertions.rb#497 + # source://minitest//lib/minitest/assertions.rb#497 def assert_throws(sym, msg = T.unsafe(nil)); end # Captures $stdout and $stderr into strings: @@ -440,7 +440,7 @@ module Minitest::Assertions # capture IO for subprocesses. Use #capture_subprocess_io for # that. # - # source://minitest/lib/minitest/assertions.rb#538 + # source://minitest//lib/minitest/assertions.rb#538 def capture_io; end # Captures $stdout and $stderr into strings, using Tempfile to @@ -457,7 +457,7 @@ module Minitest::Assertions # NOTE: This method is approximately 10x slower than #capture_io so # only use it when you need to test the output of a subprocess. # - # source://minitest/lib/minitest/assertions.rb#571 + # source://minitest//lib/minitest/assertions.rb#571 def capture_subprocess_io; end # Returns a diff between +exp+ and +act+. If there is no known @@ -467,29 +467,29 @@ module Minitest::Assertions # # See +things_to_diff+ for more info. # - # source://minitest/lib/minitest/assertions.rb#57 + # source://minitest//lib/minitest/assertions.rb#57 def diff(exp, act); end # Returns details for exception +e+ # - # source://minitest/lib/minitest/assertions.rb#603 + # source://minitest//lib/minitest/assertions.rb#603 def exception_details(e, msg); end # Fails after a given date (in the local time zone). This allows # you to put time-bombs in your tests if you need to keep # something around until a later date lest you forget about it. # - # source://minitest/lib/minitest/assertions.rb#619 + # source://minitest//lib/minitest/assertions.rb#619 def fail_after(y, m, d, msg); end # Fails with +msg+. # - # source://minitest/lib/minitest/assertions.rb#626 + # source://minitest//lib/minitest/assertions.rb#626 def flunk(msg = T.unsafe(nil)); end # Returns a proc that will output +msg+ along with the default message. # - # source://minitest/lib/minitest/assertions.rb#634 + # source://minitest//lib/minitest/assertions.rb#634 def message(msg = T.unsafe(nil), ending = T.unsafe(nil), &default); end # This returns a human-readable version of +obj+. By default @@ -498,7 +498,7 @@ module Minitest::Assertions # # See Minitest::Test.make_my_diffs_pretty! # - # source://minitest/lib/minitest/assertions.rb#127 + # source://minitest//lib/minitest/assertions.rb#127 def mu_pp(obj); end # This returns a diff-able more human-readable version of +obj+. @@ -506,67 +506,67 @@ module Minitest::Assertions # newlines and makes hex-values (like object_ids) generic. This # uses mu_pp to do the first pass and then cleans it up. # - # source://minitest/lib/minitest/assertions.rb#145 + # source://minitest//lib/minitest/assertions.rb#145 def mu_pp_for_diff(obj); end # used for counting assertions # - # source://minitest/lib/minitest/assertions.rb#645 + # source://minitest//lib/minitest/assertions.rb#645 def pass(_msg = T.unsafe(nil)); end # Fails if +test+ is truthy. # - # source://minitest/lib/minitest/assertions.rb#652 + # source://minitest//lib/minitest/assertions.rb#652 def refute(test, msg = T.unsafe(nil)); end # Fails if +obj+ is empty. # - # source://minitest/lib/minitest/assertions.rb#660 + # source://minitest//lib/minitest/assertions.rb#660 def refute_empty(obj, msg = T.unsafe(nil)); end # Fails if exp == act. # # For floats use refute_in_delta. # - # source://minitest/lib/minitest/assertions.rb#671 + # source://minitest//lib/minitest/assertions.rb#671 def refute_equal(exp, act, msg = T.unsafe(nil)); end # For comparing Floats. Fails if +exp+ is within +delta+ of +act+. # # refute_in_delta Math::PI, (22.0 / 7.0) # - # source://minitest/lib/minitest/assertions.rb#683 + # source://minitest//lib/minitest/assertions.rb#683 def refute_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end # For comparing Floats. Fails if +exp+ and +act+ have a relative error # less than +epsilon+. # - # source://minitest/lib/minitest/assertions.rb#695 + # source://minitest//lib/minitest/assertions.rb#695 def refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails if +collection+ includes +obj+. # - # source://minitest/lib/minitest/assertions.rb#702 + # source://minitest//lib/minitest/assertions.rb#702 def refute_includes(collection, obj, msg = T.unsafe(nil)); end # Fails if +obj+ is an instance of +cls+. # - # source://minitest/lib/minitest/assertions.rb#713 + # source://minitest//lib/minitest/assertions.rb#713 def refute_instance_of(cls, obj, msg = T.unsafe(nil)); end # Fails if +obj+ is a kind of +cls+. # - # source://minitest/lib/minitest/assertions.rb#723 + # source://minitest//lib/minitest/assertions.rb#723 def refute_kind_of(cls, obj, msg = T.unsafe(nil)); end # Fails if +matcher+ =~ +obj+. # - # source://minitest/lib/minitest/assertions.rb#731 + # source://minitest//lib/minitest/assertions.rb#731 def refute_match(matcher, obj, msg = T.unsafe(nil)); end # Fails if +obj+ is nil. # - # source://minitest/lib/minitest/assertions.rb#741 + # source://minitest//lib/minitest/assertions.rb#741 def refute_nil(obj, msg = T.unsafe(nil)); end # Fails if +o1+ is not +op+ +o2+. Eg: @@ -574,12 +574,12 @@ module Minitest::Assertions # refute_operator 1, :>, 2 #=> pass # refute_operator 1, :<, 2 #=> fail # - # source://minitest/lib/minitest/assertions.rb#776 + # source://minitest//lib/minitest/assertions.rb#776 def refute_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails if +path+ exists. # - # source://minitest/lib/minitest/assertions.rb#785 + # source://minitest//lib/minitest/assertions.rb#785 def refute_path_exists(path, msg = T.unsafe(nil)); end # For testing with pattern matching (only supported with Ruby 3.0 and later) @@ -595,7 +595,7 @@ module Minitest::Assertions # # @raise [NotImplementedError] # - # source://minitest/lib/minitest/assertions.rb#758 + # source://minitest//lib/minitest/assertions.rb#758 def refute_pattern; end # For testing with predicates. @@ -606,18 +606,18 @@ module Minitest::Assertions # # str.wont_be :empty? # - # source://minitest/lib/minitest/assertions.rb#799 + # source://minitest//lib/minitest/assertions.rb#799 def refute_predicate(o1, op, msg = T.unsafe(nil)); end # Fails if +obj+ responds to the message +meth+. # include_all defaults to false to match Object#respond_to? # - # source://minitest/lib/minitest/assertions.rb#808 + # source://minitest//lib/minitest/assertions.rb#808 def refute_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end # Fails if +exp+ is the same (by object identity) as +act+. # - # source://minitest/lib/minitest/assertions.rb#817 + # source://minitest//lib/minitest/assertions.rb#817 def refute_same(exp, act, msg = T.unsafe(nil)); end # Skips the current run. If run in verbose-mode, the skipped run @@ -626,7 +626,7 @@ module Minitest::Assertions # # @raise [Minitest::Skip] # - # source://minitest/lib/minitest/assertions.rb#830 + # source://minitest//lib/minitest/assertions.rb#830 def skip(msg = T.unsafe(nil), _ignored = T.unsafe(nil)); end # Skips the current run until a given date (in the local time @@ -634,14 +634,14 @@ module Minitest::Assertions # date, but still holds you accountable and prevents you from # forgetting it. # - # source://minitest/lib/minitest/assertions.rb#842 + # source://minitest//lib/minitest/assertions.rb#842 def skip_until(y, m, d, msg); end # Was this testcase skipped? Meant for #teardown. # # @return [Boolean] # - # source://minitest/lib/minitest/assertions.rb#851 + # source://minitest//lib/minitest/assertions.rb#851 def skipped?; end # Returns things to diff [expect, butwas], or [nil, nil] if nothing to diff. @@ -653,231 +653,246 @@ module Minitest::Assertions # 3. or: Strings are equal to each other (but maybe different encodings?). # 4. and: we found a diff executable. # - # source://minitest/lib/minitest/assertions.rb#102 + # source://minitest//lib/minitest/assertions.rb#102 def things_to_diff(exp, act); end class << self # Returns the diff command to use in #diff. Tries to intelligently # figure out what diff to use. # - # source://minitest/lib/minitest/assertions.rb#27 + # source://minitest//lib/minitest/assertions.rb#27 def diff; end # Set the diff command to use in #diff. # - # source://minitest/lib/minitest/assertions.rb#45 + # source://minitest//lib/minitest/assertions.rb#45 def diff=(o); end end end -# source://minitest/lib/minitest/assertions.rb#199 +# source://minitest//lib/minitest/assertions.rb#199 Minitest::Assertions::E = T.let(T.unsafe(nil), String) -# source://minitest/lib/minitest/assertions.rb#17 +# source://minitest//lib/minitest/assertions.rb#17 Minitest::Assertions::UNDEFINED = T.let(T.unsafe(nil), Object) # The standard backtrace filter for minitest. # # See Minitest.backtrace_filter=. # -# source://minitest/lib/minitest.rb#1175 +# source://minitest//lib/minitest.rb#1175 class Minitest::BacktraceFilter # @return [BacktraceFilter] a new instance of BacktraceFilter # - # source://minitest/lib/minitest.rb#1184 + # source://minitest//lib/minitest.rb#1184 def initialize(regexp = T.unsafe(nil)); end # Filter +bt+ to something useful. Returns the whole thing if # $DEBUG (ruby) or $MT_DEBUG (env). # - # source://minitest/lib/minitest.rb#1192 + # source://minitest//lib/minitest.rb#1192 def filter(bt); end # The regular expression to use to filter backtraces. Defaults to +MT_RE+. # - # source://minitest/lib/minitest.rb#1182 + # source://minitest//lib/minitest.rb#1182 def regexp; end # The regular expression to use to filter backtraces. Defaults to +MT_RE+. # - # source://minitest/lib/minitest.rb#1182 + # source://minitest//lib/minitest.rb#1182 def regexp=(_arg0); end end -# source://minitest/lib/minitest.rb#1177 +# source://minitest//lib/minitest.rb#1177 Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp) # Dispatch to multiple reporters as one. # -# source://minitest/lib/minitest.rb#969 +# source://minitest//lib/minitest.rb#969 class Minitest::CompositeReporter < ::Minitest::AbstractReporter # @return [CompositeReporter] a new instance of CompositeReporter # - # source://minitest/lib/minitest.rb#975 + # source://minitest//lib/minitest.rb#975 def initialize(*reporters); end # Add another reporter to the mix. # - # source://minitest/lib/minitest.rb#987 + # source://minitest//lib/minitest.rb#987 def <<(reporter); end - # source://minitest/lib/minitest.rb#980 + # source://minitest//lib/minitest.rb#980 def io; end # @return [Boolean] # - # source://minitest/lib/minitest.rb#991 + # source://minitest//lib/minitest.rb#991 def passed?; end - # source://minitest/lib/minitest.rb#999 + # source://minitest//lib/minitest.rb#999 def prerecord(klass, name); end - # source://minitest/lib/minitest.rb#1006 + # source://minitest//lib/minitest.rb#1006 def record(result); end - # source://minitest/lib/minitest.rb#1012 + # source://minitest//lib/minitest.rb#1012 def report; end # The list of reporters to dispatch to. # - # source://minitest/lib/minitest.rb#973 + # source://minitest//lib/minitest.rb#973 def reporters; end # The list of reporters to dispatch to. # - # source://minitest/lib/minitest.rb#973 + # source://minitest//lib/minitest.rb#973 def reporters=(_arg0); end - # source://minitest/lib/minitest.rb#995 + # source://minitest//lib/minitest.rb#995 def start; end end # Compresses backtraces. # -# source://minitest/lib/minitest/compress.rb#5 +# source://minitest//lib/minitest/compress.rb#5 module Minitest::Compress # Takes a backtrace (array of strings) and compresses repeating # cycles in it to make it more readable. # - # source://minitest/lib/minitest/compress.rb#11 + # source://minitest//lib/minitest/compress.rb#11 def compress(orig); end end -# source://minitest/lib/minitest/spec.rb#41 +# source://minitest//lib/minitest/spec.rb#41 class Minitest::Expectation < ::Struct + # source://minitest//lib/minitest/spec.rb#41 def ctx; end + + # source://minitest//lib/minitest/spec.rb#41 def ctx=(_); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#116 def must_be(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#47 def must_be_close_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#29 def must_be_empty(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#76 def must_be_instance_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#85 def must_be_kind_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#103 def must_be_nil(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#161 def must_be_same_as(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#170 def must_be_silent(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#49 def must_be_within_delta(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#38 def must_equal(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#67 def must_include(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#94 def must_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#125 def must_output(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#134 def must_pattern_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#143 def must_raise(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#152 def must_respond_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#179 def must_throw(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#188 def path_must_exist(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#197 def path_wont_exist(*args, **_arg1); end + # source://minitest//lib/minitest/spec.rb#41 def target; end + + # source://minitest//lib/minitest/spec.rb#41 def target=(_); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#293 def wont_be(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#224 def wont_be_close_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#206 def wont_be_empty(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#280 def wont_be_nil(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#320 def wont_be_same_as(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#215 def wont_equal(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#244 def wont_include(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#271 def wont_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#302 def wont_pattern_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#311 def wont_respond_to(*args, **_arg1); end class << self + # source://minitest//lib/minitest/spec.rb#41 def [](*_arg0); end + + # source://minitest//lib/minitest/spec.rb#41 def inspect; end + + # source://minitest//lib/minitest/spec.rb#41 def keyword_init?; end + + # source://minitest//lib/minitest/spec.rb#41 def members; end + + # source://minitest//lib/minitest/spec.rb#41 def new(*_arg0); end end end @@ -900,108 +915,108 @@ end # end # end # -# source://minitest/lib/minitest/expectations.rb#20 +# source://minitest//lib/minitest/expectations.rb#20 module Minitest::Expectations - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#116 def must_be(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#47 def must_be_close_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#29 def must_be_empty(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#76 def must_be_instance_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#85 def must_be_kind_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#103 def must_be_nil(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#161 def must_be_same_as(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#170 def must_be_silent(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#49 def must_be_within_delta(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#38 def must_equal(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#67 def must_include(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#94 def must_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#125 def must_output(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#134 def must_pattern_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#143 def must_raise(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#152 def must_respond_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#179 def must_throw(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#188 def path_must_exist(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#197 def path_wont_exist(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#293 def wont_be(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#224 def wont_be_close_to(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#206 def wont_be_empty(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#280 def wont_be_nil(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#320 def wont_be_same_as(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#215 def wont_equal(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#244 def wont_include(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#271 def wont_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#302 def wont_pattern_match(*args, **_arg1); end - # source://minitest/lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#311 def wont_respond_to(*args, **_arg1); end end @@ -1019,100 +1034,100 @@ end # # ... lots of test methods ... # end # -# source://minitest/lib/minitest.rb#1119 +# source://minitest//lib/minitest.rb#1119 module Minitest::Guard # Is this running on jruby? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1124 + # source://minitest//lib/minitest.rb#1124 def jruby?(platform = T.unsafe(nil)); end # Is this running on maglev? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1131 + # source://minitest//lib/minitest.rb#1131 def maglev?(platform = T.unsafe(nil)); end # Is this running on mri? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1141 + # source://minitest//lib/minitest.rb#1141 def mri?(platform = T.unsafe(nil)); end # Is this running on macOS? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1148 + # source://minitest//lib/minitest.rb#1148 def osx?(platform = T.unsafe(nil)); end # Is this running on rubinius? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1155 + # source://minitest//lib/minitest.rb#1155 def rubinius?(platform = T.unsafe(nil)); end # Is this running on windows? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#1165 + # source://minitest//lib/minitest.rb#1165 def windows?(platform = T.unsafe(nil)); end end -# source://minitest/lib/minitest/parallel.rb#2 +# source://minitest//lib/minitest/parallel.rb#2 module Minitest::Parallel; end # The engine used to run multiple tests in parallel. # -# source://minitest/lib/minitest/parallel.rb#7 +# source://minitest//lib/minitest/parallel.rb#7 class Minitest::Parallel::Executor # Create a parallel test executor of with +size+ workers. # # @return [Executor] a new instance of Executor # - # source://minitest/lib/minitest/parallel.rb#17 + # source://minitest//lib/minitest/parallel.rb#17 def initialize(size); end # Add a job to the queue # - # source://minitest/lib/minitest/parallel.rb#43 + # source://minitest//lib/minitest/parallel.rb#43 def <<(work); end # Shuts down the pool of workers by signalling them to quit and # waiting for them all to finish what they're currently working # on. # - # source://minitest/lib/minitest/parallel.rb#50 + # source://minitest//lib/minitest/parallel.rb#50 def shutdown; end # The size of the pool of workers. # - # source://minitest/lib/minitest/parallel.rb#12 + # source://minitest//lib/minitest/parallel.rb#12 def size; end # Start the executor # - # source://minitest/lib/minitest/parallel.rb#26 + # source://minitest//lib/minitest/parallel.rb#26 def start; end end -# source://minitest/lib/minitest/parallel.rb#56 +# source://minitest//lib/minitest/parallel.rb#56 module Minitest::Parallel::Test - # source://minitest/lib/minitest/parallel.rb#57 + # source://minitest//lib/minitest/parallel.rb#57 def _synchronize; end end -# source://minitest/lib/minitest/parallel.rb#59 +# source://minitest//lib/minitest/parallel.rb#59 module Minitest::Parallel::Test::ClassMethods - # source://minitest/lib/minitest/parallel.rb#60 + # source://minitest//lib/minitest/parallel.rb#60 def run_one_method(klass, method_name, reporter); end - # source://minitest/lib/minitest/parallel.rb#64 + # source://minitest//lib/minitest/parallel.rb#64 def test_order; end end @@ -1123,36 +1138,36 @@ end # plugin, pull this out of the composite and replace it with your # own. # -# source://minitest/lib/minitest.rb#759 +# source://minitest//lib/minitest.rb#759 class Minitest::ProgressReporter < ::Minitest::Reporter - # source://minitest/lib/minitest.rb#760 + # source://minitest//lib/minitest.rb#760 def prerecord(klass, name); end - # source://minitest/lib/minitest.rb#767 + # source://minitest//lib/minitest.rb#767 def record(result); end end # Shared code for anything that can get passed to a Reporter. See # Minitest::Test & Minitest::Result. # -# source://minitest/lib/minitest.rb#581 +# source://minitest//lib/minitest.rb#581 module Minitest::Reportable # @raise [NotImplementedError] # - # source://minitest/lib/minitest.rb#603 + # source://minitest//lib/minitest.rb#603 def class_name; end # Did this run error? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#624 + # source://minitest//lib/minitest.rb#624 def error?; end # The location identifier of this test. Depends on a method # existing called class_name. # - # source://minitest/lib/minitest.rb#598 + # source://minitest//lib/minitest.rb#598 def location; end # Did this run pass? @@ -1162,50 +1177,50 @@ module Minitest::Reportable # # @return [Boolean] # - # source://minitest/lib/minitest.rb#588 + # source://minitest//lib/minitest.rb#588 def passed?; end # Returns ".", "F", or "E" based on the result of the run. # - # source://minitest/lib/minitest.rb#610 + # source://minitest//lib/minitest.rb#610 def result_code; end # Was this run skipped? # # @return [Boolean] # - # source://minitest/lib/minitest.rb#617 + # source://minitest//lib/minitest.rb#617 def skipped?; end end -# source://minitest/lib/minitest.rb#592 +# source://minitest//lib/minitest.rb#592 Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String) -# source://minitest/lib/minitest.rb#735 +# source://minitest//lib/minitest.rb#735 class Minitest::Reporter < ::Minitest::AbstractReporter # @return [Reporter] a new instance of Reporter # - # source://minitest/lib/minitest.rb#744 + # source://minitest//lib/minitest.rb#744 def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end # The IO used to report. # - # source://minitest/lib/minitest.rb#737 + # source://minitest//lib/minitest.rb#737 def io; end # The IO used to report. # - # source://minitest/lib/minitest.rb#737 + # source://minitest//lib/minitest.rb#737 def io=(_arg0); end # Command-line options for this run. # - # source://minitest/lib/minitest.rb#742 + # source://minitest//lib/minitest.rb#742 def options; end # Command-line options for this run. # - # source://minitest/lib/minitest.rb#742 + # source://minitest//lib/minitest.rb#742 def options=(_arg0); end end @@ -1215,80 +1230,80 @@ end # blow up. By using Result.from(a_test) you can be reasonably sure # that the test result can be marshalled. # -# source://minitest/lib/minitest.rb#636 +# source://minitest//lib/minitest.rb#636 class Minitest::Result < ::Minitest::Runnable include ::Minitest::Reportable - # source://minitest/lib/minitest.rb#670 + # source://minitest//lib/minitest.rb#670 def class_name; end # The class name of the test result. # - # source://minitest/lib/minitest.rb#645 + # source://minitest//lib/minitest.rb#645 def klass; end # The class name of the test result. # - # source://minitest/lib/minitest.rb#645 + # source://minitest//lib/minitest.rb#645 def klass=(_arg0); end # The location of the test method. # - # source://minitest/lib/minitest.rb#650 + # source://minitest//lib/minitest.rb#650 def source_location; end # The location of the test method. # - # source://minitest/lib/minitest.rb#650 + # source://minitest//lib/minitest.rb#650 def source_location=(_arg0); end - # source://minitest/lib/minitest.rb#674 + # source://minitest//lib/minitest.rb#674 def to_s; end class << self # Create a new test result from a Runnable instance. # - # source://minitest/lib/minitest.rb#655 + # source://minitest//lib/minitest.rb#655 def from(runnable); end end end # re-open # -# source://minitest/lib/minitest.rb#349 +# source://minitest//lib/minitest.rb#349 class Minitest::Runnable # @return [Runnable] a new instance of Runnable # - # source://minitest/lib/minitest.rb#512 + # source://minitest//lib/minitest.rb#512 def initialize(name); end # Number of assertions executed in this run. # - # source://minitest/lib/minitest.rb#353 + # source://minitest//lib/minitest.rb#353 def assertions; end # Number of assertions executed in this run. # - # source://minitest/lib/minitest.rb#353 + # source://minitest//lib/minitest.rb#353 def assertions=(_arg0); end - # source://minitest/lib/minitest.rb#508 + # source://minitest//lib/minitest.rb#508 def failure; end # An assertion raised during the run, if any. # - # source://minitest/lib/minitest.rb#358 + # source://minitest//lib/minitest.rb#358 def failures; end # An assertion raised during the run, if any. # - # source://minitest/lib/minitest.rb#358 + # source://minitest//lib/minitest.rb#358 def failures=(_arg0); end - # source://minitest/lib/minitest.rb#494 + # source://minitest//lib/minitest.rb#494 def marshal_dump; end - # source://minitest/lib/minitest.rb#504 + # source://minitest//lib/minitest.rb#504 def marshal_load(ary); end # Metadata you attach to the test results that get sent to the reporter. @@ -1298,29 +1313,29 @@ class Minitest::Runnable # NOTE: this data *must* be plain (read: marshal-able) data! # Hashes! Arrays! Strings! # - # source://minitest/lib/minitest.rb#527 + # source://minitest//lib/minitest.rb#527 def metadata; end # Sets metadata, mainly used for +Result.from+. # - # source://minitest/lib/minitest.rb#534 + # source://minitest//lib/minitest.rb#534 def metadata=(_arg0); end # Returns true if metadata exists. # # @return [Boolean] # - # source://minitest/lib/minitest.rb#539 + # source://minitest//lib/minitest.rb#539 def metadata?; end # Name of the run. # - # source://minitest/lib/minitest.rb#376 + # source://minitest//lib/minitest.rb#376 def name; end # Set the name of the run. # - # source://minitest/lib/minitest.rb#383 + # source://minitest//lib/minitest.rb#383 def name=(o); end # Did this run pass? @@ -1331,7 +1346,7 @@ class Minitest::Runnable # @raise [NotImplementedError] # @return [Boolean] # - # source://minitest/lib/minitest.rb#556 + # source://minitest//lib/minitest.rb#556 def passed?; end # Returns a single character string to print based on the result @@ -1340,14 +1355,14 @@ class Minitest::Runnable # # @raise [NotImplementedError] # - # source://minitest/lib/minitest.rb#565 + # source://minitest//lib/minitest.rb#565 def result_code; end # Runs a single method. Needs to return self. # # @raise [NotImplementedError] # - # source://minitest/lib/minitest.rb#546 + # source://minitest//lib/minitest.rb#546 def run; end # Was this run skipped? See #passed? for more information. @@ -1355,42 +1370,42 @@ class Minitest::Runnable # @raise [NotImplementedError] # @return [Boolean] # - # source://minitest/lib/minitest.rb#572 + # source://minitest//lib/minitest.rb#572 def skipped?; end # The time it took to run. # - # source://minitest/lib/minitest.rb#363 + # source://minitest//lib/minitest.rb#363 def time; end # The time it took to run. # - # source://minitest/lib/minitest.rb#363 + # source://minitest//lib/minitest.rb#363 def time=(_arg0); end - # source://minitest/lib/minitest.rb#365 + # source://minitest//lib/minitest.rb#365 def time_it; end class << self - # source://minitest/lib/minitest.rb#1226 + # source://minitest//lib/minitest.rb#1226 def inherited(klass); end # Returns all instance methods matching the pattern +re+. # - # source://minitest/lib/minitest.rb#390 + # source://minitest//lib/minitest.rb#390 def methods_matching(re); end - # source://minitest/lib/minitest.rb#464 + # source://minitest//lib/minitest.rb#464 def on_signal(name, action); end - # source://minitest/lib/minitest.rb#394 + # source://minitest//lib/minitest.rb#394 def reset; end # Responsible for running all runnable methods in a given class, # each in its own instance. Each instance is passed to the # reporter to record. # - # source://minitest/lib/minitest.rb#405 + # source://minitest//lib/minitest.rb#405 def run(reporter, options = T.unsafe(nil)); end # Runs a single method and has the reporter record the result. @@ -1398,7 +1413,7 @@ class Minitest::Runnable # that subclasses can specialize the running of an individual # test. See Minitest::ParallelTest::ClassMethods for an example. # - # source://minitest/lib/minitest.rb#445 + # source://minitest//lib/minitest.rb#445 def run_one_method(klass, method_name, reporter); end # Each subclass of Runnable is responsible for overriding this @@ -1406,33 +1421,33 @@ class Minitest::Runnable # # @raise [NotImplementedError] # - # source://minitest/lib/minitest.rb#481 + # source://minitest//lib/minitest.rb#481 def runnable_methods; end # Returns all subclasses of Runnable. # - # source://minitest/lib/minitest.rb#488 + # source://minitest//lib/minitest.rb#488 def runnables; end # Defines the order to run tests (:random by default). Override # this or use a convenience method to change it for your tests. # - # source://minitest/lib/minitest.rb#454 + # source://minitest//lib/minitest.rb#454 def test_order; end - # source://minitest/lib/minitest.rb#458 + # source://minitest//lib/minitest.rb#458 def with_info_handler(reporter, &block); end end end -# source://minitest/lib/minitest.rb#462 +# source://minitest//lib/minitest.rb#462 Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash) # Assertion raised when skipping a run. # -# source://minitest/lib/minitest.rb#1050 +# source://minitest//lib/minitest.rb#1050 class Minitest::Skip < ::Minitest::Assertion - # source://minitest/lib/minitest.rb#1051 + # source://minitest//lib/minitest.rb#1051 def result_label; end end @@ -1440,25 +1455,25 @@ end # # For a list of expectations, see Minitest::Expectations. # -# source://minitest/lib/minitest/spec.rb#107 +# source://minitest//lib/minitest/spec.rb#107 class Minitest::Spec < ::Minitest::Test include ::Minitest::Spec::DSL::InstanceMethods extend ::Minitest::Spec::DSL # @return [Spec] a new instance of Spec # - # source://minitest/lib/minitest/spec.rb#113 + # source://minitest//lib/minitest/spec.rb#113 def initialize(name); end class << self - # source://minitest/lib/minitest/spec.rb#109 + # source://minitest//lib/minitest/spec.rb#109 def current; end end end # Oh look! A Minitest::Spec::DSL module! Eat your heart out DHH. # -# source://minitest/lib/minitest/spec.rb#121 +# source://minitest//lib/minitest/spec.rb#121 module Minitest::Spec::DSL # Define an 'after' action. Inherits the way normal methods should. # @@ -1466,7 +1481,7 @@ module Minitest::Spec::DSL # # Equivalent to Minitest::Test#teardown. # - # source://minitest/lib/minitest/spec.rb#206 + # source://minitest//lib/minitest/spec.rb#206 def after(_type = T.unsafe(nil), &block); end # Define a 'before' action. Inherits the way normal methods should. @@ -1475,19 +1490,19 @@ module Minitest::Spec::DSL # # Equivalent to Minitest::Test#setup. # - # source://minitest/lib/minitest/spec.rb#192 + # source://minitest//lib/minitest/spec.rb#192 def before(_type = T.unsafe(nil), &block); end - # source://minitest/lib/minitest/spec.rb#175 + # source://minitest//lib/minitest/spec.rb#175 def children; end - # source://minitest/lib/minitest/spec.rb#271 + # source://minitest//lib/minitest/spec.rb#271 def create(name, desc); end - # source://minitest/lib/minitest/spec.rb#292 + # source://minitest//lib/minitest/spec.rb#292 def desc; end - # source://minitest/lib/minitest/spec.rb#171 + # source://minitest//lib/minitest/spec.rb#171 def describe_stack; end # Define an expectation with name +desc+. Name gets morphed to a @@ -1500,7 +1515,7 @@ module Minitest::Spec::DSL # Hint: If you _do_ want inheritance, use minitest/test. You can mix # and match between assertions and expectations as much as you want. # - # source://minitest/lib/minitest/spec.rb#224 + # source://minitest//lib/minitest/spec.rb#224 def it(desc = T.unsafe(nil), &block); end # Essentially, define an accessor for +name+ with +block+. @@ -1509,13 +1524,13 @@ module Minitest::Spec::DSL # # @raise [ArgumentError] # - # source://minitest/lib/minitest/spec.rb#248 + # source://minitest//lib/minitest/spec.rb#248 def let(name, &block); end - # source://minitest/lib/minitest/spec.rb#284 + # source://minitest//lib/minitest/spec.rb#284 def name; end - # source://minitest/lib/minitest/spec.rb#179 + # source://minitest//lib/minitest/spec.rb#179 def nuke_test_methods!; end # Register a new type of spec that matches the spec's description. @@ -1533,14 +1548,14 @@ module Minitest::Spec::DSL # desc.superclass == ActiveRecord::Base # end # - # source://minitest/lib/minitest/spec.rb#147 + # source://minitest//lib/minitest/spec.rb#147 def register_spec_type(*args, &block); end # Figure out the spec class to use based on a spec's description. Eg: # # spec_type("BlahController") # => Minitest::Spec::Rails # - # source://minitest/lib/minitest/spec.rb#161 + # source://minitest//lib/minitest/spec.rb#161 def spec_type(desc, *additional); end # Define an expectation with name +desc+. Name gets morphed to a @@ -1553,27 +1568,27 @@ module Minitest::Spec::DSL # Hint: If you _do_ want inheritance, use minitest/test. You can mix # and match between assertions and expectations as much as you want. # - # source://minitest/lib/minitest/spec.rb#224 + # source://minitest//lib/minitest/spec.rb#293 def specify(desc = T.unsafe(nil), &block); end # Another lazy man's accessor generator. Made even more lazy by # setting the name for you to +subject+. # - # source://minitest/lib/minitest/spec.rb#267 + # source://minitest//lib/minitest/spec.rb#267 def subject(&block); end - # source://minitest/lib/minitest/spec.rb#288 + # source://minitest//lib/minitest/spec.rb#288 def to_s; end class << self - # source://minitest/lib/minitest/spec.rb#336 + # source://minitest//lib/minitest/spec.rb#336 def extended(obj); end end end # Rdoc... why are you so dumb? # -# source://minitest/lib/minitest/spec.rb#298 +# source://minitest//lib/minitest/spec.rb#298 module Minitest::Spec::DSL::InstanceMethods # Takes a value or a block and returns a value monad that has # all of Expectations methods available to it. @@ -1598,10 +1613,10 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest/lib/minitest/spec.rb#323 + # source://minitest//lib/minitest/spec.rb#323 def _(value = T.unsafe(nil), &block); end - # source://minitest/lib/minitest/spec.rb#330 + # source://minitest//lib/minitest/spec.rb#330 def before_setup; end # Takes a value or a block and returns a value monad that has @@ -1627,7 +1642,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest/lib/minitest/spec.rb#323 + # source://minitest//lib/minitest/spec.rb#328 def expect(value = T.unsafe(nil), &block); end # Takes a value or a block and returns a value monad that has @@ -1653,7 +1668,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest/lib/minitest/spec.rb#323 + # source://minitest//lib/minitest/spec.rb#327 def value(value = T.unsafe(nil), &block); end end @@ -1663,10 +1678,10 @@ end # # See: register_spec_type and spec_type # -# source://minitest/lib/minitest/spec.rb#129 +# source://minitest//lib/minitest/spec.rb#129 Minitest::Spec::DSL::TYPES = T.let(T.unsafe(nil), Array) -# source://minitest/lib/minitest/spec.rb#343 +# source://minitest//lib/minitest/spec.rb#343 Minitest::Spec::TYPES = T.let(T.unsafe(nil), Array) # A reporter that gathers statistics about a test run. Does not do @@ -1689,123 +1704,123 @@ Minitest::Spec::TYPES = T.let(T.unsafe(nil), Array) # end # end # -# source://minitest/lib/minitest.rb#795 +# source://minitest//lib/minitest.rb#795 class Minitest::StatisticsReporter < ::Minitest::Reporter # @return [StatisticsReporter] a new instance of StatisticsReporter # - # source://minitest/lib/minitest.rb#844 + # source://minitest//lib/minitest.rb#844 def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end # Total number of assertions. # - # source://minitest/lib/minitest.rb#799 + # source://minitest//lib/minitest.rb#799 def assertions; end # Total number of assertions. # - # source://minitest/lib/minitest.rb#799 + # source://minitest//lib/minitest.rb#799 def assertions=(_arg0); end # Total number of test cases. # - # source://minitest/lib/minitest.rb#804 + # source://minitest//lib/minitest.rb#804 def count; end # Total number of test cases. # - # source://minitest/lib/minitest.rb#804 + # source://minitest//lib/minitest.rb#804 def count=(_arg0); end # Total number of tests that erred. # - # source://minitest/lib/minitest.rb#832 + # source://minitest//lib/minitest.rb#832 def errors; end # Total number of tests that erred. # - # source://minitest/lib/minitest.rb#832 + # source://minitest//lib/minitest.rb#832 def errors=(_arg0); end # Total number of tests that failed. # - # source://minitest/lib/minitest.rb#827 + # source://minitest//lib/minitest.rb#827 def failures; end # Total number of tests that failed. # - # source://minitest/lib/minitest.rb#827 + # source://minitest//lib/minitest.rb#827 def failures=(_arg0); end # @return [Boolean] # - # source://minitest/lib/minitest.rb#858 + # source://minitest//lib/minitest.rb#858 def passed?; end - # source://minitest/lib/minitest.rb#866 + # source://minitest//lib/minitest.rb#866 def record(result); end # Report on the tracked statistics. # - # source://minitest/lib/minitest.rb#876 + # source://minitest//lib/minitest.rb#876 def report; end # An +Array+ of test cases that failed or were skipped. # - # source://minitest/lib/minitest.rb#809 + # source://minitest//lib/minitest.rb#809 def results; end # An +Array+ of test cases that failed or were skipped. # - # source://minitest/lib/minitest.rb#809 + # source://minitest//lib/minitest.rb#809 def results=(_arg0); end # Total number of tests that where skipped. # - # source://minitest/lib/minitest.rb#842 + # source://minitest//lib/minitest.rb#842 def skips; end # Total number of tests that where skipped. # - # source://minitest/lib/minitest.rb#842 + # source://minitest//lib/minitest.rb#842 def skips=(_arg0); end - # source://minitest/lib/minitest.rb#862 + # source://minitest//lib/minitest.rb#862 def start; end # Time the test run started. If available, the monotonic clock is # used and this is a +Float+, otherwise it's an instance of # +Time+. # - # source://minitest/lib/minitest.rb#816 + # source://minitest//lib/minitest.rb#816 def start_time; end # Time the test run started. If available, the monotonic clock is # used and this is a +Float+, otherwise it's an instance of # +Time+. # - # source://minitest/lib/minitest.rb#816 + # source://minitest//lib/minitest.rb#816 def start_time=(_arg0); end # Test run time. If available, the monotonic clock is used and # this is a +Float+, otherwise it's an instance of +Time+. # - # source://minitest/lib/minitest.rb#822 + # source://minitest//lib/minitest.rb#822 def total_time; end # Test run time. If available, the monotonic clock is used and # this is a +Float+, otherwise it's an instance of +Time+. # - # source://minitest/lib/minitest.rb#822 + # source://minitest//lib/minitest.rb#822 def total_time=(_arg0); end # Total number of tests that warned. # - # source://minitest/lib/minitest.rb#837 + # source://minitest//lib/minitest.rb#837 def warnings; end # Total number of tests that warned. # - # source://minitest/lib/minitest.rb#837 + # source://minitest//lib/minitest.rb#837 def warnings=(_arg0); end end @@ -1817,36 +1832,36 @@ end # plugin, pull this out of the composite and replace it with your # own. # -# source://minitest/lib/minitest.rb#897 +# source://minitest//lib/minitest.rb#897 class Minitest::SummaryReporter < ::Minitest::StatisticsReporter - # source://minitest/lib/minitest.rb#930 + # source://minitest//lib/minitest.rb#930 def aggregated_results(io); end - # source://minitest/lib/minitest.rb#899 + # source://minitest//lib/minitest.rb#899 def old_sync; end - # source://minitest/lib/minitest.rb#899 + # source://minitest//lib/minitest.rb#899 def old_sync=(_arg0); end - # source://minitest/lib/minitest.rb#913 + # source://minitest//lib/minitest.rb#913 def report; end - # source://minitest/lib/minitest.rb#901 + # source://minitest//lib/minitest.rb#901 def start; end - # source://minitest/lib/minitest.rb#925 + # source://minitest//lib/minitest.rb#925 def statistics; end - # source://minitest/lib/minitest.rb#950 + # source://minitest//lib/minitest.rb#950 def summary; end - # source://minitest/lib/minitest.rb#898 + # source://minitest//lib/minitest.rb#898 def sync; end - # source://minitest/lib/minitest.rb#898 + # source://minitest//lib/minitest.rb#898 def sync=(_arg0); end - # source://minitest/lib/minitest.rb#946 + # source://minitest//lib/minitest.rb#946 def to_s; end end @@ -1855,7 +1870,7 @@ end # # See Minitest::Assertions # -# source://minitest/lib/minitest/test.rb#10 +# source://minitest//lib/minitest/test.rb#10 class Minitest::Test < ::Minitest::Runnable include ::Minitest::Assertions include ::Minitest::Reportable @@ -1865,24 +1880,24 @@ class Minitest::Test < ::Minitest::Runnable # LifecycleHooks # - # source://minitest/lib/minitest/test.rb#189 + # source://minitest//lib/minitest/test.rb#189 def capture_exceptions; end - # source://minitest/lib/minitest/test.rb#15 + # source://minitest//lib/minitest/test.rb#15 def class_name; end - # source://minitest/lib/minitest/test.rb#206 + # source://minitest//lib/minitest/test.rb#206 def neuter_exception(e); end - # source://minitest/lib/minitest/test.rb#217 + # source://minitest//lib/minitest/test.rb#217 def new_exception(klass, msg, bt, kill = T.unsafe(nil)); end # Runs a single test with setup/teardown hooks. # - # source://minitest/lib/minitest/test.rb#87 + # source://minitest//lib/minitest/test.rb#87 def run; end - # source://minitest/lib/minitest/test.rb#199 + # source://minitest//lib/minitest/test.rb#199 def sanitize_exception(e); end class << self @@ -1890,19 +1905,19 @@ class Minitest::Test < ::Minitest::Runnable # positively need to have ordered tests. In doing so, you're # admitting that you suck and your tests are weak. # - # source://minitest/lib/minitest/test.rb#35 + # source://minitest//lib/minitest/test.rb#35 def i_suck_and_my_tests_are_order_dependent!; end # Returns the value of attribute io_lock. # - # source://minitest/lib/minitest/test.rb#26 + # source://minitest//lib/minitest/test.rb#26 def io_lock; end # Sets the attribute io_lock # # @param value the value to set the attribute io_lock to. # - # source://minitest/lib/minitest/test.rb#26 + # source://minitest//lib/minitest/test.rb#26 def io_lock=(_arg0); end # Make diffs for this Test use #pretty_inspect so that diff @@ -1910,7 +1925,7 @@ class Minitest::Test < ::Minitest::Runnable # than the regular inspect but much more usable for complex # objects. # - # source://minitest/lib/minitest/test.rb#48 + # source://minitest//lib/minitest/test.rb#48 def make_my_diffs_pretty!; end # Call this at the top of your tests (inside the +Minitest::Test+ @@ -1918,14 +1933,14 @@ class Minitest::Test < ::Minitest::Runnable # parallel. In doing so, you're admitting that you rule and your # tests are awesome. # - # source://minitest/lib/minitest/test.rb#60 + # source://minitest//lib/minitest/test.rb#60 def parallelize_me!; end # Returns all instance methods starting with "test_". Based on # #test_order, the methods are either sorted, randomized # (default), or run in parallel. # - # source://minitest/lib/minitest/test.rb#70 + # source://minitest//lib/minitest/test.rb#70 def runnable_methods; end end end @@ -1934,7 +1949,7 @@ end # meant for library writers, NOT for regular test authors. See # #before_setup for an example. # -# source://minitest/lib/minitest/test.rb#112 +# source://minitest//lib/minitest/test.rb#112 module Minitest::Test::LifecycleHooks # Runs before every test, after setup. This hook is meant for # libraries to extend minitest. It is not meant to be used by @@ -1942,7 +1957,7 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest/lib/minitest/test.rb#162 + # source://minitest//lib/minitest/test.rb#162 def after_setup; end # Runs after every test, after teardown. This hook is meant for @@ -1951,7 +1966,7 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest/lib/minitest/test.rb#186 + # source://minitest//lib/minitest/test.rb#186 def after_teardown; end # Runs before every test, before setup. This hook is meant for @@ -1986,7 +2001,7 @@ module Minitest::Test::LifecycleHooks # include MyMinitestPlugin # end # - # source://minitest/lib/minitest/test.rb#147 + # source://minitest//lib/minitest/test.rb#147 def before_setup; end # Runs after every test, before teardown. This hook is meant for @@ -1995,83 +2010,83 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest/lib/minitest/test.rb#171 + # source://minitest//lib/minitest/test.rb#171 def before_teardown; end # Runs before every test. Use this to set up before each test # run. # - # source://minitest/lib/minitest/test.rb#153 + # source://minitest//lib/minitest/test.rb#153 def setup; end # Runs after every test. Use this to clean up after each test # run. # - # source://minitest/lib/minitest/test.rb#177 + # source://minitest//lib/minitest/test.rb#177 def teardown; end end -# source://minitest/lib/minitest/test.rb#19 +# source://minitest//lib/minitest/test.rb#19 Minitest::Test::PASSTHROUGH_EXCEPTIONS = T.let(T.unsafe(nil), Array) -# source://minitest/lib/minitest/test.rb#21 +# source://minitest//lib/minitest/test.rb#21 Minitest::Test::SETUP_METHODS = T.let(T.unsafe(nil), Array) -# source://minitest/lib/minitest/test.rb#23 +# source://minitest//lib/minitest/test.rb#23 Minitest::Test::TEARDOWN_METHODS = T.let(T.unsafe(nil), Array) # Assertion wrapping an unexpected error that was raised during a run. # -# source://minitest/lib/minitest.rb#1059 +# source://minitest//lib/minitest.rb#1059 class Minitest::UnexpectedError < ::Minitest::Assertion include ::Minitest::Compress # @return [UnexpectedError] a new instance of UnexpectedError # - # source://minitest/lib/minitest.rb#1065 + # source://minitest//lib/minitest.rb#1065 def initialize(error); end - # source://minitest/lib/minitest.rb#1078 + # source://minitest//lib/minitest.rb#1078 def backtrace; end # TODO: figure out how to use `cause` instead # - # source://minitest/lib/minitest.rb#1063 + # source://minitest//lib/minitest.rb#1063 def error; end # TODO: figure out how to use `cause` instead # - # source://minitest/lib/minitest.rb#1063 + # source://minitest//lib/minitest.rb#1063 def error=(_arg0); end - # source://minitest/lib/minitest.rb#1084 + # source://minitest//lib/minitest.rb#1084 def message; end - # source://minitest/lib/minitest.rb#1090 + # source://minitest//lib/minitest.rb#1090 def result_label; end end -# source://minitest/lib/minitest.rb#1082 +# source://minitest//lib/minitest.rb#1082 Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp) # Assertion raised on warning when running in -Werror mode. # -# source://minitest/lib/minitest.rb#1098 +# source://minitest//lib/minitest.rb#1098 class Minitest::UnexpectedWarning < ::Minitest::Assertion - # source://minitest/lib/minitest.rb#1099 + # source://minitest//lib/minitest.rb#1099 def result_label; end end -# source://minitest/lib/minitest.rb#13 +# source://minitest//lib/minitest.rb#13 Minitest::VERSION = T.let(T.unsafe(nil), String) -# source://minitest/lib/minitest/spec.rb#3 +# source://minitest//lib/minitest/spec.rb#3 class Module - # source://minitest/lib/minitest/spec.rb#4 + # source://minitest//lib/minitest/spec.rb#4 def infect_an_assertion(meth, new_name, dont_flip = T.unsafe(nil)); end end -# source://minitest/lib/minitest/spec.rb#348 +# source://minitest//lib/minitest/spec.rb#348 class Object < ::BasicObject include ::Kernel include ::PP::ObjectMixin diff --git a/sorbet/rbi/gems/mutex_m@0.3.0.rbi b/sorbet/rbi/gems/mutex_m@0.3.0.rbi index f618fb49b..1fde43f7a 100644 --- a/sorbet/rbi/gems/mutex_m@0.3.0.rbi +++ b/sorbet/rbi/gems/mutex_m@0.3.0.rbi @@ -33,65 +33,65 @@ # obj = Foo.new # # this obj can be handled like Mutex # -# source://mutex_m/lib/mutex_m.rb#41 +# source://mutex_m//lib/mutex_m.rb#41 module Mutex_m - # source://mutex_m/lib/mutex_m.rb#116 + # source://mutex_m//lib/mutex_m.rb#116 def initialize(*args, **_arg1); end - # source://mutex_m/lib/mutex_m.rb#69 + # source://mutex_m//lib/mutex_m.rb#69 def mu_extended; end # See Thread::Mutex#lock # - # source://mutex_m/lib/mutex_m.rb#96 + # source://mutex_m//lib/mutex_m.rb#96 def mu_lock; end # See Thread::Mutex#locked? # # @return [Boolean] # - # source://mutex_m/lib/mutex_m.rb#86 + # source://mutex_m//lib/mutex_m.rb#86 def mu_locked?; end # See Thread::Mutex#synchronize # - # source://mutex_m/lib/mutex_m.rb#81 + # source://mutex_m//lib/mutex_m.rb#81 def mu_synchronize(&block); end # See Thread::Mutex#try_lock # - # source://mutex_m/lib/mutex_m.rb#91 + # source://mutex_m//lib/mutex_m.rb#91 def mu_try_lock; end # See Thread::Mutex#unlock # - # source://mutex_m/lib/mutex_m.rb#101 + # source://mutex_m//lib/mutex_m.rb#101 def mu_unlock; end # See Thread::Mutex#sleep # - # source://mutex_m/lib/mutex_m.rb#106 + # source://mutex_m//lib/mutex_m.rb#106 def sleep(timeout = T.unsafe(nil)); end private - # source://mutex_m/lib/mutex_m.rb#112 + # source://mutex_m//lib/mutex_m.rb#112 def mu_initialize; end class << self - # source://mutex_m/lib/mutex_m.rb#59 + # source://mutex_m//lib/mutex_m.rb#59 def append_features(cl); end - # source://mutex_m/lib/mutex_m.rb#46 + # source://mutex_m//lib/mutex_m.rb#46 def define_aliases(cl); end - # source://mutex_m/lib/mutex_m.rb#64 + # source://mutex_m//lib/mutex_m.rb#64 def extend_object(obj); end - # source://mutex_m/lib/mutex_m.rb#54 + # source://mutex_m//lib/mutex_m.rb#54 def prepend_features(cl); end end end -# source://mutex_m/lib/mutex_m.rb#43 +# source://mutex_m//lib/mutex_m.rb#43 Mutex_m::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/net-http@0.4.1.rbi b/sorbet/rbi/gems/net-http@0.4.1.rbi index cc53a5d3c..d19b992b8 100644 --- a/sorbet/rbi/gems/net-http@0.4.1.rbi +++ b/sorbet/rbi/gems/net-http@0.4.1.rbi @@ -5,7 +5,694 @@ # Please instead update this file by running `bin/tapioca gem net-http`. -# :enddoc: +# \Class \Net::HTTP provides a rich library that implements the client +# in a client-server model that uses the \HTTP request-response protocol. +# For information about \HTTP, see: +# +# - {Hypertext Transfer Protocol}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol]. +# - {Technical overview}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technical_overview]. +# +# == About the Examples +# +# :include: doc/net-http/examples.rdoc +# +# == Strategies +# +# - If you will make only a few GET requests, +# consider using {OpenURI}[https://docs.ruby-lang.org/en/master/OpenURI.html]. +# - If you will make only a few requests of all kinds, +# consider using the various singleton convenience methods in this class. +# Each of the following methods automatically starts and finishes +# a {session}[rdoc-ref:Net::HTTP@Sessions] that sends a single request: +# +# # Return string response body. +# Net::HTTP.get(hostname, path) +# Net::HTTP.get(uri) +# +# # Write string response body to $stdout. +# Net::HTTP.get_print(hostname, path) +# Net::HTTP.get_print(uri) +# +# # Return response as Net::HTTPResponse object. +# Net::HTTP.get_response(hostname, path) +# Net::HTTP.get_response(uri) +# data = '{"title": "foo", "body": "bar", "userId": 1}' +# Net::HTTP.post(uri, data) +# params = {title: 'foo', body: 'bar', userId: 1} +# Net::HTTP.post_form(uri, params) +# +# - If performance is important, consider using sessions, which lower request overhead. +# This {session}[rdoc-ref:Net::HTTP@Sessions] has multiple requests for +# {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods] +# and {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]: +# +# Net::HTTP.start(hostname) do |http| +# # Session started automatically before block execution. +# http.get(path) +# http.head(path) +# body = 'Some text' +# http.post(path, body) # Can also have a block. +# http.put(path, body) +# http.delete(path) +# http.options(path) +# http.trace(path) +# http.patch(path, body) # Can also have a block. +# http.copy(path) +# http.lock(path, body) +# http.mkcol(path, body) +# http.move(path) +# http.propfind(path, body) +# http.proppatch(path, body) +# http.unlock(path, body) +# # Session finished automatically at block exit. +# end +# +# The methods cited above are convenience methods that, via their few arguments, +# allow minimal control over the requests. +# For greater control, consider using {request objects}[rdoc-ref:Net::HTTPRequest]. +# +# == URIs +# +# On the internet, a URI +# ({Universal Resource Identifier}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier]) +# is a string that identifies a particular resource. +# It consists of some or all of: scheme, hostname, path, query, and fragment; +# see {URI syntax}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax]. +# +# A Ruby {URI::Generic}[https://docs.ruby-lang.org/en/master/URI/Generic.html] object +# represents an internet URI. +# It provides, among others, methods +# +scheme+, +hostname+, +path+, +query+, and +fragment+. +# +# === Schemes +# +# An internet \URI has +# a {scheme}[https://en.wikipedia.org/wiki/List_of_URI_schemes]. +# +# The two schemes supported in \Net::HTTP are 'https' and 'http': +# +# uri.scheme # => "https" +# URI('http://example.com').scheme # => "http" +# +# === Hostnames +# +# A hostname identifies a server (host) to which requests may be sent: +# +# hostname = uri.hostname # => "jsonplaceholder.typicode.com" +# Net::HTTP.start(hostname) do |http| +# # Some HTTP stuff. +# end +# +# === Paths +# +# A host-specific path identifies a resource on the host: +# +# _uri = uri.dup +# _uri.path = '/todos/1' +# hostname = _uri.hostname +# path = _uri.path +# Net::HTTP.get(hostname, path) +# +# === Queries +# +# A host-specific query adds name/value pairs to the URI: +# +# _uri = uri.dup +# params = {userId: 1, completed: false} +# _uri.query = URI.encode_www_form(params) +# _uri # => # +# Net::HTTP.get(_uri) +# +# === Fragments +# +# A {URI fragment}[https://en.wikipedia.org/wiki/URI_fragment] has no effect +# in \Net::HTTP; +# the same data is returned, regardless of whether a fragment is included. +# +# == Request Headers +# +# Request headers may be used to pass additional information to the host, +# similar to arguments passed in a method call; +# each header is a name/value pair. +# +# Each of the \Net::HTTP methods that sends a request to the host +# has optional argument +headers+, +# where the headers are expressed as a hash of field-name/value pairs: +# +# headers = {Accept: 'application/json', Connection: 'Keep-Alive'} +# Net::HTTP.get(uri, headers) +# +# See lists of both standard request fields and common request fields at +# {Request Fields}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Request_fields]. +# A host may also accept other custom fields. +# +# == \HTTP Sessions +# +# A _session_ is a connection between a server (host) and a client that: +# +# - Is begun by instance method Net::HTTP#start. +# - May contain any number of requests. +# - Is ended by instance method Net::HTTP#finish. +# +# See example sessions at {Strategies}[rdoc-ref:Net::HTTP@Strategies]. +# +# === Session Using \Net::HTTP.start +# +# If you have many requests to make to a single host (and port), +# consider using singleton method Net::HTTP.start with a block; +# the method handles the session automatically by: +# +# - Calling #start before block execution. +# - Executing the block. +# - Calling #finish after block execution. +# +# In the block, you can use these instance methods, +# each of which that sends a single request: +# +# - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]: +# +# - #get, #request_get: GET. +# - #head, #request_head: HEAD. +# - #post, #request_post: POST. +# - #delete: DELETE. +# - #options: OPTIONS. +# - #trace: TRACE. +# - #patch: PATCH. +# +# - {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]: +# +# - #copy: COPY. +# - #lock: LOCK. +# - #mkcol: MKCOL. +# - #move: MOVE. +# - #propfind: PROPFIND. +# - #proppatch: PROPPATCH. +# - #unlock: UNLOCK. +# +# === Session Using \Net::HTTP.start and \Net::HTTP.finish +# +# You can manage a session manually using methods #start and #finish: +# +# http = Net::HTTP.new(hostname) +# http.start +# http.get('/todos/1') +# http.get('/todos/2') +# http.delete('/posts/1') +# http.finish # Needed to free resources. +# +# === Single-Request Session +# +# Certain convenience methods automatically handle a session by: +# +# - Creating an \HTTP object +# - Starting a session. +# - Sending a single request. +# - Finishing the session. +# - Destroying the object. +# +# Such methods that send GET requests: +# +# - ::get: Returns the string response body. +# - ::get_print: Writes the string response body to $stdout. +# - ::get_response: Returns a Net::HTTPResponse object. +# +# Such methods that send POST requests: +# +# - ::post: Posts data to the host. +# - ::post_form: Posts form data to the host. +# +# == \HTTP Requests and Responses +# +# Many of the methods above are convenience methods, +# each of which sends a request and returns a string +# without directly using \Net::HTTPRequest and \Net::HTTPResponse objects. +# +# You can, however, directly create a request object, send the request, +# and retrieve the response object; see: +# +# - Net::HTTPRequest. +# - Net::HTTPResponse. +# +# == Following Redirection +# +# Each returned response is an instance of a subclass of Net::HTTPResponse. +# See the {response class hierarchy}[rdoc-ref:Net::HTTPResponse@Response+Subclasses]. +# +# In particular, class Net::HTTPRedirection is the parent +# of all redirection classes. +# This allows you to craft a case statement to handle redirections properly: +# +# def fetch(uri, limit = 10) +# # You should choose a better exception. +# raise ArgumentError, 'Too many HTTP redirects' if limit == 0 +# +# res = Net::HTTP.get_response(URI(uri)) +# case res +# when Net::HTTPSuccess # Any success class. +# res +# when Net::HTTPRedirection # Any redirection class. +# location = res['Location'] +# warn "Redirected to #{location}" +# fetch(location, limit - 1) +# else # Any other class. +# res.value +# end +# end +# +# fetch(uri) +# +# == Basic Authentication +# +# Basic authentication is performed according to +# {RFC2617}[http://www.ietf.org/rfc/rfc2617.txt]: +# +# req = Net::HTTP::Get.new(uri) +# req.basic_auth('user', 'pass') +# res = Net::HTTP.start(hostname) do |http| +# http.request(req) +# end +# +# == Streaming Response Bodies +# +# By default \Net::HTTP reads an entire response into memory. If you are +# handling large files or wish to implement a progress bar you can instead +# stream the body directly to an IO. +# +# Net::HTTP.start(hostname) do |http| +# req = Net::HTTP::Get.new(uri) +# http.request(req) do |res| +# open('t.tmp', 'w') do |f| +# res.read_body do |chunk| +# f.write chunk +# end +# end +# end +# end +# +# == HTTPS +# +# HTTPS is enabled for an \HTTP connection by Net::HTTP#use_ssl=: +# +# Net::HTTP.start(hostname, :use_ssl => true) do |http| +# req = Net::HTTP::Get.new(uri) +# res = http.request(req) +# end +# +# Or if you simply want to make a GET request, you may pass in a URI +# object that has an \HTTPS URL. \Net::HTTP automatically turns on TLS +# verification if the URI object has a 'https' URI scheme: +# +# uri # => # +# Net::HTTP.get(uri) +# +# == Proxy Server +# +# An \HTTP object can have +# a {proxy server}[https://en.wikipedia.org/wiki/Proxy_server]. +# +# You can create an \HTTP object with a proxy server +# using method Net::HTTP.new or method Net::HTTP.start. +# +# The proxy may be defined either by argument +p_addr+ +# or by environment variable 'http_proxy'. +# +# === Proxy Using Argument +p_addr+ as a \String +# +# When argument +p_addr+ is a string hostname, +# the returned +http+ has the given host as its proxy: +# +# http = Net::HTTP.new(hostname, nil, 'proxy.example') +# http.proxy? # => true +# http.proxy_from_env? # => false +# http.proxy_address # => "proxy.example" +# # These use default values. +# http.proxy_port # => 80 +# http.proxy_user # => nil +# http.proxy_pass # => nil +# +# The port, username, and password for the proxy may also be given: +# +# http = Net::HTTP.new(hostname, nil, 'proxy.example', 8000, 'pname', 'ppass') +# # => # +# http.proxy? # => true +# http.proxy_from_env? # => false +# http.proxy_address # => "proxy.example" +# http.proxy_port # => 8000 +# http.proxy_user # => "pname" +# http.proxy_pass # => "ppass" +# +# === Proxy Using 'ENV['http_proxy']' +# +# When environment variable 'http_proxy' +# is set to a \URI string, +# the returned +http+ will have the server at that URI as its proxy; +# note that the \URI string must have a protocol +# such as 'http' or 'https': +# +# ENV['http_proxy'] = 'http://example.com' +# http = Net::HTTP.new(hostname) +# http.proxy? # => true +# http.proxy_from_env? # => true +# http.proxy_address # => "example.com" +# # These use default values. +# http.proxy_port # => 80 +# http.proxy_user # => nil +# http.proxy_pass # => nil +# +# The \URI string may include proxy username, password, and port number: +# +# ENV['http_proxy'] = 'http://pname:ppass@example.com:8000' +# http = Net::HTTP.new(hostname) +# http.proxy? # => true +# http.proxy_from_env? # => true +# http.proxy_address # => "example.com" +# http.proxy_port # => 8000 +# http.proxy_user # => "pname" +# http.proxy_pass # => "ppass" +# +# === Filtering Proxies +# +# With method Net::HTTP.new (but not Net::HTTP.start), +# you can use argument +p_no_proxy+ to filter proxies: +# +# - Reject a certain address: +# +# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example') +# http.proxy_address # => nil +# +# - Reject certain domains or subdomains: +# +# http = Net::HTTP.new('example.com', nil, 'my.proxy.example', 8000, 'pname', 'ppass', 'proxy.example') +# http.proxy_address # => nil +# +# - Reject certain addresses and port combinations: +# +# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:1234') +# http.proxy_address # => "proxy.example" +# +# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:8000') +# http.proxy_address # => nil +# +# - Reject a list of the types above delimited using a comma: +# +# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000') +# http.proxy_address # => nil +# +# http = Net::HTTP.new('example.com', nil, 'my.proxy', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000') +# http.proxy_address # => nil +# +# == Compression and Decompression +# +# \Net::HTTP does not compress the body of a request before sending. +# +# By default, \Net::HTTP adds header 'Accept-Encoding' +# to a new {request object}[rdoc-ref:Net::HTTPRequest]: +# +# Net::HTTP::Get.new(uri)['Accept-Encoding'] +# # => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" +# +# This requests the server to zip-encode the response body if there is one; +# the server is not required to do so. +# +# \Net::HTTP does not automatically decompress a response body +# if the response has header 'Content-Range'. +# +# Otherwise decompression (or not) depends on the value of header +# {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-encoding-response-header]: +# +# - 'deflate', 'gzip', or 'x-gzip': +# decompresses the body and deletes the header. +# - 'none' or 'identity': +# does not decompress the body, but deletes the header. +# - Any other value: +# leaves the body and header unchanged. +# +# == What's Here +# +# This is a categorized summary of methods and attributes. +# +# === \Net::HTTP Objects +# +# - {::new}[rdoc-ref:Net::HTTP.new]: +# Creates a new instance. +# - {#inspect}[rdoc-ref:Net::HTTP#inspect]: +# Returns a string representation of +self+. +# +# === Sessions +# +# - {::start}[rdoc-ref:Net::HTTP.start]: +# Begins a new session in a new \Net::HTTP object. +# - {#started?}[rdoc-ref:Net::HTTP#started?] +# (aliased as {#active?}[rdoc-ref:Net::HTTP#active?]): +# Returns whether in a session. +# - {#finish}[rdoc-ref:Net::HTTP#finish]: +# Ends an active session. +# - {#start}[rdoc-ref:Net::HTTP#start]: +# Begins a new session in an existing \Net::HTTP object (+self+). +# +# === Connections +# +# - {:continue_timeout}[rdoc-ref:Net::HTTP#continue_timeout]: +# Returns the continue timeout. +# - {#continue_timeout=}[rdoc-ref:Net::HTTP#continue_timeout=]: +# Sets the continue timeout seconds. +# - {:keep_alive_timeout}[rdoc-ref:Net::HTTP#keep_alive_timeout]: +# Returns the keep-alive timeout. +# - {:keep_alive_timeout=}[rdoc-ref:Net::HTTP#keep_alive_timeout=]: +# Sets the keep-alive timeout. +# - {:max_retries}[rdoc-ref:Net::HTTP#max_retries]: +# Returns the maximum retries. +# - {#max_retries=}[rdoc-ref:Net::HTTP#max_retries=]: +# Sets the maximum retries. +# - {:open_timeout}[rdoc-ref:Net::HTTP#open_timeout]: +# Returns the open timeout. +# - {:open_timeout=}[rdoc-ref:Net::HTTP#open_timeout=]: +# Sets the open timeout. +# - {:read_timeout}[rdoc-ref:Net::HTTP#read_timeout]: +# Returns the open timeout. +# - {:read_timeout=}[rdoc-ref:Net::HTTP#read_timeout=]: +# Sets the read timeout. +# - {:ssl_timeout}[rdoc-ref:Net::HTTP#ssl_timeout]: +# Returns the ssl timeout. +# - {:ssl_timeout=}[rdoc-ref:Net::HTTP#ssl_timeout=]: +# Sets the ssl timeout. +# - {:write_timeout}[rdoc-ref:Net::HTTP#write_timeout]: +# Returns the write timeout. +# - {write_timeout=}[rdoc-ref:Net::HTTP#write_timeout=]: +# Sets the write timeout. +# +# === Requests +# +# - {::get}[rdoc-ref:Net::HTTP.get]: +# Sends a GET request and returns the string response body. +# - {::get_print}[rdoc-ref:Net::HTTP.get_print]: +# Sends a GET request and write the string response body to $stdout. +# - {::get_response}[rdoc-ref:Net::HTTP.get_response]: +# Sends a GET request and returns a response object. +# - {::post_form}[rdoc-ref:Net::HTTP.post_form]: +# Sends a POST request with form data and returns a response object. +# - {::post}[rdoc-ref:Net::HTTP.post]: +# Sends a POST request with data and returns a response object. +# - {#copy}[rdoc-ref:Net::HTTP#copy]: +# Sends a COPY request and returns a response object. +# - {#delete}[rdoc-ref:Net::HTTP#delete]: +# Sends a DELETE request and returns a response object. +# - {#get}[rdoc-ref:Net::HTTP#get]: +# Sends a GET request and returns a response object. +# - {#head}[rdoc-ref:Net::HTTP#head]: +# Sends a HEAD request and returns a response object. +# - {#lock}[rdoc-ref:Net::HTTP#lock]: +# Sends a LOCK request and returns a response object. +# - {#mkcol}[rdoc-ref:Net::HTTP#mkcol]: +# Sends a MKCOL request and returns a response object. +# - {#move}[rdoc-ref:Net::HTTP#move]: +# Sends a MOVE request and returns a response object. +# - {#options}[rdoc-ref:Net::HTTP#options]: +# Sends a OPTIONS request and returns a response object. +# - {#patch}[rdoc-ref:Net::HTTP#patch]: +# Sends a PATCH request and returns a response object. +# - {#post}[rdoc-ref:Net::HTTP#post]: +# Sends a POST request and returns a response object. +# - {#propfind}[rdoc-ref:Net::HTTP#propfind]: +# Sends a PROPFIND request and returns a response object. +# - {#proppatch}[rdoc-ref:Net::HTTP#proppatch]: +# Sends a PROPPATCH request and returns a response object. +# - {#put}[rdoc-ref:Net::HTTP#put]: +# Sends a PUT request and returns a response object. +# - {#request}[rdoc-ref:Net::HTTP#request]: +# Sends a request and returns a response object. +# - {#request_get}[rdoc-ref:Net::HTTP#request_get] +# (aliased as {#get2}[rdoc-ref:Net::HTTP#get2]): +# Sends a GET request and forms a response object; +# if a block given, calls the block with the object, +# otherwise returns the object. +# - {#request_head}[rdoc-ref:Net::HTTP#request_head] +# (aliased as {#head2}[rdoc-ref:Net::HTTP#head2]): +# Sends a HEAD request and forms a response object; +# if a block given, calls the block with the object, +# otherwise returns the object. +# - {#request_post}[rdoc-ref:Net::HTTP#request_post] +# (aliased as {#post2}[rdoc-ref:Net::HTTP#post2]): +# Sends a POST request and forms a response object; +# if a block given, calls the block with the object, +# otherwise returns the object. +# - {#send_request}[rdoc-ref:Net::HTTP#send_request]: +# Sends a request and returns a response object. +# - {#trace}[rdoc-ref:Net::HTTP#trace]: +# Sends a TRACE request and returns a response object. +# - {#unlock}[rdoc-ref:Net::HTTP#unlock]: +# Sends an UNLOCK request and returns a response object. +# +# === Responses +# +# - {:close_on_empty_response}[rdoc-ref:Net::HTTP#close_on_empty_response]: +# Returns whether to close connection on empty response. +# - {:close_on_empty_response=}[rdoc-ref:Net::HTTP#close_on_empty_response=]: +# Sets whether to close connection on empty response. +# - {:ignore_eof}[rdoc-ref:Net::HTTP#ignore_eof]: +# Returns whether to ignore end-of-file when reading a response body +# with Content-Length headers. +# - {:ignore_eof=}[rdoc-ref:Net::HTTP#ignore_eof=]: +# Sets whether to ignore end-of-file when reading a response body +# with Content-Length headers. +# - {:response_body_encoding}[rdoc-ref:Net::HTTP#response_body_encoding]: +# Returns the encoding to use for the response body. +# - {#response_body_encoding=}[rdoc-ref:Net::HTTP#response_body_encoding=]: +# Sets the response body encoding. +# +# === Proxies +# +# - {:proxy_address}[rdoc-ref:Net::HTTP#proxy_address]: +# Returns the proxy address. +# - {:proxy_address=}[rdoc-ref:Net::HTTP#proxy_address=]: +# Sets the proxy address. +# - {::proxy_class?}[rdoc-ref:Net::HTTP.proxy_class?]: +# Returns whether +self+ is a proxy class. +# - {#proxy?}[rdoc-ref:Net::HTTP#proxy?]: +# Returns whether +self+ has a proxy. +# - {#proxy_address}[rdoc-ref:Net::HTTP#proxy_address] +# (aliased as {#proxyaddr}[rdoc-ref:Net::HTTP#proxyaddr]): +# Returns the proxy address. +# - {#proxy_from_env?}[rdoc-ref:Net::HTTP#proxy_from_env?]: +# Returns whether the proxy is taken from an environment variable. +# - {:proxy_from_env=}[rdoc-ref:Net::HTTP#proxy_from_env=]: +# Sets whether the proxy is to be taken from an environment variable. +# - {:proxy_pass}[rdoc-ref:Net::HTTP#proxy_pass]: +# Returns the proxy password. +# - {:proxy_pass=}[rdoc-ref:Net::HTTP#proxy_pass=]: +# Sets the proxy password. +# - {:proxy_port}[rdoc-ref:Net::HTTP#proxy_port]: +# Returns the proxy port. +# - {:proxy_port=}[rdoc-ref:Net::HTTP#proxy_port=]: +# Sets the proxy port. +# - {#proxy_user}[rdoc-ref:Net::HTTP#proxy_user]: +# Returns the proxy user name. +# - {:proxy_user=}[rdoc-ref:Net::HTTP#proxy_user=]: +# Sets the proxy user. +# +# === Security +# +# - {:ca_file}[rdoc-ref:Net::HTTP#ca_file]: +# Returns the path to a CA certification file. +# - {:ca_file=}[rdoc-ref:Net::HTTP#ca_file=]: +# Sets the path to a CA certification file. +# - {:ca_path}[rdoc-ref:Net::HTTP#ca_path]: +# Returns the path of to CA directory containing certification files. +# - {:ca_path=}[rdoc-ref:Net::HTTP#ca_path=]: +# Sets the path of to CA directory containing certification files. +# - {:cert}[rdoc-ref:Net::HTTP#cert]: +# Returns the OpenSSL::X509::Certificate object to be used for client certification. +# - {:cert=}[rdoc-ref:Net::HTTP#cert=]: +# Sets the OpenSSL::X509::Certificate object to be used for client certification. +# - {:cert_store}[rdoc-ref:Net::HTTP#cert_store]: +# Returns the X509::Store to be used for verifying peer certificate. +# - {:cert_store=}[rdoc-ref:Net::HTTP#cert_store=]: +# Sets the X509::Store to be used for verifying peer certificate. +# - {:ciphers}[rdoc-ref:Net::HTTP#ciphers]: +# Returns the available SSL ciphers. +# - {:ciphers=}[rdoc-ref:Net::HTTP#ciphers=]: +# Sets the available SSL ciphers. +# - {:extra_chain_cert}[rdoc-ref:Net::HTTP#extra_chain_cert]: +# Returns the extra X509 certificates to be added to the certificate chain. +# - {:extra_chain_cert=}[rdoc-ref:Net::HTTP#extra_chain_cert=]: +# Sets the extra X509 certificates to be added to the certificate chain. +# - {:key}[rdoc-ref:Net::HTTP#key]: +# Returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. +# - {:key=}[rdoc-ref:Net::HTTP#key=]: +# Sets the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. +# - {:max_version}[rdoc-ref:Net::HTTP#max_version]: +# Returns the maximum SSL version. +# - {:max_version=}[rdoc-ref:Net::HTTP#max_version=]: +# Sets the maximum SSL version. +# - {:min_version}[rdoc-ref:Net::HTTP#min_version]: +# Returns the minimum SSL version. +# - {:min_version=}[rdoc-ref:Net::HTTP#min_version=]: +# Sets the minimum SSL version. +# - {#peer_cert}[rdoc-ref:Net::HTTP#peer_cert]: +# Returns the X509 certificate chain for the session's socket peer. +# - {:ssl_version}[rdoc-ref:Net::HTTP#ssl_version]: +# Returns the SSL version. +# - {:ssl_version=}[rdoc-ref:Net::HTTP#ssl_version=]: +# Sets the SSL version. +# - {#use_ssl=}[rdoc-ref:Net::HTTP#use_ssl=]: +# Sets whether a new session is to use Transport Layer Security. +# - {#use_ssl?}[rdoc-ref:Net::HTTP#use_ssl?]: +# Returns whether +self+ uses SSL. +# - {:verify_callback}[rdoc-ref:Net::HTTP#verify_callback]: +# Returns the callback for the server certification verification. +# - {:verify_callback=}[rdoc-ref:Net::HTTP#verify_callback=]: +# Sets the callback for the server certification verification. +# - {:verify_depth}[rdoc-ref:Net::HTTP#verify_depth]: +# Returns the maximum depth for the certificate chain verification. +# - {:verify_depth=}[rdoc-ref:Net::HTTP#verify_depth=]: +# Sets the maximum depth for the certificate chain verification. +# - {:verify_hostname}[rdoc-ref:Net::HTTP#verify_hostname]: +# Returns the flags for server the certification verification at the beginning of the SSL/TLS session. +# - {:verify_hostname=}[rdoc-ref:Net::HTTP#verify_hostname=]: +# Sets he flags for server the certification verification at the beginning of the SSL/TLS session. +# - {:verify_mode}[rdoc-ref:Net::HTTP#verify_mode]: +# Returns the flags for server the certification verification at the beginning of the SSL/TLS session. +# - {:verify_mode=}[rdoc-ref:Net::HTTP#verify_mode=]: +# Sets the flags for server the certification verification at the beginning of the SSL/TLS session. +# +# === Addresses and Ports +# +# - {:address}[rdoc-ref:Net::HTTP#address]: +# Returns the string host name or host IP. +# - {::default_port}[rdoc-ref:Net::HTTP.default_port]: +# Returns integer 80, the default port to use for HTTP requests. +# - {::http_default_port}[rdoc-ref:Net::HTTP.http_default_port]: +# Returns integer 80, the default port to use for HTTP requests. +# - {::https_default_port}[rdoc-ref:Net::HTTP.https_default_port]: +# Returns integer 443, the default port to use for HTTPS requests. +# - {#ipaddr}[rdoc-ref:Net::HTTP#ipaddr]: +# Returns the IP address for the connection. +# - {#ipaddr=}[rdoc-ref:Net::HTTP#ipaddr=]: +# Sets the IP address for the connection. +# - {:local_host}[rdoc-ref:Net::HTTP#local_host]: +# Returns the string local host used to establish the connection. +# - {:local_host=}[rdoc-ref:Net::HTTP#local_host=]: +# Sets the string local host used to establish the connection. +# - {:local_port}[rdoc-ref:Net::HTTP#local_port]: +# Returns the integer local port used to establish the connection. +# - {:local_port=}[rdoc-ref:Net::HTTP#local_port=]: +# Sets the integer local port used to establish the connection. +# - {:port}[rdoc-ref:Net::HTTP#port]: +# Returns the integer port number. +# +# === \HTTP Version +# +# - {::version_1_2?}[rdoc-ref:Net::HTTP.version_1_2?] +# (aliased as {::is_version_1_2?}[rdoc-ref:Net::HTTP.is_version_1_2?] +# and {::version_1_2}[rdoc-ref:Net::HTTP.version_1_2]): +# Returns true; retained for compatibility. +# +# === Debugging +# +# - {#set_debug_output}[rdoc-ref:Net::HTTP#set_debug_output]: +# Sets the output stream for debugging. +# +# source://net-http//lib/net/http.rb#722 class Net::HTTP < ::Net::Protocol # Creates a new \Net::HTTP object for the specified server address, # without opening the TCP connection or initializing the \HTTP session. @@ -13,7 +700,7 @@ class Net::HTTP < ::Net::Protocol # # @return [HTTP] a new instance of HTTP # - # source://net-http//net/http.rb#1093 + # source://net-http//lib/net/http.rb#1093 def initialize(address, port = T.unsafe(nil)); end # Returns +true+ if the \HTTP session has been started: @@ -32,86 +719,86 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//net/http.rb#1413 + # source://net-http//lib/net/http.rb#1417 def active?; end # Returns the string host name or host IP given as argument +address+ in ::new. # - # source://net-http//net/http.rb#1194 + # source://net-http//lib/net/http.rb#1194 def address; end # Sets or returns the path to a CA certification file in PEM format. # - # source://net-http//net/http.rb#1479 + # source://net-http//lib/net/http.rb#1479 def ca_file; end # Sets or returns the path to a CA certification file in PEM format. # - # source://net-http//net/http.rb#1479 + # source://net-http//lib/net/http.rb#1479 def ca_file=(_arg0); end # Sets or returns the path of to CA directory # containing certification files in PEM format. # - # source://net-http//net/http.rb#1483 + # source://net-http//lib/net/http.rb#1483 def ca_path; end # Sets or returns the path of to CA directory # containing certification files in PEM format. # - # source://net-http//net/http.rb#1483 + # source://net-http//lib/net/http.rb#1483 def ca_path=(_arg0); end # Sets or returns the OpenSSL::X509::Certificate object # to be used for client certification. # - # source://net-http//net/http.rb#1487 + # source://net-http//lib/net/http.rb#1487 def cert; end # Sets or returns the OpenSSL::X509::Certificate object # to be used for client certification. # - # source://net-http//net/http.rb#1487 + # source://net-http//lib/net/http.rb#1487 def cert=(_arg0); end # Sets or returns the X509::Store to be used for verifying peer certificate. # - # source://net-http//net/http.rb#1490 + # source://net-http//lib/net/http.rb#1490 def cert_store; end # Sets or returns the X509::Store to be used for verifying peer certificate. # - # source://net-http//net/http.rb#1490 + # source://net-http//lib/net/http.rb#1490 def cert_store=(_arg0); end # Sets or returns the available SSL ciphers. - # See {OpenSSL::SSL::SSLContext#ciphers=}[rdoc-ref:OpenSSL::SSL::SSLContext#ciphers-3D]. + # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. # - # source://net-http//net/http.rb#1494 + # source://net-http//lib/net/http.rb#1494 def ciphers; end # Sets or returns the available SSL ciphers. - # See {OpenSSL::SSL::SSLContext#ciphers=}[rdoc-ref:OpenSSL::SSL::SSLContext#ciphers-3D]. + # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. # - # source://net-http//net/http.rb#1494 + # source://net-http//lib/net/http.rb#1494 def ciphers=(_arg0); end # Sets or returns whether to close the connection when the response is empty; # initially +false+. # - # source://net-http//net/http.rb#1421 + # source://net-http//lib/net/http.rb#1421 def close_on_empty_response; end # Sets or returns whether to close the connection when the response is empty; # initially +false+. # - # source://net-http//net/http.rb#1421 + # source://net-http//lib/net/http.rb#1421 def close_on_empty_response=(_arg0); end # Returns the continue timeout value; # see continue_timeout=. # - # source://net-http//net/http.rb#1374 + # source://net-http//lib/net/http.rb#1374 def continue_timeout; end # Sets the continue timeout value, @@ -119,7 +806,7 @@ class Net::HTTP < ::Net::Protocol # If the \HTTP object does not receive a response in this many seconds # it sends the request body. # - # source://net-http//net/http.rb#1380 + # source://net-http//lib/net/http.rb#1380 def continue_timeout=(sec); end # Sends a COPY request to the server; @@ -131,7 +818,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.copy('/todos/1') # - # source://net-http//net/http.rb#2123 + # source://net-http//lib/net/http.rb#2123 def copy(path, initheader = T.unsafe(nil)); end # Sends a DELETE request to the server; @@ -143,19 +830,19 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.delete('/todos/1') # - # source://net-http//net/http.rb#2097 + # source://net-http//lib/net/http.rb#2097 def delete(path, initheader = T.unsafe(nil)); end # Sets or returns the extra X509 certificates to be added to the certificate chain. - # See {OpenSSL::SSL::SSLContext#add_certificate}[rdoc-ref:OpenSSL::SSL::SSLContext#add_certificate]. + # See {OpenSSL::SSL::SSLContext#add_certificate}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. # - # source://net-http//net/http.rb#1498 + # source://net-http//lib/net/http.rb#1498 def extra_chain_cert; end # Sets or returns the extra X509 certificates to be added to the certificate chain. - # See {OpenSSL::SSL::SSLContext#add_certificate}[rdoc-ref:OpenSSL::SSL::SSLContext#add_certificate]. + # See {OpenSSL::SSL::SSLContext#add_certificate}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. # - # source://net-http//net/http.rb#1498 + # source://net-http//lib/net/http.rb#1498 def extra_chain_cert=(_arg0); end # Finishes the \HTTP session: @@ -170,7 +857,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//net/http.rb#1708 + # source://net-http//lib/net/http.rb#1708 def finish; end # :call-seq: @@ -202,7 +889,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Get: request class for \HTTP method GET. # - Net::HTTP.get: sends GET request, returns response body. # - # source://net-http//net/http.rb#1914 + # source://net-http//lib/net/http.rb#1914 def get(path, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Sends a GET request to the server; @@ -227,7 +914,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//net/http.rb#2176 + # source://net-http//lib/net/http.rb#2234 def get2(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -244,7 +931,7 @@ class Net::HTTP < ::Net::Protocol # ["content-type", ["application/json; charset=utf-8"]], # ["connection", ["close"]]] # - # source://net-http//net/http.rb#1938 + # source://net-http//lib/net/http.rb#1938 def head(path, initheader = T.unsafe(nil)); end # Sends a HEAD request to the server; @@ -256,21 +943,21 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//net/http.rb#2189 + # source://net-http//lib/net/http.rb#2235 def head2(path, initheader = T.unsafe(nil), &block); end # Sets or returns whether to ignore end-of-file when reading a response body # with Content-Length headers; # initially +true+. # - # source://net-http//net/http.rb#1397 + # source://net-http//lib/net/http.rb#1397 def ignore_eof; end # Sets or returns whether to ignore end-of-file when reading a response body # with Content-Length headers; # initially +true+. # - # source://net-http//net/http.rb#1397 + # source://net-http//lib/net/http.rb#1397 def ignore_eof=(_arg0); end # Returns a string representation of +self+: @@ -278,7 +965,7 @@ class Net::HTTP < ::Net::Protocol # Net::HTTP.new(hostname).inspect # # => "#" # - # source://net-http//net/http.rb#1135 + # source://net-http//lib/net/http.rb#1135 def inspect; end # Returns the IP address for the connection. @@ -300,7 +987,7 @@ class Net::HTTP < ::Net::Protocol # http.ipaddr # => "172.67.155.76" # http.finish # - # source://net-http//net/http.rb#1274 + # source://net-http//lib/net/http.rb#1274 def ipaddr; end # Sets the IP address for the connection: @@ -314,7 +1001,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//net/http.rb#1286 + # source://net-http//lib/net/http.rb#1286 def ipaddr=(addr); end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -325,7 +1012,7 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//net/http.rb#1392 + # source://net-http//lib/net/http.rb#1392 def keep_alive_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -336,41 +1023,41 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//net/http.rb#1392 + # source://net-http//lib/net/http.rb#1392 def keep_alive_timeout=(_arg0); end # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. # - # source://net-http//net/http.rb#1501 + # source://net-http//lib/net/http.rb#1501 def key; end # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. # - # source://net-http//net/http.rb#1501 + # source://net-http//lib/net/http.rb#1501 def key=(_arg0); end # Sets or returns the string local host used to establish the connection; # initially +nil+. # - # source://net-http//net/http.rb#1201 + # source://net-http//lib/net/http.rb#1201 def local_host; end # Sets or returns the string local host used to establish the connection; # initially +nil+. # - # source://net-http//net/http.rb#1201 + # source://net-http//lib/net/http.rb#1201 def local_host=(_arg0); end # Sets or returns the integer local port used to establish the connection; # initially +nil+. # - # source://net-http//net/http.rb#1205 + # source://net-http//lib/net/http.rb#1205 def local_port; end # Sets or returns the integer local port used to establish the connection; # initially +nil+. # - # source://net-http//net/http.rb#1205 + # source://net-http//lib/net/http.rb#1205 def local_port=(_arg0); end # Sends a LOCK request to the server; @@ -383,13 +1070,13 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.lock('/todos/1', data) # - # source://net-http//net/http.rb#2043 + # source://net-http//lib/net/http.rb#2043 def lock(path, body, initheader = T.unsafe(nil)); end # Returns the maximum number of times to retry an idempotent request; # see #max_retries=. # - # source://net-http//net/http.rb#1330 + # source://net-http//lib/net/http.rb#1330 def max_retries; end # Sets the maximum number of times to retry an idempotent request in case of @@ -404,31 +1091,31 @@ class Net::HTTP < ::Net::Protocol # http.max_retries = 2 # => 2 # http.max_retries # => 2 # - # source://net-http//net/http.rb#1320 + # source://net-http//lib/net/http.rb#1320 def max_retries=(retries); end # Sets or returns the maximum SSL version. - # See {OpenSSL::SSL::SSLContext#max_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#max_version-3D]. + # See {OpenSSL::SSL::SSLContext#max_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D]. # - # source://net-http//net/http.rb#1516 + # source://net-http//lib/net/http.rb#1516 def max_version; end # Sets or returns the maximum SSL version. - # See {OpenSSL::SSL::SSLContext#max_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#max_version-3D]. + # See {OpenSSL::SSL::SSLContext#max_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D]. # - # source://net-http//net/http.rb#1516 + # source://net-http//lib/net/http.rb#1516 def max_version=(_arg0); end # Sets or returns the minimum SSL version. - # See {OpenSSL::SSL::SSLContext#min_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#min_version-3D]. + # See {OpenSSL::SSL::SSLContext#min_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]. # - # source://net-http//net/http.rb#1512 + # source://net-http//lib/net/http.rb#1512 def min_version; end # Sets or returns the minimum SSL version. - # See {OpenSSL::SSL::SSLContext#min_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#min_version-3D]. + # See {OpenSSL::SSL::SSLContext#min_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]. # - # source://net-http//net/http.rb#1512 + # source://net-http//lib/net/http.rb#1512 def min_version=(_arg0); end # Sends a MKCOL request to the server; @@ -441,7 +1128,7 @@ class Net::HTTP < ::Net::Protocol # http.mkcol('/todos/1', data) # http = Net::HTTP.new(hostname) # - # source://net-http//net/http.rb#2137 + # source://net-http//lib/net/http.rb#2137 def mkcol(path, body = T.unsafe(nil), initheader = T.unsafe(nil)); end # Sends a MOVE request to the server; @@ -453,7 +1140,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.move('/todos/1') # - # source://net-http//net/http.rb#2110 + # source://net-http//lib/net/http.rb#2110 def move(path, initheader = T.unsafe(nil)); end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -462,7 +1149,7 @@ class Net::HTTP < ::Net::Protocol # If the connection is not made in the given interval, # an exception is raised. # - # source://net-http//net/http.rb#1296 + # source://net-http//lib/net/http.rb#1296 def open_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -471,7 +1158,7 @@ class Net::HTTP < ::Net::Protocol # If the connection is not made in the given interval, # an exception is raised. # - # source://net-http//net/http.rb#1296 + # source://net-http//lib/net/http.rb#1296 def open_timeout=(_arg0); end # Sends an Options request to the server; @@ -483,7 +1170,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.options('/') # - # source://net-http//net/http.rb#2070 + # source://net-http//lib/net/http.rb#2070 def options(path, initheader = T.unsafe(nil)); end # :call-seq: @@ -511,19 +1198,19 @@ class Net::HTTP < ::Net::Protocol # # http.patch('/todos/1', data) # => # # - # source://net-http//net/http.rb#2001 + # source://net-http//lib/net/http.rb#2001 def patch(path, data, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Returns the X509 certificate chain (an array of strings) # for the session's socket peer, # or +nil+ if none. # - # source://net-http//net/http.rb#1537 + # source://net-http//lib/net/http.rb#1537 def peer_cert; end # Returns the integer port number given as argument +port+ in ::new. # - # source://net-http//net/http.rb#1197 + # source://net-http//lib/net/http.rb#1197 def port; end # :call-seq: @@ -556,7 +1243,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Post: request class for \HTTP method POST. # - Net::HTTP.post: sends POST request, returns response body. # - # source://net-http//net/http.rb#1972 + # source://net-http//lib/net/http.rb#1972 def post(path, data, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Sends a POST request to the server; @@ -582,7 +1269,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//net/http.rb#2216 + # source://net-http//lib/net/http.rb#2236 def post2(path, data, initheader = T.unsafe(nil), &block); end # Sends a PROPFIND request to the server; @@ -595,7 +1282,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.propfind('/todos/1', data) # - # source://net-http//net/http.rb#2084 + # source://net-http//lib/net/http.rb#2084 def propfind(path, body = T.unsafe(nil), initheader = T.unsafe(nil)); end # Sends a PROPPATCH request to the server; @@ -608,7 +1295,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.proppatch('/todos/1', data) # - # source://net-http//net/http.rb#2029 + # source://net-http//lib/net/http.rb#2029 def proppatch(path, body, initheader = T.unsafe(nil)); end # Returns +true+ if a proxy server is defined, +false+ otherwise; @@ -616,26 +1303,26 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//net/http.rb#1785 + # source://net-http//lib/net/http.rb#1785 def proxy?; end # Returns the address of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1807 + # source://net-http//lib/net/http.rb#1807 def proxy_address; end # Sets the proxy address; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1241 + # source://net-http//lib/net/http.rb#1241 def proxy_address=(_arg0); end # Sets whether to determine the proxy from environment variable # 'ENV['http_proxy']'; # see {Proxy Using ENV['http_proxy']}[rdoc-ref:Net::HTTP@Proxy+Using+-27ENV-5B-27http_proxy-27-5D-27]. # - # source://net-http//net/http.rb#1237 + # source://net-http//lib/net/http.rb#1237 def proxy_from_env=(_arg0); end # Returns +true+ if the proxy server is defined in the environment, @@ -644,60 +1331,60 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//net/http.rb#1792 + # source://net-http//lib/net/http.rb#1792 def proxy_from_env?; end # Returns the password of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1838 + # source://net-http//lib/net/http.rb#1838 def proxy_pass; end # Sets the proxy password; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1253 + # source://net-http//lib/net/http.rb#1253 def proxy_pass=(_arg0); end # Returns the port number of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1817 + # source://net-http//lib/net/http.rb#1817 def proxy_port; end # Sets the proxy port; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1245 + # source://net-http//lib/net/http.rb#1245 def proxy_port=(_arg0); end # The proxy URI determined from the environment for this connection. # - # source://net-http//net/http.rb#1797 + # source://net-http//lib/net/http.rb#1797 def proxy_uri; end # Returns the user name of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1827 + # source://net-http//lib/net/http.rb#1827 def proxy_user; end # Sets the proxy user; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1249 + # source://net-http//lib/net/http.rb#1249 def proxy_user=(_arg0); end # Returns the address of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1807 + # source://net-http//lib/net/http.rb#1847 def proxyaddr; end # Returns the port number of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1817 + # source://net-http//lib/net/http.rb#1848 def proxyport; end # Sends a PUT request to the server; @@ -710,7 +1397,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.put('/todos/1', data) # => # # - # source://net-http//net/http.rb#2015 + # source://net-http//lib/net/http.rb#2015 def put(path, data, initheader = T.unsafe(nil)); end # Sends a PUT request to the server; @@ -723,14 +1410,14 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//net/http.rb#2230 + # source://net-http//lib/net/http.rb#2237 def put2(path, data, initheader = T.unsafe(nil), &block); end # Returns the numeric (\Integer or \Float) number of seconds # to wait for one block to be read (via one read(2) call); # see #read_timeout=. # - # source://net-http//net/http.rb#1301 + # source://net-http//lib/net/http.rb#1301 def read_timeout; end # Sets the read timeout, in seconds, for +self+ to integer +sec+; @@ -744,7 +1431,7 @@ class Net::HTTP < ::Net::Protocol # http.read_timeout = 0 # http.get('/todos/1') # Raises Net::ReadTimeout. # - # source://net-http//net/http.rb#1343 + # source://net-http//lib/net/http.rb#1343 def read_timeout=(sec); end # Sends the given request +req+ to the server; @@ -777,7 +1464,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//net/http.rb#2295 + # source://net-http//lib/net/http.rb#2295 def request(req, body = T.unsafe(nil), &block); end # Sends a GET request to the server; @@ -802,7 +1489,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//net/http.rb#2176 + # source://net-http//lib/net/http.rb#2176 def request_get(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -814,7 +1501,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//net/http.rb#2189 + # source://net-http//lib/net/http.rb#2189 def request_head(path, initheader = T.unsafe(nil), &block); end # Sends a POST request to the server; @@ -840,7 +1527,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//net/http.rb#2216 + # source://net-http//lib/net/http.rb#2216 def request_post(path, data, initheader = T.unsafe(nil), &block); end # Sends a PUT request to the server; @@ -853,13 +1540,13 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//net/http.rb#2230 + # source://net-http//lib/net/http.rb#2230 def request_put(path, data, initheader = T.unsafe(nil), &block); end # Returns the encoding to use for the response body; # see #response_body_encoding=. # - # source://net-http//net/http.rb#1209 + # source://net-http//lib/net/http.rb#1209 def response_body_encoding; end # Sets the encoding to be used for the response body; @@ -871,7 +1558,7 @@ class Net::HTTP < ::Net::Protocol # - The name of an encoding. # - An alias for an encoding name. # - # See {Encoding}[rdoc-ref:Encoding]. + # See {Encoding}[https://docs.ruby-lang.org/en/master/Encoding.html]. # # Examples: # @@ -880,7 +1567,7 @@ class Net::HTTP < ::Net::Protocol # http.response_body_encoding = 'US-ASCII' # => "US-ASCII" # http.response_body_encoding = 'ASCII' # => "ASCII" # - # source://net-http//net/http.rb#1229 + # source://net-http//lib/net/http.rb#1229 def response_body_encoding=(value); end # Sends an \HTTP request to the server; @@ -903,7 +1590,7 @@ class Net::HTTP < ::Net::Protocol # http.send_request('POST', '/todos', 'xyzzy') # # => # # - # source://net-http//net/http.rb#2259 + # source://net-http//lib/net/http.rb#2259 def send_request(name, path, data = T.unsafe(nil), header = T.unsafe(nil)); end # *WARNING* This method opens a serious security hole. @@ -955,29 +1642,29 @@ class Net::HTTP < ::Net::Protocol # read 2 bytes # Conn keep-alive # - # source://net-http//net/http.rb#1188 + # source://net-http//lib/net/http.rb#1188 def set_debug_output(output); end # Sets or returns the SSL timeout seconds. # - # source://net-http//net/http.rb#1504 + # source://net-http//lib/net/http.rb#1504 def ssl_timeout; end # Sets or returns the SSL timeout seconds. # - # source://net-http//net/http.rb#1504 + # source://net-http//lib/net/http.rb#1504 def ssl_timeout=(_arg0); end # Sets or returns the SSL version. - # See {OpenSSL::SSL::SSLContext#ssl_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#ssl_version-3D]. + # See {OpenSSL::SSL::SSLContext#ssl_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D]. # - # source://net-http//net/http.rb#1508 + # source://net-http//lib/net/http.rb#1508 def ssl_version; end # Sets or returns the SSL version. - # See {OpenSSL::SSL::SSLContext#ssl_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#ssl_version-3D]. + # See {OpenSSL::SSL::SSLContext#ssl_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D]. # - # source://net-http//net/http.rb#1508 + # source://net-http//lib/net/http.rb#1508 def ssl_version=(_arg0); end # Starts an \HTTP session. @@ -1003,7 +1690,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//net/http.rb#1565 + # source://net-http//lib/net/http.rb#1565 def start; end # Returns +true+ if the \HTTP session has been started: @@ -1022,7 +1709,7 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//net/http.rb#1413 + # source://net-http//lib/net/http.rb#1413 def started?; end # Sends a TRACE request to the server; @@ -1034,7 +1721,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.trace('/todos/1') # - # source://net-http//net/http.rb#2150 + # source://net-http//lib/net/http.rb#2150 def trace(path, initheader = T.unsafe(nil)); end # Sends an UNLOCK request to the server; @@ -1047,7 +1734,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.unlock('/todos/1', data) # - # source://net-http//net/http.rb#2057 + # source://net-http//lib/net/http.rb#2057 def unlock(path, body, initheader = T.unsafe(nil)); end # Sets whether a new session is to use @@ -1057,7 +1744,7 @@ class Net::HTTP < ::Net::Protocol # # Raises OpenSSL::SSL::SSLError if the port is not an HTTPS port. # - # source://net-http//net/http.rb#1435 + # source://net-http//lib/net/http.rb#1435 def use_ssl=(flag); end # Returns +true+ if +self+ uses SSL, +false+ otherwise. @@ -1065,62 +1752,62 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//net/http.rb#1425 + # source://net-http//lib/net/http.rb#1425 def use_ssl?; end # Sets or returns the callback for the server certification verification. # - # source://net-http//net/http.rb#1519 + # source://net-http//lib/net/http.rb#1519 def verify_callback; end # Sets or returns the callback for the server certification verification. # - # source://net-http//net/http.rb#1519 + # source://net-http//lib/net/http.rb#1519 def verify_callback=(_arg0); end # Sets or returns the maximum depth for the certificate chain verification. # - # source://net-http//net/http.rb#1522 + # source://net-http//lib/net/http.rb#1522 def verify_depth; end # Sets or returns the maximum depth for the certificate chain verification. # - # source://net-http//net/http.rb#1522 + # source://net-http//lib/net/http.rb#1522 def verify_depth=(_arg0); end # Sets or returns whether to verify that the server certificate is valid # for the hostname. - # See {OpenSSL::SSL::SSLContext#verify_hostname=}[rdoc-ref:OpenSSL::SSL::SSLContext#attribute-i-verify_mode]. + # See {OpenSSL::SSL::SSLContext#verify_hostname=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. # - # source://net-http//net/http.rb#1532 + # source://net-http//lib/net/http.rb#1532 def verify_hostname; end # Sets or returns whether to verify that the server certificate is valid # for the hostname. - # See {OpenSSL::SSL::SSLContext#verify_hostname=}[rdoc-ref:OpenSSL::SSL::SSLContext#attribute-i-verify_mode]. + # See {OpenSSL::SSL::SSLContext#verify_hostname=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. # - # source://net-http//net/http.rb#1532 + # source://net-http//lib/net/http.rb#1532 def verify_hostname=(_arg0); end # Sets or returns the flags for server the certification verification # at the beginning of the SSL/TLS session. # OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable. # - # source://net-http//net/http.rb#1527 + # source://net-http//lib/net/http.rb#1527 def verify_mode; end # Sets or returns the flags for server the certification verification # at the beginning of the SSL/TLS session. # OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable. # - # source://net-http//net/http.rb#1527 + # source://net-http//lib/net/http.rb#1527 def verify_mode=(_arg0); end # Returns the numeric (\Integer or \Float) number of seconds # to wait for one block to be written (via one write(2) call); # see #write_timeout=. # - # source://net-http//net/http.rb#1306 + # source://net-http//lib/net/http.rb#1306 def write_timeout; end # Sets the write timeout, in seconds, for +self+ to integer +sec+; @@ -1142,76 +1829,76 @@ class Net::HTTP < ::Net::Protocol # http.write_timeout = 0 # http.post(_uri.path, data, headers) # Raises Net::WriteTimeout. # - # source://net-http//net/http.rb#1367 + # source://net-http//lib/net/http.rb#1367 def write_timeout=(sec); end private # Adds a message to debugging output # - # source://net-http//net/http.rb#2472 + # source://net-http//lib/net/http.rb#2478 def D(msg); end - # source://net-http//net/http.rb#2464 + # source://net-http//lib/net/http.rb#2464 def addr_port; end - # source://net-http//net/http.rb#2381 + # source://net-http//lib/net/http.rb#2381 def begin_transport(req); end # without proxy, obsolete # - # source://net-http//net/http.rb#1859 + # source://net-http//lib/net/http.rb#1859 def conn_address; end - # source://net-http//net/http.rb#1863 + # source://net-http//lib/net/http.rb#1863 def conn_port; end - # source://net-http//net/http.rb#1585 + # source://net-http//lib/net/http.rb#1585 def connect; end # Adds a message to debugging output # - # source://net-http//net/http.rb#2472 + # source://net-http//lib/net/http.rb#2472 def debug(msg); end - # source://net-http//net/http.rb#1713 + # source://net-http//lib/net/http.rb#1713 def do_finish; end - # source://net-http//net/http.rb#1579 + # source://net-http//lib/net/http.rb#1579 def do_start; end - # source://net-http//net/http.rb#1867 + # source://net-http//lib/net/http.rb#1867 def edit_path(path); end - # source://net-http//net/http.rb#2404 + # source://net-http//lib/net/http.rb#2404 def end_transport(req, res); end # @return [Boolean] # - # source://net-http//net/http.rb#2421 + # source://net-http//lib/net/http.rb#2421 def keep_alive?(req, res); end - # source://net-http//net/http.rb#1695 + # source://net-http//lib/net/http.rb#1695 def on_connect; end # Executes a request which uses a representation # and returns its body. # - # source://net-http//net/http.rb#2318 + # source://net-http//lib/net/http.rb#2318 def send_entity(path, data, initheader, dest, type, &block); end - # source://net-http//net/http.rb#2445 + # source://net-http//lib/net/http.rb#2445 def sspi_auth(req); end # @return [Boolean] # - # source://net-http//net/http.rb#2430 + # source://net-http//lib/net/http.rb#2430 def sspi_auth?(res); end - # source://net-http//net/http.rb#2329 + # source://net-http//lib/net/http.rb#2329 def transport_request(req); end - # source://net-http//net/http.rb#1852 + # source://net-http//lib/net/http.rb#1852 def unescape(value); end class << self @@ -1221,14 +1908,14 @@ class Net::HTTP < ::Net::Protocol # This class is obsolete. You may pass these same parameters directly to # \Net::HTTP.new. See Net::HTTP.new for details of the arguments. # - # source://net-http//net/http.rb#1739 + # source://net-http//lib/net/http.rb#1739 def Proxy(p_addr = T.unsafe(nil), p_port = T.unsafe(nil), p_user = T.unsafe(nil), p_pass = T.unsafe(nil)); end # Returns integer +80+, the default port to use for \HTTP requests: # # Net::HTTP.default_port # => 80 # - # source://net-http//net/http.rb#900 + # source://net-http//lib/net/http.rb#900 def default_port; end # :call-seq: @@ -1263,7 +1950,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Get: request class for \HTTP method +GET+. # - Net::HTTP#get: convenience method for \HTTP method +GET+. # - # source://net-http//net/http.rb#802 + # source://net-http//lib/net/http.rb#802 def get(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil)); end # :call-seq: @@ -1273,7 +1960,7 @@ class Net::HTTP < ::Net::Protocol # Like Net::HTTP.get, but writes the returned body to $stdout; # returns +nil+. # - # source://net-http//net/http.rb#761 + # source://net-http//lib/net/http.rb#761 def get_print(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil)); end # :call-seq: @@ -1283,35 +1970,35 @@ class Net::HTTP < ::Net::Protocol # Like Net::HTTP.get, but returns a Net::HTTPResponse object # instead of the body string. # - # source://net-http//net/http.rb#812 + # source://net-http//lib/net/http.rb#812 def get_response(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil), &block); end # Returns integer +80+, the default port to use for \HTTP requests: # # Net::HTTP.http_default_port # => 80 # - # source://net-http//net/http.rb#908 + # source://net-http//lib/net/http.rb#908 def http_default_port; end # Returns integer +443+, the default port to use for HTTPS requests: # # Net::HTTP.https_default_port # => 443 # - # source://net-http//net/http.rb#916 + # source://net-http//lib/net/http.rb#916 def https_default_port; end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//net/http.rb#746 + # source://net-http//lib/net/http.rb#751 def is_version_1_1?; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//net/http.rb#741 + # source://net-http//lib/net/http.rb#752 def is_version_1_2?; end # Returns a new \Net::HTTP object +http+ @@ -1343,9 +2030,12 @@ class Net::HTTP < ::Net::Protocol # For proxy-defining arguments +p_addr+ through +p_no_proxy+, # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//net/http.rb#1065 + # source://net-http//lib/net/http.rb#1065 def new(address, port = T.unsafe(nil), p_addr = T.unsafe(nil), p_port = T.unsafe(nil), p_user = T.unsafe(nil), p_pass = T.unsafe(nil), p_no_proxy = T.unsafe(nil)); end + # source://net-http//lib/net/http.rb#1033 + def newobj(*_arg0); end + # Posts data to a host; returns a Net::HTTPResponse object. # # Argument +url+ must be a URL; @@ -1372,7 +2062,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Post: request class for \HTTP method +POST+. # - Net::HTTP#post: convenience method for \HTTP method +POST+. # - # source://net-http//net/http.rb#855 + # source://net-http//lib/net/http.rb#855 def post(url, data, header = T.unsafe(nil)); end # Posts data to a host; returns a Net::HTTPResponse object. @@ -1395,41 +2085,41 @@ class Net::HTTP < ::Net::Protocol # "id": 101 # } # - # source://net-http//net/http.rb#882 + # source://net-http//lib/net/http.rb#882 def post_form(url, params); end # Returns the address of the proxy host, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//net/http.rb#1768 + # source://net-http//lib/net/http.rb#1768 def proxy_address; end # Returns true if self is a class which was created by HTTP::Proxy. # # @return [Boolean] # - # source://net-http//net/http.rb#1762 + # source://net-http//lib/net/http.rb#1762 def proxy_class?; end # Returns the password for accessing the proxy, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//net/http.rb#1780 + # source://net-http//lib/net/http.rb#1780 def proxy_pass; end # Returns the port number of the proxy host, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//net/http.rb#1772 + # source://net-http//lib/net/http.rb#1772 def proxy_port; end # Returns the user name for accessing the proxy, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//net/http.rb#1776 + # source://net-http//lib/net/http.rb#1776 def proxy_user; end - # source://net-http//net/http.rb#920 + # source://net-http//lib/net/http.rb#920 def socket_type; end # :call-seq: @@ -1518,49 +2208,50 @@ class Net::HTTP < ::Net::Protocol # Note: If +port+ is +nil+ and opts[:use_ssl] is a truthy value, # the value passed to +new+ is Net::HTTP.https_default_port, not +port+. # - # source://net-http//net/http.rb#1010 + # source://net-http//lib/net/http.rb#1010 def start(address, *arg, &block); end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//net/http.rb#746 + # source://net-http//lib/net/http.rb#746 def version_1_1?; end # Returns +true+; retained for compatibility. # - # source://net-http//net/http.rb#736 + # source://net-http//lib/net/http.rb#736 def version_1_2; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//net/http.rb#741 + # source://net-http//lib/net/http.rb#741 def version_1_2?; end end end +# source://net-http//lib/net/http/proxy_delta.rb#2 module Net::HTTP::ProxyDelta private - # source://net-http//net/http/proxy_delta.rb#5 + # source://net-http//lib/net/http/proxy_delta.rb#5 def conn_address; end - # source://net-http//net/http/proxy_delta.rb#9 + # source://net-http//lib/net/http/proxy_delta.rb#9 def conn_port; end - # source://net-http//net/http/proxy_delta.rb#13 + # source://net-http//lib/net/http/proxy_delta.rb#13 def edit_path(path); end end -# source://net-http//net/http/backward.rb#7 +# source://net-http//lib/net/http/backward.rb#7 Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta # :stopdoc: # -# source://net-http//net/http.rb#725 +# source://net-http//lib/net/http.rb#725 Net::HTTP::VERSION = T.let(T.unsafe(nil), String) # Response class for Already Reported (WebDAV) responses (status code 208). @@ -1577,15 +2268,17 @@ Net::HTTP::VERSION = T.let(T.unsafe(nil), String) # # - {RFC 5842}[https://www.rfc-editor.org/rfc/rfc5842.html#section-7.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#208]. +# +# source://net-http//lib/net/http/responses.rb#306 class Net::HTTPAlreadyReported < ::Net::HTTPSuccess; end -# source://net-http//net/http/responses.rb#307 +# source://net-http//lib/net/http/responses.rb#307 Net::HTTPAlreadyReported::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//net/http/responses.rb#67 +# source://net-http//lib/net/http/responses.rb#67 Net::HTTPClientError::EXCEPTION_TYPE = Net::HTTPClientException -# source://net-http//net/http/backward.rb#23 +# source://net-http//lib/net/http/backward.rb#23 Net::HTTPClientErrorCode = Net::HTTPClientError # Response class for Early Hints responses (status code 103). @@ -1601,12 +2294,14 @@ Net::HTTPClientErrorCode = Net::HTTPClientError # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103]. # - {RFC 8297}[https://www.rfc-editor.org/rfc/rfc8297.html#section-2]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#103]. +# +# source://net-http//lib/net/http/responses.rb#147 class Net::HTTPEarlyHints < ::Net::HTTPInformation; end -# source://net-http//net/http/responses.rb#148 +# source://net-http//lib/net/http/responses.rb#148 Net::HTTPEarlyHints::HAS_BODY = T.let(T.unsafe(nil), FalseClass) -# source://net-http//net/http/backward.rb#24 +# source://net-http//lib/net/http/backward.rb#24 Net::HTTPFatalErrorCode = Net::HTTPClientError # \HTTPGenericRequest is the parent of the Net::HTTPRequest class. @@ -1616,18 +2311,20 @@ Net::HTTPFatalErrorCode = Net::HTTPClientError # == About the Examples # # :include: doc/net-http/examples.rdoc +# +# source://net-http//lib/net/http/generic_request.rb#11 class Net::HTTPGenericRequest include ::Net::HTTPHeader # @return [HTTPGenericRequest] a new instance of HTTPGenericRequest # - # source://net-http//net/http/generic_request.rb#15 + # source://net-http//lib/net/http/generic_request.rb#15 def initialize(m, reqbody, resbody, uri_or_path, initheader = T.unsafe(nil)); end # Don't automatically decode response content-encoding if the user indicates # they want to handle it. # - # source://net-http//net/http/generic_request.rb#109 + # source://net-http//lib/net/http/generic_request.rb#109 def []=(key, val); end # Returns the string body for the request, or +nil+ if there is none: @@ -1637,7 +2334,7 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//net/http/generic_request.rb#145 + # source://net-http//lib/net/http/generic_request.rb#145 def body; end # Sets the body for the request: @@ -1647,12 +2344,12 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//net/http/generic_request.rb#154 + # source://net-http//lib/net/http/generic_request.rb#154 def body=(str); end # @return [Boolean] # - # source://net-http//net/http/generic_request.rb#133 + # source://net-http//lib/net/http/generic_request.rb#133 def body_exist?; end # Returns the body stream object for the request, or +nil+ if there is none: @@ -1663,7 +2360,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//net/http/generic_request.rb#169 + # source://net-http//lib/net/http/generic_request.rb#169 def body_stream; end # Sets the body stream for the request: @@ -1674,7 +2371,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//net/http/generic_request.rb#179 + # source://net-http//lib/net/http/generic_request.rb#179 def body_stream=(input); end # Returns +false+ if the request's header 'Accept-Encoding' @@ -1690,19 +2387,19 @@ class Net::HTTPGenericRequest # req.delete('Accept-Encoding') # req.decode_content # => false # - # source://net-http//net/http/generic_request.rb#95 + # source://net-http//lib/net/http/generic_request.rb#95 def decode_content; end # write # - # source://net-http//net/http/generic_request.rb#198 + # source://net-http//lib/net/http/generic_request.rb#198 def exec(sock, ver, path); end # Returns a string representation of the request: # # Net::HTTP::Post.new(uri).inspect # => "#" # - # source://net-http//net/http/generic_request.rb#101 + # source://net-http//lib/net/http/generic_request.rb#101 def inspect; end # Returns the string method name for the request: @@ -1710,7 +2407,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).method # => "GET" # Net::HTTP::Post.new(uri).method # => "POST" # - # source://net-http//net/http/generic_request.rb#65 + # source://net-http//lib/net/http/generic_request.rb#65 def method; end # Returns the string path for the request: @@ -1718,7 +2415,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).path # => "/" # Net::HTTP::Post.new('example.com').path # => "example.com" # - # source://net-http//net/http/generic_request.rb#72 + # source://net-http//lib/net/http/generic_request.rb#72 def path; end # Returns whether the request may have a body: @@ -1728,7 +2425,7 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//net/http/generic_request.rb#120 + # source://net-http//lib/net/http/generic_request.rb#120 def request_body_permitted?; end # Returns whether the response may have a body: @@ -1738,15 +2435,15 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//net/http/generic_request.rb#129 + # source://net-http//lib/net/http/generic_request.rb#129 def response_body_permitted?; end # @raise [ArgumentError] # - # source://net-http//net/http/generic_request.rb#186 + # source://net-http//lib/net/http/generic_request.rb#186 def set_body_internal(str); end - # source://net-http//net/http/generic_request.rb#210 + # source://net-http//lib/net/http/generic_request.rb#210 def update_uri(addr, port, ssl); end # Returns the URI object for the request, or +nil+ if none: @@ -1755,52 +2452,53 @@ class Net::HTTPGenericRequest # # => # # Net::HTTP::Get.new('example.com').uri # => nil # - # source://net-http//net/http/generic_request.rb#80 + # source://net-http//lib/net/http/generic_request.rb#80 def uri; end private - # source://net-http//net/http/generic_request.rb#312 + # source://net-http//lib/net/http/generic_request.rb#312 def encode_multipart_form_data(out, params, opt); end - # source://net-http//net/http/generic_request.rb#368 + # source://net-http//lib/net/http/generic_request.rb#368 def flush_buffer(out, buf, chunked_p); end - # source://net-http//net/http/generic_request.rb#363 + # source://net-http//lib/net/http/generic_request.rb#363 def quote_string(str, charset); end - # source://net-http//net/http/generic_request.rb#260 + # source://net-http//lib/net/http/generic_request.rb#260 def send_request_with_body(sock, ver, path, body); end - # source://net-http//net/http/generic_request.rb#286 + # source://net-http//lib/net/http/generic_request.rb#286 def send_request_with_body_data(sock, ver, path, params); end - # source://net-http//net/http/generic_request.rb#269 + # source://net-http//lib/net/http/generic_request.rb#269 def send_request_with_body_stream(sock, ver, path, f); end - # source://net-http//net/http/generic_request.rb#376 + # source://net-http//lib/net/http/generic_request.rb#376 def supply_default_content_type; end # Waits up to the continue timeout for a response from the server provided # we're speaking HTTP 1.1 and are expecting a 100-continue response. # - # source://net-http//net/http/generic_request.rb#386 + # source://net-http//lib/net/http/generic_request.rb#386 def wait_for_continue(sock, ver); end - # source://net-http//net/http/generic_request.rb#399 + # source://net-http//lib/net/http/generic_request.rb#399 def write_header(sock, ver, path); end end +# source://net-http//lib/net/http/generic_request.rb#242 class Net::HTTPGenericRequest::Chunker # @return [Chunker] a new instance of Chunker # - # source://net-http//net/http/generic_request.rb#243 + # source://net-http//lib/net/http/generic_request.rb#243 def initialize(sock); end - # source://net-http//net/http/generic_request.rb#255 + # source://net-http//lib/net/http/generic_request.rb#255 def finish; end - # source://net-http//net/http/generic_request.rb#248 + # source://net-http//lib/net/http/generic_request.rb#248 def write(buf); end end @@ -1981,6 +2679,8 @@ end # - #each_header: Passes each field name/value pair to the block. # - #each_name: Passes each field name to the block. # - #each_value: Passes each string field value to the block. +# +# source://net-http//lib/net/http/header.rb#181 module Net::HTTPHeader # Returns the string field value for the case-insensitive field +key+, # or +nil+ if there is no such key; @@ -1993,7 +2693,7 @@ module Net::HTTPHeader # Note that some field values may be retrieved via convenience methods; # see {Getters}[rdoc-ref:Net::HTTPHeader@Getters]. # - # source://net-http//net/http/header.rb#224 + # source://net-http//lib/net/http/header.rb#224 def [](key); end # Sets the value for the case-insensitive +key+ to +val+, @@ -2008,7 +2708,7 @@ module Net::HTTPHeader # Note that some field values may be set via convenience methods; # see {Setters}[rdoc-ref:Net::HTTPHeader@Setters]. # - # source://net-http//net/http/header.rb#240 + # source://net-http//lib/net/http/header.rb#240 def []=(key, val); end # Adds value +val+ to the value array for field +key+ if the field exists; @@ -2024,7 +2724,7 @@ module Net::HTTPHeader # req['Foo'] # => "bar, baz, baz, bam" # req.get_fields('Foo') # => ["bar", "baz", "baz", "bam"] # - # source://net-http//net/http/header.rb#261 + # source://net-http//lib/net/http/header.rb#261 def add_field(key, val); end # Sets header 'Authorization' using the given @@ -2034,14 +2734,14 @@ module Net::HTTPHeader # req['Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//net/http/header.rb#945 + # source://net-http//lib/net/http/header.rb#945 def basic_auth(account, password); end # Like #each_header, but the keys are returned in capitalized form. # # Net::HTTPHeader#canonical_each is an alias for Net::HTTPHeader#each_capitalized. # - # source://net-http//net/http/header.rb#484 + # source://net-http//lib/net/http/header.rb#491 def canonical_each; end # Returns +true+ if field 'Transfer-Encoding' @@ -2055,21 +2755,21 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//net/http/header.rb#654 + # source://net-http//lib/net/http/header.rb#654 def chunked?; end # Returns whether the HTTP session is to be closed. # # @return [Boolean] # - # source://net-http//net/http/header.rb#966 + # source://net-http//lib/net/http/header.rb#966 def connection_close?; end # Returns whether the HTTP session is to be kept alive. # # @return [Boolean] # - # source://net-http//net/http/header.rb#974 + # source://net-http//lib/net/http/header.rb#974 def connection_keep_alive?; end # Returns the value of field 'Content-Length' as an integer, @@ -2081,7 +2781,7 @@ module Net::HTTPHeader # res = Net::HTTP.get_response(hostname, '/todos/1') # res.content_length # => nil # - # source://net-http//net/http/header.rb#616 + # source://net-http//lib/net/http/header.rb#616 def content_length; end # Sets the value of field 'Content-Length' to the given numeric; @@ -2098,7 +2798,7 @@ module Net::HTTPHeader # http.request(req) # end # => # # - # source://net-http//net/http/header.rb#637 + # source://net-http//lib/net/http/header.rb#637 def content_length=(len); end # Returns a Range object representing the value of field @@ -2111,7 +2811,7 @@ module Net::HTTPHeader # res['Content-Range'] # => "bytes 0-499/1000" # res.content_range # => 0..499 # - # source://net-http//net/http/header.rb#670 + # source://net-http//lib/net/http/header.rb#670 def content_range; end # Returns the {media type}[https://en.wikipedia.org/wiki/Media_type] @@ -2123,7 +2823,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.content_type # => "application/json" # - # source://net-http//net/http/header.rb#701 + # source://net-http//lib/net/http/header.rb#701 def content_type; end # Sets the value of field 'Content-Type'; @@ -2135,7 +2835,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//net/http/header.rb#772 + # source://net-http//lib/net/http/header.rb#776 def content_type=(type, params = T.unsafe(nil)); end # Removes the header for the given case-insensitive +key+ @@ -2146,7 +2846,7 @@ module Net::HTTPHeader # req.delete('Accept') # => ["*/*"] # req.delete('Nosuch') # => nil # - # source://net-http//net/http/header.rb#453 + # source://net-http//lib/net/http/header.rb#453 def delete(key); end # Calls the block with each key/value pair: @@ -2168,14 +2868,14 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//net/http/header.rb#364 + # source://net-http//lib/net/http/header.rb#371 def each; end # Like #each_header, but the keys are returned in capitalized form. # # Net::HTTPHeader#canonical_each is an alias for Net::HTTPHeader#each_capitalized. # - # source://net-http//net/http/header.rb#484 + # source://net-http//lib/net/http/header.rb#484 def each_capitalized; end # Calls the block with each capitalized field name: @@ -2194,11 +2894,11 @@ module Net::HTTPHeader # "Cf-Ray" # # The capitalization is system-dependent; - # see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + # see {Case Mapping}[https://docs.ruby-lang.org/en/master/case_mapping_rdoc.html]. # # Returns an enumerator if no block is given. # - # source://net-http//net/http/header.rb#417 + # source://net-http//lib/net/http/header.rb#417 def each_capitalized_name; end # Calls the block with each key/value pair: @@ -2220,7 +2920,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//net/http/header.rb#364 + # source://net-http//lib/net/http/header.rb#364 def each_header; end # Calls the block with each field key: @@ -2242,7 +2942,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//net/http/header.rb#391 + # source://net-http//lib/net/http/header.rb#396 def each_key(&block); end # Calls the block with each field key: @@ -2264,7 +2964,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//net/http/header.rb#391 + # source://net-http//lib/net/http/header.rb#391 def each_name(&block); end # Calls the block with each string field value: @@ -2282,7 +2982,7 @@ module Net::HTTPHeader # # Returns an enumerator if no block is given. # - # source://net-http//net/http/header.rb#438 + # source://net-http//lib/net/http/header.rb#438 def each_value; end # call-seq: @@ -2314,7 +3014,7 @@ module Net::HTTPHeader # res.fetch('Nosuch', 'Foo') # => "Foo" # res.fetch('Nosuch') # Raises KeyError. # - # source://net-http//net/http/header.rb#341 + # source://net-http//lib/net/http/header.rb#341 def fetch(key, *args, &block); end # Sets the request body to a URL-encoded string derived from argument +params+, @@ -2324,7 +3024,7 @@ module Net::HTTPHeader # The resulting request is suitable for HTTP request +POST+ or +PUT+. # # Argument +params+ must be suitable for use as argument +enum+ to - # {URI.encode_www_form}[rdoc-ref:URI.encode_www_form]. + # {URI.encode_www_form}[https://docs.ruby-lang.org/en/master/URI.html#method-c-encode_www_form]. # # With only argument +params+ given, # sets the body to a URL-encoded string with the default separator '&': @@ -2352,7 +3052,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//net/http/header.rb#812 + # source://net-http//lib/net/http/header.rb#819 def form_data=(params, sep = T.unsafe(nil)); end # Returns the array field value for the given +key+, @@ -2363,10 +3063,10 @@ module Net::HTTPHeader # res.get_fields('Connection') # => ["keep-alive"] # res.get_fields('Nosuch') # => nil # - # source://net-http//net/http/header.rb#306 + # source://net-http//lib/net/http/header.rb#306 def get_fields(key); end - # source://net-http//net/http/header.rb#185 + # source://net-http//lib/net/http/header.rb#185 def initialize_http_header(initheader); end # Returns +true+ if the field for the case-insensitive +key+ exists, +false+ otherwise: @@ -2377,10 +3077,10 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//net/http/header.rb#463 + # source://net-http//lib/net/http/header.rb#463 def key?(key); end - # source://net-http//net/http/header.rb#208 + # source://net-http//lib/net/http/header.rb#212 def length; end # Returns the leading ('type') part of the @@ -2393,7 +3093,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.main_type # => "application" # - # source://net-http//net/http/header.rb#723 + # source://net-http//lib/net/http/header.rb#723 def main_type; end # Sets header 'Proxy-Authorization' using the given @@ -2403,7 +3103,7 @@ module Net::HTTPHeader # req['Proxy-Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//net/http/header.rb#956 + # source://net-http//lib/net/http/header.rb#956 def proxy_basic_auth(account, password); end # Returns an array of Range objects that represent @@ -2417,7 +3117,7 @@ module Net::HTTPHeader # req.delete('Range') # req.range # # => nil # - # source://net-http//net/http/header.rb#509 + # source://net-http//lib/net/http/header.rb#509 def range; end # call-seq: @@ -2446,7 +3146,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//net/http/header.rb#576 + # source://net-http//lib/net/http/header.rb#605 def range=(r, e = T.unsafe(nil)); end # Returns the integer representing length of the value of field @@ -2458,7 +3158,7 @@ module Net::HTTPHeader # res['Content-Range'] = 'bytes 0-499/1000' # res.range_length # => 500 # - # source://net-http//net/http/header.rb#687 + # source://net-http//lib/net/http/header.rb#687 def range_length; end # Sets the value of field 'Content-Type'; @@ -2470,7 +3170,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//net/http/header.rb#772 + # source://net-http//lib/net/http/header.rb#772 def set_content_type(type, params = T.unsafe(nil)); end # Stores form data to be used in a +POST+ or +PUT+ request. @@ -2483,7 +3183,7 @@ module Net::HTTPHeader # - An IO stream opened for reading. # # Argument +params+ should be an - # {Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes] + # {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html#module-Enumerable-label-Enumerable+in+Ruby+Classes] # (method params.map will be called), # and is often an array or hash. # @@ -2576,7 +3276,7 @@ module Net::HTTPHeader # - +:charset+: Value is the character set for the form submission. # Field names and values of non-file fields should be encoded with this charset. # - # source://net-http//net/http/header.rb#924 + # source://net-http//lib/net/http/header.rb#924 def set_form(params, enctype = T.unsafe(nil), formopt = T.unsafe(nil)); end # Sets the request body to a URL-encoded string derived from argument +params+, @@ -2586,7 +3286,7 @@ module Net::HTTPHeader # The resulting request is suitable for HTTP request +POST+ or +PUT+. # # Argument +params+ must be suitable for use as argument +enum+ to - # {URI.encode_www_form}[rdoc-ref:URI.encode_www_form]. + # {URI.encode_www_form}[https://docs.ruby-lang.org/en/master/URI.html#method-c-encode_www_form]. # # With only argument +params+ given, # sets the body to a URL-encoded string with the default separator '&': @@ -2614,7 +3314,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//net/http/header.rb#812 + # source://net-http//lib/net/http/header.rb#812 def set_form_data(params, sep = T.unsafe(nil)); end # call-seq: @@ -2643,10 +3343,10 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//net/http/header.rb#576 + # source://net-http//lib/net/http/header.rb#576 def set_range(r, e = T.unsafe(nil)); end - # source://net-http//net/http/header.rb#208 + # source://net-http//lib/net/http/header.rb#208 def size; end # Returns the trailing ('subtype') part of the @@ -2659,7 +3359,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.sub_type # => "json" # - # source://net-http//net/http/header.rb#738 + # source://net-http//lib/net/http/header.rb#738 def sub_type; end # Returns a hash of the key/value pairs: @@ -2672,7 +3372,7 @@ module Net::HTTPHeader # "user-agent"=>["Ruby"], # "host"=>["jsonplaceholder.typicode.com"]} # - # source://net-http//net/http/header.rb#477 + # source://net-http//lib/net/http/header.rb#477 def to_hash; end # Returns the trailing ('parameters') part of the value of field 'Content-Type', @@ -2683,34 +3383,34 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.type_params # => {"charset"=>"utf-8"} # - # source://net-http//net/http/header.rb#753 + # source://net-http//lib/net/http/header.rb#753 def type_params; end private - # source://net-http//net/http/header.rb#285 + # source://net-http//lib/net/http/header.rb#285 def append_field_value(ary, val); end - # source://net-http//net/http/header.rb#960 + # source://net-http//lib/net/http/header.rb#960 def basic_encode(account, password); end - # source://net-http//net/http/header.rb#493 + # source://net-http//lib/net/http/header.rb#493 def capitalize(name); end - # source://net-http//net/http/header.rb#270 + # source://net-http//lib/net/http/header.rb#270 def set_field(key, val); end end -# source://net-http//net/http/header.rb#183 +# source://net-http//lib/net/http/header.rb#183 Net::HTTPHeader::MAX_FIELD_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//net/http/header.rb#182 +# source://net-http//lib/net/http/header.rb#182 Net::HTTPHeader::MAX_KEY_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//net/http/responses.rb#23 +# source://net-http//lib/net/http/responses.rb#23 Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//net/http/backward.rb#19 +# source://net-http//lib/net/http/backward.rb#19 Net::HTTPInformationCode = Net::HTTPInformation # Response class for Loop Detected (WebDAV) responses (status code 508). @@ -2724,9 +3424,11 @@ Net::HTTPInformationCode = Net::HTTPInformation # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508]. # - {RFC 5942}[https://www.rfc-editor.org/rfc/rfc5842.html#section-7.2]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#508]. +# +# source://net-http//lib/net/http/responses.rb#1061 class Net::HTTPLoopDetected < ::Net::HTTPServerError; end -# source://net-http//net/http/responses.rb#1062 +# source://net-http//lib/net/http/responses.rb#1062 Net::HTTPLoopDetected::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for Misdirected Request responses (status code 421). @@ -2739,15 +3441,17 @@ Net::HTTPLoopDetected::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-421-misdirected-request]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#421]. +# +# source://net-http//lib/net/http/responses.rb#776 class Net::HTTPMisdirectedRequest < ::Net::HTTPClientError; end -# source://net-http//net/http/responses.rb#777 +# source://net-http//lib/net/http/responses.rb#777 Net::HTTPMisdirectedRequest::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//net/http/responses.rb#378 +# source://net-http//lib/net/http/responses.rb#378 Net::HTTPMovedTemporarily = Net::HTTPFound -# source://net-http//net/http/responses.rb#343 +# source://net-http//lib/net/http/responses.rb#343 Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # Response class for Not Extended responses (status code 510). @@ -2761,9 +3465,11 @@ Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510]. # - {RFC 2774}[https://www.rfc-editor.org/rfc/rfc2774.html#section-7]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#510]. +# +# source://net-http//lib/net/http/responses.rb#1078 class Net::HTTPNotExtended < ::Net::HTTPServerError; end -# source://net-http//net/http/responses.rb#1079 +# source://net-http//lib/net/http/responses.rb#1079 Net::HTTPNotExtended::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for Payload Too Large responses (status code 413). @@ -2777,9 +3483,11 @@ Net::HTTPNotExtended::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-413-content-too-large]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#413]. +# +# source://net-http//lib/net/http/responses.rb#688 class Net::HTTPPayloadTooLarge < ::Net::HTTPClientError; end -# source://net-http//net/http/responses.rb#689 +# source://net-http//lib/net/http/responses.rb#689 Net::HTTPPayloadTooLarge::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for +Processing+ responses (status code 102). @@ -2793,9 +3501,11 @@ Net::HTTPPayloadTooLarge::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # # - {RFC 2518}[https://www.rfc-editor.org/rfc/rfc2518#section-10.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#102]. +# +# source://net-http//lib/net/http/responses.rb#129 class Net::HTTPProcessing < ::Net::HTTPInformation; end -# source://net-http//net/http/responses.rb#130 +# source://net-http//lib/net/http/responses.rb#130 Net::HTTPProcessing::HAS_BODY = T.let(T.unsafe(nil), FalseClass) # Response class for Range Not Satisfiable responses (status code 416). @@ -2809,23 +3519,25 @@ Net::HTTPProcessing::HAS_BODY = T.let(T.unsafe(nil), FalseClass) # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-416-range-not-satisfiable]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#416]. +# +# source://net-http//lib/net/http/responses.rb#739 class Net::HTTPRangeNotSatisfiable < ::Net::HTTPClientError; end -# source://net-http//net/http/responses.rb#740 +# source://net-http//lib/net/http/responses.rb#740 Net::HTTPRangeNotSatisfiable::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//net/http/responses.rb#53 +# source://net-http//lib/net/http/responses.rb#53 Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError -# source://net-http//net/http/backward.rb#21 +# source://net-http//lib/net/http/backward.rb#21 Net::HTTPRedirectionCode = Net::HTTPRedirection -# source://net-http//net/http/responses.rb#709 +# source://net-http//lib/net/http/responses.rb#709 Net::HTTPRequestURITooLarge = Net::HTTPURITooLong # Typo since 2001 # -# source://net-http//net/http/backward.rb#28 +# source://net-http//lib/net/http/backward.rb#28 Net::HTTPResponceReceiver = Net::HTTPResponse # This class is the base class for \Net::HTTP response classes. @@ -2959,12 +3671,14 @@ Net::HTTPResponceReceiver = Net::HTTPResponse # # There is also the Net::HTTPBadResponse exception which is raised when # there is a protocol error. +# +# source://net-http//lib/net/http/response.rb#135 class Net::HTTPResponse include ::Net::HTTPHeader # @return [HTTPResponse] a new instance of HTTPResponse # - # source://net-http//net/http/response.rb#194 + # source://net-http//lib/net/http/response.rb#194 def initialize(httpv, code, msg); end # Returns the string response body; @@ -2982,25 +3696,25 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//net/http/response.rb#400 + # source://net-http//lib/net/http/response.rb#400 def body; end # Sets the body of the response to the given value. # - # source://net-http//net/http/response.rb#405 + # source://net-http//lib/net/http/response.rb#405 def body=(value); end # Returns the value set by body_encoding=, or +false+ if none; # see #body_encoding=. # - # source://net-http//net/http/response.rb#229 + # source://net-http//lib/net/http/response.rb#229 def body_encoding; end # Sets the encoding that should be used when reading the body: # # - If the given value is an Encoding object, that encoding will be used. # - Otherwise if the value is a string, the value of - # {Encoding#find(value)}[rdoc-ref:Encoding.find] + # {Encoding#find(value)}[https://docs.ruby-lang.org/en/master/Encoding.html#method-c-find] # will be used. # - Otherwise an encoding will be deduced from the body itself. # @@ -3018,31 +3732,31 @@ class Net::HTTPResponse # p res.body.encoding # => # # end # - # source://net-http//net/http/response.rb#253 + # source://net-http//lib/net/http/response.rb#253 def body_encoding=(value); end # The HTTP result code string. For example, '302'. You can also # determine the response type by examining which response subclass # the response object is an instance of. # - # source://net-http//net/http/response.rb#213 + # source://net-http//lib/net/http/response.rb#213 def code; end # response <-> exception relationship # - # source://net-http//net/http/response.rb#270 + # source://net-http//lib/net/http/response.rb#270 def code_type; end # Set to true automatically when the request did not contain an # Accept-Encoding header from the user. # - # source://net-http//net/http/response.rb#225 + # source://net-http//lib/net/http/response.rb#225 def decode_content; end # Set to true automatically when the request did not contain an # Accept-Encoding header from the user. # - # source://net-http//net/http/response.rb#225 + # source://net-http//lib/net/http/response.rb#225 def decode_content=(_arg0); end # Returns the string response body; @@ -3060,48 +3774,48 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//net/http/response.rb#400 + # source://net-http//lib/net/http/response.rb#409 def entity; end # @raise [error_type()] # - # source://net-http//net/http/response.rb#274 + # source://net-http//lib/net/http/response.rb#274 def error!; end - # source://net-http//net/http/response.rb#280 + # source://net-http//lib/net/http/response.rb#280 def error_type; end - # source://net-http//net/http/response.rb#302 + # source://net-http//lib/net/http/response.rb#302 def header; end # The HTTP version supported by the server. # - # source://net-http//net/http/response.rb#208 + # source://net-http//lib/net/http/response.rb#208 def http_version; end # Whether to ignore EOF when reading bodies with a specified Content-Length # header. # - # source://net-http//net/http/response.rb#260 + # source://net-http//lib/net/http/response.rb#260 def ignore_eof; end # Whether to ignore EOF when reading bodies with a specified Content-Length # header. # - # source://net-http//net/http/response.rb#260 + # source://net-http//lib/net/http/response.rb#260 def ignore_eof=(_arg0); end - # source://net-http//net/http/response.rb#262 + # source://net-http//lib/net/http/response.rb#262 def inspect; end # The HTTP result message sent by the server. For example, 'Not Found'. # - # source://net-http//net/http/response.rb#216 + # source://net-http//lib/net/http/response.rb#216 def message; end # The HTTP result message sent by the server. For example, 'Not Found'. # - # source://net-http//net/http/response.rb#216 + # source://net-http//lib/net/http/response.rb#217 def msg; end # Gets the entity body returned by the remote HTTP server. @@ -3132,48 +3846,48 @@ class Net::HTTPResponse # end # } # - # source://net-http//net/http/response.rb#355 + # source://net-http//lib/net/http/response.rb#355 def read_body(dest = T.unsafe(nil), &block); end - # source://net-http//net/http/response.rb#307 + # source://net-http//lib/net/http/response.rb#307 def read_header; end # body # - # source://net-http//net/http/response.rb#316 + # source://net-http//lib/net/http/response.rb#316 def reading_body(sock, reqmethodallowbody); end # header (for backward compatibility only; DO NOT USE) # - # source://net-http//net/http/response.rb#297 + # source://net-http//lib/net/http/response.rb#297 def response; end # The URI used to fetch this response. The response URI is only available # if a URI was used to create the request. # - # source://net-http//net/http/response.rb#221 + # source://net-http//lib/net/http/response.rb#221 def uri; end - # source://net-http//net/http/response.rb#289 + # source://net-http//lib/net/http/response.rb#289 def uri=(uri); end # Raises an HTTP error if the response is not 2xx (success). # - # source://net-http//net/http/response.rb#285 + # source://net-http//lib/net/http/response.rb#285 def value; end private - # source://net-http//net/http/response.rb#450 + # source://net-http//lib/net/http/response.rb#450 def check_bom(str); end - # source://net-http//net/http/response.rb#414 + # source://net-http//lib/net/http/response.rb#414 def detect_encoding(str, encoding = T.unsafe(nil)); end - # source://net-http//net/http/response.rb#540 + # source://net-http//lib/net/http/response.rb#540 def extracting_encodings_from_meta_elements(value); end - # source://net-http//net/http/response.rb#505 + # source://net-http//lib/net/http/response.rb#505 def get_attribute(ss); end # Checks for a supported Content-Encoding header and yields an Inflate @@ -3184,15 +3898,15 @@ class Net::HTTPResponse # If a Content-Range header is present, a plain socket is yielded as the # bytes in the range may not be a complete deflate block. # - # source://net-http//net/http/response.rb#557 + # source://net-http//lib/net/http/response.rb#557 def inflater; end # @raise [ArgumentError] # - # source://net-http//net/http/response.rb#646 + # source://net-http//lib/net/http/response.rb#646 def procdest(dest, block); end - # source://net-http//net/http/response.rb#592 + # source://net-http//lib/net/http/response.rb#592 def read_body_0(dest); end # read_chunked reads from +@socket+ for chunk-size, chunk-extension, CRLF, @@ -3201,18 +3915,18 @@ class Net::HTTPResponse # # See RFC 2616 section 3.6.1 for definitions # - # source://net-http//net/http/response.rb#622 + # source://net-http//lib/net/http/response.rb#622 def read_chunked(dest, chunk_data_io); end - # source://net-http//net/http/response.rb#464 + # source://net-http//lib/net/http/response.rb#464 def scanning_meta(str); end - # source://net-http//net/http/response.rb#434 + # source://net-http//lib/net/http/response.rb#434 def sniff_encoding(str, encoding = T.unsafe(nil)); end # @raise [IOError] # - # source://net-http//net/http/response.rb#642 + # source://net-http//lib/net/http/response.rb#642 def stream_check; end class << self @@ -3220,49 +3934,51 @@ class Net::HTTPResponse # # @return [Boolean] # - # source://net-http//net/http/response.rb#138 + # source://net-http//lib/net/http/response.rb#138 def body_permitted?; end - # source://net-http//net/http/response.rb#142 + # source://net-http//lib/net/http/response.rb#142 def exception_type; end - # source://net-http//net/http/response.rb#146 + # source://net-http//lib/net/http/response.rb#146 def read_new(sock); end private # @yield [key, value] # - # source://net-http//net/http/response.rb#170 + # source://net-http//lib/net/http/response.rb#170 def each_response_header(sock); end - # source://net-http//net/http/response.rb#157 + # source://net-http//lib/net/http/response.rb#157 def read_status_line(sock); end - # source://net-http//net/http/response.rb#164 + # source://net-http//lib/net/http/response.rb#164 def response_class(code); end end end # Inflater is a wrapper around Net::BufferedIO that transparently inflates # zlib and gzip streams. +# +# source://net-http//lib/net/http/response.rb#660 class Net::HTTPResponse::Inflater # Creates a new Inflater wrapping +socket+ # # @return [Inflater] a new instance of Inflater # - # source://net-http//net/http/response.rb#665 + # source://net-http//lib/net/http/response.rb#665 def initialize(socket); end # The number of bytes inflated, used to update the Content-Length of # the response. # - # source://net-http//net/http/response.rb#683 + # source://net-http//lib/net/http/response.rb#683 def bytes_inflated; end # Finishes the inflate stream. # - # source://net-http//net/http/response.rb#674 + # source://net-http//lib/net/http/response.rb#674 def finish; end # Returns a Net::ReadAdapter that inflates each read chunk into +dest+. @@ -3270,7 +3986,7 @@ class Net::HTTPResponse::Inflater # This allows a large response body to be inflated without storing the # entire body in memory. # - # source://net-http//net/http/response.rb#693 + # source://net-http//lib/net/http/response.rb#693 def inflate_adapter(dest); end # Reads +clen+ bytes from the socket, inflates them, then writes them to @@ -3283,34 +3999,34 @@ class Net::HTTPResponse::Inflater # # See https://bugs.ruby-lang.org/issues/6492 for further discussion. # - # source://net-http//net/http/response.rb#720 + # source://net-http//lib/net/http/response.rb#720 def read(clen, dest, ignore_eof = T.unsafe(nil)); end # Reads the rest of the socket, inflates it, then writes it to +dest+. # - # source://net-http//net/http/response.rb#729 + # source://net-http//lib/net/http/response.rb#729 def read_all(dest); end end -# source://net-http//net/http/backward.rb#26 +# source://net-http//lib/net/http/backward.rb#26 Net::HTTPResponseReceiver = Net::HTTPResponse -# source://net-http//net/http/backward.rb#22 +# source://net-http//lib/net/http/backward.rb#22 Net::HTTPRetriableCode = Net::HTTPRedirection -# source://net-http//net/http/responses.rb#81 +# source://net-http//lib/net/http/responses.rb#81 Net::HTTPServerError::EXCEPTION_TYPE = Net::HTTPFatalError -# source://net-http//net/http/backward.rb#25 +# source://net-http//lib/net/http/backward.rb#25 Net::HTTPServerErrorCode = Net::HTTPServerError -# source://net-http//net/http/backward.rb#17 +# source://net-http//lib/net/http/backward.rb#17 Net::HTTPSession = Net::HTTP -# source://net-http//net/http/responses.rb#38 +# source://net-http//lib/net/http/responses.rb#38 Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//net/http/backward.rb#20 +# source://net-http//lib/net/http/backward.rb#20 Net::HTTPSuccessCode = Net::HTTPSuccess # Response class for URI Too Long responses (status code 414). @@ -3324,12 +4040,14 @@ Net::HTTPSuccessCode = Net::HTTPSuccess # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-414-uri-too-long]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#414]. +# +# source://net-http//lib/net/http/responses.rb#705 class Net::HTTPURITooLong < ::Net::HTTPClientError; end -# source://net-http//net/http/responses.rb#706 +# source://net-http//lib/net/http/responses.rb#706 Net::HTTPURITooLong::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//net/http/responses.rb#9 +# source://net-http//lib/net/http/responses.rb#9 Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # Response class for Variant Also Negotiates responses (status code 506). @@ -3343,10 +4061,12 @@ Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506]. # - {RFC 2295}[https://www.rfc-editor.org/rfc/rfc2295#section-8.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#506]. +# +# source://net-http//lib/net/http/responses.rb#1029 class Net::HTTPVariantAlsoNegotiates < ::Net::HTTPServerError; end -# source://net-http//net/http/responses.rb#1030 +# source://net-http//lib/net/http/responses.rb#1030 Net::HTTPVariantAlsoNegotiates::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//net/http/backward.rb#12 +# source://net-http//lib/net/http/backward.rb#12 Net::NetPrivate::HTTPRequest = Net::HTTPRequest diff --git a/sorbet/rbi/gems/net-imap@0.5.0.rbi b/sorbet/rbi/gems/net-imap@0.5.0.rbi index e9c4d2423..a07f1b595 100644 --- a/sorbet/rbi/gems/net-imap@0.5.0.rbi +++ b/sorbet/rbi/gems/net-imap@0.5.0.rbi @@ -814,7 +814,7 @@ class Net::IMAP < ::Net::Protocol # # @return [IMAP] a new instance of IMAP # - # source://net-imap//lib/net/imap/deprecated_client_options.rb#72 + # source://net-imap//lib/net/imap.rb#909 def initialize(host, port_or_options = T.unsafe(nil), *deprecated, **options); end # Adds a response handler. For example, to detect when @@ -1088,7 +1088,7 @@ class Net::IMAP < ::Net::Protocol # # @return [Boolean] # - # source://net-imap//lib/net/imap.rb#998 + # source://net-imap//lib/net/imap.rb#999 def capability?(capability); end # Returns whether the server supports a given +capability+. When available, @@ -2076,7 +2076,7 @@ class Net::IMAP < ::Net::Protocol # Server capabilities may change after #starttls, #login, and #authenticate. # Cached #capabilities will be cleared when this method completes. # - # source://net-imap//lib/net/imap/deprecated_client_options.rb#106 + # source://net-imap//lib/net/imap.rb#1215 def starttls(*deprecated, **options); end # Sends a {STATUS command [IMAP4rev1 §6.3.10]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.3.10] @@ -2632,12 +2632,12 @@ class Net::IMAP < ::Net::Protocol # The default port for IMAP connections, port 143 # - # source://net-imap//lib/net/imap.rb#752 + # source://net-imap//lib/net/imap.rb#762 def default_imap_port; end # The default port for IMAPS connections, port 993 # - # source://net-imap//lib/net/imap.rb#757 + # source://net-imap//lib/net/imap.rb#763 def default_imaps_port; end # The default port for IMAP connections, port 143 @@ -2647,7 +2647,7 @@ class Net::IMAP < ::Net::Protocol # The default port for IMAPS connections, port 993 # - # source://net-imap//lib/net/imap.rb#757 + # source://net-imap//lib/net/imap.rb#764 def default_ssl_port; end # The default port for IMAPS connections, port 993 @@ -2671,7 +2671,7 @@ class Net::IMAP < ::Net::Protocol # # Formats +time+ as an IMAP4 date-time. # - # source://net-imap//lib/net/imap/data_encoding.rb#98 + # source://net-imap//lib/net/imap/data_encoding.rb#132 def encode_time(time); end # Encode a string from UTF-8 format to modified UTF-7. @@ -2681,7 +2681,7 @@ class Net::IMAP < ::Net::Protocol # Formats +time+ as an IMAP4 date. # - # source://net-imap//lib/net/imap/data_encoding.rb#80 + # source://net-imap//lib/net/imap/data_encoding.rb#133 def format_date(date); end # DEPRECATED:: The original version returned incorrectly formatted strings. @@ -2699,7 +2699,7 @@ class Net::IMAP < ::Net::Protocol # # Formats +time+ as an IMAP4 date-time. # - # source://net-imap//lib/net/imap/data_encoding.rb#98 + # source://net-imap//lib/net/imap/data_encoding.rb#134 def format_time(time); end # :call-seq: decode_date(string) -> Date @@ -2709,7 +2709,7 @@ class Net::IMAP < ::Net::Protocol # Double quotes are optional. Day of month may be padded with zero or # space. See STRFDATE. # - # source://net-imap//lib/net/imap/data_encoding.rb#90 + # source://net-imap//lib/net/imap/data_encoding.rb#135 def parse_date(string); end # :call-seq: decode_datetime(string) -> DateTime @@ -2723,7 +2723,7 @@ class Net::IMAP < ::Net::Protocol # # See STRFTIME. # - # source://net-imap//lib/net/imap/data_encoding.rb#112 + # source://net-imap//lib/net/imap/data_encoding.rb#136 def parse_datetime(string); end # :call-seq: decode_time(string) -> Time @@ -2732,7 +2732,7 @@ class Net::IMAP < ::Net::Protocol # # Same as +decode_datetime+, but returning a Time instead. # - # source://net-imap//lib/net/imap/data_encoding.rb#124 + # source://net-imap//lib/net/imap/data_encoding.rb#137 def parse_time(string); end # -- @@ -3113,10 +3113,10 @@ class Net::IMAP::Config # source://net-imap//lib/net/imap/config.rb#344 def load_defaults(version); end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#280 def responses_without_args; end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#50 + # source://net-imap//lib/net/imap/config.rb#281 def responses_without_args=(val); end # :call-seq: to_h -> hash @@ -3216,16 +3216,16 @@ module Net::IMAP::Config::AttrAccessors # source://net-imap//lib/net/imap/config/attr_accessors.rb#45 def initialize; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#185 def debug(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#185 def debug=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#246 def enforce_logindisabled(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#246 def enforce_logindisabled=(*args, **_arg1, &block); end # Freezes the internal attributes struct, in addition to +self+. @@ -3233,28 +3233,28 @@ module Net::IMAP::Config::AttrAccessors # source://net-imap//lib/net/imap/config/attr_accessors.rb#51 def freeze; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#208 def idle_response_timeout(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#208 def idle_response_timeout=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#200 def open_timeout(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#200 def open_timeout=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#276 def responses_without_block(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#276 def responses_without_block=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#224 def sasl_ir(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/config.rb#224 def sasl_ir=(*args, **_arg1, &block); end protected @@ -3295,26 +3295,58 @@ module Net::IMAP::Config::AttrAccessors::Macros def attr_accessor(name); end end -# source://net-imap//lib/net/imap/config.rb#0 +# source://net-imap//lib/net/imap/config.rb#294 class Net::IMAP::Config::AttrAccessors::Struct < ::Struct + # source://net-imap//lib/net/imap/config.rb#294 def debug; end + + # source://net-imap//lib/net/imap/config.rb#294 def debug=(_); end + + # source://net-imap//lib/net/imap/config.rb#294 def enforce_logindisabled; end + + # source://net-imap//lib/net/imap/config.rb#294 def enforce_logindisabled=(_); end + + # source://net-imap//lib/net/imap/config.rb#294 def idle_response_timeout; end + + # source://net-imap//lib/net/imap/config.rb#294 def idle_response_timeout=(_); end + + # source://net-imap//lib/net/imap/config.rb#294 def open_timeout; end + + # source://net-imap//lib/net/imap/config.rb#294 def open_timeout=(_); end + + # source://net-imap//lib/net/imap/config.rb#294 def responses_without_block; end + + # source://net-imap//lib/net/imap/config.rb#294 def responses_without_block=(_); end + + # source://net-imap//lib/net/imap/config.rb#294 def sasl_ir; end + + # source://net-imap//lib/net/imap/config.rb#294 def sasl_ir=(_); end class << self + # source://net-imap//lib/net/imap/config.rb#294 def [](*_arg0); end + + # source://net-imap//lib/net/imap/config.rb#294 def inspect; end + + # source://net-imap//lib/net/imap/config.rb#294 def keyword_init?; end + + # source://net-imap//lib/net/imap/config.rb#294 def members; end + + # source://net-imap//lib/net/imap/config.rb#294 def new(*_arg0); end end end @@ -3348,13 +3380,13 @@ module Net::IMAP::Config::AttrInheritance # source://net-imap//lib/net/imap/config/attr_inheritance.rb#48 def initialize(parent = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#185 def debug; end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#246 def enforce_logindisabled; end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#208 def idle_response_timeout; end # Returns +true+ if +attr+ is inherited from #parent and not overridden @@ -3370,7 +3402,7 @@ module Net::IMAP::Config::AttrInheritance # source://net-imap//lib/net/imap/config/attr_inheritance.rb#55 def new(**attrs); end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#200 def open_timeout; end # The parent Config object @@ -3389,10 +3421,10 @@ module Net::IMAP::Config::AttrInheritance # source://net-imap//lib/net/imap/config/attr_inheritance.rb#68 def reset(attr = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#276 def responses_without_block; end - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#41 + # source://net-imap//lib/net/imap/config.rb#224 def sasl_ir; end private @@ -3434,28 +3466,28 @@ end module Net::IMAP::Config::AttrTypeCoercion mixes_in_class_methods ::Net::IMAP::Config::AttrTypeCoercion::Macros - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#39 + # source://net-imap//lib/net/imap/config.rb#185 def debug=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#40 + # source://net-imap//lib/net/imap/config.rb#185 def debug?; end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#50 + # source://net-imap//lib/net/imap/config.rb#246 def enforce_logindisabled=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#44 + # source://net-imap//lib/net/imap/config.rb#208 def idle_response_timeout=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#44 + # source://net-imap//lib/net/imap/config.rb#200 def open_timeout=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#50 + # source://net-imap//lib/net/imap/config.rb#276 def responses_without_block=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#39 + # source://net-imap//lib/net/imap/config.rb#224 def sasl_ir=(val); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#40 + # source://net-imap//lib/net/imap/config.rb#224 def sasl_ir?; end class << self @@ -3788,7 +3820,7 @@ class Net::IMAP::FetchData < ::Struct # This is the same as getting the value for "BODYSTRUCTURE" from # #attr. # - # source://net-imap//lib/net/imap/fetch_data.rb#310 + # source://net-imap//lib/net/imap/fetch_data.rb#311 def body_structure; end # :call-seq: @@ -3926,7 +3958,7 @@ class Net::IMAP::FetchData < ::Struct # attr["INTERNALDATE"] returns a string, and this method # returns a Time object. # - # source://net-imap//lib/net/imap/fetch_data.rb#349 + # source://net-imap//lib/net/imap/fetch_data.rb#352 def internal_date; end # :call-seq: internaldate -> Time or nil @@ -4098,7 +4130,7 @@ class Net::IMAP::FetchData < ::Struct # interpreted as a reference to the updated # RFC5322[https://www.rfc-editor.org/rfc/rfc5322.html] standard. # - # source://net-imap//lib/net/imap/fetch_data.rb#381 + # source://net-imap//lib/net/imap/fetch_data.rb#382 def size; end # :call-seq: @@ -4495,47 +4527,47 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#17 def initialize(config: T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#455 def CRLF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#455 def CRLF?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#456 def EOF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#456 def EOF?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#438 def NIL!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#438 def NIL?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#408 def PLUS!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#408 def PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#407 def SP!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#407 def SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#409 def STAR!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#409 def STAR?; end # RFC-3501 & RFC-9051: # body-fld-enc = (DQUOTE ("7BIT" / "8BIT" / "BINARY" / "BASE64"/ # "QUOTED-PRINTABLE") DQUOTE) / string # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1222 def body_fld_enc; end # valid number ranges are not enforced by parser @@ -4544,16 +4576,16 @@ class Net::IMAP::ResponseParser # ; (0 <= n <= 9,223,372,036,854,775,807) # number in 3501, number64 in 9051 # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1215 def body_fld_lines; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1217 def body_fld_octets; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#432 def case_insensitive__string; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#432 def case_insensitive__string?; end # Returns the value of attribute config. @@ -4564,81 +4596,81 @@ class Net::IMAP::ResponseParser # date-time = DQUOTE date-day-fixed "-" date-month "-" date-year # SP time SP zone DQUOTE # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1007 def date_time; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#414 def lbra; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#414 def lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#455 def lookahead_CRLF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#456 def lookahead_EOF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#438 def lookahead_NIL!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#408 def lookahead_PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#407 def lookahead_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#409 def lookahead_STAR?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1019 def lookahead_body?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#432 def lookahead_case_insensitive__string!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#414 def lookahead_lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lookahead_lpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#421 def lookahead_number!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#423 def lookahead_quoted!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#415 def lookahead_rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#412 def lookahead_rpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#426 def lookahead_string!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#429 def lookahead_string8!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#453 def lookahead_tagged_ext_label!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1482 def lookahead_thread_list?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1483 def lookahead_thread_nested?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lpar; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lpar?; end # text/* # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1143 def media_subtype; end # valid number ranges are not enforced by parser @@ -4655,7 +4687,7 @@ class Net::IMAP::ResponseParser # ;; (mod-sequence) # ;; (1 <= n <= 9,223,372,036,854,775,807). # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1963 def mod_sequence_value; end # valid number ranges are not enforced by parser @@ -4665,10 +4697,10 @@ class Net::IMAP::ResponseParser # RFC7162: # mod-sequence-valzer = "0" / mod-sequence-value # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1972 def mod_sequence_valzer; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#421 def number; end # valid number ranges are not enforced by parser @@ -4676,13 +4708,13 @@ class Net::IMAP::ResponseParser # ; Unsigned 63-bit integer # ; (0 <= n <= 9,223,372,036,854,775,807) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#621 def number64; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#622 def number64?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#421 def number?; end # valid number ranges are not enforced by parser @@ -4690,7 +4722,7 @@ class Net::IMAP::ResponseParser # ; Non-zero unsigned 32-bit integer # ; (0 < n < 4,294,967,296) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#628 def nz_number; end # valid number ranges are not enforced by parser @@ -4702,10 +4734,10 @@ class Net::IMAP::ResponseParser # ; Unsigned 63-bit integer # ; (0 < n <= 9,223,372,036,854,775,807) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#635 def nz_number64; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#629 def nz_number?; end # :call-seq: @@ -4718,25 +4750,25 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#31 def parse(str); end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#408 def peek_PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#407 def peek_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#409 def peek_STAR?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#414 def peek_lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#411 def peek_lpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#415 def peek_rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#412 def peek_rpar?; end # valid number ranges are not enforced by parser @@ -4756,7 +4788,7 @@ class Net::IMAP::ResponseParser # permsg-modsequence = mod-sequence-value # ;; Per-message mod-sequence. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1968 def permsg_modsequence; end # Used when servers erroneously send an extra SP. @@ -4764,43 +4796,43 @@ class Net::IMAP::ResponseParser # As of 2023-11-28, Outlook.com (still) sends SP # between +address+ in env-* lists. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#1003 def quirky_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#423 def quoted; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#423 def quoted?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#415 def rbra; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#415 def rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#412 def rpar; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#412 def rpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#426 def string; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#429 def string8; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#429 def string8?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#426 def string?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#453 def tagged_ext_label; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#453 def tagged_ext_label?; end # valid number ranges are not enforced by parser @@ -4811,7 +4843,7 @@ class Net::IMAP::ResponseParser # uniqueid = nz-number # ; Strictly ascending # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#640 def uniqueid; end # valid number ranges are not enforced by parser @@ -4819,7 +4851,7 @@ class Net::IMAP::ResponseParser # a 64-bit unsigned integer and is the decimal equivalent for the ID hex # string used in the web interface and the Gmail API. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#646 def x_gm_id; end private @@ -4839,22 +4871,22 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1900 def addr_adl; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1901 def addr_host; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1902 def addr_mailbox; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1903 def addr_name; end # address = "(" addr-name SP addr-adl SP addr-mailbox SP @@ -4953,7 +4985,7 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1212 def body_fld_desc; end # body-fld-dsp = "(" string SP body-fld-param ")" / nil @@ -4963,7 +4995,7 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1213 def body_fld_id; end # body-fld-lang = nstring / "(" string *(SP string) ")" @@ -4973,12 +5005,12 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1214 def body_fld_loc; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#1216 def body_fld_md5; end # RFC3501, RFC9051: @@ -5031,14 +5063,14 @@ class Net::IMAP::ResponseParser # ; registered with IANA as standard or # ; standards-track # - # source://net-imap//lib/net/imap/response_parser.rb#498 + # source://net-imap//lib/net/imap/response_parser.rb#1630 def capability; end # Returns atom?&.upcase # # @return [Boolean] # - # source://net-imap//lib/net/imap/response_parser.rb#501 + # source://net-imap//lib/net/imap/response_parser.rb#1631 def capability?; end # As a workaround for buggy servers, allow a trailing SP: @@ -5090,7 +5122,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1839 def charset__list; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#779 def comparator_data(klass = T.unsafe(nil)); end # RFC3501 & RFC9051: @@ -5116,7 +5148,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#997 def env_bcc; end # env-from = "(" 1*address ")" / nil @@ -5126,7 +5158,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#996 def env_cc; end # nstring = string / nil @@ -5135,7 +5167,7 @@ class Net::IMAP::ResponseParser # env-in-reply-to = nstring # env-message-id = nstring # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#975 def env_date; end # env-from = "(" 1*address ")" / nil @@ -5145,17 +5177,17 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#992 def env_from; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#977 def env_in_reply_to; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#978 def env_message_id; end # env-from = "(" 1*address ")" / nil @@ -5165,7 +5197,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#994 def env_reply_to; end # env-from = "(" 1*address ")" / nil @@ -5175,12 +5207,12 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#993 def env_sender; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#546 + # source://net-imap//lib/net/imap/response_parser.rb#976 def env_subject; end # env-from = "(" 1*address ")" / nil @@ -5190,7 +5222,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#986 + # source://net-imap//lib/net/imap/response_parser.rb#995 def env_to; end # RFC3501 & RFC9051: @@ -5201,10 +5233,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#952 def envelope; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#772 def esearch_response(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#773 def expunged_resp(klass = T.unsafe(nil)); end # flag-list = "(" [flag *(SP flag)] ")" @@ -5220,7 +5252,7 @@ class Net::IMAP::ResponseParser # TODO: handle atom, astring_chars, and tag entirely inside the lexer # this represents the partial size for BODY or BINARY # - # source://net-imap//lib/net/imap/response_parser.rb#490 + # source://net-imap//lib/net/imap/response_parser.rb#946 def gt__number__lt; end # astring = 1*ASTRING-CHAR / string @@ -5241,7 +5273,7 @@ class Net::IMAP::ResponseParser # %d59-126 ; characters not including # ; ":". # - # source://net-imap//lib/net/imap/response_parser.rb#506 + # source://net-imap//lib/net/imap/response_parser.rb#1332 def header_fld_name; end # header-list = "(" header-fld-name *(SP header-fld-name) ")" @@ -5264,10 +5296,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#523 def label_in(*labels); end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#778 def language_data(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#775 def listrights_data(klass = T.unsafe(nil)); end # astring = 1*ASTRING-CHAR / string @@ -5280,10 +5312,10 @@ class Net::IMAP::ResponseParser # ; Refer to section 5.1 for further # ; semantic details of mailbox names. # - # source://net-imap//lib/net/imap/response_parser.rb#506 + # source://net-imap//lib/net/imap/response_parser.rb#615 def mailbox; end - # source://net-imap//lib/net/imap/response_parser.rb#835 + # source://net-imap//lib/net/imap/response_parser.rb#842 def mailbox_data__exists; end # mailbox-data = "FLAGS" SP flag-list / "LIST" SP mailbox-list / @@ -5297,10 +5329,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1345 def mailbox_data__list; end - # source://net-imap//lib/net/imap/response_parser.rb#1345 + # source://net-imap//lib/net/imap/response_parser.rb#1350 def mailbox_data__lsub; end - # source://net-imap//lib/net/imap/response_parser.rb#835 + # source://net-imap//lib/net/imap/response_parser.rb#843 def mailbox_data__recent; end # RFC3501: @@ -5326,7 +5358,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1523 def mailbox_data__status; end - # source://net-imap//lib/net/imap/response_parser.rb#1345 + # source://net-imap//lib/net/imap/response_parser.rb#1351 def mailbox_data__xlist; end # mailbox-list = "(" [mbx-list-flags] ")" SP @@ -5363,7 +5395,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # TODO: check types # - # source://net-imap//lib/net/imap/response_parser.rb#1131 + # source://net-imap//lib/net/imap/response_parser.rb#1139 def media_basic; end # n.b. this handles both type and subtype @@ -5386,7 +5418,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # */* --- catchall # - # source://net-imap//lib/net/imap/response_parser.rb#1131 + # source://net-imap//lib/net/imap/response_parser.rb#1140 def media_message; end # n.b. this handles both type and subtype @@ -5409,7 +5441,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # message/rfc822, message/global # - # source://net-imap//lib/net/imap/response_parser.rb#1131 + # source://net-imap//lib/net/imap/response_parser.rb#1141 def media_text; end # n.b. this handles both type and subtype @@ -5434,10 +5466,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1131 def media_type; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#780 def message_data__converted(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#835 + # source://net-imap//lib/net/imap/response_parser.rb#841 def message_data__expunge; end # message-data = nz-number SP ("EXPUNGE" / ("FETCH" SP msg-att)) @@ -5445,7 +5477,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#828 def message_data__fetch; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#777 def metadata_resp(klass = T.unsafe(nil)); end # RFC3501 & RFC9051: @@ -5504,7 +5536,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#929 def msg_att__label; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#776 def myrights_data(klass = T.unsafe(nil)); end # namespace = nil / "(" 1*namespace-descr ")" @@ -5536,7 +5568,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1703 def namespace_response_extensions; end - # source://net-imap//lib/net/imap/response_parser.rb#554 + # source://net-imap//lib/net/imap/response_parser.rb#1008 def ndatetime; end # source://net-imap//lib/net/imap/response_parser.rb#2023 @@ -5575,7 +5607,7 @@ class Net::IMAP::ResponseParser # ; characters in object identifiers are case # ; significant # - # source://net-imap//lib/net/imap/response_parser.rb#490 + # source://net-imap//lib/net/imap/response_parser.rb#1980 def objectid; end # source://net-imap//lib/net/imap/response_parser.rb#1974 @@ -5604,7 +5636,7 @@ class Net::IMAP::ResponseParser # As a workaround for buggy servers, allow a trailing SP: # *(SP capability) [SP] # - # source://net-imap//lib/net/imap/response_parser.rb#1620 + # source://net-imap//lib/net/imap/response_parser.rb#1624 def resp_code__capability; end # already matched: "APPENDUID" @@ -5749,7 +5781,7 @@ class Net::IMAP::ResponseParser # Returns atom.upcase # - # source://net-imap//lib/net/imap/response_parser.rb#498 + # source://net-imap//lib/net/imap/response_parser.rb#1831 def resp_text_code__name; end # [RFC3501 & RFC9051:] @@ -5798,7 +5830,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#769 def response_data__ignored; end - # source://net-imap//lib/net/imap/response_parser.rb#769 + # source://net-imap//lib/net/imap/response_parser.rb#770 def response_data__noop; end # source://net-imap//lib/net/imap/response_parser.rb#835 @@ -5828,7 +5860,7 @@ class Net::IMAP::ResponseParser # ; body part reference. # ; Allows for accessing nested body parts. # - # source://net-imap//lib/net/imap/response_parser.rb#490 + # source://net-imap//lib/net/imap/response_parser.rb#1314 def section_part; end # section-spec = section-msgtext / (section-part ["." section-text]) @@ -5876,7 +5908,7 @@ class Net::IMAP::ResponseParser # mailbox-data = obsolete-search-response / ... # obsolete-search-response = "SEARCH" *(SP nz-number) # - # source://net-imap//lib/net/imap/response_parser.rb#1457 + # source://net-imap//lib/net/imap/response_parser.rb#1469 def sort_data; end # RFC3501 @@ -6021,7 +6053,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1993 def uid_set; end - # source://net-imap//lib/net/imap/response_parser.rb#751 + # source://net-imap//lib/net/imap/response_parser.rb#774 def uidfetch_resp(klass = T.unsafe(nil)); end # See https://developers.google.com/gmail/imap/imap-extensions @@ -6587,6 +6619,56 @@ Net::IMAP::ResponseParser::TAG_TOKENS = T.let(T.unsafe(nil), Array) # source://net-imap//lib/net/imap/response_parser.rb#60 Net::IMAP::ResponseParser::T_LITERAL8 = T.let(T.unsafe(nil), Symbol) +# source://net-imap//lib/net/imap/response_parser.rb#405 +class Net::IMAP::ResponseParser::Token < ::Struct + # Returns the value of attribute symbol + # + # @return [Object] the current value of symbol + # + # source://net-imap//lib/net/imap/response_parser.rb#405 + def symbol; end + + # Sets the attribute symbol + # + # @param value [Object] the value to set the attribute symbol to. + # @return [Object] the newly set value + # + # source://net-imap//lib/net/imap/response_parser.rb#405 + def symbol=(_); end + + # Returns the value of attribute value + # + # @return [Object] the current value of value + # + # source://net-imap//lib/net/imap/response_parser.rb#405 + def value; end + + # Sets the attribute value + # + # @param value [Object] the value to set the attribute value to. + # @return [Object] the newly set value + # + # source://net-imap//lib/net/imap/response_parser.rb#405 + def value=(_); end + + class << self + # source://net-imap//lib/net/imap/response_parser.rb#405 + def [](*_arg0); end + + # source://net-imap//lib/net/imap/response_parser.rb#405 + def inspect; end + + # source://net-imap//lib/net/imap/response_parser.rb#405 + def keyword_init?; end + + # source://net-imap//lib/net/imap/response_parser.rb#405 + def members; end + + # source://net-imap//lib/net/imap/response_parser.rb#405 + def new(*_arg0); end + end +end + # Used to avoid an allocation when ResponseText is empty # # source://net-imap//lib/net/imap/response_data.rb#169 @@ -7038,7 +7120,7 @@ class Net::IMAP::SASL::Authenticators # only. Protocol client users should see refer to their client's # documentation, e.g. Net::IMAP#authenticate. # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#111 + # source://net-imap//lib/net/imap/sasl/authenticators.rb#118 def new(mechanism, *_arg1, **_arg2, &_arg3); end # Removes the authenticator registered for +name+ @@ -7091,7 +7173,7 @@ class Net::IMAP::SASL::ClientAdapter # source://net-imap//lib/net/imap/sasl/client_adapter.rb#56 def initialize(client, &command_proc); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#76 def auth_capable?(*args, **_arg1, &block); end # Attempt to authenticate #client to the server. @@ -7126,16 +7208,16 @@ class Net::IMAP::SASL::ClientAdapter # source://net-imap//lib/net/imap/sasl/client_adapter.rb#51 def command_proc; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#113 def drop_connection(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#118 def drop_connection!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#99 def host(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#104 def port(*args, **_arg1, &block); end # Returns an array of server responses errors raised by run_command. @@ -7160,7 +7242,7 @@ class Net::IMAP::SASL::ClientAdapter # source://net-imap//lib/net/imap/sasl/client_adapter.rb#90 def run_command(mechanism, initial_response = T.unsafe(nil), &continuations_handler); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://net-imap//lib/net/imap/sasl/client_adapter.rb#69 def sasl_ir_capable?(*args, **_arg1, &block); end end @@ -7264,7 +7346,7 @@ class Net::IMAP::SASL::DigestMD5Authenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#45 + # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#46 def authcid; end # Authorization identity: an identity to act as or on behalf of. The identity @@ -7583,7 +7665,7 @@ class Net::IMAP::SASL::ExternalAuthenticator # # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#27 + # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#28 def username; end end @@ -7837,7 +7919,7 @@ class Net::IMAP::SASL::OAuthAuthenticator # The query string. (optional) # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#48 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#49 def query; end # Authorization identity: an identity to act as or on behalf of. The @@ -7852,7 +7934,7 @@ class Net::IMAP::SASL::OAuthAuthenticator # # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#29 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#30 def username; end end @@ -7930,7 +8012,7 @@ class Net::IMAP::SASL::OAuthBearerAuthenticator < ::Net::IMAP::SASL::OAuthAuthen # An OAuth 2.0 bearer token. See {RFC-6750}[https://www.rfc-editor.org/rfc/rfc6750] # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#141 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#142 def secret; end end @@ -7984,7 +8066,7 @@ class Net::IMAP::SASL::PlainAuthenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#24 + # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#25 def authcid; end # Authorization identity: an identity to act as or on behalf of. The identity @@ -8033,7 +8115,7 @@ class Net::IMAP::SASL::PlainAuthenticator # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#28 + # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#29 def secret; end # Authentication identity: the identity that matches the #password. @@ -8310,7 +8392,7 @@ class Net::IMAP::SASL::ScramAuthenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#107 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#108 def authcid; end # Authorization identity: an identity to act as or on behalf of. The @@ -8335,7 +8417,7 @@ class Net::IMAP::SASL::ScramAuthenticator # >>> # *TODO:* implement channel binding, appending +cbind-data+ here. # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#37 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#251 def cbind_input; end # The client nonce, generated by SecureRandom @@ -8395,7 +8477,7 @@ class Net::IMAP::SASL::ScramAuthenticator # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#111 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#112 def secret; end # An error reported by the server during the \SASL exchange. @@ -8564,7 +8646,7 @@ class Net::IMAP::SASL::XOAuth2Authenticator # authorization identity and not the authentication identity. The # authenticated identity is established for the client by the #oauth2_token. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#35 + # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#40 def authzid; end # Returns true when the initial client response was sent. @@ -8602,7 +8684,7 @@ class Net::IMAP::SASL::XOAuth2Authenticator # An OAuth2 access token which has been authorized with the appropriate OAuth2 # scopes to use the service for #username. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#44 + # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#45 def secret; end # It is unclear from {Google's original XOAUTH2 @@ -9141,7 +9223,7 @@ class Net::IMAP::SequenceSet # # Related: #add, #merge # - # source://net-imap//lib/net/imap/sequence_set.rb#579 + # source://net-imap//lib/net/imap/sequence_set.rb#580 def +(other); end # :call-seq: @@ -9173,7 +9255,7 @@ class Net::IMAP::SequenceSet # # Related: #add?, #merge, #union # - # source://net-imap//lib/net/imap/sequence_set.rb#667 + # source://net-imap//lib/net/imap/sequence_set.rb#671 def <<(object); end # :call-seq: self == other -> true or false @@ -9332,7 +9414,7 @@ class Net::IMAP::SequenceSet # # Related: #complement! # - # source://net-imap//lib/net/imap/sequence_set.rb#655 + # source://net-imap//lib/net/imap/sequence_set.rb#656 def complement; end # :call-seq: complement! -> self @@ -9443,7 +9525,7 @@ class Net::IMAP::SequenceSet # # Related: #subtract # - # source://net-imap//lib/net/imap/sequence_set.rb#598 + # source://net-imap//lib/net/imap/sequence_set.rb#599 def difference(other); end # Returns +true+ if the set and a given object have no common elements, @@ -9657,7 +9739,7 @@ class Net::IMAP::SequenceSet # # (seqset & other) is equivalent to (seqset - ~other). # - # source://net-imap//lib/net/imap/sequence_set.rb#616 + # source://net-imap//lib/net/imap/sequence_set.rb#619 def intersection(other); end # Returns a frozen SequenceSet with * converted to +max+, numbers @@ -9723,7 +9805,7 @@ class Net::IMAP::SequenceSet # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#502 + # source://net-imap//lib/net/imap/sequence_set.rb#504 def member?(element); end # Merges all of the elements that appear in any of the +inputs+ into the @@ -9830,7 +9912,7 @@ class Net::IMAP::SequenceSet # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#516 + # source://net-imap//lib/net/imap/sequence_set.rb#519 def overlap?(other); end # Returns an array of ranges @@ -9874,7 +9956,7 @@ class Net::IMAP::SequenceSet # If * and 2**32 - 1 (the maximum 32-bit unsigned # integer value) are both in the set, they will only be counted once. # - # source://net-imap//lib/net/imap/sequence_set.rb#983 + # source://net-imap//lib/net/imap/sequence_set.rb#988 def size; end # :call-seq: @@ -9914,7 +9996,7 @@ class Net::IMAP::SequenceSet # set[0] #=> 11 # set[-1] #=> 23 # - # source://net-imap//lib/net/imap/sequence_set.rb#1082 + # source://net-imap//lib/net/imap/sequence_set.rb#1089 def slice(index, length = T.unsafe(nil)); end # :call-seq: @@ -9990,7 +10072,7 @@ class Net::IMAP::SequenceSet # # Related: #each_element, #ranges, #numbers # - # source://net-imap//lib/net/imap/sequence_set.rb#845 + # source://net-imap//lib/net/imap/sequence_set.rb#846 def to_a; end # Returns the \IMAP +sequence-set+ string representation, or an empty @@ -10003,6 +10085,8 @@ class Net::IMAP::SequenceSet def to_s; end # Returns self + # + # source://net-imap//lib/net/imap/sequence_set.rb#1219 def to_sequence_set; end # Returns a Set with all of the #numbers in the sequence set. @@ -10033,7 +10117,7 @@ class Net::IMAP::SequenceSet # # Related: #add, #merge # - # source://net-imap//lib/net/imap/sequence_set.rb#579 + # source://net-imap//lib/net/imap/sequence_set.rb#581 def union(other); end # Returns false when the set is empty. @@ -10078,7 +10162,7 @@ class Net::IMAP::SequenceSet # (seqset ^ other) is equivalent to ((seqset | other) - # (seqset & other)). # - # source://net-imap//lib/net/imap/sequence_set.rb#637 + # source://net-imap//lib/net/imap/sequence_set.rb#638 def xor(other); end # :call-seq: diff --git a/sorbet/rbi/gems/net-pop@0.1.2.rbi b/sorbet/rbi/gems/net-pop@0.1.2.rbi index 0157b1a82..10283be39 100644 --- a/sorbet/rbi/gems/net-pop@0.1.2.rbi +++ b/sorbet/rbi/gems/net-pop@0.1.2.rbi @@ -199,7 +199,7 @@ class Net::POP3 < ::Net::Protocol # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#514 + # source://net-pop//lib/net/pop.rb#518 def active?; end # The address to connect to. @@ -256,7 +256,7 @@ class Net::POP3 < ::Net::Protocol # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#668 + # source://net-pop//lib/net/pop.rb#672 def each(&block); end # Yields each message to the passed-in block in turn. @@ -729,7 +729,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#805 + # source://net-pop//lib/net/pop.rb#817 def all(dest = T.unsafe(nil), &block); end # Marks a message for deletion on the server. Deletion does not @@ -775,7 +775,7 @@ class Net::POPMail # end # end # - # source://net-pop//lib/net/pop.rb#861 + # source://net-pop//lib/net/pop.rb#866 def delete!; end # True if the mail has been deleted. @@ -841,7 +841,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#805 + # source://net-pop//lib/net/pop.rb#818 def mail(dest = T.unsafe(nil), &block); end # The sequence number of the message on the server. @@ -891,7 +891,7 @@ class Net::POPMail # The length of the message in octets. # - # source://net-pop//lib/net/pop.rb#759 + # source://net-pop//lib/net/pop.rb#760 def size; end # Fetches the message header and +lines+ lines of body. @@ -911,7 +911,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#877 + # source://net-pop//lib/net/pop.rb#883 def uidl; end # Returns the unique-id of the message. diff --git a/sorbet/rbi/gems/net-protocol@0.2.2.rbi b/sorbet/rbi/gems/net-protocol@0.2.2.rbi index f9ede8954..58318b5bb 100644 --- a/sorbet/rbi/gems/net-protocol@0.2.2.rbi +++ b/sorbet/rbi/gems/net-protocol@0.2.2.rbi @@ -5,208 +5,212 @@ # Please instead update this file by running `bin/tapioca gem net-protocol`. +# source://net-protocol//lib/net/protocol.rb#115 class Net::BufferedIO # @return [BufferedIO] a new instance of BufferedIO # - # source://net-protocol//net/protocol.rb#116 + # source://net-protocol//lib/net/protocol.rb#116 def initialize(io, read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), continue_timeout: T.unsafe(nil), debug_output: T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#285 + # source://net-protocol//lib/net/protocol.rb#291 def <<(*strs); end - # source://net-protocol//net/protocol.rb#145 + # source://net-protocol//lib/net/protocol.rb#145 def close; end # @return [Boolean] # - # source://net-protocol//net/protocol.rb#141 + # source://net-protocol//lib/net/protocol.rb#141 def closed?; end # Returns the value of attribute continue_timeout. # - # source://net-protocol//net/protocol.rb#130 + # source://net-protocol//lib/net/protocol.rb#130 def continue_timeout; end # Sets the attribute continue_timeout # # @param value the value to set the attribute continue_timeout to. # - # source://net-protocol//net/protocol.rb#130 + # source://net-protocol//lib/net/protocol.rb#130 def continue_timeout=(_arg0); end # Returns the value of attribute debug_output. # - # source://net-protocol//net/protocol.rb#131 + # source://net-protocol//lib/net/protocol.rb#131 def debug_output; end # Sets the attribute debug_output # # @param value the value to set the attribute debug_output to. # - # source://net-protocol//net/protocol.rb#131 + # source://net-protocol//lib/net/protocol.rb#131 def debug_output=(_arg0); end # @return [Boolean] # - # source://net-protocol//net/protocol.rb#137 + # source://net-protocol//lib/net/protocol.rb#137 def eof?; end - # source://net-protocol//net/protocol.rb#133 + # source://net-protocol//lib/net/protocol.rb#133 def inspect; end # Returns the value of attribute io. # - # source://net-protocol//net/protocol.rb#127 + # source://net-protocol//lib/net/protocol.rb#127 def io; end - # source://net-protocol//net/protocol.rb#155 + # source://net-protocol//lib/net/protocol.rb#155 def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#176 + # source://net-protocol//lib/net/protocol.rb#176 def read_all(dest = T.unsafe(nil)); end # Returns the value of attribute read_timeout. # - # source://net-protocol//net/protocol.rb#128 + # source://net-protocol//lib/net/protocol.rb#128 def read_timeout; end # Sets the attribute read_timeout # # @param value the value to set the attribute read_timeout to. # - # source://net-protocol//net/protocol.rb#128 + # source://net-protocol//lib/net/protocol.rb#128 def read_timeout=(_arg0); end - # source://net-protocol//net/protocol.rb#208 + # source://net-protocol//lib/net/protocol.rb#208 def readline; end - # source://net-protocol//net/protocol.rb#194 + # source://net-protocol//lib/net/protocol.rb#194 def readuntil(terminator, ignore_eof = T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#285 + # source://net-protocol//lib/net/protocol.rb#285 def write(*strs); end # Returns the value of attribute write_timeout. # - # source://net-protocol//net/protocol.rb#129 + # source://net-protocol//lib/net/protocol.rb#129 def write_timeout; end # Sets the attribute write_timeout # # @param value the value to set the attribute write_timeout to. # - # source://net-protocol//net/protocol.rb#129 + # source://net-protocol//lib/net/protocol.rb#129 def write_timeout=(_arg0); end - # source://net-protocol//net/protocol.rb#293 + # source://net-protocol//lib/net/protocol.rb#293 def writeline(str); end private - # source://net-protocol//net/protocol.rb#356 + # source://net-protocol//lib/net/protocol.rb#356 def LOG(msg); end - # source://net-protocol//net/protocol.rb#347 + # source://net-protocol//lib/net/protocol.rb#347 def LOG_off; end - # source://net-protocol//net/protocol.rb#352 + # source://net-protocol//lib/net/protocol.rb#352 def LOG_on; end - # source://net-protocol//net/protocol.rb#257 + # source://net-protocol//lib/net/protocol.rb#257 def rbuf_consume(len = T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#253 + # source://net-protocol//lib/net/protocol.rb#253 def rbuf_consume_all; end - # source://net-protocol//net/protocol.rb#216 + # source://net-protocol//lib/net/protocol.rb#216 def rbuf_fill; end - # source://net-protocol//net/protocol.rb#241 + # source://net-protocol//lib/net/protocol.rb#241 def rbuf_flush; end - # source://net-protocol//net/protocol.rb#249 + # source://net-protocol//lib/net/protocol.rb#249 def rbuf_size; end - # source://net-protocol//net/protocol.rb#311 + # source://net-protocol//lib/net/protocol.rb#311 def write0(*strs); end - # source://net-protocol//net/protocol.rb#301 + # source://net-protocol//lib/net/protocol.rb#301 def writing; end end +# source://net-protocol//lib/net/protocol.rb#363 class Net::InternetMessageIO < ::Net::BufferedIO # @return [InternetMessageIO] a new instance of InternetMessageIO # - # source://net-protocol//net/protocol.rb#364 + # source://net-protocol//lib/net/protocol.rb#364 def initialize(*_arg0, **_arg1); end # *library private* (cannot handle 'break') # - # source://net-protocol//net/protocol.rb#386 + # source://net-protocol//lib/net/protocol.rb#386 def each_list_item; end # Read # - # source://net-protocol//net/protocol.rb#373 + # source://net-protocol//lib/net/protocol.rb#373 def each_message_chunk; end # Write # - # source://net-protocol//net/protocol.rb#404 + # source://net-protocol//lib/net/protocol.rb#404 def write_message(src); end - # source://net-protocol//net/protocol.rb#392 + # source://net-protocol//lib/net/protocol.rb#392 def write_message_0(src); end - # source://net-protocol//net/protocol.rb#417 + # source://net-protocol//lib/net/protocol.rb#417 def write_message_by_block(&block); end private - # source://net-protocol//net/protocol.rb#460 + # source://net-protocol//lib/net/protocol.rb#460 def buffer_filling(buf, src); end - # source://net-protocol//net/protocol.rb#436 + # source://net-protocol//lib/net/protocol.rb#436 def dot_stuff(s); end - # source://net-protocol//net/protocol.rb#452 + # source://net-protocol//lib/net/protocol.rb#452 def each_crlf_line(src); end - # source://net-protocol//net/protocol.rb#440 + # source://net-protocol//lib/net/protocol.rb#440 def using_each_crlf_line; end end -# source://net-protocol//net/protocol.rb#541 +# source://net-protocol//lib/net/protocol.rb#541 Net::NetPrivate::Socket = Net::InternetMessageIO -# source://net-protocol//net/protocol.rb#68 +# source://net-protocol//lib/net/protocol.rb#68 Net::ProtocRetryError = Net::ProtoRetriableError +# source://net-protocol//lib/net/protocol.rb#28 class Net::Protocol private - # source://net-protocol//net/protocol.rb#40 + # source://net-protocol//lib/net/protocol.rb#40 def ssl_socket_connect(s, timeout); end class << self - # source://net-protocol//net/protocol.rb#32 + # source://net-protocol//lib/net/protocol.rb#32 def protocol_param(name, val); end end end -# source://net-protocol//net/protocol.rb#29 +# source://net-protocol//lib/net/protocol.rb#29 Net::Protocol::VERSION = T.let(T.unsafe(nil), String) +# source://net-protocol//lib/net/protocol.rb#516 class Net::ReadAdapter # @return [ReadAdapter] a new instance of ReadAdapter # - # source://net-protocol//net/protocol.rb#517 + # source://net-protocol//lib/net/protocol.rb#517 def initialize(block); end - # source://net-protocol//net/protocol.rb#525 + # source://net-protocol//lib/net/protocol.rb#525 def <<(str); end - # source://net-protocol//net/protocol.rb#521 + # source://net-protocol//lib/net/protocol.rb#521 def inspect; end private @@ -217,66 +221,72 @@ class Net::ReadAdapter # # @yield [str] # - # source://net-protocol//net/protocol.rb#534 + # source://net-protocol//lib/net/protocol.rb#534 def call_block(str); end end # ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the # response cannot be read within the read_timeout. +# +# source://net-protocol//lib/net/protocol.rb#80 class Net::ReadTimeout < ::Timeout::Error # @return [ReadTimeout] a new instance of ReadTimeout # - # source://net-protocol//net/protocol.rb#81 + # source://net-protocol//lib/net/protocol.rb#81 def initialize(io = T.unsafe(nil)); end # Returns the value of attribute io. # - # source://net-protocol//net/protocol.rb#84 + # source://net-protocol//lib/net/protocol.rb#84 def io; end - # source://net-protocol//net/protocol.rb#86 + # source://net-protocol//lib/net/protocol.rb#86 def message; end end # The writer adapter class +# +# source://net-protocol//lib/net/protocol.rb#486 class Net::WriteAdapter # @return [WriteAdapter] a new instance of WriteAdapter # - # source://net-protocol//net/protocol.rb#487 + # source://net-protocol//lib/net/protocol.rb#487 def initialize(writer); end - # source://net-protocol//net/protocol.rb#501 + # source://net-protocol//lib/net/protocol.rb#501 def <<(str); end - # source://net-protocol//net/protocol.rb#491 + # source://net-protocol//lib/net/protocol.rb#491 def inspect; end - # source://net-protocol//net/protocol.rb#495 + # source://net-protocol//lib/net/protocol.rb#499 def print(str); end - # source://net-protocol//net/protocol.rb#510 + # source://net-protocol//lib/net/protocol.rb#510 def printf(*args); end - # source://net-protocol//net/protocol.rb#506 + # source://net-protocol//lib/net/protocol.rb#506 def puts(str = T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#495 + # source://net-protocol//lib/net/protocol.rb#495 def write(str); end end # WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the # response cannot be written within the write_timeout. Not raised on Windows. +# +# source://net-protocol//lib/net/protocol.rb#99 class Net::WriteTimeout < ::Timeout::Error # @return [WriteTimeout] a new instance of WriteTimeout # - # source://net-protocol//net/protocol.rb#100 + # source://net-protocol//lib/net/protocol.rb#100 def initialize(io = T.unsafe(nil)); end # Returns the value of attribute io. # - # source://net-protocol//net/protocol.rb#103 + # source://net-protocol//lib/net/protocol.rb#103 def io; end - # source://net-protocol//net/protocol.rb#105 + # source://net-protocol//lib/net/protocol.rb#105 def message; end end diff --git a/sorbet/rbi/gems/net-smtp@0.5.0.rbi b/sorbet/rbi/gems/net-smtp@0.5.0.rbi index 94d8eab1c..a26db3ed8 100644 --- a/sorbet/rbi/gems/net-smtp@0.5.0.rbi +++ b/sorbet/rbi/gems/net-smtp@0.5.0.rbi @@ -271,7 +271,7 @@ class Net::SMTP < ::Net::Protocol # Disables SMTP/TLS for this object. Must be called before the # connection is established to have any effect. # - # source://net-smtp//lib/net/smtp.rb#364 + # source://net-smtp//lib/net/smtp.rb#369 def disable_ssl; end # Disables SMTP/TLS (STARTTLS) for this object. Must be called @@ -295,7 +295,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#353 + # source://net-smtp//lib/net/smtp.rb#360 def enable_ssl(context = T.unsafe(nil)); end # Enables SMTP/TLS (STARTTLS) for this object. @@ -348,7 +348,7 @@ class Net::SMTP < ::Net::Protocol # retry (but not vice versa). # +true+ if the SMTP object uses ESMTP (which it does by default). # - # source://net-smtp//lib/net/smtp.rb#289 + # source://net-smtp//lib/net/smtp.rb#292 def esmtp?; end # Finishes the SMTP session and closes TCP connection. @@ -514,7 +514,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#849 + # source://net-smtp//lib/net/smtp.rb#857 def ready(from_addr, *to_addrs, &block); end # Aborts the current mail transaction @@ -559,7 +559,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#794 + # source://net-smtp//lib/net/smtp.rb#802 def send_mail(msgstr, from_addr, *to_addrs); end # Sends +msgstr+ as a message. Single CR ("\r") and LF ("\n") found @@ -640,7 +640,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#794 + # source://net-smtp//lib/net/smtp.rb#803 def sendmail(msgstr, from_addr, *to_addrs); end # WARNING: This method causes serious security holes. @@ -656,14 +656,14 @@ class Net::SMTP < ::Net::Protocol # .... # end # - # source://net-smtp//lib/net/smtp.rb#450 + # source://net-smtp//lib/net/smtp.rb#454 def set_debug_output(arg); end # true if this object uses SMTP/TLS (SMTPS). # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#344 + # source://net-smtp//lib/net/smtp.rb#348 def ssl?; end # Hash for additional SSLContext parameters. @@ -869,7 +869,7 @@ class Net::SMTP < ::Net::Protocol # The default SMTPS port number, 465. # - # source://net-smtp//lib/net/smtp.rb#208 + # source://net-smtp//lib/net/smtp.rb#213 def default_ssl_port; end # The default mail submission port number, 587. diff --git a/sorbet/rbi/gems/netrc@0.11.0.rbi b/sorbet/rbi/gems/netrc@0.11.0.rbi index 4ae989b9b..8a4c78374 100644 --- a/sorbet/rbi/gems/netrc@0.11.0.rbi +++ b/sorbet/rbi/gems/netrc@0.11.0.rbi @@ -108,32 +108,50 @@ class Netrc::Entry < ::Struct # Returns the value of attribute login # # @return [Object] the current value of login + # + # source://netrc//lib/netrc.rb#244 def login; end # Sets the attribute login # # @param value [Object] the value to set the attribute login to. # @return [Object] the newly set value + # + # source://netrc//lib/netrc.rb#244 def login=(_); end # Returns the value of attribute password # # @return [Object] the current value of password + # + # source://netrc//lib/netrc.rb#244 def password; end # Sets the attribute password # # @param value [Object] the value to set the attribute password to. # @return [Object] the newly set value + # + # source://netrc//lib/netrc.rb#244 def password=(_); end + # source://netrc//lib/netrc.rb#245 def to_ary; end class << self + # source://netrc//lib/netrc.rb#244 def [](*_arg0); end + + # source://netrc//lib/netrc.rb#244 def inspect; end + + # source://netrc//lib/netrc.rb#244 def keyword_init?; end + + # source://netrc//lib/netrc.rb#244 def members; end + + # source://netrc//lib/netrc.rb#244 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/nokogiri@1.18.2.rbi b/sorbet/rbi/gems/nokogiri@1.18.2.rbi index f2e1632a0..35c3d5872 100644 --- a/sorbet/rbi/gems/nokogiri@1.18.2.rbi +++ b/sorbet/rbi/gems/nokogiri@1.18.2.rbi @@ -34,20 +34,20 @@ # - Nokogiri::XML::Searchable#css for more information about CSS searching # - Nokogiri::XML::Searchable#xpath for more information about XPath searching # -# source://nokogiri/lib/nokogiri.rb#38 +# source://nokogiri//lib/nokogiri.rb#38 module Nokogiri class << self - # source://nokogiri/lib/nokogiri/html4.rb#7 + # source://nokogiri//lib/nokogiri/html.rb#16 def HTML(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::HTML4::Document.parse # - # source://nokogiri/lib/nokogiri/html4.rb#7 + # source://nokogiri//lib/nokogiri/html4.rb#7 def HTML4(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::HTML5::Document.parse # - # source://nokogiri/lib/nokogiri/html5.rb#28 + # source://nokogiri//lib/nokogiri/html5.rb#28 def HTML5(*_arg0, **_arg1, &_arg2); end # Parse a document and add the Slop decorator. The Slop decorator @@ -64,61 +64,61 @@ module Nokogiri # eohtml # assert_equal('second', doc.html.body.p[1].text) # - # source://nokogiri/lib/nokogiri.rb#91 + # source://nokogiri//lib/nokogiri.rb#91 def Slop(*args, &block); end # Convenience method for Nokogiri::XML::Document.parse # - # source://nokogiri/lib/nokogiri/xml.rb#6 + # source://nokogiri//lib/nokogiri/xml.rb#6 def XML(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::XSLT.parse # - # source://nokogiri/lib/nokogiri/xslt.rb#7 + # source://nokogiri//lib/nokogiri/xslt.rb#7 def XSLT(*_arg0, **_arg1, &_arg2); end - # source://nokogiri/lib/nokogiri.rb#96 + # source://nokogiri//lib/nokogiri.rb#96 def install_default_aliases; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#206 + # source://nokogiri//lib/nokogiri/version/info.rb#206 def jruby?; end - # source://nokogiri/lib/nokogiri/version/info.rb#211 + # source://nokogiri//lib/nokogiri/version/info.rb#211 def libxml2_patches; end # Create a new Nokogiri::XML::DocumentFragment # - # source://nokogiri/lib/nokogiri.rb#68 + # source://nokogiri//lib/nokogiri.rb#68 def make(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end # Parse an HTML or XML document. +string+ contains the document. # - # source://nokogiri/lib/nokogiri.rb#42 + # source://nokogiri//lib/nokogiri.rb#42 def parse(string, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#201 + # source://nokogiri//lib/nokogiri/version/info.rb#201 def uses_gumbo?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#193 + # source://nokogiri//lib/nokogiri/version/info.rb#193 def uses_libxml?(requirement = T.unsafe(nil)); end end end # Translate a CSS selector into an XPath 1.0 query # -# source://nokogiri/lib/nokogiri/css.rb#6 +# source://nokogiri//lib/nokogiri/css.rb#6 module Nokogiri::CSS class << self # TODO: Deprecate this method ahead of 2.0 and delete it in 2.0. # It is not used by Nokogiri and shouldn't be part of the public API. # - # source://nokogiri/lib/nokogiri/css.rb#10 + # source://nokogiri//lib/nokogiri/css.rb#10 def parse(selector); end # :call-seq: @@ -191,401 +191,401 @@ module Nokogiri::CSS # # @raise [TypeError] # - # source://nokogiri/lib/nokogiri/css.rb#83 + # source://nokogiri//lib/nokogiri/css.rb#83 def xpath_for(selector, options = T.unsafe(nil), prefix: T.unsafe(nil), visitor: T.unsafe(nil), ns: T.unsafe(nil), cache: T.unsafe(nil)); end end end -# source://nokogiri/lib/nokogiri/css/node.rb#5 +# source://nokogiri//lib/nokogiri/css/node.rb#5 class Nokogiri::CSS::Node # Create a new Node with +type+ and +value+ # # @return [Node] a new instance of Node # - # source://nokogiri/lib/nokogiri/css/node.rb#14 + # source://nokogiri//lib/nokogiri/css/node.rb#14 def initialize(type, value); end # Accept +visitor+ # - # source://nokogiri/lib/nokogiri/css/node.rb#20 + # source://nokogiri//lib/nokogiri/css/node.rb#20 def accept(visitor); end # Find a node by type using +types+ # - # source://nokogiri/lib/nokogiri/css/node.rb#36 + # source://nokogiri//lib/nokogiri/css/node.rb#36 def find_by_type(types); end # Convert to array # - # source://nokogiri/lib/nokogiri/css/node.rb#53 + # source://nokogiri//lib/nokogiri/css/node.rb#53 def to_a; end # Convert to_type # - # source://nokogiri/lib/nokogiri/css/node.rb#46 + # source://nokogiri//lib/nokogiri/css/node.rb#46 def to_type; end # Convert this CSS node to xpath with +prefix+ using +visitor+ # - # source://nokogiri/lib/nokogiri/css/node.rb#26 + # source://nokogiri//lib/nokogiri/css/node.rb#26 def to_xpath(visitor); end # Get the type of this node # - # source://nokogiri/lib/nokogiri/css/node.rb#9 + # source://nokogiri//lib/nokogiri/css/node.rb#9 def type; end # Get the type of this node # - # source://nokogiri/lib/nokogiri/css/node.rb#9 + # source://nokogiri//lib/nokogiri/css/node.rb#9 def type=(_arg0); end # Get the value of this node # - # source://nokogiri/lib/nokogiri/css/node.rb#11 + # source://nokogiri//lib/nokogiri/css/node.rb#11 def value; end # Get the value of this node # - # source://nokogiri/lib/nokogiri/css/node.rb#11 + # source://nokogiri//lib/nokogiri/css/node.rb#11 def value=(_arg0); end end -# source://nokogiri/lib/nokogiri/css/node.rb#6 +# source://nokogiri//lib/nokogiri/css/node.rb#6 Nokogiri::CSS::Node::ALLOW_COMBINATOR_ON_SELF = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/css/parser_extras.rb#7 +# source://nokogiri//lib/nokogiri/css/parser_extras.rb#7 class Nokogiri::CSS::Parser < ::Racc::Parser # @return [Parser] a new instance of Parser # - # source://nokogiri/lib/nokogiri/css/parser_extras.rb#8 + # source://nokogiri//lib/nokogiri/css/parser_extras.rb#8 def initialize; end # reduce 0 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#363 + # source://nokogiri//lib/nokogiri/css/parser.rb#363 def _reduce_1(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#409 + # source://nokogiri//lib/nokogiri/css/parser.rb#409 def _reduce_10(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#414 + # source://nokogiri//lib/nokogiri/css/parser.rb#414 def _reduce_11(val, _values, result); end # reduce 12 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#426 + # source://nokogiri//lib/nokogiri/css/parser.rb#426 def _reduce_13(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#431 + # source://nokogiri//lib/nokogiri/css/parser.rb#431 def _reduce_14(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#436 + # source://nokogiri//lib/nokogiri/css/parser.rb#436 def _reduce_15(val, _values, result); end # reduce 16 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#443 + # source://nokogiri//lib/nokogiri/css/parser.rb#443 def _reduce_17(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#448 + # source://nokogiri//lib/nokogiri/css/parser.rb#448 def _reduce_18(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#453 + # source://nokogiri//lib/nokogiri/css/parser.rb#453 def _reduce_19(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#369 + # source://nokogiri//lib/nokogiri/css/parser.rb#369 def _reduce_2(val, _values, result); end # reduce 20 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#460 + # source://nokogiri//lib/nokogiri/css/parser.rb#460 def _reduce_21(val, _values, result); end # reduce 22 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#467 + # source://nokogiri//lib/nokogiri/css/parser.rb#467 def _reduce_23(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#472 + # source://nokogiri//lib/nokogiri/css/parser.rb#472 def _reduce_24(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#477 + # source://nokogiri//lib/nokogiri/css/parser.rb#477 def _reduce_25(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#484 + # source://nokogiri//lib/nokogiri/css/parser.rb#484 def _reduce_26(val, _values, result); end # reduce 27 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#491 + # source://nokogiri//lib/nokogiri/css/parser.rb#491 def _reduce_28(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#497 + # source://nokogiri//lib/nokogiri/css/parser.rb#497 def _reduce_29(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#374 + # source://nokogiri//lib/nokogiri/css/parser.rb#374 def _reduce_3(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#503 + # source://nokogiri//lib/nokogiri/css/parser.rb#503 def _reduce_30(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#509 + # source://nokogiri//lib/nokogiri/css/parser.rb#509 def _reduce_31(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#514 + # source://nokogiri//lib/nokogiri/css/parser.rb#514 def _reduce_32(val, _values, result); end # reduce 33 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#521 + # source://nokogiri//lib/nokogiri/css/parser.rb#521 def _reduce_34(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#527 + # source://nokogiri//lib/nokogiri/css/parser.rb#527 def _reduce_35(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#533 + # source://nokogiri//lib/nokogiri/css/parser.rb#533 def _reduce_36(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#539 + # source://nokogiri//lib/nokogiri/css/parser.rb#539 def _reduce_37(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#545 + # source://nokogiri//lib/nokogiri/css/parser.rb#545 def _reduce_38(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#551 + # source://nokogiri//lib/nokogiri/css/parser.rb#551 def _reduce_39(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#379 + # source://nokogiri//lib/nokogiri/css/parser.rb#379 def _reduce_4(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#556 + # source://nokogiri//lib/nokogiri/css/parser.rb#556 def _reduce_40(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#561 + # source://nokogiri//lib/nokogiri/css/parser.rb#561 def _reduce_41(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#566 + # source://nokogiri//lib/nokogiri/css/parser.rb#566 def _reduce_42(val, _values, result); end # reduce 44 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#575 + # source://nokogiri//lib/nokogiri/css/parser.rb#575 def _reduce_45(val, _values, result); end # reduce 46 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#592 + # source://nokogiri//lib/nokogiri/css/parser.rb#592 def _reduce_47(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#602 + # source://nokogiri//lib/nokogiri/css/parser.rb#602 def _reduce_48(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#618 + # source://nokogiri//lib/nokogiri/css/parser.rb#618 def _reduce_49(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#384 + # source://nokogiri//lib/nokogiri/css/parser.rb#384 def _reduce_5(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#638 + # source://nokogiri//lib/nokogiri/css/parser.rb#638 def _reduce_50(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#644 + # source://nokogiri//lib/nokogiri/css/parser.rb#644 def _reduce_51(val, _values, result); end # reduce 53 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#653 + # source://nokogiri//lib/nokogiri/css/parser.rb#653 def _reduce_54(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#659 + # source://nokogiri//lib/nokogiri/css/parser.rb#659 def _reduce_55(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#665 + # source://nokogiri//lib/nokogiri/css/parser.rb#665 def _reduce_56(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#671 + # source://nokogiri//lib/nokogiri/css/parser.rb#671 def _reduce_57(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#677 + # source://nokogiri//lib/nokogiri/css/parser.rb#677 def _reduce_58(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#389 + # source://nokogiri//lib/nokogiri/css/parser.rb#389 def _reduce_6(val, _values, result); end # reduce 63 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#693 + # source://nokogiri//lib/nokogiri/css/parser.rb#693 def _reduce_64(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#698 + # source://nokogiri//lib/nokogiri/css/parser.rb#698 def _reduce_65(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#703 + # source://nokogiri//lib/nokogiri/css/parser.rb#703 def _reduce_66(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#708 + # source://nokogiri//lib/nokogiri/css/parser.rb#708 def _reduce_67(val, _values, result); end # reduce 68 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#715 + # source://nokogiri//lib/nokogiri/css/parser.rb#715 def _reduce_69(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#394 + # source://nokogiri//lib/nokogiri/css/parser.rb#394 def _reduce_7(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#720 + # source://nokogiri//lib/nokogiri/css/parser.rb#720 def _reduce_70(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#725 + # source://nokogiri//lib/nokogiri/css/parser.rb#725 def _reduce_71(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#730 + # source://nokogiri//lib/nokogiri/css/parser.rb#730 def _reduce_72(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#735 + # source://nokogiri//lib/nokogiri/css/parser.rb#735 def _reduce_73(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#740 + # source://nokogiri//lib/nokogiri/css/parser.rb#740 def _reduce_74(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#745 + # source://nokogiri//lib/nokogiri/css/parser.rb#745 def _reduce_75(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#750 + # source://nokogiri//lib/nokogiri/css/parser.rb#750 def _reduce_76(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#399 + # source://nokogiri//lib/nokogiri/css/parser.rb#399 def _reduce_8(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser.rb#404 + # source://nokogiri//lib/nokogiri/css/parser.rb#404 def _reduce_9(val, _values, result); end # reduce 81 omitted # - # source://nokogiri/lib/nokogiri/css/parser.rb#766 + # source://nokogiri//lib/nokogiri/css/parser.rb#766 def _reduce_none(val, _values, result); end - # source://nokogiri/lib/nokogiri/css/parser_extras.rb#18 + # source://nokogiri//lib/nokogiri/css/parser_extras.rb#18 def next_token; end # On CSS parser error, raise an exception # # @raise [SyntaxError] # - # source://nokogiri/lib/nokogiri/css/parser_extras.rb#30 + # source://nokogiri//lib/nokogiri/css/parser_extras.rb#30 def on_error(error_token_id, error_value, value_stack); end - # source://nokogiri/lib/nokogiri/css/parser_extras.rb#13 + # source://nokogiri//lib/nokogiri/css/parser_extras.rb#13 def parse(string); end - # source://nokogiri/lib/nokogiri/css/parser.rb#26 + # source://nokogiri//lib/nokogiri/css/parser.rb#26 def unescape_css_identifier(identifier); end - # source://nokogiri/lib/nokogiri/css/parser.rb#30 + # source://nokogiri//lib/nokogiri/css/parser.rb#30 def unescape_css_string(str); end # Get the xpath for +selector+ using +visitor+ # - # source://nokogiri/lib/nokogiri/css/parser_extras.rb#23 + # source://nokogiri//lib/nokogiri/css/parser_extras.rb#23 def xpath_for(selector, visitor); end end -# source://nokogiri/lib/nokogiri/css/parser.rb#279 +# source://nokogiri//lib/nokogiri/css/parser.rb#279 Nokogiri::CSS::Parser::Racc_arg = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/css/parser.rb#357 +# source://nokogiri//lib/nokogiri/css/parser.rb#357 Nokogiri::CSS::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) -# source://nokogiri/lib/nokogiri/css/parser.rb#296 +# source://nokogiri//lib/nokogiri/css/parser.rb#296 Nokogiri::CSS::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/css/selector_cache.rb#5 +# source://nokogiri//lib/nokogiri/css/selector_cache.rb#5 module Nokogiri::CSS::SelectorCache class << self # Retrieve the cached XPath expressions for the key # - # source://nokogiri/lib/nokogiri/css/selector_cache.rb#11 + # source://nokogiri//lib/nokogiri/css/selector_cache.rb#11 def [](key); end # Insert the XPath expressions `value` at the cache key # - # source://nokogiri/lib/nokogiri/css/selector_cache.rb#16 + # source://nokogiri//lib/nokogiri/css/selector_cache.rb#16 def []=(key, value); end # Clear the cache # - # source://nokogiri/lib/nokogiri/css/selector_cache.rb#21 + # source://nokogiri//lib/nokogiri/css/selector_cache.rb#21 def clear_cache(create_new_object = T.unsafe(nil)); end # Construct a unique key cache key # - # source://nokogiri/lib/nokogiri/css/selector_cache.rb#32 + # source://nokogiri//lib/nokogiri/css/selector_cache.rb#32 def key(selector:, visitor:); end end end -# source://nokogiri/lib/nokogiri/css/syntax_error.rb#6 +# source://nokogiri//lib/nokogiri/css/syntax_error.rb#6 class Nokogiri::CSS::SyntaxError < ::Nokogiri::SyntaxError; end -# source://nokogiri/lib/nokogiri/css/tokenizer.rb#11 +# source://nokogiri//lib/nokogiri/css/tokenizer.rb#11 class Nokogiri::CSS::Tokenizer - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#57 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#57 def _next_token; end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#26 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#26 def action; end # Returns the value of attribute filename. # - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#17 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#17 def filename; end # Returns the value of attribute lineno. # - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#16 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#16 def lineno; end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#36 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#36 def load_file(filename); end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#49 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#49 def next_token; end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#30 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#34 def scan(str); end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#43 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#43 def scan_file(filename); end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#20 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#20 def scan_setup(str); end - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#30 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#30 def scan_str(str); end # Returns the value of attribute state. # - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#18 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#18 def state; end # Sets the attribute state # # @param value the value to set the attribute state to. # - # source://nokogiri/lib/nokogiri/css/tokenizer.rb#18 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#18 def state=(_arg0); end end -# source://nokogiri/lib/nokogiri/css/tokenizer.rb#14 +# source://nokogiri//lib/nokogiri/css/tokenizer.rb#14 class Nokogiri::CSS::Tokenizer::ScanError < ::StandardError; end # When translating CSS selectors to XPath queries with Nokogiri::CSS.xpath_for, the XPathVisitor # class allows for changing some of the behaviors related to builtin xpath functions and quirks # of HTML5. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#9 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#9 class Nokogiri::CSS::XPathVisitor # :call-seq: # new() → XPathVisitor @@ -599,15 +599,15 @@ class Nokogiri::CSS::XPathVisitor # # @return [XPathVisitor] a new instance of XPathVisitor # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#69 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#69 def initialize(builtins: T.unsafe(nil), doctype: T.unsafe(nil), prefix: T.unsafe(nil), namespaces: T.unsafe(nil)); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#298 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#298 def accept(node); end # The visitor configuration set via the +builtins:+ keyword argument to XPathVisitor.new. # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#48 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#48 def builtins; end # :call-seq: config() → Hash @@ -616,143 +616,143 @@ class Nokogiri::CSS::XPathVisitor # a Hash representing the configuration of the XPathVisitor, suitable for use as # part of the CSS cache key. # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#93 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#93 def config; end # The visitor configuration set via the +doctype:+ keyword argument to XPathVisitor.new. # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#51 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#51 def doctype; end # The visitor configuration set via the +namespaces:+ keyword argument to XPathVisitor.new. # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#57 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#57 def namespaces; end # The visitor configuration set via the +prefix:+ keyword argument to XPathVisitor.new. # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#54 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#54 def prefix; end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#294 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#294 def visit_attrib_name(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#175 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#175 def visit_attribute_condition(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#256 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 def visit_child_selector(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#237 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#237 def visit_class_condition(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#241 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#241 def visit_combinator(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#262 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#262 def visit_conditional_selector(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#256 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 def visit_descendant_selector(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#256 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 def visit_direct_adjacent_selector(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#267 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#267 def visit_element_name(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#256 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 def visit_following_selector(node); end # :stopdoc: # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#98 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#98 def visit_function(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#170 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#170 def visit_id(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#161 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#161 def visit_not(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#211 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#211 def visit_pseudo_class(node); end private - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#365 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#365 def css_class(hay, needle); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#310 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#310 def html5_element_name_needs_namespace_handling(node); end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#355 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#355 def is_of_type_pseudo_class?(node); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#317 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#317 def nth(node, options = T.unsafe(nil)); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#341 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#341 def read_a_and_positive_b(values); end - # source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#304 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#304 def validate_xpath_function_name(name); end end # Enum to direct XPathVisitor when to use Nokogiri builtin XPath functions. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#13 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#13 module Nokogiri::CSS::XPathVisitor::BuiltinsConfig; end # Always use Nokogiri builtin functions whenever possible. This is probably only useful for testing. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#19 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#19 Nokogiri::CSS::XPathVisitor::BuiltinsConfig::ALWAYS = T.let(T.unsafe(nil), Symbol) # Never use Nokogiri builtin functions, always generate vanilla XPath 1.0 queries. This is # the default when calling Nokogiri::CSS.xpath_for directly. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#16 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#16 Nokogiri::CSS::XPathVisitor::BuiltinsConfig::NEVER = T.let(T.unsafe(nil), Symbol) # Only use Nokogiri builtin functions when they will be faster than vanilla XPath. This is # the behavior chosen when searching for CSS selectors on a Nokogiri document, fragment, or # node. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#24 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#24 Nokogiri::CSS::XPathVisitor::BuiltinsConfig::OPTIMAL = T.let(T.unsafe(nil), Symbol) -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#27 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#27 Nokogiri::CSS::XPathVisitor::BuiltinsConfig::VALUES = T.let(T.unsafe(nil), Array) # Enum to direct XPathVisitor when to tweak the XPath query to suit the nature of the document # being searched. Note that searches for CSS selectors from a Nokogiri document, fragment, or # node will choose the correct option automatically. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#33 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#33 module Nokogiri::CSS::XPathVisitor::DoctypeConfig; end # The document being searched is an HTML4 document. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#38 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#38 Nokogiri::CSS::XPathVisitor::DoctypeConfig::HTML4 = T.let(T.unsafe(nil), Symbol) # The document being searched is an HTML5 document. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#41 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#41 Nokogiri::CSS::XPathVisitor::DoctypeConfig::HTML5 = T.let(T.unsafe(nil), Symbol) -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#44 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#44 Nokogiri::CSS::XPathVisitor::DoctypeConfig::VALUES = T.let(T.unsafe(nil), Array) # The document being searched is an XML document. This is the default. # -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#35 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#35 Nokogiri::CSS::XPathVisitor::DoctypeConfig::XML = T.let(T.unsafe(nil), Symbol) -# source://nokogiri/lib/nokogiri/css/xpath_visitor.rb#10 +# source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#10 Nokogiri::CSS::XPathVisitor::WILDCARD_NAMESPACES = T.let(T.unsafe(nil), TrueClass) # Some classes in Nokogiri are namespaced as a group, for example @@ -766,7 +766,7 @@ Nokogiri::CSS::XPathVisitor::WILDCARD_NAMESPACES = T.let(T.unsafe(nil), TrueClas # # This module is included into those key classes who need to do this. # -# source://nokogiri/lib/nokogiri/class_resolver.rb#19 +# source://nokogiri//lib/nokogiri/class_resolver.rb#19 module Nokogiri::ClassResolver # :call-seq: # related_class(class_name) → Class @@ -791,91 +791,103 @@ module Nokogiri::ClassResolver # ThisIsATopLevelClass.new.related_class("Document") # # => Nokogiri::HTML4::Document # - # source://nokogiri/lib/nokogiri/class_resolver.rb#46 + # source://nokogiri//lib/nokogiri/class_resolver.rb#46 def related_class(class_name); end end # #related_class restricts matching namespaces to those matching this set. # -# source://nokogiri/lib/nokogiri/class_resolver.rb#21 +# source://nokogiri//lib/nokogiri/class_resolver.rb#21 Nokogiri::ClassResolver::VALID_NAMESPACES = T.let(T.unsafe(nil), Set) -# source://nokogiri/lib/nokogiri/decorators/slop.rb#4 +# source://nokogiri//lib/nokogiri/decorators/slop.rb#4 module Nokogiri::Decorators; end # The Slop decorator implements method missing such that a methods may be # used instead of XPath or CSS. See Nokogiri.Slop # -# source://nokogiri/lib/nokogiri/decorators/slop.rb#8 +# source://nokogiri//lib/nokogiri/decorators/slop.rb#8 module Nokogiri::Decorators::Slop # look for node with +name+. See Nokogiri.Slop # - # source://nokogiri/lib/nokogiri/decorators/slop.rb#14 + # source://nokogiri//lib/nokogiri/decorators/slop.rb#14 def method_missing(name, *args, &block); end private # @return [Boolean] # - # source://nokogiri/lib/nokogiri/decorators/slop.rb#35 + # source://nokogiri//lib/nokogiri/decorators/slop.rb#35 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end # The default XPath search context for Slop # -# source://nokogiri/lib/nokogiri/decorators/slop.rb#10 +# source://nokogiri//lib/nokogiri/decorators/slop.rb#10 Nokogiri::Decorators::Slop::XPATH_PREFIX = T.let(T.unsafe(nil), String) -# source://nokogiri/lib/nokogiri/encoding_handler.rb#5 +# source://nokogiri//lib/nokogiri/encoding_handler.rb#5 class Nokogiri::EncodingHandler # Returns the value of attribute name. + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def alias(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def clear_aliases!; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def delete(_arg0); end - # source://nokogiri/lib/nokogiri/encoding_handler.rb#15 + # source://nokogiri//lib/nokogiri/encoding_handler.rb#15 def install_default_aliases; end end end # Popular encoding aliases not known by all iconv implementations that Nokogiri should support. # -# source://nokogiri/lib/nokogiri/encoding_handler.rb#7 +# source://nokogiri//lib/nokogiri/encoding_handler.rb#7 Nokogiri::EncodingHandler::USEFUL_ALIASES = T.let(T.unsafe(nil), Hash) -# source://nokogiri/lib/nokogiri/gumbo.rb#4 +# source://nokogiri//lib/nokogiri/gumbo.rb#4 module Nokogiri::Gumbo class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def fragment(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse(*_arg0); end end end # The default maximum number of attributes per element. # -# source://nokogiri/lib/nokogiri/gumbo.rb#6 +# source://nokogiri//lib/nokogiri/gumbo.rb#6 Nokogiri::Gumbo::DEFAULT_MAX_ATTRIBUTES = T.let(T.unsafe(nil), Integer) # The default maximum number of errors for parsing a document or a fragment. # -# source://nokogiri/lib/nokogiri/gumbo.rb#9 +# source://nokogiri//lib/nokogiri/gumbo.rb#9 Nokogiri::Gumbo::DEFAULT_MAX_ERRORS = T.let(T.unsafe(nil), Integer) # The default maximum depth of the DOM tree produced by parsing a document # or fragment. # -# source://nokogiri/lib/nokogiri/gumbo.rb#13 +# source://nokogiri//lib/nokogiri/gumbo.rb#13 Nokogiri::Gumbo::DEFAULT_MAX_TREE_DEPTH = T.let(T.unsafe(nil), Integer) # 💡 This module/namespace is an alias for Nokogiri::HTML4 as of v1.12.0. Before v1.12.0, # Nokogiri::HTML4 did not exist, and this was the module/namespace for all HTML-related # classes. # -# source://nokogiri/lib/nokogiri/html.rb#8 +# source://nokogiri//lib/nokogiri/html.rb#8 Nokogiri::HTML = Nokogiri::HTML4 # Since v1.12.0 @@ -883,17 +895,17 @@ Nokogiri::HTML = Nokogiri::HTML4 # 💡 Before v1.12.0, Nokogiri::HTML4 did not exist, and Nokogiri::HTML was the module/namespace # for parsing HTML. # -# source://nokogiri/lib/nokogiri/html4.rb#16 +# source://nokogiri//lib/nokogiri/html4.rb#16 module Nokogiri::HTML4 class << self # Convenience method for Nokogiri::HTML4::DocumentFragment.parse # - # source://nokogiri/lib/nokogiri/html4.rb#24 + # source://nokogiri//lib/nokogiri/html4.rb#24 def fragment(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::HTML4::Document.parse # - # source://nokogiri/lib/nokogiri/html4.rb#19 + # source://nokogiri//lib/nokogiri/html4.rb#19 def parse(*_arg0, **_arg1, &_arg2); end end end @@ -922,25 +934,25 @@ end # The HTML builder inherits from the XML builder, so make sure to read the # Nokogiri::XML::Builder documentation. # -# source://nokogiri/lib/nokogiri/html.rb#31 +# source://nokogiri//lib/nokogiri/html.rb#31 class Nokogiri::HTML4::Builder < ::Nokogiri::XML::Builder # Convert the builder to HTML # - # source://nokogiri/lib/nokogiri/html4/builder.rb#32 + # source://nokogiri//lib/nokogiri/html4/builder.rb#32 def to_html; end end -# source://nokogiri/lib/nokogiri/html4/document.rb#8 +# source://nokogiri//lib/nokogiri/html4/document.rb#8 class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # Create a Nokogiri::XML::DocumentFragment from +tags+ # - # source://nokogiri/lib/nokogiri/html4/document.rb#149 + # source://nokogiri//lib/nokogiri/html4/document.rb#149 def fragment(tags = T.unsafe(nil)); end # Get the meta tag encoding for this document. If there is no meta tag, # then nil is returned. # - # source://nokogiri/lib/nokogiri/html4/document.rb#12 + # source://nokogiri//lib/nokogiri/html4/document.rb#12 def meta_encoding; end # Set the meta tag encoding for this document. @@ -959,7 +971,7 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # Beware in CRuby, that libxml2 automatically inserts a meta tag # into a head element. # - # source://nokogiri/lib/nokogiri/html4/document.rb#36 + # source://nokogiri//lib/nokogiri/html4/document.rb#36 def meta_encoding=(encoding); end # Serialize Node using +options+. Save options can also be set using a block. @@ -976,13 +988,13 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # config.format.as_xml # end # - # source://nokogiri/lib/nokogiri/html4/document.rb#142 + # source://nokogiri//lib/nokogiri/html4/document.rb#142 def serialize(options = T.unsafe(nil)); end # Get the title string of this document. Return nil if there is # no title tag. # - # source://nokogiri/lib/nokogiri/html4/document.rb#70 + # source://nokogiri//lib/nokogiri/html4/document.rb#70 def title; end # Set the title string of this document. @@ -996,9 +1008,10 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # encoding/charset tag if any, and before any text node or # content element (typically ) if any. # - # source://nokogiri/lib/nokogiri/html4/document.rb#85 + # source://nokogiri//lib/nokogiri/html4/document.rb#85 def title=(text); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def type; end # :call-seq: @@ -1008,18 +1021,19 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # # See XPathVisitor for more information. # - # source://nokogiri/lib/nokogiri/html4/document.rb#159 + # source://nokogiri//lib/nokogiri/html4/document.rb#159 def xpath_doctype; end private - # source://nokogiri/lib/nokogiri/html4/document.rb#60 + # source://nokogiri//lib/nokogiri/html4/document.rb#60 def meta_content_type; end - # source://nokogiri/lib/nokogiri/html4/document.rb#103 + # source://nokogiri//lib/nokogiri/html4/document.rb#103 def set_metadata_element(element); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end # :call-seq: @@ -1048,15 +1062,18 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # # @yield [options] # - # source://nokogiri/lib/nokogiri/html4/document.rb#189 + # source://nokogiri//lib/nokogiri/html4/document.rb#189 def parse(input, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), options_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), options: T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_io(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(_arg0, _arg1, _arg2, _arg3); end end end -# source://nokogiri/lib/nokogiri/html4/document_fragment.rb#5 +# source://nokogiri//lib/nokogiri/html4/document_fragment.rb#5 class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment # :call-seq: # new(document) { |options| ... } → HTML4::DocumentFragment @@ -1097,7 +1114,7 @@ class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment # @return [DocumentFragment] a new instance of DocumentFragment # @yield [options] # - # source://nokogiri/lib/nokogiri/html4/document_fragment.rb#134 + # source://nokogiri//lib/nokogiri/html4/document_fragment.rb#134 def initialize(document, input = T.unsafe(nil), context_ = T.unsafe(nil), options_ = T.unsafe(nil), context: T.unsafe(nil), options: T.unsafe(nil)); end class << self @@ -1143,153 +1160,175 @@ class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment # options.huge.pedantic # end # - # source://nokogiri/lib/nokogiri/html4/document_fragment.rb#52 + # source://nokogiri//lib/nokogiri/html4/document_fragment.rb#52 def parse(input, encoding_ = T.unsafe(nil), options_ = T.unsafe(nil), encoding: T.unsafe(nil), options: T.unsafe(nil), &block); end end end -# source://nokogiri/lib/nokogiri/html4/element_description.rb#5 +# source://nokogiri//lib/nokogiri/html4/element_description.rb#5 class Nokogiri::HTML4::ElementDescription # Is this element a block element? # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/html4/element_description.rb#8 + # source://nokogiri//lib/nokogiri/html4/element_description.rb#8 def block?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def default_sub_element; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def deprecated?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def deprecated_attributes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def description; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def empty?; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def implied_end_tag?; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def implied_start_tag?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def inline?; end # Inspection information # - # source://nokogiri/lib/nokogiri/html4/element_description.rb#20 + # source://nokogiri//lib/nokogiri/html4/element_description.rb#20 def inspect; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def optional_attributes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def required_attributes; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def save_end_tag?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def sub_elements; end # Convert this description to a string # - # source://nokogiri/lib/nokogiri/html4/element_description.rb#14 + # source://nokogiri//lib/nokogiri/html4/element_description.rb#14 def to_s; end private - # source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#32 + # source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#32 def default_desc; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](_arg0); end end end -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#436 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#436 Nokogiri::HTML4::ElementDescription::ACTION_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#423 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#423 Nokogiri::HTML4::ElementDescription::ALIGN_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#239 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#239 Nokogiri::HTML4::ElementDescription::ALT_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#246 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#246 Nokogiri::HTML4::ElementDescription::APPLET_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#258 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#258 Nokogiri::HTML4::ElementDescription::AREA_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#212 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#212 Nokogiri::HTML4::ElementDescription::ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#221 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#221 Nokogiri::HTML4::ElementDescription::A_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#268 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#268 Nokogiri::HTML4::ElementDescription::BASEFONT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#546 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#546 Nokogiri::HTML4::ElementDescription::BGCOLOR_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#171 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#171 Nokogiri::HTML4::ElementDescription::BLOCK = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#437 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#437 Nokogiri::HTML4::ElementDescription::BLOCKLI_ELT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#271 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#271 Nokogiri::HTML4::ElementDescription::BODY_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#270 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#270 Nokogiri::HTML4::ElementDescription::BODY_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#272 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#272 Nokogiri::HTML4::ElementDescription::BODY_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#280 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#280 Nokogiri::HTML4::ElementDescription::BUTTON_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#213 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#213 Nokogiri::HTML4::ElementDescription::CELLHALIGN = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#214 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#214 Nokogiri::HTML4::ElementDescription::CELLVALIGN = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#242 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#242 Nokogiri::HTML4::ElementDescription::CLEAR_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#292 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#292 Nokogiri::HTML4::ElementDescription::COL_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#293 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#293 Nokogiri::HTML4::ElementDescription::COL_ELT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#297 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#297 Nokogiri::HTML4::ElementDescription::COMPACT_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#295 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#295 Nokogiri::HTML4::ElementDescription::COMPACT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#439 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#439 Nokogiri::HTML4::ElementDescription::CONTENT_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#199 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#199 Nokogiri::HTML4::ElementDescription::COREATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#218 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#218 Nokogiri::HTML4::ElementDescription::CORE_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#217 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#217 Nokogiri::HTML4::ElementDescription::CORE_I18N_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#549 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#549 Nokogiri::HTML4::ElementDescription::DIR_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#296 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#296 Nokogiri::HTML4::ElementDescription::DL_CONTENTS = T.let(T.unsafe(nil), Array) # This is filled in down below. # -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#30 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#30 Nokogiri::HTML4::ElementDescription::DefaultDescriptions = T.let(T.unsafe(nil), Hash) # Methods are defined protected by method_defined? because at @@ -1297,327 +1336,328 @@ Nokogiri::HTML4::ElementDescription::DefaultDescriptions = T.let(T.unsafe(nil), # and we don't want to clobber any methods that have been # defined there. # -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#11 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#11 Nokogiri::HTML4::ElementDescription::Desc = Struct -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#294 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#294 Nokogiri::HTML4::ElementDescription::EDIT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#377 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#377 Nokogiri::HTML4::ElementDescription::EMBED_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#192 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#192 Nokogiri::HTML4::ElementDescription::EMPTY = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#201 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#201 Nokogiri::HTML4::ElementDescription::EVENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#299 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#299 Nokogiri::HTML4::ElementDescription::FIELDSET_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#190 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#190 Nokogiri::HTML4::ElementDescription::FLOW = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#245 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#245 Nokogiri::HTML4::ElementDescription::FLOW_PARAM = T.let(T.unsafe(nil), Array) # Attributes defined and categorized # -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#136 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#136 Nokogiri::HTML4::ElementDescription::FONTSTYLE = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#300 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#300 Nokogiri::HTML4::ElementDescription::FONT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#170 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#170 Nokogiri::HTML4::ElementDescription::FORMCTRL = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#318 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#318 Nokogiri::HTML4::ElementDescription::FORM_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#301 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#301 Nokogiri::HTML4::ElementDescription::FORM_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#339 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#339 Nokogiri::HTML4::ElementDescription::FRAMESET_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#340 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#340 Nokogiri::HTML4::ElementDescription::FRAMESET_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#328 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#328 Nokogiri::HTML4::ElementDescription::FRAME_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#168 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#168 Nokogiri::HTML4::ElementDescription::HEADING = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#341 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#341 Nokogiri::HTML4::ElementDescription::HEAD_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#342 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#342 Nokogiri::HTML4::ElementDescription::HEAD_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#241 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#241 Nokogiri::HTML4::ElementDescription::HREF_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#352 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#352 Nokogiri::HTML4::ElementDescription::HR_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#216 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#216 Nokogiri::HTML4::ElementDescription::HTML_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#197 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#197 Nokogiri::HTML4::ElementDescription::HTML_CDATA = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#354 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#354 Nokogiri::HTML4::ElementDescription::HTML_CONTENT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#194 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#194 Nokogiri::HTML4::ElementDescription::HTML_FLOW = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#195 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#195 Nokogiri::HTML4::ElementDescription::HTML_INLINE = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#196 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#196 Nokogiri::HTML4::ElementDescription::HTML_PCDATA = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#200 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#200 Nokogiri::HTML4::ElementDescription::I18N = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#219 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#219 Nokogiri::HTML4::ElementDescription::I18N_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#355 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#355 Nokogiri::HTML4::ElementDescription::IFRAME_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#368 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#368 Nokogiri::HTML4::ElementDescription::IMG_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#189 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#189 Nokogiri::HTML4::ElementDescription::INLINE = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#243 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#243 Nokogiri::HTML4::ElementDescription::INLINE_P = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#398 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#398 Nokogiri::HTML4::ElementDescription::INPUT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#298 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#298 Nokogiri::HTML4::ElementDescription::LABEL_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#421 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#421 Nokogiri::HTML4::ElementDescription::LABEL_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#484 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#484 Nokogiri::HTML4::ElementDescription::LANGUAGE_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#422 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#422 Nokogiri::HTML4::ElementDescription::LEGEND_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#424 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#424 Nokogiri::HTML4::ElementDescription::LINK_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#169 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#169 Nokogiri::HTML4::ElementDescription::LIST = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#547 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#547 Nokogiri::HTML4::ElementDescription::LI_ELT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#434 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#434 Nokogiri::HTML4::ElementDescription::MAP_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#438 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#438 Nokogiri::HTML4::ElementDescription::META_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#191 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#191 Nokogiri::HTML4::ElementDescription::MODIFIER = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#435 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#435 Nokogiri::HTML4::ElementDescription::NAME_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#441 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#441 Nokogiri::HTML4::ElementDescription::NOFRAMES_CONTENT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#443 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#443 Nokogiri::HTML4::ElementDescription::OBJECT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#442 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#442 Nokogiri::HTML4::ElementDescription::OBJECT_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#459 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#459 Nokogiri::HTML4::ElementDescription::OBJECT_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#460 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#460 Nokogiri::HTML4::ElementDescription::OL_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#462 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#462 Nokogiri::HTML4::ElementDescription::OPTGROUP_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#463 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#463 Nokogiri::HTML4::ElementDescription::OPTION_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#461 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#461 Nokogiri::HTML4::ElementDescription::OPTION_ELT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#464 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#464 Nokogiri::HTML4::ElementDescription::PARAM_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#167 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#167 Nokogiri::HTML4::ElementDescription::PCDATA = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#137 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#137 Nokogiri::HTML4::ElementDescription::PHRASE = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#466 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#466 Nokogiri::HTML4::ElementDescription::PRE_CONTENT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#420 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#420 Nokogiri::HTML4::ElementDescription::PROMPT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#269 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#269 Nokogiri::HTML4::ElementDescription::QUOTE_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#238 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#238 Nokogiri::HTML4::ElementDescription::ROWS_COLS_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#483 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#483 Nokogiri::HTML4::ElementDescription::SCRIPT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#486 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#486 Nokogiri::HTML4::ElementDescription::SELECT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#485 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#485 Nokogiri::HTML4::ElementDescription::SELECT_CONTENT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#149 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#149 Nokogiri::HTML4::ElementDescription::SPECIAL = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#240 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#240 Nokogiri::HTML4::ElementDescription::SRC_ALT_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#497 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#497 Nokogiri::HTML4::ElementDescription::STYLE_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#498 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#498 Nokogiri::HTML4::ElementDescription::TABLE_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#510 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#510 Nokogiri::HTML4::ElementDescription::TABLE_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#509 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#509 Nokogiri::HTML4::ElementDescription::TABLE_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#520 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#520 Nokogiri::HTML4::ElementDescription::TALIGN_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#237 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#237 Nokogiri::HTML4::ElementDescription::TARGET_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#533 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#533 Nokogiri::HTML4::ElementDescription::TEXTAREA_ATTRS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#522 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#522 Nokogiri::HTML4::ElementDescription::TH_TD_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#521 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#521 Nokogiri::HTML4::ElementDescription::TH_TD_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#545 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#545 Nokogiri::HTML4::ElementDescription::TR_CONTENTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#519 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#519 Nokogiri::HTML4::ElementDescription::TR_ELT = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#440 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#440 Nokogiri::HTML4::ElementDescription::TYPE_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#548 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#548 Nokogiri::HTML4::ElementDescription::UL_DEPR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#353 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#353 Nokogiri::HTML4::ElementDescription::VERSION_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/element_description_defaults.rb#465 +# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#465 Nokogiri::HTML4::ElementDescription::WIDTH_ATTR = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#14 +# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#14 class Nokogiri::HTML4::EncodingReader # @return [EncodingReader] a new instance of EncodingReader # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#82 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#82 def initialize(io); end # This method is used by the C extension so that # Nokogiri::HTML4::Document#read_io() does not leak memory when # EncodingFound is raised. # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#91 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#91 def encoding_found; end - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#93 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#93 def read(len); end class << self - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#59 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#59 def detect_encoding(chunk); end end end -# source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#15 +# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#15 class Nokogiri::HTML4::EncodingReader::EncodingFound < ::StandardError # @return [EncodingFound] a new instance of EncodingFound # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#18 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#18 def initialize(encoding); end # Returns the value of attribute found_encoding. # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#16 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#16 def found_encoding; end end -# source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#46 +# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#46 class Nokogiri::HTML4::EncodingReader::JumpSAXHandler < ::Nokogiri::HTML4::EncodingReader::SAXHandler # @return [JumpSAXHandler] a new instance of JumpSAXHandler # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#47 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#47 def initialize(jumptag); end - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#52 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#52 def start_element(name, attrs = T.unsafe(nil)); end end -# source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#24 +# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#24 class Nokogiri::HTML4::EncodingReader::SAXHandler < ::Nokogiri::XML::SAX::Document # @return [SAXHandler] a new instance of SAXHandler # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#27 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#27 def initialize; end # Returns the value of attribute encoding. # - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#25 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#25 def encoding; end - # source://nokogiri/lib/nokogiri/html4/encoding_reader.rb#32 + # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#32 def start_element(name, attrs = T.unsafe(nil)); end end -# source://nokogiri/lib/nokogiri/html4/entity_lookup.rb#5 +# source://nokogiri//lib/nokogiri/html4/entity_lookup.rb#5 class Nokogiri::HTML4::EntityDescription < ::Struct; end -# source://nokogiri/lib/nokogiri/html4/entity_lookup.rb#7 +# source://nokogiri//lib/nokogiri/html4/entity_lookup.rb#7 class Nokogiri::HTML4::EntityLookup # Look up entity with +name+ # - # source://nokogiri/lib/nokogiri/html4/entity_lookup.rb#10 + # source://nokogiri//lib/nokogiri/html4/entity_lookup.rb#10 def [](name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def get(_arg0); end end # Instance of Nokogiri::HTML4::EntityLookup # -# source://nokogiri/lib/nokogiri/html4.rb#30 +# source://nokogiri//lib/nokogiri/html4.rb#30 Nokogiri::HTML4::NamedCharacters = T.let(T.unsafe(nil), Nokogiri::HTML4::EntityLookup) # Nokogiri provides a SAX parser to process HTML4 which will provide HTML recovery @@ -1627,7 +1667,7 @@ Nokogiri::HTML4::NamedCharacters = T.let(T.unsafe(nil), Nokogiri::HTML4::EntityL # # For more information on SAX parsers, see Nokogiri::XML::SAX # -# source://nokogiri/lib/nokogiri/html4/sax/parser_context.rb#5 +# source://nokogiri//lib/nokogiri/html4/sax/parser_context.rb#5 module Nokogiri::HTML4::SAX; end # This parser is a SAX style parser that reads its input as it deems necessary. The parser @@ -1656,10 +1696,11 @@ module Nokogiri::HTML4::SAX; end # # Also see Nokogiri::XML::SAX::Document for the available events. # -# source://nokogiri/lib/nokogiri/html4/sax/parser.rb#41 +# source://nokogiri//lib/nokogiri/html4/sax/parser.rb#41 class Nokogiri::HTML4::SAX::Parser < ::Nokogiri::XML::SAX::Parser private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native; end end @@ -1668,56 +1709,63 @@ end # 💡 This class is usually not instantiated by the user. Use Nokogiri::HTML4::SAX::Parser # instead. # -# source://nokogiri/lib/nokogiri/html4/sax/parser_context.rb#11 +# source://nokogiri//lib/nokogiri/html4/sax/parser_context.rb#11 class Nokogiri::HTML4::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_with(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_file(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_memory(_arg0, _arg1); end end end -# source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#6 +# source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#6 class Nokogiri::HTML4::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser # @return [PushParser] a new instance of PushParser # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#11 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#11 def initialize(doc = T.unsafe(nil), file_name = T.unsafe(nil), encoding = T.unsafe(nil)); end # Write a +chunk+ of HTML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#23 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#26 def <<(chunk, last_chunk = T.unsafe(nil)); end # The Nokogiri::HTML4::SAX::Document on which the PushParser will be # operating # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#9 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#9 def document; end # The Nokogiri::HTML4::SAX::Document on which the PushParser will be # operating # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#9 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#9 def document=(_arg0); end # Finish the parsing. This method is only necessary for # Nokogiri::HTML4::SAX::Document#end_document to be called. # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#31 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#31 def finish; end # Write a +chunk+ of HTML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri/lib/nokogiri/html4/sax/push_parser.rb#23 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#23 def write(chunk, last_chunk = T.unsafe(nil)); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native(_arg0, _arg1, _arg2); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write(_arg0, _arg1); end end @@ -1956,20 +2004,20 @@ end # # Since v1.12.0 # -# source://nokogiri/lib/nokogiri/html5/document.rb#23 +# source://nokogiri//lib/nokogiri/html5/document.rb#23 module Nokogiri::HTML5 class << self # Convenience method for Nokogiri::HTML5::DocumentFragment.parse # - # source://nokogiri/lib/nokogiri/html5.rb#280 + # source://nokogiri//lib/nokogiri/html5.rb#280 def fragment(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::HTML5::Document.parse # - # source://nokogiri/lib/nokogiri/html5.rb#275 + # source://nokogiri//lib/nokogiri/html5.rb#275 def parse(*_arg0, **_arg1, &_arg2); end - # source://nokogiri/lib/nokogiri/html5.rb#285 + # source://nokogiri//lib/nokogiri/html5.rb#285 def read_and_encode(string, encoding); end private @@ -1986,7 +2034,7 @@ module Nokogiri::HTML5 # http://bugs.ruby-lang.org/issues/2567 # http://www.w3.org/TR/html5/syntax.html#determining-the-character-encoding # - # source://nokogiri/lib/nokogiri/html5.rb#323 + # source://nokogiri//lib/nokogiri/html5.rb#323 def reencode(body, content_type = T.unsafe(nil)); end end end @@ -2018,11 +2066,11 @@ end # The HTML5 builder inherits from the XML builder, so make sure to read the # Nokogiri::XML::Builder documentation. # -# source://nokogiri/lib/nokogiri/html5/builder.rb#32 +# source://nokogiri//lib/nokogiri/html5/builder.rb#32 class Nokogiri::HTML5::Builder < ::Nokogiri::XML::Builder # Convert the builder to HTML # - # source://nokogiri/lib/nokogiri/html5/builder.rb#35 + # source://nokogiri//lib/nokogiri/html5/builder.rb#35 def to_html; end end @@ -2030,11 +2078,11 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri/lib/nokogiri/html5/document.rb#39 +# source://nokogiri//lib/nokogiri/html5/document.rb#39 class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # @return [Document] a new instance of Document # - # source://nokogiri/lib/nokogiri/html5/document.rb#159 + # source://nokogiri//lib/nokogiri/html5/document.rb#159 def initialize(*args); end # :call-seq: @@ -2050,7 +2098,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # Nokogiri::HTML5::DocumentFragment. This object's children will be empty if +markup+ is not # passed, is empty, or is +nil+. # - # source://nokogiri/lib/nokogiri/html5/document.rb#178 + # source://nokogiri//lib/nokogiri/html5/document.rb#178 def fragment(markup = T.unsafe(nil)); end # Get the parser's quirks mode value. See HTML5::QuirksMode. @@ -2059,16 +2107,16 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/html5/document.rb#49 + # source://nokogiri//lib/nokogiri/html5/document.rb#49 def quirks_mode; end - # source://nokogiri/lib/nokogiri/html5/document.rb#182 + # source://nokogiri//lib/nokogiri/html5/document.rb#182 def to_xml(options = T.unsafe(nil), &block); end # Get the url name for this document, as passed into Document.parse, Document.read_io, or # Document.read_memory # - # source://nokogiri/lib/nokogiri/html5/document.rb#42 + # source://nokogiri//lib/nokogiri/html5/document.rb#42 def url; end # :call-seq: @@ -2078,7 +2126,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # See CSS::XPathVisitor for more information. # - # source://nokogiri/lib/nokogiri/html5/document.rb#194 + # source://nokogiri//lib/nokogiri/html5/document.rb#194 def xpath_doctype; end class << self @@ -2130,7 +2178,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @yield [options] # - # source://nokogiri/lib/nokogiri/html5/document.rb#103 + # source://nokogiri//lib/nokogiri/html5/document.rb#103 def parse(string_or_io, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), **options, &block); end # Create a new document from an IO object. @@ -2139,7 +2187,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/html5/document.rb#129 + # source://nokogiri//lib/nokogiri/html5/document.rb#129 def read_io(io, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), **options); end # Create a new document from a String. @@ -2148,12 +2196,12 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/html5/document.rb#138 + # source://nokogiri//lib/nokogiri/html5/document.rb#138 def read_memory(string, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), **options); end private - # source://nokogiri/lib/nokogiri/html5/document.rb#146 + # source://nokogiri//lib/nokogiri/html5/document.rb#146 def do_parse(string_or_io, url, encoding, **options); end end end @@ -2162,7 +2210,7 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri/lib/nokogiri/html5/document_fragment.rb#27 +# source://nokogiri//lib/nokogiri/html5/document_fragment.rb#27 class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # :call-seq: # new(document, input, **options) → HTML5::DocumentFragment @@ -2209,34 +2257,34 @@ class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # # @return [DocumentFragment] a new instance of DocumentFragment # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#144 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#144 def initialize(doc, input = T.unsafe(nil), context_ = T.unsafe(nil), positional_options_hash = T.unsafe(nil), context: T.unsafe(nil), **options); end # Returns the value of attribute document. # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#88 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#88 def document; end # Sets the attribute document # # @param value the value to set the attribute document to. # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#88 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#88 def document=(_arg0); end # Returns the value of attribute errors. # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#89 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#89 def errors; end # Sets the attribute errors # # @param value the value to set the attribute errors to. # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#89 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#89 def errors=(_arg0); end - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#175 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#175 def extract_params(params); end # Get the parser's quirks mode value. See HTML5::QuirksMode. @@ -2246,10 +2294,10 @@ class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#97 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#97 def quirks_mode; end - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#169 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#169 def serialize(options = T.unsafe(nil), &block); end class << self @@ -2292,7 +2340,7 @@ class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # If a context node is specified using +context:+, then the parser will behave as if that # Node, or a hypothetical tag named as specified, is the parent of the fragment subtree. # - # source://nokogiri/lib/nokogiri/html5/document_fragment.rb#69 + # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#69 def parse(input, encoding_ = T.unsafe(nil), positional_options_hash = T.unsafe(nil), encoding: T.unsafe(nil), **options); end end end @@ -2301,17 +2349,17 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri/lib/nokogiri/html5/node.rb#30 +# source://nokogiri//lib/nokogiri/html5/node.rb#30 module Nokogiri::HTML5::Node - # source://nokogiri/lib/nokogiri/html5/node.rb#70 + # source://nokogiri//lib/nokogiri/html5/node.rb#70 def fragment(tags); end - # source://nokogiri/lib/nokogiri/html5/node.rb#31 + # source://nokogiri//lib/nokogiri/html5/node.rb#31 def inner_html(options = T.unsafe(nil)); end # @yield [config] # - # source://nokogiri/lib/nokogiri/html5/node.rb#39 + # source://nokogiri//lib/nokogiri/html5/node.rb#39 def write_to(io, *options); end private @@ -2322,7 +2370,7 @@ module Nokogiri::HTML5::Node # annoying with attribute names like xml:lang since libxml2 will # actually create the xml namespace if it doesn't exist already. # - # source://nokogiri/lib/nokogiri/html5/node.rb#83 + # source://nokogiri//lib/nokogiri/html5/node.rb#83 def add_child_node_and_reparent_attrs(node); end end @@ -2333,22 +2381,22 @@ end # # Since v1.14.0 # -# source://nokogiri/lib/nokogiri/html5/document.rb#30 +# source://nokogiri//lib/nokogiri/html5/document.rb#30 module Nokogiri::HTML5::QuirksMode; end # The document was parsed in "limited-quirks" mode # -# source://nokogiri/lib/nokogiri/html5/document.rb#33 +# source://nokogiri//lib/nokogiri/html5/document.rb#33 Nokogiri::HTML5::QuirksMode::LIMITED_QUIRKS = T.let(T.unsafe(nil), Integer) # The document was parsed in "no-quirks" mode # -# source://nokogiri/lib/nokogiri/html5/document.rb#31 +# source://nokogiri//lib/nokogiri/html5/document.rb#31 Nokogiri::HTML5::QuirksMode::NO_QUIRKS = T.let(T.unsafe(nil), Integer) # The document was parsed in "quirks" mode # -# source://nokogiri/lib/nokogiri/html5/document.rb#32 +# source://nokogiri//lib/nokogiri/html5/document.rb#32 Nokogiri::HTML5::QuirksMode::QUIRKS = T.let(T.unsafe(nil), Integer) Nokogiri::LIBXML2_PATCHES = T.let(T.unsafe(nil), Array) @@ -2365,111 +2413,115 @@ Nokogiri::OTHER_LIBRARY_VERSIONS = T.let(T.unsafe(nil), String) Nokogiri::PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) Nokogiri::PRECOMPILED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) -# source://nokogiri/lib/nokogiri/syntax_error.rb#4 +# source://nokogiri//lib/nokogiri/syntax_error.rb#4 class Nokogiri::SyntaxError < ::StandardError; end module Nokogiri::Test class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def __foreign_error_handler; end end end # The version of Nokogiri you are using # -# source://nokogiri/lib/nokogiri/version/constant.rb#5 +# source://nokogiri//lib/nokogiri/version/constant.rb#5 Nokogiri::VERSION = T.let(T.unsafe(nil), String) # Detailed version info about Nokogiri and the installed extension dependencies. # -# source://nokogiri/lib/nokogiri/version/info.rb#223 +# source://nokogiri//lib/nokogiri/version/info.rb#223 Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash) -# source://nokogiri/lib/nokogiri/version/info.rb#7 +# source://nokogiri//lib/nokogiri/version/info.rb#7 class Nokogiri::VersionInfo include ::Singleton extend ::Singleton::SingletonClassMethods - # source://nokogiri/lib/nokogiri/version/info.rb#33 + # source://nokogiri//lib/nokogiri/version/info.rb#33 def compiled_libxml_version; end - # source://nokogiri/lib/nokogiri/version/info.rb#44 + # source://nokogiri//lib/nokogiri/version/info.rb#44 def compiled_libxslt_version; end - # source://nokogiri/lib/nokogiri/version/info.rb#22 + # source://nokogiri//lib/nokogiri/version/info.rb#22 def engine; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#10 + # source://nokogiri//lib/nokogiri/version/info.rb#10 def jruby?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#48 + # source://nokogiri//lib/nokogiri/version/info.rb#48 def libxml2?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#52 + # source://nokogiri//lib/nokogiri/version/info.rb#52 def libxml2_has_iconv?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#68 + # source://nokogiri//lib/nokogiri/version/info.rb#68 def libxml2_precompiled?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#60 + # source://nokogiri//lib/nokogiri/version/info.rb#60 def libxml2_using_packaged?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#64 + # source://nokogiri//lib/nokogiri/version/info.rb#64 def libxml2_using_system?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#56 + # source://nokogiri//lib/nokogiri/version/info.rb#56 def libxslt_has_datetime?; end - # source://nokogiri/lib/nokogiri/version/info.rb#26 + # source://nokogiri//lib/nokogiri/version/info.rb#26 def loaded_libxml_version; end - # source://nokogiri/lib/nokogiri/version/info.rb#37 + # source://nokogiri//lib/nokogiri/version/info.rb#37 def loaded_libxslt_version; end - # source://nokogiri/lib/nokogiri/version/info.rb#18 + # source://nokogiri//lib/nokogiri/version/info.rb#18 def ruby_minor; end - # source://nokogiri/lib/nokogiri/version/info.rb#88 + # source://nokogiri//lib/nokogiri/version/info.rb#88 def to_hash; end - # source://nokogiri/lib/nokogiri/version/info.rb#181 + # source://nokogiri//lib/nokogiri/version/info.rb#181 def to_markdown; end - # source://nokogiri/lib/nokogiri/version/info.rb#72 + # source://nokogiri//lib/nokogiri/version/info.rb#72 def warnings; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/version/info.rb#14 + # source://nokogiri//lib/nokogiri/version/info.rb#14 def windows?; end class << self private + # source://nokogiri//lib/nokogiri/version/info.rb#8 def allocate; end + + # source://nokogiri//lib/nokogiri/version/info.rb#8 def new(*_arg0); end end end -# source://nokogiri/lib/nokogiri/xml.rb#11 +# source://nokogiri//lib/nokogiri/xml.rb#11 module Nokogiri::XML class << self # Convenience method for Nokogiri::XML::Reader.new # - # source://nokogiri/lib/nokogiri/xml.rb#21 + # source://nokogiri//lib/nokogiri/xml.rb#21 def Reader(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -2478,7 +2530,7 @@ module Nokogiri::XML # # Convenience method for Nokogiri::XML::RelaxNG.new # - # source://nokogiri/lib/nokogiri/xml/relax_ng.rb#11 + # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#11 def RelaxNG(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -2487,23 +2539,24 @@ module Nokogiri::XML # # Convenience method for Nokogiri::XML::Schema.new # - # source://nokogiri/lib/nokogiri/xml/schema.rb#11 + # source://nokogiri//lib/nokogiri/xml/schema.rb#11 def Schema(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::XML::DocumentFragment.parse # - # source://nokogiri/lib/nokogiri/xml.rb#31 + # source://nokogiri//lib/nokogiri/xml.rb#31 def fragment(*_arg0, **_arg1, &_arg2); end # Convenience method for Nokogiri::XML::Document.parse # - # source://nokogiri/lib/nokogiri/xml.rb#26 + # source://nokogiri//lib/nokogiri/xml.rb#26 def parse(*_arg0, **_arg1, &_arg2); end end end -# source://nokogiri/lib/nokogiri/xml/attr.rb#6 +# source://nokogiri//lib/nokogiri/xml/attr.rb#6 class Nokogiri::XML::Attr < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/xml/attr.rb#9 def content=(_arg0); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -2549,34 +2602,45 @@ class Nokogiri::XML::Attr < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/attr.rb#55 + # source://nokogiri//lib/nokogiri/xml/attr.rb#55 def deconstruct_keys(keys); end + # source://nokogiri//lib/nokogiri/xml/attr.rb#8 def to_s; end + + # source://nokogiri//lib/nokogiri/xml/attr.rb#7 def value; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value=(_arg0); end private - # source://nokogiri/lib/nokogiri/xml/attr.rb#61 + # source://nokogiri//lib/nokogiri/xml/attr.rb#61 def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end # Represents an attribute declaration in a DTD # -# source://nokogiri/lib/nokogiri/xml/attribute_decl.rb#7 +# source://nokogiri//lib/nokogiri/xml/attribute_decl.rb#7 class Nokogiri::XML::AttributeDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def default; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def enumeration; end private - # source://nokogiri/lib/nokogiri/xml/attribute_decl.rb#17 + # source://nokogiri//lib/nokogiri/xml/attribute_decl.rb#17 def inspect_attributes; end end @@ -2838,7 +2902,7 @@ end # # # -# source://nokogiri/lib/nokogiri/xml/builder.rb#264 +# source://nokogiri//lib/nokogiri/xml/builder.rb#264 class Nokogiri::XML::Builder include ::Nokogiri::ClassResolver @@ -2853,84 +2917,84 @@ class Nokogiri::XML::Builder # # @return [Builder] a new instance of Builder # - # source://nokogiri/lib/nokogiri/xml/builder.rb#307 + # source://nokogiri//lib/nokogiri/xml/builder.rb#307 def initialize(options = T.unsafe(nil), root = T.unsafe(nil), &block); end # Append the given raw XML +string+ to the document # - # source://nokogiri/lib/nokogiri/xml/builder.rb#390 + # source://nokogiri//lib/nokogiri/xml/builder.rb#390 def <<(string); end # Build a tag that is associated with namespace +ns+. Raises an # ArgumentError if +ns+ has not been defined higher in the tree. # - # source://nokogiri/lib/nokogiri/xml/builder.rb#358 + # source://nokogiri//lib/nokogiri/xml/builder.rb#358 def [](ns); end - # source://nokogiri/lib/nokogiri/xml/builder.rb#278 + # source://nokogiri//lib/nokogiri/xml/builder.rb#278 def arity; end - # source://nokogiri/lib/nokogiri/xml/builder.rb#278 + # source://nokogiri//lib/nokogiri/xml/builder.rb#278 def arity=(_arg0); end # Create a CDATA Node with content of +string+ # - # source://nokogiri/lib/nokogiri/xml/builder.rb#345 + # source://nokogiri//lib/nokogiri/xml/builder.rb#345 def cdata(string); end # Create a Comment Node with content of +string+ # - # source://nokogiri/lib/nokogiri/xml/builder.rb#351 + # source://nokogiri//lib/nokogiri/xml/builder.rb#351 def comment(string); end # A context object for use when the block has no arguments # - # source://nokogiri/lib/nokogiri/xml/builder.rb#276 + # source://nokogiri//lib/nokogiri/xml/builder.rb#276 def context; end # A context object for use when the block has no arguments # - # source://nokogiri/lib/nokogiri/xml/builder.rb#276 + # source://nokogiri//lib/nokogiri/xml/builder.rb#276 def context=(_arg0); end # The current Document object being built # - # source://nokogiri/lib/nokogiri/xml/builder.rb#270 + # source://nokogiri//lib/nokogiri/xml/builder.rb#270 def doc; end # The current Document object being built # - # source://nokogiri/lib/nokogiri/xml/builder.rb#270 + # source://nokogiri//lib/nokogiri/xml/builder.rb#270 def doc=(_arg0); end - # source://nokogiri/lib/nokogiri/xml/builder.rb#394 + # source://nokogiri//lib/nokogiri/xml/builder.rb#394 def method_missing(method, *args, &block); end # The parent of the current node being built # - # source://nokogiri/lib/nokogiri/xml/builder.rb#273 + # source://nokogiri//lib/nokogiri/xml/builder.rb#273 def parent; end # The parent of the current node being built # - # source://nokogiri/lib/nokogiri/xml/builder.rb#273 + # source://nokogiri//lib/nokogiri/xml/builder.rb#273 def parent=(_arg0); end # Create a Text Node with content of +string+ # - # source://nokogiri/lib/nokogiri/xml/builder.rb#339 + # source://nokogiri//lib/nokogiri/xml/builder.rb#339 def text(string); end # Convert this Builder object to XML # - # source://nokogiri/lib/nokogiri/xml/builder.rb#377 + # source://nokogiri//lib/nokogiri/xml/builder.rb#377 def to_xml(*args); end private # Insert +node+ as a child of the current Node # - # source://nokogiri/lib/nokogiri/xml/builder.rb#423 + # source://nokogiri//lib/nokogiri/xml/builder.rb#423 def insert(node, &block); end class << self @@ -2947,80 +3011,93 @@ class Nokogiri::XML::Builder # xml.awesome # add the "awesome" tag below "some_tag" # end # - # source://nokogiri/lib/nokogiri/xml/builder.rb#294 + # source://nokogiri//lib/nokogiri/xml/builder.rb#294 def with(root, &block); end end end -# source://nokogiri/lib/nokogiri/xml/builder.rb#267 +# source://nokogiri//lib/nokogiri/xml/builder.rb#267 Nokogiri::XML::Builder::DEFAULT_DOCUMENT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://nokogiri/lib/nokogiri/xml/builder.rb#442 +# source://nokogiri//lib/nokogiri/xml/builder.rb#442 class Nokogiri::XML::Builder::NodeBuilder # @return [NodeBuilder] a new instance of NodeBuilder # - # source://nokogiri/lib/nokogiri/xml/builder.rb#443 + # source://nokogiri//lib/nokogiri/xml/builder.rb#443 def initialize(node, doc_builder); end - # source://nokogiri/lib/nokogiri/xml/builder.rb#452 + # source://nokogiri//lib/nokogiri/xml/builder.rb#452 def [](k); end - # source://nokogiri/lib/nokogiri/xml/builder.rb#448 + # source://nokogiri//lib/nokogiri/xml/builder.rb#448 def []=(k, v); end - # source://nokogiri/lib/nokogiri/xml/builder.rb#456 + # source://nokogiri//lib/nokogiri/xml/builder.rb#456 def method_missing(method, *args, &block); end end -# source://nokogiri/lib/nokogiri/xml/cdata.rb#5 +# source://nokogiri//lib/nokogiri/xml/cdata.rb#5 class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text # Get the name of this CDATA node # - # source://nokogiri/lib/nokogiri/xml/cdata.rb#8 + # source://nokogiri//lib/nokogiri/xml/cdata.rb#8 def name; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end -# source://nokogiri/lib/nokogiri/xml/character_data.rb#5 +# source://nokogiri//lib/nokogiri/xml/character_data.rb#5 class Nokogiri::XML::CharacterData < ::Nokogiri::XML::Node include ::Nokogiri::XML::PP::CharacterData end class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end -# source://nokogiri/lib/nokogiri/xml/dtd.rb#5 +# source://nokogiri//lib/nokogiri/xml/dtd.rb#5 class Nokogiri::XML::DTD < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def attributes; end - # source://nokogiri/lib/nokogiri/xml/dtd.rb#17 + # source://nokogiri//lib/nokogiri/xml/dtd.rb#17 def each; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def elements; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_id; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/dtd.rb#27 + # source://nokogiri//lib/nokogiri/xml/dtd.rb#27 def html5_dtd?; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/dtd.rb#23 + # source://nokogiri//lib/nokogiri/xml/dtd.rb#23 def html_dtd?; end - # source://nokogiri/lib/nokogiri/xml/dtd.rb#13 + # source://nokogiri//lib/nokogiri/xml/dtd.rb#13 def keys; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def notations; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def system_id; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate(_arg0); end end @@ -3031,19 +3108,20 @@ end # Document inherits a great deal of functionality from its superclass Nokogiri::XML::Node, so # please read that class's documentation as well. # -# source://nokogiri/lib/nokogiri/xml/document.rb#14 +# source://nokogiri//lib/nokogiri/xml/document.rb#14 class Nokogiri::XML::Document < ::Nokogiri::XML::Node # @return [Document] a new instance of Document # - # source://nokogiri/lib/nokogiri/xml/document.rb#190 + # source://nokogiri//lib/nokogiri/xml/document.rb#190 def initialize(*args); end - # source://nokogiri/lib/nokogiri/xml/document.rb#437 + # source://nokogiri//lib/nokogiri/xml/document.rb#449 def <<(node_or_tags); end - # source://nokogiri/lib/nokogiri/xml/document.rb#437 + # source://nokogiri//lib/nokogiri/xml/document.rb#437 def add_child(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def canonicalize(*_arg0); end # :call-seq: @@ -3056,7 +3134,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # - +level+ (optional Integer). 0 is a shallow copy, 1 (the default) is a deep copy. # [Returns] The new Nokogiri::XML::Document # - # source://nokogiri/lib/nokogiri/xml/document.rb#223 + # source://nokogiri//lib/nokogiri/xml/document.rb#223 def clone(level = T.unsafe(nil)); end # :call-seq: @@ -3095,17 +3173,17 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # {"xmlns:foo" => "baz"} # - # source://nokogiri/lib/nokogiri/xml/document.rb#361 + # source://nokogiri//lib/nokogiri/xml/document.rb#361 def collect_namespaces; end # Create a CDATA Node containing +string+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#306 + # source://nokogiri//lib/nokogiri/xml/document.rb#306 def create_cdata(string, &block); end # Create a Comment Node containing +string+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#311 + # source://nokogiri//lib/nokogiri/xml/document.rb#311 def create_comment(string, &block); end # :call-seq: @@ -3156,14 +3234,15 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # doc.create_element("div") { |node| node["class"] = "blue" if before_noon? } # - # source://nokogiri/lib/nokogiri/xml/document.rb#276 + # source://nokogiri//lib/nokogiri/xml/document.rb#276 def create_element(name, *contents_or_attrs, &block); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_entity(*_arg0); end # Create a Text Node with +string+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#301 + # source://nokogiri//lib/nokogiri/xml/document.rb#301 def create_text_node(string, &block); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -3205,22 +3284,22 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/document.rb#501 + # source://nokogiri//lib/nokogiri/xml/document.rb#501 def deconstruct_keys(keys); end # Apply any decorators to +node+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#409 + # source://nokogiri//lib/nokogiri/xml/document.rb#409 def decorate(node); end # Get the list of decorators given +key+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#368 + # source://nokogiri//lib/nokogiri/xml/document.rb#368 def decorators(key); end # A reference to +self+ # - # source://nokogiri/lib/nokogiri/xml/document.rb#321 + # source://nokogiri//lib/nokogiri/xml/document.rb#321 def document; end # :call-seq: @@ -3233,35 +3312,38 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # - +level+ (optional Integer). 0 is a shallow copy, 1 (the default) is a deep copy. # [Returns] The new Nokogiri::XML::Document # - # source://nokogiri/lib/nokogiri/xml/document.rb#207 + # source://nokogiri//lib/nokogiri/xml/document.rb#207 def dup(level = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding=(_arg0); end # The errors found while parsing a document. # # [Returns] Array # - # source://nokogiri/lib/nokogiri/xml/document.rb#141 + # source://nokogiri//lib/nokogiri/xml/document.rb#141 def errors; end # The errors found while parsing a document. # # [Returns] Array # - # source://nokogiri/lib/nokogiri/xml/document.rb#141 + # source://nokogiri//lib/nokogiri/xml/document.rb#141 def errors=(_arg0); end # Create a Nokogiri::XML::DocumentFragment from +tags+ # Returns an empty fragment if +tags+ is nil. # - # source://nokogiri/lib/nokogiri/xml/document.rb#429 + # source://nokogiri//lib/nokogiri/xml/document.rb#429 def fragment(tags = T.unsafe(nil)); end # The name of this document. Always returns "document" # - # source://nokogiri/lib/nokogiri/xml/document.rb#316 + # source://nokogiri//lib/nokogiri/xml/document.rb#316 def name; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3310,7 +3392,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # source://nokogiri/lib/nokogiri/xml/document.rb#188 + # source://nokogiri//lib/nokogiri/xml/document.rb#188 def namespace_inheritance; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3359,16 +3441,21 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # source://nokogiri/lib/nokogiri/xml/document.rb#188 + # source://nokogiri//lib/nokogiri/xml/document.rb#188 def namespace_inheritance=(_arg0); end # Get the hash of namespaces on the root Nokogiri::XML::Node # - # source://nokogiri/lib/nokogiri/xml/document.rb#422 + # source://nokogiri//lib/nokogiri/xml/document.rb#422 def namespaces; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def remove_namespaces!; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def root; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def root=(_arg0); end # Explore a document with shortcut methods. See Nokogiri::Slop for details. @@ -3386,20 +3473,22 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # irb> doc.slop! # ... which does absolutely nothing. # - # source://nokogiri/lib/nokogiri/xml/document.rb#398 + # source://nokogiri//lib/nokogiri/xml/document.rb#398 def slop!; end - # source://nokogiri/lib/nokogiri/xml/node.rb#1364 + # source://nokogiri//lib/nokogiri/xml/document.rb#419 def to_xml(*args, &block); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def url; end # Validate this Document against its DTD. Returns a list of errors on # the document or +nil+ when there is no DTD. # - # source://nokogiri/lib/nokogiri/xml/document.rb#376 + # source://nokogiri//lib/nokogiri/xml/document.rb#376 def validate; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def version; end # :call-seq: @@ -3409,19 +3498,21 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # See XPathVisitor for more information. # - # source://nokogiri/lib/nokogiri/xml/document.rb#457 + # source://nokogiri//lib/nokogiri/xml/document.rb#457 def xpath_doctype; end protected + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_copy_with_args(_arg0, _arg1); end private - # source://nokogiri/lib/nokogiri/xml/document.rb#509 + # source://nokogiri//lib/nokogiri/xml/document.rb#509 def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end # call-seq: @@ -3454,47 +3545,50 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri/lib/nokogiri/xml/document.rb#56 + # source://nokogiri//lib/nokogiri/xml/document.rb#56 def parse(string_or_io, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), options_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), options: T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_io(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(_arg0, _arg1, _arg2, _arg3); end private # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/document.rb#96 + # source://nokogiri//lib/nokogiri/xml/document.rb#96 def empty_doc?(string_or_io); end end end -# source://nokogiri/lib/nokogiri/xml/document.rb#507 +# source://nokogiri//lib/nokogiri/xml/document.rb#507 Nokogiri::XML::Document::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/xml/document.rb#19 +# source://nokogiri//lib/nokogiri/xml/document.rb#19 Nokogiri::XML::Document::NCNAME_CHAR = T.let(T.unsafe(nil), String) -# source://nokogiri/lib/nokogiri/xml/document.rb#20 +# source://nokogiri//lib/nokogiri/xml/document.rb#20 Nokogiri::XML::Document::NCNAME_RE = T.let(T.unsafe(nil), Regexp) # See http://www.w3.org/TR/REC-xml-names/#ns-decl for more details. Note that we're not # attempting to handle unicode characters partly because libxml2 doesn't handle unicode # characters in NCNAMEs. # -# source://nokogiri/lib/nokogiri/xml/document.rb#18 +# source://nokogiri//lib/nokogiri/xml/document.rb#18 Nokogiri::XML::Document::NCNAME_START_CHAR = T.let(T.unsafe(nil), String) -# source://nokogiri/lib/nokogiri/xml/document.rb#23 +# source://nokogiri//lib/nokogiri/xml/document.rb#23 Nokogiri::XML::Document::OBJECT_CLONE_METHOD = T.let(T.unsafe(nil), UnboundMethod) -# source://nokogiri/lib/nokogiri/xml/document.rb#22 +# source://nokogiri//lib/nokogiri/xml/document.rb#22 Nokogiri::XML::Document::OBJECT_DUP_METHOD = T.let(T.unsafe(nil), UnboundMethod) # DocumentFragment represents a fragment of an \XML document. It provides the same functionality # exposed by XML::Node and can be used to contain one or more \XML subtrees. # -# source://nokogiri/lib/nokogiri/xml/document_fragment.rb#8 +# source://nokogiri//lib/nokogiri/xml/document_fragment.rb#8 class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # :call-seq: # new(document, input=nil) { |options| ... } → DocumentFragment @@ -3535,7 +3629,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # @return [DocumentFragment] a new instance of DocumentFragment # @yield [options] # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#85 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#85 def initialize(document, tags = T.unsafe(nil), context_ = T.unsafe(nil), options_ = T.unsafe(nil), context: T.unsafe(nil), options: T.unsafe(nil)); end # call-seq: css *rules, [namespace-bindings, custom-pseudo-class] @@ -3545,7 +3639,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # For more information see Nokogiri::XML::Searchable#css # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#173 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#173 def css(*args); end # :call-seq: deconstruct() → Array @@ -3589,33 +3683,33 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#261 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#261 def deconstruct; end - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#113 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#113 def dup; end # A list of Nokogiri::XML::SyntaxError found when parsing a document # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#207 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#207 def errors; end - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#211 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#211 def errors=(things); end - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#215 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#215 def fragment(data); end # return the name for DocumentFragment # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#125 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#125 def name; end # The options used to parse the document fragment. Returns the value of any options that were # passed into the constructor as a parameter or set in a config block, else the default # options for the specific subclass. # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#12 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#12 def parse_options; end # call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class] @@ -3624,52 +3718,53 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # For more information see Nokogiri::XML::Searchable#search # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#192 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#192 def search(*rules); end # Convert this DocumentFragment to a string # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#131 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#204 def serialize; end # Convert this DocumentFragment to html # See Nokogiri::XML::NodeSet#to_html # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#138 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#138 def to_html(*args); end # Convert this DocumentFragment to a string # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#131 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#131 def to_s; end # Convert this DocumentFragment to xhtml # See Nokogiri::XML::NodeSet#to_xhtml # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#150 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#150 def to_xhtml(*args); end # Convert this DocumentFragment to xml # See Nokogiri::XML::NodeSet#to_xml # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#162 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#162 def to_xml(*args); end private # fix for issue 770 # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#268 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#268 def namespace_declarations(ctx); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_new(_arg0); end # Wrapper method to separate the concerns of: # - the native object allocator's parameter (it only requires `document`) # - the initializer's parameters # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#42 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#42 def new(document, *_arg1, **_arg2, &_arg3); end # :call-seq: @@ -3693,7 +3788,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # [Returns] Nokogiri::XML::DocumentFragment # - # source://nokogiri/lib/nokogiri/xml/document_fragment.rb#35 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#35 def parse(tags, options_ = T.unsafe(nil), options: T.unsafe(nil), &block); end end end @@ -3711,89 +3806,113 @@ class Nokogiri::XML::Element < ::Nokogiri::XML::Node; end # ElementContent represents the binary tree inside the tag shown above that lists the # possible content for the div1 tag. # -# source://nokogiri/lib/nokogiri/xml/element_content.rb#16 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#16 class Nokogiri::XML::ElementContent include ::Nokogiri::XML::PP::Node # Get the children of this ElementContent node # - # source://nokogiri/lib/nokogiri/xml/element_content.rb#35 + # source://nokogiri//lib/nokogiri/xml/element_content.rb#35 def children; end # Returns the value of attribute document. # - # source://nokogiri/lib/nokogiri/xml/element_content.rb#31 + # source://nokogiri//lib/nokogiri/xml/element_content.rb#31 def document; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def occur; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def type; end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def c1; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def c2; end - # source://nokogiri/lib/nokogiri/xml/element_content.rb#41 + # source://nokogiri//lib/nokogiri/xml/element_content.rb#41 def inspect_attributes; end end -# source://nokogiri/lib/nokogiri/xml/element_content.rb#21 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#21 Nokogiri::XML::ElementContent::ELEMENT = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_content.rb#28 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#28 Nokogiri::XML::ElementContent::MULT = T.let(T.unsafe(nil), Integer) # Possible content occurrences # -# source://nokogiri/lib/nokogiri/xml/element_content.rb#26 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#26 Nokogiri::XML::ElementContent::ONCE = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_content.rb#27 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#27 Nokogiri::XML::ElementContent::OPT = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_content.rb#23 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#23 Nokogiri::XML::ElementContent::OR = T.let(T.unsafe(nil), Integer) # Possible definitions of type # -# source://nokogiri/lib/nokogiri/xml/element_content.rb#20 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#20 Nokogiri::XML::ElementContent::PCDATA = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_content.rb#29 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#29 Nokogiri::XML::ElementContent::PLUS = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_content.rb#22 +# source://nokogiri//lib/nokogiri/xml/element_content.rb#22 Nokogiri::XML::ElementContent::SEQ = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/element_decl.rb#5 +# source://nokogiri//lib/nokogiri/xml/element_decl.rb#5 class Nokogiri::XML::ElementDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def element_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end private - # source://nokogiri/lib/nokogiri/xml/element_decl.rb#12 + # source://nokogiri//lib/nokogiri/xml/element_decl.rb#12 def inspect_attributes; end end -# source://nokogiri/lib/nokogiri/xml/entity_decl.rb#5 +# source://nokogiri//lib/nokogiri/xml/entity_decl.rb#5 class Nokogiri::XML::EntityDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def entity_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_id; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def original_content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def system_id; end private - # source://nokogiri/lib/nokogiri/xml/entity_decl.rb#18 + # source://nokogiri//lib/nokogiri/xml/entity_decl.rb#18 def inspect_attributes; end class << self - # source://nokogiri/lib/nokogiri/xml/entity_decl.rb#12 + # source://nokogiri//lib/nokogiri/xml/entity_decl.rb#12 def new(name, doc, *args); end end end @@ -3805,20 +3924,21 @@ Nokogiri::XML::EntityDecl::INTERNAL_GENERAL = T.let(T.unsafe(nil), Integer) Nokogiri::XML::EntityDecl::INTERNAL_PARAMETER = T.let(T.unsafe(nil), Integer) Nokogiri::XML::EntityDecl::INTERNAL_PREDEFINED = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/entity_reference.rb#5 +# source://nokogiri//lib/nokogiri/xml/entity_reference.rb#5 class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node - # source://nokogiri/lib/nokogiri/xml/entity_reference.rb#6 + # source://nokogiri//lib/nokogiri/xml/entity_reference.rb#6 def children; end - # source://nokogiri/lib/nokogiri/xml/entity_reference.rb#15 + # source://nokogiri//lib/nokogiri/xml/entity_reference.rb#15 def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end -# source://nokogiri/lib/nokogiri/xml/namespace.rb#6 +# source://nokogiri//lib/nokogiri/xml/namespace.rb#6 class Nokogiri::XML::Namespace include ::Nokogiri::XML::PP::Node @@ -3857,20 +3977,23 @@ class Nokogiri::XML::Namespace # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/namespace.rb#46 + # source://nokogiri//lib/nokogiri/xml/namespace.rb#46 def deconstruct_keys(keys); end # Returns the value of attribute document. # - # source://nokogiri/lib/nokogiri/xml/namespace.rb#8 + # source://nokogiri//lib/nokogiri/xml/namespace.rb#8 def document; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def href; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end private - # source://nokogiri/lib/nokogiri/xml/namespace.rb#52 + # source://nokogiri//lib/nokogiri/xml/namespace.rb#52 def inspect_attributes; end end @@ -3922,7 +4045,7 @@ end # # See the method group entitled Node@Searching+via+XPath+or+CSS+Queries for the full set of methods. # -# source://nokogiri/lib/nokogiri/xml/node.rb#56 +# source://nokogiri//lib/nokogiri/xml/node.rb#56 class Nokogiri::XML::Node include ::Nokogiri::HTML5::Node include ::Nokogiri::XML::PP::Node @@ -3952,7 +4075,7 @@ class Nokogiri::XML::Node # # @return [Node] a new instance of Node # - # source://nokogiri/lib/nokogiri/xml/node.rb#126 + # source://nokogiri//lib/nokogiri/xml/node.rb#126 def initialize(name, document); end # Add +node_or_tags+ as a child of this Node. @@ -3964,18 +4087,18 @@ class Nokogiri::XML::Node # # Also see related method +add_child+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#292 + # source://nokogiri//lib/nokogiri/xml/node.rb#292 def <<(node_or_tags); end # Compare two Node objects with respect to their Document. Nodes from # different documents cannot be compared. # - # source://nokogiri/lib/nokogiri/xml/node.rb#1340 + # source://nokogiri//lib/nokogiri/xml/node.rb#1340 def <=>(other); end # Test to see if this Node is equal to +other+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1330 + # source://nokogiri//lib/nokogiri/xml/node.rb#1330 def ==(other); end # :call-seq: [](name) → (String, nil) @@ -4008,7 +4131,7 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # source://nokogiri/lib/nokogiri/xml/node.rb#587 + # source://nokogiri//lib/nokogiri/xml/node.rb#587 def [](name); end # :call-seq: []=(name, value) → value @@ -4045,12 +4168,12 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # source://nokogiri/lib/nokogiri/xml/node.rb#625 + # source://nokogiri//lib/nokogiri/xml/node.rb#625 def []=(name, value); end # Accept a visitor. This method calls "visit" on +visitor+ with self. # - # source://nokogiri/lib/nokogiri/xml/node.rb#1324 + # source://nokogiri//lib/nokogiri/xml/node.rb#1324 def accept(visitor); end # Add +node_or_tags+ as a child of this Node. @@ -4063,7 +4186,7 @@ class Nokogiri::XML::Node # # Also see related method +<<+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#184 + # source://nokogiri//lib/nokogiri/xml/node.rb#184 def add_child(node_or_tags); end # :call-seq: add_class(names) → self @@ -4107,10 +4230,13 @@ class Nokogiri::XML::Node # node # =>
# node.add_class(["section", "header"]) # =>
# - # source://nokogiri/lib/nokogiri/xml/node.rb#790 + # source://nokogiri//lib/nokogiri/xml/node.rb#790 def add_class(names); end + # source://nokogiri//lib/nokogiri/xml/node.rb#544 def add_namespace(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_namespace_definition(_arg0, _arg1); end # Insert +node_or_tags+ after this Node (as a sibling). @@ -4125,7 +4251,7 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/xml/node.rb#324 + # source://nokogiri//lib/nokogiri/xml/node.rb#324 def add_next_sibling(node_or_tags); end # Insert +node_or_tags+ before this Node (as a sibling). @@ -4140,7 +4266,7 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/xml/node.rb#307 + # source://nokogiri//lib/nokogiri/xml/node.rb#307 def add_previous_sibling(node_or_tags); end # Insert +node_or_tags+ after this node (as a sibling). @@ -4152,13 +4278,13 @@ class Nokogiri::XML::Node # # Also see related method +add_next_sibling+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#354 + # source://nokogiri//lib/nokogiri/xml/node.rb#354 def after(node_or_tags); end # Get a list of ancestor Node for this Node. If +selector+ is given, # the ancestors must match +selector+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1293 + # source://nokogiri//lib/nokogiri/xml/node.rb#1293 def ancestors(selector = T.unsafe(nil)); end # :call-seq: append_class(names) → self @@ -4200,7 +4326,7 @@ class Nokogiri::XML::Node # node.append_class(["section", "header"]) # =>
# node.append_class(["section", "header"]) # =>
# - # source://nokogiri/lib/nokogiri/xml/node.rb#834 + # source://nokogiri//lib/nokogiri/xml/node.rb#834 def append_class(names); end # :call-seq: [](name) → (String, nil) @@ -4233,11 +4359,16 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # source://nokogiri/lib/nokogiri/xml/node.rb#587 + # source://nokogiri//lib/nokogiri/xml/node.rb#1082 def attr(name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_nodes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_with_ns(_arg0, _arg1); end # :call-seq: attributes() → Hash @@ -4294,7 +4425,7 @@ class Nokogiri::XML::Node # # value = "tall" # # })} # - # source://nokogiri/lib/nokogiri/xml/node.rb#684 + # source://nokogiri//lib/nokogiri/xml/node.rb#684 def attributes; end # Insert +node_or_tags+ before this node (as a sibling). @@ -4306,22 +4437,26 @@ class Nokogiri::XML::Node # # Also see related method +add_previous_sibling+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#340 + # source://nokogiri//lib/nokogiri/xml/node.rb#340 def before(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def blank?; end - # source://nokogiri/lib/nokogiri/xml/node.rb#1492 + # source://nokogiri//lib/nokogiri/xml/node.rb#1492 def canonicalize(mode = T.unsafe(nil), inclusive_namespaces = T.unsafe(nil), with_comments = T.unsafe(nil)); end # Returns true if this is a CDATA # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1214 + # source://nokogiri//lib/nokogiri/xml/node.rb#1214 def cdata?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def child; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def children; end # Set the content for this Node +node_or_tags+ @@ -4331,7 +4466,7 @@ class Nokogiri::XML::Node # # Also see related method +inner_html=+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#385 + # source://nokogiri//lib/nokogiri/xml/node.rb#385 def children=(node_or_tags); end # :call-seq: classes() → Array @@ -4353,7 +4488,7 @@ class Nokogiri::XML::Node # node # =>
# node.classes # => ["section", "title", "header"] # - # source://nokogiri/lib/nokogiri/xml/node.rb#744 + # source://nokogiri//lib/nokogiri/xml/node.rb#744 def classes; end # :call-seq: @@ -4369,16 +4504,17 @@ class Nokogiri::XML::Node # The new node's parent Document. Defaults to the the Document of the current node. # [Returns] The new Nokogiri::XML::Node # - # source://nokogiri/lib/nokogiri/xml/node.rb#162 + # source://nokogiri//lib/nokogiri/xml/node.rb#162 def clone(level = T.unsafe(nil), new_parent_doc = T.unsafe(nil)); end # Returns true if this is a Comment # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1209 + # source://nokogiri//lib/nokogiri/xml/node.rb#1209 def comment?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end # call-seq: @@ -4423,17 +4559,21 @@ class Nokogiri::XML::Node # # See also: #native_content= # - # source://nokogiri/lib/nokogiri/xml/node.rb#487 + # source://nokogiri//lib/nokogiri/xml/node.rb#487 def content=(string); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_external_subset(_arg0, _arg1, _arg2); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_internal_subset(_arg0, _arg1, _arg2); end # Get the path to this node as a CSS expression # - # source://nokogiri/lib/nokogiri/xml/node.rb#1284 + # source://nokogiri//lib/nokogiri/xml/node.rb#1284 def css_path; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def data_ptr?; end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -4485,12 +4625,12 @@ class Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/node.rb#1553 + # source://nokogiri//lib/nokogiri/xml/node.rb#1553 def deconstruct_keys(keys); end # Decorate this node with the decorators set up in this node's Document # - # source://nokogiri/lib/nokogiri/xml/node.rb#168 + # source://nokogiri//lib/nokogiri/xml/node.rb#168 def decorate!; end # Adds a default namespace supplied as a string +url+ href, to self. @@ -4499,18 +4639,18 @@ class Nokogiri::XML::Node # now show up in #attributes, but when this node is serialized to XML an # "xmlns" attribute will appear. See also #namespace and #namespace= # - # source://nokogiri/lib/nokogiri/xml/node.rb#503 + # source://nokogiri//lib/nokogiri/xml/node.rb#503 def default_namespace=(url); end # Remove the attribute named +name+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#718 + # source://nokogiri//lib/nokogiri/xml/node.rb#1080 def delete(name); end # Fetch the Nokogiri::HTML4::ElementDescription for this node. Returns # nil on XML documents and on unknown tags. # - # source://nokogiri/lib/nokogiri/xml/node.rb#1251 + # source://nokogiri//lib/nokogiri/xml/node.rb#1251 def description; end # Do xinclude substitution on the subtree below node. If given a block, a @@ -4519,16 +4659,17 @@ class Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri/lib/nokogiri/xml/node.rb#530 + # source://nokogiri//lib/nokogiri/xml/node.rb#530 def do_xinclude(options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def document; end # Returns true if this is a Document # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1229 + # source://nokogiri//lib/nokogiri/xml/node.rb#1229 def document?; end # :call-seq: @@ -4544,45 +4685,54 @@ class Nokogiri::XML::Node # The new node's parent Document. Defaults to the the Document of the current node. # [Returns] The new Nokogiri::XML::Node # - # source://nokogiri/lib/nokogiri/xml/node.rb#144 + # source://nokogiri//lib/nokogiri/xml/node.rb#144 def dup(level = T.unsafe(nil), new_parent_doc = T.unsafe(nil)); end # Iterate over each attribute name and value pair for this Node. # - # source://nokogiri/lib/nokogiri/xml/node.rb#710 + # source://nokogiri//lib/nokogiri/xml/node.rb#710 def each; end # Returns true if this is an Element node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1265 + # source://nokogiri//lib/nokogiri/xml/node.rb#1269 def elem?; end # Returns true if this is an Element node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1265 + # source://nokogiri//lib/nokogiri/xml/node.rb#1265 def element?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def element_children; end + + # source://nokogiri//lib/nokogiri/xml/node.rb#553 def elements; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encode_special_chars(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_subset; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def first_element_child; end # Create a DocumentFragment containing +tags+ that is relative to _this_ # context node. # - # source://nokogiri/lib/nokogiri/html5/node.rb#70 + # source://nokogiri//lib/nokogiri/xml/node.rb#1097 def fragment(tags); end # Returns true if this is a DocumentFragment # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1244 + # source://nokogiri//lib/nokogiri/xml/node.rb#1244 def fragment?; end # :call-seq: [](name) → (String, nil) @@ -4615,21 +4765,22 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # source://nokogiri/lib/nokogiri/xml/node.rb#587 + # source://nokogiri//lib/nokogiri/xml/node.rb#1081 def get_attribute(name); end + # source://nokogiri//lib/nokogiri/xml/node.rb#1084 def has_attribute?(_arg0); end # Returns true if this is an HTML4::Document or HTML5::Document node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1224 + # source://nokogiri//lib/nokogiri/xml/node.rb#1224 def html?; end # Get the inner_html for this node's Node#children # - # source://nokogiri/lib/nokogiri/html5/node.rb#31 + # source://nokogiri//lib/nokogiri/xml/node.rb#1279 def inner_html(options = T.unsafe(nil)); end # Set the content for this Node to +node_or_tags+. @@ -4647,18 +4798,23 @@ class Nokogiri::XML::Node # # Also see related method +children=+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#374 + # source://nokogiri//lib/nokogiri/xml/node.rb#374 def inner_html=(node_or_tags); end # :section: + # + # source://nokogiri//lib/nokogiri/xml/node.rb#548 def inner_text; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def internal_subset; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def key?(_arg0); end # Get the attribute names for this Node. # - # source://nokogiri/lib/nokogiri/xml/node.rb#704 + # source://nokogiri//lib/nokogiri/xml/node.rb#704 def keys; end # :call-seq: @@ -4712,7 +4868,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri/lib/nokogiri/xml/node.rb#967 + # source://nokogiri//lib/nokogiri/xml/node.rb#967 def kwattr_add(attribute_name, keywords); end # :call-seq: @@ -4761,7 +4917,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri/lib/nokogiri/xml/node.rb#1020 + # source://nokogiri//lib/nokogiri/xml/node.rb#1020 def kwattr_append(attribute_name, keywords); end # :call-seq: @@ -4800,7 +4956,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri/lib/nokogiri/xml/node.rb#1063 + # source://nokogiri//lib/nokogiri/xml/node.rb#1063 def kwattr_remove(attribute_name, keywords); end # :call-seq: @@ -4829,24 +4985,38 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri/lib/nokogiri/xml/node.rb#913 + # source://nokogiri//lib/nokogiri/xml/node.rb#913 def kwattr_values(attribute_name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def last_element_child; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line=(_arg0); end # Returns true if this Node matches +selector+ # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1090 + # source://nokogiri//lib/nokogiri/xml/node.rb#1090 def matches?(selector); end + # source://nokogiri//lib/nokogiri/xml/node.rb#551 def name; end + + # source://nokogiri//lib/nokogiri/xml/node.rb#543 def name=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace; end # Set the default namespace on this node (as would be defined with an @@ -4855,11 +5025,16 @@ class Nokogiri::XML::Node # for this node. You probably want #default_namespace= instead, or perhaps # #add_namespace_definition with a nil prefix argument. # - # source://nokogiri/lib/nokogiri/xml/node.rb#513 + # source://nokogiri//lib/nokogiri/xml/node.rb#513 def namespace=(ns); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_definitions; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_scopes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespaced_key?(_arg0, _arg1); end # :call-seq: @@ -4898,10 +5073,13 @@ class Nokogiri::XML::Node # # "xmlns"=>"http://example.com/root", # # "xmlns:in_scope"=>"http://example.com/in_scope"} # - # source://nokogiri/lib/nokogiri/xml/node.rb#1200 + # source://nokogiri//lib/nokogiri/xml/node.rb#1200 def namespaces; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_content=(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node.rb#538 def next; end # Insert +node_or_tags+ after this Node (as a sibling). @@ -4916,19 +5094,30 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/xml/node.rb#324 + # source://nokogiri//lib/nokogiri/xml/node.rb#540 def next=(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def next_element; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def next_sibling; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_name=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parent; end # Set the parent Node for this Node # - # source://nokogiri/lib/nokogiri/xml/node.rb#493 + # source://nokogiri//lib/nokogiri/xml/node.rb#493 def parent=(parent_node); end # Parse +string_or_io+ as a document fragment within the context of @@ -4937,10 +5126,13 @@ class Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1105 + # source://nokogiri//lib/nokogiri/xml/node.rb#1105 def parse(string_or_io, options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def path; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def pointer_id; end # Add +node_or_tags+ as the first child of this Node. @@ -4953,9 +5145,10 @@ class Nokogiri::XML::Node # # Also see related method +add_child+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#204 + # source://nokogiri//lib/nokogiri/xml/node.rb#204 def prepend_child(node_or_tags); end + # source://nokogiri//lib/nokogiri/xml/node.rb#539 def previous; end # Insert +node_or_tags+ before this Node (as a sibling). @@ -4970,31 +5163,35 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/xml/node.rb#307 + # source://nokogiri//lib/nokogiri/xml/node.rb#541 def previous=(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def previous_element; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def previous_sibling; end # Returns true if this is a ProcessingInstruction node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1234 + # source://nokogiri//lib/nokogiri/xml/node.rb#1234 def processing_instruction?; end # Is this a read only node? # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1259 + # source://nokogiri//lib/nokogiri/xml/node.rb#1259 def read_only?; end + # source://nokogiri//lib/nokogiri/xml/node.rb#542 def remove; end # Remove the attribute named +name+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#718 + # source://nokogiri//lib/nokogiri/xml/node.rb#718 def remove_attribute(name); end # :call-seq: @@ -5043,7 +5240,7 @@ class Nokogiri::XML::Node # node # =>
# node.remove_class(["section", "float"]) # =>
# - # source://nokogiri/lib/nokogiri/xml/node.rb#884 + # source://nokogiri//lib/nokogiri/xml/node.rb#884 def remove_class(names = T.unsafe(nil)); end # Replace this Node with +node_or_tags+. @@ -5056,7 +5253,7 @@ class Nokogiri::XML::Node # # Also see related method +swap+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#405 + # source://nokogiri//lib/nokogiri/xml/node.rb#405 def replace(node_or_tags); end # Serialize Node using +options+. Save options can also be set using a block. @@ -5071,7 +5268,7 @@ class Nokogiri::XML::Node # config.format.as_xml # end # - # source://nokogiri/lib/nokogiri/xml/node.rb#1364 + # source://nokogiri//lib/nokogiri/xml/node.rb#1364 def serialize(*args, &block); end # :call-seq: []=(name, value) → value @@ -5108,7 +5305,7 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # source://nokogiri/lib/nokogiri/xml/node.rb#625 + # source://nokogiri//lib/nokogiri/xml/node.rb#1083 def set_attribute(name, value); end # Swap this Node for +node_or_tags+ @@ -5120,16 +5317,17 @@ class Nokogiri::XML::Node # # Also see related method +replace+. # - # source://nokogiri/lib/nokogiri/xml/node.rb#439 + # source://nokogiri//lib/nokogiri/xml/node.rb#439 def swap(node_or_tags); end + # source://nokogiri//lib/nokogiri/xml/node.rb#549 def text; end # Returns true if this is a Text node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1239 + # source://nokogiri//lib/nokogiri/xml/node.rb#1239 def text?; end # Serialize this Node to HTML @@ -5139,15 +5337,16 @@ class Nokogiri::XML::Node # See Node#write_to for a list of +options+. For formatted output, # use Node#to_xhtml instead. # - # source://nokogiri/lib/nokogiri/xml/node.rb#1391 + # source://nokogiri//lib/nokogiri/xml/node.rb#1391 def to_html(options = T.unsafe(nil)); end # Turn this node in to a string. If the document is HTML, this method # returns html. If the document is XML, this method returns XML. # - # source://nokogiri/lib/nokogiri/xml/node.rb#1274 + # source://nokogiri//lib/nokogiri/xml/node.rb#1274 def to_s; end + # source://nokogiri//lib/nokogiri/xml/node.rb#550 def to_str; end # Serialize this Node to XHTML using +options+ @@ -5155,7 +5354,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1412 + # source://nokogiri//lib/nokogiri/xml/node.rb#1412 def to_xhtml(options = T.unsafe(nil)); end # Serialize this Node to XML using +options+ @@ -5163,7 +5362,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1401 + # source://nokogiri//lib/nokogiri/xml/node.rb#1401 def to_xml(options = T.unsafe(nil)); end # Yields self and all children to +block+ recursively. @@ -5171,22 +5370,25 @@ class Nokogiri::XML::Node # @yield [_self] # @yieldparam _self [Nokogiri::XML::Node] the object that the method was called on # - # source://nokogiri/lib/nokogiri/xml/node.rb#1317 + # source://nokogiri//lib/nokogiri/xml/node.rb#1317 def traverse(&block); end + # source://nokogiri//lib/nokogiri/xml/node.rb#552 def type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def unlink; end # Does this Node's attributes include # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#698 + # source://nokogiri//lib/nokogiri/xml/node.rb#698 def value?(value); end # Get the attribute values for this Node. # - # source://nokogiri/lib/nokogiri/xml/node.rb#692 + # source://nokogiri//lib/nokogiri/xml/node.rb#692 def values; end # :call-seq: @@ -5233,14 +5435,14 @@ class Nokogiri::XML::Node # # # # # - # source://nokogiri/lib/nokogiri/xml/node.rb#259 + # source://nokogiri//lib/nokogiri/xml/node.rb#259 def wrap(node_or_tags); end # Write Node as HTML to +io+ with +options+ # # See Node#write_to for a list of +options+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1469 + # source://nokogiri//lib/nokogiri/xml/node.rb#1469 def write_html_to(io, options = T.unsafe(nil)); end # :call-seq: @@ -5267,14 +5469,14 @@ class Nokogiri::XML::Node # # @yield [config] # - # source://nokogiri/lib/nokogiri/html5/node.rb#39 + # source://nokogiri//lib/nokogiri/xml/node.rb#1440 def write_to(io, *options); end # Write Node as XHTML to +io+ with +options+ # # See Node#write_to for a list of +options+ # - # source://nokogiri/lib/nokogiri/xml/node.rb#1477 + # source://nokogiri//lib/nokogiri/xml/node.rb#1477 def write_xhtml_to(io, options = T.unsafe(nil)); end # Write Node as XML to +io+ with +options+ @@ -5283,316 +5485,342 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of options # - # source://nokogiri/lib/nokogiri/xml/node.rb#1487 + # source://nokogiri//lib/nokogiri/xml/node.rb#1487 def write_xml_to(io, options = T.unsafe(nil)); end # Returns true if this is an XML::Document node # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1219 + # source://nokogiri//lib/nokogiri/xml/node.rb#1219 def xml?; end protected # @raise [ArgumentError] # - # source://nokogiri/lib/nokogiri/xml/node.rb#1567 + # source://nokogiri//lib/nokogiri/xml/node.rb#1567 def coerce(data); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_copy_with_args(_arg0, _arg1, _arg2); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_child_node(_arg0); end - # source://nokogiri/lib/nokogiri/html5/node.rb#83 + # source://nokogiri//lib/nokogiri/xml/node.rb#1639 def add_child_node_and_reparent_attrs(node); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_next_sibling_node(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_previous_sibling_node(_arg0); end - # source://nokogiri/lib/nokogiri/xml/node.rb#1601 + # source://nokogiri//lib/nokogiri/xml/node.rb#1601 def add_sibling(next_or_previous, node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def compare(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def dump_html; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def get(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def html_standard_serialize(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def in_context(_arg0, _arg1); end - # source://nokogiri/lib/nokogiri/xml/node.rb#1633 + # source://nokogiri//lib/nokogiri/xml/node.rb#1633 def inspect_attributes; end - # source://nokogiri/lib/nokogiri/xml/node.rb#1589 + # source://nokogiri//lib/nokogiri/xml/node.rb#1589 def keywordify(keywords); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write_to(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prepend_newline?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def process_xincludes(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_node(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def set(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def set_namespace(_arg0); end - # source://nokogiri/lib/nokogiri/xml/node.rb#1623 + # source://nokogiri//lib/nokogiri/xml/node.rb#1623 def to_format(save_option, options); end - # source://nokogiri/lib/nokogiri/xml/node.rb#1628 + # source://nokogiri//lib/nokogiri/xml/node.rb#1628 def write_format_to(save_option, io, options); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end # Attribute declaration type # -# source://nokogiri/lib/nokogiri/xml/node.rb#93 +# source://nokogiri//lib/nokogiri/xml/node.rb#93 Nokogiri::XML::Node::ATTRIBUTE_DECL = T.let(T.unsafe(nil), Integer) # Attribute node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#65 +# source://nokogiri//lib/nokogiri/xml/node.rb#65 Nokogiri::XML::Node::ATTRIBUTE_NODE = T.let(T.unsafe(nil), Integer) # CDATA node type, see Nokogiri::XML::Node#cdata? # -# source://nokogiri/lib/nokogiri/xml/node.rb#69 +# source://nokogiri//lib/nokogiri/xml/node.rb#69 Nokogiri::XML::Node::CDATA_SECTION_NODE = T.let(T.unsafe(nil), Integer) # Comment node type, see Nokogiri::XML::Node#comment? # -# source://nokogiri/lib/nokogiri/xml/node.rb#77 +# source://nokogiri//lib/nokogiri/xml/node.rb#77 Nokogiri::XML::Node::COMMENT_NODE = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/node.rb#1500 +# source://nokogiri//lib/nokogiri/xml/node.rb#1500 Nokogiri::XML::Node::DECONSTRUCT_KEYS = T.let(T.unsafe(nil), Array) -# source://nokogiri/lib/nokogiri/xml/node.rb#1501 +# source://nokogiri//lib/nokogiri/xml/node.rb#1501 Nokogiri::XML::Node::DECONSTRUCT_METHODS = T.let(T.unsafe(nil), Hash) # DOCB document node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#103 +# source://nokogiri//lib/nokogiri/xml/node.rb#103 Nokogiri::XML::Node::DOCB_DOCUMENT_NODE = T.let(T.unsafe(nil), Integer) # Document fragment node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#83 +# source://nokogiri//lib/nokogiri/xml/node.rb#83 Nokogiri::XML::Node::DOCUMENT_FRAG_NODE = T.let(T.unsafe(nil), Integer) # Document node type, see Nokogiri::XML::Node#xml? # -# source://nokogiri/lib/nokogiri/xml/node.rb#79 +# source://nokogiri//lib/nokogiri/xml/node.rb#79 Nokogiri::XML::Node::DOCUMENT_NODE = T.let(T.unsafe(nil), Integer) # Document type node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#81 +# source://nokogiri//lib/nokogiri/xml/node.rb#81 Nokogiri::XML::Node::DOCUMENT_TYPE_NODE = T.let(T.unsafe(nil), Integer) # DTD node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#89 +# source://nokogiri//lib/nokogiri/xml/node.rb#89 Nokogiri::XML::Node::DTD_NODE = T.let(T.unsafe(nil), Integer) # Element declaration type # -# source://nokogiri/lib/nokogiri/xml/node.rb#91 +# source://nokogiri//lib/nokogiri/xml/node.rb#91 Nokogiri::XML::Node::ELEMENT_DECL = T.let(T.unsafe(nil), Integer) # Element node type, see Nokogiri::XML::Node#element? # -# source://nokogiri/lib/nokogiri/xml/node.rb#63 +# source://nokogiri//lib/nokogiri/xml/node.rb#63 Nokogiri::XML::Node::ELEMENT_NODE = T.let(T.unsafe(nil), Integer) # Entity declaration type # -# source://nokogiri/lib/nokogiri/xml/node.rb#95 +# source://nokogiri//lib/nokogiri/xml/node.rb#95 Nokogiri::XML::Node::ENTITY_DECL = T.let(T.unsafe(nil), Integer) # Entity node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#73 +# source://nokogiri//lib/nokogiri/xml/node.rb#73 Nokogiri::XML::Node::ENTITY_NODE = T.let(T.unsafe(nil), Integer) # Entity reference node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#71 +# source://nokogiri//lib/nokogiri/xml/node.rb#71 Nokogiri::XML::Node::ENTITY_REF_NODE = T.let(T.unsafe(nil), Integer) # HTML document node type, see Nokogiri::XML::Node#html? # -# source://nokogiri/lib/nokogiri/xml/node.rb#87 +# source://nokogiri//lib/nokogiri/xml/node.rb#87 Nokogiri::XML::Node::HTML_DOCUMENT_NODE = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/node.rb#1637 +# source://nokogiri//lib/nokogiri/xml/node.rb#1637 Nokogiri::XML::Node::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) # Namespace declaration type # -# source://nokogiri/lib/nokogiri/xml/node.rb#97 +# source://nokogiri//lib/nokogiri/xml/node.rb#97 Nokogiri::XML::Node::NAMESPACE_DECL = T.let(T.unsafe(nil), Integer) # Notation node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#85 +# source://nokogiri//lib/nokogiri/xml/node.rb#85 Nokogiri::XML::Node::NOTATION_NODE = T.let(T.unsafe(nil), Integer) # PI node type # -# source://nokogiri/lib/nokogiri/xml/node.rb#75 +# source://nokogiri//lib/nokogiri/xml/node.rb#75 Nokogiri::XML::Node::PI_NODE = T.let(T.unsafe(nil), Integer) # Save options for serializing nodes. # See the method group entitled Node@Serialization+and+Generating+Output for usage. # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#9 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#9 class Nokogiri::XML::Node::SaveOptions # Create a new SaveOptions object with +options+ # # @return [SaveOptions] a new instance of SaveOptions # - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#47 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#47 def initialize(options = T.unsafe(nil)); end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_html; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_html?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xhtml; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xhtml?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xml; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xml?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_html; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_html?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xhtml; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xhtml?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xml; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xml?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def format; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def format?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#66 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#66 def inspect; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_declaration; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_declaration?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_empty_tags; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_empty_tags?; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_xhtml; end - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_xhtml?; end # Integer representation of the SaveOptions # - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#44 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#44 def options; end # Integer representation of the SaveOptions # - # source://nokogiri/lib/nokogiri/xml/node/save_options.rb#44 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#64 def to_i; end end # Save as HTML # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#23 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#23 Nokogiri::XML::Node::SaveOptions::AS_HTML = T.let(T.unsafe(nil), Integer) # Save as XHTML # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#19 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#19 Nokogiri::XML::Node::SaveOptions::AS_XHTML = T.let(T.unsafe(nil), Integer) # Save as XML # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#21 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#21 Nokogiri::XML::Node::SaveOptions::AS_XML = T.let(T.unsafe(nil), Integer) # the default for HTML document # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#38 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#38 Nokogiri::XML::Node::SaveOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer) # the default for XHTML document # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#40 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#40 Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML = T.let(T.unsafe(nil), Integer) # the default for XML documents # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#36 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#36 Nokogiri::XML::Node::SaveOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer) # Format serialized xml # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#11 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#11 Nokogiri::XML::Node::SaveOptions::FORMAT = T.let(T.unsafe(nil), Integer) # Do not include declarations # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#13 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#13 Nokogiri::XML::Node::SaveOptions::NO_DECLARATION = T.let(T.unsafe(nil), Integer) # Do not include empty tags # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#15 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#15 Nokogiri::XML::Node::SaveOptions::NO_EMPTY_TAGS = T.let(T.unsafe(nil), Integer) # Do not save XHTML # -# source://nokogiri/lib/nokogiri/xml/node/save_options.rb#17 +# source://nokogiri//lib/nokogiri/xml/node/save_options.rb#17 Nokogiri::XML::Node::SaveOptions::NO_XHTML = T.let(T.unsafe(nil), Integer) # Text node type, see Nokogiri::XML::Node#text? # -# source://nokogiri/lib/nokogiri/xml/node.rb#67 +# source://nokogiri//lib/nokogiri/xml/node.rb#67 Nokogiri::XML::Node::TEXT_NODE = T.let(T.unsafe(nil), Integer) # XInclude end type # -# source://nokogiri/lib/nokogiri/xml/node.rb#101 +# source://nokogiri//lib/nokogiri/xml/node.rb#101 Nokogiri::XML::Node::XINCLUDE_END = T.let(T.unsafe(nil), Integer) # XInclude start type # -# source://nokogiri/lib/nokogiri/xml/node.rb#99 +# source://nokogiri//lib/nokogiri/xml/node.rb#99 Nokogiri::XML::Node::XINCLUDE_START = T.let(T.unsafe(nil), Integer) # A NodeSet is an Enumerable that contains a list of Nokogiri::XML::Node objects. @@ -5603,7 +5831,7 @@ Nokogiri::XML::Node::XINCLUDE_START = T.let(T.unsafe(nil), Integer) # Note that the `#dup` and `#clone` methods perform shallow copies; these methods do not copy # the Nodes contained in the NodeSet (similar to how Array and other Enumerable classes work). # -# source://nokogiri/lib/nokogiri/xml/node_set.rb#14 +# source://nokogiri//lib/nokogiri/xml/node_set.rb#14 class Nokogiri::XML::NodeSet include ::Nokogiri::XML::Searchable include ::Enumerable @@ -5614,7 +5842,7 @@ class Nokogiri::XML::NodeSet # @yield [_self] # @yieldparam _self [Nokogiri::XML::NodeSet] the object that the method was called on # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#22 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#22 def initialize(document, list = T.unsafe(nil)); end # call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class] @@ -5628,21 +5856,29 @@ class Nokogiri::XML::NodeSet # # node_set.at(3) # same as node_set[3] # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#121 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#128 def %(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def &(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#433 def +(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def -(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#75 def <<(_arg0); end # Equality -- Two NodeSets are equal if the contain the same number # of elements and if each element is equal to the corresponding # element in the other NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#395 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#395 def ==(other); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](*_arg0); end # Add the class attribute +name+ to all Node objects in the @@ -5650,12 +5886,12 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#add_class for more information. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#141 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#141 def add_class(name); end # Insert +datum+ after the last Node in this NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#71 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#71 def after(datum); end # Append the class attribute +name+ to all Node objects in the @@ -5663,7 +5899,7 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#append_class for more information. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#153 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#153 def append_class(name); end # call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class] @@ -5677,7 +5913,7 @@ class Nokogiri::XML::NodeSet # # node_set.at(3) # same as node_set[3] # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#121 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#121 def at(*args); end # Set attributes on each Node in the NodeSet, or get an @@ -5712,7 +5948,7 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#205 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#205 def attr(key, value = T.unsafe(nil), &block); end # Set attributes on each Node in the NodeSet, or get an @@ -5747,18 +5983,18 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#205 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#221 def attribute(key, value = T.unsafe(nil), &block); end # Insert +datum+ before the first Node in this NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#65 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#65 def before(datum); end # Returns a new NodeSet containing all the children of all the nodes in # the NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#408 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#408 def children; end # call-seq: css *rules, [namespace-bindings, custom-pseudo-class] @@ -5768,7 +6004,7 @@ class Nokogiri::XML::NodeSet # # For more information see Nokogiri::XML::Searchable#css # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#85 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#85 def css(*args); end # :call-seq: deconstruct() → Array @@ -5777,53 +6013,55 @@ class Nokogiri::XML::NodeSet # # Since v1.14.0 # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#442 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#442 def deconstruct; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def delete(_arg0); end # The Document this NodeSet is associated with # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#19 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#19 def document; end # The Document this NodeSet is associated with # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#19 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#19 def document=(_arg0); end # Iterate over each node, yielding to +block+ # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#233 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#233 def each; end # Is this NodeSet empty? # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#47 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#47 def empty?; end # Filter this list for nodes that match +expr+ # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#132 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#132 def filter(expr); end # Get the first element of the NodeSet. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#31 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#31 def first(n = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def include?(_arg0); end # Returns the index of the first node in self that is == to +node+ or meets the given block. Returns nil if no match is found. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#53 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#53 def index(node = T.unsafe(nil)); end # Get the inner html of all contained Node objects # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#262 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#262 def inner_html(*args); end # Get the inner text of all contained Node objects @@ -5839,38 +6077,42 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#content for more information. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#255 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#255 def inner_text; end # Return a nicely formatted string representation # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#429 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#429 def inspect; end # Get the last element of the NodeSet. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#41 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#41 def last; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def length; end # Removes the last element from set and returns it, or +nil+ if # the set is empty # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#376 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#376 def pop; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def push(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#76 def remove; end # Remove the attributed named +name+ from all Node objects in the NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#225 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#225 def remove_attr(name); end # Remove the attributed named +name+ from all Node objects in the NodeSet # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#225 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#229 def remove_attribute(name); end # Remove the class attribute +name+ from all Node objects in the @@ -5878,13 +6120,13 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#remove_class for more information. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#165 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#165 def remove_class(name = T.unsafe(nil)); end # Returns a new NodeSet containing all the nodes in the NodeSet # in reverse order # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#419 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#419 def reverse; end # Set attributes on each Node in the NodeSet, or get an @@ -5919,16 +6161,19 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#205 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#220 def set(key, value = T.unsafe(nil), &block); end # Returns the first element of the NodeSet and removes it. Returns # +nil+ if the set is empty. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#385 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#385 def shift; end + # source://nokogiri//lib/nokogiri/xml/node_set.rb#370 def size; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def slice(*_arg0); end # Get the inner text of all contained Node objects @@ -5944,32 +6189,36 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#content for more information. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#255 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#258 def text; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def to_a; end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#371 def to_ary; end # Convert this NodeSet to HTML # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#343 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#343 def to_html(*args); end # Convert this NodeSet to a string. # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#337 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#337 def to_s; end # Convert this NodeSet to XHTML # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#360 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#360 def to_xhtml(*args); end # Convert this NodeSet to XML # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#366 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#366 def to_xml(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def unlink; end # :call-seq: @@ -6036,7 +6285,7 @@ class Nokogiri::XML::NodeSet # # # # # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#330 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#330 def wrap(node_or_tags); end # call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class] @@ -6046,46 +6295,48 @@ class Nokogiri::XML::NodeSet # # For more information see Nokogiri::XML::Searchable#xpath # - # source://nokogiri/lib/nokogiri/xml/node_set.rb#101 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#101 def xpath(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def |(_arg0); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_copy(_arg0); end end -# source://nokogiri/lib/nokogiri/xml/node_set.rb#446 +# source://nokogiri//lib/nokogiri/xml/node_set.rb#446 Nokogiri::XML::NodeSet::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) # Struct representing an {XML Schema Notation}[https://www.w3.org/TR/xml/#Notations] # -# source://nokogiri/lib/nokogiri/xml/notation.rb#6 +# source://nokogiri//lib/nokogiri/xml/notation.rb#6 class Nokogiri::XML::Notation < ::Struct; end -# source://nokogiri/lib/nokogiri/xml/pp/node.rb#6 +# source://nokogiri//lib/nokogiri/xml/pp/node.rb#6 module Nokogiri::XML::PP; end -# source://nokogiri/lib/nokogiri/xml/pp/character_data.rb#7 +# source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#7 module Nokogiri::XML::PP::CharacterData - # source://nokogiri/lib/nokogiri/xml/pp/character_data.rb#15 + # source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#15 def inspect; end - # source://nokogiri/lib/nokogiri/xml/pp/character_data.rb#8 + # source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#8 def pretty_print(pp); end end -# source://nokogiri/lib/nokogiri/xml/pp/node.rb#7 +# source://nokogiri//lib/nokogiri/xml/pp/node.rb#7 module Nokogiri::XML::PP::Node - # source://nokogiri/lib/nokogiri/xml/pp/node.rb#10 + # source://nokogiri//lib/nokogiri/xml/pp/node.rb#10 def inspect; end - # source://nokogiri/lib/nokogiri/xml/pp/node.rb#32 + # source://nokogiri//lib/nokogiri/xml/pp/node.rb#32 def pretty_print(pp); end end -# source://nokogiri/lib/nokogiri/xml/pp/node.rb#8 +# source://nokogiri//lib/nokogiri/xml/pp/node.rb#8 Nokogiri::XML::PP::Node::COLLECTIONS = T.let(T.unsafe(nil), Array) # Options that control the parsing behavior for XML::Document, XML::DocumentFragment, @@ -6149,267 +6400,267 @@ Nokogiri::XML::PP::Node::COLLECTIONS = T.let(T.unsafe(nil), Array) # po = Nokogiri::XML::ParseOptions.new(Nokogiri::XML::ParseOptions::HUGE | Nokogiri::XML::ParseOptions::PEDANTIC) # doc = Nokogiri::XML::Document.parse(xml, nil, nil, po) # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#67 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#67 class Nokogiri::XML::ParseOptions # @return [ParseOptions] a new instance of ParseOptions # - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#165 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#165 def initialize(options = T.unsafe(nil)); end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#198 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#198 def ==(other); end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def big_lines; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def big_lines?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def compact; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def compact?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_html; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_html?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_schema; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_schema?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xml; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xml?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xslt; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xslt?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdattr; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdattr?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdload; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdload?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdvalid; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdvalid?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def huge; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def huge?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#204 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#204 def inspect; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobasefix; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobasefix?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobig_lines; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noblanks; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noblanks?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocdata; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocdata?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocompact; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_html; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_schema; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_xml; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_xslt; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodict; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodict?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdattr; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdload; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdvalid; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noent; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noent?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noerror; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noerror?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nohuge; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonet; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonet?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonobasefix; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoblanks; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonocdata; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonodict; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoent; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoerror; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nononet; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonowarning; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoxincnode; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonsclean; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noold10; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nopedantic; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def norecover; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nosax1; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nowarning; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nowarning?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxinclude; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxincnode; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxincnode?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nsclean; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nsclean?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def old10; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def old10?; end # Returns the value of attribute options. # - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#163 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#163 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#163 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#163 def options=(_arg0); end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def pedantic; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def pedantic?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def recover; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def recover?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def sax1; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def sax1?; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#189 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#189 def strict; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#194 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#194 def strict?; end # Returns the value of attribute options. # - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#163 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#202 def to_i; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def xinclude; end - # source://nokogiri/lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def xinclude?; end end @@ -6417,7 +6668,7 @@ end # by default for for XML::Document, XML::DocumentFragment, HTML4::Document, # HTML4::DocumentFragment, XSLT::Stylesheet, and XML::Schema. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#149 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#149 Nokogiri::XML::ParseOptions::BIG_LINES = T.let(T.unsafe(nil), Integer) # Compact small text nodes. Off by default. @@ -6425,71 +6676,71 @@ Nokogiri::XML::ParseOptions::BIG_LINES = T.let(T.unsafe(nil), Integer) # ⚠ No modification of the DOM tree is allowed after parsing. libxml2 may crash if you try to # modify the tree. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#133 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#133 Nokogiri::XML::ParseOptions::COMPACT = T.let(T.unsafe(nil), Integer) # The options mask used by default used for parsing HTML4::Document and HTML4::DocumentFragment # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#158 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#158 Nokogiri::XML::ParseOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer) # The options mask used by default used for parsing XML::Schema # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#161 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#161 Nokogiri::XML::ParseOptions::DEFAULT_SCHEMA = T.let(T.unsafe(nil), Integer) # The options mask used by default for parsing XML::Document and XML::DocumentFragment # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#152 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#152 Nokogiri::XML::ParseOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer) # The options mask used by default used for parsing XSLT::Stylesheet # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#155 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#155 Nokogiri::XML::ParseOptions::DEFAULT_XSLT = T.let(T.unsafe(nil), Integer) # Default DTD attributes. On by default for XSLT::Stylesheet. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#88 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#88 Nokogiri::XML::ParseOptions::DTDATTR = T.let(T.unsafe(nil), Integer) # Load external subsets. On by default for XSLT::Stylesheet. # # ⚠ It is UNSAFE to set this option when parsing untrusted documents. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#85 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#85 Nokogiri::XML::ParseOptions::DTDLOAD = T.let(T.unsafe(nil), Integer) # Validate with the DTD. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#91 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#91 Nokogiri::XML::ParseOptions::DTDVALID = T.let(T.unsafe(nil), Integer) # Relax any hardcoded limit from the parser. Off by default. # # ⚠ It is UNSAFE to set this option when parsing untrusted documents. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#144 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#144 Nokogiri::XML::ParseOptions::HUGE = T.let(T.unsafe(nil), Integer) # Do not fixup XInclude xml:base uris. Off by default # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#139 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#139 Nokogiri::XML::ParseOptions::NOBASEFIX = T.let(T.unsafe(nil), Integer) # Remove blank nodes. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#103 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#103 Nokogiri::XML::ParseOptions::NOBLANKS = T.let(T.unsafe(nil), Integer) # Merge CDATA as text nodes. On by default for XSLT::Stylesheet. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#124 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#124 Nokogiri::XML::ParseOptions::NOCDATA = T.let(T.unsafe(nil), Integer) # Do not reuse the context dictionary. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#118 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#118 Nokogiri::XML::ParseOptions::NODICT = T.let(T.unsafe(nil), Integer) # Substitute entities. Off by default. @@ -6498,12 +6749,12 @@ Nokogiri::XML::ParseOptions::NODICT = T.let(T.unsafe(nil), Integer) # # ⚠ It is UNSAFE to set this option when parsing untrusted documents. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#80 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#80 Nokogiri::XML::ParseOptions::NOENT = T.let(T.unsafe(nil), Integer) # Suppress error reports. On by default for HTML4::Document and HTML4::DocumentFragment # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#94 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#94 Nokogiri::XML::ParseOptions::NOERROR = T.let(T.unsafe(nil), Integer) # Forbid network access. On by default for XML::Document, XML::DocumentFragment, @@ -6511,63 +6762,64 @@ Nokogiri::XML::ParseOptions::NOERROR = T.let(T.unsafe(nil), Integer) # # ⚠ It is UNSAFE to unset this option when parsing untrusted documents. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#115 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#115 Nokogiri::XML::ParseOptions::NONET = T.let(T.unsafe(nil), Integer) # Suppress warning reports. On by default for HTML4::Document and HTML4::DocumentFragment # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#97 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#97 Nokogiri::XML::ParseOptions::NOWARNING = T.let(T.unsafe(nil), Integer) # Do not generate XInclude START/END nodes. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#127 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#127 Nokogiri::XML::ParseOptions::NOXINCNODE = T.let(T.unsafe(nil), Integer) # Remove redundant namespaces declarations. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#121 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#121 Nokogiri::XML::ParseOptions::NSCLEAN = T.let(T.unsafe(nil), Integer) # Parse using XML-1.0 before update 5. Off by default # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#136 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#136 Nokogiri::XML::ParseOptions::OLD10 = T.let(T.unsafe(nil), Integer) # Enable pedantic error reporting. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#100 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#100 Nokogiri::XML::ParseOptions::PEDANTIC = T.let(T.unsafe(nil), Integer) # Recover from errors. On by default for XML::Document, XML::DocumentFragment, # HTML4::Document, HTML4::DocumentFragment, XSLT::Stylesheet, and XML::Schema. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#73 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#73 Nokogiri::XML::ParseOptions::RECOVER = T.let(T.unsafe(nil), Integer) # Use the SAX1 interface internally. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#106 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#106 Nokogiri::XML::ParseOptions::SAX1 = T.let(T.unsafe(nil), Integer) # Strict parsing # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#69 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#69 Nokogiri::XML::ParseOptions::STRICT = T.let(T.unsafe(nil), Integer) # Implement XInclude substitution. Off by default. # -# source://nokogiri/lib/nokogiri/xml/parse_options.rb#109 +# source://nokogiri//lib/nokogiri/xml/parse_options.rb#109 Nokogiri::XML::ParseOptions::XINCLUDE = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/processing_instruction.rb#5 +# source://nokogiri//lib/nokogiri/xml/processing_instruction.rb#5 class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node # @return [ProcessingInstruction] a new instance of ProcessingInstruction # - # source://nokogiri/lib/nokogiri/xml/processing_instruction.rb#6 + # source://nokogiri//lib/nokogiri/xml/processing_instruction.rb#6 def initialize(document, name, content); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -6601,18 +6853,25 @@ end # ⚠ libxml2 does not support error recovery in the Reader parser. The +RECOVER+ ParseOption is # ignored. If a syntax error is encountered during parsing, an exception will be raised. # -# source://nokogiri/lib/nokogiri/xml/reader.rb#34 +# source://nokogiri//lib/nokogiri/xml/reader.rb#34 class Nokogiri::XML::Reader include ::Enumerable # @return [Reader] a new instance of Reader # - # source://nokogiri/lib/nokogiri/xml/reader.rb#114 + # source://nokogiri//lib/nokogiri/xml/reader.rb#114 def initialize(source, url = T.unsafe(nil), encoding = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_at(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_count; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_hash; end # Get the attributes and namespaces of the current node as a Hash. @@ -6622,56 +6881,97 @@ class Nokogiri::XML::Reader # [Returns] # (Hash) Attribute names and values, and namespace prefixes and hrefs. # - # source://nokogiri/lib/nokogiri/xml/reader.rb#126 + # source://nokogiri//lib/nokogiri/xml/reader.rb#126 def attributes; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attributes?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def base_uri; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def default?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def depth; end # Move the cursor through the document yielding the cursor to the block # - # source://nokogiri/lib/nokogiri/xml/reader.rb#132 + # source://nokogiri//lib/nokogiri/xml/reader.rb#132 def each; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def empty_element?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding; end # A list of errors encountered while parsing # - # source://nokogiri/lib/nokogiri/xml/reader.rb#74 + # source://nokogiri//lib/nokogiri/xml/reader.rb#74 def errors; end # A list of errors encountered while parsing # - # source://nokogiri/lib/nokogiri/xml/reader.rb#74 + # source://nokogiri//lib/nokogiri/xml/reader.rb#74 def errors=(_arg0); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def inner_xml; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def local_name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_uri; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespaces; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def outer_xml; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read; end + + # source://nokogiri//lib/nokogiri/xml/reader.rb#79 def self_closing?; end # The \XML source # - # source://nokogiri/lib/nokogiri/xml/reader.rb#77 + # source://nokogiri//lib/nokogiri/xml/reader.rb#77 def source; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def state; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def xml_version; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_io(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_memory(*_arg0); end # :call-seq: @@ -6693,97 +6993,97 @@ class Nokogiri::XML::Reader # # @yield [options] # - # source://nokogiri/lib/nokogiri/xml/reader.rb#99 + # source://nokogiri//lib/nokogiri/xml/reader.rb#99 def new(string_or_io, url_ = T.unsafe(nil), encoding_ = T.unsafe(nil), options_ = T.unsafe(nil), url: T.unsafe(nil), encoding: T.unsafe(nil), options: T.unsafe(nil)); end end end # Attribute node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#41 +# source://nokogiri//lib/nokogiri/xml/reader.rb#41 Nokogiri::XML::Reader::TYPE_ATTRIBUTE = T.let(T.unsafe(nil), Integer) # CDATA node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#45 +# source://nokogiri//lib/nokogiri/xml/reader.rb#45 Nokogiri::XML::Reader::TYPE_CDATA = T.let(T.unsafe(nil), Integer) # Comment node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#53 +# source://nokogiri//lib/nokogiri/xml/reader.rb#53 Nokogiri::XML::Reader::TYPE_COMMENT = T.let(T.unsafe(nil), Integer) # Document node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#55 +# source://nokogiri//lib/nokogiri/xml/reader.rb#55 Nokogiri::XML::Reader::TYPE_DOCUMENT = T.let(T.unsafe(nil), Integer) # Document Fragment node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#59 +# source://nokogiri//lib/nokogiri/xml/reader.rb#59 Nokogiri::XML::Reader::TYPE_DOCUMENT_FRAGMENT = T.let(T.unsafe(nil), Integer) # Document Type node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#57 +# source://nokogiri//lib/nokogiri/xml/reader.rb#57 Nokogiri::XML::Reader::TYPE_DOCUMENT_TYPE = T.let(T.unsafe(nil), Integer) # Element node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#39 +# source://nokogiri//lib/nokogiri/xml/reader.rb#39 Nokogiri::XML::Reader::TYPE_ELEMENT = T.let(T.unsafe(nil), Integer) # Element end node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#67 +# source://nokogiri//lib/nokogiri/xml/reader.rb#67 Nokogiri::XML::Reader::TYPE_END_ELEMENT = T.let(T.unsafe(nil), Integer) # Entity end node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#69 +# source://nokogiri//lib/nokogiri/xml/reader.rb#69 Nokogiri::XML::Reader::TYPE_END_ENTITY = T.let(T.unsafe(nil), Integer) # Entity node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#49 +# source://nokogiri//lib/nokogiri/xml/reader.rb#49 Nokogiri::XML::Reader::TYPE_ENTITY = T.let(T.unsafe(nil), Integer) # Entity Reference node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#47 +# source://nokogiri//lib/nokogiri/xml/reader.rb#47 Nokogiri::XML::Reader::TYPE_ENTITY_REFERENCE = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/reader.rb#37 +# source://nokogiri//lib/nokogiri/xml/reader.rb#37 Nokogiri::XML::Reader::TYPE_NONE = T.let(T.unsafe(nil), Integer) # Notation node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#61 +# source://nokogiri//lib/nokogiri/xml/reader.rb#61 Nokogiri::XML::Reader::TYPE_NOTATION = T.let(T.unsafe(nil), Integer) # PI node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#51 +# source://nokogiri//lib/nokogiri/xml/reader.rb#51 Nokogiri::XML::Reader::TYPE_PROCESSING_INSTRUCTION = T.let(T.unsafe(nil), Integer) # Significant Whitespace node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#65 +# source://nokogiri//lib/nokogiri/xml/reader.rb#65 Nokogiri::XML::Reader::TYPE_SIGNIFICANT_WHITESPACE = T.let(T.unsafe(nil), Integer) # Text node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#43 +# source://nokogiri//lib/nokogiri/xml/reader.rb#43 Nokogiri::XML::Reader::TYPE_TEXT = T.let(T.unsafe(nil), Integer) # Whitespace node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#63 +# source://nokogiri//lib/nokogiri/xml/reader.rb#63 Nokogiri::XML::Reader::TYPE_WHITESPACE = T.let(T.unsafe(nil), Integer) # \XML Declaration node type # -# source://nokogiri/lib/nokogiri/xml/reader.rb#71 +# source://nokogiri//lib/nokogiri/xml/reader.rb#71 Nokogiri::XML::Reader::TYPE_XML_DECLARATION = T.let(T.unsafe(nil), Integer) # Nokogiri::XML::RelaxNG is used for validating \XML against a RELAX NG schema definition. @@ -6812,13 +7112,15 @@ Nokogiri::XML::Reader::TYPE_XML_DECLARATION = T.let(T.unsafe(nil), Integer) # doc = Nokogiri::XML::Document.parse(File.open(XML_FILE)) # schema.valid?(doc) # Boolean # -# source://nokogiri/lib/nokogiri/xml/relax_ng.rb#42 +# source://nokogiri//lib/nokogiri/xml/relax_ng.rb#42 class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema private + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_document(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_document(*_arg0); end # :call-seq: @@ -6839,7 +7141,7 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema # # Also see convenience method Nokogiri::XML::RelaxNG() # - # source://nokogiri/lib/nokogiri/xml/relax_ng.rb#60 + # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#60 def new(input, parse_options_ = T.unsafe(nil), options: T.unsafe(nil)); end # :call-seq: @@ -6848,7 +7150,7 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema # # Convenience method for Nokogiri::XML::RelaxNG.new. # - # source://nokogiri/lib/nokogiri/xml/relax_ng.rb#69 + # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#69 def read_memory(*_arg0, **_arg1, &_arg2); end end end @@ -6893,7 +7195,7 @@ end # Now my document handler will be called when each node starts, and when then document ends. To # see what kinds of events are available, take a look at Nokogiri::XML::SAX::Document. # -# source://nokogiri/lib/nokogiri/xml/sax.rb#46 +# source://nokogiri//lib/nokogiri/xml/sax.rb#46 module Nokogiri::XML::SAX; end # :markup: markdown @@ -6955,13 +7257,13 @@ module Nokogiri::XML::SAX; end # `false`, then the #reference callback will be invoked, but with `nil` for the `content` # argument. # -# source://nokogiri/lib/nokogiri/xml/sax/document.rb#65 +# source://nokogiri//lib/nokogiri/xml/sax/document.rb#65 class Nokogiri::XML::SAX::Document # Called when cdata blocks are found # [Parameters] # - +string+ contains the cdata content # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#245 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#245 def cdata_block(string); end # Called when character data is parsed, and for parsed entities when @@ -6974,19 +7276,19 @@ class Nokogiri::XML::SAX::Document # # ⚠ This method might be called multiple times for a contiguous string of characters. # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#201 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#201 def characters(string); end # Called when comments are encountered # [Parameters] # - +string+ contains the comment data # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#224 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#224 def comment(string); end # Called when document ends parsing. # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#83 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#83 def end_document; end # Called at the end of an element. @@ -6994,7 +7296,7 @@ class Nokogiri::XML::SAX::Document # [Parameters] # - +name+ (String) the name of the element being closed # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#122 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#122 def end_element(name); end # Called at the end of an element. @@ -7004,14 +7306,14 @@ class Nokogiri::XML::SAX::Document # - +prefix+ (String, nil) is the namespace prefix for the element # - +uri+ (String, nil) is the associated URI for the element's namespace # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#185 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#185 def end_element_namespace(name, prefix = T.unsafe(nil), uri = T.unsafe(nil)); end # Called on document errors # [Parameters] # - +string+ contains the error # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#238 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#238 def error(string); end # Called when processing instructions are found @@ -7019,7 +7321,7 @@ class Nokogiri::XML::SAX::Document # - +name+ is the target of the instruction # - +content+ is the value of the instruction # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#253 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#253 def processing_instruction(name, content); end # Called when a parsed entity is referenced and not replaced. @@ -7034,12 +7336,12 @@ class Nokogiri::XML::SAX::Document # # Since v1.17.0 # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#217 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#217 def reference(name, content); end # Called when document starts parsing. # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#78 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#78 def start_document; end # Called at the beginning of an element. @@ -7068,7 +7370,7 @@ class Nokogiri::XML::SAX::Document # ] # end # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#113 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#113 def start_element(name, attrs = T.unsafe(nil)); end # Called at the beginning of an element. @@ -7111,14 +7413,14 @@ class Nokogiri::XML::SAX::Document # end # end # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#166 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#166 def start_element_namespace(name, attrs = T.unsafe(nil), prefix = T.unsafe(nil), uri = T.unsafe(nil), ns = T.unsafe(nil)); end # Called on document warnings # [Parameters] # - +string+ contains the warning # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#231 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#231 def warning(string); end # Called when an \XML declaration is parsed. @@ -7128,7 +7430,7 @@ class Nokogiri::XML::SAX::Document # - +encoding+ (String, nil) the encoding of the document if present, else +nil+ # - +standalone+ ("yes", "no", nil) the standalone attribute if present, else +nil+ # - # source://nokogiri/lib/nokogiri/xml/sax/document.rb#73 + # source://nokogiri//lib/nokogiri/xml/sax/document.rb#73 def xmldecl(version, encoding, standalone); end end @@ -7163,7 +7465,7 @@ end # # For \HTML documents, use the subclass Nokogiri::HTML4::SAX::Parser. # -# source://nokogiri/lib/nokogiri/xml/sax/parser.rb#38 +# source://nokogiri//lib/nokogiri/xml/sax/parser.rb#38 class Nokogiri::XML::SAX::Parser include ::Nokogiri::ClassResolver @@ -7183,27 +7485,27 @@ class Nokogiri::XML::SAX::Parser # # @return [Parser] a new instance of Parser # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#95 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#95 def initialize(doc = T.unsafe(nil), encoding = T.unsafe(nil)); end # The Nokogiri::XML::SAX::Document where events will be sent. # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#75 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#75 def document; end # The Nokogiri::XML::SAX::Document where events will be sent. # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#75 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#75 def document=(_arg0); end # The encoding beings used for this document. # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#78 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#78 def encoding; end # The encoding beings used for this document. # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#78 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#78 def encoding=(_arg0); end # :call-seq: @@ -7221,7 +7523,7 @@ class Nokogiri::XML::SAX::Parser # If a block is given, the underlying ParserContext object will be yielded. This can be used # to set options on the parser context before parsing begins. # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#119 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#119 def parse(input, &block); end # :call-seq: @@ -7242,7 +7544,7 @@ class Nokogiri::XML::SAX::Parser # @raise [ArgumentError] # @yield [ctx] # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#187 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#187 def parse_file(filename, encoding = T.unsafe(nil)); end # :call-seq: @@ -7262,7 +7564,7 @@ class Nokogiri::XML::SAX::Parser # # @yield [ctx] # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#143 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#143 def parse_io(io, encoding = T.unsafe(nil)); end # :call-seq: @@ -7282,25 +7584,26 @@ class Nokogiri::XML::SAX::Parser # # @yield [ctx] # - # source://nokogiri/lib/nokogiri/xml/sax/parser.rb#165 + # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#165 def parse_memory(input, encoding = T.unsafe(nil)); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native; end end # Structure used for marshalling attributes for some callbacks in XML::SAX::Document. # -# source://nokogiri/lib/nokogiri/xml/sax/parser.rb#43 +# source://nokogiri//lib/nokogiri/xml/sax/parser.rb#43 class Nokogiri::XML::SAX::Parser::Attribute < ::Struct; end -# source://nokogiri/lib/nokogiri/xml/sax/parser.rb#46 +# source://nokogiri//lib/nokogiri/xml/sax/parser.rb#46 Nokogiri::XML::SAX::Parser::ENCODINGS = T.let(T.unsafe(nil), Hash) # pure ASCII # -# source://nokogiri/lib/nokogiri/xml/sax/parser.rb#71 +# source://nokogiri//lib/nokogiri/xml/sax/parser.rb#71 Nokogiri::XML::SAX::Parser::REVERSE_ENCODINGS = T.let(T.unsafe(nil), Hash) # Context object to invoke the XML SAX parser on the SAX::Document handler. @@ -7308,14 +7611,27 @@ Nokogiri::XML::SAX::Parser::REVERSE_ENCODINGS = T.let(T.unsafe(nil), Hash) # 💡 This class is usually not instantiated by the user. Use Nokogiri::XML::SAX::Parser # instead. # -# source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#11 +# source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#11 class Nokogiri::XML::SAX::ParserContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def column; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_with(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def recovery; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def recovery=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities=(_arg0); end class << self @@ -7335,7 +7651,7 @@ class Nokogiri::XML::SAX::ParserContext # 💡 Calling this method directly is discouraged. Use Nokogiri::XML::SAX::Parser.parse_file which # is more convenient for most use cases. # - # source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#97 + # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#97 def file(input, encoding = T.unsafe(nil)); end # :call-seq: @@ -7354,7 +7670,7 @@ class Nokogiri::XML::SAX::ParserContext # 💡 Calling this method directly is discouraged. Use Nokogiri::XML::SAX::Parser parse # methods which are more convenient for most use cases. # - # source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#56 + # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#56 def io(input, encoding = T.unsafe(nil)); end # :call-seq: @@ -7373,11 +7689,16 @@ class Nokogiri::XML::SAX::ParserContext # 💡 Calling this method directly is discouraged. Use Nokogiri::XML::SAX::Parser parse methods # which are more convenient for most use cases. # - # source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#77 + # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#77 def memory(input, encoding = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_file(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_io(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_memory(_arg0, _arg1); end # :call-seq: @@ -7397,12 +7718,12 @@ class Nokogiri::XML::SAX::ParserContext # # [Returns] Nokogiri::XML::SAX::ParserContext # - # source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#31 + # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#31 def new(input, encoding = T.unsafe(nil)); end private - # source://nokogiri/lib/nokogiri/xml/sax/parser_context.rb#101 + # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#101 def resolve_encoding(encoding); end end end @@ -7428,32 +7749,32 @@ end # parser << "/div>" # parser.finish # -# source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#27 +# source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#27 class Nokogiri::XML::SAX::PushParser # Create a new PushParser with +doc+ as the SAX Document, providing # an optional +file_name+ and +encoding+ # # @return [PushParser] a new instance of PushParser # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#35 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#35 def initialize(doc = T.unsafe(nil), file_name = T.unsafe(nil), encoding = T.unsafe(nil)); end # Write a +chunk+ of XML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#47 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#50 def <<(chunk, last_chunk = T.unsafe(nil)); end # The Nokogiri::XML::SAX::Document on which the PushParser will be # operating # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#30 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#30 def document; end # The Nokogiri::XML::SAX::Document on which the PushParser will be # operating # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#30 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#30 def document=(_arg0); end # Finish the parsing. This method is only necessary for @@ -7462,23 +7783,33 @@ class Nokogiri::XML::SAX::PushParser # ⚠ Note that empty documents are treated as an error when using the libxml2-based # implementation (CRuby), but are fine when using the Xerces-based implementation (JRuby). # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#58 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#58 def finish; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def options; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def options=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities=(_arg0); end # Write a +chunk+ of XML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri/lib/nokogiri/xml/sax/push_parser.rb#47 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#47 def write(chunk, last_chunk = T.unsafe(nil)); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write(_arg0, _arg1); end end @@ -7511,34 +7842,34 @@ end # doc = Nokogiri::XML::Document.parse(File.read(XML_FILE)) # schema.valid?(doc) # Boolean # -# source://nokogiri/lib/nokogiri/xml/schema.rb#45 +# source://nokogiri//lib/nokogiri/xml/schema.rb#45 class Nokogiri::XML::Schema # The errors found while parsing the \XSD # # [Returns] Array # - # source://nokogiri/lib/nokogiri/xml/schema.rb#49 + # source://nokogiri//lib/nokogiri/xml/schema.rb#49 def errors; end # The errors found while parsing the \XSD # # [Returns] Array # - # source://nokogiri/lib/nokogiri/xml/schema.rb#49 + # source://nokogiri//lib/nokogiri/xml/schema.rb#49 def errors=(_arg0); end # The options used to parse the schema # # [Returns] Nokogiri::XML::ParseOptions # - # source://nokogiri/lib/nokogiri/xml/schema.rb#54 + # source://nokogiri//lib/nokogiri/xml/schema.rb#54 def parse_options; end # The options used to parse the schema # # [Returns] Nokogiri::XML::ParseOptions # - # source://nokogiri/lib/nokogiri/xml/schema.rb#54 + # source://nokogiri//lib/nokogiri/xml/schema.rb#54 def parse_options=(_arg0); end # :call-seq: valid?(input) → Boolean @@ -7563,7 +7894,7 @@ class Nokogiri::XML::Schema # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/schema.rb#135 + # source://nokogiri//lib/nokogiri/xml/schema.rb#135 def valid?(input); end # :call-seq: validate(input) → Array @@ -7586,15 +7917,19 @@ class Nokogiri::XML::Schema # schema = Nokogiri::XML::Schema.new(File.read(XSD_FILE)) # errors = schema.validate("/path/to/file.xml") # - # source://nokogiri/lib/nokogiri/xml/schema.rb#104 + # source://nokogiri//lib/nokogiri/xml/schema.rb#104 def validate(input); end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_document(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_file(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_document(*_arg0); end # :call-seq: @@ -7610,7 +7945,7 @@ class Nokogiri::XML::Schema # # [Returns] Nokogiri::XML::Schema # - # source://nokogiri/lib/nokogiri/xml/schema.rb#69 + # source://nokogiri//lib/nokogiri/xml/schema.rb#69 def new(input, parse_options_ = T.unsafe(nil), parse_options: T.unsafe(nil)); end # :call-seq: @@ -7619,7 +7954,7 @@ class Nokogiri::XML::Schema # # Convenience method for Nokogiri::XML::Schema.new # - # source://nokogiri/lib/nokogiri/xml/schema.rb#78 + # source://nokogiri//lib/nokogiri/xml/schema.rb#78 def read_memory(*_arg0, **_arg1, &_arg2); end end end @@ -7630,7 +7965,7 @@ end # as well as allowing specific implementations to specialize some # of the important behaviors. # -# source://nokogiri/lib/nokogiri/xml/searchable.rb#13 +# source://nokogiri//lib/nokogiri/xml/searchable.rb#13 module Nokogiri::XML::Searchable # call-seq: # at(*paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class]) @@ -7640,7 +7975,7 @@ module Nokogiri::XML::Searchable # # See Searchable#search for more information. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#74 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#78 def %(*args); end # call-seq: @@ -7677,7 +8012,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath and Searchable#css for further usage help. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#54 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#64 def /(*args); end # :call-seq: @@ -7685,7 +8020,7 @@ module Nokogiri::XML::Searchable # # Search this node's immediate children using CSS selector +selector+ # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#201 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#201 def >(selector); end # call-seq: @@ -7696,7 +8031,7 @@ module Nokogiri::XML::Searchable # # See Searchable#search for more information. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#74 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#74 def at(*args); end # call-seq: @@ -7707,7 +8042,7 @@ module Nokogiri::XML::Searchable # # See Searchable#css for more information. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#143 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#143 def at_css(*args); end # call-seq: @@ -7718,7 +8053,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath for more information. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#193 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#193 def at_xpath(*args); end # call-seq: @@ -7770,7 +8105,7 @@ module Nokogiri::XML::Searchable # you'll never find anything. However, "H1" might be found in an XML document, where tags # names are case-sensitive (e.g., "H1" is distinct from "h1"). # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#129 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#129 def css(*args); end # call-seq: @@ -7807,7 +8142,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath and Searchable#css for further usage help. # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#54 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#54 def search(*args); end # call-seq: @@ -7841,95 +8176,95 @@ module Nokogiri::XML::Searchable # }.new # node.xpath('.//title[nokogiri:regex(., "\w+")]', handler) # - # source://nokogiri/lib/nokogiri/xml/searchable.rb#179 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#179 def xpath(*args); end private - # source://nokogiri/lib/nokogiri/xml/searchable.rb#228 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#228 def css_internal(node, rules, handler, ns); end - # source://nokogiri/lib/nokogiri/xml/searchable.rb#232 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#232 def css_rules_to_xpath(rules, ns); end - # source://nokogiri/lib/nokogiri/xml/searchable.rb#210 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#210 def extract_params(params); end - # source://nokogiri/lib/nokogiri/xml/searchable.rb#263 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#263 def xpath_impl(node, path, handler, ns, binds); end - # source://nokogiri/lib/nokogiri/xml/searchable.rb#248 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#248 def xpath_internal(node, paths, handler, ns, binds); end - # source://nokogiri/lib/nokogiri/xml/searchable.rb#236 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#236 def xpath_query_from_css_rule(rule, ns); end end # Regular expression used by Searchable#search to determine if a query # string is CSS or XPath # -# source://nokogiri/lib/nokogiri/xml/searchable.rb#16 +# source://nokogiri//lib/nokogiri/xml/searchable.rb#16 Nokogiri::XML::Searchable::LOOKS_LIKE_XPATH = T.let(T.unsafe(nil), Regexp) # This class provides information about XML SyntaxErrors. These # exceptions are typically stored on Nokogiri::XML::Document#errors. # -# source://nokogiri/lib/nokogiri/xml/syntax_error.rb#8 +# source://nokogiri//lib/nokogiri/xml/syntax_error.rb#8 class Nokogiri::XML::SyntaxError < ::Nokogiri::SyntaxError # Returns the value of attribute code. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#23 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#23 def code; end # Returns the value of attribute column. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#40 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#40 def column; end # Returns the value of attribute domain. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#22 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#22 def domain; end # return true if this is an error # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#56 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#56 def error?; end # return true if this error is fatal # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#62 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#62 def fatal?; end # Returns the value of attribute file. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#25 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#25 def file; end # Returns the value of attribute int1. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#39 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#39 def int1; end # Returns the value of attribute level. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#24 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#24 def level; end # Returns the value of attribute line. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#26 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#26 def line; end # return true if this is a non error # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#44 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#44 def none?; end # The XPath path of the node that caused the error when validating a `Nokogiri::XML::Document`. @@ -7940,124 +8275,132 @@ class Nokogiri::XML::SyntaxError < ::Nokogiri::SyntaxError # # ⚠ `#path` is not supported on JRuby, where it will always return `nil`. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#35 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#35 def path; end # Returns the value of attribute str1. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#36 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#36 def str1; end # Returns the value of attribute str2. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#37 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#37 def str2; end # Returns the value of attribute str3. # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#38 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#38 def str3; end - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#66 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#66 def to_s; end # return true if this is a warning # # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#50 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#50 def warning?; end private - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#75 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#75 def level_to_s; end - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#87 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#87 def location_to_s; end # @return [Boolean] # - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#83 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#83 def nil_or_zero?(attribute); end class << self - # source://nokogiri/lib/nokogiri/xml/syntax_error.rb#10 + # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#10 def aggregate(errors); end end end -# source://nokogiri/lib/nokogiri/xml/text.rb#5 +# source://nokogiri//lib/nokogiri/xml/text.rb#5 class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData - # source://nokogiri/lib/nokogiri/xml/text.rb#6 + # source://nokogiri//lib/nokogiri/xml/text.rb#6 def content=(string); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end # Original C14N 1.0 spec canonicalization # -# source://nokogiri/lib/nokogiri/xml.rb#13 +# source://nokogiri//lib/nokogiri/xml.rb#13 Nokogiri::XML::XML_C14N_1_0 = T.let(T.unsafe(nil), Integer) # C14N 1.1 spec canonicalization # -# source://nokogiri/lib/nokogiri/xml.rb#17 +# source://nokogiri//lib/nokogiri/xml.rb#17 Nokogiri::XML::XML_C14N_1_1 = T.let(T.unsafe(nil), Integer) # Exclusive C14N 1.0 spec canonicalization # -# source://nokogiri/lib/nokogiri/xml.rb#15 +# source://nokogiri//lib/nokogiri/xml.rb#15 Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer) -# source://nokogiri/lib/nokogiri/xml/xpath.rb#5 +# source://nokogiri//lib/nokogiri/xml/xpath.rb#5 module Nokogiri::XML::XPath; end # The XPath search prefix to search direct descendants of the current element, +./+ # -# source://nokogiri/lib/nokogiri/xml/xpath.rb#13 +# source://nokogiri//lib/nokogiri/xml/xpath.rb#13 Nokogiri::XML::XPath::CURRENT_SEARCH_PREFIX = T.let(T.unsafe(nil), String) # The XPath search prefix to search globally, +//+ # -# source://nokogiri/lib/nokogiri/xml/xpath.rb#7 +# source://nokogiri//lib/nokogiri/xml/xpath.rb#7 Nokogiri::XML::XPath::GLOBAL_SEARCH_PREFIX = T.let(T.unsafe(nil), String) # The XPath search prefix to search direct descendants of the root element, +/+ # -# source://nokogiri/lib/nokogiri/xml/xpath.rb#10 +# source://nokogiri//lib/nokogiri/xml/xpath.rb#10 Nokogiri::XML::XPath::ROOT_SEARCH_PREFIX = T.let(T.unsafe(nil), String) # The XPath search prefix to search anywhere in the current element's subtree, +.//+ # -# source://nokogiri/lib/nokogiri/xml/xpath.rb#16 +# source://nokogiri//lib/nokogiri/xml/xpath.rb#16 Nokogiri::XML::XPath::SUBTREE_SEARCH_PREFIX = T.let(T.unsafe(nil), String) -# source://nokogiri/lib/nokogiri/xml/xpath/syntax_error.rb#6 +# source://nokogiri//lib/nokogiri/xml/xpath/syntax_error.rb#6 class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError - # source://nokogiri/lib/nokogiri/xml/xpath/syntax_error.rb#7 + # source://nokogiri//lib/nokogiri/xml/xpath/syntax_error.rb#7 def to_s; end end -# source://nokogiri/lib/nokogiri/xml/xpath_context.rb#5 +# source://nokogiri//lib/nokogiri/xml/xpath_context.rb#5 class Nokogiri::XML::XPathContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def evaluate(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node=(_arg0); end # Register namespaces in +namespaces+ # - # source://nokogiri/lib/nokogiri/xml/xpath_context.rb#8 + # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#8 def register_namespaces(namespaces); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def register_ns(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def register_variable(_arg0, _arg1); end - # source://nokogiri/lib/nokogiri/xml/xpath_context.rb#16 + # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#16 def register_variables(binds); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(_arg0); end end end @@ -8065,7 +8408,7 @@ end # See Nokogiri::XSLT::Stylesheet for creating and manipulating # Stylesheet object. # -# source://nokogiri/lib/nokogiri/xslt.rb#15 +# source://nokogiri//lib/nokogiri/xslt.rb#15 module Nokogiri::XSLT class << self # :call-seq: @@ -8121,7 +8464,7 @@ module Nokogiri::XSLT # # " raB\n" + # # "\n" # - # source://nokogiri/lib/nokogiri/xslt.rb#70 + # source://nokogiri//lib/nokogiri/xslt.rb#70 def parse(string, modules = T.unsafe(nil)); end # :call-seq: @@ -8135,9 +8478,10 @@ module Nokogiri::XSLT # # [Returns] Array of string parameters, with quotes correctly escaped for use with XSLT::Stylesheet.transform # - # source://nokogiri/lib/nokogiri/xslt.rb#94 + # source://nokogiri//lib/nokogiri/xslt.rb#94 def quote_params(params); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def register(_arg0, _arg1); end end end @@ -8166,7 +8510,7 @@ end # # See Nokogiri::XSLT::Stylesheet#transform for more information and examples. # -# source://nokogiri/lib/nokogiri/xslt/stylesheet.rb#29 +# source://nokogiri//lib/nokogiri/xslt/stylesheet.rb#29 class Nokogiri::XSLT::Stylesheet # :call-seq: # apply_to(document, params = []) -> String @@ -8183,13 +8527,17 @@ class Nokogiri::XSLT::Stylesheet # # See Nokogiri::XSLT::Stylesheet#transform for more information and examples. # - # source://nokogiri/lib/nokogiri/xslt/stylesheet.rb#44 + # source://nokogiri//lib/nokogiri/xslt/stylesheet.rb#44 def apply_to(document, params = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def serialize(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def transform(*_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_stylesheet_doc(_arg0); end end end @@ -8200,6 +8548,6 @@ class Object < ::BasicObject private - # source://nokogiri/lib/nokogiri.rb#108 + # source://nokogiri//lib/nokogiri.rb#108 def Nokogiri(*args, &block); end end diff --git a/sorbet/rbi/gems/ostruct@0.6.0.rbi b/sorbet/rbi/gems/ostruct@0.6.0.rbi index 54d3431ec..5f7e00100 100644 --- a/sorbet/rbi/gems/ostruct@0.6.0.rbi +++ b/sorbet/rbi/gems/ostruct@0.6.0.rbi @@ -100,6 +100,8 @@ # ending with !. # # For all these reasons, consider not using OpenStruct at all. +# +# source://ostruct//lib/ostruct.rb#109 class OpenStruct # Creates a new OpenStruct object. By default, the resulting OpenStruct # object will have no attributes. @@ -116,7 +118,7 @@ class OpenStruct # # @return [OpenStruct] a new instance of OpenStruct # - # source://ostruct//ostruct.rb#134 + # source://ostruct//lib/ostruct.rb#134 def initialize(hash = T.unsafe(nil)); end # Compares this object and +other+ for equality. An OpenStruct is equal to @@ -131,7 +133,7 @@ class OpenStruct # first_pet == second_pet # => true # first_pet == third_pet # => false # - # source://ostruct//ostruct.rb#423 + # source://ostruct//lib/ostruct.rb#423 def ==(other); end # :call-seq: @@ -143,7 +145,7 @@ class OpenStruct # person = OpenStruct.new("name" => "John Smith", "age" => 70) # person[:age] # => 70, same as person.age # - # source://ostruct//ostruct.rb#303 + # source://ostruct//lib/ostruct.rb#303 def [](name); end # :call-seq: @@ -156,9 +158,33 @@ class OpenStruct # person[:age] = 42 # equivalent to person.age = 42 # person.age # => 42 # - # source://ostruct//ostruct.rb#318 + # source://ostruct//lib/ostruct.rb#318 def []=(name, value); end + # source://ostruct//lib/ostruct.rb#478 + def __id__!; end + + # source://ostruct//lib/ostruct.rb#478 + def __send__!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def as_json!(options = T.unsafe(nil)); end + + # source://ostruct//lib/ostruct.rb#478 + def class!; end + + # source://ostruct//lib/ostruct.rb#478 + def clone!(freeze: T.unsafe(nil)); end + + # source://ostruct//lib/ostruct.rb#478 + def debugger!(*a, up_level: T.unsafe(nil), **kw); end + + # source://ostruct//lib/ostruct.rb#478 + def deep_dup!; end + + # source://ostruct//lib/ostruct.rb#478 + def define_singleton_method!(*_arg0); end + # Removes the named field from the object and returns the value the field # contained if it was defined. You may optionally provide a block. # If the field is not defined, the result of the block is returned, @@ -180,10 +206,10 @@ class OpenStruct # # person.delete_field('number') { 8675_309 } # => 8675309 # - # source://ostruct//ostruct.rb#371 + # source://ostruct//lib/ostruct.rb#371 def delete_field(name, &block); end - # source://ostruct//ostruct.rb#371 + # source://ostruct//lib/ostruct.rb#478 def delete_field!(name, &block); end # :call-seq: @@ -201,12 +227,18 @@ class OpenStruct # person.dig(:address, "zip") # => 12345 # person.dig(:business_address, "zip") # => nil # - # source://ostruct//ostruct.rb#340 + # source://ostruct//lib/ostruct.rb#340 def dig(name, *names); end - # source://ostruct//ostruct.rb#340 + # source://ostruct//lib/ostruct.rb#478 def dig!(name, *names); end + # source://ostruct//lib/ostruct.rb#478 + def display!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def dup!; end + # :call-seq: # ostruct.each_pair {|name, value| block } -> ostruct # ostruct.each_pair -> Enumerator @@ -218,116 +250,352 @@ class OpenStruct # data = OpenStruct.new("country" => "Australia", :capital => "Canberra") # data.each_pair.to_a # => [[:country, "Australia"], [:capital, "Canberra"]] # - # source://ostruct//ostruct.rb#211 + # source://ostruct//lib/ostruct.rb#211 def each_pair; end - # source://ostruct//ostruct.rb#211 + # source://ostruct//lib/ostruct.rb#478 def each_pair!; end # Provides marshalling support for use by the YAML library. # - # source://ostruct//ostruct.rb#446 + # source://ostruct//lib/ostruct.rb#446 def encode_with(coder); end - # source://ostruct//ostruct.rb#446 + # source://ostruct//lib/ostruct.rb#478 def encode_with!(coder); end + # source://ostruct//lib/ostruct.rb#478 + def enum_for!(*_arg0); end + # Compares this object and +other+ for equality. An OpenStruct is eql? to # +other+ when +other+ is an OpenStruct and the two objects' Hash tables are # eql?. # # @return [Boolean] # - # source://ostruct//ostruct.rb#433 + # source://ostruct//lib/ostruct.rb#433 def eql?(other); end - # source://ostruct//ostruct.rb#269 + # source://ostruct//lib/ostruct.rb#478 + def extend!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#269 def freeze; end - # source://ostruct//ostruct.rb#269 + # source://ostruct//lib/ostruct.rb#478 def freeze!; end + # source://ostruct//lib/ostruct.rb#478 + def gem!(dep, *reqs); end + # Computes a hash code for this OpenStruct. # - # source://ostruct//ostruct.rb#439 + # source://ostruct//lib/ostruct.rb#439 def hash; end - # source://ostruct//ostruct.rb#439 + # source://ostruct//lib/ostruct.rb#478 def hash!; end # Provides marshalling support for use by the YAML library. # - # source://ostruct//ostruct.rb#459 + # source://ostruct//lib/ostruct.rb#459 def init_with(coder); end - # source://ostruct//ostruct.rb#459 + # source://ostruct//lib/ostruct.rb#478 def init_with!(coder); end # Returns a string containing a detailed summary of the keys and values. # - # source://ostruct//ostruct.rb#388 + # source://ostruct//lib/ostruct.rb#388 def inspect; end - # source://ostruct//ostruct.rb#388 + # source://ostruct//lib/ostruct.rb#478 def inspect!; end + # source://ostruct//lib/ostruct.rb#478 + def instance_eval!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def instance_exec!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def instance_values!; end + + # source://ostruct//lib/ostruct.rb#478 + def instance_variable_get!(_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def instance_variable_names!; end + + # source://ostruct//lib/ostruct.rb#478 + def instance_variable_set!(_arg0, _arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def instance_variables!; end + + # source://ostruct//lib/ostruct.rb#478 + def itself!; end + # Provides marshalling support for use by the Marshal library. # - # source://ostruct//ostruct.rb#220 + # source://ostruct//lib/ostruct.rb#220 def marshal_dump; end - # source://ostruct//ostruct.rb#220 + # source://ostruct//lib/ostruct.rb#478 def marshal_dump!; end - # source://ostruct//ostruct.rb#406 + # source://ostruct//lib/ostruct.rb#478 + def method!(_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def methods!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_close_to!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_empty!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_instance_of!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_kind_of!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_nil!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_same_as!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_silent!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_within_delta!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_be_within_epsilon!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_equal!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_include!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_match!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_output!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_pattern_match!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_raise!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_respond_to!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def must_throw!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def object_id!; end + + # source://ostruct//lib/ostruct.rb#478 + def path_must_exist!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def path_wont_exist!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def presence!; end + + # source://ostruct//lib/ostruct.rb#478 + def presence_in!(another_object); end + + # source://ostruct//lib/ostruct.rb#478 + def pretty_inspect!; end + + # source://ostruct//lib/ostruct.rb#478 + def pretty_print!(q); end + + # source://ostruct//lib/ostruct.rb#478 + def pretty_print_cycle!(q); end + + # source://ostruct//lib/ostruct.rb#478 + def pretty_print_inspect!; end + + # source://ostruct//lib/ostruct.rb#478 + def pretty_print_instance_variables!; end + + # source://ostruct//lib/ostruct.rb#478 + def private_methods!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def protected_methods!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def public_method!(_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def public_methods!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def public_send!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def remove_instance_variable!(_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def send!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def singleton_class!; end + + # source://ostruct//lib/ostruct.rb#478 + def singleton_method!(_arg0); end + + # source://ostruct//lib/ostruct.rb#478 + def singleton_methods!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#406 def table; end - # source://ostruct//ostruct.rb#182 + # source://ostruct//lib/ostruct.rb#478 + def tap!; end + + # source://ostruct//lib/ostruct.rb#478 + def then!; end + + # source://ostruct//lib/ostruct.rb#478 + def to_enum!(*_arg0); end + + # source://ostruct//lib/ostruct.rb#182 def to_h(&block); end - # source://ostruct//ostruct.rb#182 + # source://ostruct//lib/ostruct.rb#478 def to_h!(&block); end + # source://ostruct//lib/ostruct.rb#478 + def to_json!(options = T.unsafe(nil)); end + + # source://ostruct//lib/ostruct.rb#478 + def to_param!; end + + # source://ostruct//lib/ostruct.rb#478 + def to_query!(key); end + # Returns a string containing a detailed summary of the keys and values. # - # source://ostruct//ostruct.rb#388 + # source://ostruct//lib/ostruct.rb#404 def to_s; end - # source://ostruct//ostruct.rb#388 + # source://ostruct//lib/ostruct.rb#478 def to_s!; end + # source://ostruct//lib/ostruct.rb#478 + def to_yaml!(options = T.unsafe(nil)); end + + # source://ostruct//lib/ostruct.rb#478 + def try!(*args, **_arg1, &block); end + + # source://ostruct//lib/ostruct.rb#478 + def with!(**attributes); end + + # source://ostruct//lib/ostruct.rb#478 + def with_options!(options, &block); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_close_to!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_empty!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_instance_of!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_kind_of!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_nil!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_same_as!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_within_delta!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_be_within_epsilon!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_equal!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_include!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_match!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_pattern_match!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def wont_respond_to!(*args, **_arg1); end + + # source://ostruct//lib/ostruct.rb#478 + def yield_self!; end + protected - # source://ostruct//ostruct.rb#406 + # source://ostruct//lib/ostruct.rb#407 def table!; end private - # source://ostruct//ostruct.rb#147 + # source://ostruct//lib/ostruct.rb#486 + def block_given!; end + + # source://ostruct//lib/ostruct.rb#147 def initialize_clone(orig); end - # source://ostruct//ostruct.rb#152 + # source://ostruct//lib/ostruct.rb#152 def initialize_dup(orig); end - # source://ostruct//ostruct.rb#251 + # source://ostruct//lib/ostruct.rb#251 def is_method_protected!(name); end # # Provides marshalling support for use by the Marshal library. # - # source://ostruct//ostruct.rb#157 + # source://ostruct//lib/ostruct.rb#227 def marshal_load(hash); end - # source://ostruct//ostruct.rb#274 + # source://ostruct//lib/ostruct.rb#274 def method_missing(mid, *args); end # Used internally to defined properties on the # OpenStruct. It does this by using the metaprogramming function # define_singleton_method for both the getter method and the setter method. # - # source://ostruct//ostruct.rb#234 + # source://ostruct//lib/ostruct.rb#234 def new_ostruct_member!(name); end + # Other builtin private methods we use: + # + # source://ostruct//lib/ostruct.rb#481 + def raise!(*_arg0); end + # :call-seq: # ostruct[name] = obj -> obj # @@ -338,15 +606,15 @@ class OpenStruct # person[:age] = 42 # equivalent to person.age = 42 # person.age # => 42 # - # source://ostruct//ostruct.rb#318 + # source://ostruct//lib/ostruct.rb#323 def set_ostruct_member_value!(name, value); end - # source://ostruct//ostruct.rb#157 + # source://ostruct//lib/ostruct.rb#157 def update_to_values!(hash); end end -# source://ostruct//ostruct.rb#112 +# source://ostruct//lib/ostruct.rb#112 OpenStruct::HAS_PERFORMANCE_WARNINGS = T.let(T.unsafe(nil), TrueClass) -# source://ostruct//ostruct.rb#110 +# source://ostruct//lib/ostruct.rb#110 OpenStruct::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/parser@3.3.7.0.rbi b/sorbet/rbi/gems/parser@3.3.7.0.rbi index 448811435..501639f5d 100644 --- a/sorbet/rbi/gems/parser@3.3.7.0.rbi +++ b/sorbet/rbi/gems/parser@3.3.7.0.rbi @@ -7,12 +7,12 @@ # @api public # -# source://parser/lib/parser.rb#19 +# source://parser//lib/parser.rb#19 module Parser; end # @api public # -# source://parser/lib/parser.rb#24 +# source://parser//lib/parser.rb#24 module Parser::AST; end # {Parser::AST::Node} contains information about a single AST node and its @@ -21,7 +21,7 @@ module Parser::AST; end # # @api public # -# source://parser/lib/parser/ast/node.rb#17 +# source://parser//lib/parser/ast/node.rb#17 class Parser::AST::Node < ::AST::Node # Assigns various properties to this AST node. Currently only the # location can be set. @@ -30,7 +30,7 @@ class Parser::AST::Node < ::AST::Node # @option properties # @param properties [Hash] # - # source://parser/lib/parser/ast/node.rb#30 + # source://parser//lib/parser/ast/node.rb#30 def assign_properties(properties); end # Source map for this Node. @@ -38,7 +38,7 @@ class Parser::AST::Node < ::AST::Node # @api public # @return [Parser::Source::Map] # - # source://parser/lib/parser/ast/node.rb#18 + # source://parser//lib/parser/ast/node.rb#20 def loc; end # Source map for this Node. @@ -46,612 +46,612 @@ class Parser::AST::Node < ::AST::Node # @api public # @return [Parser::Source::Map] # - # source://parser/lib/parser/ast/node.rb#18 + # source://parser//lib/parser/ast/node.rb#18 def location; end end # @api public # -# source://parser/lib/parser/ast/processor.rb#9 +# source://parser//lib/parser/ast/processor.rb#9 class Parser::AST::Processor include ::AST::Processor::Mixin # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#179 def on_alias(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#222 def on_and(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#67 def on_and_asgn(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#122 def on_arg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#148 def on_arg_expr(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#103 def on_args(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#105 + # source://parser//lib/parser/ast/processor.rb#105 def on_argument(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#22 def on_array(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#258 def on_array_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#259 def on_array_pattern_with_tail(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#42 def on_back_ref(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#240 def on_begin(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#195 def on_block(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#151 def on_block_pass(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#125 def on_blockarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#150 def on_blockarg_expr(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#213 def on_break(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#228 def on_case(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#246 def on_case_match(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#89 + # source://parser//lib/parser/ast/processor.rb#89 def on_casgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#157 def on_class(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#81 + # source://parser//lib/parser/ast/processor.rb#81 def on_const(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#261 def on_const_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#181 + # source://parser//lib/parser/ast/processor.rb#190 def on_csend(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#41 def on_cvar(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#65 def on_cvasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#160 + # source://parser//lib/parser/ast/processor.rb#160 def on_def(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#219 def on_defined?(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#169 + # source://parser//lib/parser/ast/processor.rb#169 def on_defs(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#16 def on_dstr(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#17 def on_dsym(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#231 def on_eflipflop(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#288 + # source://parser//lib/parser/ast/processor.rb#288 def on_empty_else(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#238 def on_ensure(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#27 def on_erange(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#262 def on_find_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#210 def on_for(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#130 def on_forward_arg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#154 def on_forwarded_kwrestarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#153 def on_forwarded_restarg(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#40 def on_gvar(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#64 def on_gvasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#24 def on_hash(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#260 def on_hash_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#225 def on_if(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#251 def on_if_guard(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#230 def on_iflipflop(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#247 def on_in_match(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#250 def on_in_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#192 def on_index(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#193 def on_indexasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#26 def on_irange(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#39 def on_ivar(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#63 def on_ivasgn(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#127 def on_kwarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#25 def on_kwargs(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#241 def on_kwbegin(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#128 def on_kwoptarg(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#129 def on_kwrestarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#21 def on_kwsplat(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#196 def on_lambda(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#38 def on_lvar(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#62 def on_lvasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#79 def on_masgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#256 def on_match_alt(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#257 def on_match_as(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#233 def on_match_current_line(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#248 def on_match_pattern(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#249 def on_match_pattern_p(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#254 def on_match_rest(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#253 def on_match_var(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#234 def on_match_with_lvasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#78 def on_mlhs(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#156 def on_module(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#214 def on_next(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#221 def on_not(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#43 def on_nth_ref(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#198 + # source://parser//lib/parser/ast/processor.rb#198 def on_numblock(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#70 + # source://parser//lib/parser/ast/processor.rb#70 def on_op_asgn(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#123 def on_optarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#223 def on_or(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#68 def on_or_asgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#23 def on_pair(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#255 def on_pin(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#244 def on_postexe(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#243 def on_preexe(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#132 + # source://parser//lib/parser/ast/processor.rb#132 def on_procarg0(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#215 def on_redo(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#18 def on_regexp(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#236 def on_resbody(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#237 def on_rescue(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#124 def on_restarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#149 def on_restarg_expr(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#216 def on_retry(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#212 def on_return(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#158 def on_sclass(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#181 + # source://parser//lib/parser/ast/processor.rb#181 def on_send(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#126 def on_shadowarg(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#20 def on_splat(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#217 def on_super(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#178 def on_undef(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#252 def on_unless_guard(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#208 def on_until(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#209 def on_until_post(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#29 + # source://parser//lib/parser/ast/processor.rb#29 def on_var(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#45 + # source://parser//lib/parser/ast/processor.rb#45 def on_vasgn(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#227 def on_when(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#206 def on_while(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#207 def on_while_post(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#19 def on_xstr(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#218 def on_yield(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#281 + # source://parser//lib/parser/ast/processor.rb#118 def process_argument_node(node); end # @api public # - # source://parser/lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#12 def process_regular_node(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#273 + # source://parser//lib/parser/ast/processor.rb#58 def process_var_asgn_node(node); end # @api public # @private # - # source://parser/lib/parser/ast/processor.rb#265 + # source://parser//lib/parser/ast/processor.rb#34 def process_variable_node(node); end end @@ -659,44 +659,44 @@ end # # @api public # -# source://parser/lib/parser/base.rb#16 +# source://parser//lib/parser/base.rb#16 class Parser::Base < ::Racc::Parser # @api public # @param builder [Parser::Builders::Default] The AST builder to use. # @return [Base] a new instance of Base # - # source://parser/lib/parser/base.rb#126 + # source://parser//lib/parser/base.rb#126 def initialize(builder = T.unsafe(nil)); end # @api public # - # source://parser/lib/parser/base.rb#114 + # source://parser//lib/parser/base.rb#114 def builder; end # @api public # - # source://parser/lib/parser/base.rb#117 + # source://parser//lib/parser/base.rb#117 def context; end # @api public # - # source://parser/lib/parser/base.rb#119 + # source://parser//lib/parser/base.rb#119 def current_arg_stack; end # @api public # @return [Parser::Diagnostic::Engine] # - # source://parser/lib/parser/base.rb#113 + # source://parser//lib/parser/base.rb#113 def diagnostics; end # @api public # - # source://parser/lib/parser/base.rb#112 + # source://parser//lib/parser/base.rb#112 def lexer; end # @api public # - # source://parser/lib/parser/base.rb#118 + # source://parser//lib/parser/base.rb#118 def max_numparam_stack; end # Parses a source buffer and returns the AST, or `nil` in case of a non fatal error. @@ -705,7 +705,7 @@ class Parser::Base < ::Racc::Parser # @param source_buffer [Parser::Source::Buffer] The source buffer to parse. # @return [Parser::AST::Node, nil] # - # source://parser/lib/parser/base.rb#186 + # source://parser//lib/parser/base.rb#186 def parse(source_buffer); end # Parses a source buffer and returns the AST and the source code comments. @@ -715,35 +715,35 @@ class Parser::Base < ::Racc::Parser # @see #parse # @see Parser::Source::Comment#associate # - # source://parser/lib/parser/base.rb#204 + # source://parser//lib/parser/base.rb#204 def parse_with_comments(source_buffer); end # @api public # - # source://parser/lib/parser/base.rb#121 + # source://parser//lib/parser/base.rb#121 def pattern_hash_keys; end # @api public # - # source://parser/lib/parser/base.rb#120 + # source://parser//lib/parser/base.rb#120 def pattern_variables; end # Resets the state of the parser. # # @api public # - # source://parser/lib/parser/base.rb#167 + # source://parser//lib/parser/base.rb#167 def reset; end # @api public # - # source://parser/lib/parser/base.rb#116 + # source://parser//lib/parser/base.rb#116 def source_buffer; end # @api public # @return [Parser::StaticEnvironment] # - # source://parser/lib/parser/base.rb#115 + # source://parser//lib/parser/base.rb#115 def static_env; end # Parses a source buffer and returns the AST, the source code comments, @@ -767,36 +767,36 @@ class Parser::Base < ::Racc::Parser # @param recover [Boolean] If true, recover from syntax errors. False by default. # @return [Array] # - # source://parser/lib/parser/base.rb#233 + # source://parser//lib/parser/base.rb#233 def tokenize(source_buffer, recover = T.unsafe(nil)); end private # @api public # - # source://parser/lib/parser/base.rb#257 + # source://parser//lib/parser/base.rb#257 def check_kwarg_name(name_t); end # @api public # - # source://parser/lib/parser/base.rb#266 + # source://parser//lib/parser/base.rb#266 def diagnostic(level, reason, arguments, location_t, highlights_ts = T.unsafe(nil)); end # @api public # - # source://parser/lib/parser/base.rb#251 + # source://parser//lib/parser/base.rb#251 def next_token; end # @api public # - # source://parser/lib/parser/base.rb#282 + # source://parser//lib/parser/base.rb#282 def on_error(error_token_id, error_value, value_stack); end class << self # @api public # @return [Parser::Base] parser with the default options set. # - # source://parser/lib/parser/base.rb#84 + # source://parser//lib/parser/base.rb#84 def default_parser; end # Parses a string of Ruby code and returns the AST. If the source @@ -811,7 +811,7 @@ class Parser::Base < ::Racc::Parser # @param line [Numeric] The initial line number. # @return [Parser::AST::Node] # - # source://parser/lib/parser/base.rb#30 + # source://parser//lib/parser/base.rb#30 def parse(string, file = T.unsafe(nil), line = T.unsafe(nil)); end # Parses Ruby source code by reading it from a file. If the source @@ -823,7 +823,7 @@ class Parser::Base < ::Racc::Parser # @return [Parser::AST::Node] # @see #parse # - # source://parser/lib/parser/base.rb#64 + # source://parser//lib/parser/base.rb#64 def parse_file(filename); end # Parses Ruby source code by reading it from a file and returns the AST and @@ -835,7 +835,7 @@ class Parser::Base < ::Racc::Parser # @return [Array] # @see #parse # - # source://parser/lib/parser/base.rb#77 + # source://parser//lib/parser/base.rb#77 def parse_file_with_comments(filename); end # Parses a string of Ruby code and returns the AST and comments. If the @@ -850,680 +850,680 @@ class Parser::Base < ::Racc::Parser # @param line [Numeric] The initial line number. # @return [Array] # - # source://parser/lib/parser/base.rb#49 + # source://parser//lib/parser/base.rb#49 def parse_with_comments(string, file = T.unsafe(nil), line = T.unsafe(nil)); end private # @api public # - # source://parser/lib/parser/base.rb#97 + # source://parser//lib/parser/base.rb#97 def setup_source_buffer(file, line, string, encoding); end end end # @api public # -# source://parser/lib/parser.rb#78 +# source://parser//lib/parser.rb#78 module Parser::Builders; end -# source://parser/lib/parser/builders/default.rb#8 +# source://parser//lib/parser/builders/default.rb#8 class Parser::Builders::Default - # source://parser/lib/parser/builders/default.rb#243 + # source://parser//lib/parser/builders/default.rb#243 def initialize; end - # source://parser/lib/parser/builders/default.rb#703 + # source://parser//lib/parser/builders/default.rb#703 def __ENCODING__(__ENCODING__t); end - # source://parser/lib/parser/builders/default.rb#348 + # source://parser//lib/parser/builders/default.rb#348 def __FILE__(__FILE__t); end - # source://parser/lib/parser/builders/default.rb#312 + # source://parser//lib/parser/builders/default.rb#312 def __LINE__(__LINE__t); end - # source://parser/lib/parser/builders/default.rb#622 + # source://parser//lib/parser/builders/default.rb#622 def accessible(node); end - # source://parser/lib/parser/builders/default.rb#878 + # source://parser//lib/parser/builders/default.rb#878 def alias(alias_t, to, from); end - # source://parser/lib/parser/builders/default.rb#917 + # source://parser//lib/parser/builders/default.rb#917 def arg(name_t); end - # source://parser/lib/parser/builders/default.rb#1007 + # source://parser//lib/parser/builders/default.rb#1007 def arg_expr(expr); end - # source://parser/lib/parser/builders/default.rb#887 + # source://parser//lib/parser/builders/default.rb#887 def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#440 + # source://parser//lib/parser/builders/default.rb#440 def array(begin_t, elements, end_t); end - # source://parser/lib/parser/builders/default.rb#1590 + # source://parser//lib/parser/builders/default.rb#1590 def array_pattern(lbrack_t, elements, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#767 + # source://parser//lib/parser/builders/default.rb#767 def assign(lhs, eql_t, rhs); end - # source://parser/lib/parser/builders/default.rb#712 + # source://parser//lib/parser/builders/default.rb#712 def assignable(node); end - # source://parser/lib/parser/builders/default.rb#540 + # source://parser//lib/parser/builders/default.rb#540 def associate(begin_t, pairs, end_t); end - # source://parser/lib/parser/builders/default.rb#1171 + # source://parser//lib/parser/builders/default.rb#1171 def attr_asgn(receiver, dot_t, selector_t); end - # source://parser/lib/parser/builders/default.rb#612 + # source://parser//lib/parser/builders/default.rb#612 def back_ref(token); end - # source://parser/lib/parser/builders/default.rb#1435 + # source://parser//lib/parser/builders/default.rb#1435 def begin(begin_t, body, end_t); end - # source://parser/lib/parser/builders/default.rb#1377 + # source://parser//lib/parser/builders/default.rb#1377 def begin_body(compound_stmt, rescue_bodies = T.unsafe(nil), else_t = T.unsafe(nil), else_ = T.unsafe(nil), ensure_t = T.unsafe(nil), ensure_ = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1453 + # source://parser//lib/parser/builders/default.rb#1453 def begin_keyword(begin_t, body, end_t); end - # source://parser/lib/parser/builders/default.rb#1205 + # source://parser//lib/parser/builders/default.rb#1205 def binary_op(receiver, operator_t, arg); end - # source://parser/lib/parser/builders/default.rb#1122 + # source://parser//lib/parser/builders/default.rb#1122 def block(method_call, begin_t, args, body, end_t); end - # source://parser/lib/parser/builders/default.rb#1157 + # source://parser//lib/parser/builders/default.rb#1157 def block_pass(amper_t, arg); end - # source://parser/lib/parser/builders/default.rb#982 + # source://parser//lib/parser/builders/default.rb#982 def blockarg(amper_t, name_t); end - # source://parser/lib/parser/builders/default.rb#1027 + # source://parser//lib/parser/builders/default.rb#1027 def blockarg_expr(amper_t, expr); end - # source://parser/lib/parser/builders/default.rb#1113 + # source://parser//lib/parser/builders/default.rb#1113 def call_lambda(lambda_t); end - # source://parser/lib/parser/builders/default.rb#1096 + # source://parser//lib/parser/builders/default.rb#1096 def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1068 + # source://parser//lib/parser/builders/default.rb#1068 def call_type_for_dot(dot_t); end - # source://parser/lib/parser/builders/default.rb#1310 + # source://parser//lib/parser/builders/default.rb#1310 def case(case_t, expr, when_bodies, else_t, else_body, end_t); end - # source://parser/lib/parser/builders/default.rb#1473 + # source://parser//lib/parser/builders/default.rb#1473 def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end - # source://parser/lib/parser/builders/default.rb#343 + # source://parser//lib/parser/builders/default.rb#343 def character(char_t); end - # source://parser/lib/parser/builders/default.rb#284 + # source://parser//lib/parser/builders/default.rb#284 def complex(complex_t); end - # source://parser/lib/parser/builders/default.rb#1423 + # source://parser//lib/parser/builders/default.rb#1423 def compstmt(statements); end - # source://parser/lib/parser/builders/default.rb#1286 + # source://parser//lib/parser/builders/default.rb#1286 def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end - # source://parser/lib/parser/builders/default.rb#1292 + # source://parser//lib/parser/builders/default.rb#1292 def condition_mod(if_true, if_false, cond_t, cond); end - # source://parser/lib/parser/builders/default.rb#686 + # source://parser//lib/parser/builders/default.rb#686 def const(name_t); end - # source://parser/lib/parser/builders/default.rb#698 + # source://parser//lib/parser/builders/default.rb#698 def const_fetch(scope, t_colon2, name_t); end - # source://parser/lib/parser/builders/default.rb#691 + # source://parser//lib/parser/builders/default.rb#691 def const_global(t_colon3, name_t); end - # source://parser/lib/parser/builders/default.rb#763 + # source://parser//lib/parser/builders/default.rb#763 def const_op_assignable(node); end - # source://parser/lib/parser/builders/default.rb#1620 + # source://parser//lib/parser/builders/default.rb#1620 def const_pattern(const, ldelim_t, pattern, rdelim_t); end - # source://parser/lib/parser/builders/default.rb#607 + # source://parser//lib/parser/builders/default.rb#607 def cvar(token); end - # source://parser/lib/parser/builders/default.rb#388 + # source://parser//lib/parser/builders/default.rb#388 def dedent_string(node, dedent_level); end - # source://parser/lib/parser/builders/default.rb#814 + # source://parser//lib/parser/builders/default.rb#814 def def_class(class_t, name, lt_t, superclass, body, end_t); end - # source://parser/lib/parser/builders/default.rb#845 + # source://parser//lib/parser/builders/default.rb#845 def def_endless_method(def_t, name_t, args, assignment_t, body); end - # source://parser/lib/parser/builders/default.rb#863 + # source://parser//lib/parser/builders/default.rb#863 def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end - # source://parser/lib/parser/builders/default.rb#837 + # source://parser//lib/parser/builders/default.rb#837 def def_method(def_t, name_t, args, body, end_t); end - # source://parser/lib/parser/builders/default.rb#827 + # source://parser//lib/parser/builders/default.rb#827 def def_module(module_t, name, body, end_t); end - # source://parser/lib/parser/builders/default.rb#821 + # source://parser//lib/parser/builders/default.rb#821 def def_sclass(class_t, lshft_t, expr, body, end_t); end - # source://parser/lib/parser/builders/default.rb#853 + # source://parser//lib/parser/builders/default.rb#853 def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end - # source://parser/lib/parser/builders/default.rb#237 + # source://parser//lib/parser/builders/default.rb#237 def emit_file_line_as_literals; end - # source://parser/lib/parser/builders/default.rb#237 + # source://parser//lib/parser/builders/default.rb#237 def emit_file_line_as_literals=(_arg0); end - # source://parser/lib/parser/builders/default.rb#265 + # source://parser//lib/parser/builders/default.rb#265 def false(false_t); end - # source://parser/lib/parser/builders/default.rb#1611 + # source://parser//lib/parser/builders/default.rb#1611 def find_pattern(lbrack_t, elements, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#276 + # source://parser//lib/parser/builders/default.rb#276 def float(float_t); end - # source://parser/lib/parser/builders/default.rb#1331 + # source://parser//lib/parser/builders/default.rb#1331 def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end - # source://parser/lib/parser/builders/default.rb#913 + # source://parser//lib/parser/builders/default.rb#913 def forward_arg(dots_t); end - # source://parser/lib/parser/builders/default.rb#903 + # source://parser//lib/parser/builders/default.rb#903 def forward_only_args(begin_t, dots_t, end_t); end - # source://parser/lib/parser/builders/default.rb#1084 + # source://parser//lib/parser/builders/default.rb#1084 def forwarded_args(dots_t); end - # source://parser/lib/parser/builders/default.rb#1092 + # source://parser//lib/parser/builders/default.rb#1092 def forwarded_kwrestarg(dstar_t); end - # source://parser/lib/parser/builders/default.rb#1088 + # source://parser//lib/parser/builders/default.rb#1088 def forwarded_restarg(star_t); end - # source://parser/lib/parser/builders/default.rb#596 + # source://parser//lib/parser/builders/default.rb#596 def gvar(token); end - # source://parser/lib/parser/builders/default.rb#1584 + # source://parser//lib/parser/builders/default.rb#1584 def hash_pattern(lbrace_t, kwargs, rbrace_t); end - # source://parser/lib/parser/builders/default.rb#586 + # source://parser//lib/parser/builders/default.rb#586 def ident(token); end - # source://parser/lib/parser/builders/default.rb#1500 + # source://parser//lib/parser/builders/default.rb#1500 def if_guard(if_t, if_body); end - # source://parser/lib/parser/builders/default.rb#1479 + # source://parser//lib/parser/builders/default.rb#1479 def in_match(lhs, in_t, rhs); end - # source://parser/lib/parser/builders/default.rb#1494 + # source://parser//lib/parser/builders/default.rb#1494 def in_pattern(in_t, pattern, guard, then_t, body); end - # source://parser/lib/parser/builders/default.rb#1180 + # source://parser//lib/parser/builders/default.rb#1180 def index(receiver, lbrack_t, indexes, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#1194 + # source://parser//lib/parser/builders/default.rb#1194 def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#272 + # source://parser//lib/parser/builders/default.rb#272 def integer(integer_t); end - # source://parser/lib/parser/builders/default.rb#591 + # source://parser//lib/parser/builders/default.rb#591 def ivar(token); end - # source://parser/lib/parser/builders/default.rb#1339 + # source://parser//lib/parser/builders/default.rb#1339 def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#944 + # source://parser//lib/parser/builders/default.rb#944 def kwarg(name_t); end - # source://parser/lib/parser/builders/default.rb#970 + # source://parser//lib/parser/builders/default.rb#970 def kwnilarg(dstar_t, nil_t); end - # source://parser/lib/parser/builders/default.rb#951 + # source://parser//lib/parser/builders/default.rb#951 def kwoptarg(name_t, value); end - # source://parser/lib/parser/builders/default.rb#958 + # source://parser//lib/parser/builders/default.rb#958 def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#535 + # source://parser//lib/parser/builders/default.rb#535 def kwsplat(dstar_t, arg); end - # source://parser/lib/parser/builders/default.rb#1279 + # source://parser//lib/parser/builders/default.rb#1279 def logical_op(type, lhs, op_t, rhs); end - # source://parser/lib/parser/builders/default.rb#1317 + # source://parser//lib/parser/builders/default.rb#1317 def loop(type, keyword_t, cond, do_t, body, end_t); end - # source://parser/lib/parser/builders/default.rb#1322 + # source://parser//lib/parser/builders/default.rb#1322 def loop_mod(type, body, keyword_t, cond); end - # source://parser/lib/parser/builders/default.rb#1634 + # source://parser//lib/parser/builders/default.rb#1634 def match_alt(left, pipe_t, right); end - # source://parser/lib/parser/builders/default.rb#1641 + # source://parser//lib/parser/builders/default.rb#1641 def match_as(value, assoc_t, as); end - # source://parser/lib/parser/builders/default.rb#1520 + # source://parser//lib/parser/builders/default.rb#1520 def match_hash_var(name_t); end - # source://parser/lib/parser/builders/default.rb#1534 + # source://parser//lib/parser/builders/default.rb#1534 def match_hash_var_from_str(begin_t, strings, end_t); end - # source://parser/lib/parser/builders/default.rb#1672 + # source://parser//lib/parser/builders/default.rb#1672 def match_label(label_type, label); end - # source://parser/lib/parser/builders/default.rb#1648 + # source://parser//lib/parser/builders/default.rb#1648 def match_nil_pattern(dstar_t, nil_t); end - # source://parser/lib/parser/builders/default.rb#1227 + # source://parser//lib/parser/builders/default.rb#1227 def match_op(receiver, match_t, arg); end - # source://parser/lib/parser/builders/default.rb#1653 + # source://parser//lib/parser/builders/default.rb#1653 def match_pair(label_type, label, value); end - # source://parser/lib/parser/builders/default.rb#1484 + # source://parser//lib/parser/builders/default.rb#1484 def match_pattern(lhs, match_t, rhs); end - # source://parser/lib/parser/builders/default.rb#1489 + # source://parser//lib/parser/builders/default.rb#1489 def match_pattern_p(lhs, match_t, rhs); end - # source://parser/lib/parser/builders/default.rb#1573 + # source://parser//lib/parser/builders/default.rb#1573 def match_rest(star_t, name_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1508 + # source://parser//lib/parser/builders/default.rb#1508 def match_var(name_t); end - # source://parser/lib/parser/builders/default.rb#1616 + # source://parser//lib/parser/builders/default.rb#1616 def match_with_trailing_comma(match, comma_t); end - # source://parser/lib/parser/builders/default.rb#805 + # source://parser//lib/parser/builders/default.rb#805 def multi_assign(lhs, eql_t, rhs); end - # source://parser/lib/parser/builders/default.rb#800 + # source://parser//lib/parser/builders/default.rb#800 def multi_lhs(begin_t, items, end_t); end - # source://parser/lib/parser/builders/default.rb#255 + # source://parser//lib/parser/builders/default.rb#255 def nil(nil_t); end - # source://parser/lib/parser/builders/default.rb#1255 + # source://parser//lib/parser/builders/default.rb#1255 def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#617 + # source://parser//lib/parser/builders/default.rb#617 def nth_ref(token); end - # source://parser/lib/parser/builders/default.rb#899 + # source://parser//lib/parser/builders/default.rb#899 def numargs(max_numparam); end - # source://parser/lib/parser/builders/default.rb#1038 + # source://parser//lib/parser/builders/default.rb#1038 def objc_kwarg(kwname_t, assoc_t, name_t); end - # source://parser/lib/parser/builders/default.rb#1052 + # source://parser//lib/parser/builders/default.rb#1052 def objc_restarg(star_t, name = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1162 + # source://parser//lib/parser/builders/default.rb#1162 def objc_varargs(pair, rest_of_varargs); end - # source://parser/lib/parser/builders/default.rb#774 + # source://parser//lib/parser/builders/default.rb#774 def op_assign(lhs, op_t, rhs); end - # source://parser/lib/parser/builders/default.rb#924 + # source://parser//lib/parser/builders/default.rb#924 def optarg(name_t, eql_t, value); end - # source://parser/lib/parser/builders/default.rb#488 + # source://parser//lib/parser/builders/default.rb#488 def pair(key, assoc_t, value); end - # source://parser/lib/parser/builders/default.rb#505 + # source://parser//lib/parser/builders/default.rb#505 def pair_keyword(key_t, value); end - # source://parser/lib/parser/builders/default.rb#521 + # source://parser//lib/parser/builders/default.rb#521 def pair_label(key_t); end - # source://parser/lib/parser/builders/default.rb#493 + # source://parser//lib/parser/builders/default.rb#493 def pair_list_18(list); end - # source://parser/lib/parser/builders/default.rb#513 + # source://parser//lib/parser/builders/default.rb#513 def pair_quoted(begin_t, parts, end_t, value); end - # source://parser/lib/parser/builders/default.rb#225 + # source://parser//lib/parser/builders/default.rb#225 def parser; end - # source://parser/lib/parser/builders/default.rb#225 + # source://parser//lib/parser/builders/default.rb#225 def parser=(_arg0); end - # source://parser/lib/parser/builders/default.rb#1629 + # source://parser//lib/parser/builders/default.rb#1629 def pin(pin_t, var); end - # source://parser/lib/parser/builders/default.rb#1362 + # source://parser//lib/parser/builders/default.rb#1362 def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end - # source://parser/lib/parser/builders/default.rb#1357 + # source://parser//lib/parser/builders/default.rb#1357 def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end - # source://parser/lib/parser/builders/default.rb#992 + # source://parser//lib/parser/builders/default.rb#992 def procarg0(arg); end - # source://parser/lib/parser/builders/default.rb#572 + # source://parser//lib/parser/builders/default.rb#572 def range_exclusive(lhs, dot3_t, rhs); end - # source://parser/lib/parser/builders/default.rb#567 + # source://parser//lib/parser/builders/default.rb#567 def range_inclusive(lhs, dot2_t, rhs); end - # source://parser/lib/parser/builders/default.rb#280 + # source://parser//lib/parser/builders/default.rb#280 def rational(rational_t); end - # source://parser/lib/parser/builders/default.rb#426 + # source://parser//lib/parser/builders/default.rb#426 def regexp_compose(begin_t, parts, end_t, options); end - # source://parser/lib/parser/builders/default.rb#417 + # source://parser//lib/parser/builders/default.rb#417 def regexp_options(regopt_t); end - # source://parser/lib/parser/builders/default.rb#1369 + # source://parser//lib/parser/builders/default.rb#1369 def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end - # source://parser/lib/parser/builders/default.rb#933 + # source://parser//lib/parser/builders/default.rb#933 def restarg(star_t, name_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1016 + # source://parser//lib/parser/builders/default.rb#1016 def restarg_expr(star_t, expr = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#581 + # source://parser//lib/parser/builders/default.rb#581 def self(token); end - # source://parser/lib/parser/builders/default.rb#975 + # source://parser//lib/parser/builders/default.rb#975 def shadowarg(name_t); end - # source://parser/lib/parser/builders/default.rb#445 + # source://parser//lib/parser/builders/default.rb#445 def splat(star_t, arg = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#319 + # source://parser//lib/parser/builders/default.rb#319 def string(string_t); end - # source://parser/lib/parser/builders/default.rb#329 + # source://parser//lib/parser/builders/default.rb#329 def string_compose(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#324 + # source://parser//lib/parser/builders/default.rb#324 def string_internal(string_t); end - # source://parser/lib/parser/builders/default.rb#355 + # source://parser//lib/parser/builders/default.rb#355 def symbol(symbol_t); end - # source://parser/lib/parser/builders/default.rb#365 + # source://parser//lib/parser/builders/default.rb#365 def symbol_compose(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#360 + # source://parser//lib/parser/builders/default.rb#360 def symbol_internal(symbol_t); end - # source://parser/lib/parser/builders/default.rb#469 + # source://parser//lib/parser/builders/default.rb#469 def symbols_compose(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#1297 + # source://parser//lib/parser/builders/default.rb#1297 def ternary(cond, question_t, if_true, colon_t, if_false); end - # source://parser/lib/parser/builders/default.rb#260 + # source://parser//lib/parser/builders/default.rb#260 def true(true_t); end - # source://parser/lib/parser/builders/default.rb#294 + # source://parser//lib/parser/builders/default.rb#294 def unary_num(unary_t, numeric); end - # source://parser/lib/parser/builders/default.rb#1243 + # source://parser//lib/parser/builders/default.rb#1243 def unary_op(op_t, receiver); end - # source://parser/lib/parser/builders/default.rb#873 + # source://parser//lib/parser/builders/default.rb#873 def undef_method(undef_t, names); end - # source://parser/lib/parser/builders/default.rb#1504 + # source://parser//lib/parser/builders/default.rb#1504 def unless_guard(unless_t, unless_body); end - # source://parser/lib/parser/builders/default.rb#1304 + # source://parser//lib/parser/builders/default.rb#1304 def when(when_t, patterns, then_t, body); end - # source://parser/lib/parser/builders/default.rb#455 + # source://parser//lib/parser/builders/default.rb#455 def word(parts); end - # source://parser/lib/parser/builders/default.rb#464 + # source://parser//lib/parser/builders/default.rb#464 def words_compose(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#381 + # source://parser//lib/parser/builders/default.rb#381 def xstring_compose(begin_t, parts, end_t); end private - # source://parser/lib/parser/builders/default.rb#1821 + # source://parser//lib/parser/builders/default.rb#1821 def arg_name_collides?(this_name, that_name); end - # source://parser/lib/parser/builders/default.rb#2017 + # source://parser//lib/parser/builders/default.rb#2017 def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1991 + # source://parser//lib/parser/builders/default.rb#1991 def binary_op_map(left_e, op_t, right_e); end - # source://parser/lib/parser/builders/default.rb#2119 + # source://parser//lib/parser/builders/default.rb#2119 def block_map(receiver_l, begin_t, end_t); end - # source://parser/lib/parser/builders/default.rb#1796 + # source://parser//lib/parser/builders/default.rb#1796 def check_assignment_to_numparam(name, loc); end - # source://parser/lib/parser/builders/default.rb#1688 + # source://parser//lib/parser/builders/default.rb#1688 def check_condition(cond); end - # source://parser/lib/parser/builders/default.rb#1767 + # source://parser//lib/parser/builders/default.rb#1767 def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1742 + # source://parser//lib/parser/builders/default.rb#1742 def check_duplicate_args(args, map = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1854 + # source://parser//lib/parser/builders/default.rb#1854 def check_duplicate_pattern_key(name, loc); end - # source://parser/lib/parser/builders/default.rb#1844 + # source://parser//lib/parser/builders/default.rb#1844 def check_duplicate_pattern_variable(name, loc); end - # source://parser/lib/parser/builders/default.rb#1836 + # source://parser//lib/parser/builders/default.rb#1836 def check_lvar_name(name, loc); end - # source://parser/lib/parser/builders/default.rb#1811 + # source://parser//lib/parser/builders/default.rb#1811 def check_reserved_for_numparam(name, loc); end - # source://parser/lib/parser/builders/default.rb#2280 + # source://parser//lib/parser/builders/default.rb#2280 def collapse_string_parts?(parts); end - # source://parser/lib/parser/builders/default.rb#1942 + # source://parser//lib/parser/builders/default.rb#1942 def collection_map(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#2146 + # source://parser//lib/parser/builders/default.rb#2146 def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end - # source://parser/lib/parser/builders/default.rb#1977 + # source://parser//lib/parser/builders/default.rb#1977 def constant_map(scope, colon2_t, name_t); end - # source://parser/lib/parser/builders/default.rb#2050 + # source://parser//lib/parser/builders/default.rb#2050 def definition_map(keyword_t, operator_t, name_t, end_t); end - # source://parser/lib/parser/builders/default.rb#1883 + # source://parser//lib/parser/builders/default.rb#1883 def delimited_string_map(string_t); end - # source://parser/lib/parser/builders/default.rb#2302 + # source://parser//lib/parser/builders/default.rb#2302 def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#2190 + # source://parser//lib/parser/builders/default.rb#2190 def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end - # source://parser/lib/parser/builders/default.rb#2056 + # source://parser//lib/parser/builders/default.rb#2056 def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end - # source://parser/lib/parser/builders/default.rb#1938 + # source://parser//lib/parser/builders/default.rb#1938 def expr_map(loc); end - # source://parser/lib/parser/builders/default.rb#2171 + # source://parser//lib/parser/builders/default.rb#2171 def for_map(keyword_t, in_t, begin_t, end_t); end - # source://parser/lib/parser/builders/default.rb#2218 + # source://parser//lib/parser/builders/default.rb#2218 def guard_map(keyword_t, guard_body_e); end - # source://parser/lib/parser/builders/default.rb#2108 + # source://parser//lib/parser/builders/default.rb#2108 def index_map(receiver_e, lbrack_t, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#1874 + # source://parser//lib/parser/builders/default.rb#1874 def join_exprs(left_expr, right_expr); end - # source://parser/lib/parser/builders/default.rb#2124 + # source://parser//lib/parser/builders/default.rb#2124 def keyword_map(keyword_t, begin_t, args, end_t); end - # source://parser/lib/parser/builders/default.rb#2141 + # source://parser//lib/parser/builders/default.rb#2141 def keyword_mod_map(pre_e, keyword_t, post_e); end - # source://parser/lib/parser/builders/default.rb#2027 + # source://parser//lib/parser/builders/default.rb#2027 def kwarg_map(name_t, value_e = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#2333 + # source://parser//lib/parser/builders/default.rb#2333 def kwargs?(node); end - # source://parser/lib/parser/builders/default.rb#2297 + # source://parser//lib/parser/builders/default.rb#2297 def loc(token); end - # source://parser/lib/parser/builders/default.rb#2040 + # source://parser//lib/parser/builders/default.rb#2040 def module_definition_map(keyword_t, name_e, operator_t, end_t); end - # source://parser/lib/parser/builders/default.rb#1866 + # source://parser//lib/parser/builders/default.rb#1866 def n(type, children, source_map); end - # source://parser/lib/parser/builders/default.rb#1870 + # source://parser//lib/parser/builders/default.rb#1870 def n0(type, source_map); end - # source://parser/lib/parser/builders/default.rb#288 + # source://parser//lib/parser/builders/default.rb#288 def numeric(kind, token); end - # source://parser/lib/parser/builders/default.rb#1908 + # source://parser//lib/parser/builders/default.rb#1908 def pair_keyword_map(key_t, value_e); end - # source://parser/lib/parser/builders/default.rb#1923 + # source://parser//lib/parser/builders/default.rb#1923 def pair_quoted_map(begin_t, end_t, value_e); end - # source://parser/lib/parser/builders/default.rb#1894 + # source://parser//lib/parser/builders/default.rb#1894 def prefix_string_map(symbol); end - # source://parser/lib/parser/builders/default.rb#2005 + # source://parser//lib/parser/builders/default.rb#2005 def range_map(start_e, op_t, end_e); end - # source://parser/lib/parser/builders/default.rb#1972 + # source://parser//lib/parser/builders/default.rb#1972 def regexp_map(begin_t, end_t, options_e); end - # source://parser/lib/parser/builders/default.rb#2177 + # source://parser//lib/parser/builders/default.rb#2177 def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end - # source://parser/lib/parser/builders/default.rb#2323 + # source://parser//lib/parser/builders/default.rb#2323 def rewrite_hash_args_to_kwargs(args); end - # source://parser/lib/parser/builders/default.rb#2090 + # source://parser//lib/parser/builders/default.rb#2090 def send_binary_op_map(lhs_e, selector_t, rhs_e); end - # source://parser/lib/parser/builders/default.rb#2113 + # source://parser//lib/parser/builders/default.rb#2113 def send_index_map(receiver_e, lbrack_t, rbrack_t); end - # source://parser/lib/parser/builders/default.rb#2064 + # source://parser//lib/parser/builders/default.rb#2064 def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#2096 + # source://parser//lib/parser/builders/default.rb#2096 def send_unary_op_map(selector_t, arg_e); end - # source://parser/lib/parser/builders/default.rb#2249 + # source://parser//lib/parser/builders/default.rb#2249 def static_regexp(parts, options); end - # source://parser/lib/parser/builders/default.rb#2269 + # source://parser//lib/parser/builders/default.rb#2269 def static_regexp_node(node); end - # source://parser/lib/parser/builders/default.rb#2232 + # source://parser//lib/parser/builders/default.rb#2232 def static_string(nodes); end - # source://parser/lib/parser/builders/default.rb#1958 + # source://parser//lib/parser/builders/default.rb#1958 def string_map(begin_t, parts, end_t); end - # source://parser/lib/parser/builders/default.rb#2289 + # source://parser//lib/parser/builders/default.rb#2289 def string_value(token); end - # source://parser/lib/parser/builders/default.rb#2166 + # source://parser//lib/parser/builders/default.rb#2166 def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end - # source://parser/lib/parser/builders/default.rb#1879 + # source://parser//lib/parser/builders/default.rb#1879 def token_map(token); end - # source://parser/lib/parser/builders/default.rb#1995 + # source://parser//lib/parser/builders/default.rb#1995 def unary_op_map(op_t, arg_e = T.unsafe(nil)); end - # source://parser/lib/parser/builders/default.rb#1903 + # source://parser//lib/parser/builders/default.rb#1903 def unquoted_map(token); end - # source://parser/lib/parser/builders/default.rb#2311 + # source://parser//lib/parser/builders/default.rb#2311 def validate_definee(definee); end - # source://parser/lib/parser/builders/default.rb#1781 + # source://parser//lib/parser/builders/default.rb#1781 def validate_no_forward_arg_after_restarg(args); end - # source://parser/lib/parser/builders/default.rb#2285 + # source://parser//lib/parser/builders/default.rb#2285 def value(token); end - # source://parser/lib/parser/builders/default.rb#2084 + # source://parser//lib/parser/builders/default.rb#2084 def var_send_map(variable_e); end - # source://parser/lib/parser/builders/default.rb#1987 + # source://parser//lib/parser/builders/default.rb#1987 def variable_map(name_t); end class << self - # source://parser/lib/parser/builders/default.rb#97 + # source://parser//lib/parser/builders/default.rb#97 def emit_arg_inside_procarg0; end - # source://parser/lib/parser/builders/default.rb#97 + # source://parser//lib/parser/builders/default.rb#97 def emit_arg_inside_procarg0=(_arg0); end - # source://parser/lib/parser/builders/default.rb#58 + # source://parser//lib/parser/builders/default.rb#58 def emit_encoding; end - # source://parser/lib/parser/builders/default.rb#58 + # source://parser//lib/parser/builders/default.rb#58 def emit_encoding=(_arg0); end - # source://parser/lib/parser/builders/default.rb#126 + # source://parser//lib/parser/builders/default.rb#126 def emit_forward_arg; end - # source://parser/lib/parser/builders/default.rb#126 + # source://parser//lib/parser/builders/default.rb#126 def emit_forward_arg=(_arg0); end - # source://parser/lib/parser/builders/default.rb#80 + # source://parser//lib/parser/builders/default.rb#80 def emit_index; end - # source://parser/lib/parser/builders/default.rb#80 + # source://parser//lib/parser/builders/default.rb#80 def emit_index=(_arg0); end - # source://parser/lib/parser/builders/default.rb#174 + # source://parser//lib/parser/builders/default.rb#174 def emit_kwargs; end - # source://parser/lib/parser/builders/default.rb#174 + # source://parser//lib/parser/builders/default.rb#174 def emit_kwargs=(_arg0); end - # source://parser/lib/parser/builders/default.rb#22 + # source://parser//lib/parser/builders/default.rb#22 def emit_lambda; end - # source://parser/lib/parser/builders/default.rb#22 + # source://parser//lib/parser/builders/default.rb#22 def emit_lambda=(_arg0); end - # source://parser/lib/parser/builders/default.rb#203 + # source://parser//lib/parser/builders/default.rb#203 def emit_match_pattern; end - # source://parser/lib/parser/builders/default.rb#203 + # source://parser//lib/parser/builders/default.rb#203 def emit_match_pattern=(_arg0); end - # source://parser/lib/parser/builders/default.rb#40 + # source://parser//lib/parser/builders/default.rb#40 def emit_procarg0; end - # source://parser/lib/parser/builders/default.rb#40 + # source://parser//lib/parser/builders/default.rb#40 def emit_procarg0=(_arg0); end - # source://parser/lib/parser/builders/default.rb#211 + # source://parser//lib/parser/builders/default.rb#211 def modernize; end end end @@ -1534,7 +1534,7 @@ end # # @api public # -# source://parser/lib/parser/clobbering_error.rb#11 +# source://parser//lib/parser/clobbering_error.rb#11 class Parser::ClobberingError < ::RuntimeError; end # Context of parsing that is represented by a stack of scopes. @@ -1551,71 +1551,71 @@ class Parser::ClobberingError < ::RuntimeError; end # + :block - in the block body (tap {}) # + :lambda - in the lambda body (-> {}) # -# source://parser/lib/parser/context.rb#18 +# source://parser//lib/parser/context.rb#18 class Parser::Context # @return [Context] a new instance of Context # - # source://parser/lib/parser/context.rb#30 + # source://parser//lib/parser/context.rb#30 def initialize; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def cant_return; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def cant_return=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_argdef; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_argdef=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_block; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_block=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_class; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_class=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_def; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_def=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_defined; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_defined=(_arg0); end # @return [Boolean] # - # source://parser/lib/parser/context.rb#47 + # source://parser//lib/parser/context.rb#47 def in_dynamic_block?; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_kwarg; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_kwarg=(_arg0); end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_lambda; end - # source://parser/lib/parser/context.rb#45 + # source://parser//lib/parser/context.rb#45 def in_lambda=(_arg0); end - # source://parser/lib/parser/context.rb#34 + # source://parser//lib/parser/context.rb#34 def reset; end end -# source://parser/lib/parser/context.rb#19 +# source://parser//lib/parser/context.rb#19 Parser::Context::FLAGS = T.let(T.unsafe(nil), Array) # Stack that holds names of current arguments, @@ -1628,69 +1628,69 @@ Parser::Context::FLAGS = T.let(T.unsafe(nil), Array) # # @api private # -# source://parser/lib/parser/current_arg_stack.rb#14 +# source://parser//lib/parser/current_arg_stack.rb#14 class Parser::CurrentArgStack # @api private # @return [CurrentArgStack] a new instance of CurrentArgStack # - # source://parser/lib/parser/current_arg_stack.rb#17 + # source://parser//lib/parser/current_arg_stack.rb#17 def initialize; end # @api private # @return [Boolean] # - # source://parser/lib/parser/current_arg_stack.rb#22 + # source://parser//lib/parser/current_arg_stack.rb#22 def empty?; end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#34 + # source://parser//lib/parser/current_arg_stack.rb#34 def pop; end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#26 + # source://parser//lib/parser/current_arg_stack.rb#26 def push(value); end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#38 + # source://parser//lib/parser/current_arg_stack.rb#38 def reset; end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#30 + # source://parser//lib/parser/current_arg_stack.rb#30 def set(value); end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#15 + # source://parser//lib/parser/current_arg_stack.rb#15 def stack; end # @api private # - # source://parser/lib/parser/current_arg_stack.rb#42 + # source://parser//lib/parser/current_arg_stack.rb#42 def top; end end # @api private # -# source://parser/lib/parser/deprecation.rb#7 +# source://parser//lib/parser/deprecation.rb#7 module Parser::Deprecation # @api private # - # source://parser/lib/parser/deprecation.rb#9 + # source://parser//lib/parser/deprecation.rb#9 def warn_of_deprecation; end # @api private # - # source://parser/lib/parser/deprecation.rb#8 + # source://parser//lib/parser/deprecation.rb#8 def warned_of_deprecation=(_arg0); end end # @api public # -# source://parser/lib/parser/diagnostic.rb#31 +# source://parser//lib/parser/diagnostic.rb#31 class Parser::Diagnostic # @api public # @param level [Symbol] @@ -1700,14 +1700,14 @@ class Parser::Diagnostic # @param highlights [Array] # @return [Diagnostic] a new instance of Diagnostic # - # source://parser/lib/parser/diagnostic.rb#49 + # source://parser//lib/parser/diagnostic.rb#49 def initialize(level, reason, arguments, location, highlights = T.unsafe(nil)); end # @api public # @return [Symbol] extended arguments that describe the error # @see Parser::MESSAGES # - # source://parser/lib/parser/diagnostic.rb#39 + # source://parser//lib/parser/diagnostic.rb#39 def arguments; end # Supplementary error-related source ranges. @@ -1715,14 +1715,14 @@ class Parser::Diagnostic # @api public # @return [Array] # - # source://parser/lib/parser/diagnostic.rb#40 + # source://parser//lib/parser/diagnostic.rb#40 def highlights; end # @api public # @return [Symbol] diagnostic level # @see LEVELS # - # source://parser/lib/parser/diagnostic.rb#39 + # source://parser//lib/parser/diagnostic.rb#39 def level; end # Main error-related source range. @@ -1730,20 +1730,20 @@ class Parser::Diagnostic # @api public # @return [Parser::Source::Range] # - # source://parser/lib/parser/diagnostic.rb#40 + # source://parser//lib/parser/diagnostic.rb#40 def location; end # @api public # @return [String] the rendered message. # - # source://parser/lib/parser/diagnostic.rb#69 + # source://parser//lib/parser/diagnostic.rb#69 def message; end # @api public # @return [Symbol] reason for error # @see Parser::MESSAGES # - # source://parser/lib/parser/diagnostic.rb#39 + # source://parser//lib/parser/diagnostic.rb#39 def reason; end # Renders the diagnostic message as a clang-like diagnostic. @@ -1758,7 +1758,7 @@ class Parser::Diagnostic # # ] # @return [Array] # - # source://parser/lib/parser/diagnostic.rb#86 + # source://parser//lib/parser/diagnostic.rb#86 def render; end private @@ -1768,7 +1768,7 @@ class Parser::Diagnostic # @api public # @return [Parser::Source::Range] # - # source://parser/lib/parser/diagnostic.rb#142 + # source://parser//lib/parser/diagnostic.rb#142 def first_line_only(range); end # If necessary, shrink a `Range` so as to include only the last line. @@ -1776,7 +1776,7 @@ class Parser::Diagnostic # @api public # @return [Parser::Source::Range] # - # source://parser/lib/parser/diagnostic.rb#155 + # source://parser//lib/parser/diagnostic.rb#155 def last_line_only(range); end # Renders one source line in clang diagnostic style, with highlights. @@ -1784,42 +1784,42 @@ class Parser::Diagnostic # @api public # @return [Array] # - # source://parser/lib/parser/diagnostic.rb#110 + # source://parser//lib/parser/diagnostic.rb#110 def render_line(range, ellipsis = T.unsafe(nil), range_end = T.unsafe(nil)); end end -# source://parser/lib/parser/diagnostic/engine.rb#36 +# source://parser//lib/parser/diagnostic/engine.rb#36 class Parser::Diagnostic::Engine - # source://parser/lib/parser/diagnostic/engine.rb#45 + # source://parser//lib/parser/diagnostic/engine.rb#45 def initialize(consumer = T.unsafe(nil)); end - # source://parser/lib/parser/diagnostic/engine.rb#39 + # source://parser//lib/parser/diagnostic/engine.rb#39 def all_errors_are_fatal; end - # source://parser/lib/parser/diagnostic/engine.rb#39 + # source://parser//lib/parser/diagnostic/engine.rb#39 def all_errors_are_fatal=(_arg0); end - # source://parser/lib/parser/diagnostic/engine.rb#37 + # source://parser//lib/parser/diagnostic/engine.rb#37 def consumer; end - # source://parser/lib/parser/diagnostic/engine.rb#37 + # source://parser//lib/parser/diagnostic/engine.rb#37 def consumer=(_arg0); end - # source://parser/lib/parser/diagnostic/engine.rb#40 + # source://parser//lib/parser/diagnostic/engine.rb#40 def ignore_warnings; end - # source://parser/lib/parser/diagnostic/engine.rb#40 + # source://parser//lib/parser/diagnostic/engine.rb#40 def ignore_warnings=(_arg0); end - # source://parser/lib/parser/diagnostic/engine.rb#64 + # source://parser//lib/parser/diagnostic/engine.rb#64 def process(diagnostic); end protected - # source://parser/lib/parser/diagnostic/engine.rb#86 + # source://parser//lib/parser/diagnostic/engine.rb#86 def ignore?(diagnostic); end - # source://parser/lib/parser/diagnostic/engine.rb#97 + # source://parser//lib/parser/diagnostic/engine.rb#97 def raise?(diagnostic); end end @@ -1828,7 +1828,7 @@ end # @api public # @return [Array] # -# source://parser/lib/parser/diagnostic.rb#37 +# source://parser//lib/parser/diagnostic.rb#37 Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array) # line 3 "lib/parser/lexer.rl" @@ -1907,1219 +1907,1219 @@ Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array) # # NoMethodError: undefined method `ord' for nil:NilClass # -# source://parser/lib/parser/lexer-F1.rb#82 +# source://parser//lib/parser/lexer-F1.rb#82 class Parser::Lexer # @return [Lexer] a new instance of Lexer # - # source://parser/lib/parser/lexer-F1.rb#8250 + # source://parser//lib/parser/lexer-F1.rb#8250 def initialize(version); end # Return next token: [type, value]. # - # source://parser/lib/parser/lexer-F1.rb#8410 + # source://parser//lib/parser/lexer-F1.rb#8410 def advance; end # Returns the value of attribute cmdarg. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def cmdarg; end # Sets the attribute cmdarg # # @param value the value to set the attribute cmdarg to. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def cmdarg=(_arg0); end # Returns the value of attribute cmdarg_stack. # - # source://parser/lib/parser/lexer-F1.rb#8248 + # source://parser//lib/parser/lexer-F1.rb#8248 def cmdarg_stack; end # Returns the value of attribute command_start. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def command_start; end # Sets the attribute command_start # # @param value the value to set the attribute command_start to. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def command_start=(_arg0); end # Returns the value of attribute comments. # - # source://parser/lib/parser/lexer-F1.rb#8246 + # source://parser//lib/parser/lexer-F1.rb#8246 def comments; end # Sets the attribute comments # # @param value the value to set the attribute comments to. # - # source://parser/lib/parser/lexer-F1.rb#8246 + # source://parser//lib/parser/lexer-F1.rb#8246 def comments=(_arg0); end # Returns the value of attribute cond. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def cond; end # Sets the attribute cond # # @param value the value to set the attribute cond to. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def cond=(_arg0); end # Returns the value of attribute cond_stack. # - # source://parser/lib/parser/lexer-F1.rb#8248 + # source://parser//lib/parser/lexer-F1.rb#8248 def cond_stack; end # Returns the value of attribute context. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def context; end # Sets the attribute context # # @param value the value to set the attribute context to. # - # source://parser/lib/parser/lexer-F1.rb#8244 + # source://parser//lib/parser/lexer-F1.rb#8244 def context=(_arg0); end - # source://parser/lib/parser/lexer-F1.rb#8405 + # source://parser//lib/parser/lexer-F1.rb#8405 def dedent_level; end # Returns the value of attribute diagnostics. # - # source://parser/lib/parser/lexer-F1.rb#8240 + # source://parser//lib/parser/lexer-F1.rb#8240 def diagnostics; end # Sets the attribute diagnostics # # @param value the value to set the attribute diagnostics to. # - # source://parser/lib/parser/lexer-F1.rb#8240 + # source://parser//lib/parser/lexer-F1.rb#8240 def diagnostics=(_arg0); end - # source://parser/lib/parser/lexer-F1.rb#8358 + # source://parser//lib/parser/lexer-F1.rb#8358 def encoding; end # Returns the value of attribute force_utf32. # - # source://parser/lib/parser/lexer-F1.rb#8242 + # source://parser//lib/parser/lexer-F1.rb#8242 def force_utf32; end # Sets the attribute force_utf32 # # @param value the value to set the attribute force_utf32 to. # - # source://parser/lib/parser/lexer-F1.rb#8242 + # source://parser//lib/parser/lexer-F1.rb#8242 def force_utf32=(_arg0); end # Returns the value of attribute lambda_stack. # - # source://parser/lib/parser/lexer-F1.rb#8248 + # source://parser//lib/parser/lexer-F1.rb#8248 def lambda_stack; end # Returns the value of attribute paren_nest. # - # source://parser/lib/parser/lexer-F1.rb#8248 + # source://parser//lib/parser/lexer-F1.rb#8248 def paren_nest; end - # source://parser/lib/parser/lexer-F1.rb#8392 + # source://parser//lib/parser/lexer-F1.rb#8392 def pop_cmdarg; end - # source://parser/lib/parser/lexer-F1.rb#8401 + # source://parser//lib/parser/lexer-F1.rb#8401 def pop_cond; end - # source://parser/lib/parser/lexer-F1.rb#8387 + # source://parser//lib/parser/lexer-F1.rb#8387 def push_cmdarg; end - # source://parser/lib/parser/lexer-F1.rb#8396 + # source://parser//lib/parser/lexer-F1.rb#8396 def push_cond; end - # source://parser/lib/parser/lexer-F1.rb#8281 + # source://parser//lib/parser/lexer-F1.rb#8281 def reset(reset_state = T.unsafe(nil)); end # % # - # source://parser/lib/parser/lexer-F1.rb#8238 + # source://parser//lib/parser/lexer-F1.rb#8238 def source_buffer; end - # source://parser/lib/parser/lexer-F1.rb#8334 + # source://parser//lib/parser/lexer-F1.rb#8334 def source_buffer=(source_buffer); end - # source://parser/lib/parser/lexer-F1.rb#8379 + # source://parser//lib/parser/lexer-F1.rb#8379 def state; end - # source://parser/lib/parser/lexer-F1.rb#8383 + # source://parser//lib/parser/lexer-F1.rb#8383 def state=(state); end # Returns the value of attribute static_env. # - # source://parser/lib/parser/lexer-F1.rb#8241 + # source://parser//lib/parser/lexer-F1.rb#8241 def static_env; end # Sets the attribute static_env # # @param value the value to set the attribute static_env to. # - # source://parser/lib/parser/lexer-F1.rb#8241 + # source://parser//lib/parser/lexer-F1.rb#8241 def static_env=(_arg0); end # Returns the value of attribute tokens. # - # source://parser/lib/parser/lexer-F1.rb#8246 + # source://parser//lib/parser/lexer-F1.rb#8246 def tokens; end # Sets the attribute tokens # # @param value the value to set the attribute tokens to. # - # source://parser/lib/parser/lexer-F1.rb#8246 + # source://parser//lib/parser/lexer-F1.rb#8246 def tokens=(_arg0); end # Returns the value of attribute version. # - # source://parser/lib/parser/lexer-F1.rb#8248 + # source://parser//lib/parser/lexer-F1.rb#8248 def version; end protected - # source://parser/lib/parser/lexer-F1.rb#14692 + # source://parser//lib/parser/lexer-F1.rb#14692 def arg_or_cmdarg(cmd_state); end - # source://parser/lib/parser/lexer-F1.rb#14754 + # source://parser//lib/parser/lexer-F1.rb#14754 def check_ambiguous_slash(tm); end - # source://parser/lib/parser/lexer-F1.rb#14716 + # source://parser//lib/parser/lexer-F1.rb#14716 def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14722 + # source://parser//lib/parser/lexer-F1.rb#14722 def e_lbrace; end - # source://parser/lib/parser/lexer-F1.rb#14666 + # source://parser//lib/parser/lexer-F1.rb#14666 def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14775 + # source://parser//lib/parser/lexer-F1.rb#14775 def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14803 + # source://parser//lib/parser/lexer-F1.rb#14803 def emit_colon_with_digits(p, tm, diag_msg); end - # source://parser/lib/parser/lexer-F1.rb#14700 + # source://parser//lib/parser/lexer-F1.rb#14700 def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14712 + # source://parser//lib/parser/lexer-F1.rb#14712 def emit_comment_from_range(p, pe); end - # source://parser/lib/parser/lexer-F1.rb#14682 + # source://parser//lib/parser/lexer-F1.rb#14682 def emit_do(do_block = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14765 + # source://parser//lib/parser/lexer-F1.rb#14765 def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14783 + # source://parser//lib/parser/lexer-F1.rb#14783 def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14791 + # source://parser//lib/parser/lexer-F1.rb#14791 def emit_rbrace_rparen_rbrack; end - # source://parser/lib/parser/lexer-F1.rb#14813 + # source://parser//lib/parser/lexer-F1.rb#14813 def emit_singleton_class; end - # source://parser/lib/parser/lexer-F1.rb#14676 + # source://parser//lib/parser/lexer-F1.rb#14676 def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14731 + # source://parser//lib/parser/lexer-F1.rb#14731 def numeric_literal_int; end - # source://parser/lib/parser/lexer-F1.rb#14750 + # source://parser//lib/parser/lexer-F1.rb#14750 def on_newline(p); end - # source://parser/lib/parser/lexer-F1.rb#14662 + # source://parser//lib/parser/lexer-F1.rb#14662 def range(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-F1.rb#14653 + # source://parser//lib/parser/lexer-F1.rb#14653 def stack_pop; end - # source://parser/lib/parser/lexer-F1.rb#14658 + # source://parser//lib/parser/lexer-F1.rb#14658 def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end # @return [Boolean] # - # source://parser/lib/parser/lexer-F1.rb#14649 + # source://parser//lib/parser/lexer-F1.rb#14649 def version?(*versions); end class << self # Returns the value of attribute lex_en_expr_arg. # - # source://parser/lib/parser/lexer-F1.rb#8186 + # source://parser//lib/parser/lexer-F1.rb#8186 def lex_en_expr_arg; end # Sets the attribute lex_en_expr_arg # # @param value the value to set the attribute lex_en_expr_arg to. # - # source://parser/lib/parser/lexer-F1.rb#8186 + # source://parser//lib/parser/lexer-F1.rb#8186 def lex_en_expr_arg=(_arg0); end # Returns the value of attribute lex_en_expr_beg. # - # source://parser/lib/parser/lexer-F1.rb#8202 + # source://parser//lib/parser/lexer-F1.rb#8202 def lex_en_expr_beg; end # Sets the attribute lex_en_expr_beg # # @param value the value to set the attribute lex_en_expr_beg to. # - # source://parser/lib/parser/lexer-F1.rb#8202 + # source://parser//lib/parser/lexer-F1.rb#8202 def lex_en_expr_beg=(_arg0); end # Returns the value of attribute lex_en_expr_cmdarg. # - # source://parser/lib/parser/lexer-F1.rb#8190 + # source://parser//lib/parser/lexer-F1.rb#8190 def lex_en_expr_cmdarg; end # Sets the attribute lex_en_expr_cmdarg # # @param value the value to set the attribute lex_en_expr_cmdarg to. # - # source://parser/lib/parser/lexer-F1.rb#8190 + # source://parser//lib/parser/lexer-F1.rb#8190 def lex_en_expr_cmdarg=(_arg0); end # Returns the value of attribute lex_en_expr_dot. # - # source://parser/lib/parser/lexer-F1.rb#8182 + # source://parser//lib/parser/lexer-F1.rb#8182 def lex_en_expr_dot; end # Sets the attribute lex_en_expr_dot # # @param value the value to set the attribute lex_en_expr_dot to. # - # source://parser/lib/parser/lexer-F1.rb#8182 + # source://parser//lib/parser/lexer-F1.rb#8182 def lex_en_expr_dot=(_arg0); end # Returns the value of attribute lex_en_expr_end. # - # source://parser/lib/parser/lexer-F1.rb#8214 + # source://parser//lib/parser/lexer-F1.rb#8214 def lex_en_expr_end; end # Sets the attribute lex_en_expr_end # # @param value the value to set the attribute lex_en_expr_end to. # - # source://parser/lib/parser/lexer-F1.rb#8214 + # source://parser//lib/parser/lexer-F1.rb#8214 def lex_en_expr_end=(_arg0); end # Returns the value of attribute lex_en_expr_endarg. # - # source://parser/lib/parser/lexer-F1.rb#8194 + # source://parser//lib/parser/lexer-F1.rb#8194 def lex_en_expr_endarg; end # Sets the attribute lex_en_expr_endarg # # @param value the value to set the attribute lex_en_expr_endarg to. # - # source://parser/lib/parser/lexer-F1.rb#8194 + # source://parser//lib/parser/lexer-F1.rb#8194 def lex_en_expr_endarg=(_arg0); end # Returns the value of attribute lex_en_expr_endfn. # - # source://parser/lib/parser/lexer-F1.rb#8178 + # source://parser//lib/parser/lexer-F1.rb#8178 def lex_en_expr_endfn; end # Sets the attribute lex_en_expr_endfn # # @param value the value to set the attribute lex_en_expr_endfn to. # - # source://parser/lib/parser/lexer-F1.rb#8178 + # source://parser//lib/parser/lexer-F1.rb#8178 def lex_en_expr_endfn=(_arg0); end # Returns the value of attribute lex_en_expr_fname. # - # source://parser/lib/parser/lexer-F1.rb#8174 + # source://parser//lib/parser/lexer-F1.rb#8174 def lex_en_expr_fname; end # Sets the attribute lex_en_expr_fname # # @param value the value to set the attribute lex_en_expr_fname to. # - # source://parser/lib/parser/lexer-F1.rb#8174 + # source://parser//lib/parser/lexer-F1.rb#8174 def lex_en_expr_fname=(_arg0); end # Returns the value of attribute lex_en_expr_labelarg. # - # source://parser/lib/parser/lexer-F1.rb#8206 + # source://parser//lib/parser/lexer-F1.rb#8206 def lex_en_expr_labelarg; end # Sets the attribute lex_en_expr_labelarg # # @param value the value to set the attribute lex_en_expr_labelarg to. # - # source://parser/lib/parser/lexer-F1.rb#8206 + # source://parser//lib/parser/lexer-F1.rb#8206 def lex_en_expr_labelarg=(_arg0); end # Returns the value of attribute lex_en_expr_mid. # - # source://parser/lib/parser/lexer-F1.rb#8198 + # source://parser//lib/parser/lexer-F1.rb#8198 def lex_en_expr_mid; end # Sets the attribute lex_en_expr_mid # # @param value the value to set the attribute lex_en_expr_mid to. # - # source://parser/lib/parser/lexer-F1.rb#8198 + # source://parser//lib/parser/lexer-F1.rb#8198 def lex_en_expr_mid=(_arg0); end # Returns the value of attribute lex_en_expr_value. # - # source://parser/lib/parser/lexer-F1.rb#8210 + # source://parser//lib/parser/lexer-F1.rb#8210 def lex_en_expr_value; end # Sets the attribute lex_en_expr_value # # @param value the value to set the attribute lex_en_expr_value to. # - # source://parser/lib/parser/lexer-F1.rb#8210 + # source://parser//lib/parser/lexer-F1.rb#8210 def lex_en_expr_value=(_arg0); end # Returns the value of attribute lex_en_expr_variable. # - # source://parser/lib/parser/lexer-F1.rb#8170 + # source://parser//lib/parser/lexer-F1.rb#8170 def lex_en_expr_variable; end # Sets the attribute lex_en_expr_variable # # @param value the value to set the attribute lex_en_expr_variable to. # - # source://parser/lib/parser/lexer-F1.rb#8170 + # source://parser//lib/parser/lexer-F1.rb#8170 def lex_en_expr_variable=(_arg0); end # Returns the value of attribute lex_en_inside_string. # - # source://parser/lib/parser/lexer-F1.rb#8230 + # source://parser//lib/parser/lexer-F1.rb#8230 def lex_en_inside_string; end # Sets the attribute lex_en_inside_string # # @param value the value to set the attribute lex_en_inside_string to. # - # source://parser/lib/parser/lexer-F1.rb#8230 + # source://parser//lib/parser/lexer-F1.rb#8230 def lex_en_inside_string=(_arg0); end # Returns the value of attribute lex_en_leading_dot. # - # source://parser/lib/parser/lexer-F1.rb#8218 + # source://parser//lib/parser/lexer-F1.rb#8218 def lex_en_leading_dot; end # Sets the attribute lex_en_leading_dot # # @param value the value to set the attribute lex_en_leading_dot to. # - # source://parser/lib/parser/lexer-F1.rb#8218 + # source://parser//lib/parser/lexer-F1.rb#8218 def lex_en_leading_dot=(_arg0); end # Returns the value of attribute lex_en_line_begin. # - # source://parser/lib/parser/lexer-F1.rb#8226 + # source://parser//lib/parser/lexer-F1.rb#8226 def lex_en_line_begin; end # Sets the attribute lex_en_line_begin # # @param value the value to set the attribute lex_en_line_begin to. # - # source://parser/lib/parser/lexer-F1.rb#8226 + # source://parser//lib/parser/lexer-F1.rb#8226 def lex_en_line_begin=(_arg0); end # Returns the value of attribute lex_en_line_comment. # - # source://parser/lib/parser/lexer-F1.rb#8222 + # source://parser//lib/parser/lexer-F1.rb#8222 def lex_en_line_comment; end # Sets the attribute lex_en_line_comment # # @param value the value to set the attribute lex_en_line_comment to. # - # source://parser/lib/parser/lexer-F1.rb#8222 + # source://parser//lib/parser/lexer-F1.rb#8222 def lex_en_line_comment=(_arg0); end # Returns the value of attribute lex_error. # - # source://parser/lib/parser/lexer-F1.rb#8165 + # source://parser//lib/parser/lexer-F1.rb#8165 def lex_error; end # Sets the attribute lex_error # # @param value the value to set the attribute lex_error to. # - # source://parser/lib/parser/lexer-F1.rb#8165 + # source://parser//lib/parser/lexer-F1.rb#8165 def lex_error=(_arg0); end # Returns the value of attribute lex_start. # - # source://parser/lib/parser/lexer-F1.rb#8161 + # source://parser//lib/parser/lexer-F1.rb#8161 def lex_start; end # Sets the attribute lex_start # # @param value the value to set the attribute lex_start to. # - # source://parser/lib/parser/lexer-F1.rb#8161 + # source://parser//lib/parser/lexer-F1.rb#8161 def lex_start=(_arg0); end private # Returns the value of attribute _lex_eof_trans. # - # source://parser/lib/parser/lexer-F1.rb#8064 + # source://parser//lib/parser/lexer-F1.rb#8064 def _lex_eof_trans; end # Sets the attribute _lex_eof_trans # # @param value the value to set the attribute _lex_eof_trans to. # - # source://parser/lib/parser/lexer-F1.rb#8064 + # source://parser//lib/parser/lexer-F1.rb#8064 def _lex_eof_trans=(_arg0); end # Returns the value of attribute _lex_from_state_actions. # - # source://parser/lib/parser/lexer-F1.rb#7967 + # source://parser//lib/parser/lexer-F1.rb#7967 def _lex_from_state_actions; end # Sets the attribute _lex_from_state_actions # # @param value the value to set the attribute _lex_from_state_actions to. # - # source://parser/lib/parser/lexer-F1.rb#7967 + # source://parser//lib/parser/lexer-F1.rb#7967 def _lex_from_state_actions=(_arg0); end # Returns the value of attribute _lex_index_offsets. # - # source://parser/lib/parser/lexer-F1.rb#461 + # source://parser//lib/parser/lexer-F1.rb#461 def _lex_index_offsets; end # Sets the attribute _lex_index_offsets # # @param value the value to set the attribute _lex_index_offsets to. # - # source://parser/lib/parser/lexer-F1.rb#461 + # source://parser//lib/parser/lexer-F1.rb#461 def _lex_index_offsets=(_arg0); end # Returns the value of attribute _lex_indicies. # - # source://parser/lib/parser/lexer-F1.rb#558 + # source://parser//lib/parser/lexer-F1.rb#558 def _lex_indicies; end # Sets the attribute _lex_indicies # # @param value the value to set the attribute _lex_indicies to. # - # source://parser/lib/parser/lexer-F1.rb#558 + # source://parser//lib/parser/lexer-F1.rb#558 def _lex_indicies=(_arg0); end # Returns the value of attribute _lex_key_spans. # - # source://parser/lib/parser/lexer-F1.rb#364 + # source://parser//lib/parser/lexer-F1.rb#364 def _lex_key_spans; end # Sets the attribute _lex_key_spans # # @param value the value to set the attribute _lex_key_spans to. # - # source://parser/lib/parser/lexer-F1.rb#364 + # source://parser//lib/parser/lexer-F1.rb#364 def _lex_key_spans=(_arg0); end # Returns the value of attribute _lex_to_state_actions. # - # source://parser/lib/parser/lexer-F1.rb#7870 + # source://parser//lib/parser/lexer-F1.rb#7870 def _lex_to_state_actions; end # Sets the attribute _lex_to_state_actions # # @param value the value to set the attribute _lex_to_state_actions to. # - # source://parser/lib/parser/lexer-F1.rb#7870 + # source://parser//lib/parser/lexer-F1.rb#7870 def _lex_to_state_actions=(_arg0); end # Returns the value of attribute _lex_trans_actions. # - # source://parser/lib/parser/lexer-F1.rb#7722 + # source://parser//lib/parser/lexer-F1.rb#7722 def _lex_trans_actions; end # Sets the attribute _lex_trans_actions # # @param value the value to set the attribute _lex_trans_actions to. # - # source://parser/lib/parser/lexer-F1.rb#7722 + # source://parser//lib/parser/lexer-F1.rb#7722 def _lex_trans_actions=(_arg0); end # Returns the value of attribute _lex_trans_keys. # - # source://parser/lib/parser/lexer-F1.rb#87 + # source://parser//lib/parser/lexer-F1.rb#87 def _lex_trans_keys; end # Sets the attribute _lex_trans_keys # # @param value the value to set the attribute _lex_trans_keys to. # - # source://parser/lib/parser/lexer-F1.rb#87 + # source://parser//lib/parser/lexer-F1.rb#87 def _lex_trans_keys=(_arg0); end # Returns the value of attribute _lex_trans_targs. # - # source://parser/lib/parser/lexer-F1.rb#7574 + # source://parser//lib/parser/lexer-F1.rb#7574 def _lex_trans_targs; end # Sets the attribute _lex_trans_targs # # @param value the value to set the attribute _lex_trans_targs to. # - # source://parser/lib/parser/lexer-F1.rb#7574 + # source://parser//lib/parser/lexer-F1.rb#7574 def _lex_trans_targs=(_arg0); end end end -# source://parser/lib/parser/lexer/dedenter.rb#5 +# source://parser//lib/parser/lexer/dedenter.rb#5 class Parser::Lexer::Dedenter - # source://parser/lib/parser/lexer/dedenter.rb#9 + # source://parser//lib/parser/lexer/dedenter.rb#9 def initialize(dedent_level); end - # source://parser/lib/parser/lexer/dedenter.rb#36 + # source://parser//lib/parser/lexer/dedenter.rb#36 def dedent(string); end - # source://parser/lib/parser/lexer/dedenter.rb#83 + # source://parser//lib/parser/lexer/dedenter.rb#83 def interrupt; end end -# source://parser/lib/parser/lexer/dedenter.rb#7 +# source://parser//lib/parser/lexer/dedenter.rb#7 Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer) -# source://parser/lib/parser/lexer-F1.rb#14860 +# source://parser//lib/parser/lexer-F1.rb#14860 Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-F1.rb#14846 +# source://parser//lib/parser/lexer-F1.rb#14846 Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-F1.rb#14853 +# source://parser//lib/parser/lexer-F1.rb#14853 Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-F1.rb#8362 +# source://parser//lib/parser/lexer-F1.rb#8362 Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer/literal.rb#6 +# source://parser//lib/parser/lexer/literal.rb#6 class Parser::Lexer::Literal - # source://parser/lib/parser/lexer/literal.rb#42 + # source://parser//lib/parser/lexer/literal.rb#42 def initialize(lexer, str_type, delimiter, str_s, heredoc_e = T.unsafe(nil), indent = T.unsafe(nil), dedent_body = T.unsafe(nil), label_allowed = T.unsafe(nil)); end - # source://parser/lib/parser/lexer/literal.rb#116 + # source://parser//lib/parser/lexer/literal.rb#116 def backslash_delimited?; end - # source://parser/lib/parser/lexer/literal.rb#39 + # source://parser//lib/parser/lexer/literal.rb#39 def dedent_level; end - # source://parser/lib/parser/lexer/literal.rb#191 + # source://parser//lib/parser/lexer/literal.rb#191 def end_interp_brace_and_try_closing; end - # source://parser/lib/parser/lexer/literal.rb#218 + # source://parser//lib/parser/lexer/literal.rb#218 def extend_content; end - # source://parser/lib/parser/lexer/literal.rb#222 + # source://parser//lib/parser/lexer/literal.rb#222 def extend_space(ts, te); end - # source://parser/lib/parser/lexer/literal.rb#197 + # source://parser//lib/parser/lexer/literal.rb#197 def extend_string(string, ts, te); end - # source://parser/lib/parser/lexer/literal.rb#204 + # source://parser//lib/parser/lexer/literal.rb#204 def flush_string; end - # source://parser/lib/parser/lexer/literal.rb#104 + # source://parser//lib/parser/lexer/literal.rb#104 def heredoc?; end - # source://parser/lib/parser/lexer/literal.rb#39 + # source://parser//lib/parser/lexer/literal.rb#39 def heredoc_e; end - # source://parser/lib/parser/lexer/literal.rb#168 + # source://parser//lib/parser/lexer/literal.rb#168 def infer_indent_level(line); end - # source://parser/lib/parser/lexer/literal.rb#91 + # source://parser//lib/parser/lexer/literal.rb#91 def interpolate?; end - # source://parser/lib/parser/lexer/literal.rb#124 + # source://parser//lib/parser/lexer/literal.rb#124 def munge_escape?(character); end - # source://parser/lib/parser/lexer/literal.rb#134 + # source://parser//lib/parser/lexer/literal.rb#134 def nest_and_try_closing(delimiter, ts, te, lookahead = T.unsafe(nil)); end - # source://parser/lib/parser/lexer/literal.rb#108 + # source://parser//lib/parser/lexer/literal.rb#108 def plain_heredoc?; end - # source://parser/lib/parser/lexer/literal.rb#100 + # source://parser//lib/parser/lexer/literal.rb#100 def regexp?; end - # source://parser/lib/parser/lexer/literal.rb#40 + # source://parser//lib/parser/lexer/literal.rb#40 def saved_herebody_s; end - # source://parser/lib/parser/lexer/literal.rb#40 + # source://parser//lib/parser/lexer/literal.rb#40 def saved_herebody_s=(_arg0); end - # source://parser/lib/parser/lexer/literal.rb#112 + # source://parser//lib/parser/lexer/literal.rb#112 def squiggly_heredoc?; end - # source://parser/lib/parser/lexer/literal.rb#187 + # source://parser//lib/parser/lexer/literal.rb#187 def start_interp_brace; end - # source://parser/lib/parser/lexer/literal.rb#39 + # source://parser//lib/parser/lexer/literal.rb#39 def str_s; end - # source://parser/lib/parser/lexer/literal.rb#232 + # source://parser//lib/parser/lexer/literal.rb#232 def supports_line_continuation_via_slash?; end - # source://parser/lib/parser/lexer/literal.rb#120 + # source://parser//lib/parser/lexer/literal.rb#120 def type; end - # source://parser/lib/parser/lexer/literal.rb#95 + # source://parser//lib/parser/lexer/literal.rb#95 def words?; end protected - # source://parser/lib/parser/lexer/literal.rb#263 + # source://parser//lib/parser/lexer/literal.rb#263 def clear_buffer; end - # source://parser/lib/parser/lexer/literal.rb#259 + # source://parser//lib/parser/lexer/literal.rb#259 def coerce_encoding(string); end - # source://parser/lib/parser/lexer/literal.rb#238 + # source://parser//lib/parser/lexer/literal.rb#238 def delimiter?(delimiter); end - # source://parser/lib/parser/lexer/literal.rb#279 + # source://parser//lib/parser/lexer/literal.rb#279 def emit(token, type, s, e); end - # source://parser/lib/parser/lexer/literal.rb#274 + # source://parser//lib/parser/lexer/literal.rb#274 def emit_start_tok; end end -# source://parser/lib/parser/lexer/literal.rb#7 +# source://parser//lib/parser/lexer/literal.rb#7 Parser::Lexer::Literal::DELIMITERS = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer/literal.rb#8 +# source://parser//lib/parser/lexer/literal.rb#8 Parser::Lexer::Literal::SPACE = T.let(T.unsafe(nil), Integer) -# source://parser/lib/parser/lexer/literal.rb#9 +# source://parser//lib/parser/lexer/literal.rb#9 Parser::Lexer::Literal::TAB = T.let(T.unsafe(nil), Integer) -# source://parser/lib/parser/lexer/literal.rb#11 +# source://parser//lib/parser/lexer/literal.rb#11 Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash) # Mapping of strings to parser tokens. # -# source://parser/lib/parser/lexer-F1.rb#14820 +# source://parser//lib/parser/lexer-F1.rb#14820 Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-F1.rb#14840 +# source://parser//lib/parser/lexer-F1.rb#14840 Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer/stack_state.rb#5 +# source://parser//lib/parser/lexer/stack_state.rb#5 class Parser::Lexer::StackState - # source://parser/lib/parser/lexer/stack_state.rb#6 + # source://parser//lib/parser/lexer/stack_state.rb#6 def initialize(name); end - # source://parser/lib/parser/lexer/stack_state.rb#34 + # source://parser//lib/parser/lexer/stack_state.rb#34 def active?; end - # source://parser/lib/parser/lexer/stack_state.rb#11 + # source://parser//lib/parser/lexer/stack_state.rb#11 def clear; end - # source://parser/lib/parser/lexer/stack_state.rb#38 + # source://parser//lib/parser/lexer/stack_state.rb#38 def empty?; end - # source://parser/lib/parser/lexer/stack_state.rb#42 + # source://parser//lib/parser/lexer/stack_state.rb#46 def inspect; end - # source://parser/lib/parser/lexer/stack_state.rb#29 + # source://parser//lib/parser/lexer/stack_state.rb#29 def lexpop; end - # source://parser/lib/parser/lexer/stack_state.rb#22 + # source://parser//lib/parser/lexer/stack_state.rb#22 def pop; end - # source://parser/lib/parser/lexer/stack_state.rb#15 + # source://parser//lib/parser/lexer/stack_state.rb#15 def push(bit); end - # source://parser/lib/parser/lexer/stack_state.rb#42 + # source://parser//lib/parser/lexer/stack_state.rb#42 def to_s; end end # line 3 "lib/parser/lexer-strings.rl" # -# source://parser/lib/parser/lexer-strings.rb#6 +# source://parser//lib/parser/lexer-strings.rb#6 class Parser::LexerStrings # @return [LexerStrings] a new instance of LexerStrings # - # source://parser/lib/parser/lexer-strings.rb#3300 + # source://parser//lib/parser/lexer-strings.rb#3300 def initialize(lexer, version); end - # source://parser/lib/parser/lexer-strings.rb#3339 + # source://parser//lib/parser/lexer-strings.rb#3339 def advance(p); end - # source://parser/lib/parser/lexer-strings.rb#5069 + # source://parser//lib/parser/lexer-strings.rb#5069 def close_interp_on_current_literal(p); end - # source://parser/lib/parser/lexer-strings.rb#5043 + # source://parser//lib/parser/lexer-strings.rb#5043 def continue_lexing(current_literal); end - # source://parser/lib/parser/lexer-strings.rb#5092 + # source://parser//lib/parser/lexer-strings.rb#5092 def dedent_level; end # Returns the value of attribute herebody_s. # - # source://parser/lib/parser/lexer-strings.rb#3295 + # source://parser//lib/parser/lexer-strings.rb#3295 def herebody_s; end # Sets the attribute herebody_s # # @param value the value to set the attribute herebody_s to. # - # source://parser/lib/parser/lexer-strings.rb#3295 + # source://parser//lib/parser/lexer-strings.rb#3295 def herebody_s=(_arg0); end - # source://parser/lib/parser/lexer-strings.rb#5047 + # source://parser//lib/parser/lexer-strings.rb#5047 def literal; end - # source://parser/lib/parser/lexer-strings.rb#5015 + # source://parser//lib/parser/lexer-strings.rb#5015 def next_state_for_literal(literal); end # This hook is triggered by "main" lexer on every newline character # - # source://parser/lib/parser/lexer-strings.rb#5100 + # source://parser//lib/parser/lexer-strings.rb#5100 def on_newline(p); end - # source://parser/lib/parser/lexer-strings.rb#5051 + # source://parser//lib/parser/lexer-strings.rb#5051 def pop_literal; end # === LITERAL STACK === # - # source://parser/lib/parser/lexer-strings.rb#5009 + # source://parser//lib/parser/lexer-strings.rb#5009 def push_literal(*args); end - # source://parser/lib/parser/lexer-strings.rb#4999 + # source://parser//lib/parser/lexer-strings.rb#4999 def read_character_constant(p); end - # source://parser/lib/parser/lexer-strings.rb#3314 + # source://parser//lib/parser/lexer-strings.rb#3314 def reset; end # Set by "main" lexer # - # source://parser/lib/parser/lexer-strings.rb#3298 + # source://parser//lib/parser/lexer-strings.rb#3298 def source_buffer; end # Set by "main" lexer # - # source://parser/lib/parser/lexer-strings.rb#3298 + # source://parser//lib/parser/lexer-strings.rb#3298 def source_buffer=(_arg0); end # Set by "main" lexer # - # source://parser/lib/parser/lexer-strings.rb#3298 + # source://parser//lib/parser/lexer-strings.rb#3298 def source_pts; end # Set by "main" lexer # - # source://parser/lib/parser/lexer-strings.rb#3298 + # source://parser//lib/parser/lexer-strings.rb#3298 def source_pts=(_arg0); end protected - # source://parser/lib/parser/lexer-strings.rb#5397 + # source://parser//lib/parser/lexer-strings.rb#5397 def check_ambiguous_slash(tm); end - # source://parser/lib/parser/lexer-strings.rb#5408 + # source://parser//lib/parser/lexer-strings.rb#5408 def check_invalid_escapes(p); end - # source://parser/lib/parser/lexer-strings.rb#5136 + # source://parser//lib/parser/lexer-strings.rb#5136 def cond; end - # source://parser/lib/parser/lexer-strings.rb#5132 + # source://parser//lib/parser/lexer-strings.rb#5132 def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-strings.rb#5128 + # source://parser//lib/parser/lexer-strings.rb#5128 def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-strings.rb#5387 + # source://parser//lib/parser/lexer-strings.rb#5387 def emit_character_constant; end - # source://parser/lib/parser/lexer-strings.rb#5364 + # source://parser//lib/parser/lexer-strings.rb#5364 def emit_interp_var(interp_var_kind); end # @return [Boolean] # - # source://parser/lib/parser/lexer-strings.rb#5140 + # source://parser//lib/parser/lexer-strings.rb#5140 def emit_invalid_escapes?; end - # source://parser/lib/parser/lexer-strings.rb#5291 + # source://parser//lib/parser/lexer-strings.rb#5291 def encode_escape(ord); end - # source://parser/lib/parser/lexer-strings.rb#5375 + # source://parser//lib/parser/lexer-strings.rb#5375 def encode_escaped_char(p); end # @return [Boolean] # - # source://parser/lib/parser/lexer-strings.rb#5112 + # source://parser//lib/parser/lexer-strings.rb#5112 def eof_codepoint?(point); end - # source://parser/lib/parser/lexer-strings.rb#5210 + # source://parser//lib/parser/lexer-strings.rb#5210 def extend_interp_code(current_literal); end - # source://parser/lib/parser/lexer-strings.rb#5225 + # source://parser//lib/parser/lexer-strings.rb#5225 def extend_interp_digit_var; end - # source://parser/lib/parser/lexer-strings.rb#5355 + # source://parser//lib/parser/lexer-strings.rb#5355 def extend_interp_var(current_literal); end - # source://parser/lib/parser/lexer-strings.rb#5234 + # source://parser//lib/parser/lexer-strings.rb#5234 def extend_string_eol_check_eof(current_literal, pe); end - # source://parser/lib/parser/lexer-strings.rb#5251 + # source://parser//lib/parser/lexer-strings.rb#5251 def extend_string_eol_heredoc_intertwined(p); end - # source://parser/lib/parser/lexer-strings.rb#5241 + # source://parser//lib/parser/lexer-strings.rb#5241 def extend_string_eol_heredoc_line; end - # source://parser/lib/parser/lexer-strings.rb#5267 + # source://parser//lib/parser/lexer-strings.rb#5267 def extend_string_eol_words(current_literal, p); end # String escaping # - # source://parser/lib/parser/lexer-strings.rb#5154 + # source://parser//lib/parser/lexer-strings.rb#5154 def extend_string_escaped; end - # source://parser/lib/parser/lexer-strings.rb#5287 + # source://parser//lib/parser/lexer-strings.rb#5287 def extend_string_for_token_range(current_literal, string); end - # source://parser/lib/parser/lexer-strings.rb#5279 + # source://parser//lib/parser/lexer-strings.rb#5279 def extend_string_slice_end(lookahead); end - # source://parser/lib/parser/lexer-strings.rb#5124 + # source://parser//lib/parser/lexer-strings.rb#5124 def range(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-strings.rb#5347 + # source://parser//lib/parser/lexer-strings.rb#5347 def read_post_meta_or_ctrl_char(p); end - # source://parser/lib/parser/lexer-strings.rb#5379 + # source://parser//lib/parser/lexer-strings.rb#5379 def slash_c_char; end - # source://parser/lib/parser/lexer-strings.rb#5383 + # source://parser//lib/parser/lexer-strings.rb#5383 def slash_m_char; end - # source://parser/lib/parser/lexer-strings.rb#5120 + # source://parser//lib/parser/lexer-strings.rb#5120 def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser/lib/parser/lexer-strings.rb#5295 + # source://parser//lib/parser/lexer-strings.rb#5295 def unescape_char(p); end - # source://parser/lib/parser/lexer-strings.rb#5307 + # source://parser//lib/parser/lexer-strings.rb#5307 def unicode_points(p); end # @return [Boolean] # - # source://parser/lib/parser/lexer-strings.rb#5116 + # source://parser//lib/parser/lexer-strings.rb#5116 def version?(*versions); end class << self # Returns the value of attribute lex_en_character. # - # source://parser/lib/parser/lexer-strings.rb#3275 + # source://parser//lib/parser/lexer-strings.rb#3275 def lex_en_character; end # Sets the attribute lex_en_character # # @param value the value to set the attribute lex_en_character to. # - # source://parser/lib/parser/lexer-strings.rb#3275 + # source://parser//lib/parser/lexer-strings.rb#3275 def lex_en_character=(_arg0); end # Returns the value of attribute lex_en_interp_backslash_delimited. # - # source://parser/lib/parser/lexer-strings.rb#3255 + # source://parser//lib/parser/lexer-strings.rb#3255 def lex_en_interp_backslash_delimited; end # Sets the attribute lex_en_interp_backslash_delimited # # @param value the value to set the attribute lex_en_interp_backslash_delimited to. # - # source://parser/lib/parser/lexer-strings.rb#3255 + # source://parser//lib/parser/lexer-strings.rb#3255 def lex_en_interp_backslash_delimited=(_arg0); end # Returns the value of attribute lex_en_interp_backslash_delimited_words. # - # source://parser/lib/parser/lexer-strings.rb#3263 + # source://parser//lib/parser/lexer-strings.rb#3263 def lex_en_interp_backslash_delimited_words; end # Sets the attribute lex_en_interp_backslash_delimited_words # # @param value the value to set the attribute lex_en_interp_backslash_delimited_words to. # - # source://parser/lib/parser/lexer-strings.rb#3263 + # source://parser//lib/parser/lexer-strings.rb#3263 def lex_en_interp_backslash_delimited_words=(_arg0); end # Returns the value of attribute lex_en_interp_string. # - # source://parser/lib/parser/lexer-strings.rb#3243 + # source://parser//lib/parser/lexer-strings.rb#3243 def lex_en_interp_string; end # Sets the attribute lex_en_interp_string # # @param value the value to set the attribute lex_en_interp_string to. # - # source://parser/lib/parser/lexer-strings.rb#3243 + # source://parser//lib/parser/lexer-strings.rb#3243 def lex_en_interp_string=(_arg0); end # Returns the value of attribute lex_en_interp_words. # - # source://parser/lib/parser/lexer-strings.rb#3239 + # source://parser//lib/parser/lexer-strings.rb#3239 def lex_en_interp_words; end # Sets the attribute lex_en_interp_words # # @param value the value to set the attribute lex_en_interp_words to. # - # source://parser/lib/parser/lexer-strings.rb#3239 + # source://parser//lib/parser/lexer-strings.rb#3239 def lex_en_interp_words=(_arg0); end # Returns the value of attribute lex_en_plain_backslash_delimited. # - # source://parser/lib/parser/lexer-strings.rb#3259 + # source://parser//lib/parser/lexer-strings.rb#3259 def lex_en_plain_backslash_delimited; end # Sets the attribute lex_en_plain_backslash_delimited # # @param value the value to set the attribute lex_en_plain_backslash_delimited to. # - # source://parser/lib/parser/lexer-strings.rb#3259 + # source://parser//lib/parser/lexer-strings.rb#3259 def lex_en_plain_backslash_delimited=(_arg0); end # Returns the value of attribute lex_en_plain_backslash_delimited_words. # - # source://parser/lib/parser/lexer-strings.rb#3267 + # source://parser//lib/parser/lexer-strings.rb#3267 def lex_en_plain_backslash_delimited_words; end # Sets the attribute lex_en_plain_backslash_delimited_words # # @param value the value to set the attribute lex_en_plain_backslash_delimited_words to. # - # source://parser/lib/parser/lexer-strings.rb#3267 + # source://parser//lib/parser/lexer-strings.rb#3267 def lex_en_plain_backslash_delimited_words=(_arg0); end # Returns the value of attribute lex_en_plain_string. # - # source://parser/lib/parser/lexer-strings.rb#3251 + # source://parser//lib/parser/lexer-strings.rb#3251 def lex_en_plain_string; end # Sets the attribute lex_en_plain_string # # @param value the value to set the attribute lex_en_plain_string to. # - # source://parser/lib/parser/lexer-strings.rb#3251 + # source://parser//lib/parser/lexer-strings.rb#3251 def lex_en_plain_string=(_arg0); end # Returns the value of attribute lex_en_plain_words. # - # source://parser/lib/parser/lexer-strings.rb#3247 + # source://parser//lib/parser/lexer-strings.rb#3247 def lex_en_plain_words; end # Sets the attribute lex_en_plain_words # # @param value the value to set the attribute lex_en_plain_words to. # - # source://parser/lib/parser/lexer-strings.rb#3247 + # source://parser//lib/parser/lexer-strings.rb#3247 def lex_en_plain_words=(_arg0); end # Returns the value of attribute lex_en_regexp_modifiers. # - # source://parser/lib/parser/lexer-strings.rb#3271 + # source://parser//lib/parser/lexer-strings.rb#3271 def lex_en_regexp_modifiers; end # Sets the attribute lex_en_regexp_modifiers # # @param value the value to set the attribute lex_en_regexp_modifiers to. # - # source://parser/lib/parser/lexer-strings.rb#3271 + # source://parser//lib/parser/lexer-strings.rb#3271 def lex_en_regexp_modifiers=(_arg0); end # Returns the value of attribute lex_en_unknown. # - # source://parser/lib/parser/lexer-strings.rb#3279 + # source://parser//lib/parser/lexer-strings.rb#3279 def lex_en_unknown; end # Sets the attribute lex_en_unknown # # @param value the value to set the attribute lex_en_unknown to. # - # source://parser/lib/parser/lexer-strings.rb#3279 + # source://parser//lib/parser/lexer-strings.rb#3279 def lex_en_unknown=(_arg0); end # Returns the value of attribute lex_error. # - # source://parser/lib/parser/lexer-strings.rb#3234 + # source://parser//lib/parser/lexer-strings.rb#3234 def lex_error; end # Sets the attribute lex_error # # @param value the value to set the attribute lex_error to. # - # source://parser/lib/parser/lexer-strings.rb#3234 + # source://parser//lib/parser/lexer-strings.rb#3234 def lex_error=(_arg0); end # Returns the value of attribute lex_start. # - # source://parser/lib/parser/lexer-strings.rb#3230 + # source://parser//lib/parser/lexer-strings.rb#3230 def lex_start; end # Sets the attribute lex_start # # @param value the value to set the attribute lex_start to. # - # source://parser/lib/parser/lexer-strings.rb#3230 + # source://parser//lib/parser/lexer-strings.rb#3230 def lex_start=(_arg0); end private # Returns the value of attribute _lex_actions. # - # source://parser/lib/parser/lexer-strings.rb#11 + # source://parser//lib/parser/lexer-strings.rb#11 def _lex_actions; end # Sets the attribute _lex_actions # # @param value the value to set the attribute _lex_actions to. # - # source://parser/lib/parser/lexer-strings.rb#11 + # source://parser//lib/parser/lexer-strings.rb#11 def _lex_actions=(_arg0); end # Returns the value of attribute _lex_eof_trans. # - # source://parser/lib/parser/lexer-strings.rb#3184 + # source://parser//lib/parser/lexer-strings.rb#3184 def _lex_eof_trans; end # Sets the attribute _lex_eof_trans # # @param value the value to set the attribute _lex_eof_trans to. # - # source://parser/lib/parser/lexer-strings.rb#3184 + # source://parser//lib/parser/lexer-strings.rb#3184 def _lex_eof_trans=(_arg0); end # Returns the value of attribute _lex_from_state_actions. # - # source://parser/lib/parser/lexer-strings.rb#3138 + # source://parser//lib/parser/lexer-strings.rb#3138 def _lex_from_state_actions; end # Sets the attribute _lex_from_state_actions # # @param value the value to set the attribute _lex_from_state_actions to. # - # source://parser/lib/parser/lexer-strings.rb#3138 + # source://parser//lib/parser/lexer-strings.rb#3138 def _lex_from_state_actions=(_arg0); end # Returns the value of attribute _lex_index_offsets. # - # source://parser/lib/parser/lexer-strings.rb#244 + # source://parser//lib/parser/lexer-strings.rb#244 def _lex_index_offsets; end # Sets the attribute _lex_index_offsets # # @param value the value to set the attribute _lex_index_offsets to. # - # source://parser/lib/parser/lexer-strings.rb#244 + # source://parser//lib/parser/lexer-strings.rb#244 def _lex_index_offsets=(_arg0); end # Returns the value of attribute _lex_indicies. # - # source://parser/lib/parser/lexer-strings.rb#290 + # source://parser//lib/parser/lexer-strings.rb#290 def _lex_indicies; end # Sets the attribute _lex_indicies # # @param value the value to set the attribute _lex_indicies to. # - # source://parser/lib/parser/lexer-strings.rb#290 + # source://parser//lib/parser/lexer-strings.rb#290 def _lex_indicies=(_arg0); end # Returns the value of attribute _lex_key_spans. # - # source://parser/lib/parser/lexer-strings.rb#198 + # source://parser//lib/parser/lexer-strings.rb#198 def _lex_key_spans; end # Sets the attribute _lex_key_spans # # @param value the value to set the attribute _lex_key_spans to. # - # source://parser/lib/parser/lexer-strings.rb#198 + # source://parser//lib/parser/lexer-strings.rb#198 def _lex_key_spans=(_arg0); end # Returns the value of attribute _lex_to_state_actions. # - # source://parser/lib/parser/lexer-strings.rb#3092 + # source://parser//lib/parser/lexer-strings.rb#3092 def _lex_to_state_actions; end # Sets the attribute _lex_to_state_actions # # @param value the value to set the attribute _lex_to_state_actions to. # - # source://parser/lib/parser/lexer-strings.rb#3092 + # source://parser//lib/parser/lexer-strings.rb#3092 def _lex_to_state_actions=(_arg0); end # Returns the value of attribute _lex_trans_actions. # - # source://parser/lib/parser/lexer-strings.rb#3029 + # source://parser//lib/parser/lexer-strings.rb#3029 def _lex_trans_actions; end # Sets the attribute _lex_trans_actions # # @param value the value to set the attribute _lex_trans_actions to. # - # source://parser/lib/parser/lexer-strings.rb#3029 + # source://parser//lib/parser/lexer-strings.rb#3029 def _lex_trans_actions=(_arg0); end # Returns the value of attribute _lex_trans_keys. # - # source://parser/lib/parser/lexer-strings.rb#76 + # source://parser//lib/parser/lexer-strings.rb#76 def _lex_trans_keys; end # Sets the attribute _lex_trans_keys # # @param value the value to set the attribute _lex_trans_keys to. # - # source://parser/lib/parser/lexer-strings.rb#76 + # source://parser//lib/parser/lexer-strings.rb#76 def _lex_trans_keys=(_arg0); end # Returns the value of attribute _lex_trans_targs. # - # source://parser/lib/parser/lexer-strings.rb#2966 + # source://parser//lib/parser/lexer-strings.rb#2966 def _lex_trans_targs; end # Sets the attribute _lex_trans_targs # # @param value the value to set the attribute _lex_trans_targs to. # - # source://parser/lib/parser/lexer-strings.rb#2966 + # source://parser//lib/parser/lexer-strings.rb#2966 def _lex_trans_targs=(_arg0); end end end # % # -# source://parser/lib/parser/lexer-strings.rb#3287 +# source://parser//lib/parser/lexer-strings.rb#3287 Parser::LexerStrings::ESCAPES = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-strings.rb#5414 +# source://parser//lib/parser/lexer-strings.rb#5414 Parser::LexerStrings::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-strings.rb#3332 +# source://parser//lib/parser/lexer-strings.rb#3332 Parser::LexerStrings::LEX_STATES = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/lexer-strings.rb#3293 +# source://parser//lib/parser/lexer-strings.rb#3293 Parser::LexerStrings::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp) # Diagnostic messages (errors, warnings and notices) that can be generated. @@ -3127,85 +3127,85 @@ Parser::LexerStrings::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp) # @api public # @see Diagnostic # -# source://parser/lib/parser/messages.rb#11 +# source://parser//lib/parser/messages.rb#11 Parser::MESSAGES = T.let(T.unsafe(nil), Hash) # Holds p->max_numparam from parse.y # # @api private # -# source://parser/lib/parser/max_numparam_stack.rb#8 +# source://parser//lib/parser/max_numparam_stack.rb#8 class Parser::MaxNumparamStack # @api private # @return [MaxNumparamStack] a new instance of MaxNumparamStack # - # source://parser/lib/parser/max_numparam_stack.rb#13 + # source://parser//lib/parser/max_numparam_stack.rb#13 def initialize; end # @api private # @return [Boolean] # - # source://parser/lib/parser/max_numparam_stack.rb#17 + # source://parser//lib/parser/max_numparam_stack.rb#17 def empty?; end # @api private # @return [Boolean] # - # source://parser/lib/parser/max_numparam_stack.rb#29 + # source://parser//lib/parser/max_numparam_stack.rb#29 def has_numparams?; end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#21 + # source://parser//lib/parser/max_numparam_stack.rb#21 def has_ordinary_params!; end # @api private # @return [Boolean] # - # source://parser/lib/parser/max_numparam_stack.rb#25 + # source://parser//lib/parser/max_numparam_stack.rb#25 def has_ordinary_params?; end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#45 + # source://parser//lib/parser/max_numparam_stack.rb#45 def pop; end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#41 + # source://parser//lib/parser/max_numparam_stack.rb#41 def push(static:); end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#33 + # source://parser//lib/parser/max_numparam_stack.rb#33 def register(numparam); end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#9 + # source://parser//lib/parser/max_numparam_stack.rb#9 def stack; end # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#37 + # source://parser//lib/parser/max_numparam_stack.rb#37 def top; end private # @api private # - # source://parser/lib/parser/max_numparam_stack.rb#51 + # source://parser//lib/parser/max_numparam_stack.rb#51 def set(value); end end # @api private # -# source://parser/lib/parser/max_numparam_stack.rb#11 +# source://parser//lib/parser/max_numparam_stack.rb#11 Parser::MaxNumparamStack::ORDINARY_PARAMS = T.let(T.unsafe(nil), Integer) # @api private # -# source://parser/lib/parser/messages.rb#112 +# source://parser//lib/parser/messages.rb#112 module Parser::Messages class << self # Formats the message, returns a raw template if there's nothing to interpolate @@ -3215,20 +3215,20 @@ module Parser::Messages # # @api private # - # source://parser/lib/parser/messages.rb#119 + # source://parser//lib/parser/messages.rb#119 def compile(reason, arguments); end end end # Parser metadata # -# source://parser/lib/parser/meta.rb#5 +# source://parser//lib/parser/meta.rb#5 module Parser::Meta; end # All node types that parser can produce. Not all parser versions # will be able to produce every possible node. # -# source://parser/lib/parser/meta.rb#9 +# source://parser//lib/parser/meta.rb#9 Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set) # {Parser::Rewriter} is deprecated. Use {Parser::TreeRewriter} instead. @@ -3239,14 +3239,14 @@ Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set) # @api public # @deprecated Use {Parser::TreeRewriter} # -# source://parser/lib/parser/rewriter.rb#14 +# source://parser//lib/parser/rewriter.rb#14 class Parser::Rewriter < ::Parser::AST::Processor extend ::Parser::Deprecation # @api public # @return [Rewriter] a new instance of Rewriter # - # source://parser/lib/parser/rewriter.rb#98 + # source://parser//lib/parser/rewriter.rb#98 def initialize(*_arg0); end # Returns `true` if the specified node is an assignment node, returns false @@ -3256,7 +3256,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param node [Parser::AST::Node] # @return [Boolean] # - # source://parser/lib/parser/rewriter.rb#38 + # source://parser//lib/parser/rewriter.rb#38 def assignment?(node); end # Inserts new code after the given source range. @@ -3265,7 +3265,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/rewriter.rb#77 + # source://parser//lib/parser/rewriter.rb#77 def insert_after(range, content); end # Inserts new code before the given source range. @@ -3274,7 +3274,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/rewriter.rb#67 + # source://parser//lib/parser/rewriter.rb#67 def insert_before(range, content); end # Removes the source range. @@ -3282,7 +3282,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @api public # @param range [Parser::Source::Range] # - # source://parser/lib/parser/rewriter.rb#47 + # source://parser//lib/parser/rewriter.rb#47 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -3291,7 +3291,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/rewriter.rb#87 + # source://parser//lib/parser/rewriter.rb#87 def replace(range, content); end # Rewrites the AST/source buffer and returns a String containing the new @@ -3302,7 +3302,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param ast [Parser::AST::Node] # @return [String] # - # source://parser/lib/parser/rewriter.rb#23 + # source://parser//lib/parser/rewriter.rb#23 def rewrite(source_buffer, ast); end # Wraps the given source range with the given values. @@ -3311,18 +3311,18 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/rewriter.rb#57 + # source://parser//lib/parser/rewriter.rb#57 def wrap(range, before, after); end end # @api public # -# source://parser/lib/parser/rewriter.rb#91 +# source://parser//lib/parser/rewriter.rb#91 Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # @api public # -# source://parser/lib/parser.rb#30 +# source://parser//lib/parser.rb#30 module Parser::Source; end # A buffer with source code. {Buffer} contains the source code itself, @@ -3333,12 +3333,12 @@ module Parser::Source; end # # @api public # -# source://parser/lib/parser/source/buffer.rb#25 +# source://parser//lib/parser/source/buffer.rb#25 class Parser::Source::Buffer # @api public # @return [Buffer] a new instance of Buffer # - # source://parser/lib/parser/source/buffer.rb#110 + # source://parser//lib/parser/source/buffer.rb#110 def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end # Convert a character index into the source to a column number. @@ -3347,7 +3347,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [Integer] column # - # source://parser/lib/parser/source/buffer.rb#247 + # source://parser//lib/parser/source/buffer.rb#247 def column_for_position(position); end # Convert a character index into the source to a `[line, column]` tuple. @@ -3356,7 +3356,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [[Integer, Integer]] `[line, column]` # - # source://parser/lib/parser/source/buffer.rb#222 + # source://parser//lib/parser/source/buffer.rb#222 def decompose_position(position); end # First line of the buffer, 1 by default. @@ -3364,17 +3364,17 @@ class Parser::Source::Buffer # @api public # @return [Integer] first line # - # source://parser/lib/parser/source/buffer.rb#26 + # source://parser//lib/parser/source/buffer.rb#26 def first_line; end # @api public # - # source://parser/lib/parser/source/buffer.rb#317 + # source://parser//lib/parser/source/buffer.rb#317 def freeze; end # @api public # - # source://parser/lib/parser/source/buffer.rb#323 + # source://parser//lib/parser/source/buffer.rb#323 def inspect; end # Number of last line in the buffer @@ -3382,7 +3382,7 @@ class Parser::Source::Buffer # @api public # @return [Integer] # - # source://parser/lib/parser/source/buffer.rb#312 + # source://parser//lib/parser/source/buffer.rb#312 def last_line; end # Convert a character index into the source to a line number. @@ -3391,7 +3391,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [Integer] line # - # source://parser/lib/parser/source/buffer.rb#236 + # source://parser//lib/parser/source/buffer.rb#236 def line_for_position(position); end # Extract line `lineno` as a new `Range`, taking `first_line` into account. @@ -3401,7 +3401,7 @@ class Parser::Source::Buffer # @raise [IndexError] if `lineno` is out of bounds # @return [Range] # - # source://parser/lib/parser/source/buffer.rb#289 + # source://parser//lib/parser/source/buffer.rb#289 def line_range(lineno); end # Buffer name. If the buffer was created from a file, the name corresponds @@ -3410,7 +3410,7 @@ class Parser::Source::Buffer # @api public # @return [String] buffer name # - # source://parser/lib/parser/source/buffer.rb#26 + # source://parser//lib/parser/source/buffer.rb#26 def name; end # Populate this buffer from a string without encoding autodetection. @@ -3420,7 +3420,7 @@ class Parser::Source::Buffer # @raise [ArgumentError] if already populated # @return [String] # - # source://parser/lib/parser/source/buffer.rb#185 + # source://parser//lib/parser/source/buffer.rb#185 def raw_source=(input); end # Populate this buffer from correspondingly named file. @@ -3431,12 +3431,12 @@ class Parser::Source::Buffer # @raise [ArgumentError] if already populated # @return [Buffer] self # - # source://parser/lib/parser/source/buffer.rb#136 + # source://parser//lib/parser/source/buffer.rb#136 def read; end # @api public # - # source://parser/lib/parser/source/buffer.rb#199 + # source://parser//lib/parser/source/buffer.rb#199 def slice(start, length = T.unsafe(nil)); end # Source code contained in this buffer. @@ -3445,7 +3445,7 @@ class Parser::Source::Buffer # @raise [RuntimeError] if buffer is not populated yet # @return [String] source code # - # source://parser/lib/parser/source/buffer.rb#150 + # source://parser//lib/parser/source/buffer.rb#150 def source; end # Populate this buffer from a string with encoding autodetection. @@ -3457,7 +3457,7 @@ class Parser::Source::Buffer # @raise [EncodingError] if `input` includes invalid byte sequence for the encoding # @return [String] # - # source://parser/lib/parser/source/buffer.rb#167 + # source://parser//lib/parser/source/buffer.rb#167 def source=(input); end # Extract line `lineno` from source, taking `first_line` into account. @@ -3467,7 +3467,7 @@ class Parser::Source::Buffer # @raise [IndexError] if `lineno` is out of bounds # @return [String] # - # source://parser/lib/parser/source/buffer.rb#278 + # source://parser//lib/parser/source/buffer.rb#278 def source_line(lineno); end # Return an `Array` of source code lines. @@ -3475,30 +3475,30 @@ class Parser::Source::Buffer # @api public # @return [Array] # - # source://parser/lib/parser/source/buffer.rb#257 + # source://parser//lib/parser/source/buffer.rb#257 def source_lines; end # @api public # @return [Range] A range covering the whole source # - # source://parser/lib/parser/source/buffer.rb#303 + # source://parser//lib/parser/source/buffer.rb#303 def source_range; end private # @api public # - # source://parser/lib/parser/source/buffer.rb#353 + # source://parser//lib/parser/source/buffer.rb#353 def bsearch(line_begins, position); end # @api public # - # source://parser/lib/parser/source/buffer.rb#330 + # source://parser//lib/parser/source/buffer.rb#330 def line_begins; end # @api public # - # source://parser/lib/parser/source/buffer.rb#344 + # source://parser//lib/parser/source/buffer.rb#344 def line_index_for_position(position); end class << self @@ -3510,7 +3510,7 @@ class Parser::Source::Buffer # @raise [Parser::UnknownEncodingInMagicComment] if the encoding is not recognized # @return [String, nil] encoding name, if recognized # - # source://parser/lib/parser/source/buffer.rb#52 + # source://parser//lib/parser/source/buffer.rb#52 def recognize_encoding(string); end # Recognize encoding of `input` and process it so it could be lexed. @@ -3528,27 +3528,27 @@ class Parser::Source::Buffer # @raise [EncodingError] # @return [String] # - # source://parser/lib/parser/source/buffer.rb#95 + # source://parser//lib/parser/source/buffer.rb#95 def reencode_string(input); end end end # @api private # -# source://parser/lib/parser/source/buffer.rb#31 +# source://parser//lib/parser/source/buffer.rb#31 Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp) # A comment in the source code. # # @api public # -# source://parser/lib/parser/source/comment.rb#17 +# source://parser//lib/parser/source/comment.rb#17 class Parser::Source::Comment # @api public # @param range [Parser::Source::Range] # @return [Comment] a new instance of Comment # - # source://parser/lib/parser/source/comment.rb#67 + # source://parser//lib/parser/source/comment.rb#67 def initialize(range); end # Compares comments. Two comments are equal if they @@ -3558,45 +3558,45 @@ class Parser::Source::Comment # @param other [Object] # @return [Boolean] # - # source://parser/lib/parser/source/comment.rb#120 + # source://parser//lib/parser/source/comment.rb#120 def ==(other); end # @api public # @return [Boolean] true if this is a block comment. # @see #type # - # source://parser/lib/parser/source/comment.rb#109 + # source://parser//lib/parser/source/comment.rb#109 def document?; end # @api public # @return [Boolean] true if this is an inline comment. # @see #type # - # source://parser/lib/parser/source/comment.rb#101 + # source://parser//lib/parser/source/comment.rb#101 def inline?; end # @api public # @return [String] a human-readable representation of this comment # - # source://parser/lib/parser/source/comment.rb#128 + # source://parser//lib/parser/source/comment.rb#128 def inspect; end # @api public # @return [Parser::Source::Range] # - # source://parser/lib/parser/source/comment.rb#20 + # source://parser//lib/parser/source/comment.rb#21 def loc; end # @api public # @return [Parser::Source::Range] # - # source://parser/lib/parser/source/comment.rb#20 + # source://parser//lib/parser/source/comment.rb#20 def location; end # @api public # @return [String] # - # source://parser/lib/parser/source/comment.rb#18 + # source://parser//lib/parser/source/comment.rb#18 def text; end # Type of this comment. @@ -3614,7 +3614,7 @@ class Parser::Source::Comment # @api public # @return [Symbol] # - # source://parser/lib/parser/source/comment.rb#89 + # source://parser//lib/parser/source/comment.rb#89 def type; end class << self @@ -3627,7 +3627,7 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate # - # source://parser/lib/parser/source/comment.rb#32 + # source://parser//lib/parser/source/comment.rb#32 def associate(ast, comments); end # Associate `comments` with `ast` nodes using identity. @@ -3638,7 +3638,7 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate_by_identity # - # source://parser/lib/parser/source/comment.rb#59 + # source://parser//lib/parser/source/comment.rb#59 def associate_by_identity(ast, comments); end # Associate `comments` with `ast` nodes by their location in the @@ -3650,71 +3650,71 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate_locations # - # source://parser/lib/parser/source/comment.rb#46 + # source://parser//lib/parser/source/comment.rb#46 def associate_locations(ast, comments); end end end -# source://parser/lib/parser/source/comment/associator.rb#45 +# source://parser//lib/parser/source/comment/associator.rb#45 class Parser::Source::Comment::Associator - # source://parser/lib/parser/source/comment/associator.rb#51 + # source://parser//lib/parser/source/comment/associator.rb#51 def initialize(ast, comments); end - # source://parser/lib/parser/source/comment/associator.rb#92 + # source://parser//lib/parser/source/comment/associator.rb#92 def associate; end - # source://parser/lib/parser/source/comment/associator.rb#115 + # source://parser//lib/parser/source/comment/associator.rb#115 def associate_by_identity; end - # source://parser/lib/parser/source/comment/associator.rb#104 + # source://parser//lib/parser/source/comment/associator.rb#104 def associate_locations; end - # source://parser/lib/parser/source/comment/associator.rb#46 + # source://parser//lib/parser/source/comment/associator.rb#46 def skip_directives; end - # source://parser/lib/parser/source/comment/associator.rb#46 + # source://parser//lib/parser/source/comment/associator.rb#46 def skip_directives=(_arg0); end private - # source://parser/lib/parser/source/comment/associator.rb#182 + # source://parser//lib/parser/source/comment/associator.rb#182 def advance_comment; end - # source://parser/lib/parser/source/comment/associator.rb#214 + # source://parser//lib/parser/source/comment/associator.rb#214 def advance_through_directives; end - # source://parser/lib/parser/source/comment/associator.rb#206 + # source://parser//lib/parser/source/comment/associator.rb#206 def associate_and_advance_comment(node); end - # source://parser/lib/parser/source/comment/associator.rb#123 + # source://parser//lib/parser/source/comment/associator.rb#123 def children_in_source_order(node); end - # source://parser/lib/parser/source/comment/associator.rb#187 + # source://parser//lib/parser/source/comment/associator.rb#187 def current_comment_before?(node); end - # source://parser/lib/parser/source/comment/associator.rb#194 + # source://parser//lib/parser/source/comment/associator.rb#194 def current_comment_before_end?(node); end - # source://parser/lib/parser/source/comment/associator.rb#201 + # source://parser//lib/parser/source/comment/associator.rb#201 def current_comment_decorates?(node); end - # source://parser/lib/parser/source/comment/associator.rb#135 + # source://parser//lib/parser/source/comment/associator.rb#135 def do_associate; end - # source://parser/lib/parser/source/comment/associator.rb#166 + # source://parser//lib/parser/source/comment/associator.rb#166 def process_leading_comments(node); end - # source://parser/lib/parser/source/comment/associator.rb#173 + # source://parser//lib/parser/source/comment/associator.rb#173 def process_trailing_comments(node); end - # source://parser/lib/parser/source/comment/associator.rb#148 + # source://parser//lib/parser/source/comment/associator.rb#148 def visit(node); end end -# source://parser/lib/parser/source/comment/associator.rb#212 +# source://parser//lib/parser/source/comment/associator.rb#212 Parser::Source::Comment::Associator::MAGIC_COMMENT_RE = T.let(T.unsafe(nil), Regexp) -# source://parser/lib/parser/source/comment/associator.rb#122 +# source://parser//lib/parser/source/comment/associator.rb#122 Parser::Source::Comment::Associator::POSTFIX_TYPES = T.let(T.unsafe(nil), Set) # {Map} relates AST nodes to the source code they were parsed from. @@ -3772,13 +3772,13 @@ Parser::Source::Comment::Associator::POSTFIX_TYPES = T.let(T.unsafe(nil), Set) # # @begin=#, # # @expression=#> # -# source://parser/lib/parser/source/map.rb#70 +# source://parser//lib/parser/source/map.rb#70 class Parser::Source::Map # @api public # @param expression [Range] # @return [Map] a new instance of Map # - # source://parser/lib/parser/source/map.rb#76 + # source://parser//lib/parser/source/map.rb#76 def initialize(expression); end # Compares source maps. @@ -3786,7 +3786,7 @@ class Parser::Source::Map # @api public # @return [Boolean] # - # source://parser/lib/parser/source/map.rb#140 + # source://parser//lib/parser/source/map.rb#140 def ==(other); end # A shortcut for `self.expression.column`. @@ -3794,13 +3794,13 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser/lib/parser/source/map.rb#109 + # source://parser//lib/parser/source/map.rb#109 def column; end # @api public # @return [Range] # - # source://parser/lib/parser/source/map.rb#72 + # source://parser//lib/parser/source/map.rb#72 def expression; end # A shortcut for `self.expression.line`. @@ -3808,7 +3808,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser/lib/parser/source/map.rb#99 + # source://parser//lib/parser/source/map.rb#103 def first_line; end # A shortcut for `self.expression.last_column`. @@ -3816,7 +3816,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser/lib/parser/source/map.rb#125 + # source://parser//lib/parser/source/map.rb#125 def last_column; end # A shortcut for `self.expression.last_line`. @@ -3824,7 +3824,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser/lib/parser/source/map.rb#117 + # source://parser//lib/parser/source/map.rb#117 def last_line; end # A shortcut for `self.expression.line`. @@ -3832,7 +3832,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser/lib/parser/source/map.rb#99 + # source://parser//lib/parser/source/map.rb#99 def line; end # The node that is described by this map. Nodes and maps have 1:1 correspondence. @@ -3840,12 +3840,12 @@ class Parser::Source::Map # @api public # @return [Parser::AST::Node] # - # source://parser/lib/parser/source/map.rb#71 + # source://parser//lib/parser/source/map.rb#71 def node; end # @api private # - # source://parser/lib/parser/source/map.rb#89 + # source://parser//lib/parser/source/map.rb#89 def node=(node); end # Converts this source map to a hash with keys corresponding to @@ -3865,291 +3865,291 @@ class Parser::Source::Map # # } # @return [Hash] # - # source://parser/lib/parser/source/map.rb#166 + # source://parser//lib/parser/source/map.rb#166 def to_hash; end # @api private # - # source://parser/lib/parser/source/map.rb#132 + # source://parser//lib/parser/source/map.rb#132 def with_expression(expression_l); end protected # @api public # - # source://parser/lib/parser/source/map.rb#180 + # source://parser//lib/parser/source/map.rb#180 def update_expression(expression_l); end # @api public # - # source://parser/lib/parser/source/map.rb#176 + # source://parser//lib/parser/source/map.rb#176 def with(&block); end private # @api private # - # source://parser/lib/parser/source/map.rb#82 + # source://parser//lib/parser/source/map.rb#82 def initialize_copy(other); end end -# source://parser/lib/parser/source/map/collection.rb#6 +# source://parser//lib/parser/source/map/collection.rb#6 class Parser::Source::Map::Collection < ::Parser::Source::Map - # source://parser/lib/parser/source/map/collection.rb#10 + # source://parser//lib/parser/source/map/collection.rb#10 def initialize(begin_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/collection.rb#7 + # source://parser//lib/parser/source/map/collection.rb#7 def begin; end - # source://parser/lib/parser/source/map/collection.rb#8 + # source://parser//lib/parser/source/map/collection.rb#8 def end; end end -# source://parser/lib/parser/source/map/condition.rb#6 +# source://parser//lib/parser/source/map/condition.rb#6 class Parser::Source::Map::Condition < ::Parser::Source::Map - # source://parser/lib/parser/source/map/condition.rb#12 + # source://parser//lib/parser/source/map/condition.rb#12 def initialize(keyword_l, begin_l, else_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/condition.rb#8 + # source://parser//lib/parser/source/map/condition.rb#8 def begin; end - # source://parser/lib/parser/source/map/condition.rb#9 + # source://parser//lib/parser/source/map/condition.rb#9 def else; end - # source://parser/lib/parser/source/map/condition.rb#10 + # source://parser//lib/parser/source/map/condition.rb#10 def end; end - # source://parser/lib/parser/source/map/condition.rb#7 + # source://parser//lib/parser/source/map/condition.rb#7 def keyword; end end -# source://parser/lib/parser/source/map/constant.rb#6 +# source://parser//lib/parser/source/map/constant.rb#6 class Parser::Source::Map::Constant < ::Parser::Source::Map - # source://parser/lib/parser/source/map/constant.rb#11 + # source://parser//lib/parser/source/map/constant.rb#11 def initialize(double_colon, name, expression); end - # source://parser/lib/parser/source/map/constant.rb#7 + # source://parser//lib/parser/source/map/constant.rb#7 def double_colon; end - # source://parser/lib/parser/source/map/constant.rb#8 + # source://parser//lib/parser/source/map/constant.rb#8 def name; end - # source://parser/lib/parser/source/map/constant.rb#9 + # source://parser//lib/parser/source/map/constant.rb#9 def operator; end - # source://parser/lib/parser/source/map/constant.rb#20 + # source://parser//lib/parser/source/map/constant.rb#20 def with_operator(operator_l); end protected - # source://parser/lib/parser/source/map/constant.rb#26 + # source://parser//lib/parser/source/map/constant.rb#26 def update_operator(operator_l); end end -# source://parser/lib/parser/source/map/definition.rb#6 +# source://parser//lib/parser/source/map/definition.rb#6 class Parser::Source::Map::Definition < ::Parser::Source::Map - # source://parser/lib/parser/source/map/definition.rb#12 + # source://parser//lib/parser/source/map/definition.rb#12 def initialize(keyword_l, operator_l, name_l, end_l); end - # source://parser/lib/parser/source/map/definition.rb#10 + # source://parser//lib/parser/source/map/definition.rb#10 def end; end - # source://parser/lib/parser/source/map/definition.rb#7 + # source://parser//lib/parser/source/map/definition.rb#7 def keyword; end - # source://parser/lib/parser/source/map/definition.rb#9 + # source://parser//lib/parser/source/map/definition.rb#9 def name; end - # source://parser/lib/parser/source/map/definition.rb#8 + # source://parser//lib/parser/source/map/definition.rb#8 def operator; end end -# source://parser/lib/parser/source/map/for.rb#6 +# source://parser//lib/parser/source/map/for.rb#6 class Parser::Source::Map::For < ::Parser::Source::Map - # source://parser/lib/parser/source/map/for.rb#10 + # source://parser//lib/parser/source/map/for.rb#10 def initialize(keyword_l, in_l, begin_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/for.rb#8 + # source://parser//lib/parser/source/map/for.rb#8 def begin; end - # source://parser/lib/parser/source/map/for.rb#8 + # source://parser//lib/parser/source/map/for.rb#8 def end; end - # source://parser/lib/parser/source/map/for.rb#7 + # source://parser//lib/parser/source/map/for.rb#7 def in; end - # source://parser/lib/parser/source/map/for.rb#7 + # source://parser//lib/parser/source/map/for.rb#7 def keyword; end end -# source://parser/lib/parser/source/map/heredoc.rb#6 +# source://parser//lib/parser/source/map/heredoc.rb#6 class Parser::Source::Map::Heredoc < ::Parser::Source::Map - # source://parser/lib/parser/source/map/heredoc.rb#10 + # source://parser//lib/parser/source/map/heredoc.rb#10 def initialize(begin_l, body_l, end_l); end - # source://parser/lib/parser/source/map/heredoc.rb#7 + # source://parser//lib/parser/source/map/heredoc.rb#7 def heredoc_body; end - # source://parser/lib/parser/source/map/heredoc.rb#8 + # source://parser//lib/parser/source/map/heredoc.rb#8 def heredoc_end; end end -# source://parser/lib/parser/source/map/index.rb#6 +# source://parser//lib/parser/source/map/index.rb#6 class Parser::Source::Map::Index < ::Parser::Source::Map - # source://parser/lib/parser/source/map/index.rb#11 + # source://parser//lib/parser/source/map/index.rb#11 def initialize(begin_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/index.rb#7 + # source://parser//lib/parser/source/map/index.rb#7 def begin; end - # source://parser/lib/parser/source/map/index.rb#8 + # source://parser//lib/parser/source/map/index.rb#8 def end; end - # source://parser/lib/parser/source/map/index.rb#9 + # source://parser//lib/parser/source/map/index.rb#9 def operator; end - # source://parser/lib/parser/source/map/index.rb#21 + # source://parser//lib/parser/source/map/index.rb#21 def with_operator(operator_l); end protected - # source://parser/lib/parser/source/map/index.rb#27 + # source://parser//lib/parser/source/map/index.rb#27 def update_operator(operator_l); end end -# source://parser/lib/parser/source/map/keyword.rb#6 +# source://parser//lib/parser/source/map/keyword.rb#6 class Parser::Source::Map::Keyword < ::Parser::Source::Map - # source://parser/lib/parser/source/map/keyword.rb#11 + # source://parser//lib/parser/source/map/keyword.rb#11 def initialize(keyword_l, begin_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/keyword.rb#8 + # source://parser//lib/parser/source/map/keyword.rb#8 def begin; end - # source://parser/lib/parser/source/map/keyword.rb#9 + # source://parser//lib/parser/source/map/keyword.rb#9 def end; end - # source://parser/lib/parser/source/map/keyword.rb#7 + # source://parser//lib/parser/source/map/keyword.rb#7 def keyword; end end -# source://parser/lib/parser/source/map/method_definition.rb#6 +# source://parser//lib/parser/source/map/method_definition.rb#6 class Parser::Source::Map::MethodDefinition < ::Parser::Source::Map - # source://parser/lib/parser/source/map/method_definition.rb#13 + # source://parser//lib/parser/source/map/method_definition.rb#13 def initialize(keyword_l, operator_l, name_l, end_l, assignment_l, body_l); end - # source://parser/lib/parser/source/map/method_definition.rb#11 + # source://parser//lib/parser/source/map/method_definition.rb#11 def assignment; end - # source://parser/lib/parser/source/map/method_definition.rb#10 + # source://parser//lib/parser/source/map/method_definition.rb#10 def end; end - # source://parser/lib/parser/source/map/method_definition.rb#7 + # source://parser//lib/parser/source/map/method_definition.rb#7 def keyword; end - # source://parser/lib/parser/source/map/method_definition.rb#9 + # source://parser//lib/parser/source/map/method_definition.rb#9 def name; end - # source://parser/lib/parser/source/map/method_definition.rb#8 + # source://parser//lib/parser/source/map/method_definition.rb#8 def operator; end end -# source://parser/lib/parser/source/map/objc_kwarg.rb#6 +# source://parser//lib/parser/source/map/objc_kwarg.rb#6 class Parser::Source::Map::ObjcKwarg < ::Parser::Source::Map - # source://parser/lib/parser/source/map/objc_kwarg.rb#11 + # source://parser//lib/parser/source/map/objc_kwarg.rb#11 def initialize(keyword_l, operator_l, argument_l, expression_l); end - # source://parser/lib/parser/source/map/objc_kwarg.rb#9 + # source://parser//lib/parser/source/map/objc_kwarg.rb#9 def argument; end - # source://parser/lib/parser/source/map/objc_kwarg.rb#7 + # source://parser//lib/parser/source/map/objc_kwarg.rb#7 def keyword; end - # source://parser/lib/parser/source/map/objc_kwarg.rb#8 + # source://parser//lib/parser/source/map/objc_kwarg.rb#8 def operator; end end -# source://parser/lib/parser/source/map/operator.rb#6 +# source://parser//lib/parser/source/map/operator.rb#6 class Parser::Source::Map::Operator < ::Parser::Source::Map - # source://parser/lib/parser/source/map/operator.rb#9 + # source://parser//lib/parser/source/map/operator.rb#9 def initialize(operator, expression); end - # source://parser/lib/parser/source/map/operator.rb#7 + # source://parser//lib/parser/source/map/operator.rb#7 def operator; end end -# source://parser/lib/parser/source/map/rescue_body.rb#6 +# source://parser//lib/parser/source/map/rescue_body.rb#6 class Parser::Source::Map::RescueBody < ::Parser::Source::Map - # source://parser/lib/parser/source/map/rescue_body.rb#11 + # source://parser//lib/parser/source/map/rescue_body.rb#11 def initialize(keyword_l, assoc_l, begin_l, expression_l); end - # source://parser/lib/parser/source/map/rescue_body.rb#8 + # source://parser//lib/parser/source/map/rescue_body.rb#8 def assoc; end - # source://parser/lib/parser/source/map/rescue_body.rb#9 + # source://parser//lib/parser/source/map/rescue_body.rb#9 def begin; end - # source://parser/lib/parser/source/map/rescue_body.rb#7 + # source://parser//lib/parser/source/map/rescue_body.rb#7 def keyword; end end -# source://parser/lib/parser/source/map/send.rb#6 +# source://parser//lib/parser/source/map/send.rb#6 class Parser::Source::Map::Send < ::Parser::Source::Map - # source://parser/lib/parser/source/map/send.rb#13 + # source://parser//lib/parser/source/map/send.rb#13 def initialize(dot_l, selector_l, begin_l, end_l, expression_l); end - # source://parser/lib/parser/source/map/send.rb#10 + # source://parser//lib/parser/source/map/send.rb#10 def begin; end - # source://parser/lib/parser/source/map/send.rb#7 + # source://parser//lib/parser/source/map/send.rb#7 def dot; end - # source://parser/lib/parser/source/map/send.rb#11 + # source://parser//lib/parser/source/map/send.rb#11 def end; end - # source://parser/lib/parser/source/map/send.rb#9 + # source://parser//lib/parser/source/map/send.rb#9 def operator; end - # source://parser/lib/parser/source/map/send.rb#8 + # source://parser//lib/parser/source/map/send.rb#8 def selector; end - # source://parser/lib/parser/source/map/send.rb#24 + # source://parser//lib/parser/source/map/send.rb#24 def with_operator(operator_l); end protected - # source://parser/lib/parser/source/map/send.rb#30 + # source://parser//lib/parser/source/map/send.rb#30 def update_operator(operator_l); end end -# source://parser/lib/parser/source/map/ternary.rb#6 +# source://parser//lib/parser/source/map/ternary.rb#6 class Parser::Source::Map::Ternary < ::Parser::Source::Map - # source://parser/lib/parser/source/map/ternary.rb#10 + # source://parser//lib/parser/source/map/ternary.rb#10 def initialize(question_l, colon_l, expression_l); end - # source://parser/lib/parser/source/map/ternary.rb#8 + # source://parser//lib/parser/source/map/ternary.rb#8 def colon; end - # source://parser/lib/parser/source/map/ternary.rb#7 + # source://parser//lib/parser/source/map/ternary.rb#7 def question; end end -# source://parser/lib/parser/source/map/variable.rb#6 +# source://parser//lib/parser/source/map/variable.rb#6 class Parser::Source::Map::Variable < ::Parser::Source::Map - # source://parser/lib/parser/source/map/variable.rb#10 + # source://parser//lib/parser/source/map/variable.rb#10 def initialize(name_l, expression_l = T.unsafe(nil)); end - # source://parser/lib/parser/source/map/variable.rb#7 + # source://parser//lib/parser/source/map/variable.rb#7 def name; end - # source://parser/lib/parser/source/map/variable.rb#8 + # source://parser//lib/parser/source/map/variable.rb#8 def operator; end - # source://parser/lib/parser/source/map/variable.rb#19 + # source://parser//lib/parser/source/map/variable.rb#19 def with_operator(operator_l); end protected - # source://parser/lib/parser/source/map/variable.rb#25 + # source://parser//lib/parser/source/map/variable.rb#25 def update_operator(operator_l); end end @@ -4163,7 +4163,7 @@ end # # @api public # -# source://parser/lib/parser/source/range.rb#26 +# source://parser//lib/parser/source/range.rb#26 class Parser::Source::Range include ::Comparable @@ -4173,14 +4173,14 @@ class Parser::Source::Range # @param end_pos [Integer] # @return [Range] a new instance of Range # - # source://parser/lib/parser/source/range.rb#37 + # source://parser//lib/parser/source/range.rb#37 def initialize(source_buffer, begin_pos, end_pos); end # Compare ranges, first by begin_pos, then by end_pos. # # @api public # - # source://parser/lib/parser/source/range.rb#301 + # source://parser//lib/parser/source/range.rb#301 def <=>(other); end # by the given amount(s) @@ -4189,33 +4189,33 @@ class Parser::Source::Range # @param Endpoint(s) [Hash] to change, any combination of :begin_pos or :end_pos # @return [Range] the same range as this range but with the given end point(s) adjusted # - # source://parser/lib/parser/source/range.rb#193 + # source://parser//lib/parser/source/range.rb#193 def adjust(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end # @api public # @return [Range] a zero-length range located just before the beginning # of this range. # - # source://parser/lib/parser/source/range.rb#55 + # source://parser//lib/parser/source/range.rb#55 def begin; end # @api public # @return [Integer] index of the first character in the range # - # source://parser/lib/parser/source/range.rb#30 + # source://parser//lib/parser/source/range.rb#30 def begin_pos; end # @api public # @return [Integer] zero-based column number of the beginning of this range. # - # source://parser/lib/parser/source/range.rb#92 + # source://parser//lib/parser/source/range.rb#92 def column; end # @api public # @raise RangeError # @return [::Range] a range of columns spanned by this range. # - # source://parser/lib/parser/source/range.rb#114 + # source://parser//lib/parser/source/range.rb#114 def column_range; end # Return `other.contains?(self)` @@ -4226,7 +4226,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#274 + # source://parser//lib/parser/source/range.rb#274 def contained?(other); end # Returns true iff this range contains (strictly) `other`. @@ -4237,7 +4237,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#262 + # source://parser//lib/parser/source/range.rb#262 def contains?(other); end # Returns true iff both ranges intersect and also have different elements from one another. @@ -4248,7 +4248,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#286 + # source://parser//lib/parser/source/range.rb#286 def crossing?(other); end # Return `true` iff this range and `other` are disjoint. @@ -4259,7 +4259,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#236 + # source://parser//lib/parser/source/range.rb#236 def disjoint?(other); end # Checks if a range is empty; if it contains no characters @@ -4267,23 +4267,25 @@ class Parser::Source::Range # @api public # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#294 + # source://parser//lib/parser/source/range.rb#294 def empty?; end # @api public # @return [Range] a zero-length range located just after the end # of this range. # - # source://parser/lib/parser/source/range.rb#63 + # source://parser//lib/parser/source/range.rb#63 def end; end # @api public # @return [Integer] index of the character after the last character in the range # - # source://parser/lib/parser/source/range.rb#30 + # source://parser//lib/parser/source/range.rb#30 def end_pos; end # @api public + # + # source://parser//lib/parser/source/range.rb#308 def eql?(_arg0); end # Line number of the beginning of this range. By default, the first line @@ -4293,20 +4295,20 @@ class Parser::Source::Range # @return [Integer] line number of the beginning of this range. # @see Buffer # - # source://parser/lib/parser/source/range.rb#83 + # source://parser//lib/parser/source/range.rb#87 def first_line; end # Support for Ranges be used in as Hash indices and in Sets. # # @api public # - # source://parser/lib/parser/source/range.rb#313 + # source://parser//lib/parser/source/range.rb#313 def hash; end # @api public # @return [String] a human-readable representation of this range. # - # source://parser/lib/parser/source/range.rb#320 + # source://parser//lib/parser/source/range.rb#320 def inspect; end # @api public @@ -4314,7 +4316,7 @@ class Parser::Source::Range # @return [Range] overlapping region of this range and `other`, or `nil` # if they do not overlap # - # source://parser/lib/parser/source/range.rb#220 + # source://parser//lib/parser/source/range.rb#220 def intersect(other); end # `is?` provides a concise way to compare the source corresponding to this range. @@ -4324,32 +4326,32 @@ class Parser::Source::Range # @api public # @return [Boolean] # - # source://parser/lib/parser/source/range.rb#141 + # source://parser//lib/parser/source/range.rb#141 def is?(*what); end # @api public # @param other [Range] # @return [Range] smallest possible range spanning both this range and `other`. # - # source://parser/lib/parser/source/range.rb#209 + # source://parser//lib/parser/source/range.rb#209 def join(other); end # @api public # @return [Integer] zero-based column number of the end of this range. # - # source://parser/lib/parser/source/range.rb#106 + # source://parser//lib/parser/source/range.rb#106 def last_column; end # @api public # @return [Integer] line number of the end of this range. # - # source://parser/lib/parser/source/range.rb#99 + # source://parser//lib/parser/source/range.rb#99 def last_line; end # @api public # @return [Integer] amount of characters included in this range. # - # source://parser/lib/parser/source/range.rb#70 + # source://parser//lib/parser/source/range.rb#74 def length; end # Line number of the beginning of this range. By default, the first line @@ -4359,7 +4361,7 @@ class Parser::Source::Range # @return [Integer] line number of the beginning of this range. # @see Buffer # - # source://parser/lib/parser/source/range.rb#83 + # source://parser//lib/parser/source/range.rb#83 def line; end # Return `true` iff this range is not disjoint from `other`. @@ -4368,50 +4370,50 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] `true` if this range and `other` overlap # - # source://parser/lib/parser/source/range.rb#250 + # source://parser//lib/parser/source/range.rb#250 def overlaps?(other); end # @api public # @param new_size [Integer] # @return [Range] a range beginning at the same point as this range and length `new_size`. # - # source://parser/lib/parser/source/range.rb#201 + # source://parser//lib/parser/source/range.rb#201 def resize(new_size); end # @api public # @return [Integer] amount of characters included in this range. # - # source://parser/lib/parser/source/range.rb#70 + # source://parser//lib/parser/source/range.rb#70 def size; end # @api public # @return [String] all source code covered by this range. # - # source://parser/lib/parser/source/range.rb#132 + # source://parser//lib/parser/source/range.rb#132 def source; end # @api public # @return [Parser::Source::Buffer] # - # source://parser/lib/parser/source/range.rb#29 + # source://parser//lib/parser/source/range.rb#29 def source_buffer; end # @api public # @return [String] a line of source code containing the beginning of this range. # - # source://parser/lib/parser/source/range.rb#125 + # source://parser//lib/parser/source/range.rb#125 def source_line; end # @api public # @return [Array] a set of character indexes contained in this range. # - # source://parser/lib/parser/source/range.rb#148 + # source://parser//lib/parser/source/range.rb#148 def to_a; end # @api public # @return [Range] a Ruby range with the same `begin_pos` and `end_pos` # - # source://parser/lib/parser/source/range.rb#155 + # source://parser//lib/parser/source/range.rb#155 def to_range; end # Composes a GNU/Clang-style string representation of the beginning of this @@ -4428,7 +4430,7 @@ class Parser::Source::Range # @api public # @return [String] # - # source://parser/lib/parser/source/range.rb#173 + # source://parser//lib/parser/source/range.rb#173 def to_s; end # to the given value(s). @@ -4437,7 +4439,7 @@ class Parser::Source::Range # @param Endpoint(s) [Hash] to change, any combination of :begin_pos or :end_pos # @return [Range] the same range as this range but with the given end point(s) changed # - # source://parser/lib/parser/source/range.rb#184 + # source://parser//lib/parser/source/range.rb#184 def with(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end end @@ -4459,7 +4461,7 @@ end # @api public # @deprecated Use {TreeRewriter} # -# source://parser/lib/parser/source/rewriter.rb#31 +# source://parser//lib/parser/source/rewriter.rb#31 class Parser::Source::Rewriter extend ::Parser::Deprecation @@ -4468,13 +4470,13 @@ class Parser::Source::Rewriter # @param source_buffer [Source::Buffer] # @return [Rewriter] a new instance of Rewriter # - # source://parser/lib/parser/source/rewriter.rb#39 + # source://parser//lib/parser/source/rewriter.rb#39 def initialize(source_buffer); end # @api public # @return [Diagnostic::Engine] # - # source://parser/lib/parser/source/rewriter.rb#33 + # source://parser//lib/parser/source/rewriter.rb#33 def diagnostics; end # Inserts new code after the given source range. @@ -4486,7 +4488,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#131 + # source://parser//lib/parser/source/rewriter.rb#131 def insert_after(range, content); end # Inserts new code after the given source range by allowing other @@ -4506,7 +4508,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#153 + # source://parser//lib/parser/source/rewriter.rb#153 def insert_after_multi(range, content); end # Inserts new code before the given source range. @@ -4518,7 +4520,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#80 + # source://parser//lib/parser/source/rewriter.rb#80 def insert_before(range, content); end # Inserts new code before the given source range by allowing other @@ -4538,7 +4540,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#117 + # source://parser//lib/parser/source/rewriter.rb#117 def insert_before_multi(range, content); end # Applies all scheduled changes to the `source_buffer` and returns @@ -4548,7 +4550,7 @@ class Parser::Source::Rewriter # @deprecated Use {TreeRewriter#process} # @return [String] # - # source://parser/lib/parser/source/rewriter.rb#178 + # source://parser//lib/parser/source/rewriter.rb#178 def process; end # Removes the source range. @@ -4559,7 +4561,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#67 + # source://parser//lib/parser/source/rewriter.rb#67 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -4571,13 +4573,13 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#167 + # source://parser//lib/parser/source/rewriter.rb#167 def replace(range, content); end # @api public # @return [Source::Buffer] # - # source://parser/lib/parser/source/rewriter.rb#32 + # source://parser//lib/parser/source/rewriter.rb#32 def source_buffer; end # Provides a protected block where a sequence of multiple rewrite actions @@ -4597,7 +4599,7 @@ class Parser::Source::Rewriter # @raise [RuntimeError] when no block is passed # @raise [RuntimeError] when already in a transaction # - # source://parser/lib/parser/source/rewriter.rb#216 + # source://parser//lib/parser/source/rewriter.rb#216 def transaction; end # Inserts new code before and after the given source range. @@ -4610,62 +4612,62 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/rewriter.rb#94 + # source://parser//lib/parser/source/rewriter.rb#94 def wrap(range, before, after); end private # @api public # - # source://parser/lib/parser/source/rewriter.rb#476 + # source://parser//lib/parser/source/rewriter.rb#476 def active_clobber; end # @api public # - # source://parser/lib/parser/source/rewriter.rb#484 + # source://parser//lib/parser/source/rewriter.rb#484 def active_clobber=(value); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#480 + # source://parser//lib/parser/source/rewriter.rb#480 def active_insertions; end # @api public # - # source://parser/lib/parser/source/rewriter.rb#492 + # source://parser//lib/parser/source/rewriter.rb#492 def active_insertions=(value); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#472 + # source://parser//lib/parser/source/rewriter.rb#472 def active_queue; end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#500 + # source://parser//lib/parser/source/rewriter.rb#500 def adjacent?(range1, range2); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#351 + # source://parser//lib/parser/source/rewriter.rb#351 def adjacent_insertion_mask(range); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#366 + # source://parser//lib/parser/source/rewriter.rb#366 def adjacent_insertions?(range); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#347 + # source://parser//lib/parser/source/rewriter.rb#347 def adjacent_position_mask(range); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#377 + # source://parser//lib/parser/source/rewriter.rb#377 def adjacent_updates?(range); end # Schedule a code update. If it overlaps with another update, check @@ -4706,107 +4708,107 @@ class Parser::Source::Rewriter # # @api public # - # source://parser/lib/parser/source/rewriter.rb#280 + # source://parser//lib/parser/source/rewriter.rb#280 def append(action); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#389 + # source://parser//lib/parser/source/rewriter.rb#389 def can_merge?(action, existing); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#355 + # source://parser//lib/parser/source/rewriter.rb#355 def clobbered_insertion?(insertion); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#343 + # source://parser//lib/parser/source/rewriter.rb#343 def clobbered_position_mask(range); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#468 + # source://parser//lib/parser/source/rewriter.rb#468 def in_transaction?; end # @api public # - # source://parser/lib/parser/source/rewriter.rb#410 + # source://parser//lib/parser/source/rewriter.rb#410 def merge_actions(action, existing); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#419 + # source://parser//lib/parser/source/rewriter.rb#419 def merge_actions!(action, existing); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#425 + # source://parser//lib/parser/source/rewriter.rb#425 def merge_replacements(actions); end # @api public # @raise [ClobberingError] # - # source://parser/lib/parser/source/rewriter.rb#450 + # source://parser//lib/parser/source/rewriter.rb#450 def raise_clobber_error(action, existing); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#335 + # source://parser//lib/parser/source/rewriter.rb#335 def record_insertion(range); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#339 + # source://parser//lib/parser/source/rewriter.rb#339 def record_replace(range); end # @api public # - # source://parser/lib/parser/source/rewriter.rb#445 + # source://parser//lib/parser/source/rewriter.rb#445 def replace_actions(old, updated); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/rewriter.rb#383 + # source://parser//lib/parser/source/rewriter.rb#383 def replace_compatible_with_insertion?(replace, insertion); end end -# source://parser/lib/parser/source/rewriter/action.rb#9 +# source://parser//lib/parser/source/rewriter/action.rb#9 class Parser::Source::Rewriter::Action include ::Comparable - # source://parser/lib/parser/source/rewriter/action.rb#15 + # source://parser//lib/parser/source/rewriter/action.rb#15 def initialize(range, replacement = T.unsafe(nil), allow_multiple_insertions = T.unsafe(nil), order = T.unsafe(nil)); end - # source://parser/lib/parser/source/rewriter/action.rb#24 + # source://parser//lib/parser/source/rewriter/action.rb#24 def <=>(other); end - # source://parser/lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#12 def allow_multiple_insertions; end - # source://parser/lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#13 def allow_multiple_insertions?; end - # source://parser/lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#12 def order; end - # source://parser/lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#12 def range; end - # source://parser/lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#12 def replacement; end - # source://parser/lib/parser/source/rewriter/action.rb#30 + # source://parser//lib/parser/source/rewriter/action.rb#30 def to_s; end end # @api public # -# source://parser/lib/parser/source/rewriter.rb#504 +# source://parser//lib/parser/source/rewriter.rb#504 Parser::Source::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # {TreeRewriter} performs the heavy lifting in the source rewriting process. @@ -4887,7 +4889,7 @@ Parser::Source::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # # @api public # -# source://parser/lib/parser/source/tree_rewriter.rb#91 +# source://parser//lib/parser/source/tree_rewriter.rb#91 class Parser::Source::TreeRewriter extend ::Parser::Deprecation @@ -4895,7 +4897,7 @@ class Parser::Source::TreeRewriter # @param source_buffer [Source::Buffer] # @return [TreeRewriter] a new instance of TreeRewriter # - # source://parser/lib/parser/source/tree_rewriter.rb#98 + # source://parser//lib/parser/source/tree_rewriter.rb#98 def initialize(source_buffer, crossing_deletions: T.unsafe(nil), different_replacements: T.unsafe(nil), swallowed_insertions: T.unsafe(nil)); end # Returns a representation of the rewriter as nested insertions (:wrap) and replacements. @@ -4912,7 +4914,7 @@ class Parser::Source::TreeRewriter # @api public # @return [Array<(Symbol, Range, String{, String})>] # - # source://parser/lib/parser/source/tree_rewriter.rb#299 + # source://parser//lib/parser/source/tree_rewriter.rb#299 def as_nested_actions; end # Returns a representation of the rewriter as an ordered list of replacements. @@ -4931,13 +4933,13 @@ class Parser::Source::TreeRewriter # @api public # @return [Array] an ordered list of pairs of range & replacement # - # source://parser/lib/parser/source/tree_rewriter.rb#281 + # source://parser//lib/parser/source/tree_rewriter.rb#281 def as_replacements; end # @api public # @return [Diagnostic::Engine] # - # source://parser/lib/parser/source/tree_rewriter.rb#93 + # source://parser//lib/parser/source/tree_rewriter.rb#93 def diagnostics; end # Returns true iff no (non trivial) update has been recorded @@ -4945,7 +4947,7 @@ class Parser::Source::TreeRewriter # @api public # @return [Boolean] # - # source://parser/lib/parser/source/tree_rewriter.rb#125 + # source://parser//lib/parser/source/tree_rewriter.rb#125 def empty?; end # For special cases where one needs to merge a rewriter attached to a different source_buffer @@ -4957,13 +4959,13 @@ class Parser::Source::TreeRewriter # @raise [IndexError] if action ranges (once offset) don't fit the current buffer # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#168 + # source://parser//lib/parser/source/tree_rewriter.rb#168 def import!(foreign_rewriter, offset: T.unsafe(nil)); end # @api public # @return [Boolean] # - # source://parser/lib/parser/source/tree_rewriter.rb#329 + # source://parser//lib/parser/source/tree_rewriter.rb#329 def in_transaction?; end # Shortcut for `wrap(range, nil, content)` @@ -4974,13 +4976,13 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#242 + # source://parser//lib/parser/source/tree_rewriter.rb#242 def insert_after(range, content); end # @api private # @deprecated Use insert_after or wrap # - # source://parser/lib/parser/source/tree_rewriter.rb#351 + # source://parser//lib/parser/source/tree_rewriter.rb#351 def insert_after_multi(range, text); end # Shortcut for `wrap(range, content, nil)` @@ -4991,18 +4993,18 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#230 + # source://parser//lib/parser/source/tree_rewriter.rb#230 def insert_before(range, content); end # @api private # @deprecated Use insert_after or wrap # - # source://parser/lib/parser/source/tree_rewriter.rb#342 + # source://parser//lib/parser/source/tree_rewriter.rb#342 def insert_before_multi(range, text); end # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#334 + # source://parser//lib/parser/source/tree_rewriter.rb#334 def inspect; end # Returns a new rewriter that consists of the updates of the received @@ -5013,7 +5015,7 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] merge of receiver and argument # - # source://parser/lib/parser/source/tree_rewriter.rb#155 + # source://parser//lib/parser/source/tree_rewriter.rb#155 def merge(with); end # Merges the updates of argument with the receiver. @@ -5026,7 +5028,7 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#139 + # source://parser//lib/parser/source/tree_rewriter.rb#139 def merge!(with); end # Applies all scheduled changes to the `source_buffer` and returns @@ -5035,7 +5037,7 @@ class Parser::Source::TreeRewriter # @api public # @return [String] # - # source://parser/lib/parser/source/tree_rewriter.rb#252 + # source://parser//lib/parser/source/tree_rewriter.rb#252 def process; end # Shortcut for `replace(range, '')` @@ -5045,7 +5047,7 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#217 + # source://parser//lib/parser/source/tree_rewriter.rb#217 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -5056,13 +5058,13 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#193 + # source://parser//lib/parser/source/tree_rewriter.rb#193 def replace(range, content); end # @api public # @return [Source::Buffer] # - # source://parser/lib/parser/source/tree_rewriter.rb#92 + # source://parser//lib/parser/source/tree_rewriter.rb#92 def source_buffer; end # Provides a protected block where a sequence of multiple rewrite actions @@ -5072,7 +5074,7 @@ class Parser::Source::TreeRewriter # @api public # @raise [RuntimeError] when no block is passed # - # source://parser/lib/parser/source/tree_rewriter.rb#310 + # source://parser//lib/parser/source/tree_rewriter.rb#310 def transaction; end # Inserts the given strings before and after the given range. @@ -5084,265 +5086,265 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser/lib/parser/source/tree_rewriter.rb#206 + # source://parser//lib/parser/source/tree_rewriter.rb#206 def wrap(range, insert_before, insert_after); end protected # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#365 + # source://parser//lib/parser/source/tree_rewriter.rb#365 def action_root; end private # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#369 + # source://parser//lib/parser/source/tree_rewriter.rb#369 def action_summary; end # @api public # @raise [ArgumentError] # - # source://parser/lib/parser/source/tree_rewriter.rb#392 + # source://parser//lib/parser/source/tree_rewriter.rb#392 def check_policy_validity; end # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#404 + # source://parser//lib/parser/source/tree_rewriter.rb#404 def check_range_validity(range); end # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#397 + # source://parser//lib/parser/source/tree_rewriter.rb#397 def combine(range, attributes); end # @api public # - # source://parser/lib/parser/source/tree_rewriter.rb#411 + # source://parser//lib/parser/source/tree_rewriter.rb#411 def enforce_policy(event); end # @api public # @raise [Parser::ClobberingError] # - # source://parser/lib/parser/source/tree_rewriter.rb#418 + # source://parser//lib/parser/source/tree_rewriter.rb#418 def trigger_policy(event, range: T.unsafe(nil), conflict: T.unsafe(nil), **arguments); end end # @api public # -# source://parser/lib/parser/source/tree_rewriter.rb#391 +# source://parser//lib/parser/source/tree_rewriter.rb#391 Parser::Source::TreeRewriter::ACTIONS = T.let(T.unsafe(nil), Array) -# source://parser/lib/parser/source/tree_rewriter/action.rb#14 +# source://parser//lib/parser/source/tree_rewriter/action.rb#14 class Parser::Source::TreeRewriter::Action - # source://parser/lib/parser/source/tree_rewriter/action.rb#17 + # source://parser//lib/parser/source/tree_rewriter/action.rb#17 def initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#29 + # source://parser//lib/parser/source/tree_rewriter/action.rb#29 def combine(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#68 + # source://parser//lib/parser/source/tree_rewriter/action.rb#68 def contract; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#34 + # source://parser//lib/parser/source/tree_rewriter/action.rb#34 def empty?; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#15 + # source://parser//lib/parser/source/tree_rewriter/action.rb#15 def insert_after; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#15 + # source://parser//lib/parser/source/tree_rewriter/action.rb#15 def insert_before; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#58 + # source://parser//lib/parser/source/tree_rewriter/action.rb#58 def insertion?; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#81 + # source://parser//lib/parser/source/tree_rewriter/action.rb#81 def moved(source_buffer, offset); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#50 + # source://parser//lib/parser/source/tree_rewriter/action.rb#50 def nested_actions; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#41 + # source://parser//lib/parser/source/tree_rewriter/action.rb#41 def ordered_replacements; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#15 + # source://parser//lib/parser/source/tree_rewriter/action.rb#15 def range; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#15 + # source://parser//lib/parser/source/tree_rewriter/action.rb#15 def replacement; end protected - # source://parser/lib/parser/source/tree_rewriter/action.rb#159 + # source://parser//lib/parser/source/tree_rewriter/action.rb#159 def analyse_hierarchy(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#146 + # source://parser//lib/parser/source/tree_rewriter/action.rb#146 def bsearch_child_index(from = T.unsafe(nil)); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#225 + # source://parser//lib/parser/source/tree_rewriter/action.rb#225 def call_enforcer_for_merge(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#205 + # source://parser//lib/parser/source/tree_rewriter/action.rb#205 def check_fusible(action, *fusible); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#95 + # source://parser//lib/parser/source/tree_rewriter/action.rb#95 def children; end - # source://parser/lib/parser/source/tree_rewriter/action.rb#130 + # source://parser//lib/parser/source/tree_rewriter/action.rb#130 def combine_children(more_children); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#103 + # source://parser//lib/parser/source/tree_rewriter/action.rb#103 def do_combine(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#136 + # source://parser//lib/parser/source/tree_rewriter/action.rb#136 def fuse_deletions(action, fusible, other_sibblings); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#216 + # source://parser//lib/parser/source/tree_rewriter/action.rb#216 def merge(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#111 + # source://parser//lib/parser/source/tree_rewriter/action.rb#111 def place_in_hierarchy(action); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#233 + # source://parser//lib/parser/source/tree_rewriter/action.rb#233 def swallow(children); end - # source://parser/lib/parser/source/tree_rewriter/action.rb#97 + # source://parser//lib/parser/source/tree_rewriter/action.rb#97 def with(range: T.unsafe(nil), enforcer: T.unsafe(nil), children: T.unsafe(nil), insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil)); end end # @api public # -# source://parser/lib/parser/source/tree_rewriter.rb#356 +# source://parser//lib/parser/source/tree_rewriter.rb#356 Parser::Source::TreeRewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # @api public # -# source://parser/lib/parser/source/tree_rewriter.rb#417 +# source://parser//lib/parser/source/tree_rewriter.rb#417 Parser::Source::TreeRewriter::POLICY_TO_LEVEL = T.let(T.unsafe(nil), Hash) -# source://parser/lib/parser/static_environment.rb#5 +# source://parser//lib/parser/static_environment.rb#5 class Parser::StaticEnvironment # @return [StaticEnvironment] a new instance of StaticEnvironment # - # source://parser/lib/parser/static_environment.rb#17 + # source://parser//lib/parser/static_environment.rb#17 def initialize; end - # source://parser/lib/parser/static_environment.rb#55 + # source://parser//lib/parser/static_environment.rb#55 def declare(name); end # Anonymous blockarg # - # source://parser/lib/parser/static_environment.rb#77 + # source://parser//lib/parser/static_environment.rb#77 def declare_anonymous_blockarg; end # Anonymous kwresarg # - # source://parser/lib/parser/static_environment.rb#113 + # source://parser//lib/parser/static_environment.rb#113 def declare_anonymous_kwrestarg; end # Anonymous restarg # - # source://parser/lib/parser/static_environment.rb#95 + # source://parser//lib/parser/static_environment.rb#95 def declare_anonymous_restarg; end # Forward args # - # source://parser/lib/parser/static_environment.rb#67 + # source://parser//lib/parser/static_environment.rb#67 def declare_forward_args; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#61 + # source://parser//lib/parser/static_environment.rb#61 def declared?(name); end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#81 + # source://parser//lib/parser/static_environment.rb#81 def declared_anonymous_blockarg?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#85 + # source://parser//lib/parser/static_environment.rb#85 def declared_anonymous_blockarg_in_current_scpe?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#117 + # source://parser//lib/parser/static_environment.rb#117 def declared_anonymous_kwrestarg?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#121 + # source://parser//lib/parser/static_environment.rb#121 def declared_anonymous_kwrestarg_in_current_scope?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#99 + # source://parser//lib/parser/static_environment.rb#99 def declared_anonymous_restarg?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#103 + # source://parser//lib/parser/static_environment.rb#103 def declared_anonymous_restarg_in_current_scope?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#71 + # source://parser//lib/parser/static_environment.rb#71 def declared_forward_args?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#129 + # source://parser//lib/parser/static_environment.rb#129 def empty?; end - # source://parser/lib/parser/static_environment.rb#33 + # source://parser//lib/parser/static_environment.rb#33 def extend_dynamic; end - # source://parser/lib/parser/static_environment.rb#26 + # source://parser//lib/parser/static_environment.rb#26 def extend_static; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#89 + # source://parser//lib/parser/static_environment.rb#89 def parent_has_anonymous_blockarg?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#125 + # source://parser//lib/parser/static_environment.rb#125 def parent_has_anonymous_kwrestarg?; end # @return [Boolean] # - # source://parser/lib/parser/static_environment.rb#107 + # source://parser//lib/parser/static_environment.rb#107 def parent_has_anonymous_restarg?; end - # source://parser/lib/parser/static_environment.rb#21 + # source://parser//lib/parser/static_environment.rb#21 def reset; end - # source://parser/lib/parser/static_environment.rb#49 + # source://parser//lib/parser/static_environment.rb#49 def unextend; end end -# source://parser/lib/parser/static_environment.rb#15 +# source://parser//lib/parser/static_environment.rb#15 Parser::StaticEnvironment::ANONYMOUS_BLOCKARG_INHERITED = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#14 +# source://parser//lib/parser/static_environment.rb#14 Parser::StaticEnvironment::ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#12 +# source://parser//lib/parser/static_environment.rb#12 Parser::StaticEnvironment::ANONYMOUS_KWRESTARG_INHERITED = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#11 +# source://parser//lib/parser/static_environment.rb#11 Parser::StaticEnvironment::ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#9 +# source://parser//lib/parser/static_environment.rb#9 Parser::StaticEnvironment::ANONYMOUS_RESTARG_INHERITED = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#8 +# source://parser//lib/parser/static_environment.rb#8 Parser::StaticEnvironment::ANONYMOUS_RESTARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol) -# source://parser/lib/parser/static_environment.rb#6 +# source://parser//lib/parser/static_environment.rb#6 Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol) # {Parser::SyntaxError} is raised whenever parser detects a syntax error, @@ -5350,18 +5352,18 @@ Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol) # # @api public # -# source://parser/lib/parser/syntax_error.rb#13 +# source://parser//lib/parser/syntax_error.rb#13 class Parser::SyntaxError < ::StandardError # @api public # @return [SyntaxError] a new instance of SyntaxError # - # source://parser/lib/parser/syntax_error.rb#16 + # source://parser//lib/parser/syntax_error.rb#16 def initialize(diagnostic); end # @api public # @return [Parser::Diagnostic] # - # source://parser/lib/parser/syntax_error.rb#14 + # source://parser//lib/parser/syntax_error.rb#14 def diagnostic; end end @@ -5410,7 +5412,7 @@ end # # @api public # -# source://parser/lib/parser/tree_rewriter.rb#51 +# source://parser//lib/parser/tree_rewriter.rb#51 class Parser::TreeRewriter < ::Parser::AST::Processor # Returns `true` if the specified node is an assignment node, returns false # otherwise. @@ -5419,7 +5421,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param node [Parser::AST::Node] # @return [Boolean] # - # source://parser/lib/parser/tree_rewriter.rb#79 + # source://parser//lib/parser/tree_rewriter.rb#79 def assignment?(node); end # Inserts new code after the given source range. @@ -5428,7 +5430,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/tree_rewriter.rb#118 + # source://parser//lib/parser/tree_rewriter.rb#118 def insert_after(range, content); end # Inserts new code before the given source range. @@ -5437,7 +5439,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/tree_rewriter.rb#108 + # source://parser//lib/parser/tree_rewriter.rb#108 def insert_before(range, content); end # Removes the source range. @@ -5445,7 +5447,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @api public # @param range [Parser::Source::Range] # - # source://parser/lib/parser/tree_rewriter.rb#88 + # source://parser//lib/parser/tree_rewriter.rb#88 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -5454,7 +5456,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/tree_rewriter.rb#128 + # source://parser//lib/parser/tree_rewriter.rb#128 def replace(range, content); end # Rewrites the AST/source buffer and returns a String containing the new @@ -5467,7 +5469,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # policy arguments for TreeRewriter (optional) # @return [String] # - # source://parser/lib/parser/tree_rewriter.rb#62 + # source://parser//lib/parser/tree_rewriter.rb#62 def rewrite(source_buffer, ast, **policy); end # Wraps the given source range with the given values. @@ -5476,7 +5478,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param range [Parser::Source::Range] # @param content [String] # - # source://parser/lib/parser/tree_rewriter.rb#98 + # source://parser//lib/parser/tree_rewriter.rb#98 def wrap(range, before, after); end end @@ -5488,38 +5490,38 @@ end # # @api public # -# source://parser/lib/parser/unknown_encoding_in_magic_comment_error.rb#13 +# source://parser//lib/parser/unknown_encoding_in_magic_comment_error.rb#13 class Parser::UnknownEncodingInMagicComment < ::ArgumentError; end -# source://parser/lib/parser/version.rb#4 +# source://parser//lib/parser/version.rb#4 Parser::VERSION = T.let(T.unsafe(nil), String) -# source://parser/lib/parser/variables_stack.rb#5 +# source://parser//lib/parser/variables_stack.rb#5 class Parser::VariablesStack # @return [VariablesStack] a new instance of VariablesStack # - # source://parser/lib/parser/variables_stack.rb#6 + # source://parser//lib/parser/variables_stack.rb#6 def initialize; end - # source://parser/lib/parser/variables_stack.rb#27 + # source://parser//lib/parser/variables_stack.rb#27 def declare(name); end # @return [Boolean] # - # source://parser/lib/parser/variables_stack.rb#31 + # source://parser//lib/parser/variables_stack.rb#31 def declared?(name); end # @return [Boolean] # - # source://parser/lib/parser/variables_stack.rb#11 + # source://parser//lib/parser/variables_stack.rb#11 def empty?; end - # source://parser/lib/parser/variables_stack.rb#19 + # source://parser//lib/parser/variables_stack.rb#19 def pop; end - # source://parser/lib/parser/variables_stack.rb#15 + # source://parser//lib/parser/variables_stack.rb#15 def push; end - # source://parser/lib/parser/variables_stack.rb#23 + # source://parser//lib/parser/variables_stack.rb#23 def reset; end end diff --git a/sorbet/rbi/gems/pp@0.6.2.rbi b/sorbet/rbi/gems/pp@0.6.2.rbi index 0a82eb876..05d7e45b7 100644 --- a/sorbet/rbi/gems/pp@0.6.2.rbi +++ b/sorbet/rbi/gems/pp@0.6.2.rbi @@ -283,7 +283,7 @@ module PP::PPMethods # A pretty print for a pair of Hash # - # source://pp//lib/pp.rb#303 + # source://pp//lib/pp.rb#322 def pp_hash_pair(k, v); end # A present standard failsafe for pretty printing any given Object diff --git a/sorbet/rbi/gems/prism@1.3.0.rbi b/sorbet/rbi/gems/prism@1.3.0.rbi index f1583fe8d..5044147f1 100644 --- a/sorbet/rbi/gems/prism@1.3.0.rbi +++ b/sorbet/rbi/gems/prism@1.3.0.rbi @@ -34,7 +34,7 @@ class Parser::Base; end # "Parsing Ruby is suddenly manageable!" # - You, hopefully # -# source://prism/lib/prism.rb#8 +# source://prism//lib/prism.rb#8 module Prism class << self # Mirror the Prism.dump API by using the serialization API. @@ -55,7 +55,7 @@ module Prism # # For supported options, see Prism::parse. # - # source://prism/lib/prism.rb#47 + # source://prism//lib/prism.rb#47 sig { params(source: String, options: T::Hash[Symbol, T.untyped]).returns(Prism::LexCompat::Result) } def lex_compat(source, **options); end @@ -69,7 +69,7 @@ module Prism # returns the same tokens. Raises SyntaxError if the syntax in source is # invalid. # - # source://prism/lib/prism.rb#57 + # source://prism//lib/prism.rb#57 sig { params(source: String).returns(T::Array[T.untyped]) } def lex_ripper(source); end @@ -78,7 +78,7 @@ module Prism # # Load the serialized AST using the source as a reference into a tree. # - # source://prism/lib/prism.rb#65 + # source://prism//lib/prism.rb#65 sig { params(source: String, serialized: String).returns(Prism::ParseResult) } def load(source, serialized); end @@ -144,17 +144,17 @@ end # eagerly converted to UTF-8, this class will be used as well. This is because # at that point we will treat everything as single-byte characters. # -# source://prism/lib/prism/parse_result.rb#236 +# source://prism//lib/prism/parse_result.rb#236 class Prism::ASCIISource < ::Prism::Source # Return the column number in characters for the given byte offset. # - # source://prism/lib/prism/parse_result.rb#243 + # source://prism//lib/prism/parse_result.rb#243 sig { params(byte_offset: Integer).returns(Integer) } def character_column(byte_offset); end # Return the character offset for the given byte offset. # - # source://prism/lib/prism/parse_result.rb#238 + # source://prism//lib/prism/parse_result.rb#238 sig { params(byte_offset: Integer).returns(Integer) } def character_offset(byte_offset); end @@ -162,7 +162,7 @@ class Prism::ASCIISource < ::Prism::Source # same interface. We can do this because code units are always equivalent to # byte offsets for ASCII-only sources. # - # source://prism/lib/prism/parse_result.rb#260 + # source://prism//lib/prism/parse_result.rb#260 sig do params( encoding: Encoding @@ -174,7 +174,7 @@ class Prism::ASCIISource < ::Prism::Source # `code_units_offset`, which is a more expensive operation. This is # essentially the same as `Prism::Source#column`. # - # source://prism/lib/prism/parse_result.rb#267 + # source://prism//lib/prism/parse_result.rb#267 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_column(byte_offset, encoding); end @@ -185,7 +185,7 @@ class Prism::ASCIISource < ::Prism::Source # concept of code units that differs from the number of characters in other # encodings, it is not captured here. # - # source://prism/lib/prism/parse_result.rb#253 + # source://prism//lib/prism/parse_result.rb#253 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_offset(byte_offset, encoding); end end @@ -195,13 +195,13 @@ end # alias $foo $bar # ^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#316 +# source://prism//lib/prism/node.rb#316 class Prism::AliasGlobalVariableNode < ::Prism::Node # Initialize a new AliasGlobalVariableNode node. # # @return [AliasGlobalVariableNode] a new instance of AliasGlobalVariableNode # - # source://prism/lib/prism/node.rb#318 + # source://prism//lib/prism/node.rb#318 sig do params( source: Prism::Source, @@ -218,36 +218,36 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#411 + # source://prism//lib/prism/node.rb#411 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#329 + # source://prism//lib/prism/node.rb#329 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#334 + # source://prism//lib/prism/node.rb#334 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#344 + # source://prism//lib/prism/node.rb#344 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#339 + # source://prism//lib/prism/node.rb#339 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?new_name: GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode, ?old_name: GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | SymbolNode | MissingNode, ?keyword_loc: Location) -> AliasGlobalVariableNode # - # source://prism/lib/prism/node.rb#349 + # source://prism//lib/prism/node.rb#349 sig do params( node_id: Integer, @@ -263,13 +263,13 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#334 + # source://prism//lib/prism/node.rb#354 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, new_name: GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode, old_name: GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | SymbolNode | MissingNode, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#357 + # source://prism//lib/prism/node.rb#357 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -278,13 +278,13 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#395 + # source://prism//lib/prism/node.rb#395 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#390 + # source://prism//lib/prism/node.rb#390 sig { returns(String) } def keyword; end @@ -293,7 +293,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^^ # - # source://prism/lib/prism/node.rb#377 + # source://prism//lib/prism/node.rb#377 sig { returns(Prism::Location) } def keyword_loc; end @@ -302,7 +302,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^ # - # source://prism/lib/prism/node.rb#365 + # source://prism//lib/prism/node.rb#365 sig { returns(T.any(Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)) } def new_name; end @@ -311,7 +311,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^ # - # source://prism/lib/prism/node.rb#371 + # source://prism//lib/prism/node.rb#371 sig do returns(T.any(Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::SymbolNode, Prism::MissingNode)) end @@ -320,19 +320,19 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#385 + # source://prism//lib/prism/node.rb#385 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#400 + # source://prism//lib/prism/node.rb#400 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#405 + # source://prism//lib/prism/node.rb#405 def type; end end end @@ -342,13 +342,13 @@ end # alias foo bar # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#423 +# source://prism//lib/prism/node.rb#423 class Prism::AliasMethodNode < ::Prism::Node # Initialize a new AliasMethodNode node. # # @return [AliasMethodNode] a new instance of AliasMethodNode # - # source://prism/lib/prism/node.rb#425 + # source://prism//lib/prism/node.rb#425 sig do params( source: Prism::Source, @@ -365,36 +365,36 @@ class Prism::AliasMethodNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#530 + # source://prism//lib/prism/node.rb#530 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#436 + # source://prism//lib/prism/node.rb#436 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#441 + # source://prism//lib/prism/node.rb#441 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#451 + # source://prism//lib/prism/node.rb#451 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#446 + # source://prism//lib/prism/node.rb#446 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?new_name: SymbolNode | InterpolatedSymbolNode, ?old_name: SymbolNode | InterpolatedSymbolNode | GlobalVariableReadNode | MissingNode, ?keyword_loc: Location) -> AliasMethodNode # - # source://prism/lib/prism/node.rb#456 + # source://prism//lib/prism/node.rb#456 sig do params( node_id: Integer, @@ -410,13 +410,13 @@ class Prism::AliasMethodNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#441 + # source://prism//lib/prism/node.rb#461 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, new_name: SymbolNode | InterpolatedSymbolNode, old_name: SymbolNode | InterpolatedSymbolNode | GlobalVariableReadNode | MissingNode, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#464 + # source://prism//lib/prism/node.rb#464 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -425,13 +425,13 @@ class Prism::AliasMethodNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#514 + # source://prism//lib/prism/node.rb#514 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#509 + # source://prism//lib/prism/node.rb#509 sig { returns(String) } def keyword; end @@ -440,7 +440,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias foo bar # ^^^^^ # - # source://prism/lib/prism/node.rb#496 + # source://prism//lib/prism/node.rb#496 sig { returns(Prism::Location) } def keyword_loc; end @@ -455,7 +455,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias :"#{foo}" :"#{bar}" # ^^^^^^^^^ # - # source://prism/lib/prism/node.rb#478 + # source://prism//lib/prism/node.rb#478 sig { returns(T.any(Prism::SymbolNode, Prism::InterpolatedSymbolNode)) } def new_name; end @@ -470,7 +470,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias :"#{foo}" :"#{bar}" # ^^^^^^^^^ # - # source://prism/lib/prism/node.rb#490 + # source://prism//lib/prism/node.rb#490 sig do returns(T.any(Prism::SymbolNode, Prism::InterpolatedSymbolNode, Prism::GlobalVariableReadNode, Prism::MissingNode)) end @@ -479,19 +479,19 @@ class Prism::AliasMethodNode < ::Prism::Node # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#504 + # source://prism//lib/prism/node.rb#504 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#519 + # source://prism//lib/prism/node.rb#519 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#524 + # source://prism//lib/prism/node.rb#524 def type; end end end @@ -501,13 +501,13 @@ end # foo => bar | baz # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#542 +# source://prism//lib/prism/node.rb#542 class Prism::AlternationPatternNode < ::Prism::Node # Initialize a new AlternationPatternNode node. # # @return [AlternationPatternNode] a new instance of AlternationPatternNode # - # source://prism/lib/prism/node.rb#544 + # source://prism//lib/prism/node.rb#544 sig do params( source: Prism::Source, @@ -524,36 +524,36 @@ class Prism::AlternationPatternNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#637 + # source://prism//lib/prism/node.rb#637 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#555 + # source://prism//lib/prism/node.rb#555 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#560 + # source://prism//lib/prism/node.rb#560 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#570 + # source://prism//lib/prism/node.rb#570 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#565 + # source://prism//lib/prism/node.rb#565 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node, ?right: Prism::node, ?operator_loc: Location) -> AlternationPatternNode # - # source://prism/lib/prism/node.rb#575 + # source://prism//lib/prism/node.rb#575 sig do params( node_id: Integer, @@ -569,13 +569,13 @@ class Prism::AlternationPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#560 + # source://prism//lib/prism/node.rb#580 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, left: Prism::node, right: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#583 + # source://prism//lib/prism/node.rb#583 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -584,7 +584,7 @@ class Prism::AlternationPatternNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#621 + # source://prism//lib/prism/node.rb#621 sig { override.returns(String) } def inspect; end @@ -593,13 +593,13 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^^^ # - # source://prism/lib/prism/node.rb#591 + # source://prism//lib/prism/node.rb#591 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#616 + # source://prism//lib/prism/node.rb#616 sig { returns(String) } def operator; end @@ -608,7 +608,7 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^ # - # source://prism/lib/prism/node.rb#603 + # source://prism//lib/prism/node.rb#603 sig { returns(Prism::Location) } def operator_loc; end @@ -617,26 +617,26 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^^^ # - # source://prism/lib/prism/node.rb#597 + # source://prism//lib/prism/node.rb#597 sig { returns(Prism::Node) } def right; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#611 + # source://prism//lib/prism/node.rb#611 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#626 + # source://prism//lib/prism/node.rb#626 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#631 + # source://prism//lib/prism/node.rb#631 def type; end end end @@ -646,13 +646,13 @@ end # left and right # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#649 +# source://prism//lib/prism/node.rb#649 class Prism::AndNode < ::Prism::Node # Initialize a new AndNode node. # # @return [AndNode] a new instance of AndNode # - # source://prism/lib/prism/node.rb#651 + # source://prism//lib/prism/node.rb#651 sig do params( source: Prism::Source, @@ -669,36 +669,36 @@ class Prism::AndNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#750 + # source://prism//lib/prism/node.rb#750 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#662 + # source://prism//lib/prism/node.rb#662 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#667 + # source://prism//lib/prism/node.rb#667 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#677 + # source://prism//lib/prism/node.rb#677 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#672 + # source://prism//lib/prism/node.rb#672 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node, ?right: Prism::node, ?operator_loc: Location) -> AndNode # - # source://prism/lib/prism/node.rb#682 + # source://prism//lib/prism/node.rb#682 sig do params( node_id: Integer, @@ -714,13 +714,13 @@ class Prism::AndNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#667 + # source://prism//lib/prism/node.rb#687 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, left: Prism::node, right: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#690 + # source://prism//lib/prism/node.rb#690 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -729,7 +729,7 @@ class Prism::AndNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#734 + # source://prism//lib/prism/node.rb#734 sig { override.returns(String) } def inspect; end @@ -741,13 +741,13 @@ class Prism::AndNode < ::Prism::Node # 1 && 2 # ^ # - # source://prism/lib/prism/node.rb#701 + # source://prism//lib/prism/node.rb#701 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#729 + # source://prism//lib/prism/node.rb#729 sig { returns(String) } def operator; end @@ -756,7 +756,7 @@ class Prism::AndNode < ::Prism::Node # left and right # ^^^ # - # source://prism/lib/prism/node.rb#716 + # source://prism//lib/prism/node.rb#716 sig { returns(Prism::Location) } def operator_loc; end @@ -768,26 +768,26 @@ class Prism::AndNode < ::Prism::Node # 1 and 2 # ^ # - # source://prism/lib/prism/node.rb#710 + # source://prism//lib/prism/node.rb#710 sig { returns(Prism::Node) } def right; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#724 + # source://prism//lib/prism/node.rb#724 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#739 + # source://prism//lib/prism/node.rb#739 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#744 + # source://prism//lib/prism/node.rb#744 def type; end end end @@ -797,13 +797,13 @@ end # return foo, bar, baz # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#762 +# source://prism//lib/prism/node.rb#762 class Prism::ArgumentsNode < ::Prism::Node # Initialize a new ArgumentsNode node. # # @return [ArgumentsNode] a new instance of ArgumentsNode # - # source://prism/lib/prism/node.rb#764 + # source://prism//lib/prism/node.rb#764 sig do params( source: Prism::Source, @@ -818,12 +818,12 @@ class Prism::ArgumentsNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#853 + # source://prism//lib/prism/node.rb#853 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#773 + # source://prism//lib/prism/node.rb#773 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -832,25 +832,25 @@ class Prism::ArgumentsNode < ::Prism::Node # foo(bar, baz) # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#834 + # source://prism//lib/prism/node.rb#834 sig { returns(T::Array[Prism::Node]) } def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#778 + # source://prism//lib/prism/node.rb#778 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#788 + # source://prism//lib/prism/node.rb#788 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#783 + # source://prism//lib/prism/node.rb#783 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -858,7 +858,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#806 + # source://prism//lib/prism/node.rb#806 sig { returns(T::Boolean) } def contains_forwarding?; end @@ -866,7 +866,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#816 + # source://prism//lib/prism/node.rb#816 sig { returns(T::Boolean) } def contains_keyword_splat?; end @@ -874,7 +874,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#811 + # source://prism//lib/prism/node.rb#811 sig { returns(T::Boolean) } def contains_keywords?; end @@ -882,7 +882,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#826 + # source://prism//lib/prism/node.rb#826 sig { returns(T::Boolean) } def contains_multiple_splats?; end @@ -890,13 +890,13 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#821 + # source://prism//lib/prism/node.rb#821 sig { returns(T::Boolean) } def contains_splat?; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?arguments: Array[Prism::node]) -> ArgumentsNode # - # source://prism/lib/prism/node.rb#793 + # source://prism//lib/prism/node.rb#793 sig do params( node_id: Integer, @@ -910,13 +910,13 @@ class Prism::ArgumentsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#778 + # source://prism//lib/prism/node.rb#798 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, arguments: Array[Prism::node] } # - # source://prism/lib/prism/node.rb#801 + # source://prism//lib/prism/node.rb#801 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -925,52 +925,52 @@ class Prism::ArgumentsNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#837 + # source://prism//lib/prism/node.rb#837 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#842 + # source://prism//lib/prism/node.rb#842 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#847 + # source://prism//lib/prism/node.rb#847 def type; end end end # Flags for arguments nodes. # -# source://prism/lib/prism/node.rb#18427 +# source://prism//lib/prism/node.rb#18427 module Prism::ArgumentsNodeFlags; end # if the arguments contain forwarding # -# source://prism/lib/prism/node.rb#18429 +# source://prism//lib/prism/node.rb#18429 Prism::ArgumentsNodeFlags::CONTAINS_FORWARDING = T.let(T.unsafe(nil), Integer) # if the arguments contain keywords # -# source://prism/lib/prism/node.rb#18432 +# source://prism//lib/prism/node.rb#18432 Prism::ArgumentsNodeFlags::CONTAINS_KEYWORDS = T.let(T.unsafe(nil), Integer) # if the arguments contain a keyword splat # -# source://prism/lib/prism/node.rb#18435 +# source://prism//lib/prism/node.rb#18435 Prism::ArgumentsNodeFlags::CONTAINS_KEYWORD_SPLAT = T.let(T.unsafe(nil), Integer) # if the arguments contain multiple splats # -# source://prism/lib/prism/node.rb#18441 +# source://prism//lib/prism/node.rb#18441 Prism::ArgumentsNodeFlags::CONTAINS_MULTIPLE_SPLATS = T.let(T.unsafe(nil), Integer) # if the arguments contain a splat # -# source://prism/lib/prism/node.rb#18438 +# source://prism//lib/prism/node.rb#18438 Prism::ArgumentsNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # Represents an array literal. This can be a regular array using brackets or a special array using % like %w or %i. @@ -978,13 +978,13 @@ Prism::ArgumentsNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # [1, 2, 3] # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#865 +# source://prism//lib/prism/node.rb#865 class Prism::ArrayNode < ::Prism::Node # Initialize a new ArrayNode node. # # @return [ArrayNode] a new instance of ArrayNode # - # source://prism/lib/prism/node.rb#867 + # source://prism//lib/prism/node.rb#867 sig do params( source: Prism::Source, @@ -1001,24 +1001,24 @@ class Prism::ArrayNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#993 + # source://prism//lib/prism/node.rb#993 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#878 + # source://prism//lib/prism/node.rb#878 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#883 + # source://prism//lib/prism/node.rb#883 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#972 + # source://prism//lib/prism/node.rb#972 sig { returns(T.nilable(String)) } def closing; end @@ -1029,19 +1029,19 @@ class Prism::ArrayNode < ::Prism::Node # %I(apple orange banana) # ")" # foo = 1, 2, 3 # nil # - # source://prism/lib/prism/node.rb#948 + # source://prism//lib/prism/node.rb#948 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#893 + # source://prism//lib/prism/node.rb#893 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#888 + # source://prism//lib/prism/node.rb#888 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -1049,13 +1049,13 @@ class Prism::ArrayNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#911 + # source://prism//lib/prism/node.rb#911 sig { returns(T::Boolean) } def contains_splat?; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?elements: Array[Prism::node], ?opening_loc: Location?, ?closing_loc: Location?) -> ArrayNode # - # source://prism/lib/prism/node.rb#898 + # source://prism//lib/prism/node.rb#898 sig do params( node_id: Integer, @@ -1071,19 +1071,19 @@ class Prism::ArrayNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#883 + # source://prism//lib/prism/node.rb#903 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, elements: Array[Prism::node], opening_loc: Location?, closing_loc: Location? } # - # source://prism/lib/prism/node.rb#906 + # source://prism//lib/prism/node.rb#906 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Represent the list of zero or more [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression) within the array. # - # source://prism/lib/prism/node.rb#916 + # source://prism//lib/prism/node.rb#916 sig { returns(T::Array[Prism::Node]) } def elements; end @@ -1092,13 +1092,13 @@ class Prism::ArrayNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#977 + # source://prism//lib/prism/node.rb#977 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#967 + # source://prism//lib/prism/node.rb#967 sig { returns(T.nilable(String)) } def opening; end @@ -1109,44 +1109,44 @@ class Prism::ArrayNode < ::Prism::Node # %I(apple orange banana) # "%I(" # foo = 1, 2, 3 # nil # - # source://prism/lib/prism/node.rb#924 + # source://prism//lib/prism/node.rb#924 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#962 + # source://prism//lib/prism/node.rb#962 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#938 + # source://prism//lib/prism/node.rb#938 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#982 + # source://prism//lib/prism/node.rb#982 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#987 + # source://prism//lib/prism/node.rb#987 def type; end end end # Flags for array nodes. # -# source://prism/lib/prism/node.rb#18445 +# source://prism//lib/prism/node.rb#18445 module Prism::ArrayNodeFlags; end # if array contains splat nodes # -# source://prism/lib/prism/node.rb#18447 +# source://prism//lib/prism/node.rb#18447 Prism::ArrayNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # Represents an array pattern in pattern matching. @@ -1166,13 +1166,13 @@ Prism::ArrayNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # foo in Bar[1, 2, 3] # ^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#1019 +# source://prism//lib/prism/node.rb#1019 class Prism::ArrayPatternNode < ::Prism::Node # Initialize a new ArrayPatternNode node. # # @return [ArrayPatternNode] a new instance of ArrayPatternNode # - # source://prism/lib/prism/node.rb#1021 + # source://prism//lib/prism/node.rb#1021 sig do params( source: Prism::Source, @@ -1192,24 +1192,24 @@ class Prism::ArrayPatternNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1164 + # source://prism//lib/prism/node.rb#1164 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1035 + # source://prism//lib/prism/node.rb#1035 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1040 + # source://prism//lib/prism/node.rb#1040 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#1143 + # source://prism//lib/prism/node.rb#1143 sig { returns(T.nilable(String)) } def closing; end @@ -1218,31 +1218,31 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ # - # source://prism/lib/prism/node.rb#1119 + # source://prism//lib/prism/node.rb#1119 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1055 + # source://prism//lib/prism/node.rb#1055 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1045 + # source://prism//lib/prism/node.rb#1045 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader constant: ConstantReadNode | ConstantPathNode | nil # - # source://prism/lib/prism/node.rb#1073 + # source://prism//lib/prism/node.rb#1073 sig { returns(T.nilable(T.any(Prism::ConstantReadNode, Prism::ConstantPathNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantReadNode | ConstantPathNode | nil, ?requireds: Array[Prism::node], ?rest: Prism::node?, ?posts: Array[Prism::node], ?opening_loc: Location?, ?closing_loc: Location?) -> ArrayPatternNode # - # source://prism/lib/prism/node.rb#1060 + # source://prism//lib/prism/node.rb#1060 sig do params( node_id: Integer, @@ -1261,13 +1261,13 @@ class Prism::ArrayPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1040 + # source://prism//lib/prism/node.rb#1065 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantReadNode | ConstantPathNode | nil, requireds: Array[Prism::node], rest: Prism::node?, posts: Array[Prism::node], opening_loc: Location?, closing_loc: Location? } # - # source://prism/lib/prism/node.rb#1068 + # source://prism//lib/prism/node.rb#1068 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1276,13 +1276,13 @@ class Prism::ArrayPatternNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1148 + # source://prism//lib/prism/node.rb#1148 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#1138 + # source://prism//lib/prism/node.rb#1138 sig { returns(T.nilable(String)) } def opening; end @@ -1291,7 +1291,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ # - # source://prism/lib/prism/node.rb#1097 + # source://prism//lib/prism/node.rb#1097 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -1300,7 +1300,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in *bar, baz # ^^^ # - # source://prism/lib/prism/node.rb#1091 + # source://prism//lib/prism/node.rb#1091 sig { returns(T::Array[Prism::Node]) } def posts; end @@ -1309,7 +1309,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ ^ # - # source://prism/lib/prism/node.rb#1079 + # source://prism//lib/prism/node.rb#1079 sig { returns(T::Array[Prism::Node]) } def requireds; end @@ -1318,32 +1318,32 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in *bar # ^^^^ # - # source://prism/lib/prism/node.rb#1085 + # source://prism//lib/prism/node.rb#1085 sig { returns(T.nilable(Prism::Node)) } def rest; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1133 + # source://prism//lib/prism/node.rb#1133 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1111 + # source://prism//lib/prism/node.rb#1111 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1153 + # source://prism//lib/prism/node.rb#1153 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1158 + # source://prism//lib/prism/node.rb#1158 def type; end end end @@ -1353,13 +1353,13 @@ end # { a => b } # ^^^^^^ # -# source://prism/lib/prism/node.rb#1181 +# source://prism//lib/prism/node.rb#1181 class Prism::AssocNode < ::Prism::Node # Initialize a new AssocNode node. # # @return [AssocNode] a new instance of AssocNode # - # source://prism/lib/prism/node.rb#1183 + # source://prism//lib/prism/node.rb#1183 sig do params( source: Prism::Source, @@ -1376,36 +1376,36 @@ class Prism::AssocNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1291 + # source://prism//lib/prism/node.rb#1291 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1194 + # source://prism//lib/prism/node.rb#1194 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1199 + # source://prism//lib/prism/node.rb#1199 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1209 + # source://prism//lib/prism/node.rb#1209 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1204 + # source://prism//lib/prism/node.rb#1204 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?key: Prism::node, ?value: Prism::node, ?operator_loc: Location?) -> AssocNode # - # source://prism/lib/prism/node.rb#1214 + # source://prism//lib/prism/node.rb#1214 sig do params( node_id: Integer, @@ -1421,13 +1421,13 @@ class Prism::AssocNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1199 + # source://prism//lib/prism/node.rb#1219 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, key: Prism::node, value: Prism::node, operator_loc: Location? } # - # source://prism/lib/prism/node.rb#1222 + # source://prism//lib/prism/node.rb#1222 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1436,7 +1436,7 @@ class Prism::AssocNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1275 + # source://prism//lib/prism/node.rb#1275 sig { override.returns(String) } def inspect; end @@ -1451,13 +1451,13 @@ class Prism::AssocNode < ::Prism::Node # { def a; end => 1 } # ^^^^^^^^^^ # - # source://prism/lib/prism/node.rb#1236 + # source://prism//lib/prism/node.rb#1236 sig { returns(Prism::Node) } def key; end # def operator: () -> String? # - # source://prism/lib/prism/node.rb#1270 + # source://prism//lib/prism/node.rb#1270 sig { returns(T.nilable(String)) } def operator; end @@ -1466,19 +1466,19 @@ class Prism::AssocNode < ::Prism::Node # { foo => bar } # ^^ # - # source://prism/lib/prism/node.rb#1251 + # source://prism//lib/prism/node.rb#1251 sig { returns(T.nilable(Prism::Location)) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1265 + # source://prism//lib/prism/node.rb#1265 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1280 + # source://prism//lib/prism/node.rb#1280 sig { override.returns(Symbol) } def type; end @@ -1490,14 +1490,14 @@ class Prism::AssocNode < ::Prism::Node # { x: 1 } # ^ # - # source://prism/lib/prism/node.rb#1245 + # source://prism//lib/prism/node.rb#1245 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1285 + # source://prism//lib/prism/node.rb#1285 def type; end end end @@ -1507,13 +1507,13 @@ end # { **foo } # ^^^^^ # -# source://prism/lib/prism/node.rb#1303 +# source://prism//lib/prism/node.rb#1303 class Prism::AssocSplatNode < ::Prism::Node # Initialize a new AssocSplatNode node. # # @return [AssocSplatNode] a new instance of AssocSplatNode # - # source://prism/lib/prism/node.rb#1305 + # source://prism//lib/prism/node.rb#1305 sig do params( source: Prism::Source, @@ -1529,36 +1529,36 @@ class Prism::AssocSplatNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1393 + # source://prism//lib/prism/node.rb#1393 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1315 + # source://prism//lib/prism/node.rb#1315 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1320 + # source://prism//lib/prism/node.rb#1320 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1332 + # source://prism//lib/prism/node.rb#1332 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1325 + # source://prism//lib/prism/node.rb#1325 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Prism::node?, ?operator_loc: Location) -> AssocSplatNode # - # source://prism/lib/prism/node.rb#1337 + # source://prism//lib/prism/node.rb#1337 sig do params( node_id: Integer, @@ -1573,13 +1573,13 @@ class Prism::AssocSplatNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1320 + # source://prism//lib/prism/node.rb#1342 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Prism::node?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#1345 + # source://prism//lib/prism/node.rb#1345 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1588,13 +1588,13 @@ class Prism::AssocSplatNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1377 + # source://prism//lib/prism/node.rb#1377 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#1372 + # source://prism//lib/prism/node.rb#1372 sig { returns(String) } def operator; end @@ -1603,19 +1603,19 @@ class Prism::AssocSplatNode < ::Prism::Node # { **x } # ^^ # - # source://prism/lib/prism/node.rb#1359 + # source://prism//lib/prism/node.rb#1359 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1367 + # source://prism//lib/prism/node.rb#1367 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1382 + # source://prism//lib/prism/node.rb#1382 sig { override.returns(Symbol) } def type; end @@ -1624,21 +1624,21 @@ class Prism::AssocSplatNode < ::Prism::Node # { **foo } # ^^^ # - # source://prism/lib/prism/node.rb#1353 + # source://prism//lib/prism/node.rb#1353 sig { returns(T.nilable(Prism::Node)) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1387 + # source://prism//lib/prism/node.rb#1387 def type; end end end # The FFI backend is used on other Ruby implementations. # -# source://prism/lib/prism.rb#81 +# source://prism//lib/prism.rb#81 Prism::BACKEND = T.let(T.unsafe(nil), Symbol) # Represents reading a reference to a field in the previous match. @@ -1646,49 +1646,49 @@ Prism::BACKEND = T.let(T.unsafe(nil), Symbol) # $' # ^^ # -# source://prism/lib/prism/node.rb#1404 +# source://prism//lib/prism/node.rb#1404 class Prism::BackReferenceReadNode < ::Prism::Node # Initialize a new BackReferenceReadNode node. # # @return [BackReferenceReadNode] a new instance of BackReferenceReadNode # - # source://prism/lib/prism/node.rb#1406 + # source://prism//lib/prism/node.rb#1406 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1471 + # source://prism//lib/prism/node.rb#1471 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1415 + # source://prism//lib/prism/node.rb#1415 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1420 + # source://prism//lib/prism/node.rb#1420 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1430 + # source://prism//lib/prism/node.rb#1430 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1425 + # source://prism//lib/prism/node.rb#1425 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> BackReferenceReadNode # - # source://prism/lib/prism/node.rb#1435 + # source://prism//lib/prism/node.rb#1435 sig do params( node_id: Integer, @@ -1702,13 +1702,13 @@ class Prism::BackReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1420 + # source://prism//lib/prism/node.rb#1440 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#1443 + # source://prism//lib/prism/node.rb#1443 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1717,7 +1717,7 @@ class Prism::BackReferenceReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1455 + # source://prism//lib/prism/node.rb#1455 sig { override.returns(String) } def inspect; end @@ -1727,20 +1727,20 @@ class Prism::BackReferenceReadNode < ::Prism::Node # # $+ # name `:$+` # - # source://prism/lib/prism/node.rb#1452 + # source://prism//lib/prism/node.rb#1452 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1460 + # source://prism//lib/prism/node.rb#1460 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1465 + # source://prism//lib/prism/node.rb#1465 def type; end end end @@ -1750,24 +1750,24 @@ end # implement each one that they need. For a default implementation that # continues walking the tree, see the Visitor class. # -# source://prism/lib/prism/visitor.rb#14 +# source://prism//lib/prism/visitor.rb#14 class Prism::BasicVisitor # Calls `accept` on the given node if it is not `nil`, which in turn should # call back into this visitor by calling the appropriate `visit_*` method. # - # source://prism/lib/prism/visitor.rb#17 + # source://prism//lib/prism/visitor.rb#17 sig { params(node: T.nilable(Prism::Node)).void } def visit(node); end # Visits each node in `nodes` by calling `accept` on each one. # - # source://prism/lib/prism/visitor.rb#23 + # source://prism//lib/prism/visitor.rb#23 sig { params(nodes: T::Array[T.nilable(Prism::Node)]).void } def visit_all(nodes); end # Visits the child nodes of `node` by calling `accept` on each one. # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#29 sig { params(node: Prism::Node).void } def visit_child_nodes(node); end end @@ -1779,13 +1779,13 @@ end # end # ^^^^^ # -# source://prism/lib/prism/node.rb#1483 +# source://prism//lib/prism/node.rb#1483 class Prism::BeginNode < ::Prism::Node # Initialize a new BeginNode node. # # @return [BeginNode] a new instance of BeginNode # - # source://prism/lib/prism/node.rb#1485 + # source://prism//lib/prism/node.rb#1485 sig do params( source: Prism::Source, @@ -1805,18 +1805,18 @@ class Prism::BeginNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1631 + # source://prism//lib/prism/node.rb#1631 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1499 + # source://prism//lib/prism/node.rb#1499 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def begin_keyword: () -> String? # - # source://prism/lib/prism/node.rb#1605 + # source://prism//lib/prism/node.rb#1605 sig { returns(T.nilable(String)) } def begin_keyword; end @@ -1825,31 +1825,31 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^^^^^ # - # source://prism/lib/prism/node.rb#1540 + # source://prism//lib/prism/node.rb#1540 sig { returns(T.nilable(Prism::Location)) } def begin_keyword_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1504 + # source://prism//lib/prism/node.rb#1504 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1519 + # source://prism//lib/prism/node.rb#1519 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1509 + # source://prism//lib/prism/node.rb#1509 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?begin_keyword_loc: Location?, ?statements: StatementsNode?, ?rescue_clause: RescueNode?, ?else_clause: ElseNode?, ?ensure_clause: EnsureNode?, ?end_keyword_loc: Location?) -> BeginNode # - # source://prism/lib/prism/node.rb#1524 + # source://prism//lib/prism/node.rb#1524 sig do params( node_id: Integer, @@ -1868,13 +1868,13 @@ class Prism::BeginNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1504 + # source://prism//lib/prism/node.rb#1529 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, begin_keyword_loc: Location?, statements: StatementsNode?, rescue_clause: RescueNode?, else_clause: ElseNode?, ensure_clause: EnsureNode?, end_keyword_loc: Location? } # - # source://prism/lib/prism/node.rb#1532 + # source://prism//lib/prism/node.rb#1532 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1883,13 +1883,13 @@ class Prism::BeginNode < ::Prism::Node # begin x; rescue y; else z; end # ^^^^^^ # - # source://prism/lib/prism/node.rb#1574 + # source://prism//lib/prism/node.rb#1574 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String? # - # source://prism/lib/prism/node.rb#1610 + # source://prism//lib/prism/node.rb#1610 sig { returns(T.nilable(String)) } def end_keyword; end @@ -1898,7 +1898,7 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^^^ # - # source://prism/lib/prism/node.rb#1586 + # source://prism//lib/prism/node.rb#1586 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -1907,7 +1907,7 @@ class Prism::BeginNode < ::Prism::Node # begin x; ensure y; end # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#1580 + # source://prism//lib/prism/node.rb#1580 sig { returns(T.nilable(Prism::EnsureNode)) } def ensure_clause; end @@ -1916,11 +1916,11 @@ class Prism::BeginNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1615 + # source://prism//lib/prism/node.rb#1615 sig { override.returns(String) } def inspect; end - # source://prism/lib/prism/parse_result/newlines.rb#79 + # source://prism//lib/prism/parse_result/newlines.rb#79 def newline_flag!(lines); end # Represents the rescue clause within the begin block. @@ -1928,20 +1928,20 @@ class Prism::BeginNode < ::Prism::Node # begin x; rescue y; end # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#1568 + # source://prism//lib/prism/node.rb#1568 sig { returns(T.nilable(Prism::RescueNode)) } def rescue_clause; end # Save the begin_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1554 + # source://prism//lib/prism/node.rb#1554 def save_begin_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1600 + # source://prism//lib/prism/node.rb#1600 def save_end_keyword_loc(repository); end # Represents the statements within the begin block. @@ -1949,20 +1949,20 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^ # - # source://prism/lib/prism/node.rb#1562 + # source://prism//lib/prism/node.rb#1562 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1620 + # source://prism//lib/prism/node.rb#1620 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1625 + # source://prism//lib/prism/node.rb#1625 def type; end end end @@ -1972,13 +1972,13 @@ end # bar(&args) # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#1646 +# source://prism//lib/prism/node.rb#1646 class Prism::BlockArgumentNode < ::Prism::Node # Initialize a new BlockArgumentNode node. # # @return [BlockArgumentNode] a new instance of BlockArgumentNode # - # source://prism/lib/prism/node.rb#1648 + # source://prism//lib/prism/node.rb#1648 sig do params( source: Prism::Source, @@ -1994,36 +1994,36 @@ class Prism::BlockArgumentNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1736 + # source://prism//lib/prism/node.rb#1736 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1658 + # source://prism//lib/prism/node.rb#1658 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1663 + # source://prism//lib/prism/node.rb#1663 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1675 + # source://prism//lib/prism/node.rb#1675 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1668 + # source://prism//lib/prism/node.rb#1668 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?expression: Prism::node?, ?operator_loc: Location) -> BlockArgumentNode # - # source://prism/lib/prism/node.rb#1680 + # source://prism//lib/prism/node.rb#1680 sig do params( node_id: Integer, @@ -2038,13 +2038,13 @@ class Prism::BlockArgumentNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1663 + # source://prism//lib/prism/node.rb#1685 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, expression: Prism::node?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#1688 + # source://prism//lib/prism/node.rb#1688 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2053,7 +2053,7 @@ class Prism::BlockArgumentNode < ::Prism::Node # foo(&args) # ^^^^^ # - # source://prism/lib/prism/node.rb#1696 + # source://prism//lib/prism/node.rb#1696 sig { returns(T.nilable(Prism::Node)) } def expression; end @@ -2062,13 +2062,13 @@ class Prism::BlockArgumentNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1720 + # source://prism//lib/prism/node.rb#1720 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#1715 + # source://prism//lib/prism/node.rb#1715 sig { returns(String) } def operator; end @@ -2077,26 +2077,26 @@ class Prism::BlockArgumentNode < ::Prism::Node # foo(&args) # ^ # - # source://prism/lib/prism/node.rb#1702 + # source://prism//lib/prism/node.rb#1702 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1710 + # source://prism//lib/prism/node.rb#1710 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1725 + # source://prism//lib/prism/node.rb#1725 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1730 + # source://prism//lib/prism/node.rb#1730 def type; end end end @@ -2106,49 +2106,49 @@ end # a { |; b| } # ^ # -# source://prism/lib/prism/node.rb#1747 +# source://prism//lib/prism/node.rb#1747 class Prism::BlockLocalVariableNode < ::Prism::Node # Initialize a new BlockLocalVariableNode node. # # @return [BlockLocalVariableNode] a new instance of BlockLocalVariableNode # - # source://prism/lib/prism/node.rb#1749 + # source://prism//lib/prism/node.rb#1749 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1818 + # source://prism//lib/prism/node.rb#1818 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1758 + # source://prism//lib/prism/node.rb#1758 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1763 + # source://prism//lib/prism/node.rb#1763 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1773 + # source://prism//lib/prism/node.rb#1773 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1768 + # source://prism//lib/prism/node.rb#1768 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> BlockLocalVariableNode # - # source://prism/lib/prism/node.rb#1778 + # source://prism//lib/prism/node.rb#1778 sig do params( node_id: Integer, @@ -2162,13 +2162,13 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1763 + # source://prism//lib/prism/node.rb#1783 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#1786 + # source://prism//lib/prism/node.rb#1786 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2177,7 +2177,7 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1802 + # source://prism//lib/prism/node.rb#1802 sig { override.returns(String) } def inspect; end @@ -2186,7 +2186,7 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # a { |; b| } # name `:b` # ^ # - # source://prism/lib/prism/node.rb#1799 + # source://prism//lib/prism/node.rb#1799 sig { returns(Symbol) } def name; end @@ -2194,20 +2194,20 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#1791 + # source://prism//lib/prism/node.rb#1791 sig { returns(T::Boolean) } def repeated_parameter?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1807 + # source://prism//lib/prism/node.rb#1807 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1812 + # source://prism//lib/prism/node.rb#1812 def type; end end end @@ -2217,13 +2217,13 @@ end # [1, 2, 3].each { |i| puts x } # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#1829 +# source://prism//lib/prism/node.rb#1829 class Prism::BlockNode < ::Prism::Node # Initialize a new BlockNode node. # # @return [BlockNode] a new instance of BlockNode # - # source://prism/lib/prism/node.rb#1831 + # source://prism//lib/prism/node.rb#1831 sig do params( source: Prism::Source, @@ -2242,12 +2242,12 @@ class Prism::BlockNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#1960 + # source://prism//lib/prism/node.rb#1960 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1844 + # source://prism//lib/prism/node.rb#1844 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2256,19 +2256,19 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^^^^^^ # - # source://prism/lib/prism/node.rb#1899 + # source://prism//lib/prism/node.rb#1899 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1849 + # source://prism//lib/prism/node.rb#1849 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#1939 + # source://prism//lib/prism/node.rb#1939 sig { returns(String) } def closing; end @@ -2277,25 +2277,25 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^ # - # source://prism/lib/prism/node.rb#1921 + # source://prism//lib/prism/node.rb#1921 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#1862 + # source://prism//lib/prism/node.rb#1862 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1854 + # source://prism//lib/prism/node.rb#1854 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil, ?body: StatementsNode | BeginNode | nil, ?opening_loc: Location, ?closing_loc: Location) -> BlockNode # - # source://prism/lib/prism/node.rb#1867 + # source://prism//lib/prism/node.rb#1867 sig do params( node_id: Integer, @@ -2313,13 +2313,13 @@ class Prism::BlockNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1849 + # source://prism//lib/prism/node.rb#1872 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil, body: StatementsNode | BeginNode | nil, opening_loc: Location, closing_loc: Location } # - # source://prism/lib/prism/node.rb#1875 + # source://prism//lib/prism/node.rb#1875 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2328,7 +2328,7 @@ class Prism::BlockNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#1944 + # source://prism//lib/prism/node.rb#1944 sig { override.returns(String) } def inspect; end @@ -2337,13 +2337,13 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # locals: [:i] # ^ # - # source://prism/lib/prism/node.rb#1883 + # source://prism//lib/prism/node.rb#1883 sig { returns(T::Array[Symbol]) } def locals; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#1934 + # source://prism//lib/prism/node.rb#1934 sig { returns(String) } def opening; end @@ -2352,7 +2352,7 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^ # - # source://prism/lib/prism/node.rb#1905 + # source://prism//lib/prism/node.rb#1905 sig { returns(Prism::Location) } def opening_loc; end @@ -2365,32 +2365,32 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { puts it } # ^^^^^^^^^^^ # - # source://prism/lib/prism/node.rb#1893 + # source://prism//lib/prism/node.rb#1893 sig { returns(T.nilable(T.any(Prism::BlockParametersNode, Prism::NumberedParametersNode, Prism::ItParametersNode))) } def parameters; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1929 + # source://prism//lib/prism/node.rb#1929 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#1913 + # source://prism//lib/prism/node.rb#1913 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#1949 + # source://prism//lib/prism/node.rb#1949 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#1954 + # source://prism//lib/prism/node.rb#1954 def type; end end end @@ -2401,13 +2401,13 @@ end # ^^ # end # -# source://prism/lib/prism/node.rb#1976 +# source://prism//lib/prism/node.rb#1976 class Prism::BlockParameterNode < ::Prism::Node # Initialize a new BlockParameterNode node. # # @return [BlockParameterNode] a new instance of BlockParameterNode # - # source://prism/lib/prism/node.rb#1978 + # source://prism//lib/prism/node.rb#1978 sig do params( source: Prism::Source, @@ -2424,36 +2424,36 @@ class Prism::BlockParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#2094 + # source://prism//lib/prism/node.rb#2094 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#1989 + # source://prism//lib/prism/node.rb#1989 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1994 + # source://prism//lib/prism/node.rb#1994 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2004 + # source://prism//lib/prism/node.rb#2004 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#1999 + # source://prism//lib/prism/node.rb#1999 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol?, ?name_loc: Location?, ?operator_loc: Location) -> BlockParameterNode # - # source://prism/lib/prism/node.rb#2009 + # source://prism//lib/prism/node.rb#2009 sig do params( node_id: Integer, @@ -2469,13 +2469,13 @@ class Prism::BlockParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#1994 + # source://prism//lib/prism/node.rb#2014 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol?, name_loc: Location?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#2017 + # source://prism//lib/prism/node.rb#2017 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2484,7 +2484,7 @@ class Prism::BlockParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#2078 + # source://prism//lib/prism/node.rb#2078 sig { override.returns(String) } def inspect; end @@ -2494,7 +2494,7 @@ class Prism::BlockParameterNode < ::Prism::Node # ^ # end # - # source://prism/lib/prism/node.rb#2031 + # source://prism//lib/prism/node.rb#2031 sig { returns(T.nilable(Symbol)) } def name; end @@ -2503,13 +2503,13 @@ class Prism::BlockParameterNode < ::Prism::Node # def a(&b) # ^ # - # source://prism/lib/prism/node.rb#2037 + # source://prism//lib/prism/node.rb#2037 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#2073 + # source://prism//lib/prism/node.rb#2073 sig { returns(String) } def operator; end @@ -2519,7 +2519,7 @@ class Prism::BlockParameterNode < ::Prism::Node # ^ # end # - # source://prism/lib/prism/node.rb#2060 + # source://prism//lib/prism/node.rb#2060 sig { returns(Prism::Location) } def operator_loc; end @@ -2527,32 +2527,32 @@ class Prism::BlockParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2022 + # source://prism//lib/prism/node.rb#2022 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2051 + # source://prism//lib/prism/node.rb#2051 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2068 + # source://prism//lib/prism/node.rb#2068 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#2083 + # source://prism//lib/prism/node.rb#2083 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#2088 + # source://prism//lib/prism/node.rb#2088 def type; end end end @@ -2566,13 +2566,13 @@ end # ^^^^^^^^^^^^^^^^^ # end # -# source://prism/lib/prism/node.rb#2111 +# source://prism//lib/prism/node.rb#2111 class Prism::BlockParametersNode < ::Prism::Node # Initialize a new BlockParametersNode node. # # @return [BlockParametersNode] a new instance of BlockParametersNode # - # source://prism/lib/prism/node.rb#2113 + # source://prism//lib/prism/node.rb#2113 sig do params( source: Prism::Source, @@ -2590,24 +2590,24 @@ class Prism::BlockParametersNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#2259 + # source://prism//lib/prism/node.rb#2259 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#2125 + # source://prism//lib/prism/node.rb#2125 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2130 + # source://prism//lib/prism/node.rb#2130 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#2238 + # source://prism//lib/prism/node.rb#2238 sig { returns(T.nilable(String)) } def closing; end @@ -2620,25 +2620,25 @@ class Prism::BlockParametersNode < ::Prism::Node # ^ # end # - # source://prism/lib/prism/node.rb#2214 + # source://prism//lib/prism/node.rb#2214 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2143 + # source://prism//lib/prism/node.rb#2143 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#2135 + # source://prism//lib/prism/node.rb#2135 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?parameters: ParametersNode?, ?locals: Array[BlockLocalVariableNode], ?opening_loc: Location?, ?closing_loc: Location?) -> BlockParametersNode # - # source://prism/lib/prism/node.rb#2148 + # source://prism//lib/prism/node.rb#2148 sig do params( node_id: Integer, @@ -2655,13 +2655,13 @@ class Prism::BlockParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2130 + # source://prism//lib/prism/node.rb#2153 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, parameters: ParametersNode?, locals: Array[BlockLocalVariableNode], opening_loc: Location?, closing_loc: Location? } # - # source://prism/lib/prism/node.rb#2156 + # source://prism//lib/prism/node.rb#2156 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2670,7 +2670,7 @@ class Prism::BlockParametersNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#2243 + # source://prism//lib/prism/node.rb#2243 sig { override.returns(String) } def inspect; end @@ -2683,13 +2683,13 @@ class Prism::BlockParametersNode < ::Prism::Node # ^^^^^ # end # - # source://prism/lib/prism/node.rb#2178 + # source://prism//lib/prism/node.rb#2178 sig { returns(T::Array[Prism::BlockLocalVariableNode]) } def locals; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#2233 + # source://prism//lib/prism/node.rb#2233 sig { returns(T.nilable(String)) } def opening; end @@ -2702,7 +2702,7 @@ class Prism::BlockParametersNode < ::Prism::Node # ^ # end # - # source://prism/lib/prism/node.rb#2188 + # source://prism//lib/prism/node.rb#2188 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -2715,32 +2715,32 @@ class Prism::BlockParametersNode < ::Prism::Node # ^^^^^^^^ # end # - # source://prism/lib/prism/node.rb#2168 + # source://prism//lib/prism/node.rb#2168 sig { returns(T.nilable(Prism::ParametersNode)) } def parameters; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2228 + # source://prism//lib/prism/node.rb#2228 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2202 + # source://prism//lib/prism/node.rb#2202 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#2248 + # source://prism//lib/prism/node.rb#2248 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#2253 + # source://prism//lib/prism/node.rb#2253 def type; end end end @@ -2750,13 +2750,13 @@ end # break foo # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#2273 +# source://prism//lib/prism/node.rb#2273 class Prism::BreakNode < ::Prism::Node # Initialize a new BreakNode node. # # @return [BreakNode] a new instance of BreakNode # - # source://prism/lib/prism/node.rb#2275 + # source://prism//lib/prism/node.rb#2275 sig do params( source: Prism::Source, @@ -2772,12 +2772,12 @@ class Prism::BreakNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#2363 + # source://prism//lib/prism/node.rb#2363 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#2285 + # source://prism//lib/prism/node.rb#2285 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2786,31 +2786,31 @@ class Prism::BreakNode < ::Prism::Node # break foo # ^^^ # - # source://prism/lib/prism/node.rb#2323 + # source://prism//lib/prism/node.rb#2323 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2290 + # source://prism//lib/prism/node.rb#2290 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2302 + # source://prism//lib/prism/node.rb#2302 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#2295 + # source://prism//lib/prism/node.rb#2295 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?arguments: ArgumentsNode?, ?keyword_loc: Location) -> BreakNode # - # source://prism/lib/prism/node.rb#2307 + # source://prism//lib/prism/node.rb#2307 sig do params( node_id: Integer, @@ -2825,13 +2825,13 @@ class Prism::BreakNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2290 + # source://prism//lib/prism/node.rb#2312 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, arguments: ArgumentsNode?, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#2315 + # source://prism//lib/prism/node.rb#2315 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2840,13 +2840,13 @@ class Prism::BreakNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#2347 + # source://prism//lib/prism/node.rb#2347 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#2342 + # source://prism//lib/prism/node.rb#2342 sig { returns(String) } def keyword; end @@ -2855,26 +2855,26 @@ class Prism::BreakNode < ::Prism::Node # break foo # ^^^^^ # - # source://prism/lib/prism/node.rb#2329 + # source://prism//lib/prism/node.rb#2329 sig { returns(Prism::Location) } def keyword_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2337 + # source://prism//lib/prism/node.rb#2337 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#2352 + # source://prism//lib/prism/node.rb#2352 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#2357 + # source://prism//lib/prism/node.rb#2357 def type; end end end @@ -2884,13 +2884,13 @@ end # foo.bar &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#2374 +# source://prism//lib/prism/node.rb#2374 class Prism::CallAndWriteNode < ::Prism::Node # Initialize a new CallAndWriteNode node. # # @return [CallAndWriteNode] a new instance of CallAndWriteNode # - # source://prism/lib/prism/node.rb#2376 + # source://prism//lib/prism/node.rb#2376 sig do params( source: Prism::Source, @@ -2911,12 +2911,12 @@ class Prism::CallAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#2562 + # source://prism//lib/prism/node.rb#2562 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#2391 + # source://prism//lib/prism/node.rb#2391 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2924,13 +2924,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2437 + # source://prism//lib/prism/node.rb#2437 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#2531 + # source://prism//lib/prism/node.rb#2531 sig { returns(T.nilable(String)) } def call_operator; end @@ -2939,31 +2939,31 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^ # - # source://prism/lib/prism/node.rb#2456 + # source://prism//lib/prism/node.rb#2456 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2396 + # source://prism//lib/prism/node.rb#2396 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2409 + # source://prism//lib/prism/node.rb#2409 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#2401 + # source://prism//lib/prism/node.rb#2401 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?message_loc: Location?, ?read_name: Symbol, ?write_name: Symbol, ?operator_loc: Location, ?value: Prism::node) -> CallAndWriteNode # - # source://prism/lib/prism/node.rb#2414 + # source://prism//lib/prism/node.rb#2414 sig do params( node_id: Integer, @@ -2983,13 +2983,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2396 + # source://prism//lib/prism/node.rb#2419 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, message_loc: Location?, read_name: Symbol, write_name: Symbol, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#2422 + # source://prism//lib/prism/node.rb#2422 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3000,19 +3000,19 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2442 + # source://prism//lib/prism/node.rb#2442 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#2546 + # source://prism//lib/prism/node.rb#2546 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism/lib/prism/node.rb#2536 + # source://prism//lib/prism/node.rb#2536 sig { returns(T.nilable(String)) } def message; end @@ -3021,13 +3021,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism/lib/prism/node.rb#2478 + # source://prism//lib/prism/node.rb#2478 sig { returns(T.nilable(Prism::Location)) } def message_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#2541 + # source://prism//lib/prism/node.rb#2541 sig { returns(String) } def operator; end @@ -3036,7 +3036,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism/lib/prism/node.rb#2512 + # source://prism//lib/prism/node.rb#2512 sig { returns(Prism::Location) } def operator_loc; end @@ -3045,7 +3045,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # read_name `:bar` # ^^^ # - # source://prism/lib/prism/node.rb#2500 + # source://prism//lib/prism/node.rb#2500 sig { returns(Symbol) } def read_name; end @@ -3054,7 +3054,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism/lib/prism/node.rb#2450 + # source://prism//lib/prism/node.rb#2450 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3062,31 +3062,31 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2427 + # source://prism//lib/prism/node.rb#2427 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2470 + # source://prism//lib/prism/node.rb#2470 def save_call_operator_loc(repository); end # Save the message_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2492 + # source://prism//lib/prism/node.rb#2492 def save_message_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2520 + # source://prism//lib/prism/node.rb#2520 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#2551 + # source://prism//lib/prism/node.rb#2551 sig { override.returns(Symbol) } def type; end @@ -3095,7 +3095,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^^^ # - # source://prism/lib/prism/node.rb#2528 + # source://prism//lib/prism/node.rb#2528 sig { returns(Prism::Node) } def value; end @@ -3103,7 +3103,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2432 + # source://prism//lib/prism/node.rb#2432 sig { returns(T::Boolean) } def variable_call?; end @@ -3112,14 +3112,14 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # write_name `:bar=` # ^^^ # - # source://prism/lib/prism/node.rb#2506 + # source://prism//lib/prism/node.rb#2506 sig { returns(Symbol) } def write_name; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#2556 + # source://prism//lib/prism/node.rb#2556 def type; end end end @@ -3144,13 +3144,13 @@ end # foo&.bar # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#2594 +# source://prism//lib/prism/node.rb#2594 class Prism::CallNode < ::Prism::Node # Initialize a new CallNode node. # # @return [CallNode] a new instance of CallNode # - # source://prism/lib/prism/node.rb#2596 + # source://prism//lib/prism/node.rb#2596 sig do params( source: Prism::Source, @@ -3172,12 +3172,12 @@ class Prism::CallNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#2825 + # source://prism//lib/prism/node.rb#2825 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#2612 + # source://prism//lib/prism/node.rb#2612 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3186,7 +3186,7 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^^^ # - # source://prism/lib/prism/node.rb#2758 + # source://prism//lib/prism/node.rb#2758 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -3194,7 +3194,7 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2659 + # source://prism//lib/prism/node.rb#2659 sig { returns(T::Boolean) } def attribute_write?; end @@ -3203,13 +3203,13 @@ class Prism::CallNode < ::Prism::Node # foo { |a| a } # ^^^^^^^^^ # - # source://prism/lib/prism/node.rb#2786 + # source://prism//lib/prism/node.rb#2786 sig { returns(T.nilable(T.any(Prism::BlockNode, Prism::BlockArgumentNode))) } def block; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#2789 + # source://prism//lib/prism/node.rb#2789 sig { returns(T.nilable(String)) } def call_operator; end @@ -3221,19 +3221,19 @@ class Prism::CallNode < ::Prism::Node # foo&.bar # ^^ # - # source://prism/lib/prism/node.rb#2687 + # source://prism//lib/prism/node.rb#2687 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2617 + # source://prism//lib/prism/node.rb#2617 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#2804 + # source://prism//lib/prism/node.rb#2804 sig { returns(T.nilable(String)) } def closing; end @@ -3242,25 +3242,25 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^ # - # source://prism/lib/prism/node.rb#2764 + # source://prism//lib/prism/node.rb#2764 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2631 + # source://prism//lib/prism/node.rb#2631 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#2622 + # source://prism//lib/prism/node.rb#2622 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?name: Symbol, ?message_loc: Location?, ?opening_loc: Location?, ?arguments: ArgumentsNode?, ?closing_loc: Location?, ?block: BlockNode | BlockArgumentNode | nil) -> CallNode # - # source://prism/lib/prism/node.rb#2636 + # source://prism//lib/prism/node.rb#2636 sig do params( node_id: Integer, @@ -3281,13 +3281,13 @@ class Prism::CallNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2617 + # source://prism//lib/prism/node.rb#2641 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, name: Symbol, message_loc: Location?, opening_loc: Location?, arguments: ArgumentsNode?, closing_loc: Location?, block: BlockNode | BlockArgumentNode | nil } # - # source://prism/lib/prism/node.rb#2644 + # source://prism//lib/prism/node.rb#2644 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3304,7 +3304,7 @@ class Prism::CallNode < ::Prism::Node # sometimes you want the location of the full message including the inner # space and the = sign. This method provides that. # - # source://prism/lib/prism/node_ext.rb#331 + # source://prism//lib/prism/node_ext.rb#331 sig { returns(T.nilable(Prism::Location)) } def full_message_loc; end @@ -3312,19 +3312,19 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2664 + # source://prism//lib/prism/node.rb#2664 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#2809 + # source://prism//lib/prism/node.rb#2809 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism/lib/prism/node.rb#2794 + # source://prism//lib/prism/node.rb#2794 sig { returns(T.nilable(String)) } def message; end @@ -3333,7 +3333,7 @@ class Prism::CallNode < ::Prism::Node # foo.bar # ^^^ # - # source://prism/lib/prism/node.rb#2715 + # source://prism//lib/prism/node.rb#2715 sig { returns(T.nilable(Prism::Location)) } def message_loc; end @@ -3342,13 +3342,13 @@ class Prism::CallNode < ::Prism::Node # foo.bar # name `:foo` # ^^^ # - # source://prism/lib/prism/node.rb#2709 + # source://prism//lib/prism/node.rb#2709 sig { returns(Symbol) } def name; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#2799 + # source://prism//lib/prism/node.rb#2799 sig { returns(T.nilable(String)) } def opening; end @@ -3356,7 +3356,7 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^ # - # source://prism/lib/prism/node.rb#2736 + # source://prism//lib/prism/node.rb#2736 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -3371,7 +3371,7 @@ class Prism::CallNode < ::Prism::Node # foo + bar # ^^^ # - # source://prism/lib/prism/node.rb#2678 + # source://prism//lib/prism/node.rb#2678 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3379,37 +3379,37 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2649 + # source://prism//lib/prism/node.rb#2649 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2701 + # source://prism//lib/prism/node.rb#2701 def save_call_operator_loc(repository); end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2778 + # source://prism//lib/prism/node.rb#2778 def save_closing_loc(repository); end # Save the message_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2729 + # source://prism//lib/prism/node.rb#2729 def save_message_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2750 + # source://prism//lib/prism/node.rb#2750 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#2814 + # source://prism//lib/prism/node.rb#2814 sig { override.returns(Symbol) } def type; end @@ -3417,41 +3417,41 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2654 + # source://prism//lib/prism/node.rb#2654 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#2819 + # source://prism//lib/prism/node.rb#2819 def type; end end end # Flags for call nodes. # -# source://prism/lib/prism/node.rb#18451 +# source://prism//lib/prism/node.rb#18451 module Prism::CallNodeFlags; end # a call that is an attribute write, so the value being written should be returned # -# source://prism/lib/prism/node.rb#18459 +# source://prism//lib/prism/node.rb#18459 Prism::CallNodeFlags::ATTRIBUTE_WRITE = T.let(T.unsafe(nil), Integer) # a call that ignores method visibility # -# source://prism/lib/prism/node.rb#18462 +# source://prism//lib/prism/node.rb#18462 Prism::CallNodeFlags::IGNORE_VISIBILITY = T.let(T.unsafe(nil), Integer) # &. operator # -# source://prism/lib/prism/node.rb#18453 +# source://prism//lib/prism/node.rb#18453 Prism::CallNodeFlags::SAFE_NAVIGATION = T.let(T.unsafe(nil), Integer) # a call that could have been a local variable # -# source://prism/lib/prism/node.rb#18456 +# source://prism//lib/prism/node.rb#18456 Prism::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # Represents the use of an assignment operator on a call. @@ -3459,13 +3459,13 @@ Prism::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # foo.bar += baz # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#2843 +# source://prism//lib/prism/node.rb#2843 class Prism::CallOperatorWriteNode < ::Prism::Node # Initialize a new CallOperatorWriteNode node. # # @return [CallOperatorWriteNode] a new instance of CallOperatorWriteNode # - # source://prism/lib/prism/node.rb#2845 + # source://prism//lib/prism/node.rb#2845 sig do params( source: Prism::Source, @@ -3487,12 +3487,12 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3033 + # source://prism//lib/prism/node.rb#3033 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#2861 + # source://prism//lib/prism/node.rb#2861 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3500,7 +3500,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2907 + # source://prism//lib/prism/node.rb#2907 sig { returns(T::Boolean) } def attribute_write?; end @@ -3509,7 +3509,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # binary_operator `:+` # ^ # - # source://prism/lib/prism/node.rb#2982 + # source://prism//lib/prism/node.rb#2982 sig { returns(Symbol) } def binary_operator; end @@ -3518,13 +3518,13 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^ # - # source://prism/lib/prism/node.rb#2988 + # source://prism//lib/prism/node.rb#2988 sig { returns(Prism::Location) } def binary_operator_loc; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#3007 + # source://prism//lib/prism/node.rb#3007 sig { returns(T.nilable(String)) } def call_operator; end @@ -3533,31 +3533,31 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^ # - # source://prism/lib/prism/node.rb#2926 + # source://prism//lib/prism/node.rb#2926 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2866 + # source://prism//lib/prism/node.rb#2866 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#2879 + # source://prism//lib/prism/node.rb#2879 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#2871 + # source://prism//lib/prism/node.rb#2871 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?message_loc: Location?, ?read_name: Symbol, ?write_name: Symbol, ?binary_operator: Symbol, ?binary_operator_loc: Location, ?value: Prism::node) -> CallOperatorWriteNode # - # source://prism/lib/prism/node.rb#2884 + # source://prism//lib/prism/node.rb#2884 sig do params( node_id: Integer, @@ -3578,13 +3578,13 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#2866 + # source://prism//lib/prism/node.rb#2889 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, message_loc: Location?, read_name: Symbol, write_name: Symbol, binary_operator: Symbol, binary_operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#2892 + # source://prism//lib/prism/node.rb#2892 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3595,19 +3595,19 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2912 + # source://prism//lib/prism/node.rb#2912 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#3017 + # source://prism//lib/prism/node.rb#3017 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism/lib/prism/node.rb#3012 + # source://prism//lib/prism/node.rb#3012 sig { returns(T.nilable(String)) } def message; end @@ -3616,20 +3616,20 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^ # - # source://prism/lib/prism/node.rb#2948 + # source://prism//lib/prism/node.rb#2948 sig { returns(T.nilable(Prism::Location)) } def message_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#339 + # source://prism//lib/prism/node_ext.rb#339 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#346 + # source://prism//lib/prism/node_ext.rb#346 def operator_loc; end # Represents the name of the method being called. @@ -3637,7 +3637,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # read_name `:bar` # ^^^ # - # source://prism/lib/prism/node.rb#2970 + # source://prism//lib/prism/node.rb#2970 sig { returns(Symbol) } def read_name; end @@ -3646,7 +3646,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^ # - # source://prism/lib/prism/node.rb#2920 + # source://prism//lib/prism/node.rb#2920 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3654,31 +3654,31 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2897 + # source://prism//lib/prism/node.rb#2897 sig { returns(T::Boolean) } def safe_navigation?; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2996 + # source://prism//lib/prism/node.rb#2996 def save_binary_operator_loc(repository); end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2940 + # source://prism//lib/prism/node.rb#2940 def save_call_operator_loc(repository); end # Save the message_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#2962 + # source://prism//lib/prism/node.rb#2962 def save_message_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3022 + # source://prism//lib/prism/node.rb#3022 sig { override.returns(Symbol) } def type; end @@ -3687,7 +3687,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^^^ # - # source://prism/lib/prism/node.rb#3004 + # source://prism//lib/prism/node.rb#3004 sig { returns(Prism::Node) } def value; end @@ -3695,7 +3695,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#2902 + # source://prism//lib/prism/node.rb#2902 sig { returns(T::Boolean) } def variable_call?; end @@ -3704,14 +3704,14 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # write_name `:bar=` # ^^^ # - # source://prism/lib/prism/node.rb#2976 + # source://prism//lib/prism/node.rb#2976 sig { returns(Symbol) } def write_name; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3027 + # source://prism//lib/prism/node.rb#3027 def type; end end end @@ -3721,13 +3721,13 @@ end # foo.bar ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3051 +# source://prism//lib/prism/node.rb#3051 class Prism::CallOrWriteNode < ::Prism::Node # Initialize a new CallOrWriteNode node. # # @return [CallOrWriteNode] a new instance of CallOrWriteNode # - # source://prism/lib/prism/node.rb#3053 + # source://prism//lib/prism/node.rb#3053 sig do params( source: Prism::Source, @@ -3748,12 +3748,12 @@ class Prism::CallOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3239 + # source://prism//lib/prism/node.rb#3239 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3068 + # source://prism//lib/prism/node.rb#3068 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3761,13 +3761,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3114 + # source://prism//lib/prism/node.rb#3114 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#3208 + # source://prism//lib/prism/node.rb#3208 sig { returns(T.nilable(String)) } def call_operator; end @@ -3776,31 +3776,31 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^ # - # source://prism/lib/prism/node.rb#3133 + # source://prism//lib/prism/node.rb#3133 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3073 + # source://prism//lib/prism/node.rb#3073 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3086 + # source://prism//lib/prism/node.rb#3086 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3078 + # source://prism//lib/prism/node.rb#3078 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?message_loc: Location?, ?read_name: Symbol, ?write_name: Symbol, ?operator_loc: Location, ?value: Prism::node) -> CallOrWriteNode # - # source://prism/lib/prism/node.rb#3091 + # source://prism//lib/prism/node.rb#3091 sig do params( node_id: Integer, @@ -3820,13 +3820,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3073 + # source://prism//lib/prism/node.rb#3096 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, message_loc: Location?, read_name: Symbol, write_name: Symbol, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#3099 + # source://prism//lib/prism/node.rb#3099 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3837,19 +3837,19 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3119 + # source://prism//lib/prism/node.rb#3119 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#3223 + # source://prism//lib/prism/node.rb#3223 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism/lib/prism/node.rb#3213 + # source://prism//lib/prism/node.rb#3213 sig { returns(T.nilable(String)) } def message; end @@ -3858,13 +3858,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism/lib/prism/node.rb#3155 + # source://prism//lib/prism/node.rb#3155 sig { returns(T.nilable(Prism::Location)) } def message_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#3218 + # source://prism//lib/prism/node.rb#3218 sig { returns(String) } def operator; end @@ -3873,7 +3873,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism/lib/prism/node.rb#3189 + # source://prism//lib/prism/node.rb#3189 sig { returns(Prism::Location) } def operator_loc; end @@ -3882,7 +3882,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # read_name `:bar` # ^^^ # - # source://prism/lib/prism/node.rb#3177 + # source://prism//lib/prism/node.rb#3177 sig { returns(Symbol) } def read_name; end @@ -3891,7 +3891,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism/lib/prism/node.rb#3127 + # source://prism//lib/prism/node.rb#3127 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3899,31 +3899,31 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3104 + # source://prism//lib/prism/node.rb#3104 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3147 + # source://prism//lib/prism/node.rb#3147 def save_call_operator_loc(repository); end # Save the message_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3169 + # source://prism//lib/prism/node.rb#3169 def save_message_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3197 + # source://prism//lib/prism/node.rb#3197 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3228 + # source://prism//lib/prism/node.rb#3228 sig { override.returns(Symbol) } def type; end @@ -3932,7 +3932,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^^^ # - # source://prism/lib/prism/node.rb#3205 + # source://prism//lib/prism/node.rb#3205 sig { returns(Prism::Node) } def value; end @@ -3940,7 +3940,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3109 + # source://prism//lib/prism/node.rb#3109 sig { returns(T::Boolean) } def variable_call?; end @@ -3949,14 +3949,14 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # write_name `:bar=` # ^^^ # - # source://prism/lib/prism/node.rb#3183 + # source://prism//lib/prism/node.rb#3183 sig { returns(Symbol) } def write_name; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3233 + # source://prism//lib/prism/node.rb#3233 def type; end end end @@ -3974,13 +3974,13 @@ end # for foo.bar in baz do end # ^^^^^^^ # -# source://prism/lib/prism/node.rb#3264 +# source://prism//lib/prism/node.rb#3264 class Prism::CallTargetNode < ::Prism::Node # Initialize a new CallTargetNode node. # # @return [CallTargetNode] a new instance of CallTargetNode # - # source://prism/lib/prism/node.rb#3266 + # source://prism//lib/prism/node.rb#3266 sig do params( source: Prism::Source, @@ -3998,12 +3998,12 @@ class Prism::CallTargetNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3401 + # source://prism//lib/prism/node.rb#3401 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3278 + # source://prism//lib/prism/node.rb#3278 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -4011,13 +4011,13 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3321 + # source://prism//lib/prism/node.rb#3321 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String # - # source://prism/lib/prism/node.rb#3375 + # source://prism//lib/prism/node.rb#3375 sig { returns(String) } def call_operator; end @@ -4026,31 +4026,31 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^ # - # source://prism/lib/prism/node.rb#3340 + # source://prism//lib/prism/node.rb#3340 sig { returns(Prism::Location) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3283 + # source://prism//lib/prism/node.rb#3283 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3293 + # source://prism//lib/prism/node.rb#3293 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3288 + # source://prism//lib/prism/node.rb#3288 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node, ?call_operator_loc: Location, ?name: Symbol, ?message_loc: Location) -> CallTargetNode # - # source://prism/lib/prism/node.rb#3298 + # source://prism//lib/prism/node.rb#3298 sig do params( node_id: Integer, @@ -4067,13 +4067,13 @@ class Prism::CallTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3283 + # source://prism//lib/prism/node.rb#3303 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node, call_operator_loc: Location, name: Symbol, message_loc: Location } # - # source://prism/lib/prism/node.rb#3306 + # source://prism//lib/prism/node.rb#3306 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4084,19 +4084,19 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3326 + # source://prism//lib/prism/node.rb#3326 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#3385 + # source://prism//lib/prism/node.rb#3385 sig { override.returns(String) } def inspect; end # def message: () -> String # - # source://prism/lib/prism/node.rb#3380 + # source://prism//lib/prism/node.rb#3380 sig { returns(String) } def message; end @@ -4105,7 +4105,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^^^ # - # source://prism/lib/prism/node.rb#3362 + # source://prism//lib/prism/node.rb#3362 sig { returns(Prism::Location) } def message_loc; end @@ -4114,7 +4114,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # name `:foo` # ^^^ # - # source://prism/lib/prism/node.rb#3356 + # source://prism//lib/prism/node.rb#3356 sig { returns(Symbol) } def name; end @@ -4123,7 +4123,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^^^ # - # source://prism/lib/prism/node.rb#3334 + # source://prism//lib/prism/node.rb#3334 sig { returns(Prism::Node) } def receiver; end @@ -4131,25 +4131,25 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3311 + # source://prism//lib/prism/node.rb#3311 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3348 + # source://prism//lib/prism/node.rb#3348 def save_call_operator_loc(repository); end # Save the message_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3370 + # source://prism//lib/prism/node.rb#3370 def save_message_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3390 + # source://prism//lib/prism/node.rb#3390 sig { override.returns(Symbol) } def type; end @@ -4157,14 +4157,14 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#3316 + # source://prism//lib/prism/node.rb#3316 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3395 + # source://prism//lib/prism/node.rb#3395 def type; end end end @@ -4174,13 +4174,13 @@ end # foo => [bar => baz] # ^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3415 +# source://prism//lib/prism/node.rb#3415 class Prism::CapturePatternNode < ::Prism::Node # Initialize a new CapturePatternNode node. # # @return [CapturePatternNode] a new instance of CapturePatternNode # - # source://prism/lib/prism/node.rb#3417 + # source://prism//lib/prism/node.rb#3417 sig do params( source: Prism::Source, @@ -4197,36 +4197,36 @@ class Prism::CapturePatternNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3510 + # source://prism//lib/prism/node.rb#3510 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3428 + # source://prism//lib/prism/node.rb#3428 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3433 + # source://prism//lib/prism/node.rb#3433 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3443 + # source://prism//lib/prism/node.rb#3443 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3438 + # source://prism//lib/prism/node.rb#3438 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Prism::node, ?target: LocalVariableTargetNode, ?operator_loc: Location) -> CapturePatternNode # - # source://prism/lib/prism/node.rb#3448 + # source://prism//lib/prism/node.rb#3448 sig do params( node_id: Integer, @@ -4242,13 +4242,13 @@ class Prism::CapturePatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3433 + # source://prism//lib/prism/node.rb#3453 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Prism::node, target: LocalVariableTargetNode, operator_loc: Location } # - # source://prism/lib/prism/node.rb#3456 + # source://prism//lib/prism/node.rb#3456 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4257,13 +4257,13 @@ class Prism::CapturePatternNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#3494 + # source://prism//lib/prism/node.rb#3494 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#3489 + # source://prism//lib/prism/node.rb#3489 sig { returns(String) } def operator; end @@ -4272,14 +4272,14 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^ # - # source://prism/lib/prism/node.rb#3476 + # source://prism//lib/prism/node.rb#3476 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3484 + # source://prism//lib/prism/node.rb#3484 def save_operator_loc(repository); end # Represents the target of the capture. @@ -4287,13 +4287,13 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^^ # - # source://prism/lib/prism/node.rb#3470 + # source://prism//lib/prism/node.rb#3470 sig { returns(Prism::LocalVariableTargetNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3499 + # source://prism//lib/prism/node.rb#3499 sig { override.returns(Symbol) } def type; end @@ -4302,14 +4302,14 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^^ # - # source://prism/lib/prism/node.rb#3464 + # source://prism//lib/prism/node.rb#3464 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3504 + # source://prism//lib/prism/node.rb#3504 def type; end end end @@ -4321,13 +4321,13 @@ end # end # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3524 +# source://prism//lib/prism/node.rb#3524 class Prism::CaseMatchNode < ::Prism::Node # Initialize a new CaseMatchNode node. # # @return [CaseMatchNode] a new instance of CaseMatchNode # - # source://prism/lib/prism/node.rb#3526 + # source://prism//lib/prism/node.rb#3526 sig do params( source: Prism::Source, @@ -4346,18 +4346,18 @@ class Prism::CaseMatchNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3652 + # source://prism//lib/prism/node.rb#3652 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3539 + # source://prism//lib/prism/node.rb#3539 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def case_keyword: () -> String # - # source://prism/lib/prism/node.rb#3626 + # source://prism//lib/prism/node.rb#3626 sig { returns(String) } def case_keyword; end @@ -4366,25 +4366,25 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^ # - # source://prism/lib/prism/node.rb#3597 + # source://prism//lib/prism/node.rb#3597 sig { returns(Prism::Location) } def case_keyword_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3544 + # source://prism//lib/prism/node.rb#3544 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3558 + # source://prism//lib/prism/node.rb#3558 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3549 + # source://prism//lib/prism/node.rb#3549 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -4393,19 +4393,19 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#3585 + # source://prism//lib/prism/node.rb#3585 sig { returns(T::Array[Prism::InNode]) } def conditions; end # Returns the else clause of the case match node. This method is deprecated # in favor of #else_clause. # - # source://prism/lib/prism/node_ext.rb#467 + # source://prism//lib/prism/node_ext.rb#467 def consequent; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?predicate: Prism::node?, ?conditions: Array[InNode], ?else_clause: ElseNode?, ?case_keyword_loc: Location, ?end_keyword_loc: Location) -> CaseMatchNode # - # source://prism/lib/prism/node.rb#3563 + # source://prism//lib/prism/node.rb#3563 sig do params( node_id: Integer, @@ -4423,13 +4423,13 @@ class Prism::CaseMatchNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3544 + # source://prism//lib/prism/node.rb#3568 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, predicate: Prism::node?, conditions: Array[InNode], else_clause: ElseNode?, case_keyword_loc: Location, end_keyword_loc: Location } # - # source://prism/lib/prism/node.rb#3571 + # source://prism//lib/prism/node.rb#3571 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4438,13 +4438,13 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; else; end # ^^^^ # - # source://prism/lib/prism/node.rb#3591 + # source://prism//lib/prism/node.rb#3591 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#3631 + # source://prism//lib/prism/node.rb#3631 sig { returns(String) } def end_keyword; end @@ -4453,7 +4453,7 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^ # - # source://prism/lib/prism/node.rb#3613 + # source://prism//lib/prism/node.rb#3613 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4462,7 +4462,7 @@ class Prism::CaseMatchNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#3636 + # source://prism//lib/prism/node.rb#3636 sig { override.returns(String) } def inspect; end @@ -4471,32 +4471,32 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^ # - # source://prism/lib/prism/node.rb#3579 + # source://prism//lib/prism/node.rb#3579 sig { returns(T.nilable(Prism::Node)) } def predicate; end # Save the case_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3605 + # source://prism//lib/prism/node.rb#3605 def save_case_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3621 + # source://prism//lib/prism/node.rb#3621 def save_end_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3641 + # source://prism//lib/prism/node.rb#3641 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3646 + # source://prism//lib/prism/node.rb#3646 def type; end end end @@ -4508,13 +4508,13 @@ end # end # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3669 +# source://prism//lib/prism/node.rb#3669 class Prism::CaseNode < ::Prism::Node # Initialize a new CaseNode node. # # @return [CaseNode] a new instance of CaseNode # - # source://prism/lib/prism/node.rb#3671 + # source://prism//lib/prism/node.rb#3671 sig do params( source: Prism::Source, @@ -4533,18 +4533,18 @@ class Prism::CaseNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3797 + # source://prism//lib/prism/node.rb#3797 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3684 + # source://prism//lib/prism/node.rb#3684 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def case_keyword: () -> String # - # source://prism/lib/prism/node.rb#3771 + # source://prism//lib/prism/node.rb#3771 sig { returns(String) } def case_keyword; end @@ -4553,25 +4553,25 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^ # - # source://prism/lib/prism/node.rb#3742 + # source://prism//lib/prism/node.rb#3742 sig { returns(Prism::Location) } def case_keyword_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3689 + # source://prism//lib/prism/node.rb#3689 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3703 + # source://prism//lib/prism/node.rb#3703 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3694 + # source://prism//lib/prism/node.rb#3694 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -4580,19 +4580,19 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^^^^^^^ # - # source://prism/lib/prism/node.rb#3730 + # source://prism//lib/prism/node.rb#3730 sig { returns(T::Array[Prism::WhenNode]) } def conditions; end # Returns the else clause of the case node. This method is deprecated in # favor of #else_clause. # - # source://prism/lib/prism/node_ext.rb#476 + # source://prism//lib/prism/node_ext.rb#476 def consequent; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?predicate: Prism::node?, ?conditions: Array[WhenNode], ?else_clause: ElseNode?, ?case_keyword_loc: Location, ?end_keyword_loc: Location) -> CaseNode # - # source://prism/lib/prism/node.rb#3708 + # source://prism//lib/prism/node.rb#3708 sig do params( node_id: Integer, @@ -4610,13 +4610,13 @@ class Prism::CaseNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3689 + # source://prism//lib/prism/node.rb#3713 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, predicate: Prism::node?, conditions: Array[WhenNode], else_clause: ElseNode?, case_keyword_loc: Location, end_keyword_loc: Location } # - # source://prism/lib/prism/node.rb#3716 + # source://prism//lib/prism/node.rb#3716 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4625,13 +4625,13 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; else; end # ^^^^ # - # source://prism/lib/prism/node.rb#3736 + # source://prism//lib/prism/node.rb#3736 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#3776 + # source://prism//lib/prism/node.rb#3776 sig { returns(String) } def end_keyword; end @@ -4640,7 +4640,7 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^ # - # source://prism/lib/prism/node.rb#3758 + # source://prism//lib/prism/node.rb#3758 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4649,7 +4649,7 @@ class Prism::CaseNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#3781 + # source://prism//lib/prism/node.rb#3781 sig { override.returns(String) } def inspect; end @@ -4658,32 +4658,32 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^ # - # source://prism/lib/prism/node.rb#3724 + # source://prism//lib/prism/node.rb#3724 sig { returns(T.nilable(Prism::Node)) } def predicate; end # Save the case_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3750 + # source://prism//lib/prism/node.rb#3750 def save_case_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3766 + # source://prism//lib/prism/node.rb#3766 def save_end_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3786 + # source://prism//lib/prism/node.rb#3786 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3791 + # source://prism//lib/prism/node.rb#3791 def type; end end end @@ -4693,13 +4693,13 @@ end # class Foo end # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3812 +# source://prism//lib/prism/node.rb#3812 class Prism::ClassNode < ::Prism::Node # Initialize a new ClassNode node. # # @return [ClassNode] a new instance of ClassNode # - # source://prism/lib/prism/node.rb#3814 + # source://prism//lib/prism/node.rb#3814 sig do params( source: Prism::Source, @@ -4721,60 +4721,60 @@ class Prism::ClassNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#3958 + # source://prism//lib/prism/node.rb#3958 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3830 + # source://prism//lib/prism/node.rb#3830 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: StatementsNode | BeginNode | nil # - # source://prism/lib/prism/node.rb#3908 + # source://prism//lib/prism/node.rb#3908 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3835 + # source://prism//lib/prism/node.rb#3835 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def class_keyword: () -> String # - # source://prism/lib/prism/node.rb#3927 + # source://prism//lib/prism/node.rb#3927 sig { returns(String) } def class_keyword; end # attr_reader class_keyword_loc: Location # - # source://prism/lib/prism/node.rb#3870 + # source://prism//lib/prism/node.rb#3870 sig { returns(Prism::Location) } def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#3849 + # source://prism//lib/prism/node.rb#3849 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#3840 + # source://prism//lib/prism/node.rb#3840 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader constant_path: ConstantReadNode | ConstantPathNode | CallNode # - # source://prism/lib/prism/node.rb#3883 + # source://prism//lib/prism/node.rb#3883 sig { returns(T.any(Prism::ConstantReadNode, Prism::ConstantPathNode, Prism::CallNode)) } def constant_path; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?class_keyword_loc: Location, ?constant_path: ConstantReadNode | ConstantPathNode | CallNode, ?inheritance_operator_loc: Location?, ?superclass: Prism::node?, ?body: StatementsNode | BeginNode | nil, ?end_keyword_loc: Location, ?name: Symbol) -> ClassNode # - # source://prism/lib/prism/node.rb#3854 + # source://prism//lib/prism/node.rb#3854 sig do params( node_id: Integer, @@ -4795,25 +4795,25 @@ class Prism::ClassNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3835 + # source://prism//lib/prism/node.rb#3859 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], class_keyword_loc: Location, constant_path: ConstantReadNode | ConstantPathNode | CallNode, inheritance_operator_loc: Location?, superclass: Prism::node?, body: StatementsNode | BeginNode | nil, end_keyword_loc: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#3862 + # source://prism//lib/prism/node.rb#3862 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#3937 + # source://prism//lib/prism/node.rb#3937 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism/lib/prism/node.rb#3911 + # source://prism//lib/prism/node.rb#3911 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4822,68 +4822,68 @@ class Prism::ClassNode < ::Prism::Node # def inheritance_operator: () -> String? # - # source://prism/lib/prism/node.rb#3932 + # source://prism//lib/prism/node.rb#3932 sig { returns(T.nilable(String)) } def inheritance_operator; end # attr_reader inheritance_operator_loc: Location? # - # source://prism/lib/prism/node.rb#3886 + # source://prism//lib/prism/node.rb#3886 sig { returns(T.nilable(Prism::Location)) } def inheritance_operator_loc; end # def inspect -> String # - # source://prism/lib/prism/node.rb#3942 + # source://prism//lib/prism/node.rb#3942 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#3867 + # source://prism//lib/prism/node.rb#3867 sig { returns(T::Array[Symbol]) } def locals; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#3924 + # source://prism//lib/prism/node.rb#3924 sig { returns(Symbol) } def name; end # Save the class_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3878 + # source://prism//lib/prism/node.rb#3878 def save_class_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3919 + # source://prism//lib/prism/node.rb#3919 def save_end_keyword_loc(repository); end # Save the inheritance_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#3900 + # source://prism//lib/prism/node.rb#3900 def save_inheritance_operator_loc(repository); end # attr_reader superclass: Prism::node? # - # source://prism/lib/prism/node.rb#3905 + # source://prism//lib/prism/node.rb#3905 sig { returns(T.nilable(Prism::Node)) } def superclass; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#3947 + # source://prism//lib/prism/node.rb#3947 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#3952 + # source://prism//lib/prism/node.rb#3952 def type; end end end @@ -4893,13 +4893,13 @@ end # @@target &&= value # ^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#3976 +# source://prism//lib/prism/node.rb#3976 class Prism::ClassVariableAndWriteNode < ::Prism::Node # Initialize a new ClassVariableAndWriteNode node. # # @return [ClassVariableAndWriteNode] a new instance of ClassVariableAndWriteNode # - # source://prism/lib/prism/node.rb#3978 + # source://prism//lib/prism/node.rb#3978 sig do params( source: Prism::Source, @@ -4917,36 +4917,36 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4088 + # source://prism//lib/prism/node.rb#4088 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#3990 + # source://prism//lib/prism/node.rb#3990 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3995 + # source://prism//lib/prism/node.rb#3995 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4005 + # source://prism//lib/prism/node.rb#4005 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4000 + # source://prism//lib/prism/node.rb#4000 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> ClassVariableAndWriteNode # - # source://prism/lib/prism/node.rb#4010 + # source://prism//lib/prism/node.rb#4010 sig do params( node_id: Integer, @@ -4963,17 +4963,17 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#3995 + # source://prism//lib/prism/node.rb#4015 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#4018 + # source://prism//lib/prism/node.rb#4018 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#164 + # source://prism//lib/prism/desugar_compiler.rb#164 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -4981,7 +4981,7 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4072 + # source://prism//lib/prism/node.rb#4072 sig { override.returns(String) } def inspect; end @@ -4990,7 +4990,7 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # name `:@@target` # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#4026 + # source://prism//lib/prism/node.rb#4026 sig { returns(Symbol) } def name; end @@ -4999,13 +4999,13 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#4032 + # source://prism//lib/prism/node.rb#4032 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#4067 + # source://prism//lib/prism/node.rb#4067 sig { returns(String) } def operator; end @@ -5014,25 +5014,25 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^ # - # source://prism/lib/prism/node.rb#4048 + # source://prism//lib/prism/node.rb#4048 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4040 + # source://prism//lib/prism/node.rb#4040 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4056 + # source://prism//lib/prism/node.rb#4056 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4077 + # source://prism//lib/prism/node.rb#4077 sig { override.returns(Symbol) } def type; end @@ -5041,14 +5041,14 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^^^ # - # source://prism/lib/prism/node.rb#4064 + # source://prism//lib/prism/node.rb#4064 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4082 + # source://prism//lib/prism/node.rb#4082 def type; end end end @@ -5058,13 +5058,13 @@ end # @@target += value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4101 +# source://prism//lib/prism/node.rb#4101 class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # Initialize a new ClassVariableOperatorWriteNode node. # # @return [ClassVariableOperatorWriteNode] a new instance of ClassVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#4103 + # source://prism//lib/prism/node.rb#4103 sig do params( source: Prism::Source, @@ -5083,48 +5083,48 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4200 + # source://prism//lib/prism/node.rb#4200 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4116 + # source://prism//lib/prism/node.rb#4116 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#4181 + # source://prism//lib/prism/node.rb#4181 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#4165 + # source://prism//lib/prism/node.rb#4165 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4121 + # source://prism//lib/prism/node.rb#4121 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4131 + # source://prism//lib/prism/node.rb#4131 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4126 + # source://prism//lib/prism/node.rb#4126 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?binary_operator_loc: Location, ?value: Prism::node, ?binary_operator: Symbol) -> ClassVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#4136 + # source://prism//lib/prism/node.rb#4136 sig do params( node_id: Integer, @@ -5142,17 +5142,17 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4121 + # source://prism//lib/prism/node.rb#4141 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, binary_operator_loc: Location, value: Prism::node, binary_operator: Symbol } # - # source://prism/lib/prism/node.rb#4144 + # source://prism//lib/prism/node.rb#4144 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#176 + # source://prism//lib/prism/desugar_compiler.rb#176 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -5160,62 +5160,62 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4184 + # source://prism//lib/prism/node.rb#4184 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4149 + # source://prism//lib/prism/node.rb#4149 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#4152 + # source://prism//lib/prism/node.rb#4152 sig { returns(Prism::Location) } def name_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#355 + # source://prism//lib/prism/node_ext.rb#355 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#362 + # source://prism//lib/prism/node_ext.rb#362 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4173 + # source://prism//lib/prism/node.rb#4173 def save_binary_operator_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4160 + # source://prism//lib/prism/node.rb#4160 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4189 + # source://prism//lib/prism/node.rb#4189 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#4178 + # source://prism//lib/prism/node.rb#4178 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4194 + # source://prism//lib/prism/node.rb#4194 def type; end end end @@ -5225,13 +5225,13 @@ end # @@target ||= value # ^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4214 +# source://prism//lib/prism/node.rb#4214 class Prism::ClassVariableOrWriteNode < ::Prism::Node # Initialize a new ClassVariableOrWriteNode node. # # @return [ClassVariableOrWriteNode] a new instance of ClassVariableOrWriteNode # - # source://prism/lib/prism/node.rb#4216 + # source://prism//lib/prism/node.rb#4216 sig do params( source: Prism::Source, @@ -5249,36 +5249,36 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4314 + # source://prism//lib/prism/node.rb#4314 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4228 + # source://prism//lib/prism/node.rb#4228 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4233 + # source://prism//lib/prism/node.rb#4233 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4243 + # source://prism//lib/prism/node.rb#4243 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4238 + # source://prism//lib/prism/node.rb#4238 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> ClassVariableOrWriteNode # - # source://prism/lib/prism/node.rb#4248 + # source://prism//lib/prism/node.rb#4248 sig do params( node_id: Integer, @@ -5295,17 +5295,17 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4233 + # source://prism//lib/prism/node.rb#4253 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#4256 + # source://prism//lib/prism/node.rb#4256 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#170 + # source://prism//lib/prism/desugar_compiler.rb#170 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -5313,62 +5313,62 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4298 + # source://prism//lib/prism/node.rb#4298 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4261 + # source://prism//lib/prism/node.rb#4261 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#4264 + # source://prism//lib/prism/node.rb#4264 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#4293 + # source://prism//lib/prism/node.rb#4293 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#4277 + # source://prism//lib/prism/node.rb#4277 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4272 + # source://prism//lib/prism/node.rb#4272 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4285 + # source://prism//lib/prism/node.rb#4285 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4303 + # source://prism//lib/prism/node.rb#4303 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#4290 + # source://prism//lib/prism/node.rb#4290 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4308 + # source://prism//lib/prism/node.rb#4308 def type; end end end @@ -5378,49 +5378,49 @@ end # @@foo # ^^^^^ # -# source://prism/lib/prism/node.rb#4327 +# source://prism//lib/prism/node.rb#4327 class Prism::ClassVariableReadNode < ::Prism::Node # Initialize a new ClassVariableReadNode node. # # @return [ClassVariableReadNode] a new instance of ClassVariableReadNode # - # source://prism/lib/prism/node.rb#4329 + # source://prism//lib/prism/node.rb#4329 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4394 + # source://prism//lib/prism/node.rb#4394 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4338 + # source://prism//lib/prism/node.rb#4338 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4343 + # source://prism//lib/prism/node.rb#4343 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4353 + # source://prism//lib/prism/node.rb#4353 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4348 + # source://prism//lib/prism/node.rb#4348 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> ClassVariableReadNode # - # source://prism/lib/prism/node.rb#4358 + # source://prism//lib/prism/node.rb#4358 sig do params( node_id: Integer, @@ -5434,13 +5434,13 @@ class Prism::ClassVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4343 + # source://prism//lib/prism/node.rb#4363 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#4366 + # source://prism//lib/prism/node.rb#4366 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5449,7 +5449,7 @@ class Prism::ClassVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4378 + # source://prism//lib/prism/node.rb#4378 sig { override.returns(String) } def inspect; end @@ -5459,20 +5459,20 @@ class Prism::ClassVariableReadNode < ::Prism::Node # # @@_test # name `:@@_test` # - # source://prism/lib/prism/node.rb#4375 + # source://prism//lib/prism/node.rb#4375 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4383 + # source://prism//lib/prism/node.rb#4383 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4388 + # source://prism//lib/prism/node.rb#4388 def type; end end end @@ -5482,49 +5482,49 @@ end # @@foo, @@bar = baz # ^^^^^ ^^^^^ # -# source://prism/lib/prism/node.rb#4404 +# source://prism//lib/prism/node.rb#4404 class Prism::ClassVariableTargetNode < ::Prism::Node # Initialize a new ClassVariableTargetNode node. # # @return [ClassVariableTargetNode] a new instance of ClassVariableTargetNode # - # source://prism/lib/prism/node.rb#4406 + # source://prism//lib/prism/node.rb#4406 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4467 + # source://prism//lib/prism/node.rb#4467 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4415 + # source://prism//lib/prism/node.rb#4415 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4420 + # source://prism//lib/prism/node.rb#4420 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4430 + # source://prism//lib/prism/node.rb#4430 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4425 + # source://prism//lib/prism/node.rb#4425 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> ClassVariableTargetNode # - # source://prism/lib/prism/node.rb#4435 + # source://prism//lib/prism/node.rb#4435 sig do params( node_id: Integer, @@ -5538,13 +5538,13 @@ class Prism::ClassVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4420 + # source://prism//lib/prism/node.rb#4440 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#4443 + # source://prism//lib/prism/node.rb#4443 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5553,26 +5553,26 @@ class Prism::ClassVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4451 + # source://prism//lib/prism/node.rb#4451 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4448 + # source://prism//lib/prism/node.rb#4448 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4456 + # source://prism//lib/prism/node.rb#4456 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4461 + # source://prism//lib/prism/node.rb#4461 def type; end end end @@ -5582,13 +5582,13 @@ end # @@foo = 1 # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4477 +# source://prism//lib/prism/node.rb#4477 class Prism::ClassVariableWriteNode < ::Prism::Node # Initialize a new ClassVariableWriteNode node. # # @return [ClassVariableWriteNode] a new instance of ClassVariableWriteNode # - # source://prism/lib/prism/node.rb#4479 + # source://prism//lib/prism/node.rb#4479 sig do params( source: Prism::Source, @@ -5606,36 +5606,36 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4593 + # source://prism//lib/prism/node.rb#4593 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4491 + # source://prism//lib/prism/node.rb#4491 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4496 + # source://prism//lib/prism/node.rb#4496 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4506 + # source://prism//lib/prism/node.rb#4506 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4501 + # source://prism//lib/prism/node.rb#4501 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?value: Prism::node, ?operator_loc: Location) -> ClassVariableWriteNode # - # source://prism/lib/prism/node.rb#4511 + # source://prism//lib/prism/node.rb#4511 sig do params( node_id: Integer, @@ -5652,13 +5652,13 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4496 + # source://prism//lib/prism/node.rb#4516 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, value: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#4519 + # source://prism//lib/prism/node.rb#4519 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5667,7 +5667,7 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4577 + # source://prism//lib/prism/node.rb#4577 sig { override.returns(String) } def inspect; end @@ -5677,7 +5677,7 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # # @@_test = :test # name `@@_test` # - # source://prism/lib/prism/node.rb#4528 + # source://prism//lib/prism/node.rb#4528 sig { returns(Symbol) } def name; end @@ -5686,13 +5686,13 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@foo = :bar # ^^^^^ # - # source://prism/lib/prism/node.rb#4534 + # source://prism//lib/prism/node.rb#4534 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#4572 + # source://prism//lib/prism/node.rb#4572 sig { returns(String) } def operator; end @@ -5701,25 +5701,25 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@foo = :bar # ^ # - # source://prism/lib/prism/node.rb#4559 + # source://prism//lib/prism/node.rb#4559 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4542 + # source://prism//lib/prism/node.rb#4542 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4567 + # source://prism//lib/prism/node.rb#4567 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4582 + # source://prism//lib/prism/node.rb#4582 sig { override.returns(Symbol) } def type; end @@ -5731,14 +5731,14 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@_xyz = 123 # ^^^ # - # source://prism/lib/prism/node.rb#4553 + # source://prism//lib/prism/node.rb#4553 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4587 + # source://prism//lib/prism/node.rb#4587 def type; end end end @@ -5757,49 +5757,49 @@ end # introduce some kind of LRU cache to limit the number of entries, but this # has not yet been implemented. # -# source://prism/lib/prism/parse_result.rb#172 +# source://prism//lib/prism/parse_result.rb#172 class Prism::CodeUnitsCache # Initialize a new cache with the given source and encoding. # # @return [CodeUnitsCache] a new instance of CodeUnitsCache # - # source://prism/lib/prism/parse_result.rb#198 + # source://prism//lib/prism/parse_result.rb#198 sig { params(source: String, encoding: Encoding).void } def initialize(source, encoding); end # Retrieve the code units offset from the given byte offset. # - # source://prism/lib/prism/parse_result.rb#212 + # source://prism//lib/prism/parse_result.rb#212 sig { params(byte_offset: Integer).returns(Integer) } def [](byte_offset); end end -# source://prism/lib/prism/parse_result.rb#184 +# source://prism//lib/prism/parse_result.rb#184 class Prism::CodeUnitsCache::LengthCounter # @return [LengthCounter] a new instance of LengthCounter # - # source://prism/lib/prism/parse_result.rb#185 + # source://prism//lib/prism/parse_result.rb#185 def initialize(source, encoding); end - # source://prism/lib/prism/parse_result.rb#190 + # source://prism//lib/prism/parse_result.rb#190 def count(byte_offset, byte_length); end end -# source://prism/lib/prism/parse_result.rb#173 +# source://prism//lib/prism/parse_result.rb#173 class Prism::CodeUnitsCache::UTF16Counter # @return [UTF16Counter] a new instance of UTF16Counter # - # source://prism/lib/prism/parse_result.rb#174 + # source://prism//lib/prism/parse_result.rb#174 def initialize(source, encoding); end - # source://prism/lib/prism/parse_result.rb#179 + # source://prism//lib/prism/parse_result.rb#179 def count(byte_offset, byte_length); end end # This represents a comment that was encountered during parsing. It is the # base class for all comment types. # -# source://prism/lib/prism/parse_result.rb#507 +# source://prism//lib/prism/parse_result.rb#507 class Prism::Comment abstract! @@ -5807,25 +5807,25 @@ class Prism::Comment # # @return [Comment] a new instance of Comment # - # source://prism/lib/prism/parse_result.rb#512 + # source://prism//lib/prism/parse_result.rb#512 sig { params(location: Prism::Location).void } def initialize(location); end # Implement the hash pattern matching interface for Comment. # - # source://prism/lib/prism/parse_result.rb#517 + # source://prism//lib/prism/parse_result.rb#517 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # The location of this comment in the source. # - # source://prism/lib/prism/parse_result.rb#509 + # source://prism//lib/prism/parse_result.rb#509 sig { returns(Prism::Location) } def location; end # Returns the content of the comment by slicing it from the source code. # - # source://prism/lib/prism/parse_result.rb#522 + # source://prism//lib/prism/parse_result.rb#522 sig { returns(String) } def slice; end @@ -5850,930 +5850,930 @@ end # Prism.parse("1 + 2").value.accept(SExpressions.new) # # => [:program, [[[:call, [[:integer], [:arguments, [[:integer]]]]]]]] # -# source://prism/lib/prism/compiler.rb#27 +# source://prism//lib/prism/compiler.rb#27 class Prism::Compiler < ::Prism::Visitor # Visit an individual node. # - # source://prism/lib/prism/compiler.rb#29 + # source://prism//lib/prism/compiler.rb#29 sig { params(node: T.nilable(Prism::Node)).returns(T.untyped) } def visit(node); end # Visit the child nodes of the given node. # Compile a AliasGlobalVariableNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#44 def visit_alias_global_variable_node(node); end # Visit the child nodes of the given node. # Compile a AliasMethodNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#47 def visit_alias_method_node(node); end # Visit a list of nodes. # - # source://prism/lib/prism/compiler.rb#34 + # source://prism//lib/prism/compiler.rb#34 sig { params(nodes: T::Array[T.nilable(Prism::Node)]).returns(T::Array[T.untyped]) } def visit_all(nodes); end # Visit the child nodes of the given node. # Compile a AlternationPatternNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#50 def visit_alternation_pattern_node(node); end # Visit the child nodes of the given node. # Compile a AndNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#53 def visit_and_node(node); end # Visit the child nodes of the given node. # Compile a ArgumentsNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#56 def visit_arguments_node(node); end # Visit the child nodes of the given node. # Compile a ArrayNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#59 def visit_array_node(node); end # Visit the child nodes of the given node. # Compile a ArrayPatternNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#62 def visit_array_pattern_node(node); end # Visit the child nodes of the given node. # Compile a AssocNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#65 def visit_assoc_node(node); end # Visit the child nodes of the given node. # Compile a AssocSplatNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#68 def visit_assoc_splat_node(node); end # Visit the child nodes of the given node. # Compile a BackReferenceReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#71 def visit_back_reference_read_node(node); end # Visit the child nodes of the given node. # Compile a BeginNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#74 def visit_begin_node(node); end # Visit the child nodes of the given node. # Compile a BlockArgumentNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#77 def visit_block_argument_node(node); end # Visit the child nodes of the given node. # Compile a BlockLocalVariableNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#80 def visit_block_local_variable_node(node); end # Visit the child nodes of the given node. # Compile a BlockNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#83 def visit_block_node(node); end # Visit the child nodes of the given node. # Compile a BlockParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#86 def visit_block_parameter_node(node); end # Visit the child nodes of the given node. # Compile a BlockParametersNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#89 def visit_block_parameters_node(node); end # Visit the child nodes of the given node. # Compile a BreakNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#92 def visit_break_node(node); end # Visit the child nodes of the given node. # Compile a CallAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#95 def visit_call_and_write_node(node); end # Visit the child nodes of the given node. # Compile a CallNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#98 def visit_call_node(node); end # Visit the child nodes of the given node. # Compile a CallOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#101 def visit_call_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a CallOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#104 def visit_call_or_write_node(node); end # Visit the child nodes of the given node. # Compile a CallTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#107 def visit_call_target_node(node); end # Visit the child nodes of the given node. # Compile a CapturePatternNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#110 def visit_capture_pattern_node(node); end # Visit the child nodes of the given node. # Compile a CaseMatchNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#113 def visit_case_match_node(node); end # Visit the child nodes of the given node. # Compile a CaseNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#116 def visit_case_node(node); end # Visit the child nodes of the given node. # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#39 sig { params(node: Prism::Node).returns(T::Array[T.untyped]) } def visit_child_nodes(node); end # Visit the child nodes of the given node. # Compile a ClassNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#119 def visit_class_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#122 def visit_class_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#125 def visit_class_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#128 def visit_class_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#131 def visit_class_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#134 def visit_class_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#137 def visit_class_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#140 def visit_constant_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#143 def visit_constant_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#146 def visit_constant_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#149 def visit_constant_path_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#152 def visit_constant_path_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#155 def visit_constant_path_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#158 def visit_constant_path_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#161 def visit_constant_path_target_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#164 def visit_constant_path_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#167 def visit_constant_read_node(node); end # Visit the child nodes of the given node. # Compile a ConstantTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#170 def visit_constant_target_node(node); end # Visit the child nodes of the given node. # Compile a ConstantWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#173 def visit_constant_write_node(node); end # Visit the child nodes of the given node. # Compile a DefNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#176 def visit_def_node(node); end # Visit the child nodes of the given node. # Compile a DefinedNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#179 def visit_defined_node(node); end # Visit the child nodes of the given node. # Compile a ElseNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#182 def visit_else_node(node); end # Visit the child nodes of the given node. # Compile a EmbeddedStatementsNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#185 def visit_embedded_statements_node(node); end # Visit the child nodes of the given node. # Compile a EmbeddedVariableNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#188 def visit_embedded_variable_node(node); end # Visit the child nodes of the given node. # Compile a EnsureNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#191 def visit_ensure_node(node); end # Visit the child nodes of the given node. # Compile a FalseNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#194 def visit_false_node(node); end # Visit the child nodes of the given node. # Compile a FindPatternNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#197 def visit_find_pattern_node(node); end # Visit the child nodes of the given node. # Compile a FlipFlopNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#200 def visit_flip_flop_node(node); end # Visit the child nodes of the given node. # Compile a FloatNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#203 def visit_float_node(node); end # Visit the child nodes of the given node. # Compile a ForNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#206 def visit_for_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingArgumentsNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#209 def visit_forwarding_arguments_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#212 def visit_forwarding_parameter_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingSuperNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#215 def visit_forwarding_super_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#218 def visit_global_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#221 def visit_global_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#224 def visit_global_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#227 def visit_global_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#230 def visit_global_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#233 def visit_global_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a HashNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#236 def visit_hash_node(node); end # Visit the child nodes of the given node. # Compile a HashPatternNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#239 def visit_hash_pattern_node(node); end # Visit the child nodes of the given node. # Compile a IfNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#242 def visit_if_node(node); end # Visit the child nodes of the given node. # Compile a ImaginaryNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#245 def visit_imaginary_node(node); end # Visit the child nodes of the given node. # Compile a ImplicitNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#248 def visit_implicit_node(node); end # Visit the child nodes of the given node. # Compile a ImplicitRestNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#251 def visit_implicit_rest_node(node); end # Visit the child nodes of the given node. # Compile a InNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#254 def visit_in_node(node); end # Visit the child nodes of the given node. # Compile a IndexAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#257 def visit_index_and_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#260 def visit_index_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#263 def visit_index_or_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#266 def visit_index_target_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#269 def visit_instance_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#272 def visit_instance_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#275 def visit_instance_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#278 def visit_instance_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#281 def visit_instance_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#284 def visit_instance_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a IntegerNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#287 def visit_integer_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedMatchLastLineNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#290 def visit_interpolated_match_last_line_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedRegularExpressionNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#293 def visit_interpolated_regular_expression_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedStringNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#296 def visit_interpolated_string_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedSymbolNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#299 def visit_interpolated_symbol_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedXStringNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#302 def visit_interpolated_x_string_node(node); end # Visit the child nodes of the given node. # Compile a ItLocalVariableReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#305 def visit_it_local_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a ItParametersNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#308 def visit_it_parameters_node(node); end # Visit the child nodes of the given node. # Compile a KeywordHashNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#311 def visit_keyword_hash_node(node); end # Visit the child nodes of the given node. # Compile a KeywordRestParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#314 def visit_keyword_rest_parameter_node(node); end # Visit the child nodes of the given node. # Compile a LambdaNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#317 def visit_lambda_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableAndWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#320 def visit_local_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableOperatorWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#323 def visit_local_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableOrWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#326 def visit_local_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#329 def visit_local_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#332 def visit_local_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#335 def visit_local_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a MatchLastLineNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#338 def visit_match_last_line_node(node); end # Visit the child nodes of the given node. # Compile a MatchPredicateNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#341 def visit_match_predicate_node(node); end # Visit the child nodes of the given node. # Compile a MatchRequiredNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#344 def visit_match_required_node(node); end # Visit the child nodes of the given node. # Compile a MatchWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#347 def visit_match_write_node(node); end # Visit the child nodes of the given node. # Compile a MissingNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#350 def visit_missing_node(node); end # Visit the child nodes of the given node. # Compile a ModuleNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#353 def visit_module_node(node); end # Visit the child nodes of the given node. # Compile a MultiTargetNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#356 def visit_multi_target_node(node); end # Visit the child nodes of the given node. # Compile a MultiWriteNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#359 def visit_multi_write_node(node); end # Visit the child nodes of the given node. # Compile a NextNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#362 def visit_next_node(node); end # Visit the child nodes of the given node. # Compile a NilNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#365 def visit_nil_node(node); end # Visit the child nodes of the given node. # Compile a NoKeywordsParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#368 def visit_no_keywords_parameter_node(node); end # Visit the child nodes of the given node. # Compile a NumberedParametersNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#371 def visit_numbered_parameters_node(node); end # Visit the child nodes of the given node. # Compile a NumberedReferenceReadNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#374 def visit_numbered_reference_read_node(node); end # Visit the child nodes of the given node. # Compile a OptionalKeywordParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#377 def visit_optional_keyword_parameter_node(node); end # Visit the child nodes of the given node. # Compile a OptionalParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#380 def visit_optional_parameter_node(node); end # Visit the child nodes of the given node. # Compile a OrNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#383 def visit_or_node(node); end # Visit the child nodes of the given node. # Compile a ParametersNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#386 def visit_parameters_node(node); end # Visit the child nodes of the given node. # Compile a ParenthesesNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#389 def visit_parentheses_node(node); end # Visit the child nodes of the given node. # Compile a PinnedExpressionNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#392 def visit_pinned_expression_node(node); end # Visit the child nodes of the given node. # Compile a PinnedVariableNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#395 def visit_pinned_variable_node(node); end # Visit the child nodes of the given node. # Compile a PostExecutionNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#398 def visit_post_execution_node(node); end # Visit the child nodes of the given node. # Compile a PreExecutionNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#401 def visit_pre_execution_node(node); end # Visit the child nodes of the given node. # Compile a ProgramNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#404 def visit_program_node(node); end # Visit the child nodes of the given node. # Compile a RangeNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#407 def visit_range_node(node); end # Visit the child nodes of the given node. # Compile a RationalNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#410 def visit_rational_node(node); end # Visit the child nodes of the given node. # Compile a RedoNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#413 def visit_redo_node(node); end # Visit the child nodes of the given node. # Compile a RegularExpressionNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#416 def visit_regular_expression_node(node); end # Visit the child nodes of the given node. # Compile a RequiredKeywordParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#419 def visit_required_keyword_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RequiredParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#422 def visit_required_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RescueModifierNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#425 def visit_rescue_modifier_node(node); end # Visit the child nodes of the given node. # Compile a RescueNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#428 def visit_rescue_node(node); end # Visit the child nodes of the given node. # Compile a RestParameterNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#431 def visit_rest_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RetryNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#434 def visit_retry_node(node); end # Visit the child nodes of the given node. # Compile a ReturnNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#437 def visit_return_node(node); end # Visit the child nodes of the given node. # Compile a SelfNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#440 def visit_self_node(node); end # Visit the child nodes of the given node. # Compile a ShareableConstantNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#443 def visit_shareable_constant_node(node); end # Visit the child nodes of the given node. # Compile a SingletonClassNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#446 def visit_singleton_class_node(node); end # Visit the child nodes of the given node. # Compile a SourceEncodingNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#449 def visit_source_encoding_node(node); end # Visit the child nodes of the given node. # Compile a SourceFileNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#452 def visit_source_file_node(node); end # Visit the child nodes of the given node. # Compile a SourceLineNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#455 def visit_source_line_node(node); end # Visit the child nodes of the given node. # Compile a SplatNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#458 def visit_splat_node(node); end # Visit the child nodes of the given node. # Compile a StatementsNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#461 def visit_statements_node(node); end # Visit the child nodes of the given node. # Compile a StringNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#464 def visit_string_node(node); end # Visit the child nodes of the given node. # Compile a SuperNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#467 def visit_super_node(node); end # Visit the child nodes of the given node. # Compile a SymbolNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#470 def visit_symbol_node(node); end # Visit the child nodes of the given node. # Compile a TrueNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#473 def visit_true_node(node); end # Visit the child nodes of the given node. # Compile a UndefNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#476 def visit_undef_node(node); end # Visit the child nodes of the given node. # Compile a UnlessNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#479 def visit_unless_node(node); end # Visit the child nodes of the given node. # Compile a UntilNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#482 def visit_until_node(node); end # Visit the child nodes of the given node. # Compile a WhenNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#485 def visit_when_node(node); end # Visit the child nodes of the given node. # Compile a WhileNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#488 def visit_while_node(node); end # Visit the child nodes of the given node. # Compile a XStringNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#491 def visit_x_string_node(node); end # Visit the child nodes of the given node. # Compile a YieldNode node # - # source://prism/lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#494 def visit_yield_node(node); end end @@ -6782,13 +6782,13 @@ end # Target &&= value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4606 +# source://prism//lib/prism/node.rb#4606 class Prism::ConstantAndWriteNode < ::Prism::Node # Initialize a new ConstantAndWriteNode node. # # @return [ConstantAndWriteNode] a new instance of ConstantAndWriteNode # - # source://prism/lib/prism/node.rb#4608 + # source://prism//lib/prism/node.rb#4608 sig do params( source: Prism::Source, @@ -6806,36 +6806,36 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4706 + # source://prism//lib/prism/node.rb#4706 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4620 + # source://prism//lib/prism/node.rb#4620 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4625 + # source://prism//lib/prism/node.rb#4625 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4635 + # source://prism//lib/prism/node.rb#4635 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4630 + # source://prism//lib/prism/node.rb#4630 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> ConstantAndWriteNode # - # source://prism/lib/prism/node.rb#4640 + # source://prism//lib/prism/node.rb#4640 sig do params( node_id: Integer, @@ -6852,17 +6852,17 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4625 + # source://prism//lib/prism/node.rb#4645 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#4648 + # source://prism//lib/prism/node.rb#4648 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#182 + # source://prism//lib/prism/desugar_compiler.rb#182 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -6870,62 +6870,62 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4690 + # source://prism//lib/prism/node.rb#4690 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4653 + # source://prism//lib/prism/node.rb#4653 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#4656 + # source://prism//lib/prism/node.rb#4656 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#4685 + # source://prism//lib/prism/node.rb#4685 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#4669 + # source://prism//lib/prism/node.rb#4669 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4664 + # source://prism//lib/prism/node.rb#4664 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4677 + # source://prism//lib/prism/node.rb#4677 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4695 + # source://prism//lib/prism/node.rb#4695 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#4682 + # source://prism//lib/prism/node.rb#4682 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4700 + # source://prism//lib/prism/node.rb#4700 def type; end end end @@ -6935,13 +6935,13 @@ end # Target += value # ^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4719 +# source://prism//lib/prism/node.rb#4719 class Prism::ConstantOperatorWriteNode < ::Prism::Node # Initialize a new ConstantOperatorWriteNode node. # # @return [ConstantOperatorWriteNode] a new instance of ConstantOperatorWriteNode # - # source://prism/lib/prism/node.rb#4721 + # source://prism//lib/prism/node.rb#4721 sig do params( source: Prism::Source, @@ -6960,48 +6960,48 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4818 + # source://prism//lib/prism/node.rb#4818 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4734 + # source://prism//lib/prism/node.rb#4734 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#4799 + # source://prism//lib/prism/node.rb#4799 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#4783 + # source://prism//lib/prism/node.rb#4783 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4739 + # source://prism//lib/prism/node.rb#4739 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4749 + # source://prism//lib/prism/node.rb#4749 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4744 + # source://prism//lib/prism/node.rb#4744 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?binary_operator_loc: Location, ?value: Prism::node, ?binary_operator: Symbol) -> ConstantOperatorWriteNode # - # source://prism/lib/prism/node.rb#4754 + # source://prism//lib/prism/node.rb#4754 sig do params( node_id: Integer, @@ -7019,17 +7019,17 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4739 + # source://prism//lib/prism/node.rb#4759 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, binary_operator_loc: Location, value: Prism::node, binary_operator: Symbol } # - # source://prism/lib/prism/node.rb#4762 + # source://prism//lib/prism/node.rb#4762 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#194 + # source://prism//lib/prism/desugar_compiler.rb#194 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -7037,62 +7037,62 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4802 + # source://prism//lib/prism/node.rb#4802 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4767 + # source://prism//lib/prism/node.rb#4767 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#4770 + # source://prism//lib/prism/node.rb#4770 sig { returns(Prism::Location) } def name_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#371 + # source://prism//lib/prism/node_ext.rb#371 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#378 + # source://prism//lib/prism/node_ext.rb#378 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4791 + # source://prism//lib/prism/node.rb#4791 def save_binary_operator_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4778 + # source://prism//lib/prism/node.rb#4778 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4807 + # source://prism//lib/prism/node.rb#4807 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#4796 + # source://prism//lib/prism/node.rb#4796 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4812 + # source://prism//lib/prism/node.rb#4812 def type; end end end @@ -7102,13 +7102,13 @@ end # Target ||= value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4832 +# source://prism//lib/prism/node.rb#4832 class Prism::ConstantOrWriteNode < ::Prism::Node # Initialize a new ConstantOrWriteNode node. # # @return [ConstantOrWriteNode] a new instance of ConstantOrWriteNode # - # source://prism/lib/prism/node.rb#4834 + # source://prism//lib/prism/node.rb#4834 sig do params( source: Prism::Source, @@ -7126,36 +7126,36 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#4932 + # source://prism//lib/prism/node.rb#4932 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4846 + # source://prism//lib/prism/node.rb#4846 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4851 + # source://prism//lib/prism/node.rb#4851 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4861 + # source://prism//lib/prism/node.rb#4861 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4856 + # source://prism//lib/prism/node.rb#4856 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> ConstantOrWriteNode # - # source://prism/lib/prism/node.rb#4866 + # source://prism//lib/prism/node.rb#4866 sig do params( node_id: Integer, @@ -7172,17 +7172,17 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4851 + # source://prism//lib/prism/node.rb#4871 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#4874 + # source://prism//lib/prism/node.rb#4874 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#188 + # source://prism//lib/prism/desugar_compiler.rb#188 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -7190,62 +7190,62 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#4916 + # source://prism//lib/prism/node.rb#4916 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#4879 + # source://prism//lib/prism/node.rb#4879 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#4882 + # source://prism//lib/prism/node.rb#4882 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#4911 + # source://prism//lib/prism/node.rb#4911 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#4895 + # source://prism//lib/prism/node.rb#4895 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4890 + # source://prism//lib/prism/node.rb#4890 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#4903 + # source://prism//lib/prism/node.rb#4903 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#4921 + # source://prism//lib/prism/node.rb#4921 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#4908 + # source://prism//lib/prism/node.rb#4908 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#4926 + # source://prism//lib/prism/node.rb#4926 def type; end end end @@ -7255,13 +7255,13 @@ end # Parent::Child &&= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#4945 +# source://prism//lib/prism/node.rb#4945 class Prism::ConstantPathAndWriteNode < ::Prism::Node # Initialize a new ConstantPathAndWriteNode node. # # @return [ConstantPathAndWriteNode] a new instance of ConstantPathAndWriteNode # - # source://prism/lib/prism/node.rb#4947 + # source://prism//lib/prism/node.rb#4947 sig do params( source: Prism::Source, @@ -7278,36 +7278,36 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5031 + # source://prism//lib/prism/node.rb#5031 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#4958 + # source://prism//lib/prism/node.rb#4958 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4963 + # source://prism//lib/prism/node.rb#4963 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#4973 + # source://prism//lib/prism/node.rb#4973 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#4968 + # source://prism//lib/prism/node.rb#4968 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?target: ConstantPathNode, ?operator_loc: Location, ?value: Prism::node) -> ConstantPathAndWriteNode # - # source://prism/lib/prism/node.rb#4978 + # source://prism//lib/prism/node.rb#4978 sig do params( node_id: Integer, @@ -7323,13 +7323,13 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#4963 + # source://prism//lib/prism/node.rb#4983 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, target: ConstantPathNode, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#4986 + # source://prism//lib/prism/node.rb#4986 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7338,50 +7338,50 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#5015 + # source://prism//lib/prism/node.rb#5015 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#5010 + # source://prism//lib/prism/node.rb#5010 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#4994 + # source://prism//lib/prism/node.rb#4994 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5002 + # source://prism//lib/prism/node.rb#5002 def save_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism/lib/prism/node.rb#4991 + # source://prism//lib/prism/node.rb#4991 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5020 + # source://prism//lib/prism/node.rb#5020 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#5007 + # source://prism//lib/prism/node.rb#5007 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5025 + # source://prism//lib/prism/node.rb#5025 def type; end end end @@ -7391,13 +7391,13 @@ end # Foo::Bar # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#5043 +# source://prism//lib/prism/node.rb#5043 class Prism::ConstantPathNode < ::Prism::Node # Initialize a new ConstantPathNode node. # # @return [ConstantPathNode] a new instance of ConstantPathNode # - # source://prism/lib/prism/node.rb#5045 + # source://prism//lib/prism/node.rb#5045 sig do params( source: Prism::Source, @@ -7415,12 +7415,12 @@ class Prism::ConstantPathNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5166 + # source://prism//lib/prism/node.rb#5166 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5057 + # source://prism//lib/prism/node.rb#5057 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -7428,30 +7428,30 @@ class Prism::ConstantPathNode < ::Prism::Node # constant read or a missing node. To not cause a breaking change, we # continue to supply that API. # - # source://prism/lib/prism/node_ext.rb#202 + # source://prism//lib/prism/node_ext.rb#202 def child; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5062 + # source://prism//lib/prism/node.rb#5062 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5074 + # source://prism//lib/prism/node.rb#5074 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5067 + # source://prism//lib/prism/node.rb#5067 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?parent: Prism::node?, ?name: Symbol?, ?delimiter_loc: Location, ?name_loc: Location) -> ConstantPathNode # - # source://prism/lib/prism/node.rb#5079 + # source://prism//lib/prism/node.rb#5079 sig do params( node_id: Integer, @@ -7468,19 +7468,19 @@ class Prism::ConstantPathNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5062 + # source://prism//lib/prism/node.rb#5084 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, parent: Prism::node?, name: Symbol?, delimiter_loc: Location, name_loc: Location } # - # source://prism/lib/prism/node.rb#5087 + # source://prism//lib/prism/node.rb#5087 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def delimiter: () -> String # - # source://prism/lib/prism/node.rb#5145 + # source://prism//lib/prism/node.rb#5145 sig { returns(String) } def delimiter; end @@ -7492,7 +7492,7 @@ class Prism::ConstantPathNode < ::Prism::Node # One::Two # ^^ # - # source://prism/lib/prism/node.rb#5113 + # source://prism//lib/prism/node.rb#5113 sig { returns(Prism::Location) } def delimiter_loc; end @@ -7501,26 +7501,26 @@ class Prism::ConstantPathNode < ::Prism::Node # Returns the full name of this constant path. For example: "Foo::Bar" # - # source://prism/lib/prism/node_ext.rb#195 + # source://prism//lib/prism/node_ext.rb#195 sig { returns(String) } def full_name; end # Returns the list of parts for the full name of this constant path. # For example: [:Foo, :Bar] # - # source://prism/lib/prism/node_ext.rb#173 + # source://prism//lib/prism/node_ext.rb#173 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism/lib/prism/node.rb#5150 + # source://prism//lib/prism/node.rb#5150 sig { override.returns(String) } def inspect; end # The name of the constant being accessed. This could be `nil` in the event of a syntax error. # - # source://prism/lib/prism/node.rb#5104 + # source://prism//lib/prism/node.rb#5104 sig { returns(T.nilable(Symbol)) } def name; end @@ -7532,7 +7532,7 @@ class Prism::ConstantPathNode < ::Prism::Node # One::Two # ^^^ # - # source://prism/lib/prism/node.rb#5132 + # source://prism//lib/prism/node.rb#5132 sig { returns(Prism::Location) } def name_loc; end @@ -7547,32 +7547,32 @@ class Prism::ConstantPathNode < ::Prism::Node # a.b::C # ^^^ # - # source://prism/lib/prism/node.rb#5101 + # source://prism//lib/prism/node.rb#5101 sig { returns(T.nilable(Prism::Node)) } def parent; end # Save the delimiter_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5121 + # source://prism//lib/prism/node.rb#5121 def save_delimiter_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5140 + # source://prism//lib/prism/node.rb#5140 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5155 + # source://prism//lib/prism/node.rb#5155 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5160 + # source://prism//lib/prism/node.rb#5160 def type; end end end @@ -7584,14 +7584,14 @@ end # var::Bar::Baz -> raises because the first part of the constant path is a # local variable # -# source://prism/lib/prism/node_ext.rb#164 +# source://prism//lib/prism/node_ext.rb#164 class Prism::ConstantPathNode::DynamicPartsInConstantPathError < ::StandardError; end # An error class raised when missing nodes are found while computing a # constant path's full name. For example: # Foo:: -> raises because the constant path is missing the last part # -# source://prism/lib/prism/node_ext.rb#169 +# source://prism//lib/prism/node_ext.rb#169 class Prism::ConstantPathNode::MissingNodesInConstantPathError < ::StandardError; end # Represents assigning to a constant path using an operator that isn't `=`. @@ -7599,13 +7599,13 @@ class Prism::ConstantPathNode::MissingNodesInConstantPathError < ::StandardError # Parent::Child += value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#5179 +# source://prism//lib/prism/node.rb#5179 class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # Initialize a new ConstantPathOperatorWriteNode node. # # @return [ConstantPathOperatorWriteNode] a new instance of ConstantPathOperatorWriteNode # - # source://prism/lib/prism/node.rb#5181 + # source://prism//lib/prism/node.rb#5181 sig do params( source: Prism::Source, @@ -7623,48 +7623,48 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5264 + # source://prism//lib/prism/node.rb#5264 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5193 + # source://prism//lib/prism/node.rb#5193 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#5245 + # source://prism//lib/prism/node.rb#5245 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#5229 + # source://prism//lib/prism/node.rb#5229 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5198 + # source://prism//lib/prism/node.rb#5198 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5208 + # source://prism//lib/prism/node.rb#5208 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5203 + # source://prism//lib/prism/node.rb#5203 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?target: ConstantPathNode, ?binary_operator_loc: Location, ?value: Prism::node, ?binary_operator: Symbol) -> ConstantPathOperatorWriteNode # - # source://prism/lib/prism/node.rb#5213 + # source://prism//lib/prism/node.rb#5213 sig do params( node_id: Integer, @@ -7681,13 +7681,13 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5198 + # source://prism//lib/prism/node.rb#5218 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, target: ConstantPathNode, binary_operator_loc: Location, value: Prism::node, binary_operator: Symbol } # - # source://prism/lib/prism/node.rb#5221 + # source://prism//lib/prism/node.rb#5221 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7696,50 +7696,50 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#5248 + # source://prism//lib/prism/node.rb#5248 sig { override.returns(String) } def inspect; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#387 + # source://prism//lib/prism/node_ext.rb#387 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#394 + # source://prism//lib/prism/node_ext.rb#394 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5237 + # source://prism//lib/prism/node.rb#5237 def save_binary_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism/lib/prism/node.rb#5226 + # source://prism//lib/prism/node.rb#5226 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5253 + # source://prism//lib/prism/node.rb#5253 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#5242 + # source://prism//lib/prism/node.rb#5242 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5258 + # source://prism//lib/prism/node.rb#5258 def type; end end end @@ -7749,13 +7749,13 @@ end # Parent::Child ||= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#5277 +# source://prism//lib/prism/node.rb#5277 class Prism::ConstantPathOrWriteNode < ::Prism::Node # Initialize a new ConstantPathOrWriteNode node. # # @return [ConstantPathOrWriteNode] a new instance of ConstantPathOrWriteNode # - # source://prism/lib/prism/node.rb#5279 + # source://prism//lib/prism/node.rb#5279 sig do params( source: Prism::Source, @@ -7772,36 +7772,36 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5363 + # source://prism//lib/prism/node.rb#5363 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5290 + # source://prism//lib/prism/node.rb#5290 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5295 + # source://prism//lib/prism/node.rb#5295 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5305 + # source://prism//lib/prism/node.rb#5305 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5300 + # source://prism//lib/prism/node.rb#5300 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?target: ConstantPathNode, ?operator_loc: Location, ?value: Prism::node) -> ConstantPathOrWriteNode # - # source://prism/lib/prism/node.rb#5310 + # source://prism//lib/prism/node.rb#5310 sig do params( node_id: Integer, @@ -7817,13 +7817,13 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5295 + # source://prism//lib/prism/node.rb#5315 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, target: ConstantPathNode, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#5318 + # source://prism//lib/prism/node.rb#5318 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7832,50 +7832,50 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#5347 + # source://prism//lib/prism/node.rb#5347 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#5342 + # source://prism//lib/prism/node.rb#5342 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#5326 + # source://prism//lib/prism/node.rb#5326 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5334 + # source://prism//lib/prism/node.rb#5334 def save_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism/lib/prism/node.rb#5323 + # source://prism//lib/prism/node.rb#5323 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5352 + # source://prism//lib/prism/node.rb#5352 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#5339 + # source://prism//lib/prism/node.rb#5339 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5357 + # source://prism//lib/prism/node.rb#5357 def type; end end end @@ -7885,13 +7885,13 @@ end # Foo::Foo, Bar::Bar = baz # ^^^^^^^^ ^^^^^^^^ # -# source://prism/lib/prism/node.rb#5375 +# source://prism//lib/prism/node.rb#5375 class Prism::ConstantPathTargetNode < ::Prism::Node # Initialize a new ConstantPathTargetNode node. # # @return [ConstantPathTargetNode] a new instance of ConstantPathTargetNode # - # source://prism/lib/prism/node.rb#5377 + # source://prism//lib/prism/node.rb#5377 sig do params( source: Prism::Source, @@ -7909,12 +7909,12 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5477 + # source://prism//lib/prism/node.rb#5477 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5389 + # source://prism//lib/prism/node.rb#5389 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -7922,30 +7922,30 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # constant read or a missing node. To not cause a breaking change, we # continue to supply that API. # - # source://prism/lib/prism/node_ext.rb#243 + # source://prism//lib/prism/node_ext.rb#243 def child; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5394 + # source://prism//lib/prism/node.rb#5394 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5406 + # source://prism//lib/prism/node.rb#5406 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5399 + # source://prism//lib/prism/node.rb#5399 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?parent: Prism::node?, ?name: Symbol?, ?delimiter_loc: Location, ?name_loc: Location) -> ConstantPathTargetNode # - # source://prism/lib/prism/node.rb#5411 + # source://prism//lib/prism/node.rb#5411 sig do params( node_id: Integer, @@ -7962,25 +7962,25 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5394 + # source://prism//lib/prism/node.rb#5416 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, parent: Prism::node?, name: Symbol?, delimiter_loc: Location, name_loc: Location } # - # source://prism/lib/prism/node.rb#5419 + # source://prism//lib/prism/node.rb#5419 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def delimiter: () -> String # - # source://prism/lib/prism/node.rb#5456 + # source://prism//lib/prism/node.rb#5456 sig { returns(String) } def delimiter; end # attr_reader delimiter_loc: Location # - # source://prism/lib/prism/node.rb#5430 + # source://prism//lib/prism/node.rb#5430 sig { returns(Prism::Location) } def delimiter_loc; end @@ -7989,63 +7989,63 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # Returns the full name of this constant path. For example: "Foo::Bar" # - # source://prism/lib/prism/node_ext.rb#236 + # source://prism//lib/prism/node_ext.rb#236 sig { returns(String) } def full_name; end # Returns the list of parts for the full name of this constant path. # For example: [:Foo, :Bar] # - # source://prism/lib/prism/node_ext.rb#216 + # source://prism//lib/prism/node_ext.rb#216 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism/lib/prism/node.rb#5461 + # source://prism//lib/prism/node.rb#5461 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism/lib/prism/node.rb#5427 + # source://prism//lib/prism/node.rb#5427 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#5443 + # source://prism//lib/prism/node.rb#5443 sig { returns(Prism::Location) } def name_loc; end # attr_reader parent: Prism::node? # - # source://prism/lib/prism/node.rb#5424 + # source://prism//lib/prism/node.rb#5424 sig { returns(T.nilable(Prism::Node)) } def parent; end # Save the delimiter_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5438 + # source://prism//lib/prism/node.rb#5438 def save_delimiter_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5451 + # source://prism//lib/prism/node.rb#5451 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5466 + # source://prism//lib/prism/node.rb#5466 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5471 + # source://prism//lib/prism/node.rb#5471 def type; end end end @@ -8061,13 +8061,13 @@ end # ::Foo::Bar = 1 # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#5496 +# source://prism//lib/prism/node.rb#5496 class Prism::ConstantPathWriteNode < ::Prism::Node # Initialize a new ConstantPathWriteNode node. # # @return [ConstantPathWriteNode] a new instance of ConstantPathWriteNode # - # source://prism/lib/prism/node.rb#5498 + # source://prism//lib/prism/node.rb#5498 sig do params( source: Prism::Source, @@ -8084,36 +8084,36 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5594 + # source://prism//lib/prism/node.rb#5594 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5509 + # source://prism//lib/prism/node.rb#5509 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5514 + # source://prism//lib/prism/node.rb#5514 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5524 + # source://prism//lib/prism/node.rb#5524 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5519 + # source://prism//lib/prism/node.rb#5519 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?target: ConstantPathNode, ?operator_loc: Location, ?value: Prism::node) -> ConstantPathWriteNode # - # source://prism/lib/prism/node.rb#5529 + # source://prism//lib/prism/node.rb#5529 sig do params( node_id: Integer, @@ -8129,13 +8129,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5514 + # source://prism//lib/prism/node.rb#5534 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, target: ConstantPathNode, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#5537 + # source://prism//lib/prism/node.rb#5537 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8144,13 +8144,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#5578 + # source://prism//lib/prism/node.rb#5578 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#5573 + # source://prism//lib/prism/node.rb#5573 sig { returns(String) } def operator; end @@ -8159,14 +8159,14 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # ::ABC = 123 # ^ # - # source://prism/lib/prism/node.rb#5554 + # source://prism//lib/prism/node.rb#5554 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5562 + # source://prism//lib/prism/node.rb#5562 def save_operator_loc(repository); end # A node representing the constant path being written to. @@ -8177,13 +8177,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # ::Foo = :abc # ^^^^^ # - # source://prism/lib/prism/node.rb#5548 + # source://prism//lib/prism/node.rb#5548 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5583 + # source://prism//lib/prism/node.rb#5583 sig { override.returns(Symbol) } def type; end @@ -8192,14 +8192,14 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # FOO::BAR = :abc # ^^^^ # - # source://prism/lib/prism/node.rb#5570 + # source://prism//lib/prism/node.rb#5570 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5588 + # source://prism//lib/prism/node.rb#5588 def type; end end end @@ -8209,49 +8209,49 @@ end # Foo # ^^^ # -# source://prism/lib/prism/node.rb#5606 +# source://prism//lib/prism/node.rb#5606 class Prism::ConstantReadNode < ::Prism::Node # Initialize a new ConstantReadNode node. # # @return [ConstantReadNode] a new instance of ConstantReadNode # - # source://prism/lib/prism/node.rb#5608 + # source://prism//lib/prism/node.rb#5608 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5673 + # source://prism//lib/prism/node.rb#5673 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5617 + # source://prism//lib/prism/node.rb#5617 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5622 + # source://prism//lib/prism/node.rb#5622 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5632 + # source://prism//lib/prism/node.rb#5632 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5627 + # source://prism//lib/prism/node.rb#5627 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> ConstantReadNode # - # source://prism/lib/prism/node.rb#5637 + # source://prism//lib/prism/node.rb#5637 sig do params( node_id: Integer, @@ -8265,13 +8265,13 @@ class Prism::ConstantReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5622 + # source://prism//lib/prism/node.rb#5642 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#5645 + # source://prism//lib/prism/node.rb#5645 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8280,20 +8280,20 @@ class Prism::ConstantReadNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism/lib/prism/node_ext.rb#139 + # source://prism//lib/prism/node_ext.rb#139 sig { returns(String) } def full_name; end # Returns the list of parts for the full name of this constant. # For example: [:Foo] # - # source://prism/lib/prism/node_ext.rb#134 + # source://prism//lib/prism/node_ext.rb#134 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism/lib/prism/node.rb#5657 + # source://prism//lib/prism/node.rb#5657 sig { override.returns(String) } def inspect; end @@ -8303,20 +8303,20 @@ class Prism::ConstantReadNode < ::Prism::Node # # SOME_CONSTANT # name `:SOME_CONSTANT` # - # source://prism/lib/prism/node.rb#5654 + # source://prism//lib/prism/node.rb#5654 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5662 + # source://prism//lib/prism/node.rb#5662 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5667 + # source://prism//lib/prism/node.rb#5667 def type; end end end @@ -8326,49 +8326,49 @@ end # Foo, Bar = baz # ^^^ ^^^ # -# source://prism/lib/prism/node.rb#5683 +# source://prism//lib/prism/node.rb#5683 class Prism::ConstantTargetNode < ::Prism::Node # Initialize a new ConstantTargetNode node. # # @return [ConstantTargetNode] a new instance of ConstantTargetNode # - # source://prism/lib/prism/node.rb#5685 + # source://prism//lib/prism/node.rb#5685 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5746 + # source://prism//lib/prism/node.rb#5746 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5694 + # source://prism//lib/prism/node.rb#5694 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5699 + # source://prism//lib/prism/node.rb#5699 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5709 + # source://prism//lib/prism/node.rb#5709 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5704 + # source://prism//lib/prism/node.rb#5704 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> ConstantTargetNode # - # source://prism/lib/prism/node.rb#5714 + # source://prism//lib/prism/node.rb#5714 sig do params( node_id: Integer, @@ -8382,13 +8382,13 @@ class Prism::ConstantTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5699 + # source://prism//lib/prism/node.rb#5719 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#5722 + # source://prism//lib/prism/node.rb#5722 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8397,39 +8397,39 @@ class Prism::ConstantTargetNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism/lib/prism/node_ext.rb#262 + # source://prism//lib/prism/node_ext.rb#262 sig { returns(String) } def full_name; end # Returns the list of parts for the full name of this constant. # For example: [:Foo] # - # source://prism/lib/prism/node_ext.rb#257 + # source://prism//lib/prism/node_ext.rb#257 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism/lib/prism/node.rb#5730 + # source://prism//lib/prism/node.rb#5730 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#5727 + # source://prism//lib/prism/node.rb#5727 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5735 + # source://prism//lib/prism/node.rb#5735 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5740 + # source://prism//lib/prism/node.rb#5740 def type; end end end @@ -8439,13 +8439,13 @@ end # Foo = 1 # ^^^^^^^ # -# source://prism/lib/prism/node.rb#5756 +# source://prism//lib/prism/node.rb#5756 class Prism::ConstantWriteNode < ::Prism::Node # Initialize a new ConstantWriteNode node. # # @return [ConstantWriteNode] a new instance of ConstantWriteNode # - # source://prism/lib/prism/node.rb#5758 + # source://prism//lib/prism/node.rb#5758 sig do params( source: Prism::Source, @@ -8463,36 +8463,36 @@ class Prism::ConstantWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#5872 + # source://prism//lib/prism/node.rb#5872 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5770 + # source://prism//lib/prism/node.rb#5770 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5775 + # source://prism//lib/prism/node.rb#5775 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5785 + # source://prism//lib/prism/node.rb#5785 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5780 + # source://prism//lib/prism/node.rb#5780 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?value: Prism::node, ?operator_loc: Location) -> ConstantWriteNode # - # source://prism/lib/prism/node.rb#5790 + # source://prism//lib/prism/node.rb#5790 sig do params( node_id: Integer, @@ -8509,13 +8509,13 @@ class Prism::ConstantWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5775 + # source://prism//lib/prism/node.rb#5795 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, value: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#5798 + # source://prism//lib/prism/node.rb#5798 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8524,20 +8524,20 @@ class Prism::ConstantWriteNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism/lib/prism/node_ext.rb#152 + # source://prism//lib/prism/node_ext.rb#152 sig { returns(String) } def full_name; end # Returns the list of parts for the full name of this constant. # For example: [:Foo] # - # source://prism/lib/prism/node_ext.rb#147 + # source://prism//lib/prism/node_ext.rb#147 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism/lib/prism/node.rb#5856 + # source://prism//lib/prism/node.rb#5856 sig { override.returns(String) } def inspect; end @@ -8547,7 +8547,7 @@ class Prism::ConstantWriteNode < ::Prism::Node # # XYZ = 1 # name `:XYZ` # - # source://prism/lib/prism/node.rb#5807 + # source://prism//lib/prism/node.rb#5807 sig { returns(Symbol) } def name; end @@ -8556,13 +8556,13 @@ class Prism::ConstantWriteNode < ::Prism::Node # FOO = 1 # ^^^ # - # source://prism/lib/prism/node.rb#5813 + # source://prism//lib/prism/node.rb#5813 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#5851 + # source://prism//lib/prism/node.rb#5851 sig { returns(String) } def operator; end @@ -8571,25 +8571,25 @@ class Prism::ConstantWriteNode < ::Prism::Node # FOO = :bar # ^ # - # source://prism/lib/prism/node.rb#5838 + # source://prism//lib/prism/node.rb#5838 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5821 + # source://prism//lib/prism/node.rb#5821 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5846 + # source://prism//lib/prism/node.rb#5846 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#5861 + # source://prism//lib/prism/node.rb#5861 sig { override.returns(Symbol) } def type; end @@ -8601,14 +8601,14 @@ class Prism::ConstantWriteNode < ::Prism::Node # MyClass = Class.new # ^^^^^^^^^ # - # source://prism/lib/prism/node.rb#5832 + # source://prism//lib/prism/node.rb#5832 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#5866 + # source://prism//lib/prism/node.rb#5866 def type; end end end @@ -8665,13 +8665,13 @@ end # # This is mostly helpful in the context of generating trees programmatically. # -# source://prism/lib/prism/dsl.rb#61 +# source://prism//lib/prism/dsl.rb#61 module Prism::DSL extend ::Prism::DSL # Create a new AliasGlobalVariableNode node. # - # source://prism/lib/prism/dsl.rb#77 + # source://prism//lib/prism/dsl.rb#77 sig do params( source: Prism::Source, @@ -8687,7 +8687,7 @@ module Prism::DSL # Create a new AliasMethodNode node. # - # source://prism/lib/prism/dsl.rb#82 + # source://prism//lib/prism/dsl.rb#82 sig do params( source: Prism::Source, @@ -8703,7 +8703,7 @@ module Prism::DSL # Create a new AlternationPatternNode node. # - # source://prism/lib/prism/dsl.rb#87 + # source://prism//lib/prism/dsl.rb#87 sig do params( source: Prism::Source, @@ -8719,7 +8719,7 @@ module Prism::DSL # Create a new AndNode node. # - # source://prism/lib/prism/dsl.rb#92 + # source://prism//lib/prism/dsl.rb#92 sig do params( source: Prism::Source, @@ -8735,7 +8735,7 @@ module Prism::DSL # Create a new ArgumentsNode node. # - # source://prism/lib/prism/dsl.rb#97 + # source://prism//lib/prism/dsl.rb#97 sig do params( source: Prism::Source, @@ -8749,13 +8749,13 @@ module Prism::DSL # Retrieve the value of one of the ArgumentsNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#832 + # source://prism//lib/prism/dsl.rb#832 sig { params(name: Symbol).returns(Integer) } def arguments_node_flag(name); end # Create a new ArrayNode node. # - # source://prism/lib/prism/dsl.rb#102 + # source://prism//lib/prism/dsl.rb#102 sig do params( source: Prism::Source, @@ -8771,13 +8771,13 @@ module Prism::DSL # Retrieve the value of one of the ArrayNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#844 + # source://prism//lib/prism/dsl.rb#844 sig { params(name: Symbol).returns(Integer) } def array_node_flag(name); end # Create a new ArrayPatternNode node. # - # source://prism/lib/prism/dsl.rb#107 + # source://prism//lib/prism/dsl.rb#107 sig do params( source: Prism::Source, @@ -8796,7 +8796,7 @@ module Prism::DSL # Create a new AssocNode node. # - # source://prism/lib/prism/dsl.rb#112 + # source://prism//lib/prism/dsl.rb#112 sig do params( source: Prism::Source, @@ -8812,7 +8812,7 @@ module Prism::DSL # Create a new AssocSplatNode node. # - # source://prism/lib/prism/dsl.rb#117 + # source://prism//lib/prism/dsl.rb#117 sig do params( source: Prism::Source, @@ -8827,7 +8827,7 @@ module Prism::DSL # Create a new BackReferenceReadNode node. # - # source://prism/lib/prism/dsl.rb#122 + # source://prism//lib/prism/dsl.rb#122 sig do params( source: Prism::Source, @@ -8841,7 +8841,7 @@ module Prism::DSL # Create a new BeginNode node. # - # source://prism/lib/prism/dsl.rb#127 + # source://prism//lib/prism/dsl.rb#127 sig do params( source: Prism::Source, @@ -8860,7 +8860,7 @@ module Prism::DSL # Create a new BlockArgumentNode node. # - # source://prism/lib/prism/dsl.rb#132 + # source://prism//lib/prism/dsl.rb#132 sig do params( source: Prism::Source, @@ -8875,7 +8875,7 @@ module Prism::DSL # Create a new BlockLocalVariableNode node. # - # source://prism/lib/prism/dsl.rb#137 + # source://prism//lib/prism/dsl.rb#137 sig do params( source: Prism::Source, @@ -8889,7 +8889,7 @@ module Prism::DSL # Create a new BlockNode node. # - # source://prism/lib/prism/dsl.rb#142 + # source://prism//lib/prism/dsl.rb#142 sig do params( source: Prism::Source, @@ -8907,7 +8907,7 @@ module Prism::DSL # Create a new BlockParameterNode node. # - # source://prism/lib/prism/dsl.rb#147 + # source://prism//lib/prism/dsl.rb#147 sig do params( source: Prism::Source, @@ -8923,7 +8923,7 @@ module Prism::DSL # Create a new BlockParametersNode node. # - # source://prism/lib/prism/dsl.rb#152 + # source://prism//lib/prism/dsl.rb#152 sig do params( source: Prism::Source, @@ -8940,7 +8940,7 @@ module Prism::DSL # Create a new BreakNode node. # - # source://prism/lib/prism/dsl.rb#157 + # source://prism//lib/prism/dsl.rb#157 sig do params( source: Prism::Source, @@ -8955,7 +8955,7 @@ module Prism::DSL # Create a new CallAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#162 + # source://prism//lib/prism/dsl.rb#162 sig do params( source: Prism::Source, @@ -8975,7 +8975,7 @@ module Prism::DSL # Create a new CallNode node. # - # source://prism/lib/prism/dsl.rb#167 + # source://prism//lib/prism/dsl.rb#167 sig do params( source: Prism::Source, @@ -8996,13 +8996,13 @@ module Prism::DSL # Retrieve the value of one of the CallNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#852 + # source://prism//lib/prism/dsl.rb#852 sig { params(name: Symbol).returns(Integer) } def call_node_flag(name); end # Create a new CallOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#172 + # source://prism//lib/prism/dsl.rb#172 sig do params( source: Prism::Source, @@ -9023,7 +9023,7 @@ module Prism::DSL # Create a new CallOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#177 + # source://prism//lib/prism/dsl.rb#177 sig do params( source: Prism::Source, @@ -9043,7 +9043,7 @@ module Prism::DSL # Create a new CallTargetNode node. # - # source://prism/lib/prism/dsl.rb#182 + # source://prism//lib/prism/dsl.rb#182 sig do params( source: Prism::Source, @@ -9060,7 +9060,7 @@ module Prism::DSL # Create a new CapturePatternNode node. # - # source://prism/lib/prism/dsl.rb#187 + # source://prism//lib/prism/dsl.rb#187 sig do params( source: Prism::Source, @@ -9076,7 +9076,7 @@ module Prism::DSL # Create a new CaseMatchNode node. # - # source://prism/lib/prism/dsl.rb#192 + # source://prism//lib/prism/dsl.rb#192 sig do params( source: Prism::Source, @@ -9094,7 +9094,7 @@ module Prism::DSL # Create a new CaseNode node. # - # source://prism/lib/prism/dsl.rb#197 + # source://prism//lib/prism/dsl.rb#197 sig do params( source: Prism::Source, @@ -9112,7 +9112,7 @@ module Prism::DSL # Create a new ClassNode node. # - # source://prism/lib/prism/dsl.rb#202 + # source://prism//lib/prism/dsl.rb#202 sig do params( source: Prism::Source, @@ -9133,7 +9133,7 @@ module Prism::DSL # Create a new ClassVariableAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#207 + # source://prism//lib/prism/dsl.rb#207 sig do params( source: Prism::Source, @@ -9150,7 +9150,7 @@ module Prism::DSL # Create a new ClassVariableOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#212 + # source://prism//lib/prism/dsl.rb#212 sig do params( source: Prism::Source, @@ -9168,7 +9168,7 @@ module Prism::DSL # Create a new ClassVariableOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#217 + # source://prism//lib/prism/dsl.rb#217 sig do params( source: Prism::Source, @@ -9185,7 +9185,7 @@ module Prism::DSL # Create a new ClassVariableReadNode node. # - # source://prism/lib/prism/dsl.rb#222 + # source://prism//lib/prism/dsl.rb#222 sig do params( source: Prism::Source, @@ -9199,7 +9199,7 @@ module Prism::DSL # Create a new ClassVariableTargetNode node. # - # source://prism/lib/prism/dsl.rb#227 + # source://prism//lib/prism/dsl.rb#227 sig do params( source: Prism::Source, @@ -9213,7 +9213,7 @@ module Prism::DSL # Create a new ClassVariableWriteNode node. # - # source://prism/lib/prism/dsl.rb#232 + # source://prism//lib/prism/dsl.rb#232 sig do params( source: Prism::Source, @@ -9230,7 +9230,7 @@ module Prism::DSL # Create a new ConstantAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#237 + # source://prism//lib/prism/dsl.rb#237 sig do params( source: Prism::Source, @@ -9247,7 +9247,7 @@ module Prism::DSL # Create a new ConstantOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#242 + # source://prism//lib/prism/dsl.rb#242 sig do params( source: Prism::Source, @@ -9265,7 +9265,7 @@ module Prism::DSL # Create a new ConstantOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#247 + # source://prism//lib/prism/dsl.rb#247 sig do params( source: Prism::Source, @@ -9282,7 +9282,7 @@ module Prism::DSL # Create a new ConstantPathAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#252 + # source://prism//lib/prism/dsl.rb#252 sig do params( source: Prism::Source, @@ -9298,7 +9298,7 @@ module Prism::DSL # Create a new ConstantPathNode node. # - # source://prism/lib/prism/dsl.rb#257 + # source://prism//lib/prism/dsl.rb#257 sig do params( source: Prism::Source, @@ -9315,7 +9315,7 @@ module Prism::DSL # Create a new ConstantPathOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#262 + # source://prism//lib/prism/dsl.rb#262 sig do params( source: Prism::Source, @@ -9332,7 +9332,7 @@ module Prism::DSL # Create a new ConstantPathOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#267 + # source://prism//lib/prism/dsl.rb#267 sig do params( source: Prism::Source, @@ -9348,7 +9348,7 @@ module Prism::DSL # Create a new ConstantPathTargetNode node. # - # source://prism/lib/prism/dsl.rb#272 + # source://prism//lib/prism/dsl.rb#272 sig do params( source: Prism::Source, @@ -9365,7 +9365,7 @@ module Prism::DSL # Create a new ConstantPathWriteNode node. # - # source://prism/lib/prism/dsl.rb#277 + # source://prism//lib/prism/dsl.rb#277 sig do params( source: Prism::Source, @@ -9381,7 +9381,7 @@ module Prism::DSL # Create a new ConstantReadNode node. # - # source://prism/lib/prism/dsl.rb#282 + # source://prism//lib/prism/dsl.rb#282 sig do params( source: Prism::Source, @@ -9395,7 +9395,7 @@ module Prism::DSL # Create a new ConstantTargetNode node. # - # source://prism/lib/prism/dsl.rb#287 + # source://prism//lib/prism/dsl.rb#287 sig do params( source: Prism::Source, @@ -9409,7 +9409,7 @@ module Prism::DSL # Create a new ConstantWriteNode node. # - # source://prism/lib/prism/dsl.rb#292 + # source://prism//lib/prism/dsl.rb#292 sig do params( source: Prism::Source, @@ -9426,7 +9426,7 @@ module Prism::DSL # Create a new DefNode node. # - # source://prism/lib/prism/dsl.rb#297 + # source://prism//lib/prism/dsl.rb#297 sig do params( source: Prism::Source, @@ -9451,7 +9451,7 @@ module Prism::DSL # Create a new DefinedNode node. # - # source://prism/lib/prism/dsl.rb#302 + # source://prism//lib/prism/dsl.rb#302 sig do params( source: Prism::Source, @@ -9468,7 +9468,7 @@ module Prism::DSL # Create a new ElseNode node. # - # source://prism/lib/prism/dsl.rb#307 + # source://prism//lib/prism/dsl.rb#307 sig do params( source: Prism::Source, @@ -9484,7 +9484,7 @@ module Prism::DSL # Create a new EmbeddedStatementsNode node. # - # source://prism/lib/prism/dsl.rb#312 + # source://prism//lib/prism/dsl.rb#312 sig do params( source: Prism::Source, @@ -9500,7 +9500,7 @@ module Prism::DSL # Create a new EmbeddedVariableNode node. # - # source://prism/lib/prism/dsl.rb#317 + # source://prism//lib/prism/dsl.rb#317 sig do params( source: Prism::Source, @@ -9515,13 +9515,13 @@ module Prism::DSL # Retrieve the value of one of the EncodingFlags flags. # - # source://prism/lib/prism/dsl.rb#863 + # source://prism//lib/prism/dsl.rb#863 sig { params(name: Symbol).returns(Integer) } def encoding_flag(name); end # Create a new EnsureNode node. # - # source://prism/lib/prism/dsl.rb#322 + # source://prism//lib/prism/dsl.rb#322 sig do params( source: Prism::Source, @@ -9537,7 +9537,7 @@ module Prism::DSL # Create a new FalseNode node. # - # source://prism/lib/prism/dsl.rb#327 + # source://prism//lib/prism/dsl.rb#327 sig do params( source: Prism::Source, @@ -9550,7 +9550,7 @@ module Prism::DSL # Create a new FindPatternNode node. # - # source://prism/lib/prism/dsl.rb#332 + # source://prism//lib/prism/dsl.rb#332 sig do params( source: Prism::Source, @@ -9569,7 +9569,7 @@ module Prism::DSL # Create a new FlipFlopNode node. # - # source://prism/lib/prism/dsl.rb#337 + # source://prism//lib/prism/dsl.rb#337 sig do params( source: Prism::Source, @@ -9585,7 +9585,7 @@ module Prism::DSL # Create a new FloatNode node. # - # source://prism/lib/prism/dsl.rb#342 + # source://prism//lib/prism/dsl.rb#342 sig do params( source: Prism::Source, @@ -9599,7 +9599,7 @@ module Prism::DSL # Create a new ForNode node. # - # source://prism/lib/prism/dsl.rb#347 + # source://prism//lib/prism/dsl.rb#347 sig do params( source: Prism::Source, @@ -9619,7 +9619,7 @@ module Prism::DSL # Create a new ForwardingArgumentsNode node. # - # source://prism/lib/prism/dsl.rb#352 + # source://prism//lib/prism/dsl.rb#352 sig do params( source: Prism::Source, @@ -9632,7 +9632,7 @@ module Prism::DSL # Create a new ForwardingParameterNode node. # - # source://prism/lib/prism/dsl.rb#357 + # source://prism//lib/prism/dsl.rb#357 sig do params( source: Prism::Source, @@ -9645,7 +9645,7 @@ module Prism::DSL # Create a new ForwardingSuperNode node. # - # source://prism/lib/prism/dsl.rb#362 + # source://prism//lib/prism/dsl.rb#362 sig do params( source: Prism::Source, @@ -9659,7 +9659,7 @@ module Prism::DSL # Create a new GlobalVariableAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#367 + # source://prism//lib/prism/dsl.rb#367 sig do params( source: Prism::Source, @@ -9676,7 +9676,7 @@ module Prism::DSL # Create a new GlobalVariableOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#372 + # source://prism//lib/prism/dsl.rb#372 sig do params( source: Prism::Source, @@ -9694,7 +9694,7 @@ module Prism::DSL # Create a new GlobalVariableOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#377 + # source://prism//lib/prism/dsl.rb#377 sig do params( source: Prism::Source, @@ -9711,7 +9711,7 @@ module Prism::DSL # Create a new GlobalVariableReadNode node. # - # source://prism/lib/prism/dsl.rb#382 + # source://prism//lib/prism/dsl.rb#382 sig do params( source: Prism::Source, @@ -9725,7 +9725,7 @@ module Prism::DSL # Create a new GlobalVariableTargetNode node. # - # source://prism/lib/prism/dsl.rb#387 + # source://prism//lib/prism/dsl.rb#387 sig do params( source: Prism::Source, @@ -9739,7 +9739,7 @@ module Prism::DSL # Create a new GlobalVariableWriteNode node. # - # source://prism/lib/prism/dsl.rb#392 + # source://prism//lib/prism/dsl.rb#392 sig do params( source: Prism::Source, @@ -9756,7 +9756,7 @@ module Prism::DSL # Create a new HashNode node. # - # source://prism/lib/prism/dsl.rb#397 + # source://prism//lib/prism/dsl.rb#397 sig do params( source: Prism::Source, @@ -9772,7 +9772,7 @@ module Prism::DSL # Create a new HashPatternNode node. # - # source://prism/lib/prism/dsl.rb#402 + # source://prism//lib/prism/dsl.rb#402 sig do params( source: Prism::Source, @@ -9790,7 +9790,7 @@ module Prism::DSL # Create a new IfNode node. # - # source://prism/lib/prism/dsl.rb#407 + # source://prism//lib/prism/dsl.rb#407 sig do params( source: Prism::Source, @@ -9809,7 +9809,7 @@ module Prism::DSL # Create a new ImaginaryNode node. # - # source://prism/lib/prism/dsl.rb#412 + # source://prism//lib/prism/dsl.rb#412 sig do params( source: Prism::Source, @@ -9823,7 +9823,7 @@ module Prism::DSL # Create a new ImplicitNode node. # - # source://prism/lib/prism/dsl.rb#417 + # source://prism//lib/prism/dsl.rb#417 sig do params( source: Prism::Source, @@ -9837,7 +9837,7 @@ module Prism::DSL # Create a new ImplicitRestNode node. # - # source://prism/lib/prism/dsl.rb#422 + # source://prism//lib/prism/dsl.rb#422 sig do params( source: Prism::Source, @@ -9850,7 +9850,7 @@ module Prism::DSL # Create a new InNode node. # - # source://prism/lib/prism/dsl.rb#427 + # source://prism//lib/prism/dsl.rb#427 sig do params( source: Prism::Source, @@ -9867,7 +9867,7 @@ module Prism::DSL # Create a new IndexAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#432 + # source://prism//lib/prism/dsl.rb#432 sig do params( source: Prism::Source, @@ -9888,7 +9888,7 @@ module Prism::DSL # Create a new IndexOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#437 + # source://prism//lib/prism/dsl.rb#437 sig do params( source: Prism::Source, @@ -9910,7 +9910,7 @@ module Prism::DSL # Create a new IndexOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#442 + # source://prism//lib/prism/dsl.rb#442 sig do params( source: Prism::Source, @@ -9931,7 +9931,7 @@ module Prism::DSL # Create a new IndexTargetNode node. # - # source://prism/lib/prism/dsl.rb#447 + # source://prism//lib/prism/dsl.rb#447 sig do params( source: Prism::Source, @@ -9949,7 +9949,7 @@ module Prism::DSL # Create a new InstanceVariableAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#452 + # source://prism//lib/prism/dsl.rb#452 sig do params( source: Prism::Source, @@ -9966,7 +9966,7 @@ module Prism::DSL # Create a new InstanceVariableOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#457 + # source://prism//lib/prism/dsl.rb#457 sig do params( source: Prism::Source, @@ -9984,7 +9984,7 @@ module Prism::DSL # Create a new InstanceVariableOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#462 + # source://prism//lib/prism/dsl.rb#462 sig do params( source: Prism::Source, @@ -10001,7 +10001,7 @@ module Prism::DSL # Create a new InstanceVariableReadNode node. # - # source://prism/lib/prism/dsl.rb#467 + # source://prism//lib/prism/dsl.rb#467 sig do params( source: Prism::Source, @@ -10015,7 +10015,7 @@ module Prism::DSL # Create a new InstanceVariableTargetNode node. # - # source://prism/lib/prism/dsl.rb#472 + # source://prism//lib/prism/dsl.rb#472 sig do params( source: Prism::Source, @@ -10029,7 +10029,7 @@ module Prism::DSL # Create a new InstanceVariableWriteNode node. # - # source://prism/lib/prism/dsl.rb#477 + # source://prism//lib/prism/dsl.rb#477 sig do params( source: Prism::Source, @@ -10046,13 +10046,13 @@ module Prism::DSL # Retrieve the value of one of the IntegerBaseFlags flags. # - # source://prism/lib/prism/dsl.rb#872 + # source://prism//lib/prism/dsl.rb#872 sig { params(name: Symbol).returns(Integer) } def integer_base_flag(name); end # Create a new IntegerNode node. # - # source://prism/lib/prism/dsl.rb#482 + # source://prism//lib/prism/dsl.rb#482 sig do params( source: Prism::Source, @@ -10066,7 +10066,7 @@ module Prism::DSL # Create a new InterpolatedMatchLastLineNode node. # - # source://prism/lib/prism/dsl.rb#487 + # source://prism//lib/prism/dsl.rb#487 sig do params( source: Prism::Source, @@ -10082,7 +10082,7 @@ module Prism::DSL # Create a new InterpolatedRegularExpressionNode node. # - # source://prism/lib/prism/dsl.rb#492 + # source://prism//lib/prism/dsl.rb#492 sig do params( source: Prism::Source, @@ -10098,7 +10098,7 @@ module Prism::DSL # Create a new InterpolatedStringNode node. # - # source://prism/lib/prism/dsl.rb#497 + # source://prism//lib/prism/dsl.rb#497 sig do params( source: Prism::Source, @@ -10114,13 +10114,13 @@ module Prism::DSL # Retrieve the value of one of the InterpolatedStringNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#883 + # source://prism//lib/prism/dsl.rb#883 sig { params(name: Symbol).returns(Integer) } def interpolated_string_node_flag(name); end # Create a new InterpolatedSymbolNode node. # - # source://prism/lib/prism/dsl.rb#502 + # source://prism//lib/prism/dsl.rb#502 sig do params( source: Prism::Source, @@ -10136,7 +10136,7 @@ module Prism::DSL # Create a new InterpolatedXStringNode node. # - # source://prism/lib/prism/dsl.rb#507 + # source://prism//lib/prism/dsl.rb#507 sig do params( source: Prism::Source, @@ -10152,7 +10152,7 @@ module Prism::DSL # Create a new ItLocalVariableReadNode node. # - # source://prism/lib/prism/dsl.rb#512 + # source://prism//lib/prism/dsl.rb#512 sig do params( source: Prism::Source, @@ -10165,7 +10165,7 @@ module Prism::DSL # Create a new ItParametersNode node. # - # source://prism/lib/prism/dsl.rb#517 + # source://prism//lib/prism/dsl.rb#517 sig do params( source: Prism::Source, @@ -10178,7 +10178,7 @@ module Prism::DSL # Create a new KeywordHashNode node. # - # source://prism/lib/prism/dsl.rb#522 + # source://prism//lib/prism/dsl.rb#522 sig do params( source: Prism::Source, @@ -10192,13 +10192,13 @@ module Prism::DSL # Retrieve the value of one of the KeywordHashNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#892 + # source://prism//lib/prism/dsl.rb#892 sig { params(name: Symbol).returns(Integer) } def keyword_hash_node_flag(name); end # Create a new KeywordRestParameterNode node. # - # source://prism/lib/prism/dsl.rb#527 + # source://prism//lib/prism/dsl.rb#527 sig do params( source: Prism::Source, @@ -10214,7 +10214,7 @@ module Prism::DSL # Create a new LambdaNode node. # - # source://prism/lib/prism/dsl.rb#532 + # source://prism//lib/prism/dsl.rb#532 sig do params( source: Prism::Source, @@ -10233,7 +10233,7 @@ module Prism::DSL # Create a new LocalVariableAndWriteNode node. # - # source://prism/lib/prism/dsl.rb#537 + # source://prism//lib/prism/dsl.rb#537 sig do params( source: Prism::Source, @@ -10251,7 +10251,7 @@ module Prism::DSL # Create a new LocalVariableOperatorWriteNode node. # - # source://prism/lib/prism/dsl.rb#542 + # source://prism//lib/prism/dsl.rb#542 sig do params( source: Prism::Source, @@ -10270,7 +10270,7 @@ module Prism::DSL # Create a new LocalVariableOrWriteNode node. # - # source://prism/lib/prism/dsl.rb#547 + # source://prism//lib/prism/dsl.rb#547 sig do params( source: Prism::Source, @@ -10288,7 +10288,7 @@ module Prism::DSL # Create a new LocalVariableReadNode node. # - # source://prism/lib/prism/dsl.rb#552 + # source://prism//lib/prism/dsl.rb#552 sig do params( source: Prism::Source, @@ -10303,7 +10303,7 @@ module Prism::DSL # Create a new LocalVariableTargetNode node. # - # source://prism/lib/prism/dsl.rb#557 + # source://prism//lib/prism/dsl.rb#557 sig do params( source: Prism::Source, @@ -10318,7 +10318,7 @@ module Prism::DSL # Create a new LocalVariableWriteNode node. # - # source://prism/lib/prism/dsl.rb#562 + # source://prism//lib/prism/dsl.rb#562 sig do params( source: Prism::Source, @@ -10336,19 +10336,19 @@ module Prism::DSL # Create a new Location object. # - # source://prism/lib/prism/dsl.rb#72 + # source://prism//lib/prism/dsl.rb#72 sig { params(source: Prism::Source, start_offset: Integer, length: Integer).returns(Prism::Location) } def location(source: T.unsafe(nil), start_offset: T.unsafe(nil), length: T.unsafe(nil)); end # Retrieve the value of one of the LoopFlags flags. # - # source://prism/lib/prism/dsl.rb#900 + # source://prism//lib/prism/dsl.rb#900 sig { params(name: Symbol).returns(Integer) } def loop_flag(name); end # Create a new MatchLastLineNode node. # - # source://prism/lib/prism/dsl.rb#567 + # source://prism//lib/prism/dsl.rb#567 sig do params( source: Prism::Source, @@ -10365,7 +10365,7 @@ module Prism::DSL # Create a new MatchPredicateNode node. # - # source://prism/lib/prism/dsl.rb#572 + # source://prism//lib/prism/dsl.rb#572 sig do params( source: Prism::Source, @@ -10381,7 +10381,7 @@ module Prism::DSL # Create a new MatchRequiredNode node. # - # source://prism/lib/prism/dsl.rb#577 + # source://prism//lib/prism/dsl.rb#577 sig do params( source: Prism::Source, @@ -10397,7 +10397,7 @@ module Prism::DSL # Create a new MatchWriteNode node. # - # source://prism/lib/prism/dsl.rb#582 + # source://prism//lib/prism/dsl.rb#582 sig do params( source: Prism::Source, @@ -10412,7 +10412,7 @@ module Prism::DSL # Create a new MissingNode node. # - # source://prism/lib/prism/dsl.rb#587 + # source://prism//lib/prism/dsl.rb#587 sig do params( source: Prism::Source, @@ -10425,7 +10425,7 @@ module Prism::DSL # Create a new ModuleNode node. # - # source://prism/lib/prism/dsl.rb#592 + # source://prism//lib/prism/dsl.rb#592 sig do params( source: Prism::Source, @@ -10444,7 +10444,7 @@ module Prism::DSL # Create a new MultiTargetNode node. # - # source://prism/lib/prism/dsl.rb#597 + # source://prism//lib/prism/dsl.rb#597 sig do params( source: Prism::Source, @@ -10462,7 +10462,7 @@ module Prism::DSL # Create a new MultiWriteNode node. # - # source://prism/lib/prism/dsl.rb#602 + # source://prism//lib/prism/dsl.rb#602 sig do params( source: Prism::Source, @@ -10482,7 +10482,7 @@ module Prism::DSL # Create a new NextNode node. # - # source://prism/lib/prism/dsl.rb#607 + # source://prism//lib/prism/dsl.rb#607 sig do params( source: Prism::Source, @@ -10497,7 +10497,7 @@ module Prism::DSL # Create a new NilNode node. # - # source://prism/lib/prism/dsl.rb#612 + # source://prism//lib/prism/dsl.rb#612 sig do params( source: Prism::Source, @@ -10510,7 +10510,7 @@ module Prism::DSL # Create a new NoKeywordsParameterNode node. # - # source://prism/lib/prism/dsl.rb#617 + # source://prism//lib/prism/dsl.rb#617 sig do params( source: Prism::Source, @@ -10525,7 +10525,7 @@ module Prism::DSL # Create a new NumberedParametersNode node. # - # source://prism/lib/prism/dsl.rb#622 + # source://prism//lib/prism/dsl.rb#622 sig do params( source: Prism::Source, @@ -10539,7 +10539,7 @@ module Prism::DSL # Create a new NumberedReferenceReadNode node. # - # source://prism/lib/prism/dsl.rb#627 + # source://prism//lib/prism/dsl.rb#627 sig do params( source: Prism::Source, @@ -10553,7 +10553,7 @@ module Prism::DSL # Create a new OptionalKeywordParameterNode node. # - # source://prism/lib/prism/dsl.rb#632 + # source://prism//lib/prism/dsl.rb#632 sig do params( source: Prism::Source, @@ -10569,7 +10569,7 @@ module Prism::DSL # Create a new OptionalParameterNode node. # - # source://prism/lib/prism/dsl.rb#637 + # source://prism//lib/prism/dsl.rb#637 sig do params( source: Prism::Source, @@ -10586,7 +10586,7 @@ module Prism::DSL # Create a new OrNode node. # - # source://prism/lib/prism/dsl.rb#642 + # source://prism//lib/prism/dsl.rb#642 sig do params( source: Prism::Source, @@ -10602,13 +10602,13 @@ module Prism::DSL # Retrieve the value of one of the ParameterFlags flags. # - # source://prism/lib/prism/dsl.rb#908 + # source://prism//lib/prism/dsl.rb#908 sig { params(name: Symbol).returns(Integer) } def parameter_flag(name); end # Create a new ParametersNode node. # - # source://prism/lib/prism/dsl.rb#647 + # source://prism//lib/prism/dsl.rb#647 sig do params( source: Prism::Source, @@ -10628,7 +10628,7 @@ module Prism::DSL # Create a new ParenthesesNode node. # - # source://prism/lib/prism/dsl.rb#652 + # source://prism//lib/prism/dsl.rb#652 sig do params( source: Prism::Source, @@ -10644,7 +10644,7 @@ module Prism::DSL # Create a new PinnedExpressionNode node. # - # source://prism/lib/prism/dsl.rb#657 + # source://prism//lib/prism/dsl.rb#657 sig do params( source: Prism::Source, @@ -10661,7 +10661,7 @@ module Prism::DSL # Create a new PinnedVariableNode node. # - # source://prism/lib/prism/dsl.rb#662 + # source://prism//lib/prism/dsl.rb#662 sig do params( source: Prism::Source, @@ -10676,7 +10676,7 @@ module Prism::DSL # Create a new PostExecutionNode node. # - # source://prism/lib/prism/dsl.rb#667 + # source://prism//lib/prism/dsl.rb#667 sig do params( source: Prism::Source, @@ -10693,7 +10693,7 @@ module Prism::DSL # Create a new PreExecutionNode node. # - # source://prism/lib/prism/dsl.rb#672 + # source://prism//lib/prism/dsl.rb#672 sig do params( source: Prism::Source, @@ -10710,7 +10710,7 @@ module Prism::DSL # Create a new ProgramNode node. # - # source://prism/lib/prism/dsl.rb#677 + # source://prism//lib/prism/dsl.rb#677 sig do params( source: Prism::Source, @@ -10725,13 +10725,13 @@ module Prism::DSL # Retrieve the value of one of the RangeFlags flags. # - # source://prism/lib/prism/dsl.rb#916 + # source://prism//lib/prism/dsl.rb#916 sig { params(name: Symbol).returns(Integer) } def range_flag(name); end # Create a new RangeNode node. # - # source://prism/lib/prism/dsl.rb#682 + # source://prism//lib/prism/dsl.rb#682 sig do params( source: Prism::Source, @@ -10747,7 +10747,7 @@ module Prism::DSL # Create a new RationalNode node. # - # source://prism/lib/prism/dsl.rb#687 + # source://prism//lib/prism/dsl.rb#687 sig do params( source: Prism::Source, @@ -10762,7 +10762,7 @@ module Prism::DSL # Create a new RedoNode node. # - # source://prism/lib/prism/dsl.rb#692 + # source://prism//lib/prism/dsl.rb#692 sig do params( source: Prism::Source, @@ -10775,13 +10775,13 @@ module Prism::DSL # Retrieve the value of one of the RegularExpressionFlags flags. # - # source://prism/lib/prism/dsl.rb#924 + # source://prism//lib/prism/dsl.rb#924 sig { params(name: Symbol).returns(Integer) } def regular_expression_flag(name); end # Create a new RegularExpressionNode node. # - # source://prism/lib/prism/dsl.rb#697 + # source://prism//lib/prism/dsl.rb#697 sig do params( source: Prism::Source, @@ -10798,7 +10798,7 @@ module Prism::DSL # Create a new RequiredKeywordParameterNode node. # - # source://prism/lib/prism/dsl.rb#702 + # source://prism//lib/prism/dsl.rb#702 sig do params( source: Prism::Source, @@ -10813,7 +10813,7 @@ module Prism::DSL # Create a new RequiredParameterNode node. # - # source://prism/lib/prism/dsl.rb#707 + # source://prism//lib/prism/dsl.rb#707 sig do params( source: Prism::Source, @@ -10827,7 +10827,7 @@ module Prism::DSL # Create a new RescueModifierNode node. # - # source://prism/lib/prism/dsl.rb#712 + # source://prism//lib/prism/dsl.rb#712 sig do params( source: Prism::Source, @@ -10843,7 +10843,7 @@ module Prism::DSL # Create a new RescueNode node. # - # source://prism/lib/prism/dsl.rb#717 + # source://prism//lib/prism/dsl.rb#717 sig do params( source: Prism::Source, @@ -10862,7 +10862,7 @@ module Prism::DSL # Create a new RestParameterNode node. # - # source://prism/lib/prism/dsl.rb#722 + # source://prism//lib/prism/dsl.rb#722 sig do params( source: Prism::Source, @@ -10878,7 +10878,7 @@ module Prism::DSL # Create a new RetryNode node. # - # source://prism/lib/prism/dsl.rb#727 + # source://prism//lib/prism/dsl.rb#727 sig do params( source: Prism::Source, @@ -10891,7 +10891,7 @@ module Prism::DSL # Create a new ReturnNode node. # - # source://prism/lib/prism/dsl.rb#732 + # source://prism//lib/prism/dsl.rb#732 sig do params( source: Prism::Source, @@ -10906,7 +10906,7 @@ module Prism::DSL # Create a new SelfNode node. # - # source://prism/lib/prism/dsl.rb#737 + # source://prism//lib/prism/dsl.rb#737 sig do params( source: Prism::Source, @@ -10919,7 +10919,7 @@ module Prism::DSL # Create a new ShareableConstantNode node. # - # source://prism/lib/prism/dsl.rb#742 + # source://prism//lib/prism/dsl.rb#742 sig do params( source: Prism::Source, @@ -10933,13 +10933,13 @@ module Prism::DSL # Retrieve the value of one of the ShareableConstantNodeFlags flags. # - # source://prism/lib/prism/dsl.rb#942 + # source://prism//lib/prism/dsl.rb#942 sig { params(name: Symbol).returns(Integer) } def shareable_constant_node_flag(name); end # Create a new SingletonClassNode node. # - # source://prism/lib/prism/dsl.rb#747 + # source://prism//lib/prism/dsl.rb#747 sig do params( source: Prism::Source, @@ -10958,13 +10958,13 @@ module Prism::DSL # Create a new Source object. # - # source://prism/lib/prism/dsl.rb#67 + # source://prism//lib/prism/dsl.rb#67 sig { params(string: String).returns(Prism::Source) } def source(string); end # Create a new SourceEncodingNode node. # - # source://prism/lib/prism/dsl.rb#752 + # source://prism//lib/prism/dsl.rb#752 sig do params( source: Prism::Source, @@ -10977,7 +10977,7 @@ module Prism::DSL # Create a new SourceFileNode node. # - # source://prism/lib/prism/dsl.rb#757 + # source://prism//lib/prism/dsl.rb#757 sig do params( source: Prism::Source, @@ -10991,7 +10991,7 @@ module Prism::DSL # Create a new SourceLineNode node. # - # source://prism/lib/prism/dsl.rb#762 + # source://prism//lib/prism/dsl.rb#762 sig do params( source: Prism::Source, @@ -11004,7 +11004,7 @@ module Prism::DSL # Create a new SplatNode node. # - # source://prism/lib/prism/dsl.rb#767 + # source://prism//lib/prism/dsl.rb#767 sig do params( source: Prism::Source, @@ -11019,7 +11019,7 @@ module Prism::DSL # Create a new StatementsNode node. # - # source://prism/lib/prism/dsl.rb#772 + # source://prism//lib/prism/dsl.rb#772 sig do params( source: Prism::Source, @@ -11033,13 +11033,13 @@ module Prism::DSL # Retrieve the value of one of the StringFlags flags. # - # source://prism/lib/prism/dsl.rb#952 + # source://prism//lib/prism/dsl.rb#952 sig { params(name: Symbol).returns(Integer) } def string_flag(name); end # Create a new StringNode node. # - # source://prism/lib/prism/dsl.rb#777 + # source://prism//lib/prism/dsl.rb#777 sig do params( source: Prism::Source, @@ -11056,7 +11056,7 @@ module Prism::DSL # Create a new SuperNode node. # - # source://prism/lib/prism/dsl.rb#782 + # source://prism//lib/prism/dsl.rb#782 sig do params( source: Prism::Source, @@ -11074,13 +11074,13 @@ module Prism::DSL # Retrieve the value of one of the SymbolFlags flags. # - # source://prism/lib/prism/dsl.rb#963 + # source://prism//lib/prism/dsl.rb#963 sig { params(name: Symbol).returns(Integer) } def symbol_flag(name); end # Create a new SymbolNode node. # - # source://prism/lib/prism/dsl.rb#787 + # source://prism//lib/prism/dsl.rb#787 sig do params( source: Prism::Source, @@ -11097,7 +11097,7 @@ module Prism::DSL # Create a new TrueNode node. # - # source://prism/lib/prism/dsl.rb#792 + # source://prism//lib/prism/dsl.rb#792 sig do params( source: Prism::Source, @@ -11110,7 +11110,7 @@ module Prism::DSL # Create a new UndefNode node. # - # source://prism/lib/prism/dsl.rb#797 + # source://prism//lib/prism/dsl.rb#797 sig do params( source: Prism::Source, @@ -11125,7 +11125,7 @@ module Prism::DSL # Create a new UnlessNode node. # - # source://prism/lib/prism/dsl.rb#802 + # source://prism//lib/prism/dsl.rb#802 sig do params( source: Prism::Source, @@ -11144,7 +11144,7 @@ module Prism::DSL # Create a new UntilNode node. # - # source://prism/lib/prism/dsl.rb#807 + # source://prism//lib/prism/dsl.rb#807 sig do params( source: Prism::Source, @@ -11162,7 +11162,7 @@ module Prism::DSL # Create a new WhenNode node. # - # source://prism/lib/prism/dsl.rb#812 + # source://prism//lib/prism/dsl.rb#812 sig do params( source: Prism::Source, @@ -11179,7 +11179,7 @@ module Prism::DSL # Create a new WhileNode node. # - # source://prism/lib/prism/dsl.rb#817 + # source://prism//lib/prism/dsl.rb#817 sig do params( source: Prism::Source, @@ -11197,7 +11197,7 @@ module Prism::DSL # Create a new XStringNode node. # - # source://prism/lib/prism/dsl.rb#822 + # source://prism//lib/prism/dsl.rb#822 sig do params( source: Prism::Source, @@ -11214,7 +11214,7 @@ module Prism::DSL # Create a new YieldNode node. # - # source://prism/lib/prism/dsl.rb#827 + # source://prism//lib/prism/dsl.rb#827 sig do params( source: Prism::Source, @@ -11234,21 +11234,21 @@ module Prism::DSL # The default location object that gets attached to nodes if no location is # specified, which uses the given source. # - # source://prism/lib/prism/dsl.rb#982 + # source://prism//lib/prism/dsl.rb#982 sig { returns(Prism::Location) } def default_location; end # The default node that gets attached to nodes if no node is specified for a # required node field. # - # source://prism/lib/prism/dsl.rb#988 + # source://prism//lib/prism/dsl.rb#988 sig { params(source: Prism::Source, location: Prism::Location).returns(Prism::Node) } def default_node(source, location); end # The default source object that gets attached to nodes and locations if no # source is specified. # - # source://prism/lib/prism/dsl.rb#976 + # source://prism//lib/prism/dsl.rb#976 sig { returns(Prism::Source) } def default_source; end end @@ -11259,13 +11259,13 @@ end # end # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#5886 +# source://prism//lib/prism/node.rb#5886 class Prism::DefNode < ::Prism::Node # Initialize a new DefNode node. # # @return [DefNode] a new instance of DefNode # - # source://prism/lib/prism/node.rb#5888 + # source://prism//lib/prism/node.rb#5888 sig do params( source: Prism::Source, @@ -11291,42 +11291,42 @@ class Prism::DefNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6127 + # source://prism//lib/prism/node.rb#6127 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#5908 + # source://prism//lib/prism/node.rb#5908 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: StatementsNode | BeginNode | nil # - # source://prism/lib/prism/node.rb#5967 + # source://prism//lib/prism/node.rb#5967 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5913 + # source://prism//lib/prism/node.rb#5913 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#5927 + # source://prism//lib/prism/node.rb#5927 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#5918 + # source://prism//lib/prism/node.rb#5918 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?receiver: Prism::node?, ?parameters: ParametersNode?, ?body: StatementsNode | BeginNode | nil, ?locals: Array[Symbol], ?def_keyword_loc: Location, ?operator_loc: Location?, ?lparen_loc: Location?, ?rparen_loc: Location?, ?equal_loc: Location?, ?end_keyword_loc: Location?) -> DefNode # - # source://prism/lib/prism/node.rb#5932 + # source://prism//lib/prism/node.rb#5932 sig do params( node_id: Integer, @@ -11351,49 +11351,49 @@ class Prism::DefNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#5913 + # source://prism//lib/prism/node.rb#5937 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, receiver: Prism::node?, parameters: ParametersNode?, body: StatementsNode | BeginNode | nil, locals: Array[Symbol], def_keyword_loc: Location, operator_loc: Location?, lparen_loc: Location?, rparen_loc: Location?, equal_loc: Location?, end_keyword_loc: Location? } # - # source://prism/lib/prism/node.rb#5940 + # source://prism//lib/prism/node.rb#5940 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def def_keyword: () -> String # - # source://prism/lib/prism/node.rb#6081 + # source://prism//lib/prism/node.rb#6081 sig { returns(String) } def def_keyword; end # attr_reader def_keyword_loc: Location # - # source://prism/lib/prism/node.rb#5973 + # source://prism//lib/prism/node.rb#5973 sig { returns(Prism::Location) } def def_keyword_loc; end # def end_keyword: () -> String? # - # source://prism/lib/prism/node.rb#6106 + # source://prism//lib/prism/node.rb#6106 sig { returns(T.nilable(String)) } def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://prism/lib/prism/node.rb#6062 + # source://prism//lib/prism/node.rb#6062 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end # def equal: () -> String? # - # source://prism/lib/prism/node.rb#6101 + # source://prism//lib/prism/node.rb#6101 sig { returns(T.nilable(String)) } def equal; end # attr_reader equal_loc: Location? # - # source://prism/lib/prism/node.rb#6043 + # source://prism//lib/prism/node.rb#6043 sig { returns(T.nilable(Prism::Location)) } def equal_loc; end @@ -11402,128 +11402,128 @@ class Prism::DefNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6111 + # source://prism//lib/prism/node.rb#6111 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#5970 + # source://prism//lib/prism/node.rb#5970 sig { returns(T::Array[Symbol]) } def locals; end # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#6091 + # source://prism//lib/prism/node.rb#6091 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism/lib/prism/node.rb#6005 + # source://prism//lib/prism/node.rb#6005 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#5945 + # source://prism//lib/prism/node.rb#5945 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#5948 + # source://prism//lib/prism/node.rb#5948 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String? # - # source://prism/lib/prism/node.rb#6086 + # source://prism//lib/prism/node.rb#6086 sig { returns(T.nilable(String)) } def operator; end # attr_reader operator_loc: Location? # - # source://prism/lib/prism/node.rb#5986 + # source://prism//lib/prism/node.rb#5986 sig { returns(T.nilable(Prism::Location)) } def operator_loc; end # attr_reader parameters: ParametersNode? # - # source://prism/lib/prism/node.rb#5964 + # source://prism//lib/prism/node.rb#5964 sig { returns(T.nilable(Prism::ParametersNode)) } def parameters; end # attr_reader receiver: Prism::node? # - # source://prism/lib/prism/node.rb#5961 + # source://prism//lib/prism/node.rb#5961 sig { returns(T.nilable(Prism::Node)) } def receiver; end # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#6096 + # source://prism//lib/prism/node.rb#6096 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism/lib/prism/node.rb#6024 + # source://prism//lib/prism/node.rb#6024 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the def_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5981 + # source://prism//lib/prism/node.rb#5981 def save_def_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6076 + # source://prism//lib/prism/node.rb#6076 def save_end_keyword_loc(repository); end # Save the equal_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6057 + # source://prism//lib/prism/node.rb#6057 def save_equal_loc(repository); end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6019 + # source://prism//lib/prism/node.rb#6019 def save_lparen_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#5956 + # source://prism//lib/prism/node.rb#5956 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6000 + # source://prism//lib/prism/node.rb#6000 def save_operator_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6038 + # source://prism//lib/prism/node.rb#6038 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6116 + # source://prism//lib/prism/node.rb#6116 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6121 + # source://prism//lib/prism/node.rb#6121 def type; end end end @@ -11533,13 +11533,13 @@ end # defined?(a) # ^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#6149 +# source://prism//lib/prism/node.rb#6149 class Prism::DefinedNode < ::Prism::Node # Initialize a new DefinedNode node. # # @return [DefinedNode] a new instance of DefinedNode # - # source://prism/lib/prism/node.rb#6151 + # source://prism//lib/prism/node.rb#6151 sig do params( source: Prism::Source, @@ -11557,36 +11557,36 @@ class Prism::DefinedNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6281 + # source://prism//lib/prism/node.rb#6281 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6163 + # source://prism//lib/prism/node.rb#6163 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6168 + # source://prism//lib/prism/node.rb#6168 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6178 + # source://prism//lib/prism/node.rb#6178 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6173 + # source://prism//lib/prism/node.rb#6173 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?lparen_loc: Location?, ?value: Prism::node, ?rparen_loc: Location?, ?keyword_loc: Location) -> DefinedNode # - # source://prism/lib/prism/node.rb#6183 + # source://prism//lib/prism/node.rb#6183 sig do params( node_id: Integer, @@ -11603,13 +11603,13 @@ class Prism::DefinedNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6168 + # source://prism//lib/prism/node.rb#6188 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, lparen_loc: Location?, value: Prism::node, rparen_loc: Location?, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#6191 + # source://prism//lib/prism/node.rb#6191 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -11618,128 +11618,128 @@ class Prism::DefinedNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6265 + # source://prism//lib/prism/node.rb#6265 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#6260 + # source://prism//lib/prism/node.rb#6260 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#6237 + # source://prism//lib/prism/node.rb#6237 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#6250 + # source://prism//lib/prism/node.rb#6250 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism/lib/prism/node.rb#6196 + # source://prism//lib/prism/node.rb#6196 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#6255 + # source://prism//lib/prism/node.rb#6255 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism/lib/prism/node.rb#6218 + # source://prism//lib/prism/node.rb#6218 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6245 + # source://prism//lib/prism/node.rb#6245 def save_keyword_loc(repository); end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6210 + # source://prism//lib/prism/node.rb#6210 def save_lparen_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6232 + # source://prism//lib/prism/node.rb#6232 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6270 + # source://prism//lib/prism/node.rb#6270 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#6215 + # source://prism//lib/prism/node.rb#6215 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6275 + # source://prism//lib/prism/node.rb#6275 def type; end end end -# source://prism/lib/prism/desugar_compiler.rb#4 +# source://prism//lib/prism/desugar_compiler.rb#4 class Prism::DesugarAndWriteNode include ::Prism::DSL # @return [DesugarAndWriteNode] a new instance of DesugarAndWriteNode # - # source://prism/lib/prism/desugar_compiler.rb#9 + # source://prism//lib/prism/desugar_compiler.rb#9 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism/lib/prism/desugar_compiler.rb#7 + # source://prism//lib/prism/desugar_compiler.rb#7 def arguments; end # Desugar `x &&= y` to `x && x = y` # - # source://prism/lib/prism/desugar_compiler.rb#18 + # source://prism//lib/prism/desugar_compiler.rb#18 def compile; end # Returns the value of attribute default_source. # - # source://prism/lib/prism/desugar_compiler.rb#7 + # source://prism//lib/prism/desugar_compiler.rb#7 def default_source; end # Returns the value of attribute node. # - # source://prism/lib/prism/desugar_compiler.rb#7 + # source://prism//lib/prism/desugar_compiler.rb#7 def node; end # Returns the value of attribute read_class. # - # source://prism/lib/prism/desugar_compiler.rb#7 + # source://prism//lib/prism/desugar_compiler.rb#7 def read_class; end # Returns the value of attribute write_class. # - # source://prism/lib/prism/desugar_compiler.rb#7 + # source://prism//lib/prism/desugar_compiler.rb#7 def write_class; end end # DesugarCompiler is a compiler that desugars Ruby code into a more primitive # form. This is useful for consumers that want to deal with fewer node types. # -# source://prism/lib/prism/desugar_compiler.rb#255 +# source://prism//lib/prism/desugar_compiler.rb#255 class Prism::DesugarCompiler < ::Prism::MutationCompiler # @@foo &&= bar # @@ -11747,7 +11747,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # @@foo && @@foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#261 + # source://prism//lib/prism/desugar_compiler.rb#261 def visit_class_variable_and_write_node(node); end # @@foo += bar @@ -11756,7 +11756,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # @@foo = @@foo + bar # - # source://prism/lib/prism/desugar_compiler.rb#279 + # source://prism//lib/prism/desugar_compiler.rb#279 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar @@ -11765,7 +11765,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?(@@foo) ? @@foo : @@foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#270 + # source://prism//lib/prism/desugar_compiler.rb#270 def visit_class_variable_or_write_node(node); end # Foo &&= bar @@ -11774,7 +11774,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # Foo && Foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#288 + # source://prism//lib/prism/desugar_compiler.rb#288 def visit_constant_and_write_node(node); end # Foo += bar @@ -11783,7 +11783,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # Foo = Foo + bar # - # source://prism/lib/prism/desugar_compiler.rb#306 + # source://prism//lib/prism/desugar_compiler.rb#306 def visit_constant_operator_write_node(node); end # Foo ||= bar @@ -11792,7 +11792,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?(Foo) ? Foo : Foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#297 + # source://prism//lib/prism/desugar_compiler.rb#297 def visit_constant_or_write_node(node); end # $foo &&= bar @@ -11801,7 +11801,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # $foo && $foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#315 + # source://prism//lib/prism/desugar_compiler.rb#315 def visit_global_variable_and_write_node(node); end # $foo += bar @@ -11810,7 +11810,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # $foo = $foo + bar # - # source://prism/lib/prism/desugar_compiler.rb#333 + # source://prism//lib/prism/desugar_compiler.rb#333 def visit_global_variable_operator_write_node(node); end # $foo ||= bar @@ -11819,22 +11819,22 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?($foo) ? $foo : $foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#324 + # source://prism//lib/prism/desugar_compiler.rb#324 def visit_global_variable_or_write_node(node); end # becomes # - # source://prism/lib/prism/desugar_compiler.rb#342 + # source://prism//lib/prism/desugar_compiler.rb#342 def visit_instance_variable_and_write_node(node); end # becomes # - # source://prism/lib/prism/desugar_compiler.rb#360 + # source://prism//lib/prism/desugar_compiler.rb#360 def visit_instance_variable_operator_write_node(node); end # becomes # - # source://prism/lib/prism/desugar_compiler.rb#351 + # source://prism//lib/prism/desugar_compiler.rb#351 def visit_instance_variable_or_write_node(node); end # foo &&= bar @@ -11843,7 +11843,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # foo && foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#369 + # source://prism//lib/prism/desugar_compiler.rb#369 def visit_local_variable_and_write_node(node); end # foo += bar @@ -11852,7 +11852,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # foo = foo + bar # - # source://prism/lib/prism/desugar_compiler.rb#387 + # source://prism//lib/prism/desugar_compiler.rb#387 def visit_local_variable_operator_write_node(node); end # foo ||= bar @@ -11861,127 +11861,127 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # foo || foo = bar # - # source://prism/lib/prism/desugar_compiler.rb#378 + # source://prism//lib/prism/desugar_compiler.rb#378 def visit_local_variable_or_write_node(node); end end -# source://prism/lib/prism/desugar_compiler.rb#86 +# source://prism//lib/prism/desugar_compiler.rb#86 class Prism::DesugarOperatorWriteNode include ::Prism::DSL # @return [DesugarOperatorWriteNode] a new instance of DesugarOperatorWriteNode # - # source://prism/lib/prism/desugar_compiler.rb#91 + # source://prism//lib/prism/desugar_compiler.rb#91 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism/lib/prism/desugar_compiler.rb#89 + # source://prism//lib/prism/desugar_compiler.rb#89 def arguments; end # Desugar `x += y` to `x = x + y` # - # source://prism/lib/prism/desugar_compiler.rb#100 + # source://prism//lib/prism/desugar_compiler.rb#100 def compile; end # Returns the value of attribute default_source. # - # source://prism/lib/prism/desugar_compiler.rb#89 + # source://prism//lib/prism/desugar_compiler.rb#89 def default_source; end # Returns the value of attribute node. # - # source://prism/lib/prism/desugar_compiler.rb#89 + # source://prism//lib/prism/desugar_compiler.rb#89 def node; end # Returns the value of attribute read_class. # - # source://prism/lib/prism/desugar_compiler.rb#89 + # source://prism//lib/prism/desugar_compiler.rb#89 def read_class; end # Returns the value of attribute write_class. # - # source://prism/lib/prism/desugar_compiler.rb#89 + # source://prism//lib/prism/desugar_compiler.rb#89 def write_class; end end -# source://prism/lib/prism/desugar_compiler.rb#35 +# source://prism//lib/prism/desugar_compiler.rb#35 class Prism::DesugarOrWriteDefinedNode include ::Prism::DSL # @return [DesugarOrWriteDefinedNode] a new instance of DesugarOrWriteDefinedNode # - # source://prism/lib/prism/desugar_compiler.rb#40 + # source://prism//lib/prism/desugar_compiler.rb#40 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism/lib/prism/desugar_compiler.rb#38 + # source://prism//lib/prism/desugar_compiler.rb#38 def arguments; end # Desugar `x ||= y` to `defined?(x) ? x : x = y` # - # source://prism/lib/prism/desugar_compiler.rb#49 + # source://prism//lib/prism/desugar_compiler.rb#49 def compile; end # Returns the value of attribute default_source. # - # source://prism/lib/prism/desugar_compiler.rb#38 + # source://prism//lib/prism/desugar_compiler.rb#38 def default_source; end # Returns the value of attribute node. # - # source://prism/lib/prism/desugar_compiler.rb#38 + # source://prism//lib/prism/desugar_compiler.rb#38 def node; end # Returns the value of attribute read_class. # - # source://prism/lib/prism/desugar_compiler.rb#38 + # source://prism//lib/prism/desugar_compiler.rb#38 def read_class; end # Returns the value of attribute write_class. # - # source://prism/lib/prism/desugar_compiler.rb#38 + # source://prism//lib/prism/desugar_compiler.rb#38 def write_class; end end -# source://prism/lib/prism/desugar_compiler.rb#130 +# source://prism//lib/prism/desugar_compiler.rb#130 class Prism::DesugarOrWriteNode include ::Prism::DSL # @return [DesugarOrWriteNode] a new instance of DesugarOrWriteNode # - # source://prism/lib/prism/desugar_compiler.rb#135 + # source://prism//lib/prism/desugar_compiler.rb#135 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism/lib/prism/desugar_compiler.rb#133 + # source://prism//lib/prism/desugar_compiler.rb#133 def arguments; end # Desugar `x ||= y` to `x || x = y` # - # source://prism/lib/prism/desugar_compiler.rb#144 + # source://prism//lib/prism/desugar_compiler.rb#144 def compile; end # Returns the value of attribute default_source. # - # source://prism/lib/prism/desugar_compiler.rb#133 + # source://prism//lib/prism/desugar_compiler.rb#133 def default_source; end # Returns the value of attribute node. # - # source://prism/lib/prism/desugar_compiler.rb#133 + # source://prism//lib/prism/desugar_compiler.rb#133 def node; end # Returns the value of attribute read_class. # - # source://prism/lib/prism/desugar_compiler.rb#133 + # source://prism//lib/prism/desugar_compiler.rb#133 def read_class; end # Returns the value of attribute write_class. # - # source://prism/lib/prism/desugar_compiler.rb#133 + # source://prism//lib/prism/desugar_compiler.rb#133 def write_class; end end @@ -12017,2491 +12017,2491 @@ end # integer = result.value.statements.body.first.receiver.receiver # dispatcher.dispatch_once(integer) # -# source://prism/lib/prism/dispatcher.rb#42 +# source://prism//lib/prism/dispatcher.rb#42 class Prism::Dispatcher < ::Prism::Visitor # Initialize a new dispatcher. # # @return [Dispatcher] a new instance of Dispatcher # - # source://prism/lib/prism/dispatcher.rb#47 + # source://prism//lib/prism/dispatcher.rb#47 def initialize; end # Walks `root` dispatching events to all registered listeners. # # def dispatch: (Node) -> void # - # source://prism/lib/prism/visitor.rb#17 + # source://prism//lib/prism/dispatcher.rb#61 def dispatch(node); end # Dispatches a single event for `node` to all registered listeners. # # def dispatch_once: (Node) -> void # - # source://prism/lib/prism/dispatcher.rb#66 + # source://prism//lib/prism/dispatcher.rb#66 def dispatch_once(node); end # attr_reader listeners: Hash[Symbol, Array[Listener]] # - # source://prism/lib/prism/dispatcher.rb#44 + # source://prism//lib/prism/dispatcher.rb#44 def listeners; end # Register a listener for one or more events. # # def register: (Listener, *Symbol) -> void # - # source://prism/lib/prism/dispatcher.rb#54 + # source://prism//lib/prism/dispatcher.rb#54 def register(listener, *events); end # Dispatch enter and leave events for AliasGlobalVariableNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#72 + # source://prism//lib/prism/dispatcher.rb#72 def visit_alias_global_variable_node(node); end # Dispatch enter and leave events for AliasMethodNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#80 + # source://prism//lib/prism/dispatcher.rb#80 def visit_alias_method_node(node); end # Dispatch enter and leave events for AlternationPatternNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#88 + # source://prism//lib/prism/dispatcher.rb#88 def visit_alternation_pattern_node(node); end # Dispatch enter and leave events for AndNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#96 + # source://prism//lib/prism/dispatcher.rb#96 def visit_and_node(node); end # Dispatch enter and leave events for ArgumentsNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#104 + # source://prism//lib/prism/dispatcher.rb#104 def visit_arguments_node(node); end # Dispatch enter and leave events for ArrayNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#112 + # source://prism//lib/prism/dispatcher.rb#112 def visit_array_node(node); end # Dispatch enter and leave events for ArrayPatternNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#120 + # source://prism//lib/prism/dispatcher.rb#120 def visit_array_pattern_node(node); end # Dispatch enter and leave events for AssocNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#128 + # source://prism//lib/prism/dispatcher.rb#128 def visit_assoc_node(node); end # Dispatch enter and leave events for AssocSplatNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#136 + # source://prism//lib/prism/dispatcher.rb#136 def visit_assoc_splat_node(node); end # Dispatch enter and leave events for BackReferenceReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#144 + # source://prism//lib/prism/dispatcher.rb#144 def visit_back_reference_read_node(node); end # Dispatch enter and leave events for BeginNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#152 + # source://prism//lib/prism/dispatcher.rb#152 def visit_begin_node(node); end # Dispatch enter and leave events for BlockArgumentNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#160 + # source://prism//lib/prism/dispatcher.rb#160 def visit_block_argument_node(node); end # Dispatch enter and leave events for BlockLocalVariableNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#168 + # source://prism//lib/prism/dispatcher.rb#168 def visit_block_local_variable_node(node); end # Dispatch enter and leave events for BlockNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#176 + # source://prism//lib/prism/dispatcher.rb#176 def visit_block_node(node); end # Dispatch enter and leave events for BlockParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#184 + # source://prism//lib/prism/dispatcher.rb#184 def visit_block_parameter_node(node); end # Dispatch enter and leave events for BlockParametersNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#192 + # source://prism//lib/prism/dispatcher.rb#192 def visit_block_parameters_node(node); end # Dispatch enter and leave events for BreakNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#200 + # source://prism//lib/prism/dispatcher.rb#200 def visit_break_node(node); end # Dispatch enter and leave events for CallAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#208 + # source://prism//lib/prism/dispatcher.rb#208 def visit_call_and_write_node(node); end # Dispatch enter and leave events for CallNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#216 + # source://prism//lib/prism/dispatcher.rb#216 def visit_call_node(node); end # Dispatch enter and leave events for CallOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#224 + # source://prism//lib/prism/dispatcher.rb#224 def visit_call_operator_write_node(node); end # Dispatch enter and leave events for CallOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#232 + # source://prism//lib/prism/dispatcher.rb#232 def visit_call_or_write_node(node); end # Dispatch enter and leave events for CallTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#240 + # source://prism//lib/prism/dispatcher.rb#240 def visit_call_target_node(node); end # Dispatch enter and leave events for CapturePatternNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#248 + # source://prism//lib/prism/dispatcher.rb#248 def visit_capture_pattern_node(node); end # Dispatch enter and leave events for CaseMatchNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#256 + # source://prism//lib/prism/dispatcher.rb#256 def visit_case_match_node(node); end # Dispatch enter and leave events for CaseNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#264 + # source://prism//lib/prism/dispatcher.rb#264 def visit_case_node(node); end # Dispatch enter and leave events for ClassNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#272 + # source://prism//lib/prism/dispatcher.rb#272 def visit_class_node(node); end # Dispatch enter and leave events for ClassVariableAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#280 + # source://prism//lib/prism/dispatcher.rb#280 def visit_class_variable_and_write_node(node); end # Dispatch enter and leave events for ClassVariableOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#288 + # source://prism//lib/prism/dispatcher.rb#288 def visit_class_variable_operator_write_node(node); end # Dispatch enter and leave events for ClassVariableOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#296 + # source://prism//lib/prism/dispatcher.rb#296 def visit_class_variable_or_write_node(node); end # Dispatch enter and leave events for ClassVariableReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#304 + # source://prism//lib/prism/dispatcher.rb#304 def visit_class_variable_read_node(node); end # Dispatch enter and leave events for ClassVariableTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#312 + # source://prism//lib/prism/dispatcher.rb#312 def visit_class_variable_target_node(node); end # Dispatch enter and leave events for ClassVariableWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#320 + # source://prism//lib/prism/dispatcher.rb#320 def visit_class_variable_write_node(node); end # Dispatch enter and leave events for ConstantAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#328 + # source://prism//lib/prism/dispatcher.rb#328 def visit_constant_and_write_node(node); end # Dispatch enter and leave events for ConstantOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#336 + # source://prism//lib/prism/dispatcher.rb#336 def visit_constant_operator_write_node(node); end # Dispatch enter and leave events for ConstantOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#344 + # source://prism//lib/prism/dispatcher.rb#344 def visit_constant_or_write_node(node); end # Dispatch enter and leave events for ConstantPathAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#352 + # source://prism//lib/prism/dispatcher.rb#352 def visit_constant_path_and_write_node(node); end # Dispatch enter and leave events for ConstantPathNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#360 + # source://prism//lib/prism/dispatcher.rb#360 def visit_constant_path_node(node); end # Dispatch enter and leave events for ConstantPathOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#368 + # source://prism//lib/prism/dispatcher.rb#368 def visit_constant_path_operator_write_node(node); end # Dispatch enter and leave events for ConstantPathOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#376 + # source://prism//lib/prism/dispatcher.rb#376 def visit_constant_path_or_write_node(node); end # Dispatch enter and leave events for ConstantPathTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#384 + # source://prism//lib/prism/dispatcher.rb#384 def visit_constant_path_target_node(node); end # Dispatch enter and leave events for ConstantPathWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#392 + # source://prism//lib/prism/dispatcher.rb#392 def visit_constant_path_write_node(node); end # Dispatch enter and leave events for ConstantReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#400 + # source://prism//lib/prism/dispatcher.rb#400 def visit_constant_read_node(node); end # Dispatch enter and leave events for ConstantTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#408 + # source://prism//lib/prism/dispatcher.rb#408 def visit_constant_target_node(node); end # Dispatch enter and leave events for ConstantWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#416 + # source://prism//lib/prism/dispatcher.rb#416 def visit_constant_write_node(node); end # Dispatch enter and leave events for DefNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#424 + # source://prism//lib/prism/dispatcher.rb#424 def visit_def_node(node); end # Dispatch enter and leave events for DefinedNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#432 + # source://prism//lib/prism/dispatcher.rb#432 def visit_defined_node(node); end # Dispatch enter and leave events for ElseNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#440 + # source://prism//lib/prism/dispatcher.rb#440 def visit_else_node(node); end # Dispatch enter and leave events for EmbeddedStatementsNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#448 + # source://prism//lib/prism/dispatcher.rb#448 def visit_embedded_statements_node(node); end # Dispatch enter and leave events for EmbeddedVariableNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#456 + # source://prism//lib/prism/dispatcher.rb#456 def visit_embedded_variable_node(node); end # Dispatch enter and leave events for EnsureNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#464 + # source://prism//lib/prism/dispatcher.rb#464 def visit_ensure_node(node); end # Dispatch enter and leave events for FalseNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#472 + # source://prism//lib/prism/dispatcher.rb#472 def visit_false_node(node); end # Dispatch enter and leave events for FindPatternNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#480 + # source://prism//lib/prism/dispatcher.rb#480 def visit_find_pattern_node(node); end # Dispatch enter and leave events for FlipFlopNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#488 + # source://prism//lib/prism/dispatcher.rb#488 def visit_flip_flop_node(node); end # Dispatch enter and leave events for FloatNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#496 + # source://prism//lib/prism/dispatcher.rb#496 def visit_float_node(node); end # Dispatch enter and leave events for ForNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#504 + # source://prism//lib/prism/dispatcher.rb#504 def visit_for_node(node); end # Dispatch enter and leave events for ForwardingArgumentsNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#512 + # source://prism//lib/prism/dispatcher.rb#512 def visit_forwarding_arguments_node(node); end # Dispatch enter and leave events for ForwardingParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#520 + # source://prism//lib/prism/dispatcher.rb#520 def visit_forwarding_parameter_node(node); end # Dispatch enter and leave events for ForwardingSuperNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#528 + # source://prism//lib/prism/dispatcher.rb#528 def visit_forwarding_super_node(node); end # Dispatch enter and leave events for GlobalVariableAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#536 + # source://prism//lib/prism/dispatcher.rb#536 def visit_global_variable_and_write_node(node); end # Dispatch enter and leave events for GlobalVariableOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#544 + # source://prism//lib/prism/dispatcher.rb#544 def visit_global_variable_operator_write_node(node); end # Dispatch enter and leave events for GlobalVariableOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#552 + # source://prism//lib/prism/dispatcher.rb#552 def visit_global_variable_or_write_node(node); end # Dispatch enter and leave events for GlobalVariableReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#560 + # source://prism//lib/prism/dispatcher.rb#560 def visit_global_variable_read_node(node); end # Dispatch enter and leave events for GlobalVariableTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#568 + # source://prism//lib/prism/dispatcher.rb#568 def visit_global_variable_target_node(node); end # Dispatch enter and leave events for GlobalVariableWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#576 + # source://prism//lib/prism/dispatcher.rb#576 def visit_global_variable_write_node(node); end # Dispatch enter and leave events for HashNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#584 + # source://prism//lib/prism/dispatcher.rb#584 def visit_hash_node(node); end # Dispatch enter and leave events for HashPatternNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#592 + # source://prism//lib/prism/dispatcher.rb#592 def visit_hash_pattern_node(node); end # Dispatch enter and leave events for IfNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#600 + # source://prism//lib/prism/dispatcher.rb#600 def visit_if_node(node); end # Dispatch enter and leave events for ImaginaryNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#608 + # source://prism//lib/prism/dispatcher.rb#608 def visit_imaginary_node(node); end # Dispatch enter and leave events for ImplicitNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#616 + # source://prism//lib/prism/dispatcher.rb#616 def visit_implicit_node(node); end # Dispatch enter and leave events for ImplicitRestNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#624 + # source://prism//lib/prism/dispatcher.rb#624 def visit_implicit_rest_node(node); end # Dispatch enter and leave events for InNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#632 + # source://prism//lib/prism/dispatcher.rb#632 def visit_in_node(node); end # Dispatch enter and leave events for IndexAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#640 + # source://prism//lib/prism/dispatcher.rb#640 def visit_index_and_write_node(node); end # Dispatch enter and leave events for IndexOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#648 + # source://prism//lib/prism/dispatcher.rb#648 def visit_index_operator_write_node(node); end # Dispatch enter and leave events for IndexOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#656 + # source://prism//lib/prism/dispatcher.rb#656 def visit_index_or_write_node(node); end # Dispatch enter and leave events for IndexTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#664 + # source://prism//lib/prism/dispatcher.rb#664 def visit_index_target_node(node); end # Dispatch enter and leave events for InstanceVariableAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#672 + # source://prism//lib/prism/dispatcher.rb#672 def visit_instance_variable_and_write_node(node); end # Dispatch enter and leave events for InstanceVariableOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#680 + # source://prism//lib/prism/dispatcher.rb#680 def visit_instance_variable_operator_write_node(node); end # Dispatch enter and leave events for InstanceVariableOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#688 + # source://prism//lib/prism/dispatcher.rb#688 def visit_instance_variable_or_write_node(node); end # Dispatch enter and leave events for InstanceVariableReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#696 + # source://prism//lib/prism/dispatcher.rb#696 def visit_instance_variable_read_node(node); end # Dispatch enter and leave events for InstanceVariableTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#704 + # source://prism//lib/prism/dispatcher.rb#704 def visit_instance_variable_target_node(node); end # Dispatch enter and leave events for InstanceVariableWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#712 + # source://prism//lib/prism/dispatcher.rb#712 def visit_instance_variable_write_node(node); end # Dispatch enter and leave events for IntegerNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#720 + # source://prism//lib/prism/dispatcher.rb#720 def visit_integer_node(node); end # Dispatch enter and leave events for InterpolatedMatchLastLineNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#728 + # source://prism//lib/prism/dispatcher.rb#728 def visit_interpolated_match_last_line_node(node); end # Dispatch enter and leave events for InterpolatedRegularExpressionNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#736 + # source://prism//lib/prism/dispatcher.rb#736 def visit_interpolated_regular_expression_node(node); end # Dispatch enter and leave events for InterpolatedStringNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#744 + # source://prism//lib/prism/dispatcher.rb#744 def visit_interpolated_string_node(node); end # Dispatch enter and leave events for InterpolatedSymbolNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#752 + # source://prism//lib/prism/dispatcher.rb#752 def visit_interpolated_symbol_node(node); end # Dispatch enter and leave events for InterpolatedXStringNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#760 + # source://prism//lib/prism/dispatcher.rb#760 def visit_interpolated_x_string_node(node); end # Dispatch enter and leave events for ItLocalVariableReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#768 + # source://prism//lib/prism/dispatcher.rb#768 def visit_it_local_variable_read_node(node); end # Dispatch enter and leave events for ItParametersNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#776 + # source://prism//lib/prism/dispatcher.rb#776 def visit_it_parameters_node(node); end # Dispatch enter and leave events for KeywordHashNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#784 + # source://prism//lib/prism/dispatcher.rb#784 def visit_keyword_hash_node(node); end # Dispatch enter and leave events for KeywordRestParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#792 + # source://prism//lib/prism/dispatcher.rb#792 def visit_keyword_rest_parameter_node(node); end # Dispatch enter and leave events for LambdaNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#800 + # source://prism//lib/prism/dispatcher.rb#800 def visit_lambda_node(node); end # Dispatch enter and leave events for LocalVariableAndWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#808 + # source://prism//lib/prism/dispatcher.rb#808 def visit_local_variable_and_write_node(node); end # Dispatch enter and leave events for LocalVariableOperatorWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#816 + # source://prism//lib/prism/dispatcher.rb#816 def visit_local_variable_operator_write_node(node); end # Dispatch enter and leave events for LocalVariableOrWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#824 + # source://prism//lib/prism/dispatcher.rb#824 def visit_local_variable_or_write_node(node); end # Dispatch enter and leave events for LocalVariableReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#832 + # source://prism//lib/prism/dispatcher.rb#832 def visit_local_variable_read_node(node); end # Dispatch enter and leave events for LocalVariableTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#840 + # source://prism//lib/prism/dispatcher.rb#840 def visit_local_variable_target_node(node); end # Dispatch enter and leave events for LocalVariableWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#848 + # source://prism//lib/prism/dispatcher.rb#848 def visit_local_variable_write_node(node); end # Dispatch enter and leave events for MatchLastLineNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#856 + # source://prism//lib/prism/dispatcher.rb#856 def visit_match_last_line_node(node); end # Dispatch enter and leave events for MatchPredicateNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#864 + # source://prism//lib/prism/dispatcher.rb#864 def visit_match_predicate_node(node); end # Dispatch enter and leave events for MatchRequiredNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#872 + # source://prism//lib/prism/dispatcher.rb#872 def visit_match_required_node(node); end # Dispatch enter and leave events for MatchWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#880 + # source://prism//lib/prism/dispatcher.rb#880 def visit_match_write_node(node); end # Dispatch enter and leave events for MissingNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#888 + # source://prism//lib/prism/dispatcher.rb#888 def visit_missing_node(node); end # Dispatch enter and leave events for ModuleNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#896 + # source://prism//lib/prism/dispatcher.rb#896 def visit_module_node(node); end # Dispatch enter and leave events for MultiTargetNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#904 + # source://prism//lib/prism/dispatcher.rb#904 def visit_multi_target_node(node); end # Dispatch enter and leave events for MultiWriteNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#912 + # source://prism//lib/prism/dispatcher.rb#912 def visit_multi_write_node(node); end # Dispatch enter and leave events for NextNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#920 + # source://prism//lib/prism/dispatcher.rb#920 def visit_next_node(node); end # Dispatch enter and leave events for NilNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#928 + # source://prism//lib/prism/dispatcher.rb#928 def visit_nil_node(node); end # Dispatch enter and leave events for NoKeywordsParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#936 + # source://prism//lib/prism/dispatcher.rb#936 def visit_no_keywords_parameter_node(node); end # Dispatch enter and leave events for NumberedParametersNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#944 + # source://prism//lib/prism/dispatcher.rb#944 def visit_numbered_parameters_node(node); end # Dispatch enter and leave events for NumberedReferenceReadNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#952 + # source://prism//lib/prism/dispatcher.rb#952 def visit_numbered_reference_read_node(node); end # Dispatch enter and leave events for OptionalKeywordParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#960 + # source://prism//lib/prism/dispatcher.rb#960 def visit_optional_keyword_parameter_node(node); end # Dispatch enter and leave events for OptionalParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#968 + # source://prism//lib/prism/dispatcher.rb#968 def visit_optional_parameter_node(node); end # Dispatch enter and leave events for OrNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#976 + # source://prism//lib/prism/dispatcher.rb#976 def visit_or_node(node); end # Dispatch enter and leave events for ParametersNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#984 + # source://prism//lib/prism/dispatcher.rb#984 def visit_parameters_node(node); end # Dispatch enter and leave events for ParenthesesNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#992 + # source://prism//lib/prism/dispatcher.rb#992 def visit_parentheses_node(node); end # Dispatch enter and leave events for PinnedExpressionNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1000 + # source://prism//lib/prism/dispatcher.rb#1000 def visit_pinned_expression_node(node); end # Dispatch enter and leave events for PinnedVariableNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1008 + # source://prism//lib/prism/dispatcher.rb#1008 def visit_pinned_variable_node(node); end # Dispatch enter and leave events for PostExecutionNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1016 + # source://prism//lib/prism/dispatcher.rb#1016 def visit_post_execution_node(node); end # Dispatch enter and leave events for PreExecutionNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1024 + # source://prism//lib/prism/dispatcher.rb#1024 def visit_pre_execution_node(node); end # Dispatch enter and leave events for ProgramNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1032 + # source://prism//lib/prism/dispatcher.rb#1032 def visit_program_node(node); end # Dispatch enter and leave events for RangeNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1040 + # source://prism//lib/prism/dispatcher.rb#1040 def visit_range_node(node); end # Dispatch enter and leave events for RationalNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1048 + # source://prism//lib/prism/dispatcher.rb#1048 def visit_rational_node(node); end # Dispatch enter and leave events for RedoNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1056 + # source://prism//lib/prism/dispatcher.rb#1056 def visit_redo_node(node); end # Dispatch enter and leave events for RegularExpressionNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1064 + # source://prism//lib/prism/dispatcher.rb#1064 def visit_regular_expression_node(node); end # Dispatch enter and leave events for RequiredKeywordParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1072 + # source://prism//lib/prism/dispatcher.rb#1072 def visit_required_keyword_parameter_node(node); end # Dispatch enter and leave events for RequiredParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1080 + # source://prism//lib/prism/dispatcher.rb#1080 def visit_required_parameter_node(node); end # Dispatch enter and leave events for RescueModifierNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1088 + # source://prism//lib/prism/dispatcher.rb#1088 def visit_rescue_modifier_node(node); end # Dispatch enter and leave events for RescueNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1096 + # source://prism//lib/prism/dispatcher.rb#1096 def visit_rescue_node(node); end # Dispatch enter and leave events for RestParameterNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1104 + # source://prism//lib/prism/dispatcher.rb#1104 def visit_rest_parameter_node(node); end # Dispatch enter and leave events for RetryNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1112 + # source://prism//lib/prism/dispatcher.rb#1112 def visit_retry_node(node); end # Dispatch enter and leave events for ReturnNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1120 + # source://prism//lib/prism/dispatcher.rb#1120 def visit_return_node(node); end # Dispatch enter and leave events for SelfNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1128 + # source://prism//lib/prism/dispatcher.rb#1128 def visit_self_node(node); end # Dispatch enter and leave events for ShareableConstantNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1136 + # source://prism//lib/prism/dispatcher.rb#1136 def visit_shareable_constant_node(node); end # Dispatch enter and leave events for SingletonClassNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1144 + # source://prism//lib/prism/dispatcher.rb#1144 def visit_singleton_class_node(node); end # Dispatch enter and leave events for SourceEncodingNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1152 + # source://prism//lib/prism/dispatcher.rb#1152 def visit_source_encoding_node(node); end # Dispatch enter and leave events for SourceFileNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1160 + # source://prism//lib/prism/dispatcher.rb#1160 def visit_source_file_node(node); end # Dispatch enter and leave events for SourceLineNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1168 + # source://prism//lib/prism/dispatcher.rb#1168 def visit_source_line_node(node); end # Dispatch enter and leave events for SplatNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1176 + # source://prism//lib/prism/dispatcher.rb#1176 def visit_splat_node(node); end # Dispatch enter and leave events for StatementsNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1184 + # source://prism//lib/prism/dispatcher.rb#1184 def visit_statements_node(node); end # Dispatch enter and leave events for StringNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1192 + # source://prism//lib/prism/dispatcher.rb#1192 def visit_string_node(node); end # Dispatch enter and leave events for SuperNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1200 + # source://prism//lib/prism/dispatcher.rb#1200 def visit_super_node(node); end # Dispatch enter and leave events for SymbolNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1208 + # source://prism//lib/prism/dispatcher.rb#1208 def visit_symbol_node(node); end # Dispatch enter and leave events for TrueNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1216 + # source://prism//lib/prism/dispatcher.rb#1216 def visit_true_node(node); end # Dispatch enter and leave events for UndefNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1224 + # source://prism//lib/prism/dispatcher.rb#1224 def visit_undef_node(node); end # Dispatch enter and leave events for UnlessNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1232 + # source://prism//lib/prism/dispatcher.rb#1232 def visit_unless_node(node); end # Dispatch enter and leave events for UntilNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1240 + # source://prism//lib/prism/dispatcher.rb#1240 def visit_until_node(node); end # Dispatch enter and leave events for WhenNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1248 + # source://prism//lib/prism/dispatcher.rb#1248 def visit_when_node(node); end # Dispatch enter and leave events for WhileNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1256 + # source://prism//lib/prism/dispatcher.rb#1256 def visit_while_node(node); end # Dispatch enter and leave events for XStringNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1264 + # source://prism//lib/prism/dispatcher.rb#1264 def visit_x_string_node(node); end # Dispatch enter and leave events for YieldNode nodes and continue # walking the tree. # - # source://prism/lib/prism/dispatcher.rb#1272 + # source://prism//lib/prism/dispatcher.rb#1272 def visit_yield_node(node); end end -# source://prism/lib/prism/dispatcher.rb#1278 +# source://prism//lib/prism/dispatcher.rb#1278 class Prism::Dispatcher::DispatchOnce < ::Prism::Visitor # @return [DispatchOnce] a new instance of DispatchOnce # - # source://prism/lib/prism/dispatcher.rb#1281 + # source://prism//lib/prism/dispatcher.rb#1281 def initialize(listeners); end # Returns the value of attribute listeners. # - # source://prism/lib/prism/dispatcher.rb#1279 + # source://prism//lib/prism/dispatcher.rb#1279 def listeners; end # Dispatch enter and leave events for AliasGlobalVariableNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1286 + # source://prism//lib/prism/dispatcher.rb#1286 def visit_alias_global_variable_node(node); end # Dispatch enter and leave events for AliasMethodNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1292 + # source://prism//lib/prism/dispatcher.rb#1292 def visit_alias_method_node(node); end # Dispatch enter and leave events for AlternationPatternNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1298 + # source://prism//lib/prism/dispatcher.rb#1298 def visit_alternation_pattern_node(node); end # Dispatch enter and leave events for AndNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1304 + # source://prism//lib/prism/dispatcher.rb#1304 def visit_and_node(node); end # Dispatch enter and leave events for ArgumentsNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1310 + # source://prism//lib/prism/dispatcher.rb#1310 def visit_arguments_node(node); end # Dispatch enter and leave events for ArrayNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1316 + # source://prism//lib/prism/dispatcher.rb#1316 def visit_array_node(node); end # Dispatch enter and leave events for ArrayPatternNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1322 + # source://prism//lib/prism/dispatcher.rb#1322 def visit_array_pattern_node(node); end # Dispatch enter and leave events for AssocNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1328 + # source://prism//lib/prism/dispatcher.rb#1328 def visit_assoc_node(node); end # Dispatch enter and leave events for AssocSplatNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1334 + # source://prism//lib/prism/dispatcher.rb#1334 def visit_assoc_splat_node(node); end # Dispatch enter and leave events for BackReferenceReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1340 + # source://prism//lib/prism/dispatcher.rb#1340 def visit_back_reference_read_node(node); end # Dispatch enter and leave events for BeginNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1346 + # source://prism//lib/prism/dispatcher.rb#1346 def visit_begin_node(node); end # Dispatch enter and leave events for BlockArgumentNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1352 + # source://prism//lib/prism/dispatcher.rb#1352 def visit_block_argument_node(node); end # Dispatch enter and leave events for BlockLocalVariableNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1358 + # source://prism//lib/prism/dispatcher.rb#1358 def visit_block_local_variable_node(node); end # Dispatch enter and leave events for BlockNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1364 + # source://prism//lib/prism/dispatcher.rb#1364 def visit_block_node(node); end # Dispatch enter and leave events for BlockParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1370 + # source://prism//lib/prism/dispatcher.rb#1370 def visit_block_parameter_node(node); end # Dispatch enter and leave events for BlockParametersNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1376 + # source://prism//lib/prism/dispatcher.rb#1376 def visit_block_parameters_node(node); end # Dispatch enter and leave events for BreakNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1382 + # source://prism//lib/prism/dispatcher.rb#1382 def visit_break_node(node); end # Dispatch enter and leave events for CallAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1388 + # source://prism//lib/prism/dispatcher.rb#1388 def visit_call_and_write_node(node); end # Dispatch enter and leave events for CallNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1394 + # source://prism//lib/prism/dispatcher.rb#1394 def visit_call_node(node); end # Dispatch enter and leave events for CallOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1400 + # source://prism//lib/prism/dispatcher.rb#1400 def visit_call_operator_write_node(node); end # Dispatch enter and leave events for CallOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1406 + # source://prism//lib/prism/dispatcher.rb#1406 def visit_call_or_write_node(node); end # Dispatch enter and leave events for CallTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1412 + # source://prism//lib/prism/dispatcher.rb#1412 def visit_call_target_node(node); end # Dispatch enter and leave events for CapturePatternNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1418 + # source://prism//lib/prism/dispatcher.rb#1418 def visit_capture_pattern_node(node); end # Dispatch enter and leave events for CaseMatchNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1424 + # source://prism//lib/prism/dispatcher.rb#1424 def visit_case_match_node(node); end # Dispatch enter and leave events for CaseNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1430 + # source://prism//lib/prism/dispatcher.rb#1430 def visit_case_node(node); end # Dispatch enter and leave events for ClassNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1436 + # source://prism//lib/prism/dispatcher.rb#1436 def visit_class_node(node); end # Dispatch enter and leave events for ClassVariableAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1442 + # source://prism//lib/prism/dispatcher.rb#1442 def visit_class_variable_and_write_node(node); end # Dispatch enter and leave events for ClassVariableOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1448 + # source://prism//lib/prism/dispatcher.rb#1448 def visit_class_variable_operator_write_node(node); end # Dispatch enter and leave events for ClassVariableOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1454 + # source://prism//lib/prism/dispatcher.rb#1454 def visit_class_variable_or_write_node(node); end # Dispatch enter and leave events for ClassVariableReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1460 + # source://prism//lib/prism/dispatcher.rb#1460 def visit_class_variable_read_node(node); end # Dispatch enter and leave events for ClassVariableTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1466 + # source://prism//lib/prism/dispatcher.rb#1466 def visit_class_variable_target_node(node); end # Dispatch enter and leave events for ClassVariableWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1472 + # source://prism//lib/prism/dispatcher.rb#1472 def visit_class_variable_write_node(node); end # Dispatch enter and leave events for ConstantAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1478 + # source://prism//lib/prism/dispatcher.rb#1478 def visit_constant_and_write_node(node); end # Dispatch enter and leave events for ConstantOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1484 + # source://prism//lib/prism/dispatcher.rb#1484 def visit_constant_operator_write_node(node); end # Dispatch enter and leave events for ConstantOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1490 + # source://prism//lib/prism/dispatcher.rb#1490 def visit_constant_or_write_node(node); end # Dispatch enter and leave events for ConstantPathAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1496 + # source://prism//lib/prism/dispatcher.rb#1496 def visit_constant_path_and_write_node(node); end # Dispatch enter and leave events for ConstantPathNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1502 + # source://prism//lib/prism/dispatcher.rb#1502 def visit_constant_path_node(node); end # Dispatch enter and leave events for ConstantPathOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1508 + # source://prism//lib/prism/dispatcher.rb#1508 def visit_constant_path_operator_write_node(node); end # Dispatch enter and leave events for ConstantPathOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1514 + # source://prism//lib/prism/dispatcher.rb#1514 def visit_constant_path_or_write_node(node); end # Dispatch enter and leave events for ConstantPathTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1520 + # source://prism//lib/prism/dispatcher.rb#1520 def visit_constant_path_target_node(node); end # Dispatch enter and leave events for ConstantPathWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1526 + # source://prism//lib/prism/dispatcher.rb#1526 def visit_constant_path_write_node(node); end # Dispatch enter and leave events for ConstantReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1532 + # source://prism//lib/prism/dispatcher.rb#1532 def visit_constant_read_node(node); end # Dispatch enter and leave events for ConstantTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1538 + # source://prism//lib/prism/dispatcher.rb#1538 def visit_constant_target_node(node); end # Dispatch enter and leave events for ConstantWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1544 + # source://prism//lib/prism/dispatcher.rb#1544 def visit_constant_write_node(node); end # Dispatch enter and leave events for DefNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1550 + # source://prism//lib/prism/dispatcher.rb#1550 def visit_def_node(node); end # Dispatch enter and leave events for DefinedNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1556 + # source://prism//lib/prism/dispatcher.rb#1556 def visit_defined_node(node); end # Dispatch enter and leave events for ElseNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1562 + # source://prism//lib/prism/dispatcher.rb#1562 def visit_else_node(node); end # Dispatch enter and leave events for EmbeddedStatementsNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1568 + # source://prism//lib/prism/dispatcher.rb#1568 def visit_embedded_statements_node(node); end # Dispatch enter and leave events for EmbeddedVariableNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1574 + # source://prism//lib/prism/dispatcher.rb#1574 def visit_embedded_variable_node(node); end # Dispatch enter and leave events for EnsureNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1580 + # source://prism//lib/prism/dispatcher.rb#1580 def visit_ensure_node(node); end # Dispatch enter and leave events for FalseNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1586 + # source://prism//lib/prism/dispatcher.rb#1586 def visit_false_node(node); end # Dispatch enter and leave events for FindPatternNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1592 + # source://prism//lib/prism/dispatcher.rb#1592 def visit_find_pattern_node(node); end # Dispatch enter and leave events for FlipFlopNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1598 + # source://prism//lib/prism/dispatcher.rb#1598 def visit_flip_flop_node(node); end # Dispatch enter and leave events for FloatNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1604 + # source://prism//lib/prism/dispatcher.rb#1604 def visit_float_node(node); end # Dispatch enter and leave events for ForNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1610 + # source://prism//lib/prism/dispatcher.rb#1610 def visit_for_node(node); end # Dispatch enter and leave events for ForwardingArgumentsNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1616 + # source://prism//lib/prism/dispatcher.rb#1616 def visit_forwarding_arguments_node(node); end # Dispatch enter and leave events for ForwardingParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1622 + # source://prism//lib/prism/dispatcher.rb#1622 def visit_forwarding_parameter_node(node); end # Dispatch enter and leave events for ForwardingSuperNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1628 + # source://prism//lib/prism/dispatcher.rb#1628 def visit_forwarding_super_node(node); end # Dispatch enter and leave events for GlobalVariableAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1634 + # source://prism//lib/prism/dispatcher.rb#1634 def visit_global_variable_and_write_node(node); end # Dispatch enter and leave events for GlobalVariableOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1640 + # source://prism//lib/prism/dispatcher.rb#1640 def visit_global_variable_operator_write_node(node); end # Dispatch enter and leave events for GlobalVariableOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1646 + # source://prism//lib/prism/dispatcher.rb#1646 def visit_global_variable_or_write_node(node); end # Dispatch enter and leave events for GlobalVariableReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1652 + # source://prism//lib/prism/dispatcher.rb#1652 def visit_global_variable_read_node(node); end # Dispatch enter and leave events for GlobalVariableTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1658 + # source://prism//lib/prism/dispatcher.rb#1658 def visit_global_variable_target_node(node); end # Dispatch enter and leave events for GlobalVariableWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1664 + # source://prism//lib/prism/dispatcher.rb#1664 def visit_global_variable_write_node(node); end # Dispatch enter and leave events for HashNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1670 + # source://prism//lib/prism/dispatcher.rb#1670 def visit_hash_node(node); end # Dispatch enter and leave events for HashPatternNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1676 + # source://prism//lib/prism/dispatcher.rb#1676 def visit_hash_pattern_node(node); end # Dispatch enter and leave events for IfNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1682 + # source://prism//lib/prism/dispatcher.rb#1682 def visit_if_node(node); end # Dispatch enter and leave events for ImaginaryNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1688 + # source://prism//lib/prism/dispatcher.rb#1688 def visit_imaginary_node(node); end # Dispatch enter and leave events for ImplicitNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1694 + # source://prism//lib/prism/dispatcher.rb#1694 def visit_implicit_node(node); end # Dispatch enter and leave events for ImplicitRestNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1700 + # source://prism//lib/prism/dispatcher.rb#1700 def visit_implicit_rest_node(node); end # Dispatch enter and leave events for InNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1706 + # source://prism//lib/prism/dispatcher.rb#1706 def visit_in_node(node); end # Dispatch enter and leave events for IndexAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1712 + # source://prism//lib/prism/dispatcher.rb#1712 def visit_index_and_write_node(node); end # Dispatch enter and leave events for IndexOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1718 + # source://prism//lib/prism/dispatcher.rb#1718 def visit_index_operator_write_node(node); end # Dispatch enter and leave events for IndexOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1724 + # source://prism//lib/prism/dispatcher.rb#1724 def visit_index_or_write_node(node); end # Dispatch enter and leave events for IndexTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1730 + # source://prism//lib/prism/dispatcher.rb#1730 def visit_index_target_node(node); end # Dispatch enter and leave events for InstanceVariableAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1736 + # source://prism//lib/prism/dispatcher.rb#1736 def visit_instance_variable_and_write_node(node); end # Dispatch enter and leave events for InstanceVariableOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1742 + # source://prism//lib/prism/dispatcher.rb#1742 def visit_instance_variable_operator_write_node(node); end # Dispatch enter and leave events for InstanceVariableOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1748 + # source://prism//lib/prism/dispatcher.rb#1748 def visit_instance_variable_or_write_node(node); end # Dispatch enter and leave events for InstanceVariableReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1754 + # source://prism//lib/prism/dispatcher.rb#1754 def visit_instance_variable_read_node(node); end # Dispatch enter and leave events for InstanceVariableTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1760 + # source://prism//lib/prism/dispatcher.rb#1760 def visit_instance_variable_target_node(node); end # Dispatch enter and leave events for InstanceVariableWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1766 + # source://prism//lib/prism/dispatcher.rb#1766 def visit_instance_variable_write_node(node); end # Dispatch enter and leave events for IntegerNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1772 + # source://prism//lib/prism/dispatcher.rb#1772 def visit_integer_node(node); end # Dispatch enter and leave events for InterpolatedMatchLastLineNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1778 + # source://prism//lib/prism/dispatcher.rb#1778 def visit_interpolated_match_last_line_node(node); end # Dispatch enter and leave events for InterpolatedRegularExpressionNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1784 + # source://prism//lib/prism/dispatcher.rb#1784 def visit_interpolated_regular_expression_node(node); end # Dispatch enter and leave events for InterpolatedStringNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1790 + # source://prism//lib/prism/dispatcher.rb#1790 def visit_interpolated_string_node(node); end # Dispatch enter and leave events for InterpolatedSymbolNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1796 + # source://prism//lib/prism/dispatcher.rb#1796 def visit_interpolated_symbol_node(node); end # Dispatch enter and leave events for InterpolatedXStringNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1802 + # source://prism//lib/prism/dispatcher.rb#1802 def visit_interpolated_x_string_node(node); end # Dispatch enter and leave events for ItLocalVariableReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1808 + # source://prism//lib/prism/dispatcher.rb#1808 def visit_it_local_variable_read_node(node); end # Dispatch enter and leave events for ItParametersNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1814 + # source://prism//lib/prism/dispatcher.rb#1814 def visit_it_parameters_node(node); end # Dispatch enter and leave events for KeywordHashNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1820 + # source://prism//lib/prism/dispatcher.rb#1820 def visit_keyword_hash_node(node); end # Dispatch enter and leave events for KeywordRestParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1826 + # source://prism//lib/prism/dispatcher.rb#1826 def visit_keyword_rest_parameter_node(node); end # Dispatch enter and leave events for LambdaNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1832 + # source://prism//lib/prism/dispatcher.rb#1832 def visit_lambda_node(node); end # Dispatch enter and leave events for LocalVariableAndWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1838 + # source://prism//lib/prism/dispatcher.rb#1838 def visit_local_variable_and_write_node(node); end # Dispatch enter and leave events for LocalVariableOperatorWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1844 + # source://prism//lib/prism/dispatcher.rb#1844 def visit_local_variable_operator_write_node(node); end # Dispatch enter and leave events for LocalVariableOrWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1850 + # source://prism//lib/prism/dispatcher.rb#1850 def visit_local_variable_or_write_node(node); end # Dispatch enter and leave events for LocalVariableReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1856 + # source://prism//lib/prism/dispatcher.rb#1856 def visit_local_variable_read_node(node); end # Dispatch enter and leave events for LocalVariableTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1862 + # source://prism//lib/prism/dispatcher.rb#1862 def visit_local_variable_target_node(node); end # Dispatch enter and leave events for LocalVariableWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1868 + # source://prism//lib/prism/dispatcher.rb#1868 def visit_local_variable_write_node(node); end # Dispatch enter and leave events for MatchLastLineNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1874 + # source://prism//lib/prism/dispatcher.rb#1874 def visit_match_last_line_node(node); end # Dispatch enter and leave events for MatchPredicateNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1880 + # source://prism//lib/prism/dispatcher.rb#1880 def visit_match_predicate_node(node); end # Dispatch enter and leave events for MatchRequiredNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1886 + # source://prism//lib/prism/dispatcher.rb#1886 def visit_match_required_node(node); end # Dispatch enter and leave events for MatchWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1892 + # source://prism//lib/prism/dispatcher.rb#1892 def visit_match_write_node(node); end # Dispatch enter and leave events for MissingNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1898 + # source://prism//lib/prism/dispatcher.rb#1898 def visit_missing_node(node); end # Dispatch enter and leave events for ModuleNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1904 + # source://prism//lib/prism/dispatcher.rb#1904 def visit_module_node(node); end # Dispatch enter and leave events for MultiTargetNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1910 + # source://prism//lib/prism/dispatcher.rb#1910 def visit_multi_target_node(node); end # Dispatch enter and leave events for MultiWriteNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1916 + # source://prism//lib/prism/dispatcher.rb#1916 def visit_multi_write_node(node); end # Dispatch enter and leave events for NextNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1922 + # source://prism//lib/prism/dispatcher.rb#1922 def visit_next_node(node); end # Dispatch enter and leave events for NilNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1928 + # source://prism//lib/prism/dispatcher.rb#1928 def visit_nil_node(node); end # Dispatch enter and leave events for NoKeywordsParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1934 + # source://prism//lib/prism/dispatcher.rb#1934 def visit_no_keywords_parameter_node(node); end # Dispatch enter and leave events for NumberedParametersNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1940 + # source://prism//lib/prism/dispatcher.rb#1940 def visit_numbered_parameters_node(node); end # Dispatch enter and leave events for NumberedReferenceReadNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1946 + # source://prism//lib/prism/dispatcher.rb#1946 def visit_numbered_reference_read_node(node); end # Dispatch enter and leave events for OptionalKeywordParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1952 + # source://prism//lib/prism/dispatcher.rb#1952 def visit_optional_keyword_parameter_node(node); end # Dispatch enter and leave events for OptionalParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1958 + # source://prism//lib/prism/dispatcher.rb#1958 def visit_optional_parameter_node(node); end # Dispatch enter and leave events for OrNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1964 + # source://prism//lib/prism/dispatcher.rb#1964 def visit_or_node(node); end # Dispatch enter and leave events for ParametersNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1970 + # source://prism//lib/prism/dispatcher.rb#1970 def visit_parameters_node(node); end # Dispatch enter and leave events for ParenthesesNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1976 + # source://prism//lib/prism/dispatcher.rb#1976 def visit_parentheses_node(node); end # Dispatch enter and leave events for PinnedExpressionNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1982 + # source://prism//lib/prism/dispatcher.rb#1982 def visit_pinned_expression_node(node); end # Dispatch enter and leave events for PinnedVariableNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1988 + # source://prism//lib/prism/dispatcher.rb#1988 def visit_pinned_variable_node(node); end # Dispatch enter and leave events for PostExecutionNode nodes. # - # source://prism/lib/prism/dispatcher.rb#1994 + # source://prism//lib/prism/dispatcher.rb#1994 def visit_post_execution_node(node); end # Dispatch enter and leave events for PreExecutionNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2000 + # source://prism//lib/prism/dispatcher.rb#2000 def visit_pre_execution_node(node); end # Dispatch enter and leave events for ProgramNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2006 + # source://prism//lib/prism/dispatcher.rb#2006 def visit_program_node(node); end # Dispatch enter and leave events for RangeNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2012 + # source://prism//lib/prism/dispatcher.rb#2012 def visit_range_node(node); end # Dispatch enter and leave events for RationalNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2018 + # source://prism//lib/prism/dispatcher.rb#2018 def visit_rational_node(node); end # Dispatch enter and leave events for RedoNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2024 + # source://prism//lib/prism/dispatcher.rb#2024 def visit_redo_node(node); end # Dispatch enter and leave events for RegularExpressionNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2030 + # source://prism//lib/prism/dispatcher.rb#2030 def visit_regular_expression_node(node); end # Dispatch enter and leave events for RequiredKeywordParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2036 + # source://prism//lib/prism/dispatcher.rb#2036 def visit_required_keyword_parameter_node(node); end # Dispatch enter and leave events for RequiredParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2042 + # source://prism//lib/prism/dispatcher.rb#2042 def visit_required_parameter_node(node); end # Dispatch enter and leave events for RescueModifierNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2048 + # source://prism//lib/prism/dispatcher.rb#2048 def visit_rescue_modifier_node(node); end # Dispatch enter and leave events for RescueNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2054 + # source://prism//lib/prism/dispatcher.rb#2054 def visit_rescue_node(node); end # Dispatch enter and leave events for RestParameterNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2060 + # source://prism//lib/prism/dispatcher.rb#2060 def visit_rest_parameter_node(node); end # Dispatch enter and leave events for RetryNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2066 + # source://prism//lib/prism/dispatcher.rb#2066 def visit_retry_node(node); end # Dispatch enter and leave events for ReturnNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2072 + # source://prism//lib/prism/dispatcher.rb#2072 def visit_return_node(node); end # Dispatch enter and leave events for SelfNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2078 + # source://prism//lib/prism/dispatcher.rb#2078 def visit_self_node(node); end # Dispatch enter and leave events for ShareableConstantNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2084 + # source://prism//lib/prism/dispatcher.rb#2084 def visit_shareable_constant_node(node); end # Dispatch enter and leave events for SingletonClassNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2090 + # source://prism//lib/prism/dispatcher.rb#2090 def visit_singleton_class_node(node); end # Dispatch enter and leave events for SourceEncodingNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2096 + # source://prism//lib/prism/dispatcher.rb#2096 def visit_source_encoding_node(node); end # Dispatch enter and leave events for SourceFileNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2102 + # source://prism//lib/prism/dispatcher.rb#2102 def visit_source_file_node(node); end # Dispatch enter and leave events for SourceLineNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2108 + # source://prism//lib/prism/dispatcher.rb#2108 def visit_source_line_node(node); end # Dispatch enter and leave events for SplatNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2114 + # source://prism//lib/prism/dispatcher.rb#2114 def visit_splat_node(node); end # Dispatch enter and leave events for StatementsNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2120 + # source://prism//lib/prism/dispatcher.rb#2120 def visit_statements_node(node); end # Dispatch enter and leave events for StringNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2126 + # source://prism//lib/prism/dispatcher.rb#2126 def visit_string_node(node); end # Dispatch enter and leave events for SuperNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2132 + # source://prism//lib/prism/dispatcher.rb#2132 def visit_super_node(node); end # Dispatch enter and leave events for SymbolNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2138 + # source://prism//lib/prism/dispatcher.rb#2138 def visit_symbol_node(node); end # Dispatch enter and leave events for TrueNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2144 + # source://prism//lib/prism/dispatcher.rb#2144 def visit_true_node(node); end # Dispatch enter and leave events for UndefNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2150 + # source://prism//lib/prism/dispatcher.rb#2150 def visit_undef_node(node); end # Dispatch enter and leave events for UnlessNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2156 + # source://prism//lib/prism/dispatcher.rb#2156 def visit_unless_node(node); end # Dispatch enter and leave events for UntilNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2162 + # source://prism//lib/prism/dispatcher.rb#2162 def visit_until_node(node); end # Dispatch enter and leave events for WhenNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2168 + # source://prism//lib/prism/dispatcher.rb#2168 def visit_when_node(node); end # Dispatch enter and leave events for WhileNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2174 + # source://prism//lib/prism/dispatcher.rb#2174 def visit_while_node(node); end # Dispatch enter and leave events for XStringNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2180 + # source://prism//lib/prism/dispatcher.rb#2180 def visit_x_string_node(node); end # Dispatch enter and leave events for YieldNode nodes. # - # source://prism/lib/prism/dispatcher.rb#2186 + # source://prism//lib/prism/dispatcher.rb#2186 def visit_yield_node(node); end end # This visitor provides the ability to call Node#to_dot, which converts a # subtree into a graphviz dot graph. # -# source://prism/lib/prism/dot_visitor.rb#14 +# source://prism//lib/prism/dot_visitor.rb#14 class Prism::DotVisitor < ::Prism::Visitor # Initialize a new dot visitor. # # @return [DotVisitor] a new instance of DotVisitor # - # source://prism/lib/prism/dot_visitor.rb#106 + # source://prism//lib/prism/dot_visitor.rb#106 def initialize; end # The digraph that is being built. # - # source://prism/lib/prism/dot_visitor.rb#103 + # source://prism//lib/prism/dot_visitor.rb#103 def digraph; end # Convert this visitor into a graphviz dot graph string. # - # source://prism/lib/prism/dot_visitor.rb#111 + # source://prism//lib/prism/dot_visitor.rb#111 def to_dot; end # Visit a AliasGlobalVariableNode node. # - # source://prism/lib/prism/dot_visitor.rb#116 + # source://prism//lib/prism/dot_visitor.rb#116 def visit_alias_global_variable_node(node); end # Visit a AliasMethodNode node. # - # source://prism/lib/prism/dot_visitor.rb#141 + # source://prism//lib/prism/dot_visitor.rb#141 def visit_alias_method_node(node); end # Visit a AlternationPatternNode node. # - # source://prism/lib/prism/dot_visitor.rb#166 + # source://prism//lib/prism/dot_visitor.rb#166 def visit_alternation_pattern_node(node); end # Visit a AndNode node. # - # source://prism/lib/prism/dot_visitor.rb#191 + # source://prism//lib/prism/dot_visitor.rb#191 def visit_and_node(node); end # Visit a ArgumentsNode node. # - # source://prism/lib/prism/dot_visitor.rb#216 + # source://prism//lib/prism/dot_visitor.rb#216 def visit_arguments_node(node); end # Visit a ArrayNode node. # - # source://prism/lib/prism/dot_visitor.rb#246 + # source://prism//lib/prism/dot_visitor.rb#246 def visit_array_node(node); end # Visit a ArrayPatternNode node. # - # source://prism/lib/prism/dot_visitor.rb#286 + # source://prism//lib/prism/dot_visitor.rb#286 def visit_array_pattern_node(node); end # Visit a AssocNode node. # - # source://prism/lib/prism/dot_visitor.rb#348 + # source://prism//lib/prism/dot_visitor.rb#348 def visit_assoc_node(node); end # Visit a AssocSplatNode node. # - # source://prism/lib/prism/dot_visitor.rb#375 + # source://prism//lib/prism/dot_visitor.rb#375 def visit_assoc_splat_node(node); end # Visit a BackReferenceReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#398 + # source://prism//lib/prism/dot_visitor.rb#398 def visit_back_reference_read_node(node); end # Visit a BeginNode node. # - # source://prism/lib/prism/dot_visitor.rb#415 + # source://prism//lib/prism/dot_visitor.rb#415 def visit_begin_node(node); end # Visit a BlockArgumentNode node. # - # source://prism/lib/prism/dot_visitor.rb#463 + # source://prism//lib/prism/dot_visitor.rb#463 def visit_block_argument_node(node); end # Visit a BlockLocalVariableNode node. # - # source://prism/lib/prism/dot_visitor.rb#486 + # source://prism//lib/prism/dot_visitor.rb#486 def visit_block_local_variable_node(node); end # Visit a BlockNode node. # - # source://prism/lib/prism/dot_visitor.rb#506 + # source://prism//lib/prism/dot_visitor.rb#506 def visit_block_node(node); end # Visit a BlockParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#541 + # source://prism//lib/prism/dot_visitor.rb#541 def visit_block_parameter_node(node); end # Visit a BlockParametersNode node. # - # source://prism/lib/prism/dot_visitor.rb#569 + # source://prism//lib/prism/dot_visitor.rb#569 def visit_block_parameters_node(node); end # Visit a BreakNode node. # - # source://prism/lib/prism/dot_visitor.rb#612 + # source://prism//lib/prism/dot_visitor.rb#612 def visit_break_node(node); end # Visit a CallAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#635 + # source://prism//lib/prism/dot_visitor.rb#635 def visit_call_and_write_node(node); end # Visit a CallNode node. # - # source://prism/lib/prism/dot_visitor.rb#681 + # source://prism//lib/prism/dot_visitor.rb#681 def visit_call_node(node); end # Visit a CallOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#739 + # source://prism//lib/prism/dot_visitor.rb#739 def visit_call_operator_write_node(node); end # Visit a CallOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#788 + # source://prism//lib/prism/dot_visitor.rb#788 def visit_call_or_write_node(node); end # Visit a CallTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#834 + # source://prism//lib/prism/dot_visitor.rb#834 def visit_call_target_node(node); end # Visit a CapturePatternNode node. # - # source://prism/lib/prism/dot_visitor.rb#864 + # source://prism//lib/prism/dot_visitor.rb#864 def visit_capture_pattern_node(node); end # Visit a CaseMatchNode node. # - # source://prism/lib/prism/dot_visitor.rb#889 + # source://prism//lib/prism/dot_visitor.rb#889 def visit_case_match_node(node); end # Visit a CaseNode node. # - # source://prism/lib/prism/dot_visitor.rb#934 + # source://prism//lib/prism/dot_visitor.rb#934 def visit_case_node(node); end # Visit a ClassNode node. # - # source://prism/lib/prism/dot_visitor.rb#979 + # source://prism//lib/prism/dot_visitor.rb#979 def visit_class_node(node); end # Visit a ClassVariableAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1026 + # source://prism//lib/prism/dot_visitor.rb#1026 def visit_class_variable_and_write_node(node); end # Visit a ClassVariableOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1053 + # source://prism//lib/prism/dot_visitor.rb#1053 def visit_class_variable_operator_write_node(node); end # Visit a ClassVariableOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1083 + # source://prism//lib/prism/dot_visitor.rb#1083 def visit_class_variable_or_write_node(node); end # Visit a ClassVariableReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#1110 + # source://prism//lib/prism/dot_visitor.rb#1110 def visit_class_variable_read_node(node); end # Visit a ClassVariableTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#1127 + # source://prism//lib/prism/dot_visitor.rb#1127 def visit_class_variable_target_node(node); end # Visit a ClassVariableWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1144 + # source://prism//lib/prism/dot_visitor.rb#1144 def visit_class_variable_write_node(node); end # Visit a ConstantAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1171 + # source://prism//lib/prism/dot_visitor.rb#1171 def visit_constant_and_write_node(node); end # Visit a ConstantOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1198 + # source://prism//lib/prism/dot_visitor.rb#1198 def visit_constant_operator_write_node(node); end # Visit a ConstantOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1228 + # source://prism//lib/prism/dot_visitor.rb#1228 def visit_constant_or_write_node(node); end # Visit a ConstantPathAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1255 + # source://prism//lib/prism/dot_visitor.rb#1255 def visit_constant_path_and_write_node(node); end # Visit a ConstantPathNode node. # - # source://prism/lib/prism/dot_visitor.rb#1280 + # source://prism//lib/prism/dot_visitor.rb#1280 def visit_constant_path_node(node); end # Visit a ConstantPathOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1309 + # source://prism//lib/prism/dot_visitor.rb#1309 def visit_constant_path_operator_write_node(node); end # Visit a ConstantPathOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1337 + # source://prism//lib/prism/dot_visitor.rb#1337 def visit_constant_path_or_write_node(node); end # Visit a ConstantPathTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#1362 + # source://prism//lib/prism/dot_visitor.rb#1362 def visit_constant_path_target_node(node); end # Visit a ConstantPathWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1391 + # source://prism//lib/prism/dot_visitor.rb#1391 def visit_constant_path_write_node(node); end # Visit a ConstantReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#1416 + # source://prism//lib/prism/dot_visitor.rb#1416 def visit_constant_read_node(node); end # Visit a ConstantTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#1433 + # source://prism//lib/prism/dot_visitor.rb#1433 def visit_constant_target_node(node); end # Visit a ConstantWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1450 + # source://prism//lib/prism/dot_visitor.rb#1450 def visit_constant_write_node(node); end # Visit a DefNode node. # - # source://prism/lib/prism/dot_visitor.rb#1477 + # source://prism//lib/prism/dot_visitor.rb#1477 def visit_def_node(node); end # Visit a DefinedNode node. # - # source://prism/lib/prism/dot_visitor.rb#1546 + # source://prism//lib/prism/dot_visitor.rb#1546 def visit_defined_node(node); end # Visit a ElseNode node. # - # source://prism/lib/prism/dot_visitor.rb#1577 + # source://prism//lib/prism/dot_visitor.rb#1577 def visit_else_node(node); end # Visit a EmbeddedStatementsNode node. # - # source://prism/lib/prism/dot_visitor.rb#1605 + # source://prism//lib/prism/dot_visitor.rb#1605 def visit_embedded_statements_node(node); end # Visit a EmbeddedVariableNode node. # - # source://prism/lib/prism/dot_visitor.rb#1631 + # source://prism//lib/prism/dot_visitor.rb#1631 def visit_embedded_variable_node(node); end # Visit a EnsureNode node. # - # source://prism/lib/prism/dot_visitor.rb#1652 + # source://prism//lib/prism/dot_visitor.rb#1652 def visit_ensure_node(node); end # Visit a FalseNode node. # - # source://prism/lib/prism/dot_visitor.rb#1678 + # source://prism//lib/prism/dot_visitor.rb#1678 def visit_false_node(node); end # Visit a FindPatternNode node. # - # source://prism/lib/prism/dot_visitor.rb#1692 + # source://prism//lib/prism/dot_visitor.rb#1692 def visit_find_pattern_node(node); end # Visit a FlipFlopNode node. # - # source://prism/lib/prism/dot_visitor.rb#1743 + # source://prism//lib/prism/dot_visitor.rb#1743 def visit_flip_flop_node(node); end # Visit a FloatNode node. # - # source://prism/lib/prism/dot_visitor.rb#1775 + # source://prism//lib/prism/dot_visitor.rb#1775 def visit_float_node(node); end # Visit a ForNode node. # - # source://prism/lib/prism/dot_visitor.rb#1792 + # source://prism//lib/prism/dot_visitor.rb#1792 def visit_for_node(node); end # Visit a ForwardingArgumentsNode node. # - # source://prism/lib/prism/dot_visitor.rb#1834 + # source://prism//lib/prism/dot_visitor.rb#1834 def visit_forwarding_arguments_node(node); end # Visit a ForwardingParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#1848 + # source://prism//lib/prism/dot_visitor.rb#1848 def visit_forwarding_parameter_node(node); end # Visit a ForwardingSuperNode node. # - # source://prism/lib/prism/dot_visitor.rb#1862 + # source://prism//lib/prism/dot_visitor.rb#1862 def visit_forwarding_super_node(node); end # Visit a GlobalVariableAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1882 + # source://prism//lib/prism/dot_visitor.rb#1882 def visit_global_variable_and_write_node(node); end # Visit a GlobalVariableOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1909 + # source://prism//lib/prism/dot_visitor.rb#1909 def visit_global_variable_operator_write_node(node); end # Visit a GlobalVariableOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#1939 + # source://prism//lib/prism/dot_visitor.rb#1939 def visit_global_variable_or_write_node(node); end # Visit a GlobalVariableReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#1966 + # source://prism//lib/prism/dot_visitor.rb#1966 def visit_global_variable_read_node(node); end # Visit a GlobalVariableTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#1983 + # source://prism//lib/prism/dot_visitor.rb#1983 def visit_global_variable_target_node(node); end # Visit a GlobalVariableWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2000 + # source://prism//lib/prism/dot_visitor.rb#2000 def visit_global_variable_write_node(node); end # Visit a HashNode node. # - # source://prism/lib/prism/dot_visitor.rb#2027 + # source://prism//lib/prism/dot_visitor.rb#2027 def visit_hash_node(node); end # Visit a HashPatternNode node. # - # source://prism/lib/prism/dot_visitor.rb#2060 + # source://prism//lib/prism/dot_visitor.rb#2060 def visit_hash_pattern_node(node); end # Visit a IfNode node. # - # source://prism/lib/prism/dot_visitor.rb#2109 + # source://prism//lib/prism/dot_visitor.rb#2109 def visit_if_node(node); end # Visit a ImaginaryNode node. # - # source://prism/lib/prism/dot_visitor.rb#2154 + # source://prism//lib/prism/dot_visitor.rb#2154 def visit_imaginary_node(node); end # Visit a ImplicitNode node. # - # source://prism/lib/prism/dot_visitor.rb#2172 + # source://prism//lib/prism/dot_visitor.rb#2172 def visit_implicit_node(node); end # Visit a ImplicitRestNode node. # - # source://prism/lib/prism/dot_visitor.rb#2190 + # source://prism//lib/prism/dot_visitor.rb#2190 def visit_implicit_rest_node(node); end # Visit a InNode node. # - # source://prism/lib/prism/dot_visitor.rb#2204 + # source://prism//lib/prism/dot_visitor.rb#2204 def visit_in_node(node); end # Visit a IndexAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2236 + # source://prism//lib/prism/dot_visitor.rb#2236 def visit_index_and_write_node(node); end # Visit a IndexOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2289 + # source://prism//lib/prism/dot_visitor.rb#2289 def visit_index_operator_write_node(node); end # Visit a IndexOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2345 + # source://prism//lib/prism/dot_visitor.rb#2345 def visit_index_or_write_node(node); end # Visit a IndexTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#2398 + # source://prism//lib/prism/dot_visitor.rb#2398 def visit_index_target_node(node); end # Visit a InstanceVariableAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2437 + # source://prism//lib/prism/dot_visitor.rb#2437 def visit_instance_variable_and_write_node(node); end # Visit a InstanceVariableOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2464 + # source://prism//lib/prism/dot_visitor.rb#2464 def visit_instance_variable_operator_write_node(node); end # Visit a InstanceVariableOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2494 + # source://prism//lib/prism/dot_visitor.rb#2494 def visit_instance_variable_or_write_node(node); end # Visit a InstanceVariableReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#2521 + # source://prism//lib/prism/dot_visitor.rb#2521 def visit_instance_variable_read_node(node); end # Visit a InstanceVariableTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#2538 + # source://prism//lib/prism/dot_visitor.rb#2538 def visit_instance_variable_target_node(node); end # Visit a InstanceVariableWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2555 + # source://prism//lib/prism/dot_visitor.rb#2555 def visit_instance_variable_write_node(node); end # Visit a IntegerNode node. # - # source://prism/lib/prism/dot_visitor.rb#2582 + # source://prism//lib/prism/dot_visitor.rb#2582 def visit_integer_node(node); end # Visit a InterpolatedMatchLastLineNode node. # - # source://prism/lib/prism/dot_visitor.rb#2602 + # source://prism//lib/prism/dot_visitor.rb#2602 def visit_interpolated_match_last_line_node(node); end # Visit a InterpolatedRegularExpressionNode node. # - # source://prism/lib/prism/dot_visitor.rb#2638 + # source://prism//lib/prism/dot_visitor.rb#2638 def visit_interpolated_regular_expression_node(node); end # Visit a InterpolatedStringNode node. # - # source://prism/lib/prism/dot_visitor.rb#2674 + # source://prism//lib/prism/dot_visitor.rb#2674 def visit_interpolated_string_node(node); end # Visit a InterpolatedSymbolNode node. # - # source://prism/lib/prism/dot_visitor.rb#2714 + # source://prism//lib/prism/dot_visitor.rb#2714 def visit_interpolated_symbol_node(node); end # Visit a InterpolatedXStringNode node. # - # source://prism/lib/prism/dot_visitor.rb#2751 + # source://prism//lib/prism/dot_visitor.rb#2751 def visit_interpolated_x_string_node(node); end # Visit a ItLocalVariableReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#2784 + # source://prism//lib/prism/dot_visitor.rb#2784 def visit_it_local_variable_read_node(node); end # Visit a ItParametersNode node. # - # source://prism/lib/prism/dot_visitor.rb#2798 + # source://prism//lib/prism/dot_visitor.rb#2798 def visit_it_parameters_node(node); end # Visit a KeywordHashNode node. # - # source://prism/lib/prism/dot_visitor.rb#2812 + # source://prism//lib/prism/dot_visitor.rb#2812 def visit_keyword_hash_node(node); end # Visit a KeywordRestParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#2842 + # source://prism//lib/prism/dot_visitor.rb#2842 def visit_keyword_rest_parameter_node(node); end # Visit a LambdaNode node. # - # source://prism/lib/prism/dot_visitor.rb#2870 + # source://prism//lib/prism/dot_visitor.rb#2870 def visit_lambda_node(node); end # Visit a LocalVariableAndWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2908 + # source://prism//lib/prism/dot_visitor.rb#2908 def visit_local_variable_and_write_node(node); end # Visit a LocalVariableOperatorWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2938 + # source://prism//lib/prism/dot_visitor.rb#2938 def visit_local_variable_operator_write_node(node); end # Visit a LocalVariableOrWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#2971 + # source://prism//lib/prism/dot_visitor.rb#2971 def visit_local_variable_or_write_node(node); end # Visit a LocalVariableReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#3001 + # source://prism//lib/prism/dot_visitor.rb#3001 def visit_local_variable_read_node(node); end # Visit a LocalVariableTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#3021 + # source://prism//lib/prism/dot_visitor.rb#3021 def visit_local_variable_target_node(node); end # Visit a LocalVariableWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#3041 + # source://prism//lib/prism/dot_visitor.rb#3041 def visit_local_variable_write_node(node); end # Visit a MatchLastLineNode node. # - # source://prism/lib/prism/dot_visitor.rb#3071 + # source://prism//lib/prism/dot_visitor.rb#3071 def visit_match_last_line_node(node); end # Visit a MatchPredicateNode node. # - # source://prism/lib/prism/dot_visitor.rb#3100 + # source://prism//lib/prism/dot_visitor.rb#3100 def visit_match_predicate_node(node); end # Visit a MatchRequiredNode node. # - # source://prism/lib/prism/dot_visitor.rb#3125 + # source://prism//lib/prism/dot_visitor.rb#3125 def visit_match_required_node(node); end # Visit a MatchWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#3150 + # source://prism//lib/prism/dot_visitor.rb#3150 def visit_match_write_node(node); end # Visit a MissingNode node. # - # source://prism/lib/prism/dot_visitor.rb#3181 + # source://prism//lib/prism/dot_visitor.rb#3181 def visit_missing_node(node); end # Visit a ModuleNode node. # - # source://prism/lib/prism/dot_visitor.rb#3195 + # source://prism//lib/prism/dot_visitor.rb#3195 def visit_module_node(node); end # Visit a MultiTargetNode node. # - # source://prism/lib/prism/dot_visitor.rb#3231 + # source://prism//lib/prism/dot_visitor.rb#3231 def visit_multi_target_node(node); end # Visit a MultiWriteNode node. # - # source://prism/lib/prism/dot_visitor.rb#3287 + # source://prism//lib/prism/dot_visitor.rb#3287 def visit_multi_write_node(node); end # Visit a NextNode node. # - # source://prism/lib/prism/dot_visitor.rb#3350 + # source://prism//lib/prism/dot_visitor.rb#3350 def visit_next_node(node); end # Visit a NilNode node. # - # source://prism/lib/prism/dot_visitor.rb#3373 + # source://prism//lib/prism/dot_visitor.rb#3373 def visit_nil_node(node); end # Visit a NoKeywordsParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3387 + # source://prism//lib/prism/dot_visitor.rb#3387 def visit_no_keywords_parameter_node(node); end # Visit a NumberedParametersNode node. # - # source://prism/lib/prism/dot_visitor.rb#3407 + # source://prism//lib/prism/dot_visitor.rb#3407 def visit_numbered_parameters_node(node); end # Visit a NumberedReferenceReadNode node. # - # source://prism/lib/prism/dot_visitor.rb#3424 + # source://prism//lib/prism/dot_visitor.rb#3424 def visit_numbered_reference_read_node(node); end # Visit a OptionalKeywordParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3441 + # source://prism//lib/prism/dot_visitor.rb#3441 def visit_optional_keyword_parameter_node(node); end # Visit a OptionalParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3468 + # source://prism//lib/prism/dot_visitor.rb#3468 def visit_optional_parameter_node(node); end # Visit a OrNode node. # - # source://prism/lib/prism/dot_visitor.rb#3498 + # source://prism//lib/prism/dot_visitor.rb#3498 def visit_or_node(node); end # Visit a ParametersNode node. # - # source://prism/lib/prism/dot_visitor.rb#3523 + # source://prism//lib/prism/dot_visitor.rb#3523 def visit_parameters_node(node); end # Visit a ParenthesesNode node. # - # source://prism/lib/prism/dot_visitor.rb#3607 + # source://prism//lib/prism/dot_visitor.rb#3607 def visit_parentheses_node(node); end # Visit a PinnedExpressionNode node. # - # source://prism/lib/prism/dot_visitor.rb#3633 + # source://prism//lib/prism/dot_visitor.rb#3633 def visit_pinned_expression_node(node); end # Visit a PinnedVariableNode node. # - # source://prism/lib/prism/dot_visitor.rb#3660 + # source://prism//lib/prism/dot_visitor.rb#3660 def visit_pinned_variable_node(node); end # Visit a PostExecutionNode node. # - # source://prism/lib/prism/dot_visitor.rb#3681 + # source://prism//lib/prism/dot_visitor.rb#3681 def visit_post_execution_node(node); end # Visit a PreExecutionNode node. # - # source://prism/lib/prism/dot_visitor.rb#3710 + # source://prism//lib/prism/dot_visitor.rb#3710 def visit_pre_execution_node(node); end # Visit a ProgramNode node. # - # source://prism/lib/prism/dot_visitor.rb#3739 + # source://prism//lib/prism/dot_visitor.rb#3739 def visit_program_node(node); end # Visit a RangeNode node. # - # source://prism/lib/prism/dot_visitor.rb#3760 + # source://prism//lib/prism/dot_visitor.rb#3760 def visit_range_node(node); end # Visit a RationalNode node. # - # source://prism/lib/prism/dot_visitor.rb#3792 + # source://prism//lib/prism/dot_visitor.rb#3792 def visit_rational_node(node); end # Visit a RedoNode node. # - # source://prism/lib/prism/dot_visitor.rb#3815 + # source://prism//lib/prism/dot_visitor.rb#3815 def visit_redo_node(node); end # Visit a RegularExpressionNode node. # - # source://prism/lib/prism/dot_visitor.rb#3829 + # source://prism//lib/prism/dot_visitor.rb#3829 def visit_regular_expression_node(node); end # Visit a RequiredKeywordParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3858 + # source://prism//lib/prism/dot_visitor.rb#3858 def visit_required_keyword_parameter_node(node); end # Visit a RequiredParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3881 + # source://prism//lib/prism/dot_visitor.rb#3881 def visit_required_parameter_node(node); end # Visit a RescueModifierNode node. # - # source://prism/lib/prism/dot_visitor.rb#3901 + # source://prism//lib/prism/dot_visitor.rb#3901 def visit_rescue_modifier_node(node); end # Visit a RescueNode node. # - # source://prism/lib/prism/dot_visitor.rb#3926 + # source://prism//lib/prism/dot_visitor.rb#3926 def visit_rescue_node(node); end # Visit a RestParameterNode node. # - # source://prism/lib/prism/dot_visitor.rb#3979 + # source://prism//lib/prism/dot_visitor.rb#3979 def visit_rest_parameter_node(node); end # Visit a RetryNode node. # - # source://prism/lib/prism/dot_visitor.rb#4007 + # source://prism//lib/prism/dot_visitor.rb#4007 def visit_retry_node(node); end # Visit a ReturnNode node. # - # source://prism/lib/prism/dot_visitor.rb#4021 + # source://prism//lib/prism/dot_visitor.rb#4021 def visit_return_node(node); end # Visit a SelfNode node. # - # source://prism/lib/prism/dot_visitor.rb#4044 + # source://prism//lib/prism/dot_visitor.rb#4044 def visit_self_node(node); end # Visit a ShareableConstantNode node. # - # source://prism/lib/prism/dot_visitor.rb#4058 + # source://prism//lib/prism/dot_visitor.rb#4058 def visit_shareable_constant_node(node); end # Visit a SingletonClassNode node. # - # source://prism/lib/prism/dot_visitor.rb#4079 + # source://prism//lib/prism/dot_visitor.rb#4079 def visit_singleton_class_node(node); end # Visit a SourceEncodingNode node. # - # source://prism/lib/prism/dot_visitor.rb#4115 + # source://prism//lib/prism/dot_visitor.rb#4115 def visit_source_encoding_node(node); end # Visit a SourceFileNode node. # - # source://prism/lib/prism/dot_visitor.rb#4129 + # source://prism//lib/prism/dot_visitor.rb#4129 def visit_source_file_node(node); end # Visit a SourceLineNode node. # - # source://prism/lib/prism/dot_visitor.rb#4149 + # source://prism//lib/prism/dot_visitor.rb#4149 def visit_source_line_node(node); end # Visit a SplatNode node. # - # source://prism/lib/prism/dot_visitor.rb#4163 + # source://prism//lib/prism/dot_visitor.rb#4163 def visit_splat_node(node); end # Visit a StatementsNode node. # - # source://prism/lib/prism/dot_visitor.rb#4186 + # source://prism//lib/prism/dot_visitor.rb#4186 def visit_statements_node(node); end # Visit a StringNode node. # - # source://prism/lib/prism/dot_visitor.rb#4213 + # source://prism//lib/prism/dot_visitor.rb#4213 def visit_string_node(node); end # Visit a SuperNode node. # - # source://prism/lib/prism/dot_visitor.rb#4246 + # source://prism//lib/prism/dot_visitor.rb#4246 def visit_super_node(node); end # Visit a SymbolNode node. # - # source://prism/lib/prism/dot_visitor.rb#4285 + # source://prism//lib/prism/dot_visitor.rb#4285 def visit_symbol_node(node); end # Visit a TrueNode node. # - # source://prism/lib/prism/dot_visitor.rb#4320 + # source://prism//lib/prism/dot_visitor.rb#4320 def visit_true_node(node); end # Visit a UndefNode node. # - # source://prism/lib/prism/dot_visitor.rb#4334 + # source://prism//lib/prism/dot_visitor.rb#4334 def visit_undef_node(node); end # Visit a UnlessNode node. # - # source://prism/lib/prism/dot_visitor.rb#4364 + # source://prism//lib/prism/dot_visitor.rb#4364 def visit_unless_node(node); end # Visit a UntilNode node. # - # source://prism/lib/prism/dot_visitor.rb#4407 + # source://prism//lib/prism/dot_visitor.rb#4407 def visit_until_node(node); end # Visit a WhenNode node. # - # source://prism/lib/prism/dot_visitor.rb#4447 + # source://prism//lib/prism/dot_visitor.rb#4447 def visit_when_node(node); end # Visit a WhileNode node. # - # source://prism/lib/prism/dot_visitor.rb#4488 + # source://prism//lib/prism/dot_visitor.rb#4488 def visit_while_node(node); end # Visit a XStringNode node. # - # source://prism/lib/prism/dot_visitor.rb#4528 + # source://prism//lib/prism/dot_visitor.rb#4528 def visit_x_string_node(node); end # Visit a YieldNode node. # - # source://prism/lib/prism/dot_visitor.rb#4557 + # source://prism//lib/prism/dot_visitor.rb#4557 def visit_yield_node(node); end private @@ -14509,180 +14509,180 @@ class Prism::DotVisitor < ::Prism::Visitor # Inspect a node that has arguments_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4603 + # source://prism//lib/prism/dot_visitor.rb#4603 def arguments_node_flags_inspect(node); end # Inspect a node that has array_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4615 + # source://prism//lib/prism/dot_visitor.rb#4615 def array_node_flags_inspect(node); end # Inspect a node that has call_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4623 + # source://prism//lib/prism/dot_visitor.rb#4623 def call_node_flags_inspect(node); end # Inspect a node that has encoding_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4634 + # source://prism//lib/prism/dot_visitor.rb#4634 def encoding_flags_inspect(node); end # Inspect a node that has integer_base_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4643 + # source://prism//lib/prism/dot_visitor.rb#4643 def integer_base_flags_inspect(node); end # Inspect a node that has interpolated_string_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4654 + # source://prism//lib/prism/dot_visitor.rb#4654 def interpolated_string_node_flags_inspect(node); end # Inspect a node that has keyword_hash_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4663 + # source://prism//lib/prism/dot_visitor.rb#4663 def keyword_hash_node_flags_inspect(node); end # Inspect a location to display the start and end line and column numbers. # - # source://prism/lib/prism/dot_visitor.rb#4597 + # source://prism//lib/prism/dot_visitor.rb#4597 def location_inspect(location); end # Inspect a node that has loop_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4671 + # source://prism//lib/prism/dot_visitor.rb#4671 def loop_flags_inspect(node); end # Generate a unique node ID for a node throughout the digraph. # - # source://prism/lib/prism/dot_visitor.rb#4592 + # source://prism//lib/prism/dot_visitor.rb#4592 def node_id(node); end # Inspect a node that has parameter_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4679 + # source://prism//lib/prism/dot_visitor.rb#4679 def parameter_flags_inspect(node); end # Inspect a node that has range_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4687 + # source://prism//lib/prism/dot_visitor.rb#4687 def range_flags_inspect(node); end # Inspect a node that has regular_expression_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4695 + # source://prism//lib/prism/dot_visitor.rb#4695 def regular_expression_flags_inspect(node); end # Inspect a node that has shareable_constant_node_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4713 + # source://prism//lib/prism/dot_visitor.rb#4713 def shareable_constant_node_flags_inspect(node); end # Inspect a node that has string_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4723 + # source://prism//lib/prism/dot_visitor.rb#4723 def string_flags_inspect(node); end # Inspect a node that has symbol_flags flags to display the flags as a # comma-separated list. # - # source://prism/lib/prism/dot_visitor.rb#4734 + # source://prism//lib/prism/dot_visitor.rb#4734 def symbol_flags_inspect(node); end end -# source://prism/lib/prism/dot_visitor.rb#59 +# source://prism//lib/prism/dot_visitor.rb#59 class Prism::DotVisitor::Digraph # @return [Digraph] a new instance of Digraph # - # source://prism/lib/prism/dot_visitor.rb#62 + # source://prism//lib/prism/dot_visitor.rb#62 def initialize; end - # source://prism/lib/prism/dot_visitor.rb#76 + # source://prism//lib/prism/dot_visitor.rb#76 def edge(value); end # Returns the value of attribute edges. # - # source://prism/lib/prism/dot_visitor.rb#60 + # source://prism//lib/prism/dot_visitor.rb#60 def edges; end - # source://prism/lib/prism/dot_visitor.rb#68 + # source://prism//lib/prism/dot_visitor.rb#68 def node(value); end # Returns the value of attribute nodes. # - # source://prism/lib/prism/dot_visitor.rb#60 + # source://prism//lib/prism/dot_visitor.rb#60 def nodes; end - # source://prism/lib/prism/dot_visitor.rb#80 + # source://prism//lib/prism/dot_visitor.rb#80 def to_dot; end - # source://prism/lib/prism/dot_visitor.rb#72 + # source://prism//lib/prism/dot_visitor.rb#72 def waypoint(value); end # Returns the value of attribute waypoints. # - # source://prism/lib/prism/dot_visitor.rb#60 + # source://prism//lib/prism/dot_visitor.rb#60 def waypoints; end end -# source://prism/lib/prism/dot_visitor.rb#15 +# source://prism//lib/prism/dot_visitor.rb#15 class Prism::DotVisitor::Field # @return [Field] a new instance of Field # - # source://prism/lib/prism/dot_visitor.rb#18 + # source://prism//lib/prism/dot_visitor.rb#18 def initialize(name, value, port); end # Returns the value of attribute name. # - # source://prism/lib/prism/dot_visitor.rb#16 + # source://prism//lib/prism/dot_visitor.rb#16 def name; end # Returns the value of attribute port. # - # source://prism/lib/prism/dot_visitor.rb#16 + # source://prism//lib/prism/dot_visitor.rb#16 def port; end - # source://prism/lib/prism/dot_visitor.rb#24 + # source://prism//lib/prism/dot_visitor.rb#24 def to_dot; end # Returns the value of attribute value. # - # source://prism/lib/prism/dot_visitor.rb#16 + # source://prism//lib/prism/dot_visitor.rb#16 def value; end end -# source://prism/lib/prism/dot_visitor.rb#33 +# source://prism//lib/prism/dot_visitor.rb#33 class Prism::DotVisitor::Table # @return [Table] a new instance of Table # - # source://prism/lib/prism/dot_visitor.rb#36 + # source://prism//lib/prism/dot_visitor.rb#36 def initialize(name); end - # source://prism/lib/prism/dot_visitor.rb#41 + # source://prism//lib/prism/dot_visitor.rb#41 def field(name, value = T.unsafe(nil), port: T.unsafe(nil)); end # Returns the value of attribute fields. # - # source://prism/lib/prism/dot_visitor.rb#34 + # source://prism//lib/prism/dot_visitor.rb#34 def fields; end # Returns the value of attribute name. # - # source://prism/lib/prism/dot_visitor.rb#34 + # source://prism//lib/prism/dot_visitor.rb#34 def name; end - # source://prism/lib/prism/dot_visitor.rb#45 + # source://prism//lib/prism/dot_visitor.rb#45 def to_dot; end end @@ -14691,13 +14691,13 @@ end # if a then b else c end # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#6294 +# source://prism//lib/prism/node.rb#6294 class Prism::ElseNode < ::Prism::Node # Initialize a new ElseNode node. # # @return [ElseNode] a new instance of ElseNode # - # source://prism/lib/prism/node.rb#6296 + # source://prism//lib/prism/node.rb#6296 sig do params( source: Prism::Source, @@ -14714,36 +14714,36 @@ class Prism::ElseNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6403 + # source://prism//lib/prism/node.rb#6403 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6307 + # source://prism//lib/prism/node.rb#6307 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6312 + # source://prism//lib/prism/node.rb#6312 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6324 + # source://prism//lib/prism/node.rb#6324 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6317 + # source://prism//lib/prism/node.rb#6317 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?else_keyword_loc: Location, ?statements: StatementsNode?, ?end_keyword_loc: Location?) -> ElseNode # - # source://prism/lib/prism/node.rb#6329 + # source://prism//lib/prism/node.rb#6329 sig do params( node_id: Integer, @@ -14759,37 +14759,37 @@ class Prism::ElseNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6312 + # source://prism//lib/prism/node.rb#6334 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, else_keyword_loc: Location, statements: StatementsNode?, end_keyword_loc: Location? } # - # source://prism/lib/prism/node.rb#6337 + # source://prism//lib/prism/node.rb#6337 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def else_keyword: () -> String # - # source://prism/lib/prism/node.rb#6377 + # source://prism//lib/prism/node.rb#6377 sig { returns(String) } def else_keyword; end # attr_reader else_keyword_loc: Location # - # source://prism/lib/prism/node.rb#6342 + # source://prism//lib/prism/node.rb#6342 sig { returns(Prism::Location) } def else_keyword_loc; end # def end_keyword: () -> String? # - # source://prism/lib/prism/node.rb#6382 + # source://prism//lib/prism/node.rb#6382 sig { returns(T.nilable(String)) } def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://prism/lib/prism/node.rb#6358 + # source://prism//lib/prism/node.rb#6358 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -14798,38 +14798,38 @@ class Prism::ElseNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6387 + # source://prism//lib/prism/node.rb#6387 sig { override.returns(String) } def inspect; end # Save the else_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6350 + # source://prism//lib/prism/node.rb#6350 def save_else_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6372 + # source://prism//lib/prism/node.rb#6372 def save_end_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#6355 + # source://prism//lib/prism/node.rb#6355 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6392 + # source://prism//lib/prism/node.rb#6392 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6397 + # source://prism//lib/prism/node.rb#6397 def type; end end end @@ -14837,11 +14837,11 @@ end # EmbDocComment objects correspond to comments that are surrounded by =begin # and =end. # -# source://prism/lib/prism/parse_result.rb#544 +# source://prism//lib/prism/parse_result.rb#544 class Prism::EmbDocComment < ::Prism::Comment # Returns a string representation of this comment. # - # source://prism/lib/prism/parse_result.rb#551 + # source://prism//lib/prism/parse_result.rb#551 sig { returns(String) } def inspect; end @@ -14849,7 +14849,7 @@ class Prism::EmbDocComment < ::Prism::Comment # # @return [Boolean] # - # source://prism/lib/prism/parse_result.rb#546 + # source://prism//lib/prism/parse_result.rb#546 sig { override.returns(T::Boolean) } def trailing?; end end @@ -14859,13 +14859,13 @@ end # "foo #{bar}" # ^^^^^^ # -# source://prism/lib/prism/node.rb#6415 +# source://prism//lib/prism/node.rb#6415 class Prism::EmbeddedStatementsNode < ::Prism::Node # Initialize a new EmbeddedStatementsNode node. # # @return [EmbeddedStatementsNode] a new instance of EmbeddedStatementsNode # - # source://prism/lib/prism/node.rb#6417 + # source://prism//lib/prism/node.rb#6417 sig do params( source: Prism::Source, @@ -14882,48 +14882,48 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6518 + # source://prism//lib/prism/node.rb#6518 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6428 + # source://prism//lib/prism/node.rb#6428 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6433 + # source://prism//lib/prism/node.rb#6433 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#6497 + # source://prism//lib/prism/node.rb#6497 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#6479 + # source://prism//lib/prism/node.rb#6479 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6445 + # source://prism//lib/prism/node.rb#6445 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6438 + # source://prism//lib/prism/node.rb#6438 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?statements: StatementsNode?, ?closing_loc: Location) -> EmbeddedStatementsNode # - # source://prism/lib/prism/node.rb#6450 + # source://prism//lib/prism/node.rb#6450 sig do params( node_id: Integer, @@ -14939,13 +14939,13 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6433 + # source://prism//lib/prism/node.rb#6455 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, statements: StatementsNode?, closing_loc: Location } # - # source://prism/lib/prism/node.rb#6458 + # source://prism//lib/prism/node.rb#6458 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -14954,50 +14954,50 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6502 + # source://prism//lib/prism/node.rb#6502 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#6492 + # source://prism//lib/prism/node.rb#6492 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#6463 + # source://prism//lib/prism/node.rb#6463 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6487 + # source://prism//lib/prism/node.rb#6487 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6471 + # source://prism//lib/prism/node.rb#6471 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#6476 + # source://prism//lib/prism/node.rb#6476 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6507 + # source://prism//lib/prism/node.rb#6507 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6512 + # source://prism//lib/prism/node.rb#6512 def type; end end end @@ -15007,13 +15007,13 @@ end # "foo #@bar" # ^^^^^ # -# source://prism/lib/prism/node.rb#6530 +# source://prism//lib/prism/node.rb#6530 class Prism::EmbeddedVariableNode < ::Prism::Node # Initialize a new EmbeddedVariableNode node. # # @return [EmbeddedVariableNode] a new instance of EmbeddedVariableNode # - # source://prism/lib/prism/node.rb#6532 + # source://prism//lib/prism/node.rb#6532 sig do params( source: Prism::Source, @@ -15029,36 +15029,36 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6612 + # source://prism//lib/prism/node.rb#6612 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6542 + # source://prism//lib/prism/node.rb#6542 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6547 + # source://prism//lib/prism/node.rb#6547 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6557 + # source://prism//lib/prism/node.rb#6557 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6552 + # source://prism//lib/prism/node.rb#6552 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?operator_loc: Location, ?variable: InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode) -> EmbeddedVariableNode # - # source://prism/lib/prism/node.rb#6562 + # source://prism//lib/prism/node.rb#6562 sig do params( node_id: Integer, @@ -15073,13 +15073,13 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6547 + # source://prism//lib/prism/node.rb#6567 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, operator_loc: Location, variable: InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode } # - # source://prism/lib/prism/node.rb#6570 + # source://prism//lib/prism/node.rb#6570 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15088,37 +15088,37 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6596 + # source://prism//lib/prism/node.rb#6596 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#6591 + # source://prism//lib/prism/node.rb#6591 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#6575 + # source://prism//lib/prism/node.rb#6575 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6583 + # source://prism//lib/prism/node.rb#6583 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6601 + # source://prism//lib/prism/node.rb#6601 sig { override.returns(Symbol) } def type; end # attr_reader variable: InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode # - # source://prism/lib/prism/node.rb#6588 + # source://prism//lib/prism/node.rb#6588 sig do returns(T.any(Prism::InstanceVariableReadNode, Prism::ClassVariableReadNode, Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)) end @@ -15127,24 +15127,24 @@ class Prism::EmbeddedVariableNode < ::Prism::Node class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6606 + # source://prism//lib/prism/node.rb#6606 def type; end end end # Flags for nodes that have unescaped content. # -# source://prism/lib/prism/node.rb#18466 +# source://prism//lib/prism/node.rb#18466 module Prism::EncodingFlags; end # internal bytes forced the encoding to binary # -# source://prism/lib/prism/node.rb#18471 +# source://prism//lib/prism/node.rb#18471 Prism::EncodingFlags::FORCED_BINARY_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to UTF-8 # -# source://prism/lib/prism/node.rb#18468 +# source://prism//lib/prism/node.rb#18468 Prism::EncodingFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # Represents an `ensure` clause in a `begin` statement. @@ -15156,13 +15156,13 @@ Prism::EncodingFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # bar # end # -# source://prism/lib/prism/node.rb#6627 +# source://prism//lib/prism/node.rb#6627 class Prism::EnsureNode < ::Prism::Node # Initialize a new EnsureNode node. # # @return [EnsureNode] a new instance of EnsureNode # - # source://prism/lib/prism/node.rb#6629 + # source://prism//lib/prism/node.rb#6629 sig do params( source: Prism::Source, @@ -15179,36 +15179,36 @@ class Prism::EnsureNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6730 + # source://prism//lib/prism/node.rb#6730 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6640 + # source://prism//lib/prism/node.rb#6640 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6645 + # source://prism//lib/prism/node.rb#6645 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6657 + # source://prism//lib/prism/node.rb#6657 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6650 + # source://prism//lib/prism/node.rb#6650 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?ensure_keyword_loc: Location, ?statements: StatementsNode?, ?end_keyword_loc: Location) -> EnsureNode # - # source://prism/lib/prism/node.rb#6662 + # source://prism//lib/prism/node.rb#6662 sig do params( node_id: Integer, @@ -15224,37 +15224,37 @@ class Prism::EnsureNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6645 + # source://prism//lib/prism/node.rb#6667 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, ensure_keyword_loc: Location, statements: StatementsNode?, end_keyword_loc: Location } # - # source://prism/lib/prism/node.rb#6670 + # source://prism//lib/prism/node.rb#6670 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#6709 + # source://prism//lib/prism/node.rb#6709 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism/lib/prism/node.rb#6691 + # source://prism//lib/prism/node.rb#6691 sig { returns(Prism::Location) } def end_keyword_loc; end # def ensure_keyword: () -> String # - # source://prism/lib/prism/node.rb#6704 + # source://prism//lib/prism/node.rb#6704 sig { returns(String) } def ensure_keyword; end # attr_reader ensure_keyword_loc: Location # - # source://prism/lib/prism/node.rb#6675 + # source://prism//lib/prism/node.rb#6675 sig { returns(Prism::Location) } def ensure_keyword_loc; end @@ -15263,38 +15263,38 @@ class Prism::EnsureNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6714 + # source://prism//lib/prism/node.rb#6714 sig { override.returns(String) } def inspect; end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6699 + # source://prism//lib/prism/node.rb#6699 def save_end_keyword_loc(repository); end # Save the ensure_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6683 + # source://prism//lib/prism/node.rb#6683 def save_ensure_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#6688 + # source://prism//lib/prism/node.rb#6688 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6719 + # source://prism//lib/prism/node.rb#6719 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6724 + # source://prism//lib/prism/node.rb#6724 def type; end end end @@ -15304,62 +15304,62 @@ end # false # ^^^^^ # -# source://prism/lib/prism/node.rb#6742 +# source://prism//lib/prism/node.rb#6742 class Prism::FalseNode < ::Prism::Node # Initialize a new FalseNode node. # # @return [FalseNode] a new instance of FalseNode # - # source://prism/lib/prism/node.rb#6744 + # source://prism//lib/prism/node.rb#6744 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6801 + # source://prism//lib/prism/node.rb#6801 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6752 + # source://prism//lib/prism/node.rb#6752 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6757 + # source://prism//lib/prism/node.rb#6757 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6767 + # source://prism//lib/prism/node.rb#6767 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6762 + # source://prism//lib/prism/node.rb#6762 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> FalseNode # - # source://prism/lib/prism/node.rb#6772 + # source://prism//lib/prism/node.rb#6772 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::FalseNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6757 + # source://prism//lib/prism/node.rb#6777 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#6780 + # source://prism//lib/prism/node.rb#6780 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15368,20 +15368,20 @@ class Prism::FalseNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6785 + # source://prism//lib/prism/node.rb#6785 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6790 + # source://prism//lib/prism/node.rb#6790 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6795 + # source://prism//lib/prism/node.rb#6795 def type; end end end @@ -15397,13 +15397,13 @@ end # foo in Foo(*bar, baz, *qux) # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#6816 +# source://prism//lib/prism/node.rb#6816 class Prism::FindPatternNode < ::Prism::Node # Initialize a new FindPatternNode node. # # @return [FindPatternNode] a new instance of FindPatternNode # - # source://prism/lib/prism/node.rb#6818 + # source://prism//lib/prism/node.rb#6818 sig do params( source: Prism::Source, @@ -15423,54 +15423,54 @@ class Prism::FindPatternNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#6946 + # source://prism//lib/prism/node.rb#6946 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6832 + # source://prism//lib/prism/node.rb#6832 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6837 + # source://prism//lib/prism/node.rb#6837 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#6925 + # source://prism//lib/prism/node.rb#6925 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#6901 + # source://prism//lib/prism/node.rb#6901 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6852 + # source://prism//lib/prism/node.rb#6852 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6842 + # source://prism//lib/prism/node.rb#6842 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader constant: ConstantReadNode | ConstantPathNode | nil # - # source://prism/lib/prism/node.rb#6870 + # source://prism//lib/prism/node.rb#6870 sig { returns(T.nilable(T.any(Prism::ConstantReadNode, Prism::ConstantPathNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantReadNode | ConstantPathNode | nil, ?left: SplatNode, ?requireds: Array[Prism::node], ?right: SplatNode | MissingNode, ?opening_loc: Location?, ?closing_loc: Location?) -> FindPatternNode # - # source://prism/lib/prism/node.rb#6857 + # source://prism//lib/prism/node.rb#6857 sig do params( node_id: Integer, @@ -15489,13 +15489,13 @@ class Prism::FindPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6837 + # source://prism//lib/prism/node.rb#6862 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantReadNode | ConstantPathNode | nil, left: SplatNode, requireds: Array[Prism::node], right: SplatNode | MissingNode, opening_loc: Location?, closing_loc: Location? } # - # source://prism/lib/prism/node.rb#6865 + # source://prism//lib/prism/node.rb#6865 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15504,62 +15504,62 @@ class Prism::FindPatternNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#6930 + # source://prism//lib/prism/node.rb#6930 sig { override.returns(String) } def inspect; end # attr_reader left: SplatNode # - # source://prism/lib/prism/node.rb#6873 + # source://prism//lib/prism/node.rb#6873 sig { returns(Prism::SplatNode) } def left; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#6920 + # source://prism//lib/prism/node.rb#6920 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#6882 + # source://prism//lib/prism/node.rb#6882 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader requireds: Array[Prism::node] # - # source://prism/lib/prism/node.rb#6876 + # source://prism//lib/prism/node.rb#6876 sig { returns(T::Array[Prism::Node]) } def requireds; end # attr_reader right: SplatNode | MissingNode # - # source://prism/lib/prism/node.rb#6879 + # source://prism//lib/prism/node.rb#6879 sig { returns(T.any(Prism::SplatNode, Prism::MissingNode)) } def right; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6915 + # source://prism//lib/prism/node.rb#6915 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#6896 + # source://prism//lib/prism/node.rb#6896 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#6935 + # source://prism//lib/prism/node.rb#6935 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#6940 + # source://prism//lib/prism/node.rb#6940 def type; end end end @@ -15569,13 +15569,13 @@ end # baz if foo .. bar # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#6962 +# source://prism//lib/prism/node.rb#6962 class Prism::FlipFlopNode < ::Prism::Node # Initialize a new FlipFlopNode node. # # @return [FlipFlopNode] a new instance of FlipFlopNode # - # source://prism/lib/prism/node.rb#6964 + # source://prism//lib/prism/node.rb#6964 sig do params( source: Prism::Source, @@ -15592,36 +15592,36 @@ class Prism::FlipFlopNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7056 + # source://prism//lib/prism/node.rb#7056 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#6975 + # source://prism//lib/prism/node.rb#6975 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6980 + # source://prism//lib/prism/node.rb#6980 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#6993 + # source://prism//lib/prism/node.rb#6993 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#6985 + # source://prism//lib/prism/node.rb#6985 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node?, ?right: Prism::node?, ?operator_loc: Location) -> FlipFlopNode # - # source://prism/lib/prism/node.rb#6998 + # source://prism//lib/prism/node.rb#6998 sig do params( node_id: Integer, @@ -15637,13 +15637,13 @@ class Prism::FlipFlopNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#6980 + # source://prism//lib/prism/node.rb#7003 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, left: Prism::node?, right: Prism::node?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#7006 + # source://prism//lib/prism/node.rb#7006 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15651,7 +15651,7 @@ class Prism::FlipFlopNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#7011 + # source://prism//lib/prism/node.rb#7011 sig { returns(T::Boolean) } def exclude_end?; end @@ -15660,50 +15660,50 @@ class Prism::FlipFlopNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7040 + # source://prism//lib/prism/node.rb#7040 sig { override.returns(String) } def inspect; end # attr_reader left: Prism::node? # - # source://prism/lib/prism/node.rb#7016 + # source://prism//lib/prism/node.rb#7016 sig { returns(T.nilable(Prism::Node)) } def left; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#7035 + # source://prism//lib/prism/node.rb#7035 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#7022 + # source://prism//lib/prism/node.rb#7022 sig { returns(Prism::Location) } def operator_loc; end # attr_reader right: Prism::node? # - # source://prism/lib/prism/node.rb#7019 + # source://prism//lib/prism/node.rb#7019 sig { returns(T.nilable(Prism::Node)) } def right; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7030 + # source://prism//lib/prism/node.rb#7030 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7045 + # source://prism//lib/prism/node.rb#7045 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7050 + # source://prism//lib/prism/node.rb#7050 def type; end end end @@ -15713,62 +15713,62 @@ end # 1.0 # ^^^ # -# source://prism/lib/prism/node.rb#7069 +# source://prism//lib/prism/node.rb#7069 class Prism::FloatNode < ::Prism::Node # Initialize a new FloatNode node. # # @return [FloatNode] a new instance of FloatNode # - # source://prism/lib/prism/node.rb#7071 + # source://prism//lib/prism/node.rb#7071 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, value: Float).void } def initialize(source, node_id, location, flags, value); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7132 + # source://prism//lib/prism/node.rb#7132 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7080 + # source://prism//lib/prism/node.rb#7080 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7085 + # source://prism//lib/prism/node.rb#7085 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7095 + # source://prism//lib/prism/node.rb#7095 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7090 + # source://prism//lib/prism/node.rb#7090 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Float) -> FloatNode # - # source://prism/lib/prism/node.rb#7100 + # source://prism//lib/prism/node.rb#7100 sig { params(node_id: Integer, location: Prism::Location, flags: Integer, value: Float).returns(Prism::FloatNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil), value: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7085 + # source://prism//lib/prism/node.rb#7105 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Float } # - # source://prism/lib/prism/node.rb#7108 + # source://prism//lib/prism/node.rb#7108 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15777,26 +15777,26 @@ class Prism::FloatNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7116 + # source://prism//lib/prism/node.rb#7116 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7121 + # source://prism//lib/prism/node.rb#7121 sig { override.returns(Symbol) } def type; end # The value of the floating point number as a Float. # - # source://prism/lib/prism/node.rb#7113 + # source://prism//lib/prism/node.rb#7113 sig { returns(Float) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7126 + # source://prism//lib/prism/node.rb#7126 def type; end end end @@ -15806,13 +15806,13 @@ end # for i in a end # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#7142 +# source://prism//lib/prism/node.rb#7142 class Prism::ForNode < ::Prism::Node # Initialize a new ForNode node. # # @return [ForNode] a new instance of ForNode # - # source://prism/lib/prism/node.rb#7144 + # source://prism//lib/prism/node.rb#7144 sig do params( source: Prism::Source, @@ -15833,18 +15833,18 @@ class Prism::ForNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7322 + # source://prism//lib/prism/node.rb#7322 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7159 + # source://prism//lib/prism/node.rb#7159 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7164 + # source://prism//lib/prism/node.rb#7164 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end @@ -15853,25 +15853,25 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^ # - # source://prism/lib/prism/node.rb#7205 + # source://prism//lib/prism/node.rb#7205 sig { returns(Prism::Node) } def collection; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7178 + # source://prism//lib/prism/node.rb#7178 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7169 + # source://prism//lib/prism/node.rb#7169 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?index: LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode | MissingNode, ?collection: Prism::node, ?statements: StatementsNode?, ?for_keyword_loc: Location, ?in_keyword_loc: Location, ?do_keyword_loc: Location?, ?end_keyword_loc: Location) -> ForNode # - # source://prism/lib/prism/node.rb#7183 + # source://prism//lib/prism/node.rb#7183 sig do params( node_id: Integer, @@ -15891,19 +15891,19 @@ class Prism::ForNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7164 + # source://prism//lib/prism/node.rb#7188 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, index: LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode | MissingNode, collection: Prism::node, statements: StatementsNode?, for_keyword_loc: Location, in_keyword_loc: Location, do_keyword_loc: Location?, end_keyword_loc: Location } # - # source://prism/lib/prism/node.rb#7191 + # source://prism//lib/prism/node.rb#7191 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def do_keyword: () -> String? # - # source://prism/lib/prism/node.rb#7296 + # source://prism//lib/prism/node.rb#7296 sig { returns(T.nilable(String)) } def do_keyword; end @@ -15912,13 +15912,13 @@ class Prism::ForNode < ::Prism::Node # for i in a do end # ^^ # - # source://prism/lib/prism/node.rb#7251 + # source://prism//lib/prism/node.rb#7251 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#7301 + # source://prism//lib/prism/node.rb#7301 sig { returns(String) } def end_keyword; end @@ -15927,7 +15927,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^^ # - # source://prism/lib/prism/node.rb#7273 + # source://prism//lib/prism/node.rb#7273 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -15936,7 +15936,7 @@ class Prism::ForNode < ::Prism::Node # def for_keyword: () -> String # - # source://prism/lib/prism/node.rb#7286 + # source://prism//lib/prism/node.rb#7286 sig { returns(String) } def for_keyword; end @@ -15945,13 +15945,13 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^^ # - # source://prism/lib/prism/node.rb#7219 + # source://prism//lib/prism/node.rb#7219 sig { returns(Prism::Location) } def for_keyword_loc; end # def in_keyword: () -> String # - # source://prism/lib/prism/node.rb#7291 + # source://prism//lib/prism/node.rb#7291 sig { returns(String) } def in_keyword; end @@ -15960,7 +15960,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^ # - # source://prism/lib/prism/node.rb#7235 + # source://prism//lib/prism/node.rb#7235 sig { returns(Prism::Location) } def in_keyword_loc; end @@ -15969,7 +15969,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^ # - # source://prism/lib/prism/node.rb#7199 + # source://prism//lib/prism/node.rb#7199 sig do returns(T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::MultiTargetNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::MissingNode)) end @@ -15977,32 +15977,32 @@ class Prism::ForNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7306 + # source://prism//lib/prism/node.rb#7306 sig { override.returns(String) } def inspect; end # Save the do_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7265 + # source://prism//lib/prism/node.rb#7265 def save_do_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7281 + # source://prism//lib/prism/node.rb#7281 def save_end_keyword_loc(repository); end # Save the for_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7227 + # source://prism//lib/prism/node.rb#7227 def save_for_keyword_loc(repository); end # Save the in_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7243 + # source://prism//lib/prism/node.rb#7243 def save_in_keyword_loc(repository); end # Represents the body of statements to execute for each iteration of the loop. @@ -16012,20 +16012,20 @@ class Prism::ForNode < ::Prism::Node # ^^^^^^ # end # - # source://prism/lib/prism/node.rb#7213 + # source://prism//lib/prism/node.rb#7213 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7311 + # source://prism//lib/prism/node.rb#7311 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7316 + # source://prism//lib/prism/node.rb#7316 def type; end end end @@ -16037,62 +16037,62 @@ end # ^^^ # end # -# source://prism/lib/prism/node.rb#7340 +# source://prism//lib/prism/node.rb#7340 class Prism::ForwardingArgumentsNode < ::Prism::Node # Initialize a new ForwardingArgumentsNode node. # # @return [ForwardingArgumentsNode] a new instance of ForwardingArgumentsNode # - # source://prism/lib/prism/node.rb#7342 + # source://prism//lib/prism/node.rb#7342 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7399 + # source://prism//lib/prism/node.rb#7399 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7350 + # source://prism//lib/prism/node.rb#7350 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7355 + # source://prism//lib/prism/node.rb#7355 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7365 + # source://prism//lib/prism/node.rb#7365 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7360 + # source://prism//lib/prism/node.rb#7360 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> ForwardingArgumentsNode # - # source://prism/lib/prism/node.rb#7370 + # source://prism//lib/prism/node.rb#7370 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::ForwardingArgumentsNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7355 + # source://prism//lib/prism/node.rb#7375 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#7378 + # source://prism//lib/prism/node.rb#7378 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16101,20 +16101,20 @@ class Prism::ForwardingArgumentsNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7383 + # source://prism//lib/prism/node.rb#7383 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7388 + # source://prism//lib/prism/node.rb#7388 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7393 + # source://prism//lib/prism/node.rb#7393 def type; end end end @@ -16125,62 +16125,62 @@ end # ^^^ # end # -# source://prism/lib/prism/node.rb#7409 +# source://prism//lib/prism/node.rb#7409 class Prism::ForwardingParameterNode < ::Prism::Node # Initialize a new ForwardingParameterNode node. # # @return [ForwardingParameterNode] a new instance of ForwardingParameterNode # - # source://prism/lib/prism/node.rb#7411 + # source://prism//lib/prism/node.rb#7411 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7468 + # source://prism//lib/prism/node.rb#7468 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7419 + # source://prism//lib/prism/node.rb#7419 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7424 + # source://prism//lib/prism/node.rb#7424 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7434 + # source://prism//lib/prism/node.rb#7434 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7429 + # source://prism//lib/prism/node.rb#7429 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> ForwardingParameterNode # - # source://prism/lib/prism/node.rb#7439 + # source://prism//lib/prism/node.rb#7439 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::ForwardingParameterNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7424 + # source://prism//lib/prism/node.rb#7444 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#7447 + # source://prism//lib/prism/node.rb#7447 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16189,20 +16189,20 @@ class Prism::ForwardingParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7452 + # source://prism//lib/prism/node.rb#7452 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7457 + # source://prism//lib/prism/node.rb#7457 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7462 + # source://prism//lib/prism/node.rb#7462 def type; end end end @@ -16212,13 +16212,13 @@ end # super # ^^^^^ # -# source://prism/lib/prism/node.rb#7477 +# source://prism//lib/prism/node.rb#7477 class Prism::ForwardingSuperNode < ::Prism::Node # Initialize a new ForwardingSuperNode node. # # @return [ForwardingSuperNode] a new instance of ForwardingSuperNode # - # source://prism/lib/prism/node.rb#7479 + # source://prism//lib/prism/node.rb#7479 sig do params( source: Prism::Source, @@ -16233,42 +16233,42 @@ class Prism::ForwardingSuperNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7542 + # source://prism//lib/prism/node.rb#7542 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7488 + # source://prism//lib/prism/node.rb#7488 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader block: BlockNode? # - # source://prism/lib/prism/node.rb#7523 + # source://prism//lib/prism/node.rb#7523 sig { returns(T.nilable(Prism::BlockNode)) } def block; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7493 + # source://prism//lib/prism/node.rb#7493 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7505 + # source://prism//lib/prism/node.rb#7505 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7498 + # source://prism//lib/prism/node.rb#7498 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?block: BlockNode?) -> ForwardingSuperNode # - # source://prism/lib/prism/node.rb#7510 + # source://prism//lib/prism/node.rb#7510 sig do params( node_id: Integer, @@ -16282,13 +16282,13 @@ class Prism::ForwardingSuperNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7493 + # source://prism//lib/prism/node.rb#7515 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, block: BlockNode? } # - # source://prism/lib/prism/node.rb#7518 + # source://prism//lib/prism/node.rb#7518 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16297,20 +16297,20 @@ class Prism::ForwardingSuperNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7526 + # source://prism//lib/prism/node.rb#7526 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7531 + # source://prism//lib/prism/node.rb#7531 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7536 + # source://prism//lib/prism/node.rb#7536 def type; end end end @@ -16320,13 +16320,13 @@ end # $target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#7552 +# source://prism//lib/prism/node.rb#7552 class Prism::GlobalVariableAndWriteNode < ::Prism::Node # Initialize a new GlobalVariableAndWriteNode node. # # @return [GlobalVariableAndWriteNode] a new instance of GlobalVariableAndWriteNode # - # source://prism/lib/prism/node.rb#7554 + # source://prism//lib/prism/node.rb#7554 sig do params( source: Prism::Source, @@ -16344,36 +16344,36 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7652 + # source://prism//lib/prism/node.rb#7652 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7566 + # source://prism//lib/prism/node.rb#7566 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7571 + # source://prism//lib/prism/node.rb#7571 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7581 + # source://prism//lib/prism/node.rb#7581 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7576 + # source://prism//lib/prism/node.rb#7576 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> GlobalVariableAndWriteNode # - # source://prism/lib/prism/node.rb#7586 + # source://prism//lib/prism/node.rb#7586 sig do params( node_id: Integer, @@ -16390,17 +16390,17 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7571 + # source://prism//lib/prism/node.rb#7591 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#7594 + # source://prism//lib/prism/node.rb#7594 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#200 + # source://prism//lib/prism/desugar_compiler.rb#200 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16408,62 +16408,62 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7636 + # source://prism//lib/prism/node.rb#7636 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#7599 + # source://prism//lib/prism/node.rb#7599 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#7602 + # source://prism//lib/prism/node.rb#7602 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#7631 + # source://prism//lib/prism/node.rb#7631 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#7615 + # source://prism//lib/prism/node.rb#7615 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7610 + # source://prism//lib/prism/node.rb#7610 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7623 + # source://prism//lib/prism/node.rb#7623 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7641 + # source://prism//lib/prism/node.rb#7641 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#7628 + # source://prism//lib/prism/node.rb#7628 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7646 + # source://prism//lib/prism/node.rb#7646 def type; end end end @@ -16473,13 +16473,13 @@ end # $target += value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#7665 +# source://prism//lib/prism/node.rb#7665 class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # Initialize a new GlobalVariableOperatorWriteNode node. # # @return [GlobalVariableOperatorWriteNode] a new instance of GlobalVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#7667 + # source://prism//lib/prism/node.rb#7667 sig do params( source: Prism::Source, @@ -16498,48 +16498,48 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7764 + # source://prism//lib/prism/node.rb#7764 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7680 + # source://prism//lib/prism/node.rb#7680 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#7745 + # source://prism//lib/prism/node.rb#7745 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#7729 + # source://prism//lib/prism/node.rb#7729 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7685 + # source://prism//lib/prism/node.rb#7685 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7695 + # source://prism//lib/prism/node.rb#7695 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7690 + # source://prism//lib/prism/node.rb#7690 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?binary_operator_loc: Location, ?value: Prism::node, ?binary_operator: Symbol) -> GlobalVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#7700 + # source://prism//lib/prism/node.rb#7700 sig do params( node_id: Integer, @@ -16557,17 +16557,17 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7685 + # source://prism//lib/prism/node.rb#7705 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, binary_operator_loc: Location, value: Prism::node, binary_operator: Symbol } # - # source://prism/lib/prism/node.rb#7708 + # source://prism//lib/prism/node.rb#7708 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#212 + # source://prism//lib/prism/desugar_compiler.rb#212 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16575,62 +16575,62 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7748 + # source://prism//lib/prism/node.rb#7748 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#7713 + # source://prism//lib/prism/node.rb#7713 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#7716 + # source://prism//lib/prism/node.rb#7716 sig { returns(Prism::Location) } def name_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#403 + # source://prism//lib/prism/node_ext.rb#403 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#410 + # source://prism//lib/prism/node_ext.rb#410 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7737 + # source://prism//lib/prism/node.rb#7737 def save_binary_operator_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7724 + # source://prism//lib/prism/node.rb#7724 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7753 + # source://prism//lib/prism/node.rb#7753 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#7742 + # source://prism//lib/prism/node.rb#7742 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7758 + # source://prism//lib/prism/node.rb#7758 def type; end end end @@ -16640,13 +16640,13 @@ end # $target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#7778 +# source://prism//lib/prism/node.rb#7778 class Prism::GlobalVariableOrWriteNode < ::Prism::Node # Initialize a new GlobalVariableOrWriteNode node. # # @return [GlobalVariableOrWriteNode] a new instance of GlobalVariableOrWriteNode # - # source://prism/lib/prism/node.rb#7780 + # source://prism//lib/prism/node.rb#7780 sig do params( source: Prism::Source, @@ -16664,36 +16664,36 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7878 + # source://prism//lib/prism/node.rb#7878 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7792 + # source://prism//lib/prism/node.rb#7792 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7797 + # source://prism//lib/prism/node.rb#7797 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7807 + # source://prism//lib/prism/node.rb#7807 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7802 + # source://prism//lib/prism/node.rb#7802 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> GlobalVariableOrWriteNode # - # source://prism/lib/prism/node.rb#7812 + # source://prism//lib/prism/node.rb#7812 sig do params( node_id: Integer, @@ -16710,17 +16710,17 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7797 + # source://prism//lib/prism/node.rb#7817 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#7820 + # source://prism//lib/prism/node.rb#7820 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#206 + # source://prism//lib/prism/desugar_compiler.rb#206 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16728,62 +16728,62 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7862 + # source://prism//lib/prism/node.rb#7862 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#7825 + # source://prism//lib/prism/node.rb#7825 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#7828 + # source://prism//lib/prism/node.rb#7828 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#7857 + # source://prism//lib/prism/node.rb#7857 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#7841 + # source://prism//lib/prism/node.rb#7841 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7836 + # source://prism//lib/prism/node.rb#7836 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#7849 + # source://prism//lib/prism/node.rb#7849 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7867 + # source://prism//lib/prism/node.rb#7867 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#7854 + # source://prism//lib/prism/node.rb#7854 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7872 + # source://prism//lib/prism/node.rb#7872 def type; end end end @@ -16793,49 +16793,49 @@ end # $foo # ^^^^ # -# source://prism/lib/prism/node.rb#7891 +# source://prism//lib/prism/node.rb#7891 class Prism::GlobalVariableReadNode < ::Prism::Node # Initialize a new GlobalVariableReadNode node. # # @return [GlobalVariableReadNode] a new instance of GlobalVariableReadNode # - # source://prism/lib/prism/node.rb#7893 + # source://prism//lib/prism/node.rb#7893 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#7958 + # source://prism//lib/prism/node.rb#7958 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7902 + # source://prism//lib/prism/node.rb#7902 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7907 + # source://prism//lib/prism/node.rb#7907 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7917 + # source://prism//lib/prism/node.rb#7917 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7912 + # source://prism//lib/prism/node.rb#7912 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> GlobalVariableReadNode # - # source://prism/lib/prism/node.rb#7922 + # source://prism//lib/prism/node.rb#7922 sig do params( node_id: Integer, @@ -16849,13 +16849,13 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7907 + # source://prism//lib/prism/node.rb#7927 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#7930 + # source://prism//lib/prism/node.rb#7930 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16864,7 +16864,7 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#7942 + # source://prism//lib/prism/node.rb#7942 sig { override.returns(String) } def inspect; end @@ -16874,20 +16874,20 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # # $_Test # name `:$_Test` # - # source://prism/lib/prism/node.rb#7939 + # source://prism//lib/prism/node.rb#7939 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#7947 + # source://prism//lib/prism/node.rb#7947 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#7952 + # source://prism//lib/prism/node.rb#7952 def type; end end end @@ -16897,49 +16897,49 @@ end # $foo, $bar = baz # ^^^^ ^^^^ # -# source://prism/lib/prism/node.rb#7968 +# source://prism//lib/prism/node.rb#7968 class Prism::GlobalVariableTargetNode < ::Prism::Node # Initialize a new GlobalVariableTargetNode node. # # @return [GlobalVariableTargetNode] a new instance of GlobalVariableTargetNode # - # source://prism/lib/prism/node.rb#7970 + # source://prism//lib/prism/node.rb#7970 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8031 + # source://prism//lib/prism/node.rb#8031 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#7979 + # source://prism//lib/prism/node.rb#7979 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7984 + # source://prism//lib/prism/node.rb#7984 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#7994 + # source://prism//lib/prism/node.rb#7994 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#7989 + # source://prism//lib/prism/node.rb#7989 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> GlobalVariableTargetNode # - # source://prism/lib/prism/node.rb#7999 + # source://prism//lib/prism/node.rb#7999 sig do params( node_id: Integer, @@ -16953,13 +16953,13 @@ class Prism::GlobalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#7984 + # source://prism//lib/prism/node.rb#8004 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#8007 + # source://prism//lib/prism/node.rb#8007 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16968,26 +16968,26 @@ class Prism::GlobalVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8015 + # source://prism//lib/prism/node.rb#8015 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#8012 + # source://prism//lib/prism/node.rb#8012 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8020 + # source://prism//lib/prism/node.rb#8020 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8025 + # source://prism//lib/prism/node.rb#8025 def type; end end end @@ -16997,13 +16997,13 @@ end # $foo = 1 # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#8041 +# source://prism//lib/prism/node.rb#8041 class Prism::GlobalVariableWriteNode < ::Prism::Node # Initialize a new GlobalVariableWriteNode node. # # @return [GlobalVariableWriteNode] a new instance of GlobalVariableWriteNode # - # source://prism/lib/prism/node.rb#8043 + # source://prism//lib/prism/node.rb#8043 sig do params( source: Prism::Source, @@ -17021,36 +17021,36 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8157 + # source://prism//lib/prism/node.rb#8157 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8055 + # source://prism//lib/prism/node.rb#8055 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8060 + # source://prism//lib/prism/node.rb#8060 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8070 + # source://prism//lib/prism/node.rb#8070 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8065 + # source://prism//lib/prism/node.rb#8065 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?value: Prism::node, ?operator_loc: Location) -> GlobalVariableWriteNode # - # source://prism/lib/prism/node.rb#8075 + # source://prism//lib/prism/node.rb#8075 sig do params( node_id: Integer, @@ -17067,13 +17067,13 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8060 + # source://prism//lib/prism/node.rb#8080 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, value: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#8083 + # source://prism//lib/prism/node.rb#8083 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17082,7 +17082,7 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8141 + # source://prism//lib/prism/node.rb#8141 sig { override.returns(String) } def inspect; end @@ -17092,7 +17092,7 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # # $_Test = 123 # name `:$_Test` # - # source://prism/lib/prism/node.rb#8092 + # source://prism//lib/prism/node.rb#8092 sig { returns(Symbol) } def name; end @@ -17101,13 +17101,13 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $foo = :bar # ^^^^ # - # source://prism/lib/prism/node.rb#8098 + # source://prism//lib/prism/node.rb#8098 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#8136 + # source://prism//lib/prism/node.rb#8136 sig { returns(String) } def operator; end @@ -17116,25 +17116,25 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $foo = :bar # ^ # - # source://prism/lib/prism/node.rb#8123 + # source://prism//lib/prism/node.rb#8123 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8106 + # source://prism//lib/prism/node.rb#8106 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8131 + # source://prism//lib/prism/node.rb#8131 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8146 + # source://prism//lib/prism/node.rb#8146 sig { override.returns(Symbol) } def type; end @@ -17146,14 +17146,14 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $-xyz = 123 # ^^^ # - # source://prism/lib/prism/node.rb#8117 + # source://prism//lib/prism/node.rb#8117 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8151 + # source://prism//lib/prism/node.rb#8151 def type; end end end @@ -17163,13 +17163,13 @@ end # { a => b } # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#8170 +# source://prism//lib/prism/node.rb#8170 class Prism::HashNode < ::Prism::Node # Initialize a new HashNode node. # # @return [HashNode] a new instance of HashNode # - # source://prism/lib/prism/node.rb#8172 + # source://prism//lib/prism/node.rb#8172 sig do params( source: Prism::Source, @@ -17186,24 +17186,24 @@ class Prism::HashNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8283 + # source://prism//lib/prism/node.rb#8283 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8183 + # source://prism//lib/prism/node.rb#8183 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8188 + # source://prism//lib/prism/node.rb#8188 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#8262 + # source://prism//lib/prism/node.rb#8262 sig { returns(String) } def closing; end @@ -17212,25 +17212,25 @@ class Prism::HashNode < ::Prism::Node # { a => b } # ^ # - # source://prism/lib/prism/node.rb#8244 + # source://prism//lib/prism/node.rb#8244 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8198 + # source://prism//lib/prism/node.rb#8198 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8193 + # source://prism//lib/prism/node.rb#8193 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?elements: Array[AssocNode | AssocSplatNode], ?closing_loc: Location) -> HashNode # - # source://prism/lib/prism/node.rb#8203 + # source://prism//lib/prism/node.rb#8203 sig do params( node_id: Integer, @@ -17246,13 +17246,13 @@ class Prism::HashNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8188 + # source://prism//lib/prism/node.rb#8208 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, elements: Array[AssocNode | AssocSplatNode], closing_loc: Location } # - # source://prism/lib/prism/node.rb#8211 + # source://prism//lib/prism/node.rb#8211 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17264,7 +17264,7 @@ class Prism::HashNode < ::Prism::Node # { **foo } # ^^^^^ # - # source://prism/lib/prism/node.rb#8238 + # source://prism//lib/prism/node.rb#8238 sig { returns(T::Array[T.any(Prism::AssocNode, Prism::AssocSplatNode)]) } def elements; end @@ -17273,13 +17273,13 @@ class Prism::HashNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8267 + # source://prism//lib/prism/node.rb#8267 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#8257 + # source://prism//lib/prism/node.rb#8257 sig { returns(String) } def opening; end @@ -17288,32 +17288,32 @@ class Prism::HashNode < ::Prism::Node # { a => b } # ^ # - # source://prism/lib/prism/node.rb#8219 + # source://prism//lib/prism/node.rb#8219 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8252 + # source://prism//lib/prism/node.rb#8252 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8227 + # source://prism//lib/prism/node.rb#8227 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8272 + # source://prism//lib/prism/node.rb#8272 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8277 + # source://prism//lib/prism/node.rb#8277 def type; end end end @@ -17326,13 +17326,13 @@ end # foo => { a: 1, b: 2, **c } # ^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#8299 +# source://prism//lib/prism/node.rb#8299 class Prism::HashPatternNode < ::Prism::Node # Initialize a new HashPatternNode node. # # @return [HashPatternNode] a new instance of HashPatternNode # - # source://prism/lib/prism/node.rb#8301 + # source://prism//lib/prism/node.rb#8301 sig do params( source: Prism::Source, @@ -17351,54 +17351,54 @@ class Prism::HashPatternNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8424 + # source://prism//lib/prism/node.rb#8424 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8314 + # source://prism//lib/prism/node.rb#8314 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8319 + # source://prism//lib/prism/node.rb#8319 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#8403 + # source://prism//lib/prism/node.rb#8403 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#8379 + # source://prism//lib/prism/node.rb#8379 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8333 + # source://prism//lib/prism/node.rb#8333 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8324 + # source://prism//lib/prism/node.rb#8324 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader constant: ConstantReadNode | ConstantPathNode | nil # - # source://prism/lib/prism/node.rb#8351 + # source://prism//lib/prism/node.rb#8351 sig { returns(T.nilable(T.any(Prism::ConstantReadNode, Prism::ConstantPathNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantReadNode | ConstantPathNode | nil, ?elements: Array[AssocNode], ?rest: AssocSplatNode | NoKeywordsParameterNode | nil, ?opening_loc: Location?, ?closing_loc: Location?) -> HashPatternNode # - # source://prism/lib/prism/node.rb#8338 + # source://prism//lib/prism/node.rb#8338 sig do params( node_id: Integer, @@ -17416,19 +17416,19 @@ class Prism::HashPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8319 + # source://prism//lib/prism/node.rb#8343 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantReadNode | ConstantPathNode | nil, elements: Array[AssocNode], rest: AssocSplatNode | NoKeywordsParameterNode | nil, opening_loc: Location?, closing_loc: Location? } # - # source://prism/lib/prism/node.rb#8346 + # source://prism//lib/prism/node.rb#8346 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader elements: Array[AssocNode] # - # source://prism/lib/prism/node.rb#8354 + # source://prism//lib/prism/node.rb#8354 sig { returns(T::Array[Prism::AssocNode]) } def elements; end @@ -17437,61 +17437,61 @@ class Prism::HashPatternNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8408 + # source://prism//lib/prism/node.rb#8408 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#8398 + # source://prism//lib/prism/node.rb#8398 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#8360 + # source://prism//lib/prism/node.rb#8360 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader rest: AssocSplatNode | NoKeywordsParameterNode | nil # - # source://prism/lib/prism/node.rb#8357 + # source://prism//lib/prism/node.rb#8357 sig { returns(T.nilable(T.any(Prism::AssocSplatNode, Prism::NoKeywordsParameterNode))) } def rest; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8393 + # source://prism//lib/prism/node.rb#8393 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8374 + # source://prism//lib/prism/node.rb#8374 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8413 + # source://prism//lib/prism/node.rb#8413 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8418 + # source://prism//lib/prism/node.rb#8418 def type; end end end -# source://prism/lib/prism/node_ext.rb#52 +# source://prism//lib/prism/node_ext.rb#52 module Prism::HeredocQuery # Returns true if this node was represented as a heredoc in the source code. # # @return [Boolean] # - # source://prism/lib/prism/node_ext.rb#54 + # source://prism//lib/prism/node_ext.rb#54 def heredoc?; end end @@ -17506,13 +17506,13 @@ end # foo ? bar : baz # ^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#8445 +# source://prism//lib/prism/node.rb#8445 class Prism::IfNode < ::Prism::Node # Initialize a new IfNode node. # # @return [IfNode] a new instance of IfNode # - # source://prism/lib/prism/node.rb#8447 + # source://prism//lib/prism/node.rb#8447 sig do params( source: Prism::Source, @@ -17532,42 +17532,42 @@ class Prism::IfNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8641 + # source://prism//lib/prism/node.rb#8641 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8461 + # source://prism//lib/prism/node.rb#8461 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8466 + # source://prism//lib/prism/node.rb#8466 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8480 + # source://prism//lib/prism/node.rb#8480 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8471 + # source://prism//lib/prism/node.rb#8471 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # Returns the subsequent if/elsif/else clause of the if node. This method is # deprecated in favor of #subsequent. # - # source://prism/lib/prism/node_ext.rb#485 + # source://prism//lib/prism/node_ext.rb#485 def consequent; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?if_keyword_loc: Location?, ?predicate: Prism::node, ?then_keyword_loc: Location?, ?statements: StatementsNode?, ?subsequent: ElseNode | IfNode | nil, ?end_keyword_loc: Location?) -> IfNode # - # source://prism/lib/prism/node.rb#8485 + # source://prism//lib/prism/node.rb#8485 sig do params( node_id: Integer, @@ -17586,19 +17586,19 @@ class Prism::IfNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8466 + # source://prism//lib/prism/node.rb#8490 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, if_keyword_loc: Location?, predicate: Prism::node, then_keyword_loc: Location?, statements: StatementsNode?, subsequent: ElseNode | IfNode | nil, end_keyword_loc: Location? } # - # source://prism/lib/prism/node.rb#8493 + # source://prism//lib/prism/node.rb#8493 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def end_keyword: () -> String? # - # source://prism/lib/prism/node.rb#8620 + # source://prism//lib/prism/node.rb#8620 sig { returns(T.nilable(String)) } def end_keyword; end @@ -17609,7 +17609,7 @@ class Prism::IfNode < ::Prism::Node # end # ^^^ # - # source://prism/lib/prism/node.rb#8591 + # source://prism//lib/prism/node.rb#8591 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -17618,7 +17618,7 @@ class Prism::IfNode < ::Prism::Node # def if_keyword: () -> String? # - # source://prism/lib/prism/node.rb#8610 + # source://prism//lib/prism/node.rb#8610 sig { returns(T.nilable(String)) } def if_keyword; end @@ -17629,17 +17629,17 @@ class Prism::IfNode < ::Prism::Node # # The `if_keyword_loc` field will be `nil` when the `IfNode` represents a ternary expression. # - # source://prism/lib/prism/node.rb#8503 + # source://prism//lib/prism/node.rb#8503 sig { returns(T.nilable(Prism::Location)) } def if_keyword_loc; end # def inspect -> String # - # source://prism/lib/prism/node.rb#8625 + # source://prism//lib/prism/node.rb#8625 sig { override.returns(String) } def inspect; end - # source://prism/lib/prism/parse_result/newlines.rb#91 + # source://prism//lib/prism/parse_result/newlines.rb#91 def newline_flag!(lines); end # The node for the condition the `IfNode` is testing. @@ -17655,26 +17655,26 @@ class Prism::IfNode < ::Prism::Node # foo ? bar : baz # ^^^ # - # source://prism/lib/prism/node.rb#8533 + # source://prism//lib/prism/node.rb#8533 sig { returns(Prism::Node) } def predicate; end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8605 + # source://prism//lib/prism/node.rb#8605 def save_end_keyword_loc(repository); end # Save the if_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8517 + # source://prism//lib/prism/node.rb#8517 def save_if_keyword_loc(repository); end # Save the then_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8556 + # source://prism//lib/prism/node.rb#8556 def save_then_keyword_loc(repository); end # Represents the body of statements that will be executed when the predicate is evaluated as truthy. Will be `nil` when no body is provided. @@ -17686,7 +17686,7 @@ class Prism::IfNode < ::Prism::Node # ^^^ # end # - # source://prism/lib/prism/node.rb#8568 + # source://prism//lib/prism/node.rb#8568 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end @@ -17704,13 +17704,13 @@ class Prism::IfNode < ::Prism::Node # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/node.rb#8583 + # source://prism//lib/prism/node.rb#8583 sig { returns(T.nilable(T.any(Prism::ElseNode, Prism::IfNode))) } def subsequent; end # def then_keyword: () -> String? # - # source://prism/lib/prism/node.rb#8615 + # source://prism//lib/prism/node.rb#8615 sig { returns(T.nilable(String)) } def then_keyword; end @@ -17722,20 +17722,20 @@ class Prism::IfNode < ::Prism::Node # a ? b : c # ^ # - # source://prism/lib/prism/node.rb#8542 + # source://prism//lib/prism/node.rb#8542 sig { returns(T.nilable(Prism::Location)) } def then_keyword_loc; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8630 + # source://prism//lib/prism/node.rb#8630 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8635 + # source://prism//lib/prism/node.rb#8635 def type; end end end @@ -17745,13 +17745,13 @@ end # 1.0i # ^^^^ # -# source://prism/lib/prism/node.rb#8656 +# source://prism//lib/prism/node.rb#8656 class Prism::ImaginaryNode < ::Prism::Node # Initialize a new ImaginaryNode node. # # @return [ImaginaryNode] a new instance of ImaginaryNode # - # source://prism/lib/prism/node.rb#8658 + # source://prism//lib/prism/node.rb#8658 sig do params( source: Prism::Source, @@ -17766,36 +17766,36 @@ class Prism::ImaginaryNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8719 + # source://prism//lib/prism/node.rb#8719 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8667 + # source://prism//lib/prism/node.rb#8667 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8672 + # source://prism//lib/prism/node.rb#8672 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8682 + # source://prism//lib/prism/node.rb#8682 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8677 + # source://prism//lib/prism/node.rb#8677 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?numeric: FloatNode | IntegerNode | RationalNode) -> ImaginaryNode # - # source://prism/lib/prism/node.rb#8687 + # source://prism//lib/prism/node.rb#8687 sig do params( node_id: Integer, @@ -17809,13 +17809,13 @@ class Prism::ImaginaryNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8672 + # source://prism//lib/prism/node.rb#8692 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, numeric: FloatNode | IntegerNode | RationalNode } # - # source://prism/lib/prism/node.rb#8695 + # source://prism//lib/prism/node.rb#8695 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17824,32 +17824,32 @@ class Prism::ImaginaryNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8703 + # source://prism//lib/prism/node.rb#8703 sig { override.returns(String) } def inspect; end # attr_reader numeric: FloatNode | IntegerNode | RationalNode # - # source://prism/lib/prism/node.rb#8700 + # source://prism//lib/prism/node.rb#8700 sig { returns(T.any(Prism::FloatNode, Prism::IntegerNode, Prism::RationalNode)) } def numeric; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8708 + # source://prism//lib/prism/node.rb#8708 sig { override.returns(Symbol) } def type; end # Returns the value of the node as a Ruby Complex. # - # source://prism/lib/prism/node_ext.rb#107 + # source://prism//lib/prism/node_ext.rb#107 sig { returns(Complex) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8713 + # source://prism//lib/prism/node.rb#8713 def type; end end end @@ -17865,13 +17865,13 @@ end # foo in { bar: } # ^^^^ # -# source://prism/lib/prism/node.rb#8735 +# source://prism//lib/prism/node.rb#8735 class Prism::ImplicitNode < ::Prism::Node # Initialize a new ImplicitNode node. # # @return [ImplicitNode] a new instance of ImplicitNode # - # source://prism/lib/prism/node.rb#8737 + # source://prism//lib/prism/node.rb#8737 sig do params( source: Prism::Source, @@ -17886,36 +17886,36 @@ class Prism::ImplicitNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8798 + # source://prism//lib/prism/node.rb#8798 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8746 + # source://prism//lib/prism/node.rb#8746 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8751 + # source://prism//lib/prism/node.rb#8751 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8761 + # source://prism//lib/prism/node.rb#8761 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8756 + # source://prism//lib/prism/node.rb#8756 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: LocalVariableReadNode | CallNode | ConstantReadNode | LocalVariableTargetNode) -> ImplicitNode # - # source://prism/lib/prism/node.rb#8766 + # source://prism//lib/prism/node.rb#8766 sig do params( node_id: Integer, @@ -17929,13 +17929,13 @@ class Prism::ImplicitNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8751 + # source://prism//lib/prism/node.rb#8771 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: LocalVariableReadNode | CallNode | ConstantReadNode | LocalVariableTargetNode } # - # source://prism/lib/prism/node.rb#8774 + # source://prism//lib/prism/node.rb#8774 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17944,19 +17944,19 @@ class Prism::ImplicitNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8782 + # source://prism//lib/prism/node.rb#8782 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8787 + # source://prism//lib/prism/node.rb#8787 sig { override.returns(Symbol) } def type; end # attr_reader value: LocalVariableReadNode | CallNode | ConstantReadNode | LocalVariableTargetNode # - # source://prism/lib/prism/node.rb#8779 + # source://prism//lib/prism/node.rb#8779 sig do returns(T.any(Prism::LocalVariableReadNode, Prism::CallNode, Prism::ConstantReadNode, Prism::LocalVariableTargetNode)) end @@ -17965,7 +17965,7 @@ class Prism::ImplicitNode < ::Prism::Node class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8792 + # source://prism//lib/prism/node.rb#8792 def type; end end end @@ -17984,62 +17984,62 @@ end # foo, = bar # ^ # -# source://prism/lib/prism/node.rb#8817 +# source://prism//lib/prism/node.rb#8817 class Prism::ImplicitRestNode < ::Prism::Node # Initialize a new ImplicitRestNode node. # # @return [ImplicitRestNode] a new instance of ImplicitRestNode # - # source://prism/lib/prism/node.rb#8819 + # source://prism//lib/prism/node.rb#8819 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8876 + # source://prism//lib/prism/node.rb#8876 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8827 + # source://prism//lib/prism/node.rb#8827 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8832 + # source://prism//lib/prism/node.rb#8832 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8842 + # source://prism//lib/prism/node.rb#8842 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8837 + # source://prism//lib/prism/node.rb#8837 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> ImplicitRestNode # - # source://prism/lib/prism/node.rb#8847 + # source://prism//lib/prism/node.rb#8847 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::ImplicitRestNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8832 + # source://prism//lib/prism/node.rb#8852 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#8855 + # source://prism//lib/prism/node.rb#8855 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18048,20 +18048,20 @@ class Prism::ImplicitRestNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#8860 + # source://prism//lib/prism/node.rb#8860 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8865 + # source://prism//lib/prism/node.rb#8865 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8870 + # source://prism//lib/prism/node.rb#8870 def type; end end end @@ -18071,13 +18071,13 @@ end # case a; in b then c end # ^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#8885 +# source://prism//lib/prism/node.rb#8885 class Prism::InNode < ::Prism::Node # Initialize a new InNode node. # # @return [InNode] a new instance of InNode # - # source://prism/lib/prism/node.rb#8887 + # source://prism//lib/prism/node.rb#8887 sig do params( source: Prism::Source, @@ -18095,36 +18095,36 @@ class Prism::InNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#8999 + # source://prism//lib/prism/node.rb#8999 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#8899 + # source://prism//lib/prism/node.rb#8899 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8904 + # source://prism//lib/prism/node.rb#8904 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#8917 + # source://prism//lib/prism/node.rb#8917 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#8909 + # source://prism//lib/prism/node.rb#8909 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?pattern: Prism::node, ?statements: StatementsNode?, ?in_loc: Location, ?then_loc: Location?) -> InNode # - # source://prism/lib/prism/node.rb#8922 + # source://prism//lib/prism/node.rb#8922 sig do params( node_id: Integer, @@ -18141,13 +18141,13 @@ class Prism::InNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#8904 + # source://prism//lib/prism/node.rb#8927 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, pattern: Prism::node, statements: StatementsNode?, in_loc: Location, then_loc: Location? } # - # source://prism/lib/prism/node.rb#8930 + # source://prism//lib/prism/node.rb#8930 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18156,68 +18156,68 @@ class Prism::InNode < ::Prism::Node # def in: () -> String # - # source://prism/lib/prism/node.rb#8973 + # source://prism//lib/prism/node.rb#8973 sig { returns(String) } def in; end # attr_reader in_loc: Location # - # source://prism/lib/prism/node.rb#8941 + # source://prism//lib/prism/node.rb#8941 sig { returns(Prism::Location) } def in_loc; end # def inspect -> String # - # source://prism/lib/prism/node.rb#8983 + # source://prism//lib/prism/node.rb#8983 sig { override.returns(String) } def inspect; end # attr_reader pattern: Prism::node # - # source://prism/lib/prism/node.rb#8935 + # source://prism//lib/prism/node.rb#8935 sig { returns(Prism::Node) } def pattern; end # Save the in_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8949 + # source://prism//lib/prism/node.rb#8949 def save_in_loc(repository); end # Save the then_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#8968 + # source://prism//lib/prism/node.rb#8968 def save_then_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#8938 + # source://prism//lib/prism/node.rb#8938 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then: () -> String? # - # source://prism/lib/prism/node.rb#8978 + # source://prism//lib/prism/node.rb#8978 sig { returns(T.nilable(String)) } def then; end # attr_reader then_loc: Location? # - # source://prism/lib/prism/node.rb#8954 + # source://prism//lib/prism/node.rb#8954 sig { returns(T.nilable(Prism::Location)) } def then_loc; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#8988 + # source://prism//lib/prism/node.rb#8988 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#8993 + # source://prism//lib/prism/node.rb#8993 def type; end end end @@ -18227,13 +18227,13 @@ end # foo.bar[baz] &&= value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9012 +# source://prism//lib/prism/node.rb#9012 class Prism::IndexAndWriteNode < ::Prism::Node # Initialize a new IndexAndWriteNode node. # # @return [IndexAndWriteNode] a new instance of IndexAndWriteNode # - # source://prism/lib/prism/node.rb#9014 + # source://prism//lib/prism/node.rb#9014 sig do params( source: Prism::Source, @@ -18255,18 +18255,18 @@ class Prism::IndexAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9194 + # source://prism//lib/prism/node.rb#9194 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9030 + # source://prism//lib/prism/node.rb#9030 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#9123 + # source://prism//lib/prism/node.rb#9123 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18274,61 +18274,61 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9078 + # source://prism//lib/prism/node.rb#9078 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism/lib/prism/node.rb#9139 + # source://prism//lib/prism/node.rb#9139 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#9158 + # source://prism//lib/prism/node.rb#9158 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism/lib/prism/node.rb#9091 + # source://prism//lib/prism/node.rb#9091 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9035 + # source://prism//lib/prism/node.rb#9035 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#9168 + # source://prism//lib/prism/node.rb#9168 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#9126 + # source://prism//lib/prism/node.rb#9126 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9050 + # source://prism//lib/prism/node.rb#9050 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9040 + # source://prism//lib/prism/node.rb#9040 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?opening_loc: Location, ?arguments: ArgumentsNode?, ?closing_loc: Location, ?block: BlockArgumentNode?, ?operator_loc: Location, ?value: Prism::node) -> IndexAndWriteNode # - # source://prism/lib/prism/node.rb#9055 + # source://prism//lib/prism/node.rb#9055 sig do params( node_id: Integer, @@ -18349,13 +18349,13 @@ class Prism::IndexAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9035 + # source://prism//lib/prism/node.rb#9060 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, opening_loc: Location, arguments: ArgumentsNode?, closing_loc: Location, block: BlockArgumentNode?, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#9063 + # source://prism//lib/prism/node.rb#9063 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18366,43 +18366,43 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9083 + # source://prism//lib/prism/node.rb#9083 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#9178 + # source://prism//lib/prism/node.rb#9178 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#9163 + # source://prism//lib/prism/node.rb#9163 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#9110 + # source://prism//lib/prism/node.rb#9110 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#9173 + # source://prism//lib/prism/node.rb#9173 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#9142 + # source://prism//lib/prism/node.rb#9142 sig { returns(Prism::Location) } def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism/lib/prism/node.rb#9088 + # source://prism//lib/prism/node.rb#9088 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18410,43 +18410,43 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9068 + # source://prism//lib/prism/node.rb#9068 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9105 + # source://prism//lib/prism/node.rb#9105 def save_call_operator_loc(repository); end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9134 + # source://prism//lib/prism/node.rb#9134 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9118 + # source://prism//lib/prism/node.rb#9118 def save_opening_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9150 + # source://prism//lib/prism/node.rb#9150 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9183 + # source://prism//lib/prism/node.rb#9183 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#9155 + # source://prism//lib/prism/node.rb#9155 sig { returns(Prism::Node) } def value; end @@ -18454,14 +18454,14 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9073 + # source://prism//lib/prism/node.rb#9073 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9188 + # source://prism//lib/prism/node.rb#9188 def type; end end end @@ -18471,13 +18471,13 @@ end # foo.bar[baz] += value # ^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9212 +# source://prism//lib/prism/node.rb#9212 class Prism::IndexOperatorWriteNode < ::Prism::Node # Initialize a new IndexOperatorWriteNode node. # # @return [IndexOperatorWriteNode] a new instance of IndexOperatorWriteNode # - # source://prism/lib/prism/node.rb#9214 + # source://prism//lib/prism/node.rb#9214 sig do params( source: Prism::Source, @@ -18500,18 +18500,18 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9393 + # source://prism//lib/prism/node.rb#9393 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9231 + # source://prism//lib/prism/node.rb#9231 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#9324 + # source://prism//lib/prism/node.rb#9324 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18519,73 +18519,73 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9279 + # source://prism//lib/prism/node.rb#9279 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#9343 + # source://prism//lib/prism/node.rb#9343 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#9346 + # source://prism//lib/prism/node.rb#9346 sig { returns(Prism::Location) } def binary_operator_loc; end # attr_reader block: BlockArgumentNode? # - # source://prism/lib/prism/node.rb#9340 + # source://prism//lib/prism/node.rb#9340 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#9362 + # source://prism//lib/prism/node.rb#9362 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism/lib/prism/node.rb#9292 + # source://prism//lib/prism/node.rb#9292 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9236 + # source://prism//lib/prism/node.rb#9236 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#9372 + # source://prism//lib/prism/node.rb#9372 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#9327 + # source://prism//lib/prism/node.rb#9327 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9251 + # source://prism//lib/prism/node.rb#9251 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9241 + # source://prism//lib/prism/node.rb#9241 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?opening_loc: Location, ?arguments: ArgumentsNode?, ?closing_loc: Location, ?block: BlockArgumentNode?, ?binary_operator: Symbol, ?binary_operator_loc: Location, ?value: Prism::node) -> IndexOperatorWriteNode # - # source://prism/lib/prism/node.rb#9256 + # source://prism//lib/prism/node.rb#9256 sig do params( node_id: Integer, @@ -18607,13 +18607,13 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9236 + # source://prism//lib/prism/node.rb#9261 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, opening_loc: Location, arguments: ArgumentsNode?, closing_loc: Location, block: BlockArgumentNode?, binary_operator: Symbol, binary_operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#9264 + # source://prism//lib/prism/node.rb#9264 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18624,43 +18624,43 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9284 + # source://prism//lib/prism/node.rb#9284 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#9377 + # source://prism//lib/prism/node.rb#9377 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#9367 + # source://prism//lib/prism/node.rb#9367 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#9311 + # source://prism//lib/prism/node.rb#9311 sig { returns(Prism::Location) } def opening_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#419 + # source://prism//lib/prism/node_ext.rb#419 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#426 + # source://prism//lib/prism/node_ext.rb#426 def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism/lib/prism/node.rb#9289 + # source://prism//lib/prism/node.rb#9289 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18668,43 +18668,43 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9269 + # source://prism//lib/prism/node.rb#9269 sig { returns(T::Boolean) } def safe_navigation?; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9354 + # source://prism//lib/prism/node.rb#9354 def save_binary_operator_loc(repository); end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9306 + # source://prism//lib/prism/node.rb#9306 def save_call_operator_loc(repository); end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9335 + # source://prism//lib/prism/node.rb#9335 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9319 + # source://prism//lib/prism/node.rb#9319 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9382 + # source://prism//lib/prism/node.rb#9382 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#9359 + # source://prism//lib/prism/node.rb#9359 sig { returns(Prism::Node) } def value; end @@ -18712,14 +18712,14 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9274 + # source://prism//lib/prism/node.rb#9274 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9387 + # source://prism//lib/prism/node.rb#9387 def type; end end end @@ -18729,13 +18729,13 @@ end # foo.bar[baz] ||= value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9412 +# source://prism//lib/prism/node.rb#9412 class Prism::IndexOrWriteNode < ::Prism::Node # Initialize a new IndexOrWriteNode node. # # @return [IndexOrWriteNode] a new instance of IndexOrWriteNode # - # source://prism/lib/prism/node.rb#9414 + # source://prism//lib/prism/node.rb#9414 sig do params( source: Prism::Source, @@ -18757,18 +18757,18 @@ class Prism::IndexOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9594 + # source://prism//lib/prism/node.rb#9594 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9430 + # source://prism//lib/prism/node.rb#9430 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#9523 + # source://prism//lib/prism/node.rb#9523 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18776,61 +18776,61 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9478 + # source://prism//lib/prism/node.rb#9478 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism/lib/prism/node.rb#9539 + # source://prism//lib/prism/node.rb#9539 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism/lib/prism/node.rb#9558 + # source://prism//lib/prism/node.rb#9558 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism/lib/prism/node.rb#9491 + # source://prism//lib/prism/node.rb#9491 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9435 + # source://prism//lib/prism/node.rb#9435 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#9568 + # source://prism//lib/prism/node.rb#9568 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#9526 + # source://prism//lib/prism/node.rb#9526 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9450 + # source://prism//lib/prism/node.rb#9450 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9440 + # source://prism//lib/prism/node.rb#9440 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node?, ?call_operator_loc: Location?, ?opening_loc: Location, ?arguments: ArgumentsNode?, ?closing_loc: Location, ?block: BlockArgumentNode?, ?operator_loc: Location, ?value: Prism::node) -> IndexOrWriteNode # - # source://prism/lib/prism/node.rb#9455 + # source://prism//lib/prism/node.rb#9455 sig do params( node_id: Integer, @@ -18851,13 +18851,13 @@ class Prism::IndexOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9435 + # source://prism//lib/prism/node.rb#9460 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node?, call_operator_loc: Location?, opening_loc: Location, arguments: ArgumentsNode?, closing_loc: Location, block: BlockArgumentNode?, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#9463 + # source://prism//lib/prism/node.rb#9463 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18868,43 +18868,43 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9483 + # source://prism//lib/prism/node.rb#9483 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#9578 + # source://prism//lib/prism/node.rb#9578 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#9563 + # source://prism//lib/prism/node.rb#9563 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#9510 + # source://prism//lib/prism/node.rb#9510 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#9573 + # source://prism//lib/prism/node.rb#9573 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#9542 + # source://prism//lib/prism/node.rb#9542 sig { returns(Prism::Location) } def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism/lib/prism/node.rb#9488 + # source://prism//lib/prism/node.rb#9488 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18912,43 +18912,43 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9468 + # source://prism//lib/prism/node.rb#9468 sig { returns(T::Boolean) } def safe_navigation?; end # Save the call_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9505 + # source://prism//lib/prism/node.rb#9505 def save_call_operator_loc(repository); end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9534 + # source://prism//lib/prism/node.rb#9534 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9518 + # source://prism//lib/prism/node.rb#9518 def save_opening_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9550 + # source://prism//lib/prism/node.rb#9550 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9583 + # source://prism//lib/prism/node.rb#9583 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#9555 + # source://prism//lib/prism/node.rb#9555 sig { returns(Prism::Node) } def value; end @@ -18956,14 +18956,14 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9473 + # source://prism//lib/prism/node.rb#9473 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9588 + # source://prism//lib/prism/node.rb#9588 def type; end end end @@ -18981,13 +18981,13 @@ end # for foo[bar] in baz do end # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#9620 +# source://prism//lib/prism/node.rb#9620 class Prism::IndexTargetNode < ::Prism::Node # Initialize a new IndexTargetNode node. # # @return [IndexTargetNode] a new instance of IndexTargetNode # - # source://prism/lib/prism/node.rb#9622 + # source://prism//lib/prism/node.rb#9622 sig do params( source: Prism::Source, @@ -19006,18 +19006,18 @@ class Prism::IndexTargetNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9753 + # source://prism//lib/prism/node.rb#9753 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9635 + # source://prism//lib/prism/node.rb#9635 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#9708 + # source://prism//lib/prism/node.rb#9708 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -19025,49 +19025,49 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9682 + # source://prism//lib/prism/node.rb#9682 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism/lib/prism/node.rb#9724 + # source://prism//lib/prism/node.rb#9724 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9640 + # source://prism//lib/prism/node.rb#9640 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#9732 + # source://prism//lib/prism/node.rb#9732 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#9711 + # source://prism//lib/prism/node.rb#9711 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9654 + # source://prism//lib/prism/node.rb#9654 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9645 + # source://prism//lib/prism/node.rb#9645 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?receiver: Prism::node, ?opening_loc: Location, ?arguments: ArgumentsNode?, ?closing_loc: Location, ?block: BlockArgumentNode?) -> IndexTargetNode # - # source://prism/lib/prism/node.rb#9659 + # source://prism//lib/prism/node.rb#9659 sig do params( node_id: Integer, @@ -19085,13 +19085,13 @@ class Prism::IndexTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9640 + # source://prism//lib/prism/node.rb#9664 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, receiver: Prism::node, opening_loc: Location, arguments: ArgumentsNode?, closing_loc: Location, block: BlockArgumentNode? } # - # source://prism/lib/prism/node.rb#9667 + # source://prism//lib/prism/node.rb#9667 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -19102,31 +19102,31 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9687 + # source://prism//lib/prism/node.rb#9687 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#9737 + # source://prism//lib/prism/node.rb#9737 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#9727 + # source://prism//lib/prism/node.rb#9727 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#9695 + # source://prism//lib/prism/node.rb#9695 sig { returns(Prism::Location) } def opening_loc; end # attr_reader receiver: Prism::node # - # source://prism/lib/prism/node.rb#9692 + # source://prism//lib/prism/node.rb#9692 sig { returns(Prism::Node) } def receiver; end @@ -19134,25 +19134,25 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9672 + # source://prism//lib/prism/node.rb#9672 sig { returns(T::Boolean) } def safe_navigation?; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9719 + # source://prism//lib/prism/node.rb#9719 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9703 + # source://prism//lib/prism/node.rb#9703 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9742 + # source://prism//lib/prism/node.rb#9742 sig { override.returns(Symbol) } def type; end @@ -19160,14 +19160,14 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#9677 + # source://prism//lib/prism/node.rb#9677 sig { returns(T::Boolean) } def variable_call?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9747 + # source://prism//lib/prism/node.rb#9747 def type; end end end @@ -19175,11 +19175,11 @@ end # InlineComment objects are the most common. They correspond to comments in # the source file like this one that start with #. # -# source://prism/lib/prism/parse_result.rb#529 +# source://prism//lib/prism/parse_result.rb#529 class Prism::InlineComment < ::Prism::Comment # Returns a string representation of this comment. # - # source://prism/lib/prism/parse_result.rb#537 + # source://prism//lib/prism/parse_result.rb#537 sig { returns(String) } def inspect; end @@ -19188,7 +19188,7 @@ class Prism::InlineComment < ::Prism::Comment # # @return [Boolean] # - # source://prism/lib/prism/parse_result.rb#532 + # source://prism//lib/prism/parse_result.rb#532 sig { override.returns(T::Boolean) } def trailing?; end end @@ -19196,804 +19196,804 @@ end # This visitor is responsible for composing the strings that get returned by # the various #inspect methods defined on each of the nodes. # -# source://prism/lib/prism/inspect_visitor.rb#12 +# source://prism//lib/prism/inspect_visitor.rb#12 class Prism::InspectVisitor < ::Prism::Visitor # Initializes a new instance of the InspectVisitor. # # @return [InspectVisitor] a new instance of InspectVisitor # - # source://prism/lib/prism/inspect_visitor.rb#35 + # source://prism//lib/prism/inspect_visitor.rb#35 sig { params(indent: String).void } def initialize(indent = T.unsafe(nil)); end # The list of commands that we need to execute in order to compose the # final string. # - # source://prism/lib/prism/inspect_visitor.rb#32 + # source://prism//lib/prism/inspect_visitor.rb#32 def commands; end # Compose the final string. # - # source://prism/lib/prism/inspect_visitor.rb#48 + # source://prism//lib/prism/inspect_visitor.rb#48 sig { returns(String) } def compose; end # The current prefix string. # - # source://prism/lib/prism/inspect_visitor.rb#28 + # source://prism//lib/prism/inspect_visitor.rb#28 def indent; end # Inspect a AliasGlobalVariableNode node. # - # source://prism/lib/prism/inspect_visitor.rb#77 + # source://prism//lib/prism/inspect_visitor.rb#77 def visit_alias_global_variable_node(node); end # Inspect a AliasMethodNode node. # - # source://prism/lib/prism/inspect_visitor.rb#89 + # source://prism//lib/prism/inspect_visitor.rb#89 def visit_alias_method_node(node); end # Inspect a AlternationPatternNode node. # - # source://prism/lib/prism/inspect_visitor.rb#101 + # source://prism//lib/prism/inspect_visitor.rb#101 def visit_alternation_pattern_node(node); end # Inspect a AndNode node. # - # source://prism/lib/prism/inspect_visitor.rb#113 + # source://prism//lib/prism/inspect_visitor.rb#113 def visit_and_node(node); end # Inspect a ArgumentsNode node. # - # source://prism/lib/prism/inspect_visitor.rb#125 + # source://prism//lib/prism/inspect_visitor.rb#125 def visit_arguments_node(node); end # Inspect a ArrayNode node. # - # source://prism/lib/prism/inspect_visitor.rb#141 + # source://prism//lib/prism/inspect_visitor.rb#141 def visit_array_node(node); end # Inspect a ArrayPatternNode node. # - # source://prism/lib/prism/inspect_visitor.rb#159 + # source://prism//lib/prism/inspect_visitor.rb#159 def visit_array_pattern_node(node); end # Inspect a AssocNode node. # - # source://prism/lib/prism/inspect_visitor.rb#198 + # source://prism//lib/prism/inspect_visitor.rb#198 def visit_assoc_node(node); end # Inspect a AssocSplatNode node. # - # source://prism/lib/prism/inspect_visitor.rb#210 + # source://prism//lib/prism/inspect_visitor.rb#210 def visit_assoc_splat_node(node); end # Inspect a BackReferenceReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#224 + # source://prism//lib/prism/inspect_visitor.rb#224 def visit_back_reference_read_node(node); end # Inspect a BeginNode node. # - # source://prism/lib/prism/inspect_visitor.rb#232 + # source://prism//lib/prism/inspect_visitor.rb#232 def visit_begin_node(node); end # Inspect a BlockArgumentNode node. # - # source://prism/lib/prism/inspect_visitor.rb#265 + # source://prism//lib/prism/inspect_visitor.rb#265 def visit_block_argument_node(node); end # Inspect a BlockLocalVariableNode node. # - # source://prism/lib/prism/inspect_visitor.rb#279 + # source://prism//lib/prism/inspect_visitor.rb#279 def visit_block_local_variable_node(node); end # Inspect a BlockNode node. # - # source://prism/lib/prism/inspect_visitor.rb#287 + # source://prism//lib/prism/inspect_visitor.rb#287 def visit_block_node(node); end # Inspect a BlockParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#309 + # source://prism//lib/prism/inspect_visitor.rb#309 def visit_block_parameter_node(node); end # Inspect a BlockParametersNode node. # - # source://prism/lib/prism/inspect_visitor.rb#323 + # source://prism//lib/prism/inspect_visitor.rb#323 def visit_block_parameters_node(node); end # Inspect a BreakNode node. # - # source://prism/lib/prism/inspect_visitor.rb#347 + # source://prism//lib/prism/inspect_visitor.rb#347 def visit_break_node(node); end # Inspect a CallAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#361 + # source://prism//lib/prism/inspect_visitor.rb#361 def visit_call_and_write_node(node); end # Inspect a CallNode node. # - # source://prism/lib/prism/inspect_visitor.rb#381 + # source://prism//lib/prism/inspect_visitor.rb#381 def visit_call_node(node); end # Inspect a CallOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#411 + # source://prism//lib/prism/inspect_visitor.rb#411 def visit_call_operator_write_node(node); end # Inspect a CallOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#432 + # source://prism//lib/prism/inspect_visitor.rb#432 def visit_call_or_write_node(node); end # Inspect a CallTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#452 + # source://prism//lib/prism/inspect_visitor.rb#452 def visit_call_target_node(node); end # Inspect a CapturePatternNode node. # - # source://prism/lib/prism/inspect_visitor.rb#464 + # source://prism//lib/prism/inspect_visitor.rb#464 def visit_capture_pattern_node(node); end # Inspect a CaseMatchNode node. # - # source://prism/lib/prism/inspect_visitor.rb#476 + # source://prism//lib/prism/inspect_visitor.rb#476 def visit_case_match_node(node); end # Inspect a CaseNode node. # - # source://prism/lib/prism/inspect_visitor.rb#506 + # source://prism//lib/prism/inspect_visitor.rb#506 def visit_case_node(node); end # Inspect a ClassNode node. # - # source://prism/lib/prism/inspect_visitor.rb#536 + # source://prism//lib/prism/inspect_visitor.rb#536 def visit_class_node(node); end # Inspect a ClassVariableAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#562 + # source://prism//lib/prism/inspect_visitor.rb#562 def visit_class_variable_and_write_node(node); end # Inspect a ClassVariableOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#574 + # source://prism//lib/prism/inspect_visitor.rb#574 def visit_class_variable_operator_write_node(node); end # Inspect a ClassVariableOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#587 + # source://prism//lib/prism/inspect_visitor.rb#587 def visit_class_variable_or_write_node(node); end # Inspect a ClassVariableReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#599 + # source://prism//lib/prism/inspect_visitor.rb#599 def visit_class_variable_read_node(node); end # Inspect a ClassVariableTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#607 + # source://prism//lib/prism/inspect_visitor.rb#607 def visit_class_variable_target_node(node); end # Inspect a ClassVariableWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#615 + # source://prism//lib/prism/inspect_visitor.rb#615 def visit_class_variable_write_node(node); end # Inspect a ConstantAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#627 + # source://prism//lib/prism/inspect_visitor.rb#627 def visit_constant_and_write_node(node); end # Inspect a ConstantOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#639 + # source://prism//lib/prism/inspect_visitor.rb#639 def visit_constant_operator_write_node(node); end # Inspect a ConstantOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#652 + # source://prism//lib/prism/inspect_visitor.rb#652 def visit_constant_or_write_node(node); end # Inspect a ConstantPathAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#664 + # source://prism//lib/prism/inspect_visitor.rb#664 def visit_constant_path_and_write_node(node); end # Inspect a ConstantPathNode node. # - # source://prism/lib/prism/inspect_visitor.rb#676 + # source://prism//lib/prism/inspect_visitor.rb#676 def visit_constant_path_node(node); end # Inspect a ConstantPathOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#696 + # source://prism//lib/prism/inspect_visitor.rb#696 def visit_constant_path_operator_write_node(node); end # Inspect a ConstantPathOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#709 + # source://prism//lib/prism/inspect_visitor.rb#709 def visit_constant_path_or_write_node(node); end # Inspect a ConstantPathTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#721 + # source://prism//lib/prism/inspect_visitor.rb#721 def visit_constant_path_target_node(node); end # Inspect a ConstantPathWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#741 + # source://prism//lib/prism/inspect_visitor.rb#741 def visit_constant_path_write_node(node); end # Inspect a ConstantReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#753 + # source://prism//lib/prism/inspect_visitor.rb#753 def visit_constant_read_node(node); end # Inspect a ConstantTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#761 + # source://prism//lib/prism/inspect_visitor.rb#761 def visit_constant_target_node(node); end # Inspect a ConstantWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#769 + # source://prism//lib/prism/inspect_visitor.rb#769 def visit_constant_write_node(node); end # Inspect a DefNode node. # - # source://prism/lib/prism/inspect_visitor.rb#781 + # source://prism//lib/prism/inspect_visitor.rb#781 def visit_def_node(node); end # Inspect a DefinedNode node. # - # source://prism/lib/prism/inspect_visitor.rb#815 + # source://prism//lib/prism/inspect_visitor.rb#815 def visit_defined_node(node); end # Inspect a ElseNode node. # - # source://prism/lib/prism/inspect_visitor.rb#827 + # source://prism//lib/prism/inspect_visitor.rb#827 def visit_else_node(node); end # Inspect a EmbeddedStatementsNode node. # - # source://prism/lib/prism/inspect_visitor.rb#842 + # source://prism//lib/prism/inspect_visitor.rb#842 def visit_embedded_statements_node(node); end # Inspect a EmbeddedVariableNode node. # - # source://prism/lib/prism/inspect_visitor.rb#857 + # source://prism//lib/prism/inspect_visitor.rb#857 def visit_embedded_variable_node(node); end # Inspect a EnsureNode node. # - # source://prism/lib/prism/inspect_visitor.rb#867 + # source://prism//lib/prism/inspect_visitor.rb#867 def visit_ensure_node(node); end # Inspect a FalseNode node. # - # source://prism/lib/prism/inspect_visitor.rb#882 + # source://prism//lib/prism/inspect_visitor.rb#882 def visit_false_node(node); end # Inspect a FindPatternNode node. # - # source://prism/lib/prism/inspect_visitor.rb#889 + # source://prism//lib/prism/inspect_visitor.rb#889 def visit_find_pattern_node(node); end # Inspect a FlipFlopNode node. # - # source://prism/lib/prism/inspect_visitor.rb#917 + # source://prism//lib/prism/inspect_visitor.rb#917 def visit_flip_flop_node(node); end # Inspect a FloatNode node. # - # source://prism/lib/prism/inspect_visitor.rb#937 + # source://prism//lib/prism/inspect_visitor.rb#937 def visit_float_node(node); end # Inspect a ForNode node. # - # source://prism/lib/prism/inspect_visitor.rb#945 + # source://prism//lib/prism/inspect_visitor.rb#945 def visit_for_node(node); end # Inspect a ForwardingArgumentsNode node. # - # source://prism/lib/prism/inspect_visitor.rb#966 + # source://prism//lib/prism/inspect_visitor.rb#966 def visit_forwarding_arguments_node(node); end # Inspect a ForwardingParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#973 + # source://prism//lib/prism/inspect_visitor.rb#973 def visit_forwarding_parameter_node(node); end # Inspect a ForwardingSuperNode node. # - # source://prism/lib/prism/inspect_visitor.rb#980 + # source://prism//lib/prism/inspect_visitor.rb#980 def visit_forwarding_super_node(node); end # Inspect a GlobalVariableAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#993 + # source://prism//lib/prism/inspect_visitor.rb#993 def visit_global_variable_and_write_node(node); end # Inspect a GlobalVariableOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1005 + # source://prism//lib/prism/inspect_visitor.rb#1005 def visit_global_variable_operator_write_node(node); end # Inspect a GlobalVariableOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1018 + # source://prism//lib/prism/inspect_visitor.rb#1018 def visit_global_variable_or_write_node(node); end # Inspect a GlobalVariableReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1030 + # source://prism//lib/prism/inspect_visitor.rb#1030 def visit_global_variable_read_node(node); end # Inspect a GlobalVariableTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1038 + # source://prism//lib/prism/inspect_visitor.rb#1038 def visit_global_variable_target_node(node); end # Inspect a GlobalVariableWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1046 + # source://prism//lib/prism/inspect_visitor.rb#1046 def visit_global_variable_write_node(node); end # Inspect a HashNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1058 + # source://prism//lib/prism/inspect_visitor.rb#1058 def visit_hash_node(node); end # Inspect a HashPatternNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1076 + # source://prism//lib/prism/inspect_visitor.rb#1076 def visit_hash_pattern_node(node); end # Inspect a IfNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1106 + # source://prism//lib/prism/inspect_visitor.rb#1106 def visit_if_node(node); end # Inspect a ImaginaryNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1130 + # source://prism//lib/prism/inspect_visitor.rb#1130 def visit_imaginary_node(node); end # Inspect a ImplicitNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1139 + # source://prism//lib/prism/inspect_visitor.rb#1139 def visit_implicit_node(node); end # Inspect a ImplicitRestNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1148 + # source://prism//lib/prism/inspect_visitor.rb#1148 def visit_implicit_rest_node(node); end # Inspect a InNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1155 + # source://prism//lib/prism/inspect_visitor.rb#1155 def visit_in_node(node); end # Inspect a IndexAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1172 + # source://prism//lib/prism/inspect_visitor.rb#1172 def visit_index_and_write_node(node); end # Inspect a IndexOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1203 + # source://prism//lib/prism/inspect_visitor.rb#1203 def visit_index_operator_write_node(node); end # Inspect a IndexOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1235 + # source://prism//lib/prism/inspect_visitor.rb#1235 def visit_index_or_write_node(node); end # Inspect a IndexTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1266 + # source://prism//lib/prism/inspect_visitor.rb#1266 def visit_index_target_node(node); end # Inspect a InstanceVariableAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1289 + # source://prism//lib/prism/inspect_visitor.rb#1289 def visit_instance_variable_and_write_node(node); end # Inspect a InstanceVariableOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1301 + # source://prism//lib/prism/inspect_visitor.rb#1301 def visit_instance_variable_operator_write_node(node); end # Inspect a InstanceVariableOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1314 + # source://prism//lib/prism/inspect_visitor.rb#1314 def visit_instance_variable_or_write_node(node); end # Inspect a InstanceVariableReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1326 + # source://prism//lib/prism/inspect_visitor.rb#1326 def visit_instance_variable_read_node(node); end # Inspect a InstanceVariableTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1334 + # source://prism//lib/prism/inspect_visitor.rb#1334 def visit_instance_variable_target_node(node); end # Inspect a InstanceVariableWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1342 + # source://prism//lib/prism/inspect_visitor.rb#1342 def visit_instance_variable_write_node(node); end # Inspect a IntegerNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1354 + # source://prism//lib/prism/inspect_visitor.rb#1354 def visit_integer_node(node); end # Inspect a InterpolatedMatchLastLineNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1362 + # source://prism//lib/prism/inspect_visitor.rb#1362 def visit_interpolated_match_last_line_node(node); end # Inspect a InterpolatedRegularExpressionNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1380 + # source://prism//lib/prism/inspect_visitor.rb#1380 def visit_interpolated_regular_expression_node(node); end # Inspect a InterpolatedStringNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1398 + # source://prism//lib/prism/inspect_visitor.rb#1398 def visit_interpolated_string_node(node); end # Inspect a InterpolatedSymbolNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1416 + # source://prism//lib/prism/inspect_visitor.rb#1416 def visit_interpolated_symbol_node(node); end # Inspect a InterpolatedXStringNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1434 + # source://prism//lib/prism/inspect_visitor.rb#1434 def visit_interpolated_x_string_node(node); end # Inspect a ItLocalVariableReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1452 + # source://prism//lib/prism/inspect_visitor.rb#1452 def visit_it_local_variable_read_node(node); end # Inspect a ItParametersNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1459 + # source://prism//lib/prism/inspect_visitor.rb#1459 def visit_it_parameters_node(node); end # Inspect a KeywordHashNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1466 + # source://prism//lib/prism/inspect_visitor.rb#1466 def visit_keyword_hash_node(node); end # Inspect a KeywordRestParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1482 + # source://prism//lib/prism/inspect_visitor.rb#1482 def visit_keyword_rest_parameter_node(node); end # Inspect a LambdaNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1496 + # source://prism//lib/prism/inspect_visitor.rb#1496 def visit_lambda_node(node); end # Inspect a LocalVariableAndWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1519 + # source://prism//lib/prism/inspect_visitor.rb#1519 def visit_local_variable_and_write_node(node); end # Inspect a LocalVariableOperatorWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1532 + # source://prism//lib/prism/inspect_visitor.rb#1532 def visit_local_variable_operator_write_node(node); end # Inspect a LocalVariableOrWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1546 + # source://prism//lib/prism/inspect_visitor.rb#1546 def visit_local_variable_or_write_node(node); end # Inspect a LocalVariableReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1559 + # source://prism//lib/prism/inspect_visitor.rb#1559 def visit_local_variable_read_node(node); end # Inspect a LocalVariableTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1568 + # source://prism//lib/prism/inspect_visitor.rb#1568 def visit_local_variable_target_node(node); end # Inspect a LocalVariableWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1577 + # source://prism//lib/prism/inspect_visitor.rb#1577 def visit_local_variable_write_node(node); end # Inspect a MatchLastLineNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1590 + # source://prism//lib/prism/inspect_visitor.rb#1590 def visit_match_last_line_node(node); end # Inspect a MatchPredicateNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1601 + # source://prism//lib/prism/inspect_visitor.rb#1601 def visit_match_predicate_node(node); end # Inspect a MatchRequiredNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1613 + # source://prism//lib/prism/inspect_visitor.rb#1613 def visit_match_required_node(node); end # Inspect a MatchWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1625 + # source://prism//lib/prism/inspect_visitor.rb#1625 def visit_match_write_node(node); end # Inspect a MissingNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1643 + # source://prism//lib/prism/inspect_visitor.rb#1643 def visit_missing_node(node); end # Inspect a ModuleNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1650 + # source://prism//lib/prism/inspect_visitor.rb#1650 def visit_module_node(node); end # Inspect a MultiTargetNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1669 + # source://prism//lib/prism/inspect_visitor.rb#1669 def visit_multi_target_node(node); end # Inspect a MultiWriteNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1702 + # source://prism//lib/prism/inspect_visitor.rb#1702 def visit_multi_write_node(node); end # Inspect a NextNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1738 + # source://prism//lib/prism/inspect_visitor.rb#1738 def visit_next_node(node); end # Inspect a NilNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1752 + # source://prism//lib/prism/inspect_visitor.rb#1752 def visit_nil_node(node); end # Inspect a NoKeywordsParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1759 + # source://prism//lib/prism/inspect_visitor.rb#1759 def visit_no_keywords_parameter_node(node); end # Inspect a NumberedParametersNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1768 + # source://prism//lib/prism/inspect_visitor.rb#1768 def visit_numbered_parameters_node(node); end # Inspect a NumberedReferenceReadNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1776 + # source://prism//lib/prism/inspect_visitor.rb#1776 def visit_numbered_reference_read_node(node); end # Inspect a OptionalKeywordParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1784 + # source://prism//lib/prism/inspect_visitor.rb#1784 def visit_optional_keyword_parameter_node(node); end # Inspect a OptionalParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1795 + # source://prism//lib/prism/inspect_visitor.rb#1795 def visit_optional_parameter_node(node); end # Inspect a OrNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1807 + # source://prism//lib/prism/inspect_visitor.rb#1807 def visit_or_node(node); end # Inspect a ParametersNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1819 + # source://prism//lib/prism/inspect_visitor.rb#1819 def visit_parameters_node(node); end # Inspect a ParenthesesNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1880 + # source://prism//lib/prism/inspect_visitor.rb#1880 def visit_parentheses_node(node); end # Inspect a PinnedExpressionNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1895 + # source://prism//lib/prism/inspect_visitor.rb#1895 def visit_pinned_expression_node(node); end # Inspect a PinnedVariableNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1907 + # source://prism//lib/prism/inspect_visitor.rb#1907 def visit_pinned_variable_node(node); end # Inspect a PostExecutionNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1917 + # source://prism//lib/prism/inspect_visitor.rb#1917 def visit_post_execution_node(node); end # Inspect a PreExecutionNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1933 + # source://prism//lib/prism/inspect_visitor.rb#1933 def visit_pre_execution_node(node); end # Inspect a ProgramNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1949 + # source://prism//lib/prism/inspect_visitor.rb#1949 def visit_program_node(node); end # Inspect a RangeNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1959 + # source://prism//lib/prism/inspect_visitor.rb#1959 def visit_range_node(node); end # Inspect a RationalNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1979 + # source://prism//lib/prism/inspect_visitor.rb#1979 def visit_rational_node(node); end # Inspect a RedoNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1988 + # source://prism//lib/prism/inspect_visitor.rb#1988 def visit_redo_node(node); end # Inspect a RegularExpressionNode node. # - # source://prism/lib/prism/inspect_visitor.rb#1995 + # source://prism//lib/prism/inspect_visitor.rb#1995 def visit_regular_expression_node(node); end # Inspect a RequiredKeywordParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2006 + # source://prism//lib/prism/inspect_visitor.rb#2006 def visit_required_keyword_parameter_node(node); end # Inspect a RequiredParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2015 + # source://prism//lib/prism/inspect_visitor.rb#2015 def visit_required_parameter_node(node); end # Inspect a RescueModifierNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2023 + # source://prism//lib/prism/inspect_visitor.rb#2023 def visit_rescue_modifier_node(node); end # Inspect a RescueNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2035 + # source://prism//lib/prism/inspect_visitor.rb#2035 def visit_rescue_node(node); end # Inspect a RestParameterNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2071 + # source://prism//lib/prism/inspect_visitor.rb#2071 def visit_rest_parameter_node(node); end # Inspect a RetryNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2085 + # source://prism//lib/prism/inspect_visitor.rb#2085 def visit_retry_node(node); end # Inspect a ReturnNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2092 + # source://prism//lib/prism/inspect_visitor.rb#2092 def visit_return_node(node); end # Inspect a SelfNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2106 + # source://prism//lib/prism/inspect_visitor.rb#2106 def visit_self_node(node); end # Inspect a ShareableConstantNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2113 + # source://prism//lib/prism/inspect_visitor.rb#2113 def visit_shareable_constant_node(node); end # Inspect a SingletonClassNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2122 + # source://prism//lib/prism/inspect_visitor.rb#2122 def visit_singleton_class_node(node); end # Inspect a SourceEncodingNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2141 + # source://prism//lib/prism/inspect_visitor.rb#2141 def visit_source_encoding_node(node); end # Inspect a SourceFileNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2148 + # source://prism//lib/prism/inspect_visitor.rb#2148 def visit_source_file_node(node); end # Inspect a SourceLineNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2156 + # source://prism//lib/prism/inspect_visitor.rb#2156 def visit_source_line_node(node); end # Inspect a SplatNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2163 + # source://prism//lib/prism/inspect_visitor.rb#2163 def visit_splat_node(node); end # Inspect a StatementsNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2177 + # source://prism//lib/prism/inspect_visitor.rb#2177 def visit_statements_node(node); end # Inspect a StringNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2193 + # source://prism//lib/prism/inspect_visitor.rb#2193 def visit_string_node(node); end # Inspect a SuperNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2204 + # source://prism//lib/prism/inspect_visitor.rb#2204 def visit_super_node(node); end # Inspect a SymbolNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2226 + # source://prism//lib/prism/inspect_visitor.rb#2226 def visit_symbol_node(node); end # Inspect a TrueNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2237 + # source://prism//lib/prism/inspect_visitor.rb#2237 def visit_true_node(node); end # Inspect a UndefNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2244 + # source://prism//lib/prism/inspect_visitor.rb#2244 def visit_undef_node(node); end # Inspect a UnlessNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2261 + # source://prism//lib/prism/inspect_visitor.rb#2261 def visit_unless_node(node); end # Inspect a UntilNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2285 + # source://prism//lib/prism/inspect_visitor.rb#2285 def visit_until_node(node); end # Inspect a WhenNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2303 + # source://prism//lib/prism/inspect_visitor.rb#2303 def visit_when_node(node); end # Inspect a WhileNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2327 + # source://prism//lib/prism/inspect_visitor.rb#2327 def visit_while_node(node); end # Inspect a XStringNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2345 + # source://prism//lib/prism/inspect_visitor.rb#2345 def visit_x_string_node(node); end # Inspect a YieldNode node. # - # source://prism/lib/prism/inspect_visitor.rb#2356 + # source://prism//lib/prism/inspect_visitor.rb#2356 def visit_yield_node(node); end private # Compose a string representing the given inner location field. # - # source://prism/lib/prism/inspect_visitor.rb#2380 + # source://prism//lib/prism/inspect_visitor.rb#2380 def inspect_location(location); end # Compose a header for the given node. # - # source://prism/lib/prism/inspect_visitor.rb#2374 + # source://prism//lib/prism/inspect_visitor.rb#2374 def inspect_node(name, node); end class << self # Compose an inspect string for the given node. # - # source://prism/lib/prism/inspect_visitor.rb#41 + # source://prism//lib/prism/inspect_visitor.rb#41 sig { params(node: Prism::Node).returns(String) } def compose(node); end end @@ -20004,14 +20004,14 @@ end # when we hit an element in that list. In this case, we have a special # command that replaces the subsequent indent with the given value. # -# source://prism/lib/prism/inspect_visitor.rb#17 +# source://prism//lib/prism/inspect_visitor.rb#17 class Prism::InspectVisitor::Replace # @return [Replace] a new instance of Replace # - # source://prism/lib/prism/inspect_visitor.rb#20 + # source://prism//lib/prism/inspect_visitor.rb#20 def initialize(value); end - # source://prism/lib/prism/inspect_visitor.rb#18 + # source://prism//lib/prism/inspect_visitor.rb#18 def value; end end @@ -20020,13 +20020,13 @@ end # @target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9768 +# source://prism//lib/prism/node.rb#9768 class Prism::InstanceVariableAndWriteNode < ::Prism::Node # Initialize a new InstanceVariableAndWriteNode node. # # @return [InstanceVariableAndWriteNode] a new instance of InstanceVariableAndWriteNode # - # source://prism/lib/prism/node.rb#9770 + # source://prism//lib/prism/node.rb#9770 sig do params( source: Prism::Source, @@ -20044,36 +20044,36 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9868 + # source://prism//lib/prism/node.rb#9868 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9782 + # source://prism//lib/prism/node.rb#9782 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9787 + # source://prism//lib/prism/node.rb#9787 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9797 + # source://prism//lib/prism/node.rb#9797 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9792 + # source://prism//lib/prism/node.rb#9792 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> InstanceVariableAndWriteNode # - # source://prism/lib/prism/node.rb#9802 + # source://prism//lib/prism/node.rb#9802 sig do params( node_id: Integer, @@ -20090,17 +20090,17 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9787 + # source://prism//lib/prism/node.rb#9807 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#9810 + # source://prism//lib/prism/node.rb#9810 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#218 + # source://prism//lib/prism/desugar_compiler.rb#218 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20108,62 +20108,62 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#9852 + # source://prism//lib/prism/node.rb#9852 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#9815 + # source://prism//lib/prism/node.rb#9815 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#9818 + # source://prism//lib/prism/node.rb#9818 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#9847 + # source://prism//lib/prism/node.rb#9847 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#9831 + # source://prism//lib/prism/node.rb#9831 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9826 + # source://prism//lib/prism/node.rb#9826 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9839 + # source://prism//lib/prism/node.rb#9839 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9857 + # source://prism//lib/prism/node.rb#9857 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#9844 + # source://prism//lib/prism/node.rb#9844 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9862 + # source://prism//lib/prism/node.rb#9862 def type; end end end @@ -20173,13 +20173,13 @@ end # @target += value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9881 +# source://prism//lib/prism/node.rb#9881 class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # Initialize a new InstanceVariableOperatorWriteNode node. # # @return [InstanceVariableOperatorWriteNode] a new instance of InstanceVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#9883 + # source://prism//lib/prism/node.rb#9883 sig do params( source: Prism::Source, @@ -20198,48 +20198,48 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#9980 + # source://prism//lib/prism/node.rb#9980 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#9896 + # source://prism//lib/prism/node.rb#9896 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#9961 + # source://prism//lib/prism/node.rb#9961 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#9945 + # source://prism//lib/prism/node.rb#9945 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9901 + # source://prism//lib/prism/node.rb#9901 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#9911 + # source://prism//lib/prism/node.rb#9911 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#9906 + # source://prism//lib/prism/node.rb#9906 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?binary_operator_loc: Location, ?value: Prism::node, ?binary_operator: Symbol) -> InstanceVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#9916 + # source://prism//lib/prism/node.rb#9916 sig do params( node_id: Integer, @@ -20257,17 +20257,17 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#9901 + # source://prism//lib/prism/node.rb#9921 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, binary_operator_loc: Location, value: Prism::node, binary_operator: Symbol } # - # source://prism/lib/prism/node.rb#9924 + # source://prism//lib/prism/node.rb#9924 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#230 + # source://prism//lib/prism/desugar_compiler.rb#230 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20275,62 +20275,62 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#9964 + # source://prism//lib/prism/node.rb#9964 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#9929 + # source://prism//lib/prism/node.rb#9929 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#9932 + # source://prism//lib/prism/node.rb#9932 sig { returns(Prism::Location) } def name_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#435 + # source://prism//lib/prism/node_ext.rb#435 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#442 + # source://prism//lib/prism/node_ext.rb#442 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9953 + # source://prism//lib/prism/node.rb#9953 def save_binary_operator_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#9940 + # source://prism//lib/prism/node.rb#9940 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#9969 + # source://prism//lib/prism/node.rb#9969 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#9958 + # source://prism//lib/prism/node.rb#9958 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#9974 + # source://prism//lib/prism/node.rb#9974 def type; end end end @@ -20340,13 +20340,13 @@ end # @target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#9994 +# source://prism//lib/prism/node.rb#9994 class Prism::InstanceVariableOrWriteNode < ::Prism::Node # Initialize a new InstanceVariableOrWriteNode node. # # @return [InstanceVariableOrWriteNode] a new instance of InstanceVariableOrWriteNode # - # source://prism/lib/prism/node.rb#9996 + # source://prism//lib/prism/node.rb#9996 sig do params( source: Prism::Source, @@ -20364,36 +20364,36 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10094 + # source://prism//lib/prism/node.rb#10094 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10008 + # source://prism//lib/prism/node.rb#10008 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10013 + # source://prism//lib/prism/node.rb#10013 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10023 + # source://prism//lib/prism/node.rb#10023 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10018 + # source://prism//lib/prism/node.rb#10018 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> InstanceVariableOrWriteNode # - # source://prism/lib/prism/node.rb#10028 + # source://prism//lib/prism/node.rb#10028 sig do params( node_id: Integer, @@ -20410,17 +20410,17 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10013 + # source://prism//lib/prism/node.rb#10033 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#10036 + # source://prism//lib/prism/node.rb#10036 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end - # source://prism/lib/prism/desugar_compiler.rb#224 + # source://prism//lib/prism/desugar_compiler.rb#224 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20428,62 +20428,62 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#10078 + # source://prism//lib/prism/node.rb#10078 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#10041 + # source://prism//lib/prism/node.rb#10041 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#10044 + # source://prism//lib/prism/node.rb#10044 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#10073 + # source://prism//lib/prism/node.rb#10073 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#10057 + # source://prism//lib/prism/node.rb#10057 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10052 + # source://prism//lib/prism/node.rb#10052 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10065 + # source://prism//lib/prism/node.rb#10065 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10083 + # source://prism//lib/prism/node.rb#10083 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#10070 + # source://prism//lib/prism/node.rb#10070 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10088 + # source://prism//lib/prism/node.rb#10088 def type; end end end @@ -20493,49 +20493,49 @@ end # @foo # ^^^^ # -# source://prism/lib/prism/node.rb#10107 +# source://prism//lib/prism/node.rb#10107 class Prism::InstanceVariableReadNode < ::Prism::Node # Initialize a new InstanceVariableReadNode node. # # @return [InstanceVariableReadNode] a new instance of InstanceVariableReadNode # - # source://prism/lib/prism/node.rb#10109 + # source://prism//lib/prism/node.rb#10109 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10174 + # source://prism//lib/prism/node.rb#10174 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10118 + # source://prism//lib/prism/node.rb#10118 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10123 + # source://prism//lib/prism/node.rb#10123 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10133 + # source://prism//lib/prism/node.rb#10133 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10128 + # source://prism//lib/prism/node.rb#10128 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> InstanceVariableReadNode # - # source://prism/lib/prism/node.rb#10138 + # source://prism//lib/prism/node.rb#10138 sig do params( node_id: Integer, @@ -20549,13 +20549,13 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10123 + # source://prism//lib/prism/node.rb#10143 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#10146 + # source://prism//lib/prism/node.rb#10146 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20564,7 +20564,7 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#10158 + # source://prism//lib/prism/node.rb#10158 sig { override.returns(String) } def inspect; end @@ -20574,20 +20574,20 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # # @_test # name `:@_test` # - # source://prism/lib/prism/node.rb#10155 + # source://prism//lib/prism/node.rb#10155 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10163 + # source://prism//lib/prism/node.rb#10163 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10168 + # source://prism//lib/prism/node.rb#10168 def type; end end end @@ -20597,49 +20597,49 @@ end # @foo, @bar = baz # ^^^^ ^^^^ # -# source://prism/lib/prism/node.rb#10184 +# source://prism//lib/prism/node.rb#10184 class Prism::InstanceVariableTargetNode < ::Prism::Node # Initialize a new InstanceVariableTargetNode node. # # @return [InstanceVariableTargetNode] a new instance of InstanceVariableTargetNode # - # source://prism/lib/prism/node.rb#10186 + # source://prism//lib/prism/node.rb#10186 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10247 + # source://prism//lib/prism/node.rb#10247 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10195 + # source://prism//lib/prism/node.rb#10195 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10200 + # source://prism//lib/prism/node.rb#10200 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10210 + # source://prism//lib/prism/node.rb#10210 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10205 + # source://prism//lib/prism/node.rb#10205 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> InstanceVariableTargetNode # - # source://prism/lib/prism/node.rb#10215 + # source://prism//lib/prism/node.rb#10215 sig do params( node_id: Integer, @@ -20653,13 +20653,13 @@ class Prism::InstanceVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10200 + # source://prism//lib/prism/node.rb#10220 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#10223 + # source://prism//lib/prism/node.rb#10223 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20668,26 +20668,26 @@ class Prism::InstanceVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#10231 + # source://prism//lib/prism/node.rb#10231 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#10228 + # source://prism//lib/prism/node.rb#10228 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10236 + # source://prism//lib/prism/node.rb#10236 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10241 + # source://prism//lib/prism/node.rb#10241 def type; end end end @@ -20697,13 +20697,13 @@ end # @foo = 1 # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#10257 +# source://prism//lib/prism/node.rb#10257 class Prism::InstanceVariableWriteNode < ::Prism::Node # Initialize a new InstanceVariableWriteNode node. # # @return [InstanceVariableWriteNode] a new instance of InstanceVariableWriteNode # - # source://prism/lib/prism/node.rb#10259 + # source://prism//lib/prism/node.rb#10259 sig do params( source: Prism::Source, @@ -20721,36 +20721,36 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10373 + # source://prism//lib/prism/node.rb#10373 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10271 + # source://prism//lib/prism/node.rb#10271 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10276 + # source://prism//lib/prism/node.rb#10276 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10286 + # source://prism//lib/prism/node.rb#10286 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10281 + # source://prism//lib/prism/node.rb#10281 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?value: Prism::node, ?operator_loc: Location) -> InstanceVariableWriteNode # - # source://prism/lib/prism/node.rb#10291 + # source://prism//lib/prism/node.rb#10291 sig do params( node_id: Integer, @@ -20767,13 +20767,13 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10276 + # source://prism//lib/prism/node.rb#10296 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, value: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#10299 + # source://prism//lib/prism/node.rb#10299 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20782,7 +20782,7 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#10357 + # source://prism//lib/prism/node.rb#10357 sig { override.returns(String) } def inspect; end @@ -20792,7 +20792,7 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # # @_foo = "bar" # name `@_foo` # - # source://prism/lib/prism/node.rb#10308 + # source://prism//lib/prism/node.rb#10308 sig { returns(Symbol) } def name; end @@ -20801,13 +20801,13 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @_x = 1 # ^^^ # - # source://prism/lib/prism/node.rb#10314 + # source://prism//lib/prism/node.rb#10314 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#10352 + # source://prism//lib/prism/node.rb#10352 sig { returns(String) } def operator; end @@ -20816,25 +20816,25 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @x = y # ^ # - # source://prism/lib/prism/node.rb#10339 + # source://prism//lib/prism/node.rb#10339 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10322 + # source://prism//lib/prism/node.rb#10322 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10347 + # source://prism//lib/prism/node.rb#10347 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10362 + # source://prism//lib/prism/node.rb#10362 sig { override.returns(Symbol) } def type; end @@ -20846,41 +20846,41 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @_x = 1234 # ^^^^ # - # source://prism/lib/prism/node.rb#10333 + # source://prism//lib/prism/node.rb#10333 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10367 + # source://prism//lib/prism/node.rb#10367 def type; end end end # Flags for integer nodes that correspond to the base of the integer. # -# source://prism/lib/prism/node.rb#18475 +# source://prism//lib/prism/node.rb#18475 module Prism::IntegerBaseFlags; end # 0b prefix # -# source://prism/lib/prism/node.rb#18477 +# source://prism//lib/prism/node.rb#18477 Prism::IntegerBaseFlags::BINARY = T.let(T.unsafe(nil), Integer) # 0d or no prefix # -# source://prism/lib/prism/node.rb#18480 +# source://prism//lib/prism/node.rb#18480 Prism::IntegerBaseFlags::DECIMAL = T.let(T.unsafe(nil), Integer) # 0x prefix # -# source://prism/lib/prism/node.rb#18486 +# source://prism//lib/prism/node.rb#18486 Prism::IntegerBaseFlags::HEXADECIMAL = T.let(T.unsafe(nil), Integer) # 0o or 0 prefix # -# source://prism/lib/prism/node.rb#18483 +# source://prism//lib/prism/node.rb#18483 Prism::IntegerBaseFlags::OCTAL = T.let(T.unsafe(nil), Integer) # Represents an integer number literal. @@ -20888,13 +20888,13 @@ Prism::IntegerBaseFlags::OCTAL = T.let(T.unsafe(nil), Integer) # 1 # ^ # -# source://prism/lib/prism/node.rb#10386 +# source://prism//lib/prism/node.rb#10386 class Prism::IntegerNode < ::Prism::Node # Initialize a new IntegerNode node. # # @return [IntegerNode] a new instance of IntegerNode # - # source://prism/lib/prism/node.rb#10388 + # source://prism//lib/prism/node.rb#10388 sig do params( source: Prism::Source, @@ -20909,12 +20909,12 @@ class Prism::IntegerNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10469 + # source://prism//lib/prism/node.rb#10469 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10397 + # source://prism//lib/prism/node.rb#10397 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -20922,31 +20922,31 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10430 + # source://prism//lib/prism/node.rb#10430 sig { returns(T::Boolean) } def binary?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10402 + # source://prism//lib/prism/node.rb#10402 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10412 + # source://prism//lib/prism/node.rb#10412 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10407 + # source://prism//lib/prism/node.rb#10407 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Integer) -> IntegerNode # - # source://prism/lib/prism/node.rb#10417 + # source://prism//lib/prism/node.rb#10417 sig do params( node_id: Integer, @@ -20961,20 +20961,20 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10435 + # source://prism//lib/prism/node.rb#10435 sig { returns(T::Boolean) } def decimal?; end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10402 + # source://prism//lib/prism/node.rb#10422 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Integer } # - # source://prism/lib/prism/node.rb#10425 + # source://prism//lib/prism/node.rb#10425 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20985,13 +20985,13 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10445 + # source://prism//lib/prism/node.rb#10445 sig { returns(T::Boolean) } def hexadecimal?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#10453 + # source://prism//lib/prism/node.rb#10453 sig { override.returns(String) } def inspect; end @@ -20999,26 +20999,26 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10440 + # source://prism//lib/prism/node.rb#10440 sig { returns(T::Boolean) } def octal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10458 + # source://prism//lib/prism/node.rb#10458 sig { override.returns(Symbol) } def type; end # The value of the integer literal as a number. # - # source://prism/lib/prism/node.rb#10450 + # source://prism//lib/prism/node.rb#10450 sig { returns(Integer) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10463 + # source://prism//lib/prism/node.rb#10463 def type; end end end @@ -21028,7 +21028,7 @@ end # if /foo #{bar} baz/ then end # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#10480 +# source://prism//lib/prism/node.rb#10480 class Prism::InterpolatedMatchLastLineNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -21036,7 +21036,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [InterpolatedMatchLastLineNode] a new instance of InterpolatedMatchLastLineNode # - # source://prism/lib/prism/node.rb#10482 + # source://prism//lib/prism/node.rb#10482 sig do params( source: Prism::Source, @@ -21053,12 +21053,12 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10636 + # source://prism//lib/prism/node.rb#10636 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10493 + # source://prism//lib/prism/node.rb#10493 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -21066,43 +21066,43 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10551 + # source://prism//lib/prism/node.rb#10551 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10498 + # source://prism//lib/prism/node.rb#10498 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#10615 + # source://prism//lib/prism/node.rb#10615 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#10597 + # source://prism//lib/prism/node.rb#10597 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10508 + # source://prism//lib/prism/node.rb#10508 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10503 + # source://prism//lib/prism/node.rb#10503 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], ?closing_loc: Location) -> InterpolatedMatchLastLineNode # - # source://prism/lib/prism/node.rb#10513 + # source://prism//lib/prism/node.rb#10513 sig do params( node_id: Integer, @@ -21118,13 +21118,13 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10498 + # source://prism//lib/prism/node.rb#10518 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], closing_loc: Location } # - # source://prism/lib/prism/node.rb#10521 + # source://prism//lib/prism/node.rb#10521 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21132,7 +21132,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10546 + # source://prism//lib/prism/node.rb#10546 sig { returns(T::Boolean) } def euc_jp?; end @@ -21140,7 +21140,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10531 + # source://prism//lib/prism/node.rb#10531 sig { returns(T::Boolean) } def extended?; end @@ -21151,7 +21151,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10571 + # source://prism//lib/prism/node.rb#10571 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -21159,7 +21159,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10576 + # source://prism//lib/prism/node.rb#10576 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -21167,7 +21167,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10566 + # source://prism//lib/prism/node.rb#10566 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -21175,13 +21175,13 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10526 + # source://prism//lib/prism/node.rb#10526 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#10620 + # source://prism//lib/prism/node.rb#10620 sig { override.returns(String) } def inspect; end @@ -21189,30 +21189,30 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10536 + # source://prism//lib/prism/node.rb#10536 sig { returns(T::Boolean) } def multi_line?; end - # source://prism/lib/prism/parse_result/newlines.rb#121 + # source://prism//lib/prism/parse_result/newlines.rb#121 def newline_flag!(lines); end # def once?: () -> bool # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10541 + # source://prism//lib/prism/node.rb#10541 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#10610 + # source://prism//lib/prism/node.rb#10610 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#10581 + # source://prism//lib/prism/node.rb#10581 sig { returns(Prism::Location) } def opening_loc; end @@ -21221,25 +21221,25 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism/lib/prism/node.rb#10594 + # source://prism//lib/prism/node.rb#10594 sig { returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode)]) } def parts; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10605 + # source://prism//lib/prism/node.rb#10605 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10589 + # source://prism//lib/prism/node.rb#10589 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10625 + # source://prism//lib/prism/node.rb#10625 sig { override.returns(Symbol) } def type; end @@ -21247,7 +21247,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10561 + # source://prism//lib/prism/node.rb#10561 sig { returns(T::Boolean) } def utf_8?; end @@ -21255,14 +21255,14 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10556 + # source://prism//lib/prism/node.rb#10556 sig { returns(T::Boolean) } def windows_31j?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10630 + # source://prism//lib/prism/node.rb#10630 def type; end end end @@ -21272,7 +21272,7 @@ end # /foo #{bar} baz/ # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#10650 +# source://prism//lib/prism/node.rb#10650 class Prism::InterpolatedRegularExpressionNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -21280,7 +21280,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [InterpolatedRegularExpressionNode] a new instance of InterpolatedRegularExpressionNode # - # source://prism/lib/prism/node.rb#10652 + # source://prism//lib/prism/node.rb#10652 sig do params( source: Prism::Source, @@ -21297,12 +21297,12 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10806 + # source://prism//lib/prism/node.rb#10806 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10663 + # source://prism//lib/prism/node.rb#10663 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -21310,43 +21310,43 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10721 + # source://prism//lib/prism/node.rb#10721 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10668 + # source://prism//lib/prism/node.rb#10668 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#10785 + # source://prism//lib/prism/node.rb#10785 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#10767 + # source://prism//lib/prism/node.rb#10767 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10678 + # source://prism//lib/prism/node.rb#10678 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10673 + # source://prism//lib/prism/node.rb#10673 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], ?closing_loc: Location) -> InterpolatedRegularExpressionNode # - # source://prism/lib/prism/node.rb#10683 + # source://prism//lib/prism/node.rb#10683 sig do params( node_id: Integer, @@ -21362,13 +21362,13 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10668 + # source://prism//lib/prism/node.rb#10688 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], closing_loc: Location } # - # source://prism/lib/prism/node.rb#10691 + # source://prism//lib/prism/node.rb#10691 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21376,7 +21376,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10716 + # source://prism//lib/prism/node.rb#10716 sig { returns(T::Boolean) } def euc_jp?; end @@ -21384,7 +21384,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10701 + # source://prism//lib/prism/node.rb#10701 sig { returns(T::Boolean) } def extended?; end @@ -21395,7 +21395,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10741 + # source://prism//lib/prism/node.rb#10741 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -21403,7 +21403,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10746 + # source://prism//lib/prism/node.rb#10746 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -21411,7 +21411,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10736 + # source://prism//lib/prism/node.rb#10736 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -21419,13 +21419,13 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10696 + # source://prism//lib/prism/node.rb#10696 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#10790 + # source://prism//lib/prism/node.rb#10790 sig { override.returns(String) } def inspect; end @@ -21433,30 +21433,30 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10706 + # source://prism//lib/prism/node.rb#10706 sig { returns(T::Boolean) } def multi_line?; end - # source://prism/lib/prism/parse_result/newlines.rb#128 + # source://prism//lib/prism/parse_result/newlines.rb#128 def newline_flag!(lines); end # def once?: () -> bool # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10711 + # source://prism//lib/prism/node.rb#10711 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#10780 + # source://prism//lib/prism/node.rb#10780 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#10751 + # source://prism//lib/prism/node.rb#10751 sig { returns(Prism::Location) } def opening_loc; end @@ -21465,25 +21465,25 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism/lib/prism/node.rb#10764 + # source://prism//lib/prism/node.rb#10764 sig { returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode)]) } def parts; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10775 + # source://prism//lib/prism/node.rb#10775 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10759 + # source://prism//lib/prism/node.rb#10759 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10795 + # source://prism//lib/prism/node.rb#10795 sig { override.returns(Symbol) } def type; end @@ -21491,7 +21491,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10731 + # source://prism//lib/prism/node.rb#10731 sig { returns(T::Boolean) } def utf_8?; end @@ -21499,14 +21499,14 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10726 + # source://prism//lib/prism/node.rb#10726 sig { returns(T::Boolean) } def windows_31j?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10800 + # source://prism//lib/prism/node.rb#10800 def type; end end end @@ -21516,7 +21516,7 @@ end # "foo #{bar} baz" # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#10820 +# source://prism//lib/prism/node.rb#10820 class Prism::InterpolatedStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -21524,7 +21524,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [InterpolatedStringNode] a new instance of InterpolatedStringNode # - # source://prism/lib/prism/node.rb#10822 + # source://prism//lib/prism/node.rb#10822 sig do params( source: Prism::Source, @@ -21541,48 +21541,48 @@ class Prism::InterpolatedStringNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#10943 + # source://prism//lib/prism/node.rb#10943 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10833 + # source://prism//lib/prism/node.rb#10833 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10838 + # source://prism//lib/prism/node.rb#10838 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#10922 + # source://prism//lib/prism/node.rb#10922 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#10898 + # source://prism//lib/prism/node.rb#10898 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10848 + # source://prism//lib/prism/node.rb#10848 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10843 + # source://prism//lib/prism/node.rb#10843 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location?, ?parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode | InterpolatedStringNode], ?closing_loc: Location?) -> InterpolatedStringNode # - # source://prism/lib/prism/node.rb#10853 + # source://prism//lib/prism/node.rb#10853 sig do params( node_id: Integer, @@ -21598,13 +21598,13 @@ class Prism::InterpolatedStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10838 + # source://prism//lib/prism/node.rb#10858 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location?, parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode | InterpolatedStringNode], closing_loc: Location? } # - # source://prism/lib/prism/node.rb#10861 + # source://prism//lib/prism/node.rb#10861 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21615,7 +21615,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10866 + # source://prism//lib/prism/node.rb#10866 sig { returns(T::Boolean) } def frozen?; end @@ -21624,7 +21624,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#10927 + # source://prism//lib/prism/node.rb#10927 sig { override.returns(String) } def inspect; end @@ -21632,28 +21632,28 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#10871 + # source://prism//lib/prism/node.rb#10871 sig { returns(T::Boolean) } def mutable?; end - # source://prism/lib/prism/parse_result/newlines.rb#135 + # source://prism//lib/prism/parse_result/newlines.rb#135 def newline_flag!(lines); end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#10917 + # source://prism//lib/prism/node.rb#10917 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#10876 + # source://prism//lib/prism/node.rb#10876 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode | InterpolatedStringNode] # - # source://prism/lib/prism/node.rb#10895 + # source://prism//lib/prism/node.rb#10895 sig do returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode, Prism::InterpolatedStringNode)]) end @@ -21662,38 +21662,38 @@ class Prism::InterpolatedStringNode < ::Prism::Node # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10912 + # source://prism//lib/prism/node.rb#10912 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#10890 + # source://prism//lib/prism/node.rb#10890 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#10932 + # source://prism//lib/prism/node.rb#10932 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#10937 + # source://prism//lib/prism/node.rb#10937 def type; end end end # Flags for interpolated string nodes that indicated mutability if they are also marked as literals. # -# source://prism/lib/prism/node.rb#18490 +# source://prism//lib/prism/node.rb#18490 module Prism::InterpolatedStringNodeFlags; end -# source://prism/lib/prism/node.rb#18492 +# source://prism//lib/prism/node.rb#18492 Prism::InterpolatedStringNodeFlags::FROZEN = T.let(T.unsafe(nil), Integer) -# source://prism/lib/prism/node.rb#18495 +# source://prism//lib/prism/node.rb#18495 Prism::InterpolatedStringNodeFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # Represents a symbol literal that contains interpolation. @@ -21701,13 +21701,13 @@ Prism::InterpolatedStringNodeFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # :"foo #{bar} baz" # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#10957 +# source://prism//lib/prism/node.rb#10957 class Prism::InterpolatedSymbolNode < ::Prism::Node # Initialize a new InterpolatedSymbolNode node. # # @return [InterpolatedSymbolNode] a new instance of InterpolatedSymbolNode # - # source://prism/lib/prism/node.rb#10959 + # source://prism//lib/prism/node.rb#10959 sig do params( source: Prism::Source, @@ -21724,48 +21724,48 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11070 + # source://prism//lib/prism/node.rb#11070 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#10970 + # source://prism//lib/prism/node.rb#10970 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10975 + # source://prism//lib/prism/node.rb#10975 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#11049 + # source://prism//lib/prism/node.rb#11049 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#11025 + # source://prism//lib/prism/node.rb#11025 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#10985 + # source://prism//lib/prism/node.rb#10985 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#10980 + # source://prism//lib/prism/node.rb#10980 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location?, ?parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], ?closing_loc: Location?) -> InterpolatedSymbolNode # - # source://prism/lib/prism/node.rb#10990 + # source://prism//lib/prism/node.rb#10990 sig do params( node_id: Integer, @@ -21781,13 +21781,13 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#10975 + # source://prism//lib/prism/node.rb#10995 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location?, parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], closing_loc: Location? } # - # source://prism/lib/prism/node.rb#10998 + # source://prism//lib/prism/node.rb#10998 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21796,53 +21796,53 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11054 + # source://prism//lib/prism/node.rb#11054 sig { override.returns(String) } def inspect; end - # source://prism/lib/prism/parse_result/newlines.rb#142 + # source://prism//lib/prism/parse_result/newlines.rb#142 def newline_flag!(lines); end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#11044 + # source://prism//lib/prism/node.rb#11044 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#11003 + # source://prism//lib/prism/node.rb#11003 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism/lib/prism/node.rb#11022 + # source://prism//lib/prism/node.rb#11022 sig { returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode)]) } def parts; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11039 + # source://prism//lib/prism/node.rb#11039 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11017 + # source://prism//lib/prism/node.rb#11017 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11059 + # source://prism//lib/prism/node.rb#11059 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11064 + # source://prism//lib/prism/node.rb#11064 def type; end end end @@ -21852,7 +21852,7 @@ end # `foo #{bar} baz` # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11083 +# source://prism//lib/prism/node.rb#11083 class Prism::InterpolatedXStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -21860,7 +21860,7 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # # @return [InterpolatedXStringNode] a new instance of InterpolatedXStringNode # - # source://prism/lib/prism/node.rb#11085 + # source://prism//lib/prism/node.rb#11085 sig do params( source: Prism::Source, @@ -21877,48 +21877,48 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11184 + # source://prism//lib/prism/node.rb#11184 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11096 + # source://prism//lib/prism/node.rb#11096 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11101 + # source://prism//lib/prism/node.rb#11101 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#11163 + # source://prism//lib/prism/node.rb#11163 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#11145 + # source://prism//lib/prism/node.rb#11145 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11111 + # source://prism//lib/prism/node.rb#11111 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11106 + # source://prism//lib/prism/node.rb#11106 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], ?closing_loc: Location) -> InterpolatedXStringNode # - # source://prism/lib/prism/node.rb#11116 + # source://prism//lib/prism/node.rb#11116 sig do params( node_id: Integer, @@ -21934,13 +21934,13 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11101 + # source://prism//lib/prism/node.rb#11121 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode], closing_loc: Location } # - # source://prism/lib/prism/node.rb#11124 + # source://prism//lib/prism/node.rb#11124 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21952,53 +21952,53 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11168 + # source://prism//lib/prism/node.rb#11168 sig { override.returns(String) } def inspect; end - # source://prism/lib/prism/parse_result/newlines.rb#149 + # source://prism//lib/prism/parse_result/newlines.rb#149 def newline_flag!(lines); end # def opening: () -> String # - # source://prism/lib/prism/node.rb#11158 + # source://prism//lib/prism/node.rb#11158 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#11129 + # source://prism//lib/prism/node.rb#11129 sig { returns(Prism::Location) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism/lib/prism/node.rb#11142 + # source://prism//lib/prism/node.rb#11142 sig { returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode)]) } def parts; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11153 + # source://prism//lib/prism/node.rb#11153 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11137 + # source://prism//lib/prism/node.rb#11137 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11173 + # source://prism//lib/prism/node.rb#11173 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11178 + # source://prism//lib/prism/node.rb#11178 def type; end end end @@ -22008,62 +22008,62 @@ end # -> { it } # ^^ # -# source://prism/lib/prism/node.rb#11197 +# source://prism//lib/prism/node.rb#11197 class Prism::ItLocalVariableReadNode < ::Prism::Node # Initialize a new ItLocalVariableReadNode node. # # @return [ItLocalVariableReadNode] a new instance of ItLocalVariableReadNode # - # source://prism/lib/prism/node.rb#11199 + # source://prism//lib/prism/node.rb#11199 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11256 + # source://prism//lib/prism/node.rb#11256 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11207 + # source://prism//lib/prism/node.rb#11207 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11212 + # source://prism//lib/prism/node.rb#11212 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11222 + # source://prism//lib/prism/node.rb#11222 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11217 + # source://prism//lib/prism/node.rb#11217 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> ItLocalVariableReadNode # - # source://prism/lib/prism/node.rb#11227 + # source://prism//lib/prism/node.rb#11227 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::ItLocalVariableReadNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11212 + # source://prism//lib/prism/node.rb#11232 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#11235 + # source://prism//lib/prism/node.rb#11235 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22072,20 +22072,20 @@ class Prism::ItLocalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11240 + # source://prism//lib/prism/node.rb#11240 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11245 + # source://prism//lib/prism/node.rb#11245 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11250 + # source://prism//lib/prism/node.rb#11250 def type; end end end @@ -22095,62 +22095,62 @@ end # -> { it + it } # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11265 +# source://prism//lib/prism/node.rb#11265 class Prism::ItParametersNode < ::Prism::Node # Initialize a new ItParametersNode node. # # @return [ItParametersNode] a new instance of ItParametersNode # - # source://prism/lib/prism/node.rb#11267 + # source://prism//lib/prism/node.rb#11267 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11324 + # source://prism//lib/prism/node.rb#11324 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11275 + # source://prism//lib/prism/node.rb#11275 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11280 + # source://prism//lib/prism/node.rb#11280 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11290 + # source://prism//lib/prism/node.rb#11290 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11285 + # source://prism//lib/prism/node.rb#11285 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> ItParametersNode # - # source://prism/lib/prism/node.rb#11295 + # source://prism//lib/prism/node.rb#11295 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::ItParametersNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11280 + # source://prism//lib/prism/node.rb#11300 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#11303 + # source://prism//lib/prism/node.rb#11303 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22159,20 +22159,20 @@ class Prism::ItParametersNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11308 + # source://prism//lib/prism/node.rb#11308 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11313 + # source://prism//lib/prism/node.rb#11313 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11318 + # source://prism//lib/prism/node.rb#11318 def type; end end end @@ -22182,13 +22182,13 @@ end # foo(a: b) # ^^^^ # -# source://prism/lib/prism/node.rb#11333 +# source://prism//lib/prism/node.rb#11333 class Prism::KeywordHashNode < ::Prism::Node # Initialize a new KeywordHashNode node. # # @return [KeywordHashNode] a new instance of KeywordHashNode # - # source://prism/lib/prism/node.rb#11335 + # source://prism//lib/prism/node.rb#11335 sig do params( source: Prism::Source, @@ -22203,36 +22203,36 @@ class Prism::KeywordHashNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11401 + # source://prism//lib/prism/node.rb#11401 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11344 + # source://prism//lib/prism/node.rb#11344 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11349 + # source://prism//lib/prism/node.rb#11349 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11359 + # source://prism//lib/prism/node.rb#11359 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11354 + # source://prism//lib/prism/node.rb#11354 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?elements: Array[AssocNode | AssocSplatNode]) -> KeywordHashNode # - # source://prism/lib/prism/node.rb#11364 + # source://prism//lib/prism/node.rb#11364 sig do params( node_id: Integer, @@ -22246,19 +22246,19 @@ class Prism::KeywordHashNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11349 + # source://prism//lib/prism/node.rb#11369 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, elements: Array[AssocNode | AssocSplatNode] } # - # source://prism/lib/prism/node.rb#11372 + # source://prism//lib/prism/node.rb#11372 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader elements: Array[AssocNode | AssocSplatNode] # - # source://prism/lib/prism/node.rb#11382 + # source://prism//lib/prism/node.rb#11382 sig { returns(T::Array[T.any(Prism::AssocNode, Prism::AssocSplatNode)]) } def elements; end @@ -22267,7 +22267,7 @@ class Prism::KeywordHashNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11385 + # source://prism//lib/prism/node.rb#11385 sig { override.returns(String) } def inspect; end @@ -22275,32 +22275,32 @@ class Prism::KeywordHashNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#11377 + # source://prism//lib/prism/node.rb#11377 sig { returns(T::Boolean) } def symbol_keys?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11390 + # source://prism//lib/prism/node.rb#11390 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11395 + # source://prism//lib/prism/node.rb#11395 def type; end end end # Flags for keyword hash nodes. # -# source://prism/lib/prism/node.rb#18499 +# source://prism//lib/prism/node.rb#18499 module Prism::KeywordHashNodeFlags; end # a keyword hash which only has `AssocNode` elements all with symbol keys, which means the elements can be treated as keyword arguments # -# source://prism/lib/prism/node.rb#18501 +# source://prism//lib/prism/node.rb#18501 Prism::KeywordHashNodeFlags::SYMBOL_KEYS = T.let(T.unsafe(nil), Integer) # Represents a keyword rest parameter to a method, block, or lambda definition. @@ -22309,13 +22309,13 @@ Prism::KeywordHashNodeFlags::SYMBOL_KEYS = T.let(T.unsafe(nil), Integer) # ^^^ # end # -# source://prism/lib/prism/node.rb#11414 +# source://prism//lib/prism/node.rb#11414 class Prism::KeywordRestParameterNode < ::Prism::Node # Initialize a new KeywordRestParameterNode node. # # @return [KeywordRestParameterNode] a new instance of KeywordRestParameterNode # - # source://prism/lib/prism/node.rb#11416 + # source://prism//lib/prism/node.rb#11416 sig do params( source: Prism::Source, @@ -22332,36 +22332,36 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11521 + # source://prism//lib/prism/node.rb#11521 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11427 + # source://prism//lib/prism/node.rb#11427 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11432 + # source://prism//lib/prism/node.rb#11432 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11442 + # source://prism//lib/prism/node.rb#11442 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11437 + # source://prism//lib/prism/node.rb#11437 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol?, ?name_loc: Location?, ?operator_loc: Location) -> KeywordRestParameterNode # - # source://prism/lib/prism/node.rb#11447 + # source://prism//lib/prism/node.rb#11447 sig do params( node_id: Integer, @@ -22377,13 +22377,13 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11432 + # source://prism//lib/prism/node.rb#11452 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol?, name_loc: Location?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#11455 + # source://prism//lib/prism/node.rb#11455 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22392,31 +22392,31 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11505 + # source://prism//lib/prism/node.rb#11505 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism/lib/prism/node.rb#11465 + # source://prism//lib/prism/node.rb#11465 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location? # - # source://prism/lib/prism/node.rb#11468 + # source://prism//lib/prism/node.rb#11468 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#11500 + # source://prism//lib/prism/node.rb#11500 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#11487 + # source://prism//lib/prism/node.rb#11487 sig { returns(Prism::Location) } def operator_loc; end @@ -22424,32 +22424,32 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#11460 + # source://prism//lib/prism/node.rb#11460 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11482 + # source://prism//lib/prism/node.rb#11482 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11495 + # source://prism//lib/prism/node.rb#11495 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11510 + # source://prism//lib/prism/node.rb#11510 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11515 + # source://prism//lib/prism/node.rb#11515 def type; end end end @@ -22459,13 +22459,13 @@ end # ->(value) { value * 2 } # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11534 +# source://prism//lib/prism/node.rb#11534 class Prism::LambdaNode < ::Prism::Node # Initialize a new LambdaNode node. # # @return [LambdaNode] a new instance of LambdaNode # - # source://prism/lib/prism/node.rb#11536 + # source://prism//lib/prism/node.rb#11536 sig do params( source: Prism::Source, @@ -22485,54 +22485,54 @@ class Prism::LambdaNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11665 + # source://prism//lib/prism/node.rb#11665 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11550 + # source://prism//lib/prism/node.rb#11550 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: StatementsNode | BeginNode | nil # - # source://prism/lib/prism/node.rb#11631 + # source://prism//lib/prism/node.rb#11631 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11555 + # source://prism//lib/prism/node.rb#11555 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#11644 + # source://prism//lib/prism/node.rb#11644 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#11615 + # source://prism//lib/prism/node.rb#11615 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11568 + # source://prism//lib/prism/node.rb#11568 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11560 + # source://prism//lib/prism/node.rb#11560 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?operator_loc: Location, ?opening_loc: Location, ?closing_loc: Location, ?parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil, ?body: StatementsNode | BeginNode | nil) -> LambdaNode # - # source://prism/lib/prism/node.rb#11573 + # source://prism//lib/prism/node.rb#11573 sig do params( node_id: Integer, @@ -22551,13 +22551,13 @@ class Prism::LambdaNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11555 + # source://prism//lib/prism/node.rb#11578 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], operator_loc: Location, opening_loc: Location, closing_loc: Location, parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil, body: StatementsNode | BeginNode | nil } # - # source://prism/lib/prism/node.rb#11581 + # source://prism//lib/prism/node.rb#11581 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22566,74 +22566,74 @@ class Prism::LambdaNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11649 + # source://prism//lib/prism/node.rb#11649 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#11586 + # source://prism//lib/prism/node.rb#11586 sig { returns(T::Array[Symbol]) } def locals; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#11639 + # source://prism//lib/prism/node.rb#11639 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#11602 + # source://prism//lib/prism/node.rb#11602 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#11634 + # source://prism//lib/prism/node.rb#11634 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#11589 + # source://prism//lib/prism/node.rb#11589 sig { returns(Prism::Location) } def operator_loc; end # attr_reader parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil # - # source://prism/lib/prism/node.rb#11628 + # source://prism//lib/prism/node.rb#11628 sig { returns(T.nilable(T.any(Prism::BlockParametersNode, Prism::NumberedParametersNode, Prism::ItParametersNode))) } def parameters; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11623 + # source://prism//lib/prism/node.rb#11623 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11610 + # source://prism//lib/prism/node.rb#11610 def save_opening_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11597 + # source://prism//lib/prism/node.rb#11597 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11654 + # source://prism//lib/prism/node.rb#11654 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11659 + # source://prism//lib/prism/node.rb#11659 def type; end end end @@ -22644,33 +22644,33 @@ end # generally lines up. However, there are a few cases that require special # handling. # -# source://prism/lib/prism/lex_compat.rb#12 +# source://prism//lib/prism/lex_compat.rb#12 class Prism::LexCompat # @return [LexCompat] a new instance of LexCompat # - # source://prism/lib/prism/lex_compat.rb#619 + # source://prism//lib/prism/lex_compat.rb#619 def initialize(source, **options); end # Returns the value of attribute options. # - # source://prism/lib/prism/lex_compat.rb#617 + # source://prism//lib/prism/lex_compat.rb#617 def options; end - # source://prism/lib/prism/lex_compat.rb#624 + # source://prism//lib/prism/lex_compat.rb#624 def result; end # Returns the value of attribute source. # - # source://prism/lib/prism/lex_compat.rb#617 + # source://prism//lib/prism/lex_compat.rb#617 def source; end end # Ripper doesn't include the rest of the token in the event, so we need to # trim it down to just the content on the first line when comparing. # -# source://prism/lib/prism/lex_compat.rb#230 +# source://prism//lib/prism/lex_compat.rb#230 class Prism::LexCompat::EndContentToken < ::Prism::LexCompat::Token - # source://prism/lib/prism/lex_compat.rb#231 + # source://prism//lib/prism/lex_compat.rb#231 def ==(other); end end @@ -22678,13 +22678,13 @@ end # heredoc that should be appended onto the list of tokens when the heredoc # closes. # -# source://prism/lib/prism/lex_compat.rb#291 +# source://prism//lib/prism/lex_compat.rb#291 module Prism::LexCompat::Heredoc class << self # Here we will split between the two types of heredocs and return the # object that will store their tokens. # - # source://prism/lib/prism/lex_compat.rb#603 + # source://prism//lib/prism/lex_compat.rb#603 def build(opening); end end end @@ -22693,23 +22693,23 @@ end # that need to be split on "\\\n" to mimic Ripper's behavior. We also need # to keep track of the state that the heredoc was opened in. # -# source://prism/lib/prism/lex_compat.rb#315 +# source://prism//lib/prism/lex_compat.rb#315 class Prism::LexCompat::Heredoc::DashHeredoc # @return [DashHeredoc] a new instance of DashHeredoc # - # source://prism/lib/prism/lex_compat.rb#318 + # source://prism//lib/prism/lex_compat.rb#318 def initialize(split); end - # source://prism/lib/prism/lex_compat.rb#323 + # source://prism//lib/prism/lex_compat.rb#323 def <<(token); end - # source://prism/lib/prism/lex_compat.rb#316 + # source://prism//lib/prism/lex_compat.rb#316 def split; end - # source://prism/lib/prism/lex_compat.rb#327 + # source://prism//lib/prism/lex_compat.rb#327 def to_a; end - # source://prism/lib/prism/lex_compat.rb#316 + # source://prism//lib/prism/lex_compat.rb#316 def tokens; end end @@ -22724,45 +22724,45 @@ end # some extra manipulation on the tokens to make them match Ripper's # output by mirroring the dedent logic that Ripper uses. # -# source://prism/lib/prism/lex_compat.rb#374 +# source://prism//lib/prism/lex_compat.rb#374 class Prism::LexCompat::Heredoc::DedentingHeredoc # @return [DedentingHeredoc] a new instance of DedentingHeredoc # - # source://prism/lib/prism/lex_compat.rb#379 + # source://prism//lib/prism/lex_compat.rb#379 def initialize; end # As tokens are coming in, we track the minimum amount of common leading # whitespace on plain string content tokens. This allows us to later # remove that amount of whitespace from the beginning of each line. # - # source://prism/lib/prism/lex_compat.rb#390 + # source://prism//lib/prism/lex_compat.rb#390 def <<(token); end # Returns the value of attribute dedent. # - # source://prism/lib/prism/lex_compat.rb#377 + # source://prism//lib/prism/lex_compat.rb#377 def dedent; end # Returns the value of attribute dedent_next. # - # source://prism/lib/prism/lex_compat.rb#377 + # source://prism//lib/prism/lex_compat.rb#377 def dedent_next; end # Returns the value of attribute embexpr_balance. # - # source://prism/lib/prism/lex_compat.rb#377 + # source://prism//lib/prism/lex_compat.rb#377 def embexpr_balance; end - # source://prism/lib/prism/lex_compat.rb#427 + # source://prism//lib/prism/lex_compat.rb#427 def to_a; end # Returns the value of attribute tokens. # - # source://prism/lib/prism/lex_compat.rb#377 + # source://prism//lib/prism/lex_compat.rb#377 def tokens; end end -# source://prism/lib/prism/lex_compat.rb#375 +# source://prism//lib/prism/lex_compat.rb#375 Prism::LexCompat::Heredoc::DedentingHeredoc::TAB_WIDTH = T.let(T.unsafe(nil), Integer) # Heredocs that are no dash or tilde heredocs are just a list of tokens. @@ -22770,20 +22770,20 @@ Prism::LexCompat::Heredoc::DedentingHeredoc::TAB_WIDTH = T.let(T.unsafe(nil), In # order back into the token stream and set the state of the last token to # the state that the heredoc was opened in. # -# source://prism/lib/prism/lex_compat.rb#296 +# source://prism//lib/prism/lex_compat.rb#296 class Prism::LexCompat::Heredoc::PlainHeredoc # @return [PlainHeredoc] a new instance of PlainHeredoc # - # source://prism/lib/prism/lex_compat.rb#299 + # source://prism//lib/prism/lex_compat.rb#299 def initialize; end - # source://prism/lib/prism/lex_compat.rb#303 + # source://prism//lib/prism/lex_compat.rb#303 def <<(token); end - # source://prism/lib/prism/lex_compat.rb#307 + # source://prism//lib/prism/lex_compat.rb#307 def to_a; end - # source://prism/lib/prism/lex_compat.rb#297 + # source://prism//lib/prism/lex_compat.rb#297 def tokens; end end @@ -22792,27 +22792,27 @@ end # through named captures in regular expressions). In that case we don't # compare the state. # -# source://prism/lib/prism/lex_compat.rb#248 +# source://prism//lib/prism/lex_compat.rb#248 class Prism::LexCompat::IdentToken < ::Prism::LexCompat::Token - # source://prism/lib/prism/lex_compat.rb#249 + # source://prism//lib/prism/lex_compat.rb#249 def ==(other); end end # Tokens where state should be ignored # used for :on_comment, :on_heredoc_end, :on_embexpr_end # -# source://prism/lib/prism/lex_compat.rb#238 +# source://prism//lib/prism/lex_compat.rb#238 class Prism::LexCompat::IgnoreStateToken < ::Prism::LexCompat::Token - # source://prism/lib/prism/lex_compat.rb#239 + # source://prism//lib/prism/lex_compat.rb#239 def ==(other); end end # Ignored newlines can occasionally have a LABEL state attached to them, so # we compare the state differently here. # -# source://prism/lib/prism/lex_compat.rb#259 +# source://prism//lib/prism/lex_compat.rb#259 class Prism::LexCompat::IgnoredNewlineToken < ::Prism::LexCompat::Token - # source://prism/lib/prism/lex_compat.rb#260 + # source://prism//lib/prism/lex_compat.rb#260 def ==(other); end end @@ -22825,9 +22825,9 @@ end # more accurately, so we need to allow comparing against both END and # END|LABEL. # -# source://prism/lib/prism/lex_compat.rb#279 +# source://prism//lib/prism/lex_compat.rb#279 class Prism::LexCompat::ParamToken < ::Prism::LexCompat::Token - # source://prism/lib/prism/lex_compat.rb#280 + # source://prism//lib/prism/lex_compat.rb#280 def ==(other); end end @@ -22835,28 +22835,28 @@ end # many-to-one mapping because we split up our token types, whereas Ripper # tends to group them. # -# source://prism/lib/prism/lex_compat.rb#33 +# source://prism//lib/prism/lex_compat.rb#33 Prism::LexCompat::RIPPER = T.let(T.unsafe(nil), Hash) # A result class specialized for holding tokens produced by the lexer. # -# source://prism/lib/prism/lex_compat.rb#14 +# source://prism//lib/prism/lex_compat.rb#14 class Prism::LexCompat::Result < ::Prism::Result # Create a new lex compat result object with the given values. # # @return [Result] a new instance of Result # - # source://prism/lib/prism/lex_compat.rb#19 + # source://prism//lib/prism/lex_compat.rb#19 def initialize(value, comments, magic_comments, data_loc, errors, warnings, source); end # Implement the hash pattern matching interface for Result. # - # source://prism/lib/prism/lex_compat.rb#25 + # source://prism//lib/prism/lex_compat.rb#25 def deconstruct_keys(keys); end # The list of tokens that were produced by the lexer. # - # source://prism/lib/prism/lex_compat.rb#16 + # source://prism//lib/prism/lex_compat.rb#16 def value; end end @@ -22864,38 +22864,38 @@ end # However, we add a couple of convenience methods onto them to make them a # little easier to work with. We delegate all other methods to the array. # -# source://prism/lib/prism/lex_compat.rb#204 +# source://prism//lib/prism/lex_compat.rb#204 class Prism::LexCompat::Token < ::SimpleDelegator # The type of the token. # - # source://prism/lib/prism/lex_compat.rb#213 + # source://prism//lib/prism/lex_compat.rb#213 def event; end # The location of the token in the source. # - # source://prism/lib/prism/lex_compat.rb#208 + # source://prism//lib/prism/lex_compat.rb#208 def location; end # The state of the lexer when this token was produced. # - # source://prism/lib/prism/lex_compat.rb#223 + # source://prism//lib/prism/lex_compat.rb#223 def state; end # The slice of the source that this token represents. # - # source://prism/lib/prism/lex_compat.rb#218 + # source://prism//lib/prism/lex_compat.rb#218 def value; end end # This is a result specific to the `lex` and `lex_file` methods. # -# source://prism/lib/prism/parse_result.rb#764 +# source://prism//lib/prism/parse_result.rb#764 class Prism::LexResult < ::Prism::Result # Create a new lex result object with the given values. # # @return [LexResult] a new instance of LexResult # - # source://prism/lib/prism/parse_result.rb#769 + # source://prism//lib/prism/parse_result.rb#769 sig do params( value: T::Array[T.untyped], @@ -22911,13 +22911,13 @@ class Prism::LexResult < ::Prism::Result # Implement the hash pattern matching interface for LexResult. # - # source://prism/lib/prism/parse_result.rb#775 + # source://prism//lib/prism/parse_result.rb#775 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # The list of tokens that were parsed from the source code. # - # source://prism/lib/prism/parse_result.rb#766 + # source://prism//lib/prism/parse_result.rb#766 sig { returns(T::Array[T.untyped]) } def value; end end @@ -22925,22 +22925,22 @@ end # This is a class that wraps the Ripper lexer to produce almost exactly the # same tokens. # -# source://prism/lib/prism/lex_compat.rb#872 +# source://prism//lib/prism/lex_compat.rb#872 class Prism::LexRipper # @return [LexRipper] a new instance of LexRipper # - # source://prism/lib/prism/lex_compat.rb#875 + # source://prism//lib/prism/lex_compat.rb#875 def initialize(source); end - # source://prism/lib/prism/lex_compat.rb#879 + # source://prism//lib/prism/lex_compat.rb#879 def result; end - # source://prism/lib/prism/lex_compat.rb#873 + # source://prism//lib/prism/lex_compat.rb#873 def source; end private - # source://prism/lib/prism/lex_compat.rb#913 + # source://prism//lib/prism/lex_compat.rb#913 def lex(source); end end @@ -22949,13 +22949,13 @@ end # target &&= value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11681 +# source://prism//lib/prism/node.rb#11681 class Prism::LocalVariableAndWriteNode < ::Prism::Node # Initialize a new LocalVariableAndWriteNode node. # # @return [LocalVariableAndWriteNode] a new instance of LocalVariableAndWriteNode # - # source://prism/lib/prism/node.rb#11683 + # source://prism//lib/prism/node.rb#11683 sig do params( source: Prism::Source, @@ -22974,36 +22974,36 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11785 + # source://prism//lib/prism/node.rb#11785 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11696 + # source://prism//lib/prism/node.rb#11696 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11701 + # source://prism//lib/prism/node.rb#11701 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11711 + # source://prism//lib/prism/node.rb#11711 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11706 + # source://prism//lib/prism/node.rb#11706 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node, ?name: Symbol, ?depth: Integer) -> LocalVariableAndWriteNode # - # source://prism/lib/prism/node.rb#11716 + # source://prism//lib/prism/node.rb#11716 sig do params( node_id: Integer, @@ -23021,23 +23021,23 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11701 + # source://prism//lib/prism/node.rb#11721 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name_loc: Location, operator_loc: Location, value: Prism::node, name: Symbol, depth: Integer } # - # source://prism/lib/prism/node.rb#11724 + # source://prism//lib/prism/node.rb#11724 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://prism/lib/prism/node.rb#11761 + # source://prism//lib/prism/node.rb#11761 sig { returns(Integer) } def depth; end - # source://prism/lib/prism/desugar_compiler.rb#236 + # source://prism//lib/prism/desugar_compiler.rb#236 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23045,62 +23045,62 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11769 + # source://prism//lib/prism/node.rb#11769 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#11758 + # source://prism//lib/prism/node.rb#11758 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#11729 + # source://prism//lib/prism/node.rb#11729 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#11764 + # source://prism//lib/prism/node.rb#11764 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#11742 + # source://prism//lib/prism/node.rb#11742 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11737 + # source://prism//lib/prism/node.rb#11737 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11750 + # source://prism//lib/prism/node.rb#11750 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11774 + # source://prism//lib/prism/node.rb#11774 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#11755 + # source://prism//lib/prism/node.rb#11755 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11779 + # source://prism//lib/prism/node.rb#11779 def type; end end end @@ -23110,13 +23110,13 @@ end # target += value # ^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11799 +# source://prism//lib/prism/node.rb#11799 class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # Initialize a new LocalVariableOperatorWriteNode node. # # @return [LocalVariableOperatorWriteNode] a new instance of LocalVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#11801 + # source://prism//lib/prism/node.rb#11801 sig do params( source: Prism::Source, @@ -23136,48 +23136,48 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#11902 + # source://prism//lib/prism/node.rb#11902 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11815 + # source://prism//lib/prism/node.rb#11815 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism/lib/prism/node.rb#11880 + # source://prism//lib/prism/node.rb#11880 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism/lib/prism/node.rb#11861 + # source://prism//lib/prism/node.rb#11861 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11820 + # source://prism//lib/prism/node.rb#11820 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11830 + # source://prism//lib/prism/node.rb#11830 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11825 + # source://prism//lib/prism/node.rb#11825 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name_loc: Location, ?binary_operator_loc: Location, ?value: Prism::node, ?name: Symbol, ?binary_operator: Symbol, ?depth: Integer) -> LocalVariableOperatorWriteNode # - # source://prism/lib/prism/node.rb#11835 + # source://prism//lib/prism/node.rb#11835 sig do params( node_id: Integer, @@ -23196,23 +23196,23 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11820 + # source://prism//lib/prism/node.rb#11840 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name_loc: Location, binary_operator_loc: Location, value: Prism::node, name: Symbol, binary_operator: Symbol, depth: Integer } # - # source://prism/lib/prism/node.rb#11843 + # source://prism//lib/prism/node.rb#11843 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://prism/lib/prism/node.rb#11883 + # source://prism//lib/prism/node.rb#11883 sig { returns(Integer) } def depth; end - # source://prism/lib/prism/desugar_compiler.rb#248 + # source://prism//lib/prism/desugar_compiler.rb#248 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23220,62 +23220,62 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#11886 + # source://prism//lib/prism/node.rb#11886 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#11877 + # source://prism//lib/prism/node.rb#11877 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#11848 + # source://prism//lib/prism/node.rb#11848 sig { returns(Prism::Location) } def name_loc; end # Returns the binary operator used to modify the receiver. This method is # deprecated in favor of #binary_operator. # - # source://prism/lib/prism/node_ext.rb#451 + # source://prism//lib/prism/node_ext.rb#451 def operator; end # Returns the location of the binary operator used to modify the receiver. # This method is deprecated in favor of #binary_operator_loc. # - # source://prism/lib/prism/node_ext.rb#458 + # source://prism//lib/prism/node_ext.rb#458 def operator_loc; end # Save the binary_operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11869 + # source://prism//lib/prism/node.rb#11869 def save_binary_operator_loc(repository); end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11856 + # source://prism//lib/prism/node.rb#11856 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#11891 + # source://prism//lib/prism/node.rb#11891 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#11874 + # source://prism//lib/prism/node.rb#11874 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#11896 + # source://prism//lib/prism/node.rb#11896 def type; end end end @@ -23285,13 +23285,13 @@ end # target ||= value # ^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#11917 +# source://prism//lib/prism/node.rb#11917 class Prism::LocalVariableOrWriteNode < ::Prism::Node # Initialize a new LocalVariableOrWriteNode node. # # @return [LocalVariableOrWriteNode] a new instance of LocalVariableOrWriteNode # - # source://prism/lib/prism/node.rb#11919 + # source://prism//lib/prism/node.rb#11919 sig do params( source: Prism::Source, @@ -23310,36 +23310,36 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12021 + # source://prism//lib/prism/node.rb#12021 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#11932 + # source://prism//lib/prism/node.rb#11932 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11937 + # source://prism//lib/prism/node.rb#11937 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#11947 + # source://prism//lib/prism/node.rb#11947 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#11942 + # source://prism//lib/prism/node.rb#11942 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node, ?name: Symbol, ?depth: Integer) -> LocalVariableOrWriteNode # - # source://prism/lib/prism/node.rb#11952 + # source://prism//lib/prism/node.rb#11952 sig do params( node_id: Integer, @@ -23357,23 +23357,23 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#11937 + # source://prism//lib/prism/node.rb#11957 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name_loc: Location, operator_loc: Location, value: Prism::node, name: Symbol, depth: Integer } # - # source://prism/lib/prism/node.rb#11960 + # source://prism//lib/prism/node.rb#11960 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://prism/lib/prism/node.rb#11997 + # source://prism//lib/prism/node.rb#11997 sig { returns(Integer) } def depth; end - # source://prism/lib/prism/desugar_compiler.rb#242 + # source://prism//lib/prism/desugar_compiler.rb#242 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23381,62 +23381,62 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12005 + # source://prism//lib/prism/node.rb#12005 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#11994 + # source://prism//lib/prism/node.rb#11994 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#11965 + # source://prism//lib/prism/node.rb#11965 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#12000 + # source://prism//lib/prism/node.rb#12000 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#11978 + # source://prism//lib/prism/node.rb#11978 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11973 + # source://prism//lib/prism/node.rb#11973 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#11986 + # source://prism//lib/prism/node.rb#11986 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12010 + # source://prism//lib/prism/node.rb#12010 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#11991 + # source://prism//lib/prism/node.rb#11991 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12015 + # source://prism//lib/prism/node.rb#12015 def type; end end end @@ -23446,13 +23446,13 @@ end # foo # ^^^ # -# source://prism/lib/prism/node.rb#12035 +# source://prism//lib/prism/node.rb#12035 class Prism::LocalVariableReadNode < ::Prism::Node # Initialize a new LocalVariableReadNode node. # # @return [LocalVariableReadNode] a new instance of LocalVariableReadNode # - # source://prism/lib/prism/node.rb#12037 + # source://prism//lib/prism/node.rb#12037 sig do params( source: Prism::Source, @@ -23468,36 +23468,36 @@ class Prism::LocalVariableReadNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12116 + # source://prism//lib/prism/node.rb#12116 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12047 + # source://prism//lib/prism/node.rb#12047 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12052 + # source://prism//lib/prism/node.rb#12052 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12062 + # source://prism//lib/prism/node.rb#12062 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12057 + # source://prism//lib/prism/node.rb#12057 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?depth: Integer) -> LocalVariableReadNode # - # source://prism/lib/prism/node.rb#12067 + # source://prism//lib/prism/node.rb#12067 sig do params( node_id: Integer, @@ -23512,13 +23512,13 @@ class Prism::LocalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12052 + # source://prism//lib/prism/node.rb#12072 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, depth: Integer } # - # source://prism/lib/prism/node.rb#12075 + # source://prism//lib/prism/node.rb#12075 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -23530,7 +23530,7 @@ class Prism::LocalVariableReadNode < ::Prism::Node # # The specific rules for calculating the depth may differ from individual Ruby implementations, as they are not specified by the language. For more information, see [the Prism documentation](https://github.com/ruby/prism/blob/main/docs/local_variable_depth.md). # - # source://prism/lib/prism/node.rb#12097 + # source://prism//lib/prism/node.rb#12097 sig { returns(Integer) } def depth; end @@ -23539,7 +23539,7 @@ class Prism::LocalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12100 + # source://prism//lib/prism/node.rb#12100 sig { override.returns(String) } def inspect; end @@ -23553,20 +23553,20 @@ class Prism::LocalVariableReadNode < ::Prism::Node # # _1 # name `:_1` # - # source://prism/lib/prism/node.rb#12088 + # source://prism//lib/prism/node.rb#12088 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12105 + # source://prism//lib/prism/node.rb#12105 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12110 + # source://prism//lib/prism/node.rb#12110 def type; end end end @@ -23576,13 +23576,13 @@ end # foo, bar = baz # ^^^ ^^^ # -# source://prism/lib/prism/node.rb#12127 +# source://prism//lib/prism/node.rb#12127 class Prism::LocalVariableTargetNode < ::Prism::Node # Initialize a new LocalVariableTargetNode node. # # @return [LocalVariableTargetNode] a new instance of LocalVariableTargetNode # - # source://prism/lib/prism/node.rb#12129 + # source://prism//lib/prism/node.rb#12129 sig do params( source: Prism::Source, @@ -23598,36 +23598,36 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12194 + # source://prism//lib/prism/node.rb#12194 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12139 + # source://prism//lib/prism/node.rb#12139 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12144 + # source://prism//lib/prism/node.rb#12144 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12154 + # source://prism//lib/prism/node.rb#12154 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12149 + # source://prism//lib/prism/node.rb#12149 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?depth: Integer) -> LocalVariableTargetNode # - # source://prism/lib/prism/node.rb#12159 + # source://prism//lib/prism/node.rb#12159 sig do params( node_id: Integer, @@ -23642,19 +23642,19 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12144 + # source://prism//lib/prism/node.rb#12164 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, depth: Integer } # - # source://prism/lib/prism/node.rb#12167 + # source://prism//lib/prism/node.rb#12167 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://prism/lib/prism/node.rb#12175 + # source://prism//lib/prism/node.rb#12175 sig { returns(Integer) } def depth; end @@ -23663,26 +23663,26 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12178 + # source://prism//lib/prism/node.rb#12178 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#12172 + # source://prism//lib/prism/node.rb#12172 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12183 + # source://prism//lib/prism/node.rb#12183 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12188 + # source://prism//lib/prism/node.rb#12188 def type; end end end @@ -23692,13 +23692,13 @@ end # foo = 1 # ^^^^^^^ # -# source://prism/lib/prism/node.rb#12205 +# source://prism//lib/prism/node.rb#12205 class Prism::LocalVariableWriteNode < ::Prism::Node # Initialize a new LocalVariableWriteNode node. # # @return [LocalVariableWriteNode] a new instance of LocalVariableWriteNode # - # source://prism/lib/prism/node.rb#12207 + # source://prism//lib/prism/node.rb#12207 sig do params( source: Prism::Source, @@ -23717,36 +23717,36 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12335 + # source://prism//lib/prism/node.rb#12335 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12220 + # source://prism//lib/prism/node.rb#12220 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12225 + # source://prism//lib/prism/node.rb#12225 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12235 + # source://prism//lib/prism/node.rb#12235 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12230 + # source://prism//lib/prism/node.rb#12230 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?depth: Integer, ?name_loc: Location, ?value: Prism::node, ?operator_loc: Location) -> LocalVariableWriteNode # - # source://prism/lib/prism/node.rb#12240 + # source://prism//lib/prism/node.rb#12240 sig do params( node_id: Integer, @@ -23764,13 +23764,13 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12225 + # source://prism//lib/prism/node.rb#12245 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, depth: Integer, name_loc: Location, value: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#12248 + # source://prism//lib/prism/node.rb#12248 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -23782,7 +23782,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # # The specific rules for calculating the depth may differ from individual Ruby implementations, as they are not specified by the language. For more information, see [the Prism documentation](https://github.com/ruby/prism/blob/main/docs/local_variable_depth.md). # - # source://prism/lib/prism/node.rb#12266 + # source://prism//lib/prism/node.rb#12266 sig { returns(Integer) } def depth; end @@ -23791,7 +23791,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12319 + # source://prism//lib/prism/node.rb#12319 sig { override.returns(String) } def inspect; end @@ -23801,7 +23801,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # # abc = 123 # name `:abc` # - # source://prism/lib/prism/node.rb#12257 + # source://prism//lib/prism/node.rb#12257 sig { returns(Symbol) } def name; end @@ -23810,13 +23810,13 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # foo = :bar # ^^^ # - # source://prism/lib/prism/node.rb#12272 + # source://prism//lib/prism/node.rb#12272 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#12314 + # source://prism//lib/prism/node.rb#12314 sig { returns(String) } def operator; end @@ -23825,25 +23825,25 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # x = :y # ^ # - # source://prism/lib/prism/node.rb#12301 + # source://prism//lib/prism/node.rb#12301 sig { returns(Prism::Location) } def operator_loc; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12280 + # source://prism//lib/prism/node.rb#12280 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12309 + # source://prism//lib/prism/node.rb#12309 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12324 + # source://prism//lib/prism/node.rb#12324 sig { override.returns(Symbol) } def type; end @@ -23859,34 +23859,34 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # # foo = foo # - # source://prism/lib/prism/node.rb#12295 + # source://prism//lib/prism/node.rb#12295 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12329 + # source://prism//lib/prism/node.rb#12329 def type; end end end # This represents a location in the source. # -# source://prism/lib/prism/parse_result.rb#273 +# source://prism//lib/prism/parse_result.rb#273 class Prism::Location # Create a new location object with the given source, start byte offset, and # byte length. # # @return [Location] a new instance of Location # - # source://prism/lib/prism/parse_result.rb#288 + # source://prism//lib/prism/parse_result.rb#288 sig { params(source: Prism::Source, start_offset: Integer, length: Integer).void } def initialize(source, start_offset, length); end # Returns true if the given other location is equal to this location. # - # source://prism/lib/prism/parse_result.rb#476 + # source://prism//lib/prism/parse_result.rb#476 sig { params(other: T.untyped).returns(T::Boolean) } def ==(other); end @@ -23894,14 +23894,14 @@ class Prism::Location # that occurs after this location on the same line, and return the new # location. This will raise an error if the string does not exist. # - # source://prism/lib/prism/parse_result.rb#495 + # source://prism//lib/prism/parse_result.rb#495 sig { params(string: String).returns(Prism::Location) } def adjoin(string); end # The end column in code units using the given cache to fetch or calculate # the value. # - # source://prism/lib/prism/parse_result.rb#461 + # source://prism//lib/prism/parse_result.rb#461 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23912,7 +23912,7 @@ class Prism::Location # The end offset from the start of the file in code units using the given # cache to fetch or calculate the value. # - # source://prism/lib/prism/parse_result.rb#397 + # source://prism//lib/prism/parse_result.rb#397 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23923,7 +23923,7 @@ class Prism::Location # The start column in code units using the given cache to fetch or calculate # the value. # - # source://prism/lib/prism/parse_result.rb#437 + # source://prism//lib/prism/parse_result.rb#437 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23934,7 +23934,7 @@ class Prism::Location # The start offset from the start of the file in code units using the given # cache to fetch or calculate the value. # - # source://prism/lib/prism/parse_result.rb#375 + # source://prism//lib/prism/parse_result.rb#375 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23944,78 +23944,78 @@ class Prism::Location # Returns a new location that is the result of chopping off the last byte. # - # source://prism/lib/prism/parse_result.rb#334 + # source://prism//lib/prism/parse_result.rb#334 sig { returns(Prism::Location) } def chop; end # Returns all comments that are associated with this location (both leading # and trailing comments). # - # source://prism/lib/prism/parse_result.rb#324 + # source://prism//lib/prism/parse_result.rb#324 sig { returns(T::Array[Prism::Comment]) } def comments; end # Create a new location object with the given options. # - # source://prism/lib/prism/parse_result.rb#329 + # source://prism//lib/prism/parse_result.rb#329 sig { params(source: Prism::Source, start_offset: Integer, length: Integer).returns(Prism::Location) } def copy(source: T.unsafe(nil), start_offset: T.unsafe(nil), length: T.unsafe(nil)); end # Implement the hash pattern matching interface for Location. # - # source://prism/lib/prism/parse_result.rb#466 + # source://prism//lib/prism/parse_result.rb#466 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # The column number in characters where this location ends from the start of # the line. # - # source://prism/lib/prism/parse_result.rb#449 + # source://prism//lib/prism/parse_result.rb#449 sig { returns(Integer) } def end_character_column; end # The character offset from the beginning of the source where this location # ends. # - # source://prism/lib/prism/parse_result.rb#386 + # source://prism//lib/prism/parse_result.rb#386 sig { returns(Integer) } def end_character_offset; end # The column number in code units of the given encoding where this location # ends from the start of the line. # - # source://prism/lib/prism/parse_result.rb#455 + # source://prism//lib/prism/parse_result.rb#455 sig { params(encoding: Encoding).returns(Integer) } def end_code_units_column(encoding = T.unsafe(nil)); end # The offset from the start of the file in code units of the given encoding. # - # source://prism/lib/prism/parse_result.rb#391 + # source://prism//lib/prism/parse_result.rb#391 sig { params(encoding: Encoding).returns(Integer) } def end_code_units_offset(encoding = T.unsafe(nil)); end # The column number in bytes where this location ends from the start of the # line. # - # source://prism/lib/prism/parse_result.rb#443 + # source://prism//lib/prism/parse_result.rb#443 sig { returns(Integer) } def end_column; end # The line number where this location ends. # - # source://prism/lib/prism/parse_result.rb#413 + # source://prism//lib/prism/parse_result.rb#413 sig { returns(Integer) } def end_line; end # The byte offset from the beginning of the source where this location ends. # - # source://prism/lib/prism/parse_result.rb#380 + # source://prism//lib/prism/parse_result.rb#380 sig { returns(Integer) } def end_offset; end # Returns a string representation of this location. # - # source://prism/lib/prism/parse_result.rb#339 + # source://prism//lib/prism/parse_result.rb#339 sig { returns(String) } def inspect; end @@ -24023,38 +24023,38 @@ class Prism::Location # other location. Raises an error if this location is not before the other # location or if they don't share the same source. # - # source://prism/lib/prism/parse_result.rb#485 + # source://prism//lib/prism/parse_result.rb#485 sig { params(other: Prism::Location).returns(Prism::Location) } def join(other); end # Attach a comment to the leading comments of this location. # - # source://prism/lib/prism/parse_result.rb#307 + # source://prism//lib/prism/parse_result.rb#307 sig { params(comment: Prism::Comment).void } def leading_comment(comment); end # These are the comments that are associated with this location that exist # before the start of this location. # - # source://prism/lib/prism/parse_result.rb#302 + # source://prism//lib/prism/parse_result.rb#302 sig { returns(T::Array[Prism::Comment]) } def leading_comments; end # The length of this location in bytes. # - # source://prism/lib/prism/parse_result.rb#284 + # source://prism//lib/prism/parse_result.rb#284 sig { returns(Integer) } def length; end # Implement the pretty print interface for Location. # - # source://prism/lib/prism/parse_result.rb#471 + # source://prism//lib/prism/parse_result.rb#471 sig { params(q: T.untyped).void } def pretty_print(q); end # The source code that this location represents. # - # source://prism/lib/prism/parse_result.rb#349 + # source://prism//lib/prism/parse_result.rb#349 sig { returns(String) } def slice; end @@ -24062,78 +24062,78 @@ class Prism::Location # of the line that this location starts on to the end of the line that this # location ends on. # - # source://prism/lib/prism/parse_result.rb#356 + # source://prism//lib/prism/parse_result.rb#356 def slice_lines; end # Returns all of the lines of the source code associated with this location. # - # source://prism/lib/prism/parse_result.rb#344 + # source://prism//lib/prism/parse_result.rb#344 sig { returns(T::Array[String]) } def source_lines; end # The column number in characters where this location ends from the start of # the line. # - # source://prism/lib/prism/parse_result.rb#425 + # source://prism//lib/prism/parse_result.rb#425 sig { returns(Integer) } def start_character_column; end # The character offset from the beginning of the source where this location # starts. # - # source://prism/lib/prism/parse_result.rb#364 + # source://prism//lib/prism/parse_result.rb#364 sig { returns(Integer) } def start_character_offset; end # The column number in code units of the given encoding where this location # starts from the start of the line. # - # source://prism/lib/prism/parse_result.rb#431 + # source://prism//lib/prism/parse_result.rb#431 sig { params(encoding: Encoding).returns(Integer) } def start_code_units_column(encoding = T.unsafe(nil)); end # The offset from the start of the file in code units of the given encoding. # - # source://prism/lib/prism/parse_result.rb#369 + # source://prism//lib/prism/parse_result.rb#369 sig { params(encoding: Encoding).returns(Integer) } def start_code_units_offset(encoding = T.unsafe(nil)); end # The column number in bytes where this location starts from the start of # the line. # - # source://prism/lib/prism/parse_result.rb#419 + # source://prism//lib/prism/parse_result.rb#419 sig { returns(Integer) } def start_column; end # The line number where this location starts. # - # source://prism/lib/prism/parse_result.rb#402 + # source://prism//lib/prism/parse_result.rb#402 sig { returns(Integer) } def start_line; end # The content of the line where this location starts before this location. # - # source://prism/lib/prism/parse_result.rb#407 + # source://prism//lib/prism/parse_result.rb#407 sig { returns(String) } def start_line_slice; end # The byte offset from the beginning of the source where this location # starts. # - # source://prism/lib/prism/parse_result.rb#281 + # source://prism//lib/prism/parse_result.rb#281 sig { returns(Integer) } def start_offset; end # Attach a comment to the trailing comments of this location. # - # source://prism/lib/prism/parse_result.rb#318 + # source://prism//lib/prism/parse_result.rb#318 sig { params(comment: Prism::Comment).void } def trailing_comment(comment); end # These are the comments that are associated with this location that exist # after the end of this location. # - # source://prism/lib/prism/parse_result.rb#313 + # source://prism//lib/prism/parse_result.rb#313 sig { returns(T::Array[Prism::Comment]) } def trailing_comments; end @@ -24142,66 +24142,66 @@ class Prism::Location # A Source object that is used to determine more information from the given # offset and length. # - # source://prism/lib/prism/parse_result.rb#276 + # source://prism//lib/prism/parse_result.rb#276 sig { returns(Prism::Source) } def source; end end # Flags for while and until loop nodes. # -# source://prism/lib/prism/node.rb#18505 +# source://prism//lib/prism/node.rb#18505 module Prism::LoopFlags; end # a loop after a begin statement, so the body is executed first before the condition # -# source://prism/lib/prism/node.rb#18507 +# source://prism//lib/prism/node.rb#18507 Prism::LoopFlags::BEGIN_MODIFIER = T.let(T.unsafe(nil), Integer) # This represents a magic comment that was encountered during parsing. # -# source://prism/lib/prism/parse_result.rb#557 +# source://prism//lib/prism/parse_result.rb#557 class Prism::MagicComment # Create a new magic comment object with the given key and value locations. # # @return [MagicComment] a new instance of MagicComment # - # source://prism/lib/prism/parse_result.rb#565 + # source://prism//lib/prism/parse_result.rb#565 sig { params(key_loc: Prism::Location, value_loc: Prism::Location).void } def initialize(key_loc, value_loc); end # Implement the hash pattern matching interface for MagicComment. # - # source://prism/lib/prism/parse_result.rb#581 + # source://prism//lib/prism/parse_result.rb#581 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns a string representation of this magic comment. # - # source://prism/lib/prism/parse_result.rb#586 + # source://prism//lib/prism/parse_result.rb#586 sig { returns(String) } def inspect; end # Returns the key of the magic comment by slicing it from the source code. # - # source://prism/lib/prism/parse_result.rb#571 + # source://prism//lib/prism/parse_result.rb#571 sig { returns(String) } def key; end # A Location object representing the location of the key in the source. # - # source://prism/lib/prism/parse_result.rb#559 + # source://prism//lib/prism/parse_result.rb#559 sig { returns(Prism::Location) } def key_loc; end # Returns the value of the magic comment by slicing it from the source code. # - # source://prism/lib/prism/parse_result.rb#576 + # source://prism//lib/prism/parse_result.rb#576 sig { returns(String) } def value; end # A Location object representing the location of the value in the source. # - # source://prism/lib/prism/parse_result.rb#562 + # source://prism//lib/prism/parse_result.rb#562 sig { returns(Prism::Location) } def value_loc; end end @@ -24211,7 +24211,7 @@ end # if /foo/i then end # ^^^^^^ # -# source://prism/lib/prism/node.rb#12349 +# source://prism//lib/prism/node.rb#12349 class Prism::MatchLastLineNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -24219,7 +24219,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [MatchLastLineNode] a new instance of MatchLastLineNode # - # source://prism/lib/prism/node.rb#12351 + # source://prism//lib/prism/node.rb#12351 sig do params( source: Prism::Source, @@ -24237,12 +24237,12 @@ class Prism::MatchLastLineNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12524 + # source://prism//lib/prism/node.rb#12524 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12363 + # source://prism//lib/prism/node.rb#12363 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -24250,55 +24250,55 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12421 + # source://prism//lib/prism/node.rb#12421 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12368 + # source://prism//lib/prism/node.rb#12368 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#12503 + # source://prism//lib/prism/node.rb#12503 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#12477 + # source://prism//lib/prism/node.rb#12477 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12378 + # source://prism//lib/prism/node.rb#12378 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12373 + # source://prism//lib/prism/node.rb#12373 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism/lib/prism/node.rb#12498 + # source://prism//lib/prism/node.rb#12498 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism/lib/prism/node.rb#12464 + # source://prism//lib/prism/node.rb#12464 sig { returns(Prism::Location) } def content_loc; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?content_loc: Location, ?closing_loc: Location, ?unescaped: String) -> MatchLastLineNode # - # source://prism/lib/prism/node.rb#12383 + # source://prism//lib/prism/node.rb#12383 sig do params( node_id: Integer, @@ -24315,13 +24315,13 @@ class Prism::MatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12368 + # source://prism//lib/prism/node.rb#12388 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String } # - # source://prism/lib/prism/node.rb#12391 + # source://prism//lib/prism/node.rb#12391 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24329,7 +24329,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12416 + # source://prism//lib/prism/node.rb#12416 sig { returns(T::Boolean) } def euc_jp?; end @@ -24337,7 +24337,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12401 + # source://prism//lib/prism/node.rb#12401 sig { returns(T::Boolean) } def extended?; end @@ -24348,7 +24348,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12441 + # source://prism//lib/prism/node.rb#12441 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -24356,7 +24356,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12446 + # source://prism//lib/prism/node.rb#12446 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -24364,7 +24364,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12436 + # source://prism//lib/prism/node.rb#12436 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -24372,13 +24372,13 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12396 + # source://prism//lib/prism/node.rb#12396 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#12508 + # source://prism//lib/prism/node.rb#12508 sig { override.returns(String) } def inspect; end @@ -24386,7 +24386,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12406 + # source://prism//lib/prism/node.rb#12406 sig { returns(T::Boolean) } def multi_line?; end @@ -24394,19 +24394,19 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12411 + # source://prism//lib/prism/node.rb#12411 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#12493 + # source://prism//lib/prism/node.rb#12493 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#12451 + # source://prism//lib/prism/node.rb#12451 sig { returns(Prism::Location) } def opening_loc; end @@ -24416,30 +24416,30 @@ class Prism::MatchLastLineNode < ::Prism::Node # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12485 + # source://prism//lib/prism/node.rb#12485 def save_closing_loc(repository); end # Save the content_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12472 + # source://prism//lib/prism/node.rb#12472 def save_content_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12459 + # source://prism//lib/prism/node.rb#12459 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12513 + # source://prism//lib/prism/node.rb#12513 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism/lib/prism/node.rb#12490 + # source://prism//lib/prism/node.rb#12490 sig { returns(String) } def unescaped; end @@ -24447,7 +24447,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12431 + # source://prism//lib/prism/node.rb#12431 sig { returns(T::Boolean) } def utf_8?; end @@ -24455,14 +24455,14 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#12426 + # source://prism//lib/prism/node.rb#12426 sig { returns(T::Boolean) } def windows_31j?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12518 + # source://prism//lib/prism/node.rb#12518 def type; end end end @@ -24472,13 +24472,13 @@ end # foo in bar # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#12538 +# source://prism//lib/prism/node.rb#12538 class Prism::MatchPredicateNode < ::Prism::Node # Initialize a new MatchPredicateNode node. # # @return [MatchPredicateNode] a new instance of MatchPredicateNode # - # source://prism/lib/prism/node.rb#12540 + # source://prism//lib/prism/node.rb#12540 sig do params( source: Prism::Source, @@ -24495,36 +24495,36 @@ class Prism::MatchPredicateNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12624 + # source://prism//lib/prism/node.rb#12624 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12551 + # source://prism//lib/prism/node.rb#12551 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12556 + # source://prism//lib/prism/node.rb#12556 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12566 + # source://prism//lib/prism/node.rb#12566 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12561 + # source://prism//lib/prism/node.rb#12561 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Prism::node, ?pattern: Prism::node, ?operator_loc: Location) -> MatchPredicateNode # - # source://prism/lib/prism/node.rb#12571 + # source://prism//lib/prism/node.rb#12571 sig do params( node_id: Integer, @@ -24540,13 +24540,13 @@ class Prism::MatchPredicateNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12556 + # source://prism//lib/prism/node.rb#12576 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Prism::node, pattern: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#12579 + # source://prism//lib/prism/node.rb#12579 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24555,50 +24555,50 @@ class Prism::MatchPredicateNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12608 + # source://prism//lib/prism/node.rb#12608 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#12603 + # source://prism//lib/prism/node.rb#12603 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#12590 + # source://prism//lib/prism/node.rb#12590 sig { returns(Prism::Location) } def operator_loc; end # attr_reader pattern: Prism::node # - # source://prism/lib/prism/node.rb#12587 + # source://prism//lib/prism/node.rb#12587 sig { returns(Prism::Node) } def pattern; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12598 + # source://prism//lib/prism/node.rb#12598 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12613 + # source://prism//lib/prism/node.rb#12613 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#12584 + # source://prism//lib/prism/node.rb#12584 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12618 + # source://prism//lib/prism/node.rb#12618 def type; end end end @@ -24608,13 +24608,13 @@ end # foo => bar # ^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#12636 +# source://prism//lib/prism/node.rb#12636 class Prism::MatchRequiredNode < ::Prism::Node # Initialize a new MatchRequiredNode node. # # @return [MatchRequiredNode] a new instance of MatchRequiredNode # - # source://prism/lib/prism/node.rb#12638 + # source://prism//lib/prism/node.rb#12638 sig do params( source: Prism::Source, @@ -24631,36 +24631,36 @@ class Prism::MatchRequiredNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12722 + # source://prism//lib/prism/node.rb#12722 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12649 + # source://prism//lib/prism/node.rb#12649 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12654 + # source://prism//lib/prism/node.rb#12654 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12664 + # source://prism//lib/prism/node.rb#12664 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12659 + # source://prism//lib/prism/node.rb#12659 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?value: Prism::node, ?pattern: Prism::node, ?operator_loc: Location) -> MatchRequiredNode # - # source://prism/lib/prism/node.rb#12669 + # source://prism//lib/prism/node.rb#12669 sig do params( node_id: Integer, @@ -24676,13 +24676,13 @@ class Prism::MatchRequiredNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12654 + # source://prism//lib/prism/node.rb#12674 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, value: Prism::node, pattern: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#12677 + # source://prism//lib/prism/node.rb#12677 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24691,50 +24691,50 @@ class Prism::MatchRequiredNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12706 + # source://prism//lib/prism/node.rb#12706 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#12701 + # source://prism//lib/prism/node.rb#12701 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#12688 + # source://prism//lib/prism/node.rb#12688 sig { returns(Prism::Location) } def operator_loc; end # attr_reader pattern: Prism::node # - # source://prism/lib/prism/node.rb#12685 + # source://prism//lib/prism/node.rb#12685 sig { returns(Prism::Node) } def pattern; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12696 + # source://prism//lib/prism/node.rb#12696 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12711 + # source://prism//lib/prism/node.rb#12711 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#12682 + # source://prism//lib/prism/node.rb#12682 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12716 + # source://prism//lib/prism/node.rb#12716 def type; end end end @@ -24744,13 +24744,13 @@ end # /(?bar)/ =~ baz # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#12734 +# source://prism//lib/prism/node.rb#12734 class Prism::MatchWriteNode < ::Prism::Node # Initialize a new MatchWriteNode node. # # @return [MatchWriteNode] a new instance of MatchWriteNode # - # source://prism/lib/prism/node.rb#12736 + # source://prism//lib/prism/node.rb#12736 sig do params( source: Prism::Source, @@ -24766,42 +24766,42 @@ class Prism::MatchWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12801 + # source://prism//lib/prism/node.rb#12801 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12746 + # source://prism//lib/prism/node.rb#12746 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader call: CallNode # - # source://prism/lib/prism/node.rb#12779 + # source://prism//lib/prism/node.rb#12779 sig { returns(Prism::CallNode) } def call; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12751 + # source://prism//lib/prism/node.rb#12751 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12761 + # source://prism//lib/prism/node.rb#12761 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12756 + # source://prism//lib/prism/node.rb#12756 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?call: CallNode, ?targets: Array[LocalVariableTargetNode]) -> MatchWriteNode # - # source://prism/lib/prism/node.rb#12766 + # source://prism//lib/prism/node.rb#12766 sig do params( node_id: Integer, @@ -24816,13 +24816,13 @@ class Prism::MatchWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12751 + # source://prism//lib/prism/node.rb#12771 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, call: CallNode, targets: Array[LocalVariableTargetNode] } # - # source://prism/lib/prism/node.rb#12774 + # source://prism//lib/prism/node.rb#12774 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24831,88 +24831,88 @@ class Prism::MatchWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12785 + # source://prism//lib/prism/node.rb#12785 sig { override.returns(String) } def inspect; end # attr_reader targets: Array[LocalVariableTargetNode] # - # source://prism/lib/prism/node.rb#12782 + # source://prism//lib/prism/node.rb#12782 sig { returns(T::Array[Prism::LocalVariableTargetNode]) } def targets; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12790 + # source://prism//lib/prism/node.rb#12790 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12795 + # source://prism//lib/prism/node.rb#12795 def type; end end end # Represents a node that is missing from the source and results in a syntax error. # -# source://prism/lib/prism/node.rb#12810 +# source://prism//lib/prism/node.rb#12810 class Prism::MissingNode < ::Prism::Node # Initialize a new MissingNode node. # # @return [MissingNode] a new instance of MissingNode # - # source://prism/lib/prism/node.rb#12812 + # source://prism//lib/prism/node.rb#12812 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12869 + # source://prism//lib/prism/node.rb#12869 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12820 + # source://prism//lib/prism/node.rb#12820 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12825 + # source://prism//lib/prism/node.rb#12825 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12835 + # source://prism//lib/prism/node.rb#12835 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12830 + # source://prism//lib/prism/node.rb#12830 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> MissingNode # - # source://prism/lib/prism/node.rb#12840 + # source://prism//lib/prism/node.rb#12840 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::MissingNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12825 + # source://prism//lib/prism/node.rb#12845 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#12848 + # source://prism//lib/prism/node.rb#12848 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24921,20 +24921,20 @@ class Prism::MissingNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12853 + # source://prism//lib/prism/node.rb#12853 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12858 + # source://prism//lib/prism/node.rb#12858 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12863 + # source://prism//lib/prism/node.rb#12863 def type; end end end @@ -24944,13 +24944,13 @@ end # module Foo end # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#12878 +# source://prism//lib/prism/node.rb#12878 class Prism::ModuleNode < ::Prism::Node # Initialize a new ModuleNode node. # # @return [ModuleNode] a new instance of ModuleNode # - # source://prism/lib/prism/node.rb#12880 + # source://prism//lib/prism/node.rb#12880 sig do params( source: Prism::Source, @@ -24970,48 +24970,48 @@ class Prism::ModuleNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#12994 + # source://prism//lib/prism/node.rb#12994 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#12894 + # source://prism//lib/prism/node.rb#12894 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: StatementsNode | BeginNode | nil # - # source://prism/lib/prism/node.rb#12949 + # source://prism//lib/prism/node.rb#12949 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12899 + # source://prism//lib/prism/node.rb#12899 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#12912 + # source://prism//lib/prism/node.rb#12912 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#12904 + # source://prism//lib/prism/node.rb#12904 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader constant_path: ConstantReadNode | ConstantPathNode | MissingNode # - # source://prism/lib/prism/node.rb#12946 + # source://prism//lib/prism/node.rb#12946 sig { returns(T.any(Prism::ConstantReadNode, Prism::ConstantPathNode, Prism::MissingNode)) } def constant_path; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?module_keyword_loc: Location, ?constant_path: ConstantReadNode | ConstantPathNode | MissingNode, ?body: StatementsNode | BeginNode | nil, ?end_keyword_loc: Location, ?name: Symbol) -> ModuleNode # - # source://prism/lib/prism/node.rb#12917 + # source://prism//lib/prism/node.rb#12917 sig do params( node_id: Integer, @@ -25030,25 +25030,25 @@ class Prism::ModuleNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#12899 + # source://prism//lib/prism/node.rb#12922 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], module_keyword_loc: Location, constant_path: ConstantReadNode | ConstantPathNode | MissingNode, body: StatementsNode | BeginNode | nil, end_keyword_loc: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#12925 + # source://prism//lib/prism/node.rb#12925 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#12973 + # source://prism//lib/prism/node.rb#12973 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism/lib/prism/node.rb#12952 + # source://prism//lib/prism/node.rb#12952 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -25057,56 +25057,56 @@ class Prism::ModuleNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#12978 + # source://prism//lib/prism/node.rb#12978 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#12930 + # source://prism//lib/prism/node.rb#12930 sig { returns(T::Array[Symbol]) } def locals; end # def module_keyword: () -> String # - # source://prism/lib/prism/node.rb#12968 + # source://prism//lib/prism/node.rb#12968 sig { returns(String) } def module_keyword; end # attr_reader module_keyword_loc: Location # - # source://prism/lib/prism/node.rb#12933 + # source://prism//lib/prism/node.rb#12933 sig { returns(Prism::Location) } def module_keyword_loc; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#12965 + # source://prism//lib/prism/node.rb#12965 sig { returns(Symbol) } def name; end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12960 + # source://prism//lib/prism/node.rb#12960 def save_end_keyword_loc(repository); end # Save the module_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#12941 + # source://prism//lib/prism/node.rb#12941 def save_module_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#12983 + # source://prism//lib/prism/node.rb#12983 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#12988 + # source://prism//lib/prism/node.rb#12988 def type; end end end @@ -25121,13 +25121,13 @@ end # for a, b in [[1, 2], [3, 4]] # ^^^^ # -# source://prism/lib/prism/node.rb#13015 +# source://prism//lib/prism/node.rb#13015 class Prism::MultiTargetNode < ::Prism::Node # Initialize a new MultiTargetNode node. # # @return [MultiTargetNode] a new instance of MultiTargetNode # - # source://prism/lib/prism/node.rb#13017 + # source://prism//lib/prism/node.rb#13017 sig do params( source: Prism::Source, @@ -25146,36 +25146,36 @@ class Prism::MultiTargetNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13170 + # source://prism//lib/prism/node.rb#13170 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13030 + # source://prism//lib/prism/node.rb#13030 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13035 + # source://prism//lib/prism/node.rb#13035 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13049 + # source://prism//lib/prism/node.rb#13049 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13040 + # source://prism//lib/prism/node.rb#13040 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?lefts: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | RequiredParameterNode | BackReferenceReadNode | NumberedReferenceReadNode], ?rest: ImplicitRestNode | SplatNode | nil, ?rights: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | RequiredParameterNode | BackReferenceReadNode | NumberedReferenceReadNode], ?lparen_loc: Location?, ?rparen_loc: Location?) -> MultiTargetNode # - # source://prism/lib/prism/node.rb#13054 + # source://prism//lib/prism/node.rb#13054 sig do params( node_id: Integer, @@ -25193,13 +25193,13 @@ class Prism::MultiTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13035 + # source://prism//lib/prism/node.rb#13059 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, lefts: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | RequiredParameterNode | BackReferenceReadNode | NumberedReferenceReadNode], rest: ImplicitRestNode | SplatNode | nil, rights: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | RequiredParameterNode | BackReferenceReadNode | NumberedReferenceReadNode], lparen_loc: Location?, rparen_loc: Location? } # - # source://prism/lib/prism/node.rb#13062 + # source://prism//lib/prism/node.rb#13062 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -25208,7 +25208,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13154 + # source://prism//lib/prism/node.rb#13154 sig { override.returns(String) } def inspect; end @@ -25222,7 +25222,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism/lib/prism/node.rb#13075 + # source://prism//lib/prism/node.rb#13075 sig do returns(T::Array[T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::MultiTargetNode, Prism::RequiredParameterNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)]) end @@ -25230,7 +25230,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#13144 + # source://prism//lib/prism/node.rb#13144 sig { returns(T.nilable(String)) } def lparen; end @@ -25239,7 +25239,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3 # ^ # - # source://prism/lib/prism/node.rb#13103 + # source://prism//lib/prism/node.rb#13103 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end @@ -25258,7 +25258,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b,) = 1, 2, 3, 4 # ^ # - # source://prism/lib/prism/node.rb#13091 + # source://prism//lib/prism/node.rb#13091 sig { returns(T.nilable(T.any(Prism::ImplicitRestNode, Prism::SplatNode))) } def rest; end @@ -25267,7 +25267,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (*, b, c) = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism/lib/prism/node.rb#13097 + # source://prism//lib/prism/node.rb#13097 sig do returns(T::Array[T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::MultiTargetNode, Prism::RequiredParameterNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)]) end @@ -25275,7 +25275,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#13149 + # source://prism//lib/prism/node.rb#13149 sig { returns(T.nilable(String)) } def rparen; end @@ -25284,32 +25284,32 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3 # ^ # - # source://prism/lib/prism/node.rb#13125 + # source://prism//lib/prism/node.rb#13125 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13117 + # source://prism//lib/prism/node.rb#13117 def save_lparen_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13139 + # source://prism//lib/prism/node.rb#13139 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13159 + # source://prism//lib/prism/node.rb#13159 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13164 + # source://prism//lib/prism/node.rb#13164 def type; end end end @@ -25319,13 +25319,13 @@ end # a, b, c = 1, 2, 3 # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#13186 +# source://prism//lib/prism/node.rb#13186 class Prism::MultiWriteNode < ::Prism::Node # Initialize a new MultiWriteNode node. # # @return [MultiWriteNode] a new instance of MultiWriteNode # - # source://prism/lib/prism/node.rb#13188 + # source://prism//lib/prism/node.rb#13188 sig do params( source: Prism::Source, @@ -25346,36 +25346,36 @@ class Prism::MultiWriteNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13371 + # source://prism//lib/prism/node.rb#13371 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13203 + # source://prism//lib/prism/node.rb#13203 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13208 + # source://prism//lib/prism/node.rb#13208 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13223 + # source://prism//lib/prism/node.rb#13223 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13213 + # source://prism//lib/prism/node.rb#13213 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?lefts: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode], ?rest: ImplicitRestNode | SplatNode | nil, ?rights: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode], ?lparen_loc: Location?, ?rparen_loc: Location?, ?operator_loc: Location, ?value: Prism::node) -> MultiWriteNode # - # source://prism/lib/prism/node.rb#13228 + # source://prism//lib/prism/node.rb#13228 sig do params( node_id: Integer, @@ -25395,13 +25395,13 @@ class Prism::MultiWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13208 + # source://prism//lib/prism/node.rb#13233 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, lefts: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode], rest: ImplicitRestNode | SplatNode | nil, rights: Array[LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | MultiTargetNode | BackReferenceReadNode | NumberedReferenceReadNode], lparen_loc: Location?, rparen_loc: Location?, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#13236 + # source://prism//lib/prism/node.rb#13236 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -25410,7 +25410,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13355 + # source://prism//lib/prism/node.rb#13355 sig { override.returns(String) } def inspect; end @@ -25424,7 +25424,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3, 4, 5 # ^^^^^^^ # - # source://prism/lib/prism/node.rb#13249 + # source://prism//lib/prism/node.rb#13249 sig do returns(T::Array[T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::MultiTargetNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)]) end @@ -25432,7 +25432,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#13340 + # source://prism//lib/prism/node.rb#13340 sig { returns(T.nilable(String)) } def lparen; end @@ -25441,13 +25441,13 @@ class Prism::MultiWriteNode < ::Prism::Node # (a, b, c) = 1, 2, 3 # ^ # - # source://prism/lib/prism/node.rb#13277 + # source://prism//lib/prism/node.rb#13277 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#13350 + # source://prism//lib/prism/node.rb#13350 sig { returns(String) } def operator; end @@ -25456,7 +25456,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3 # ^ # - # source://prism/lib/prism/node.rb#13321 + # source://prism//lib/prism/node.rb#13321 sig { returns(Prism::Location) } def operator_loc; end @@ -25475,7 +25475,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, = 1, 2, 3, 4 # ^ # - # source://prism/lib/prism/node.rb#13265 + # source://prism//lib/prism/node.rb#13265 sig { returns(T.nilable(T.any(Prism::ImplicitRestNode, Prism::SplatNode))) } def rest; end @@ -25484,7 +25484,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, *, b, c = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism/lib/prism/node.rb#13271 + # source://prism//lib/prism/node.rb#13271 sig do returns(T::Array[T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::MultiTargetNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)]) end @@ -25492,7 +25492,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#13345 + # source://prism//lib/prism/node.rb#13345 sig { returns(T.nilable(String)) } def rparen; end @@ -25501,31 +25501,31 @@ class Prism::MultiWriteNode < ::Prism::Node # (a, b, c) = 1, 2, 3 # ^ # - # source://prism/lib/prism/node.rb#13299 + # source://prism//lib/prism/node.rb#13299 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13291 + # source://prism//lib/prism/node.rb#13291 def save_lparen_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13329 + # source://prism//lib/prism/node.rb#13329 def save_operator_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13313 + # source://prism//lib/prism/node.rb#13313 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13360 + # source://prism//lib/prism/node.rb#13360 sig { override.returns(Symbol) } def type; end @@ -25534,14 +25534,14 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3 # ^^^^^^^ # - # source://prism/lib/prism/node.rb#13337 + # source://prism//lib/prism/node.rb#13337 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13365 + # source://prism//lib/prism/node.rb#13365 def type; end end end @@ -25550,761 +25550,761 @@ end # visited. This is useful for consumers that want to mutate the tree, as you # can change subtrees in place without effecting the rest of the tree. # -# source://prism/lib/prism/mutation_compiler.rb#13 +# source://prism//lib/prism/mutation_compiler.rb#13 class Prism::MutationCompiler < ::Prism::Compiler # Copy a AliasGlobalVariableNode node # - # source://prism/lib/prism/mutation_compiler.rb#15 + # source://prism//lib/prism/mutation_compiler.rb#15 def visit_alias_global_variable_node(node); end # Copy a AliasMethodNode node # - # source://prism/lib/prism/mutation_compiler.rb#20 + # source://prism//lib/prism/mutation_compiler.rb#20 def visit_alias_method_node(node); end # Copy a AlternationPatternNode node # - # source://prism/lib/prism/mutation_compiler.rb#25 + # source://prism//lib/prism/mutation_compiler.rb#25 def visit_alternation_pattern_node(node); end # Copy a AndNode node # - # source://prism/lib/prism/mutation_compiler.rb#30 + # source://prism//lib/prism/mutation_compiler.rb#30 def visit_and_node(node); end # Copy a ArgumentsNode node # - # source://prism/lib/prism/mutation_compiler.rb#35 + # source://prism//lib/prism/mutation_compiler.rb#35 def visit_arguments_node(node); end # Copy a ArrayNode node # - # source://prism/lib/prism/mutation_compiler.rb#40 + # source://prism//lib/prism/mutation_compiler.rb#40 def visit_array_node(node); end # Copy a ArrayPatternNode node # - # source://prism/lib/prism/mutation_compiler.rb#45 + # source://prism//lib/prism/mutation_compiler.rb#45 def visit_array_pattern_node(node); end # Copy a AssocNode node # - # source://prism/lib/prism/mutation_compiler.rb#50 + # source://prism//lib/prism/mutation_compiler.rb#50 def visit_assoc_node(node); end # Copy a AssocSplatNode node # - # source://prism/lib/prism/mutation_compiler.rb#55 + # source://prism//lib/prism/mutation_compiler.rb#55 def visit_assoc_splat_node(node); end # Copy a BackReferenceReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#60 + # source://prism//lib/prism/mutation_compiler.rb#60 def visit_back_reference_read_node(node); end # Copy a BeginNode node # - # source://prism/lib/prism/mutation_compiler.rb#65 + # source://prism//lib/prism/mutation_compiler.rb#65 def visit_begin_node(node); end # Copy a BlockArgumentNode node # - # source://prism/lib/prism/mutation_compiler.rb#70 + # source://prism//lib/prism/mutation_compiler.rb#70 def visit_block_argument_node(node); end # Copy a BlockLocalVariableNode node # - # source://prism/lib/prism/mutation_compiler.rb#75 + # source://prism//lib/prism/mutation_compiler.rb#75 def visit_block_local_variable_node(node); end # Copy a BlockNode node # - # source://prism/lib/prism/mutation_compiler.rb#80 + # source://prism//lib/prism/mutation_compiler.rb#80 def visit_block_node(node); end # Copy a BlockParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#85 + # source://prism//lib/prism/mutation_compiler.rb#85 def visit_block_parameter_node(node); end # Copy a BlockParametersNode node # - # source://prism/lib/prism/mutation_compiler.rb#90 + # source://prism//lib/prism/mutation_compiler.rb#90 def visit_block_parameters_node(node); end # Copy a BreakNode node # - # source://prism/lib/prism/mutation_compiler.rb#95 + # source://prism//lib/prism/mutation_compiler.rb#95 def visit_break_node(node); end # Copy a CallAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#100 + # source://prism//lib/prism/mutation_compiler.rb#100 def visit_call_and_write_node(node); end # Copy a CallNode node # - # source://prism/lib/prism/mutation_compiler.rb#105 + # source://prism//lib/prism/mutation_compiler.rb#105 def visit_call_node(node); end # Copy a CallOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#110 + # source://prism//lib/prism/mutation_compiler.rb#110 def visit_call_operator_write_node(node); end # Copy a CallOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#115 + # source://prism//lib/prism/mutation_compiler.rb#115 def visit_call_or_write_node(node); end # Copy a CallTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#120 + # source://prism//lib/prism/mutation_compiler.rb#120 def visit_call_target_node(node); end # Copy a CapturePatternNode node # - # source://prism/lib/prism/mutation_compiler.rb#125 + # source://prism//lib/prism/mutation_compiler.rb#125 def visit_capture_pattern_node(node); end # Copy a CaseMatchNode node # - # source://prism/lib/prism/mutation_compiler.rb#130 + # source://prism//lib/prism/mutation_compiler.rb#130 def visit_case_match_node(node); end # Copy a CaseNode node # - # source://prism/lib/prism/mutation_compiler.rb#135 + # source://prism//lib/prism/mutation_compiler.rb#135 def visit_case_node(node); end # Copy a ClassNode node # - # source://prism/lib/prism/mutation_compiler.rb#140 + # source://prism//lib/prism/mutation_compiler.rb#140 def visit_class_node(node); end # Copy a ClassVariableAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#145 + # source://prism//lib/prism/mutation_compiler.rb#145 def visit_class_variable_and_write_node(node); end # Copy a ClassVariableOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#150 + # source://prism//lib/prism/mutation_compiler.rb#150 def visit_class_variable_operator_write_node(node); end # Copy a ClassVariableOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#155 + # source://prism//lib/prism/mutation_compiler.rb#155 def visit_class_variable_or_write_node(node); end # Copy a ClassVariableReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#160 + # source://prism//lib/prism/mutation_compiler.rb#160 def visit_class_variable_read_node(node); end # Copy a ClassVariableTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#165 + # source://prism//lib/prism/mutation_compiler.rb#165 def visit_class_variable_target_node(node); end # Copy a ClassVariableWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#170 + # source://prism//lib/prism/mutation_compiler.rb#170 def visit_class_variable_write_node(node); end # Copy a ConstantAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#175 + # source://prism//lib/prism/mutation_compiler.rb#175 def visit_constant_and_write_node(node); end # Copy a ConstantOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#180 + # source://prism//lib/prism/mutation_compiler.rb#180 def visit_constant_operator_write_node(node); end # Copy a ConstantOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#185 + # source://prism//lib/prism/mutation_compiler.rb#185 def visit_constant_or_write_node(node); end # Copy a ConstantPathAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#190 + # source://prism//lib/prism/mutation_compiler.rb#190 def visit_constant_path_and_write_node(node); end # Copy a ConstantPathNode node # - # source://prism/lib/prism/mutation_compiler.rb#195 + # source://prism//lib/prism/mutation_compiler.rb#195 def visit_constant_path_node(node); end # Copy a ConstantPathOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#200 + # source://prism//lib/prism/mutation_compiler.rb#200 def visit_constant_path_operator_write_node(node); end # Copy a ConstantPathOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#205 + # source://prism//lib/prism/mutation_compiler.rb#205 def visit_constant_path_or_write_node(node); end # Copy a ConstantPathTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#210 + # source://prism//lib/prism/mutation_compiler.rb#210 def visit_constant_path_target_node(node); end # Copy a ConstantPathWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#215 + # source://prism//lib/prism/mutation_compiler.rb#215 def visit_constant_path_write_node(node); end # Copy a ConstantReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#220 + # source://prism//lib/prism/mutation_compiler.rb#220 def visit_constant_read_node(node); end # Copy a ConstantTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#225 + # source://prism//lib/prism/mutation_compiler.rb#225 def visit_constant_target_node(node); end # Copy a ConstantWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#230 + # source://prism//lib/prism/mutation_compiler.rb#230 def visit_constant_write_node(node); end # Copy a DefNode node # - # source://prism/lib/prism/mutation_compiler.rb#235 + # source://prism//lib/prism/mutation_compiler.rb#235 def visit_def_node(node); end # Copy a DefinedNode node # - # source://prism/lib/prism/mutation_compiler.rb#240 + # source://prism//lib/prism/mutation_compiler.rb#240 def visit_defined_node(node); end # Copy a ElseNode node # - # source://prism/lib/prism/mutation_compiler.rb#245 + # source://prism//lib/prism/mutation_compiler.rb#245 def visit_else_node(node); end # Copy a EmbeddedStatementsNode node # - # source://prism/lib/prism/mutation_compiler.rb#250 + # source://prism//lib/prism/mutation_compiler.rb#250 def visit_embedded_statements_node(node); end # Copy a EmbeddedVariableNode node # - # source://prism/lib/prism/mutation_compiler.rb#255 + # source://prism//lib/prism/mutation_compiler.rb#255 def visit_embedded_variable_node(node); end # Copy a EnsureNode node # - # source://prism/lib/prism/mutation_compiler.rb#260 + # source://prism//lib/prism/mutation_compiler.rb#260 def visit_ensure_node(node); end # Copy a FalseNode node # - # source://prism/lib/prism/mutation_compiler.rb#265 + # source://prism//lib/prism/mutation_compiler.rb#265 def visit_false_node(node); end # Copy a FindPatternNode node # - # source://prism/lib/prism/mutation_compiler.rb#270 + # source://prism//lib/prism/mutation_compiler.rb#270 def visit_find_pattern_node(node); end # Copy a FlipFlopNode node # - # source://prism/lib/prism/mutation_compiler.rb#275 + # source://prism//lib/prism/mutation_compiler.rb#275 def visit_flip_flop_node(node); end # Copy a FloatNode node # - # source://prism/lib/prism/mutation_compiler.rb#280 + # source://prism//lib/prism/mutation_compiler.rb#280 def visit_float_node(node); end # Copy a ForNode node # - # source://prism/lib/prism/mutation_compiler.rb#285 + # source://prism//lib/prism/mutation_compiler.rb#285 def visit_for_node(node); end # Copy a ForwardingArgumentsNode node # - # source://prism/lib/prism/mutation_compiler.rb#290 + # source://prism//lib/prism/mutation_compiler.rb#290 def visit_forwarding_arguments_node(node); end # Copy a ForwardingParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#295 + # source://prism//lib/prism/mutation_compiler.rb#295 def visit_forwarding_parameter_node(node); end # Copy a ForwardingSuperNode node # - # source://prism/lib/prism/mutation_compiler.rb#300 + # source://prism//lib/prism/mutation_compiler.rb#300 def visit_forwarding_super_node(node); end # Copy a GlobalVariableAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#305 + # source://prism//lib/prism/mutation_compiler.rb#305 def visit_global_variable_and_write_node(node); end # Copy a GlobalVariableOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#310 + # source://prism//lib/prism/mutation_compiler.rb#310 def visit_global_variable_operator_write_node(node); end # Copy a GlobalVariableOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#315 + # source://prism//lib/prism/mutation_compiler.rb#315 def visit_global_variable_or_write_node(node); end # Copy a GlobalVariableReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#320 + # source://prism//lib/prism/mutation_compiler.rb#320 def visit_global_variable_read_node(node); end # Copy a GlobalVariableTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#325 + # source://prism//lib/prism/mutation_compiler.rb#325 def visit_global_variable_target_node(node); end # Copy a GlobalVariableWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#330 + # source://prism//lib/prism/mutation_compiler.rb#330 def visit_global_variable_write_node(node); end # Copy a HashNode node # - # source://prism/lib/prism/mutation_compiler.rb#335 + # source://prism//lib/prism/mutation_compiler.rb#335 def visit_hash_node(node); end # Copy a HashPatternNode node # - # source://prism/lib/prism/mutation_compiler.rb#340 + # source://prism//lib/prism/mutation_compiler.rb#340 def visit_hash_pattern_node(node); end # Copy a IfNode node # - # source://prism/lib/prism/mutation_compiler.rb#345 + # source://prism//lib/prism/mutation_compiler.rb#345 def visit_if_node(node); end # Copy a ImaginaryNode node # - # source://prism/lib/prism/mutation_compiler.rb#350 + # source://prism//lib/prism/mutation_compiler.rb#350 def visit_imaginary_node(node); end # Copy a ImplicitNode node # - # source://prism/lib/prism/mutation_compiler.rb#355 + # source://prism//lib/prism/mutation_compiler.rb#355 def visit_implicit_node(node); end # Copy a ImplicitRestNode node # - # source://prism/lib/prism/mutation_compiler.rb#360 + # source://prism//lib/prism/mutation_compiler.rb#360 def visit_implicit_rest_node(node); end # Copy a InNode node # - # source://prism/lib/prism/mutation_compiler.rb#365 + # source://prism//lib/prism/mutation_compiler.rb#365 def visit_in_node(node); end # Copy a IndexAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#370 + # source://prism//lib/prism/mutation_compiler.rb#370 def visit_index_and_write_node(node); end # Copy a IndexOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#375 + # source://prism//lib/prism/mutation_compiler.rb#375 def visit_index_operator_write_node(node); end # Copy a IndexOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#380 + # source://prism//lib/prism/mutation_compiler.rb#380 def visit_index_or_write_node(node); end # Copy a IndexTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#385 + # source://prism//lib/prism/mutation_compiler.rb#385 def visit_index_target_node(node); end # Copy a InstanceVariableAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#390 + # source://prism//lib/prism/mutation_compiler.rb#390 def visit_instance_variable_and_write_node(node); end # Copy a InstanceVariableOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#395 + # source://prism//lib/prism/mutation_compiler.rb#395 def visit_instance_variable_operator_write_node(node); end # Copy a InstanceVariableOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#400 + # source://prism//lib/prism/mutation_compiler.rb#400 def visit_instance_variable_or_write_node(node); end # Copy a InstanceVariableReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#405 + # source://prism//lib/prism/mutation_compiler.rb#405 def visit_instance_variable_read_node(node); end # Copy a InstanceVariableTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#410 + # source://prism//lib/prism/mutation_compiler.rb#410 def visit_instance_variable_target_node(node); end # Copy a InstanceVariableWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#415 + # source://prism//lib/prism/mutation_compiler.rb#415 def visit_instance_variable_write_node(node); end # Copy a IntegerNode node # - # source://prism/lib/prism/mutation_compiler.rb#420 + # source://prism//lib/prism/mutation_compiler.rb#420 def visit_integer_node(node); end # Copy a InterpolatedMatchLastLineNode node # - # source://prism/lib/prism/mutation_compiler.rb#425 + # source://prism//lib/prism/mutation_compiler.rb#425 def visit_interpolated_match_last_line_node(node); end # Copy a InterpolatedRegularExpressionNode node # - # source://prism/lib/prism/mutation_compiler.rb#430 + # source://prism//lib/prism/mutation_compiler.rb#430 def visit_interpolated_regular_expression_node(node); end # Copy a InterpolatedStringNode node # - # source://prism/lib/prism/mutation_compiler.rb#435 + # source://prism//lib/prism/mutation_compiler.rb#435 def visit_interpolated_string_node(node); end # Copy a InterpolatedSymbolNode node # - # source://prism/lib/prism/mutation_compiler.rb#440 + # source://prism//lib/prism/mutation_compiler.rb#440 def visit_interpolated_symbol_node(node); end # Copy a InterpolatedXStringNode node # - # source://prism/lib/prism/mutation_compiler.rb#445 + # source://prism//lib/prism/mutation_compiler.rb#445 def visit_interpolated_x_string_node(node); end # Copy a ItLocalVariableReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#450 + # source://prism//lib/prism/mutation_compiler.rb#450 def visit_it_local_variable_read_node(node); end # Copy a ItParametersNode node # - # source://prism/lib/prism/mutation_compiler.rb#455 + # source://prism//lib/prism/mutation_compiler.rb#455 def visit_it_parameters_node(node); end # Copy a KeywordHashNode node # - # source://prism/lib/prism/mutation_compiler.rb#460 + # source://prism//lib/prism/mutation_compiler.rb#460 def visit_keyword_hash_node(node); end # Copy a KeywordRestParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#465 + # source://prism//lib/prism/mutation_compiler.rb#465 def visit_keyword_rest_parameter_node(node); end # Copy a LambdaNode node # - # source://prism/lib/prism/mutation_compiler.rb#470 + # source://prism//lib/prism/mutation_compiler.rb#470 def visit_lambda_node(node); end # Copy a LocalVariableAndWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#475 + # source://prism//lib/prism/mutation_compiler.rb#475 def visit_local_variable_and_write_node(node); end # Copy a LocalVariableOperatorWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#480 + # source://prism//lib/prism/mutation_compiler.rb#480 def visit_local_variable_operator_write_node(node); end # Copy a LocalVariableOrWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#485 + # source://prism//lib/prism/mutation_compiler.rb#485 def visit_local_variable_or_write_node(node); end # Copy a LocalVariableReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#490 + # source://prism//lib/prism/mutation_compiler.rb#490 def visit_local_variable_read_node(node); end # Copy a LocalVariableTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#495 + # source://prism//lib/prism/mutation_compiler.rb#495 def visit_local_variable_target_node(node); end # Copy a LocalVariableWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#500 + # source://prism//lib/prism/mutation_compiler.rb#500 def visit_local_variable_write_node(node); end # Copy a MatchLastLineNode node # - # source://prism/lib/prism/mutation_compiler.rb#505 + # source://prism//lib/prism/mutation_compiler.rb#505 def visit_match_last_line_node(node); end # Copy a MatchPredicateNode node # - # source://prism/lib/prism/mutation_compiler.rb#510 + # source://prism//lib/prism/mutation_compiler.rb#510 def visit_match_predicate_node(node); end # Copy a MatchRequiredNode node # - # source://prism/lib/prism/mutation_compiler.rb#515 + # source://prism//lib/prism/mutation_compiler.rb#515 def visit_match_required_node(node); end # Copy a MatchWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#520 + # source://prism//lib/prism/mutation_compiler.rb#520 def visit_match_write_node(node); end # Copy a MissingNode node # - # source://prism/lib/prism/mutation_compiler.rb#525 + # source://prism//lib/prism/mutation_compiler.rb#525 def visit_missing_node(node); end # Copy a ModuleNode node # - # source://prism/lib/prism/mutation_compiler.rb#530 + # source://prism//lib/prism/mutation_compiler.rb#530 def visit_module_node(node); end # Copy a MultiTargetNode node # - # source://prism/lib/prism/mutation_compiler.rb#535 + # source://prism//lib/prism/mutation_compiler.rb#535 def visit_multi_target_node(node); end # Copy a MultiWriteNode node # - # source://prism/lib/prism/mutation_compiler.rb#540 + # source://prism//lib/prism/mutation_compiler.rb#540 def visit_multi_write_node(node); end # Copy a NextNode node # - # source://prism/lib/prism/mutation_compiler.rb#545 + # source://prism//lib/prism/mutation_compiler.rb#545 def visit_next_node(node); end # Copy a NilNode node # - # source://prism/lib/prism/mutation_compiler.rb#550 + # source://prism//lib/prism/mutation_compiler.rb#550 def visit_nil_node(node); end # Copy a NoKeywordsParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#555 + # source://prism//lib/prism/mutation_compiler.rb#555 def visit_no_keywords_parameter_node(node); end # Copy a NumberedParametersNode node # - # source://prism/lib/prism/mutation_compiler.rb#560 + # source://prism//lib/prism/mutation_compiler.rb#560 def visit_numbered_parameters_node(node); end # Copy a NumberedReferenceReadNode node # - # source://prism/lib/prism/mutation_compiler.rb#565 + # source://prism//lib/prism/mutation_compiler.rb#565 def visit_numbered_reference_read_node(node); end # Copy a OptionalKeywordParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#570 + # source://prism//lib/prism/mutation_compiler.rb#570 def visit_optional_keyword_parameter_node(node); end # Copy a OptionalParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#575 + # source://prism//lib/prism/mutation_compiler.rb#575 def visit_optional_parameter_node(node); end # Copy a OrNode node # - # source://prism/lib/prism/mutation_compiler.rb#580 + # source://prism//lib/prism/mutation_compiler.rb#580 def visit_or_node(node); end # Copy a ParametersNode node # - # source://prism/lib/prism/mutation_compiler.rb#585 + # source://prism//lib/prism/mutation_compiler.rb#585 def visit_parameters_node(node); end # Copy a ParenthesesNode node # - # source://prism/lib/prism/mutation_compiler.rb#590 + # source://prism//lib/prism/mutation_compiler.rb#590 def visit_parentheses_node(node); end # Copy a PinnedExpressionNode node # - # source://prism/lib/prism/mutation_compiler.rb#595 + # source://prism//lib/prism/mutation_compiler.rb#595 def visit_pinned_expression_node(node); end # Copy a PinnedVariableNode node # - # source://prism/lib/prism/mutation_compiler.rb#600 + # source://prism//lib/prism/mutation_compiler.rb#600 def visit_pinned_variable_node(node); end # Copy a PostExecutionNode node # - # source://prism/lib/prism/mutation_compiler.rb#605 + # source://prism//lib/prism/mutation_compiler.rb#605 def visit_post_execution_node(node); end # Copy a PreExecutionNode node # - # source://prism/lib/prism/mutation_compiler.rb#610 + # source://prism//lib/prism/mutation_compiler.rb#610 def visit_pre_execution_node(node); end # Copy a ProgramNode node # - # source://prism/lib/prism/mutation_compiler.rb#615 + # source://prism//lib/prism/mutation_compiler.rb#615 def visit_program_node(node); end # Copy a RangeNode node # - # source://prism/lib/prism/mutation_compiler.rb#620 + # source://prism//lib/prism/mutation_compiler.rb#620 def visit_range_node(node); end # Copy a RationalNode node # - # source://prism/lib/prism/mutation_compiler.rb#625 + # source://prism//lib/prism/mutation_compiler.rb#625 def visit_rational_node(node); end # Copy a RedoNode node # - # source://prism/lib/prism/mutation_compiler.rb#630 + # source://prism//lib/prism/mutation_compiler.rb#630 def visit_redo_node(node); end # Copy a RegularExpressionNode node # - # source://prism/lib/prism/mutation_compiler.rb#635 + # source://prism//lib/prism/mutation_compiler.rb#635 def visit_regular_expression_node(node); end # Copy a RequiredKeywordParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#640 + # source://prism//lib/prism/mutation_compiler.rb#640 def visit_required_keyword_parameter_node(node); end # Copy a RequiredParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#645 + # source://prism//lib/prism/mutation_compiler.rb#645 def visit_required_parameter_node(node); end # Copy a RescueModifierNode node # - # source://prism/lib/prism/mutation_compiler.rb#650 + # source://prism//lib/prism/mutation_compiler.rb#650 def visit_rescue_modifier_node(node); end # Copy a RescueNode node # - # source://prism/lib/prism/mutation_compiler.rb#655 + # source://prism//lib/prism/mutation_compiler.rb#655 def visit_rescue_node(node); end # Copy a RestParameterNode node # - # source://prism/lib/prism/mutation_compiler.rb#660 + # source://prism//lib/prism/mutation_compiler.rb#660 def visit_rest_parameter_node(node); end # Copy a RetryNode node # - # source://prism/lib/prism/mutation_compiler.rb#665 + # source://prism//lib/prism/mutation_compiler.rb#665 def visit_retry_node(node); end # Copy a ReturnNode node # - # source://prism/lib/prism/mutation_compiler.rb#670 + # source://prism//lib/prism/mutation_compiler.rb#670 def visit_return_node(node); end # Copy a SelfNode node # - # source://prism/lib/prism/mutation_compiler.rb#675 + # source://prism//lib/prism/mutation_compiler.rb#675 def visit_self_node(node); end # Copy a ShareableConstantNode node # - # source://prism/lib/prism/mutation_compiler.rb#680 + # source://prism//lib/prism/mutation_compiler.rb#680 def visit_shareable_constant_node(node); end # Copy a SingletonClassNode node # - # source://prism/lib/prism/mutation_compiler.rb#685 + # source://prism//lib/prism/mutation_compiler.rb#685 def visit_singleton_class_node(node); end # Copy a SourceEncodingNode node # - # source://prism/lib/prism/mutation_compiler.rb#690 + # source://prism//lib/prism/mutation_compiler.rb#690 def visit_source_encoding_node(node); end # Copy a SourceFileNode node # - # source://prism/lib/prism/mutation_compiler.rb#695 + # source://prism//lib/prism/mutation_compiler.rb#695 def visit_source_file_node(node); end # Copy a SourceLineNode node # - # source://prism/lib/prism/mutation_compiler.rb#700 + # source://prism//lib/prism/mutation_compiler.rb#700 def visit_source_line_node(node); end # Copy a SplatNode node # - # source://prism/lib/prism/mutation_compiler.rb#705 + # source://prism//lib/prism/mutation_compiler.rb#705 def visit_splat_node(node); end # Copy a StatementsNode node # - # source://prism/lib/prism/mutation_compiler.rb#710 + # source://prism//lib/prism/mutation_compiler.rb#710 def visit_statements_node(node); end # Copy a StringNode node # - # source://prism/lib/prism/mutation_compiler.rb#715 + # source://prism//lib/prism/mutation_compiler.rb#715 def visit_string_node(node); end # Copy a SuperNode node # - # source://prism/lib/prism/mutation_compiler.rb#720 + # source://prism//lib/prism/mutation_compiler.rb#720 def visit_super_node(node); end # Copy a SymbolNode node # - # source://prism/lib/prism/mutation_compiler.rb#725 + # source://prism//lib/prism/mutation_compiler.rb#725 def visit_symbol_node(node); end # Copy a TrueNode node # - # source://prism/lib/prism/mutation_compiler.rb#730 + # source://prism//lib/prism/mutation_compiler.rb#730 def visit_true_node(node); end # Copy a UndefNode node # - # source://prism/lib/prism/mutation_compiler.rb#735 + # source://prism//lib/prism/mutation_compiler.rb#735 def visit_undef_node(node); end # Copy a UnlessNode node # - # source://prism/lib/prism/mutation_compiler.rb#740 + # source://prism//lib/prism/mutation_compiler.rb#740 def visit_unless_node(node); end # Copy a UntilNode node # - # source://prism/lib/prism/mutation_compiler.rb#745 + # source://prism//lib/prism/mutation_compiler.rb#745 def visit_until_node(node); end # Copy a WhenNode node # - # source://prism/lib/prism/mutation_compiler.rb#750 + # source://prism//lib/prism/mutation_compiler.rb#750 def visit_when_node(node); end # Copy a WhileNode node # - # source://prism/lib/prism/mutation_compiler.rb#755 + # source://prism//lib/prism/mutation_compiler.rb#755 def visit_while_node(node); end # Copy a XStringNode node # - # source://prism/lib/prism/mutation_compiler.rb#760 + # source://prism//lib/prism/mutation_compiler.rb#760 def visit_x_string_node(node); end # Copy a YieldNode node # - # source://prism/lib/prism/mutation_compiler.rb#765 + # source://prism//lib/prism/mutation_compiler.rb#765 def visit_yield_node(node); end end @@ -26313,13 +26313,13 @@ end # next 1 # ^^^^^^ # -# source://prism/lib/prism/node.rb#13389 +# source://prism//lib/prism/node.rb#13389 class Prism::NextNode < ::Prism::Node # Initialize a new NextNode node. # # @return [NextNode] a new instance of NextNode # - # source://prism/lib/prism/node.rb#13391 + # source://prism//lib/prism/node.rb#13391 sig do params( source: Prism::Source, @@ -26335,42 +26335,42 @@ class Prism::NextNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13473 + # source://prism//lib/prism/node.rb#13473 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13401 + # source://prism//lib/prism/node.rb#13401 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#13436 + # source://prism//lib/prism/node.rb#13436 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13406 + # source://prism//lib/prism/node.rb#13406 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13418 + # source://prism//lib/prism/node.rb#13418 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13411 + # source://prism//lib/prism/node.rb#13411 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?arguments: ArgumentsNode?, ?keyword_loc: Location) -> NextNode # - # source://prism/lib/prism/node.rb#13423 + # source://prism//lib/prism/node.rb#13423 sig do params( node_id: Integer, @@ -26385,13 +26385,13 @@ class Prism::NextNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13406 + # source://prism//lib/prism/node.rb#13428 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, arguments: ArgumentsNode?, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#13431 + # source://prism//lib/prism/node.rb#13431 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26400,38 +26400,38 @@ class Prism::NextNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13457 + # source://prism//lib/prism/node.rb#13457 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#13452 + # source://prism//lib/prism/node.rb#13452 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#13439 + # source://prism//lib/prism/node.rb#13439 sig { returns(Prism::Location) } def keyword_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13447 + # source://prism//lib/prism/node.rb#13447 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13462 + # source://prism//lib/prism/node.rb#13462 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13467 + # source://prism//lib/prism/node.rb#13467 def type; end end end @@ -26441,62 +26441,62 @@ end # nil # ^^^ # -# source://prism/lib/prism/node.rb#13484 +# source://prism//lib/prism/node.rb#13484 class Prism::NilNode < ::Prism::Node # Initialize a new NilNode node. # # @return [NilNode] a new instance of NilNode # - # source://prism/lib/prism/node.rb#13486 + # source://prism//lib/prism/node.rb#13486 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13543 + # source://prism//lib/prism/node.rb#13543 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13494 + # source://prism//lib/prism/node.rb#13494 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13499 + # source://prism//lib/prism/node.rb#13499 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13509 + # source://prism//lib/prism/node.rb#13509 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13504 + # source://prism//lib/prism/node.rb#13504 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> NilNode # - # source://prism/lib/prism/node.rb#13514 + # source://prism//lib/prism/node.rb#13514 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::NilNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13499 + # source://prism//lib/prism/node.rb#13519 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#13522 + # source://prism//lib/prism/node.rb#13522 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26505,20 +26505,20 @@ class Prism::NilNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13527 + # source://prism//lib/prism/node.rb#13527 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13532 + # source://prism//lib/prism/node.rb#13532 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13537 + # source://prism//lib/prism/node.rb#13537 def type; end end end @@ -26529,13 +26529,13 @@ end # ^^^^^ # end # -# source://prism/lib/prism/node.rb#13553 +# source://prism//lib/prism/node.rb#13553 class Prism::NoKeywordsParameterNode < ::Prism::Node # Initialize a new NoKeywordsParameterNode node. # # @return [NoKeywordsParameterNode] a new instance of NoKeywordsParameterNode # - # source://prism/lib/prism/node.rb#13555 + # source://prism//lib/prism/node.rb#13555 sig do params( source: Prism::Source, @@ -26551,36 +26551,36 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13650 + # source://prism//lib/prism/node.rb#13650 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13565 + # source://prism//lib/prism/node.rb#13565 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13570 + # source://prism//lib/prism/node.rb#13570 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13580 + # source://prism//lib/prism/node.rb#13580 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13575 + # source://prism//lib/prism/node.rb#13575 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?operator_loc: Location, ?keyword_loc: Location) -> NoKeywordsParameterNode # - # source://prism/lib/prism/node.rb#13585 + # source://prism//lib/prism/node.rb#13585 sig do params( node_id: Integer, @@ -26595,13 +26595,13 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13570 + # source://prism//lib/prism/node.rb#13590 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, operator_loc: Location, keyword_loc: Location } # - # source://prism/lib/prism/node.rb#13593 + # source://prism//lib/prism/node.rb#13593 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26610,56 +26610,56 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13634 + # source://prism//lib/prism/node.rb#13634 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#13629 + # source://prism//lib/prism/node.rb#13629 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#13611 + # source://prism//lib/prism/node.rb#13611 sig { returns(Prism::Location) } def keyword_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#13624 + # source://prism//lib/prism/node.rb#13624 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#13598 + # source://prism//lib/prism/node.rb#13598 sig { returns(Prism::Location) } def operator_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13619 + # source://prism//lib/prism/node.rb#13619 def save_keyword_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13606 + # source://prism//lib/prism/node.rb#13606 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13639 + # source://prism//lib/prism/node.rb#13639 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13644 + # source://prism//lib/prism/node.rb#13644 def type; end end end @@ -26667,7 +26667,7 @@ end # This represents a node in the tree. It is the parent class of all of the # various node types. # -# source://prism/lib/prism/node.rb#12 +# source://prism//lib/prism/node.rb#12 class Prism::Node abstract! @@ -26675,7 +26675,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#258 + # source://prism//lib/prism/node.rb#258 sig { abstract.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -26685,32 +26685,32 @@ class Prism::Node # # node.breadth_first_search { |node| node.node_id == node_id } # - # source://prism/lib/prism/node.rb#228 + # source://prism//lib/prism/node.rb#228 sig { params(block: T.proc.params(node: Prism::Node).returns(T::Boolean)).returns(T.nilable(Prism::Node)) } def breadth_first_search(&block); end # Delegates to the cached_end_code_units_column of the associated location # object. # - # source://prism/lib/prism/node.rb#115 + # source://prism//lib/prism/node.rb#115 def cached_end_code_units_column(cache); end # Delegates to the cached_end_code_units_offset of the associated location # object. # - # source://prism/lib/prism/node.rb#83 + # source://prism//lib/prism/node.rb#83 def cached_end_code_units_offset(cache); end # Delegates to the cached_start_code_units_column of the associated location # object. # - # source://prism/lib/prism/node.rb#109 + # source://prism//lib/prism/node.rb#109 def cached_start_code_units_column(cache); end # Delegates to the cached_start_code_units_offset of the associated location # object. # - # source://prism/lib/prism/node.rb#77 + # source://prism//lib/prism/node.rb#77 def cached_start_code_units_offset(cache); end # Returns an array of child nodes, including `nil`s in the place of optional @@ -26718,7 +26718,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#264 + # source://prism//lib/prism/node.rb#264 sig { abstract.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end @@ -26727,13 +26727,13 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#278 + # source://prism//lib/prism/node.rb#278 sig { abstract.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # Delegates to the comments of the associated location object. # - # source://prism/lib/prism/node.rb#130 + # source://prism//lib/prism/node.rb#130 def comments; end # Returns an array of child nodes, excluding any `nil`s in the place of @@ -26741,7 +26741,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#272 + # source://prism//lib/prism/node.rb#272 sig { abstract.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -26750,37 +26750,37 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#264 + # source://prism//lib/prism/node.rb#268 sig { abstract.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end - # source://prism/lib/prism/node_ext.rb#7 + # source://prism//lib/prism/node_ext.rb#7 def deprecated(*replacements); end # Delegates to the end_character_column of the associated location object. # - # source://prism/lib/prism/node.rb#103 + # source://prism//lib/prism/node.rb#103 def end_character_column; end # Delegates to the end_character_offset of the associated location object. # - # source://prism/lib/prism/node.rb#71 + # source://prism//lib/prism/node.rb#71 def end_character_offset; end # Delegates to the end_column of the associated location object. # - # source://prism/lib/prism/node.rb#93 + # source://prism//lib/prism/node.rb#93 def end_column; end # Delegates to the end_line of the associated location object. # - # source://prism/lib/prism/node.rb#47 + # source://prism//lib/prism/node.rb#47 def end_line; end # The end offset of the node in the source. This method is effectively a # delegate method to the location object. # - # source://prism/lib/prism/node.rb#60 + # source://prism//lib/prism/node.rb#60 sig { returns(Integer) } def end_offset; end @@ -26791,19 +26791,19 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#283 + # source://prism//lib/prism/node.rb#283 sig { abstract.returns(String) } def inspect; end # Delegates to the leading_comments of the associated location object. # - # source://prism/lib/prism/node.rb#120 + # source://prism//lib/prism/node.rb#120 def leading_comments; end # A Location instance that represents the location of this node in the # source. # - # source://prism/lib/prism/node.rb#30 + # source://prism//lib/prism/node.rb#30 sig { returns(Prism::Location) } def location; end @@ -26811,16 +26811,16 @@ class Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#161 + # source://prism//lib/prism/node.rb#161 sig { returns(T::Boolean) } def newline?; end - # source://prism/lib/prism/parse_result/newlines.rb#69 + # source://prism//lib/prism/parse_result/newlines.rb#69 def newline_flag!(lines); end # @return [Boolean] # - # source://prism/lib/prism/parse_result/newlines.rb#65 + # source://prism//lib/prism/parse_result/newlines.rb#65 def newline_flag?; end # A unique identifier for this node. This is used in a very specific @@ -26828,38 +26828,38 @@ class Prism::Node # having to keep around the syntax tree in memory. This unique identifier # will be consistent across multiple parses of the same source code. # - # source://prism/lib/prism/node.rb#21 + # source://prism//lib/prism/node.rb#21 sig { returns(Integer) } def node_id; end # Similar to inspect, but respects the current level of indentation given by # the pretty print object. # - # source://prism/lib/prism/node.rb#172 + # source://prism//lib/prism/node.rb#172 sig { params(q: T.untyped).void } def pretty_print(q); end # Save this node using a saved source so that it can be retrieved later. # - # source://prism/lib/prism/node.rb#24 + # source://prism//lib/prism/node.rb#24 def save(repository); end # Save the location using a saved source so that it can be retrieved later. # - # source://prism/lib/prism/node.rb#37 + # source://prism//lib/prism/node.rb#37 def save_location(repository); end # Returns all of the lines of the source code associated with this node. # An alias for source_lines, used to mimic the API from # RubyVM::AbstractSyntaxTree to make it easier to migrate. # - # source://prism/lib/prism/node.rb#135 + # source://prism//lib/prism/node.rb#141 sig { returns(T::Array[String]) } def script_lines; end # Slice the location of the node from the source. # - # source://prism/lib/prism/node.rb#144 + # source://prism//lib/prism/node.rb#144 sig { returns(String) } def slice; end @@ -26867,40 +26867,40 @@ class Prism::Node # of the line that the location starts on, ending at the end of the line # that the location ends on. # - # source://prism/lib/prism/node.rb#151 + # source://prism//lib/prism/node.rb#151 sig { returns(String) } def slice_lines; end # Returns all of the lines of the source code associated with this node. # - # source://prism/lib/prism/node.rb#135 + # source://prism//lib/prism/node.rb#135 sig { returns(T::Array[String]) } def source_lines; end # Delegates to the start_character_column of the associated location object. # - # source://prism/lib/prism/node.rb#98 + # source://prism//lib/prism/node.rb#98 def start_character_column; end # Delegates to the start_character_offset of the associated location object. # - # source://prism/lib/prism/node.rb#66 + # source://prism//lib/prism/node.rb#66 def start_character_offset; end # Delegates to the start_column of the associated location object. # - # source://prism/lib/prism/node.rb#88 + # source://prism//lib/prism/node.rb#88 def start_column; end # Delegates to the start_line of the associated location object. # - # source://prism/lib/prism/node.rb#42 + # source://prism//lib/prism/node.rb#42 def start_line; end # The start offset of the node in the source. This method is effectively a # delegate method to the location object. # - # source://prism/lib/prism/node.rb#53 + # source://prism//lib/prism/node.rb#53 sig { returns(Integer) } def start_offset; end @@ -26908,19 +26908,19 @@ class Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#166 + # source://prism//lib/prism/node.rb#166 sig { returns(T::Boolean) } def static_literal?; end # Convert this node into a graphviz dot graph string. # - # source://prism/lib/prism/node.rb#180 + # source://prism//lib/prism/node.rb#180 sig { returns(String) } def to_dot; end # Delegates to the trailing_comments of the associated location object. # - # source://prism/lib/prism/node.rb#125 + # source://prism//lib/prism/node.rb#125 def trailing_comments; end # Returns a list of nodes that are descendants of this node that contain the @@ -26930,7 +26930,7 @@ class Prism::Node # Important to note is that the column given to this method should be in # bytes, as opposed to characters or code units. # - # source://prism/lib/prism/node.rb#191 + # source://prism//lib/prism/node.rb#191 sig { params(line: Integer, column: Integer).returns(T::Array[Prism::Node]) } def tunnel(line, column); end @@ -26949,7 +26949,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#299 + # source://prism//lib/prism/node.rb#299 sig { abstract.returns(Symbol) } def type; end @@ -26958,7 +26958,7 @@ class Prism::Node # An bitset of flags for this node. There are certain flags that are common # for all nodes, and then some nodes have specific flags. # - # source://prism/lib/prism/node.rb#157 + # source://prism//lib/prism/node.rb#157 sig { returns(Integer) } def flags; end @@ -26966,7 +26966,7 @@ class Prism::Node # A pointer to the source that this node was created from. # - # source://prism/lib/prism/node.rb#14 + # source://prism//lib/prism/node.rb#14 sig { returns(Prism::Source) } def source; end @@ -26977,7 +26977,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#242 + # source://prism//lib/prism/node.rb#242 def fields; end # Similar to #type, this method returns a symbol that you can use for @@ -26987,26 +26987,26 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism/lib/prism/node.rb#307 + # source://prism//lib/prism/node.rb#307 def type; end end end # The flags that are common to all nodes. # -# source://prism/lib/prism/node.rb#18598 +# source://prism//lib/prism/node.rb#18598 module Prism::NodeFlags; end # A flag to indicate that the node is a candidate to emit a :line event # through tracepoint when compiled. # -# source://prism/lib/prism/node.rb#18601 +# source://prism//lib/prism/node.rb#18601 Prism::NodeFlags::NEWLINE = T.let(T.unsafe(nil), Integer) # A flag to indicate that the value that the node represents is a value that # can be determined at parse-time. # -# source://prism/lib/prism/node.rb#18605 +# source://prism//lib/prism/node.rb#18605 Prism::NodeFlags::STATIC_LITERAL = T.let(T.unsafe(nil), Integer) # Represents an implicit set of parameters through the use of numbered parameters within a block or lambda. @@ -27014,13 +27014,13 @@ Prism::NodeFlags::STATIC_LITERAL = T.let(T.unsafe(nil), Integer) # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#13661 +# source://prism//lib/prism/node.rb#13661 class Prism::NumberedParametersNode < ::Prism::Node # Initialize a new NumberedParametersNode node. # # @return [NumberedParametersNode] a new instance of NumberedParametersNode # - # source://prism/lib/prism/node.rb#13663 + # source://prism//lib/prism/node.rb#13663 sig do params( source: Prism::Source, @@ -27035,36 +27035,36 @@ class Prism::NumberedParametersNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13724 + # source://prism//lib/prism/node.rb#13724 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13672 + # source://prism//lib/prism/node.rb#13672 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13677 + # source://prism//lib/prism/node.rb#13677 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13687 + # source://prism//lib/prism/node.rb#13687 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13682 + # source://prism//lib/prism/node.rb#13682 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?maximum: Integer) -> NumberedParametersNode # - # source://prism/lib/prism/node.rb#13692 + # source://prism//lib/prism/node.rb#13692 sig do params( node_id: Integer, @@ -27078,13 +27078,13 @@ class Prism::NumberedParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13677 + # source://prism//lib/prism/node.rb#13697 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, maximum: Integer } # - # source://prism/lib/prism/node.rb#13700 + # source://prism//lib/prism/node.rb#13700 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27093,26 +27093,26 @@ class Prism::NumberedParametersNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13708 + # source://prism//lib/prism/node.rb#13708 sig { override.returns(String) } def inspect; end # attr_reader maximum: Integer # - # source://prism/lib/prism/node.rb#13705 + # source://prism//lib/prism/node.rb#13705 sig { returns(Integer) } def maximum; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13713 + # source://prism//lib/prism/node.rb#13713 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13718 + # source://prism//lib/prism/node.rb#13718 def type; end end end @@ -27122,13 +27122,13 @@ end # $1 # ^^ # -# source://prism/lib/prism/node.rb#13734 +# source://prism//lib/prism/node.rb#13734 class Prism::NumberedReferenceReadNode < ::Prism::Node # Initialize a new NumberedReferenceReadNode node. # # @return [NumberedReferenceReadNode] a new instance of NumberedReferenceReadNode # - # source://prism/lib/prism/node.rb#13736 + # source://prism//lib/prism/node.rb#13736 sig do params( source: Prism::Source, @@ -27143,36 +27143,36 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13803 + # source://prism//lib/prism/node.rb#13803 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13745 + # source://prism//lib/prism/node.rb#13745 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13750 + # source://prism//lib/prism/node.rb#13750 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13760 + # source://prism//lib/prism/node.rb#13760 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13755 + # source://prism//lib/prism/node.rb#13755 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?number: Integer) -> NumberedReferenceReadNode # - # source://prism/lib/prism/node.rb#13765 + # source://prism//lib/prism/node.rb#13765 sig do params( node_id: Integer, @@ -27186,13 +27186,13 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13750 + # source://prism//lib/prism/node.rb#13770 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, number: Integer } # - # source://prism/lib/prism/node.rb#13773 + # source://prism//lib/prism/node.rb#13773 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27201,7 +27201,7 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13787 + # source://prism//lib/prism/node.rb#13787 sig { override.returns(String) } def inspect; end @@ -27213,20 +27213,20 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # # $4294967296 # number `0` # - # source://prism/lib/prism/node.rb#13784 + # source://prism//lib/prism/node.rb#13784 sig { returns(Integer) } def number; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13792 + # source://prism//lib/prism/node.rb#13792 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13797 + # source://prism//lib/prism/node.rb#13797 def type; end end end @@ -27237,13 +27237,13 @@ end # ^^^^ # end # -# source://prism/lib/prism/node.rb#13814 +# source://prism//lib/prism/node.rb#13814 class Prism::OptionalKeywordParameterNode < ::Prism::Node # Initialize a new OptionalKeywordParameterNode node. # # @return [OptionalKeywordParameterNode] a new instance of OptionalKeywordParameterNode # - # source://prism/lib/prism/node.rb#13816 + # source://prism//lib/prism/node.rb#13816 sig do params( source: Prism::Source, @@ -27260,36 +27260,36 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#13900 + # source://prism//lib/prism/node.rb#13900 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13827 + # source://prism//lib/prism/node.rb#13827 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13832 + # source://prism//lib/prism/node.rb#13832 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13842 + # source://prism//lib/prism/node.rb#13842 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13837 + # source://prism//lib/prism/node.rb#13837 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?value: Prism::node) -> OptionalKeywordParameterNode # - # source://prism/lib/prism/node.rb#13847 + # source://prism//lib/prism/node.rb#13847 sig do params( node_id: Integer, @@ -27305,13 +27305,13 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13832 + # source://prism//lib/prism/node.rb#13852 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#13855 + # source://prism//lib/prism/node.rb#13855 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27320,19 +27320,19 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#13884 + # source://prism//lib/prism/node.rb#13884 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#13865 + # source://prism//lib/prism/node.rb#13865 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#13868 + # source://prism//lib/prism/node.rb#13868 sig { returns(Prism::Location) } def name_loc; end @@ -27340,32 +27340,32 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#13860 + # source://prism//lib/prism/node.rb#13860 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13876 + # source://prism//lib/prism/node.rb#13876 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#13889 + # source://prism//lib/prism/node.rb#13889 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#13881 + # source://prism//lib/prism/node.rb#13881 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#13894 + # source://prism//lib/prism/node.rb#13894 def type; end end end @@ -27376,13 +27376,13 @@ end # ^^^^^ # end # -# source://prism/lib/prism/node.rb#13914 +# source://prism//lib/prism/node.rb#13914 class Prism::OptionalParameterNode < ::Prism::Node # Initialize a new OptionalParameterNode node. # # @return [OptionalParameterNode] a new instance of OptionalParameterNode # - # source://prism/lib/prism/node.rb#13916 + # source://prism//lib/prism/node.rb#13916 sig do params( source: Prism::Source, @@ -27400,36 +27400,36 @@ class Prism::OptionalParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14019 + # source://prism//lib/prism/node.rb#14019 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#13928 + # source://prism//lib/prism/node.rb#13928 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13933 + # source://prism//lib/prism/node.rb#13933 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#13943 + # source://prism//lib/prism/node.rb#13943 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#13938 + # source://prism//lib/prism/node.rb#13938 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location, ?operator_loc: Location, ?value: Prism::node) -> OptionalParameterNode # - # source://prism/lib/prism/node.rb#13948 + # source://prism//lib/prism/node.rb#13948 sig do params( node_id: Integer, @@ -27446,13 +27446,13 @@ class Prism::OptionalParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#13933 + # source://prism//lib/prism/node.rb#13953 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location, operator_loc: Location, value: Prism::node } # - # source://prism/lib/prism/node.rb#13956 + # source://prism//lib/prism/node.rb#13956 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27461,31 +27461,31 @@ class Prism::OptionalParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14003 + # source://prism//lib/prism/node.rb#14003 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#13966 + # source://prism//lib/prism/node.rb#13966 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#13969 + # source://prism//lib/prism/node.rb#13969 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#13998 + # source://prism//lib/prism/node.rb#13998 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#13982 + # source://prism//lib/prism/node.rb#13982 sig { returns(Prism::Location) } def operator_loc; end @@ -27493,38 +27493,38 @@ class Prism::OptionalParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#13961 + # source://prism//lib/prism/node.rb#13961 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13977 + # source://prism//lib/prism/node.rb#13977 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#13990 + # source://prism//lib/prism/node.rb#13990 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14008 + # source://prism//lib/prism/node.rb#14008 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism/lib/prism/node.rb#13995 + # source://prism//lib/prism/node.rb#13995 sig { returns(Prism::Node) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14013 + # source://prism//lib/prism/node.rb#14013 def type; end end end @@ -27534,13 +27534,13 @@ end # left or right # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#14033 +# source://prism//lib/prism/node.rb#14033 class Prism::OrNode < ::Prism::Node # Initialize a new OrNode node. # # @return [OrNode] a new instance of OrNode # - # source://prism/lib/prism/node.rb#14035 + # source://prism//lib/prism/node.rb#14035 sig do params( source: Prism::Source, @@ -27557,36 +27557,36 @@ class Prism::OrNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14134 + # source://prism//lib/prism/node.rb#14134 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14046 + # source://prism//lib/prism/node.rb#14046 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14051 + # source://prism//lib/prism/node.rb#14051 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14061 + # source://prism//lib/prism/node.rb#14061 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14056 + # source://prism//lib/prism/node.rb#14056 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node, ?right: Prism::node, ?operator_loc: Location) -> OrNode # - # source://prism/lib/prism/node.rb#14066 + # source://prism//lib/prism/node.rb#14066 sig do params( node_id: Integer, @@ -27602,13 +27602,13 @@ class Prism::OrNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14051 + # source://prism//lib/prism/node.rb#14071 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, left: Prism::node, right: Prism::node, operator_loc: Location } # - # source://prism/lib/prism/node.rb#14074 + # source://prism//lib/prism/node.rb#14074 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27617,7 +27617,7 @@ class Prism::OrNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14118 + # source://prism//lib/prism/node.rb#14118 sig { override.returns(String) } def inspect; end @@ -27629,13 +27629,13 @@ class Prism::OrNode < ::Prism::Node # 1 || 2 # ^ # - # source://prism/lib/prism/node.rb#14085 + # source://prism//lib/prism/node.rb#14085 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#14113 + # source://prism//lib/prism/node.rb#14113 sig { returns(String) } def operator; end @@ -27644,7 +27644,7 @@ class Prism::OrNode < ::Prism::Node # left or right # ^^ # - # source://prism/lib/prism/node.rb#14100 + # source://prism//lib/prism/node.rb#14100 sig { returns(Prism::Location) } def operator_loc; end @@ -27656,280 +27656,280 @@ class Prism::OrNode < ::Prism::Node # 1 or 2 # ^ # - # source://prism/lib/prism/node.rb#14094 + # source://prism//lib/prism/node.rb#14094 sig { returns(Prism::Node) } def right; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14108 + # source://prism//lib/prism/node.rb#14108 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14123 + # source://prism//lib/prism/node.rb#14123 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14128 + # source://prism//lib/prism/node.rb#14128 def type; end end end # A parser for the pack template language. # -# source://prism/lib/prism/pack.rb#6 +# source://prism//lib/prism/pack.rb#6 module Prism::Pack class << self def parse(_arg0, _arg1, _arg2); end end end -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::AGNOSTIC_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::BACK = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::BER = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::BIG_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::COMMENT = T.let(T.unsafe(nil), Symbol) # A directive in the pack template language. # -# source://prism/lib/prism/pack.rb#60 +# source://prism//lib/prism/pack.rb#60 class Prism::Pack::Directive # Initialize a new directive with the given values. # # @return [Directive] a new instance of Directive # - # source://prism/lib/prism/pack.rb#89 + # source://prism//lib/prism/pack.rb#89 def initialize(version, variant, source, type, signed, endian, size, length_type, length); end # Provide a human-readable description of the directive. # - # source://prism/lib/prism/pack.rb#131 + # source://prism//lib/prism/pack.rb#131 def describe; end # The type of endianness of the directive. # - # source://prism/lib/prism/pack.rb#77 + # source://prism//lib/prism/pack.rb#77 def endian; end # The length of this directive (used for integers). # - # source://prism/lib/prism/pack.rb#86 + # source://prism//lib/prism/pack.rb#86 def length; end # The length type of this directive (used for integers). # - # source://prism/lib/prism/pack.rb#83 + # source://prism//lib/prism/pack.rb#83 def length_type; end # The type of signedness of the directive. # - # source://prism/lib/prism/pack.rb#74 + # source://prism//lib/prism/pack.rb#74 def signed; end # The size of the directive. # - # source://prism/lib/prism/pack.rb#80 + # source://prism//lib/prism/pack.rb#80 def size; end # A byteslice of the source string that this directive represents. # - # source://prism/lib/prism/pack.rb#68 + # source://prism//lib/prism/pack.rb#68 def source; end # The type of the directive. # - # source://prism/lib/prism/pack.rb#71 + # source://prism//lib/prism/pack.rb#71 def type; end # A symbol representing whether or not we are packing or unpacking. # - # source://prism/lib/prism/pack.rb#65 + # source://prism//lib/prism/pack.rb#65 def variant; end # A symbol representing the version of Ruby. # - # source://prism/lib/prism/pack.rb#62 + # source://prism//lib/prism/pack.rb#62 def version; end end # The descriptions of the various types of endianness. # -# source://prism/lib/prism/pack.rb#102 +# source://prism//lib/prism/pack.rb#102 Prism::Pack::Directive::ENDIAN_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) # The descriptions of the various types of signedness. # -# source://prism/lib/prism/pack.rb#111 +# source://prism//lib/prism/pack.rb#111 Prism::Pack::Directive::SIGNED_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) # The descriptions of the various types of sizes. # -# source://prism/lib/prism/pack.rb#118 +# source://prism//lib/prism/pack.rb#118 Prism::Pack::Directive::SIZE_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::ENDIAN_NA = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::FLOAT = T.let(T.unsafe(nil), Symbol) # The result of parsing a pack template. # -# source://prism/lib/prism/pack.rb#198 +# source://prism//lib/prism/pack.rb#198 class Prism::Pack::Format # Create a new Format with the given directives and encoding. # # @return [Format] a new instance of Format # - # source://prism/lib/prism/pack.rb#206 + # source://prism//lib/prism/pack.rb#206 def initialize(directives, encoding); end # Provide a human-readable description of the format. # - # source://prism/lib/prism/pack.rb#212 + # source://prism//lib/prism/pack.rb#212 def describe; end # A list of the directives in the template. # - # source://prism/lib/prism/pack.rb#200 + # source://prism//lib/prism/pack.rb#200 def directives; end # The encoding of the template. # - # source://prism/lib/prism/pack.rb#203 + # source://prism//lib/prism/pack.rb#203 def encoding; end end -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::INTEGER = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::LENGTH_FIXED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::LENGTH_MAX = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::LENGTH_NA = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::LENGTH_RELATIVE = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::LITTLE_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::MOVE = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::NATIVE_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::NULL = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIGNED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIGNED_NA = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_16 = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_32 = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_64 = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_8 = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_INT = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_LONG = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_LONG_LONG = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_NA = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_P = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SIZE_SHORT = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::SPACE = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_BASE64 = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_FIXED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_HEX_HIGH = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_HEX_LOW = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_LSB = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_MIME = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_MSB = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_NULL_PADDED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_NULL_TERMINATED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_POINTER = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_SPACE_PADDED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::STRING_UU = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::UNSIGNED = T.let(T.unsafe(nil), Symbol) -# source://prism/lib/prism/pack.rb#56 +# source://prism//lib/prism/pack.rb#56 Prism::Pack::UTF8 = T.let(T.unsafe(nil), Symbol) # Flags for parameter nodes. # -# source://prism/lib/prism/node.rb#18511 +# source://prism//lib/prism/node.rb#18511 module Prism::ParameterFlags; end # a parameter name that has been repeated in the method signature # -# source://prism/lib/prism/node.rb#18513 +# source://prism//lib/prism/node.rb#18513 Prism::ParameterFlags::REPEATED_PARAMETER = T.let(T.unsafe(nil), Integer) # Represents the list of parameters on a method, block, or lambda definition. @@ -27938,13 +27938,13 @@ Prism::ParameterFlags::REPEATED_PARAMETER = T.let(T.unsafe(nil), Integer) # ^^^^^^^ # end # -# source://prism/lib/prism/node.rb#14147 +# source://prism//lib/prism/node.rb#14147 class Prism::ParametersNode < ::Prism::Node # Initialize a new ParametersNode node. # # @return [ParametersNode] a new instance of ParametersNode # - # source://prism/lib/prism/node.rb#14149 + # source://prism//lib/prism/node.rb#14149 sig do params( source: Prism::Source, @@ -27965,42 +27965,42 @@ class Prism::ParametersNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14242 + # source://prism//lib/prism/node.rb#14242 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14164 + # source://prism//lib/prism/node.rb#14164 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader block: BlockParameterNode? # - # source://prism/lib/prism/node.rb#14223 + # source://prism//lib/prism/node.rb#14223 sig { returns(T.nilable(Prism::BlockParameterNode)) } def block; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14169 + # source://prism//lib/prism/node.rb#14169 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14187 + # source://prism//lib/prism/node.rb#14187 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14174 + # source://prism//lib/prism/node.rb#14174 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?requireds: Array[RequiredParameterNode | MultiTargetNode], ?optionals: Array[OptionalParameterNode], ?rest: RestParameterNode | ImplicitRestNode | nil, ?posts: Array[RequiredParameterNode | MultiTargetNode | KeywordRestParameterNode | NoKeywordsParameterNode | ForwardingParameterNode], ?keywords: Array[RequiredKeywordParameterNode | OptionalKeywordParameterNode], ?keyword_rest: KeywordRestParameterNode | ForwardingParameterNode | NoKeywordsParameterNode | nil, ?block: BlockParameterNode?) -> ParametersNode # - # source://prism/lib/prism/node.rb#14192 + # source://prism//lib/prism/node.rb#14192 sig do params( node_id: Integer, @@ -28020,13 +28020,13 @@ class Prism::ParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14169 + # source://prism//lib/prism/node.rb#14197 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, requireds: Array[RequiredParameterNode | MultiTargetNode], optionals: Array[OptionalParameterNode], rest: RestParameterNode | ImplicitRestNode | nil, posts: Array[RequiredParameterNode | MultiTargetNode | KeywordRestParameterNode | NoKeywordsParameterNode | ForwardingParameterNode], keywords: Array[RequiredKeywordParameterNode | OptionalKeywordParameterNode], keyword_rest: KeywordRestParameterNode | ForwardingParameterNode | NoKeywordsParameterNode | nil, block: BlockParameterNode? } # - # source://prism/lib/prism/node.rb#14200 + # source://prism//lib/prism/node.rb#14200 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -28035,13 +28035,13 @@ class Prism::ParametersNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14226 + # source://prism//lib/prism/node.rb#14226 sig { override.returns(String) } def inspect; end # attr_reader keyword_rest: KeywordRestParameterNode | ForwardingParameterNode | NoKeywordsParameterNode | nil # - # source://prism/lib/prism/node.rb#14220 + # source://prism//lib/prism/node.rb#14220 sig do returns(T.nilable(T.any(Prism::KeywordRestParameterNode, Prism::ForwardingParameterNode, Prism::NoKeywordsParameterNode))) end @@ -28049,19 +28049,19 @@ class Prism::ParametersNode < ::Prism::Node # attr_reader keywords: Array[RequiredKeywordParameterNode | OptionalKeywordParameterNode] # - # source://prism/lib/prism/node.rb#14217 + # source://prism//lib/prism/node.rb#14217 sig { returns(T::Array[T.any(Prism::RequiredKeywordParameterNode, Prism::OptionalKeywordParameterNode)]) } def keywords; end # attr_reader optionals: Array[OptionalParameterNode] # - # source://prism/lib/prism/node.rb#14208 + # source://prism//lib/prism/node.rb#14208 sig { returns(T::Array[Prism::OptionalParameterNode]) } def optionals; end # attr_reader posts: Array[RequiredParameterNode | MultiTargetNode | KeywordRestParameterNode | NoKeywordsParameterNode | ForwardingParameterNode] # - # source://prism/lib/prism/node.rb#14214 + # source://prism//lib/prism/node.rb#14214 sig do returns(T::Array[T.any(Prism::RequiredParameterNode, Prism::MultiTargetNode, Prism::KeywordRestParameterNode, Prism::NoKeywordsParameterNode, Prism::ForwardingParameterNode)]) end @@ -28069,32 +28069,32 @@ class Prism::ParametersNode < ::Prism::Node # attr_reader requireds: Array[RequiredParameterNode | MultiTargetNode] # - # source://prism/lib/prism/node.rb#14205 + # source://prism//lib/prism/node.rb#14205 sig { returns(T::Array[T.any(Prism::RequiredParameterNode, Prism::MultiTargetNode)]) } def requireds; end # attr_reader rest: RestParameterNode | ImplicitRestNode | nil # - # source://prism/lib/prism/node.rb#14211 + # source://prism//lib/prism/node.rb#14211 sig { returns(T.nilable(T.any(Prism::RestParameterNode, Prism::ImplicitRestNode))) } def rest; end # Mirrors the Method#parameters method. # - # source://prism/lib/prism/node_ext.rb#269 + # source://prism//lib/prism/node_ext.rb#269 sig { returns(T::Array[T.any([Symbol, Symbol], [Symbol])]) } def signature; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14231 + # source://prism//lib/prism/node.rb#14231 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14236 + # source://prism//lib/prism/node.rb#14236 def type; end end end @@ -28104,13 +28104,13 @@ end # (10 + 34) # ^^^^^^^^^ # -# source://prism/lib/prism/node.rb#14262 +# source://prism//lib/prism/node.rb#14262 class Prism::ParenthesesNode < ::Prism::Node # Initialize a new ParenthesesNode node. # # @return [ParenthesesNode] a new instance of ParenthesesNode # - # source://prism/lib/prism/node.rb#14264 + # source://prism//lib/prism/node.rb#14264 sig do params( source: Prism::Source, @@ -28127,54 +28127,54 @@ class Prism::ParenthesesNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14365 + # source://prism//lib/prism/node.rb#14365 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14275 + # source://prism//lib/prism/node.rb#14275 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: Prism::node? # - # source://prism/lib/prism/node.rb#14310 + # source://prism//lib/prism/node.rb#14310 sig { returns(T.nilable(Prism::Node)) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14280 + # source://prism//lib/prism/node.rb#14280 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#14344 + # source://prism//lib/prism/node.rb#14344 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#14326 + # source://prism//lib/prism/node.rb#14326 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14292 + # source://prism//lib/prism/node.rb#14292 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14285 + # source://prism//lib/prism/node.rb#14285 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?body: Prism::node?, ?opening_loc: Location, ?closing_loc: Location) -> ParenthesesNode # - # source://prism/lib/prism/node.rb#14297 + # source://prism//lib/prism/node.rb#14297 sig do params( node_id: Integer, @@ -28190,13 +28190,13 @@ class Prism::ParenthesesNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14280 + # source://prism//lib/prism/node.rb#14302 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, body: Prism::node?, opening_loc: Location, closing_loc: Location } # - # source://prism/lib/prism/node.rb#14305 + # source://prism//lib/prism/node.rb#14305 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -28205,110 +28205,110 @@ class Prism::ParenthesesNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14349 + # source://prism//lib/prism/node.rb#14349 sig { override.returns(String) } def inspect; end - # source://prism/lib/prism/parse_result/newlines.rb#85 + # source://prism//lib/prism/parse_result/newlines.rb#85 def newline_flag!(lines); end # def opening: () -> String # - # source://prism/lib/prism/node.rb#14339 + # source://prism//lib/prism/node.rb#14339 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#14313 + # source://prism//lib/prism/node.rb#14313 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14334 + # source://prism//lib/prism/node.rb#14334 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14321 + # source://prism//lib/prism/node.rb#14321 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14354 + # source://prism//lib/prism/node.rb#14354 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14359 + # source://prism//lib/prism/node.rb#14359 def type; end end end # This represents an error that was encountered during parsing. # -# source://prism/lib/prism/parse_result.rb#592 +# source://prism//lib/prism/parse_result.rb#592 class Prism::ParseError # Create a new error object with the given message and location. # # @return [ParseError] a new instance of ParseError # - # source://prism/lib/prism/parse_result.rb#607 + # source://prism//lib/prism/parse_result.rb#607 sig { params(type: Symbol, message: String, location: Prism::Location, level: Symbol).void } def initialize(type, message, location, level); end # Implement the hash pattern matching interface for ParseError. # - # source://prism/lib/prism/parse_result.rb#615 + # source://prism//lib/prism/parse_result.rb#615 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns a string representation of this error. # - # source://prism/lib/prism/parse_result.rb#620 + # source://prism//lib/prism/parse_result.rb#620 sig { returns(String) } def inspect; end # The level of this error. # - # source://prism/lib/prism/parse_result.rb#604 + # source://prism//lib/prism/parse_result.rb#604 sig { returns(Symbol) } def level; end # A Location object representing the location of this error in the source. # - # source://prism/lib/prism/parse_result.rb#601 + # source://prism//lib/prism/parse_result.rb#601 sig { returns(Prism::Location) } def location; end # The message associated with this error. # - # source://prism/lib/prism/parse_result.rb#598 + # source://prism//lib/prism/parse_result.rb#598 sig { returns(String) } def message; end # The type of error. This is an _internal_ symbol that is used for # communicating with translation layers. It is not meant to be public API. # - # source://prism/lib/prism/parse_result.rb#595 + # source://prism//lib/prism/parse_result.rb#595 sig { returns(Symbol) } def type; end end # This is a result specific to the `parse_lex` and `parse_lex_file` methods. # -# source://prism/lib/prism/parse_result.rb#781 +# source://prism//lib/prism/parse_result.rb#781 class Prism::ParseLexResult < ::Prism::Result # Create a new parse lex result object with the given values. # # @return [ParseLexResult] a new instance of ParseLexResult # - # source://prism/lib/prism/parse_result.rb#787 + # source://prism//lib/prism/parse_result.rb#787 sig do params( value: [Prism::ProgramNode, T::Array[T.untyped]], @@ -28324,27 +28324,27 @@ class Prism::ParseLexResult < ::Prism::Result # Implement the hash pattern matching interface for ParseLexResult. # - # source://prism/lib/prism/parse_result.rb#793 + # source://prism//lib/prism/parse_result.rb#793 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # A tuple of the syntax tree and the list of tokens that were parsed from # the source code. # - # source://prism/lib/prism/parse_result.rb#784 + # source://prism//lib/prism/parse_result.rb#784 sig { returns([Prism::ProgramNode, T::Array[T.untyped]]) } def value; end end # This is a result specific to the `parse` and `parse_file` methods. # -# source://prism/lib/prism/parse_result.rb#722 +# source://prism//lib/prism/parse_result.rb#722 class Prism::ParseResult < ::Prism::Result # Create a new parse result object with the given values. # # @return [ParseResult] a new instance of ParseResult # - # source://prism/lib/prism/parse_result.rb#735 + # source://prism//lib/prism/parse_result.rb#735 sig do params( value: Prism::ProgramNode, @@ -28360,30 +28360,30 @@ class Prism::ParseResult < ::Prism::Result # Attach the list of comments to their respective locations in the tree. # - # source://prism/lib/prism/parse_result.rb#746 + # source://prism//lib/prism/parse_result.rb#746 def attach_comments!; end # Implement the hash pattern matching interface for ParseResult. # - # source://prism/lib/prism/parse_result.rb#741 + # source://prism//lib/prism/parse_result.rb#741 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns a string representation of the syntax tree with the errors # displayed inline. # - # source://prism/lib/prism/parse_result.rb#758 + # source://prism//lib/prism/parse_result.rb#758 def errors_format; end # Walk the tree and mark nodes that are on a new line, loosely emulating # the behavior of CRuby's `:line` tracepoint event. # - # source://prism/lib/prism/parse_result.rb#752 + # source://prism//lib/prism/parse_result.rb#752 def mark_newlines!; end # The syntax tree that was parsed from the source code. # - # source://prism/lib/prism/parse_result.rb#732 + # source://prism//lib/prism/parse_result.rb#732 sig { returns(Prism::ProgramNode) } def value; end end @@ -28403,25 +28403,25 @@ end # the comment. Otherwise it will favor attaching to the nearest location # that is after the comment. # -# source://prism/lib/prism/parse_result/comments.rb#19 +# source://prism//lib/prism/parse_result/comments.rb#19 class Prism::ParseResult::Comments # Create a new Comments object that will attach comments to the given # parse result. # # @return [Comments] a new instance of Comments # - # source://prism/lib/prism/parse_result/comments.rb#86 + # source://prism//lib/prism/parse_result/comments.rb#86 def initialize(parse_result); end # Attach the comments to their respective locations in the tree by # mutating the parse result. # - # source://prism/lib/prism/parse_result/comments.rb#92 + # source://prism//lib/prism/parse_result/comments.rb#92 def attach!; end # The parse result that we are attaching comments to. # - # source://prism/lib/prism/parse_result/comments.rb#82 + # source://prism//lib/prism/parse_result/comments.rb#82 def parse_result; end private @@ -28429,92 +28429,92 @@ class Prism::ParseResult::Comments # Responsible for finding the nearest targets to the given comment within # the context of the given encapsulating node. # - # source://prism/lib/prism/parse_result/comments.rb#119 + # source://prism//lib/prism/parse_result/comments.rb#119 def nearest_targets(node, comment); end end # A target for attaching comments that is based on a location field on a # node. For example, the `end` token of a ClassNode. # -# source://prism/lib/prism/parse_result/comments.rb#53 +# source://prism//lib/prism/parse_result/comments.rb#53 class Prism::ParseResult::Comments::LocationTarget # @return [LocationTarget] a new instance of LocationTarget # - # source://prism/lib/prism/parse_result/comments.rb#56 + # source://prism//lib/prism/parse_result/comments.rb#56 def initialize(location); end # @return [Boolean] # - # source://prism/lib/prism/parse_result/comments.rb#68 + # source://prism//lib/prism/parse_result/comments.rb#68 def encloses?(comment); end - # source://prism/lib/prism/parse_result/comments.rb#64 + # source://prism//lib/prism/parse_result/comments.rb#64 def end_offset; end - # source://prism/lib/prism/parse_result/comments.rb#72 + # source://prism//lib/prism/parse_result/comments.rb#72 def leading_comment(comment); end - # source://prism/lib/prism/parse_result/comments.rb#54 + # source://prism//lib/prism/parse_result/comments.rb#54 def location; end - # source://prism/lib/prism/parse_result/comments.rb#60 + # source://prism//lib/prism/parse_result/comments.rb#60 def start_offset; end - # source://prism/lib/prism/parse_result/comments.rb#76 + # source://prism//lib/prism/parse_result/comments.rb#76 def trailing_comment(comment); end end # A target for attaching comments that is based on a specific node's # location. # -# source://prism/lib/prism/parse_result/comments.rb#22 +# source://prism//lib/prism/parse_result/comments.rb#22 class Prism::ParseResult::Comments::NodeTarget # @return [NodeTarget] a new instance of NodeTarget # - # source://prism/lib/prism/parse_result/comments.rb#25 + # source://prism//lib/prism/parse_result/comments.rb#25 def initialize(node); end # @return [Boolean] # - # source://prism/lib/prism/parse_result/comments.rb#37 + # source://prism//lib/prism/parse_result/comments.rb#37 def encloses?(comment); end - # source://prism/lib/prism/parse_result/comments.rb#33 + # source://prism//lib/prism/parse_result/comments.rb#33 def end_offset; end - # source://prism/lib/prism/parse_result/comments.rb#42 + # source://prism//lib/prism/parse_result/comments.rb#42 def leading_comment(comment); end - # source://prism/lib/prism/parse_result/comments.rb#23 + # source://prism//lib/prism/parse_result/comments.rb#23 def node; end - # source://prism/lib/prism/parse_result/comments.rb#29 + # source://prism//lib/prism/parse_result/comments.rb#29 def start_offset; end - # source://prism/lib/prism/parse_result/comments.rb#46 + # source://prism//lib/prism/parse_result/comments.rb#46 def trailing_comment(comment); end end # An object to represent the set of errors on a parse result. This object # can be used to format the errors in a human-readable way. # -# source://prism/lib/prism/parse_result/errors.rb#9 +# source://prism//lib/prism/parse_result/errors.rb#9 class Prism::ParseResult::Errors # Initialize a new set of errors from the given parse result. # # @return [Errors] a new instance of Errors # - # source://prism/lib/prism/parse_result/errors.rb#14 + # source://prism//lib/prism/parse_result/errors.rb#14 def initialize(parse_result); end # Formats the errors in a human-readable way and return them as a string. # - # source://prism/lib/prism/parse_result/errors.rb#19 + # source://prism//lib/prism/parse_result/errors.rb#19 def format; end # The parse result that contains the errors. # - # source://prism/lib/prism/parse_result/errors.rb#11 + # source://prism//lib/prism/parse_result/errors.rb#11 def parse_result; end end @@ -28539,87 +28539,87 @@ end # that case. We do that to avoid storing the extra `@newline` instance # variable on every node if we don't need it. # -# source://prism/lib/prism/parse_result/newlines.rb#25 +# source://prism//lib/prism/parse_result/newlines.rb#25 class Prism::ParseResult::Newlines < ::Prism::Visitor # Create a new Newlines visitor with the given newline offsets. # # @return [Newlines] a new instance of Newlines # - # source://prism/lib/prism/parse_result/newlines.rb#27 + # source://prism//lib/prism/parse_result/newlines.rb#27 def initialize(lines); end # Permit block/lambda nodes to mark newlines within themselves. # - # source://prism/lib/prism/parse_result/newlines.rb#33 + # source://prism//lib/prism/parse_result/newlines.rb#33 def visit_block_node(node); end # Mark if/unless nodes as newlines. # - # source://prism/lib/prism/parse_result/newlines.rb#47 + # source://prism//lib/prism/parse_result/newlines.rb#47 def visit_if_node(node); end # Permit block/lambda nodes to mark newlines within themselves. # - # source://prism/lib/prism/parse_result/newlines.rb#33 + # source://prism//lib/prism/parse_result/newlines.rb#44 def visit_lambda_node(node); end # Permit statements lists to mark newlines within themselves. # - # source://prism/lib/prism/parse_result/newlines.rb#55 + # source://prism//lib/prism/parse_result/newlines.rb#55 def visit_statements_node(node); end # Mark if/unless nodes as newlines. # - # source://prism/lib/prism/parse_result/newlines.rb#47 + # source://prism//lib/prism/parse_result/newlines.rb#52 def visit_unless_node(node); end end # This represents a warning that was encountered during parsing. # -# source://prism/lib/prism/parse_result.rb#626 +# source://prism//lib/prism/parse_result.rb#626 class Prism::ParseWarning # Create a new warning object with the given message and location. # # @return [ParseWarning] a new instance of ParseWarning # - # source://prism/lib/prism/parse_result.rb#641 + # source://prism//lib/prism/parse_result.rb#641 sig { params(type: Symbol, message: String, location: Prism::Location, level: Symbol).void } def initialize(type, message, location, level); end # Implement the hash pattern matching interface for ParseWarning. # - # source://prism/lib/prism/parse_result.rb#649 + # source://prism//lib/prism/parse_result.rb#649 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns a string representation of this warning. # - # source://prism/lib/prism/parse_result.rb#654 + # source://prism//lib/prism/parse_result.rb#654 sig { returns(String) } def inspect; end # The level of this warning. # - # source://prism/lib/prism/parse_result.rb#638 + # source://prism//lib/prism/parse_result.rb#638 sig { returns(Symbol) } def level; end # A Location object representing the location of this warning in the source. # - # source://prism/lib/prism/parse_result.rb#635 + # source://prism//lib/prism/parse_result.rb#635 sig { returns(Prism::Location) } def location; end # The message associated with this warning. # - # source://prism/lib/prism/parse_result.rb#632 + # source://prism//lib/prism/parse_result.rb#632 sig { returns(String) } def message; end # The type of warning. This is an _internal_ symbol that is used for # communicating with translation layers. It is not meant to be public API. # - # source://prism/lib/prism/parse_result.rb#629 + # source://prism//lib/prism/parse_result.rb#629 sig { returns(Symbol) } def type; end end @@ -28658,14 +28658,14 @@ end # do not yet support) then a Prism::Pattern::CompilationError will be # raised. # -# source://prism/lib/prism/pattern.rb#37 +# source://prism//lib/prism/pattern.rb#37 class Prism::Pattern # Create a new pattern with the given query. The query should be a string # containing a Ruby pattern matching expression. # # @return [Pattern] a new instance of Pattern # - # source://prism/lib/prism/pattern.rb#63 + # source://prism//lib/prism/pattern.rb#63 def initialize(query); end # Compile the query into a callable object that can be used to match against @@ -28673,12 +28673,12 @@ class Prism::Pattern # # @raise [CompilationError] # - # source://prism/lib/prism/pattern.rb#70 + # source://prism//lib/prism/pattern.rb#70 def compile; end # The query that this pattern was initialized with. # - # source://prism/lib/prism/pattern.rb#59 + # source://prism//lib/prism/pattern.rb#59 def query; end # Scan the given node and all of its children for nodes that match the @@ -28686,7 +28686,7 @@ class Prism::Pattern # matches the pattern. If no block is given, an enumerator will be returned # that will yield each node that matches the pattern. # - # source://prism/lib/prism/pattern.rb#86 + # source://prism//lib/prism/pattern.rb#86 def scan(root); end private @@ -28694,94 +28694,94 @@ class Prism::Pattern # Shortcut for combining two procs into one that returns true if both return # true. # - # source://prism/lib/prism/pattern.rb#102 + # source://prism//lib/prism/pattern.rb#102 def combine_and(left, right); end # Shortcut for combining two procs into one that returns true if either # returns true. # - # source://prism/lib/prism/pattern.rb#108 + # source://prism//lib/prism/pattern.rb#108 def combine_or(left, right); end # in foo | bar # - # source://prism/lib/prism/pattern.rb#143 + # source://prism//lib/prism/pattern.rb#143 def compile_alternation_pattern_node(node); end # in [foo, bar, baz] # - # source://prism/lib/prism/pattern.rb#118 + # source://prism//lib/prism/pattern.rb#118 def compile_array_pattern_node(node); end # Compile a name associated with a constant. # - # source://prism/lib/prism/pattern.rb#168 + # source://prism//lib/prism/pattern.rb#168 def compile_constant_name(node, name); end # in Prism::ConstantReadNode # - # source://prism/lib/prism/pattern.rb#148 + # source://prism//lib/prism/pattern.rb#148 def compile_constant_path_node(node); end # in ConstantReadNode # in String # - # source://prism/lib/prism/pattern.rb#163 + # source://prism//lib/prism/pattern.rb#163 def compile_constant_read_node(node); end # Raise an error because the given node is not supported. # # @raise [CompilationError] # - # source://prism/lib/prism/pattern.rb#113 + # source://prism//lib/prism/pattern.rb#113 def compile_error(node); end # in InstanceVariableReadNode[name: Symbol] # in { name: Symbol } # - # source://prism/lib/prism/pattern.rb#184 + # source://prism//lib/prism/pattern.rb#184 def compile_hash_pattern_node(node); end # in nil # - # source://prism/lib/prism/pattern.rb#214 + # source://prism//lib/prism/pattern.rb#214 def compile_nil_node(node); end # Compile any kind of node. Dispatch out to the individual compilation # methods based on the type of node. # - # source://prism/lib/prism/pattern.rb#243 + # source://prism//lib/prism/pattern.rb#243 def compile_node(node); end # in /foo/ # - # source://prism/lib/prism/pattern.rb#219 + # source://prism//lib/prism/pattern.rb#219 def compile_regular_expression_node(node); end # in "" # in "foo" # - # source://prism/lib/prism/pattern.rb#227 + # source://prism//lib/prism/pattern.rb#227 def compile_string_node(node); end # in :+ # in :foo # - # source://prism/lib/prism/pattern.rb#235 + # source://prism//lib/prism/pattern.rb#235 def compile_symbol_node(node); end end # Raised when the query given to a pattern is either invalid Ruby syntax or # is using syntax that we don't yet support. # -# source://prism/lib/prism/pattern.rb#40 +# source://prism//lib/prism/pattern.rb#40 class Prism::Pattern::CompilationError < ::StandardError # Create a new CompilationError with the given representation of the node # that caused the error. # # @return [CompilationError] a new instance of CompilationError # - # source://prism/lib/prism/pattern.rb#43 + # source://prism//lib/prism/pattern.rb#43 def initialize(repr); end end @@ -28790,13 +28790,13 @@ end # foo in ^(bar) # ^^^^^^ # -# source://prism/lib/prism/node.rb#14377 +# source://prism//lib/prism/node.rb#14377 class Prism::PinnedExpressionNode < ::Prism::Node # Initialize a new PinnedExpressionNode node. # # @return [PinnedExpressionNode] a new instance of PinnedExpressionNode # - # source://prism/lib/prism/node.rb#14379 + # source://prism//lib/prism/node.rb#14379 sig do params( source: Prism::Source, @@ -28814,36 +28814,36 @@ class Prism::PinnedExpressionNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14497 + # source://prism//lib/prism/node.rb#14497 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14391 + # source://prism//lib/prism/node.rb#14391 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14396 + # source://prism//lib/prism/node.rb#14396 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14406 + # source://prism//lib/prism/node.rb#14406 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14401 + # source://prism//lib/prism/node.rb#14401 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?expression: Prism::node, ?operator_loc: Location, ?lparen_loc: Location, ?rparen_loc: Location) -> PinnedExpressionNode # - # source://prism/lib/prism/node.rb#14411 + # source://prism//lib/prism/node.rb#14411 sig do params( node_id: Integer, @@ -28860,19 +28860,19 @@ class Prism::PinnedExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14396 + # source://prism//lib/prism/node.rb#14416 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, expression: Prism::node, operator_loc: Location, lparen_loc: Location, rparen_loc: Location } # - # source://prism/lib/prism/node.rb#14419 + # source://prism//lib/prism/node.rb#14419 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader expression: Prism::node # - # source://prism/lib/prism/node.rb#14424 + # source://prism//lib/prism/node.rb#14424 sig { returns(Prism::Node) } def expression; end @@ -28881,74 +28881,74 @@ class Prism::PinnedExpressionNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14481 + # source://prism//lib/prism/node.rb#14481 sig { override.returns(String) } def inspect; end # def lparen: () -> String # - # source://prism/lib/prism/node.rb#14471 + # source://prism//lib/prism/node.rb#14471 sig { returns(String) } def lparen; end # attr_reader lparen_loc: Location # - # source://prism/lib/prism/node.rb#14440 + # source://prism//lib/prism/node.rb#14440 sig { returns(Prism::Location) } def lparen_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#14466 + # source://prism//lib/prism/node.rb#14466 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#14427 + # source://prism//lib/prism/node.rb#14427 sig { returns(Prism::Location) } def operator_loc; end # def rparen: () -> String # - # source://prism/lib/prism/node.rb#14476 + # source://prism//lib/prism/node.rb#14476 sig { returns(String) } def rparen; end # attr_reader rparen_loc: Location # - # source://prism/lib/prism/node.rb#14453 + # source://prism//lib/prism/node.rb#14453 sig { returns(Prism::Location) } def rparen_loc; end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14448 + # source://prism//lib/prism/node.rb#14448 def save_lparen_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14435 + # source://prism//lib/prism/node.rb#14435 def save_operator_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14461 + # source://prism//lib/prism/node.rb#14461 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14486 + # source://prism//lib/prism/node.rb#14486 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14491 + # source://prism//lib/prism/node.rb#14491 def type; end end end @@ -28958,13 +28958,13 @@ end # foo in ^bar # ^^^^ # -# source://prism/lib/prism/node.rb#14510 +# source://prism//lib/prism/node.rb#14510 class Prism::PinnedVariableNode < ::Prism::Node # Initialize a new PinnedVariableNode node. # # @return [PinnedVariableNode] a new instance of PinnedVariableNode # - # source://prism/lib/prism/node.rb#14512 + # source://prism//lib/prism/node.rb#14512 sig do params( source: Prism::Source, @@ -28980,36 +28980,36 @@ class Prism::PinnedVariableNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14592 + # source://prism//lib/prism/node.rb#14592 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14522 + # source://prism//lib/prism/node.rb#14522 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14527 + # source://prism//lib/prism/node.rb#14527 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14537 + # source://prism//lib/prism/node.rb#14537 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14532 + # source://prism//lib/prism/node.rb#14532 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?variable: LocalVariableReadNode | InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | ItLocalVariableReadNode | MissingNode, ?operator_loc: Location) -> PinnedVariableNode # - # source://prism/lib/prism/node.rb#14542 + # source://prism//lib/prism/node.rb#14542 sig do params( node_id: Integer, @@ -29024,13 +29024,13 @@ class Prism::PinnedVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14527 + # source://prism//lib/prism/node.rb#14547 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, variable: LocalVariableReadNode | InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | ItLocalVariableReadNode | MissingNode, operator_loc: Location } # - # source://prism/lib/prism/node.rb#14550 + # source://prism//lib/prism/node.rb#14550 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29039,37 +29039,37 @@ class Prism::PinnedVariableNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14576 + # source://prism//lib/prism/node.rb#14576 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#14571 + # source://prism//lib/prism/node.rb#14571 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#14558 + # source://prism//lib/prism/node.rb#14558 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14566 + # source://prism//lib/prism/node.rb#14566 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14581 + # source://prism//lib/prism/node.rb#14581 sig { override.returns(Symbol) } def type; end # attr_reader variable: LocalVariableReadNode | InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | ItLocalVariableReadNode | MissingNode # - # source://prism/lib/prism/node.rb#14555 + # source://prism//lib/prism/node.rb#14555 sig do returns(T.any(Prism::LocalVariableReadNode, Prism::InstanceVariableReadNode, Prism::ClassVariableReadNode, Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::ItLocalVariableReadNode, Prism::MissingNode)) end @@ -29078,7 +29078,7 @@ class Prism::PinnedVariableNode < ::Prism::Node class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14586 + # source://prism//lib/prism/node.rb#14586 def type; end end end @@ -29088,13 +29088,13 @@ end # END { foo } # ^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#14603 +# source://prism//lib/prism/node.rb#14603 class Prism::PostExecutionNode < ::Prism::Node # Initialize a new PostExecutionNode node. # # @return [PostExecutionNode] a new instance of PostExecutionNode # - # source://prism/lib/prism/node.rb#14605 + # source://prism//lib/prism/node.rb#14605 sig do params( source: Prism::Source, @@ -29112,48 +29112,48 @@ class Prism::PostExecutionNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14725 + # source://prism//lib/prism/node.rb#14725 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14617 + # source://prism//lib/prism/node.rb#14617 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14622 + # source://prism//lib/prism/node.rb#14622 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#14704 + # source://prism//lib/prism/node.rb#14704 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#14681 + # source://prism//lib/prism/node.rb#14681 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14634 + # source://prism//lib/prism/node.rb#14634 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14627 + # source://prism//lib/prism/node.rb#14627 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?statements: StatementsNode?, ?keyword_loc: Location, ?opening_loc: Location, ?closing_loc: Location) -> PostExecutionNode # - # source://prism/lib/prism/node.rb#14639 + # source://prism//lib/prism/node.rb#14639 sig do params( node_id: Integer, @@ -29170,13 +29170,13 @@ class Prism::PostExecutionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14622 + # source://prism//lib/prism/node.rb#14644 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, statements: StatementsNode?, keyword_loc: Location, opening_loc: Location, closing_loc: Location } # - # source://prism/lib/prism/node.rb#14647 + # source://prism//lib/prism/node.rb#14647 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29185,68 +29185,68 @@ class Prism::PostExecutionNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14709 + # source://prism//lib/prism/node.rb#14709 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#14694 + # source://prism//lib/prism/node.rb#14694 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#14655 + # source://prism//lib/prism/node.rb#14655 sig { returns(Prism::Location) } def keyword_loc; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#14699 + # source://prism//lib/prism/node.rb#14699 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#14668 + # source://prism//lib/prism/node.rb#14668 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14689 + # source://prism//lib/prism/node.rb#14689 def save_closing_loc(repository); end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14663 + # source://prism//lib/prism/node.rb#14663 def save_keyword_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14676 + # source://prism//lib/prism/node.rb#14676 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#14652 + # source://prism//lib/prism/node.rb#14652 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14714 + # source://prism//lib/prism/node.rb#14714 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14719 + # source://prism//lib/prism/node.rb#14719 def type; end end end @@ -29256,13 +29256,13 @@ end # BEGIN { foo } # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#14738 +# source://prism//lib/prism/node.rb#14738 class Prism::PreExecutionNode < ::Prism::Node # Initialize a new PreExecutionNode node. # # @return [PreExecutionNode] a new instance of PreExecutionNode # - # source://prism/lib/prism/node.rb#14740 + # source://prism//lib/prism/node.rb#14740 sig do params( source: Prism::Source, @@ -29280,48 +29280,48 @@ class Prism::PreExecutionNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14860 + # source://prism//lib/prism/node.rb#14860 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14752 + # source://prism//lib/prism/node.rb#14752 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14757 + # source://prism//lib/prism/node.rb#14757 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#14839 + # source://prism//lib/prism/node.rb#14839 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#14816 + # source://prism//lib/prism/node.rb#14816 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14769 + # source://prism//lib/prism/node.rb#14769 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14762 + # source://prism//lib/prism/node.rb#14762 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?statements: StatementsNode?, ?keyword_loc: Location, ?opening_loc: Location, ?closing_loc: Location) -> PreExecutionNode # - # source://prism/lib/prism/node.rb#14774 + # source://prism//lib/prism/node.rb#14774 sig do params( node_id: Integer, @@ -29338,13 +29338,13 @@ class Prism::PreExecutionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14757 + # source://prism//lib/prism/node.rb#14779 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, statements: StatementsNode?, keyword_loc: Location, opening_loc: Location, closing_loc: Location } # - # source://prism/lib/prism/node.rb#14782 + # source://prism//lib/prism/node.rb#14782 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29353,81 +29353,81 @@ class Prism::PreExecutionNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14844 + # source://prism//lib/prism/node.rb#14844 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#14829 + # source://prism//lib/prism/node.rb#14829 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#14790 + # source://prism//lib/prism/node.rb#14790 sig { returns(Prism::Location) } def keyword_loc; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#14834 + # source://prism//lib/prism/node.rb#14834 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#14803 + # source://prism//lib/prism/node.rb#14803 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14824 + # source://prism//lib/prism/node.rb#14824 def save_closing_loc(repository); end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14798 + # source://prism//lib/prism/node.rb#14798 def save_keyword_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#14811 + # source://prism//lib/prism/node.rb#14811 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#14787 + # source://prism//lib/prism/node.rb#14787 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14849 + # source://prism//lib/prism/node.rb#14849 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14854 + # source://prism//lib/prism/node.rb#14854 def type; end end end # The top level node of any parse tree. # -# source://prism/lib/prism/node.rb#14870 +# source://prism//lib/prism/node.rb#14870 class Prism::ProgramNode < ::Prism::Node # Initialize a new ProgramNode node. # # @return [ProgramNode] a new instance of ProgramNode # - # source://prism/lib/prism/node.rb#14872 + # source://prism//lib/prism/node.rb#14872 sig do params( source: Prism::Source, @@ -29443,36 +29443,36 @@ class Prism::ProgramNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#14937 + # source://prism//lib/prism/node.rb#14937 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14882 + # source://prism//lib/prism/node.rb#14882 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14887 + # source://prism//lib/prism/node.rb#14887 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14897 + # source://prism//lib/prism/node.rb#14897 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14892 + # source://prism//lib/prism/node.rb#14892 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?statements: StatementsNode) -> ProgramNode # - # source://prism/lib/prism/node.rb#14902 + # source://prism//lib/prism/node.rb#14902 sig do params( node_id: Integer, @@ -29487,13 +29487,13 @@ class Prism::ProgramNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14887 + # source://prism//lib/prism/node.rb#14907 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], statements: StatementsNode } # - # source://prism/lib/prism/node.rb#14910 + # source://prism//lib/prism/node.rb#14910 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29502,44 +29502,44 @@ class Prism::ProgramNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#14921 + # source://prism//lib/prism/node.rb#14921 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#14915 + # source://prism//lib/prism/node.rb#14915 sig { returns(T::Array[Symbol]) } def locals; end # attr_reader statements: StatementsNode # - # source://prism/lib/prism/node.rb#14918 + # source://prism//lib/prism/node.rb#14918 sig { returns(Prism::StatementsNode) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#14926 + # source://prism//lib/prism/node.rb#14926 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#14931 + # source://prism//lib/prism/node.rb#14931 def type; end end end # Flags for range and flip-flop nodes. # -# source://prism/lib/prism/node.rb#18517 +# source://prism//lib/prism/node.rb#18517 module Prism::RangeFlags; end # ... operator # -# source://prism/lib/prism/node.rb#18519 +# source://prism//lib/prism/node.rb#18519 Prism::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # Represents the use of the `..` or `...` operators. @@ -29550,13 +29550,13 @@ Prism::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # c if a =~ /left/ ... b =~ /right/ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#14952 +# source://prism//lib/prism/node.rb#14952 class Prism::RangeNode < ::Prism::Node # Initialize a new RangeNode node. # # @return [RangeNode] a new instance of RangeNode # - # source://prism/lib/prism/node.rb#14954 + # source://prism//lib/prism/node.rb#14954 sig do params( source: Prism::Source, @@ -29573,36 +29573,36 @@ class Prism::RangeNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15059 + # source://prism//lib/prism/node.rb#15059 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#14965 + # source://prism//lib/prism/node.rb#14965 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14970 + # source://prism//lib/prism/node.rb#14970 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#14983 + # source://prism//lib/prism/node.rb#14983 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#14975 + # source://prism//lib/prism/node.rb#14975 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node?, ?right: Prism::node?, ?operator_loc: Location) -> RangeNode # - # source://prism/lib/prism/node.rb#14988 + # source://prism//lib/prism/node.rb#14988 sig do params( node_id: Integer, @@ -29618,13 +29618,13 @@ class Prism::RangeNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#14970 + # source://prism//lib/prism/node.rb#14993 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, left: Prism::node?, right: Prism::node?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#14996 + # source://prism//lib/prism/node.rb#14996 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29632,7 +29632,7 @@ class Prism::RangeNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15001 + # source://prism//lib/prism/node.rb#15001 sig { returns(T::Boolean) } def exclude_end?; end @@ -29641,7 +29641,7 @@ class Prism::RangeNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15043 + # source://prism//lib/prism/node.rb#15043 sig { override.returns(String) } def inspect; end @@ -29653,19 +29653,19 @@ class Prism::RangeNode < ::Prism::Node # hello...goodbye # ^^^^^ # - # source://prism/lib/prism/node.rb#15012 + # source://prism//lib/prism/node.rb#15012 sig { returns(T.nilable(Prism::Node)) } def left; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#15038 + # source://prism//lib/prism/node.rb#15038 sig { returns(String) } def operator; end # The location of the `..` or `...` operator. # - # source://prism/lib/prism/node.rb#15025 + # source://prism//lib/prism/node.rb#15025 sig { returns(Prism::Location) } def operator_loc; end @@ -29678,26 +29678,26 @@ class Prism::RangeNode < ::Prism::Node # ^^^ # If neither right-hand or left-hand side was included, this will be a MissingNode. # - # source://prism/lib/prism/node.rb#15022 + # source://prism//lib/prism/node.rb#15022 sig { returns(T.nilable(Prism::Node)) } def right; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15033 + # source://prism//lib/prism/node.rb#15033 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15048 + # source://prism//lib/prism/node.rb#15048 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15053 + # source://prism//lib/prism/node.rb#15053 def type; end end end @@ -29707,13 +29707,13 @@ end # 1.0r # ^^^^ # -# source://prism/lib/prism/node.rb#15072 +# source://prism//lib/prism/node.rb#15072 class Prism::RationalNode < ::Prism::Node # Initialize a new RationalNode node. # # @return [RationalNode] a new instance of RationalNode # - # source://prism/lib/prism/node.rb#15074 + # source://prism//lib/prism/node.rb#15074 sig do params( source: Prism::Source, @@ -29729,12 +29729,12 @@ class Prism::RationalNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15163 + # source://prism//lib/prism/node.rb#15163 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15084 + # source://prism//lib/prism/node.rb#15084 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -29742,31 +29742,31 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15117 + # source://prism//lib/prism/node.rb#15117 sig { returns(T::Boolean) } def binary?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15089 + # source://prism//lib/prism/node.rb#15089 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15099 + # source://prism//lib/prism/node.rb#15099 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15094 + # source://prism//lib/prism/node.rb#15094 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?numerator: Integer, ?denominator: Integer) -> RationalNode # - # source://prism/lib/prism/node.rb#15104 + # source://prism//lib/prism/node.rb#15104 sig do params( node_id: Integer, @@ -29782,20 +29782,20 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15122 + # source://prism//lib/prism/node.rb#15122 sig { returns(T::Boolean) } def decimal?; end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15089 + # source://prism//lib/prism/node.rb#15109 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, numerator: Integer, denominator: Integer } # - # source://prism/lib/prism/node.rb#15112 + # source://prism//lib/prism/node.rb#15112 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29803,7 +29803,7 @@ class Prism::RationalNode < ::Prism::Node # # 1.5r # denominator 2 # - # source://prism/lib/prism/node.rb#15144 + # source://prism//lib/prism/node.rb#15144 sig { returns(Integer) } def denominator; end @@ -29814,13 +29814,13 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15132 + # source://prism//lib/prism/node.rb#15132 sig { returns(T::Boolean) } def hexadecimal?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#15147 + # source://prism//lib/prism/node.rb#15147 sig { override.returns(String) } def inspect; end @@ -29828,40 +29828,40 @@ class Prism::RationalNode < ::Prism::Node # # 1.5r # numerator 3 # - # source://prism/lib/prism/node.rb#15139 + # source://prism//lib/prism/node.rb#15139 sig { returns(Integer) } def numerator; end # Returns the value of the node as an IntegerNode or a FloatNode. This # method is deprecated in favor of #value or #numerator/#denominator. # - # source://prism/lib/prism/node_ext.rb#120 + # source://prism//lib/prism/node_ext.rb#120 def numeric; end # def octal?: () -> bool # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15127 + # source://prism//lib/prism/node.rb#15127 sig { returns(T::Boolean) } def octal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15152 + # source://prism//lib/prism/node.rb#15152 sig { override.returns(Symbol) } def type; end # Returns the value of the node as a Ruby Rational. # - # source://prism/lib/prism/node_ext.rb#114 + # source://prism//lib/prism/node_ext.rb#114 sig { returns(Rational) } def value; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15157 + # source://prism//lib/prism/node.rb#15157 def type; end end end @@ -29871,62 +29871,62 @@ end # redo # ^^^^ # -# source://prism/lib/prism/node.rb#15175 +# source://prism//lib/prism/node.rb#15175 class Prism::RedoNode < ::Prism::Node # Initialize a new RedoNode node. # # @return [RedoNode] a new instance of RedoNode # - # source://prism/lib/prism/node.rb#15177 + # source://prism//lib/prism/node.rb#15177 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15234 + # source://prism//lib/prism/node.rb#15234 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15185 + # source://prism//lib/prism/node.rb#15185 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15190 + # source://prism//lib/prism/node.rb#15190 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15200 + # source://prism//lib/prism/node.rb#15200 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15195 + # source://prism//lib/prism/node.rb#15195 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> RedoNode # - # source://prism/lib/prism/node.rb#15205 + # source://prism//lib/prism/node.rb#15205 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::RedoNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15190 + # source://prism//lib/prism/node.rb#15210 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#15213 + # source://prism//lib/prism/node.rb#15213 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29935,20 +29935,20 @@ class Prism::RedoNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15218 + # source://prism//lib/prism/node.rb#15218 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15223 + # source://prism//lib/prism/node.rb#15223 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15228 + # source://prism//lib/prism/node.rb#15228 def type; end end end @@ -29957,12 +29957,12 @@ end # the syntax tree itself, as opposed to looking at a single syntax tree. This # is useful in metaprogramming contexts. # -# source://prism/lib/prism/reflection.rb#13 +# source://prism//lib/prism/reflection.rb#13 module Prism::Reflection class << self # Returns the fields for the given node. # - # source://prism/lib/prism/reflection.rb#104 + # source://prism//lib/prism/reflection.rb#104 sig { params(node: T.class_of(Prism::Node)).returns(T::Array[Prism::Reflection::Field]) } def fields_for(node); end end @@ -29972,31 +29972,31 @@ end # represents an identifier found within the source. It resolves to a symbol # in Ruby. # -# source://prism/lib/prism/reflection.rb#45 +# source://prism//lib/prism/reflection.rb#45 class Prism::Reflection::ConstantField < ::Prism::Reflection::Field; end # A constant list field represents a list of constant values on a node. It # resolves to an array of symbols in Ruby. # -# source://prism/lib/prism/reflection.rb#55 +# source://prism//lib/prism/reflection.rb#55 class Prism::Reflection::ConstantListField < ::Prism::Reflection::Field; end # A field represents a single piece of data on a node. It is the base class # for all other field types. # -# source://prism/lib/prism/reflection.rb#16 +# source://prism//lib/prism/reflection.rb#16 class Prism::Reflection::Field # Initializes the field with the given name. # # @return [Field] a new instance of Field # - # source://prism/lib/prism/reflection.rb#21 + # source://prism//lib/prism/reflection.rb#21 sig { params(name: Symbol).void } def initialize(name); end # The name of the field. # - # source://prism/lib/prism/reflection.rb#18 + # source://prism//lib/prism/reflection.rb#18 sig { returns(Symbol) } def name; end end @@ -30006,19 +30006,19 @@ end # node because the integer is kept private. Instead, the various flags in # the bitset should be accessed through their query methods. # -# source://prism/lib/prism/reflection.rb#92 +# source://prism//lib/prism/reflection.rb#92 class Prism::Reflection::FlagsField < ::Prism::Reflection::Field # Initializes the flags field with the given name and flags. # # @return [FlagsField] a new instance of FlagsField # - # source://prism/lib/prism/reflection.rb#97 + # source://prism//lib/prism/reflection.rb#97 sig { params(name: Symbol, flags: T::Array[Symbol]).void } def initialize(name, flags); end # The names of the flags in the bitset. # - # source://prism/lib/prism/reflection.rb#94 + # source://prism//lib/prism/reflection.rb#94 sig { returns(T::Array[Symbol]) } def flags; end end @@ -30027,120 +30027,120 @@ end # used exclusively to represent the value of a floating point literal. It # resolves to a Float in Ruby. # -# source://prism/lib/prism/reflection.rb#85 +# source://prism//lib/prism/reflection.rb#85 class Prism::Reflection::FloatField < ::Prism::Reflection::Field; end # An integer field represents an integer value. It is used to represent the # value of an integer literal, the depth of local variables, and the number # of a numbered reference. It resolves to an Integer in Ruby. # -# source://prism/lib/prism/reflection.rb#79 +# source://prism//lib/prism/reflection.rb#79 class Prism::Reflection::IntegerField < ::Prism::Reflection::Field; end # A location field represents the location of some part of the node in the # source code. For example, the location of a keyword or an operator. It # resolves to a Prism::Location in Ruby. # -# source://prism/lib/prism/reflection.rb#67 +# source://prism//lib/prism/reflection.rb#67 class Prism::Reflection::LocationField < ::Prism::Reflection::Field; end # A node field represents a single child node in the syntax tree. It # resolves to a Prism::Node in Ruby. # -# source://prism/lib/prism/reflection.rb#28 +# source://prism//lib/prism/reflection.rb#28 class Prism::Reflection::NodeField < ::Prism::Reflection::Field; end # A node list field represents a list of child nodes in the syntax tree. It # resolves to an array of Prism::Node instances in Ruby. # -# source://prism/lib/prism/reflection.rb#39 +# source://prism//lib/prism/reflection.rb#39 class Prism::Reflection::NodeListField < ::Prism::Reflection::Field; end # An optional constant field represents a constant value on a node that may # or may not be present. It resolves to either a symbol or nil in Ruby. # -# source://prism/lib/prism/reflection.rb#50 +# source://prism//lib/prism/reflection.rb#50 class Prism::Reflection::OptionalConstantField < ::Prism::Reflection::Field; end # An optional location field represents the location of some part of the # node in the source code that may or may not be present. It resolves to # either a Prism::Location or nil in Ruby. # -# source://prism/lib/prism/reflection.rb#73 +# source://prism//lib/prism/reflection.rb#73 class Prism::Reflection::OptionalLocationField < ::Prism::Reflection::Field; end # An optional node field represents a single child node in the syntax tree # that may or may not be present. It resolves to either a Prism::Node or nil # in Ruby. # -# source://prism/lib/prism/reflection.rb#34 +# source://prism//lib/prism/reflection.rb#34 class Prism::Reflection::OptionalNodeField < ::Prism::Reflection::Field; end # A string field represents a string value on a node. It almost always # represents the unescaped value of a string-like literal. It resolves to a # string in Ruby. # -# source://prism/lib/prism/reflection.rb#61 +# source://prism//lib/prism/reflection.rb#61 class Prism::Reflection::StringField < ::Prism::Reflection::Field; end # Flags for regular expression and match last line nodes. # -# source://prism/lib/prism/node.rb#18523 +# source://prism//lib/prism/node.rb#18523 module Prism::RegularExpressionFlags; end # n - forces the ASCII-8BIT encoding # -# source://prism/lib/prism/node.rb#18540 +# source://prism//lib/prism/node.rb#18540 Prism::RegularExpressionFlags::ASCII_8BIT = T.let(T.unsafe(nil), Integer) # e - forces the EUC-JP encoding # -# source://prism/lib/prism/node.rb#18537 +# source://prism//lib/prism/node.rb#18537 Prism::RegularExpressionFlags::EUC_JP = T.let(T.unsafe(nil), Integer) # x - ignores whitespace and allows comments in regular expressions # -# source://prism/lib/prism/node.rb#18528 +# source://prism//lib/prism/node.rb#18528 Prism::RegularExpressionFlags::EXTENDED = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to binary # -# source://prism/lib/prism/node.rb#18552 +# source://prism//lib/prism/node.rb#18552 Prism::RegularExpressionFlags::FORCED_BINARY_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to US-ASCII # -# source://prism/lib/prism/node.rb#18555 +# source://prism//lib/prism/node.rb#18555 Prism::RegularExpressionFlags::FORCED_US_ASCII_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to UTF-8 # -# source://prism/lib/prism/node.rb#18549 +# source://prism//lib/prism/node.rb#18549 Prism::RegularExpressionFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # i - ignores the case of characters when matching # -# source://prism/lib/prism/node.rb#18525 +# source://prism//lib/prism/node.rb#18525 Prism::RegularExpressionFlags::IGNORE_CASE = T.let(T.unsafe(nil), Integer) # m - allows $ to match the end of lines within strings # -# source://prism/lib/prism/node.rb#18531 +# source://prism//lib/prism/node.rb#18531 Prism::RegularExpressionFlags::MULTI_LINE = T.let(T.unsafe(nil), Integer) # o - only interpolates values into the regular expression once # -# source://prism/lib/prism/node.rb#18534 +# source://prism//lib/prism/node.rb#18534 Prism::RegularExpressionFlags::ONCE = T.let(T.unsafe(nil), Integer) # u - forces the UTF-8 encoding # -# source://prism/lib/prism/node.rb#18546 +# source://prism//lib/prism/node.rb#18546 Prism::RegularExpressionFlags::UTF_8 = T.let(T.unsafe(nil), Integer) # s - forces the Windows-31J encoding # -# source://prism/lib/prism/node.rb#18543 +# source://prism//lib/prism/node.rb#18543 Prism::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # Represents a regular expression literal with no interpolation. @@ -30148,7 +30148,7 @@ Prism::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # /foo/i # ^^^^^^ # -# source://prism/lib/prism/node.rb#15243 +# source://prism//lib/prism/node.rb#15243 class Prism::RegularExpressionNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -30156,7 +30156,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [RegularExpressionNode] a new instance of RegularExpressionNode # - # source://prism/lib/prism/node.rb#15245 + # source://prism//lib/prism/node.rb#15245 sig do params( source: Prism::Source, @@ -30174,12 +30174,12 @@ class Prism::RegularExpressionNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15418 + # source://prism//lib/prism/node.rb#15418 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15257 + # source://prism//lib/prism/node.rb#15257 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -30187,55 +30187,55 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15315 + # source://prism//lib/prism/node.rb#15315 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15262 + # source://prism//lib/prism/node.rb#15262 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#15397 + # source://prism//lib/prism/node.rb#15397 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#15371 + # source://prism//lib/prism/node.rb#15371 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15272 + # source://prism//lib/prism/node.rb#15272 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15267 + # source://prism//lib/prism/node.rb#15267 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism/lib/prism/node.rb#15392 + # source://prism//lib/prism/node.rb#15392 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism/lib/prism/node.rb#15358 + # source://prism//lib/prism/node.rb#15358 sig { returns(Prism::Location) } def content_loc; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?content_loc: Location, ?closing_loc: Location, ?unescaped: String) -> RegularExpressionNode # - # source://prism/lib/prism/node.rb#15277 + # source://prism//lib/prism/node.rb#15277 sig do params( node_id: Integer, @@ -30252,13 +30252,13 @@ class Prism::RegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15262 + # source://prism//lib/prism/node.rb#15282 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String } # - # source://prism/lib/prism/node.rb#15285 + # source://prism//lib/prism/node.rb#15285 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -30266,7 +30266,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15310 + # source://prism//lib/prism/node.rb#15310 sig { returns(T::Boolean) } def euc_jp?; end @@ -30274,7 +30274,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15295 + # source://prism//lib/prism/node.rb#15295 sig { returns(T::Boolean) } def extended?; end @@ -30285,7 +30285,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15335 + # source://prism//lib/prism/node.rb#15335 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -30293,7 +30293,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15340 + # source://prism//lib/prism/node.rb#15340 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -30301,7 +30301,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15330 + # source://prism//lib/prism/node.rb#15330 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -30309,13 +30309,13 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15290 + # source://prism//lib/prism/node.rb#15290 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#15402 + # source://prism//lib/prism/node.rb#15402 sig { override.returns(String) } def inspect; end @@ -30323,7 +30323,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15300 + # source://prism//lib/prism/node.rb#15300 sig { returns(T::Boolean) } def multi_line?; end @@ -30331,19 +30331,19 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15305 + # source://prism//lib/prism/node.rb#15305 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#15387 + # source://prism//lib/prism/node.rb#15387 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#15345 + # source://prism//lib/prism/node.rb#15345 sig { returns(Prism::Location) } def opening_loc; end @@ -30353,30 +30353,30 @@ class Prism::RegularExpressionNode < ::Prism::Node # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15379 + # source://prism//lib/prism/node.rb#15379 def save_closing_loc(repository); end # Save the content_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15366 + # source://prism//lib/prism/node.rb#15366 def save_content_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15353 + # source://prism//lib/prism/node.rb#15353 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15407 + # source://prism//lib/prism/node.rb#15407 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism/lib/prism/node.rb#15384 + # source://prism//lib/prism/node.rb#15384 sig { returns(String) } def unescaped; end @@ -30384,7 +30384,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15325 + # source://prism//lib/prism/node.rb#15325 sig { returns(T::Boolean) } def utf_8?; end @@ -30392,24 +30392,24 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15320 + # source://prism//lib/prism/node.rb#15320 sig { returns(T::Boolean) } def windows_31j?; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15412 + # source://prism//lib/prism/node.rb#15412 def type; end end end -# source://prism/lib/prism/node_ext.rb#20 +# source://prism//lib/prism/node_ext.rb#20 module Prism::RegularExpressionOptions # Returns a numeric value that represents the flags that were used to create # the regular expression. # - # source://prism/lib/prism/node_ext.rb#23 + # source://prism//lib/prism/node_ext.rb#23 def options; end end @@ -30423,276 +30423,276 @@ end # "save" nodes and locations using a minimal amount of memory (just the # node_id and a field identifier) and then reify them later. # -# source://prism/lib/prism/relocation.rb#13 +# source://prism//lib/prism/relocation.rb#13 module Prism::Relocation class << self # Create a new repository for the given filepath. # - # source://prism/lib/prism/relocation.rb#495 + # source://prism//lib/prism/relocation.rb#495 def filepath(value); end # Create a new repository for the given string. # - # source://prism/lib/prism/relocation.rb#500 + # source://prism//lib/prism/relocation.rb#500 def string(value); end end end # A field representing the start and end character columns. # -# source://prism/lib/prism/relocation.rb#269 +# source://prism//lib/prism/relocation.rb#269 class Prism::Relocation::CharacterColumnsField # Fetches the start and end character column of a value. # - # source://prism/lib/prism/relocation.rb#271 + # source://prism//lib/prism/relocation.rb#271 def fields(value); end end # A field representing the start and end character offsets. # -# source://prism/lib/prism/relocation.rb#217 +# source://prism//lib/prism/relocation.rb#217 class Prism::Relocation::CharacterOffsetsField # Fetches the start and end character offset of a value. # - # source://prism/lib/prism/relocation.rb#219 + # source://prism//lib/prism/relocation.rb#219 def fields(value); end end # A field representing the start and end code unit columns for a specific # encoding. # -# source://prism/lib/prism/relocation.rb#281 +# source://prism//lib/prism/relocation.rb#281 class Prism::Relocation::CodeUnitColumnsField # Initialize a new field with the associated repository and encoding. # # @return [CodeUnitColumnsField] a new instance of CodeUnitColumnsField # - # source://prism/lib/prism/relocation.rb#290 + # source://prism//lib/prism/relocation.rb#290 def initialize(repository, encoding); end # The associated encoding for the code units. # - # source://prism/lib/prism/relocation.rb#287 + # source://prism//lib/prism/relocation.rb#287 def encoding; end # Fetches the start and end code units column of a value for a particular # encoding. # - # source://prism/lib/prism/relocation.rb#298 + # source://prism//lib/prism/relocation.rb#298 def fields(value); end # The repository object that is used for lazily creating a code units # cache. # - # source://prism/lib/prism/relocation.rb#284 + # source://prism//lib/prism/relocation.rb#284 def repository; end private # Lazily create a code units cache for the associated encoding. # - # source://prism/lib/prism/relocation.rb#308 + # source://prism//lib/prism/relocation.rb#308 def cache; end end # A field representing the start and end code unit offsets. # -# source://prism/lib/prism/relocation.rb#228 +# source://prism//lib/prism/relocation.rb#228 class Prism::Relocation::CodeUnitOffsetsField # Initialize a new field with the associated repository and encoding. # # @return [CodeUnitOffsetsField] a new instance of CodeUnitOffsetsField # - # source://prism/lib/prism/relocation.rb#237 + # source://prism//lib/prism/relocation.rb#237 def initialize(repository, encoding); end # The associated encoding for the code units. # - # source://prism/lib/prism/relocation.rb#234 + # source://prism//lib/prism/relocation.rb#234 def encoding; end # Fetches the start and end code units offset of a value for a particular # encoding. # - # source://prism/lib/prism/relocation.rb#245 + # source://prism//lib/prism/relocation.rb#245 def fields(value); end # A pointer to the repository object that is used for lazily creating a # code units cache. # - # source://prism/lib/prism/relocation.rb#231 + # source://prism//lib/prism/relocation.rb#231 def repository; end private # Lazily create a code units cache for the associated encoding. # - # source://prism/lib/prism/relocation.rb#255 + # source://prism//lib/prism/relocation.rb#255 def cache; end end # A field representing the start and end byte columns. # -# source://prism/lib/prism/relocation.rb#261 +# source://prism//lib/prism/relocation.rb#261 class Prism::Relocation::ColumnsField # Fetches the start and end byte column of a value. # - # source://prism/lib/prism/relocation.rb#263 + # source://prism//lib/prism/relocation.rb#263 def fields(value); end end # An abstract field used as the parent class of the two comments fields. # -# source://prism/lib/prism/relocation.rb#314 +# source://prism//lib/prism/relocation.rb#314 class Prism::Relocation::CommentsField private # Create comment objects from the given values. # - # source://prism/lib/prism/relocation.rb#329 + # source://prism//lib/prism/relocation.rb#329 def comments(values); end end # An object that represents a slice of a comment. # -# source://prism/lib/prism/relocation.rb#316 +# source://prism//lib/prism/relocation.rb#316 class Prism::Relocation::CommentsField::Comment # Initialize a new comment with the given slice. # # @return [Comment] a new instance of Comment # - # source://prism/lib/prism/relocation.rb#321 + # source://prism//lib/prism/relocation.rb#321 def initialize(slice); end # The slice of the comment. # - # source://prism/lib/prism/relocation.rb#318 + # source://prism//lib/prism/relocation.rb#318 def slice; end end # An entry in a repository that will lazily reify its values when they are # first accessed. # -# source://prism/lib/prism/relocation.rb#16 +# source://prism//lib/prism/relocation.rb#16 class Prism::Relocation::Entry # Initialize a new entry with the given repository. # # @return [Entry] a new instance of Entry # - # source://prism/lib/prism/relocation.rb#24 + # source://prism//lib/prism/relocation.rb#24 def initialize(repository); end # Fetch the leading and trailing comments of the value. # - # source://prism/lib/prism/relocation.rb#119 + # source://prism//lib/prism/relocation.rb#119 def comments; end # Fetch the end character column of the value. # - # source://prism/lib/prism/relocation.rb#92 + # source://prism//lib/prism/relocation.rb#92 def end_character_column; end # Fetch the end character offset of the value. # - # source://prism/lib/prism/relocation.rb#60 + # source://prism//lib/prism/relocation.rb#60 def end_character_offset; end # Fetch the end code units column of the value, for the encoding that was # configured on the repository. # - # source://prism/lib/prism/relocation.rb#104 + # source://prism//lib/prism/relocation.rb#104 def end_code_units_column; end # Fetch the end code units offset of the value, for the encoding that was # configured on the repository. # - # source://prism/lib/prism/relocation.rb#72 + # source://prism//lib/prism/relocation.rb#72 def end_code_units_offset; end # Fetch the end byte column of the value. # - # source://prism/lib/prism/relocation.rb#82 + # source://prism//lib/prism/relocation.rb#82 def end_column; end # Fetch the end line of the value. # - # source://prism/lib/prism/relocation.rb#40 + # source://prism//lib/prism/relocation.rb#40 def end_line; end # Fetch the end byte offset of the value. # - # source://prism/lib/prism/relocation.rb#50 + # source://prism//lib/prism/relocation.rb#50 def end_offset; end # Fetch the filepath of the value. # - # source://prism/lib/prism/relocation.rb#30 + # source://prism//lib/prism/relocation.rb#30 def filepath; end # Fetch the leading comments of the value. # - # source://prism/lib/prism/relocation.rb#109 + # source://prism//lib/prism/relocation.rb#109 def leading_comments; end # Reify the values on this entry with the given values. This is an # internal-only API that is called from the repository when it is time to # reify the values. # - # source://prism/lib/prism/relocation.rb#126 + # source://prism//lib/prism/relocation.rb#126 def reify!(values); end # Fetch the start character column of the value. # - # source://prism/lib/prism/relocation.rb#87 + # source://prism//lib/prism/relocation.rb#87 def start_character_column; end # Fetch the start character offset of the value. # - # source://prism/lib/prism/relocation.rb#55 + # source://prism//lib/prism/relocation.rb#55 def start_character_offset; end # Fetch the start code units column of the value, for the encoding that # was configured on the repository. # - # source://prism/lib/prism/relocation.rb#98 + # source://prism//lib/prism/relocation.rb#98 def start_code_units_column; end # Fetch the start code units offset of the value, for the encoding that # was configured on the repository. # - # source://prism/lib/prism/relocation.rb#66 + # source://prism//lib/prism/relocation.rb#66 def start_code_units_offset; end # Fetch the start byte column of the value. # - # source://prism/lib/prism/relocation.rb#77 + # source://prism//lib/prism/relocation.rb#77 def start_column; end # Fetch the start line of the value. # - # source://prism/lib/prism/relocation.rb#35 + # source://prism//lib/prism/relocation.rb#35 def start_line; end # Fetch the start byte offset of the value. # - # source://prism/lib/prism/relocation.rb#45 + # source://prism//lib/prism/relocation.rb#45 def start_offset; end # Fetch the trailing comments of the value. # - # source://prism/lib/prism/relocation.rb#114 + # source://prism//lib/prism/relocation.rb#114 def trailing_comments; end private # Fetch a value from the entry, raising an error if it is missing. # - # source://prism/lib/prism/relocation.rb#134 + # source://prism//lib/prism/relocation.rb#134 def fetch_value(name); end # Return the values from the repository, reifying them if necessary. # - # source://prism/lib/prism/relocation.rb#142 + # source://prism//lib/prism/relocation.rb#142 def values; end end @@ -30700,170 +30700,170 @@ end # because it was either not configured on the repository or it has not yet # been fetched. # -# source://prism/lib/prism/relocation.rb#20 +# source://prism//lib/prism/relocation.rb#20 class Prism::Relocation::Entry::MissingValueError < ::StandardError; end # A field that represents the file path. # -# source://prism/lib/prism/relocation.rb#185 +# source://prism//lib/prism/relocation.rb#185 class Prism::Relocation::FilepathField # Initialize a new field with the given file path. # # @return [FilepathField] a new instance of FilepathField # - # source://prism/lib/prism/relocation.rb#190 + # source://prism//lib/prism/relocation.rb#190 def initialize(value); end # Fetch the file path. # - # source://prism/lib/prism/relocation.rb#195 + # source://prism//lib/prism/relocation.rb#195 def fields(_value); end # The file path that this field represents. # - # source://prism/lib/prism/relocation.rb#187 + # source://prism//lib/prism/relocation.rb#187 def value; end end # A field representing the leading comments. # -# source://prism/lib/prism/relocation.rb#335 +# source://prism//lib/prism/relocation.rb#335 class Prism::Relocation::LeadingCommentsField < ::Prism::Relocation::CommentsField # Fetches the leading comments of a value. # - # source://prism/lib/prism/relocation.rb#337 + # source://prism//lib/prism/relocation.rb#337 def fields(value); end end # A field representing the start and end lines. # -# source://prism/lib/prism/relocation.rb#201 +# source://prism//lib/prism/relocation.rb#201 class Prism::Relocation::LinesField # Fetches the start and end line of a value. # - # source://prism/lib/prism/relocation.rb#203 + # source://prism//lib/prism/relocation.rb#203 def fields(value); end end # A field representing the start and end byte offsets. # -# source://prism/lib/prism/relocation.rb#209 +# source://prism//lib/prism/relocation.rb#209 class Prism::Relocation::OffsetsField # Fetches the start and end byte offset of a value. # - # source://prism/lib/prism/relocation.rb#211 + # source://prism//lib/prism/relocation.rb#211 def fields(value); end end # A repository is a configured collection of fields and a set of entries # that knows how to reparse a source and reify the values. # -# source://prism/lib/prism/relocation.rb#352 +# source://prism//lib/prism/relocation.rb#352 class Prism::Relocation::Repository # Initialize a new repository with the given source. # # @return [Repository] a new instance of Repository # - # source://prism/lib/prism/relocation.rb#369 + # source://prism//lib/prism/relocation.rb#369 def initialize(source); end # Configure the character columns field for this repository and return # self. # - # source://prism/lib/prism/relocation.rb#415 + # source://prism//lib/prism/relocation.rb#415 def character_columns; end # Configure the character offsets field for this repository and return # self. # - # source://prism/lib/prism/relocation.rb#398 + # source://prism//lib/prism/relocation.rb#398 def character_offsets; end # Configure the code unit columns field for this repository for a specific # encoding and return self. # - # source://prism/lib/prism/relocation.rb#421 + # source://prism//lib/prism/relocation.rb#421 def code_unit_columns(encoding); end # Configure the code unit offsets field for this repository for a specific # encoding and return self. # - # source://prism/lib/prism/relocation.rb#404 + # source://prism//lib/prism/relocation.rb#404 def code_unit_offsets(encoding); end # Create a code units cache for the given encoding from the source. # - # source://prism/lib/prism/relocation.rb#376 + # source://prism//lib/prism/relocation.rb#376 def code_units_cache(encoding); end # Configure the columns field for this repository and return self. # - # source://prism/lib/prism/relocation.rb#409 + # source://prism//lib/prism/relocation.rb#409 def columns; end # Configure both the leading and trailing comment fields for this # repository and return self. # - # source://prism/lib/prism/relocation.rb#439 + # source://prism//lib/prism/relocation.rb#439 def comments; end # This method is called from nodes and locations when they want to enter # themselves into the repository. It it internal-only and meant to be # called from the #save* APIs. # - # source://prism/lib/prism/relocation.rb#446 + # source://prism//lib/prism/relocation.rb#446 def enter(node_id, field_name); end # The entries that have been saved on this repository. # - # source://prism/lib/prism/relocation.rb#366 + # source://prism//lib/prism/relocation.rb#366 def entries; end # The fields that have been configured on this repository. # - # source://prism/lib/prism/relocation.rb#363 + # source://prism//lib/prism/relocation.rb#363 def fields; end # Configure the filepath field for this repository and return self. # # @raise [ConfigurationError] # - # source://prism/lib/prism/relocation.rb#381 + # source://prism//lib/prism/relocation.rb#381 def filepath; end # Configure the leading comments field for this repository and return # self. # - # source://prism/lib/prism/relocation.rb#427 + # source://prism//lib/prism/relocation.rb#427 def leading_comments; end # Configure the lines field for this repository and return self. # - # source://prism/lib/prism/relocation.rb#387 + # source://prism//lib/prism/relocation.rb#387 def lines; end # Configure the offsets field for this repository and return self. # - # source://prism/lib/prism/relocation.rb#392 + # source://prism//lib/prism/relocation.rb#392 def offsets; end # This method is called from the entries in the repository when they need # to reify their values. It is internal-only and meant to be called from # the various value APIs. # - # source://prism/lib/prism/relocation.rb#455 + # source://prism//lib/prism/relocation.rb#455 def reify!; end # The source associated with this repository. This will be either a # SourceFilepath (the most common use case) or a SourceString. # - # source://prism/lib/prism/relocation.rb#360 + # source://prism//lib/prism/relocation.rb#360 def source; end # Configure the trailing comments field for this repository and return # self. # - # source://prism/lib/prism/relocation.rb#433 + # source://prism//lib/prism/relocation.rb#433 def trailing_comments; end private @@ -30873,72 +30873,72 @@ class Prism::Relocation::Repository # # @raise [ConfigurationError] # - # source://prism/lib/prism/relocation.rb#487 + # source://prism//lib/prism/relocation.rb#487 def field(name, value); end end # Raised when multiple fields of the same type are configured on the same # repository. # -# source://prism/lib/prism/relocation.rb#355 +# source://prism//lib/prism/relocation.rb#355 class Prism::Relocation::Repository::ConfigurationError < ::StandardError; end # Represents the source of a repository that will be reparsed. # -# source://prism/lib/prism/relocation.rb#148 +# source://prism//lib/prism/relocation.rb#148 class Prism::Relocation::Source # Initialize the source with the given value. # # @return [Source] a new instance of Source # - # source://prism/lib/prism/relocation.rb#153 + # source://prism//lib/prism/relocation.rb#153 def initialize(value); end # Create a code units cache for the given encoding. # - # source://prism/lib/prism/relocation.rb#163 + # source://prism//lib/prism/relocation.rb#163 def code_units_cache(encoding); end # Reparse the value and return the parse result. # # @raise [NotImplementedError] # - # source://prism/lib/prism/relocation.rb#158 + # source://prism//lib/prism/relocation.rb#158 def result; end # The value that will need to be reparsed. # - # source://prism/lib/prism/relocation.rb#150 + # source://prism//lib/prism/relocation.rb#150 def value; end end # A source that is represented by a file path. # -# source://prism/lib/prism/relocation.rb#169 +# source://prism//lib/prism/relocation.rb#169 class Prism::Relocation::SourceFilepath < ::Prism::Relocation::Source # Reparse the file and return the parse result. # - # source://prism/lib/prism/relocation.rb#171 + # source://prism//lib/prism/relocation.rb#171 def result; end end # A source that is represented by a string. # -# source://prism/lib/prism/relocation.rb#177 +# source://prism//lib/prism/relocation.rb#177 class Prism::Relocation::SourceString < ::Prism::Relocation::Source # Reparse the string and return the parse result. # - # source://prism/lib/prism/relocation.rb#179 + # source://prism//lib/prism/relocation.rb#179 def result; end end # A field representing the trailing comments. # -# source://prism/lib/prism/relocation.rb#343 +# source://prism//lib/prism/relocation.rb#343 class Prism::Relocation::TrailingCommentsField < ::Prism::Relocation::CommentsField # Fetches the trailing comments of a value. # - # source://prism/lib/prism/relocation.rb#345 + # source://prism//lib/prism/relocation.rb#345 def fields(value); end end @@ -30948,13 +30948,13 @@ end # ^^ # end # -# source://prism/lib/prism/node.rb#15433 +# source://prism//lib/prism/node.rb#15433 class Prism::RequiredKeywordParameterNode < ::Prism::Node # Initialize a new RequiredKeywordParameterNode node. # # @return [RequiredKeywordParameterNode] a new instance of RequiredKeywordParameterNode # - # source://prism/lib/prism/node.rb#15435 + # source://prism//lib/prism/node.rb#15435 sig do params( source: Prism::Source, @@ -30970,36 +30970,36 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15515 + # source://prism//lib/prism/node.rb#15515 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15445 + # source://prism//lib/prism/node.rb#15445 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15450 + # source://prism//lib/prism/node.rb#15450 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15460 + # source://prism//lib/prism/node.rb#15460 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15455 + # source://prism//lib/prism/node.rb#15455 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol, ?name_loc: Location) -> RequiredKeywordParameterNode # - # source://prism/lib/prism/node.rb#15465 + # source://prism//lib/prism/node.rb#15465 sig do params( node_id: Integer, @@ -31014,13 +31014,13 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15450 + # source://prism//lib/prism/node.rb#15470 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol, name_loc: Location } # - # source://prism/lib/prism/node.rb#15473 + # source://prism//lib/prism/node.rb#15473 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31029,19 +31029,19 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15499 + # source://prism//lib/prism/node.rb#15499 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#15483 + # source://prism//lib/prism/node.rb#15483 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism/lib/prism/node.rb#15486 + # source://prism//lib/prism/node.rb#15486 sig { returns(Prism::Location) } def name_loc; end @@ -31049,26 +31049,26 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15478 + # source://prism//lib/prism/node.rb#15478 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15494 + # source://prism//lib/prism/node.rb#15494 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15504 + # source://prism//lib/prism/node.rb#15504 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15509 + # source://prism//lib/prism/node.rb#15509 def type; end end end @@ -31079,49 +31079,49 @@ end # ^ # end # -# source://prism/lib/prism/node.rb#15528 +# source://prism//lib/prism/node.rb#15528 class Prism::RequiredParameterNode < ::Prism::Node # Initialize a new RequiredParameterNode node. # # @return [RequiredParameterNode] a new instance of RequiredParameterNode # - # source://prism/lib/prism/node.rb#15530 + # source://prism//lib/prism/node.rb#15530 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer, name: Symbol).void } def initialize(source, node_id, location, flags, name); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15596 + # source://prism//lib/prism/node.rb#15596 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15539 + # source://prism//lib/prism/node.rb#15539 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15544 + # source://prism//lib/prism/node.rb#15544 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15554 + # source://prism//lib/prism/node.rb#15554 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15549 + # source://prism//lib/prism/node.rb#15549 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol) -> RequiredParameterNode # - # source://prism/lib/prism/node.rb#15559 + # source://prism//lib/prism/node.rb#15559 sig do params( node_id: Integer, @@ -31135,13 +31135,13 @@ class Prism::RequiredParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15544 + # source://prism//lib/prism/node.rb#15564 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol } # - # source://prism/lib/prism/node.rb#15567 + # source://prism//lib/prism/node.rb#15567 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31150,13 +31150,13 @@ class Prism::RequiredParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15580 + # source://prism//lib/prism/node.rb#15580 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism/lib/prism/node.rb#15577 + # source://prism//lib/prism/node.rb#15577 sig { returns(Symbol) } def name; end @@ -31164,20 +31164,20 @@ class Prism::RequiredParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15572 + # source://prism//lib/prism/node.rb#15572 sig { returns(T::Boolean) } def repeated_parameter?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15585 + # source://prism//lib/prism/node.rb#15585 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15590 + # source://prism//lib/prism/node.rb#15590 def type; end end end @@ -31187,13 +31187,13 @@ end # foo rescue nil # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#15607 +# source://prism//lib/prism/node.rb#15607 class Prism::RescueModifierNode < ::Prism::Node # Initialize a new RescueModifierNode node. # # @return [RescueModifierNode] a new instance of RescueModifierNode # - # source://prism/lib/prism/node.rb#15609 + # source://prism//lib/prism/node.rb#15609 sig do params( source: Prism::Source, @@ -31210,36 +31210,36 @@ class Prism::RescueModifierNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15693 + # source://prism//lib/prism/node.rb#15693 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15620 + # source://prism//lib/prism/node.rb#15620 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15625 + # source://prism//lib/prism/node.rb#15625 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15635 + # source://prism//lib/prism/node.rb#15635 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15630 + # source://prism//lib/prism/node.rb#15630 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?expression: Prism::node, ?keyword_loc: Location, ?rescue_expression: Prism::node) -> RescueModifierNode # - # source://prism/lib/prism/node.rb#15640 + # source://prism//lib/prism/node.rb#15640 sig do params( node_id: Integer, @@ -31255,19 +31255,19 @@ class Prism::RescueModifierNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15625 + # source://prism//lib/prism/node.rb#15645 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, expression: Prism::node, keyword_loc: Location, rescue_expression: Prism::node } # - # source://prism/lib/prism/node.rb#15648 + # source://prism//lib/prism/node.rb#15648 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader expression: Prism::node # - # source://prism/lib/prism/node.rb#15653 + # source://prism//lib/prism/node.rb#15653 sig { returns(Prism::Node) } def expression; end @@ -31276,47 +31276,47 @@ class Prism::RescueModifierNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15677 + # source://prism//lib/prism/node.rb#15677 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#15672 + # source://prism//lib/prism/node.rb#15672 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#15656 + # source://prism//lib/prism/node.rb#15656 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism/lib/prism/parse_result/newlines.rb#115 + # source://prism//lib/prism/parse_result/newlines.rb#115 def newline_flag!(lines); end # attr_reader rescue_expression: Prism::node # - # source://prism/lib/prism/node.rb#15669 + # source://prism//lib/prism/node.rb#15669 sig { returns(Prism::Node) } def rescue_expression; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15664 + # source://prism//lib/prism/node.rb#15664 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15682 + # source://prism//lib/prism/node.rb#15682 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15687 + # source://prism//lib/prism/node.rb#15687 def type; end end end @@ -31331,13 +31331,13 @@ end # # `Foo, *splat, Bar` are in the `exceptions` field. `ex` is in the `reference` field. # -# source://prism/lib/prism/node.rb#15710 +# source://prism//lib/prism/node.rb#15710 class Prism::RescueNode < ::Prism::Node # Initialize a new RescueNode node. # # @return [RescueNode] a new instance of RescueNode # - # source://prism/lib/prism/node.rb#15712 + # source://prism//lib/prism/node.rb#15712 sig do params( source: Prism::Source, @@ -31357,42 +31357,42 @@ class Prism::RescueNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15834 + # source://prism//lib/prism/node.rb#15834 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15726 + # source://prism//lib/prism/node.rb#15726 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15731 + # source://prism//lib/prism/node.rb#15731 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15746 + # source://prism//lib/prism/node.rb#15746 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15736 + # source://prism//lib/prism/node.rb#15736 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # Returns the subsequent rescue clause of the rescue node. This method is # deprecated in favor of #subsequent. # - # source://prism/lib/prism/node_ext.rb#494 + # source://prism//lib/prism/node_ext.rb#494 def consequent; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?exceptions: Array[Prism::node], ?operator_loc: Location?, ?reference: LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | BackReferenceReadNode | NumberedReferenceReadNode | MissingNode | nil, ?statements: StatementsNode?, ?subsequent: RescueNode?) -> RescueNode # - # source://prism/lib/prism/node.rb#15751 + # source://prism//lib/prism/node.rb#15751 sig do params( node_id: Integer, @@ -31411,19 +31411,19 @@ class Prism::RescueNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15731 + # source://prism//lib/prism/node.rb#15756 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, exceptions: Array[Prism::node], operator_loc: Location?, reference: LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | BackReferenceReadNode | NumberedReferenceReadNode | MissingNode | nil, statements: StatementsNode?, subsequent: RescueNode? } # - # source://prism/lib/prism/node.rb#15759 + # source://prism//lib/prism/node.rb#15759 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader exceptions: Array[Prism::node] # - # source://prism/lib/prism/node.rb#15777 + # source://prism//lib/prism/node.rb#15777 sig { returns(T::Array[Prism::Node]) } def exceptions; end @@ -31432,37 +31432,37 @@ class Prism::RescueNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15818 + # source://prism//lib/prism/node.rb#15818 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#15808 + # source://prism//lib/prism/node.rb#15808 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#15764 + # source://prism//lib/prism/node.rb#15764 sig { returns(Prism::Location) } def keyword_loc; end # def operator: () -> String? # - # source://prism/lib/prism/node.rb#15813 + # source://prism//lib/prism/node.rb#15813 sig { returns(T.nilable(String)) } def operator; end # attr_reader operator_loc: Location? # - # source://prism/lib/prism/node.rb#15780 + # source://prism//lib/prism/node.rb#15780 sig { returns(T.nilable(Prism::Location)) } def operator_loc; end # attr_reader reference: LocalVariableTargetNode | InstanceVariableTargetNode | ClassVariableTargetNode | GlobalVariableTargetNode | ConstantTargetNode | ConstantPathTargetNode | CallTargetNode | IndexTargetNode | BackReferenceReadNode | NumberedReferenceReadNode | MissingNode | nil # - # source://prism/lib/prism/node.rb#15799 + # source://prism//lib/prism/node.rb#15799 sig do returns(T.nilable(T.any(Prism::LocalVariableTargetNode, Prism::InstanceVariableTargetNode, Prism::ClassVariableTargetNode, Prism::GlobalVariableTargetNode, Prism::ConstantTargetNode, Prism::ConstantPathTargetNode, Prism::CallTargetNode, Prism::IndexTargetNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::MissingNode))) end @@ -31471,37 +31471,37 @@ class Prism::RescueNode < ::Prism::Node # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15772 + # source://prism//lib/prism/node.rb#15772 def save_keyword_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15794 + # source://prism//lib/prism/node.rb#15794 def save_operator_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#15802 + # source://prism//lib/prism/node.rb#15802 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # attr_reader subsequent: RescueNode? # - # source://prism/lib/prism/node.rb#15805 + # source://prism//lib/prism/node.rb#15805 sig { returns(T.nilable(Prism::RescueNode)) } def subsequent; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15823 + # source://prism//lib/prism/node.rb#15823 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15828 + # source://prism//lib/prism/node.rb#15828 def type; end end end @@ -31512,13 +31512,13 @@ end # ^^ # end # -# source://prism/lib/prism/node.rb#15851 +# source://prism//lib/prism/node.rb#15851 class Prism::RestParameterNode < ::Prism::Node # Initialize a new RestParameterNode node. # # @return [RestParameterNode] a new instance of RestParameterNode # - # source://prism/lib/prism/node.rb#15853 + # source://prism//lib/prism/node.rb#15853 sig do params( source: Prism::Source, @@ -31535,36 +31535,36 @@ class Prism::RestParameterNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#15958 + # source://prism//lib/prism/node.rb#15958 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15864 + # source://prism//lib/prism/node.rb#15864 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15869 + # source://prism//lib/prism/node.rb#15869 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15879 + # source://prism//lib/prism/node.rb#15879 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15874 + # source://prism//lib/prism/node.rb#15874 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?name: Symbol?, ?name_loc: Location?, ?operator_loc: Location) -> RestParameterNode # - # source://prism/lib/prism/node.rb#15884 + # source://prism//lib/prism/node.rb#15884 sig do params( node_id: Integer, @@ -31580,13 +31580,13 @@ class Prism::RestParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15869 + # source://prism//lib/prism/node.rb#15889 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, name: Symbol?, name_loc: Location?, operator_loc: Location } # - # source://prism/lib/prism/node.rb#15892 + # source://prism//lib/prism/node.rb#15892 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31595,31 +31595,31 @@ class Prism::RestParameterNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#15942 + # source://prism//lib/prism/node.rb#15942 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism/lib/prism/node.rb#15902 + # source://prism//lib/prism/node.rb#15902 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location? # - # source://prism/lib/prism/node.rb#15905 + # source://prism//lib/prism/node.rb#15905 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#15937 + # source://prism//lib/prism/node.rb#15937 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#15924 + # source://prism//lib/prism/node.rb#15924 sig { returns(Prism::Location) } def operator_loc; end @@ -31627,32 +31627,32 @@ class Prism::RestParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#15897 + # source://prism//lib/prism/node.rb#15897 sig { returns(T::Boolean) } def repeated_parameter?; end # Save the name_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15919 + # source://prism//lib/prism/node.rb#15919 def save_name_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#15932 + # source://prism//lib/prism/node.rb#15932 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#15947 + # source://prism//lib/prism/node.rb#15947 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#15952 + # source://prism//lib/prism/node.rb#15952 def type; end end end @@ -31661,13 +31661,13 @@ end # the requested structure, any comments that were encounters, and any errors # that were encountered. # -# source://prism/lib/prism/parse_result.rb#662 +# source://prism//lib/prism/parse_result.rb#662 class Prism::Result # Create a new result object with the given values. # # @return [Result] a new instance of Result # - # source://prism/lib/prism/parse_result.rb#684 + # source://prism//lib/prism/parse_result.rb#684 sig do params( comments: T::Array[Prism::Comment], @@ -31682,7 +31682,7 @@ class Prism::Result # Create a code units cache for the given encoding. # - # source://prism/lib/prism/parse_result.rb#716 + # source://prism//lib/prism/parse_result.rb#716 sig do params( encoding: Encoding @@ -31692,7 +31692,7 @@ class Prism::Result # The list of comments that were encountered during parsing. # - # source://prism/lib/prism/parse_result.rb#664 + # source://prism//lib/prism/parse_result.rb#664 sig { returns(T::Array[Prism::Comment]) } def comments; end @@ -31700,25 +31700,25 @@ class Prism::Result # and the rest of the content of the file. This content is loaded into the # DATA constant when the file being parsed is the main file being executed. # - # source://prism/lib/prism/parse_result.rb#672 + # source://prism//lib/prism/parse_result.rb#672 sig { returns(T.nilable(Prism::Location)) } def data_loc; end # Implement the hash pattern matching interface for Result. # - # source://prism/lib/prism/parse_result.rb#694 + # source://prism//lib/prism/parse_result.rb#694 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns the encoding of the source code that was parsed. # - # source://prism/lib/prism/parse_result.rb#699 + # source://prism//lib/prism/parse_result.rb#699 sig { returns(Encoding) } def encoding; end # The list of errors that were generated during parsing. # - # source://prism/lib/prism/parse_result.rb#675 + # source://prism//lib/prism/parse_result.rb#675 sig { returns(T::Array[Prism::ParseError]) } def errors; end @@ -31727,19 +31727,19 @@ class Prism::Result # # @return [Boolean] # - # source://prism/lib/prism/parse_result.rb#711 + # source://prism//lib/prism/parse_result.rb#711 sig { returns(T::Boolean) } def failure?; end # The list of magic comments that were encountered during parsing. # - # source://prism/lib/prism/parse_result.rb#667 + # source://prism//lib/prism/parse_result.rb#667 sig { returns(T::Array[Prism::MagicComment]) } def magic_comments; end # A Source instance that represents the source code that was parsed. # - # source://prism/lib/prism/parse_result.rb#681 + # source://prism//lib/prism/parse_result.rb#681 sig { returns(Prism::Source) } def source; end @@ -31748,13 +31748,13 @@ class Prism::Result # # @return [Boolean] # - # source://prism/lib/prism/parse_result.rb#705 + # source://prism//lib/prism/parse_result.rb#705 sig { returns(T::Boolean) } def success?; end # The list of warnings that were generated during parsing. # - # source://prism/lib/prism/parse_result.rb#678 + # source://prism//lib/prism/parse_result.rb#678 sig { returns(T::Array[Prism::ParseWarning]) } def warnings; end end @@ -31764,62 +31764,62 @@ end # retry # ^^^^^ # -# source://prism/lib/prism/node.rb#15971 +# source://prism//lib/prism/node.rb#15971 class Prism::RetryNode < ::Prism::Node # Initialize a new RetryNode node. # # @return [RetryNode] a new instance of RetryNode # - # source://prism/lib/prism/node.rb#15973 + # source://prism//lib/prism/node.rb#15973 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16030 + # source://prism//lib/prism/node.rb#16030 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#15981 + # source://prism//lib/prism/node.rb#15981 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15986 + # source://prism//lib/prism/node.rb#15986 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#15996 + # source://prism//lib/prism/node.rb#15996 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#15991 + # source://prism//lib/prism/node.rb#15991 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> RetryNode # - # source://prism/lib/prism/node.rb#16001 + # source://prism//lib/prism/node.rb#16001 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::RetryNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#15986 + # source://prism//lib/prism/node.rb#16006 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#16009 + # source://prism//lib/prism/node.rb#16009 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31828,20 +31828,20 @@ class Prism::RetryNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16014 + # source://prism//lib/prism/node.rb#16014 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16019 + # source://prism//lib/prism/node.rb#16019 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16024 + # source://prism//lib/prism/node.rb#16024 def type; end end end @@ -31851,13 +31851,13 @@ end # return 1 # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#16039 +# source://prism//lib/prism/node.rb#16039 class Prism::ReturnNode < ::Prism::Node # Initialize a new ReturnNode node. # # @return [ReturnNode] a new instance of ReturnNode # - # source://prism/lib/prism/node.rb#16041 + # source://prism//lib/prism/node.rb#16041 sig do params( source: Prism::Source, @@ -31873,42 +31873,42 @@ class Prism::ReturnNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16123 + # source://prism//lib/prism/node.rb#16123 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16051 + # source://prism//lib/prism/node.rb#16051 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#16099 + # source://prism//lib/prism/node.rb#16099 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16056 + # source://prism//lib/prism/node.rb#16056 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16068 + # source://prism//lib/prism/node.rb#16068 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16061 + # source://prism//lib/prism/node.rb#16061 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?arguments: ArgumentsNode?) -> ReturnNode # - # source://prism/lib/prism/node.rb#16073 + # source://prism//lib/prism/node.rb#16073 sig do params( node_id: Integer, @@ -31923,13 +31923,13 @@ class Prism::ReturnNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16056 + # source://prism//lib/prism/node.rb#16078 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, arguments: ArgumentsNode? } # - # source://prism/lib/prism/node.rb#16081 + # source://prism//lib/prism/node.rb#16081 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31938,38 +31938,38 @@ class Prism::ReturnNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16107 + # source://prism//lib/prism/node.rb#16107 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#16102 + # source://prism//lib/prism/node.rb#16102 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#16086 + # source://prism//lib/prism/node.rb#16086 sig { returns(Prism::Location) } def keyword_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16094 + # source://prism//lib/prism/node.rb#16094 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16112 + # source://prism//lib/prism/node.rb#16112 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16117 + # source://prism//lib/prism/node.rb#16117 def type; end end end @@ -31979,62 +31979,62 @@ end # self # ^^^^ # -# source://prism/lib/prism/node.rb#16134 +# source://prism//lib/prism/node.rb#16134 class Prism::SelfNode < ::Prism::Node # Initialize a new SelfNode node. # # @return [SelfNode] a new instance of SelfNode # - # source://prism/lib/prism/node.rb#16136 + # source://prism//lib/prism/node.rb#16136 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16193 + # source://prism//lib/prism/node.rb#16193 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16144 + # source://prism//lib/prism/node.rb#16144 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16149 + # source://prism//lib/prism/node.rb#16149 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16159 + # source://prism//lib/prism/node.rb#16159 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16154 + # source://prism//lib/prism/node.rb#16154 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> SelfNode # - # source://prism/lib/prism/node.rb#16164 + # source://prism//lib/prism/node.rb#16164 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::SelfNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16149 + # source://prism//lib/prism/node.rb#16169 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#16172 + # source://prism//lib/prism/node.rb#16172 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32043,208 +32043,208 @@ class Prism::SelfNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16177 + # source://prism//lib/prism/node.rb#16177 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16182 + # source://prism//lib/prism/node.rb#16182 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16187 + # source://prism//lib/prism/node.rb#16187 def type; end end end # A module responsible for deserializing parse results. # -# source://prism/lib/prism/serialize.rb#14 +# source://prism//lib/prism/serialize.rb#14 module Prism::Serialize class << self # Deserialize the AST represented by the given string into a parse result. # - # source://prism/lib/prism/serialize.rb#28 + # source://prism//lib/prism/serialize.rb#28 def load(input, serialized); end # Deserialize the tokens represented by the given string into a parse # result. # - # source://prism/lib/prism/serialize.rb#51 + # source://prism//lib/prism/serialize.rb#51 def load_tokens(source, serialized); end end end -# source://prism/lib/prism/serialize.rb#55 +# source://prism//lib/prism/serialize.rb#55 class Prism::Serialize::Loader # @return [Loader] a new instance of Loader # - # source://prism/lib/prism/serialize.rb#91 + # source://prism//lib/prism/serialize.rb#91 def initialize(source, serialized); end # Returns the value of attribute constant_pool. # - # source://prism/lib/prism/serialize.rb#88 + # source://prism//lib/prism/serialize.rb#88 def constant_pool; end # Returns the value of attribute constant_pool_offset. # - # source://prism/lib/prism/serialize.rb#88 + # source://prism//lib/prism/serialize.rb#88 def constant_pool_offset; end # Returns the value of attribute encoding. # - # source://prism/lib/prism/serialize.rb#87 + # source://prism//lib/prism/serialize.rb#87 def encoding; end # Returns the value of attribute input. # - # source://prism/lib/prism/serialize.rb#87 + # source://prism//lib/prism/serialize.rb#87 def input; end # Returns the value of attribute io. # - # source://prism/lib/prism/serialize.rb#87 + # source://prism//lib/prism/serialize.rb#87 def io; end - # source://prism/lib/prism/serialize.rb#129 + # source://prism//lib/prism/serialize.rb#129 def load_comments; end - # source://prism/lib/prism/serialize.rb#115 + # source://prism//lib/prism/serialize.rb#115 def load_encoding; end - # source://prism/lib/prism/serialize.rb#106 + # source://prism//lib/prism/serialize.rb#106 def load_header; end - # source://prism/lib/prism/serialize.rb#125 + # source://prism//lib/prism/serialize.rb#125 def load_line_offsets; end - # source://prism/lib/prism/serialize.rb#462 + # source://prism//lib/prism/serialize.rb#462 def load_metadata; end - # source://prism/lib/prism/serialize.rb#496 + # source://prism//lib/prism/serialize.rb#496 def load_nodes; end - # source://prism/lib/prism/serialize.rb#510 + # source://prism//lib/prism/serialize.rb#510 def load_result; end - # source://prism/lib/prism/serialize.rb#121 + # source://prism//lib/prism/serialize.rb#121 def load_start_line; end - # source://prism/lib/prism/serialize.rb#471 + # source://prism//lib/prism/serialize.rb#471 def load_tokens; end - # source://prism/lib/prism/serialize.rb#484 + # source://prism//lib/prism/serialize.rb#484 def load_tokens_result; end # Returns the value of attribute serialized. # - # source://prism/lib/prism/serialize.rb#87 + # source://prism//lib/prism/serialize.rb#87 def serialized; end # Returns the value of attribute source. # - # source://prism/lib/prism/serialize.rb#88 + # source://prism//lib/prism/serialize.rb#88 def source; end # Returns the value of attribute start_line. # - # source://prism/lib/prism/serialize.rb#89 + # source://prism//lib/prism/serialize.rb#89 def start_line; end private - # source://prism/lib/prism/serialize.rb#596 + # source://prism//lib/prism/serialize.rb#596 def load_constant(index); end - # source://prism/lib/prism/serialize.rb#549 + # source://prism//lib/prism/serialize.rb#549 def load_double; end - # source://prism/lib/prism/serialize.rb#564 + # source://prism//lib/prism/serialize.rb#564 def load_embedded_string; end - # source://prism/lib/prism/serialize.rb#626 + # source://prism//lib/prism/serialize.rb#626 def load_error_level; end - # source://prism/lib/prism/serialize.rb#538 + # source://prism//lib/prism/serialize.rb#538 def load_integer; end - # source://prism/lib/prism/serialize.rb#580 + # source://prism//lib/prism/serialize.rb#580 def load_location; end - # source://prism/lib/prism/serialize.rb#584 + # source://prism//lib/prism/serialize.rb#584 def load_location_object; end - # source://prism/lib/prism/serialize.rb#655 + # source://prism//lib/prism/serialize.rb#655 def load_node; end - # source://prism/lib/prism/serialize.rb#621 + # source://prism//lib/prism/serialize.rb#621 def load_optional_constant; end - # source://prism/lib/prism/serialize.rb#588 + # source://prism//lib/prism/serialize.rb#588 def load_optional_location; end - # source://prism/lib/prism/serialize.rb#592 + # source://prism//lib/prism/serialize.rb#592 def load_optional_location_object; end - # source://prism/lib/prism/serialize.rb#557 + # source://prism//lib/prism/serialize.rb#557 def load_optional_node; end - # source://prism/lib/prism/serialize.rb#617 + # source://prism//lib/prism/serialize.rb#617 def load_required_constant; end - # source://prism/lib/prism/serialize.rb#568 + # source://prism//lib/prism/serialize.rb#568 def load_string; end - # source://prism/lib/prism/serialize.rb#553 + # source://prism//lib/prism/serialize.rb#553 def load_uint32; end - # source://prism/lib/prism/serialize.rb#533 + # source://prism//lib/prism/serialize.rb#533 def load_varsint; end # variable-length integer using https://en.wikipedia.org/wiki/LEB128 # This is also what protobuf uses: https://protobuf.dev/programming-guides/encoding/#varints # - # source://prism/lib/prism/serialize.rb#519 + # source://prism//lib/prism/serialize.rb#519 def load_varuint; end - # source://prism/lib/prism/serialize.rb#641 + # source://prism//lib/prism/serialize.rb#641 def load_warning_level; end end -# source://prism/lib/prism/serialize.rb#138 +# source://prism//lib/prism/serialize.rb#138 Prism::Serialize::Loader::DIAGNOSTIC_TYPES = T.let(T.unsafe(nil), Array) # StringIO is synchronized and that adds a high overhead on TruffleRuby. # -# source://prism/lib/prism/serialize.rb#83 +# source://prism//lib/prism/serialize.rb#83 Prism::Serialize::Loader::FastStringIO = StringIO # The major version of prism that we are expecting to find in the serialized # strings. # -# source://prism/lib/prism/serialize.rb#17 +# source://prism//lib/prism/serialize.rb#17 Prism::Serialize::MAJOR_VERSION = T.let(T.unsafe(nil), Integer) # The minor version of prism that we are expecting to find in the serialized # strings. # -# source://prism/lib/prism/serialize.rb#21 +# source://prism//lib/prism/serialize.rb#21 Prism::Serialize::MINOR_VERSION = T.let(T.unsafe(nil), Integer) # The patch version of prism that we are expecting to find in the serialized # strings. # -# source://prism/lib/prism/serialize.rb#25 +# source://prism//lib/prism/serialize.rb#25 Prism::Serialize::PATCH_VERSION = T.let(T.unsafe(nil), Integer) # The token types that can be indexed by their enum values. # -# source://prism/lib/prism/serialize.rb#1737 +# source://prism//lib/prism/serialize.rb#1737 Prism::Serialize::TOKEN_TYPES = T.let(T.unsafe(nil), Array) # This node wraps a constant write to indicate that when the value is written, it should have its shareability state modified. @@ -32252,13 +32252,13 @@ Prism::Serialize::TOKEN_TYPES = T.let(T.unsafe(nil), Array) # C = { a: 1 } # ^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#16203 +# source://prism//lib/prism/node.rb#16203 class Prism::ShareableConstantNode < ::Prism::Node # Initialize a new ShareableConstantNode node. # # @return [ShareableConstantNode] a new instance of ShareableConstantNode # - # source://prism/lib/prism/node.rb#16205 + # source://prism//lib/prism/node.rb#16205 sig do params( source: Prism::Source, @@ -32273,36 +32273,36 @@ class Prism::ShareableConstantNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16281 + # source://prism//lib/prism/node.rb#16281 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16214 + # source://prism//lib/prism/node.rb#16214 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16219 + # source://prism//lib/prism/node.rb#16219 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16229 + # source://prism//lib/prism/node.rb#16229 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16224 + # source://prism//lib/prism/node.rb#16224 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?write: ConstantWriteNode | ConstantAndWriteNode | ConstantOrWriteNode | ConstantOperatorWriteNode | ConstantPathWriteNode | ConstantPathAndWriteNode | ConstantPathOrWriteNode | ConstantPathOperatorWriteNode) -> ShareableConstantNode # - # source://prism/lib/prism/node.rb#16234 + # source://prism//lib/prism/node.rb#16234 sig do params( node_id: Integer, @@ -32316,13 +32316,13 @@ class Prism::ShareableConstantNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16219 + # source://prism//lib/prism/node.rb#16239 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, write: ConstantWriteNode | ConstantAndWriteNode | ConstantOrWriteNode | ConstantOperatorWriteNode | ConstantPathWriteNode | ConstantPathAndWriteNode | ConstantPathOrWriteNode | ConstantPathOperatorWriteNode } # - # source://prism/lib/prism/node.rb#16242 + # source://prism//lib/prism/node.rb#16242 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32330,7 +32330,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16257 + # source://prism//lib/prism/node.rb#16257 sig { returns(T::Boolean) } def experimental_copy?; end @@ -32338,7 +32338,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16252 + # source://prism//lib/prism/node.rb#16252 sig { returns(T::Boolean) } def experimental_everything?; end @@ -32347,7 +32347,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16265 + # source://prism//lib/prism/node.rb#16265 sig { override.returns(String) } def inspect; end @@ -32355,19 +32355,19 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16247 + # source://prism//lib/prism/node.rb#16247 sig { returns(T::Boolean) } def literal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16270 + # source://prism//lib/prism/node.rb#16270 sig { override.returns(Symbol) } def type; end # The constant write that should be modified with the shareability state. # - # source://prism/lib/prism/node.rb#16262 + # source://prism//lib/prism/node.rb#16262 sig do returns(T.any(Prism::ConstantWriteNode, Prism::ConstantAndWriteNode, Prism::ConstantOrWriteNode, Prism::ConstantOperatorWriteNode, Prism::ConstantPathWriteNode, Prism::ConstantPathAndWriteNode, Prism::ConstantPathOrWriteNode, Prism::ConstantPathOperatorWriteNode)) end @@ -32376,29 +32376,29 @@ class Prism::ShareableConstantNode < ::Prism::Node class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16275 + # source://prism//lib/prism/node.rb#16275 def type; end end end # Flags for shareable constant nodes. # -# source://prism/lib/prism/node.rb#18559 +# source://prism//lib/prism/node.rb#18559 module Prism::ShareableConstantNodeFlags; end # constant writes that should be modified with shareable constant value experimental copy # -# source://prism/lib/prism/node.rb#18567 +# source://prism//lib/prism/node.rb#18567 Prism::ShareableConstantNodeFlags::EXPERIMENTAL_COPY = T.let(T.unsafe(nil), Integer) # constant writes that should be modified with shareable constant value experimental everything # -# source://prism/lib/prism/node.rb#18564 +# source://prism//lib/prism/node.rb#18564 Prism::ShareableConstantNodeFlags::EXPERIMENTAL_EVERYTHING = T.let(T.unsafe(nil), Integer) # constant writes that should be modified with shareable constant value literal # -# source://prism/lib/prism/node.rb#18561 +# source://prism//lib/prism/node.rb#18561 Prism::ShareableConstantNodeFlags::LITERAL = T.let(T.unsafe(nil), Integer) # Represents a singleton class declaration involving the `class` keyword. @@ -32406,13 +32406,13 @@ Prism::ShareableConstantNodeFlags::LITERAL = T.let(T.unsafe(nil), Integer) # class << self end # ^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#16292 +# source://prism//lib/prism/node.rb#16292 class Prism::SingletonClassNode < ::Prism::Node # Initialize a new SingletonClassNode node. # # @return [SingletonClassNode] a new instance of SingletonClassNode # - # source://prism/lib/prism/node.rb#16294 + # source://prism//lib/prism/node.rb#16294 sig do params( source: Prism::Source, @@ -32432,54 +32432,54 @@ class Prism::SingletonClassNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16423 + # source://prism//lib/prism/node.rb#16423 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16308 + # source://prism//lib/prism/node.rb#16308 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: StatementsNode | BeginNode | nil # - # source://prism/lib/prism/node.rb#16376 + # source://prism//lib/prism/node.rb#16376 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16313 + # source://prism//lib/prism/node.rb#16313 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def class_keyword: () -> String # - # source://prism/lib/prism/node.rb#16392 + # source://prism//lib/prism/node.rb#16392 sig { returns(String) } def class_keyword; end # attr_reader class_keyword_loc: Location # - # source://prism/lib/prism/node.rb#16347 + # source://prism//lib/prism/node.rb#16347 sig { returns(Prism::Location) } def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16326 + # source://prism//lib/prism/node.rb#16326 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16318 + # source://prism//lib/prism/node.rb#16318 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?locals: Array[Symbol], ?class_keyword_loc: Location, ?operator_loc: Location, ?expression: Prism::node, ?body: StatementsNode | BeginNode | nil, ?end_keyword_loc: Location) -> SingletonClassNode # - # source://prism/lib/prism/node.rb#16331 + # source://prism//lib/prism/node.rb#16331 sig do params( node_id: Integer, @@ -32498,31 +32498,31 @@ class Prism::SingletonClassNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16313 + # source://prism//lib/prism/node.rb#16336 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, locals: Array[Symbol], class_keyword_loc: Location, operator_loc: Location, expression: Prism::node, body: StatementsNode | BeginNode | nil, end_keyword_loc: Location } # - # source://prism/lib/prism/node.rb#16339 + # source://prism//lib/prism/node.rb#16339 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://prism/lib/prism/node.rb#16402 + # source://prism//lib/prism/node.rb#16402 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism/lib/prism/node.rb#16379 + # source://prism//lib/prism/node.rb#16379 sig { returns(Prism::Location) } def end_keyword_loc; end # attr_reader expression: Prism::node # - # source://prism/lib/prism/node.rb#16373 + # source://prism//lib/prism/node.rb#16373 sig { returns(Prism::Node) } def expression; end @@ -32531,56 +32531,56 @@ class Prism::SingletonClassNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16407 + # source://prism//lib/prism/node.rb#16407 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism/lib/prism/node.rb#16344 + # source://prism//lib/prism/node.rb#16344 sig { returns(T::Array[Symbol]) } def locals; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#16397 + # source://prism//lib/prism/node.rb#16397 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#16360 + # source://prism//lib/prism/node.rb#16360 sig { returns(Prism::Location) } def operator_loc; end # Save the class_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16355 + # source://prism//lib/prism/node.rb#16355 def save_class_keyword_loc(repository); end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16387 + # source://prism//lib/prism/node.rb#16387 def save_end_keyword_loc(repository); end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16368 + # source://prism//lib/prism/node.rb#16368 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16412 + # source://prism//lib/prism/node.rb#16412 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16417 + # source://prism//lib/prism/node.rb#16417 def type; end end end @@ -32589,32 +32589,32 @@ end # conjunction with locations to allow them to resolve line numbers and source # ranges. # -# source://prism/lib/prism/parse_result.rb#7 +# source://prism//lib/prism/parse_result.rb#7 class Prism::Source # Create a new source object with the given source code. # # @return [Source] a new instance of Source # - # source://prism/lib/prism/parse_result.rb#45 + # source://prism//lib/prism/parse_result.rb#45 sig { params(source: String, start_line: Integer, offsets: T::Array[Integer]).void } def initialize(source, start_line = T.unsafe(nil), offsets = T.unsafe(nil)); end # Return the column number in characters for the given byte offset. # - # source://prism/lib/prism/parse_result.rb#97 + # source://prism//lib/prism/parse_result.rb#97 sig { params(byte_offset: Integer).returns(Integer) } def character_column(byte_offset); end # Return the character offset for the given byte offset. # - # source://prism/lib/prism/parse_result.rb#92 + # source://prism//lib/prism/parse_result.rb#92 sig { params(byte_offset: Integer).returns(Integer) } def character_offset(byte_offset); end # Generate a cache that targets a specific encoding for calculating code # unit offsets. # - # source://prism/lib/prism/parse_result.rb#125 + # source://prism//lib/prism/parse_result.rb#125 sig do params( encoding: Encoding @@ -32625,7 +32625,7 @@ class Prism::Source # Returns the column number in code units for the given encoding for the # given byte offset. # - # source://prism/lib/prism/parse_result.rb#131 + # source://prism//lib/prism/parse_result.rb#131 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_column(byte_offset, encoding); end @@ -32642,71 +32642,71 @@ class Prism::Source # boundary. Second, it's possible that the source code will contain a # character that has no equivalent in the given encoding. # - # source://prism/lib/prism/parse_result.rb#113 + # source://prism//lib/prism/parse_result.rb#113 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_offset(byte_offset, encoding); end # Return the column number for the given byte offset. # - # source://prism/lib/prism/parse_result.rb#87 + # source://prism//lib/prism/parse_result.rb#87 sig { params(byte_offset: Integer).returns(Integer) } def column(byte_offset); end # Returns the encoding of the source code, which is set by parameters to the # parser or by the encoding magic comment. # - # source://prism/lib/prism/parse_result.rb#53 + # source://prism//lib/prism/parse_result.rb#53 sig { returns(Encoding) } def encoding; end # Binary search through the offsets to find the line number for the given # byte offset. # - # source://prism/lib/prism/parse_result.rb#70 + # source://prism//lib/prism/parse_result.rb#70 sig { params(byte_offset: Integer).returns(Integer) } def line(byte_offset); end # Returns the byte offset of the end of the line corresponding to the given # byte offset. # - # source://prism/lib/prism/parse_result.rb#82 + # source://prism//lib/prism/parse_result.rb#82 def line_end(byte_offset); end # Return the byte offset of the start of the line corresponding to the given # byte offset. # - # source://prism/lib/prism/parse_result.rb#76 + # source://prism//lib/prism/parse_result.rb#76 sig { params(byte_offset: Integer).returns(Integer) } def line_start(byte_offset); end # Returns the lines of the source code as an array of strings. # - # source://prism/lib/prism/parse_result.rb#58 + # source://prism//lib/prism/parse_result.rb#58 sig { returns(T::Array[String]) } def lines; end # The list of newline byte offsets in the source code. # - # source://prism/lib/prism/parse_result.rb#42 + # source://prism//lib/prism/parse_result.rb#42 sig { returns(T::Array[Integer]) } def offsets; end # Perform a byteslice on the source code using the given byte offset and # byte length. # - # source://prism/lib/prism/parse_result.rb#64 + # source://prism//lib/prism/parse_result.rb#64 sig { params(byte_offset: Integer, length: Integer).returns(String) } def slice(byte_offset, length); end # The source code that this source object represents. # - # source://prism/lib/prism/parse_result.rb#36 + # source://prism//lib/prism/parse_result.rb#36 sig { returns(String) } def source; end # The line number where this source starts. # - # source://prism/lib/prism/parse_result.rb#39 + # source://prism//lib/prism/parse_result.rb#39 sig { returns(Integer) } def start_line; end @@ -32715,7 +32715,7 @@ class Prism::Source # Binary search through the offsets to find the line number for the given # byte offset. # - # source://prism/lib/prism/parse_result.rb#139 + # source://prism//lib/prism/parse_result.rb#139 def find_line(byte_offset); end class << self @@ -32724,7 +32724,7 @@ class Prism::Source # specialized and more performant `ASCIISource` if no multibyte characters # are present in the source code. # - # source://prism/lib/prism/parse_result.rb#12 + # source://prism//lib/prism/parse_result.rb#12 def for(source, start_line = T.unsafe(nil), offsets = T.unsafe(nil)); end end end @@ -32734,62 +32734,62 @@ end # __ENCODING__ # ^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#16439 +# source://prism//lib/prism/node.rb#16439 class Prism::SourceEncodingNode < ::Prism::Node # Initialize a new SourceEncodingNode node. # # @return [SourceEncodingNode] a new instance of SourceEncodingNode # - # source://prism/lib/prism/node.rb#16441 + # source://prism//lib/prism/node.rb#16441 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16498 + # source://prism//lib/prism/node.rb#16498 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16449 + # source://prism//lib/prism/node.rb#16449 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16454 + # source://prism//lib/prism/node.rb#16454 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16464 + # source://prism//lib/prism/node.rb#16464 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16459 + # source://prism//lib/prism/node.rb#16459 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> SourceEncodingNode # - # source://prism/lib/prism/node.rb#16469 + # source://prism//lib/prism/node.rb#16469 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::SourceEncodingNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16454 + # source://prism//lib/prism/node.rb#16474 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#16477 + # source://prism//lib/prism/node.rb#16477 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32798,20 +32798,20 @@ class Prism::SourceEncodingNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16482 + # source://prism//lib/prism/node.rb#16482 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16487 + # source://prism//lib/prism/node.rb#16487 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16492 + # source://prism//lib/prism/node.rb#16492 def type; end end end @@ -32821,13 +32821,13 @@ end # __FILE__ # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#16507 +# source://prism//lib/prism/node.rb#16507 class Prism::SourceFileNode < ::Prism::Node # Initialize a new SourceFileNode node. # # @return [SourceFileNode] a new instance of SourceFileNode # - # source://prism/lib/prism/node.rb#16509 + # source://prism//lib/prism/node.rb#16509 sig do params( source: Prism::Source, @@ -32842,36 +32842,36 @@ class Prism::SourceFileNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16590 + # source://prism//lib/prism/node.rb#16590 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16518 + # source://prism//lib/prism/node.rb#16518 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16523 + # source://prism//lib/prism/node.rb#16523 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16533 + # source://prism//lib/prism/node.rb#16533 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16528 + # source://prism//lib/prism/node.rb#16528 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?filepath: String) -> SourceFileNode # - # source://prism/lib/prism/node.rb#16538 + # source://prism//lib/prism/node.rb#16538 sig do params( node_id: Integer, @@ -32885,13 +32885,13 @@ class Prism::SourceFileNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16523 + # source://prism//lib/prism/node.rb#16543 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, filepath: String } # - # source://prism/lib/prism/node.rb#16546 + # source://prism//lib/prism/node.rb#16546 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32900,7 +32900,7 @@ class Prism::SourceFileNode < ::Prism::Node # Represents the file path being parsed. This corresponds directly to the `filepath` option given to the various `Prism::parse*` APIs. # - # source://prism/lib/prism/node.rb#16571 + # source://prism//lib/prism/node.rb#16571 sig { returns(String) } def filepath; end @@ -32908,7 +32908,7 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16556 + # source://prism//lib/prism/node.rb#16556 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -32916,7 +32916,7 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16551 + # source://prism//lib/prism/node.rb#16551 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -32924,13 +32924,13 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16561 + # source://prism//lib/prism/node.rb#16561 sig { returns(T::Boolean) } def frozen?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#16574 + # source://prism//lib/prism/node.rb#16574 sig { override.returns(String) } def inspect; end @@ -32938,20 +32938,20 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16566 + # source://prism//lib/prism/node.rb#16566 sig { returns(T::Boolean) } def mutable?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16579 + # source://prism//lib/prism/node.rb#16579 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16584 + # source://prism//lib/prism/node.rb#16584 def type; end end end @@ -32961,62 +32961,62 @@ end # __LINE__ # ^^^^^^^^ # -# source://prism/lib/prism/node.rb#16601 +# source://prism//lib/prism/node.rb#16601 class Prism::SourceLineNode < ::Prism::Node # Initialize a new SourceLineNode node. # # @return [SourceLineNode] a new instance of SourceLineNode # - # source://prism/lib/prism/node.rb#16603 + # source://prism//lib/prism/node.rb#16603 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16660 + # source://prism//lib/prism/node.rb#16660 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16611 + # source://prism//lib/prism/node.rb#16611 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16616 + # source://prism//lib/prism/node.rb#16616 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16626 + # source://prism//lib/prism/node.rb#16626 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16621 + # source://prism//lib/prism/node.rb#16621 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> SourceLineNode # - # source://prism/lib/prism/node.rb#16631 + # source://prism//lib/prism/node.rb#16631 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::SourceLineNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16616 + # source://prism//lib/prism/node.rb#16636 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#16639 + # source://prism//lib/prism/node.rb#16639 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33025,20 +33025,20 @@ class Prism::SourceLineNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16644 + # source://prism//lib/prism/node.rb#16644 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16649 + # source://prism//lib/prism/node.rb#16649 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16654 + # source://prism//lib/prism/node.rb#16654 def type; end end end @@ -33048,13 +33048,13 @@ end # [*a] # ^^ # -# source://prism/lib/prism/node.rb#16669 +# source://prism//lib/prism/node.rb#16669 class Prism::SplatNode < ::Prism::Node # Initialize a new SplatNode node. # # @return [SplatNode] a new instance of SplatNode # - # source://prism/lib/prism/node.rb#16671 + # source://prism//lib/prism/node.rb#16671 sig do params( source: Prism::Source, @@ -33070,36 +33070,36 @@ class Prism::SplatNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16753 + # source://prism//lib/prism/node.rb#16753 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16681 + # source://prism//lib/prism/node.rb#16681 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16686 + # source://prism//lib/prism/node.rb#16686 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16698 + # source://prism//lib/prism/node.rb#16698 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16691 + # source://prism//lib/prism/node.rb#16691 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?operator_loc: Location, ?expression: Prism::node?) -> SplatNode # - # source://prism/lib/prism/node.rb#16703 + # source://prism//lib/prism/node.rb#16703 sig do params( node_id: Integer, @@ -33114,19 +33114,19 @@ class Prism::SplatNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16686 + # source://prism//lib/prism/node.rb#16708 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, operator_loc: Location, expression: Prism::node? } # - # source://prism/lib/prism/node.rb#16711 + # source://prism//lib/prism/node.rb#16711 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # attr_reader expression: Prism::node? # - # source://prism/lib/prism/node.rb#16729 + # source://prism//lib/prism/node.rb#16729 sig { returns(T.nilable(Prism::Node)) } def expression; end @@ -33135,38 +33135,38 @@ class Prism::SplatNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16737 + # source://prism//lib/prism/node.rb#16737 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism/lib/prism/node.rb#16732 + # source://prism//lib/prism/node.rb#16732 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism/lib/prism/node.rb#16716 + # source://prism//lib/prism/node.rb#16716 sig { returns(Prism::Location) } def operator_loc; end # Save the operator_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16724 + # source://prism//lib/prism/node.rb#16724 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16742 + # source://prism//lib/prism/node.rb#16742 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16747 + # source://prism//lib/prism/node.rb#16747 def type; end end end @@ -33176,13 +33176,13 @@ end # foo; bar; baz # ^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#16764 +# source://prism//lib/prism/node.rb#16764 class Prism::StatementsNode < ::Prism::Node # Initialize a new StatementsNode node. # # @return [StatementsNode] a new instance of StatementsNode # - # source://prism/lib/prism/node.rb#16766 + # source://prism//lib/prism/node.rb#16766 sig do params( source: Prism::Source, @@ -33197,42 +33197,42 @@ class Prism::StatementsNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16827 + # source://prism//lib/prism/node.rb#16827 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16775 + # source://prism//lib/prism/node.rb#16775 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: Array[Prism::node] # - # source://prism/lib/prism/node.rb#16808 + # source://prism//lib/prism/node.rb#16808 sig { returns(T::Array[Prism::Node]) } def body; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16780 + # source://prism//lib/prism/node.rb#16780 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16790 + # source://prism//lib/prism/node.rb#16790 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16785 + # source://prism//lib/prism/node.rb#16785 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?body: Array[Prism::node]) -> StatementsNode # - # source://prism/lib/prism/node.rb#16795 + # source://prism//lib/prism/node.rb#16795 sig do params( node_id: Integer, @@ -33246,13 +33246,13 @@ class Prism::StatementsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16780 + # source://prism//lib/prism/node.rb#16800 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, body: Array[Prism::node] } # - # source://prism/lib/prism/node.rb#16803 + # source://prism//lib/prism/node.rb#16803 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33261,43 +33261,43 @@ class Prism::StatementsNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16811 + # source://prism//lib/prism/node.rb#16811 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16816 + # source://prism//lib/prism/node.rb#16816 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16821 + # source://prism//lib/prism/node.rb#16821 def type; end end end # Flags for string nodes. # -# source://prism/lib/prism/node.rb#18571 +# source://prism//lib/prism/node.rb#18571 module Prism::StringFlags; end # internal bytes forced the encoding to binary # -# source://prism/lib/prism/node.rb#18576 +# source://prism//lib/prism/node.rb#18576 Prism::StringFlags::FORCED_BINARY_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to UTF-8 # -# source://prism/lib/prism/node.rb#18573 +# source://prism//lib/prism/node.rb#18573 Prism::StringFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) -# source://prism/lib/prism/node.rb#18579 +# source://prism//lib/prism/node.rb#18579 Prism::StringFlags::FROZEN = T.let(T.unsafe(nil), Integer) -# source://prism/lib/prism/node.rb#18582 +# source://prism//lib/prism/node.rb#18582 Prism::StringFlags::MUTABLE = 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. @@ -33311,7 +33311,7 @@ Prism::StringFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # "foo #{bar} baz" # ^^^^ ^^^^ # -# source://prism/lib/prism/node.rb#16844 +# source://prism//lib/prism/node.rb#16844 class Prism::StringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -33319,7 +33319,7 @@ class Prism::StringNode < ::Prism::Node # # @return [StringNode] a new instance of StringNode # - # source://prism/lib/prism/node.rb#16846 + # source://prism//lib/prism/node.rb#16846 sig do params( source: Prism::Source, @@ -33337,60 +33337,60 @@ class Prism::StringNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#16996 + # source://prism//lib/prism/node.rb#16996 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#16858 + # source://prism//lib/prism/node.rb#16858 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16863 + # source://prism//lib/prism/node.rb#16863 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#16975 + # source://prism//lib/prism/node.rb#16975 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#16943 + # source://prism//lib/prism/node.rb#16943 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#16873 + # source://prism//lib/prism/node.rb#16873 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#16868 + # source://prism//lib/prism/node.rb#16868 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism/lib/prism/node.rb#16970 + # source://prism//lib/prism/node.rb#16970 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism/lib/prism/node.rb#16930 + # source://prism//lib/prism/node.rb#16930 sig { returns(Prism::Location) } def content_loc; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location?, ?content_loc: Location, ?closing_loc: Location?, ?unescaped: String) -> StringNode # - # source://prism/lib/prism/node.rb#16878 + # source://prism//lib/prism/node.rb#16878 sig do params( node_id: Integer, @@ -33407,13 +33407,13 @@ class Prism::StringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#16863 + # source://prism//lib/prism/node.rb#16883 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location?, content_loc: Location, closing_loc: Location?, unescaped: String } # - # source://prism/lib/prism/node.rb#16886 + # source://prism//lib/prism/node.rb#16886 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33424,7 +33424,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16896 + # source://prism//lib/prism/node.rb#16896 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -33432,7 +33432,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16891 + # source://prism//lib/prism/node.rb#16891 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -33440,7 +33440,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16901 + # source://prism//lib/prism/node.rb#16901 sig { returns(T::Boolean) } def frozen?; end @@ -33449,7 +33449,7 @@ class Prism::StringNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#16980 + # source://prism//lib/prism/node.rb#16980 sig { override.returns(String) } def inspect; end @@ -33457,63 +33457,63 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#16906 + # source://prism//lib/prism/node.rb#16906 sig { returns(T::Boolean) } def mutable?; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#16965 + # source://prism//lib/prism/node.rb#16965 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#16911 + # source://prism//lib/prism/node.rb#16911 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16957 + # source://prism//lib/prism/node.rb#16957 def save_closing_loc(repository); end # Save the content_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16938 + # source://prism//lib/prism/node.rb#16938 def save_content_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#16925 + # source://prism//lib/prism/node.rb#16925 def save_opening_loc(repository); end # Occasionally it's helpful to treat a string as if it were interpolated so # that there's a consistent interface for working with strings. # - # source://prism/lib/prism/node_ext.rb#72 + # source://prism//lib/prism/node_ext.rb#72 sig { returns(Prism::InterpolatedStringNode) } def to_interpolated; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#16985 + # source://prism//lib/prism/node.rb#16985 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism/lib/prism/node.rb#16962 + # source://prism//lib/prism/node.rb#16962 sig { returns(String) } def unescaped; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#16990 + # source://prism//lib/prism/node.rb#16990 def type; end end end @@ -33521,39 +33521,39 @@ end # Query methods that allow categorizing strings based on their context for # where they could be valid in a Ruby syntax tree. # -# source://prism/lib/prism/string_query.rb#6 +# source://prism//lib/prism/string_query.rb#6 class Prism::StringQuery # Initialize a new query with the given string. # # @return [StringQuery] a new instance of StringQuery # - # source://prism/lib/prism/string_query.rb#11 + # source://prism//lib/prism/string_query.rb#11 def initialize(string); end # Whether or not this string is a valid constant name. # # @return [Boolean] # - # source://prism/lib/prism/string_query.rb#21 + # source://prism//lib/prism/string_query.rb#21 def constant?; end # Whether or not this string is a valid local variable name. # # @return [Boolean] # - # source://prism/lib/prism/string_query.rb#16 + # source://prism//lib/prism/string_query.rb#16 def local?; end # Whether or not this string is a valid method name. # # @return [Boolean] # - # source://prism/lib/prism/string_query.rb#26 + # source://prism//lib/prism/string_query.rb#26 def method_name?; end # The string that this query is wrapping. # - # source://prism/lib/prism/string_query.rb#8 + # source://prism//lib/prism/string_query.rb#8 def string; end class << self @@ -33582,13 +33582,13 @@ end # super foo, bar # ^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#17013 +# source://prism//lib/prism/node.rb#17013 class Prism::SuperNode < ::Prism::Node # Initialize a new SuperNode node. # # @return [SuperNode] a new instance of SuperNode # - # source://prism/lib/prism/node.rb#17015 + # source://prism//lib/prism/node.rb#17015 sig do params( source: Prism::Source, @@ -33607,48 +33607,48 @@ class Prism::SuperNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17152 + # source://prism//lib/prism/node.rb#17152 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17028 + # source://prism//lib/prism/node.rb#17028 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#17096 + # source://prism//lib/prism/node.rb#17096 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # attr_reader block: BlockNode | BlockArgumentNode | nil # - # source://prism/lib/prism/node.rb#17118 + # source://prism//lib/prism/node.rb#17118 sig { returns(T.nilable(T.any(Prism::BlockNode, Prism::BlockArgumentNode))) } def block; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17033 + # source://prism//lib/prism/node.rb#17033 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17046 + # source://prism//lib/prism/node.rb#17046 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17038 + # source://prism//lib/prism/node.rb#17038 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?lparen_loc: Location?, ?arguments: ArgumentsNode?, ?rparen_loc: Location?, ?block: BlockNode | BlockArgumentNode | nil) -> SuperNode # - # source://prism/lib/prism/node.rb#17051 + # source://prism//lib/prism/node.rb#17051 sig do params( node_id: Integer, @@ -33666,13 +33666,13 @@ class Prism::SuperNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17033 + # source://prism//lib/prism/node.rb#17056 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location?, block: BlockNode | BlockArgumentNode | nil } # - # source://prism/lib/prism/node.rb#17059 + # source://prism//lib/prism/node.rb#17059 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33681,96 +33681,96 @@ class Prism::SuperNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17136 + # source://prism//lib/prism/node.rb#17136 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#17121 + # source://prism//lib/prism/node.rb#17121 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#17064 + # source://prism//lib/prism/node.rb#17064 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#17126 + # source://prism//lib/prism/node.rb#17126 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism/lib/prism/node.rb#17077 + # source://prism//lib/prism/node.rb#17077 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#17131 + # source://prism//lib/prism/node.rb#17131 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism/lib/prism/node.rb#17099 + # source://prism//lib/prism/node.rb#17099 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17072 + # source://prism//lib/prism/node.rb#17072 def save_keyword_loc(repository); end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17091 + # source://prism//lib/prism/node.rb#17091 def save_lparen_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17113 + # source://prism//lib/prism/node.rb#17113 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17141 + # source://prism//lib/prism/node.rb#17141 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17146 + # source://prism//lib/prism/node.rb#17146 def type; end end end # Flags for symbol nodes. # -# source://prism/lib/prism/node.rb#18586 +# source://prism//lib/prism/node.rb#18586 module Prism::SymbolFlags; end # internal bytes forced the encoding to binary # -# source://prism/lib/prism/node.rb#18591 +# source://prism//lib/prism/node.rb#18591 Prism::SymbolFlags::FORCED_BINARY_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to US-ASCII # -# source://prism/lib/prism/node.rb#18594 +# source://prism//lib/prism/node.rb#18594 Prism::SymbolFlags::FORCED_US_ASCII_ENCODING = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to UTF-8 # -# source://prism/lib/prism/node.rb#18588 +# source://prism//lib/prism/node.rb#18588 Prism::SymbolFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # Represents a symbol literal or a symbol contained within a `%i` list. @@ -33781,13 +33781,13 @@ Prism::SymbolFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # %i[foo] # ^^^ # -# source://prism/lib/prism/node.rb#17169 +# source://prism//lib/prism/node.rb#17169 class Prism::SymbolNode < ::Prism::Node # Initialize a new SymbolNode node. # # @return [SymbolNode] a new instance of SymbolNode # - # source://prism/lib/prism/node.rb#17171 + # source://prism//lib/prism/node.rb#17171 sig do params( source: Prism::Source, @@ -33805,48 +33805,48 @@ class Prism::SymbolNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17322 + # source://prism//lib/prism/node.rb#17322 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17183 + # source://prism//lib/prism/node.rb#17183 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17188 + # source://prism//lib/prism/node.rb#17188 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#17301 + # source://prism//lib/prism/node.rb#17301 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#17269 + # source://prism//lib/prism/node.rb#17269 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17198 + # source://prism//lib/prism/node.rb#17198 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17193 + # source://prism//lib/prism/node.rb#17193 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location?, ?value_loc: Location?, ?closing_loc: Location?, ?unescaped: String) -> SymbolNode # - # source://prism/lib/prism/node.rb#17203 + # source://prism//lib/prism/node.rb#17203 sig do params( node_id: Integer, @@ -33863,13 +33863,13 @@ class Prism::SymbolNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17188 + # source://prism//lib/prism/node.rb#17208 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location?, value_loc: Location?, closing_loc: Location?, unescaped: String } # - # source://prism/lib/prism/node.rb#17211 + # source://prism//lib/prism/node.rb#17211 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33880,7 +33880,7 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#17221 + # source://prism//lib/prism/node.rb#17221 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -33888,7 +33888,7 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#17226 + # source://prism//lib/prism/node.rb#17226 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -33896,128 +33896,128 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#17216 + # source://prism//lib/prism/node.rb#17216 sig { returns(T::Boolean) } def forced_utf8_encoding?; end # def inspect -> String # - # source://prism/lib/prism/node.rb#17306 + # source://prism//lib/prism/node.rb#17306 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism/lib/prism/node.rb#17291 + # source://prism//lib/prism/node.rb#17291 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism/lib/prism/node.rb#17231 + # source://prism//lib/prism/node.rb#17231 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17283 + # source://prism//lib/prism/node.rb#17283 def save_closing_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17245 + # source://prism//lib/prism/node.rb#17245 def save_opening_loc(repository); end # Save the value_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17264 + # source://prism//lib/prism/node.rb#17264 def save_value_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17311 + # source://prism//lib/prism/node.rb#17311 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism/lib/prism/node.rb#17288 + # source://prism//lib/prism/node.rb#17288 sig { returns(String) } def unescaped; end # def value: () -> String? # - # source://prism/lib/prism/node.rb#17296 + # source://prism//lib/prism/node.rb#17296 sig { returns(T.nilable(String)) } def value; end # attr_reader value_loc: Location? # - # source://prism/lib/prism/node.rb#17250 + # source://prism//lib/prism/node.rb#17250 sig { returns(T.nilable(Prism::Location)) } def value_loc; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17316 + # source://prism//lib/prism/node.rb#17316 def type; end end end # This represents a token from the Ruby source. # -# source://prism/lib/prism/parse_result.rb#799 +# source://prism//lib/prism/parse_result.rb#799 class Prism::Token # Create a new token object with the given type, value, and location. # # @return [Token] a new instance of Token # - # source://prism/lib/prism/parse_result.rb#811 + # source://prism//lib/prism/parse_result.rb#811 sig { params(source: Prism::Source, type: Symbol, value: String, location: T.any(Integer, Prism::Location)).void } def initialize(source, type, value, location); end # Returns true if the given other token is equal to this token. # - # source://prism/lib/prism/parse_result.rb#846 + # source://prism//lib/prism/parse_result.rb#846 sig { params(other: T.untyped).returns(T::Boolean) } def ==(other); end # Implement the hash pattern matching interface for Token. # - # source://prism/lib/prism/parse_result.rb#819 + # source://prism//lib/prism/parse_result.rb#819 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Returns a string representation of this token. # - # source://prism/lib/prism/parse_result.rb#853 + # source://prism//lib/prism/parse_result.rb#853 def inspect; end # A Location object representing the location of this token in the source. # - # source://prism/lib/prism/parse_result.rb#824 + # source://prism//lib/prism/parse_result.rb#824 sig { returns(Prism::Location) } def location; end # Implement the pretty print interface for Token. # - # source://prism/lib/prism/parse_result.rb#831 + # source://prism//lib/prism/parse_result.rb#831 sig { params(q: T.untyped).void } def pretty_print(q); end # The type of token that this token is. # - # source://prism/lib/prism/parse_result.rb#805 + # source://prism//lib/prism/parse_result.rb#805 sig { returns(Symbol) } def type; end # A byteslice of the source that this token represents. # - # source://prism/lib/prism/parse_result.rb#808 + # source://prism//lib/prism/parse_result.rb#808 sig { returns(String) } def value; end @@ -34025,7 +34025,7 @@ class Prism::Token # The Source object that represents the source this token came from. # - # source://prism/lib/prism/parse_result.rb#801 + # source://prism//lib/prism/parse_result.rb#801 sig { returns(Prism::Source) } def source; end end @@ -34033,7 +34033,7 @@ end # This module is responsible for converting the prism syntax tree into other # syntax trees. # -# source://prism/lib/prism/translation.rb#6 +# source://prism//lib/prism/translation.rb#6 module Prism::Translation; end # This class is the entry-point for converting a prism syntax tree into the @@ -34041,52 +34041,52 @@ module Prism::Translation; end # the parser gem, and overrides the parse* methods to parse with prism and # then translate. # -# source://prism/lib/prism/translation/parser.rb#16 +# source://prism//lib/prism/translation/parser.rb#16 class Prism::Translation::Parser < ::Parser::Base # The default encoding for Ruby files is UTF-8. # - # source://prism/lib/prism/translation/parser.rb#41 + # source://prism//lib/prism/translation/parser.rb#41 def default_encoding; end # Parses a source buffer and returns the AST. # - # source://prism/lib/prism/translation/parser.rb#49 + # source://prism//lib/prism/translation/parser.rb#49 def parse(source_buffer); end # Parses a source buffer and returns the AST and the source code comments. # - # source://prism/lib/prism/translation/parser.rb#62 + # source://prism//lib/prism/translation/parser.rb#62 def parse_with_comments(source_buffer); end # Parses a source buffer and returns the AST, the source code comments, # and the tokens emitted by the lexer. # - # source://prism/lib/prism/translation/parser.rb#79 + # source://prism//lib/prism/translation/parser.rb#79 def tokenize(source_buffer, recover = T.unsafe(nil)); end # Since prism resolves num params for us, we don't need to support this # kind of logic here. # - # source://prism/lib/prism/translation/parser.rb#105 + # source://prism//lib/prism/translation/parser.rb#105 def try_declare_numparam(node); end - # source://prism/lib/prism/translation/parser.rb#36 + # source://prism//lib/prism/translation/parser.rb#36 sig { overridable.returns(Integer) } def version; end - # source://prism/lib/prism/translation/parser.rb#45 + # source://prism//lib/prism/translation/parser.rb#45 def yyerror; end private # Build the parser gem AST from the prism AST. # - # source://prism/lib/prism/translation/parser.rb#263 + # source://prism//lib/prism/translation/parser.rb#263 def build_ast(program, offset_cache); end # Build the parser gem comments from the prism comments. # - # source://prism/lib/prism/translation/parser.rb#268 + # source://prism//lib/prism/translation/parser.rb#268 def build_comments(comments, offset_cache); end # Prism deals with offsets in bytes, while the parser gem deals with @@ -34097,33 +34097,33 @@ class Prism::Translation::Parser < ::Parser::Base # just use the offset directly. Otherwise, we build an array where the # index is the byte offset and the value is the character offset. # - # source://prism/lib/prism/translation/parser.rb#246 + # source://prism//lib/prism/translation/parser.rb#246 def build_offset_cache(source); end # Build a range from a prism location. # - # source://prism/lib/prism/translation/parser.rb#280 + # source://prism//lib/prism/translation/parser.rb#280 def build_range(location, offset_cache); end # Build the parser gem tokens from the prism tokens. # - # source://prism/lib/prism/translation/parser.rb#275 + # source://prism//lib/prism/translation/parser.rb#275 def build_tokens(tokens, offset_cache); end # Converts the version format handled by Parser to the format handled by Prism. # - # source://prism/lib/prism/translation/parser.rb#289 + # source://prism//lib/prism/translation/parser.rb#289 def convert_for_prism(version); end # Build a diagnostic from the given prism parse error. # - # source://prism/lib/prism/translation/parser.rb#124 + # source://prism//lib/prism/translation/parser.rb#124 def error_diagnostic(error, offset_cache); end # If there was a error generated during the parse, then raise an # appropriate syntax error. Otherwise return the result. # - # source://prism/lib/prism/translation/parser.rb#224 + # source://prism//lib/prism/translation/parser.rb#224 def unwrap(result, offset_cache); end # This is a hook to allow consumers to disable some errors if they don't @@ -34131,7 +34131,7 @@ class Prism::Translation::Parser < ::Parser::Base # # @return [Boolean] # - # source://prism/lib/prism/translation/parser.rb#113 + # source://prism//lib/prism/translation/parser.rb#113 def valid_error?(error); end # This is a hook to allow consumers to disable some warnings if they don't @@ -34139,29 +34139,29 @@ class Prism::Translation::Parser < ::Parser::Base # # @return [Boolean] # - # source://prism/lib/prism/translation/parser.rb#119 + # source://prism//lib/prism/translation/parser.rb#119 def valid_warning?(warning); end # Build a diagnostic from the given prism parse warning. # - # source://prism/lib/prism/translation/parser.rb#197 + # source://prism//lib/prism/translation/parser.rb#197 def warning_diagnostic(warning, offset_cache); end end # This class is the entry-point for Ruby 3.3 of `Prism::Translation::Parser`. # -# source://prism/lib/prism/translation/parser33.rb#6 +# source://prism//lib/prism/translation/parser33.rb#6 class Prism::Translation::Parser33 < ::Prism::Translation::Parser - # source://prism/lib/prism/translation/parser33.rb#7 + # source://prism//lib/prism/translation/parser33.rb#7 sig { override.returns(Integer) } def version; end end # This class is the entry-point for Ruby 3.4 of `Prism::Translation::Parser`. # -# source://prism/lib/prism/translation/parser34.rb#6 +# source://prism//lib/prism/translation/parser34.rb#6 class Prism::Translation::Parser34 < ::Prism::Translation::Parser - # source://prism/lib/prism/translation/parser34.rb#7 + # source://prism//lib/prism/translation/parser34.rb#7 sig { override.returns(Integer) } def version; end end @@ -34169,100 +34169,100 @@ end # A visitor that knows how to convert a prism syntax tree into the # whitequark/parser gem's syntax tree. # -# source://prism/lib/prism/translation/parser/compiler.rb#8 +# source://prism//lib/prism/translation/parser/compiler.rb#8 class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Initialize a new compiler with the given parser, offset cache, and # options. # # @return [Compiler] a new instance of Compiler # - # source://prism/lib/prism/translation/parser/compiler.rb#39 + # source://prism//lib/prism/translation/parser/compiler.rb#39 def initialize(parser, offset_cache, forwarding: T.unsafe(nil), in_destructure: T.unsafe(nil), in_pattern: T.unsafe(nil)); end # The Parser::Builders::Default instance that is being used to build the # AST. # - # source://prism/lib/prism/translation/parser/compiler.rb#18 + # source://prism//lib/prism/translation/parser/compiler.rb#18 def builder; end # The types of values that can be forwarded in the current scope. # - # source://prism/lib/prism/translation/parser/compiler.rb#29 + # source://prism//lib/prism/translation/parser/compiler.rb#29 def forwarding; end # Whether or not the current node is in a destructure. # - # source://prism/lib/prism/translation/parser/compiler.rb#32 + # source://prism//lib/prism/translation/parser/compiler.rb#32 def in_destructure; end # Whether or not the current node is in a pattern. # - # source://prism/lib/prism/translation/parser/compiler.rb#35 + # source://prism//lib/prism/translation/parser/compiler.rb#35 def in_pattern; end # The offset cache that is used to map between byte and character # offsets in the file. # - # source://prism/lib/prism/translation/parser/compiler.rb#26 + # source://prism//lib/prism/translation/parser/compiler.rb#26 def offset_cache; end # The Parser::Base instance that is being used to build the AST. # - # source://prism/lib/prism/translation/parser/compiler.rb#14 + # source://prism//lib/prism/translation/parser/compiler.rb#14 def parser; end # The Parser::Source::Buffer instance that is holding a reference to the # source code. # - # source://prism/lib/prism/translation/parser/compiler.rb#22 + # source://prism//lib/prism/translation/parser/compiler.rb#22 def source_buffer; end # alias $foo $bar # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#58 + # source://prism//lib/prism/translation/parser/compiler.rb#58 def visit_alias_global_variable_node(node); end # alias foo bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#52 + # source://prism//lib/prism/translation/parser/compiler.rb#52 def visit_alias_method_node(node); end # foo => bar | baz # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#64 + # source://prism//lib/prism/translation/parser/compiler.rb#64 def visit_alternation_pattern_node(node); end # a and b # ^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#70 + # source://prism//lib/prism/translation/parser/compiler.rb#70 def visit_and_node(node); end # foo(bar) # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#105 + # source://prism//lib/prism/translation/parser/compiler.rb#105 def visit_arguments_node(node); end # [] # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#76 + # source://prism//lib/prism/translation/parser/compiler.rb#76 def visit_array_node(node); end # foo => [bar] # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#82 + # source://prism//lib/prism/translation/parser/compiler.rb#82 def visit_array_pattern_node(node); end # { a: 1 } # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#111 + # source://prism//lib/prism/translation/parser/compiler.rb#111 def visit_assoc_node(node); end # def foo(**); bar(**); end @@ -34271,49 +34271,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # { **foo } # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#160 + # source://prism//lib/prism/translation/parser/compiler.rb#160 def visit_assoc_splat_node(node); end # $+ # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#172 + # source://prism//lib/prism/translation/parser/compiler.rb#172 def visit_back_reference_read_node(node); end # begin end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#178 + # source://prism//lib/prism/translation/parser/compiler.rb#178 def visit_begin_node(node); end # foo(&bar) # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#216 + # source://prism//lib/prism/translation/parser/compiler.rb#216 def visit_block_argument_node(node); end # foo { |; bar| } # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#222 + # source://prism//lib/prism/translation/parser/compiler.rb#222 def visit_block_local_variable_node(node); end # A block on a keyword or method call. # # @raise [CompilationError] # - # source://prism/lib/prism/translation/parser/compiler.rb#227 + # source://prism//lib/prism/translation/parser/compiler.rb#227 def visit_block_node(node); end # def foo(&bar); end # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#233 + # source://prism//lib/prism/translation/parser/compiler.rb#233 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism/lib/prism/translation/parser/compiler.rb#238 + # source://prism//lib/prism/translation/parser/compiler.rb#238 def visit_block_parameters_node(node); end # break @@ -34322,13 +34322,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # break foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#247 + # source://prism//lib/prism/translation/parser/compiler.rb#247 def visit_break_node(node); end # foo.bar &&= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#352 + # source://prism//lib/prism/translation/parser/compiler.rb#352 def visit_call_and_write_node(node); end # foo @@ -34340,133 +34340,133 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # foo.bar() {} # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#259 + # source://prism//lib/prism/translation/parser/compiler.rb#259 def visit_call_node(node); end # foo.bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#333 + # source://prism//lib/prism/translation/parser/compiler.rb#333 def visit_call_operator_write_node(node); end # foo.bar ||= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#371 + # source://prism//lib/prism/translation/parser/compiler.rb#371 def visit_call_or_write_node(node); end # foo.bar, = 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#390 + # source://prism//lib/prism/translation/parser/compiler.rb#390 def visit_call_target_node(node); end # foo => bar => baz # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#402 + # source://prism//lib/prism/translation/parser/compiler.rb#402 def visit_capture_pattern_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#421 + # source://prism//lib/prism/translation/parser/compiler.rb#421 def visit_case_match_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#408 + # source://prism//lib/prism/translation/parser/compiler.rb#408 def visit_case_node(node); end # class Foo; end # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#434 + # source://prism//lib/prism/translation/parser/compiler.rb#434 def visit_class_node(node); end # @@foo &&= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#473 + # source://prism//lib/prism/translation/parser/compiler.rb#473 def visit_class_variable_and_write_node(node); end # @@foo += bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#463 + # source://prism//lib/prism/translation/parser/compiler.rb#463 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#483 + # source://prism//lib/prism/translation/parser/compiler.rb#483 def visit_class_variable_or_write_node(node); end # @@foo # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#447 + # source://prism//lib/prism/translation/parser/compiler.rb#447 def visit_class_variable_read_node(node); end # @@foo, = bar # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#493 + # source://prism//lib/prism/translation/parser/compiler.rb#493 def visit_class_variable_target_node(node); end # @@foo = 1 # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#453 + # source://prism//lib/prism/translation/parser/compiler.rb#453 def visit_class_variable_write_node(node); end # Foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#524 + # source://prism//lib/prism/translation/parser/compiler.rb#524 def visit_constant_and_write_node(node); end # Foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#514 + # source://prism//lib/prism/translation/parser/compiler.rb#514 def visit_constant_operator_write_node(node); end # Foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#534 + # source://prism//lib/prism/translation/parser/compiler.rb#534 def visit_constant_or_write_node(node); end # Foo::Bar &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#590 + # source://prism//lib/prism/translation/parser/compiler.rb#590 def visit_constant_path_and_write_node(node); end # Foo::Bar # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#550 + # source://prism//lib/prism/translation/parser/compiler.rb#550 def visit_constant_path_node(node); end # Foo::Bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#580 + # source://prism//lib/prism/translation/parser/compiler.rb#580 def visit_constant_path_operator_write_node(node); end # Foo::Bar ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#600 + # source://prism//lib/prism/translation/parser/compiler.rb#600 def visit_constant_path_or_write_node(node); end # Foo::Bar, = baz # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#610 + # source://prism//lib/prism/translation/parser/compiler.rb#610 def visit_constant_path_target_node(node); end # Foo::Bar = 1 @@ -34475,19 +34475,19 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Foo::Foo, Bar::Bar = 1 # ^^^^^^^^ ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#570 + # source://prism//lib/prism/translation/parser/compiler.rb#570 def visit_constant_path_write_node(node); end # Foo # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#499 + # source://prism//lib/prism/translation/parser/compiler.rb#499 def visit_constant_read_node(node); end # Foo, = bar # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#544 + # source://prism//lib/prism/translation/parser/compiler.rb#544 def visit_constant_target_node(node); end # Foo = 1 @@ -34496,7 +34496,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Foo, Bar = 1 # ^^^ ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#508 + # source://prism//lib/prism/translation/parser/compiler.rb#508 def visit_constant_write_node(node); end # def foo; end @@ -34505,7 +34505,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def self.foo; end # ^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#619 + # source://prism//lib/prism/translation/parser/compiler.rb#619 def visit_def_node(node); end # defined? a @@ -34514,25 +34514,25 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # defined?(a) # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#666 + # source://prism//lib/prism/translation/parser/compiler.rb#666 def visit_defined_node(node); end # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#678 + # source://prism//lib/prism/translation/parser/compiler.rb#678 def visit_else_node(node); end # "foo #{bar}" # ^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#684 + # source://prism//lib/prism/translation/parser/compiler.rb#684 def visit_embedded_statements_node(node); end # "foo #@bar" # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#694 + # source://prism//lib/prism/translation/parser/compiler.rb#694 def visit_embedded_variable_node(node); end # begin; foo; ensure; bar; end @@ -34540,19 +34540,19 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism/lib/prism/translation/parser/compiler.rb#700 + # source://prism//lib/prism/translation/parser/compiler.rb#700 def visit_ensure_node(node); end # false # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#706 + # source://prism//lib/prism/translation/parser/compiler.rb#706 def visit_false_node(node); end # foo => [*, bar, *] # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#712 + # source://prism//lib/prism/translation/parser/compiler.rb#712 def visit_find_pattern_node(node); end # 0..5 @@ -34560,31 +34560,31 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1479 + # source://prism//lib/prism/translation/parser/compiler.rb#1497 def visit_flip_flop_node(node); end # 1.0 # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#724 + # source://prism//lib/prism/translation/parser/compiler.rb#724 def visit_float_node(node); end # for foo in bar do end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#730 + # source://prism//lib/prism/translation/parser/compiler.rb#730 def visit_for_node(node); end # def foo(...); bar(...); end # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#748 + # source://prism//lib/prism/translation/parser/compiler.rb#748 def visit_forwarding_arguments_node(node); end # def foo(...); end # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#754 + # source://prism//lib/prism/translation/parser/compiler.rb#754 def visit_forwarding_parameter_node(node); end # super @@ -34593,55 +34593,55 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # super {} # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#763 + # source://prism//lib/prism/translation/parser/compiler.rb#763 def visit_forwarding_super_node(node); end # $foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#801 + # source://prism//lib/prism/translation/parser/compiler.rb#801 def visit_global_variable_and_write_node(node); end # $foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#791 + # source://prism//lib/prism/translation/parser/compiler.rb#791 def visit_global_variable_operator_write_node(node); end # $foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#811 + # source://prism//lib/prism/translation/parser/compiler.rb#811 def visit_global_variable_or_write_node(node); end # $foo # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#775 + # source://prism//lib/prism/translation/parser/compiler.rb#775 def visit_global_variable_read_node(node); end # $foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#821 + # source://prism//lib/prism/translation/parser/compiler.rb#821 def visit_global_variable_target_node(node); end # $foo = 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#781 + # source://prism//lib/prism/translation/parser/compiler.rb#781 def visit_global_variable_write_node(node); end # {} # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#827 + # source://prism//lib/prism/translation/parser/compiler.rb#827 def visit_hash_node(node); end # foo => {} # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#837 + # source://prism//lib/prism/translation/parser/compiler.rb#837 def visit_hash_pattern_node(node); end # if foo then bar end @@ -34653,13 +34653,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # foo ? bar : baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#855 + # source://prism//lib/prism/translation/parser/compiler.rb#855 def visit_if_node(node); end # 1i # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#897 + # source://prism//lib/prism/translation/parser/compiler.rb#897 def visit_imaginary_node(node); end # { foo: } @@ -34667,7 +34667,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism/lib/prism/translation/parser/compiler.rb#903 + # source://prism//lib/prism/translation/parser/compiler.rb#903 def visit_implicit_node(node); end # foo { |bar,| } @@ -34675,74 +34675,74 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism/lib/prism/translation/parser/compiler.rb#909 + # source://prism//lib/prism/translation/parser/compiler.rb#909 def visit_implicit_rest_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#915 + # source://prism//lib/prism/translation/parser/compiler.rb#915 def visit_in_node(node); end # foo[bar] &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#963 + # source://prism//lib/prism/translation/parser/compiler.rb#963 def visit_index_and_write_node(node); end # foo[bar] += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#945 + # source://prism//lib/prism/translation/parser/compiler.rb#945 def visit_index_operator_write_node(node); end # foo[bar] ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#981 + # source://prism//lib/prism/translation/parser/compiler.rb#981 def visit_index_or_write_node(node); end # foo[bar], = 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#999 + # source://prism//lib/prism/translation/parser/compiler.rb#999 def visit_index_target_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1036 + # source://prism//lib/prism/translation/parser/compiler.rb#1036 def visit_instance_variable_and_write_node(node); end # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1026 + # source://prism//lib/prism/translation/parser/compiler.rb#1026 def visit_instance_variable_operator_write_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1046 + # source://prism//lib/prism/translation/parser/compiler.rb#1046 def visit_instance_variable_or_write_node(node); end # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1010 + # source://prism//lib/prism/translation/parser/compiler.rb#1010 def visit_instance_variable_read_node(node); end # @foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1056 + # source://prism//lib/prism/translation/parser/compiler.rb#1056 def visit_instance_variable_target_node(node); end # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1016 + # source://prism//lib/prism/translation/parser/compiler.rb#1016 def visit_instance_variable_write_node(node); end # 1 # ^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1062 + # source://prism//lib/prism/translation/parser/compiler.rb#1062 def visit_integer_node(node); end # /foo #{bar}/ @@ -34750,49 +34750,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1068 + # source://prism//lib/prism/translation/parser/compiler.rb#1079 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1068 + # source://prism//lib/prism/translation/parser/compiler.rb#1068 def visit_interpolated_regular_expression_node(node); end # "foo #{bar}" # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1083 + # source://prism//lib/prism/translation/parser/compiler.rb#1083 def visit_interpolated_string_node(node); end # :"foo #{bar}" # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1117 + # source://prism//lib/prism/translation/parser/compiler.rb#1117 def visit_interpolated_symbol_node(node); end # `foo #{bar}` # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1127 + # source://prism//lib/prism/translation/parser/compiler.rb#1127 def visit_interpolated_x_string_node(node); end # -> { it } # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1141 + # source://prism//lib/prism/translation/parser/compiler.rb#1141 def visit_it_local_variable_read_node(node); end # -> { it } # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1147 + # source://prism//lib/prism/translation/parser/compiler.rb#1147 def visit_it_parameters_node(node); end # foo(bar: baz) # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1153 + # source://prism//lib/prism/translation/parser/compiler.rb#1153 def visit_keyword_hash_node(node); end # def foo(**bar); end @@ -34801,49 +34801,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(**); end # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1162 + # source://prism//lib/prism/translation/parser/compiler.rb#1162 def visit_keyword_rest_parameter_node(node); end # -> {} # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1171 + # source://prism//lib/prism/translation/parser/compiler.rb#1171 def visit_lambda_node(node); end # foo &&= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1223 + # source://prism//lib/prism/translation/parser/compiler.rb#1223 def visit_local_variable_and_write_node(node); end # foo += bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1213 + # source://prism//lib/prism/translation/parser/compiler.rb#1213 def visit_local_variable_operator_write_node(node); end # foo ||= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1233 + # source://prism//lib/prism/translation/parser/compiler.rb#1233 def visit_local_variable_or_write_node(node); end # foo # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1197 + # source://prism//lib/prism/translation/parser/compiler.rb#1197 def visit_local_variable_read_node(node); end # foo, = bar # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1243 + # source://prism//lib/prism/translation/parser/compiler.rb#1243 def visit_local_variable_target_node(node); end # foo = 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1203 + # source://prism//lib/prism/translation/parser/compiler.rb#1203 def visit_local_variable_write_node(node); end # /foo/ @@ -34851,50 +34851,50 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo/ then end # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1513 + # source://prism//lib/prism/translation/parser/compiler.rb#1535 def visit_match_last_line_node(node); end # foo in bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1253 + # source://prism//lib/prism/translation/parser/compiler.rb#1253 def visit_match_predicate_node(node); end # foo => bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1263 + # source://prism//lib/prism/translation/parser/compiler.rb#1263 def visit_match_required_node(node); end # /(?foo)/ =~ bar # ^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1273 + # source://prism//lib/prism/translation/parser/compiler.rb#1273 def visit_match_write_node(node); end # A node that is missing from the syntax tree. This is only used in the # case of a syntax error. The parser gem doesn't have such a concept, so # we invent our own here. # - # source://prism/lib/prism/translation/parser/compiler.rb#1284 + # source://prism//lib/prism/translation/parser/compiler.rb#1284 def visit_missing_node(node); end # module Foo; end # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1290 + # source://prism//lib/prism/translation/parser/compiler.rb#1290 def visit_module_node(node); end # foo, bar = baz # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1301 + # source://prism//lib/prism/translation/parser/compiler.rb#1301 def visit_multi_target_node(node); end # foo, bar = baz # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1311 + # source://prism//lib/prism/translation/parser/compiler.rb#1311 def visit_multi_write_node(node); end # next @@ -34903,55 +34903,55 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # next foo # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1334 + # source://prism//lib/prism/translation/parser/compiler.rb#1334 def visit_next_node(node); end # nil # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1346 + # source://prism//lib/prism/translation/parser/compiler.rb#1346 def visit_nil_node(node); end # def foo(**nil); end # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1352 + # source://prism//lib/prism/translation/parser/compiler.rb#1352 def visit_no_keywords_parameter_node(node); end # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1362 + # source://prism//lib/prism/translation/parser/compiler.rb#1362 def visit_numbered_parameters_node(node); end # $1 # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1368 + # source://prism//lib/prism/translation/parser/compiler.rb#1368 def visit_numbered_reference_read_node(node); end # def foo(bar: baz); end # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1374 + # source://prism//lib/prism/translation/parser/compiler.rb#1374 def visit_optional_keyword_parameter_node(node); end # def foo(bar = 1); end # ^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1380 + # source://prism//lib/prism/translation/parser/compiler.rb#1380 def visit_optional_parameter_node(node); end # a or b # ^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1386 + # source://prism//lib/prism/translation/parser/compiler.rb#1386 def visit_or_node(node); end # def foo(bar, *baz); end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1392 + # source://prism//lib/prism/translation/parser/compiler.rb#1392 def visit_parameters_node(node); end # () @@ -34960,76 +34960,76 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # (1) # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1431 + # source://prism//lib/prism/translation/parser/compiler.rb#1431 def visit_parentheses_node(node); end # foo => ^(bar) # ^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1441 + # source://prism//lib/prism/translation/parser/compiler.rb#1441 def visit_pinned_expression_node(node); end # foo = 1 and bar => ^foo # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1448 + # source://prism//lib/prism/translation/parser/compiler.rb#1448 def visit_pinned_variable_node(node); end # END {} # - # source://prism/lib/prism/translation/parser/compiler.rb#1453 + # source://prism//lib/prism/translation/parser/compiler.rb#1453 def visit_post_execution_node(node); end # BEGIN {} # - # source://prism/lib/prism/translation/parser/compiler.rb#1463 + # source://prism//lib/prism/translation/parser/compiler.rb#1463 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism/lib/prism/translation/parser/compiler.rb#1473 + # source://prism//lib/prism/translation/parser/compiler.rb#1473 def visit_program_node(node); end # 0..5 # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1479 + # source://prism//lib/prism/translation/parser/compiler.rb#1479 def visit_range_node(node); end # 1r # ^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1501 + # source://prism//lib/prism/translation/parser/compiler.rb#1501 def visit_rational_node(node); end # redo # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1507 + # source://prism//lib/prism/translation/parser/compiler.rb#1507 def visit_redo_node(node); end # /foo/ # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1513 + # source://prism//lib/prism/translation/parser/compiler.rb#1513 def visit_regular_expression_node(node); end # def foo(bar:); end # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1539 + # source://prism//lib/prism/translation/parser/compiler.rb#1539 def visit_required_keyword_parameter_node(node); end # def foo(bar); end # ^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1545 + # source://prism//lib/prism/translation/parser/compiler.rb#1545 def visit_required_parameter_node(node); end # foo rescue bar # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1551 + # source://prism//lib/prism/translation/parser/compiler.rb#1551 def visit_rescue_modifier_node(node); end # begin; rescue; end @@ -35037,7 +35037,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism/lib/prism/translation/parser/compiler.rb#1569 + # source://prism//lib/prism/translation/parser/compiler.rb#1569 def visit_rescue_node(node); end # def foo(*bar); end @@ -35046,13 +35046,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(*); end # ^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1578 + # source://prism//lib/prism/translation/parser/compiler.rb#1578 def visit_rest_parameter_node(node); end # retry # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1584 + # source://prism//lib/prism/translation/parser/compiler.rb#1584 def visit_retry_node(node); end # return @@ -35061,42 +35061,42 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # return 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1593 + # source://prism//lib/prism/translation/parser/compiler.rb#1593 def visit_return_node(node); end # self # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1605 + # source://prism//lib/prism/translation/parser/compiler.rb#1605 def visit_self_node(node); end # A shareable constant. # - # source://prism/lib/prism/translation/parser/compiler.rb#1610 + # source://prism//lib/prism/translation/parser/compiler.rb#1610 def visit_shareable_constant_node(node); end # class << self; end # ^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1616 + # source://prism//lib/prism/translation/parser/compiler.rb#1616 def visit_singleton_class_node(node); end # __ENCODING__ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1628 + # source://prism//lib/prism/translation/parser/compiler.rb#1628 def visit_source_encoding_node(node); end # __FILE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1634 + # source://prism//lib/prism/translation/parser/compiler.rb#1634 def visit_source_file_node(node); end # __LINE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1640 + # source://prism//lib/prism/translation/parser/compiler.rb#1640 def visit_source_line_node(node); end # foo(*bar) @@ -35108,42 +35108,42 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(*); bar(*); end # ^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1652 + # source://prism//lib/prism/translation/parser/compiler.rb#1652 def visit_splat_node(node); end # A list of statements. # - # source://prism/lib/prism/translation/parser/compiler.rb#1665 + # source://prism//lib/prism/translation/parser/compiler.rb#1665 def visit_statements_node(node); end # "foo" # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1671 + # source://prism//lib/prism/translation/parser/compiler.rb#1671 def visit_string_node(node); end # super(foo) # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1713 + # source://prism//lib/prism/translation/parser/compiler.rb#1713 def visit_super_node(node); end # :foo # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1736 + # source://prism//lib/prism/translation/parser/compiler.rb#1736 def visit_symbol_node(node); end # true # ^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1768 + # source://prism//lib/prism/translation/parser/compiler.rb#1768 def visit_true_node(node); end # undef foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1774 + # source://prism//lib/prism/translation/parser/compiler.rb#1774 def visit_undef_node(node); end # unless foo; bar end @@ -35152,7 +35152,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar unless foo # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1783 + # source://prism//lib/prism/translation/parser/compiler.rb#1783 def visit_unless_node(node); end # until foo; bar end @@ -35161,13 +35161,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar until foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1813 + # source://prism//lib/prism/translation/parser/compiler.rb#1813 def visit_until_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1839 + # source://prism//lib/prism/translation/parser/compiler.rb#1839 def visit_when_node(node); end # while foo; bar end @@ -35176,13 +35176,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar while foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1857 + # source://prism//lib/prism/translation/parser/compiler.rb#1857 def visit_while_node(node); end # `foo` # ^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1883 + # source://prism//lib/prism/translation/parser/compiler.rb#1883 def visit_x_string_node(node); end # yield @@ -35191,7 +35191,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # yield 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/parser/compiler.rb#1914 + # source://prism//lib/prism/translation/parser/compiler.rb#1914 def visit_yield_node(node); end private @@ -35199,25 +35199,25 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # The parser gem automatically converts \r\n to \n, meaning our offsets # need to be adjusted to always subtract 1 from the length. # - # source://prism/lib/prism/translation/parser/compiler.rb#2055 + # source://prism//lib/prism/translation/parser/compiler.rb#2055 def chomped_bytesize(line); end # Initialize a new compiler with the given option overrides, used to # visit a subtree with the given options. # - # source://prism/lib/prism/translation/parser/compiler.rb#1928 + # source://prism//lib/prism/translation/parser/compiler.rb#1928 def copy_compiler(forwarding: T.unsafe(nil), in_destructure: T.unsafe(nil), in_pattern: T.unsafe(nil)); end # When *, **, &, or ... are used as an argument in a method call, we # check if they were allowed by the current context. To determine that # we build this lookup table. # - # source://prism/lib/prism/translation/parser/compiler.rb#1935 + # source://prism//lib/prism/translation/parser/compiler.rb#1935 def find_forwarding(node); end # Returns the set of targets for a MultiTargetNode or a MultiWriteNode. # - # source://prism/lib/prism/translation/parser/compiler.rb#1948 + # source://prism//lib/prism/translation/parser/compiler.rb#1948 def multi_target_elements(node); end # Negate the value of a numeric node. This is a special case where you @@ -35226,7 +35226,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # however, marks this as a numeric literal. We have to massage the tree # here to get it into the correct form. # - # source://prism/lib/prism/translation/parser/compiler.rb#1960 + # source://prism//lib/prism/translation/parser/compiler.rb#1960 def numeric_negate(message_loc, receiver); end # Blocks can have a special set of parameters that automatically expand @@ -35235,12 +35235,12 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @return [Boolean] # - # source://prism/lib/prism/translation/parser/compiler.rb#1974 + # source://prism//lib/prism/translation/parser/compiler.rb#1974 def procarg0?(parameters); end # Constructs a new source range from the given start and end offsets. # - # source://prism/lib/prism/translation/parser/compiler.rb#1991 + # source://prism//lib/prism/translation/parser/compiler.rb#1991 def srange(location); end # Constructs a new source range by finding the given character between @@ -35250,109 +35250,109 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Note that end_offset is allowed to be nil, in which case this will # search until the end of the string. # - # source://prism/lib/prism/translation/parser/compiler.rb#2006 + # source://prism//lib/prism/translation/parser/compiler.rb#2006 def srange_find(start_offset, end_offset, character); end # Constructs a new source range from the given start and end offsets. # - # source://prism/lib/prism/translation/parser/compiler.rb#1996 + # source://prism//lib/prism/translation/parser/compiler.rb#1996 def srange_offsets(start_offset, end_offset); end # Transform a location into a token that the parser gem expects. # - # source://prism/lib/prism/translation/parser/compiler.rb#2014 + # source://prism//lib/prism/translation/parser/compiler.rb#2014 def token(location); end # Visit a block node on a call. # - # source://prism/lib/prism/translation/parser/compiler.rb#2019 + # source://prism//lib/prism/translation/parser/compiler.rb#2019 def visit_block(call, block); end # Visit a heredoc that can be either a string or an xstring. # - # source://prism/lib/prism/translation/parser/compiler.rb#2061 + # source://prism//lib/prism/translation/parser/compiler.rb#2061 def visit_heredoc(node); end # Visit a numeric node and account for the optional sign. # - # source://prism/lib/prism/translation/parser/compiler.rb#2133 + # source://prism//lib/prism/translation/parser/compiler.rb#2133 def visit_numeric(node, value); end # Within the given block, track that we're within a pattern. # - # source://prism/lib/prism/translation/parser/compiler.rb#2145 + # source://prism//lib/prism/translation/parser/compiler.rb#2145 def within_pattern; end end # Raised when the tree is malformed or there is a bug in the compiler. # -# source://prism/lib/prism/translation/parser/compiler.rb#10 +# source://prism//lib/prism/translation/parser/compiler.rb#10 class Prism::Translation::Parser::Compiler::CompilationError < ::StandardError; end # Locations in the parser gem AST are generated using this class. We # store a reference to its constant to make it slightly faster to look # up. # -# source://prism/lib/prism/translation/parser/compiler.rb#1988 +# source://prism//lib/prism/translation/parser/compiler.rb#1988 Prism::Translation::Parser::Compiler::Range = Parser::Source::Range -# source://prism/lib/prism/translation/parser.rb#17 +# source://prism//lib/prism/translation/parser.rb#17 Prism::Translation::Parser::Diagnostic = Parser::Diagnostic # Accepts a list of prism tokens and converts them into the expected # format for the parser gem. # -# source://prism/lib/prism/translation/parser/lexer.rb#8 +# source://prism//lib/prism/translation/parser/lexer.rb#8 class Prism::Translation::Parser::Lexer # Initialize the lexer with the given source buffer, prism tokens, and # offset cache. # # @return [Lexer] a new instance of Lexer # - # source://prism/lib/prism/translation/parser/lexer.rb#217 + # source://prism//lib/prism/translation/parser/lexer.rb#217 def initialize(source_buffer, lexed, offset_cache); end # An array of tuples that contain prism tokens and their associated lex # state when they were lexed. # - # source://prism/lib/prism/translation/parser/lexer.rb#210 + # source://prism//lib/prism/translation/parser/lexer.rb#210 def lexed; end # A hash that maps offsets in bytes to offsets in characters. # - # source://prism/lib/prism/translation/parser/lexer.rb#213 + # source://prism//lib/prism/translation/parser/lexer.rb#213 def offset_cache; end # The Parser::Source::Buffer that the tokens were lexed from. # - # source://prism/lib/prism/translation/parser/lexer.rb#206 + # source://prism//lib/prism/translation/parser/lexer.rb#206 def source_buffer; end # Convert the prism tokens into the expected format for the parser gem. # - # source://prism/lib/prism/translation/parser/lexer.rb#227 + # source://prism//lib/prism/translation/parser/lexer.rb#227 def to_a; end private # Parse a complex from the string representation. # - # source://prism/lib/prism/translation/parser/lexer.rb#409 + # source://prism//lib/prism/translation/parser/lexer.rb#409 def parse_complex(value); end # Parse a float from the string representation. # - # source://prism/lib/prism/translation/parser/lexer.rb#402 + # source://prism//lib/prism/translation/parser/lexer.rb#402 def parse_float(value); end # Parse an integer from the string representation. # - # source://prism/lib/prism/translation/parser/lexer.rb#395 + # source://prism//lib/prism/translation/parser/lexer.rb#395 def parse_integer(value); end # Parse a rational from the string representation. # - # source://prism/lib/prism/translation/parser/lexer.rb#424 + # source://prism//lib/prism/translation/parser/lexer.rb#424 def parse_rational(value); end end @@ -35364,10 +35364,10 @@ end # meantime we'll hide them from the documentation and mark them as # private constants. # -# source://prism/lib/prism/translation/parser/lexer.rb#187 +# source://prism//lib/prism/translation/parser/lexer.rb#187 Prism::Translation::Parser::Lexer::EXPR_BEG = T.let(T.unsafe(nil), Integer) -# source://prism/lib/prism/translation/parser/lexer.rb#188 +# source://prism//lib/prism/translation/parser/lexer.rb#188 Prism::Translation::Parser::Lexer::EXPR_LABEL = T.let(T.unsafe(nil), Integer) # It is used to determine whether `do` is of the token type `kDO` or `kDO_LAMBDA`. @@ -35375,43 +35375,43 @@ Prism::Translation::Parser::Lexer::EXPR_LABEL = T.let(T.unsafe(nil), Integer) # NOTE: In edge cases like `-> (foo = -> (bar) {}) do end`, please note that `kDO` is still returned # instead of `kDO_LAMBDA`, which is expected: https://github.com/ruby/prism/pull/3046 # -# source://prism/lib/prism/translation/parser/lexer.rb#194 +# source://prism//lib/prism/translation/parser/lexer.rb#194 Prism::Translation::Parser::Lexer::LAMBDA_TOKEN_TYPES = T.let(T.unsafe(nil), Array) # The `PARENTHESIS_LEFT` token in Prism is classified as either `tLPAREN` or `tLPAREN2` in the Parser gem. # The following token types are listed as those classified as `tLPAREN`. # -# source://prism/lib/prism/translation/parser/lexer.rb#198 +# source://prism//lib/prism/translation/parser/lexer.rb#198 Prism::Translation::Parser::Lexer::LPAREN_CONVERSION_TOKEN_TYPES = T.let(T.unsafe(nil), Array) -# source://prism/lib/prism/translation/parser/lexer.rb#223 +# source://prism//lib/prism/translation/parser/lexer.rb#223 Prism::Translation::Parser::Lexer::Range = Parser::Source::Range # The direct translating of types between the two lexers. # -# source://prism/lib/prism/translation/parser/lexer.rb#10 +# source://prism//lib/prism/translation/parser/lexer.rb#10 Prism::Translation::Parser::Lexer::TYPES = T.let(T.unsafe(nil), Hash) # The parser gem has a list of diagnostics with a hard-coded set of error # messages. We create our own diagnostic class in order to set our own # error messages. # -# source://prism/lib/prism/translation/parser.rb#23 +# source://prism//lib/prism/translation/parser.rb#23 class Prism::Translation::Parser::PrismDiagnostic < ::Parser::Diagnostic # Initialize a new diagnostic with the given message and location. # # @return [PrismDiagnostic] a new instance of PrismDiagnostic # - # source://prism/lib/prism/translation/parser.rb#28 + # source://prism//lib/prism/translation/parser.rb#28 def initialize(message, level, reason, location); end # This is the cached message coming from prism. # - # source://prism/lib/prism/translation/parser.rb#25 + # source://prism//lib/prism/translation/parser.rb#25 def message; end end -# source://prism/lib/prism/translation/parser.rb#34 +# source://prism//lib/prism/translation/parser.rb#34 Prism::Translation::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # This class provides a compatibility layer between prism and Ripper. It @@ -35450,95 +35450,95 @@ Prism::Translation::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # - on_tstring_beg # - on_tstring_end # -# source://prism/lib/prism/translation/ripper.rb#43 +# source://prism//lib/prism/translation/ripper.rb#43 class Prism::Translation::Ripper < ::Prism::Compiler # Create a new Translation::Ripper object with the given source. # # @return [Ripper] a new instance of Ripper # - # source://prism/lib/prism/translation/ripper.rb#444 + # source://prism//lib/prism/translation/ripper.rb#444 def initialize(source, filename = T.unsafe(nil), lineno = T.unsafe(nil)); end # The current column number of the parser. # - # source://prism/lib/prism/translation/ripper.rb#441 + # source://prism//lib/prism/translation/ripper.rb#441 def column; end # True if the parser encountered an error during parsing. # # @return [Boolean] # - # source://prism/lib/prism/translation/ripper.rb#457 + # source://prism//lib/prism/translation/ripper.rb#457 sig { returns(T::Boolean) } def error?; end # The filename of the source being parsed. # - # source://prism/lib/prism/translation/ripper.rb#435 + # source://prism//lib/prism/translation/ripper.rb#435 def filename; end # The current line number of the parser. # - # source://prism/lib/prism/translation/ripper.rb#438 + # source://prism//lib/prism/translation/ripper.rb#438 def lineno; end # Parse the source and return the result. # - # source://prism/lib/prism/translation/ripper.rb#462 + # source://prism//lib/prism/translation/ripper.rb#462 sig { returns(T.untyped) } def parse; end # The source that is being parsed. # - # source://prism/lib/prism/translation/ripper.rb#432 + # source://prism//lib/prism/translation/ripper.rb#432 def source; end # alias $foo $bar # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#561 + # source://prism//lib/prism/translation/ripper.rb#561 def visit_alias_global_variable_node(node); end # alias foo bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#551 + # source://prism//lib/prism/translation/ripper.rb#551 def visit_alias_method_node(node); end # foo => bar | baz # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#585 + # source://prism//lib/prism/translation/ripper.rb#585 def visit_alternation_pattern_node(node); end # a and b # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#605 + # source://prism//lib/prism/translation/ripper.rb#605 def visit_and_node(node); end # foo(bar) # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#796 + # source://prism//lib/prism/translation/ripper.rb#796 def visit_arguments_node(node); end # [] # ^^ # - # source://prism/lib/prism/translation/ripper.rb#615 + # source://prism//lib/prism/translation/ripper.rb#615 def visit_array_node(node); end # foo => [bar] # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#775 + # source://prism//lib/prism/translation/ripper.rb#775 def visit_array_pattern_node(node); end # { a: 1 } # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#803 + # source://prism//lib/prism/translation/ripper.rb#803 def visit_assoc_node(node); end # def foo(**); bar(**); end @@ -35547,47 +35547,47 @@ class Prism::Translation::Ripper < ::Prism::Compiler # { **foo } # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#816 + # source://prism//lib/prism/translation/ripper.rb#816 def visit_assoc_splat_node(node); end # $+ # ^^ # - # source://prism/lib/prism/translation/ripper.rb#825 + # source://prism//lib/prism/translation/ripper.rb#825 def visit_back_reference_read_node(node); end # begin end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#832 + # source://prism//lib/prism/translation/ripper.rb#832 def visit_begin_node(node); end # foo(&bar) # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#896 + # source://prism//lib/prism/translation/ripper.rb#896 def visit_block_argument_node(node); end # foo { |; bar| } # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#902 + # source://prism//lib/prism/translation/ripper.rb#902 def visit_block_local_variable_node(node); end # Visit a BlockNode. # - # source://prism/lib/prism/translation/ripper.rb#908 + # source://prism//lib/prism/translation/ripper.rb#908 def visit_block_node(node); end # def foo(&bar); end # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#944 + # source://prism//lib/prism/translation/ripper.rb#944 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism/lib/prism/translation/ripper.rb#958 + # source://prism//lib/prism/translation/ripper.rb#958 def visit_block_parameters_node(node); end # break @@ -35596,13 +35596,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # break foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#982 + # source://prism//lib/prism/translation/ripper.rb#982 def visit_break_node(node); end # foo.bar &&= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1194 + # source://prism//lib/prism/translation/ripper.rb#1194 def visit_call_and_write_node(node); end # foo @@ -35614,79 +35614,79 @@ class Prism::Translation::Ripper < ::Prism::Compiler # foo.bar() {} # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1002 + # source://prism//lib/prism/translation/ripper.rb#1002 def visit_call_node(node); end # foo.bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1172 + # source://prism//lib/prism/translation/ripper.rb#1172 def visit_call_operator_write_node(node); end # foo.bar ||= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1216 + # source://prism//lib/prism/translation/ripper.rb#1216 def visit_call_or_write_node(node); end # foo.bar, = 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1238 + # source://prism//lib/prism/translation/ripper.rb#1238 def visit_call_target_node(node); end # foo => bar => baz # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1263 + # source://prism//lib/prism/translation/ripper.rb#1263 def visit_capture_pattern_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1286 + # source://prism//lib/prism/translation/ripper.rb#1286 def visit_case_match_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1273 + # source://prism//lib/prism/translation/ripper.rb#1273 def visit_case_node(node); end # class Foo; end # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1299 + # source://prism//lib/prism/translation/ripper.rb#1299 def visit_class_node(node); end # @@foo &&= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1352 + # source://prism//lib/prism/translation/ripper.rb#1352 def visit_class_variable_and_write_node(node); end # @@foo += bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1338 + # source://prism//lib/prism/translation/ripper.rb#1338 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1366 + # source://prism//lib/prism/translation/ripper.rb#1366 def visit_class_variable_or_write_node(node); end # @@foo # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1317 + # source://prism//lib/prism/translation/ripper.rb#1317 def visit_class_variable_read_node(node); end # @@foo, = bar # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1380 + # source://prism//lib/prism/translation/ripper.rb#1380 def visit_class_variable_target_node(node); end # @@foo = 1 @@ -35695,55 +35695,55 @@ class Prism::Translation::Ripper < ::Prism::Compiler # @@foo, @@bar = 1 # ^^^^^ ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1327 + # source://prism//lib/prism/translation/ripper.rb#1327 def visit_class_variable_write_node(node); end # Foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1422 + # source://prism//lib/prism/translation/ripper.rb#1422 def visit_constant_and_write_node(node); end # Foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1408 + # source://prism//lib/prism/translation/ripper.rb#1408 def visit_constant_operator_write_node(node); end # Foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1436 + # source://prism//lib/prism/translation/ripper.rb#1436 def visit_constant_or_write_node(node); end # Foo::Bar &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1523 + # source://prism//lib/prism/translation/ripper.rb#1523 def visit_constant_path_and_write_node(node); end # Foo::Bar # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1457 + # source://prism//lib/prism/translation/ripper.rb#1457 def visit_constant_path_node(node); end # Foo::Bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1509 + # source://prism//lib/prism/translation/ripper.rb#1509 def visit_constant_path_operator_write_node(node); end # Foo::Bar ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1537 + # source://prism//lib/prism/translation/ripper.rb#1537 def visit_constant_path_or_write_node(node); end # Foo::Bar, = baz # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1551 + # source://prism//lib/prism/translation/ripper.rb#1551 def visit_constant_path_target_node(node); end # Foo::Bar = 1 @@ -35752,19 +35752,19 @@ class Prism::Translation::Ripper < ::Prism::Compiler # Foo::Foo, Bar::Bar = 1 # ^^^^^^^^ ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1480 + # source://prism//lib/prism/translation/ripper.rb#1480 def visit_constant_path_write_node(node); end # Foo # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1387 + # source://prism//lib/prism/translation/ripper.rb#1387 def visit_constant_read_node(node); end # Foo, = bar # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1450 + # source://prism//lib/prism/translation/ripper.rb#1450 def visit_constant_target_node(node); end # Foo = 1 @@ -35773,7 +35773,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # Foo, Bar = 1 # ^^^ ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1397 + # source://prism//lib/prism/translation/ripper.rb#1397 def visit_constant_write_node(node); end # def foo; end @@ -35782,7 +35782,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def self.foo; end # ^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1560 + # source://prism//lib/prism/translation/ripper.rb#1560 def visit_def_node(node); end # defined? a @@ -35791,72 +35791,72 @@ class Prism::Translation::Ripper < ::Prism::Compiler # defined?(a) # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1607 + # source://prism//lib/prism/translation/ripper.rb#1607 def visit_defined_node(node); end # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1614 + # source://prism//lib/prism/translation/ripper.rb#1614 def visit_else_node(node); end # "foo #{bar}" # ^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1630 + # source://prism//lib/prism/translation/ripper.rb#1630 def visit_embedded_statements_node(node); end # "foo #@bar" # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1651 + # source://prism//lib/prism/translation/ripper.rb#1651 def visit_embedded_variable_node(node); end # Visit an EnsureNode node. # - # source://prism/lib/prism/translation/ripper.rb#1662 + # source://prism//lib/prism/translation/ripper.rb#1662 def visit_ensure_node(node); end # false # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1680 + # source://prism//lib/prism/translation/ripper.rb#1680 def visit_false_node(node); end # foo => [*, bar, *] # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1687 + # source://prism//lib/prism/translation/ripper.rb#1687 def visit_find_pattern_node(node); end # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1712 + # source://prism//lib/prism/translation/ripper.rb#1712 def visit_flip_flop_node(node); end # 1.0 # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1726 + # source://prism//lib/prism/translation/ripper.rb#1726 def visit_float_node(node); end # for foo in bar do end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1732 + # source://prism//lib/prism/translation/ripper.rb#1732 def visit_for_node(node); end # def foo(...); bar(...); end # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1749 + # source://prism//lib/prism/translation/ripper.rb#1749 def visit_forwarding_arguments_node(node); end # def foo(...); end # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#1756 + # source://prism//lib/prism/translation/ripper.rb#1756 def visit_forwarding_parameter_node(node); end # super @@ -35865,37 +35865,37 @@ class Prism::Translation::Ripper < ::Prism::Compiler # super {} # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1766 + # source://prism//lib/prism/translation/ripper.rb#1766 def visit_forwarding_super_node(node); end # $foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1815 + # source://prism//lib/prism/translation/ripper.rb#1815 def visit_global_variable_and_write_node(node); end # $foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1801 + # source://prism//lib/prism/translation/ripper.rb#1801 def visit_global_variable_operator_write_node(node); end # $foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1829 + # source://prism//lib/prism/translation/ripper.rb#1829 def visit_global_variable_or_write_node(node); end # $foo # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1780 + # source://prism//lib/prism/translation/ripper.rb#1780 def visit_global_variable_read_node(node); end # $foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1843 + # source://prism//lib/prism/translation/ripper.rb#1843 def visit_global_variable_target_node(node); end # $foo = 1 @@ -35904,19 +35904,19 @@ class Prism::Translation::Ripper < ::Prism::Compiler # $foo, $bar = 1 # ^^^^ ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1790 + # source://prism//lib/prism/translation/ripper.rb#1790 def visit_global_variable_write_node(node); end # {} # ^^ # - # source://prism/lib/prism/translation/ripper.rb#1850 + # source://prism//lib/prism/translation/ripper.rb#1850 def visit_hash_node(node); end # foo => {} # ^^ # - # source://prism/lib/prism/translation/ripper.rb#1865 + # source://prism//lib/prism/translation/ripper.rb#1865 def visit_hash_pattern_node(node); end # if foo then bar end @@ -35928,140 +35928,140 @@ class Prism::Translation::Ripper < ::Prism::Compiler # foo ? bar : baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1907 + # source://prism//lib/prism/translation/ripper.rb#1907 def visit_if_node(node); end # 1i # ^^ # - # source://prism/lib/prism/translation/ripper.rb#1943 + # source://prism//lib/prism/translation/ripper.rb#1943 def visit_imaginary_node(node); end # { foo: } # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1949 + # source://prism//lib/prism/translation/ripper.rb#1949 def visit_implicit_node(node); end # foo { |bar,| } # ^ # - # source://prism/lib/prism/translation/ripper.rb#1954 + # source://prism//lib/prism/translation/ripper.rb#1954 def visit_implicit_rest_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1961 + # source://prism//lib/prism/translation/ripper.rb#1961 def visit_in_node(node); end # foo[bar] &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1996 + # source://prism//lib/prism/translation/ripper.rb#1996 def visit_index_and_write_node(node); end # foo[bar] += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#1979 + # source://prism//lib/prism/translation/ripper.rb#1979 def visit_index_operator_write_node(node); end # foo[bar] ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2013 + # source://prism//lib/prism/translation/ripper.rb#2013 def visit_index_or_write_node(node); end # foo[bar], = 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2030 + # source://prism//lib/prism/translation/ripper.rb#2030 def visit_index_target_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2072 + # source://prism//lib/prism/translation/ripper.rb#2072 def visit_instance_variable_and_write_node(node); end # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2058 + # source://prism//lib/prism/translation/ripper.rb#2058 def visit_instance_variable_operator_write_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2086 + # source://prism//lib/prism/translation/ripper.rb#2086 def visit_instance_variable_or_write_node(node); end # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2040 + # source://prism//lib/prism/translation/ripper.rb#2040 def visit_instance_variable_read_node(node); end # @foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2100 + # source://prism//lib/prism/translation/ripper.rb#2100 def visit_instance_variable_target_node(node); end # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2047 + # source://prism//lib/prism/translation/ripper.rb#2047 def visit_instance_variable_write_node(node); end # 1 # ^ # - # source://prism/lib/prism/translation/ripper.rb#2107 + # source://prism//lib/prism/translation/ripper.rb#2107 def visit_integer_node(node); end # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2113 + # source://prism//lib/prism/translation/ripper.rb#2113 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2132 + # source://prism//lib/prism/translation/ripper.rb#2132 def visit_interpolated_regular_expression_node(node); end # "foo #{bar}" # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2151 + # source://prism//lib/prism/translation/ripper.rb#2151 def visit_interpolated_string_node(node); end # :"foo #{bar}" # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2179 + # source://prism//lib/prism/translation/ripper.rb#2179 def visit_interpolated_symbol_node(node); end # `foo #{bar}` # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2192 + # source://prism//lib/prism/translation/ripper.rb#2192 def visit_interpolated_x_string_node(node); end # -> { it } # ^^ # - # source://prism/lib/prism/translation/ripper.rb#2222 + # source://prism//lib/prism/translation/ripper.rb#2222 def visit_it_local_variable_read_node(node); end # -> { it } # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2229 + # source://prism//lib/prism/translation/ripper.rb#2229 def visit_it_parameters_node(node); end # foo(bar: baz) # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2234 + # source://prism//lib/prism/translation/ripper.rb#2234 def visit_keyword_hash_node(node); end # def foo(**bar); end @@ -36070,96 +36070,96 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(**); end # ^^ # - # source://prism/lib/prism/translation/ripper.rb#2246 + # source://prism//lib/prism/translation/ripper.rb#2246 def visit_keyword_rest_parameter_node(node); end # -> {} # - # source://prism/lib/prism/translation/ripper.rb#2260 + # source://prism//lib/prism/translation/ripper.rb#2260 def visit_lambda_node(node); end # foo &&= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2352 + # source://prism//lib/prism/translation/ripper.rb#2352 def visit_local_variable_and_write_node(node); end # foo += bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2338 + # source://prism//lib/prism/translation/ripper.rb#2338 def visit_local_variable_operator_write_node(node); end # foo ||= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2366 + # source://prism//lib/prism/translation/ripper.rb#2366 def visit_local_variable_or_write_node(node); end # foo # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#2320 + # source://prism//lib/prism/translation/ripper.rb#2320 def visit_local_variable_read_node(node); end # foo, = bar # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#2380 + # source://prism//lib/prism/translation/ripper.rb#2380 def visit_local_variable_target_node(node); end # foo = 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2327 + # source://prism//lib/prism/translation/ripper.rb#2327 def visit_local_variable_write_node(node); end # if /foo/ then end # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2387 + # source://prism//lib/prism/translation/ripper.rb#2387 def visit_match_last_line_node(node); end # foo in bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2402 + # source://prism//lib/prism/translation/ripper.rb#2402 def visit_match_predicate_node(node); end # foo => bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2411 + # source://prism//lib/prism/translation/ripper.rb#2411 def visit_match_required_node(node); end # /(?foo)/ =~ bar # ^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2420 + # source://prism//lib/prism/translation/ripper.rb#2420 def visit_match_write_node(node); end # A node that is missing from the syntax tree. This is only used in the # case of a syntax error. # - # source://prism/lib/prism/translation/ripper.rb#2426 + # source://prism//lib/prism/translation/ripper.rb#2426 def visit_missing_node(node); end # module Foo; end # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2432 + # source://prism//lib/prism/translation/ripper.rb#2432 def visit_module_node(node); end # (foo, bar), bar = qux # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2449 + # source://prism//lib/prism/translation/ripper.rb#2449 def visit_multi_target_node(node); end # foo, bar = baz # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2503 + # source://prism//lib/prism/translation/ripper.rb#2503 def visit_multi_write_node(node); end # next @@ -36168,55 +36168,55 @@ class Prism::Translation::Ripper < ::Prism::Compiler # next foo # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2523 + # source://prism//lib/prism/translation/ripper.rb#2523 def visit_next_node(node); end # nil # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#2537 + # source://prism//lib/prism/translation/ripper.rb#2537 def visit_nil_node(node); end # def foo(**nil); end # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2544 + # source://prism//lib/prism/translation/ripper.rb#2544 def visit_no_keywords_parameter_node(node); end # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2553 + # source://prism//lib/prism/translation/ripper.rb#2553 def visit_numbered_parameters_node(node); end # $1 # ^^ # - # source://prism/lib/prism/translation/ripper.rb#2558 + # source://prism//lib/prism/translation/ripper.rb#2558 def visit_numbered_reference_read_node(node); end # def foo(bar: baz); end # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2565 + # source://prism//lib/prism/translation/ripper.rb#2565 def visit_optional_keyword_parameter_node(node); end # def foo(bar = 1); end # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2575 + # source://prism//lib/prism/translation/ripper.rb#2575 def visit_optional_parameter_node(node); end # a or b # ^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2585 + # source://prism//lib/prism/translation/ripper.rb#2585 def visit_or_node(node); end # def foo(bar, *baz); end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2595 + # source://prism//lib/prism/translation/ripper.rb#2595 def visit_parameters_node(node); end # () @@ -36225,84 +36225,84 @@ class Prism::Translation::Ripper < ::Prism::Compiler # (1) # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#2622 + # source://prism//lib/prism/translation/ripper.rb#2622 def visit_parentheses_node(node); end # foo => ^(bar) # ^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2636 + # source://prism//lib/prism/translation/ripper.rb#2636 def visit_pinned_expression_node(node); end # foo = 1 and bar => ^foo # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2645 + # source://prism//lib/prism/translation/ripper.rb#2645 def visit_pinned_variable_node(node); end # END {} # ^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2651 + # source://prism//lib/prism/translation/ripper.rb#2651 def visit_post_execution_node(node); end # BEGIN {} # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2666 + # source://prism//lib/prism/translation/ripper.rb#2666 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism/lib/prism/translation/ripper.rb#2680 + # source://prism//lib/prism/translation/ripper.rb#2680 def visit_program_node(node); end # 0..5 # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2691 + # source://prism//lib/prism/translation/ripper.rb#2691 def visit_range_node(node); end # 1r # ^^ # - # source://prism/lib/prism/translation/ripper.rb#2705 + # source://prism//lib/prism/translation/ripper.rb#2705 def visit_rational_node(node); end # redo # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2711 + # source://prism//lib/prism/translation/ripper.rb#2711 def visit_redo_node(node); end # /foo/ # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2718 + # source://prism//lib/prism/translation/ripper.rb#2718 def visit_regular_expression_node(node); end # def foo(bar:); end # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2740 + # source://prism//lib/prism/translation/ripper.rb#2740 def visit_required_keyword_parameter_node(node); end # def foo(bar); end # ^^^ # - # source://prism/lib/prism/translation/ripper.rb#2747 + # source://prism//lib/prism/translation/ripper.rb#2747 def visit_required_parameter_node(node); end # foo rescue bar # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2754 + # source://prism//lib/prism/translation/ripper.rb#2754 def visit_rescue_modifier_node(node); end # begin; rescue; end # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2764 + # source://prism//lib/prism/translation/ripper.rb#2764 def visit_rescue_node(node); end # def foo(*bar); end @@ -36311,13 +36311,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(*); end # ^ # - # source://prism/lib/prism/translation/ripper.rb#2822 + # source://prism//lib/prism/translation/ripper.rb#2822 def visit_rest_parameter_node(node); end # retry # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2834 + # source://prism//lib/prism/translation/ripper.rb#2834 def visit_retry_node(node); end # return @@ -36326,42 +36326,42 @@ class Prism::Translation::Ripper < ::Prism::Compiler # return 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2844 + # source://prism//lib/prism/translation/ripper.rb#2844 def visit_return_node(node); end # self # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2858 + # source://prism//lib/prism/translation/ripper.rb#2858 def visit_self_node(node); end # A shareable constant. # - # source://prism/lib/prism/translation/ripper.rb#2864 + # source://prism//lib/prism/translation/ripper.rb#2864 def visit_shareable_constant_node(node); end # class << self; end # ^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2870 + # source://prism//lib/prism/translation/ripper.rb#2870 def visit_singleton_class_node(node); end # __ENCODING__ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2880 + # source://prism//lib/prism/translation/ripper.rb#2880 def visit_source_encoding_node(node); end # __FILE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2887 + # source://prism//lib/prism/translation/ripper.rb#2887 def visit_source_file_node(node); end # __LINE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2894 + # source://prism//lib/prism/translation/ripper.rb#2894 def visit_source_line_node(node); end # foo(*bar) @@ -36373,42 +36373,42 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(*); bar(*); end # ^ # - # source://prism/lib/prism/translation/ripper.rb#2907 + # source://prism//lib/prism/translation/ripper.rb#2907 def visit_splat_node(node); end # A list of statements. # - # source://prism/lib/prism/translation/ripper.rb#2912 + # source://prism//lib/prism/translation/ripper.rb#2912 def visit_statements_node(node); end # "foo" # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#2929 + # source://prism//lib/prism/translation/ripper.rb#2929 def visit_string_node(node); end # super(foo) # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3061 + # source://prism//lib/prism/translation/ripper.rb#3061 def visit_super_node(node); end # :foo # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3082 + # source://prism//lib/prism/translation/ripper.rb#3082 def visit_symbol_node(node); end # true # ^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3106 + # source://prism//lib/prism/translation/ripper.rb#3106 def visit_true_node(node); end # undef foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3113 + # source://prism//lib/prism/translation/ripper.rb#3113 def visit_undef_node(node); end # unless foo; bar end @@ -36417,7 +36417,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar unless foo # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3125 + # source://prism//lib/prism/translation/ripper.rb#3125 def visit_unless_node(node); end # until foo; bar end @@ -36426,13 +36426,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar until foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3153 + # source://prism//lib/prism/translation/ripper.rb#3153 def visit_until_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3177 + # source://prism//lib/prism/translation/ripper.rb#3177 def visit_when_node(node); end # while foo; bar end @@ -36441,13 +36441,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar while foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3198 + # source://prism//lib/prism/translation/ripper.rb#3198 def visit_while_node(node); end # `foo` # ^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3222 + # source://prism//lib/prism/translation/ripper.rb#3222 def visit_x_string_node(node); end # yield @@ -36456,32 +36456,32 @@ class Prism::Translation::Ripper < ::Prism::Compiler # yield 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/ripper.rb#3245 + # source://prism//lib/prism/translation/ripper.rb#3245 def visit_yield_node(node); end private # :stopdoc: # - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3385 def _dispatch_0; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3386 def _dispatch_1(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3387 def _dispatch_2(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3388 def _dispatch_3(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3389 def _dispatch_4(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3390 def _dispatch_5(_, _, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3391 def _dispatch_7(_, _, _, _, _, _, _); end # This method is responsible for updating lineno and column information @@ -36490,19 +36490,19 @@ class Prism::Translation::Ripper < ::Prism::Compiler # This method could be drastically improved with some caching on the start # of every line, but for now it's good enough. # - # source://prism/lib/prism/translation/ripper.rb#3375 + # source://prism//lib/prism/translation/ripper.rb#3375 def bounds(location); end # Returns true if the given node is a command node. # # @return [Boolean] # - # source://prism/lib/prism/translation/ripper.rb#1163 + # source://prism//lib/prism/translation/ripper.rb#1163 def command?(node); end # This method is called when the parser found syntax error. # - # source://prism/lib/prism/translation/ripper.rb#3413 + # source://prism//lib/prism/translation/ripper.rb#3413 def compile_error(msg); end # This method is provided by the Ripper C extension. It is called when a @@ -36510,631 +36510,631 @@ class Prism::Translation::Ripper < ::Prism::Compiler # that it will modify the string in place and return the number of bytes # that were removed. # - # source://prism/lib/prism/translation/ripper.rb#3428 + # source://prism//lib/prism/translation/ripper.rb#3428 def dedent_string(string, width); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_BEGIN(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_CHAR(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_END(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on___end__(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_alias(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_alias_error(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_aref(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_aref_field(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_arg_ambiguous(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_arg_paren(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_args_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_args_add_block(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_args_add_star(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_args_forward; end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_args_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_array(_); end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_aryptn(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_assign(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_assign_error(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_assoc_new(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_assoc_splat(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_assoclist_from_args(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_backref(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_backtick(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_bare_assoc_hash(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_begin(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_binary(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_block_var(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_blockarg(_); end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_bodystmt(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_brace_block(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_break(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_call(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_case(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_class(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_class_name_error(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_comma(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_command(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_command_call(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_comment(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_const(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_const_path_field(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_const_path_ref(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_const_ref(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_cvar(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_def(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_defined(_); end - # source://prism/lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_defs(_, _, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_do_block(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_dot2(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_dot3(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_dyna_symbol(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_else(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_elsif(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embdoc(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embdoc_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embdoc_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embexpr_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embexpr_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_embvar(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_ensure(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_excessed_comma; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_fcall(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_field(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_float(_); end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_fndptn(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_for(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_gvar(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_hash(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_heredoc_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_heredoc_dedent(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_heredoc_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_hshptn(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_ident(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_if(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_if_mod(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_ifop(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_ignored_nl(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_ignored_sp(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_imaginary(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_in(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_int(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_ivar(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_kw(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_kwrest_param(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_label(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_label_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_lambda(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_lbrace(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_lbracket(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_lparen(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_magic_comment(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_massign(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_method_add_arg(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_method_add_block(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mlhs_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mlhs_add_post(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mlhs_add_star(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mlhs_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mlhs_paren(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_module(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mrhs_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mrhs_add_star(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mrhs_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_mrhs_new_from_args(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_next(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_nl(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_nokw_param(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_op(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_opassign(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_operator_ambiguous(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_param_error(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_params(_, _, _, _, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_paren(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_parse_error(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_period(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_program(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_qsymbols_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_qsymbols_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_qsymbols_new; end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_qwords_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_qwords_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_qwords_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_rational(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_rbrace(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_rbracket(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_redo; end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_regexp_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_regexp_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_regexp_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_regexp_literal(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_regexp_new; end - # source://prism/lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_rescue(_, _, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_rescue_mod(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_rest_param(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_retry; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_return(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_return0; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_rparen(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_sclass(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_semicolon(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_sp(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_stmts_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_stmts_new; end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_concat(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_content; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_dvar(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_embexpr(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_string_literal(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_super(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_symbeg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_symbol(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_symbol_literal(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_symbols_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_symbols_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_symbols_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_tlambda(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_tlambeg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_top_const_field(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_top_const_ref(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_tstring_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_tstring_content(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_tstring_end(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_unary(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_undef(_); end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_unless(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_unless_mod(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_until(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_until_mod(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_var_alias(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_var_field(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_var_ref(_); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_vcall(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_void_stmt; end - # source://prism/lib/prism/translation/ripper.rb#3388 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_when(_, _, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_while(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_while_mod(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_word_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_word_new; end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_words_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_words_beg(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_words_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3421 def on_words_sep(_); end - # source://prism/lib/prism/translation/ripper.rb#3387 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_xstring_add(_, _); end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_xstring_literal(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_xstring_new; end - # source://prism/lib/prism/translation/ripper.rb#3386 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_yield(_); end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_yield0; end - # source://prism/lib/prism/translation/ripper.rb#3385 + # source://prism//lib/prism/translation/ripper.rb#3399 def on_zsuper; end # Lazily initialize the parse result. # - # source://prism/lib/prism/translation/ripper.rb#3271 + # source://prism//lib/prism/translation/ripper.rb#3271 def result; end # Returns true if there is a comma between the two locations. # # @return [Boolean] # - # source://prism/lib/prism/translation/ripper.rb#3280 + # source://prism//lib/prism/translation/ripper.rb#3280 def trailing_comma?(left, right); end # Visit one side of an alias global variable node. # - # source://prism/lib/prism/translation/ripper.rb#570 + # source://prism//lib/prism/translation/ripper.rb#570 def visit_alias_global_variable_node_value(node); end # Visit a list of elements, like the elements of an array or arguments. # - # source://prism/lib/prism/translation/ripper.rb#756 + # source://prism//lib/prism/translation/ripper.rb#756 def visit_arguments(elements); end # Visit the clauses of a begin node to form an on_bodystmt call. # - # source://prism/lib/prism/translation/ripper.rb#840 + # source://prism//lib/prism/translation/ripper.rb#840 def visit_begin_node_clauses(location, node, allow_newline); end # Visit the body of a structure that can have either a set of statements # or statements wrapped in rescue/else/ensure. # - # source://prism/lib/prism/translation/ripper.rb#875 + # source://prism//lib/prism/translation/ripper.rb#875 def visit_body_node(location, node, allow_newline = T.unsafe(nil)); end # Visit the arguments and block of a call node and return the arguments # and block as they should be used. # - # source://prism/lib/prism/translation/ripper.rb#1136 + # source://prism//lib/prism/translation/ripper.rb#1136 def visit_call_node_arguments(arguments_node, block_node, trailing_comma); end # Visit a constant path that is part of a write node. # - # source://prism/lib/prism/translation/ripper.rb#1489 + # source://prism//lib/prism/translation/ripper.rb#1489 def visit_constant_path_write_node_target(node); end # Visit a destructured positional parameter node. # - # source://prism/lib/prism/translation/ripper.rb#2609 + # source://prism//lib/prism/translation/ripper.rb#2609 def visit_destructured_parameter_node(node); end # Visit a string that is expressed using a <<~ heredoc. # - # source://prism/lib/prism/translation/ripper.rb#2980 + # source://prism//lib/prism/translation/ripper.rb#2980 def visit_heredoc_node(parts, base); end # Ripper gives back the escaped string content but strips out the common @@ -37143,34 +37143,34 @@ class Prism::Translation::Ripper < ::Prism::Compiler # work well together, so here we need to re-derive the common leading # whitespace. # - # source://prism/lib/prism/translation/ripper.rb#2955 + # source://prism//lib/prism/translation/ripper.rb#2955 def visit_heredoc_node_whitespace(parts); end # Visit a heredoc node that is representing a string. # - # source://prism/lib/prism/translation/ripper.rb#3026 + # source://prism//lib/prism/translation/ripper.rb#3026 def visit_heredoc_string_node(node); end # Visit a heredoc node that is representing an xstring. # - # source://prism/lib/prism/translation/ripper.rb#3043 + # source://prism//lib/prism/translation/ripper.rb#3043 def visit_heredoc_x_string_node(node); end # Visit the targets of a multi-target node. # - # source://prism/lib/prism/translation/ripper.rb#2462 + # source://prism//lib/prism/translation/ripper.rb#2462 def visit_multi_target_node_targets(lefts, rest, rights, skippable); end # Visit a node that represents a number. We need to explicitly handle the # unary - operator. # - # source://prism/lib/prism/translation/ripper.rb#3319 + # source://prism//lib/prism/translation/ripper.rb#3319 def visit_number_node(node); end # Visit a pattern within a pattern match. This is used to bypass the # parenthesis node that can be used to wrap patterns. # - # source://prism/lib/prism/translation/ripper.rb#595 + # source://prism//lib/prism/translation/ripper.rb#595 def visit_pattern_node(node); end # Visit the list of statements of a statements node. We support nil @@ -37178,49 +37178,49 @@ class Prism::Translation::Ripper < ::Prism::Compiler # structure of the prism parse tree, but we manually add them here so that # we can mirror Ripper's void stmt. # - # source://prism/lib/prism/translation/ripper.rb#2921 + # source://prism//lib/prism/translation/ripper.rb#2921 def visit_statements_node_body(body); end # Visit an individual part of a string-like node. # - # source://prism/lib/prism/translation/ripper.rb#2211 + # source://prism//lib/prism/translation/ripper.rb#2211 def visit_string_content(part); end # Visit the string content of a particular node. This method is used to # split into the various token types. # - # source://prism/lib/prism/translation/ripper.rb#3292 + # source://prism//lib/prism/translation/ripper.rb#3292 def visit_token(token, allow_keywords = T.unsafe(nil)); end # Dispatch a words_sep event that contains the space between the elements # of list literals. # - # source://prism/lib/prism/translation/ripper.rb#745 + # source://prism//lib/prism/translation/ripper.rb#745 def visit_words_sep(opening_loc, previous, current); end # Visit a node that represents a write value. This is used to handle the # special case of an implicit array that is generated without brackets. # - # source://prism/lib/prism/translation/ripper.rb#3337 + # source://prism//lib/prism/translation/ripper.rb#3337 def visit_write_value(node); end # Returns true if there is a semicolon between the two locations. # # @return [Boolean] # - # source://prism/lib/prism/translation/ripper.rb#3285 + # source://prism//lib/prism/translation/ripper.rb#3285 def void_stmt?(left, right, allow_newline); end # This method is called when weak warning is produced by the parser. # +fmt+ and +args+ is printf style. # - # source://prism/lib/prism/translation/ripper.rb#3404 + # source://prism//lib/prism/translation/ripper.rb#3404 def warn(fmt, *args); end # This method is called when strong warning is produced by the parser. # +fmt+ and +args+ is printf style. # - # source://prism/lib/prism/translation/ripper.rb#3409 + # source://prism//lib/prism/translation/ripper.rb#3409 def warning(fmt, *args); end class << self @@ -37246,13 +37246,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # [[1, 12], :on_sp, " ", END ], # [[1, 13], :on_kw, "end", END ]] # - # source://prism/lib/prism/translation/ripper.rb#72 + # source://prism//lib/prism/translation/ripper.rb#72 def lex(src, filename = T.unsafe(nil), lineno = T.unsafe(nil), raise_errors: T.unsafe(nil)); end # Parses the given Ruby program read from +src+. # +src+ must be a String or an IO or a object with a #gets method. # - # source://prism/lib/prism/translation/ripper.rb#46 + # source://prism//lib/prism/translation/ripper.rb#46 def parse(src, filename = T.unsafe(nil), lineno = T.unsafe(nil)); end # Parses +src+ and create S-exp tree. @@ -37273,7 +37273,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # [:paren, [:params, [[:@ident, "a", [1, 6]]], nil, nil, nil, nil, nil, nil]], # [:bodystmt, [[:var_ref, [:@kw, "nil", [1, 9]]]], nil, nil, nil]]]] # - # source://prism/lib/prism/translation/ripper.rb#381 + # source://prism//lib/prism/translation/ripper.rb#381 def sexp(src, filename = T.unsafe(nil), lineno = T.unsafe(nil), raise_errors: T.unsafe(nil)); end # Parses +src+ and create S-exp tree. @@ -37299,637 +37299,637 @@ class Prism::Translation::Ripper < ::Prism::Compiler # nil, # nil]]]] # - # source://prism/lib/prism/translation/ripper.rb#416 + # source://prism//lib/prism/translation/ripper.rb#416 def sexp_raw(src, filename = T.unsafe(nil), lineno = T.unsafe(nil), raise_errors: T.unsafe(nil)); end end end # A list of all of the Ruby binary operators. # -# source://prism/lib/prism/translation/ripper.rb#337 +# source://prism//lib/prism/translation/ripper.rb#337 Prism::Translation::Ripper::BINARY_OPERATORS = T.let(T.unsafe(nil), Array) # This array contains name of all ripper events. # -# source://prism/lib/prism/translation/ripper.rb#289 +# source://prism//lib/prism/translation/ripper.rb#289 Prism::Translation::Ripper::EVENTS = T.let(T.unsafe(nil), Array) # A list of all of the Ruby keywords. # -# source://prism/lib/prism/translation/ripper.rb#292 +# source://prism//lib/prism/translation/ripper.rb#292 Prism::Translation::Ripper::KEYWORDS = T.let(T.unsafe(nil), Array) # This array contains name of parser events. # -# source://prism/lib/prism/translation/ripper.rb#283 +# source://prism//lib/prism/translation/ripper.rb#283 Prism::Translation::Ripper::PARSER_EVENTS = T.let(T.unsafe(nil), Array) # This contains a table of all of the parser events and their # corresponding arity. # -# source://prism/lib/prism/translation/ripper.rb#84 +# source://prism//lib/prism/translation/ripper.rb#84 Prism::Translation::Ripper::PARSER_EVENT_TABLE = T.let(T.unsafe(nil), Hash) # This array contains name of scanner events. # -# source://prism/lib/prism/translation/ripper.rb#286 +# source://prism//lib/prism/translation/ripper.rb#286 Prism::Translation::Ripper::SCANNER_EVENTS = T.let(T.unsafe(nil), Array) # This contains a table of all of the scanner events and their # corresponding arity. # -# source://prism/lib/prism/translation/ripper.rb#227 +# source://prism//lib/prism/translation/ripper.rb#227 Prism::Translation::Ripper::SCANNER_EVENT_TABLE = T.let(T.unsafe(nil), Hash) # This class mirrors the ::Ripper::SexpBuilder subclass of ::Ripper that # returns the arrays of [type, *children]. # -# source://prism/lib/prism/translation/ripper/sexp.rb#10 +# source://prism//lib/prism/translation/ripper/sexp.rb#10 class Prism::Translation::Ripper::SexpBuilder < ::Prism::Translation::Ripper # :stopdoc: # - # source://prism/lib/prism/translation/ripper/sexp.rb#13 + # source://prism//lib/prism/translation/ripper/sexp.rb#13 def error; end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_BEGIN(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_CHAR(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_END(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on___end__(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_alias(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_alias_error(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aref(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aref_field(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_arg_ambiguous(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_arg_paren(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add_block(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add_star(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_forward(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_array(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aryptn(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assign(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assign_error(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoc_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoc_splat(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoclist_from_args(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_backref(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_backtick(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_bare_assoc_hash(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_begin(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_binary(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_block_var(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_blockarg(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_bodystmt(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_brace_block(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_break(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_call(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_case(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_class(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_class_name_error(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_comma(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_command(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_command_call(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_comment(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_const(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_path_field(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_path_ref(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_ref(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_cvar(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_def(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_defined(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_defs(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_do_block(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dot2(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dot3(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dyna_symbol(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_else(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_elsif(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embexpr_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embexpr_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embvar(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_ensure(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_excessed_comma(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_fcall(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_field(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_float(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_fndptn(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_for(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_gvar(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_hash(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_heredoc_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_heredoc_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_hshptn(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ident(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_if(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_if_mod(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_ifop(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ignored_nl(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ignored_sp(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_imaginary(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_in(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_int(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ivar(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_kw(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_kwrest_param(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_label(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_label_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_lambda(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lbrace(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lbracket(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lparen(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_magic_comment(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_massign(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_method_add_arg(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_method_add_block(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add_post(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add_star(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_paren(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_module(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_add_star(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_new_from_args(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_next(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_nl(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_nokw_param(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_op(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_opassign(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_operator_ambiguous(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_param_error(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_params(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_paren(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_period(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_program(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qsymbols_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_qsymbols_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qsymbols_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qwords_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_qwords_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qwords_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rational(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rbrace(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rbracket(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_redo(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_regexp_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_regexp_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_literal(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rescue(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rescue_mod(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rest_param(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_retry(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_return(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_return0(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rparen(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_sclass(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_semicolon(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_sp(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_stmts_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_stmts_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_concat(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_content(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_dvar(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_embexpr(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_literal(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_super(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_symbeg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbol(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbol_literal(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbols_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_symbols_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbols_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tlambda(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tlambeg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_top_const_field(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_top_const_ref(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_content(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_end(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unary(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_undef(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unless(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unless_mod(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_until(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_until_mod(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_alias(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_field(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_ref(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_vcall(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_void_stmt(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_when(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_while(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_while_mod(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_word_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_word_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_words_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_words_beg(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_words_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_words_sep(tok); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_add(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_literal(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_new(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_yield(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_yield0(*args); end - # source://prism/lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_zsuper(*args); end private - # source://prism/lib/prism/translation/ripper/sexp.rb#61 + # source://prism//lib/prism/translation/ripper/sexp.rb#66 def compile_error(mesg); end - # source://prism/lib/prism/translation/ripper/sexp.rb#17 + # source://prism//lib/prism/translation/ripper/sexp.rb#17 def dedent_element(e, width); end - # source://prism/lib/prism/translation/ripper/sexp.rb#61 + # source://prism//lib/prism/translation/ripper/sexp.rb#61 def on_error(mesg); end - # source://prism/lib/prism/translation/ripper/sexp.rb#24 + # source://prism//lib/prism/translation/ripper/sexp.rb#24 def on_heredoc_dedent(val, width); end - # source://prism/lib/prism/translation/ripper/sexp.rb#61 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_parse_error(mesg); end end @@ -37937,113 +37937,113 @@ end # returns the same values as ::Ripper::SexpBuilder except with a couple of # niceties that flatten linked lists into arrays. # -# source://prism/lib/prism/translation/ripper/sexp.rb#74 +# source://prism//lib/prism/translation/ripper/sexp.rb#74 class Prism::Translation::Ripper::SexpBuilderPP < ::Prism::Translation::Ripper::SexpBuilder private - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#92 def _dispatch_event_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#96 def _dispatch_event_push(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_args_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_args_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#79 + # source://prism//lib/prism/translation/ripper/sexp.rb#79 def on_heredoc_dedent(val, width); end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_mlhs_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#109 + # source://prism//lib/prism/translation/ripper/sexp.rb#109 def on_mlhs_add_post(list, post); end - # source://prism/lib/prism/translation/ripper/sexp.rb#105 + # source://prism//lib/prism/translation/ripper/sexp.rb#105 def on_mlhs_add_star(list, star); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_mlhs_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#101 + # source://prism//lib/prism/translation/ripper/sexp.rb#101 def on_mlhs_paren(list); end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_mrhs_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_mrhs_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_qsymbols_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_qsymbols_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_qwords_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_qwords_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_regexp_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_regexp_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_stmts_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_stmts_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_string_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_symbols_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_symbols_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_word_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_word_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_words_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_words_new; end - # source://prism/lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_xstring_add(list, item); end - # source://prism/lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_xstring_new; end end # This module is the entry-point for converting a prism syntax tree into the # seattlerb/ruby_parser gem's syntax tree. # -# source://prism/lib/prism/translation/ruby_parser.rb#14 +# source://prism//lib/prism/translation/ruby_parser.rb#14 class Prism::Translation::RubyParser # Parse the given source and translate it into the seattlerb/ruby_parser # gem's Sexp format. # - # source://prism/lib/prism/translation/ruby_parser.rb#1607 + # source://prism//lib/prism/translation/ruby_parser.rb#1607 def parse(source, filepath = T.unsafe(nil)); end # Parse the given file and translate it into the seattlerb/ruby_parser # gem's Sexp format. # - # source://prism/lib/prism/translation/ruby_parser.rb#1613 + # source://prism//lib/prism/translation/ruby_parser.rb#1613 def parse_file(filepath); end private @@ -38051,100 +38051,100 @@ class Prism::Translation::RubyParser # Translate the given parse result and filepath into the # seattlerb/ruby_parser gem's Sexp format. # - # source://prism/lib/prism/translation/ruby_parser.rb#1635 + # source://prism//lib/prism/translation/ruby_parser.rb#1635 def translate(result, filepath); end class << self # Parse the given source and translate it into the seattlerb/ruby_parser # gem's Sexp format. # - # source://prism/lib/prism/translation/ruby_parser.rb#1620 + # source://prism//lib/prism/translation/ruby_parser.rb#1620 def parse(source, filepath = T.unsafe(nil)); end # Parse the given file and translate it into the seattlerb/ruby_parser # gem's Sexp format. # - # source://prism/lib/prism/translation/ruby_parser.rb#1626 + # source://prism//lib/prism/translation/ruby_parser.rb#1626 def parse_file(filepath); end end end # A prism visitor that builds Sexp objects. # -# source://prism/lib/prism/translation/ruby_parser.rb#16 +# source://prism//lib/prism/translation/ruby_parser.rb#16 class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # Initialize a new compiler with the given file name. # # @return [Compiler] a new instance of Compiler # - # source://prism/lib/prism/translation/ruby_parser.rb#31 + # source://prism//lib/prism/translation/ruby_parser.rb#31 def initialize(file, in_def: T.unsafe(nil), in_pattern: T.unsafe(nil)); end # This is the name of the file that we are compiling. We set it on every # Sexp object that is generated, and also use it to compile __FILE__ # nodes. # - # source://prism/lib/prism/translation/ruby_parser.rb#20 + # source://prism//lib/prism/translation/ruby_parser.rb#20 def file; end # Class variables will change their type based on if they are inside of # a method definition or not, so we need to track that state. # - # source://prism/lib/prism/translation/ruby_parser.rb#24 + # source://prism//lib/prism/translation/ruby_parser.rb#24 def in_def; end # Some nodes will change their representation if they are inside of a # pattern, so we need to track that state. # - # source://prism/lib/prism/translation/ruby_parser.rb#28 + # source://prism//lib/prism/translation/ruby_parser.rb#28 def in_pattern; end # alias $foo $bar # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#45 + # source://prism//lib/prism/translation/ruby_parser.rb#45 def visit_alias_global_variable_node(node); end # alias foo bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#39 + # source://prism//lib/prism/translation/ruby_parser.rb#39 def visit_alias_method_node(node); end # foo => bar | baz # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#51 + # source://prism//lib/prism/translation/ruby_parser.rb#51 def visit_alternation_pattern_node(node); end # a and b # ^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#57 + # source://prism//lib/prism/translation/ruby_parser.rb#57 def visit_and_node(node); end # foo(bar) # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#108 + # source://prism//lib/prism/translation/ruby_parser.rb#108 def visit_arguments_node(node); end # [] # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#75 + # source://prism//lib/prism/translation/ruby_parser.rb#75 def visit_array_node(node); end # foo => [bar] # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#85 + # source://prism//lib/prism/translation/ruby_parser.rb#85 def visit_array_pattern_node(node); end # { a: 1 } # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#114 + # source://prism//lib/prism/translation/ruby_parser.rb#114 def visit_assoc_node(node); end # def foo(**); bar(**); end @@ -38153,47 +38153,47 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # { **foo } # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#123 + # source://prism//lib/prism/translation/ruby_parser.rb#123 def visit_assoc_splat_node(node); end # $+ # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#133 + # source://prism//lib/prism/translation/ruby_parser.rb#133 def visit_back_reference_read_node(node); end # begin end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#139 + # source://prism//lib/prism/translation/ruby_parser.rb#139 def visit_begin_node(node); end # foo(&bar) # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#172 + # source://prism//lib/prism/translation/ruby_parser.rb#172 def visit_block_argument_node(node); end # foo { |; bar| } # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#180 + # source://prism//lib/prism/translation/ruby_parser.rb#180 def visit_block_local_variable_node(node); end # A block on a keyword or method call. # - # source://prism/lib/prism/translation/ruby_parser.rb#185 + # source://prism//lib/prism/translation/ruby_parser.rb#185 def visit_block_node(node); end # def foo(&bar); end # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#191 + # source://prism//lib/prism/translation/ruby_parser.rb#191 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism/lib/prism/translation/ruby_parser.rb#196 + # source://prism//lib/prism/translation/ruby_parser.rb#196 def visit_block_parameters_node(node); end # break @@ -38202,13 +38202,13 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # break foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#236 + # source://prism//lib/prism/translation/ruby_parser.rb#236 def visit_break_node(node); end # foo.bar &&= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#304 + # source://prism//lib/prism/translation/ruby_parser.rb#304 def visit_call_and_write_node(node); end # foo @@ -38220,79 +38220,79 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # foo.bar() {} # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#254 + # source://prism//lib/prism/translation/ruby_parser.rb#254 def visit_call_node(node); end # foo.bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#294 + # source://prism//lib/prism/translation/ruby_parser.rb#294 def visit_call_operator_write_node(node); end # foo.bar ||= baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#314 + # source://prism//lib/prism/translation/ruby_parser.rb#314 def visit_call_or_write_node(node); end # foo.bar, = 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#337 + # source://prism//lib/prism/translation/ruby_parser.rb#337 def visit_call_target_node(node); end # foo => bar => baz # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#343 + # source://prism//lib/prism/translation/ruby_parser.rb#343 def visit_capture_pattern_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#355 + # source://prism//lib/prism/translation/ruby_parser.rb#355 def visit_case_match_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#349 + # source://prism//lib/prism/translation/ruby_parser.rb#349 def visit_case_node(node); end # class Foo; end # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#361 + # source://prism//lib/prism/translation/ruby_parser.rb#361 def visit_class_node(node); end # @@foo &&= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#402 + # source://prism//lib/prism/translation/ruby_parser.rb#402 def visit_class_variable_and_write_node(node); end # @@foo += bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#396 + # source://prism//lib/prism/translation/ruby_parser.rb#396 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#408 + # source://prism//lib/prism/translation/ruby_parser.rb#408 def visit_class_variable_or_write_node(node); end # @@foo # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#381 + # source://prism//lib/prism/translation/ruby_parser.rb#381 def visit_class_variable_read_node(node); end # @@foo, = bar # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#414 + # source://prism//lib/prism/translation/ruby_parser.rb#414 def visit_class_variable_target_node(node); end # @@foo = 1 @@ -38301,55 +38301,55 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # @@foo, @@bar = 1 # ^^^^^ ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#390 + # source://prism//lib/prism/translation/ruby_parser.rb#390 def visit_class_variable_write_node(node); end # Foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#447 + # source://prism//lib/prism/translation/ruby_parser.rb#447 def visit_constant_and_write_node(node); end # Foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#441 + # source://prism//lib/prism/translation/ruby_parser.rb#441 def visit_constant_operator_write_node(node); end # Foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#453 + # source://prism//lib/prism/translation/ruby_parser.rb#453 def visit_constant_or_write_node(node); end # Foo::Bar &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#490 + # source://prism//lib/prism/translation/ruby_parser.rb#490 def visit_constant_path_and_write_node(node); end # Foo::Bar # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#465 + # source://prism//lib/prism/translation/ruby_parser.rb#465 def visit_constant_path_node(node); end # Foo::Bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#484 + # source://prism//lib/prism/translation/ruby_parser.rb#484 def visit_constant_path_operator_write_node(node); end # Foo::Bar ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#496 + # source://prism//lib/prism/translation/ruby_parser.rb#496 def visit_constant_path_or_write_node(node); end # Foo::Bar, = baz # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#502 + # source://prism//lib/prism/translation/ruby_parser.rb#502 def visit_constant_path_target_node(node); end # Foo::Bar = 1 @@ -38358,19 +38358,19 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # Foo::Foo, Bar::Bar = 1 # ^^^^^^^^ ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#478 + # source://prism//lib/prism/translation/ruby_parser.rb#478 def visit_constant_path_write_node(node); end # Foo # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#426 + # source://prism//lib/prism/translation/ruby_parser.rb#426 def visit_constant_read_node(node); end # Foo, = bar # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#459 + # source://prism//lib/prism/translation/ruby_parser.rb#459 def visit_constant_target_node(node); end # Foo = 1 @@ -38379,7 +38379,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # Foo, Bar = 1 # ^^^ ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#435 + # source://prism//lib/prism/translation/ruby_parser.rb#435 def visit_constant_write_node(node); end # def foo; end @@ -38388,7 +38388,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # def self.foo; end # ^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#518 + # source://prism//lib/prism/translation/ruby_parser.rb#518 def visit_def_node(node); end # defined? a @@ -38397,73 +38397,73 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # defined?(a) # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#549 + # source://prism//lib/prism/translation/ruby_parser.rb#549 def visit_defined_node(node); end # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#555 + # source://prism//lib/prism/translation/ruby_parser.rb#555 def visit_else_node(node); end # "foo #{bar}" # ^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#561 + # source://prism//lib/prism/translation/ruby_parser.rb#561 def visit_embedded_statements_node(node); end # "foo #@bar" # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#569 + # source://prism//lib/prism/translation/ruby_parser.rb#569 def visit_embedded_variable_node(node); end # begin; foo; ensure; bar; end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#575 + # source://prism//lib/prism/translation/ruby_parser.rb#575 def visit_ensure_node(node); end # false # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#581 + # source://prism//lib/prism/translation/ruby_parser.rb#581 def visit_false_node(node); end # foo => [*, bar, *] # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#587 + # source://prism//lib/prism/translation/ruby_parser.rb#587 def visit_find_pattern_node(node); end # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#593 + # source://prism//lib/prism/translation/ruby_parser.rb#593 def visit_flip_flop_node(node); end # 1.0 # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#603 + # source://prism//lib/prism/translation/ruby_parser.rb#603 def visit_float_node(node); end # for foo in bar do end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#609 + # source://prism//lib/prism/translation/ruby_parser.rb#609 def visit_for_node(node); end # def foo(...); bar(...); end # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#615 + # source://prism//lib/prism/translation/ruby_parser.rb#615 def visit_forwarding_arguments_node(node); end # def foo(...); end # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#621 + # source://prism//lib/prism/translation/ruby_parser.rb#621 def visit_forwarding_parameter_node(node); end # super @@ -38472,37 +38472,37 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # super {} # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#630 + # source://prism//lib/prism/translation/ruby_parser.rb#630 def visit_forwarding_super_node(node); end # $foo &&= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#657 + # source://prism//lib/prism/translation/ruby_parser.rb#657 def visit_global_variable_and_write_node(node); end # $foo += bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#651 + # source://prism//lib/prism/translation/ruby_parser.rb#651 def visit_global_variable_operator_write_node(node); end # $foo ||= bar # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#663 + # source://prism//lib/prism/translation/ruby_parser.rb#663 def visit_global_variable_or_write_node(node); end # $foo # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#636 + # source://prism//lib/prism/translation/ruby_parser.rb#636 def visit_global_variable_read_node(node); end # $foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#669 + # source://prism//lib/prism/translation/ruby_parser.rb#669 def visit_global_variable_target_node(node); end # $foo = 1 @@ -38511,19 +38511,19 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # $foo, $bar = 1 # ^^^^ ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#645 + # source://prism//lib/prism/translation/ruby_parser.rb#645 def visit_global_variable_write_node(node); end # {} # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#675 + # source://prism//lib/prism/translation/ruby_parser.rb#675 def visit_hash_node(node); end # foo => {} # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#681 + # source://prism//lib/prism/translation/ruby_parser.rb#681 def visit_hash_pattern_node(node); end # if foo then bar end @@ -38535,80 +38535,80 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # foo ? bar : baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#702 + # source://prism//lib/prism/translation/ruby_parser.rb#702 def visit_if_node(node); end # 1i # - # source://prism/lib/prism/translation/ruby_parser.rb#707 + # source://prism//lib/prism/translation/ruby_parser.rb#707 def visit_imaginary_node(node); end # { foo: } # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#713 + # source://prism//lib/prism/translation/ruby_parser.rb#713 def visit_implicit_node(node); end # foo { |bar,| } # ^ # - # source://prism/lib/prism/translation/ruby_parser.rb#718 + # source://prism//lib/prism/translation/ruby_parser.rb#718 def visit_implicit_rest_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#723 + # source://prism//lib/prism/translation/ruby_parser.rb#723 def visit_in_node(node); end # foo[bar] &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#749 + # source://prism//lib/prism/translation/ruby_parser.rb#749 def visit_index_and_write_node(node); end # foo[bar] += baz # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#736 + # source://prism//lib/prism/translation/ruby_parser.rb#736 def visit_index_operator_write_node(node); end # foo[bar] ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#762 + # source://prism//lib/prism/translation/ruby_parser.rb#762 def visit_index_or_write_node(node); end # foo[bar], = 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#775 + # source://prism//lib/prism/translation/ruby_parser.rb#775 def visit_index_target_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#805 + # source://prism//lib/prism/translation/ruby_parser.rb#805 def visit_instance_variable_and_write_node(node); end # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#799 + # source://prism//lib/prism/translation/ruby_parser.rb#799 def visit_instance_variable_operator_write_node(node); end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#811 + # source://prism//lib/prism/translation/ruby_parser.rb#811 def visit_instance_variable_or_write_node(node); end # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#784 + # source://prism//lib/prism/translation/ruby_parser.rb#784 def visit_instance_variable_read_node(node); end # @foo, = bar # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#817 + # source://prism//lib/prism/translation/ruby_parser.rb#817 def visit_instance_variable_target_node(node); end # ^^^^^^^^ @@ -38616,55 +38616,55 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # @foo, @bar = 1 # ^^^^ ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#793 + # source://prism//lib/prism/translation/ruby_parser.rb#793 def visit_instance_variable_write_node(node); end # 1 # ^ # - # source://prism/lib/prism/translation/ruby_parser.rb#823 + # source://prism//lib/prism/translation/ruby_parser.rb#823 def visit_integer_node(node); end # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#829 + # source://prism//lib/prism/translation/ruby_parser.rb#829 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#846 + # source://prism//lib/prism/translation/ruby_parser.rb#846 def visit_interpolated_regular_expression_node(node); end # "foo #{bar}" # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#861 + # source://prism//lib/prism/translation/ruby_parser.rb#861 def visit_interpolated_string_node(node); end # :"foo #{bar}" # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#868 + # source://prism//lib/prism/translation/ruby_parser.rb#868 def visit_interpolated_symbol_node(node); end # `foo #{bar}` # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#875 + # source://prism//lib/prism/translation/ruby_parser.rb#875 def visit_interpolated_x_string_node(node); end # -> { it } # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#956 + # source://prism//lib/prism/translation/ruby_parser.rb#956 def visit_it_local_variable_read_node(node); end # foo(bar: baz) # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#962 + # source://prism//lib/prism/translation/ruby_parser.rb#962 def visit_keyword_hash_node(node); end # def foo(**bar); end @@ -38673,42 +38673,42 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # def foo(**); end # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#971 + # source://prism//lib/prism/translation/ruby_parser.rb#971 def visit_keyword_rest_parameter_node(node); end # -> {} # - # source://prism/lib/prism/translation/ruby_parser.rb#976 + # source://prism//lib/prism/translation/ruby_parser.rb#976 def visit_lambda_node(node); end # foo &&= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1019 + # source://prism//lib/prism/translation/ruby_parser.rb#1019 def visit_local_variable_and_write_node(node); end # foo += bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1013 + # source://prism//lib/prism/translation/ruby_parser.rb#1013 def visit_local_variable_operator_write_node(node); end # foo ||= bar # ^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1025 + # source://prism//lib/prism/translation/ruby_parser.rb#1025 def visit_local_variable_or_write_node(node); end # foo # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#994 + # source://prism//lib/prism/translation/ruby_parser.rb#994 def visit_local_variable_read_node(node); end # foo, = bar # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1031 + # source://prism//lib/prism/translation/ruby_parser.rb#1031 def visit_local_variable_target_node(node); end # foo = 1 @@ -38717,56 +38717,56 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # foo, bar = 1 # ^^^ ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1007 + # source://prism//lib/prism/translation/ruby_parser.rb#1007 def visit_local_variable_write_node(node); end # if /foo/ then end # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1037 + # source://prism//lib/prism/translation/ruby_parser.rb#1037 def visit_match_last_line_node(node); end # foo in bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1043 + # source://prism//lib/prism/translation/ruby_parser.rb#1043 def visit_match_predicate_node(node); end # foo => bar # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1049 + # source://prism//lib/prism/translation/ruby_parser.rb#1049 def visit_match_required_node(node); end # /(?foo)/ =~ bar # ^^^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1055 + # source://prism//lib/prism/translation/ruby_parser.rb#1055 def visit_match_write_node(node); end # A node that is missing from the syntax tree. This is only used in the # case of a syntax error. The parser gem doesn't have such a concept, so # we invent our own here. # - # source://prism/lib/prism/translation/ruby_parser.rb#1062 + # source://prism//lib/prism/translation/ruby_parser.rb#1062 def visit_missing_node(node); end # module Foo; end # ^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1068 + # source://prism//lib/prism/translation/ruby_parser.rb#1068 def visit_module_node(node); end # foo, bar = baz # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1088 + # source://prism//lib/prism/translation/ruby_parser.rb#1088 def visit_multi_target_node(node); end # foo, bar = baz # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1098 + # source://prism//lib/prism/translation/ruby_parser.rb#1098 def visit_multi_write_node(node); end # next @@ -38775,55 +38775,55 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # next foo # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1122 + # source://prism//lib/prism/translation/ruby_parser.rb#1122 def visit_next_node(node); end # nil # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1135 + # source://prism//lib/prism/translation/ruby_parser.rb#1135 def visit_nil_node(node); end # def foo(**nil); end # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1141 + # source://prism//lib/prism/translation/ruby_parser.rb#1141 def visit_no_keywords_parameter_node(node); end # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1147 + # source://prism//lib/prism/translation/ruby_parser.rb#1147 def visit_numbered_parameters_node(node); end # $1 # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1153 + # source://prism//lib/prism/translation/ruby_parser.rb#1153 def visit_numbered_reference_read_node(node); end # def foo(bar: baz); end # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1159 + # source://prism//lib/prism/translation/ruby_parser.rb#1159 def visit_optional_keyword_parameter_node(node); end # def foo(bar = 1); end # ^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1165 + # source://prism//lib/prism/translation/ruby_parser.rb#1165 def visit_optional_parameter_node(node); end # a or b # ^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1171 + # source://prism//lib/prism/translation/ruby_parser.rb#1171 def visit_or_node(node); end # def foo(bar, *baz); end # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1189 + # source://prism//lib/prism/translation/ruby_parser.rb#1189 def visit_parameters_node(node); end # () @@ -38832,82 +38832,82 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # (1) # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1227 + # source://prism//lib/prism/translation/ruby_parser.rb#1227 def visit_parentheses_node(node); end # foo => ^(bar) # ^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1237 + # source://prism//lib/prism/translation/ruby_parser.rb#1237 def visit_pinned_expression_node(node); end # foo = 1 and bar => ^foo # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1243 + # source://prism//lib/prism/translation/ruby_parser.rb#1243 def visit_pinned_variable_node(node); end # END {} # - # source://prism/lib/prism/translation/ruby_parser.rb#1252 + # source://prism//lib/prism/translation/ruby_parser.rb#1252 def visit_post_execution_node(node); end # BEGIN {} # - # source://prism/lib/prism/translation/ruby_parser.rb#1257 + # source://prism//lib/prism/translation/ruby_parser.rb#1257 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism/lib/prism/translation/ruby_parser.rb#1262 + # source://prism//lib/prism/translation/ruby_parser.rb#1262 def visit_program_node(node); end # 0..5 # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1268 + # source://prism//lib/prism/translation/ruby_parser.rb#1268 def visit_range_node(node); end # 1r # ^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1290 + # source://prism//lib/prism/translation/ruby_parser.rb#1290 def visit_rational_node(node); end # redo # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1296 + # source://prism//lib/prism/translation/ruby_parser.rb#1296 def visit_redo_node(node); end # /foo/ # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1302 + # source://prism//lib/prism/translation/ruby_parser.rb#1302 def visit_regular_expression_node(node); end # def foo(bar:); end # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1308 + # source://prism//lib/prism/translation/ruby_parser.rb#1308 def visit_required_keyword_parameter_node(node); end # def foo(bar); end # ^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1314 + # source://prism//lib/prism/translation/ruby_parser.rb#1314 def visit_required_parameter_node(node); end # foo rescue bar # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1320 + # source://prism//lib/prism/translation/ruby_parser.rb#1320 def visit_rescue_modifier_node(node); end # begin; rescue; end # ^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1326 + # source://prism//lib/prism/translation/ruby_parser.rb#1326 def visit_rescue_node(node); end # def foo(*bar); end @@ -38916,13 +38916,13 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # def foo(*); end # ^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1346 + # source://prism//lib/prism/translation/ruby_parser.rb#1346 def visit_rest_parameter_node(node); end # retry # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1352 + # source://prism//lib/prism/translation/ruby_parser.rb#1352 def visit_retry_node(node); end # return @@ -38931,42 +38931,42 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # return 1 # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1361 + # source://prism//lib/prism/translation/ruby_parser.rb#1361 def visit_return_node(node); end # self # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1374 + # source://prism//lib/prism/translation/ruby_parser.rb#1374 def visit_self_node(node); end # A shareable constant. # - # source://prism/lib/prism/translation/ruby_parser.rb#1379 + # source://prism//lib/prism/translation/ruby_parser.rb#1379 def visit_shareable_constant_node(node); end # class << self; end # ^^^^^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1385 + # source://prism//lib/prism/translation/ruby_parser.rb#1385 def visit_singleton_class_node(node); end # __ENCODING__ # ^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1393 + # source://prism//lib/prism/translation/ruby_parser.rb#1393 def visit_source_encoding_node(node); end # __FILE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1400 + # source://prism//lib/prism/translation/ruby_parser.rb#1400 def visit_source_file_node(node); end # __LINE__ # ^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1406 + # source://prism//lib/prism/translation/ruby_parser.rb#1406 def visit_source_line_node(node); end # foo(*bar) @@ -38978,42 +38978,42 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # def foo(*); bar(*); end # ^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1418 + # source://prism//lib/prism/translation/ruby_parser.rb#1418 def visit_splat_node(node); end # A list of statements. # - # source://prism/lib/prism/translation/ruby_parser.rb#1427 + # source://prism//lib/prism/translation/ruby_parser.rb#1427 def visit_statements_node(node); end # "foo" # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1439 + # source://prism//lib/prism/translation/ruby_parser.rb#1439 def visit_string_node(node); end # super(foo) # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1451 + # source://prism//lib/prism/translation/ruby_parser.rb#1451 def visit_super_node(node); end # :foo # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1465 + # source://prism//lib/prism/translation/ruby_parser.rb#1465 def visit_symbol_node(node); end # true # ^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1471 + # source://prism//lib/prism/translation/ruby_parser.rb#1471 def visit_true_node(node); end # undef foo # ^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1477 + # source://prism//lib/prism/translation/ruby_parser.rb#1477 def visit_undef_node(node); end # unless foo; bar end @@ -39022,7 +39022,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # bar unless foo # ^^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1487 + # source://prism//lib/prism/translation/ruby_parser.rb#1487 def visit_unless_node(node); end # until foo; bar end @@ -39031,13 +39031,13 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # bar until foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1496 + # source://prism//lib/prism/translation/ruby_parser.rb#1496 def visit_until_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1502 + # source://prism//lib/prism/translation/ruby_parser.rb#1502 def visit_when_node(node); end # while foo; bar end @@ -39046,13 +39046,13 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # bar while foo # ^^^^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1511 + # source://prism//lib/prism/translation/ruby_parser.rb#1511 def visit_while_node(node); end # `foo` # ^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1517 + # source://prism//lib/prism/translation/ruby_parser.rb#1517 def visit_x_string_node(node); end # yield @@ -39061,7 +39061,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # yield 1 # ^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1533 + # source://prism//lib/prism/translation/ruby_parser.rb#1533 def visit_yield_node(node); end private @@ -39069,12 +39069,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # If a class variable is written within a method definition, it has a # different type than everywhere else. # - # source://prism/lib/prism/translation/ruby_parser.rb#420 + # source://prism//lib/prism/translation/ruby_parser.rb#420 def class_variable_write_type; end # Create a new compiler with the given options. # - # source://prism/lib/prism/translation/ruby_parser.rb#1540 + # source://prism//lib/prism/translation/ruby_parser.rb#1540 def copy_compiler(in_def: T.unsafe(nil), in_pattern: T.unsafe(nil)); end # Call nodes with operators following them will either be op_asgn or @@ -39083,53 +39083,53 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # # @return [Boolean] # - # source://prism/lib/prism/translation/ruby_parser.rb#325 + # source://prism//lib/prism/translation/ruby_parser.rb#325 def op_asgn?(node); end # Call nodes with operators following them can use &. as an operator, # which changes their type by prefixing "safe_". # - # source://prism/lib/prism/translation/ruby_parser.rb#331 + # source://prism//lib/prism/translation/ruby_parser.rb#331 def op_asgn_type(node, type); end # Create a new Sexp object from the given prism node and arguments. # - # source://prism/lib/prism/translation/ruby_parser.rb#1545 + # source://prism//lib/prism/translation/ruby_parser.rb#1545 def s(node, *arguments); end # Visit a block node, which will modify the AST by wrapping the given # visited node in an iter node. # - # source://prism/lib/prism/translation/ruby_parser.rb#1555 + # source://prism//lib/prism/translation/ruby_parser.rb#1555 def visit_block(node, sexp, block); end # def foo((bar, baz)); end # ^^^^^^^^^^ # - # source://prism/lib/prism/translation/ruby_parser.rb#1204 + # source://prism//lib/prism/translation/ruby_parser.rb#1204 def visit_destructured_parameter(node); end # Visit the interpolated content of the string-like node. # - # source://prism/lib/prism/translation/ruby_parser.rb#882 + # source://prism//lib/prism/translation/ruby_parser.rb#882 def visit_interpolated_parts(parts); end # Pattern constants get wrapped in another layer of :const. # - # source://prism/lib/prism/translation/ruby_parser.rb#1576 + # source://prism//lib/prism/translation/ruby_parser.rb#1576 def visit_pattern_constant(node); end # If the bounds of a range node are empty parentheses, then they do not # get replaced by their usual s(:nil), but instead are s(:begin). # - # source://prism/lib/prism/translation/ruby_parser.rb#1280 + # source://prism//lib/prism/translation/ruby_parser.rb#1280 def visit_range_bounds_node(node); end # Visit the value of a write, which will be on the right-hand side of # a write operator. Because implicit arrays can have splats, those could # potentially be wrapped in an svalue node. # - # source://prism/lib/prism/translation/ruby_parser.rb#1590 + # source://prism//lib/prism/translation/ruby_parser.rb#1590 def visit_write_value(node); end end @@ -39138,62 +39138,62 @@ end # true # ^^^^ # -# source://prism/lib/prism/node.rb#17336 +# source://prism//lib/prism/node.rb#17336 class Prism::TrueNode < ::Prism::Node # Initialize a new TrueNode node. # # @return [TrueNode] a new instance of TrueNode # - # source://prism/lib/prism/node.rb#17338 + # source://prism//lib/prism/node.rb#17338 sig { params(source: Prism::Source, node_id: Integer, location: Prism::Location, flags: Integer).void } def initialize(source, node_id, location, flags); end # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17395 + # source://prism//lib/prism/node.rb#17395 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17346 + # source://prism//lib/prism/node.rb#17346 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17351 + # source://prism//lib/prism/node.rb#17351 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17361 + # source://prism//lib/prism/node.rb#17361 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17356 + # source://prism//lib/prism/node.rb#17356 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer) -> TrueNode # - # source://prism/lib/prism/node.rb#17366 + # source://prism//lib/prism/node.rb#17366 sig { params(node_id: Integer, location: Prism::Location, flags: Integer).returns(Prism::TrueNode) } def copy(node_id: T.unsafe(nil), location: T.unsafe(nil), flags: T.unsafe(nil)); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17351 + # source://prism//lib/prism/node.rb#17371 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location } # - # source://prism/lib/prism/node.rb#17374 + # source://prism//lib/prism/node.rb#17374 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -39202,20 +39202,20 @@ class Prism::TrueNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17379 + # source://prism//lib/prism/node.rb#17379 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17384 + # source://prism//lib/prism/node.rb#17384 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17389 + # source://prism//lib/prism/node.rb#17389 def type; end end end @@ -39225,13 +39225,13 @@ end # undef :foo, :bar, :baz # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#17404 +# source://prism//lib/prism/node.rb#17404 class Prism::UndefNode < ::Prism::Node # Initialize a new UndefNode node. # # @return [UndefNode] a new instance of UndefNode # - # source://prism/lib/prism/node.rb#17406 + # source://prism//lib/prism/node.rb#17406 sig do params( source: Prism::Source, @@ -39247,36 +39247,36 @@ class Prism::UndefNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17486 + # source://prism//lib/prism/node.rb#17486 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17416 + # source://prism//lib/prism/node.rb#17416 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17421 + # source://prism//lib/prism/node.rb#17421 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17431 + # source://prism//lib/prism/node.rb#17431 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17426 + # source://prism//lib/prism/node.rb#17426 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?names: Array[SymbolNode | InterpolatedSymbolNode], ?keyword_loc: Location) -> UndefNode # - # source://prism/lib/prism/node.rb#17436 + # source://prism//lib/prism/node.rb#17436 sig do params( node_id: Integer, @@ -39291,13 +39291,13 @@ class Prism::UndefNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17421 + # source://prism//lib/prism/node.rb#17441 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, names: Array[SymbolNode | InterpolatedSymbolNode], keyword_loc: Location } # - # source://prism/lib/prism/node.rb#17444 + # source://prism//lib/prism/node.rb#17444 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -39306,44 +39306,44 @@ class Prism::UndefNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17470 + # source://prism//lib/prism/node.rb#17470 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#17465 + # source://prism//lib/prism/node.rb#17465 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#17452 + # source://prism//lib/prism/node.rb#17452 sig { returns(Prism::Location) } def keyword_loc; end # attr_reader names: Array[SymbolNode | InterpolatedSymbolNode] # - # source://prism/lib/prism/node.rb#17449 + # source://prism//lib/prism/node.rb#17449 sig { returns(T::Array[T.any(Prism::SymbolNode, Prism::InterpolatedSymbolNode)]) } def names; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17460 + # source://prism//lib/prism/node.rb#17460 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17475 + # source://prism//lib/prism/node.rb#17475 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17480 + # source://prism//lib/prism/node.rb#17480 def type; end end end @@ -39356,13 +39356,13 @@ end # unless foo then bar end # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#17501 +# source://prism//lib/prism/node.rb#17501 class Prism::UnlessNode < ::Prism::Node # Initialize a new UnlessNode node. # # @return [UnlessNode] a new instance of UnlessNode # - # source://prism/lib/prism/node.rb#17503 + # source://prism//lib/prism/node.rb#17503 sig do params( source: Prism::Source, @@ -39382,42 +39382,42 @@ class Prism::UnlessNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17670 + # source://prism//lib/prism/node.rb#17670 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17517 + # source://prism//lib/prism/node.rb#17517 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17522 + # source://prism//lib/prism/node.rb#17522 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17536 + # source://prism//lib/prism/node.rb#17536 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17527 + # source://prism//lib/prism/node.rb#17527 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # Returns the else clause of the unless node. This method is deprecated in # favor of #else_clause. # - # source://prism/lib/prism/node_ext.rb#503 + # source://prism//lib/prism/node_ext.rb#503 def consequent; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?predicate: Prism::node, ?then_keyword_loc: Location?, ?statements: StatementsNode?, ?else_clause: ElseNode?, ?end_keyword_loc: Location?) -> UnlessNode # - # source://prism/lib/prism/node.rb#17541 + # source://prism//lib/prism/node.rb#17541 sig do params( node_id: Integer, @@ -39436,13 +39436,13 @@ class Prism::UnlessNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17522 + # source://prism//lib/prism/node.rb#17546 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, predicate: Prism::node, then_keyword_loc: Location?, statements: StatementsNode?, else_clause: ElseNode?, end_keyword_loc: Location? } # - # source://prism/lib/prism/node.rb#17549 + # source://prism//lib/prism/node.rb#17549 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -39451,13 +39451,13 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar else baz end # ^^^^^^^^ # - # source://prism/lib/prism/node.rb#17614 + # source://prism//lib/prism/node.rb#17614 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String? # - # source://prism/lib/prism/node.rb#17649 + # source://prism//lib/prism/node.rb#17649 sig { returns(T.nilable(String)) } def end_keyword; end @@ -39466,7 +39466,7 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^ # - # source://prism/lib/prism/node.rb#17620 + # source://prism//lib/prism/node.rb#17620 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -39475,13 +39475,13 @@ class Prism::UnlessNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17654 + # source://prism//lib/prism/node.rb#17654 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#17639 + # source://prism//lib/prism/node.rb#17639 sig { returns(String) } def keyword; end @@ -39493,11 +39493,11 @@ class Prism::UnlessNode < ::Prism::Node # bar unless cond # ^^^^^^ # - # source://prism/lib/prism/node.rb#17560 + # source://prism//lib/prism/node.rb#17560 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism/lib/prism/parse_result/newlines.rb#97 + # source://prism//lib/prism/parse_result/newlines.rb#97 def newline_flag!(lines); end # The condition to be evaluated for the unless expression. It can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression). @@ -39508,26 +39508,26 @@ class Prism::UnlessNode < ::Prism::Node # bar unless cond # ^^^^ # - # source://prism/lib/prism/node.rb#17579 + # source://prism//lib/prism/node.rb#17579 sig { returns(Prism::Node) } def predicate; end # Save the end_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17634 + # source://prism//lib/prism/node.rb#17634 def save_end_keyword_loc(repository); end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17568 + # source://prism//lib/prism/node.rb#17568 def save_keyword_loc(repository); end # Save the then_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17599 + # source://prism//lib/prism/node.rb#17599 def save_then_keyword_loc(repository); end # The body of statements that will executed if the unless condition is @@ -39536,13 +39536,13 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^ # - # source://prism/lib/prism/node.rb#17608 + # source://prism//lib/prism/node.rb#17608 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then_keyword: () -> String? # - # source://prism/lib/prism/node.rb#17644 + # source://prism//lib/prism/node.rb#17644 sig { returns(T.nilable(String)) } def then_keyword; end @@ -39551,20 +39551,20 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^^ # - # source://prism/lib/prism/node.rb#17585 + # source://prism//lib/prism/node.rb#17585 sig { returns(T.nilable(Prism::Location)) } def then_keyword_loc; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17659 + # source://prism//lib/prism/node.rb#17659 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17664 + # source://prism//lib/prism/node.rb#17664 def type; end end end @@ -39577,13 +39577,13 @@ end # until foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#17688 +# source://prism//lib/prism/node.rb#17688 class Prism::UntilNode < ::Prism::Node # Initialize a new UntilNode node. # # @return [UntilNode] a new instance of UntilNode # - # source://prism/lib/prism/node.rb#17690 + # source://prism//lib/prism/node.rb#17690 sig do params( source: Prism::Source, @@ -39602,12 +39602,12 @@ class Prism::UntilNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17832 + # source://prism//lib/prism/node.rb#17832 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17703 + # source://prism//lib/prism/node.rb#17703 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -39615,43 +39615,43 @@ class Prism::UntilNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#17739 + # source://prism//lib/prism/node.rb#17739 sig { returns(T::Boolean) } def begin_modifier?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17708 + # source://prism//lib/prism/node.rb#17708 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#17811 + # source://prism//lib/prism/node.rb#17811 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#17776 + # source://prism//lib/prism/node.rb#17776 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17721 + # source://prism//lib/prism/node.rb#17721 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17713 + # source://prism//lib/prism/node.rb#17713 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?do_keyword_loc: Location?, ?closing_loc: Location?, ?predicate: Prism::node, ?statements: StatementsNode?) -> UntilNode # - # source://prism/lib/prism/node.rb#17726 + # source://prism//lib/prism/node.rb#17726 sig do params( node_id: Integer, @@ -39669,25 +39669,25 @@ class Prism::UntilNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17708 + # source://prism//lib/prism/node.rb#17731 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, do_keyword_loc: Location?, closing_loc: Location?, predicate: Prism::node, statements: StatementsNode? } # - # source://prism/lib/prism/node.rb#17734 + # source://prism//lib/prism/node.rb#17734 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def do_keyword: () -> String? # - # source://prism/lib/prism/node.rb#17806 + # source://prism//lib/prism/node.rb#17806 sig { returns(T.nilable(String)) } def do_keyword; end # attr_reader do_keyword_loc: Location? # - # source://prism/lib/prism/node.rb#17757 + # source://prism//lib/prism/node.rb#17757 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end @@ -39696,65 +39696,65 @@ class Prism::UntilNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17816 + # source://prism//lib/prism/node.rb#17816 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#17801 + # source://prism//lib/prism/node.rb#17801 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#17744 + # source://prism//lib/prism/node.rb#17744 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism/lib/prism/parse_result/newlines.rb#103 + # source://prism//lib/prism/parse_result/newlines.rb#103 def newline_flag!(lines); end # attr_reader predicate: Prism::node # - # source://prism/lib/prism/node.rb#17795 + # source://prism//lib/prism/node.rb#17795 sig { returns(Prism::Node) } def predicate; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17790 + # source://prism//lib/prism/node.rb#17790 def save_closing_loc(repository); end # Save the do_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17771 + # source://prism//lib/prism/node.rb#17771 def save_do_keyword_loc(repository); end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17752 + # source://prism//lib/prism/node.rb#17752 def save_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#17798 + # source://prism//lib/prism/node.rb#17798 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17821 + # source://prism//lib/prism/node.rb#17821 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17826 + # source://prism//lib/prism/node.rb#17826 def type; end end end @@ -39781,911 +39781,911 @@ Prism::VERSION = T.let(T.unsafe(nil), String) # end # end # -# source://prism/lib/prism/visitor.rb#54 +# source://prism//lib/prism/visitor.rb#54 class Prism::Visitor < ::Prism::BasicVisitor # Visit a AliasGlobalVariableNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#56 sig { params(node: Prism::AliasGlobalVariableNode).void } def visit_alias_global_variable_node(node); end # Visit a AliasMethodNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#59 sig { params(node: Prism::AliasMethodNode).void } def visit_alias_method_node(node); end # Visit a AlternationPatternNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#62 sig { params(node: Prism::AlternationPatternNode).void } def visit_alternation_pattern_node(node); end # Visit a AndNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#65 sig { params(node: Prism::AndNode).void } def visit_and_node(node); end # Visit a ArgumentsNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#68 sig { params(node: Prism::ArgumentsNode).void } def visit_arguments_node(node); end # Visit a ArrayNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#71 sig { params(node: Prism::ArrayNode).void } def visit_array_node(node); end # Visit a ArrayPatternNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#74 sig { params(node: Prism::ArrayPatternNode).void } def visit_array_pattern_node(node); end # Visit a AssocNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#77 sig { params(node: Prism::AssocNode).void } def visit_assoc_node(node); end # Visit a AssocSplatNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#80 sig { params(node: Prism::AssocSplatNode).void } def visit_assoc_splat_node(node); end # Visit a BackReferenceReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#83 sig { params(node: Prism::BackReferenceReadNode).void } def visit_back_reference_read_node(node); end # Visit a BeginNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#86 sig { params(node: Prism::BeginNode).void } def visit_begin_node(node); end # Visit a BlockArgumentNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#89 sig { params(node: Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end # Visit a BlockLocalVariableNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#92 sig { params(node: Prism::BlockLocalVariableNode).void } def visit_block_local_variable_node(node); end # Visit a BlockNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#95 sig { params(node: Prism::BlockNode).void } def visit_block_node(node); end # Visit a BlockParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#98 sig { params(node: Prism::BlockParameterNode).void } def visit_block_parameter_node(node); end # Visit a BlockParametersNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#101 sig { params(node: Prism::BlockParametersNode).void } def visit_block_parameters_node(node); end # Visit a BreakNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#104 sig { params(node: Prism::BreakNode).void } def visit_break_node(node); end # Visit a CallAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#107 sig { params(node: Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end # Visit a CallNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#110 sig { params(node: Prism::CallNode).void } def visit_call_node(node); end # Visit a CallOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#113 sig { params(node: Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end # Visit a CallOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#116 sig { params(node: Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end # Visit a CallTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#119 sig { params(node: Prism::CallTargetNode).void } def visit_call_target_node(node); end # Visit a CapturePatternNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#122 sig { params(node: Prism::CapturePatternNode).void } def visit_capture_pattern_node(node); end # Visit a CaseMatchNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#125 sig { params(node: Prism::CaseMatchNode).void } def visit_case_match_node(node); end # Visit a CaseNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#128 sig { params(node: Prism::CaseNode).void } def visit_case_node(node); end # Visit a ClassNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#131 sig { params(node: Prism::ClassNode).void } def visit_class_node(node); end # Visit a ClassVariableAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#134 sig { params(node: Prism::ClassVariableAndWriteNode).void } def visit_class_variable_and_write_node(node); end # Visit a ClassVariableOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#137 sig { params(node: Prism::ClassVariableOperatorWriteNode).void } def visit_class_variable_operator_write_node(node); end # Visit a ClassVariableOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#140 sig { params(node: Prism::ClassVariableOrWriteNode).void } def visit_class_variable_or_write_node(node); end # Visit a ClassVariableReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#143 sig { params(node: Prism::ClassVariableReadNode).void } def visit_class_variable_read_node(node); end # Visit a ClassVariableTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#146 sig { params(node: Prism::ClassVariableTargetNode).void } def visit_class_variable_target_node(node); end # Visit a ClassVariableWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#149 sig { params(node: Prism::ClassVariableWriteNode).void } def visit_class_variable_write_node(node); end # Visit a ConstantAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#152 sig { params(node: Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end # Visit a ConstantOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#155 sig { params(node: Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end # Visit a ConstantOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#158 sig { params(node: Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end # Visit a ConstantPathAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#161 sig { params(node: Prism::ConstantPathAndWriteNode).void } def visit_constant_path_and_write_node(node); end # Visit a ConstantPathNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#164 sig { params(node: Prism::ConstantPathNode).void } def visit_constant_path_node(node); end # Visit a ConstantPathOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#167 sig { params(node: Prism::ConstantPathOperatorWriteNode).void } def visit_constant_path_operator_write_node(node); end # Visit a ConstantPathOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#170 sig { params(node: Prism::ConstantPathOrWriteNode).void } def visit_constant_path_or_write_node(node); end # Visit a ConstantPathTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#173 sig { params(node: Prism::ConstantPathTargetNode).void } def visit_constant_path_target_node(node); end # Visit a ConstantPathWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#176 sig { params(node: Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end # Visit a ConstantReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#179 sig { params(node: Prism::ConstantReadNode).void } def visit_constant_read_node(node); end # Visit a ConstantTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#182 sig { params(node: Prism::ConstantTargetNode).void } def visit_constant_target_node(node); end # Visit a ConstantWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#185 sig { params(node: Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end # Visit a DefNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#188 sig { params(node: Prism::DefNode).void } def visit_def_node(node); end # Visit a DefinedNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#191 sig { params(node: Prism::DefinedNode).void } def visit_defined_node(node); end # Visit a ElseNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#194 sig { params(node: Prism::ElseNode).void } def visit_else_node(node); end # Visit a EmbeddedStatementsNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#197 sig { params(node: Prism::EmbeddedStatementsNode).void } def visit_embedded_statements_node(node); end # Visit a EmbeddedVariableNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#200 sig { params(node: Prism::EmbeddedVariableNode).void } def visit_embedded_variable_node(node); end # Visit a EnsureNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#203 sig { params(node: Prism::EnsureNode).void } def visit_ensure_node(node); end # Visit a FalseNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#206 sig { params(node: Prism::FalseNode).void } def visit_false_node(node); end # Visit a FindPatternNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#209 sig { params(node: Prism::FindPatternNode).void } def visit_find_pattern_node(node); end # Visit a FlipFlopNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#212 sig { params(node: Prism::FlipFlopNode).void } def visit_flip_flop_node(node); end # Visit a FloatNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#215 sig { params(node: Prism::FloatNode).void } def visit_float_node(node); end # Visit a ForNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#218 sig { params(node: Prism::ForNode).void } def visit_for_node(node); end # Visit a ForwardingArgumentsNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#221 sig { params(node: Prism::ForwardingArgumentsNode).void } def visit_forwarding_arguments_node(node); end # Visit a ForwardingParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#224 sig { params(node: Prism::ForwardingParameterNode).void } def visit_forwarding_parameter_node(node); end # Visit a ForwardingSuperNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#227 sig { params(node: Prism::ForwardingSuperNode).void } def visit_forwarding_super_node(node); end # Visit a GlobalVariableAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#230 sig { params(node: Prism::GlobalVariableAndWriteNode).void } def visit_global_variable_and_write_node(node); end # Visit a GlobalVariableOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#233 sig { params(node: Prism::GlobalVariableOperatorWriteNode).void } def visit_global_variable_operator_write_node(node); end # Visit a GlobalVariableOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#236 sig { params(node: Prism::GlobalVariableOrWriteNode).void } def visit_global_variable_or_write_node(node); end # Visit a GlobalVariableReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#239 sig { params(node: Prism::GlobalVariableReadNode).void } def visit_global_variable_read_node(node); end # Visit a GlobalVariableTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#242 sig { params(node: Prism::GlobalVariableTargetNode).void } def visit_global_variable_target_node(node); end # Visit a GlobalVariableWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#245 sig { params(node: Prism::GlobalVariableWriteNode).void } def visit_global_variable_write_node(node); end # Visit a HashNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#248 sig { params(node: Prism::HashNode).void } def visit_hash_node(node); end # Visit a HashPatternNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#251 sig { params(node: Prism::HashPatternNode).void } def visit_hash_pattern_node(node); end # Visit a IfNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#254 sig { params(node: Prism::IfNode).void } def visit_if_node(node); end # Visit a ImaginaryNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#257 sig { params(node: Prism::ImaginaryNode).void } def visit_imaginary_node(node); end # Visit a ImplicitNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#260 sig { params(node: Prism::ImplicitNode).void } def visit_implicit_node(node); end # Visit a ImplicitRestNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#263 sig { params(node: Prism::ImplicitRestNode).void } def visit_implicit_rest_node(node); end # Visit a InNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#266 sig { params(node: Prism::InNode).void } def visit_in_node(node); end # Visit a IndexAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#269 sig { params(node: Prism::IndexAndWriteNode).void } def visit_index_and_write_node(node); end # Visit a IndexOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#272 sig { params(node: Prism::IndexOperatorWriteNode).void } def visit_index_operator_write_node(node); end # Visit a IndexOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#275 sig { params(node: Prism::IndexOrWriteNode).void } def visit_index_or_write_node(node); end # Visit a IndexTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#278 sig { params(node: Prism::IndexTargetNode).void } def visit_index_target_node(node); end # Visit a InstanceVariableAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#281 sig { params(node: Prism::InstanceVariableAndWriteNode).void } def visit_instance_variable_and_write_node(node); end # Visit a InstanceVariableOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#284 sig { params(node: Prism::InstanceVariableOperatorWriteNode).void } def visit_instance_variable_operator_write_node(node); end # Visit a InstanceVariableOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#287 sig { params(node: Prism::InstanceVariableOrWriteNode).void } def visit_instance_variable_or_write_node(node); end # Visit a InstanceVariableReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#290 sig { params(node: Prism::InstanceVariableReadNode).void } def visit_instance_variable_read_node(node); end # Visit a InstanceVariableTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#293 sig { params(node: Prism::InstanceVariableTargetNode).void } def visit_instance_variable_target_node(node); end # Visit a InstanceVariableWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#296 sig { params(node: Prism::InstanceVariableWriteNode).void } def visit_instance_variable_write_node(node); end # Visit a IntegerNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#299 sig { params(node: Prism::IntegerNode).void } def visit_integer_node(node); end # Visit a InterpolatedMatchLastLineNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#302 sig { params(node: Prism::InterpolatedMatchLastLineNode).void } def visit_interpolated_match_last_line_node(node); end # Visit a InterpolatedRegularExpressionNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#305 sig { params(node: Prism::InterpolatedRegularExpressionNode).void } def visit_interpolated_regular_expression_node(node); end # Visit a InterpolatedStringNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#308 sig { params(node: Prism::InterpolatedStringNode).void } def visit_interpolated_string_node(node); end # Visit a InterpolatedSymbolNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#311 sig { params(node: Prism::InterpolatedSymbolNode).void } def visit_interpolated_symbol_node(node); end # Visit a InterpolatedXStringNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#314 sig { params(node: Prism::InterpolatedXStringNode).void } def visit_interpolated_x_string_node(node); end # Visit a ItLocalVariableReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#317 sig { params(node: Prism::ItLocalVariableReadNode).void } def visit_it_local_variable_read_node(node); end # Visit a ItParametersNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#320 sig { params(node: Prism::ItParametersNode).void } def visit_it_parameters_node(node); end # Visit a KeywordHashNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#323 sig { params(node: Prism::KeywordHashNode).void } def visit_keyword_hash_node(node); end # Visit a KeywordRestParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#326 sig { params(node: Prism::KeywordRestParameterNode).void } def visit_keyword_rest_parameter_node(node); end # Visit a LambdaNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#329 sig { params(node: Prism::LambdaNode).void } def visit_lambda_node(node); end # Visit a LocalVariableAndWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#332 sig { params(node: Prism::LocalVariableAndWriteNode).void } def visit_local_variable_and_write_node(node); end # Visit a LocalVariableOperatorWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#335 sig { params(node: Prism::LocalVariableOperatorWriteNode).void } def visit_local_variable_operator_write_node(node); end # Visit a LocalVariableOrWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#338 sig { params(node: Prism::LocalVariableOrWriteNode).void } def visit_local_variable_or_write_node(node); end # Visit a LocalVariableReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#341 sig { params(node: Prism::LocalVariableReadNode).void } def visit_local_variable_read_node(node); end # Visit a LocalVariableTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#344 sig { params(node: Prism::LocalVariableTargetNode).void } def visit_local_variable_target_node(node); end # Visit a LocalVariableWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#347 sig { params(node: Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end # Visit a MatchLastLineNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#350 sig { params(node: Prism::MatchLastLineNode).void } def visit_match_last_line_node(node); end # Visit a MatchPredicateNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#353 sig { params(node: Prism::MatchPredicateNode).void } def visit_match_predicate_node(node); end # Visit a MatchRequiredNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#356 sig { params(node: Prism::MatchRequiredNode).void } def visit_match_required_node(node); end # Visit a MatchWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#359 sig { params(node: Prism::MatchWriteNode).void } def visit_match_write_node(node); end # Visit a MissingNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#362 sig { params(node: Prism::MissingNode).void } def visit_missing_node(node); end # Visit a ModuleNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#365 sig { params(node: Prism::ModuleNode).void } def visit_module_node(node); end # Visit a MultiTargetNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#368 sig { params(node: Prism::MultiTargetNode).void } def visit_multi_target_node(node); end # Visit a MultiWriteNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#371 sig { params(node: Prism::MultiWriteNode).void } def visit_multi_write_node(node); end # Visit a NextNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#374 sig { params(node: Prism::NextNode).void } def visit_next_node(node); end # Visit a NilNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#377 sig { params(node: Prism::NilNode).void } def visit_nil_node(node); end # Visit a NoKeywordsParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#380 sig { params(node: Prism::NoKeywordsParameterNode).void } def visit_no_keywords_parameter_node(node); end # Visit a NumberedParametersNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#383 sig { params(node: Prism::NumberedParametersNode).void } def visit_numbered_parameters_node(node); end # Visit a NumberedReferenceReadNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#386 sig { params(node: Prism::NumberedReferenceReadNode).void } def visit_numbered_reference_read_node(node); end # Visit a OptionalKeywordParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#389 sig { params(node: Prism::OptionalKeywordParameterNode).void } def visit_optional_keyword_parameter_node(node); end # Visit a OptionalParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#392 sig { params(node: Prism::OptionalParameterNode).void } def visit_optional_parameter_node(node); end # Visit a OrNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#395 sig { params(node: Prism::OrNode).void } def visit_or_node(node); end # Visit a ParametersNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#398 sig { params(node: Prism::ParametersNode).void } def visit_parameters_node(node); end # Visit a ParenthesesNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#401 sig { params(node: Prism::ParenthesesNode).void } def visit_parentheses_node(node); end # Visit a PinnedExpressionNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#404 sig { params(node: Prism::PinnedExpressionNode).void } def visit_pinned_expression_node(node); end # Visit a PinnedVariableNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#407 sig { params(node: Prism::PinnedVariableNode).void } def visit_pinned_variable_node(node); end # Visit a PostExecutionNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#410 sig { params(node: Prism::PostExecutionNode).void } def visit_post_execution_node(node); end # Visit a PreExecutionNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#413 sig { params(node: Prism::PreExecutionNode).void } def visit_pre_execution_node(node); end # Visit a ProgramNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#416 sig { params(node: Prism::ProgramNode).void } def visit_program_node(node); end # Visit a RangeNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#419 sig { params(node: Prism::RangeNode).void } def visit_range_node(node); end # Visit a RationalNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#422 sig { params(node: Prism::RationalNode).void } def visit_rational_node(node); end # Visit a RedoNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#425 sig { params(node: Prism::RedoNode).void } def visit_redo_node(node); end # Visit a RegularExpressionNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#428 sig { params(node: Prism::RegularExpressionNode).void } def visit_regular_expression_node(node); end # Visit a RequiredKeywordParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#431 sig { params(node: Prism::RequiredKeywordParameterNode).void } def visit_required_keyword_parameter_node(node); end # Visit a RequiredParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#434 sig { params(node: Prism::RequiredParameterNode).void } def visit_required_parameter_node(node); end # Visit a RescueModifierNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#437 sig { params(node: Prism::RescueModifierNode).void } def visit_rescue_modifier_node(node); end # Visit a RescueNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#440 sig { params(node: Prism::RescueNode).void } def visit_rescue_node(node); end # Visit a RestParameterNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#443 sig { params(node: Prism::RestParameterNode).void } def visit_rest_parameter_node(node); end # Visit a RetryNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#446 sig { params(node: Prism::RetryNode).void } def visit_retry_node(node); end # Visit a ReturnNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#449 sig { params(node: Prism::ReturnNode).void } def visit_return_node(node); end # Visit a SelfNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#452 sig { params(node: Prism::SelfNode).void } def visit_self_node(node); end # Visit a ShareableConstantNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#455 sig { params(node: Prism::ShareableConstantNode).void } def visit_shareable_constant_node(node); end # Visit a SingletonClassNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#458 sig { params(node: Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end # Visit a SourceEncodingNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#461 sig { params(node: Prism::SourceEncodingNode).void } def visit_source_encoding_node(node); end # Visit a SourceFileNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#464 sig { params(node: Prism::SourceFileNode).void } def visit_source_file_node(node); end # Visit a SourceLineNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#467 sig { params(node: Prism::SourceLineNode).void } def visit_source_line_node(node); end # Visit a SplatNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#470 sig { params(node: Prism::SplatNode).void } def visit_splat_node(node); end # Visit a StatementsNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#473 sig { params(node: Prism::StatementsNode).void } def visit_statements_node(node); end # Visit a StringNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#476 sig { params(node: Prism::StringNode).void } def visit_string_node(node); end # Visit a SuperNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#479 sig { params(node: Prism::SuperNode).void } def visit_super_node(node); end # Visit a SymbolNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#482 sig { params(node: Prism::SymbolNode).void } def visit_symbol_node(node); end # Visit a TrueNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#485 sig { params(node: Prism::TrueNode).void } def visit_true_node(node); end # Visit a UndefNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#488 sig { params(node: Prism::UndefNode).void } def visit_undef_node(node); end # Visit a UnlessNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#491 sig { params(node: Prism::UnlessNode).void } def visit_unless_node(node); end # Visit a UntilNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#494 sig { params(node: Prism::UntilNode).void } def visit_until_node(node); end # Visit a WhenNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#497 sig { params(node: Prism::WhenNode).void } def visit_when_node(node); end # Visit a WhileNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#500 sig { params(node: Prism::WhileNode).void } def visit_while_node(node); end # Visit a XStringNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#503 sig { params(node: Prism::XStringNode).void } def visit_x_string_node(node); end # Visit a YieldNode node # - # source://prism/lib/prism/visitor.rb#29 + # source://prism//lib/prism/visitor.rb#506 sig { params(node: Prism::YieldNode).void } def visit_yield_node(node); end end @@ -40697,13 +40697,13 @@ end # ^^^^^^^^^ # end # -# source://prism/lib/prism/node.rb#17849 +# source://prism//lib/prism/node.rb#17849 class Prism::WhenNode < ::Prism::Node # Initialize a new WhenNode node. # # @return [WhenNode] a new instance of WhenNode # - # source://prism/lib/prism/node.rb#17851 + # source://prism//lib/prism/node.rb#17851 sig do params( source: Prism::Source, @@ -40721,42 +40721,42 @@ class Prism::WhenNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#17963 + # source://prism//lib/prism/node.rb#17963 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17863 + # source://prism//lib/prism/node.rb#17863 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17868 + # source://prism//lib/prism/node.rb#17868 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#17881 + # source://prism//lib/prism/node.rb#17881 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#17873 + # source://prism//lib/prism/node.rb#17873 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader conditions: Array[Prism::node] # - # source://prism/lib/prism/node.rb#17912 + # source://prism//lib/prism/node.rb#17912 sig { returns(T::Array[Prism::Node]) } def conditions; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?conditions: Array[Prism::node], ?then_keyword_loc: Location?, ?statements: StatementsNode?) -> WhenNode # - # source://prism/lib/prism/node.rb#17886 + # source://prism//lib/prism/node.rb#17886 sig do params( node_id: Integer, @@ -40773,13 +40773,13 @@ class Prism::WhenNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#17868 + # source://prism//lib/prism/node.rb#17891 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, conditions: Array[Prism::node], then_keyword_loc: Location?, statements: StatementsNode? } # - # source://prism/lib/prism/node.rb#17894 + # source://prism//lib/prism/node.rb#17894 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -40788,62 +40788,62 @@ class Prism::WhenNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#17947 + # source://prism//lib/prism/node.rb#17947 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#17937 + # source://prism//lib/prism/node.rb#17937 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#17899 + # source://prism//lib/prism/node.rb#17899 sig { returns(Prism::Location) } def keyword_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17907 + # source://prism//lib/prism/node.rb#17907 def save_keyword_loc(repository); end # Save the then_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#17929 + # source://prism//lib/prism/node.rb#17929 def save_then_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#17934 + # source://prism//lib/prism/node.rb#17934 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then_keyword: () -> String? # - # source://prism/lib/prism/node.rb#17942 + # source://prism//lib/prism/node.rb#17942 sig { returns(T.nilable(String)) } def then_keyword; end # attr_reader then_keyword_loc: Location? # - # source://prism/lib/prism/node.rb#17915 + # source://prism//lib/prism/node.rb#17915 sig { returns(T.nilable(Prism::Location)) } def then_keyword_loc; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#17952 + # source://prism//lib/prism/node.rb#17952 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#17957 + # source://prism//lib/prism/node.rb#17957 def type; end end end @@ -40856,13 +40856,13 @@ end # while foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism/lib/prism/node.rb#17980 +# source://prism//lib/prism/node.rb#17980 class Prism::WhileNode < ::Prism::Node # Initialize a new WhileNode node. # # @return [WhileNode] a new instance of WhileNode # - # source://prism/lib/prism/node.rb#17982 + # source://prism//lib/prism/node.rb#17982 sig do params( source: Prism::Source, @@ -40881,12 +40881,12 @@ class Prism::WhileNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#18124 + # source://prism//lib/prism/node.rb#18124 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#17995 + # source://prism//lib/prism/node.rb#17995 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -40894,43 +40894,43 @@ class Prism::WhileNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#18031 + # source://prism//lib/prism/node.rb#18031 sig { returns(T::Boolean) } def begin_modifier?; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18000 + # source://prism//lib/prism/node.rb#18000 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism/lib/prism/node.rb#18103 + # source://prism//lib/prism/node.rb#18103 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism/lib/prism/node.rb#18068 + # source://prism//lib/prism/node.rb#18068 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#18013 + # source://prism//lib/prism/node.rb#18013 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#18005 + # source://prism//lib/prism/node.rb#18005 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?do_keyword_loc: Location?, ?closing_loc: Location?, ?predicate: Prism::node, ?statements: StatementsNode?) -> WhileNode # - # source://prism/lib/prism/node.rb#18018 + # source://prism//lib/prism/node.rb#18018 sig do params( node_id: Integer, @@ -40948,25 +40948,25 @@ class Prism::WhileNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18000 + # source://prism//lib/prism/node.rb#18023 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, do_keyword_loc: Location?, closing_loc: Location?, predicate: Prism::node, statements: StatementsNode? } # - # source://prism/lib/prism/node.rb#18026 + # source://prism//lib/prism/node.rb#18026 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def do_keyword: () -> String? # - # source://prism/lib/prism/node.rb#18098 + # source://prism//lib/prism/node.rb#18098 sig { returns(T.nilable(String)) } def do_keyword; end # attr_reader do_keyword_loc: Location? # - # source://prism/lib/prism/node.rb#18049 + # source://prism//lib/prism/node.rb#18049 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end @@ -40975,65 +40975,65 @@ class Prism::WhileNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#18108 + # source://prism//lib/prism/node.rb#18108 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#18093 + # source://prism//lib/prism/node.rb#18093 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#18036 + # source://prism//lib/prism/node.rb#18036 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism/lib/prism/parse_result/newlines.rb#109 + # source://prism//lib/prism/parse_result/newlines.rb#109 def newline_flag!(lines); end # attr_reader predicate: Prism::node # - # source://prism/lib/prism/node.rb#18087 + # source://prism//lib/prism/node.rb#18087 sig { returns(Prism::Node) } def predicate; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18082 + # source://prism//lib/prism/node.rb#18082 def save_closing_loc(repository); end # Save the do_keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18063 + # source://prism//lib/prism/node.rb#18063 def save_do_keyword_loc(repository); end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18044 + # source://prism//lib/prism/node.rb#18044 def save_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism/lib/prism/node.rb#18090 + # source://prism//lib/prism/node.rb#18090 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#18113 + # source://prism//lib/prism/node.rb#18113 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#18118 + # source://prism//lib/prism/node.rb#18118 def type; end end end @@ -41043,7 +41043,7 @@ end # `foo` # ^^^^^ # -# source://prism/lib/prism/node.rb#18139 +# source://prism//lib/prism/node.rb#18139 class Prism::XStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -41051,7 +41051,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [XStringNode] a new instance of XStringNode # - # source://prism/lib/prism/node.rb#18141 + # source://prism//lib/prism/node.rb#18141 sig do params( source: Prism::Source, @@ -41069,60 +41069,60 @@ class Prism::XStringNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#18269 + # source://prism//lib/prism/node.rb#18269 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#18153 + # source://prism//lib/prism/node.rb#18153 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18158 + # source://prism//lib/prism/node.rb#18158 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism/lib/prism/node.rb#18248 + # source://prism//lib/prism/node.rb#18248 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism/lib/prism/node.rb#18222 + # source://prism//lib/prism/node.rb#18222 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#18168 + # source://prism//lib/prism/node.rb#18168 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#18163 + # source://prism//lib/prism/node.rb#18163 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism/lib/prism/node.rb#18243 + # source://prism//lib/prism/node.rb#18243 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism/lib/prism/node.rb#18209 + # source://prism//lib/prism/node.rb#18209 sig { returns(Prism::Location) } def content_loc; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?opening_loc: Location, ?content_loc: Location, ?closing_loc: Location, ?unescaped: String) -> XStringNode # - # source://prism/lib/prism/node.rb#18173 + # source://prism//lib/prism/node.rb#18173 sig do params( node_id: Integer, @@ -41139,13 +41139,13 @@ class Prism::XStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18158 + # source://prism//lib/prism/node.rb#18178 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String } # - # source://prism/lib/prism/node.rb#18181 + # source://prism//lib/prism/node.rb#18181 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -41156,7 +41156,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#18191 + # source://prism//lib/prism/node.rb#18191 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -41164,7 +41164,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism/lib/prism/node.rb#18186 + # source://prism//lib/prism/node.rb#18186 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -41173,63 +41173,63 @@ class Prism::XStringNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#18253 + # source://prism//lib/prism/node.rb#18253 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism/lib/prism/node.rb#18238 + # source://prism//lib/prism/node.rb#18238 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism/lib/prism/node.rb#18196 + # source://prism//lib/prism/node.rb#18196 sig { returns(Prism::Location) } def opening_loc; end # Save the closing_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18230 + # source://prism//lib/prism/node.rb#18230 def save_closing_loc(repository); end # Save the content_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18217 + # source://prism//lib/prism/node.rb#18217 def save_content_loc(repository); end # Save the opening_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18204 + # source://prism//lib/prism/node.rb#18204 def save_opening_loc(repository); end # Occasionally it's helpful to treat a string as if it were interpolated so # that there's a consistent interface for working with strings. # - # source://prism/lib/prism/node_ext.rb#90 + # source://prism//lib/prism/node_ext.rb#90 sig { returns(Prism::InterpolatedXStringNode) } def to_interpolated; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#18258 + # source://prism//lib/prism/node.rb#18258 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism/lib/prism/node.rb#18235 + # source://prism//lib/prism/node.rb#18235 sig { returns(String) } def unescaped; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#18263 + # source://prism//lib/prism/node.rb#18263 def type; end end end @@ -41239,13 +41239,13 @@ end # yield 1 # ^^^^^^^ # -# source://prism/lib/prism/node.rb#18283 +# source://prism//lib/prism/node.rb#18283 class Prism::YieldNode < ::Prism::Node # Initialize a new YieldNode node. # # @return [YieldNode] a new instance of YieldNode # - # source://prism/lib/prism/node.rb#18285 + # source://prism//lib/prism/node.rb#18285 sig do params( source: Prism::Source, @@ -41263,42 +41263,42 @@ class Prism::YieldNode < ::Prism::Node # Implements case-equality for the node. This is effectively == but without # comparing the value of locations. Locations are checked only for presence. # - # source://prism/lib/prism/node.rb#18417 + # source://prism//lib/prism/node.rb#18417 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism/lib/prism/node.rb#18297 + # source://prism//lib/prism/node.rb#18297 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism/lib/prism/node.rb#18364 + # source://prism//lib/prism/node.rb#18364 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18302 + # source://prism//lib/prism/node.rb#18302 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://prism/lib/prism/node.rb#18314 + # source://prism//lib/prism/node.rb#18314 sig { override.returns(T::Array[T.any(Prism::Node, Prism::Location)]) } def comment_targets; end # def compact_child_nodes: () -> Array[Node] # - # source://prism/lib/prism/node.rb#18307 + # source://prism//lib/prism/node.rb#18307 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?keyword_loc: Location, ?lparen_loc: Location?, ?arguments: ArgumentsNode?, ?rparen_loc: Location?) -> YieldNode # - # source://prism/lib/prism/node.rb#18319 + # source://prism//lib/prism/node.rb#18319 sig do params( node_id: Integer, @@ -41315,13 +41315,13 @@ class Prism::YieldNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism/lib/prism/node.rb#18302 + # source://prism//lib/prism/node.rb#18324 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location? } # - # source://prism/lib/prism/node.rb#18327 + # source://prism//lib/prism/node.rb#18327 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -41330,74 +41330,74 @@ class Prism::YieldNode < ::Prism::Node # def inspect -> String # - # source://prism/lib/prism/node.rb#18401 + # source://prism//lib/prism/node.rb#18401 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism/lib/prism/node.rb#18386 + # source://prism//lib/prism/node.rb#18386 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism/lib/prism/node.rb#18332 + # source://prism//lib/prism/node.rb#18332 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism/lib/prism/node.rb#18391 + # source://prism//lib/prism/node.rb#18391 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism/lib/prism/node.rb#18345 + # source://prism//lib/prism/node.rb#18345 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism/lib/prism/node.rb#18396 + # source://prism//lib/prism/node.rb#18396 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism/lib/prism/node.rb#18367 + # source://prism//lib/prism/node.rb#18367 sig { returns(T.nilable(Prism::Location)) } def rparen_loc; end # Save the keyword_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18340 + # source://prism//lib/prism/node.rb#18340 def save_keyword_loc(repository); end # Save the lparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18359 + # source://prism//lib/prism/node.rb#18359 def save_lparen_loc(repository); end # Save the rparen_loc location using the given saved source so that # it can be retrieved later. # - # source://prism/lib/prism/node.rb#18381 + # source://prism//lib/prism/node.rb#18381 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism/lib/prism/node.rb#18406 + # source://prism//lib/prism/node.rb#18406 sig { override.returns(Symbol) } def type; end class << self # Return a symbol representation of this node type. See `Node::type`. # - # source://prism/lib/prism/node.rb#18411 + # source://prism//lib/prism/node.rb#18411 def type; end end end diff --git a/sorbet/rbi/gems/psych@5.2.3.rbi b/sorbet/rbi/gems/psych@5.2.3.rbi index 75ad87d61..991bac7dd 100644 --- a/sorbet/rbi/gems/psych@5.2.3.rbi +++ b/sorbet/rbi/gems/psych@5.2.3.rbi @@ -657,46 +657,46 @@ class Psych::ClassLoader # source://psych//lib/psych/class_loader.rb#21 def initialize; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def big_decimal; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def complex; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def date; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def date_time; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def exception; end # source://psych//lib/psych/class_loader.rb#25 def load(klassname); end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def object; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def psych_omap; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def psych_set; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def range; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def rational; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def regexp; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def struct; end - # source://psych//lib/psych/class_loader.rb#39 + # source://psych//lib/psych/class_loader.rb#38 def symbol; end # source://psych//lib/psych/class_loader.rb#31 @@ -746,7 +746,7 @@ class Psych::Coder # source://psych//lib/psych/coder.rb#78 def []=(k, v); end - # source://psych//lib/psych/coder.rb#78 + # source://psych//lib/psych/coder.rb#82 def add(k, v); end # Returns the value of attribute implicit. @@ -1376,10 +1376,10 @@ class Psych::TreeBuilder < ::Psych::Handler # source://psych//lib/psych/tree_builder.rb#77 def end_document(implicit_end = T.unsafe(nil)); end - # source://psych//lib/psych/tree_builder.rb#52 + # source://psych//lib/psych/tree_builder.rb#44 def end_mapping; end - # source://psych//lib/psych/tree_builder.rb#52 + # source://psych//lib/psych/tree_builder.rb#44 def end_sequence; end # source://psych//lib/psych/tree_builder.rb#90 @@ -1404,10 +1404,10 @@ class Psych::TreeBuilder < ::Psych::Handler # source://psych//lib/psych/tree_builder.rb#65 def start_document(version, tag_directives, implicit); end - # source://psych//lib/psych/tree_builder.rb#45 + # source://psych//lib/psych/tree_builder.rb#44 def start_mapping(anchor, tag, implicit, style); end - # source://psych//lib/psych/tree_builder.rb#45 + # source://psych//lib/psych/tree_builder.rb#44 def start_sequence(anchor, tag, implicit, style); end # source://psych//lib/psych/tree_builder.rb#84 @@ -1451,22 +1451,22 @@ class Psych::Visitors::DepthFirst < ::Psych::Visitors::Visitor # source://psych//lib/psych/visitors/depth_first.rb#20 def terminal(o); end - # source://psych//lib/psych/visitors/depth_first.rb#20 + # source://psych//lib/psych/visitors/depth_first.rb#24 def visit_Psych_Nodes_Alias(o); end - # source://psych//lib/psych/visitors/depth_first.rb#11 + # source://psych//lib/psych/visitors/depth_first.rb#16 def visit_Psych_Nodes_Document(o); end - # source://psych//lib/psych/visitors/depth_first.rb#11 + # source://psych//lib/psych/visitors/depth_first.rb#18 def visit_Psych_Nodes_Mapping(o); end - # source://psych//lib/psych/visitors/depth_first.rb#20 + # source://psych//lib/psych/visitors/depth_first.rb#23 def visit_Psych_Nodes_Scalar(o); end - # source://psych//lib/psych/visitors/depth_first.rb#11 + # source://psych//lib/psych/visitors/depth_first.rb#17 def visit_Psych_Nodes_Sequence(o); end - # source://psych//lib/psych/visitors/depth_first.rb#11 + # source://psych//lib/psych/visitors/depth_first.rb#15 def visit_Psych_Nodes_Stream(o); end end @@ -1593,7 +1593,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//lib/psych/visitors/yaml_tree.rb#51 def initialize(emitter, ss, options); end - # source://psych//lib/psych/visitors/yaml_tree.rb#99 + # source://psych//lib/psych/visitors/yaml_tree.rb#117 def <<(object); end # source://psych//lib/psych/visitors/yaml_tree.rb#119 @@ -1609,7 +1609,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # Returns the value of attribute finished. # - # source://psych//lib/psych/visitors/yaml_tree.rb#40 + # source://psych//lib/psych/visitors/yaml_tree.rb#41 def finished?; end # source://psych//lib/psych/visitors/yaml_tree.rb#99 @@ -1625,7 +1625,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # Returns the value of attribute started. # - # source://psych//lib/psych/visitors/yaml_tree.rb#40 + # source://psych//lib/psych/visitors/yaml_tree.rb#42 def started?; end # source://psych//lib/psych/visitors/yaml_tree.rb#94 @@ -1654,7 +1654,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//lib/psych/visitors/yaml_tree.rb#195 def visit_DateTime(o); end - # source://psych//lib/psych/visitors/yaml_tree.rb#149 + # source://psych//lib/psych/visitors/yaml_tree.rb#163 def visit_Delegator(o); end # source://psych//lib/psych/visitors/yaml_tree.rb#144 @@ -1666,7 +1666,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//lib/psych/visitors/yaml_tree.rb#179 def visit_Exception(o); end - # source://psych//lib/psych/visitors/yaml_tree.rb#230 + # source://psych//lib/psych/visitors/yaml_tree.rb#234 def visit_FalseClass(o); end # source://psych//lib/psych/visitors/yaml_tree.rb#236 @@ -1719,7 +1719,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//lib/psych/visitors/yaml_tree.rb#202 def visit_Time(o); end - # source://psych//lib/psych/visitors/yaml_tree.rb#230 + # source://psych//lib/psych/visitors/yaml_tree.rb#233 def visit_TrueClass(o); end private diff --git a/sorbet/rbi/gems/public_suffix@6.0.1.rbi b/sorbet/rbi/gems/public_suffix@6.0.1.rbi index 0c24f9dc8..31778d63b 100644 --- a/sorbet/rbi/gems/public_suffix@6.0.1.rbi +++ b/sorbet/rbi/gems/public_suffix@6.0.1.rbi @@ -401,7 +401,7 @@ class PublicSuffix::List # @param rule [PublicSuffix::Rule::*] the rule to add to the list # @return [self] # - # source://public_suffix//lib/public_suffix/list.rb#141 + # source://public_suffix//lib/public_suffix/list.rb#145 def <<(rule); end # Checks whether two lists are equal. @@ -460,7 +460,7 @@ class PublicSuffix::List # @param other [PublicSuffix::List] the List to compare # @return [Boolean] # - # source://public_suffix//lib/public_suffix/list.rb#120 + # source://public_suffix//lib/public_suffix/list.rb#125 def eql?(other); end # Finds and returns the rule corresponding to the longest public suffix for the hostname. @@ -704,7 +704,7 @@ class PublicSuffix::Rule::Base # @return [Boolean] true if this rule and other are instances of the same class # and has the same value, false otherwise. # - # source://public_suffix//lib/public_suffix/rule.rb#137 + # source://public_suffix//lib/public_suffix/rule.rb#140 def eql?(other); end # @return [String] the length of the rule @@ -769,41 +769,62 @@ class PublicSuffix::Rule::Entry < ::Struct # Returns the value of attribute length # # @return [Object] the current value of length + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def length; end # Sets the attribute length # # @param value [Object] the value to set the attribute length to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def length=(_); end # Returns the value of attribute private # # @return [Object] the current value of private + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def private; end # Sets the attribute private # # @param value [Object] the value to set the attribute private to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def private=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def type=(_); end class << self + # source://public_suffix//lib/public_suffix/rule.rb#25 def [](*_arg0); end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def inspect; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def keyword_init?; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def members; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/racc@1.8.1.rbi b/sorbet/rbi/gems/racc@1.8.1.rbi index 5d4f1618e..6909ad270 100644 --- a/sorbet/rbi/gems/racc@1.8.1.rbi +++ b/sorbet/rbi/gems/racc@1.8.1.rbi @@ -33,7 +33,7 @@ class Racc::Parser # source://racc//lib/racc/parser.rb#329 def _racc_yyparse_rb(recv, mid, arg, c_debug); end - # source://racc//lib/racc/parser.rb#262 + # source://racc//lib/racc/parser.rb#261 def do_parse; end # The method to fetch next token. @@ -121,7 +121,7 @@ class Racc::Parser # source://racc//lib/racc/parser.rb#542 def yyerror; end - # source://racc//lib/racc/parser.rb#324 + # source://racc//lib/racc/parser.rb#323 def yyparse(recv, mid); end class << self diff --git a/sorbet/rbi/gems/rack-session@2.0.0.rbi b/sorbet/rbi/gems/rack-session@2.0.0.rbi index b2c947f00..603146594 100644 --- a/sorbet/rbi/gems/rack-session@2.0.0.rbi +++ b/sorbet/rbi/gems/rack-session@2.0.0.rbi @@ -4,13 +4,9 @@ # This is an autogenerated file for types exported from the `rack-session` gem. # Please instead update this file by running `bin/tapioca gem rack-session`. + # source://rack-session//lib/rack/session/constants.rb#7 -module Rack - class << self - # source://rack/3.1.7/lib/rack/version.rb#18 - def release; end - end -end +module Rack; end # source://rack-session//lib/rack/session/constants.rb#8 module Rack::Session; end @@ -315,7 +311,7 @@ class Rack::Session::Abstract::SessionHash # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#107 + # source://rack-session//lib/rack/session/abstract/id.rb#112 def include?(key); end # source://rack-session//lib/rack/session/abstract/id.rb#151 @@ -323,7 +319,7 @@ class Rack::Session::Abstract::SessionHash # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#107 + # source://rack-session//lib/rack/session/abstract/id.rb#111 def key?(key); end # source://rack-session//lib/rack/session/abstract/id.rb#174 @@ -334,7 +330,7 @@ class Rack::Session::Abstract::SessionHash # source://rack-session//lib/rack/session/abstract/id.rb#165 def loaded?; end - # source://rack-session//lib/rack/session/abstract/id.rb#135 + # source://rack-session//lib/rack/session/abstract/id.rb#139 def merge!(hash); end # source://rack-session//lib/rack/session/abstract/id.rb#79 @@ -343,7 +339,7 @@ class Rack::Session::Abstract::SessionHash # source://rack-session//lib/rack/session/abstract/id.rb#141 def replace(hash); end - # source://rack-session//lib/rack/session/abstract/id.rb#114 + # source://rack-session//lib/rack/session/abstract/id.rb#118 def store(key, value); end # source://rack-session//lib/rack/session/abstract/id.rb#130 @@ -692,7 +688,7 @@ class Rack::Session::SessionId # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#24 + # source://rack-session//lib/rack/session/abstract/id.rb#34 def cookie_value; end # @return [Boolean] @@ -713,7 +709,7 @@ class Rack::Session::SessionId # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#24 + # source://rack-session//lib/rack/session/abstract/id.rb#35 def to_s; end private diff --git a/sorbet/rbi/gems/rack-test@2.1.0.rbi b/sorbet/rbi/gems/rack-test@2.1.0.rbi index cf7342093..e02964426 100644 --- a/sorbet/rbi/gems/rack-test@2.1.0.rbi +++ b/sorbet/rbi/gems/rack-test@2.1.0.rbi @@ -4,13 +4,9 @@ # This is an autogenerated file for types exported from the `rack-test` gem. # Please instead update this file by running `bin/tapioca gem rack-test`. + # source://rack-test//lib/rack/test/cookie_jar.rb#6 -module Rack - class << self - # source://rack/3.1.7/lib/rack/version.rb#18 - def release; end - end -end +module Rack; end # For backwards compatibility with 1.1.0 and below # @@ -123,7 +119,7 @@ class Rack::Test::Cookie # A hash of cookie options, including the cookie value, but excluding the cookie name. # - # source://rack-test//lib/rack/test/cookie_jar.rb#112 + # source://rack-test//lib/rack/test/cookie_jar.rb#119 def to_hash; end # Whether the cookie is valid for the given URI. @@ -274,22 +270,70 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#90 def _rack_test_current_session=(_arg0); end + # source://rack-test//lib/rack/test/methods.rb#68 + def authorize(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def basic_authorize(*args, **_arg1, &block); end + # Create a new Rack::Test::Session for #app. # # source://rack-test//lib/rack/test/methods.rb#40 def build_rack_test_session(_name); end + # source://rack-test//lib/rack/test/methods.rb#68 + def clear_cookies(*args, **_arg1, &block); end + # Return the currently actively session. This is the session to # which the delegated methods are sent. # # source://rack-test//lib/rack/test/methods.rb#55 def current_session; end + # source://rack-test//lib/rack/test/methods.rb#68 + def custom_request(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def delete(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def env(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def follow_redirect!(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def get(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def head(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def header(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def last_request(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def last_response(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def options(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def patch(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def post(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def put(*args, **_arg1, &block); end + # Return the existing session with the given name, or a new # rack session. Always use a new session if name is nil. # For backwards compatibility with older rack-test versions. # - # source://rack-test//lib/rack/test/methods.rb#29 + # source://rack-test//lib/rack/test/methods.rb#37 def rack_mock_session(name = T.unsafe(nil)); end # Return the existing session with the given name, or a new @@ -298,6 +342,12 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#29 def rack_test_session(name = T.unsafe(nil)); end + # source://rack-test//lib/rack/test/methods.rb#68 + def request(*args, **_arg1, &block); end + + # source://rack-test//lib/rack/test/methods.rb#68 + def set_cookie(*args, **_arg1, &block); end + # Create a new session (or reuse an existing session with the given name), # and make it the current session for the given block. # @@ -374,7 +424,7 @@ class Rack::Test::Session # Example: # basic_authorize "bryan", "secret" # - # source://rack-test//lib/rack/test.rb#198 + # source://rack-test//lib/rack/test.rb#203 def authorize(username, password); end # Set the username and password for HTTP Basic authorization, to be @@ -414,7 +464,7 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#70 def default_host; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def delete(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Set an entry in the rack environment to be included on all subsequent @@ -434,10 +484,10 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#209 def follow_redirect!; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def get(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def head(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Set a header to be included on all subsequent requests through the @@ -467,16 +517,16 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#141 def last_response; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def options(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def patch(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def post(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def put(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Issue a request to the Rack app for the given URI and optional Rack @@ -584,7 +634,7 @@ class Rack::Test::UploadedFile # The path to the tempfile. Will not work if the receiver's content is from a StringIO. # - # source://rack-test//lib/rack/test/uploaded_file.rb#46 + # source://rack-test//lib/rack/test/uploaded_file.rb#49 def local_path; end # Delegate all methods not handled to the tempfile. diff --git a/sorbet/rbi/gems/rack@3.1.8.rbi b/sorbet/rbi/gems/rack@3.1.8.rbi index fafa69166..85637ad5d 100644 --- a/sorbet/rbi/gems/rack@3.1.8.rbi +++ b/sorbet/rbi/gems/rack@3.1.8.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `rack` gem. # Please instead update this file by running `bin/tapioca gem rack`. + # The Rack main module, serving as a namespace for all core Rack # modules and classes. # @@ -463,7 +464,7 @@ class Rack::Cascade # Append an app to the list of apps to cascade. This app will # be tried last. # - # source://rack//lib/rack/cascade.rb#56 + # source://rack//lib/rack/cascade.rb#65 def <<(app); end # Append an app to the list of apps to cascade. This app will @@ -1134,7 +1135,7 @@ end # source://rack//lib/rack/files.rb#184 class Rack::Files::Iterator < ::Rack::Files::BaseIterator - # source://rack//lib/rack/files.rb#122 + # source://rack//lib/rack/files.rb#185 def to_path; end end @@ -1245,7 +1246,7 @@ class Rack::Headers < ::Hash # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#147 def include?(key); end # source://rack//lib/rack/headers.rb#151 @@ -1253,18 +1254,18 @@ class Rack::Headers < ::Hash # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#148 def key?(key); end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#149 def member?(key); end # source://rack//lib/rack/headers.rb#157 def merge(hash, &block); end - # source://rack//lib/rack/headers.rb#186 + # source://rack//lib/rack/headers.rb#196 def merge!(hash, &block); end # source://rack//lib/rack/headers.rb#161 @@ -1281,7 +1282,7 @@ class Rack::Headers < ::Hash # source://rack//lib/rack/headers.rb#205 def slice(*a); end - # source://rack//lib/rack/headers.rb#114 + # source://rack//lib/rack/headers.rb#117 def store(key, value); end # source://rack//lib/rack/headers.rb#178 @@ -1638,6 +1639,30 @@ class Rack::Lint::Wrapper::StreamWrapper # # source://rack//lib/rack/lint.rb#974 def initialize(stream); end + + # source://rack//lib/rack/lint.rb#972 + def <<(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def close(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def close_read(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def close_write(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def closed?(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def flush(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def read(*args, **_arg1, &block); end + + # source://rack//lib/rack/lint.rb#972 + def write(*args, **_arg1, &block); end end # The semantics of these IO methods must be a best effort match to @@ -1791,7 +1816,7 @@ module Rack::Mime # # @return [Boolean] # - # source://rack//lib/rack/mime.rb#30 + # source://rack//lib/rack/mime.rb#36 def match?(value, matcher); end # Returns String with mime type if found, otherwise use +fallback+. @@ -1807,7 +1832,7 @@ module Rack::Mime # This is a shortcut for: # Rack::Mime::MIME_TYPES.fetch('.foo', 'application/octet-stream') # - # source://rack//lib/rack/mime.rb#18 + # source://rack//lib/rack/mime.rb#21 def mime_type(ext, fallback = T.unsafe(nil)); end end end @@ -1991,6 +2016,7 @@ class Rack::MockResponse < ::Rack::Response def parse_cookies_from_header; end class << self + # source://rack//lib/rack/mock_response.rb#15 def [](*_arg0); end end end @@ -2289,30 +2315,47 @@ class Rack::Multipart::Parser::MultipartInfo < ::Struct # Returns the value of attribute params # # @return [Object] the current value of params + # + # source://rack//lib/rack/multipart/parser.rb#77 def params; end # Sets the attribute params # # @param value [Object] the value to set the attribute params to. # @return [Object] the newly set value + # + # source://rack//lib/rack/multipart/parser.rb#77 def params=(_); end # Returns the value of attribute tmp_files # # @return [Object] the current value of tmp_files + # + # source://rack//lib/rack/multipart/parser.rb#77 def tmp_files; end # Sets the attribute tmp_files # # @param value [Object] the value to set the attribute tmp_files to. # @return [Object] the newly set value + # + # source://rack//lib/rack/multipart/parser.rb#77 def tmp_files=(_); end class << self + # source://rack//lib/rack/multipart/parser.rb#77 def [](*_arg0); end + + # source://rack//lib/rack/multipart/parser.rb#77 def inspect; end + + # source://rack//lib/rack/multipart/parser.rb#77 def keyword_init?; end + + # source://rack//lib/rack/multipart/parser.rb#77 def members; end + + # source://rack//lib/rack/multipart/parser.rb#77 def new(*_arg0); end end end @@ -2340,7 +2383,7 @@ class Rack::Multipart::UploadedFile # source://rack//lib/rack/multipart/uploaded_file.rb#14 def content_type=(_arg0); end - # source://rack//lib/rack/multipart/uploaded_file.rb#31 + # source://rack//lib/rack/multipart/uploaded_file.rb#34 def local_path; end # source://rack//lib/rack/multipart/uploaded_file.rb#40 @@ -2587,6 +2630,7 @@ end # source://rack//lib/rack/query_parser.rb#196 class Rack::QueryParser::Params < ::Hash + # source://rack//lib/rack/query_parser.rb#197 def to_params_hash; end end @@ -2782,21 +2826,9 @@ class Rack::Request # source://rack//lib/rack/request.rb#67 def params; end - # source://rack//lib/rack/request.rb#67 - def query; end - # source://rack//lib/rack/request.rb#71 def update_param(k, v); end - # source://yard/0.9.37/lib/yard/server/rack_adapter.rb#94 - def version_supplied; end - - # source://yard/0.9.37/lib/yard/server/rack_adapter.rb#94 - def version_supplied=(_arg0); end - - # source://yard/0.9.37/lib/yard/server/rack_adapter.rb#96 - def xhr?; end - class << self # The priority when checking forwarded headers. The default # is [:forwarded, :x_forwarded], which means, check the @@ -3157,7 +3189,7 @@ module Rack::Request::Helpers # the referer of the client # - # source://rack//lib/rack/request.rb#204 + # source://rack//lib/rack/request.rb#205 def referrer; end # source://rack//lib/rack/request.rb#197 @@ -3399,12 +3431,12 @@ class Rack::Response # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#164 + # source://rack//lib/rack/response.rb#177 def [](key); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#168 + # source://rack//lib/rack/response.rb#178 def []=(key, value); end # Returns the value of attribute body. @@ -3507,7 +3539,7 @@ class Rack::Response # # @return [Array] a 3-tuple suitable of `[status, headers, body]` # - # source://rack//lib/rack/response.rb#107 + # source://rack//lib/rack/response.rb#128 def to_a(&block); end # Append a chunk to the response body. @@ -4047,96 +4079,137 @@ class Rack::ShowExceptions::Frame < ::Struct # Returns the value of attribute context_line # # @return [Object] the current value of context_line + # + # source://rack//lib/rack/show_exceptions.rb#21 def context_line; end # Sets the attribute context_line # # @param value [Object] the value to set the attribute context_line to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def context_line=(_); end # Returns the value of attribute filename # # @return [Object] the current value of filename + # + # source://rack//lib/rack/show_exceptions.rb#21 def filename; end # Sets the attribute filename # # @param value [Object] the value to set the attribute filename to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def filename=(_); end # Returns the value of attribute function # # @return [Object] the current value of function + # + # source://rack//lib/rack/show_exceptions.rb#21 def function; end # Sets the attribute function # # @param value [Object] the value to set the attribute function to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def function=(_); end # Returns the value of attribute lineno # # @return [Object] the current value of lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def lineno; end # Sets the attribute lineno # # @param value [Object] the value to set the attribute lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def lineno=(_); end # Returns the value of attribute post_context # # @return [Object] the current value of post_context + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context; end # Sets the attribute post_context # # @param value [Object] the value to set the attribute post_context to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context=(_); end # Returns the value of attribute post_context_lineno # # @return [Object] the current value of post_context_lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context_lineno; end # Sets the attribute post_context_lineno # # @param value [Object] the value to set the attribute post_context_lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context_lineno=(_); end # Returns the value of attribute pre_context # # @return [Object] the current value of pre_context + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context; end # Sets the attribute pre_context # # @param value [Object] the value to set the attribute pre_context to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context=(_); end # Returns the value of attribute pre_context_lineno # # @return [Object] the current value of pre_context_lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context_lineno; end # Sets the attribute pre_context_lineno # # @param value [Object] the value to set the attribute pre_context_lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context_lineno=(_); end class << self + # source://rack//lib/rack/show_exceptions.rb#21 def [](*_arg0); end + + # source://rack//lib/rack/show_exceptions.rb#21 def inspect; end + + # source://rack//lib/rack/show_exceptions.rb#21 def keyword_init?; end + + # source://rack//lib/rack/show_exceptions.rb#21 def members; end + + # source://rack//lib/rack/show_exceptions.rb#21 def new(*_arg0); end end end @@ -4424,6 +4497,8 @@ module Rack::Utils def escape_cookie_key(key); end # Escape ampersands, brackets and quotes to their HTML/XML entities. + # + # source://rack//lib/rack/utils.rb#183 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is @@ -4628,6 +4703,7 @@ module Rack::Utils # source://rack//lib/rack/utils.rb#262 def escape_cookie_key(key); end + # source://rack//lib/rack/utils.rb#183 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is @@ -4658,14 +4734,14 @@ module Rack::Utils # multipart_part_limit is the original name of multipart_file_limit, but # the limit only counts parts with filenames. # - # source://rack//lib/rack/utils.rb#65 + # source://rack//lib/rack/utils.rb#69 def multipart_part_limit; end # Sets the attribute multipart_file_limit # # @param value the value to set the attribute multipart_file_limit to. # - # source://rack//lib/rack/utils.rb#65 + # source://rack//lib/rack/utils.rb#70 def multipart_part_limit=(_arg0); end # Returns the value of attribute multipart_total_part_limit. diff --git a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi b/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi index d7b681f28..899ca6e00 100644 --- a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +++ b/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi @@ -447,7 +447,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # assert_dom ":match('name', ?)", /.+/ # Not empty # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#163 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#180 def assert_select(*args, &block); end # Extracts the body of an email and runs nested assertions on it. @@ -481,7 +481,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # assert_dom "h1", "Email alert" # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#285 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#298 def assert_select_email(html_version: T.unsafe(nil), &block); end # Extracts the content of an element, treats it as encoded HTML and runs @@ -534,7 +534,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # end # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#232 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#252 def assert_select_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end # Select and return all matching elements. diff --git a/sorbet/rbi/gems/rails-html-sanitizer@1.6.1.rbi b/sorbet/rbi/gems/rails-html-sanitizer@1.6.1.rbi index 51fcc4417..d6821b284 100644 --- a/sorbet/rbi/gems/rails-html-sanitizer@1.6.1.rbi +++ b/sorbet/rbi/gems/rails-html-sanitizer@1.6.1.rbi @@ -4,24 +4,11 @@ # This is an autogenerated file for types exported from the `rails-html-sanitizer` gem. # Please instead update this file by running `bin/tapioca gem rails-html-sanitizer`. -# source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#14 -module ActionView - class << self - # source://actionview/7.1.5lib/action_view/deprecator.rb#4 - def deprecator; end - - # source://actionview/7.1.5lib/action_view.rb#93 - def eager_load!; end - # source://actionview/7.1.5lib/action_view/gem_version.rb#5 - def gem_version; end +# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#14 +module ActionView; end - # source://actionview/7.1.5lib/action_view/version.rb#7 - def version; end - end -end - -# source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#15 +# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#15 module ActionView::Helpers include ::ActionView::Helpers::SanitizeHelper include ::ActionView::Helpers::TextHelper @@ -34,214 +21,88 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - class << self - # source://actionview/7.1.5lib/action_view/helpers.rb#35 - def eager_load!; end - end end -# source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#16 +# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#16 module ActionView::Helpers::SanitizeHelper mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#111 - def sanitize(html, options = T.unsafe(nil)); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#116 - def sanitize_css(style); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor; end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor=(val); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#150 - def strip_links(html); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#133 - def strip_tags(html); end - - class << self - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor; end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor=(val); end - end end -# source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#17 +# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#17 module ActionView::Helpers::SanitizeHelper::ClassMethods - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#175 - def full_sanitizer; end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#155 - def full_sanitizer=(_arg0); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#185 - def link_sanitizer; end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#155 - def link_sanitizer=(_arg0); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#195 - def safe_list_sanitizer; end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#155 - def safe_list_sanitizer=(_arg0); end - - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#165 - def sanitized_allowed_attributes; end - # Replaces the allowed HTML attributes for the +sanitize+ helper. # # class Application < Rails::Application # config.action_view.sanitized_allowed_attributes = ['onclick', 'longdesc'] # end # - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#34 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#34 def sanitized_allowed_attributes=(attributes); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_allowed_css_keywords; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_allowed_css_keywords=(_); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_allowed_css_properties; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_allowed_css_properties=(_); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_allowed_protocols; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_allowed_protocols=(_); end - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#161 - def sanitized_allowed_tags; end - # Replaces the allowed tags for the +sanitize+ helper. # # class Application < Rails::Application # config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' # end # - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#24 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#24 def sanitized_allowed_tags=(tags); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_bad_tags; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_bad_tags=(_); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_protocol_separator; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_protocol_separator=(_); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_shorthand_css_properties; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_shorthand_css_properties=(_); end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#47 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 def sanitized_uri_attributes; end - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#48 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_uri_attributes=(_); end - # source://actionview/7.1.5lib/action_view/helpers/sanitize_helper.rb#157 - def sanitizer_vendor; end - private - # source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#52 + # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#52 def deprecate_option(name); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer/version.rb#3 -module Rails - class << self - # source://railties/7.1.5lib/rails.rb#42 - def app_class; end - - # source://railties/7.1.5lib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.1.5lib/rails.rb#43 - def application; end - - # source://railties/7.1.5lib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.1.5lib/rails.rb#123 - def autoloaders; end - - # source://railties/7.1.5lib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.1.5lib/rails.rb#42 - def cache; end - - # source://railties/7.1.5lib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.1.5lib/rails.rb#50 - def configuration; end - - # source://railties/7.1.5lib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.1.5lib/rails.rb#72 - def env; end - - # source://railties/7.1.5lib/rails.rb#79 - def env=(environment); end - - # source://railties/7.1.5lib/rails.rb#90 - def error; end - - # source://railties/7.1.5lib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.1.5lib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.1.5lib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.5lib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.5lib/rails.rb#42 - def logger; end - - # source://railties/7.1.5lib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.1.5lib/rails.rb#119 - def public_path; end - - # source://railties/7.1.5lib/rails.rb#63 - def root; end - - # source://railties/7.1.5lib/rails/version.rb#7 - def version; end - end -end +# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#3 +module Rails; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer/version.rb#4 +# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#4 module Rails::HTML; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#194 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#194 module Rails::HTML4; end # == Rails::HTML4::FullSanitizer @@ -252,7 +113,7 @@ module Rails::HTML4; end # full_sanitizer.sanitize("Bold no more! See more here...") # # => "Bold no more! See more here..." # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#225 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#225 class Rails::HTML4::FullSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML4 @@ -268,7 +129,7 @@ end # link_sanitizer.sanitize('Only the link text will be kept.') # # => "Only the link text will be kept." # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#240 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#240 class Rails::HTML4::LinkSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML4 @@ -327,7 +188,7 @@ end # # the sanitizer can also sanitize CSS # safe_list_sanitizer.sanitize_css('background-color: #000;') # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#298 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#298 class Rails::HTML4::SafeListSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML4 @@ -335,41 +196,41 @@ class Rails::HTML4::SafeListSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::Serializer::UTF8Encode class << self - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#145 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 def allowed_attributes; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#145 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 def allowed_attributes=(_arg0); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#144 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 def allowed_tags; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#144 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 def allowed_tags=(_arg0); end end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#195 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#195 module Rails::HTML4::Sanitizer extend ::Rails::HTML4::Sanitizer::VendorMethods end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#196 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#196 module Rails::HTML4::Sanitizer::VendorMethods - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#197 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#197 def full_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#201 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#201 def link_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#205 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#205 def safe_list_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#209 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#209 def white_list_sanitizer; end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#306 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#306 module Rails::HTML5; end # == Rails::HTML5::FullSanitizer @@ -380,7 +241,7 @@ module Rails::HTML5; end # full_sanitizer.sanitize("Bold no more! See more here...") # # => "Bold no more! See more here..." # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#335 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#335 class Rails::HTML5::FullSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML5 @@ -396,7 +257,7 @@ end # link_sanitizer.sanitize('Only the link text will be kept.') # # => "Only the link text will be kept." # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#350 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#350 class Rails::HTML5::LinkSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML5 @@ -455,7 +316,7 @@ end # # the sanitizer can also sanitize CSS # safe_list_sanitizer.sanitize_css('background-color: #000;') # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#408 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#408 class Rails::HTML5::SafeListSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::ComposedSanitize include ::Rails::HTML::Concern::Parser::HTML5 @@ -463,129 +324,129 @@ class Rails::HTML5::SafeListSanitizer < ::Rails::HTML::Sanitizer include ::Rails::HTML::Concern::Serializer::UTF8Encode class << self - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#145 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 def allowed_attributes; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#145 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 def allowed_attributes=(_arg0); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#144 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 def allowed_tags; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#144 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 def allowed_tags=(_arg0); end end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#307 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#307 class Rails::HTML5::Sanitizer class << self - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#309 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#309 def full_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#313 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#313 def link_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#317 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#317 def safe_list_sanitizer; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#321 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#321 def white_list_sanitizer; end end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#33 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#33 module Rails::HTML::Concern; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#34 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#34 module Rails::HTML::Concern::ComposedSanitize - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#35 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#35 def sanitize(html, options = T.unsafe(nil)); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#43 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#43 module Rails::HTML::Concern::Parser; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#44 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#44 module Rails::HTML::Concern::Parser::HTML4 - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#45 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#45 def parse_fragment(html); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#50 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#50 module Rails::HTML::Concern::Parser::HTML5 - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#51 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#51 def parse_fragment(html); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#57 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#57 module Rails::HTML::Concern::Scrubber; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#58 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#58 module Rails::HTML::Concern::Scrubber::Full - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#59 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#59 def scrub(fragment, options = T.unsafe(nil)); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#64 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#64 module Rails::HTML::Concern::Scrubber::Link - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#65 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#65 def initialize; end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#72 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#72 def scrub(fragment, options = T.unsafe(nil)); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#77 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#77 module Rails::HTML::Concern::Scrubber::SafeList - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#152 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#152 def initialize(prune: T.unsafe(nil)); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#169 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#169 def sanitize_css(style_string); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#156 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#156 def scrub(fragment, options = T.unsafe(nil)); end private - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#178 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#178 def allowed_attributes(options); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#174 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#174 def allowed_tags(options); end class << self # @private # - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#142 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#142 def included(klass); end end end # The default safe list for attributes # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#126 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#126 Rails::HTML::Concern::Scrubber::SafeList::DEFAULT_ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set) # The default safe list for tags # -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#79 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#79 Rails::HTML::Concern::Scrubber::SafeList::DEFAULT_ALLOWED_TAGS = T.let(T.unsafe(nil), Set) -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#184 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#184 module Rails::HTML::Concern::Serializer; end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#185 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#185 module Rails::HTML::Concern::Serializer::UTF8Encode - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#186 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#186 def serialize(fragment); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#418 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#418 Rails::HTML::FullSanitizer = Rails::HTML4::FullSanitizer -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#419 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#419 Rails::HTML::LinkSanitizer = Rails::HTML4::LinkSanitizer # === Rails::HTML::PermitScrubber @@ -633,107 +494,107 @@ Rails::HTML::LinkSanitizer = Rails::HTML4::LinkSanitizer # See the documentation for +Nokogiri::XML::Node+ to understand what's possible # with nodes: https://nokogiri.org/rdoc/Nokogiri/XML/Node.html # -# source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#49 +# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#49 class Rails::HTML::PermitScrubber < ::Loofah::Scrubber # @return [PermitScrubber] a new instance of PermitScrubber # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#52 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#52 def initialize(prune: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#50 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#50 def attributes; end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#62 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#62 def attributes=(attributes); end # Returns the value of attribute prune. # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#50 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#50 def prune; end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#66 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#66 def scrub(node); end # Returns the value of attribute tags. # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#50 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#50 def tags; end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#58 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#58 def tags=(tags); end protected # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#83 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#83 def allowed_node?(node); end # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#95 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#95 def keep_node?(node); end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#162 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#162 def scrub_attribute(node, attr_node); end # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#91 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#91 def scrub_attribute?(name); end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#112 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#112 def scrub_attributes(node); end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#128 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#128 def scrub_css_attribute(node); end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#103 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#103 def scrub_node(node); end # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#87 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#87 def skip_node?(node); end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#137 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#137 def validate!(var, name); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#420 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#420 Rails::HTML::SafeListSanitizer = Rails::HTML4::SafeListSanitizer -# source://rails-html-sanitizer/lib/rails/html/sanitizer/version.rb#5 +# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#5 class Rails::HTML::Sanitizer extend ::Rails::HTML4::Sanitizer::VendorMethods # @raise [NotImplementedError] # - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#18 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#18 def sanitize(html, options = T.unsafe(nil)); end private - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#28 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#28 def properly_encode(fragment, options); end - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#23 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#23 def remove_xpaths(node, xpaths); end class << self - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#13 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#13 def best_supported_vendor; end # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#7 + # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#7 def html5_support?; end end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer/version.rb#6 +# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#6 Rails::HTML::Sanitizer::VERSION = T.let(T.unsafe(nil), String) # === Rails::HTML::TargetScrubber @@ -747,16 +608,16 @@ Rails::HTML::Sanitizer::VERSION = T.let(T.unsafe(nil), String) # +attributes=+ # If set, attributes included will be removed. # -# source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#195 +# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#195 class Rails::HTML::TargetScrubber < ::Rails::HTML::PermitScrubber # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#196 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#196 def allowed_node?(node); end # @return [Boolean] # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#200 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#200 def scrub_attribute?(name); end end @@ -766,19 +627,19 @@ end # # Unallowed elements will be stripped, i.e. element is removed but its subtree kept. # -# source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#210 +# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#210 class Rails::HTML::TextOnlyScrubber < ::Loofah::Scrubber # @return [TextOnlyScrubber] a new instance of TextOnlyScrubber # - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#211 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#211 def initialize; end - # source://rails-html-sanitizer/lib/rails/html/scrubbers.rb#215 + # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#215 def scrub(node); end end -# source://rails-html-sanitizer/lib/rails/html/sanitizer.rb#421 +# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#421 Rails::HTML::WhiteListSanitizer = Rails::HTML4::SafeListSanitizer -# source://rails-html-sanitizer/lib/rails-html-sanitizer.rb#11 +# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#11 Rails::Html = Rails::HTML diff --git a/sorbet/rbi/gems/railties@7.1.5.1.rbi b/sorbet/rbi/gems/railties@7.1.5.1.rbi index 1fb9c79e3..14b51f409 100644 --- a/sorbet/rbi/gems/railties@7.1.5.1.rbi +++ b/sorbet/rbi/gems/railties@7.1.5.1.rbi @@ -4,9 +4,10 @@ # This is an autogenerated file for types exported from the `railties` gem. # Please instead update this file by running `bin/tapioca gem railties`. + # :include: ../README.rdoc # -# source://railties/lib/rails/gem_version.rb#3 +# source://railties//lib/rails/gem_version.rb#3 module Rails extend ::ActiveSupport::Autoload extend ::ActiveSupport::Benchmarkable @@ -14,50 +15,50 @@ module Rails class << self # Returns the value of attribute app_class. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def app_class; end # Sets the attribute app_class # # @param value the value to set the attribute app_class to. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def app_class=(_arg0); end - # source://railties/lib/rails.rb#43 + # source://railties//lib/rails.rb#43 def application; end # Sets the attribute application # # @param value the value to set the attribute application to. # - # source://railties/lib/rails.rb#41 + # source://railties//lib/rails.rb#41 def application=(_arg0); end - # source://railties/lib/rails.rb#123 + # source://railties//lib/rails.rb#123 def autoloaders; end - # source://railties/lib/rails.rb#54 + # source://railties//lib/rails.rb#54 def backtrace_cleaner; end # Returns the value of attribute cache. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def cache=(_arg0); end # The Configuration instance used to configure the \Rails environment # - # source://railties/lib/rails.rb#50 + # source://railties//lib/rails.rb#50 def configuration; end - # source://railties/lib/rails/deprecator.rb#4 + # source://railties//lib/rails/deprecator.rb#4 def deprecator; end # Returns the current \Rails environment. @@ -66,14 +67,14 @@ module Rails # Rails.env.development? # => true # Rails.env.production? # => false # - # source://railties/lib/rails.rb#72 + # source://railties//lib/rails.rb#72 def env; end # Sets the \Rails environment. # # Rails.env = "staging" # => "staging" # - # source://railties/lib/rails.rb#79 + # source://railties//lib/rails.rb#79 def env=(environment); end # Returns the ActiveSupport::ErrorReporter of the current \Rails project, @@ -84,12 +85,12 @@ module Rails # end # Rails.error.report(error) # - # source://railties/lib/rails.rb#90 + # source://railties//lib/rails.rb#90 def error; end # Returns the currently loaded version of \Rails as a +Gem::Version+. # - # source://railties/lib/rails/gem_version.rb#5 + # source://railties//lib/rails/gem_version.rb#5 def gem_version; end # Returns all \Rails groups for loading based on: @@ -102,25 +103,25 @@ module Rails # # => [:default, "development", :assets] for Rails.env == "development" # # => [:default, "production"] for Rails.env == "production" # - # source://railties/lib/rails.rb#103 + # source://railties//lib/rails.rb#103 def groups(*groups); end - # source://railties/lib/rails.rb#47 + # source://railties//lib/rails.rb#47 def initialize!(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails.rb#47 + # source://railties//lib/rails.rb#47 def initialized?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute logger. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://railties/lib/rails.rb#42 + # source://railties//lib/rails.rb#42 def logger=(_arg0); end # Returns a Pathname object of the public folder of the current @@ -129,7 +130,7 @@ module Rails # Rails.public_path # # => # # - # source://railties/lib/rails.rb#119 + # source://railties//lib/rails.rb#119 def public_path; end # Returns a Pathname object of the current \Rails project, @@ -138,12 +139,12 @@ module Rails # Rails.root # # => # # - # source://railties/lib/rails.rb#63 + # source://railties//lib/rails.rb#63 def root; end # Returns the currently loaded version of \Rails as a string. # - # source://railties/lib/rails/version.rb#7 + # source://railties//lib/rails/version.rb#7 def version; end end end @@ -194,41 +195,41 @@ end # 10. Run +config.before_eager_load+ and +eager_load!+ if +eager_load+ is +true+. # 11. Run +config.after_initialize+ callbacks. # -# source://railties/lib/rails/application.rb#62 +# source://railties//lib/rails/application.rb#62 class Rails::Application < ::Rails::Engine # @return [Application] a new instance of Application # - # source://railties/lib/rails/application.rb#109 + # source://railties//lib/rails/application.rb#109 def initialize(initial_variable_values = T.unsafe(nil), &block); end # Returns the value of attribute assets. # - # source://railties/lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#100 def assets; end # Sets the attribute assets # # @param value the value to set the attribute assets to. # - # source://railties/lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#100 def assets=(_arg0); end # Returns the value of attribute autoloaders. # - # source://railties/lib/rails/application.rb#102 + # source://railties//lib/rails/application.rb#102 def autoloaders; end - # source://railties/lib/rails/engine.rb#517 + # source://railties//lib/rails/application.rb#582 def build_middleware_stack; end - # source://railties/lib/rails/application.rb#437 + # source://railties//lib/rails/application.rb#437 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://railties/lib/rails/application.rb#441 + # source://railties//lib/rails/application.rb#441 def config=(_arg0); end # Convenience for loading config/foo.yml for the current \Rails env. @@ -270,13 +271,13 @@ class Rails::Application < ::Rails::Engine # Rails.application.config_for(:example)[:foo][:bar] # # => { baz: 1, qux: 2 } # - # source://railties/lib/rails/application.rb#274 + # source://railties//lib/rails/application.rb#274 def config_for(name, env: T.unsafe(nil)); end # Sends any console called in the instance of a new application up # to the +console+ method defined in Rails::Railtie. # - # source://railties/lib/rails/application.rb#357 + # source://railties//lib/rails/application.rb#357 def console(&blk); end # Returns an ActiveSupport::EncryptedConfiguration instance for the @@ -294,20 +295,20 @@ class Rails::Application < ::Rails::Engine # config/credentials/#{environment}.key for the current # environment, or +config/master.key+ if that file does not exist. # - # source://railties/lib/rails/application.rb#519 + # source://railties//lib/rails/application.rb#519 def credentials; end # Sets the attribute credentials # # @param value the value to set the attribute credentials to. # - # source://railties/lib/rails/application.rb#460 + # source://railties//lib/rails/application.rb#460 def credentials=(_arg0); end - # source://railties/lib/rails/application.rb#104 + # source://railties//lib/rails/application.rb#104 def default_url_options(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/application.rb#104 + # source://railties//lib/rails/application.rb#104 def default_url_options=(arg); end # A managed collection of deprecators (ActiveSupport::Deprecation::Deprecators). @@ -315,12 +316,12 @@ class Rails::Application < ::Rails::Engine # collection. Additionally, the collection's +silence+ method silences all # deprecators in the collection for the duration of a given block. # - # source://railties/lib/rails/application.rb#230 + # source://railties//lib/rails/application.rb#230 def deprecators; end # Eager loads the application code. # - # source://railties/lib/rails/application.rb#577 + # source://railties//lib/rails/application.rb#577 def eager_load!; end # Returns an ActiveSupport::EncryptedConfiguration instance for an encrypted @@ -339,55 +340,55 @@ class Rails::Application < ::Rails::Engine # command. (See the output of bin/rails encrypted:edit --help for # more information.) # - # source://railties/lib/rails/application.rb#538 + # source://railties//lib/rails/application.rb#538 def encrypted(path, key_path: T.unsafe(nil), env_key: T.unsafe(nil)); end # Stores some of the \Rails initial environment parameters which # will be used by middlewares and engines to configure themselves. # - # source://railties/lib/rails/application.rb#303 + # source://railties//lib/rails/application.rb#303 def env_config; end # Returns the value of attribute executor. # - # source://railties/lib/rails/application.rb#102 + # source://railties//lib/rails/application.rb#102 def executor; end # Sends any generators called in the instance of a new application up # to the +generators+ method defined in Rails::Railtie. # - # source://railties/lib/rails/application.rb#363 + # source://railties//lib/rails/application.rb#363 def generators(&blk); end - # source://railties/lib/rails/application.rb#551 + # source://railties//lib/rails/application.rb#551 def helpers_paths; end # Initialize the application passing the given group. By default, the # group is :default # - # source://railties/lib/rails/application.rb#424 + # source://railties//lib/rails/application.rb#424 def initialize!(group = T.unsafe(nil)); end # Returns true if the application is initialized. # # @return [Boolean] # - # source://railties/lib/rails/application.rb#134 + # source://railties//lib/rails/application.rb#134 def initialized?; end # Sends the initializers to the +initializer+ method defined in the # Rails::Initializable module. Each Rails::Application class has its own # set of initializers, as defined by the Initializable module. # - # source://railties/lib/rails/application.rb#345 + # source://railties//lib/rails/application.rb#345 def initializer(name, opts = T.unsafe(nil), &block); end - # source://railties/lib/rails/application.rb#431 + # source://railties//lib/rails/application.rb#431 def initializers; end # Sends the +isolate_namespace+ method up to the class method. # - # source://railties/lib/rails/application.rb#374 + # source://railties//lib/rails/application.rb#374 def isolate_namespace(mod); end # Returns a key generator (ActiveSupport::CachingKeyGenerator) for a @@ -395,10 +396,10 @@ class Rails::Application < ::Rails::Engine # calls with the same +secret_key_base+ will return the same key generator # instance. # - # source://railties/lib/rails/application.rb#161 + # source://railties//lib/rails/application.rb#161 def key_generator(secret_key_base = T.unsafe(nil)); end - # source://railties/lib/rails/application.rb#571 + # source://railties//lib/rails/application.rb#571 def load_generators(app = T.unsafe(nil)); end # Returns a message verifier object. @@ -420,7 +421,7 @@ class Rails::Application < ::Rails::Engine # # See the ActiveSupport::MessageVerifier documentation for more information. # - # source://railties/lib/rails/application.rb#222 + # source://railties//lib/rails/application.rb#222 def message_verifier(verifier_name); end # Returns a message verifier factory (ActiveSupport::MessageVerifiers). This @@ -451,7 +452,7 @@ class Rails::Application < ::Rails::Engine # app.message_verifiers.rotate(secret_key_base: "old secret_key_base") # end # - # source://railties/lib/rails/application.rb#197 + # source://railties//lib/rails/application.rb#197 def message_verifiers; end # Return an array of railties respecting the order they're loaded @@ -461,60 +462,60 @@ class Rails::Application < ::Rails::Engine # copying migrations from railties ; we need them in the order given by # +railties_order+. # - # source://railties/lib/rails/application.rb#567 + # source://railties//lib/rails/application.rb#567 def migration_railties; end # If you try to define a set of Rake tasks on the instance, these will get # passed up to the Rake tasks defined on the application's class. # - # source://railties/lib/rails/application.rb#338 + # source://railties//lib/rails/application.rb#338 def rake_tasks(&block); end # Reload application routes regardless if they changed or not. # - # source://railties/lib/rails/application.rb#153 + # source://railties//lib/rails/application.rb#153 def reload_routes!; end # Returns the value of attribute reloader. # - # source://railties/lib/rails/application.rb#102 + # source://railties//lib/rails/application.rb#102 def reloader; end # Returns the value of attribute reloaders. # - # source://railties/lib/rails/application.rb#102 + # source://railties//lib/rails/application.rb#102 def reloaders; end - # source://railties/lib/rails/application.rb#400 + # source://railties//lib/rails/application.rb#400 def require_environment!; end - # source://railties/lib/rails/application.rb#405 + # source://railties//lib/rails/application.rb#405 def routes_reloader; end - # source://railties/lib/rails/application.rb#138 + # source://railties//lib/rails/application.rb#138 def run_load_hooks!; end # Sends any runner called in the instance of a new application up # to the +runner+ method defined in Rails::Railtie. # - # source://railties/lib/rails/application.rb#351 + # source://railties//lib/rails/application.rb#351 def runner(&blk); end # Returns the value of attribute sandbox. # - # source://railties/lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#100 def sandbox; end # Sets the attribute sandbox # # @param value the value to set the attribute sandbox to. # - # source://railties/lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#100 def sandbox=(_arg0); end # Returns the value of attribute sandbox. # - # source://railties/lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#101 def sandbox?; end # The secret_key_base is used as the input secret to the application's key generator, which in turn @@ -534,87 +535,87 @@ class Rails::Application < ::Rails::Engine # then +credentials.secret_key_base+, and finally +secrets.secret_key_base+. For most applications, # the correct place to store it is in the encrypted credentials file. # - # source://railties/lib/rails/application.rb#478 + # source://railties//lib/rails/application.rb#478 def secret_key_base; end - # source://railties/lib/rails/application.rb#443 + # source://railties//lib/rails/application.rb#443 def secrets; end # Sets the attribute secrets # # @param value the value to set the attribute secrets to. # - # source://railties/lib/rails/application.rb#460 + # source://railties//lib/rails/application.rb#460 def secrets=(_arg0); end # Sends any server called in the instance of a new application up # to the +server+ method defined in Rails::Railtie. # - # source://railties/lib/rails/application.rb#369 + # source://railties//lib/rails/application.rb#369 def server(&blk); end - # source://railties/lib/rails/application.rb#547 + # source://railties//lib/rails/application.rb#547 def to_app; end # Returns an array of file paths appended with a hash of # directories-extensions suitable for ActiveSupport::FileUpdateChecker # API. # - # source://railties/lib/rails/application.rb#412 + # source://railties//lib/rails/application.rb#412 def watchable_args; end protected - # source://railties/lib/rails/application.rb#650 + # source://railties//lib/rails/application.rb#650 def default_middleware_stack; end - # source://railties/lib/rails/application.rb#665 + # source://railties//lib/rails/application.rb#665 def ensure_generator_templates_added; end # Returns the ordered railties for this application considering railties_order. # - # source://railties/lib/rails/application.rb#616 + # source://railties//lib/rails/application.rb#616 def ordered_railties; end - # source://railties/lib/rails/application.rb#638 + # source://railties//lib/rails/application.rb#638 def railties_initializers(current); end - # source://railties/lib/rails/application.rb#605 + # source://railties//lib/rails/application.rb#605 def run_console_blocks(app); end - # source://railties/lib/rails/application.rb#595 + # source://railties//lib/rails/application.rb#595 def run_generators_blocks(app); end - # source://railties/lib/rails/application.rb#600 + # source://railties//lib/rails/application.rb#600 def run_runner_blocks(app); end - # source://railties/lib/rails/application.rb#610 + # source://railties//lib/rails/application.rb#610 def run_server_blocks(app); end - # source://railties/lib/rails/application.rb#584 + # source://railties//lib/rails/application.rb#584 def run_tasks_blocks(app); end - # source://railties/lib/rails/application.rb#655 + # source://railties//lib/rails/application.rb#655 def validate_secret_key_base(secret_key_base); end private - # source://railties/lib/rails/application.rb#703 + # source://railties//lib/rails/application.rb#703 def build_middleware; end - # source://railties/lib/rails/application.rb#696 + # source://railties//lib/rails/application.rb#696 def build_request(env); end - # source://railties/lib/rails/application.rb#707 + # source://railties//lib/rails/application.rb#707 def coerce_same_site_protection(protection); end - # source://railties/lib/rails/application.rb#711 + # source://railties//lib/rails/application.rb#711 def filter_parameters; end - # source://railties/lib/rails/application.rb#671 + # source://railties//lib/rails/application.rb#671 def generate_local_secret; end - # source://railties/lib/rails/application.rb#690 + # source://railties//lib/rails/application.rb#690 def secrets_secret_key_base; end class << self @@ -632,411 +633,412 @@ class Rails::Application < ::Rails::Engine # Rails application, you will need to add lib to $LOAD_PATH on your own in case # you need to load files in lib/ during the application configuration as well. # - # source://railties/lib/rails/application.rb#393 + # source://railties//lib/rails/application.rb#393 def add_lib_to_load_path!(root); end - # source://railties/lib/rails/application.rb#84 + # source://railties//lib/rails/application.rb#84 def create(initial_variable_values = T.unsafe(nil), &block); end - # source://railties/lib/rails/application.rb#88 + # source://railties//lib/rails/application.rb#88 def find_root(from); end # @private # - # source://railties/lib/rails/application.rb#71 + # source://railties//lib/rails/application.rb#71 def inherited(base); end - # source://railties/lib/rails/application.rb#80 + # source://railties//lib/rails/application.rb#80 def instance; end + # source://railties//lib/rails/application.rb#97 def new(*_arg0); end end end -# source://railties/lib/rails/application/bootstrap.rb#12 +# source://railties//lib/rails/application/bootstrap.rb#12 module Rails::Application::Bootstrap include ::Rails::Initializable extend ::Rails::Initializable::ClassMethods end -# source://railties/lib/rails/application/configuration.rb#13 +# source://railties//lib/rails/application/configuration.rb#13 class Rails::Application::Configuration < ::Rails::Engine::Configuration # @return [Configuration] a new instance of Configuration # - # source://railties/lib/rails/application/configuration.rb#30 + # source://railties//lib/rails/application/configuration.rb#30 def initialize(*_arg0); end # Returns the value of attribute add_autoload_paths_to_load_path. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def add_autoload_paths_to_load_path; end # Sets the attribute add_autoload_paths_to_load_path # # @param value the value to set the attribute add_autoload_paths_to_load_path to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def add_autoload_paths_to_load_path=(_arg0); end # Returns the value of attribute allow_concurrency. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def allow_concurrency; end # Sets the attribute allow_concurrency # # @param value the value to set the attribute allow_concurrency to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def allow_concurrency=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#541 + # source://railties//lib/rails/application/configuration.rb#541 def annotations; end # Returns the value of attribute api_only. # - # source://railties/lib/rails/application/configuration.rb#28 + # source://railties//lib/rails/application/configuration.rb#28 def api_only; end - # source://railties/lib/rails/application/configuration.rb#375 + # source://railties//lib/rails/application/configuration.rb#375 def api_only=(value); end # Returns the value of attribute asset_host. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def asset_host; end # Sets the attribute asset_host # # @param value the value to set the attribute asset_host to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def asset_host=(_arg0); end # Returns the value of attribute assume_ssl. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def assume_ssl; end # Sets the attribute assume_ssl # # @param value the value to set the attribute assume_ssl to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def assume_ssl=(_arg0); end # Returns the value of attribute autoflush_log. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def autoflush_log; end # Sets the attribute autoflush_log # # @param value the value to set the attribute autoflush_log to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def autoflush_log=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#473 + # source://railties//lib/rails/application/configuration.rb#473 def autoload_lib(ignore:); end - # source://railties/lib/rails/application/configuration.rb#485 + # source://railties//lib/rails/application/configuration.rb#485 def autoload_lib_once(ignore:); end # Returns the value of attribute beginning_of_week. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def beginning_of_week; end # Sets the attribute beginning_of_week # # @param value the value to set the attribute beginning_of_week to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def beginning_of_week=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#387 + # source://railties//lib/rails/application/configuration.rb#387 def broadcast_log_level; end # Returns the value of attribute cache_classes. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def cache_classes; end # Sets the attribute cache_classes # # @param value the value to set the attribute cache_classes to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def cache_classes=(_arg0); end # Returns the value of attribute cache_store. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def cache_store; end # Sets the attribute cache_store # # @param value the value to set the attribute cache_store to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def cache_store=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#497 + # source://railties//lib/rails/application/configuration.rb#497 def colorize_logging; end - # source://railties/lib/rails/application/configuration.rb#501 + # source://railties//lib/rails/application/configuration.rb#501 def colorize_logging=(val); end # Returns the value of attribute consider_all_requests_local. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def consider_all_requests_local; end # Sets the attribute consider_all_requests_local # # @param value the value to set the attribute consider_all_requests_local to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def consider_all_requests_local=(_arg0); end # Returns the value of attribute console. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def console; end # Sets the attribute console # # @param value the value to set the attribute console to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def console=(_arg0); end # Configures the ActionDispatch::ContentSecurityPolicy. # - # source://railties/lib/rails/application/configuration.rb#546 + # source://railties//lib/rails/application/configuration.rb#546 def content_security_policy(&block); end # Returns the value of attribute content_security_policy_nonce_directives. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_nonce_directives; end # Sets the attribute content_security_policy_nonce_directives # # @param value the value to set the attribute content_security_policy_nonce_directives to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_nonce_directives=(_arg0); end # Returns the value of attribute content_security_policy_nonce_generator. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_nonce_generator; end # Sets the attribute content_security_policy_nonce_generator # # @param value the value to set the attribute content_security_policy_nonce_generator to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_nonce_generator=(_arg0); end # Returns the value of attribute content_security_policy_report_only. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_report_only; end # Sets the attribute content_security_policy_report_only # # @param value the value to set the attribute content_security_policy_report_only to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def content_security_policy_report_only=(_arg0); end # Returns the value of attribute credentials. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def credentials; end # Sets the attribute credentials # # @param value the value to set the attribute credentials to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def credentials=(_arg0); end # Loads and returns the entire raw configuration of database from # values stored in config/database.yml. # - # source://railties/lib/rails/application/configuration.rb#436 + # source://railties//lib/rails/application/configuration.rb#436 def database_configuration; end - # source://railties/lib/rails/application/configuration.rb#391 + # source://railties//lib/rails/application/configuration.rb#391 def debug_exception_response_format; end # Sets the attribute debug_exception_response_format # # @param value the value to set the attribute debug_exception_response_format to. # - # source://railties/lib/rails/application/configuration.rb#395 + # source://railties//lib/rails/application/configuration.rb#395 def debug_exception_response_format=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#563 + # source://railties//lib/rails/application/configuration.rb#563 def default_log_file; end # Returns the value of attribute disable_sandbox. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def disable_sandbox; end # Sets the attribute disable_sandbox # # @param value the value to set the attribute disable_sandbox to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def disable_sandbox=(_arg0); end # Returns the value of attribute dom_testing_default_html_version. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def dom_testing_default_html_version; end # Sets the attribute dom_testing_default_html_version # # @param value the value to set the attribute dom_testing_default_html_version to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def dom_testing_default_html_version=(_arg0); end # Returns the value of attribute eager_load. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def eager_load; end # Sets the attribute eager_load # # @param value the value to set the attribute eager_load to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def eager_load=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#357 + # source://railties//lib/rails/application/configuration.rb#357 def enable_dependency_loading; end - # source://railties/lib/rails/application/configuration.rb#362 + # source://railties//lib/rails/application/configuration.rb#362 def enable_dependency_loading=(value); end - # source://railties/lib/rails/application/configuration.rb#343 + # source://railties//lib/rails/application/configuration.rb#343 def enable_reloading; end - # source://railties/lib/rails/application/configuration.rb#347 + # source://railties//lib/rails/application/configuration.rb#347 def enable_reloading=(value); end # Returns the value of attribute encoding. # - # source://railties/lib/rails/application/configuration.rb#28 + # source://railties//lib/rails/application/configuration.rb#28 def encoding; end - # source://railties/lib/rails/application/configuration.rb#367 + # source://railties//lib/rails/application/configuration.rb#367 def encoding=(value); end # Returns the value of attribute exceptions_app. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def exceptions_app; end # Sets the attribute exceptions_app # # @param value the value to set the attribute exceptions_app to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def exceptions_app=(_arg0); end # Returns the value of attribute file_watcher. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def file_watcher; end # Sets the attribute file_watcher # # @param value the value to set the attribute file_watcher to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def file_watcher=(_arg0); end # Returns the value of attribute filter_parameters. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def filter_parameters; end # Sets the attribute filter_parameters # # @param value the value to set the attribute filter_parameters to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def filter_parameters=(_arg0); end # Returns the value of attribute filter_redirect. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def filter_redirect; end # Sets the attribute filter_redirect # # @param value the value to set the attribute filter_redirect to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def filter_redirect=(_arg0); end # Returns the value of attribute force_ssl. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def force_ssl; end # Sets the attribute force_ssl # # @param value the value to set the attribute force_ssl to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def force_ssl=(_arg0); end # Returns the value of attribute helpers_paths. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def helpers_paths; end # Sets the attribute helpers_paths # # @param value the value to set the attribute helpers_paths to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def helpers_paths=(_arg0); end # Returns the value of attribute host_authorization. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def host_authorization; end # Sets the attribute host_authorization # # @param value the value to set the attribute host_authorization to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def host_authorization=(_arg0); end # Returns the value of attribute hosts. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def hosts; end # Sets the attribute hosts # # @param value the value to set the attribute hosts to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def hosts=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#575 + # source://railties//lib/rails/application/configuration.rb#575 def inspect; end # Load the config/database.yml to create the Rake tasks for @@ -1045,7 +1047,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration # # Do not use this method, use #database_configuration instead. # - # source://railties/lib/rails/application/configuration.rb#418 + # source://railties//lib/rails/application/configuration.rb#418 def load_database_yaml; end # Loads default configuration values for a target version. This includes @@ -1053,225 +1055,225 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration # {configuration guide}[https://guides.rubyonrails.org/configuring.html#versioned-default-values] # for the default values associated with a particular version. # - # source://railties/lib/rails/application/configuration.rb#92 + # source://railties//lib/rails/application/configuration.rb#92 def load_defaults(target_version); end # Returns the value of attribute loaded_config_version. # - # source://railties/lib/rails/application/configuration.rb#28 + # source://railties//lib/rails/application/configuration.rb#28 def loaded_config_version; end # Returns the value of attribute log_file_size. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_file_size; end # Sets the attribute log_file_size # # @param value the value to set the attribute log_file_size to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_file_size=(_arg0); end # Returns the value of attribute log_formatter. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_formatter; end # Sets the attribute log_formatter # # @param value the value to set the attribute log_formatter to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_formatter=(_arg0); end # Returns the value of attribute log_level. # - # source://railties/lib/rails/application/configuration.rb#28 + # source://railties//lib/rails/application/configuration.rb#28 def log_level; end - # source://railties/lib/rails/application/configuration.rb#382 + # source://railties//lib/rails/application/configuration.rb#382 def log_level=(level); end # Returns the value of attribute log_tags. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_tags; end # Sets the attribute log_tags # # @param value the value to set the attribute log_tags to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def log_tags=(_arg0); end # Returns the value of attribute logger. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def logger=(_arg0); end - # source://railties/lib/rails/application/configuration.rb#397 + # source://railties//lib/rails/application/configuration.rb#397 def paths; end # Configures the ActionDispatch::PermissionsPolicy. # - # source://railties/lib/rails/application/configuration.rb#555 + # source://railties//lib/rails/application/configuration.rb#555 def permissions_policy(&block); end # Returns the value of attribute precompile_filter_parameters. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def precompile_filter_parameters; end # Sets the attribute precompile_filter_parameters # # @param value the value to set the attribute precompile_filter_parameters to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def precompile_filter_parameters=(_arg0); end # Returns the value of attribute public_file_server. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def public_file_server; end # Sets the attribute public_file_server # # @param value the value to set the attribute public_file_server to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def public_file_server=(_arg0); end # Returns the value of attribute railties_order. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def railties_order; end # Sets the attribute railties_order # # @param value the value to set the attribute railties_order to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def railties_order=(_arg0); end # Returns the value of attribute rake_eager_load. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def rake_eager_load; end # Sets the attribute rake_eager_load # # @param value the value to set the attribute rake_eager_load to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def rake_eager_load=(_arg0); end # Returns the value of attribute read_encrypted_secrets. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def read_encrypted_secrets; end # Sets the attribute read_encrypted_secrets # # @param value the value to set the attribute read_encrypted_secrets to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def read_encrypted_secrets=(_arg0); end # Returns the value of attribute relative_url_root. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def relative_url_root; end # Sets the attribute relative_url_root # # @param value the value to set the attribute relative_url_root to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def relative_url_root=(_arg0); end # Returns the value of attribute reload_classes_only_on_change. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def reload_classes_only_on_change; end # Sets the attribute reload_classes_only_on_change # # @param value the value to set the attribute reload_classes_only_on_change to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def reload_classes_only_on_change=(_arg0); end # @return [Boolean] # - # source://railties/lib/rails/application/configuration.rb#339 + # source://railties//lib/rails/application/configuration.rb#339 def reloading_enabled?; end # Returns the value of attribute require_master_key. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def require_master_key; end # Sets the attribute require_master_key # # @param value the value to set the attribute require_master_key to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def require_master_key=(_arg0); end # Returns the value of attribute sandbox_by_default. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def sandbox_by_default; end # Sets the attribute sandbox_by_default # # @param value the value to set the attribute sandbox_by_default to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def sandbox_by_default=(_arg0); end # Returns the value of attribute secret_key_base. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def secret_key_base; end # Sets the attribute secret_key_base # # @param value the value to set the attribute secret_key_base to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def secret_key_base=(_arg0); end # Returns the value of attribute server_timing. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def server_timing; end # Sets the attribute server_timing # # @param value the value to set the attribute server_timing to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def server_timing=(_arg0); end # Returns the value of attribute session_options. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def session_options; end # Sets the attribute session_options # # @param value the value to set the attribute session_options to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def session_options=(_arg0); end # Specifies what class to use to store the session. Possible values @@ -1290,146 +1292,146 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration # # use ActionDispatch::Session::MyCustomStore as the session store # config.session_store :my_custom_store # - # source://railties/lib/rails/application/configuration.rb#521 + # source://railties//lib/rails/application/configuration.rb#521 def session_store(new_session_store = T.unsafe(nil), **options); end # @return [Boolean] # - # source://railties/lib/rails/application/configuration.rb#537 + # source://railties//lib/rails/application/configuration.rb#537 def session_store?; end # Returns the value of attribute ssl_options. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def ssl_options; end # Sets the attribute ssl_options # # @param value the value to set the attribute ssl_options to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def ssl_options=(_arg0); end # Returns the value of attribute time_zone. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def time_zone; end # Sets the attribute time_zone # # @param value the value to set the attribute time_zone to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def time_zone=(_arg0); end # Returns the value of attribute x. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def x; end # Sets the attribute x # # @param value the value to set the attribute x to. # - # source://railties/lib/rails/application/configuration.rb#14 + # source://railties//lib/rails/application/configuration.rb#14 def x=(_arg0); end private - # source://railties/lib/rails/application/configuration.rb#600 + # source://railties//lib/rails/application/configuration.rb#600 def credentials_defaults; end end -# source://railties/lib/rails/application/configuration.rb#579 +# source://railties//lib/rails/application/configuration.rb#579 class Rails::Application::Configuration::Custom # @return [Custom] a new instance of Custom # - # source://railties/lib/rails/application/configuration.rb#580 + # source://railties//lib/rails/application/configuration.rb#580 def initialize; end - # source://railties/lib/rails/application/configuration.rb#584 + # source://railties//lib/rails/application/configuration.rb#584 def method_missing(method, *args); end private # @return [Boolean] # - # source://railties/lib/rails/application/configuration.rb#594 + # source://railties//lib/rails/application/configuration.rb#594 def respond_to_missing?(symbol, *_arg1); end end -# source://railties/lib/rails/application/configuration.rb#351 +# source://railties//lib/rails/application/configuration.rb#351 Rails::Application::Configuration::ENABLE_DEPENDENCY_LOADING_WARNING = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/application/default_middleware_stack.rb#5 +# source://railties//lib/rails/application/default_middleware_stack.rb#5 class Rails::Application::DefaultMiddlewareStack # @return [DefaultMiddlewareStack] a new instance of DefaultMiddlewareStack # - # source://railties/lib/rails/application/default_middleware_stack.rb#8 + # source://railties//lib/rails/application/default_middleware_stack.rb#8 def initialize(app, config, paths); end # Returns the value of attribute app. # - # source://railties/lib/rails/application/default_middleware_stack.rb#6 + # source://railties//lib/rails/application/default_middleware_stack.rb#6 def app; end - # source://railties/lib/rails/application/default_middleware_stack.rb#14 + # source://railties//lib/rails/application/default_middleware_stack.rb#14 def build_stack; end # Returns the value of attribute config. # - # source://railties/lib/rails/application/default_middleware_stack.rb#6 + # source://railties//lib/rails/application/default_middleware_stack.rb#6 def config; end # Returns the value of attribute paths. # - # source://railties/lib/rails/application/default_middleware_stack.rb#6 + # source://railties//lib/rails/application/default_middleware_stack.rb#6 def paths; end private - # source://railties/lib/rails/application/default_middleware_stack.rb#109 + # source://railties//lib/rails/application/default_middleware_stack.rb#109 def load_rack_cache; end - # source://railties/lib/rails/application/default_middleware_stack.rb#131 + # source://railties//lib/rails/application/default_middleware_stack.rb#131 def show_exceptions_app; end end -# source://railties/lib/rails/application/finisher.rb#11 +# source://railties//lib/rails/application/finisher.rb#11 module Rails::Application::Finisher include ::Rails::Initializable extend ::Rails::Initializable::ClassMethods end -# source://railties/lib/rails/application/finisher.rb#110 +# source://railties//lib/rails/application/finisher.rb#110 module Rails::Application::Finisher::InterlockHook class << self - # source://railties/lib/rails/application/finisher.rb#115 + # source://railties//lib/rails/application/finisher.rb#115 def complete(_state); end - # source://railties/lib/rails/application/finisher.rb#111 + # source://railties//lib/rails/application/finisher.rb#111 def run; end end end -# source://railties/lib/rails/application/finisher.rb#96 +# source://railties//lib/rails/application/finisher.rb#96 class Rails::Application::Finisher::MonitorHook # @return [MonitorHook] a new instance of MonitorHook # - # source://railties/lib/rails/application/finisher.rb#97 + # source://railties//lib/rails/application/finisher.rb#97 def initialize(monitor = T.unsafe(nil)); end - # source://railties/lib/rails/application/finisher.rb#105 + # source://railties//lib/rails/application/finisher.rb#105 def complete(_state); end - # source://railties/lib/rails/application/finisher.rb#101 + # source://railties//lib/rails/application/finisher.rb#101 def run; end end -# source://railties/lib/rails/application.rb#106 +# source://railties//lib/rails/application.rb#106 Rails::Application::INITIAL_VARIABLES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/application/routes_reloader.rb#7 +# source://railties//lib/rails/application/routes_reloader.rb#7 class Rails::Application::RoutesReloader include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -1437,194 +1439,194 @@ class Rails::Application::RoutesReloader # @return [RoutesReloader] a new instance of RoutesReloader # - # source://railties/lib/rails/application/routes_reloader.rb#15 + # source://railties//lib/rails/application/routes_reloader.rb#15 def initialize; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks?; end # Returns the value of attribute eager_load. # - # source://railties/lib/rails/application/routes_reloader.rb#11 + # source://railties//lib/rails/application/routes_reloader.rb#11 def eager_load; end # Sets the attribute eager_load # # @param value the value to set the attribute eager_load to. # - # source://railties/lib/rails/application/routes_reloader.rb#11 + # source://railties//lib/rails/application/routes_reloader.rb#11 def eager_load=(_arg0); end - # source://railties/lib/rails/application/routes_reloader.rb#13 + # source://railties//lib/rails/application/routes_reloader.rb#13 def execute(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/application/routes_reloader.rb#13 + # source://railties//lib/rails/application/routes_reloader.rb#13 def execute_if_updated(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute external_routes. # - # source://railties/lib/rails/application/routes_reloader.rb#10 + # source://railties//lib/rails/application/routes_reloader.rb#10 def external_routes; end # Returns the value of attribute paths. # - # source://railties/lib/rails/application/routes_reloader.rb#10 + # source://railties//lib/rails/application/routes_reloader.rb#10 def paths; end - # source://railties/lib/rails/application/routes_reloader.rb#22 + # source://railties//lib/rails/application/routes_reloader.rb#22 def reload!; end # Returns the value of attribute route_sets. # - # source://railties/lib/rails/application/routes_reloader.rb#10 + # source://railties//lib/rails/application/routes_reloader.rb#10 def route_sets; end - # source://railties/lib/rails/application/routes_reloader.rb#12 + # source://railties//lib/rails/application/routes_reloader.rb#12 def run_after_load_paths=(_arg0); end - # source://railties/lib/rails/application/routes_reloader.rb#13 + # source://railties//lib/rails/application/routes_reloader.rb#13 def updated?(*_arg0, **_arg1, &_arg2); end private - # source://railties/lib/rails/application/routes_reloader.rb#42 + # source://railties//lib/rails/application/routes_reloader.rb#42 def clear!; end - # source://railties/lib/rails/application/routes_reloader.rb#58 + # source://railties//lib/rails/application/routes_reloader.rb#58 def finalize!; end - # source://railties/lib/rails/application/routes_reloader.rb#49 + # source://railties//lib/rails/application/routes_reloader.rb#49 def load_paths; end - # source://railties/lib/rails/application/routes_reloader.rb#62 + # source://railties//lib/rails/application/routes_reloader.rb#62 def revert; end - # source://railties/lib/rails/application/routes_reloader.rb#54 + # source://railties//lib/rails/application/routes_reloader.rb#54 def run_after_load_paths; end - # source://railties/lib/rails/application/routes_reloader.rb#32 + # source://railties//lib/rails/application/routes_reloader.rb#32 def updater; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks?; end end end -# source://railties/lib/rails/application_controller.rb#3 +# source://railties//lib/rails/application_controller.rb#3 class Rails::ApplicationController < ::ActionController::Base private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://railties//lib/rails/application_controller.rb#3 def _layout(lookup_context, formats); end - # source://railties/lib/rails/application_controller.rb#25 + # source://railties//lib/rails/application_controller.rb#25 def disable_content_security_policy_nonce!; end # @return [Boolean] # - # source://railties/lib/rails/application_controller.rb#21 + # source://railties//lib/rails/application_controller.rb#21 def local_request?; end - # source://railties/lib/rails/application_controller.rb#15 + # source://railties//lib/rails/application_controller.rb#15 def require_local!; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application_controller.rb#7 def __callbacks; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://railties//lib/rails/application_controller.rb#5 def _layout; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://railties//lib/rails/application_controller.rb#5 def _layout_conditions; end - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://railties//lib/rails/application_controller.rb#3 def middleware_stack; end end end -# source://railties/lib/rails/autoloaders.rb#4 +# source://railties//lib/rails/autoloaders.rb#4 class Rails::Autoloaders include ::Enumerable # @return [Autoloaders] a new instance of Autoloaders # - # source://railties/lib/rails/autoloaders.rb#11 + # source://railties//lib/rails/autoloaders.rb#11 def initialize; end # @yield [main] # - # source://railties/lib/rails/autoloaders.rb#31 + # source://railties//lib/rails/autoloaders.rb#31 def each; end - # source://railties/lib/rails/autoloaders.rb#40 + # source://railties//lib/rails/autoloaders.rb#40 def log!; end - # source://railties/lib/rails/autoloaders.rb#36 + # source://railties//lib/rails/autoloaders.rb#36 def logger=(logger); end # Returns the value of attribute main. # - # source://railties/lib/rails/autoloaders.rb#9 + # source://railties//lib/rails/autoloaders.rb#9 def main; end # Returns the value of attribute once. # - # source://railties/lib/rails/autoloaders.rb#9 + # source://railties//lib/rails/autoloaders.rb#9 def once; end # @return [Boolean] # - # source://railties/lib/rails/autoloaders.rb#44 + # source://railties//lib/rails/autoloaders.rb#44 def zeitwerk_enabled?; end end -# source://railties/lib/rails/autoloaders/inflector.rb#7 +# source://railties//lib/rails/autoloaders/inflector.rb#7 module Rails::Autoloaders::Inflector class << self - # source://railties/lib/rails/autoloaders/inflector.rb#12 + # source://railties//lib/rails/autoloaders/inflector.rb#12 def camelize(basename, _abspath); end - # source://railties/lib/rails/autoloaders/inflector.rb#16 + # source://railties//lib/rails/autoloaders/inflector.rb#16 def inflect(overrides); end end end -# source://railties/lib/rails/backtrace_cleaner.rb#7 +# source://railties//lib/rails/backtrace_cleaner.rb#7 class Rails::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner # @return [BacktraceCleaner] a new instance of BacktraceCleaner # - # source://railties/lib/rails/backtrace_cleaner.rb#11 + # source://railties//lib/rails/backtrace_cleaner.rb#11 def initialize; end end -# source://railties/lib/rails/backtrace_cleaner.rb#8 +# source://railties//lib/rails/backtrace_cleaner.rb#8 Rails::BacktraceCleaner::APP_DIRS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://railties/lib/rails/backtrace_cleaner.rb#9 +# source://railties//lib/rails/backtrace_cleaner.rb#9 Rails::BacktraceCleaner::RENDER_TEMPLATE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://railties/lib/rails/command.rb#11 +# source://railties//lib/rails/command.rb#11 module Rails::Command include ::Rails::Command::Behavior extend ::ActiveSupport::Autoload extend ::Rails::Command::Behavior::ClassMethods class << self - # source://railties/lib/rails/command.rb#116 + # source://railties//lib/rails/command.rb#116 def application_root; end - # source://railties/lib/rails/command.rb#57 + # source://railties//lib/rails/command.rb#57 def environment; end # Rails finds namespaces similar to Thor, it only adds one rule: @@ -1638,118 +1640,118 @@ module Rails::Command # # "webrat", "webrat:integration", "rails:webrat", "rails:webrat:integration" # - # source://railties/lib/rails/command.rb#96 + # source://railties//lib/rails/command.rb#96 def find_by_namespace(namespace, command_name = T.unsafe(nil)); end - # source://railties/lib/rails/command.rb#53 + # source://railties//lib/rails/command.rb#53 def hidden_commands; end # Receives a namespace, arguments, and the behavior to invoke the command. # - # source://railties/lib/rails/command.rb#62 + # source://railties//lib/rails/command.rb#62 def invoke(full_namespace, args = T.unsafe(nil), **config); end - # source://railties/lib/rails/command.rb#120 + # source://railties//lib/rails/command.rb#120 def printing_commands; end # Returns the root of the \Rails engine or app running the command. # - # source://railties/lib/rails/command.rb#108 + # source://railties//lib/rails/command.rb#108 def root; end private - # source://railties/lib/rails/command.rb#159 + # source://railties//lib/rails/command.rb#159 def command_type; end - # source://railties/lib/rails/command.rb#167 + # source://railties//lib/rails/command.rb#167 def file_lookup_paths; end - # source://railties/lib/rails/command.rb#154 + # source://railties//lib/rails/command.rb#154 def invoke_rake(task, args, config); end - # source://railties/lib/rails/command.rb#163 + # source://railties//lib/rails/command.rb#163 def lookup_paths; end # @return [Boolean] # - # source://railties/lib/rails/command.rb#127 + # source://railties//lib/rails/command.rb#127 def rails_new_with_no_path?(args); end - # source://railties/lib/rails/command.rb#131 + # source://railties//lib/rails/command.rb#131 def split_namespace(namespace); end - # source://railties/lib/rails/command.rb#146 + # source://railties//lib/rails/command.rb#146 def with_argv(argv); end end end -# source://railties/lib/rails/command/actions.rb#5 +# source://railties//lib/rails/command/actions.rb#5 module Rails::Command::Actions - # source://railties/lib/rails/command/actions.rb#18 + # source://railties//lib/rails/command/actions.rb#18 def boot_application!; end - # source://railties/lib/rails/command/actions.rb#23 + # source://railties//lib/rails/command/actions.rb#23 def load_environment_config!; end - # source://railties/lib/rails/command/actions.rb#46 + # source://railties//lib/rails/command/actions.rb#46 def load_generators; end - # source://railties/lib/rails/command/actions.rb#42 + # source://railties//lib/rails/command/actions.rb#42 def load_tasks; end - # source://railties/lib/rails/command/actions.rb#13 + # source://railties//lib/rails/command/actions.rb#13 def require_application!; end # Change to the application's path if there is no config.ru file in current directory. # This allows us to run rails server from other directories, but still get # the main config.ru and properly set the tmp directory. # - # source://railties/lib/rails/command/actions.rb#9 + # source://railties//lib/rails/command/actions.rb#9 def set_application_directory!; end end -# source://railties/lib/rails/command/base.rb#14 +# source://railties//lib/rails/command/base.rb#14 class Rails::Command::Base < ::Thor include ::Rails::Command::Actions - # source://thor/1.3.2lib/thor/base.rb#155 + # source://railties//lib/rails/command/base.rb#173 def current_subcommand; end - # source://railties/lib/rails/command/base.rb#172 + # source://railties//lib/rails/command/base.rb#172 def executable(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/command/base.rb#175 + # source://railties//lib/rails/command/base.rb#175 def invoke_command(command, *_arg1); end class << self - # source://railties/lib/rails/command/base.rb#86 + # source://railties//lib/rails/command/base.rb#86 def banner(command = T.unsafe(nil), *_arg1); end # Sets the base_name taking into account the current class namespace. # # Rails::Command::TestCommand.base_name # => 'rails' # - # source://railties/lib/rails/command/base.rb#106 + # source://railties//lib/rails/command/base.rb#106 def base_name; end - # source://railties/lib/rails/command/base.rb#20 + # source://railties//lib/rails/command/base.rb#20 def bin; end - # source://railties/lib/rails/command/base.rb#20 + # source://railties//lib/rails/command/base.rb#20 def bin=(value); end - # source://railties/lib/rails/command/base.rb#20 + # source://railties//lib/rails/command/base.rb#20 def bin?; end - # source://railties/lib/rails/command/base.rb#122 + # source://railties//lib/rails/command/base.rb#122 def class_usage; end # Return command name without namespaces. # # Rails::Command::TestCommand.command_name # => 'test' # - # source://railties/lib/rails/command/base.rb#115 + # source://railties//lib/rails/command/base.rb#115 def command_name; end # Default file root to place extra files a command might need, placed @@ -1758,246 +1760,246 @@ class Rails::Command::Base < ::Thor # For a Rails::Command::TestCommand placed in rails/command/test_command.rb # would return rails/test. # - # source://railties/lib/rails/command/base.rb#139 + # source://railties//lib/rails/command/base.rb#139 def default_command_root; end # Tries to get the description from a USAGE file one folder above the command # root. # - # source://railties/lib/rails/command/base.rb#34 + # source://railties//lib/rails/command/base.rb#34 def desc(usage = T.unsafe(nil), description = T.unsafe(nil), options = T.unsafe(nil)); end # Returns true when the app is a \Rails engine. # # @return [Boolean] # - # source://railties/lib/rails/command/base.rb#28 + # source://railties//lib/rails/command/base.rb#28 def engine?; end - # source://railties/lib/rails/command/base.rb#82 + # source://railties//lib/rails/command/base.rb#82 def executable(command_name = T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/command/base.rb#23 + # source://railties//lib/rails/command/base.rb#23 def exit_on_failure?; end # Override Thor's class-level help to also show the USAGE. # - # source://railties/lib/rails/command/base.rb#98 + # source://railties//lib/rails/command/base.rb#98 def help(shell, *_arg1); end # Convenience method to hide this command from the available ones when # running rails command. # - # source://railties/lib/rails/command/base.rb#55 + # source://railties//lib/rails/command/base.rb#55 def hide_command!; end - # source://railties/lib/rails/command/base.rb#59 + # source://railties//lib/rails/command/base.rb#59 def inherited(base); end # Convenience method to get the namespace from the class name. It's the # same as Thor default except that the Command at the end of the class # is removed. # - # source://railties/lib/rails/command/base.rb#45 + # source://railties//lib/rails/command/base.rb#45 def namespace(name = T.unsafe(nil)); end - # source://railties/lib/rails/command/base.rb#67 + # source://railties//lib/rails/command/base.rb#67 def perform(command, args, config); end - # source://railties/lib/rails/command/base.rb#76 + # source://railties//lib/rails/command/base.rb#76 def printing_commands; end # Path to lookup a USAGE description in a file. # - # source://railties/lib/rails/command/base.rb#129 + # source://railties//lib/rails/command/base.rb#129 def usage_path; end private # Allow the command method to be called perform. # - # source://railties/lib/rails/command/base.rb#146 + # source://railties//lib/rails/command/base.rb#146 def create_command(meth); end - # source://railties/lib/rails/command/base.rb#159 + # source://railties//lib/rails/command/base.rb#159 def namespaced_name(name); end - # source://railties/lib/rails/command/base.rb#164 + # source://railties//lib/rails/command/base.rb#164 def resolve_path(path); end end end -# source://railties/lib/rails/command/base.rb#15 +# source://railties//lib/rails/command/base.rb#15 class Rails::Command::Base::Error < ::Thor::Error; end -# source://railties/lib/rails/command/behavior.rb#7 +# source://railties//lib/rails/command/behavior.rb#7 module Rails::Command::Behavior extend ::ActiveSupport::Concern mixes_in_class_methods ::Rails::Command::Behavior::ClassMethods end -# source://railties/lib/rails/command/behavior.rb#0 +# source://railties//lib/rails/command/behavior.rb#10 module Rails::Command::Behavior::ClassMethods - # source://railties/lib/rails/command/behavior.rb#12 + # source://railties//lib/rails/command/behavior.rb#12 def no_color!; end - # source://railties/lib/rails/command/behavior.rb#17 + # source://railties//lib/rails/command/behavior.rb#17 def subclasses; end private - # source://railties/lib/rails/command/behavior.rb#36 + # source://railties//lib/rails/command/behavior.rb#36 def lookup(namespaces); end - # source://railties/lib/rails/command/behavior.rb#56 + # source://railties//lib/rails/command/behavior.rb#56 def lookup!; end - # source://railties/lib/rails/command/behavior.rb#70 + # source://railties//lib/rails/command/behavior.rb#70 def namespaces_to_paths(namespaces); end - # source://railties/lib/rails/command/behavior.rb#23 + # source://railties//lib/rails/command/behavior.rb#23 def print_list(base, namespaces); end end -# source://railties/lib/rails/command.rb#17 +# source://railties//lib/rails/command.rb#17 class Rails::Command::CorrectableNameError < ::StandardError include ::DidYouMean::Correctable # @return [CorrectableNameError] a new instance of CorrectableNameError # - # source://railties/lib/rails/command.rb#20 + # source://railties//lib/rails/command.rb#20 def initialize(message, name, alternatives); end - # source://railties/lib/rails/command.rb#35 + # source://railties//lib/rails/command.rb#35 def corrections; end # Returns the value of attribute name. # - # source://railties/lib/rails/command.rb#18 + # source://railties//lib/rails/command.rb#18 def name; end end -# source://railties/lib/rails/command.rb#49 +# source://railties//lib/rails/command.rb#49 Rails::Command::HELP_MAPPINGS = T.let(T.unsafe(nil), Set) -# source://railties/lib/rails/command.rb#41 +# source://railties//lib/rails/command.rb#41 class Rails::Command::UnrecognizedCommandError < ::Rails::Command::CorrectableNameError # @return [UnrecognizedCommandError] a new instance of UnrecognizedCommandError # - # source://railties/lib/rails/command.rb#42 + # source://railties//lib/rails/command.rb#42 def initialize(name); end end -# source://railties/lib/rails/command.rb#50 +# source://railties//lib/rails/command.rb#50 Rails::Command::VERSION_MAPPINGS = T.let(T.unsafe(nil), Set) -# source://railties/lib/rails/configuration.rb#9 +# source://railties//lib/rails/configuration.rb#9 module Rails::Configuration; end -# source://railties/lib/rails/configuration.rb#104 +# source://railties//lib/rails/configuration.rb#104 class Rails::Configuration::Generators # @return [Generators] a new instance of Generators # - # source://railties/lib/rails/configuration.rb#108 + # source://railties//lib/rails/configuration.rb#108 def initialize; end - # source://railties/lib/rails/configuration.rb#130 + # source://railties//lib/rails/configuration.rb#130 def after_generate(&block); end # Returns the value of attribute after_generate_callbacks. # - # source://railties/lib/rails/configuration.rb#106 + # source://railties//lib/rails/configuration.rb#106 def after_generate_callbacks; end # Returns the value of attribute aliases. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def aliases; end # Sets the attribute aliases # # @param value the value to set the attribute aliases to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def aliases=(_arg0); end # Returns the value of attribute api_only. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def api_only; end # Sets the attribute api_only # # @param value the value to set the attribute api_only to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def api_only=(_arg0); end # Returns the value of attribute colorize_logging. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def colorize_logging; end # Sets the attribute colorize_logging # # @param value the value to set the attribute colorize_logging to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def colorize_logging=(_arg0); end # Returns the value of attribute fallbacks. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def fallbacks; end # Sets the attribute fallbacks # # @param value the value to set the attribute fallbacks to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def fallbacks=(_arg0); end # Returns the value of attribute hidden_namespaces. # - # source://railties/lib/rails/configuration.rb#106 + # source://railties//lib/rails/configuration.rb#106 def hidden_namespaces; end - # source://railties/lib/rails/configuration.rb#126 + # source://railties//lib/rails/configuration.rb#126 def hide_namespace(namespace); end - # source://railties/lib/rails/configuration.rb#134 + # source://railties//lib/rails/configuration.rb#134 def method_missing(method, *args); end # Returns the value of attribute options. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def options=(_arg0); end # Returns the value of attribute templates. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def templates; end # Sets the attribute templates # # @param value the value to set the attribute templates to. # - # source://railties/lib/rails/configuration.rb#105 + # source://railties//lib/rails/configuration.rb#105 def templates=(_arg0); end private - # source://railties/lib/rails/configuration.rb#119 + # source://railties//lib/rails/configuration.rb#119 def initialize_copy(source); end end @@ -2037,59 +2039,59 @@ end # # config.middleware.delete ActionDispatch::Flash # -# source://railties/lib/rails/configuration.rb#46 +# source://railties//lib/rails/configuration.rb#46 class Rails::Configuration::MiddlewareStackProxy # @return [MiddlewareStackProxy] a new instance of MiddlewareStackProxy # - # source://railties/lib/rails/configuration.rb#47 + # source://railties//lib/rails/configuration.rb#47 def initialize(operations = T.unsafe(nil), delete_operations = T.unsafe(nil)); end - # source://railties/lib/rails/configuration.rb#96 + # source://railties//lib/rails/configuration.rb#96 def +(other); end - # source://railties/lib/rails/configuration.rb#70 + # source://railties//lib/rails/configuration.rb#70 def delete(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#52 + # source://railties//lib/rails/configuration.rb#56 def insert(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#58 + # source://railties//lib/rails/configuration.rb#58 def insert_after(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#52 + # source://railties//lib/rails/configuration.rb#52 def insert_before(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#88 + # source://railties//lib/rails/configuration.rb#88 def merge_into(other); end - # source://railties/lib/rails/configuration.rb#74 + # source://railties//lib/rails/configuration.rb#78 def move(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#80 + # source://railties//lib/rails/configuration.rb#80 def move_after(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#74 + # source://railties//lib/rails/configuration.rb#74 def move_before(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#62 + # source://railties//lib/rails/configuration.rb#62 def swap(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#84 + # source://railties//lib/rails/configuration.rb#84 def unshift(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/configuration.rb#66 + # source://railties//lib/rails/configuration.rb#66 def use(*_arg0, **_arg1, &_arg2); end protected # Returns the value of attribute delete_operations. # - # source://railties/lib/rails/configuration.rb#101 + # source://railties//lib/rails/configuration.rb#101 def delete_operations; end # Returns the value of attribute operations. # - # source://railties/lib/rails/configuration.rb#101 + # source://railties//lib/rails/configuration.rb#101 def operations; end end @@ -2432,89 +2434,89 @@ end # # load Blog::Engine with highest priority, followed by application and other railties # config.railties_order = [Blog::Engine, :main_app, :all] # -# source://railties/lib/rails/engine/railties.rb#4 +# source://railties//lib/rails/engine/railties.rb#4 class Rails::Engine < ::Rails::Railtie include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods # @return [Engine] a new instance of Engine # - # source://railties/lib/rails/engine.rb#439 + # source://railties//lib/rails/engine.rb#439 def initialize; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 + # source://railties//lib/rails/engine.rb#434 def _run_load_seed_callbacks(&block); end # Returns the underlying Rack application for this engine. # - # source://railties/lib/rails/engine.rb#517 + # source://railties//lib/rails/engine.rb#517 def app; end # Define the Rack API for this engine. # - # source://railties/lib/rails/engine.rb#534 + # source://railties//lib/rails/engine.rb#534 def call(env); end # Define the configuration object for the engine. # - # source://railties/lib/rails/engine.rb#553 + # source://railties//lib/rails/engine.rb#553 def config; end - # source://railties/lib/rails/engine.rb#491 + # source://railties//lib/rails/engine.rb#491 def eager_load!; end # Returns the endpoint for this engine. If none is registered, # defaults to an ActionDispatch::Routing::RouteSet. # - # source://railties/lib/rails/engine.rb#529 + # source://railties//lib/rails/engine.rb#529 def endpoint; end - # source://railties/lib/rails/engine.rb#437 + # source://railties//lib/rails/engine.rb#437 def engine_name(*_arg0, **_arg1, &_arg2); end # Defines additional Rack env configuration that is added on each call. # - # source://railties/lib/rails/engine.rb#540 + # source://railties//lib/rails/engine.rb#540 def env_config; end # Returns a module with all the helpers defined for the engine. # - # source://railties/lib/rails/engine.rb#501 + # source://railties//lib/rails/engine.rb#501 def helpers; end # Returns all registered helpers paths. # - # source://railties/lib/rails/engine.rb#512 + # source://railties//lib/rails/engine.rb#512 def helpers_paths; end - # source://railties/lib/rails/engine.rb#437 + # source://railties//lib/rails/engine.rb#437 def isolated?(&block); end # Load console and invoke the registered hooks. # Check Rails::Railtie.console for more info. # - # source://railties/lib/rails/engine.rb#453 + # source://railties//lib/rails/engine.rb#453 def load_console(app = T.unsafe(nil)); end # Load \Rails generators and invoke the registered hooks. # Check Rails::Railtie.generators for more info. # - # source://railties/lib/rails/engine.rb#477 + # source://railties//lib/rails/engine.rb#477 def load_generators(app = T.unsafe(nil)); end # Load \Rails runner and invoke the registered hooks. # Check Rails::Railtie.runner for more info. # - # source://railties/lib/rails/engine.rb#462 + # source://railties//lib/rails/engine.rb#462 def load_runner(app = T.unsafe(nil)); end # Load data from db/seeds.rb file. It can be used in to load engines' @@ -2522,180 +2524,180 @@ class Rails::Engine < ::Rails::Railtie # # Blog::Engine.load_seed # - # source://railties/lib/rails/engine.rb#561 + # source://railties//lib/rails/engine.rb#561 def load_seed; end # Invoke the server registered hooks. # Check Rails::Railtie.server for more info. # - # source://railties/lib/rails/engine.rb#486 + # source://railties//lib/rails/engine.rb#486 def load_server(app = T.unsafe(nil)); end # Load Rake and railties tasks, and invoke the registered hooks. # Check Rails::Railtie.rake_tasks for more info. # - # source://railties/lib/rails/engine.rb#469 + # source://railties//lib/rails/engine.rb#469 def load_tasks(app = T.unsafe(nil)); end - # source://railties/lib/rails/engine.rb#436 + # source://railties//lib/rails/engine.rb#436 def middleware(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/engine.rb#436 + # source://railties//lib/rails/engine.rb#436 def paths(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/engine.rb#496 + # source://railties//lib/rails/engine.rb#496 def railties; end - # source://railties/lib/rails/engine.rb#436 + # source://railties//lib/rails/engine.rb#436 def root(*_arg0, **_arg1, &_arg2); end # Defines the routes for this engine. If a block is given to # routes, it is appended to the engine. # - # source://railties/lib/rails/engine.rb#546 + # source://railties//lib/rails/engine.rb#546 def routes(&block); end # @return [Boolean] # - # source://railties/lib/rails/engine.rb#677 + # source://railties//lib/rails/engine.rb#677 def routes?; end protected - # source://railties/lib/rails/engine.rb#682 + # source://railties//lib/rails/engine.rb#682 def run_tasks_blocks(*_arg0); end private - # source://railties/lib/rails/engine.rb#714 + # source://railties//lib/rails/engine.rb#714 def _all_autoload_once_paths; end - # source://railties/lib/rails/engine.rb#718 + # source://railties//lib/rails/engine.rb#718 def _all_autoload_paths; end - # source://railties/lib/rails/engine.rb#727 + # source://railties//lib/rails/engine.rb#727 def _all_load_paths(add_autoload_paths_to_load_path); end - # source://railties/lib/rails/engine.rb#751 + # source://railties//lib/rails/engine.rb#751 def build_middleware; end - # source://railties/lib/rails/engine.rb#743 + # source://railties//lib/rails/engine.rb#743 def build_request(env); end - # source://railties/lib/rails/engine.rb#710 + # source://railties//lib/rails/engine.rb#710 def default_middleware_stack; end # @return [Boolean] # - # source://railties/lib/rails/engine.rb#738 + # source://railties//lib/rails/engine.rb#738 def fixtures_in_root_and_not_in_vendor?(fixtures); end # @return [Boolean] # - # source://railties/lib/rails/engine.rb#694 + # source://railties//lib/rails/engine.rb#694 def has_migrations?; end - # source://railties/lib/rails/engine.rb#688 + # source://railties//lib/rails/engine.rb#688 def load_config_initializer(initializer); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks=(value); end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks?; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks; end - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks=(value); end # Returns the value of attribute called_from. # - # source://railties/lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#354 def called_from; end # Sets the attribute called_from # # @param value the value to set the attribute called_from to. # - # source://railties/lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#354 def called_from=(_arg0); end - # source://railties/lib/rails/engine.rb#359 + # source://railties//lib/rails/engine.rb#359 def eager_load!(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/engine.rb#379 + # source://railties//lib/rails/engine.rb#379 def endpoint(endpoint = T.unsafe(nil)); end - # source://railties/lib/rails/railtie.rb#176 + # source://railties//lib/rails/engine.rb#357 def engine_name(name = T.unsafe(nil)); end # Finds engine with given path. # - # source://railties/lib/rails/engine.rb#423 + # source://railties//lib/rails/engine.rb#423 def find(path); end - # source://railties/lib/rails/engine.rb#375 + # source://railties//lib/rails/engine.rb#375 def find_root(from); end - # source://railties/lib/rails/engine.rb#698 + # source://railties//lib/rails/engine.rb#698 def find_root_with_flag(flag, root_path, default = T.unsafe(nil)); end # @private # - # source://railties/lib/rails/engine.rb#361 + # source://railties//lib/rails/engine.rb#361 def inherited(base); end - # source://railties/lib/rails/engine.rb#385 + # source://railties//lib/rails/engine.rb#385 def isolate_namespace(mod); end # Returns the value of attribute isolated. # - # source://railties/lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#354 def isolated; end # Sets the attribute isolated # # @param value the value to set the attribute isolated to. # - # source://railties/lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#354 def isolated=(_arg0); end # Returns the value of attribute isolated. # - # source://railties/lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#356 def isolated?; end end end -# source://railties/lib/rails/engine/configuration.rb#7 +# source://railties//lib/rails/engine/configuration.rb#7 class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # @return [Configuration] a new instance of Configuration # - # source://railties/lib/rails/engine/configuration.rb#41 + # source://railties//lib/rails/engine/configuration.rb#41 def initialize(root = T.unsafe(nil)); end # Private method that adds custom autoload once paths to the ones defined # by +paths+. # - # source://railties/lib/rails/engine/configuration.rb#125 + # source://railties//lib/rails/engine/configuration.rb#125 def all_autoload_once_paths; end # Private method that adds custom autoload paths to the ones defined by # +paths+. # - # source://railties/lib/rails/engine/configuration.rb#119 + # source://railties//lib/rails/engine/configuration.rb#119 def all_autoload_paths; end # Private method that adds custom eager load paths to the ones defined by # +paths+. # - # source://railties/lib/rails/engine/configuration.rb#131 + # source://railties//lib/rails/engine/configuration.rb#131 def all_eager_load_paths; end # An array of custom autoload once paths. These won't be eager loaded @@ -2706,14 +2708,14 @@ class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # # If you'd like to add +lib+ to it, please see +autoload_lib_once+. # - # source://railties/lib/rails/engine/configuration.rb#29 + # source://railties//lib/rails/engine/configuration.rb#29 def autoload_once_paths; end # Sets the attribute autoload_once_paths # # @param value the value to set the attribute autoload_once_paths to. # - # source://railties/lib/rails/engine/configuration.rb#10 + # source://railties//lib/rails/engine/configuration.rb#10 def autoload_once_paths=(_arg0); end # An array of custom autoload paths to be added to the ones defined @@ -2725,14 +2727,14 @@ class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # # If you'd like to add +lib+ to it, please see +autoload_lib+. # - # source://railties/lib/rails/engine/configuration.rb#20 + # source://railties//lib/rails/engine/configuration.rb#20 def autoload_paths; end # Sets the attribute autoload_paths # # @param value the value to set the attribute autoload_paths to. # - # source://railties/lib/rails/engine/configuration.rb#10 + # source://railties//lib/rails/engine/configuration.rb#10 def autoload_paths=(_arg0); end # An array of custom eager load paths to be added to the ones defined @@ -2744,14 +2746,14 @@ class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # # If you'd like to add +lib+ to it, please see +autoload_lib+. # - # source://railties/lib/rails/engine/configuration.rb#39 + # source://railties//lib/rails/engine/configuration.rb#39 def eager_load_paths; end # Sets the attribute eager_load_paths # # @param value the value to set the attribute eager_load_paths to. # - # source://railties/lib/rails/engine/configuration.rb#10 + # source://railties//lib/rails/engine/configuration.rb#10 def eager_load_paths=(_arg0); end # Holds generators configuration: @@ -2768,85 +2770,85 @@ class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # # @yield [@generators] # - # source://railties/lib/rails/engine/configuration.rb#65 + # source://railties//lib/rails/engine/configuration.rb#65 def generators; end # Returns the value of attribute javascript_path. # - # source://railties/lib/rails/engine/configuration.rb#9 + # source://railties//lib/rails/engine/configuration.rb#9 def javascript_path; end # Sets the attribute javascript_path # # @param value the value to set the attribute javascript_path to. # - # source://railties/lib/rails/engine/configuration.rb#9 + # source://railties//lib/rails/engine/configuration.rb#9 def javascript_path=(_arg0); end # Returns the value of attribute middleware. # - # source://railties/lib/rails/engine/configuration.rb#9 + # source://railties//lib/rails/engine/configuration.rb#9 def middleware; end # Sets the attribute middleware # # @param value the value to set the attribute middleware to. # - # source://railties/lib/rails/engine/configuration.rb#9 + # source://railties//lib/rails/engine/configuration.rb#9 def middleware=(_arg0); end - # source://railties/lib/rails/engine/configuration.rb#71 + # source://railties//lib/rails/engine/configuration.rb#71 def paths; end # Returns the value of attribute root. # - # source://railties/lib/rails/engine/configuration.rb#8 + # source://railties//lib/rails/engine/configuration.rb#8 def root; end - # source://railties/lib/rails/engine/configuration.rb#113 + # source://railties//lib/rails/engine/configuration.rb#113 def root=(value); end end -# source://railties/lib/rails/engine/railties.rb#5 +# source://railties//lib/rails/engine/railties.rb#5 class Rails::Engine::Railties include ::Enumerable # @return [Railties] a new instance of Railties # - # source://railties/lib/rails/engine/railties.rb#9 + # source://railties//lib/rails/engine/railties.rb#9 def initialize; end - # source://railties/lib/rails/engine/railties.rb#18 + # source://railties//lib/rails/engine/railties.rb#18 def -(others); end # Returns the value of attribute _all. # - # source://railties/lib/rails/engine/railties.rb#7 + # source://railties//lib/rails/engine/railties.rb#7 def _all; end - # source://railties/lib/rails/engine/railties.rb#14 + # source://railties//lib/rails/engine/railties.rb#14 def each(*args, &block); end end -# source://railties/lib/rails/generators.rb#14 +# source://railties//lib/rails/generators.rb#14 module Rails::Generators include ::Rails::Command::Behavior extend ::Rails::Command::Behavior::ClassMethods - # source://railties/lib/rails/generators.rb#27 + # source://railties//lib/rails/generators.rb#27 def namespace; end - # source://railties/lib/rails/generators.rb#27 + # source://railties//lib/rails/generators.rb#27 def namespace=(val); end class << self - # source://railties/lib/rails/generators.rb#274 + # source://railties//lib/rails/generators.rb#274 def add_generated_file(file); end - # source://railties/lib/rails/generators.rb#88 + # source://railties//lib/rails/generators.rb#88 def after_generate_callbacks; end - # source://railties/lib/rails/generators.rb#80 + # source://railties//lib/rails/generators.rb#80 def aliases; end # Configure generators for API only applications. It basically hides @@ -2854,10 +2856,10 @@ module Rails::Generators # migration generators, and completely disable helpers and assets # so generators such as scaffold won't create them. # - # source://railties/lib/rails/generators.rb#112 + # source://railties//lib/rails/generators.rb#112 def api_only!; end - # source://railties/lib/rails/generators.rb#64 + # source://railties//lib/rails/generators.rb#64 def configure!(config); end # Hold configured generators fallbacks. If a plugin developer wants a @@ -2873,7 +2875,7 @@ module Rails::Generators # # Rails::Generators.fallbacks[:shoulda] = :test_unit # - # source://railties/lib/rails/generators.rb#104 + # source://railties//lib/rails/generators.rb#104 def fallbacks; end # Rails finds namespaces similar to Thor, it only adds one rule: @@ -2890,12 +2892,12 @@ module Rails::Generators # Notice that "rails:generators:webrat" could be loaded as well, what # Rails looks for is the first and last parts of the namespace. # - # source://railties/lib/rails/generators.rb#230 + # source://railties//lib/rails/generators.rb#230 def find_by_namespace(name, base = T.unsafe(nil), context = T.unsafe(nil)); end # Show help message with available generators. # - # source://railties/lib/rails/generators.rb#165 + # source://railties//lib/rails/generators.rb#165 def help(command = T.unsafe(nil)); end # Returns an array of generator namespaces that are hidden. @@ -2903,70 +2905,70 @@ module Rails::Generators # Some are aliased such as "rails:migration" and can be # invoked with the shorter "migration". # - # source://railties/lib/rails/generators.rb#130 + # source://railties//lib/rails/generators.rb#130 def hidden_namespaces; end - # source://railties/lib/rails/generators.rb#159 + # source://railties//lib/rails/generators.rb#162 def hide_namespace(*namespaces); end - # source://railties/lib/rails/generators.rb#159 + # source://railties//lib/rails/generators.rb#159 def hide_namespaces(*namespaces); end # Receives a namespace, arguments, and the behavior to invoke the generator. # It's used as the default entry point for generate, destroy, and update # commands. # - # source://railties/lib/rails/generators.rb#257 + # source://railties//lib/rails/generators.rb#257 def invoke(namespace, args = T.unsafe(nil), config = T.unsafe(nil)); end - # source://railties/lib/rails/generators.rb#27 + # source://railties//lib/rails/generators.rb#27 def namespace; end - # source://railties/lib/rails/generators.rb#27 + # source://railties//lib/rails/generators.rb#27 def namespace=(val); end - # source://railties/lib/rails/generators.rb#84 + # source://railties//lib/rails/generators.rb#84 def options; end - # source://railties/lib/rails/generators.rb#187 + # source://railties//lib/rails/generators.rb#187 def print_generators; end - # source://railties/lib/rails/generators.rb#182 + # source://railties//lib/rails/generators.rb#182 def public_namespaces; end - # source://railties/lib/rails/generators.rb#191 + # source://railties//lib/rails/generators.rb#191 def sorted_groups; end - # source://railties/lib/rails/generators.rb#76 + # source://railties//lib/rails/generators.rb#76 def templates_path; end private - # source://railties/lib/rails/generators.rb#301 + # source://railties//lib/rails/generators.rb#301 def command_type; end - # source://railties/lib/rails/generators.rb#309 + # source://railties//lib/rails/generators.rb#309 def file_lookup_paths; end # Try fallbacks for the given base. # - # source://railties/lib/rails/generators.rb#286 + # source://railties//lib/rails/generators.rb#286 def invoke_fallbacks_for(name, base); end - # source://railties/lib/rails/generators.rb#305 + # source://railties//lib/rails/generators.rb#305 def lookup_paths; end - # source://railties/lib/rails/generators.rb#280 + # source://railties//lib/rails/generators.rb#280 def print_list(base, namespaces); end - # source://railties/lib/rails/generators.rb#313 + # source://railties//lib/rails/generators.rb#313 def run_after_generate_callback; end end end -# source://railties/lib/rails/generators/actions.rb#9 +# source://railties//lib/rails/generators/actions.rb#9 module Rails::Generators::Actions - # source://railties/lib/rails/generators/actions.rb#10 + # source://railties//lib/rails/generators/actions.rb#10 def initialize(*_arg0); end # Add the given source to +Gemfile+ @@ -2979,7 +2981,7 @@ module Rails::Generators::Actions # gem "rspec-rails" # end # - # source://railties/lib/rails/generators/actions.rb#151 + # source://railties//lib/rails/generators/actions.rb#151 def add_source(source, options = T.unsafe(nil), &block); end # Adds configuration code to a \Rails runtime environment. @@ -3023,7 +3025,7 @@ module Rails::Generators::Actions # %(config.asset_host = "localhost:3000") # end # - # source://railties/lib/rails/generators/actions.rb#206 + # source://railties//lib/rails/generators/actions.rb#221 def application(data = T.unsafe(nil), options = T.unsafe(nil)); end # Adds configuration code to a \Rails runtime environment. @@ -3067,7 +3069,7 @@ module Rails::Generators::Actions # %(config.asset_host = "localhost:3000") # end # - # source://railties/lib/rails/generators/actions.rb#206 + # source://railties//lib/rails/generators/actions.rb#206 def environment(data = T.unsafe(nil), options = T.unsafe(nil)); end # Adds a +gem+ declaration to the +Gemfile+ for the specified gem. @@ -3122,7 +3124,7 @@ module Rails::Generators::Actions # # Edge my_gem # gem "my_gem", git: "https://example.com/my_gem.git", branch: "master" # - # source://railties/lib/rails/generators/actions.rb#67 + # source://railties//lib/rails/generators/actions.rb#67 def gem(*args); end # Wraps gem entries inside a group. @@ -3131,7 +3133,7 @@ module Rails::Generators::Actions # gem "rspec-rails" # end # - # source://railties/lib/rails/generators/actions.rb#111 + # source://railties//lib/rails/generators/actions.rb#111 def gem_group(*names, &block); end # Runs another generator. @@ -3142,7 +3144,7 @@ module Rails::Generators::Actions # The first argument is the generator name, and the remaining arguments # are joined together and passed to the generator. # - # source://railties/lib/rails/generators/actions.rb#332 + # source://railties//lib/rails/generators/actions.rb#332 def generate(what, *args); end # Runs one or more git commands. @@ -3159,10 +3161,10 @@ module Rails::Generators::Actions # git add: "good.rb", rm: "bad.cxx" # # => runs `git add good.rb; git rm bad.cxx` # - # source://railties/lib/rails/generators/actions.rb#237 + # source://railties//lib/rails/generators/actions.rb#237 def git(commands = T.unsafe(nil)); end - # source://railties/lib/rails/generators/actions.rb#125 + # source://railties//lib/rails/generators/actions.rb#125 def github(repo, options = T.unsafe(nil), &block); end # Creates an initializer file in +config/initializers/+. The code can be @@ -3176,7 +3178,7 @@ module Rails::Generators::Actions # %(API_KEY = "123456") # end # - # source://railties/lib/rails/generators/actions.rb#319 + # source://railties//lib/rails/generators/actions.rb#319 def initializer(filename, data = T.unsafe(nil)); end # Creates a file in +lib/+. The contents can be specified as an argument @@ -3190,7 +3192,7 @@ module Rails::Generators::Actions # "# Foreign code is fun" # end # - # source://railties/lib/rails/generators/actions.rb#275 + # source://railties//lib/rails/generators/actions.rb#275 def lib(filename, data = T.unsafe(nil)); end # Runs the specified \Rails command. @@ -3217,7 +3219,7 @@ module Rails::Generators::Actions # [+:sudo+] # Whether to run the command using +sudo+. # - # source://railties/lib/rails/generators/actions.rb#391 + # source://railties//lib/rails/generators/actions.rb#391 def rails_command(command, options = T.unsafe(nil)); end # Runs the specified Rake task. @@ -3244,7 +3246,7 @@ module Rails::Generators::Actions # [+:sudo+] # Whether to run the task using +sudo+. # - # source://railties/lib/rails/generators/actions.rb#364 + # source://railties//lib/rails/generators/actions.rb#364 def rake(command, options = T.unsafe(nil)); end # Creates a Rake tasks file in +lib/tasks/+. The code can be specified as @@ -3268,14 +3270,14 @@ module Rails::Generators::Actions # RUBY # end # - # source://railties/lib/rails/generators/actions.rb#302 + # source://railties//lib/rails/generators/actions.rb#302 def rakefile(filename, data = T.unsafe(nil)); end # Reads the given file at the source root and prints it in the console. # # readme "README" # - # source://railties/lib/rails/generators/actions.rb#442 + # source://railties//lib/rails/generators/actions.rb#442 def readme(path); end # Make an entry in \Rails routing file config/routes.rb @@ -3283,7 +3285,7 @@ module Rails::Generators::Actions # route "root 'welcome#index'" # route "root 'admin#index'", namespace: :admin # - # source://railties/lib/rails/generators/actions.rb#409 + # source://railties//lib/rails/generators/actions.rb#409 def route(routing_code, namespace: T.unsafe(nil)); end # Creates a file in +vendor/+. The contents can be specified as an @@ -3297,95 +3299,95 @@ module Rails::Generators::Actions # "# Foreign code is fun" # end # - # source://railties/lib/rails/generators/actions.rb#258 + # source://railties//lib/rails/generators/actions.rb#258 def vendor(filename, data = T.unsafe(nil)); end private # Append string to a file with a newline if necessary # - # source://railties/lib/rails/generators/actions.rb#507 + # source://railties//lib/rails/generators/actions.rb#507 def append_file_with_newline(path, str, options = T.unsafe(nil)); end # Runs the supplied command using either "rake ..." or "rails ..." # based on the executor parameter provided. # - # source://railties/lib/rails/generators/actions.rb#461 + # source://railties//lib/rails/generators/actions.rb#461 def execute_command(executor, command, options = T.unsafe(nil)); end # Indent the +Gemfile+ to the depth of @indentation # - # source://railties/lib/rails/generators/actions.rb#494 + # source://railties//lib/rails/generators/actions.rb#494 def indentation; end # Define log for backwards compatibility. If just one argument is sent, # invoke say, otherwise invoke say_status. Differently from say and # similarly to say_status, this method respects the quiet? option given. # - # source://railties/lib/rails/generators/actions.rb#450 + # source://railties//lib/rails/generators/actions.rb#450 def log(*args); end - # source://railties/lib/rails/generators/actions.rb#513 + # source://railties//lib/rails/generators/actions.rb#513 def match_file(path, pattern); end # Returns optimized string with indentation # - # source://railties/lib/rails/generators/actions.rb#487 + # source://railties//lib/rails/generators/actions.rb#487 def optimize_indentation(value, amount = T.unsafe(nil)); end # Always returns value in double quotes. # - # source://railties/lib/rails/generators/actions.rb#475 + # source://railties//lib/rails/generators/actions.rb#475 def quote(value); end # Returns optimized string with indentation # - # source://railties/lib/rails/generators/actions.rb#487 + # source://railties//lib/rails/generators/actions.rb#491 def rebase_indentation(value, amount = T.unsafe(nil)); end - # source://railties/lib/rails/generators/actions.rb#517 + # source://railties//lib/rails/generators/actions.rb#517 def route_namespace_pattern(namespace); end # Manage +Gemfile+ indentation for a DSL action block # - # source://railties/lib/rails/generators/actions.rb#499 + # source://railties//lib/rails/generators/actions.rb#499 def with_indentation(&block); end end -# source://railties/lib/rails/generators/actions/create_migration.rb#9 +# source://railties//lib/rails/generators/actions/create_migration.rb#9 class Rails::Generators::Actions::CreateMigration < ::Thor::Actions::CreateFile - # source://railties/lib/rails/generators/actions/create_migration.rb#41 + # source://railties//lib/rails/generators/actions/create_migration.rb#41 def existing_migration; end - # source://railties/lib/rails/generators/actions/create_migration.rb#41 + # source://railties//lib/rails/generators/actions/create_migration.rb#45 def exists?; end # @return [Boolean] # - # source://railties/lib/rails/generators/actions/create_migration.rb#18 + # source://railties//lib/rails/generators/actions/create_migration.rb#18 def identical?; end - # source://railties/lib/rails/generators/actions/create_migration.rb#22 + # source://railties//lib/rails/generators/actions/create_migration.rb#22 def invoke!; end - # source://railties/lib/rails/generators/actions/create_migration.rb#10 + # source://railties//lib/rails/generators/actions/create_migration.rb#10 def migration_dir; end - # source://railties/lib/rails/generators/actions/create_migration.rb#14 + # source://railties//lib/rails/generators/actions/create_migration.rb#14 def migration_file_name; end - # source://railties/lib/rails/generators/actions/create_migration.rb#37 + # source://railties//lib/rails/generators/actions/create_migration.rb#37 def relative_existing_migration; end - # source://railties/lib/rails/generators/actions/create_migration.rb#29 + # source://railties//lib/rails/generators/actions/create_migration.rb#29 def revoke!; end private - # source://railties/lib/rails/generators/actions/create_migration.rb#48 + # source://railties//lib/rails/generators/actions/create_migration.rb#48 def on_conflict_behavior; end - # source://railties/lib/rails/generators/actions/create_migration.rb#69 + # source://railties//lib/rails/generators/actions/create_migration.rb#69 def say_status(status, color, message = T.unsafe(nil)); end end @@ -3412,18 +3414,18 @@ end # The only exception in ActiveModel for ActiveRecord is the use of self.build # instead of self.new. # -# source://railties/lib/rails/generators/active_model.rb#28 +# source://railties//lib/rails/generators/active_model.rb#28 class Rails::Generators::ActiveModel # @return [ActiveModel] a new instance of ActiveModel # - # source://railties/lib/rails/generators/active_model.rb#31 + # source://railties//lib/rails/generators/active_model.rb#31 def initialize(name); end # Used for: # # * DELETE +destroy+ # - # source://railties/lib/rails/generators/active_model.rb#89 + # source://railties//lib/rails/generators/active_model.rb#89 def destroy; end # Used for: @@ -3431,26 +3433,26 @@ class Rails::Generators::ActiveModel # * POST +create+ # * PATCH / PUT +update+ # - # source://railties/lib/rails/generators/active_model.rb#82 + # source://railties//lib/rails/generators/active_model.rb#82 def errors; end # Returns the value of attribute name. # - # source://railties/lib/rails/generators/active_model.rb#29 + # source://railties//lib/rails/generators/active_model.rb#29 def name; end # Used for: # # * POST +create+ # - # source://railties/lib/rails/generators/active_model.rb#67 + # source://railties//lib/rails/generators/active_model.rb#67 def save; end # Used for: # # * PATCH / PUT +update+ # - # source://railties/lib/rails/generators/active_model.rb#74 + # source://railties//lib/rails/generators/active_model.rb#74 def update(params = T.unsafe(nil)); end class << self @@ -3458,7 +3460,7 @@ class Rails::Generators::ActiveModel # # * GET +index+ # - # source://railties/lib/rails/generators/active_model.rb#38 + # source://railties//lib/rails/generators/active_model.rb#38 def all(klass); end # Used for: @@ -3466,7 +3468,7 @@ class Rails::Generators::ActiveModel # * GET +new+ # * POST +create+ # - # source://railties/lib/rails/generators/active_model.rb#56 + # source://railties//lib/rails/generators/active_model.rb#56 def build(klass, params = T.unsafe(nil)); end # Used for: @@ -3476,138 +3478,138 @@ class Rails::Generators::ActiveModel # * PATCH / PUT +update+ # * DELETE +destroy+ # - # source://railties/lib/rails/generators/active_model.rb#48 + # source://railties//lib/rails/generators/active_model.rb#48 def find(klass, params = T.unsafe(nil)); end end end -# source://railties/lib/rails/generators/app_base.rb#14 +# source://railties//lib/rails/generators/app_base.rb#14 class Rails::Generators::AppBase < ::Rails::Generators::Base include ::Rails::Generators::Database include ::Rails::Generators::AppName # @return [AppBase] a new instance of AppBase # - # source://railties/lib/rails/generators/app_base.rb#120 + # source://railties//lib/rails/generators/app_base.rb#120 def initialize(positional_argv, option_argv, *_arg2); end - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#24 def app_path; end - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#24 def app_path=(_arg0); end # Returns the value of attribute rails_template. # - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#21 def rails_template; end # Sets the attribute rails_template # # @param value the value to set the attribute rails_template to. # - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#21 def rails_template=(_arg0); end - # source://railties/lib/rails/generators/base.rb#401 + # source://railties//lib/rails/generators/app_base.rb#22 def shebang; end private - # source://railties/lib/rails/generators/app_base.rb#707 + # source://railties//lib/rails/generators/app_base.rb#707 def add_bundler_platforms; end - # source://railties/lib/rails/generators/app_base.rb#243 + # source://railties//lib/rails/generators/app_base.rb#243 def apply_rails_template; end - # source://railties/lib/rails/generators/app_base.rb#272 + # source://railties//lib/rails/generators/app_base.rb#272 def asset_pipeline_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#149 + # source://railties//lib/rails/generators/app_base.rb#149 def build(meth, *args); end - # source://railties/lib/rails/generators/app_base.rb#141 + # source://railties//lib/rails/generators/app_base.rb#141 def builder; end - # source://railties/lib/rails/generators/app_base.rb#611 + # source://railties//lib/rails/generators/app_base.rb#611 def bundle_command(command, env = T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#637 + # source://railties//lib/rails/generators/app_base.rb#637 def bundle_install?; end - # source://railties/lib/rails/generators/app_base.rb#641 + # source://railties//lib/rails/generators/app_base.rb#641 def bundler_windows_platforms; end - # source://railties/lib/rails/generators/app_base.rb#604 + # source://railties//lib/rails/generators/app_base.rb#604 def cable_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#319 + # source://railties//lib/rails/generators/app_base.rb#319 def comment_if(value); end - # source://railties/lib/rails/generators/app_base.rb#236 + # source://railties//lib/rails/generators/app_base.rb#236 def create_root; end - # source://railties/lib/rails/generators/app_base.rb#592 + # source://railties//lib/rails/generators/app_base.rb#592 def css_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#260 + # source://railties//lib/rails/generators/app_base.rb#260 def database_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#153 + # source://railties//lib/rails/generators/app_base.rb#153 def deduce_implied_options(options, option_reasons, meta_options); end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#649 + # source://railties//lib/rails/generators/app_base.rb#649 def depend_on_bootsnap?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#645 + # source://railties//lib/rails/generators/app_base.rb#645 def depends_on_system_test?; end - # source://railties/lib/rails/generators/app_base.rb#509 + # source://railties//lib/rails/generators/app_base.rb#509 def dockerfile_binfile_fixups; end - # source://railties/lib/rails/generators/app_base.rb#538 + # source://railties//lib/rails/generators/app_base.rb#538 def dockerfile_build_packages; end - # source://railties/lib/rails/generators/app_base.rb#503 + # source://railties//lib/rails/generators/app_base.rb#503 def dockerfile_bun_version; end - # source://railties/lib/rails/generators/app_base.rb#752 + # source://railties//lib/rails/generators/app_base.rb#752 def dockerfile_chown_directories; end - # source://railties/lib/rails/generators/app_base.rb#579 + # source://railties//lib/rails/generators/app_base.rb#579 def dockerfile_deploy_packages; end - # source://railties/lib/rails/generators/app_base.rb#497 + # source://railties//lib/rails/generators/app_base.rb#497 def dockerfile_yarn_version; end - # source://railties/lib/rails/generators/app_base.rb#748 + # source://railties//lib/rails/generators/app_base.rb#748 def edge_branch; end - # source://railties/lib/rails/generators/app_base.rb#723 + # source://railties//lib/rails/generators/app_base.rb#723 def empty_directory_with_keep_file(destination, config = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#628 + # source://railties//lib/rails/generators/app_base.rb#628 def exec_bundle_command(bundle_command, command, env); end - # source://railties/lib/rails/generators/app_base.rb#413 + # source://railties//lib/rails/generators/app_base.rb#413 def gem_ruby_version; end - # source://railties/lib/rails/generators/app_base.rb#127 + # source://railties//lib/rails/generators/app_base.rb#127 def gemfile_entries; end - # source://railties/lib/rails/generators/app_base.rb#717 + # source://railties//lib/rails/generators/app_base.rb#717 def generate_bundler_binstub; end - # source://railties/lib/rails/generators/app_base.rb#736 + # source://railties//lib/rails/generators/app_base.rb#736 def git_init_command; end - # source://railties/lib/rails/generators/app_base.rb#462 + # source://railties//lib/rails/generators/app_base.rb#462 def hotwire_gemfile_entry; end # ==== Options @@ -3629,215 +3631,215 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base # besides implying options such as --skip-asset-pipeline. (And so --api # with --no-skip-asset-pipeline should raise an error.) # - # source://railties/lib/rails/generators/app_base.rb#206 + # source://railties//lib/rails/generators/app_base.rb#206 def imply_options(option_implications = T.unsafe(nil), meta_options: T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#299 + # source://railties//lib/rails/generators/app_base.rb#299 def include_all_railties?; end - # source://railties/lib/rails/generators/app_base.rb#452 + # source://railties//lib/rails/generators/app_base.rb#452 def javascript_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#447 + # source://railties//lib/rails/generators/app_base.rb#447 def jbuilder_gemfile_entry; end - # source://railties/lib/rails/generators/app_base.rb#728 + # source://railties//lib/rails/generators/app_base.rb#728 def keep_file(destination); end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#332 + # source://railties//lib/rails/generators/app_base.rb#332 def keeps?; end - # source://railties/lib/rails/generators/app_base.rb#487 + # source://railties//lib/rails/generators/app_base.rb#487 def node_version; end - # source://railties/lib/rails/generators/app_base.rb#421 + # source://railties//lib/rails/generators/app_base.rb#421 def rails_gemfile_entry; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#417 + # source://railties//lib/rails/generators/app_base.rb#417 def rails_prerelease?; end - # source://railties/lib/rails/generators/app_base.rb#303 + # source://railties//lib/rails/generators/app_base.rb#303 def rails_require_statement; end - # source://railties/lib/rails/generators/app_base.rb#434 + # source://railties//lib/rails/generators/app_base.rb#434 def rails_version_specifier(gem_version = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#219 + # source://railties//lib/rails/generators/app_base.rb#219 def report_implied_options; end - # source://railties/lib/rails/generators/app_base.rb#283 + # source://railties//lib/rails/generators/app_base.rb#283 def required_railties; end - # source://railties/lib/rails/generators/app_base.rb#676 + # source://railties//lib/rails/generators/app_base.rb#676 def run_bundle; end - # source://railties/lib/rails/generators/app_base.rb#695 + # source://railties//lib/rails/generators/app_base.rb#695 def run_css; end - # source://railties/lib/rails/generators/app_base.rb#689 + # source://railties//lib/rails/generators/app_base.rb#689 def run_hotwire; end - # source://railties/lib/rails/generators/app_base.rb#680 + # source://railties//lib/rails/generators/app_base.rb#680 def run_javascript; end - # source://railties/lib/rails/generators/app_base.rb#249 + # source://railties//lib/rails/generators/app_base.rb#249 def set_default_accessors!; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#348 + # source://railties//lib/rails/generators/app_base.rb#348 def skip_action_cable?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#356 + # source://railties//lib/rails/generators/app_base.rb#356 def skip_action_mailbox?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#352 + # source://railties//lib/rails/generators/app_base.rb#352 def skip_action_mailer?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#360 + # source://railties//lib/rails/generators/app_base.rb#360 def skip_action_text?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#340 + # source://railties//lib/rails/generators/app_base.rb#340 def skip_active_record?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#344 + # source://railties//lib/rails/generators/app_base.rb#344 def skip_active_storage?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#364 + # source://railties//lib/rails/generators/app_base.rb#364 def skip_asset_pipeline?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#372 + # source://railties//lib/rails/generators/app_base.rb#372 def skip_propshaft?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#368 + # source://railties//lib/rails/generators/app_base.rb#368 def skip_sprockets?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#336 + # source://railties//lib/rails/generators/app_base.rb#336 def sqlite3?; end - # source://railties/lib/rails/generators/app_base.rb#653 + # source://railties//lib/rails/generators/app_base.rb#653 def target_rails_prerelease(self_command = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#732 + # source://railties//lib/rails/generators/app_base.rb#732 def user_default_branch; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#483 + # source://railties//lib/rails/generators/app_base.rb#483 def using_bun?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#474 + # source://railties//lib/rails/generators/app_base.rb#474 def using_js_runtime?; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_base.rb#479 + # source://railties//lib/rails/generators/app_base.rb#479 def using_node?; end - # source://railties/lib/rails/generators/app_base.rb#268 + # source://railties//lib/rails/generators/app_base.rb#268 def web_server_gemfile_entry; end class << self - # source://railties/lib/rails/generators/app_base.rb#30 + # source://railties//lib/rails/generators/app_base.rb#30 def add_shared_options_for(name); end - # source://railties/lib/rails/generators/app_base.rb#116 + # source://railties//lib/rails/generators/app_base.rb#116 def edge_branch; end - # source://railties/lib/rails/generators/app_base.rb#26 + # source://railties//lib/rails/generators/app_base.rb#26 def strict_args_position; end end end -# source://railties/lib/rails/generators/app_base.rb#19 +# source://railties//lib/rails/generators/app_base.rb#19 Rails::Generators::AppBase::BUN_VERSION = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/generators/app_base.rb#377 +# source://railties//lib/rails/generators/app_base.rb#377 class Rails::Generators::AppBase::GemfileEntry < ::Struct # @return [GemfileEntry] a new instance of GemfileEntry # - # source://railties/lib/rails/generators/app_base.rb#378 + # source://railties//lib/rails/generators/app_base.rb#378 def initialize(name, version, comment, options = T.unsafe(nil), commented_out = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#402 + # source://railties//lib/rails/generators/app_base.rb#402 def to_s; end class << self - # source://railties/lib/rails/generators/app_base.rb#394 + # source://railties//lib/rails/generators/app_base.rb#394 def floats(name, comment = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#382 + # source://railties//lib/rails/generators/app_base.rb#382 def github(name, github, branch = T.unsafe(nil), comment = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#398 + # source://railties//lib/rails/generators/app_base.rb#398 def path(name, path, comment = T.unsafe(nil)); end - # source://railties/lib/rails/generators/app_base.rb#390 + # source://railties//lib/rails/generators/app_base.rb#390 def version(name, version, comment = T.unsafe(nil)); end end end -# source://railties/lib/rails/generators/app_base.rb#18 +# source://railties//lib/rails/generators/app_base.rb#18 Rails::Generators::AppBase::NODE_LTS_VERSION = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/generators/app_base.rb#181 +# source://railties//lib/rails/generators/app_base.rb#181 Rails::Generators::AppBase::OPTION_IMPLICATIONS = T.let(T.unsafe(nil), Hash) -# source://railties/lib/rails/generators/app_name.rb#5 +# source://railties//lib/rails/generators/app_name.rb#5 module Rails::Generators::AppName private - # source://railties/lib/rails/generators/app_name.rb#22 + # source://railties//lib/rails/generators/app_name.rb#22 def app_const; end - # source://railties/lib/rails/generators/app_name.rb#17 + # source://railties//lib/rails/generators/app_name.rb#17 def app_const_base; end - # source://railties/lib/rails/generators/app_name.rb#9 + # source://railties//lib/rails/generators/app_name.rb#9 def app_name; end - # source://railties/lib/rails/generators/app_name.rb#17 + # source://railties//lib/rails/generators/app_name.rb#20 def camelized; end - # source://railties/lib/rails/generators/app_name.rb#13 + # source://railties//lib/rails/generators/app_name.rb#13 def original_app_name; end # @return [Boolean] # - # source://railties/lib/rails/generators/app_name.rb#26 + # source://railties//lib/rails/generators/app_name.rb#26 def valid_const?; end end -# source://railties/lib/rails/generators/app_name.rb#6 +# source://railties//lib/rails/generators/app_name.rb#6 Rails::Generators::AppName::RESERVED_NAMES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/generators/base.rb#17 +# source://railties//lib/rails/generators/base.rb#17 class Rails::Generators::Base < ::Thor::Group include ::Thor::Actions include ::Rails::Generators::Actions @@ -3848,116 +3850,116 @@ class Rails::Generators::Base < ::Thor::Group # Check whether the given class names are already taken by user # application or Ruby on Rails. # - # source://railties/lib/rails/generators/base.rb#264 + # source://railties//lib/rails/generators/base.rb#264 def class_collisions(*class_names); end # Takes in an array of nested modules and extracts the last module # - # source://railties/lib/rails/generators/base.rb#287 + # source://railties//lib/rails/generators/base.rb#287 def extract_last_module(nesting); end - # source://railties/lib/rails/generators/base.rb#302 + # source://railties//lib/rails/generators/base.rb#302 def indent(content, multiplier = T.unsafe(nil)); end # Wrap block with namespace of current application # if namespace exists and is not skipped # - # source://railties/lib/rails/generators/base.rb#296 + # source://railties//lib/rails/generators/base.rb#296 def module_namespacing(&block); end - # source://railties/lib/rails/generators/base.rb#312 + # source://railties//lib/rails/generators/base.rb#312 def namespace; end - # source://railties/lib/rails/generators/base.rb#320 + # source://railties//lib/rails/generators/base.rb#320 def namespace_dirs; end # @return [Boolean] # - # source://railties/lib/rails/generators/base.rb#316 + # source://railties//lib/rails/generators/base.rb#316 def namespaced?; end - # source://railties/lib/rails/generators/base.rb#324 + # source://railties//lib/rails/generators/base.rb#324 def namespaced_path; end - # source://railties/lib/rails/generators/base.rb#307 + # source://railties//lib/rails/generators/base.rb#307 def wrap_with_namespace(content); end class << self # Small macro to add ruby as an option to the generator with proper # default value plus an instance helper method called shebang. # - # source://railties/lib/rails/generators/base.rb#396 + # source://railties//lib/rails/generators/base.rb#396 def add_shebang_option!; end # Use \Rails default banner. # - # source://railties/lib/rails/generators/base.rb#329 + # source://railties//lib/rails/generators/base.rb#329 def banner; end # Sets the base_name taking into account the current class namespace. # - # source://railties/lib/rails/generators/base.rb#334 + # source://railties//lib/rails/generators/base.rb#334 def base_name; end # Returns the base root for a common set of generators. This is used to dynamically # guess the default source root. # - # source://railties/lib/rails/generators/base.rb#236 + # source://railties//lib/rails/generators/base.rb#236 def base_root; end # Make class option aware of Rails::Generators.options and Rails::Generators.aliases. # - # source://railties/lib/rails/generators/base.rb#217 + # source://railties//lib/rails/generators/base.rb#217 def class_option(name, options = T.unsafe(nil)); end # Returns default aliases for the option name given doing a lookup in # Rails::Generators.aliases. # - # source://railties/lib/rails/generators/base.rb#357 + # source://railties//lib/rails/generators/base.rb#357 def default_aliases_for_option(name, options); end # Returns default for the option name given doing a lookup in config. # - # source://railties/lib/rails/generators/base.rb#362 + # source://railties//lib/rails/generators/base.rb#362 def default_for_option(config, name, options, default); end - # source://railties/lib/rails/generators/base.rb#422 + # source://railties//lib/rails/generators/base.rb#422 def default_generator_root; end # Returns the default source root for a given generator. This is used internally # by \Rails to set its generators source root. If you want to customize your source # root, you should use source_root. # - # source://railties/lib/rails/generators/base.rb#227 + # source://railties//lib/rails/generators/base.rb#227 def default_source_root; end # Returns the default value for the option name given doing a lookup in # Rails::Generators.options. # - # source://railties/lib/rails/generators/base.rb#351 + # source://railties//lib/rails/generators/base.rb#351 def default_value_for_option(name, options); end # Tries to get the description from a USAGE file one folder above the source # root otherwise uses a default description. # - # source://railties/lib/rails/generators/base.rb#41 + # source://railties//lib/rails/generators/base.rb#41 def desc(description = T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/generators/base.rb#29 + # source://railties//lib/rails/generators/base.rb#29 def exit_on_failure?; end # Removes the namespaces and get the generator name. For example, # Rails::Generators::ModelGenerator will return "model" as generator name. # - # source://railties/lib/rails/generators/base.rb#342 + # source://railties//lib/rails/generators/base.rb#342 def generator_name; end # Convenience method to hide this generator from the available ones when # running rails generator command. # - # source://railties/lib/rails/generators/base.rb#61 + # source://railties//lib/rails/generators/base.rb#61 def hide!; end # Invoke a generator based on the value supplied by the user to the @@ -4069,249 +4071,249 @@ class Rails::Generators::Base < ::Thor::Group # instance.invoke controller, [ instance.name.pluralize ] # end # - # source://railties/lib/rails/generators/base.rb#174 + # source://railties//lib/rails/generators/base.rb#174 def hook_for(*names, &block); end # Keep hooks configuration that are used on prepare_for_invocation. # - # source://railties/lib/rails/generators/base.rb#375 + # source://railties//lib/rails/generators/base.rb#375 def hooks; end # Cache source root and add lib/generators/base/generator/templates to # source paths. # - # source://railties/lib/rails/generators/base.rb#242 + # source://railties//lib/rails/generators/base.rb#242 def inherited(base); end # Convenience method to get the namespace from the class name. It's the # same as Thor default except that the Generator at the end of the class # is removed. # - # source://railties/lib/rails/generators/base.rb#54 + # source://railties//lib/rails/generators/base.rb#54 def namespace(name = T.unsafe(nil)); end # Prepare class invocation to search on Rails namespace if a previous # added hook is being used. # - # source://railties/lib/rails/generators/base.rb#381 + # source://railties//lib/rails/generators/base.rb#381 def prepare_for_invocation(name, value); end # Remove a previously added hook. # # remove_hook_for :orm # - # source://railties/lib/rails/generators/base.rb#207 + # source://railties//lib/rails/generators/base.rb#207 def remove_hook_for(*names); end # Returns the source root for this generator using default_source_root as default. # - # source://railties/lib/rails/generators/base.rb#34 + # source://railties//lib/rails/generators/base.rb#34 def source_root(path = T.unsafe(nil)); end - # source://railties/lib/rails/generators/base.rb#414 + # source://railties//lib/rails/generators/base.rb#414 def usage_path; end end end -# source://railties/lib/rails/generators.rb#29 +# source://railties//lib/rails/generators.rb#29 Rails::Generators::DEFAULT_ALIASES = T.let(T.unsafe(nil), Hash) -# source://railties/lib/rails/generators.rb#46 +# source://railties//lib/rails/generators.rb#46 Rails::Generators::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://railties/lib/rails/generators/database.rb#5 +# source://railties//lib/rails/generators/database.rb#5 module Rails::Generators::Database - # source://railties/lib/rails/generators/database.rb#9 + # source://railties//lib/rails/generators/database.rb#9 def initialize(*_arg0); end - # source://railties/lib/rails/generators/database.rb#62 + # source://railties//lib/rails/generators/database.rb#62 def build_package_for_database(database = T.unsafe(nil)); end - # source://railties/lib/rails/generators/database.rb#50 + # source://railties//lib/rails/generators/database.rb#50 def convert_database_option_for_jruby; end - # source://railties/lib/rails/generators/database.rb#70 + # source://railties//lib/rails/generators/database.rb#70 def deploy_package_for_database(database = T.unsafe(nil)); end - # source://railties/lib/rails/generators/database.rb#30 + # source://railties//lib/rails/generators/database.rb#30 def docker_for_database_build(database = T.unsafe(nil)); end - # source://railties/lib/rails/generators/database.rb#40 + # source://railties//lib/rails/generators/database.rb#40 def docker_for_database_deploy(database = T.unsafe(nil)); end - # source://railties/lib/rails/generators/database.rb#14 + # source://railties//lib/rails/generators/database.rb#14 def gem_for_database(database = T.unsafe(nil)); end private - # source://railties/lib/rails/generators/database.rb#80 + # source://railties//lib/rails/generators/database.rb#80 def mysql_socket; end end -# source://railties/lib/rails/generators/database.rb#7 +# source://railties//lib/rails/generators/database.rb#7 Rails::Generators::Database::DATABASES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/generators/database.rb#6 +# source://railties//lib/rails/generators/database.rb#6 Rails::Generators::Database::JDBC_DATABASES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/generators/base.rb#14 +# source://railties//lib/rails/generators/base.rb#14 class Rails::Generators::Error < ::Thor::Error; end -# source://railties/lib/rails/generators/generated_attribute.rb#7 +# source://railties//lib/rails/generators/generated_attribute.rb#7 class Rails::Generators::GeneratedAttribute # @return [GeneratedAttribute] a new instance of GeneratedAttribute # - # source://railties/lib/rails/generators/generated_attribute.rb#109 + # source://railties//lib/rails/generators/generated_attribute.rb#109 def initialize(name, type = T.unsafe(nil), index_type = T.unsafe(nil), attr_options = T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#211 + # source://railties//lib/rails/generators/generated_attribute.rb#211 def attachment?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#215 + # source://railties//lib/rails/generators/generated_attribute.rb#215 def attachments?; end # Returns the value of attribute attr_options. # - # source://railties/lib/rails/generators/generated_attribute.rb#31 + # source://railties//lib/rails/generators/generated_attribute.rb#31 def attr_options; end - # source://railties/lib/rails/generators/generated_attribute.rb#171 + # source://railties//lib/rails/generators/generated_attribute.rb#171 def column_name; end - # source://railties/lib/rails/generators/generated_attribute.rb#133 + # source://railties//lib/rails/generators/generated_attribute.rb#133 def default; end - # source://railties/lib/rails/generators/generated_attribute.rb#117 + # source://railties//lib/rails/generators/generated_attribute.rb#117 def field_type; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#175 + # source://railties//lib/rails/generators/generated_attribute.rb#175 def foreign_key?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#191 + # source://railties//lib/rails/generators/generated_attribute.rb#191 def has_index?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#195 + # source://railties//lib/rails/generators/generated_attribute.rb#195 def has_uniq_index?; end - # source://railties/lib/rails/generators/generated_attribute.rb#159 + # source://railties//lib/rails/generators/generated_attribute.rb#159 def human_name; end - # source://railties/lib/rails/generators/generated_attribute.rb#163 + # source://railties//lib/rails/generators/generated_attribute.rb#163 def index_name; end # Sets the attribute index_name # # @param value the value to set the attribute index_name to. # - # source://railties/lib/rails/generators/generated_attribute.rb#32 + # source://railties//lib/rails/generators/generated_attribute.rb#32 def index_name=(_arg0); end - # source://railties/lib/rails/generators/generated_attribute.rb#227 + # source://railties//lib/rails/generators/generated_attribute.rb#227 def inject_index_options; end - # source://railties/lib/rails/generators/generated_attribute.rb#223 + # source://railties//lib/rails/generators/generated_attribute.rb#223 def inject_options; end # Returns the value of attribute name. # - # source://railties/lib/rails/generators/generated_attribute.rb#30 + # source://railties//lib/rails/generators/generated_attribute.rb#30 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://railties/lib/rails/generators/generated_attribute.rb#30 + # source://railties//lib/rails/generators/generated_attribute.rb#30 def name=(_arg0); end - # source://railties/lib/rails/generators/generated_attribute.rb#231 + # source://railties//lib/rails/generators/generated_attribute.rb#231 def options_for_migration; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#199 + # source://railties//lib/rails/generators/generated_attribute.rb#199 def password_digest?; end - # source://railties/lib/rails/generators/generated_attribute.rb#151 + # source://railties//lib/rails/generators/generated_attribute.rb#151 def plural_name; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#183 + # source://railties//lib/rails/generators/generated_attribute.rb#183 def polymorphic?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#179 + # source://railties//lib/rails/generators/generated_attribute.rb#179 def reference?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#187 + # source://railties//lib/rails/generators/generated_attribute.rb#187 def required?; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#207 + # source://railties//lib/rails/generators/generated_attribute.rb#207 def rich_text?; end - # source://railties/lib/rails/generators/generated_attribute.rb#155 + # source://railties//lib/rails/generators/generated_attribute.rb#155 def singular_name; end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#203 + # source://railties//lib/rails/generators/generated_attribute.rb#203 def token?; end # Returns the value of attribute type. # - # source://railties/lib/rails/generators/generated_attribute.rb#30 + # source://railties//lib/rails/generators/generated_attribute.rb#30 def type; end # Sets the attribute type # # @param value the value to set the attribute type to. # - # source://railties/lib/rails/generators/generated_attribute.rb#30 + # source://railties//lib/rails/generators/generated_attribute.rb#30 def type=(_arg0); end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#219 + # source://railties//lib/rails/generators/generated_attribute.rb#219 def virtual?; end class << self # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#67 + # source://railties//lib/rails/generators/generated_attribute.rb#67 def dangerous_name?(name); end - # source://railties/lib/rails/generators/generated_attribute.rb#35 + # source://railties//lib/rails/generators/generated_attribute.rb#35 def parse(column_definition); end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#82 + # source://railties//lib/rails/generators/generated_attribute.rb#82 def reference?(type); end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#78 + # source://railties//lib/rails/generators/generated_attribute.rb#78 def valid_index_type?(index_type); end # @return [Boolean] # - # source://railties/lib/rails/generators/generated_attribute.rb#72 + # source://railties//lib/rails/generators/generated_attribute.rb#72 def valid_type?(type); end private @@ -4319,46 +4321,46 @@ class Rails::Generators::GeneratedAttribute # parse possible attribute options like :limit for string/text/binary/integer, :precision/:scale for decimals or :polymorphic for references/belongs_to # when declaring options curly brackets should be used # - # source://railties/lib/rails/generators/generated_attribute.rb#89 + # source://railties//lib/rails/generators/generated_attribute.rb#89 def parse_type_and_options(type); end end end -# source://railties/lib/rails/generators/generated_attribute.rb#10 +# source://railties//lib/rails/generators/generated_attribute.rb#10 Rails::Generators::GeneratedAttribute::DEFAULT_TYPES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/generators/generated_attribute.rb#8 +# source://railties//lib/rails/generators/generated_attribute.rb#8 Rails::Generators::GeneratedAttribute::INDEX_OPTIONS = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/generators/generated_attribute.rb#9 +# source://railties//lib/rails/generators/generated_attribute.rb#9 Rails::Generators::GeneratedAttribute::UNIQ_INDEX_OPTIONS = T.let(T.unsafe(nil), Array) # Holds common methods for migrations. It assumes that migrations have the # [0-9]*_name format and can be used by other frameworks (like Sequel) # just by implementing the +next_migration_number+ method. # -# source://railties/lib/rails/generators/migration.rb#11 +# source://railties//lib/rails/generators/migration.rb#11 module Rails::Generators::Migration extend ::ActiveSupport::Concern mixes_in_class_methods ::Rails::Generators::Migration::ClassMethods - # source://railties/lib/rails/generators/migration.rb#35 + # source://railties//lib/rails/generators/migration.rb#35 def create_migration(destination, data, config = T.unsafe(nil), &block); end # Returns the value of attribute migration_class_name. # - # source://railties/lib/rails/generators/migration.rb#13 + # source://railties//lib/rails/generators/migration.rb#13 def migration_class_name; end # Returns the value of attribute migration_file_name. # - # source://railties/lib/rails/generators/migration.rb#13 + # source://railties//lib/rails/generators/migration.rb#13 def migration_file_name; end # Returns the value of attribute migration_number. # - # source://railties/lib/rails/generators/migration.rb#13 + # source://railties//lib/rails/generators/migration.rb#13 def migration_number; end # Creates a migration template at the given destination. The difference @@ -4370,219 +4372,219 @@ module Rails::Generators::Migration # # migration_template "migration.rb", "db/migrate/add_foo_to_bar.rb" # - # source://railties/lib/rails/generators/migration.rb#56 + # source://railties//lib/rails/generators/migration.rb#56 def migration_template(source, destination, config = T.unsafe(nil)); end - # source://railties/lib/rails/generators/migration.rb#39 + # source://railties//lib/rails/generators/migration.rb#39 def set_migration_assigns!(destination); end end -# source://railties/lib/rails/generators/migration.rb#15 +# source://railties//lib/rails/generators/migration.rb#15 module Rails::Generators::Migration::ClassMethods - # source://railties/lib/rails/generators/migration.rb#24 + # source://railties//lib/rails/generators/migration.rb#24 def current_migration_number(dirname); end # @return [Boolean] # - # source://railties/lib/rails/generators/migration.rb#20 + # source://railties//lib/rails/generators/migration.rb#20 def migration_exists?(dirname, file_name); end - # source://railties/lib/rails/generators/migration.rb#16 + # source://railties//lib/rails/generators/migration.rb#16 def migration_lookup_at(dirname); end # @raise [NotImplementedError] # - # source://railties/lib/rails/generators/migration.rb#30 + # source://railties//lib/rails/generators/migration.rb#30 def next_migration_number(dirname); end end -# source://railties/lib/rails/generators/model_helpers.rb#7 +# source://railties//lib/rails/generators/model_helpers.rb#7 module Rails::Generators::ModelHelpers - # source://railties/lib/rails/generators/model_helpers.rb#26 + # source://railties//lib/rails/generators/model_helpers.rb#26 def initialize(args, *_options); end - # source://railties/lib/rails/generators/model_helpers.rb#19 + # source://railties//lib/rails/generators/model_helpers.rb#19 def skip_warn; end - # source://railties/lib/rails/generators/model_helpers.rb#19 + # source://railties//lib/rails/generators/model_helpers.rb#19 def skip_warn=(val); end private # @return [Boolean] # - # source://railties/lib/rails/generators/model_helpers.rb#56 + # source://railties//lib/rails/generators/model_helpers.rb#56 def inflection_impossible?(name); end # @return [Boolean] # - # source://railties/lib/rails/generators/model_helpers.rb#52 + # source://railties//lib/rails/generators/model_helpers.rb#52 def irregular_model_name?(name); end # @return [Boolean] # - # source://railties/lib/rails/generators/model_helpers.rb#48 + # source://railties//lib/rails/generators/model_helpers.rb#48 def plural_model_name?(name); end class << self - # source://railties/lib/rails/generators/model_helpers.rb#21 + # source://railties//lib/rails/generators/model_helpers.rb#21 def included(base); end - # source://railties/lib/rails/generators/model_helpers.rb#19 + # source://railties//lib/rails/generators/model_helpers.rb#19 def skip_warn; end - # source://railties/lib/rails/generators/model_helpers.rb#19 + # source://railties//lib/rails/generators/model_helpers.rb#19 def skip_warn=(val); end end end -# source://railties/lib/rails/generators/model_helpers.rb#14 +# source://railties//lib/rails/generators/model_helpers.rb#14 Rails::Generators::ModelHelpers::INFLECTION_IMPOSSIBLE_ERROR_MESSAGE = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/generators/model_helpers.rb#10 +# source://railties//lib/rails/generators/model_helpers.rb#10 Rails::Generators::ModelHelpers::IRREGULAR_MODEL_NAME_WARN_MESSAGE = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/generators/model_helpers.rb#8 +# source://railties//lib/rails/generators/model_helpers.rb#8 Rails::Generators::ModelHelpers::PLURAL_MODEL_NAME_WARN_MESSAGE = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/generators/named_base.rb#8 +# source://railties//lib/rails/generators/named_base.rb#8 class Rails::Generators::NamedBase < ::Rails::Generators::Base # @return [NamedBase] a new instance of NamedBase # - # source://railties/lib/rails/generators/named_base.rb#11 + # source://railties//lib/rails/generators/named_base.rb#11 def initialize(args, *options); end # Returns the value of attribute file_name. # - # source://thor/1.3.2lib/thor/base.rb#155 + # source://railties//lib/rails/generators/named_base.rb#35 def file_name; end - # source://railties/lib/rails/generators/named_base.rb#29 + # source://railties//lib/rails/generators/named_base.rb#29 def js_template(source, destination); end - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/named_base.rb#9 def name; end - # source://thor/1.3.2lib/thor/base.rb#163 + # source://railties//lib/rails/generators/named_base.rb#9 def name=(_arg0); end - # source://railties/lib/rails/generators/named_base.rb#23 + # source://railties//lib/rails/generators/named_base.rb#23 def template(source, *args, &block); end private # Tries to retrieve the application name or simply return application. # - # source://railties/lib/rails/generators/named_base.rb#138 + # source://railties//lib/rails/generators/named_base.rb#138 def application_name; end - # source://railties/lib/rails/generators/named_base.rb#175 + # source://railties//lib/rails/generators/named_base.rb#175 def assign_names!(name); end - # source://railties/lib/rails/generators/named_base.rb#188 + # source://railties//lib/rails/generators/named_base.rb#188 def attributes_names; end - # source://railties/lib/rails/generators/named_base.rb#70 + # source://railties//lib/rails/generators/named_base.rb#70 def class_name; end - # source://railties/lib/rails/generators/named_base.rb#58 + # source://railties//lib/rails/generators/named_base.rb#58 def class_path; end - # source://railties/lib/rails/generators/named_base.rb#105 + # source://railties//lib/rails/generators/named_base.rb#105 def edit_helper(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/generators/named_base.rb#54 + # source://railties//lib/rails/generators/named_base.rb#54 def file_path; end - # source://railties/lib/rails/generators/named_base.rb#125 + # source://railties//lib/rails/generators/named_base.rb#125 def fixture_file_name; end - # source://railties/lib/rails/generators/named_base.rb#74 + # source://railties//lib/rails/generators/named_base.rb#74 def human_name; end - # source://railties/lib/rails/generators/named_base.rb#82 + # source://railties//lib/rails/generators/named_base.rb#82 def i18n_scope; end - # source://railties/lib/rails/generators/named_base.rb#97 + # source://railties//lib/rails/generators/named_base.rb#97 def index_helper(type: T.unsafe(nil)); end - # source://railties/lib/rails/generators/named_base.rb#43 + # source://railties//lib/rails/generators/named_base.rb#43 def inside_template; end # @return [Boolean] # - # source://railties/lib/rails/generators/named_base.rb#50 + # source://railties//lib/rails/generators/named_base.rb#50 def inside_template?; end - # source://railties/lib/rails/generators/named_base.rb#150 + # source://railties//lib/rails/generators/named_base.rb#150 def model_resource_name(base_name = T.unsafe(nil), prefix: T.unsafe(nil)); end # @return [Boolean] # - # source://railties/lib/rails/generators/named_base.rb#200 + # source://railties//lib/rails/generators/named_base.rb#200 def mountable_engine?; end - # source://railties/lib/rails/generators/named_base.rb#66 + # source://railties//lib/rails/generators/named_base.rb#66 def namespaced_class_path; end - # source://railties/lib/rails/generators/named_base.rb#109 + # source://railties//lib/rails/generators/named_base.rb#109 def new_helper(type: T.unsafe(nil)); end # Convert attributes array into GeneratedAttribute objects. # - # source://railties/lib/rails/generators/named_base.rb#182 + # source://railties//lib/rails/generators/named_base.rb#182 def parse_attributes!; end - # source://railties/lib/rails/generators/named_base.rb#121 + # source://railties//lib/rails/generators/named_base.rb#121 def plural_file_name; end - # source://railties/lib/rails/generators/named_base.rb#78 + # source://railties//lib/rails/generators/named_base.rb#78 def plural_name; end - # source://railties/lib/rails/generators/named_base.rb#167 + # source://railties//lib/rails/generators/named_base.rb#167 def plural_route_name; end - # source://railties/lib/rails/generators/named_base.rb#117 + # source://railties//lib/rails/generators/named_base.rb#117 def plural_table_name; end # @return [Boolean] # - # source://railties/lib/rails/generators/named_base.rb#196 + # source://railties//lib/rails/generators/named_base.rb#196 def pluralize_table_names?; end - # source://railties/lib/rails/generators/named_base.rb#146 + # source://railties//lib/rails/generators/named_base.rb#146 def redirect_resource_name; end - # source://railties/lib/rails/generators/named_base.rb#62 + # source://railties//lib/rails/generators/named_base.rb#62 def regular_class_path; end - # source://railties/lib/rails/generators/named_base.rb#129 + # source://railties//lib/rails/generators/named_base.rb#129 def route_url; end - # source://railties/lib/rails/generators/named_base.rb#101 + # source://railties//lib/rails/generators/named_base.rb#101 def show_helper(arg = T.unsafe(nil), type: T.unsafe(nil)); end # FIXME: We are avoiding to use alias because a bug on thor that make # this method public and add it to the task list. # - # source://railties/lib/rails/generators/named_base.rb#39 + # source://railties//lib/rails/generators/named_base.rb#39 def singular_name; end - # source://railties/lib/rails/generators/named_base.rb#159 + # source://railties//lib/rails/generators/named_base.rb#159 def singular_route_name; end - # source://railties/lib/rails/generators/named_base.rb#113 + # source://railties//lib/rails/generators/named_base.rb#113 def singular_table_name; end - # source://railties/lib/rails/generators/named_base.rb#86 + # source://railties//lib/rails/generators/named_base.rb#86 def table_name; end # @return [Boolean] # - # source://railties/lib/rails/generators/named_base.rb#93 + # source://railties//lib/rails/generators/named_base.rb#93 def uncountable?; end - # source://railties/lib/rails/generators/named_base.rb#133 + # source://railties//lib/rails/generators/named_base.rb#133 def url_helper_prefix; end class << self @@ -4596,7 +4598,7 @@ class Rails::Generators::NamedBase < ::Rails::Generators::Base # If the generator is invoked with class name Admin, it will check for # the presence of "AdminDecorator". # - # source://railties/lib/rails/generators/named_base.rb#214 + # source://railties//lib/rails/generators/named_base.rb#214 def check_class_collision(options = T.unsafe(nil)); end end end @@ -4604,56 +4606,56 @@ end # Deal with controller names on scaffold and add some helpers to deal with # ActiveModel. # -# source://railties/lib/rails/generators/resource_helpers.rb#10 +# source://railties//lib/rails/generators/resource_helpers.rb#10 module Rails::Generators::ResourceHelpers include ::Rails::Generators::ModelHelpers # Set controller variables on initialization. # - # source://railties/lib/rails/generators/resource_helpers.rb#17 + # source://railties//lib/rails/generators/resource_helpers.rb#17 def initialize(*args); end private - # source://railties/lib/rails/generators/resource_helpers.rb#39 + # source://railties//lib/rails/generators/resource_helpers.rb#39 def assign_controller_names!(name); end - # source://railties/lib/rails/generators/resource_helpers.rb#50 + # source://railties//lib/rails/generators/resource_helpers.rb#50 def controller_class_name; end - # source://railties/lib/rails/generators/resource_helpers.rb#31 + # source://railties//lib/rails/generators/resource_helpers.rb#31 def controller_class_path; end # Returns the value of attribute controller_file_name. # - # source://railties/lib/rails/generators/resource_helpers.rb#29 + # source://railties//lib/rails/generators/resource_helpers.rb#29 def controller_file_name; end - # source://railties/lib/rails/generators/resource_helpers.rb#46 + # source://railties//lib/rails/generators/resource_helpers.rb#46 def controller_file_path; end - # source://railties/lib/rails/generators/resource_helpers.rb#54 + # source://railties//lib/rails/generators/resource_helpers.rb#54 def controller_i18n_scope; end # Returns the value of attribute controller_name. # - # source://railties/lib/rails/generators/resource_helpers.rb#29 + # source://railties//lib/rails/generators/resource_helpers.rb#29 def controller_name; end # Loads the ORM::Generators::ActiveModel class. This class is responsible # to tell scaffold entities how to generate a specific method for the # ORM. Check Rails::Generators::ActiveModel for more information. # - # source://railties/lib/rails/generators/resource_helpers.rb#61 + # source://railties//lib/rails/generators/resource_helpers.rb#61 def orm_class; end # Initialize ORM::Generators::ActiveModel to access instance methods. # - # source://railties/lib/rails/generators/resource_helpers.rb#77 + # source://railties//lib/rails/generators/resource_helpers.rb#77 def orm_instance(name = T.unsafe(nil)); end class << self - # source://railties/lib/rails/generators/resource_helpers.rb#11 + # source://railties//lib/rails/generators/resource_helpers.rb#11 def included(base); end end end @@ -4675,7 +4677,7 @@ end # setup :prepare_destination # end # -# source://railties/lib/rails/generators/test_case.rb#30 +# source://railties//lib/rails/generators/test_case.rb#30 class Rails::Generators::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::Stream include ::Rails::Generators::Testing::Behavior @@ -4685,87 +4687,87 @@ class Rails::Generators::TestCase < ::ActiveSupport::TestCase include ::FileUtils extend ::Rails::Generators::Testing::Behavior::ClassMethods - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path; end - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path=(_arg0); end - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path?; end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments; end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments=(_arg0); end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments?; end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root; end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root=(_arg0); end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root?; end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class; end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class=(_arg0); end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class?; end class << self - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path; end - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path=(value); end - # source://railties/lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path?; end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments; end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments=(value); end - # source://railties/lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments?; end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root; end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root=(value); end - # source://railties/lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root?; end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class; end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class=(value); end - # source://railties/lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class?; end end end -# source://railties/lib/rails/generators/testing/behavior.rb#13 +# source://railties//lib/rails/generators/testing/behavior.rb#13 module Rails::Generators::Testing include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor end -# source://railties/lib/rails/generators/testing/assertions.rb#6 +# source://railties//lib/rails/generators/testing/assertions.rb#6 module Rails::Generators::Testing::Assertions # Asserts the given class method exists in the given content. This method does not detect # class methods inside (class << self), only class methods which starts with "self.". @@ -4777,7 +4779,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties/lib/rails/generators/testing/assertions.rb#88 + # source://railties//lib/rails/generators/testing/assertions.rb#88 def assert_class_method(method, content, &block); end # Asserts a given file exists. You need to supply an absolute path or a path relative @@ -4799,14 +4801,14 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties/lib/rails/generators/testing/assertions.rb#25 + # source://railties//lib/rails/generators/testing/assertions.rb#41 def assert_directory(relative, *contents); end # Asserts the given attribute type gets a proper default value: # # assert_field_default_value :string, "MyString" # - # source://railties/lib/rails/generators/testing/assertions.rb#117 + # source://railties//lib/rails/generators/testing/assertions.rb#117 def assert_field_default_value(attribute_type, value); end # Asserts the given attribute type gets translated to a field type @@ -4814,7 +4816,7 @@ module Rails::Generators::Testing::Assertions # # assert_field_type :date, :date_select # - # source://railties/lib/rails/generators/testing/assertions.rb#110 + # source://railties//lib/rails/generators/testing/assertions.rb#110 def assert_field_type(attribute_type, field_type); end # Asserts a given file exists. You need to supply an absolute path or a path relative @@ -4836,7 +4838,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties/lib/rails/generators/testing/assertions.rb#25 + # source://railties//lib/rails/generators/testing/assertions.rb#25 def assert_file(relative, *contents); end # Asserts the given method exists in the given content. When a block is given, @@ -4848,7 +4850,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties/lib/rails/generators/testing/assertions.rb#100 + # source://railties//lib/rails/generators/testing/assertions.rb#100 def assert_instance_method(method, content); end # Asserts the given method exists in the given content. When a block is given, @@ -4860,7 +4862,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties/lib/rails/generators/testing/assertions.rb#100 + # source://railties//lib/rails/generators/testing/assertions.rb#104 def assert_method(method, content); end # Asserts a given migration exists. You need to supply an absolute path or a @@ -4875,7 +4877,7 @@ module Rails::Generators::Testing::Assertions # # Consequently, assert_migration accepts the same arguments has assert_file. # - # source://railties/lib/rails/generators/testing/assertions.rb#64 + # source://railties//lib/rails/generators/testing/assertions.rb#64 def assert_migration(relative, *contents, &block); end # Asserts a given file does not exist. You need to supply an absolute path or a @@ -4883,7 +4885,7 @@ module Rails::Generators::Testing::Assertions # # assert_no_file "config/random.rb" # - # source://railties/lib/rails/generators/testing/assertions.rb#47 + # source://railties//lib/rails/generators/testing/assertions.rb#51 def assert_no_directory(relative); end # Asserts a given file does not exist. You need to supply an absolute path or a @@ -4891,7 +4893,7 @@ module Rails::Generators::Testing::Assertions # # assert_no_file "config/random.rb" # - # source://railties/lib/rails/generators/testing/assertions.rb#47 + # source://railties//lib/rails/generators/testing/assertions.rb#47 def assert_no_file(relative); end # Asserts a given migration does not exist. You need to supply an absolute path or a @@ -4899,11 +4901,11 @@ module Rails::Generators::Testing::Assertions # # assert_no_migration "db/migrate/create_products.rb" # - # source://railties/lib/rails/generators/testing/assertions.rb#74 + # source://railties//lib/rails/generators/testing/assertions.rb#74 def assert_no_migration(relative); end end -# source://railties/lib/rails/generators/testing/behavior.rb#14 +# source://railties//lib/rails/generators/testing/behavior.rb#14 module Rails::Generators::Testing::Behavior include ::ActiveSupport::Testing::Stream extend ::ActiveSupport::Concern @@ -4917,12 +4919,12 @@ module Rails::Generators::Testing::Behavior # # create_generated_attribute(:string, "name") # - # source://railties/lib/rails/generators/testing/behavior.rb#85 + # source://railties//lib/rails/generators/testing/behavior.rb#85 def create_generated_attribute(attribute_type, name = T.unsafe(nil), index = T.unsafe(nil)); end # Instantiate the generator. # - # source://railties/lib/rails/generators/testing/behavior.rb#77 + # source://railties//lib/rails/generators/testing/behavior.rb#77 def generator(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end # Runs the generator configured for this class. The first argument is an array like @@ -4942,25 +4944,25 @@ module Rails::Generators::Testing::Behavior # You can provide a configuration hash as second argument. This method returns the output # printed by the generator. # - # source://railties/lib/rails/generators/testing/behavior.rb#67 + # source://railties//lib/rails/generators/testing/behavior.rb#67 def run_generator(args = T.unsafe(nil), config = T.unsafe(nil)); end private # @return [Boolean] # - # source://railties/lib/rails/generators/testing/behavior.rb#90 + # source://railties//lib/rails/generators/testing/behavior.rb#90 def destination_root_is_set?; end - # source://railties/lib/rails/generators/testing/behavior.rb#94 + # source://railties//lib/rails/generators/testing/behavior.rb#94 def ensure_current_path; end - # source://railties/lib/rails/generators/testing/behavior.rb#104 + # source://railties//lib/rails/generators/testing/behavior.rb#104 def migration_file_name(relative); end # Clears all files and directories in destination. # - # source://railties/lib/rails/generators/testing/behavior.rb#99 + # source://railties//lib/rails/generators/testing/behavior.rb#99 def prepare_destination; end module GeneratedClassMethods @@ -4994,37 +4996,37 @@ module Rails::Generators::Testing::Behavior end end -# source://railties/lib/rails/generators/testing/behavior.rb#27 +# source://railties//lib/rails/generators/testing/behavior.rb#27 module Rails::Generators::Testing::Behavior::ClassMethods # Sets default arguments on generator invocation. This can be overwritten when # invoking it. # # arguments %w(app_name --skip-active-record) # - # source://railties/lib/rails/generators/testing/behavior.rb#39 + # source://railties//lib/rails/generators/testing/behavior.rb#39 def arguments(array); end # Sets the destination of generator files: # # destination File.expand_path("../tmp", __dir__) # - # source://railties/lib/rails/generators/testing/behavior.rb#46 + # source://railties//lib/rails/generators/testing/behavior.rb#46 def destination(path); end # Sets which generator should be tested: # # tests AppGenerator # - # source://railties/lib/rails/generators/testing/behavior.rb#31 + # source://railties//lib/rails/generators/testing/behavior.rb#31 def tests(klass); end end -# source://railties/lib/rails/generators/testing/setup_and_teardown.rb#6 +# source://railties//lib/rails/generators/testing/setup_and_teardown.rb#6 module Rails::Generators::Testing::SetupAndTeardown - # source://railties/lib/rails/generators/testing/setup_and_teardown.rb#7 + # source://railties//lib/rails/generators/testing/setup_and_teardown.rb#7 def setup; end - # source://railties/lib/rails/generators/testing/setup_and_teardown.rb#13 + # source://railties//lib/rails/generators/testing/setup_and_teardown.rb#13 def teardown; end end @@ -5060,30 +5062,30 @@ end # bad. Ideally, you should design your application to handle those outages # gracefully. # -# source://railties/lib/rails/health_controller.rb#35 +# source://railties//lib/rails/health_controller.rb#35 class Rails::HealthController < ::ActionController::Base - # source://railties/lib/rails/health_controller.rb#38 + # source://railties//lib/rails/health_controller.rb#38 def show; end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://railties//lib/rails/health_controller.rb#35 def _layout(lookup_context, formats); end - # source://railties/lib/rails/health_controller.rb#51 + # source://railties//lib/rails/health_controller.rb#51 def html_status(color:); end - # source://railties/lib/rails/health_controller.rb#47 + # source://railties//lib/rails/health_controller.rb#47 def render_down; end - # source://railties/lib/rails/health_controller.rb#43 + # source://railties//lib/rails/health_controller.rb#43 def render_up; end class << self - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://railties//lib/rails/health_controller.rb#35 def middleware_stack; end - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 + # source://railties//lib/rails/health_controller.rb#36 def rescue_handlers; end end end @@ -5092,346 +5094,347 @@ end # Rails::InfoController responses. These include the active \Rails version, # Ruby version, Rack version, and so on. # -# source://railties/lib/rails/info.rb#9 +# source://railties//lib/rails/info.rb#9 module Rails::Info - # source://railties/lib/rails/info.rb#10 + # source://railties//lib/rails/info.rb#10 def properties; end - # source://railties/lib/rails/info.rb#10 + # source://railties//lib/rails/info.rb#10 def properties=(val); end class << self - # source://railties/lib/rails/info.rb#31 + # source://railties//lib/rails/info.rb#41 def inspect; end - # source://railties/lib/rails/info.rb#10 + # source://railties//lib/rails/info.rb#10 def properties; end - # source://railties/lib/rails/info.rb#10 + # source://railties//lib/rails/info.rb#10 def properties=(val); end - # source://railties/lib/rails/info.rb#25 + # source://railties//lib/rails/info.rb#25 def property(name, value = T.unsafe(nil)); end - # source://railties/lib/rails/info.rb#43 + # source://railties//lib/rails/info.rb#43 def to_html; end - # source://railties/lib/rails/info.rb#31 + # source://railties//lib/rails/info.rb#31 def to_s; end end end -# source://railties/lib/rails/info_controller.rb#6 +# source://railties//lib/rails/info_controller.rb#6 class Rails::InfoController < ::Rails::ApplicationController - # source://railties/lib/rails/info_controller.rb#14 + # source://railties//lib/rails/info_controller.rb#14 def index; end - # source://railties/lib/rails/info_controller.rb#18 + # source://railties//lib/rails/info_controller.rb#18 def properties; end - # source://railties/lib/rails/info_controller.rb#23 + # source://railties//lib/rails/info_controller.rb#23 def routes; end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://railties//lib/rails/info_controller.rb#6 def _layout(lookup_context, formats); end - # source://railties/lib/rails/info_controller.rb#8 + # source://railties//lib/rails/info_controller.rb#8 def _layout_from_proc; end - # source://railties/lib/rails/info_controller.rb#38 + # source://railties//lib/rails/info_controller.rb#38 def matching_routes(query:, exact_match:); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/info_controller.rb#12 def __callbacks; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://railties//lib/rails/info_controller.rb#8 def _layout; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://railties//lib/rails/info_controller.rb#8 def _layout_conditions; end - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://railties//lib/rails/info_controller.rb#6 def middleware_stack; end end end -# source://railties/lib/rails/info_controller.rb#10 +# source://railties//lib/rails/info_controller.rb#10 Rails::InfoController::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) -# source://railties/lib/rails/initializable.rb#6 +# source://railties//lib/rails/initializable.rb#6 module Rails::Initializable mixes_in_class_methods ::Rails::Initializable::ClassMethods - # source://railties/lib/rails/initializable.rb#66 + # source://railties//lib/rails/initializable.rb#66 def initializers; end - # source://railties/lib/rails/initializable.rb#58 + # source://railties//lib/rails/initializable.rb#58 def run_initializers(group = T.unsafe(nil), *args); end class << self - # source://railties/lib/rails/initializable.rb#7 + # source://railties//lib/rails/initializable.rb#7 def included(base); end end end -# source://railties/lib/rails/initializable.rb#70 +# source://railties//lib/rails/initializable.rb#70 module Rails::Initializable::ClassMethods # @raise [ArgumentError] # - # source://railties/lib/rails/initializable.rb#88 + # source://railties//lib/rails/initializable.rb#88 def initializer(name, opts = T.unsafe(nil), &blk); end - # source://railties/lib/rails/initializable.rb#71 + # source://railties//lib/rails/initializable.rb#71 def initializers; end - # source://railties/lib/rails/initializable.rb#75 + # source://railties//lib/rails/initializable.rb#75 def initializers_chain; end - # source://railties/lib/rails/initializable.rb#84 + # source://railties//lib/rails/initializable.rb#84 def initializers_for(binding); end end -# source://railties/lib/rails/initializable.rb#45 +# source://railties//lib/rails/initializable.rb#45 class Rails::Initializable::Collection < ::Array include ::TSort - # source://railties/lib/rails/initializable.rb#53 + # source://railties//lib/rails/initializable.rb#53 def +(other); end - # source://railties/lib/rails/initializable.rb#49 + # source://railties//lib/rails/initializable.rb#49 def tsort_each_child(initializer, &block); end + # source://railties//lib/rails/initializable.rb#48 def tsort_each_node; end end -# source://railties/lib/rails/initializable.rb#11 +# source://railties//lib/rails/initializable.rb#11 class Rails::Initializable::Initializer # @return [Initializer] a new instance of Initializer # - # source://railties/lib/rails/initializable.rb#14 + # source://railties//lib/rails/initializable.rb#14 def initialize(name, context, options, &block); end - # source://railties/lib/rails/initializable.rb#23 + # source://railties//lib/rails/initializable.rb#23 def after; end - # source://railties/lib/rails/initializable.rb#19 + # source://railties//lib/rails/initializable.rb#19 def before; end # @return [Boolean] # - # source://railties/lib/rails/initializable.rb#27 + # source://railties//lib/rails/initializable.rb#27 def belongs_to?(group); end - # source://railties/lib/rails/initializable.rb#35 + # source://railties//lib/rails/initializable.rb#35 def bind(context); end # Returns the value of attribute block. # - # source://railties/lib/rails/initializable.rb#12 + # source://railties//lib/rails/initializable.rb#12 def block; end - # source://railties/lib/rails/initializable.rb#40 + # source://railties//lib/rails/initializable.rb#40 def context_class; end # Returns the value of attribute name. # - # source://railties/lib/rails/initializable.rb#12 + # source://railties//lib/rails/initializable.rb#12 def name; end - # source://railties/lib/rails/initializable.rb#31 + # source://railties//lib/rails/initializable.rb#31 def run(*args); end end -# source://railties/lib/rails/test_unit/line_filtering.rb#6 +# source://railties//lib/rails/test_unit/line_filtering.rb#6 module Rails::LineFiltering - # source://railties/lib/rails/test_unit/line_filtering.rb#7 + # source://railties//lib/rails/test_unit/line_filtering.rb#7 def run(reporter, options = T.unsafe(nil)); end end -# source://railties/lib/rails/mailers_controller.rb#5 +# source://railties//lib/rails/mailers_controller.rb#5 class Rails::MailersController < ::Rails::ApplicationController - # source://railties/lib/rails/mailers_controller.rb#21 + # source://railties//lib/rails/mailers_controller.rb#21 def download; end - # source://railties/lib/rails/mailers_controller.rb#16 + # source://railties//lib/rails/mailers_controller.rb#16 def index; end - # source://railties/lib/rails/mailers_controller.rb#31 + # source://railties//lib/rails/mailers_controller.rb#31 def preview; end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://railties//lib/rails/mailers_controller.rb#5 def _layout(lookup_context, formats); end - # source://railties/lib/rails/mailers_controller.rb#90 + # source://railties//lib/rails/mailers_controller.rb#90 def find_part(format); end - # source://railties/lib/rails/mailers_controller.rb#78 + # source://railties//lib/rails/mailers_controller.rb#78 def find_preferred_part(*formats); end - # source://railties/lib/rails/mailers_controller.rb#66 + # source://railties//lib/rails/mailers_controller.rb#66 def find_preview; end - # source://railties/lib/rails/mailers_controller.rb#102 + # source://railties//lib/rails/mailers_controller.rb#102 def locale_query(locale); end - # source://railties/lib/rails/mailers_controller.rb#98 + # source://railties//lib/rails/mailers_controller.rb#98 def part_query(mime_type); end - # source://railties/lib/rails/mailers_controller.rb#106 + # source://railties//lib/rails/mailers_controller.rb#106 def set_locale(&block); end # @return [Boolean] # - # source://railties/lib/rails/mailers_controller.rb#62 + # source://railties//lib/rails/mailers_controller.rb#62 def show_previews?; end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/mailers_controller.rb#8 def __callbacks; end - # source://actionpack/7.1.5.1lib/abstract_controller/helpers.rb#12 + # source://railties//lib/rails/mailers_controller.rb#12 def _helper_methods; end - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://railties//lib/rails/mailers_controller.rb#5 def middleware_stack; end end end -# source://railties/lib/rails/mailers_controller.rb#0 +# source://railties//lib/rails/mailers_controller.rb#12 module Rails::MailersController::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper include ::ActionController::Base::HelperMethods - # source://railties/lib/rails/mailers_controller.rb#12 + # source://railties//lib/rails/mailers_controller.rb#12 def locale_query(*args, **_arg1, &block); end - # source://railties/lib/rails/mailers_controller.rb#12 + # source://railties//lib/rails/mailers_controller.rb#12 def part_query(*args, **_arg1, &block); end end -# source://railties/lib/rails/paths.rb#6 +# source://railties//lib/rails/paths.rb#6 module Rails::Paths; end -# source://railties/lib/rails/paths.rb#114 +# source://railties//lib/rails/paths.rb#114 class Rails::Paths::Path include ::Enumerable # @return [Path] a new instance of Path # - # source://railties/lib/rails/paths.rb#119 + # source://railties//lib/rails/paths.rb#119 def initialize(root, current, paths, options = T.unsafe(nil)); end - # source://railties/lib/rails/paths.rb#171 + # source://railties//lib/rails/paths.rb#171 def <<(path); end - # source://railties/lib/rails/paths.rb#132 + # source://railties//lib/rails/paths.rb#132 def absolute_current; end - # source://railties/lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def autoload!; end - # source://railties/lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def autoload?; end - # source://railties/lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def autoload_once!; end - # source://railties/lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def autoload_once?; end - # source://railties/lib/rails/paths.rb#136 + # source://railties//lib/rails/paths.rb#136 def children; end - # source://railties/lib/rails/paths.rb#176 + # source://railties//lib/rails/paths.rb#176 def concat(paths); end - # source://railties/lib/rails/paths.rb#167 + # source://railties//lib/rails/paths.rb#167 def each(&block); end - # source://railties/lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def eager_load!; end - # source://railties/lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def eager_load?; end # Returns all expanded paths but only if they exist in the filesystem. # - # source://railties/lib/rails/paths.rb#220 + # source://railties//lib/rails/paths.rb#220 def existent; end - # source://railties/lib/rails/paths.rb#231 + # source://railties//lib/rails/paths.rb#231 def existent_directories; end # Expands all paths against the root and return all unique values. # - # source://railties/lib/rails/paths.rb#201 + # source://railties//lib/rails/paths.rb#201 def expanded; end - # source://railties/lib/rails/paths.rb#196 + # source://railties//lib/rails/paths.rb#196 def extensions; end - # source://railties/lib/rails/paths.rb#143 + # source://railties//lib/rails/paths.rb#143 def first; end # Returns the value of attribute glob. # - # source://railties/lib/rails/paths.rb#117 + # source://railties//lib/rails/paths.rb#117 def glob; end # Sets the attribute glob # # @param value the value to set the attribute glob to. # - # source://railties/lib/rails/paths.rb#117 + # source://railties//lib/rails/paths.rb#117 def glob=(_arg0); end - # source://railties/lib/rails/paths.rb#147 + # source://railties//lib/rails/paths.rb#147 def last; end - # source://railties/lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def load_path!; end - # source://railties/lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def load_path?; end - # source://railties/lib/rails/paths.rb#188 + # source://railties//lib/rails/paths.rb#188 def paths; end - # source://railties/lib/rails/paths.rb#171 + # source://railties//lib/rails/paths.rb#174 def push(path); end - # source://railties/lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_autoload!; end - # source://railties/lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_autoload_once!; end - # source://railties/lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_eager_load!; end - # source://railties/lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_load_path!; end # Expands all paths against the root and return all unique values. # - # source://railties/lib/rails/paths.rb#201 + # source://railties//lib/rails/paths.rb#235 def to_a; end - # source://railties/lib/rails/paths.rb#184 + # source://railties//lib/rails/paths.rb#184 def to_ary; end - # source://railties/lib/rails/paths.rb#180 + # source://railties//lib/rails/paths.rb#180 def unshift(*paths); end private - # source://railties/lib/rails/paths.rb#238 + # source://railties//lib/rails/paths.rb#238 def files_in(path); end end @@ -5480,65 +5483,65 @@ end # # Check the Rails::Paths::Path documentation for more information. # -# source://railties/lib/rails/paths.rb#51 +# source://railties//lib/rails/paths.rb#51 class Rails::Paths::Root # @return [Root] a new instance of Root # - # source://railties/lib/rails/paths.rb#54 + # source://railties//lib/rails/paths.rb#54 def initialize(path); end - # source://railties/lib/rails/paths.rb#69 + # source://railties//lib/rails/paths.rb#69 def [](path); end - # source://railties/lib/rails/paths.rb#59 + # source://railties//lib/rails/paths.rb#59 def []=(path, value); end - # source://railties/lib/rails/paths.rb#64 + # source://railties//lib/rails/paths.rb#64 def add(path, options = T.unsafe(nil)); end - # source://railties/lib/rails/paths.rb#85 + # source://railties//lib/rails/paths.rb#85 def all_paths; end - # source://railties/lib/rails/paths.rb#89 + # source://railties//lib/rails/paths.rb#89 def autoload_once; end - # source://railties/lib/rails/paths.rb#97 + # source://railties//lib/rails/paths.rb#97 def autoload_paths; end - # source://railties/lib/rails/paths.rb#93 + # source://railties//lib/rails/paths.rb#93 def eager_load; end - # source://railties/lib/rails/paths.rb#77 + # source://railties//lib/rails/paths.rb#77 def keys; end - # source://railties/lib/rails/paths.rb#101 + # source://railties//lib/rails/paths.rb#101 def load_paths; end # Returns the value of attribute path. # - # source://railties/lib/rails/paths.rb#52 + # source://railties//lib/rails/paths.rb#52 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://railties/lib/rails/paths.rb#52 + # source://railties//lib/rails/paths.rb#52 def path=(_arg0); end - # source://railties/lib/rails/paths.rb#73 + # source://railties//lib/rails/paths.rb#73 def values; end - # source://railties/lib/rails/paths.rb#81 + # source://railties//lib/rails/paths.rb#81 def values_at(*list); end private - # source://railties/lib/rails/paths.rb#106 + # source://railties//lib/rails/paths.rb#106 def filter_by(&block); end end -# source://railties/lib/rails/rack.rb#4 +# source://railties//lib/rails/rack.rb#4 module Rails::Rack; end # Sets log tags, logs the request, calls the app, and flushes the logs. @@ -5547,30 +5550,30 @@ module Rails::Rack; end # object responds to, objects that respond to +to_s+ or Proc objects that accept # an instance of the +request+ object. # -# source://railties/lib/rails/rack/logger.rb#14 +# source://railties//lib/rails/rack/logger.rb#14 class Rails::Rack::Logger < ::ActiveSupport::LogSubscriber # @return [Logger] a new instance of Logger # - # source://railties/lib/rails/rack/logger.rb#15 + # source://railties//lib/rails/rack/logger.rb#15 def initialize(app, taggers = T.unsafe(nil)); end - # source://railties/lib/rails/rack/logger.rb#20 + # source://railties//lib/rails/rack/logger.rb#20 def call(env); end private - # source://railties/lib/rails/rack/logger.rb#31 + # source://railties//lib/rails/rack/logger.rb#31 def call_app(request, env); end - # source://railties/lib/rails/rack/logger.rb#62 + # source://railties//lib/rails/rack/logger.rb#62 def compute_tags(request); end - # source://railties/lib/rails/rack/logger.rb#75 + # source://railties//lib/rails/rack/logger.rb#75 def logger; end # Started GET "/session/new" for 127.0.0.1 at 2012-09-26 14:51:42 -0700 # - # source://railties/lib/rails/rack/logger.rb#54 + # source://railties//lib/rails/rack/logger.rb#54 def started_request_message(request); end end @@ -5701,7 +5704,7 @@ end # # Be sure to look at the documentation of those specific classes for more information. # -# source://railties/lib/rails/railtie.rb#136 +# source://railties//lib/rails/railtie.rb#136 class Rails::Railtie include ::Rails::Initializable extend ::ActiveSupport::DescendantsTracker @@ -5709,158 +5712,159 @@ class Rails::Railtie # @return [Railtie] a new instance of Railtie # - # source://railties/lib/rails/railtie.rb#246 + # source://railties//lib/rails/railtie.rb#246 def initialize; end # This is used to create the config object on Railties, an instance of # Railtie::Configuration, that is used by Railties and Application to store # related configuration. # - # source://railties/lib/rails/railtie.rb#263 + # source://railties//lib/rails/railtie.rb#263 def config; end - # source://railties/lib/rails/railtie.rb#256 + # source://railties//lib/rails/railtie.rb#256 def configure(&block); end - # source://railties/lib/rails/railtie.rb#252 + # source://railties//lib/rails/railtie.rb#252 def inspect; end - # source://railties/lib/rails/railtie.rb#244 + # source://railties//lib/rails/railtie.rb#244 def railtie_name(*_arg0, **_arg1, &_arg2); end - # source://railties/lib/rails/railtie.rb#267 + # source://railties//lib/rails/railtie.rb#267 def railtie_namespace; end protected - # source://railties/lib/rails/railtie.rb#272 + # source://railties//lib/rails/railtie.rb#272 def run_console_blocks(app); end - # source://railties/lib/rails/railtie.rb#276 + # source://railties//lib/rails/railtie.rb#276 def run_generators_blocks(app); end - # source://railties/lib/rails/railtie.rb#280 + # source://railties//lib/rails/railtie.rb#280 def run_runner_blocks(app); end - # source://railties/lib/rails/railtie.rb#289 + # source://railties//lib/rails/railtie.rb#289 def run_server_blocks(app); end - # source://railties/lib/rails/railtie.rb#284 + # source://railties//lib/rails/railtie.rb#284 def run_tasks_blocks(app); end private # run `&block` in every registered block in `#register_block_for` # - # source://railties/lib/rails/railtie.rb#295 + # source://railties//lib/rails/railtie.rb#295 def each_registered_block(type, &block); end class << self - # source://railties/lib/rails/railtie.rb#194 + # source://railties//lib/rails/railtie.rb#194 def <=>(other); end # @return [Boolean] # - # source://railties/lib/rails/railtie.rb#172 + # source://railties//lib/rails/railtie.rb#172 def abstract_railtie?; end - # source://railties/lib/rails/railtie.rb#146 + # source://railties//lib/rails/railtie.rb#146 def config(*_arg0, **_arg1, &_arg2); end # Allows you to configure the railtie. This is the same method seen in # Railtie::Configurable, but this module is no longer required for all # subclasses of Railtie so we provide the class method here. # - # source://railties/lib/rails/railtie.rb#190 + # source://railties//lib/rails/railtie.rb#190 def configure(&block); end - # source://railties/lib/rails/railtie.rb#156 + # source://railties//lib/rails/railtie.rb#156 def console(&blk); end - # source://railties/lib/rails/railtie.rb#164 + # source://railties//lib/rails/railtie.rb#164 def generators(&blk); end # @private # - # source://railties/lib/rails/railtie.rb#198 + # source://railties//lib/rails/railtie.rb#198 def inherited(subclass); end # Since Rails::Railtie cannot be instantiated, any methods that call # +instance+ are intended to be called only on subclasses of a Railtie. # - # source://railties/lib/rails/railtie.rb#183 + # source://railties//lib/rails/railtie.rb#183 def instance; end - # source://railties/lib/rails/railtie.rb#176 + # source://railties//lib/rails/railtie.rb#176 def railtie_name(name = T.unsafe(nil)); end - # source://railties/lib/rails/railtie.rb#152 + # source://railties//lib/rails/railtie.rb#152 def rake_tasks(&blk); end - # source://railties/lib/rails/railtie.rb#160 + # source://railties//lib/rails/railtie.rb#160 def runner(&blk); end - # source://railties/lib/rails/railtie.rb#168 + # source://railties//lib/rails/railtie.rb#168 def server(&blk); end - # source://railties/lib/rails/railtie.rb#148 + # source://railties//lib/rails/railtie.rb#148 def subclasses; end protected - # source://railties/lib/rails/railtie.rb#206 + # source://railties//lib/rails/railtie.rb#206 def increment_load_index; end # Returns the value of attribute load_index. # - # source://railties/lib/rails/railtie.rb#204 + # source://railties//lib/rails/railtie.rb#204 def load_index; end private - # source://railties/lib/rails/railtie.rb#212 + # source://railties//lib/rails/railtie.rb#212 def generate_railtie_name(string); end # If the class method does not have a method, then send the method call # to the Railtie instance. # - # source://railties/lib/rails/railtie.rb#224 + # source://railties//lib/rails/railtie.rb#224 def method_missing(name, *args, **_arg2, &block); end + # source://railties//lib/rails/railtie.rb#145 def new(*_arg0); end # receives an instance variable identifier, set the variable value if is # blank and append given block to value, which will be used later in # `#each_registered_block(type, &block)` # - # source://railties/lib/rails/railtie.rb#236 + # source://railties//lib/rails/railtie.rb#236 def register_block_for(type, &blk); end # @return [Boolean] # - # source://railties/lib/rails/railtie.rb#216 + # source://railties//lib/rails/railtie.rb#216 def respond_to_missing?(name, _); end end end -# source://railties/lib/rails/railtie.rb#142 +# source://railties//lib/rails/railtie.rb#142 Rails::Railtie::ABSTRACT_RAILTIES = T.let(T.unsafe(nil), Array) -# source://railties/lib/rails/railtie/configuration.rb#7 +# source://railties//lib/rails/railtie/configuration.rb#7 class Rails::Railtie::Configuration # @return [Configuration] a new instance of Configuration # - # source://railties/lib/rails/railtie/configuration.rb#8 + # source://railties//lib/rails/railtie/configuration.rb#8 def initialize; end # Last configurable block to run. Called after frameworks initialize. # - # source://railties/lib/rails/railtie/configuration.rb#70 + # source://railties//lib/rails/railtie/configuration.rb#70 def after_initialize(&block); end # Called after application routes have been loaded. # - # source://railties/lib/rails/railtie/configuration.rb#75 + # source://railties//lib/rails/railtie/configuration.rb#75 def after_routes_loaded(&block); end # This allows you to modify application's generators from Railties. @@ -5870,7 +5874,7 @@ class Rails::Railtie::Configuration # # @yield [@@app_generators] # - # source://railties/lib/rails/railtie/configuration.rb#47 + # source://railties//lib/rails/railtie/configuration.rb#47 def app_generators; end # This allows you to modify the application's middlewares from Engines. @@ -5879,141 +5883,141 @@ class Rails::Railtie::Configuration # application once it is defined and the default_middlewares are # created # - # source://railties/lib/rails/railtie/configuration.rb#39 + # source://railties//lib/rails/railtie/configuration.rb#39 def app_middleware; end # First configurable block to run. Called before any initializers are run. # - # source://railties/lib/rails/railtie/configuration.rb#54 + # source://railties//lib/rails/railtie/configuration.rb#54 def before_configuration(&block); end # Third configurable block to run. Does not run if +config.eager_load+ # set to false. # - # source://railties/lib/rails/railtie/configuration.rb#60 + # source://railties//lib/rails/railtie/configuration.rb#60 def before_eager_load(&block); end # Second configurable block to run. Called before frameworks initialize. # - # source://railties/lib/rails/railtie/configuration.rb#65 + # source://railties//lib/rails/railtie/configuration.rb#65 def before_initialize(&block); end # All namespaces that are eager loaded # - # source://railties/lib/rails/railtie/configuration.rb#18 + # source://railties//lib/rails/railtie/configuration.rb#18 def eager_load_namespaces; end # @return [Boolean] # - # source://railties/lib/rails/railtie/configuration.rb#90 + # source://railties//lib/rails/railtie/configuration.rb#90 def respond_to?(name, include_private = T.unsafe(nil)); end # Defines generic callbacks to run before #after_initialize. Useful for # Rails::Railtie subclasses. # - # source://railties/lib/rails/railtie/configuration.rb#86 + # source://railties//lib/rails/railtie/configuration.rb#86 def to_prepare(&blk); end # Array of callbacks defined by #to_prepare. # - # source://railties/lib/rails/railtie/configuration.rb#80 + # source://railties//lib/rails/railtie/configuration.rb#80 def to_prepare_blocks; end # Add directories that should be watched for change. # The key of the hashes should be directories and the values should # be an array of extensions to match in each directory. # - # source://railties/lib/rails/railtie/configuration.rb#30 + # source://railties//lib/rails/railtie/configuration.rb#30 def watchable_dirs; end # Add files that should be watched for change. # - # source://railties/lib/rails/railtie/configuration.rb#23 + # source://railties//lib/rails/railtie/configuration.rb#23 def watchable_files; end private # @return [Boolean] # - # source://railties/lib/rails/railtie/configuration.rb#95 + # source://railties//lib/rails/railtie/configuration.rb#95 def actual_method?(key); end - # source://railties/lib/rails/railtie/configuration.rb#99 + # source://railties//lib/rails/railtie/configuration.rb#99 def method_missing(name, *args, &blk); end class << self # Expose the eager_load_namespaces at "module" level for convenience. # - # source://railties/lib/rails/railtie/configuration.rb#13 + # source://railties//lib/rails/railtie/configuration.rb#13 def eager_load_namespaces; end end end # Greatly inspired by Ara T. Howard's magnificent sekrets gem. 😘 # -# source://railties/lib/rails/secrets.rb#9 +# source://railties//lib/rails/secrets.rb#9 class Rails::Secrets class << self - # source://railties/lib/rails/secrets.rb#46 + # source://railties//lib/rails/secrets.rb#46 def decrypt(data); end - # source://railties/lib/rails/secrets.rb#42 + # source://railties//lib/rails/secrets.rb#42 def encrypt(data); end - # source://railties/lib/rails/secrets.rb#38 + # source://railties//lib/rails/secrets.rb#38 def key; end - # source://railties/lib/rails/secrets.rb#25 + # source://railties//lib/rails/secrets.rb#25 def parse(paths, env:); end - # source://railties/lib/rails/secrets.rb#50 + # source://railties//lib/rails/secrets.rb#50 def read; end - # source://railties/lib/rails/secrets.rb#59 + # source://railties//lib/rails/secrets.rb#59 def read_for_editing(&block); end # Sets the attribute root # # @param value the value to set the attribute root to. # - # source://railties/lib/rails/secrets.rb#23 + # source://railties//lib/rails/secrets.rb#23 def root=(_arg0); end - # source://railties/lib/rails/secrets.rb#54 + # source://railties//lib/rails/secrets.rb#54 def write(contents); end private - # source://railties/lib/rails/secrets.rb#105 + # source://railties//lib/rails/secrets.rb#105 def encryptor; end # @raise [MissingKeyError] # - # source://railties/lib/rails/secrets.rb#64 + # source://railties//lib/rails/secrets.rb#64 def handle_missing_key; end - # source://railties/lib/rails/secrets.rb#74 + # source://railties//lib/rails/secrets.rb#74 def key_path; end - # source://railties/lib/rails/secrets.rb#78 + # source://railties//lib/rails/secrets.rb#78 def path; end - # source://railties/lib/rails/secrets.rb#82 + # source://railties//lib/rails/secrets.rb#82 def preprocess(path); end - # source://railties/lib/rails/secrets.rb#68 + # source://railties//lib/rails/secrets.rb#68 def read_key_file; end - # source://railties/lib/rails/secrets.rb#90 + # source://railties//lib/rails/secrets.rb#90 def writing(contents); end end end -# source://railties/lib/rails/secrets.rb#10 +# source://railties//lib/rails/secrets.rb#10 class Rails::Secrets::MissingKeyError < ::RuntimeError # @return [MissingKeyError] a new instance of MissingKeyError # - # source://railties/lib/rails/secrets.rb#11 + # source://railties//lib/rails/secrets.rb#11 def initialize; end end @@ -6027,23 +6031,23 @@ end # start with the tag optionally followed by a colon. Everything up to the end # of the line (or closing ERB comment tag) is considered to be their text. # -# source://railties/lib/rails/source_annotation_extractor.rb#15 +# source://railties//lib/rails/source_annotation_extractor.rb#15 class Rails::SourceAnnotationExtractor # @return [SourceAnnotationExtractor] a new instance of SourceAnnotationExtractor # - # source://railties/lib/rails/source_annotation_extractor.rb#137 + # source://railties//lib/rails/source_annotation_extractor.rb#137 def initialize(tag); end # Prints the mapping from filenames to annotations in +results+ ordered by filename. # The +options+ hash is passed to each annotation's +to_s+. # - # source://railties/lib/rails/source_annotation_extractor.rb#186 + # source://railties//lib/rails/source_annotation_extractor.rb#186 def display(results, options = T.unsafe(nil)); end # Returns a hash that maps filenames under +dirs+ (recursively) to arrays # with their annotations. # - # source://railties/lib/rails/source_annotation_extractor.rb#143 + # source://railties//lib/rails/source_annotation_extractor.rb#143 def find(dirs); end # Returns a hash that maps filenames under +dir+ (recursively) to arrays @@ -6051,12 +6055,12 @@ class Rails::SourceAnnotationExtractor # Rails::SourceAnnotationExtractor::Annotation.extensions are # taken into account. Only files with annotations are included. # - # source://railties/lib/rails/source_annotation_extractor.rb#151 + # source://railties//lib/rails/source_annotation_extractor.rb#151 def find_in(dir); end # Returns the value of attribute tag. # - # source://railties/lib/rails/source_annotation_extractor.rb#135 + # source://railties//lib/rails/source_annotation_extractor.rb#135 def tag; end class << self @@ -6075,12 +6079,12 @@ class Rails::SourceAnnotationExtractor # # This class method is the single entry point for the rails notes command. # - # source://railties/lib/rails/source_annotation_extractor.rb#128 + # source://railties//lib/rails/source_annotation_extractor.rb#128 def enumerate(tag = T.unsafe(nil), options = T.unsafe(nil)); end end end -# source://railties/lib/rails/source_annotation_extractor.rb#54 +# source://railties//lib/rails/source_annotation_extractor.rb#54 class Rails::SourceAnnotationExtractor::Annotation < ::Struct # Returns a representation of the annotation that looks like this: # @@ -6089,35 +6093,35 @@ class Rails::SourceAnnotationExtractor::Annotation < ::Struct # If +options+ has a flag :tag the tag is shown as in the example above. # Otherwise the string contains just line and text. # - # source://railties/lib/rails/source_annotation_extractor.rb#107 + # source://railties//lib/rails/source_annotation_extractor.rb#107 def to_s(options = T.unsafe(nil)); end class << self - # source://railties/lib/rails/source_annotation_extractor.rb#55 + # source://railties//lib/rails/source_annotation_extractor.rb#55 def directories; end - # source://railties/lib/rails/source_annotation_extractor.rb#75 + # source://railties//lib/rails/source_annotation_extractor.rb#75 def extensions; end # Registers additional directories to be included # Rails::SourceAnnotationExtractor::Annotation.register_directories("spec", "another") # - # source://railties/lib/rails/source_annotation_extractor.rb#61 + # source://railties//lib/rails/source_annotation_extractor.rb#61 def register_directories(*dirs); end # Registers new Annotations File Extensions # Rails::SourceAnnotationExtractor::Annotation.register_extensions("css", "scss", "sass", "less", "js") { |tag| /\/\/\s*(#{tag}):?\s*(.*)$/ } # - # source://railties/lib/rails/source_annotation_extractor.rb#81 + # source://railties//lib/rails/source_annotation_extractor.rb#81 def register_extensions(*exts, &block); end # Registers additional tags # Rails::SourceAnnotationExtractor::Annotation.register_tags("TESTME", "DEPRECATEME") # - # source://railties/lib/rails/source_annotation_extractor.rb#71 + # source://railties//lib/rails/source_annotation_extractor.rb#71 def register_tags(*additional_tags); end - # source://railties/lib/rails/source_annotation_extractor.rb#65 + # source://railties//lib/rails/source_annotation_extractor.rb#65 def tags; end end end @@ -6125,187 +6129,187 @@ end # Wraps a regular expression that will be tested against each of the source # file's comments. # -# source://railties/lib/rails/source_annotation_extractor.rb#18 +# source://railties//lib/rails/source_annotation_extractor.rb#18 class Rails::SourceAnnotationExtractor::ParserExtractor < ::Struct - # source://railties/lib/rails/source_annotation_extractor.rb#33 + # source://railties//lib/rails/source_annotation_extractor.rb#33 def annotations(file); end end -# source://railties/lib/rails/source_annotation_extractor.rb#19 +# source://railties//lib/rails/source_annotation_extractor.rb#19 class Rails::SourceAnnotationExtractor::ParserExtractor::Parser < ::Ripper # @return [Parser] a new instance of Parser # - # source://railties/lib/rails/source_annotation_extractor.rb#22 + # source://railties//lib/rails/source_annotation_extractor.rb#22 def initialize(source, pattern:); end # Returns the value of attribute comments. # - # source://railties/lib/rails/source_annotation_extractor.rb#20 + # source://railties//lib/rails/source_annotation_extractor.rb#20 def comments; end - # source://railties/lib/rails/source_annotation_extractor.rb#28 + # source://railties//lib/rails/source_annotation_extractor.rb#28 def on_comment(value); end # Returns the value of attribute pattern. # - # source://railties/lib/rails/source_annotation_extractor.rb#20 + # source://railties//lib/rails/source_annotation_extractor.rb#20 def pattern; end end # Wraps a regular expression that will iterate through a file's lines and # test each one for the given pattern. # -# source://railties/lib/rails/source_annotation_extractor.rb#42 +# source://railties//lib/rails/source_annotation_extractor.rb#42 class Rails::SourceAnnotationExtractor::PatternExtractor < ::Struct - # source://railties/lib/rails/source_annotation_extractor.rb#43 + # source://railties//lib/rails/source_annotation_extractor.rb#43 def annotations(file); end end -# source://railties/lib/rails/test_unit/test_parser.rb#6 +# source://railties//lib/rails/test_unit/test_parser.rb#6 module Rails::TestUnit; end -# source://railties/lib/rails/test_unit/runner.rb#122 +# source://railties//lib/rails/test_unit/runner.rb#122 class Rails::TestUnit::CompositeFilter # @return [CompositeFilter] a new instance of CompositeFilter # - # source://railties/lib/rails/test_unit/runner.rb#125 + # source://railties//lib/rails/test_unit/runner.rb#125 def initialize(runnable, filter, patterns); end # minitest uses === to find matching filters. # - # source://railties/lib/rails/test_unit/runner.rb#132 + # source://railties//lib/rails/test_unit/runner.rb#132 def ===(method); end # Returns the value of attribute named_filter. # - # source://railties/lib/rails/test_unit/runner.rb#123 + # source://railties//lib/rails/test_unit/runner.rb#123 def named_filter; end private - # source://railties/lib/rails/test_unit/runner.rb#147 + # source://railties//lib/rails/test_unit/runner.rb#147 def derive_line_filters(patterns); end - # source://railties/lib/rails/test_unit/runner.rb#137 + # source://railties//lib/rails/test_unit/runner.rb#137 def derive_named_filter(filter); end end -# source://railties/lib/rails/test_unit/runner.rb#158 +# source://railties//lib/rails/test_unit/runner.rb#158 class Rails::TestUnit::Filter # @return [Filter] a new instance of Filter # - # source://railties/lib/rails/test_unit/runner.rb#159 + # source://railties//lib/rails/test_unit/runner.rb#159 def initialize(runnable, file, line_or_range); end - # source://railties/lib/rails/test_unit/runner.rb#168 + # source://railties//lib/rails/test_unit/runner.rb#168 def ===(method); end private - # source://railties/lib/rails/test_unit/runner.rb#180 + # source://railties//lib/rails/test_unit/runner.rb#180 def definition_for(method); end end -# source://railties/lib/rails/test_unit/runner.rb#12 +# source://railties//lib/rails/test_unit/runner.rb#12 class Rails::TestUnit::Runner - # source://railties/lib/rails/test_unit/runner.rb#15 + # source://railties//lib/rails/test_unit/runner.rb#15 def filters; end class << self - # source://railties/lib/rails/test_unit/runner.rb#18 + # source://railties//lib/rails/test_unit/runner.rb#18 def attach_before_load_options(opts); end - # source://railties/lib/rails/test_unit/runner.rb#54 + # source://railties//lib/rails/test_unit/runner.rb#54 def compose_filter(runnable, filter); end - # source://railties/lib/rails/test_unit/runner.rb#15 + # source://railties//lib/rails/test_unit/runner.rb#15 def filters; end - # source://railties/lib/rails/test_unit/runner.rb#48 + # source://railties//lib/rails/test_unit/runner.rb#48 def load_tests(argv); end - # source://railties/lib/rails/test_unit/runner.rb#23 + # source://railties//lib/rails/test_unit/runner.rb#23 def parse_options(argv); end - # source://railties/lib/rails/test_unit/runner.rb#42 + # source://railties//lib/rails/test_unit/runner.rb#42 def run(argv = T.unsafe(nil)); end - # source://railties/lib/rails/test_unit/runner.rb#36 + # source://railties//lib/rails/test_unit/runner.rb#36 def run_from_rake(test_command, argv = T.unsafe(nil)); end private - # source://railties/lib/rails/test_unit/runner.rb#89 + # source://railties//lib/rails/test_unit/runner.rb#89 def default_test_exclude_glob; end - # source://railties/lib/rails/test_unit/runner.rb#85 + # source://railties//lib/rails/test_unit/runner.rb#85 def default_test_glob; end - # source://railties/lib/rails/test_unit/runner.rb#65 + # source://railties//lib/rails/test_unit/runner.rb#65 def extract_filters(argv); end - # source://railties/lib/rails/test_unit/runner.rb#101 + # source://railties//lib/rails/test_unit/runner.rb#101 def list_tests(patterns); end - # source://railties/lib/rails/test_unit/runner.rb#107 + # source://railties//lib/rails/test_unit/runner.rb#107 def normalize_declarative_test_filter(filter); end # @return [Boolean] # - # source://railties/lib/rails/test_unit/runner.rb#97 + # source://railties//lib/rails/test_unit/runner.rb#97 def path_argument?(arg); end # @return [Boolean] # - # source://railties/lib/rails/test_unit/runner.rb#93 + # source://railties//lib/rails/test_unit/runner.rb#93 def regexp_filter?(arg); end end end -# source://railties/lib/rails/test_unit/runner.rb#14 +# source://railties//lib/rails/test_unit/runner.rb#14 Rails::TestUnit::Runner::PATH_ARGUMENT_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://railties/lib/rails/test_unit/runner.rb#13 +# source://railties//lib/rails/test_unit/runner.rb#13 Rails::TestUnit::Runner::TEST_FOLDERS = T.let(T.unsafe(nil), Array) # Parse a test file to extract the line ranges of all tests in both # method-style (def test_foo) and declarative-style (test "foo" do) # -# source://railties/lib/rails/test_unit/test_parser.rb#11 +# source://railties//lib/rails/test_unit/test_parser.rb#11 class Rails::TestUnit::TestParser < ::Ripper # @return [TestParser] a new instance of TestParser # - # source://railties/lib/rails/test_unit/test_parser.rb#19 + # source://railties//lib/rails/test_unit/test_parser.rb#19 def initialize(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#56 def first_arg(arg, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#60 def just_lineno(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#67 def on_arg_paren(arg, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#79 + # source://railties//lib/rails/test_unit/test_parser.rb#79 def on_args_add(parts, part); end - # source://railties/lib/rails/test_unit/test_parser.rb#83 + # source://railties//lib/rails/test_unit/test_parser.rb#83 def on_args_add_block(args, *rest); end - # source://railties/lib/rails/test_unit/test_parser.rb#75 + # source://railties//lib/rails/test_unit/test_parser.rb#75 def on_args_new; end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#68 def on_bodystmt(arg, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#73 def on_brace_block(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#65 def on_command(arg, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#52 + # source://railties//lib/rails/test_unit/test_parser.rb#52 def on_command_call(*_arg0, begin_lineno, _args); end # method test e.g. `def test_some_description` @@ -6313,16 +6317,16 @@ class Rails::TestUnit::TestParser < ::Ripper # name, which we have overridden to return the line number of the ident # instead. # - # source://railties/lib/rails/test_unit/test_parser.rb#34 + # source://railties//lib/rails/test_unit/test_parser.rb#34 def on_def(begin_line, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#71 def on_do_block(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#70 def on_ident(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#64 def on_method_add_arg(arg, *_arg1); end # Everything past this point is to support declarative tests, which @@ -6333,69 +6337,69 @@ class Rails::TestUnit::TestParser < ::Ripper # "test" method is called and pass it up the tree so it's available at # the point when we also know the line where the associated block ends. # - # source://railties/lib/rails/test_unit/test_parser.rb#46 + # source://railties//lib/rails/test_unit/test_parser.rb#46 def on_method_add_block(begin_line, end_line); end - # source://railties/lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#66 def on_stmts_add(arg, *_arg1); end - # source://railties/lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#72 def on_stmts_new(*_arg0); end - # source://railties/lib/rails/test_unit/test_parser.rb#25 + # source://railties//lib/rails/test_unit/test_parser.rb#25 def parse; end class << self # Helper to translate a method object into the path and line range where # the method was defined. # - # source://railties/lib/rails/test_unit/test_parser.rb#12 + # source://railties//lib/rails/test_unit/test_parser.rb#12 def definition_for(method_obj); end end end -# source://railties/lib/rails/test_unit/railtie.rb#6 +# source://railties//lib/rails/test_unit/railtie.rb#6 class Rails::TestUnitRailtie < ::Rails::Railtie; end -# source://railties/lib/rails/gem_version.rb#9 +# source://railties//lib/rails/gem_version.rb#9 module Rails::VERSION; end -# source://railties/lib/rails/gem_version.rb#10 +# source://railties//lib/rails/gem_version.rb#10 Rails::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://railties/lib/rails/gem_version.rb#11 +# source://railties//lib/rails/gem_version.rb#11 Rails::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://railties/lib/rails/gem_version.rb#13 +# source://railties//lib/rails/gem_version.rb#13 Rails::VERSION::PRE = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/gem_version.rb#15 +# source://railties//lib/rails/gem_version.rb#15 Rails::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://railties/lib/rails/gem_version.rb#12 +# source://railties//lib/rails/gem_version.rb#12 Rails::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://railties/lib/rails/welcome_controller.rb#5 +# source://railties//lib/rails/welcome_controller.rb#5 class Rails::WelcomeController < ::Rails::ApplicationController - # source://railties/lib/rails/welcome_controller.rb#9 + # source://railties//lib/rails/welcome_controller.rb#9 def index; end private - # source://actionview/7.1.5.1lib/action_view/layouts.rb#330 + # source://railties//lib/rails/welcome_controller.rb#5 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/welcome_controller.rb#6 def __callbacks; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#211 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout; end - # source://actionview/7.1.5.1lib/action_view/layouts.rb#212 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout_conditions; end - # source://actionpack/7.1.5.1lib/action_controller/metal.rb#262 + # source://railties//lib/rails/welcome_controller.rb#5 def middleware_stack; end end end diff --git a/sorbet/rbi/gems/rainbow@3.1.1.rbi b/sorbet/rbi/gems/rainbow@3.1.1.rbi index d02bc0487..62c9183ee 100644 --- a/sorbet/rbi/gems/rainbow@3.1.1.rbi +++ b/sorbet/rbi/gems/rainbow@3.1.1.rbi @@ -145,7 +145,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#9 def background(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#9 + # source://rainbow//lib/rainbow/null_presenter.rb#95 def bg(*_values); end # source://rainbow//lib/rainbow/null_presenter.rb#49 @@ -157,7 +157,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#65 def blue; end - # source://rainbow//lib/rainbow/null_presenter.rb#17 + # source://rainbow//lib/rainbow/null_presenter.rb#96 def bold; end # source://rainbow//lib/rainbow/null_presenter.rb#17 @@ -172,16 +172,16 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#73 def cyan; end - # source://rainbow//lib/rainbow/null_presenter.rb#21 + # source://rainbow//lib/rainbow/null_presenter.rb#97 def dark; end # source://rainbow//lib/rainbow/null_presenter.rb#21 def faint; end - # source://rainbow//lib/rainbow/null_presenter.rb#5 + # source://rainbow//lib/rainbow/null_presenter.rb#94 def fg(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#5 + # source://rainbow//lib/rainbow/null_presenter.rb#93 def foreground(*_values); end # source://rainbow//lib/rainbow/null_presenter.rb#57 @@ -208,7 +208,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#13 def reset; end - # source://rainbow//lib/rainbow/null_presenter.rb#45 + # source://rainbow//lib/rainbow/null_presenter.rb#98 def strike; end # source://rainbow//lib/rainbow/null_presenter.rb#29 @@ -237,7 +237,7 @@ class Rainbow::Presenter < ::String # Sets background color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#30 + # source://rainbow//lib/rainbow/presenter.rb#34 def bg(*values); end # source://rainbow//lib/rainbow/presenter.rb#92 @@ -254,7 +254,7 @@ class Rainbow::Presenter < ::String # Turns on bright/bold for this text. # - # source://rainbow//lib/rainbow/presenter.rb#45 + # source://rainbow//lib/rainbow/presenter.rb#49 def bold; end # Turns on bright/bold for this text. @@ -276,7 +276,7 @@ class Rainbow::Presenter < ::String # Turns on faint/dark for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#53 + # source://rainbow//lib/rainbow/presenter.rb#57 def dark; end # Turns on faint/dark for this text (not well supported by terminal @@ -287,12 +287,12 @@ class Rainbow::Presenter < ::String # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#22 + # source://rainbow//lib/rainbow/presenter.rb#27 def fg(*values); end # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#22 + # source://rainbow//lib/rainbow/presenter.rb#26 def foreground(*values); end # source://rainbow//lib/rainbow/presenter.rb#100 @@ -334,7 +334,7 @@ class Rainbow::Presenter < ::String # source://rainbow//lib/rainbow/presenter.rb#40 def reset; end - # source://rainbow//lib/rainbow/presenter.rb#86 + # source://rainbow//lib/rainbow/presenter.rb#90 def strike; end # Turns on underline decoration for this text. diff --git a/sorbet/rbi/gems/rake@13.2.1.rbi b/sorbet/rbi/gems/rake@13.2.1.rbi index e3337e33f..442866a05 100644 --- a/sorbet/rbi/gems/rake@13.2.1.rbi +++ b/sorbet/rbi/gems/rake@13.2.1.rbi @@ -559,34 +559,34 @@ module Rake::DSL private - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cd(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chmod(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chown(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def copy(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp_r(*args, **options, &block); end # Describes the next rake task. Duplicate descriptions are discarded. @@ -650,37 +650,37 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#184 def import(*fns); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def install(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def link(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def move(*args, **options, &block); end # Declare a task that performs its prerequisites in @@ -694,7 +694,7 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#113 def multitask(*args, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mv(*args, **options, &block); end # Create a new rake namespace and use it for evaluating the given @@ -719,37 +719,37 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#136 def namespace(name = T.unsafe(nil), &block); end - # source://rake//lib/rake/file_utils_ext.rb#77 + # source://rake//lib/rake/dsl_definition.rb#24 def nowrite(value = T.unsafe(nil)); end - # source://rake//lib/rake/file_utils_ext.rb#123 + # source://rake//lib/rake/dsl_definition.rb#24 def rake_check_options(options, *optdecl); end - # source://rake//lib/rake/file_utils_ext.rb#116 + # source://rake//lib/rake/dsl_definition.rb#24 def rake_output_message(message); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def remove(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/file_utils.rb#98 + # source://rake//lib/rake/dsl_definition.rb#23 def ruby(*args, **options, &block); end # Declare a rule for auto-tasks. @@ -762,19 +762,19 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#152 def rule(*args, &block); end - # source://rake//lib/rake/file_utils.rb#110 + # source://rake//lib/rake/dsl_definition.rb#23 def safe_ln(*args, **options); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils.rb#43 + # source://rake//lib/rake/dsl_definition.rb#23 def sh(*cmd, &block); end - # source://rake//lib/rake/file_utils.rb#126 + # source://rake//lib/rake/dsl_definition.rb#23 def split_all(path); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def symlink(*args, **options, &block); end # :call-seq: @@ -811,13 +811,13 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#59 def task(*args, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def touch(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#53 + # source://rake//lib/rake/dsl_definition.rb#24 def verbose(value = T.unsafe(nil)); end - # source://rake//lib/rake/file_utils_ext.rb#107 + # source://rake//lib/rake/dsl_definition.rb#24 def when_writing(msg = T.unsafe(nil)); end end @@ -856,7 +856,10 @@ class Rake::EarlyTime class << self private + # source://rake//lib/rake/early_time.rb#7 def allocate; end + + # source://rake//lib/rake/early_time.rb#7 def new(*_arg0); end end end @@ -917,7 +920,7 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#99 def initialize(*patterns); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def &(*args, &block); end # Redefine * to return either a string or a new file list. @@ -925,16 +928,16 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#193 def *(other); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def +(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def -(*args, &block); end # source://rake//lib/rake/file_list.rb#203 def <<(obj); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def <=>(*args, &block); end # A FileList is equal through array equality. @@ -942,10 +945,10 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#171 def ==(array); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def [](*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def []=(*args, &block); end # Add file names defined by glob patterns to the file list. If an array @@ -955,40 +958,40 @@ class Rake::FileList # file_list.include("*.java", "*.cfg") # file_list.include %w( math.c lib.h *.o ) # - # source://rake//lib/rake/file_list.rb#116 + # source://rake//lib/rake/file_list.rb#128 def add(*filenames); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def all?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def any?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def append(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def assoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def bsearch(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def bsearch_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chain(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chunk(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chunk_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def clear(*args, &block); end # Clear all the exclude patterns so that we exclude nothing. @@ -996,79 +999,79 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#164 def clear_exclude; end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def collect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def collect!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def collect_concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def compact(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def compact!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def count(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def cycle(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def deconstruct(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete_if(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def detect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def difference(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def dig(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def drop(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def drop_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_cons(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_entry(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_with_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_with_object(*args, &block); end # Grep each of the files in the filelist using the given pattern. If a @@ -1080,10 +1083,10 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#293 def egrep(pattern, *options); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def empty?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def entries(*args, &block); end # Register a list of file name patterns that should be excluded from the @@ -1146,49 +1149,49 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#284 def ext(newext = T.unsafe(nil)); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def fetch(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def fill(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def find(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def find_all(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def find_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def first(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def flat_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def flatten(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def flatten!(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def grep(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def grep_v(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def group_by(*args, &block); end # Return a new FileList with the results of running +gsub+ against each @@ -1219,25 +1222,25 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#116 def include(*filenames); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def include?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def inject(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def insert(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def inspect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def intersect?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def intersection(*args, &block); end # Lie about our class. @@ -1247,62 +1250,62 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#187 def is_a?(klass); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def join(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def keep_if(*args, &block); end # Lie about our class. # # @return [Boolean] # - # source://rake//lib/rake/file_list.rb#187 + # source://rake//lib/rake/file_list.rb#190 def kind_of?(klass); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def last(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def lazy(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def length(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def map(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def map!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def max(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def max_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def member?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def min(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def min_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def minmax(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def minmax_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def none?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def one?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def pack(*args, &block); end # FileList version of partition. Needed because the nested arrays should @@ -1318,43 +1321,43 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#272 def pathmap(spec = T.unsafe(nil), &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def place(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def pop(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def prepend(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def product(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def push(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rassoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reduce(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def reject(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reject!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def repeated_combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def repeated_permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def replace(*args, &block); end # Resolve all the pending adds now. @@ -1362,73 +1365,73 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#210 def resolve; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse_each(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rindex(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rotate(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rotate!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sample(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def select(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def select!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shelljoin(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shift(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shuffle(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shuffle!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def size(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_after(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_before(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_when(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def sort(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sort!(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def sort_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sort_by!(*args, &block); end # Return a new FileList with the results of running +sub+ against each @@ -1445,16 +1448,16 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#258 def sub!(pat, rep); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sum(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def take(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def take_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def tally(*args, &block); end # Return the internal array object. @@ -1467,7 +1470,7 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#182 def to_ary; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def to_h(*args, &block); end # Convert a FileList to a string by joining all elements with a space. @@ -1475,31 +1478,31 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#344 def to_s; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def to_set(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def transpose(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def union(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def uniq(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def uniq!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def unshift(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def values_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def zip(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def |(*args, &block); end private @@ -1617,70 +1620,70 @@ module Rake::FileUtilsExt extend ::FileUtils extend ::Rake::FileUtilsExt - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cd(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chmod(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chown(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def copy(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def install(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def link(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def move(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mv(*args, **options, &block); end # Get/set the nowrite flag controlling output from the FileUtils @@ -1712,34 +1715,34 @@ module Rake::FileUtilsExt # source://rake//lib/rake/file_utils_ext.rb#116 def rake_output_message(message); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def remove(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def symlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def touch(*args, **options, &block); end # Get/set the verbose flag controlling output from the FileUtils @@ -1898,7 +1901,10 @@ class Rake::LateTime class << self private + # source://rake//lib/rake/late_time.rb#6 def allocate; end + + # source://rake//lib/rake/late_time.rb#6 def new(*_arg0); end end end @@ -2393,7 +2399,7 @@ class Rake::Task # List of prerequisites for a task. # - # source://rake//lib/rake/task.rb#17 + # source://rake//lib/rake/task.rb#18 def prereqs; end # List of prerequisite tasks @@ -2600,7 +2606,7 @@ class Rake::TaskArguments # # @return [Boolean] # - # source://rake//lib/rake/task_arguments.rb#88 + # source://rake//lib/rake/task_arguments.rb#91 def key?(key); end # Returns the value of the given argument via method_missing @@ -3037,16 +3043,16 @@ class Rake::ThreadHistoryDisplay private - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def items; end # source://rake//lib/rake/thread_history_display.rb#35 def rename(hash, key, renames); end - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def stats; end - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def threads; end end diff --git a/sorbet/rbi/gems/rbi@0.2.4.rbi b/sorbet/rbi/gems/rbi@0.2.4.rbi index 17540de4e..00f7f047c 100644 --- a/sorbet/rbi/gems/rbi@0.2.4.rbi +++ b/sorbet/rbi/gems/rbi@0.2.4.rbi @@ -1397,7 +1397,9 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # source://rbi//lib/rbi/parser.rb#693 sig do - params(node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)).returns(T.nilable(::RBI::Struct)) + params( + node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode) + ).returns(T.nilable(::RBI::Struct)) end def parse_struct(node); end @@ -2489,11 +2491,6 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct # source://rbi//lib/rbi/rewriters/merge_trees.rb#95 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # Merge adjacent conflict trees @@ -2557,7 +2554,12 @@ end class RBI::Rewriters::Merge::TreeMerger < ::RBI::Visitor # source://rbi//lib/rbi/rewriters/merge_trees.rb#107 sig do - params(output: ::RBI::Tree, left_name: ::String, right_name: ::String, keep: ::RBI::Rewriters::Merge::Keep).void + params( + output: ::RBI::Tree, + left_name: ::String, + right_name: ::String, + keep: ::RBI::Rewriters::Merge::Keep + ).void end def initialize(output, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end @@ -2729,11 +2731,6 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#141 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # source://rbi//lib/rbi/rewriters/sort_nodes.rb#6 @@ -3288,67 +3285,6 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#38 - sig do - params( - name: ::String, - superclass_name: T.nilable(::String), - block: T.nilable(T.proc.params(scope: ::RBI::Scope).void) - ).returns(::RBI::Scope) - end - def create_class(name, superclass_name: T.unsafe(nil), &block); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#45 - sig { params(name: ::String, value: ::String).void } - def create_constant(name, value:); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#55 - sig { params(name: ::String).void } - def create_extend(name); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#50 - sig { params(name: ::String).void } - def create_include(name); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#90 - sig do - params( - name: ::String, - parameters: T::Array[::RBI::TypedParam], - return_type: T.nilable(::String), - class_method: T::Boolean, - visibility: ::RBI::Visibility, - comments: T::Array[::RBI::Comment], - block: T.nilable(T.proc.params(node: ::RBI::Method).void) - ).void - end - def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil), &block); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#60 - sig { params(name: ::String).void } - def create_mixes_in_class_methods(name); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#25 - sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } - def create_module(name, &block); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#9 - sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } - def create_path(constant, &block); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#74 - sig do - params( - name: ::String, - type: ::String, - variance: ::Symbol, - fixed: T.nilable(::String), - upper: T.nilable(::String), - lower: T.nilable(::String) - ).void - end - def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/deannotate.rb#41 sig { params(annotation: ::String).void } def deannotate!(annotation); end @@ -3411,16 +3347,6 @@ class RBI::Tree < ::RBI::NodeWithComments # source://rbi//lib/rbi/rewriters/sort_nodes.rb#119 sig { void } def sort_nodes!; end - - private - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#123 - sig { params(node: ::RBI::Node).returns(::RBI::Node) } - def create_node(node); end - - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#118 - sig { returns(T::Hash[::String, ::RBI::Node]) } - def nodes_cache; end end # The base class for all RBI types. diff --git a/sorbet/rbi/gems/rbs@3.8.1.rbi b/sorbet/rbi/gems/rbs@3.8.1.rbi index 16aca09f2..22be1bce3 100644 --- a/sorbet/rbi/gems/rbs@3.8.1.rbi +++ b/sorbet/rbi/gems/rbs@3.8.1.rbi @@ -5,1124 +5,1124 @@ # Please instead update this file by running `bin/tapioca gem rbs`. -# source://rbs/lib/rbs/namespace.rb#120 +# source://rbs//lib/rbs/namespace.rb#120 module Kernel - # source://rbs/lib/rbs/namespace.rb#121 + # source://rbs//lib/rbs/namespace.rb#121 def Namespace(name); end - # source://rbs/lib/rbs/type_name.rb#105 + # source://rbs//lib/rbs/type_name.rb#105 def TypeName(string); end end -# source://rbs/lib/rbs/version.rb#3 +# source://rbs//lib/rbs/version.rb#3 module RBS class << self - # source://rbs/lib/rbs.rb#68 + # source://rbs//lib/rbs.rb#68 def logger; end # Returns the value of attribute logger_level. # - # source://rbs/lib/rbs.rb#65 + # source://rbs//lib/rbs.rb#65 def logger_level; end - # source://rbs/lib/rbs.rb#77 + # source://rbs//lib/rbs.rb#77 def logger_level=(level); end # Returns the value of attribute logger_output. # - # source://rbs/lib/rbs.rb#66 + # source://rbs//lib/rbs.rb#66 def logger_output; end - # source://rbs/lib/rbs.rb#72 + # source://rbs//lib/rbs.rb#72 def logger_output=(val); end - # source://rbs/lib/rbs.rb#82 + # source://rbs//lib/rbs.rb#82 def print_warning; end end end -# source://rbs/lib/rbs/ast/type_param.rb#4 +# source://rbs//lib/rbs/ast/type_param.rb#4 module RBS::AST; end -# source://rbs/lib/rbs/ast/annotation.rb#5 +# source://rbs//lib/rbs/ast/annotation.rb#5 class RBS::AST::Annotation # @return [Annotation] a new instance of Annotation # - # source://rbs/lib/rbs/ast/annotation.rb#9 + # source://rbs//lib/rbs/ast/annotation.rb#9 def initialize(string:, location:); end - # source://rbs/lib/rbs/ast/annotation.rb#14 + # source://rbs//lib/rbs/ast/annotation.rb#14 def ==(other); end - # source://rbs/lib/rbs/ast/annotation.rb#14 + # source://rbs//lib/rbs/ast/annotation.rb#18 def eql?(other); end - # source://rbs/lib/rbs/ast/annotation.rb#20 + # source://rbs//lib/rbs/ast/annotation.rb#20 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/annotation.rb#7 + # source://rbs//lib/rbs/ast/annotation.rb#7 def location; end # Returns the value of attribute string. # - # source://rbs/lib/rbs/ast/annotation.rb#6 + # source://rbs//lib/rbs/ast/annotation.rb#6 def string; end - # source://rbs/lib/rbs/ast/annotation.rb#24 + # source://rbs//lib/rbs/ast/annotation.rb#24 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/comment.rb#5 +# source://rbs//lib/rbs/ast/comment.rb#5 class RBS::AST::Comment # @return [Comment] a new instance of Comment # - # source://rbs/lib/rbs/ast/comment.rb#9 + # source://rbs//lib/rbs/ast/comment.rb#9 def initialize(string:, location:); end - # source://rbs/lib/rbs/ast/comment.rb#14 + # source://rbs//lib/rbs/ast/comment.rb#14 def ==(other); end - # source://rbs/lib/rbs/ast/comment.rb#14 + # source://rbs//lib/rbs/ast/comment.rb#18 def eql?(other); end - # source://rbs/lib/rbs/ast/comment.rb#20 + # source://rbs//lib/rbs/ast/comment.rb#20 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/comment.rb#7 + # source://rbs//lib/rbs/ast/comment.rb#7 def location; end # Returns the value of attribute string. # - # source://rbs/lib/rbs/ast/comment.rb#6 + # source://rbs//lib/rbs/ast/comment.rb#6 def string; end - # source://rbs/lib/rbs/ast/comment.rb#24 + # source://rbs//lib/rbs/ast/comment.rb#24 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#5 +# source://rbs//lib/rbs/ast/declarations.rb#5 module RBS::AST::Declarations; end -# source://rbs/lib/rbs/ast/declarations.rb#419 +# source://rbs//lib/rbs/ast/declarations.rb#419 class RBS::AST::Declarations::AliasDecl < ::RBS::AST::Declarations::Base # @return [AliasDecl] a new instance of AliasDecl # - # source://rbs/lib/rbs/ast/declarations.rb#422 + # source://rbs//lib/rbs/ast/declarations.rb#422 def initialize(new_name:, old_name:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#429 + # source://rbs//lib/rbs/ast/declarations.rb#429 def ==(other); end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#420 + # source://rbs//lib/rbs/ast/declarations.rb#420 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#429 + # source://rbs//lib/rbs/ast/declarations.rb#435 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#437 + # source://rbs//lib/rbs/ast/declarations.rb#437 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#420 + # source://rbs//lib/rbs/ast/declarations.rb#420 def location; end # Returns the value of attribute new_name. # - # source://rbs/lib/rbs/ast/declarations.rb#420 + # source://rbs//lib/rbs/ast/declarations.rb#420 def new_name; end # Returns the value of attribute old_name. # - # source://rbs/lib/rbs/ast/declarations.rb#420 + # source://rbs//lib/rbs/ast/declarations.rb#420 def old_name; end end -# source://rbs/lib/rbs/ast/declarations.rb#6 +# source://rbs//lib/rbs/ast/declarations.rb#6 class RBS::AST::Declarations::Base; end -# source://rbs/lib/rbs/ast/declarations.rb#55 +# source://rbs//lib/rbs/ast/declarations.rb#55 class RBS::AST::Declarations::Class < ::RBS::AST::Declarations::Base include ::RBS::AST::Declarations::NestedDeclarationHelper include ::RBS::AST::Declarations::MixinHelper # @return [Class] a new instance of Class # - # source://rbs/lib/rbs/ast/declarations.rb#97 + # source://rbs//lib/rbs/ast/declarations.rb#97 def initialize(name:, type_params:, super_class:, members:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#119 + # source://rbs//lib/rbs/ast/declarations.rb#119 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/declarations.rb#93 + # source://rbs//lib/rbs/ast/declarations.rb#93 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#95 + # source://rbs//lib/rbs/ast/declarations.rb#95 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#119 + # source://rbs//lib/rbs/ast/declarations.rb#127 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#129 + # source://rbs//lib/rbs/ast/declarations.rb#129 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#94 + # source://rbs//lib/rbs/ast/declarations.rb#94 def location; end # Returns the value of attribute members. # - # source://rbs/lib/rbs/ast/declarations.rb#91 + # source://rbs//lib/rbs/ast/declarations.rb#91 def members; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#89 + # source://rbs//lib/rbs/ast/declarations.rb#89 def name; end # Returns the value of attribute super_class. # - # source://rbs/lib/rbs/ast/declarations.rb#92 + # source://rbs//lib/rbs/ast/declarations.rb#92 def super_class; end - # source://rbs/lib/rbs/ast/declarations.rb#133 + # source://rbs//lib/rbs/ast/declarations.rb#133 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/ast/declarations.rb#90 + # source://rbs//lib/rbs/ast/declarations.rb#90 def type_params; end - # source://rbs/lib/rbs/ast/declarations.rb#107 + # source://rbs//lib/rbs/ast/declarations.rb#107 def update(name: T.unsafe(nil), type_params: T.unsafe(nil), super_class: T.unsafe(nil), members: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#56 +# source://rbs//lib/rbs/ast/declarations.rb#56 class RBS::AST::Declarations::Class::Super # @return [Super] a new instance of Super # - # source://rbs/lib/rbs/ast/declarations.rb#61 + # source://rbs//lib/rbs/ast/declarations.rb#61 def initialize(name:, args:, location:); end - # source://rbs/lib/rbs/ast/declarations.rb#67 + # source://rbs//lib/rbs/ast/declarations.rb#67 def ==(other); end # Returns the value of attribute args. # - # source://rbs/lib/rbs/ast/declarations.rb#58 + # source://rbs//lib/rbs/ast/declarations.rb#58 def args; end - # source://rbs/lib/rbs/ast/declarations.rb#67 + # source://rbs//lib/rbs/ast/declarations.rb#71 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#73 + # source://rbs//lib/rbs/ast/declarations.rb#73 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#59 + # source://rbs//lib/rbs/ast/declarations.rb#59 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#57 + # source://rbs//lib/rbs/ast/declarations.rb#57 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#77 + # source://rbs//lib/rbs/ast/declarations.rb#77 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#442 +# source://rbs//lib/rbs/ast/declarations.rb#442 class RBS::AST::Declarations::ClassAlias < ::RBS::AST::Declarations::AliasDecl - # source://rbs/lib/rbs/ast/declarations.rb#443 + # source://rbs//lib/rbs/ast/declarations.rb#443 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#347 +# source://rbs//lib/rbs/ast/declarations.rb#347 class RBS::AST::Declarations::Constant < ::RBS::AST::Declarations::Base # @return [Constant] a new instance of Constant # - # source://rbs/lib/rbs/ast/declarations.rb#353 + # source://rbs//lib/rbs/ast/declarations.rb#353 def initialize(name:, type:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#360 + # source://rbs//lib/rbs/ast/declarations.rb#360 def ==(other); end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#351 + # source://rbs//lib/rbs/ast/declarations.rb#351 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#360 + # source://rbs//lib/rbs/ast/declarations.rb#366 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#368 + # source://rbs//lib/rbs/ast/declarations.rb#368 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#350 + # source://rbs//lib/rbs/ast/declarations.rb#350 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#348 + # source://rbs//lib/rbs/ast/declarations.rb#348 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#372 + # source://rbs//lib/rbs/ast/declarations.rb#372 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/ast/declarations.rb#349 + # source://rbs//lib/rbs/ast/declarations.rb#349 def type; end end -# source://rbs/lib/rbs/ast/declarations.rb#383 +# source://rbs//lib/rbs/ast/declarations.rb#383 class RBS::AST::Declarations::Global < ::RBS::AST::Declarations::Base # @return [Global] a new instance of Global # - # source://rbs/lib/rbs/ast/declarations.rb#389 + # source://rbs//lib/rbs/ast/declarations.rb#389 def initialize(name:, type:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#396 + # source://rbs//lib/rbs/ast/declarations.rb#396 def ==(other); end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#387 + # source://rbs//lib/rbs/ast/declarations.rb#387 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#396 + # source://rbs//lib/rbs/ast/declarations.rb#402 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#404 + # source://rbs//lib/rbs/ast/declarations.rb#404 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#386 + # source://rbs//lib/rbs/ast/declarations.rb#386 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#384 + # source://rbs//lib/rbs/ast/declarations.rb#384 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#408 + # source://rbs//lib/rbs/ast/declarations.rb#408 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/ast/declarations.rb#385 + # source://rbs//lib/rbs/ast/declarations.rb#385 def type; end end -# source://rbs/lib/rbs/ast/declarations.rb#248 +# source://rbs//lib/rbs/ast/declarations.rb#248 class RBS::AST::Declarations::Interface < ::RBS::AST::Declarations::Base include ::RBS::AST::Declarations::MixinHelper # @return [Interface] a new instance of Interface # - # source://rbs/lib/rbs/ast/declarations.rb#258 + # source://rbs//lib/rbs/ast/declarations.rb#258 def initialize(name:, type_params:, members:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#278 + # source://rbs//lib/rbs/ast/declarations.rb#278 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/declarations.rb#252 + # source://rbs//lib/rbs/ast/declarations.rb#252 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#254 + # source://rbs//lib/rbs/ast/declarations.rb#254 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#278 + # source://rbs//lib/rbs/ast/declarations.rb#285 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#287 + # source://rbs//lib/rbs/ast/declarations.rb#287 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#253 + # source://rbs//lib/rbs/ast/declarations.rb#253 def location; end # Returns the value of attribute members. # - # source://rbs/lib/rbs/ast/declarations.rb#251 + # source://rbs//lib/rbs/ast/declarations.rb#251 def members; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#249 + # source://rbs//lib/rbs/ast/declarations.rb#249 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#291 + # source://rbs//lib/rbs/ast/declarations.rb#291 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/ast/declarations.rb#250 + # source://rbs//lib/rbs/ast/declarations.rb#250 def type_params; end - # source://rbs/lib/rbs/ast/declarations.rb#267 + # source://rbs//lib/rbs/ast/declarations.rb#267 def update(name: T.unsafe(nil), type_params: T.unsafe(nil), members: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#35 +# source://rbs//lib/rbs/ast/declarations.rb#35 module RBS::AST::Declarations::MixinHelper - # source://rbs/lib/rbs/ast/declarations.rb#36 + # source://rbs//lib/rbs/ast/declarations.rb#36 def each_mixin(&block); end end -# source://rbs/lib/rbs/ast/declarations.rb#147 +# source://rbs//lib/rbs/ast/declarations.rb#147 class RBS::AST::Declarations::Module < ::RBS::AST::Declarations::Base include ::RBS::AST::Declarations::NestedDeclarationHelper include ::RBS::AST::Declarations::MixinHelper # @return [Module] a new instance of Module # - # source://rbs/lib/rbs/ast/declarations.rb#197 + # source://rbs//lib/rbs/ast/declarations.rb#197 def initialize(name:, type_params:, members:, self_types:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#220 + # source://rbs//lib/rbs/ast/declarations.rb#220 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/declarations.rb#193 + # source://rbs//lib/rbs/ast/declarations.rb#193 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#195 + # source://rbs//lib/rbs/ast/declarations.rb#195 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#220 + # source://rbs//lib/rbs/ast/declarations.rb#228 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#230 + # source://rbs//lib/rbs/ast/declarations.rb#230 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#192 + # source://rbs//lib/rbs/ast/declarations.rb#192 def location; end # Returns the value of attribute members. # - # source://rbs/lib/rbs/ast/declarations.rb#191 + # source://rbs//lib/rbs/ast/declarations.rb#191 def members; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#189 + # source://rbs//lib/rbs/ast/declarations.rb#189 def name; end # Returns the value of attribute self_types. # - # source://rbs/lib/rbs/ast/declarations.rb#194 + # source://rbs//lib/rbs/ast/declarations.rb#194 def self_types; end - # source://rbs/lib/rbs/ast/declarations.rb#234 + # source://rbs//lib/rbs/ast/declarations.rb#234 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/ast/declarations.rb#190 + # source://rbs//lib/rbs/ast/declarations.rb#190 def type_params; end - # source://rbs/lib/rbs/ast/declarations.rb#207 + # source://rbs//lib/rbs/ast/declarations.rb#207 def update(name: T.unsafe(nil), type_params: T.unsafe(nil), members: T.unsafe(nil), self_types: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#148 +# source://rbs//lib/rbs/ast/declarations.rb#148 class RBS::AST::Declarations::Module::Self # @return [Self] a new instance of Self # - # source://rbs/lib/rbs/ast/declarations.rb#153 + # source://rbs//lib/rbs/ast/declarations.rb#153 def initialize(name:, args:, location:); end - # source://rbs/lib/rbs/ast/declarations.rb#159 + # source://rbs//lib/rbs/ast/declarations.rb#159 def ==(other); end # Returns the value of attribute args. # - # source://rbs/lib/rbs/ast/declarations.rb#150 + # source://rbs//lib/rbs/ast/declarations.rb#150 def args; end - # source://rbs/lib/rbs/ast/declarations.rb#159 + # source://rbs//lib/rbs/ast/declarations.rb#163 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#165 + # source://rbs//lib/rbs/ast/declarations.rb#165 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#151 + # source://rbs//lib/rbs/ast/declarations.rb#151 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#149 + # source://rbs//lib/rbs/ast/declarations.rb#149 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#169 + # source://rbs//lib/rbs/ast/declarations.rb#169 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/declarations.rb#177 + # source://rbs//lib/rbs/ast/declarations.rb#177 def to_s; end end -# source://rbs/lib/rbs/ast/declarations.rb#454 +# source://rbs//lib/rbs/ast/declarations.rb#454 class RBS::AST::Declarations::ModuleAlias < ::RBS::AST::Declarations::AliasDecl - # source://rbs/lib/rbs/ast/declarations.rb#455 + # source://rbs//lib/rbs/ast/declarations.rb#455 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/declarations.rb#9 +# source://rbs//lib/rbs/ast/declarations.rb#9 module RBS::AST::Declarations::NestedDeclarationHelper - # source://rbs/lib/rbs/ast/declarations.rb#22 + # source://rbs//lib/rbs/ast/declarations.rb#22 def each_decl; end - # source://rbs/lib/rbs/ast/declarations.rb#10 + # source://rbs//lib/rbs/ast/declarations.rb#10 def each_member; end end -# source://rbs/lib/rbs/ast/declarations.rb#304 +# source://rbs//lib/rbs/ast/declarations.rb#304 class RBS::AST::Declarations::TypeAlias < ::RBS::AST::Declarations::Base # @return [TypeAlias] a new instance of TypeAlias # - # source://rbs/lib/rbs/ast/declarations.rb#312 + # source://rbs//lib/rbs/ast/declarations.rb#312 def initialize(name:, type_params:, type:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/declarations.rb#321 + # source://rbs//lib/rbs/ast/declarations.rb#321 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/declarations.rb#308 + # source://rbs//lib/rbs/ast/declarations.rb#308 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/declarations.rb#310 + # source://rbs//lib/rbs/ast/declarations.rb#310 def comment; end - # source://rbs/lib/rbs/ast/declarations.rb#321 + # source://rbs//lib/rbs/ast/declarations.rb#328 def eql?(other); end - # source://rbs/lib/rbs/ast/declarations.rb#330 + # source://rbs//lib/rbs/ast/declarations.rb#330 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/declarations.rb#309 + # source://rbs//lib/rbs/ast/declarations.rb#309 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/declarations.rb#305 + # source://rbs//lib/rbs/ast/declarations.rb#305 def name; end - # source://rbs/lib/rbs/ast/declarations.rb#334 + # source://rbs//lib/rbs/ast/declarations.rb#334 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/ast/declarations.rb#307 + # source://rbs//lib/rbs/ast/declarations.rb#307 def type; end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/ast/declarations.rb#306 + # source://rbs//lib/rbs/ast/declarations.rb#306 def type_params; end end -# source://rbs/lib/rbs/ast/directives.rb#5 +# source://rbs//lib/rbs/ast/directives.rb#5 module RBS::AST::Directives; end -# source://rbs/lib/rbs/ast/directives.rb#6 +# source://rbs//lib/rbs/ast/directives.rb#6 class RBS::AST::Directives::Base; end -# source://rbs/lib/rbs/ast/directives.rb#9 +# source://rbs//lib/rbs/ast/directives.rb#9 class RBS::AST::Directives::Use < ::RBS::AST::Directives::Base # @return [Use] a new instance of Use # - # source://rbs/lib/rbs/ast/directives.rb#31 + # source://rbs//lib/rbs/ast/directives.rb#31 def initialize(clauses:, location:); end # Returns the value of attribute clauses. # - # source://rbs/lib/rbs/ast/directives.rb#29 + # source://rbs//lib/rbs/ast/directives.rb#29 def clauses; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/directives.rb#29 + # source://rbs//lib/rbs/ast/directives.rb#29 def location; end end -# source://rbs/lib/rbs/ast/directives.rb#10 +# source://rbs//lib/rbs/ast/directives.rb#10 class RBS::AST::Directives::Use::SingleClause # @return [SingleClause] a new instance of SingleClause # - # source://rbs/lib/rbs/ast/directives.rb#13 + # source://rbs//lib/rbs/ast/directives.rb#13 def initialize(type_name:, new_name:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/directives.rb#11 + # source://rbs//lib/rbs/ast/directives.rb#11 def location; end # Returns the value of attribute new_name. # - # source://rbs/lib/rbs/ast/directives.rb#11 + # source://rbs//lib/rbs/ast/directives.rb#11 def new_name; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/ast/directives.rb#11 + # source://rbs//lib/rbs/ast/directives.rb#11 def type_name; end end -# source://rbs/lib/rbs/ast/directives.rb#20 +# source://rbs//lib/rbs/ast/directives.rb#20 class RBS::AST::Directives::Use::WildcardClause # @return [WildcardClause] a new instance of WildcardClause # - # source://rbs/lib/rbs/ast/directives.rb#23 + # source://rbs//lib/rbs/ast/directives.rb#23 def initialize(namespace:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/directives.rb#21 + # source://rbs//lib/rbs/ast/directives.rb#21 def location; end # Returns the value of attribute namespace. # - # source://rbs/lib/rbs/ast/directives.rb#21 + # source://rbs//lib/rbs/ast/directives.rb#21 def namespace; end end -# source://rbs/lib/rbs/ast/members.rb#5 +# source://rbs//lib/rbs/ast/members.rb#5 module RBS::AST::Members; end -# source://rbs/lib/rbs/ast/members.rb#397 +# source://rbs//lib/rbs/ast/members.rb#397 class RBS::AST::Members::Alias < ::RBS::AST::Members::Base # @return [Alias] a new instance of Alias # - # source://rbs/lib/rbs/ast/members.rb#405 + # source://rbs//lib/rbs/ast/members.rb#405 def initialize(new_name:, old_name:, kind:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/members.rb#414 + # source://rbs//lib/rbs/ast/members.rb#414 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/members.rb#401 + # source://rbs//lib/rbs/ast/members.rb#401 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/members.rb#403 + # source://rbs//lib/rbs/ast/members.rb#403 def comment; end - # source://rbs/lib/rbs/ast/members.rb#414 + # source://rbs//lib/rbs/ast/members.rb#421 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#423 + # source://rbs//lib/rbs/ast/members.rb#423 def hash; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#439 + # source://rbs//lib/rbs/ast/members.rb#439 def instance?; end # Returns the value of attribute kind. # - # source://rbs/lib/rbs/ast/members.rb#400 + # source://rbs//lib/rbs/ast/members.rb#400 def kind; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#402 + # source://rbs//lib/rbs/ast/members.rb#402 def location; end # Returns the value of attribute new_name. # - # source://rbs/lib/rbs/ast/members.rb#398 + # source://rbs//lib/rbs/ast/members.rb#398 def new_name; end # Returns the value of attribute old_name. # - # source://rbs/lib/rbs/ast/members.rb#399 + # source://rbs//lib/rbs/ast/members.rb#399 def old_name; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#443 + # source://rbs//lib/rbs/ast/members.rb#443 def singleton?; end - # source://rbs/lib/rbs/ast/members.rb#427 + # source://rbs//lib/rbs/ast/members.rb#427 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#327 +# source://rbs//lib/rbs/ast/members.rb#327 class RBS::AST::Members::AttrAccessor < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs/lib/rbs/ast/members.rb#330 + # source://rbs//lib/rbs/ast/members.rb#330 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#309 +# source://rbs//lib/rbs/ast/members.rb#309 class RBS::AST::Members::AttrReader < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs/lib/rbs/ast/members.rb#312 + # source://rbs//lib/rbs/ast/members.rb#312 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#345 +# source://rbs//lib/rbs/ast/members.rb#345 class RBS::AST::Members::AttrWriter < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs/lib/rbs/ast/members.rb#348 + # source://rbs//lib/rbs/ast/members.rb#348 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#258 +# source://rbs//lib/rbs/ast/members.rb#258 module RBS::AST::Members::Attribute - # source://rbs/lib/rbs/ast/members.rb#268 + # source://rbs//lib/rbs/ast/members.rb#268 def initialize(name:, type:, ivar_name:, kind:, annotations:, location:, comment:, visibility: T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/members.rb#279 + # source://rbs//lib/rbs/ast/members.rb#279 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/members.rb#263 + # source://rbs//lib/rbs/ast/members.rb#263 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/members.rb#265 + # source://rbs//lib/rbs/ast/members.rb#265 def comment; end - # source://rbs/lib/rbs/ast/members.rb#279 + # source://rbs//lib/rbs/ast/members.rb#288 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#290 + # source://rbs//lib/rbs/ast/members.rb#290 def hash; end # Returns the value of attribute ivar_name. # - # source://rbs/lib/rbs/ast/members.rb#262 + # source://rbs//lib/rbs/ast/members.rb#262 def ivar_name; end # Returns the value of attribute kind. # - # source://rbs/lib/rbs/ast/members.rb#261 + # source://rbs//lib/rbs/ast/members.rb#261 def kind; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#264 + # source://rbs//lib/rbs/ast/members.rb#264 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/members.rb#259 + # source://rbs//lib/rbs/ast/members.rb#259 def name; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/ast/members.rb#260 + # source://rbs//lib/rbs/ast/members.rb#260 def type; end - # source://rbs/lib/rbs/ast/members.rb#294 + # source://rbs//lib/rbs/ast/members.rb#294 def update(name: T.unsafe(nil), type: T.unsafe(nil), ivar_name: T.unsafe(nil), kind: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil), visibility: T.unsafe(nil)); end # Returns the value of attribute visibility. # - # source://rbs/lib/rbs/ast/members.rb#266 + # source://rbs//lib/rbs/ast/members.rb#266 def visibility; end end -# source://rbs/lib/rbs/ast/members.rb#6 +# source://rbs//lib/rbs/ast/members.rb#6 class RBS::AST::Members::Base; end -# source://rbs/lib/rbs/ast/members.rb#157 +# source://rbs//lib/rbs/ast/members.rb#157 class RBS::AST::Members::ClassInstanceVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs/lib/rbs/ast/members.rb#160 + # source://rbs//lib/rbs/ast/members.rb#160 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#171 +# source://rbs//lib/rbs/ast/members.rb#171 class RBS::AST::Members::ClassVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs/lib/rbs/ast/members.rb#174 + # source://rbs//lib/rbs/ast/members.rb#174 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#228 +# source://rbs//lib/rbs/ast/members.rb#228 class RBS::AST::Members::Extend < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs/lib/rbs/ast/members.rb#231 + # source://rbs//lib/rbs/ast/members.rb#231 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#213 +# source://rbs//lib/rbs/ast/members.rb#213 class RBS::AST::Members::Include < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs/lib/rbs/ast/members.rb#216 + # source://rbs//lib/rbs/ast/members.rb#216 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#143 +# source://rbs//lib/rbs/ast/members.rb#143 class RBS::AST::Members::InstanceVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs/lib/rbs/ast/members.rb#146 + # source://rbs//lib/rbs/ast/members.rb#146 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#363 +# source://rbs//lib/rbs/ast/members.rb#363 module RBS::AST::Members::LocationOnly - # source://rbs/lib/rbs/ast/members.rb#366 + # source://rbs//lib/rbs/ast/members.rb#366 def initialize(location:); end - # source://rbs/lib/rbs/ast/members.rb#370 + # source://rbs//lib/rbs/ast/members.rb#370 def ==(other); end - # source://rbs/lib/rbs/ast/members.rb#370 + # source://rbs//lib/rbs/ast/members.rb#374 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#376 + # source://rbs//lib/rbs/ast/members.rb#376 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#364 + # source://rbs//lib/rbs/ast/members.rb#364 def location; end end -# source://rbs/lib/rbs/ast/members.rb#9 +# source://rbs//lib/rbs/ast/members.rb#9 class RBS::AST::Members::MethodDefinition < ::RBS::AST::Members::Base # @return [MethodDefinition] a new instance of MethodDefinition # - # source://rbs/lib/rbs/ast/members.rb#53 + # source://rbs//lib/rbs/ast/members.rb#53 def initialize(name:, kind:, overloads:, annotations:, location:, comment:, overloading:, visibility:); end - # source://rbs/lib/rbs/ast/members.rb#64 + # source://rbs//lib/rbs/ast/members.rb#64 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/members.rb#47 + # source://rbs//lib/rbs/ast/members.rb#47 def annotations; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/members.rb#49 + # source://rbs//lib/rbs/ast/members.rb#49 def comment; end - # source://rbs/lib/rbs/ast/members.rb#64 + # source://rbs//lib/rbs/ast/members.rb#73 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#75 + # source://rbs//lib/rbs/ast/members.rb#75 def hash; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#79 + # source://rbs//lib/rbs/ast/members.rb#79 def instance?; end # Returns the value of attribute kind. # - # source://rbs/lib/rbs/ast/members.rb#45 + # source://rbs//lib/rbs/ast/members.rb#45 def kind; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#48 + # source://rbs//lib/rbs/ast/members.rb#48 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/members.rb#44 + # source://rbs//lib/rbs/ast/members.rb#44 def name; end # Returns the value of attribute overloading. # - # source://rbs/lib/rbs/ast/members.rb#50 + # source://rbs//lib/rbs/ast/members.rb#50 def overloading; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#87 + # source://rbs//lib/rbs/ast/members.rb#87 def overloading?; end # Returns the value of attribute overloads. # - # source://rbs/lib/rbs/ast/members.rb#46 + # source://rbs//lib/rbs/ast/members.rb#46 def overloads; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#83 + # source://rbs//lib/rbs/ast/members.rb#83 def singleton?; end - # source://rbs/lib/rbs/ast/members.rb#104 + # source://rbs//lib/rbs/ast/members.rb#104 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/members.rb#91 + # source://rbs//lib/rbs/ast/members.rb#91 def update(name: T.unsafe(nil), kind: T.unsafe(nil), overloads: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil), overloading: T.unsafe(nil), visibility: T.unsafe(nil)); end # Returns the value of attribute visibility. # - # source://rbs/lib/rbs/ast/members.rb#51 + # source://rbs//lib/rbs/ast/members.rb#51 def visibility; end end -# source://rbs/lib/rbs/ast/members.rb#10 +# source://rbs//lib/rbs/ast/members.rb#10 class RBS::AST::Members::MethodDefinition::Overload # @return [Overload] a new instance of Overload # - # source://rbs/lib/rbs/ast/members.rb#13 + # source://rbs//lib/rbs/ast/members.rb#13 def initialize(method_type:, annotations:); end - # source://rbs/lib/rbs/ast/members.rb#18 + # source://rbs//lib/rbs/ast/members.rb#18 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/members.rb#11 + # source://rbs//lib/rbs/ast/members.rb#11 def annotations; end - # source://rbs/lib/rbs/ast/members.rb#18 + # source://rbs//lib/rbs/ast/members.rb#26 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#22 + # source://rbs//lib/rbs/ast/members.rb#22 def hash; end # Returns the value of attribute method_type. # - # source://rbs/lib/rbs/ast/members.rb#11 + # source://rbs//lib/rbs/ast/members.rb#11 def method_type; end - # source://rbs/lib/rbs/ast/members.rb#32 + # source://rbs//lib/rbs/ast/members.rb#32 def sub(subst); end - # source://rbs/lib/rbs/ast/members.rb#36 + # source://rbs//lib/rbs/ast/members.rb#36 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/members.rb#28 + # source://rbs//lib/rbs/ast/members.rb#28 def update(annotations: T.unsafe(nil), method_type: T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#185 +# source://rbs//lib/rbs/ast/members.rb#185 module RBS::AST::Members::Mixin - # source://rbs/lib/rbs/ast/members.rb#192 + # source://rbs//lib/rbs/ast/members.rb#192 def initialize(name:, args:, annotations:, location:, comment:); end - # source://rbs/lib/rbs/ast/members.rb#200 + # source://rbs//lib/rbs/ast/members.rb#200 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/ast/members.rb#188 + # source://rbs//lib/rbs/ast/members.rb#188 def annotations; end # Returns the value of attribute args. # - # source://rbs/lib/rbs/ast/members.rb#187 + # source://rbs//lib/rbs/ast/members.rb#187 def args; end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/members.rb#190 + # source://rbs//lib/rbs/ast/members.rb#190 def comment; end # @return [Boolean] # - # source://rbs/lib/rbs/ast/members.rb#204 + # source://rbs//lib/rbs/ast/members.rb#204 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#208 + # source://rbs//lib/rbs/ast/members.rb#208 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#189 + # source://rbs//lib/rbs/ast/members.rb#189 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/members.rb#186 + # source://rbs//lib/rbs/ast/members.rb#186 def name; end end -# source://rbs/lib/rbs/ast/members.rb#243 +# source://rbs//lib/rbs/ast/members.rb#243 class RBS::AST::Members::Prepend < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs/lib/rbs/ast/members.rb#246 + # source://rbs//lib/rbs/ast/members.rb#246 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#389 +# source://rbs//lib/rbs/ast/members.rb#389 class RBS::AST::Members::Private < ::RBS::AST::Members::Base include ::RBS::AST::Members::LocationOnly - # source://rbs/lib/rbs/ast/members.rb#392 + # source://rbs//lib/rbs/ast/members.rb#392 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#381 +# source://rbs//lib/rbs/ast/members.rb#381 class RBS::AST::Members::Public < ::RBS::AST::Members::Base include ::RBS::AST::Members::LocationOnly - # source://rbs/lib/rbs/ast/members.rb#384 + # source://rbs//lib/rbs/ast/members.rb#384 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/ast/members.rb#119 +# source://rbs//lib/rbs/ast/members.rb#119 module RBS::AST::Members::Var - # source://rbs/lib/rbs/ast/members.rb#125 + # source://rbs//lib/rbs/ast/members.rb#125 def initialize(name:, type:, location:, comment:); end - # source://rbs/lib/rbs/ast/members.rb#132 + # source://rbs//lib/rbs/ast/members.rb#132 def ==(other); end # Returns the value of attribute comment. # - # source://rbs/lib/rbs/ast/members.rb#123 + # source://rbs//lib/rbs/ast/members.rb#123 def comment; end - # source://rbs/lib/rbs/ast/members.rb#132 + # source://rbs//lib/rbs/ast/members.rb#136 def eql?(other); end - # source://rbs/lib/rbs/ast/members.rb#138 + # source://rbs//lib/rbs/ast/members.rb#138 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/members.rb#122 + # source://rbs//lib/rbs/ast/members.rb#122 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/members.rb#120 + # source://rbs//lib/rbs/ast/members.rb#120 def name; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/ast/members.rb#121 + # source://rbs//lib/rbs/ast/members.rb#121 def type; end end -# source://rbs/lib/rbs/ast/type_param.rb#5 +# source://rbs//lib/rbs/ast/type_param.rb#5 class RBS::AST::TypeParam # @return [TypeParam] a new instance of TypeParam # - # source://rbs/lib/rbs/ast/type_param.rb#8 + # source://rbs//lib/rbs/ast/type_param.rb#8 def initialize(name:, variance:, upper_bound:, location:, default_type: T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/type_param.rb#33 + # source://rbs//lib/rbs/ast/type_param.rb#33 def ==(other); end # Returns the value of attribute default_type. # - # source://rbs/lib/rbs/ast/type_param.rb#6 + # source://rbs//lib/rbs/ast/type_param.rb#6 def default_type; end - # source://rbs/lib/rbs/ast/type_param.rb#33 + # source://rbs//lib/rbs/ast/type_param.rb#42 def eql?(other); end - # source://rbs/lib/rbs/ast/type_param.rb#44 + # source://rbs//lib/rbs/ast/type_param.rb#44 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/ast/type_param.rb#6 + # source://rbs//lib/rbs/ast/type_param.rb#6 def location; end - # source://rbs/lib/rbs/ast/type_param.rb#69 + # source://rbs//lib/rbs/ast/type_param.rb#69 def map_type(&block); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/ast/type_param.rb#6 + # source://rbs//lib/rbs/ast/type_param.rb#6 def name; end - # source://rbs/lib/rbs/ast/type_param.rb#59 + # source://rbs//lib/rbs/ast/type_param.rb#59 def rename(name); end - # source://rbs/lib/rbs/ast/type_param.rb#48 + # source://rbs//lib/rbs/ast/type_param.rb#48 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/ast/type_param.rb#127 + # source://rbs//lib/rbs/ast/type_param.rb#127 def to_s; end - # source://rbs/lib/rbs/ast/type_param.rb#24 + # source://rbs//lib/rbs/ast/type_param.rb#24 def unchecked!(value = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/ast/type_param.rb#29 + # source://rbs//lib/rbs/ast/type_param.rb#29 def unchecked?; end - # source://rbs/lib/rbs/ast/type_param.rb#17 + # source://rbs//lib/rbs/ast/type_param.rb#17 def upper_bound; end # Returns the value of attribute upper_bound_type. # - # source://rbs/lib/rbs/ast/type_param.rb#6 + # source://rbs//lib/rbs/ast/type_param.rb#6 def upper_bound_type; end # Returns the value of attribute variance. # - # source://rbs/lib/rbs/ast/type_param.rb#6 + # source://rbs//lib/rbs/ast/type_param.rb#6 def variance; end class << self - # source://rbs/lib/rbs/ast/type_param.rb#156 + # source://rbs//lib/rbs/ast/type_param.rb#156 def application(params, args); end - # source://rbs/lib/rbs/ast/type_param.rb#188 + # source://rbs//lib/rbs/ast/type_param.rb#188 def normalize_args(params, args); end - # source://rbs/lib/rbs/ast/type_param.rb#109 + # source://rbs//lib/rbs/ast/type_param.rb#109 def rename(params, new_names:); end - # source://rbs/lib/rbs/ast/type_param.rb#87 + # source://rbs//lib/rbs/ast/type_param.rb#87 def resolve_variables(params); end - # source://rbs/lib/rbs/ast/type_param.rb#97 + # source://rbs//lib/rbs/ast/type_param.rb#97 def subst_var(vars, type); end - # source://rbs/lib/rbs/ast/type_param.rb#209 + # source://rbs//lib/rbs/ast/type_param.rb#209 def validate(type_params); end end end @@ -1149,2498 +1149,2578 @@ end # visitor.visit(ast_node) # ~~~ # -# source://rbs/lib/rbs/ast/visitor.rb#26 +# source://rbs//lib/rbs/ast/visitor.rb#26 class RBS::AST::Visitor - # source://rbs/lib/rbs/ast/visitor.rb#27 + # source://rbs//lib/rbs/ast/visitor.rb#27 def visit(node); end - # source://rbs/lib/rbs/ast/visitor.rb#70 + # source://rbs//lib/rbs/ast/visitor.rb#70 def visit_all(nodes); end - # source://rbs/lib/rbs/ast/visitor.rb#79 + # source://rbs//lib/rbs/ast/visitor.rb#79 def visit_declaration_class(node); end - # source://rbs/lib/rbs/ast/visitor.rb#87 + # source://rbs//lib/rbs/ast/visitor.rb#87 def visit_declaration_constant(node); end - # source://rbs/lib/rbs/ast/visitor.rb#76 + # source://rbs//lib/rbs/ast/visitor.rb#76 def visit_declaration_global(node); end - # source://rbs/lib/rbs/ast/visitor.rb#93 + # source://rbs//lib/rbs/ast/visitor.rb#93 def visit_declaration_interface(node); end - # source://rbs/lib/rbs/ast/visitor.rb#83 + # source://rbs//lib/rbs/ast/visitor.rb#83 def visit_declaration_module(node); end - # source://rbs/lib/rbs/ast/visitor.rb#90 + # source://rbs//lib/rbs/ast/visitor.rb#90 def visit_declaration_type_alias(node); end - # source://rbs/lib/rbs/ast/visitor.rb#97 + # source://rbs//lib/rbs/ast/visitor.rb#97 def visit_member_alias(node); end - # source://rbs/lib/rbs/ast/visitor.rb#124 + # source://rbs//lib/rbs/ast/visitor.rb#124 def visit_member_attr_accessor(node); end - # source://rbs/lib/rbs/ast/visitor.rb#118 + # source://rbs//lib/rbs/ast/visitor.rb#118 def visit_member_attr_reader(node); end - # source://rbs/lib/rbs/ast/visitor.rb#121 + # source://rbs//lib/rbs/ast/visitor.rb#121 def visit_member_attr_writer(node); end - # source://rbs/lib/rbs/ast/visitor.rb#100 + # source://rbs//lib/rbs/ast/visitor.rb#100 def visit_member_class_instance_variable(node); end - # source://rbs/lib/rbs/ast/visitor.rb#103 + # source://rbs//lib/rbs/ast/visitor.rb#103 def visit_member_class_variable(node); end - # source://rbs/lib/rbs/ast/visitor.rb#133 + # source://rbs//lib/rbs/ast/visitor.rb#133 def visit_member_extend(node); end - # source://rbs/lib/rbs/ast/visitor.rb#127 + # source://rbs//lib/rbs/ast/visitor.rb#127 def visit_member_include(node); end - # source://rbs/lib/rbs/ast/visitor.rb#106 + # source://rbs//lib/rbs/ast/visitor.rb#106 def visit_member_instance_variable(node); end - # source://rbs/lib/rbs/ast/visitor.rb#115 + # source://rbs//lib/rbs/ast/visitor.rb#115 def visit_member_method_definition(node); end - # source://rbs/lib/rbs/ast/visitor.rb#130 + # source://rbs//lib/rbs/ast/visitor.rb#130 def visit_member_prepend(node); end - # source://rbs/lib/rbs/ast/visitor.rb#109 + # source://rbs//lib/rbs/ast/visitor.rb#109 def visit_member_private(node); end - # source://rbs/lib/rbs/ast/visitor.rb#112 + # source://rbs//lib/rbs/ast/visitor.rb#112 def visit_member_public(node); end end -# source://rbs/lib/rbs/ancestor_graph.rb#4 +# source://rbs//lib/rbs/ancestor_graph.rb#4 class RBS::AncestorGraph # @return [AncestorGraph] a new instance of AncestorGraph # - # source://rbs/lib/rbs/ancestor_graph.rb#13 + # source://rbs//lib/rbs/ancestor_graph.rb#13 def initialize(env:, ancestor_builder: T.unsafe(nil)); end # Returns the value of attribute ancestor_builder. # - # source://rbs/lib/rbs/ancestor_graph.rb#9 + # source://rbs//lib/rbs/ancestor_graph.rb#9 def ancestor_builder; end - # source://rbs/lib/rbs/ancestor_graph.rb#19 + # source://rbs//lib/rbs/ancestor_graph.rb#19 def build; end - # source://rbs/lib/rbs/ancestor_graph.rb#32 + # source://rbs//lib/rbs/ancestor_graph.rb#32 def build_ancestors(node, ancestors); end # Returns the value of attribute children. # - # source://rbs/lib/rbs/ancestor_graph.rb#11 + # source://rbs//lib/rbs/ancestor_graph.rb#11 def children; end - # source://rbs/lib/rbs/ancestor_graph.rb#64 + # source://rbs//lib/rbs/ancestor_graph.rb#64 def each_ancestor(node, yielded: T.unsafe(nil), &block); end - # source://rbs/lib/rbs/ancestor_graph.rb#56 + # source://rbs//lib/rbs/ancestor_graph.rb#56 def each_child(node, &block); end - # source://rbs/lib/rbs/ancestor_graph.rb#78 + # source://rbs//lib/rbs/ancestor_graph.rb#78 def each_descendant(node, yielded: T.unsafe(nil), &block); end - # source://rbs/lib/rbs/ancestor_graph.rb#48 + # source://rbs//lib/rbs/ancestor_graph.rb#48 def each_parent(node, &block); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/ancestor_graph.rb#8 + # source://rbs//lib/rbs/ancestor_graph.rb#8 def env; end # Returns the value of attribute parents. # - # source://rbs/lib/rbs/ancestor_graph.rb#10 + # source://rbs//lib/rbs/ancestor_graph.rb#10 def parents; end - # source://rbs/lib/rbs/ancestor_graph.rb#43 + # source://rbs//lib/rbs/ancestor_graph.rb#43 def register(parent:, child:); end end -# source://rbs/lib/rbs/ancestor_graph.rb#5 +# source://rbs//lib/rbs/ancestor_graph.rb#5 class RBS::AncestorGraph::InstanceNode < ::Struct + # source://rbs//lib/rbs/ancestor_graph.rb#5 def type_name; end + + # source://rbs//lib/rbs/ancestor_graph.rb#5 def type_name=(_); end class << self + # source://rbs//lib/rbs/ancestor_graph.rb#5 def [](*_arg0); end + + # source://rbs//lib/rbs/ancestor_graph.rb#5 def inspect; end + + # source://rbs//lib/rbs/ancestor_graph.rb#5 def keyword_init?; end + + # source://rbs//lib/rbs/ancestor_graph.rb#5 def members; end + + # source://rbs//lib/rbs/ancestor_graph.rb#5 def new(*_arg0); end end end -# source://rbs/lib/rbs/ancestor_graph.rb#6 +# source://rbs//lib/rbs/ancestor_graph.rb#6 class RBS::AncestorGraph::SingletonNode < ::Struct + # source://rbs//lib/rbs/ancestor_graph.rb#6 def type_name; end + + # source://rbs//lib/rbs/ancestor_graph.rb#6 def type_name=(_); end class << self + # source://rbs//lib/rbs/ancestor_graph.rb#6 def [](*_arg0); end + + # source://rbs//lib/rbs/ancestor_graph.rb#6 def inspect; end + + # source://rbs//lib/rbs/ancestor_graph.rb#6 def keyword_init?; end + + # source://rbs//lib/rbs/ancestor_graph.rb#6 def members; end + + # source://rbs//lib/rbs/ancestor_graph.rb#6 def new(*_arg0); end end end -# source://rbs/lib/rbs/errors.rb#19 +# source://rbs//lib/rbs/errors.rb#19 class RBS::BaseError < ::StandardError; end -# source://rbs/lib/rbs/buffer.rb#4 +# source://rbs//lib/rbs/buffer.rb#4 class RBS::Buffer # @return [Buffer] a new instance of Buffer # - # source://rbs/lib/rbs/buffer.rb#8 + # source://rbs//lib/rbs/buffer.rb#8 def initialize(name:, content:); end # Returns the value of attribute content. # - # source://rbs/lib/rbs/buffer.rb#6 + # source://rbs//lib/rbs/buffer.rb#6 def content; end - # source://rbs/lib/rbs/buffer.rb#63 + # source://rbs//lib/rbs/buffer.rb#63 def inspect; end - # source://rbs/lib/rbs/buffer.rb#59 + # source://rbs//lib/rbs/buffer.rb#59 def last_position; end - # source://rbs/lib/rbs/buffer.rb#13 + # source://rbs//lib/rbs/buffer.rb#13 def lines; end - # source://rbs/lib/rbs/buffer.rb#49 + # source://rbs//lib/rbs/buffer.rb#49 def loc_to_pos(loc); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/buffer.rb#5 + # source://rbs//lib/rbs/buffer.rb#5 def name; end - # source://rbs/lib/rbs/buffer.rb#37 + # source://rbs//lib/rbs/buffer.rb#37 def pos_to_loc(pos); end - # source://rbs/lib/rbs/buffer.rb#17 + # source://rbs//lib/rbs/buffer.rb#17 def ranges; end end -# source://rbs/lib/rbs/builtin_names.rb#4 +# source://rbs//lib/rbs/builtin_names.rb#4 module RBS::BuiltinNames; end -# source://rbs/lib/rbs/builtin_names.rb#45 +# source://rbs//lib/rbs/builtin_names.rb#45 RBS::BuiltinNames::Array = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#37 +# source://rbs//lib/rbs/builtin_names.rb#37 RBS::BuiltinNames::BasicObject = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#43 +# source://rbs//lib/rbs/builtin_names.rb#43 RBS::BuiltinNames::Class = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#41 +# source://rbs//lib/rbs/builtin_names.rb#41 RBS::BuiltinNames::Comparable = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#42 +# source://rbs//lib/rbs/builtin_names.rb#42 RBS::BuiltinNames::Enumerable = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#48 +# source://rbs//lib/rbs/builtin_names.rb#48 RBS::BuiltinNames::Enumerator = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#55 +# source://rbs//lib/rbs/builtin_names.rb#55 RBS::BuiltinNames::FalseClass = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#52 +# source://rbs//lib/rbs/builtin_names.rb#52 RBS::BuiltinNames::Float = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#46 +# source://rbs//lib/rbs/builtin_names.rb#46 RBS::BuiltinNames::Hash = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#51 +# source://rbs//lib/rbs/builtin_names.rb#51 RBS::BuiltinNames::Integer = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#39 +# source://rbs//lib/rbs/builtin_names.rb#39 RBS::BuiltinNames::Kernel = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#44 +# source://rbs//lib/rbs/builtin_names.rb#44 RBS::BuiltinNames::Module = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#5 +# source://rbs//lib/rbs/builtin_names.rb#5 class RBS::BuiltinNames::Name # @return [Name] a new instance of Name # - # source://rbs/lib/rbs/builtin_names.rb#8 + # source://rbs//lib/rbs/builtin_names.rb#8 def initialize(name:); end - # source://rbs/lib/rbs/builtin_names.rb#16 + # source://rbs//lib/rbs/builtin_names.rb#16 def instance_type(*args); end # @return [Boolean] # - # source://rbs/lib/rbs/builtin_names.rb#20 + # source://rbs//lib/rbs/builtin_names.rb#20 def instance_type?(type); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/builtin_names.rb#6 + # source://rbs//lib/rbs/builtin_names.rb#6 def name; end - # source://rbs/lib/rbs/builtin_names.rb#24 + # source://rbs//lib/rbs/builtin_names.rb#24 def singleton_type; end # @return [Boolean] # - # source://rbs/lib/rbs/builtin_names.rb#28 + # source://rbs//lib/rbs/builtin_names.rb#28 def singleton_type?(type); end - # source://rbs/lib/rbs/builtin_names.rb#12 + # source://rbs//lib/rbs/builtin_names.rb#12 def to_s; end class << self - # source://rbs/lib/rbs/builtin_names.rb#32 + # source://rbs//lib/rbs/builtin_names.rb#32 def define(name, namespace: T.unsafe(nil)); end end end -# source://rbs/lib/rbs/builtin_names.rb#56 +# source://rbs//lib/rbs/builtin_names.rb#56 RBS::BuiltinNames::Numeric = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#38 +# source://rbs//lib/rbs/builtin_names.rb#38 RBS::BuiltinNames::Object = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#47 +# source://rbs//lib/rbs/builtin_names.rb#47 RBS::BuiltinNames::Range = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#53 +# source://rbs//lib/rbs/builtin_names.rb#53 RBS::BuiltinNames::Regexp = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#49 +# source://rbs//lib/rbs/builtin_names.rb#49 RBS::BuiltinNames::Set = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#40 +# source://rbs//lib/rbs/builtin_names.rb#40 RBS::BuiltinNames::String = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#50 +# source://rbs//lib/rbs/builtin_names.rb#50 RBS::BuiltinNames::Symbol = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/builtin_names.rb#54 +# source://rbs//lib/rbs/builtin_names.rb#54 RBS::BuiltinNames::TrueClass = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) -# source://rbs/lib/rbs/cli/colored_io.rb#4 +# source://rbs//lib/rbs/cli/colored_io.rb#4 class RBS::CLI; end -# source://rbs/lib/rbs/cli/colored_io.rb#5 +# source://rbs//lib/rbs/cli/colored_io.rb#5 class RBS::CLI::ColoredIO # @return [ColoredIO] a new instance of ColoredIO # - # source://rbs/lib/rbs/cli/colored_io.rb#8 + # source://rbs//lib/rbs/cli/colored_io.rb#8 def initialize(stdout:); end - # source://rbs/lib/rbs/cli/colored_io.rb#28 + # source://rbs//lib/rbs/cli/colored_io.rb#28 def puts(*_arg0, **_arg1, &_arg2); end - # source://rbs/lib/rbs/cli/colored_io.rb#20 + # source://rbs//lib/rbs/cli/colored_io.rb#20 def puts_green(string); end - # source://rbs/lib/rbs/cli/colored_io.rb#12 + # source://rbs//lib/rbs/cli/colored_io.rb#12 def puts_red(string); end # Returns the value of attribute stdout. # - # source://rbs/lib/rbs/cli/colored_io.rb#6 + # source://rbs//lib/rbs/cli/colored_io.rb#6 def stdout; end private # @return [Boolean] # - # source://rbs/lib/rbs/cli/colored_io.rb#43 + # source://rbs//lib/rbs/cli/colored_io.rb#43 def are_colors_disabled?; end # @return [Boolean] # - # source://rbs/lib/rbs/cli/colored_io.rb#39 + # source://rbs//lib/rbs/cli/colored_io.rb#39 def are_colors_supported?; end # https://github.com/rubygems/rubygems/blob/ed65279100234a17d65d71fe26de5083984ac5b8/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb#L99-L109 # # @return [Boolean] # - # source://rbs/lib/rbs/cli/colored_io.rb#35 + # source://rbs//lib/rbs/cli/colored_io.rb#35 def can_display_colors?; end end -# source://rbs/lib/rbs/collection/sources/base.rb#4 +# source://rbs//lib/rbs/collection/sources/base.rb#4 module RBS::Collection; end -# source://rbs/lib/rbs/collection/cleaner.rb#5 +# source://rbs//lib/rbs/collection/cleaner.rb#5 class RBS::Collection::Cleaner # @return [Cleaner] a new instance of Cleaner # - # source://rbs/lib/rbs/collection/cleaner.rb#8 + # source://rbs//lib/rbs/collection/cleaner.rb#8 def initialize(lockfile_path:); end - # source://rbs/lib/rbs/collection/cleaner.rb#12 + # source://rbs//lib/rbs/collection/cleaner.rb#12 def clean; end # Returns the value of attribute lock. # - # source://rbs/lib/rbs/collection/cleaner.rb#6 + # source://rbs//lib/rbs/collection/cleaner.rb#6 def lock; end # @return [Boolean] # - # source://rbs/lib/rbs/collection/cleaner.rb#30 + # source://rbs//lib/rbs/collection/cleaner.rb#30 def needed?(gem_name, version); end end # This class represent the configuration file. # -# source://rbs/lib/rbs/collection/config.rb#7 +# source://rbs//lib/rbs/collection/config.rb#7 class RBS::Collection::Config # @return [Config] a new instance of Config # - # source://rbs/lib/rbs/collection/config.rb#49 + # source://rbs//lib/rbs/collection/config.rb#49 def initialize(data, config_path:); end # Returns the value of attribute config_path. # - # source://rbs/lib/rbs/collection/config.rb#19 + # source://rbs//lib/rbs/collection/config.rb#19 def config_path; end # Returns the value of attribute data. # - # source://rbs/lib/rbs/collection/config.rb#19 + # source://rbs//lib/rbs/collection/config.rb#19 def data; end - # source://rbs/lib/rbs/collection/config.rb#54 + # source://rbs//lib/rbs/collection/config.rb#54 def gem(gem_name); end - # source://rbs/lib/rbs/collection/config.rb#74 + # source://rbs//lib/rbs/collection/config.rb#74 def gems; end - # source://rbs/lib/rbs/collection/config.rb#58 + # source://rbs//lib/rbs/collection/config.rb#58 def repo_path; end - # source://rbs/lib/rbs/collection/config.rb#62 + # source://rbs//lib/rbs/collection/config.rb#62 def repo_path_data; end - # source://rbs/lib/rbs/collection/config.rb#66 + # source://rbs//lib/rbs/collection/config.rb#66 def sources; end class << self - # source://rbs/lib/rbs/collection/config.rb#21 + # source://rbs//lib/rbs/collection/config.rb#21 def find_config_path; end - # source://rbs/lib/rbs/collection/config.rb#41 + # source://rbs//lib/rbs/collection/config.rb#41 def from_path(path); end # Generate a rbs lockfile from Gemfile.lock to `config_path`. # If `with_lockfile` is true, it respects existing rbs lockfile. # - # source://rbs/lib/rbs/collection/config.rb#34 + # source://rbs//lib/rbs/collection/config.rb#34 def generate_lockfile(config_path:, definition:, with_lockfile: T.unsafe(nil)); end - # source://rbs/lib/rbs/collection/config.rb#45 + # source://rbs//lib/rbs/collection/config.rb#45 def to_lockfile_path(config_path); end end end -# source://rbs/lib/rbs/collection/config.rb#8 +# source://rbs//lib/rbs/collection/config.rb#8 class RBS::Collection::Config::CollectionNotAvailable < ::StandardError # @return [CollectionNotAvailable] a new instance of CollectionNotAvailable # - # source://rbs/lib/rbs/collection/config.rb#9 + # source://rbs//lib/rbs/collection/config.rb#9 def initialize; end end -# source://rbs/lib/rbs/collection/config/lockfile.rb#6 +# source://rbs//lib/rbs/collection/config/lockfile.rb#6 class RBS::Collection::Config::Lockfile # @return [Lockfile] a new instance of Lockfile # - # source://rbs/lib/rbs/collection/config/lockfile.rb#9 + # source://rbs//lib/rbs/collection/config/lockfile.rb#9 def initialize(lockfile_path:, path:, gemfile_lock_path:); end # @raise [CollectionNotAvailable] # - # source://rbs/lib/rbs/collection/config/lockfile.rb#73 + # source://rbs//lib/rbs/collection/config/lockfile.rb#73 def check_rbs_availability!; end - # source://rbs/lib/rbs/collection/config/lockfile.rb#18 + # source://rbs//lib/rbs/collection/config/lockfile.rb#18 def fullpath; end - # source://rbs/lib/rbs/collection/config/lockfile.rb#22 + # source://rbs//lib/rbs/collection/config/lockfile.rb#22 def gemfile_lock_fullpath; end # Returns the value of attribute gemfile_lock_path. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def gemfile_lock_path; end # Returns the value of attribute gems. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def gems; end - # source://rbs/lib/rbs/collection/config/lockfile.rb#65 + # source://rbs//lib/rbs/collection/config/lockfile.rb#65 def library_data(lib); end # Returns the value of attribute lockfile_dir. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def lockfile_dir; end # Returns the value of attribute lockfile_path. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def lockfile_path; end # Returns the value of attribute path. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def path; end # Returns the value of attribute sources. # - # source://rbs/lib/rbs/collection/config/lockfile.rb#7 + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 def sources; end - # source://rbs/lib/rbs/collection/config/lockfile.rb#28 + # source://rbs//lib/rbs/collection/config/lockfile.rb#28 def to_lockfile; end class << self - # source://rbs/lib/rbs/collection/config/lockfile.rb#42 + # source://rbs//lib/rbs/collection/config/lockfile.rb#42 def from_lockfile(lockfile_path:, data:); end end end -# source://rbs/lib/rbs/collection/config/lockfile_generator.rb#6 +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#6 class RBS::Collection::Config::LockfileGenerator # @return [LockfileGenerator] a new instance of LockfileGenerator # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#33 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#33 def initialize(config:, definition:, with_lockfile:); end # Returns the value of attribute config. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def config; end # Returns the value of attribute definition. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def definition; end # Returns the value of attribute existing_lockfile. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def existing_lockfile; end # Returns the value of attribute gem_entries. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def gem_entries; end # Returns the value of attribute gem_hash. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def gem_hash; end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#61 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#61 def generate; end # Returns the value of attribute lockfile. # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#25 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 def lockfile; end private - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#94 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#94 def assign_gem(name:, version:, skip: T.unsafe(nil)); end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#160 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#160 def assign_stdlib(name:, from_gem: T.unsafe(nil)); end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#213 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#213 def find_best_version(version:, versions:); end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#207 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#207 def find_source(name:); end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#86 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#86 def validate_gemfile_lock_path!(lock:, gemfile_lock_path:); end class << self - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#27 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#27 def generate(config:, definition:, with_lockfile: T.unsafe(nil)); end end end -# source://rbs/lib/rbs/collection/config/lockfile_generator.rb#7 +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#7 RBS::Collection::Config::LockfileGenerator::ALUMNI_STDLIBS = T.let(T.unsafe(nil), Hash) -# source://rbs/lib/rbs/collection/config/lockfile_generator.rb#9 +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#9 class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError < ::StandardError # @return [GemfileLockMismatchError] a new instance of GemfileLockMismatchError # - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#10 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#10 def initialize(expected:, actual:); end - # source://rbs/lib/rbs/collection/config/lockfile_generator.rb#15 + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#15 def message; end end -# source://rbs/lib/rbs/collection/config.rb#17 +# source://rbs//lib/rbs/collection/config.rb#17 RBS::Collection::Config::PATH = T.let(T.unsafe(nil), Pathname) -# source://rbs/lib/rbs/collection/installer.rb#5 +# source://rbs//lib/rbs/collection/installer.rb#5 class RBS::Collection::Installer # @return [Installer] a new instance of Installer # - # source://rbs/lib/rbs/collection/installer.rb#9 + # source://rbs//lib/rbs/collection/installer.rb#9 def initialize(lockfile_path:, stdout: T.unsafe(nil)); end - # source://rbs/lib/rbs/collection/installer.rb#14 + # source://rbs//lib/rbs/collection/installer.rb#14 def install_from_lockfile; end # Returns the value of attribute lockfile. # - # source://rbs/lib/rbs/collection/installer.rb#6 + # source://rbs//lib/rbs/collection/installer.rb#6 def lockfile; end # Returns the value of attribute stdout. # - # source://rbs/lib/rbs/collection/installer.rb#7 + # source://rbs//lib/rbs/collection/installer.rb#7 def stdout; end end -# source://rbs/lib/rbs/collection/sources/base.rb#5 +# source://rbs//lib/rbs/collection/sources/base.rb#5 module RBS::Collection::Sources class << self - # source://rbs/lib/rbs/collection/sources.rb#12 + # source://rbs//lib/rbs/collection/sources.rb#12 def from_config_entry(source_entry, base_directory:); end end end -# source://rbs/lib/rbs/collection/sources/base.rb#6 +# source://rbs//lib/rbs/collection/sources/base.rb#6 module RBS::Collection::Sources::Base - # source://rbs/lib/rbs/collection/sources/base.rb#7 + # source://rbs//lib/rbs/collection/sources/base.rb#7 def dependencies_of(name, version); end end -# source://rbs/lib/rbs/collection/sources/git.rb#10 +# source://rbs//lib/rbs/collection/sources/git.rb#10 class RBS::Collection::Sources::Git include ::RBS::Collection::Sources::Base # @return [Git] a new instance of Git # - # source://rbs/lib/rbs/collection/sources/git.rb#18 + # source://rbs//lib/rbs/collection/sources/git.rb#18 def initialize(name:, revision:, remote:, repo_dir:); end # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/git.rb#26 + # source://rbs//lib/rbs/collection/sources/git.rb#26 def has?(name, version); end - # source://rbs/lib/rbs/collection/sources/git.rb#43 + # source://rbs//lib/rbs/collection/sources/git.rb#43 def install(dest:, name:, version:, stdout:); end - # source://rbs/lib/rbs/collection/sources/git.rb#223 + # source://rbs//lib/rbs/collection/sources/git.rb#223 def load_metadata(dir:); end - # source://rbs/lib/rbs/collection/sources/git.rb#73 + # source://rbs//lib/rbs/collection/sources/git.rb#73 def manifest_of(name, version); end - # source://rbs/lib/rbs/collection/sources/git.rb#207 + # source://rbs//lib/rbs/collection/sources/git.rb#207 def metadata_content(name:, version:); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/collection/sources/git.rb#16 + # source://rbs//lib/rbs/collection/sources/git.rb#16 def name; end # Returns the value of attribute remote. # - # source://rbs/lib/rbs/collection/sources/git.rb#16 + # source://rbs//lib/rbs/collection/sources/git.rb#16 def remote; end # Returns the value of attribute repo_dir. # - # source://rbs/lib/rbs/collection/sources/git.rb#16 + # source://rbs//lib/rbs/collection/sources/git.rb#16 def repo_dir; end - # source://rbs/lib/rbs/collection/sources/git.rb#172 + # source://rbs//lib/rbs/collection/sources/git.rb#172 def resolved_revision; end # Returns the value of attribute revision. # - # source://rbs/lib/rbs/collection/sources/git.rb#16 + # source://rbs//lib/rbs/collection/sources/git.rb#16 def revision; end - # source://rbs/lib/rbs/collection/sources/git.rb#113 + # source://rbs//lib/rbs/collection/sources/git.rb#113 def to_lockfile; end - # source://rbs/lib/rbs/collection/sources/git.rb#36 + # source://rbs//lib/rbs/collection/sources/git.rb#36 def versions(name); end - # source://rbs/lib/rbs/collection/sources/git.rb#215 + # source://rbs//lib/rbs/collection/sources/git.rb#215 def write_metadata(dir:, name:, version:); end private - # source://rbs/lib/rbs/collection/sources/git.rb#87 + # source://rbs//lib/rbs/collection/sources/git.rb#87 def _install(dest:, name:, version:); end # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/git.rb#183 + # source://rbs//lib/rbs/collection/sources/git.rb#183 def commit_hash?; end - # source://rbs/lib/rbs/collection/sources/git.rb#99 + # source://rbs//lib/rbs/collection/sources/git.rb#99 def cp_r(src, dest); end - # source://rbs/lib/rbs/collection/sources/git.rb#123 + # source://rbs//lib/rbs/collection/sources/git.rb#123 def format_config_entry(name, version); end - # source://rbs/lib/rbs/collection/sources/git.rb#168 + # source://rbs//lib/rbs/collection/sources/git.rb#168 def gem_repo_dir; end - # source://rbs/lib/rbs/collection/sources/git.rb#229 + # source://rbs//lib/rbs/collection/sources/git.rb#229 def gems_versions; end - # source://rbs/lib/rbs/collection/sources/git.rb#187 + # source://rbs//lib/rbs/collection/sources/git.rb#187 def git(*cmd, **opt); end # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/git.rb#191 + # source://rbs//lib/rbs/collection/sources/git.rb#191 def git?(*cmd, **opt); end - # source://rbs/lib/rbs/collection/sources/git.rb#158 + # source://rbs//lib/rbs/collection/sources/git.rb#158 def git_dir; end # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/git.rb#152 + # source://rbs//lib/rbs/collection/sources/git.rb#152 def need_to_fetch?(revision); end - # source://rbs/lib/rbs/collection/sources/git.rb#130 + # source://rbs//lib/rbs/collection/sources/git.rb#130 def setup!; end - # source://rbs/lib/rbs/collection/sources/git.rb#197 + # source://rbs//lib/rbs/collection/sources/git.rb#197 def sh!(*cmd, **opt); end end -# source://rbs/lib/rbs/collection/sources/git.rb#14 +# source://rbs//lib/rbs/collection/sources/git.rb#14 class RBS::Collection::Sources::Git::CommandError < ::StandardError; end -# source://rbs/lib/rbs/collection/sources/git.rb#12 +# source://rbs//lib/rbs/collection/sources/git.rb#12 RBS::Collection::Sources::Git::METADATA_FILENAME = T.let(T.unsafe(nil), String) -# source://rbs/lib/rbs/collection/sources/local.rb#6 +# source://rbs//lib/rbs/collection/sources/local.rb#6 class RBS::Collection::Sources::Local include ::RBS::Collection::Sources::Base # @return [Local] a new instance of Local # - # source://rbs/lib/rbs/collection/sources/local.rb#11 + # source://rbs//lib/rbs/collection/sources/local.rb#11 def initialize(path:, base_directory:); end # Returns the value of attribute full_path. # - # source://rbs/lib/rbs/collection/sources/local.rb#9 + # source://rbs//lib/rbs/collection/sources/local.rb#9 def full_path; end # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/local.rb#17 + # source://rbs//lib/rbs/collection/sources/local.rb#17 def has?(name, version); end # Create a symlink instead of copying file to refer files in @path. # By avoiding copying RBS files, the users do not need re-run `rbs collection install` # when the RBS files are updated. # - # source://rbs/lib/rbs/collection/sources/local.rb#32 + # source://rbs//lib/rbs/collection/sources/local.rb#32 def install(dest:, name:, version:, stdout:); end - # source://rbs/lib/rbs/collection/sources/local.rb#64 + # source://rbs//lib/rbs/collection/sources/local.rb#64 def manifest_of(name, version); end # Returns the value of attribute path. # - # source://rbs/lib/rbs/collection/sources/local.rb#9 + # source://rbs//lib/rbs/collection/sources/local.rb#9 def path; end - # source://rbs/lib/rbs/collection/sources/local.rb#72 + # source://rbs//lib/rbs/collection/sources/local.rb#72 def to_lockfile; end - # source://rbs/lib/rbs/collection/sources/local.rb#25 + # source://rbs//lib/rbs/collection/sources/local.rb#25 def versions(name); end private - # source://rbs/lib/rbs/collection/sources/local.rb#59 + # source://rbs//lib/rbs/collection/sources/local.rb#59 def _install(src, dst); end end # Signatures that are inclduded in gem package as sig/ directory. # -# source://rbs/lib/rbs/collection/sources/rubygems.rb#9 +# source://rbs//lib/rbs/collection/sources/rubygems.rb#9 class RBS::Collection::Sources::Rubygems include ::RBS::Collection::Sources::Base - include ::Singleton::SingletonInstanceMethods include ::Singleton extend ::Singleton::SingletonClassMethods # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/rubygems.rb#13 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#13 def has?(name, version); end - # source://rbs/lib/rbs/collection/sources/rubygems.rb#23 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#23 def install(dest:, name:, version:, stdout:); end - # source://rbs/lib/rbs/collection/sources/rubygems.rb#29 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#29 def manifest_of(name, version); end - # source://rbs/lib/rbs/collection/sources/rubygems.rb#36 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#36 def to_lockfile; end - # source://rbs/lib/rbs/collection/sources/rubygems.rb#17 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#17 def versions(name); end private - # source://rbs/lib/rbs/collection/sources/rubygems.rb#42 + # source://rbs//lib/rbs/collection/sources/rubygems.rb#42 def gem_sig_path(name, version); end class << self private + # source://rbs//lib/rbs/collection/sources/rubygems.rb#11 def allocate; end + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#11 def new(*_arg0); end end end # signatures that are bundled in rbs gem under the stdlib/ directory # -# source://rbs/lib/rbs/collection/sources/stdlib.rb#9 +# source://rbs//lib/rbs/collection/sources/stdlib.rb#9 class RBS::Collection::Sources::Stdlib include ::RBS::Collection::Sources::Base - include ::Singleton::SingletonInstanceMethods include ::Singleton extend ::Singleton::SingletonClassMethods # @return [Boolean] # - # source://rbs/lib/rbs/collection/sources/stdlib.rb#15 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#15 def has?(name, version); end - # source://rbs/lib/rbs/collection/sources/stdlib.rb#23 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#23 def install(dest:, name:, version:, stdout:); end - # source://rbs/lib/rbs/collection/sources/stdlib.rb#29 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#29 def manifest_of(name, version); end - # source://rbs/lib/rbs/collection/sources/stdlib.rb#38 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#38 def to_lockfile; end - # source://rbs/lib/rbs/collection/sources/stdlib.rb#19 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#19 def versions(name); end private - # source://rbs/lib/rbs/collection/sources/stdlib.rb#44 + # source://rbs//lib/rbs/collection/sources/stdlib.rb#44 def lookup(name, version); end class << self private + # source://rbs//lib/rbs/collection/sources/stdlib.rb#11 def allocate; end + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#11 def new(*_arg0); end end end -# source://rbs/lib/rbs/collection/sources/stdlib.rb#13 +# source://rbs//lib/rbs/collection/sources/stdlib.rb#13 RBS::Collection::Sources::Stdlib::REPO = T.let(T.unsafe(nil), RBS::Repository) -# source://rbs/lib/rbs/constant.rb#4 +# source://rbs//lib/rbs/constant.rb#4 class RBS::Constant # @return [Constant] a new instance of Constant # - # source://rbs/lib/rbs/constant.rb#9 + # source://rbs//lib/rbs/constant.rb#9 def initialize(name:, type:, entry:); end - # source://rbs/lib/rbs/constant.rb#15 + # source://rbs//lib/rbs/constant.rb#15 def ==(other); end # Returns the value of attribute entry. # - # source://rbs/lib/rbs/constant.rb#7 + # source://rbs//lib/rbs/constant.rb#7 def entry; end - # source://rbs/lib/rbs/constant.rb#15 + # source://rbs//lib/rbs/constant.rb#22 def eql?(other); end - # source://rbs/lib/rbs/constant.rb#24 + # source://rbs//lib/rbs/constant.rb#24 def hash; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/constant.rb#5 + # source://rbs//lib/rbs/constant.rb#5 def name; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/constant.rb#6 + # source://rbs//lib/rbs/constant.rb#6 def type; end end -# source://rbs/lib/rbs/errors.rb#553 +# source://rbs//lib/rbs/errors.rb#553 class RBS::CyclicClassAliasDefinitionError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [CyclicClassAliasDefinitionError] a new instance of CyclicClassAliasDefinitionError # - # source://rbs/lib/rbs/errors.rb#558 + # source://rbs//lib/rbs/errors.rb#558 def initialize(entry); end # Returns the value of attribute alias_entry. # - # source://rbs/lib/rbs/errors.rb#556 + # source://rbs//lib/rbs/errors.rb#556 def alias_entry; end - # source://rbs/lib/rbs/errors.rb#564 + # source://rbs//lib/rbs/errors.rb#564 def location; end end -# source://rbs/lib/rbs/errors.rb#514 +# source://rbs//lib/rbs/errors.rb#514 class RBS::CyclicTypeParameterBound < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [CyclicTypeParameterBound] a new instance of CyclicTypeParameterBound # - # source://rbs/lib/rbs/errors.rb#519 + # source://rbs//lib/rbs/errors.rb#519 def initialize(type_name:, method_name:, params:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#517 + # source://rbs//lib/rbs/errors.rb#517 def location; end # Returns the value of attribute method_name. # - # source://rbs/lib/rbs/errors.rb#517 + # source://rbs//lib/rbs/errors.rb#517 def method_name; end # Returns the value of attribute params. # - # source://rbs/lib/rbs/errors.rb#517 + # source://rbs//lib/rbs/errors.rb#517 def params; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#517 + # source://rbs//lib/rbs/errors.rb#517 def type_name; end end -# source://rbs/lib/rbs/definition.rb#4 +# source://rbs//lib/rbs/definition.rb#4 class RBS::Definition # @return [Definition] a new instance of Definition # - # source://rbs/lib/rbs/definition.rb#284 + # source://rbs//lib/rbs/definition.rb#284 def initialize(type_name:, entry:, self_type:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs/lib/rbs/definition.rb#278 + # source://rbs//lib/rbs/definition.rb#278 def ancestors; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#307 + # source://rbs//lib/rbs/definition.rb#307 def class?; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#324 + # source://rbs//lib/rbs/definition.rb#324 def class_type?; end # Returns the value of attribute class_variables. # - # source://rbs/lib/rbs/definition.rb#282 + # source://rbs//lib/rbs/definition.rb#282 def class_variables; end - # source://rbs/lib/rbs/definition.rb#369 + # source://rbs//lib/rbs/definition.rb#369 def each_type(&block); end # Returns the value of attribute entry. # - # source://rbs/lib/rbs/definition.rb#277 + # source://rbs//lib/rbs/definition.rb#277 def entry; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#328 + # source://rbs//lib/rbs/definition.rb#328 def instance_type?; end # Returns the value of attribute instance_variables. # - # source://rbs/lib/rbs/definition.rb#281 + # source://rbs//lib/rbs/definition.rb#281 def instance_variables; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#315 + # source://rbs//lib/rbs/definition.rb#315 def interface?; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#332 + # source://rbs//lib/rbs/definition.rb#332 def interface_type?; end - # source://rbs/lib/rbs/definition.rb#359 + # source://rbs//lib/rbs/definition.rb#359 def map_method_type(&block); end # Returns the value of attribute methods. # - # source://rbs/lib/rbs/definition.rb#280 + # source://rbs//lib/rbs/definition.rb#280 def methods; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#311 + # source://rbs//lib/rbs/definition.rb#311 def module?; end # Returns the value of attribute self_type. # - # source://rbs/lib/rbs/definition.rb#279 + # source://rbs//lib/rbs/definition.rb#279 def self_type; end - # source://rbs/lib/rbs/definition.rb#349 + # source://rbs//lib/rbs/definition.rb#349 def sub(s); end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/definition.rb#276 + # source://rbs//lib/rbs/definition.rb#276 def type_name; end - # source://rbs/lib/rbs/definition.rb#336 + # source://rbs//lib/rbs/definition.rb#336 def type_params; end - # source://rbs/lib/rbs/definition.rb#340 + # source://rbs//lib/rbs/definition.rb#340 def type_params_decl; end end -# source://rbs/lib/rbs/definition.rb#191 +# source://rbs//lib/rbs/definition.rb#191 module RBS::Definition::Ancestor; end -# source://rbs/lib/rbs/definition.rb#192 +# source://rbs//lib/rbs/definition.rb#192 class RBS::Definition::Ancestor::Instance # @return [Instance] a new instance of Instance # - # source://rbs/lib/rbs/definition.rb#195 + # source://rbs//lib/rbs/definition.rb#195 def initialize(name:, args:, source:); end - # source://rbs/lib/rbs/definition.rb#201 + # source://rbs//lib/rbs/definition.rb#201 def ==(other); end # Returns the value of attribute args. # - # source://rbs/lib/rbs/definition.rb#193 + # source://rbs//lib/rbs/definition.rb#193 def args; end - # source://rbs/lib/rbs/definition.rb#201 + # source://rbs//lib/rbs/definition.rb#205 def eql?(other); end - # source://rbs/lib/rbs/definition.rb#207 + # source://rbs//lib/rbs/definition.rb#207 def hash; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/definition.rb#193 + # source://rbs//lib/rbs/definition.rb#193 def name; end # Returns the value of attribute source. # - # source://rbs/lib/rbs/definition.rb#193 + # source://rbs//lib/rbs/definition.rb#193 def source; end end -# source://rbs/lib/rbs/definition.rb#212 +# source://rbs//lib/rbs/definition.rb#212 class RBS::Definition::Ancestor::Singleton # @return [Singleton] a new instance of Singleton # - # source://rbs/lib/rbs/definition.rb#215 + # source://rbs//lib/rbs/definition.rb#215 def initialize(name:); end - # source://rbs/lib/rbs/definition.rb#219 + # source://rbs//lib/rbs/definition.rb#219 def ==(other); end - # source://rbs/lib/rbs/definition.rb#219 + # source://rbs//lib/rbs/definition.rb#223 def eql?(other); end - # source://rbs/lib/rbs/definition.rb#225 + # source://rbs//lib/rbs/definition.rb#225 def hash; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/definition.rb#213 + # source://rbs//lib/rbs/definition.rb#213 def name; end end -# source://rbs/lib/rbs/definition.rb#231 +# source://rbs//lib/rbs/definition.rb#231 class RBS::Definition::InstanceAncestors # @return [InstanceAncestors] a new instance of InstanceAncestors # - # source://rbs/lib/rbs/definition.rb#236 + # source://rbs//lib/rbs/definition.rb#236 def initialize(type_name:, params:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs/lib/rbs/definition.rb#234 + # source://rbs//lib/rbs/definition.rb#234 def ancestors; end - # source://rbs/lib/rbs/definition.rb#242 + # source://rbs//lib/rbs/definition.rb#242 def apply(args, env:, location:); end # Returns the value of attribute params. # - # source://rbs/lib/rbs/definition.rb#233 + # source://rbs//lib/rbs/definition.rb#233 def params; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/definition.rb#232 + # source://rbs//lib/rbs/definition.rb#232 def type_name; end end -# source://rbs/lib/rbs/definition.rb#25 +# source://rbs//lib/rbs/definition.rb#25 class RBS::Definition::Method # @return [Method] a new instance of Method # - # source://rbs/lib/rbs/definition.rb#83 + # source://rbs//lib/rbs/definition.rb#83 def initialize(super_method:, defs:, accessibility:, alias_of:, annotations: T.unsafe(nil)); end - # source://rbs/lib/rbs/definition.rb#91 + # source://rbs//lib/rbs/definition.rb#91 def ==(other); end # Returns the value of attribute accessibility. # - # source://rbs/lib/rbs/definition.rb#79 + # source://rbs//lib/rbs/definition.rb#79 def accessibility; end # Returns the value of attribute alias_of. # - # source://rbs/lib/rbs/definition.rb#81 + # source://rbs//lib/rbs/definition.rb#81 def alias_of; end - # source://rbs/lib/rbs/definition.rb#128 + # source://rbs//lib/rbs/definition.rb#128 def annotations; end - # source://rbs/lib/rbs/definition.rb#124 + # source://rbs//lib/rbs/definition.rb#124 def comments; end - # source://rbs/lib/rbs/definition.rb#106 + # source://rbs//lib/rbs/definition.rb#106 def defined_in; end # Returns the value of attribute defs. # - # source://rbs/lib/rbs/definition.rb#78 + # source://rbs//lib/rbs/definition.rb#78 def defs; end - # source://rbs/lib/rbs/definition.rb#91 + # source://rbs//lib/rbs/definition.rb#100 def eql?(other); end # Returns the value of attribute extra_annotations. # - # source://rbs/lib/rbs/definition.rb#80 + # source://rbs//lib/rbs/definition.rb#80 def extra_annotations; end - # source://rbs/lib/rbs/definition.rb#102 + # source://rbs//lib/rbs/definition.rb#102 def hash; end - # source://rbs/lib/rbs/definition.rb#113 + # source://rbs//lib/rbs/definition.rb#113 def implemented_in; end - # source://rbs/lib/rbs/definition.rb#171 + # source://rbs//lib/rbs/definition.rb#171 def map_method_type(&block); end - # source://rbs/lib/rbs/definition.rb#153 + # source://rbs//lib/rbs/definition.rb#153 def map_type(&block); end - # source://rbs/lib/rbs/definition.rb#162 + # source://rbs//lib/rbs/definition.rb#162 def map_type_bound(&block); end - # source://rbs/lib/rbs/definition.rb#132 + # source://rbs//lib/rbs/definition.rb#132 def members; end - # source://rbs/lib/rbs/definition.rb#120 + # source://rbs//lib/rbs/definition.rb#120 def method_types; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#140 + # source://rbs//lib/rbs/definition.rb#140 def private?; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#136 + # source://rbs//lib/rbs/definition.rb#136 def public?; end - # source://rbs/lib/rbs/definition.rb#144 + # source://rbs//lib/rbs/definition.rb#144 def sub(s); end # Returns the value of attribute super_method. # - # source://rbs/lib/rbs/definition.rb#77 + # source://rbs//lib/rbs/definition.rb#77 def super_method; end - # source://rbs/lib/rbs/definition.rb#180 + # source://rbs//lib/rbs/definition.rb#180 def update(super_method: T.unsafe(nil), defs: T.unsafe(nil), accessibility: T.unsafe(nil), alias_of: T.unsafe(nil), annotations: T.unsafe(nil)); end end -# source://rbs/lib/rbs/definition.rb#26 +# source://rbs//lib/rbs/definition.rb#26 class RBS::Definition::Method::TypeDef # @return [TypeDef] a new instance of TypeDef # - # source://rbs/lib/rbs/definition.rb#35 + # source://rbs//lib/rbs/definition.rb#35 def initialize(type:, member:, defined_in:, implemented_in:, overload_annotations: T.unsafe(nil)); end - # source://rbs/lib/rbs/definition.rb#45 + # source://rbs//lib/rbs/definition.rb#45 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs/lib/rbs/definition.rb#33 + # source://rbs//lib/rbs/definition.rb#33 def annotations; end - # source://rbs/lib/rbs/definition.rb#59 + # source://rbs//lib/rbs/definition.rb#59 def comment; end # Returns the value of attribute defined_in. # - # source://rbs/lib/rbs/definition.rb#29 + # source://rbs//lib/rbs/definition.rb#29 def defined_in; end - # source://rbs/lib/rbs/definition.rb#45 + # source://rbs//lib/rbs/definition.rb#53 def eql?(other); end - # source://rbs/lib/rbs/definition.rb#55 + # source://rbs//lib/rbs/definition.rb#55 def hash; end # Returns the value of attribute implemented_in. # - # source://rbs/lib/rbs/definition.rb#30 + # source://rbs//lib/rbs/definition.rb#30 def implemented_in; end # Returns the value of attribute member. # - # source://rbs/lib/rbs/definition.rb#28 + # source://rbs//lib/rbs/definition.rb#28 def member; end # Returns the value of attribute member_annotations. # - # source://rbs/lib/rbs/definition.rb#31 + # source://rbs//lib/rbs/definition.rb#31 def member_annotations; end # @return [Boolean] # - # source://rbs/lib/rbs/definition.rb#67 + # source://rbs//lib/rbs/definition.rb#67 def overload?; end # Returns the value of attribute overload_annotations. # - # source://rbs/lib/rbs/definition.rb#32 + # source://rbs//lib/rbs/definition.rb#32 def overload_annotations; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/definition.rb#27 + # source://rbs//lib/rbs/definition.rb#27 def type; end - # source://rbs/lib/rbs/definition.rb#63 + # source://rbs//lib/rbs/definition.rb#63 def update(type: T.unsafe(nil), member: T.unsafe(nil), defined_in: T.unsafe(nil), implemented_in: T.unsafe(nil)); end end -# source://rbs/lib/rbs/definition.rb#266 +# source://rbs//lib/rbs/definition.rb#266 class RBS::Definition::SingletonAncestors # @return [SingletonAncestors] a new instance of SingletonAncestors # - # source://rbs/lib/rbs/definition.rb#270 + # source://rbs//lib/rbs/definition.rb#270 def initialize(type_name:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs/lib/rbs/definition.rb#268 + # source://rbs//lib/rbs/definition.rb#268 def ancestors; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/definition.rb#267 + # source://rbs//lib/rbs/definition.rb#267 def type_name; end end -# source://rbs/lib/rbs/definition.rb#5 +# source://rbs//lib/rbs/definition.rb#5 class RBS::Definition::Variable # @return [Variable] a new instance of Variable # - # source://rbs/lib/rbs/definition.rb#10 + # source://rbs//lib/rbs/definition.rb#10 def initialize(parent_variable:, type:, declared_in:); end # Returns the value of attribute declared_in. # - # source://rbs/lib/rbs/definition.rb#8 + # source://rbs//lib/rbs/definition.rb#8 def declared_in; end # Returns the value of attribute parent_variable. # - # source://rbs/lib/rbs/definition.rb#6 + # source://rbs//lib/rbs/definition.rb#6 def parent_variable; end - # source://rbs/lib/rbs/definition.rb#16 + # source://rbs//lib/rbs/definition.rb#16 def sub(s); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/definition.rb#7 + # source://rbs//lib/rbs/definition.rb#7 def type; end end -# source://rbs/lib/rbs/definition_builder.rb#4 +# source://rbs//lib/rbs/definition_builder.rb#4 class RBS::DefinitionBuilder # @return [DefinitionBuilder] a new instance of DefinitionBuilder # - # source://rbs/lib/rbs/definition_builder.rb#14 + # source://rbs//lib/rbs/definition_builder.rb#14 def initialize(env:, ancestor_builder: T.unsafe(nil), method_builder: T.unsafe(nil)); end # Returns the value of attribute ancestor_builder. # - # source://rbs/lib/rbs/definition_builder.rb#6 + # source://rbs//lib/rbs/definition_builder.rb#6 def ancestor_builder; end - # source://rbs/lib/rbs/definition_builder.rb#168 + # source://rbs//lib/rbs/definition_builder.rb#168 def build_instance(type_name); end - # source://rbs/lib/rbs/definition_builder.rb#43 + # source://rbs//lib/rbs/definition_builder.rb#43 def build_interface(type_name); end - # source://rbs/lib/rbs/definition_builder.rb#301 + # source://rbs//lib/rbs/definition_builder.rb#301 def build_singleton(type_name); end # Builds a definition for singleton without .new method. # - # source://rbs/lib/rbs/definition_builder.rb#230 + # source://rbs//lib/rbs/definition_builder.rb#230 def build_singleton0(type_name); end - # source://rbs/lib/rbs/definition_builder.rb#85 + # source://rbs//lib/rbs/definition_builder.rb#85 def define_instance(definition, type_name, subst); end - # source://rbs/lib/rbs/definition_builder.rb#33 + # source://rbs//lib/rbs/definition_builder.rb#33 def define_interface(definition, type_name, subst); end - # source://rbs/lib/rbs/definition_builder.rb#607 + # source://rbs//lib/rbs/definition_builder.rb#607 def define_method(methods, definition, method, subst, self_type_methods, defined_in:, implemented_in: T.unsafe(nil)); end - # source://rbs/lib/rbs/definition_builder.rb#25 + # source://rbs//lib/rbs/definition_builder.rb#25 def ensure_namespace!(namespace, location:); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/definition_builder.rb#5 + # source://rbs//lib/rbs/definition_builder.rb#5 def env; end - # source://rbs/lib/rbs/definition_builder.rb#770 + # source://rbs//lib/rbs/definition_builder.rb#770 def expand_alias(type_name); end - # source://rbs/lib/rbs/definition_builder.rb#774 + # source://rbs//lib/rbs/definition_builder.rb#774 def expand_alias1(type_name); end - # source://rbs/lib/rbs/definition_builder.rb#781 + # source://rbs//lib/rbs/definition_builder.rb#781 def expand_alias2(type_name, args); end - # source://rbs/lib/rbs/definition_builder.rb#546 + # source://rbs//lib/rbs/definition_builder.rb#546 def import_methods(definition, module_name, module_methods, interfaces_methods, subst, self_type_methods); end - # source://rbs/lib/rbs/definition_builder.rb#538 + # source://rbs//lib/rbs/definition_builder.rb#538 def insert_variable(type_name, variables, name:, type:); end # Returns the value of attribute instance_cache. # - # source://rbs/lib/rbs/definition_builder.rb#9 + # source://rbs//lib/rbs/definition_builder.rb#9 def instance_cache; end # Returns the value of attribute interface_cache. # - # source://rbs/lib/rbs/definition_builder.rb#12 + # source://rbs//lib/rbs/definition_builder.rb#12 def interface_cache; end - # source://rbs/lib/rbs/definition_builder.rb#412 + # source://rbs//lib/rbs/definition_builder.rb#412 def interface_methods(interface_ancestors); end # Returns the value of attribute method_builder. # - # source://rbs/lib/rbs/definition_builder.rb#7 + # source://rbs//lib/rbs/definition_builder.rb#7 def method_builder; end # Returns the value of attribute singleton0_cache. # - # source://rbs/lib/rbs/definition_builder.rb#11 + # source://rbs//lib/rbs/definition_builder.rb#11 def singleton0_cache; end # Returns the value of attribute singleton_cache. # - # source://rbs/lib/rbs/definition_builder.rb#10 + # source://rbs//lib/rbs/definition_builder.rb#10 def singleton_cache; end - # source://rbs/lib/rbs/definition_builder.rb#442 + # source://rbs//lib/rbs/definition_builder.rb#442 def source_location(source, decl); end - # source://rbs/lib/rbs/definition_builder.rb#66 + # source://rbs//lib/rbs/definition_builder.rb#66 def tapp_subst(name, args); end - # source://rbs/lib/rbs/definition_builder.rb#766 + # source://rbs//lib/rbs/definition_builder.rb#766 def try_cache(type_name, cache:); end - # source://rbs/lib/rbs/definition_builder.rb#805 + # source://rbs//lib/rbs/definition_builder.rb#805 def update(env:, except:, ancestor_builder:); end - # source://rbs/lib/rbs/definition_builder.rb#432 + # source://rbs//lib/rbs/definition_builder.rb#432 def validate_params_with(type_params, result:); end # @raise [NoTypeFoundError] # - # source://rbs/lib/rbs/definition_builder.rb#834 + # source://rbs//lib/rbs/definition_builder.rb#834 def validate_type_name(name, location); end - # source://rbs/lib/rbs/definition_builder.rb#456 + # source://rbs//lib/rbs/definition_builder.rb#456 def validate_type_params(definition, ancestors:, methods:); end - # source://rbs/lib/rbs/definition_builder.rb#823 + # source://rbs//lib/rbs/definition_builder.rb#823 def validate_type_presence(type); end end -# source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#5 +# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#5 class RBS::DefinitionBuilder::AncestorBuilder # @return [AncestorBuilder] a new instance of AncestorBuilder # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#162 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#162 def initialize(env:); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#151 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#151 def env; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#606 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#606 def fill_ancestor_source(ancestor, name:, source:, &block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#434 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#434 def instance_ancestors(type_name, building_ancestors: T.unsafe(nil)); end # Returns the value of attribute instance_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#154 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#154 def instance_ancestors_cache; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#570 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#570 def interface_ancestors(type_name, building_ancestors: T.unsafe(nil)); end # Returns the value of attribute interface_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#160 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#160 def interface_ancestors_cache; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#414 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#414 def mixin_ancestors(entry, type_name, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#348 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#348 def mixin_ancestors0(decl, type_name, align_params:, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#192 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#192 def one_instance_ancestors(type_name); end # Returns the value of attribute one_instance_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#153 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#153 def one_instance_ancestors_cache; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#329 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#329 def one_interface_ancestors(type_name); end # Returns the value of attribute one_interface_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#159 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#159 def one_interface_ancestors_cache; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#275 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#275 def one_singleton_ancestors(type_name); end # Returns the value of attribute one_singleton_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#156 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#156 def one_singleton_ancestors_cache; end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#515 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#515 def singleton_ancestors(type_name, building_ancestors: T.unsafe(nil)); end # Returns the value of attribute singleton_ancestors_cache. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#157 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#157 def singleton_ancestors_cache; end # @raise [SuperclassMismatchError] # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#175 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#175 def validate_super_class!(type_name, entry); end end -# source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#6 +# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#6 class RBS::DefinitionBuilder::AncestorBuilder::OneAncestors # @return [OneAncestors] a new instance of OneAncestors # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#17 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#17 def initialize(type_name:, params:, super_class:, self_types:, included_modules:, included_interfaces:, prepended_modules:, extended_modules:, extended_interfaces:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#29 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#29 def each_ancestor(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#86 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#86 def each_extended_interface(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#78 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#78 def each_extended_module(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#62 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#62 def each_included_interface(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#54 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#54 def each_included_module(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#70 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#70 def each_prepended_module(&block); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#46 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#46 def each_self_type(&block); end # Returns the value of attribute extended_interfaces. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#15 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#15 def extended_interfaces; end # Returns the value of attribute extended_modules. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#14 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#14 def extended_modules; end # Returns the value of attribute included_interfaces. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#12 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#12 def included_interfaces; end # Returns the value of attribute included_modules. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#11 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#11 def included_modules; end # Returns the value of attribute params. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#8 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#8 def params; end # Returns the value of attribute prepended_modules. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#13 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#13 def prepended_modules; end # Returns the value of attribute self_types. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#10 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#10 def self_types; end # Returns the value of attribute super_class. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#9 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#9 def super_class; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#7 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#7 def type_name; end class << self - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#94 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#94 def class_instance(type_name:, params:, super_class:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#136 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#136 def interface(type_name:, params:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#122 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#122 def module_instance(type_name:, params:); end - # source://rbs/lib/rbs/definition_builder/ancestor_builder.rb#108 + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#108 def singleton(type_name:, super_class:); end end end -# source://rbs/lib/rbs/definition_builder/method_builder.rb#5 +# source://rbs//lib/rbs/definition_builder/method_builder.rb#5 class RBS::DefinitionBuilder::MethodBuilder # @return [MethodBuilder] a new instance of MethodBuilder # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#91 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#91 def initialize(env:); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#194 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#194 def build_alias(methods, type, member:); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#199 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#199 def build_attribute(methods, type, member:, accessibility:); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#99 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#99 def build_instance(type_name); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#174 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#174 def build_interface(type_name); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#215 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#215 def build_method(methods, type, member:, accessibility:); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#145 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#145 def build_singleton(type_name); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#226 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#226 def each_member_with_accessibility(members, accessibility: T.unsafe(nil)); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#86 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#86 def env; end # Returns the value of attribute instance_methods. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#87 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#87 def instance_methods; end # Returns the value of attribute interface_methods. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#89 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#89 def interface_methods; end # Returns the value of attribute singleton_methods. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#88 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#88 def singleton_methods; end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#239 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#239 def update(env:, except:); end end -# source://rbs/lib/rbs/definition_builder/method_builder.rb#6 +# source://rbs//lib/rbs/definition_builder/method_builder.rb#6 class RBS::DefinitionBuilder::MethodBuilder::Methods # @return [Methods] a new instance of Methods # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#30 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#30 def initialize(type:); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#49 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#49 def each; end # Returns the value of attribute methods. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#28 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#28 def methods; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#27 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#27 def type; end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#35 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#35 def validate!; end end -# source://rbs/lib/rbs/definition_builder/method_builder.rb#7 +# source://rbs//lib/rbs/definition_builder/method_builder.rb#7 class RBS::DefinitionBuilder::MethodBuilder::Methods::Definition < ::Struct - # source://rbs/lib/rbs/definition_builder/method_builder.rb#14 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#14 def accessibility; end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#10 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#10 def original; end class << self - # source://rbs/lib/rbs/definition_builder/method_builder.rb#22 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#22 def empty(name:, type:); end end end -# source://rbs/lib/rbs/definition_builder/method_builder.rb#63 +# source://rbs//lib/rbs/definition_builder/method_builder.rb#63 class RBS::DefinitionBuilder::MethodBuilder::Methods::Sorter include ::TSort # @return [Sorter] a new instance of Sorter # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#68 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#68 def initialize(methods); end # Returns the value of attribute methods. # - # source://rbs/lib/rbs/definition_builder/method_builder.rb#66 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#66 def methods; end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#76 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#76 def tsort_each_child(defn); end - # source://rbs/lib/rbs/definition_builder/method_builder.rb#72 + # source://rbs//lib/rbs/definition_builder/method_builder.rb#72 def tsort_each_node(&block); end end -# source://rbs/lib/rbs/errors.rb#21 +# source://rbs//lib/rbs/errors.rb#21 class RBS::DefinitionError < ::RBS::BaseError; end -# source://rbs/lib/rbs/errors.rb#23 +# source://rbs//lib/rbs/errors.rb#23 module RBS::DetailedMessageable - # source://rbs/lib/rbs/errors.rb#24 + # source://rbs//lib/rbs/errors.rb#24 def detailed_message(highlight: T.unsafe(nil), **_arg1); end end -# source://rbs/lib/rbs/diff.rb#4 +# source://rbs//lib/rbs/diff.rb#4 class RBS::Diff # @return [Diff] a new instance of Diff # - # source://rbs/lib/rbs/diff.rb#5 + # source://rbs//lib/rbs/diff.rb#5 def initialize(type_name:, library_options:, after_path: T.unsafe(nil), before_path: T.unsafe(nil), detail: T.unsafe(nil)); end - # source://rbs/lib/rbs/diff.rb#13 + # source://rbs//lib/rbs/diff.rb#13 def each_diff(&block); end private - # source://rbs/lib/rbs/diff.rb#96 + # source://rbs//lib/rbs/diff.rb#96 def build_builder(env); end - # source://rbs/lib/rbs/diff.rb#77 + # source://rbs//lib/rbs/diff.rb#77 def build_env(path); end - # source://rbs/lib/rbs/diff.rb#49 + # source://rbs//lib/rbs/diff.rb#49 def build_methods(path); end - # source://rbs/lib/rbs/diff.rb#116 + # source://rbs//lib/rbs/diff.rb#116 def constant_to_s(constant); end - # source://rbs/lib/rbs/diff.rb#100 + # source://rbs//lib/rbs/diff.rb#100 def definition_method_to_s(key, kind, definition_method); end - # source://rbs/lib/rbs/diff.rb#38 + # source://rbs//lib/rbs/diff.rb#38 def each_diff_constants(before_constant_children, after_constant_children); end - # source://rbs/lib/rbs/diff.rb#27 + # source://rbs//lib/rbs/diff.rb#27 def each_diff_methods(kind, before_methods, after_methods); end end -# source://rbs/lib/rbs/errors.rb#394 +# source://rbs//lib/rbs/errors.rb#394 class RBS::DuplicatedDeclarationError < ::RBS::LoadingError # @return [DuplicatedDeclarationError] a new instance of DuplicatedDeclarationError # - # source://rbs/lib/rbs/errors.rb#398 + # source://rbs//lib/rbs/errors.rb#398 def initialize(name, *decls); end # Returns the value of attribute decls. # - # source://rbs/lib/rbs/errors.rb#396 + # source://rbs//lib/rbs/errors.rb#396 def decls; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/errors.rb#395 + # source://rbs//lib/rbs/errors.rb#395 def name; end end -# source://rbs/lib/rbs/errors.rb#292 +# source://rbs//lib/rbs/errors.rb#292 class RBS::DuplicatedInterfaceMethodDefinitionError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [DuplicatedInterfaceMethodDefinitionError] a new instance of DuplicatedInterfaceMethodDefinitionError # - # source://rbs/lib/rbs/errors.rb#299 + # source://rbs//lib/rbs/errors.rb#299 def initialize(type:, method_name:, member:); end - # source://rbs/lib/rbs/errors.rb#307 + # source://rbs//lib/rbs/errors.rb#307 def location; end # Returns the value of attribute member. # - # source://rbs/lib/rbs/errors.rb#297 + # source://rbs//lib/rbs/errors.rb#297 def member; end # Returns the value of attribute method_name. # - # source://rbs/lib/rbs/errors.rb#296 + # source://rbs//lib/rbs/errors.rb#296 def method_name; end - # source://rbs/lib/rbs/errors.rb#311 + # source://rbs//lib/rbs/errors.rb#311 def qualified_method_name; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/errors.rb#295 + # source://rbs//lib/rbs/errors.rb#295 def type; end - # source://rbs/lib/rbs/errors.rb#320 + # source://rbs//lib/rbs/errors.rb#320 def type_name; end end -# source://rbs/lib/rbs/errors.rb#251 +# source://rbs//lib/rbs/errors.rb#251 class RBS::DuplicatedMethodDefinitionError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [DuplicatedMethodDefinitionError] a new instance of DuplicatedMethodDefinitionError # - # source://rbs/lib/rbs/errors.rb#258 + # source://rbs//lib/rbs/errors.rb#258 def initialize(type:, method_name:, members:); end - # source://rbs/lib/rbs/errors.rb#283 + # source://rbs//lib/rbs/errors.rb#283 def location; end # Returns the value of attribute members. # - # source://rbs/lib/rbs/errors.rb#256 + # source://rbs//lib/rbs/errors.rb#256 def members; end # Returns the value of attribute method_name. # - # source://rbs/lib/rbs/errors.rb#255 + # source://rbs//lib/rbs/errors.rb#255 def method_name; end - # source://rbs/lib/rbs/errors.rb#287 + # source://rbs//lib/rbs/errors.rb#287 def other_locations; end - # source://rbs/lib/rbs/errors.rb#270 + # source://rbs//lib/rbs/errors.rb#270 def qualified_method_name; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/errors.rb#254 + # source://rbs//lib/rbs/errors.rb#254 def type; end - # source://rbs/lib/rbs/errors.rb#279 + # source://rbs//lib/rbs/errors.rb#279 def type_name; end end -# source://rbs/lib/rbs/environment.rb#4 +# source://rbs//lib/rbs/environment.rb#4 class RBS::Environment # @return [Environment] a new instance of Environment # - # source://rbs/lib/rbs/environment.rb#145 + # source://rbs//lib/rbs/environment.rb#145 def initialize; end - # source://rbs/lib/rbs/environment.rb#470 + # source://rbs//lib/rbs/environment.rb#470 def <<(decl); end - # source://rbs/lib/rbs/environment.rb#792 + # source://rbs//lib/rbs/environment.rb#792 def absolute_type(resolver, map, type, context:); end - # source://rbs/lib/rbs/environment.rb#787 + # source://rbs//lib/rbs/environment.rb#787 def absolute_type_name(resolver, map, type_name, context:); end - # source://rbs/lib/rbs/environment.rb#476 + # source://rbs//lib/rbs/environment.rb#476 def add_signature(buffer:, directives:, decls:); end - # source://rbs/lib/rbs/environment.rb#528 + # source://rbs//lib/rbs/environment.rb#528 def append_context(context, decl); end - # source://rbs/lib/rbs/environment.rb#803 + # source://rbs//lib/rbs/environment.rb#803 def buffers; end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#218 + # source://rbs//lib/rbs/environment.rb#218 def class_alias?(name); end # Returns the value of attribute class_alias_decls. # - # source://rbs/lib/rbs/environment.rb#12 + # source://rbs//lib/rbs/environment.rb#12 def class_alias_decls; end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#202 + # source://rbs//lib/rbs/environment.rb#202 def class_decl?(name); end # Returns the value of attribute class_decls. # - # source://rbs/lib/rbs/environment.rb#7 + # source://rbs//lib/rbs/environment.rb#7 def class_decls; end - # source://rbs/lib/rbs/environment.rb#226 + # source://rbs//lib/rbs/environment.rb#226 def class_entry(type_name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#198 + # source://rbs//lib/rbs/environment.rb#198 def constant_decl?(name); end # Returns the value of attribute constant_decls. # - # source://rbs/lib/rbs/environment.rb#10 + # source://rbs//lib/rbs/environment.rb#10 def constant_decls; end - # source://rbs/lib/rbs/environment.rb#274 + # source://rbs//lib/rbs/environment.rb#274 def constant_entry(type_name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#194 + # source://rbs//lib/rbs/environment.rb#194 def constant_name?(name); end # Returns the value of attribute declarations. # - # source://rbs/lib/rbs/environment.rb#5 + # source://rbs//lib/rbs/environment.rb#5 def declarations; end # Returns the value of attribute global_decls. # - # source://rbs/lib/rbs/environment.rb#11 + # source://rbs//lib/rbs/environment.rb#11 def global_decls; end - # source://rbs/lib/rbs/environment.rb#373 + # source://rbs//lib/rbs/environment.rb#373 def insert_decl(decl, outer:, namespace:); end - # source://rbs/lib/rbs/environment.rb#798 + # source://rbs//lib/rbs/environment.rb#798 def inspect; end # Returns the value of attribute interface_decls. # - # source://rbs/lib/rbs/environment.rb#8 + # source://rbs//lib/rbs/environment.rb#8 def interface_decls; end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#176 + # source://rbs//lib/rbs/environment.rb#176 def interface_name?(name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#210 + # source://rbs//lib/rbs/environment.rb#210 def module_alias?(name); end - # source://rbs/lib/rbs/environment.rb#266 + # source://rbs//lib/rbs/environment.rb#266 def module_class_entry(type_name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#206 + # source://rbs//lib/rbs/environment.rb#206 def module_decl?(name); end - # source://rbs/lib/rbs/environment.rb#235 + # source://rbs//lib/rbs/environment.rb#235 def module_entry(type_name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#184 + # source://rbs//lib/rbs/environment.rb#184 def module_name?(name); end - # source://rbs/lib/rbs/environment.rb#332 + # source://rbs//lib/rbs/environment.rb#332 def normalize_module_name(name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#336 + # source://rbs//lib/rbs/environment.rb#336 def normalize_module_name?(name); end - # source://rbs/lib/rbs/environment.rb#328 + # source://rbs//lib/rbs/environment.rb#328 def normalize_type_name(name); end - # source://rbs/lib/rbs/environment.rb#297 + # source://rbs//lib/rbs/environment.rb#297 def normalize_type_name!(name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#278 + # source://rbs//lib/rbs/environment.rb#278 def normalize_type_name?(name); end - # source://rbs/lib/rbs/environment.rb#244 + # source://rbs//lib/rbs/environment.rb#244 def normalized_class_entry(type_name); end - # source://rbs/lib/rbs/environment.rb#270 + # source://rbs//lib/rbs/environment.rb#270 def normalized_module_class_entry(type_name); end - # source://rbs/lib/rbs/environment.rb#255 + # source://rbs//lib/rbs/environment.rb#255 def normalized_module_entry(type_name); end - # source://rbs/lib/rbs/environment.rb#323 + # source://rbs//lib/rbs/environment.rb#323 def normalized_type_name!(name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#310 + # source://rbs//lib/rbs/environment.rb#310 def normalized_type_name?(type_name); end - # source://rbs/lib/rbs/environment.rb#537 + # source://rbs//lib/rbs/environment.rb#537 def resolve_declaration(resolver, map, decl, outer:, prefix:); end - # source://rbs/lib/rbs/environment.rb#673 + # source://rbs//lib/rbs/environment.rb#673 def resolve_member(resolver, map, member, context:); end - # source://rbs/lib/rbs/environment.rb#773 + # source://rbs//lib/rbs/environment.rb#773 def resolve_method_type(resolver, map, type, context:); end - # source://rbs/lib/rbs/environment.rb#489 + # source://rbs//lib/rbs/environment.rb#489 def resolve_type_names(only: T.unsafe(nil)); end - # source://rbs/lib/rbs/environment.rb#781 + # source://rbs//lib/rbs/environment.rb#781 def resolve_type_params(resolver, map, params, context:); end - # source://rbs/lib/rbs/environment.rb#522 + # source://rbs//lib/rbs/environment.rb#522 def resolver_context(*nesting); end # Returns the value of attribute signatures. # - # source://rbs/lib/rbs/environment.rb#14 + # source://rbs//lib/rbs/environment.rb#14 def signatures; end # Returns the value of attribute type_alias_decls. # - # source://rbs/lib/rbs/environment.rb#9 + # source://rbs//lib/rbs/environment.rb#9 def type_alias_decls; end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#180 + # source://rbs//lib/rbs/environment.rb#180 def type_alias_name?(name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#188 + # source://rbs//lib/rbs/environment.rb#188 def type_name?(name); end - # source://rbs/lib/rbs/environment.rb#807 + # source://rbs//lib/rbs/environment.rb#807 def unload(buffers); end - # source://rbs/lib/rbs/environment.rb#483 + # source://rbs//lib/rbs/environment.rb#483 def validate_type_params; end private - # source://rbs/lib/rbs/environment.rb#158 + # source://rbs//lib/rbs/environment.rb#158 def initialize_copy(other); end class << self - # source://rbs/lib/rbs/environment.rb#170 + # source://rbs//lib/rbs/environment.rb#170 def from_loader(loader); end end end -# source://rbs/lib/rbs/environment.rb#130 +# source://rbs//lib/rbs/environment.rb#130 class RBS::Environment::ClassAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment.rb#100 +# source://rbs//lib/rbs/environment.rb#100 class RBS::Environment::ClassEntry < ::RBS::Environment::MultiEntry - # source://rbs/lib/rbs/environment.rb#101 + # source://rbs//lib/rbs/environment.rb#101 def primary; end end -# source://rbs/lib/rbs/environment.rb#139 +# source://rbs//lib/rbs/environment.rb#139 class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment.rb#16 +# source://rbs//lib/rbs/environment.rb#16 module RBS::Environment::ContextUtil - # source://rbs/lib/rbs/environment.rb#17 + # source://rbs//lib/rbs/environment.rb#17 def calculate_context(decls); end end -# source://rbs/lib/rbs/environment.rb#142 +# source://rbs//lib/rbs/environment.rb#142 class RBS::Environment::GlobalEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment.rb#133 +# source://rbs//lib/rbs/environment.rb#133 class RBS::Environment::InterfaceEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment.rb#127 +# source://rbs//lib/rbs/environment.rb#127 class RBS::Environment::ModuleAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment.rb#85 +# source://rbs//lib/rbs/environment.rb#85 class RBS::Environment::ModuleEntry < ::RBS::Environment::MultiEntry - # source://rbs/lib/rbs/environment.rb#92 + # source://rbs//lib/rbs/environment.rb#92 def primary; end - # source://rbs/lib/rbs/environment.rb#86 + # source://rbs//lib/rbs/environment.rb#86 def self_types; end end -# source://rbs/lib/rbs/environment.rb#29 +# source://rbs//lib/rbs/environment.rb#29 class RBS::Environment::MultiEntry # @return [MultiEntry] a new instance of MultiEntry # - # source://rbs/lib/rbs/environment.rb#43 + # source://rbs//lib/rbs/environment.rb#43 def initialize(name:); end # @return [Boolean] # - # source://rbs/lib/rbs/environment.rb#70 + # source://rbs//lib/rbs/environment.rb#70 def compatible_params?(ps1, ps2); end # Returns the value of attribute decls. # - # source://rbs/lib/rbs/environment.rb#41 + # source://rbs//lib/rbs/environment.rb#41 def decls; end - # source://rbs/lib/rbs/environment.rb#48 + # source://rbs//lib/rbs/environment.rb#48 def insert(decl:, outer:); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/environment.rb#40 + # source://rbs//lib/rbs/environment.rb#40 def name; end - # source://rbs/lib/rbs/environment.rb#80 + # source://rbs//lib/rbs/environment.rb#80 def primary; end - # source://rbs/lib/rbs/environment.rb#76 + # source://rbs//lib/rbs/environment.rb#76 def type_params; end - # source://rbs/lib/rbs/environment.rb#53 + # source://rbs//lib/rbs/environment.rb#53 def validate_type_params; end end -# source://rbs/lib/rbs/environment.rb#30 +# source://rbs//lib/rbs/environment.rb#30 class RBS::Environment::MultiEntry::D < ::Struct include ::RBS::Environment::ContextUtil - # source://rbs/lib/rbs/environment.rb#35 + # source://rbs//lib/rbs/environment.rb#35 def context; end + # source://rbs//lib/rbs/environment.rb#30 def decl; end + + # source://rbs//lib/rbs/environment.rb#30 def decl=(_); end + + # source://rbs//lib/rbs/environment.rb#30 def outer; end + + # source://rbs//lib/rbs/environment.rb#30 def outer=(_); end class << self + # source://rbs//lib/rbs/environment.rb#30 def [](*_arg0); end + + # source://rbs//lib/rbs/environment.rb#30 def inspect; end + + # source://rbs//lib/rbs/environment.rb#30 def keyword_init?; end + + # source://rbs//lib/rbs/environment.rb#30 def members; end + + # source://rbs//lib/rbs/environment.rb#30 def new(*_arg0); end end end -# source://rbs/lib/rbs/environment.rb#109 +# source://rbs//lib/rbs/environment.rb#109 class RBS::Environment::SingleEntry include ::RBS::Environment::ContextUtil # @return [SingleEntry] a new instance of SingleEntry # - # source://rbs/lib/rbs/environment.rb#114 + # source://rbs//lib/rbs/environment.rb#114 def initialize(name:, decl:, outer:); end - # source://rbs/lib/rbs/environment.rb#122 + # source://rbs//lib/rbs/environment.rb#122 def context; end # Returns the value of attribute decl. # - # source://rbs/lib/rbs/environment.rb#112 + # source://rbs//lib/rbs/environment.rb#112 def decl; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/environment.rb#110 + # source://rbs//lib/rbs/environment.rb#110 def name; end # Returns the value of attribute outer. # - # source://rbs/lib/rbs/environment.rb#111 + # source://rbs//lib/rbs/environment.rb#111 def outer; end end -# source://rbs/lib/rbs/environment.rb#136 +# source://rbs//lib/rbs/environment.rb#136 class RBS::Environment::TypeAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs/lib/rbs/environment/use_map.rb#5 +# source://rbs//lib/rbs/environment/use_map.rb#5 class RBS::Environment::UseMap # @return [UseMap] a new instance of UseMap # - # source://rbs/lib/rbs/environment/use_map.rb#30 + # source://rbs//lib/rbs/environment/use_map.rb#30 def initialize(table:); end - # source://rbs/lib/rbs/environment/use_map.rb#36 + # source://rbs//lib/rbs/environment/use_map.rb#36 def build_map(clause); end - # source://rbs/lib/rbs/environment/use_map.rb#72 + # source://rbs//lib/rbs/environment/use_map.rb#72 def resolve(type_name); end # @return [Boolean] # - # source://rbs/lib/rbs/environment/use_map.rb#53 + # source://rbs//lib/rbs/environment/use_map.rb#53 def resolve?(type_name); end # Returns the value of attribute use_dirs. # - # source://rbs/lib/rbs/environment/use_map.rb#28 + # source://rbs//lib/rbs/environment/use_map.rb#28 def use_dirs; end end -# source://rbs/lib/rbs/environment/use_map.rb#6 +# source://rbs//lib/rbs/environment/use_map.rb#6 class RBS::Environment::UseMap::Table # @return [Table] a new instance of Table # - # source://rbs/lib/rbs/environment/use_map.rb#9 + # source://rbs//lib/rbs/environment/use_map.rb#9 def initialize; end # Returns the value of attribute children. # - # source://rbs/lib/rbs/environment/use_map.rb#7 + # source://rbs//lib/rbs/environment/use_map.rb#7 def children; end - # source://rbs/lib/rbs/environment/use_map.rb#14 + # source://rbs//lib/rbs/environment/use_map.rb#14 def compute_children; end # Returns the value of attribute known_types. # - # source://rbs/lib/rbs/environment/use_map.rb#7 + # source://rbs//lib/rbs/environment/use_map.rb#7 def known_types; end end -# source://rbs/lib/rbs/environment_loader.rb#4 +# source://rbs//lib/rbs/environment_loader.rb#4 class RBS::EnvironmentLoader include ::RBS::FileFinder # @return [EnvironmentLoader] a new instance of EnvironmentLoader # - # source://rbs/lib/rbs/environment_loader.rb#40 + # source://rbs//lib/rbs/environment_loader.rb#40 def initialize(core_root: T.unsafe(nil), repository: T.unsafe(nil)); end - # source://rbs/lib/rbs/environment_loader.rb#48 + # source://rbs//lib/rbs/environment_loader.rb#48 def add(path: T.unsafe(nil), library: T.unsafe(nil), version: T.unsafe(nil), resolve_dependencies: T.unsafe(nil)); end - # source://rbs/lib/rbs/environment_loader.rb#80 + # source://rbs//lib/rbs/environment_loader.rb#80 def add_collection(lockfile); end # Returns the value of attribute core_root. # - # source://rbs/lib/rbs/environment_loader.rb#20 + # source://rbs//lib/rbs/environment_loader.rb#20 def core_root; end # Returns the value of attribute dirs. # - # source://rbs/lib/rbs/environment_loader.rb#24 + # source://rbs//lib/rbs/environment_loader.rb#24 def dirs; end - # source://rbs/lib/rbs/environment_loader.rb#131 + # source://rbs//lib/rbs/environment_loader.rb#131 def each_dir; end - # source://rbs/lib/rbs/environment_loader.rb#154 + # source://rbs//lib/rbs/environment_loader.rb#154 def each_signature; end # @return [Boolean] # - # source://rbs/lib/rbs/environment_loader.rb#104 + # source://rbs//lib/rbs/environment_loader.rb#104 def has_library?(library:, version:); end # Returns the value of attribute libs. # - # source://rbs/lib/rbs/environment_loader.rb#23 + # source://rbs//lib/rbs/environment_loader.rb#23 def libs; end - # source://rbs/lib/rbs/environment_loader.rb#112 + # source://rbs//lib/rbs/environment_loader.rb#112 def load(env:); end # Returns the value of attribute repository. # - # source://rbs/lib/rbs/environment_loader.rb#21 + # source://rbs//lib/rbs/environment_loader.rb#21 def repository; end - # source://rbs/lib/rbs/environment_loader.rb#65 + # source://rbs//lib/rbs/environment_loader.rb#65 def resolve_dependencies(library:, version:); end class << self - # source://rbs/lib/rbs/environment_loader.rb#28 + # source://rbs//lib/rbs/environment_loader.rb#28 def gem_sig_path(name, version); end end end -# source://rbs/lib/rbs/environment_loader.rb#26 +# source://rbs//lib/rbs/environment_loader.rb#26 RBS::EnvironmentLoader::DEFAULT_CORE_ROOT = T.let(T.unsafe(nil), Pathname) -# source://rbs/lib/rbs/environment_loader.rb#17 +# source://rbs//lib/rbs/environment_loader.rb#17 class RBS::EnvironmentLoader::Library < ::Struct; end -# source://rbs/lib/rbs/environment_loader.rb#5 +# source://rbs//lib/rbs/environment_loader.rb#5 class RBS::EnvironmentLoader::UnknownLibraryError < ::StandardError # @return [UnknownLibraryError] a new instance of UnknownLibraryError # - # source://rbs/lib/rbs/environment_loader.rb#8 + # source://rbs//lib/rbs/environment_loader.rb#8 def initialize(lib:); end # Returns the value of attribute library. # - # source://rbs/lib/rbs/environment_loader.rb#6 + # source://rbs//lib/rbs/environment_loader.rb#6 def library; end end -# source://rbs/lib/rbs/environment_walker.rb#4 +# source://rbs//lib/rbs/environment_walker.rb#4 class RBS::EnvironmentWalker include ::TSort # @return [EnvironmentWalker] a new instance of EnvironmentWalker # - # source://rbs/lib/rbs/environment_walker.rb#11 + # source://rbs//lib/rbs/environment_walker.rb#11 def initialize(env:); end - # source://rbs/lib/rbs/environment_walker.rb#16 + # source://rbs//lib/rbs/environment_walker.rb#16 def builder; end - # source://rbs/lib/rbs/environment_walker.rb#99 + # source://rbs//lib/rbs/environment_walker.rb#99 def each_type_name(type, &block); end - # source://rbs/lib/rbs/environment_walker.rb#105 + # source://rbs//lib/rbs/environment_walker.rb#105 def each_type_node(type, &block); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/environment_walker.rb#9 + # source://rbs//lib/rbs/environment_walker.rb#9 def env; end - # source://rbs/lib/rbs/environment_walker.rb#20 + # source://rbs//lib/rbs/environment_walker.rb#20 def only_ancestors!(only = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/environment_walker.rb#25 + # source://rbs//lib/rbs/environment_walker.rb#25 def only_ancestors?; end - # source://rbs/lib/rbs/environment_walker.rb#44 + # source://rbs//lib/rbs/environment_walker.rb#44 def tsort_each_child(node, &block); end - # source://rbs/lib/rbs/environment_walker.rb#31 + # source://rbs//lib/rbs/environment_walker.rb#31 def tsort_each_node(&block); end end -# source://rbs/lib/rbs/environment_walker.rb#5 +# source://rbs//lib/rbs/environment_walker.rb#5 class RBS::EnvironmentWalker::InstanceNode < ::Struct + # source://rbs//lib/rbs/environment_walker.rb#5 def type_name; end + + # source://rbs//lib/rbs/environment_walker.rb#5 def type_name=(_); end class << self + # source://rbs//lib/rbs/environment_walker.rb#5 def [](*_arg0); end + + # source://rbs//lib/rbs/environment_walker.rb#5 def inspect; end + + # source://rbs//lib/rbs/environment_walker.rb#5 def keyword_init?; end + + # source://rbs//lib/rbs/environment_walker.rb#5 def members; end + + # source://rbs//lib/rbs/environment_walker.rb#5 def new(*_arg0); end end end -# source://rbs/lib/rbs/environment_walker.rb#6 +# source://rbs//lib/rbs/environment_walker.rb#6 class RBS::EnvironmentWalker::SingletonNode < ::Struct + # source://rbs//lib/rbs/environment_walker.rb#6 def type_name; end + + # source://rbs//lib/rbs/environment_walker.rb#6 def type_name=(_); end class << self + # source://rbs//lib/rbs/environment_walker.rb#6 def [](*_arg0); end + + # source://rbs//lib/rbs/environment_walker.rb#6 def inspect; end + + # source://rbs//lib/rbs/environment_walker.rb#6 def keyword_init?; end + + # source://rbs//lib/rbs/environment_walker.rb#6 def members; end + + # source://rbs//lib/rbs/environment_walker.rb#6 def new(*_arg0); end end end -# source://rbs/lib/rbs/environment_walker.rb#7 +# source://rbs//lib/rbs/environment_walker.rb#7 class RBS::EnvironmentWalker::TypeNameNode < ::Struct + # source://rbs//lib/rbs/environment_walker.rb#7 def type_name; end + + # source://rbs//lib/rbs/environment_walker.rb#7 def type_name=(_); end class << self + # source://rbs//lib/rbs/environment_walker.rb#7 def [](*_arg0); end + + # source://rbs//lib/rbs/environment_walker.rb#7 def inspect; end + + # source://rbs//lib/rbs/environment_walker.rb#7 def keyword_init?; end + + # source://rbs//lib/rbs/environment_walker.rb#7 def members; end + + # source://rbs//lib/rbs/environment_walker.rb#7 def new(*_arg0); end end end -# source://rbs/lib/rbs/factory.rb#4 +# source://rbs//lib/rbs/factory.rb#4 class RBS::Factory - # source://rbs/lib/rbs/factory.rb#5 + # source://rbs//lib/rbs/factory.rb#5 def type_name(string); end end -# source://rbs/lib/rbs/file_finder.rb#4 +# source://rbs//lib/rbs/file_finder.rb#4 module RBS::FileFinder class << self - # source://rbs/lib/rbs/file_finder.rb#7 + # source://rbs//lib/rbs/file_finder.rb#7 def each_file(path, skip_hidden:, immediate: T.unsafe(nil), &block); end end end -# source://rbs/lib/rbs/errors.rb#383 +# source://rbs//lib/rbs/errors.rb#383 class RBS::GenericParameterMismatchError < ::RBS::LoadingError # @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError # - # source://rbs/lib/rbs/errors.rb#387 + # source://rbs//lib/rbs/errors.rb#387 def initialize(name:, decl:); end # Returns the value of attribute decl. # - # source://rbs/lib/rbs/errors.rb#385 + # source://rbs//lib/rbs/errors.rb#385 def decl; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/errors.rb#384 + # source://rbs//lib/rbs/errors.rb#384 def name; end end -# source://rbs/lib/rbs/errors.rb#529 +# source://rbs//lib/rbs/errors.rb#529 class RBS::InconsistentClassModuleAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [InconsistentClassModuleAliasError] a new instance of InconsistentClassModuleAliasError # - # source://rbs/lib/rbs/errors.rb#534 + # source://rbs//lib/rbs/errors.rb#534 def initialize(entry); end # Returns the value of attribute alias_entry. # - # source://rbs/lib/rbs/errors.rb#532 + # source://rbs//lib/rbs/errors.rb#532 def alias_entry; end - # source://rbs/lib/rbs/errors.rb#548 + # source://rbs//lib/rbs/errors.rb#548 def location; end end -# source://rbs/lib/rbs/errors.rb#187 +# source://rbs//lib/rbs/errors.rb#187 class RBS::InheritModuleError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [InheritModuleError] a new instance of InheritModuleError # - # source://rbs/lib/rbs/errors.rb#192 + # source://rbs//lib/rbs/errors.rb#192 def initialize(super_decl); end - # source://rbs/lib/rbs/errors.rb#198 + # source://rbs//lib/rbs/errors.rb#198 def location; end # Returns the value of attribute super_decl. # - # source://rbs/lib/rbs/errors.rb#190 + # source://rbs//lib/rbs/errors.rb#190 def super_decl; end class << self - # source://rbs/lib/rbs/errors.rb#202 + # source://rbs//lib/rbs/errors.rb#202 def check!(super_decl, env:); end end end -# source://rbs/lib/rbs/errors.rb#354 +# source://rbs//lib/rbs/errors.rb#354 class RBS::InvalidOverloadMethodError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [InvalidOverloadMethodError] a new instance of InvalidOverloadMethodError # - # source://rbs/lib/rbs/errors.rb#362 + # source://rbs//lib/rbs/errors.rb#362 def initialize(type_name:, method_name:, kind:, members:); end # Returns the value of attribute kind. # - # source://rbs/lib/rbs/errors.rb#359 + # source://rbs//lib/rbs/errors.rb#359 def kind; end - # source://rbs/lib/rbs/errors.rb#378 + # source://rbs//lib/rbs/errors.rb#378 def location; end # Returns the value of attribute members. # - # source://rbs/lib/rbs/errors.rb#360 + # source://rbs//lib/rbs/errors.rb#360 def members; end # Returns the value of attribute method_name. # - # source://rbs/lib/rbs/errors.rb#358 + # source://rbs//lib/rbs/errors.rb#358 def method_name; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#357 + # source://rbs//lib/rbs/errors.rb#357 def type_name; end end -# source://rbs/lib/rbs/errors.rb#67 +# source://rbs//lib/rbs/errors.rb#67 class RBS::InvalidTypeApplicationError < ::RBS::DefinitionError # @return [InvalidTypeApplicationError] a new instance of InvalidTypeApplicationError # - # source://rbs/lib/rbs/errors.rb#74 + # source://rbs//lib/rbs/errors.rb#74 def initialize(type_name:, args:, params:, location:); end # Returns the value of attribute args. # - # source://rbs/lib/rbs/errors.rb#69 + # source://rbs//lib/rbs/errors.rb#69 def args; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#72 + # source://rbs//lib/rbs/errors.rb#72 def location; end # Returns the value of attribute params. # - # source://rbs/lib/rbs/errors.rb#70 + # source://rbs//lib/rbs/errors.rb#70 def params; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#68 + # source://rbs//lib/rbs/errors.rb#68 def type_name; end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/errors.rb#71 + # source://rbs//lib/rbs/errors.rb#71 def type_params; end class << self - # source://rbs/lib/rbs/errors.rb#83 + # source://rbs//lib/rbs/errors.rb#83 def check!(type_name:, args:, params:, location:); end - # source://rbs/lib/rbs/errors.rb#92 + # source://rbs//lib/rbs/errors.rb#92 def check2!(env:, type_name:, args:, location:); end end end -# source://rbs/lib/rbs/errors.rb#407 +# source://rbs//lib/rbs/errors.rb#407 class RBS::InvalidVarianceAnnotationError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [InvalidVarianceAnnotationError] a new instance of InvalidVarianceAnnotationError # - # source://rbs/lib/rbs/errors.rb#414 + # source://rbs//lib/rbs/errors.rb#414 def initialize(type_name:, param:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#412 + # source://rbs//lib/rbs/errors.rb#412 def location; end # Returns the value of attribute param. # - # source://rbs/lib/rbs/errors.rb#411 + # source://rbs//lib/rbs/errors.rb#411 def param; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#410 + # source://rbs//lib/rbs/errors.rb#410 def type_name; end end -# source://rbs/lib/rbs/errors.rb#20 +# source://rbs//lib/rbs/errors.rb#20 class RBS::LoadingError < ::RBS::BaseError; end -# source://rbs/lib/rbs/location_aux.rb#4 +# source://rbs//lib/rbs/location_aux.rb#4 class RBS::Location def initialize(_arg0, _arg1, _arg2); end - # source://rbs/lib/rbs/location_aux.rb#71 + # source://rbs//lib/rbs/location_aux.rb#71 def ==(other); end def [](_arg0); end @@ -3650,74 +3730,76 @@ class RBS::Location def _optional_keys; end def _required_keys; end - # source://rbs/lib/rbs/location_aux.rb#102 + # source://rbs//lib/rbs/location_aux.rb#102 def add_optional_child(name, range); end - # source://rbs/lib/rbs/location_aux.rb#98 + # source://rbs//lib/rbs/location_aux.rb#98 def add_required_child(name, range); end + # source://rbs//lib/rbs/location_aux.rb#27 def aref(_arg0); end + def buffer; end - # source://rbs/lib/rbs/location_aux.rb#110 + # source://rbs//lib/rbs/location_aux.rb#110 def each_optional_key(&block); end - # source://rbs/lib/rbs/location_aux.rb#118 + # source://rbs//lib/rbs/location_aux.rb#118 def each_required_key(&block); end - # source://rbs/lib/rbs/location_aux.rb#47 + # source://rbs//lib/rbs/location_aux.rb#47 def end_column; end - # source://rbs/lib/rbs/location_aux.rb#43 + # source://rbs//lib/rbs/location_aux.rb#43 def end_line; end - # source://rbs/lib/rbs/location_aux.rb#55 + # source://rbs//lib/rbs/location_aux.rb#55 def end_loc; end def end_pos; end - # source://rbs/lib/rbs/location_aux.rb#5 + # source://rbs//lib/rbs/location_aux.rb#5 def inspect; end # @return [Boolean] # - # source://rbs/lib/rbs/location_aux.rb#126 + # source://rbs//lib/rbs/location_aux.rb#126 def key?(name); end - # source://rbs/lib/rbs/location_aux.rb#31 + # source://rbs//lib/rbs/location_aux.rb#31 def name; end # @return [Boolean] # - # source://rbs/lib/rbs/location_aux.rb#130 + # source://rbs//lib/rbs/location_aux.rb#130 def optional_key?(name); end - # source://rbs/lib/rbs/location_aux.rb#59 + # source://rbs//lib/rbs/location_aux.rb#59 def range; end # @return [Boolean] # - # source://rbs/lib/rbs/location_aux.rb#134 + # source://rbs//lib/rbs/location_aux.rb#134 def required_key?(name); end - # source://rbs/lib/rbs/location_aux.rb#63 + # source://rbs//lib/rbs/location_aux.rb#63 def source; end - # source://rbs/lib/rbs/location_aux.rb#39 + # source://rbs//lib/rbs/location_aux.rb#39 def start_column; end - # source://rbs/lib/rbs/location_aux.rb#35 + # source://rbs//lib/rbs/location_aux.rb#35 def start_line; end - # source://rbs/lib/rbs/location_aux.rb#51 + # source://rbs//lib/rbs/location_aux.rb#51 def start_loc; end def start_pos; end - # source://rbs/lib/rbs/location_aux.rb#78 + # source://rbs//lib/rbs/location_aux.rb#78 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/location_aux.rb#67 + # source://rbs//lib/rbs/location_aux.rb#67 def to_s; end private @@ -3725,379 +3807,379 @@ class RBS::Location def initialize_copy(_arg0); end class << self - # source://rbs/lib/rbs/location_aux.rb#16 + # source://rbs//lib/rbs/location_aux.rb#16 def new(buffer_ = T.unsafe(nil), start_pos_ = T.unsafe(nil), end_pos_ = T.unsafe(nil), buffer: T.unsafe(nil), start_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end - # source://rbs/lib/rbs/location_aux.rb#94 + # source://rbs//lib/rbs/location_aux.rb#94 def to_string(location, default: T.unsafe(nil)); end end end -# source://rbs/lib/rbs/location_aux.rb#29 +# source://rbs//lib/rbs/location_aux.rb#29 RBS::Location::WithChildren = RBS::Location -# source://rbs/lib/rbs/locator.rb#4 +# source://rbs//lib/rbs/locator.rb#4 class RBS::Locator # @return [Locator] a new instance of Locator # - # source://rbs/lib/rbs/locator.rb#7 + # source://rbs//lib/rbs/locator.rb#7 def initialize(buffer:, dirs:, decls:); end # Returns the value of attribute buffer. # - # source://rbs/lib/rbs/locator.rb#5 + # source://rbs//lib/rbs/locator.rb#5 def buffer; end # Returns the value of attribute decls. # - # source://rbs/lib/rbs/locator.rb#5 + # source://rbs//lib/rbs/locator.rb#5 def decls; end # Returns the value of attribute dirs. # - # source://rbs/lib/rbs/locator.rb#5 + # source://rbs//lib/rbs/locator.rb#5 def dirs; end - # source://rbs/lib/rbs/locator.rb#13 + # source://rbs//lib/rbs/locator.rb#13 def find(line:, column:); end - # source://rbs/lib/rbs/locator.rb#29 + # source://rbs//lib/rbs/locator.rb#29 def find2(line:, column:); end - # source://rbs/lib/rbs/locator.rb#58 + # source://rbs//lib/rbs/locator.rb#58 def find_in_decl(pos, decl:, array:); end - # source://rbs/lib/rbs/locator.rb#42 + # source://rbs//lib/rbs/locator.rb#42 def find_in_directive(pos, dir, array); end - # source://rbs/lib/rbs/locator.rb#206 + # source://rbs//lib/rbs/locator.rb#206 def find_in_loc(pos, location:, array:); end - # source://rbs/lib/rbs/locator.rb#129 + # source://rbs//lib/rbs/locator.rb#129 def find_in_member(pos, member:, array:); end - # source://rbs/lib/rbs/locator.rb#152 + # source://rbs//lib/rbs/locator.rb#152 def find_in_method_type(pos, method_type:, array:); end - # source://rbs/lib/rbs/locator.rb#190 + # source://rbs//lib/rbs/locator.rb#190 def find_in_type(pos, type:, array:); end - # source://rbs/lib/rbs/locator.rb#170 + # source://rbs//lib/rbs/locator.rb#170 def find_in_type_param(pos, type_param:, array:); end - # source://rbs/lib/rbs/locator.rb#233 + # source://rbs//lib/rbs/locator.rb#233 def test_loc(pos, location:); end end -# source://rbs/lib/rbs/errors.rb#4 +# source://rbs//lib/rbs/errors.rb#4 module RBS::MethodNameHelper - # source://rbs/lib/rbs/errors.rb#5 + # source://rbs//lib/rbs/errors.rb#5 def method_name_string; end end -# source://rbs/lib/rbs/method_type.rb#4 +# source://rbs//lib/rbs/method_type.rb#4 class RBS::MethodType # @return [MethodType] a new instance of MethodType # - # source://rbs/lib/rbs/method_type.rb#10 + # source://rbs//lib/rbs/method_type.rb#10 def initialize(type_params:, type:, block:, location:); end - # source://rbs/lib/rbs/method_type.rb#17 + # source://rbs//lib/rbs/method_type.rb#17 def ==(other); end # Returns the value of attribute block. # - # source://rbs/lib/rbs/method_type.rb#7 + # source://rbs//lib/rbs/method_type.rb#7 def block; end - # source://rbs/lib/rbs/method_type.rb#84 + # source://rbs//lib/rbs/method_type.rb#84 def each_type(&block); end - # source://rbs/lib/rbs/method_type.rb#57 + # source://rbs//lib/rbs/method_type.rb#57 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/method_type.rb#125 + # source://rbs//lib/rbs/method_type.rb#125 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/method_type.rb#121 + # source://rbs//lib/rbs/method_type.rb#121 def has_self_type?; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/method_type.rb#8 + # source://rbs//lib/rbs/method_type.rb#8 def location; end - # source://rbs/lib/rbs/method_type.rb#63 + # source://rbs//lib/rbs/method_type.rb#63 def map_type(&block); end - # source://rbs/lib/rbs/method_type.rb#72 + # source://rbs//lib/rbs/method_type.rb#72 def map_type_bound(&block); end - # source://rbs/lib/rbs/method_type.rb#33 + # source://rbs//lib/rbs/method_type.rb#33 def sub(s); end - # source://rbs/lib/rbs/method_type.rb#24 + # source://rbs//lib/rbs/method_type.rb#24 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/method_type.rb#98 + # source://rbs//lib/rbs/method_type.rb#98 def to_s; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/method_type.rb#6 + # source://rbs//lib/rbs/method_type.rb#6 def type; end - # source://rbs/lib/rbs/method_type.rb#117 + # source://rbs//lib/rbs/method_type.rb#117 def type_param_names; end # Returns the value of attribute type_params. # - # source://rbs/lib/rbs/method_type.rb#5 + # source://rbs//lib/rbs/method_type.rb#5 def type_params; end - # source://rbs/lib/rbs/method_type.rb#48 + # source://rbs//lib/rbs/method_type.rb#48 def update(type_params: T.unsafe(nil), type: T.unsafe(nil), block: T.unsafe(nil), location: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/method_type.rb#129 + # source://rbs//lib/rbs/method_type.rb#129 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/errors.rb#443 +# source://rbs//lib/rbs/errors.rb#443 class RBS::MixinClassError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [MixinClassError] a new instance of MixinClassError # - # source://rbs/lib/rbs/errors.rb#449 + # source://rbs//lib/rbs/errors.rb#449 def initialize(type_name:, member:); end - # source://rbs/lib/rbs/errors.rb#456 + # source://rbs//lib/rbs/errors.rb#456 def location; end # Returns the value of attribute member. # - # source://rbs/lib/rbs/errors.rb#447 + # source://rbs//lib/rbs/errors.rb#447 def member; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#446 + # source://rbs//lib/rbs/errors.rb#446 def type_name; end private - # source://rbs/lib/rbs/errors.rb#468 + # source://rbs//lib/rbs/errors.rb#468 def mixin_name; end class << self - # source://rbs/lib/rbs/errors.rb#460 + # source://rbs//lib/rbs/errors.rb#460 def check!(type_name:, env:, member:); end end end -# source://rbs/lib/rbs/namespace.rb#4 +# source://rbs//lib/rbs/namespace.rb#4 class RBS::Namespace # @return [Namespace] a new instance of Namespace # - # source://rbs/lib/rbs/namespace.rb#7 + # source://rbs//lib/rbs/namespace.rb#7 def initialize(path:, absolute:); end - # source://rbs/lib/rbs/namespace.rb#20 + # source://rbs//lib/rbs/namespace.rb#20 def +(other); end - # source://rbs/lib/rbs/namespace.rb#59 + # source://rbs//lib/rbs/namespace.rb#59 def ==(other); end - # source://rbs/lib/rbs/namespace.rb#47 + # source://rbs//lib/rbs/namespace.rb#47 def absolute!; end # @return [Boolean] # - # source://rbs/lib/rbs/namespace.rb#39 + # source://rbs//lib/rbs/namespace.rb#39 def absolute?; end - # source://rbs/lib/rbs/namespace.rb#28 + # source://rbs//lib/rbs/namespace.rb#28 def append(component); end - # source://rbs/lib/rbs/namespace.rb#101 + # source://rbs//lib/rbs/namespace.rb#101 def ascend; end # @return [Boolean] # - # source://rbs/lib/rbs/namespace.rb#55 + # source://rbs//lib/rbs/namespace.rb#55 def empty?; end - # source://rbs/lib/rbs/namespace.rb#59 + # source://rbs//lib/rbs/namespace.rb#63 def eql?(other); end - # source://rbs/lib/rbs/namespace.rb#65 + # source://rbs//lib/rbs/namespace.rb#65 def hash; end - # source://rbs/lib/rbs/namespace.rb#32 + # source://rbs//lib/rbs/namespace.rb#32 def parent; end # Returns the value of attribute path. # - # source://rbs/lib/rbs/namespace.rb#5 + # source://rbs//lib/rbs/namespace.rb#5 def path; end - # source://rbs/lib/rbs/namespace.rb#51 + # source://rbs//lib/rbs/namespace.rb#51 def relative!; end # @return [Boolean] # - # source://rbs/lib/rbs/namespace.rb#43 + # source://rbs//lib/rbs/namespace.rb#43 def relative?; end - # source://rbs/lib/rbs/namespace.rb#69 + # source://rbs//lib/rbs/namespace.rb#69 def split; end - # source://rbs/lib/rbs/namespace.rb#75 + # source://rbs//lib/rbs/namespace.rb#75 def to_s; end - # source://rbs/lib/rbs/namespace.rb#84 + # source://rbs//lib/rbs/namespace.rb#84 def to_type_name; end class << self - # source://rbs/lib/rbs/namespace.rb#12 + # source://rbs//lib/rbs/namespace.rb#12 def empty; end - # source://rbs/lib/rbs/namespace.rb#93 + # source://rbs//lib/rbs/namespace.rb#93 def parse(string); end - # source://rbs/lib/rbs/namespace.rb#16 + # source://rbs//lib/rbs/namespace.rb#16 def root; end end end -# source://rbs/lib/rbs/errors.rb#229 +# source://rbs//lib/rbs/errors.rb#229 class RBS::NoMixinFoundError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [NoMixinFoundError] a new instance of NoMixinFoundError # - # source://rbs/lib/rbs/errors.rb#235 + # source://rbs//lib/rbs/errors.rb#235 def initialize(type_name:, member:); end - # source://rbs/lib/rbs/errors.rb#242 + # source://rbs//lib/rbs/errors.rb#242 def location; end # Returns the value of attribute member. # - # source://rbs/lib/rbs/errors.rb#233 + # source://rbs//lib/rbs/errors.rb#233 def member; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#232 + # source://rbs//lib/rbs/errors.rb#232 def type_name; end class << self - # source://rbs/lib/rbs/errors.rb#246 + # source://rbs//lib/rbs/errors.rb#246 def check!(type_name, env:, member:); end end end -# source://rbs/lib/rbs/errors.rb#210 +# source://rbs//lib/rbs/errors.rb#210 class RBS::NoSelfTypeFoundError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [NoSelfTypeFoundError] a new instance of NoSelfTypeFoundError # - # source://rbs/lib/rbs/errors.rb#216 + # source://rbs//lib/rbs/errors.rb#216 def initialize(type_name:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#214 + # source://rbs//lib/rbs/errors.rb#214 def location; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#213 + # source://rbs//lib/rbs/errors.rb#213 def type_name; end class << self - # source://rbs/lib/rbs/errors.rb#223 + # source://rbs//lib/rbs/errors.rb#223 def check!(self_type, env:); end end end -# source://rbs/lib/rbs/errors.rb#167 +# source://rbs//lib/rbs/errors.rb#167 class RBS::NoSuperclassFoundError < ::RBS::DefinitionError # @return [NoSuperclassFoundError] a new instance of NoSuperclassFoundError # - # source://rbs/lib/rbs/errors.rb#171 + # source://rbs//lib/rbs/errors.rb#171 def initialize(type_name:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#169 + # source://rbs//lib/rbs/errors.rb#169 def location; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#168 + # source://rbs//lib/rbs/errors.rb#168 def type_name; end class << self - # source://rbs/lib/rbs/errors.rb#178 + # source://rbs//lib/rbs/errors.rb#178 def check!(type_name, env:, location:); end end end -# source://rbs/lib/rbs/errors.rb#148 +# source://rbs//lib/rbs/errors.rb#148 class RBS::NoTypeFoundError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [NoTypeFoundError] a new instance of NoTypeFoundError # - # source://rbs/lib/rbs/errors.rb#154 + # source://rbs//lib/rbs/errors.rb#154 def initialize(type_name:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#152 + # source://rbs//lib/rbs/errors.rb#152 def location; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#151 + # source://rbs//lib/rbs/errors.rb#151 def type_name; end class << self - # source://rbs/lib/rbs/errors.rb#161 + # source://rbs//lib/rbs/errors.rb#161 def check!(type_name, env:, location:); end end end -# source://rbs/lib/rbs/errors.rb#500 +# source://rbs//lib/rbs/errors.rb#500 class RBS::NonregularTypeAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [NonregularTypeAliasError] a new instance of NonregularTypeAliasError # - # source://rbs/lib/rbs/errors.rb#506 + # source://rbs//lib/rbs/errors.rb#506 def initialize(diagnostic:, location:); end # Returns the value of attribute diagnostic. # - # source://rbs/lib/rbs/errors.rb#503 + # source://rbs//lib/rbs/errors.rb#503 def diagnostic; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#504 + # source://rbs//lib/rbs/errors.rb#504 def location; end end -# source://rbs/lib/rbs/parser/lex_result.rb#4 +# source://rbs//lib/rbs/parser/lex_result.rb#4 class RBS::Parser class << self def _lex(_arg0, _arg1); end @@ -4105,1468 +4187,1488 @@ class RBS::Parser def _parse_signature(_arg0, _arg1); end def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4); end - # source://rbs/lib/rbs/parser_aux.rb#34 + # source://rbs//lib/rbs/parser_aux.rb#34 def buffer(source); end - # source://rbs/lib/rbs/parser_aux.rb#25 + # source://rbs//lib/rbs/parser_aux.rb#25 def lex(source); end - # source://rbs/lib/rbs/parser_aux.rb#13 + # source://rbs//lib/rbs/parser_aux.rb#13 def parse_method_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end - # source://rbs/lib/rbs/parser_aux.rb#18 + # source://rbs//lib/rbs/parser_aux.rb#18 def parse_signature(source); end - # source://rbs/lib/rbs/parser_aux.rb#8 + # source://rbs//lib/rbs/parser_aux.rb#8 def parse_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end end end -# source://rbs/lib/rbs/parser_aux.rb#43 +# source://rbs//lib/rbs/parser_aux.rb#43 RBS::Parser::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://rbs/lib/rbs/parser/lex_result.rb#5 +# source://rbs//lib/rbs/parser/lex_result.rb#5 class RBS::Parser::LexResult # @return [LexResult] a new instance of LexResult # - # source://rbs/lib/rbs/parser/lex_result.rb#9 + # source://rbs//lib/rbs/parser/lex_result.rb#9 def initialize(buffer:, value:); end # Returns the value of attribute buffer. # - # source://rbs/lib/rbs/parser/lex_result.rb#6 + # source://rbs//lib/rbs/parser/lex_result.rb#6 def buffer; end # Returns the value of attribute value. # - # source://rbs/lib/rbs/parser/lex_result.rb#7 + # source://rbs//lib/rbs/parser/lex_result.rb#7 def value; end end -# source://rbs/lib/rbs/parser/token.rb#5 +# source://rbs//lib/rbs/parser/token.rb#5 class RBS::Parser::Token # @return [Token] a new instance of Token # - # source://rbs/lib/rbs/parser/token.rb#9 + # source://rbs//lib/rbs/parser/token.rb#9 def initialize(type:, location:); end # @return [Boolean] # - # source://rbs/lib/rbs/parser/token.rb#18 + # source://rbs//lib/rbs/parser/token.rb#18 def comment?; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/parser/token.rb#7 + # source://rbs//lib/rbs/parser/token.rb#7 def location; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/parser/token.rb#6 + # source://rbs//lib/rbs/parser/token.rb#6 def type; end - # source://rbs/lib/rbs/parser/token.rb#14 + # source://rbs//lib/rbs/parser/token.rb#14 def value; end end -# source://rbs/lib/rbs/errors.rb#51 +# source://rbs//lib/rbs/errors.rb#51 class RBS::ParsingError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [ParsingError] a new instance of ParsingError # - # source://rbs/lib/rbs/errors.rb#58 + # source://rbs//lib/rbs/errors.rb#58 def initialize(location, error_message, token_type); end # Returns the value of attribute error_message. # - # source://rbs/lib/rbs/errors.rb#55 + # source://rbs//lib/rbs/errors.rb#55 def error_message; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#54 + # source://rbs//lib/rbs/errors.rb#54 def location; end # Returns the value of attribute token_type. # - # source://rbs/lib/rbs/errors.rb#56 + # source://rbs//lib/rbs/errors.rb#56 def token_type; end end -# source://rbs/lib/rbs/prototype/helpers.rb#4 +# source://rbs//lib/rbs/prototype/helpers.rb#4 module RBS::Prototype; end -# source://rbs/lib/rbs/prototype/helpers.rb#5 +# source://rbs//lib/rbs/prototype/helpers.rb#5 module RBS::Prototype::Helpers private # @return [Boolean] # - # source://rbs/lib/rbs/prototype/helpers.rb#96 + # source://rbs//lib/rbs/prototype/helpers.rb#96 def any_node?(node, nodes: T.unsafe(nil), &block); end # NOTE: args_node may be a nil by a bug # https://bugs.ruby-lang.org/issues/17495 # - # source://rbs/lib/rbs/prototype/helpers.rb#120 + # source://rbs//lib/rbs/prototype/helpers.rb#120 def args_from_node(args_node); end - # source://rbs/lib/rbs/prototype/helpers.rb#8 + # source://rbs//lib/rbs/prototype/helpers.rb#8 def block_from_body(node); end - # source://rbs/lib/rbs/prototype/helpers.rb#84 + # source://rbs//lib/rbs/prototype/helpers.rb#84 def each_child(node, &block); end - # source://rbs/lib/rbs/prototype/helpers.rb#88 + # source://rbs//lib/rbs/prototype/helpers.rb#88 def each_node(nodes); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/helpers.rb#108 + # source://rbs//lib/rbs/prototype/helpers.rb#108 def keyword_hash?(node); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/helpers.rb#124 + # source://rbs//lib/rbs/prototype/helpers.rb#124 def symbol_literal_node?(node); end - # source://rbs/lib/rbs/prototype/helpers.rb#135 + # source://rbs//lib/rbs/prototype/helpers.rb#135 def untyped; end end -# source://rbs/lib/rbs/prototype/node_usage.rb#5 +# source://rbs//lib/rbs/prototype/node_usage.rb#5 class RBS::Prototype::NodeUsage include ::RBS::Prototype::Helpers # @return [NodeUsage] a new instance of NodeUsage # - # source://rbs/lib/rbs/prototype/node_usage.rb#10 + # source://rbs//lib/rbs/prototype/node_usage.rb#10 def initialize(node); end - # source://rbs/lib/rbs/prototype/node_usage.rb#25 + # source://rbs//lib/rbs/prototype/node_usage.rb#25 def calculate(node, conditional:); end # Returns the value of attribute conditional_nodes. # - # source://rbs/lib/rbs/prototype/node_usage.rb#8 + # source://rbs//lib/rbs/prototype/node_usage.rb#8 def conditional_nodes; end - # source://rbs/lib/rbs/prototype/node_usage.rb#17 + # source://rbs//lib/rbs/prototype/node_usage.rb#17 def each_conditional_node(&block); end end -# source://rbs/lib/rbs/prototype/rb.rb#5 +# source://rbs//lib/rbs/prototype/rb.rb#5 class RBS::Prototype::RB include ::RBS::Prototype::Helpers # @return [RB] a new instance of RB # - # source://rbs/lib/rbs/prototype/rb.rb#45 + # source://rbs//lib/rbs/prototype/rb.rb#45 def initialize; end - # source://rbs/lib/rbs/prototype/rb.rb#560 + # source://rbs//lib/rbs/prototype/rb.rb#560 def block_type(node); end - # source://rbs/lib/rbs/prototype/rb.rb#540 + # source://rbs//lib/rbs/prototype/rb.rb#540 def body_type(node); end - # source://rbs/lib/rbs/prototype/rb.rb#455 + # source://rbs//lib/rbs/prototype/rb.rb#455 def const_to_name(node, context:); end - # source://rbs/lib/rbs/prototype/rb.rb#432 + # source://rbs//lib/rbs/prototype/rb.rb#432 def const_to_name!(node, context: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rb.rb#771 + # source://rbs//lib/rbs/prototype/rb.rb#771 def current_accessibility(decls, index = T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rb.rb#49 + # source://rbs//lib/rbs/prototype/rb.rb#49 def decls; end - # source://rbs/lib/rbs/prototype/rb.rb#811 + # source://rbs//lib/rbs/prototype/rb.rb#811 def find_def_index_by_name(decls, name); end - # source://rbs/lib/rbs/prototype/rb.rb#535 + # source://rbs//lib/rbs/prototype/rb.rb#535 def function_return_type_from_body(node); end - # source://rbs/lib/rbs/prototype/rb.rb#477 + # source://rbs//lib/rbs/prototype/rb.rb#477 def function_type_from_body(node, def_name); end - # source://rbs/lib/rbs/prototype/rb.rb#553 + # source://rbs//lib/rbs/prototype/rb.rb#553 def if_unless_type(node); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/rb.rb#807 + # source://rbs//lib/rbs/prototype/rb.rb#807 def is_accessibility?(decl); end - # source://rbs/lib/rbs/prototype/rb.rb#466 + # source://rbs//lib/rbs/prototype/rb.rb#466 def literal_to_symbol(node); end - # source://rbs/lib/rbs/prototype/rb.rb#574 + # source://rbs//lib/rbs/prototype/rb.rb#574 def literal_to_type(node); end # backward compatible # - # source://rbs/lib/rbs/prototype/rb.rb#718 + # source://rbs//lib/rbs/prototype/rb.rb#761 def node_type(node, default: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rb.rb#718 + # source://rbs//lib/rbs/prototype/rb.rb#718 def param_type(node, default: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rb.rb#75 + # source://rbs//lib/rbs/prototype/rb.rb#75 def parse(string); end - # source://rbs/lib/rbs/prototype/rb.rb#763 + # source://rbs//lib/rbs/prototype/rb.rb#763 def private; end - # source://rbs/lib/rbs/prototype/rb.rb#107 + # source://rbs//lib/rbs/prototype/rb.rb#107 def process(node, decls:, comments:, context:); end - # source://rbs/lib/rbs/prototype/rb.rb#426 + # source://rbs//lib/rbs/prototype/rb.rb#426 def process_children(node, decls:, comments:, context:); end - # source://rbs/lib/rbs/prototype/rb.rb#767 + # source://rbs//lib/rbs/prototype/rb.rb#767 def public; end - # source://rbs/lib/rbs/prototype/rb.rb#698 + # source://rbs//lib/rbs/prototype/rb.rb#698 def range_element_type(types); end - # source://rbs/lib/rbs/prototype/rb.rb#781 + # source://rbs//lib/rbs/prototype/rb.rb#781 def remove_unnecessary_accessibility_methods!(decls); end - # source://rbs/lib/rbs/prototype/rb.rb#829 + # source://rbs//lib/rbs/prototype/rb.rb#829 def sort_members!(decls); end # Returns the value of attribute source_decls. # - # source://rbs/lib/rbs/prototype/rb.rb#42 + # source://rbs//lib/rbs/prototype/rb.rb#42 def source_decls; end # Returns the value of attribute toplevel_members. # - # source://rbs/lib/rbs/prototype/rb.rb#43 + # source://rbs//lib/rbs/prototype/rb.rb#43 def toplevel_members; end - # source://rbs/lib/rbs/prototype/rb.rb#687 + # source://rbs//lib/rbs/prototype/rb.rb#687 def types_to_union_type(types); end end -# source://rbs/lib/rbs/prototype/rb.rb#8 +# source://rbs//lib/rbs/prototype/rb.rb#8 class RBS::Prototype::RB::Context < ::Struct - # source://rbs/lib/rbs/prototype/rb.rb#25 + # source://rbs//lib/rbs/prototype/rb.rb#25 def attribute_kind; end - # source://rbs/lib/rbs/prototype/rb.rb#33 + # source://rbs//lib/rbs/prototype/rb.rb#33 def enter_namespace(namespace); end - # source://rbs/lib/rbs/prototype/rb.rb#15 + # source://rbs//lib/rbs/prototype/rb.rb#15 def method_kind; end - # source://rbs/lib/rbs/prototype/rb.rb#37 + # source://rbs//lib/rbs/prototype/rb.rb#37 def update(module_function: T.unsafe(nil), singleton: T.unsafe(nil), in_def: T.unsafe(nil)); end class << self - # source://rbs/lib/rbs/prototype/rb.rb#11 + # source://rbs//lib/rbs/prototype/rb.rb#11 def initial(namespace: T.unsafe(nil)); end end end -# source://rbs/lib/rbs/prototype/rbi.rb#5 +# source://rbs//lib/rbs/prototype/rbi.rb#5 class RBS::Prototype::RBI include ::RBS::Prototype::Helpers # @return [RBI] a new instance of RBI # - # source://rbs/lib/rbs/prototype/rbi.rb#12 + # source://rbs//lib/rbs/prototype/rbi.rb#12 def initialize; end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/rbi.rb#561 + # source://rbs//lib/rbs/prototype/rbi.rb#561 def call_node?(node, name:, receiver: T.unsafe(nil), args: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rbi.rb#565 + # source://rbs//lib/rbs/prototype/rbi.rb#565 def const_to_name(node); end - # source://rbs/lib/rbs/prototype/rbi.rb#90 + # source://rbs//lib/rbs/prototype/rbi.rb#90 def current_module; end - # source://rbs/lib/rbs/prototype/rbi.rb#94 + # source://rbs//lib/rbs/prototype/rbi.rb#94 def current_module!; end - # source://rbs/lib/rbs/prototype/rbi.rb#46 + # source://rbs//lib/rbs/prototype/rbi.rb#46 def current_namespace; end # Returns the value of attribute decls. # - # source://rbs/lib/rbs/prototype/rbi.rb#8 + # source://rbs//lib/rbs/prototype/rbi.rb#8 def decls; end - # source://rbs/lib/rbs/prototype/rbi.rb#601 + # source://rbs//lib/rbs/prototype/rbi.rb#601 def each_arg(array, &block); end - # source://rbs/lib/rbs/prototype/rbi.rb#615 + # source://rbs//lib/rbs/prototype/rbi.rb#615 def each_child(node); end - # source://rbs/lib/rbs/prototype/rbi.rb#112 + # source://rbs//lib/rbs/prototype/rbi.rb#112 def join_comments(nodes, comments); end # Returns the value of attribute last_sig. # - # source://rbs/lib/rbs/prototype/rbi.rb#10 + # source://rbs//lib/rbs/prototype/rbi.rb#10 def last_sig; end - # source://rbs/lib/rbs/prototype/rbi.rb#279 + # source://rbs//lib/rbs/prototype/rbi.rb#279 def method_type(args_node, type_node, variables:, overloads:); end # Returns the value of attribute modules. # - # source://rbs/lib/rbs/prototype/rbi.rb#9 + # source://rbs//lib/rbs/prototype/rbi.rb#9 def modules; end - # source://rbs/lib/rbs/prototype/rbi.rb#42 + # source://rbs//lib/rbs/prototype/rbi.rb#42 def nested_name(name); end - # source://rbs/lib/rbs/prototype/rbi.rb#623 + # source://rbs//lib/rbs/prototype/rbi.rb#623 def node_to_hash(node); end - # source://rbs/lib/rbs/prototype/rbi.rb#18 + # source://rbs//lib/rbs/prototype/rbi.rb#18 def parse(string); end - # source://rbs/lib/rbs/prototype/rbi.rb#351 + # source://rbs//lib/rbs/prototype/rbi.rb#351 def parse_params(args_node, args, method_type, variables:, overloads:); end - # source://rbs/lib/rbs/prototype/rbi.rb#106 + # source://rbs//lib/rbs/prototype/rbi.rb#106 def pop_sig; end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/rbi.rb#553 + # source://rbs//lib/rbs/prototype/rbi.rb#553 def proc_type?(type_node); end - # source://rbs/lib/rbs/prototype/rbi.rb#117 + # source://rbs//lib/rbs/prototype/rbi.rb#117 def process(node, comments:, outer: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/rbi.rb#52 + # source://rbs//lib/rbs/prototype/rbi.rb#52 def push_class(name, super_class, comment:); end - # source://rbs/lib/rbs/prototype/rbi.rb#71 + # source://rbs//lib/rbs/prototype/rbi.rb#71 def push_module(name, comment:); end - # source://rbs/lib/rbs/prototype/rbi.rb#98 + # source://rbs//lib/rbs/prototype/rbi.rb#98 def push_sig(node); end - # source://rbs/lib/rbs/prototype/rbi.rb#476 + # source://rbs//lib/rbs/prototype/rbi.rb#476 def type_of(type_node, variables:); end - # source://rbs/lib/rbs/prototype/rbi.rb#489 + # source://rbs//lib/rbs/prototype/rbi.rb#489 def type_of0(type_node, variables:); end end -# source://rbs/lib/rbs/prototype/runtime/helpers.rb#5 +# source://rbs//lib/rbs/prototype/runtime/helpers.rb#5 class RBS::Prototype::Runtime include ::RBS::Prototype::Helpers include ::RBS::Prototype::Runtime::Helpers # @return [Runtime] a new instance of Runtime # - # source://rbs/lib/rbs/prototype/runtime.rb#71 + # source://rbs//lib/rbs/prototype/runtime.rb#71 def initialize(patterns:, env:, merge:, todo: T.unsafe(nil), owners_included: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/runtime.rb#651 + # source://rbs//lib/rbs/prototype/runtime.rb#651 def block_from_ast_of(method); end - # source://rbs/lib/rbs/prototype/runtime.rb#101 + # source://rbs//lib/rbs/prototype/runtime.rb#101 def builder; end - # source://rbs/lib/rbs/prototype/runtime.rb#109 + # source://rbs//lib/rbs/prototype/runtime.rb#109 def decls; end # Generate/find outer module declarations # This is broken down into another method to comply with `DRY` # This generates/finds declarations in nested form & returns the last array of declarations # - # source://rbs/lib/rbs/prototype/runtime.rb#580 + # source://rbs//lib/rbs/prototype/runtime.rb#580 def ensure_outer_module_declarations(mod); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/prototype/runtime.rb#65 + # source://rbs//lib/rbs/prototype/runtime.rb#65 def env; end - # source://rbs/lib/rbs/prototype/runtime.rb#485 + # source://rbs//lib/rbs/prototype/runtime.rb#485 def generate_class(mod); end - # source://rbs/lib/rbs/prototype/runtime.rb#423 + # source://rbs//lib/rbs/prototype/runtime.rb#423 def generate_constants(mod, decls); end - # source://rbs/lib/rbs/prototype/runtime.rb#299 + # source://rbs//lib/rbs/prototype/runtime.rb#299 def generate_methods(mod, module_name, members); end - # source://rbs/lib/rbs/prototype/runtime.rb#562 + # source://rbs//lib/rbs/prototype/runtime.rb#562 def generate_mixin(mod, decl, type_name, type_name_absolute); end - # source://rbs/lib/rbs/prototype/runtime.rb#524 + # source://rbs//lib/rbs/prototype/runtime.rb#524 def generate_module(mod); end - # source://rbs/lib/rbs/prototype/runtime.rb#470 + # source://rbs//lib/rbs/prototype/runtime.rb#470 def generate_super_class(mod); end # Returns the value of attribute merge. # - # source://rbs/lib/rbs/prototype/runtime.rb#66 + # source://rbs//lib/rbs/prototype/runtime.rb#66 def merge; end - # source://rbs/lib/rbs/prototype/runtime.rb#240 + # source://rbs//lib/rbs/prototype/runtime.rb#240 def merge_rbs(module_name, members, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/runtime.rb#171 + # source://rbs//lib/rbs/prototype/runtime.rb#171 def method_type(method); end # Returns the value of attribute outline. # - # source://rbs/lib/rbs/prototype/runtime.rb#69 + # source://rbs//lib/rbs/prototype/runtime.rb#69 def outline; end # Sets the attribute outline # # @param value the value to set the attribute outline to. # - # source://rbs/lib/rbs/prototype/runtime.rb#69 + # source://rbs//lib/rbs/prototype/runtime.rb#69 def outline=(_arg0); end # Returns the value of attribute owners_included. # - # source://rbs/lib/rbs/prototype/runtime.rb#68 + # source://rbs//lib/rbs/prototype/runtime.rb#68 def owners_included; end - # source://rbs/lib/rbs/prototype/runtime.rb#105 + # source://rbs//lib/rbs/prototype/runtime.rb#105 def parse(file); end # Returns the value of attribute patterns. # - # source://rbs/lib/rbs/prototype/runtime.rb#64 + # source://rbs//lib/rbs/prototype/runtime.rb#64 def patterns; end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#84 + # source://rbs//lib/rbs/prototype/runtime.rb#84 def target?(const); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#286 + # source://rbs//lib/rbs/prototype/runtime.rb#286 def target_method?(mod, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end # Returns the value of attribute todo. # - # source://rbs/lib/rbs/prototype/runtime.rb#67 + # source://rbs//lib/rbs/prototype/runtime.rb#67 def todo; end - # source://rbs/lib/rbs/prototype/runtime.rb#97 + # source://rbs//lib/rbs/prototype/runtime.rb#97 def todo_object; end - # source://rbs/lib/rbs/prototype/runtime.rb#634 + # source://rbs//lib/rbs/prototype/runtime.rb#634 def type_args(type_name); end - # source://rbs/lib/rbs/prototype/runtime.rb#642 + # source://rbs//lib/rbs/prototype/runtime.rb#642 def type_params(mod); end private # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#413 + # source://rbs//lib/rbs/prototype/runtime.rb#413 def can_alias?(mod, method); end - # source://rbs/lib/rbs/prototype/runtime.rb#129 + # source://rbs//lib/rbs/prototype/runtime.rb#129 def each_mixined_module(type_name, mod); end - # source://rbs/lib/rbs/prototype/runtime.rb#138 + # source://rbs//lib/rbs/prototype/runtime.rb#138 def each_mixined_module_one(type_name, mod); end end -# source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#213 +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#213 class RBS::Prototype::Runtime::DataGenerator < ::RBS::Prototype::Runtime::ValueObjectBase private - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#229 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#229 def add_decl_members(decl); end # def self.new: (untyped foo, untyped bar) -> instance # | (foo: untyped, bar: untyped) -> instance # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#237 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#237 def build_s_new; end - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#225 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#225 def build_super_class; end class << self # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#214 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#214 def generatable?(target); end end end -# source://rbs/lib/rbs/prototype/runtime/helpers.rb#6 +# source://rbs//lib/rbs/prototype/runtime/helpers.rb#6 module RBS::Prototype::Runtime::Helpers private - # source://rbs/lib/rbs/prototype/runtime/helpers.rb#19 + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#19 def const_name(const); end - # source://rbs/lib/rbs/prototype/runtime/helpers.rb#15 + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#15 def const_name!(const); end # Returns the exact name & not compactly declared name # - # source://rbs/lib/rbs/prototype/runtime/helpers.rb#10 + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#10 def only_name(mod); end - # source://rbs/lib/rbs/prototype/runtime/helpers.rb#37 + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#37 def to_type_name(name, full_name: T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/runtime/helpers.rb#53 + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#53 def untyped; end end -# source://rbs/lib/rbs/prototype/runtime/reflection.rb#6 +# source://rbs//lib/rbs/prototype/runtime/reflection.rb#6 module RBS::Prototype::Runtime::Reflection class << self - # source://rbs/lib/rbs/prototype/runtime/reflection.rb#12 + # source://rbs//lib/rbs/prototype/runtime/reflection.rb#12 def constants_of(mod, inherit = T.unsafe(nil)); end - # source://rbs/lib/rbs/prototype/runtime/reflection.rb#7 + # source://rbs//lib/rbs/prototype/runtime/reflection.rb#7 def object_class(value); end end end -# source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#91 +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#91 class RBS::Prototype::Runtime::StructGenerator < ::RBS::Prototype::Runtime::ValueObjectBase private - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#108 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#108 def add_decl_members(decl); end - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#165 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#165 def build_overload_for_keyword_arguments; end - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#151 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#151 def build_overload_for_positional_arguments; end # def self.keyword_init?: () -> bool? # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#180 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#180 def build_s_keyword_init_p; end # def self.new: (?untyped foo, ?untyped bar) -> instance # | (?foo: untyped, ?bar: untyped) -> instance # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#117 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#117 def build_s_new; end - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#104 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#104 def build_super_class; end class << self # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#92 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#92 def generatable?(target); end end end -# source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#102 +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#102 RBS::Prototype::Runtime::StructGenerator::CAN_CALL_KEYWORD_INIT_P = T.let(T.unsafe(nil), TrueClass) -# source://rbs/lib/rbs/prototype/runtime.rb#10 +# source://rbs//lib/rbs/prototype/runtime.rb#10 class RBS::Prototype::Runtime::Todo # @return [Todo] a new instance of Todo # - # source://rbs/lib/rbs/prototype/runtime.rb#11 + # source://rbs//lib/rbs/prototype/runtime.rb#11 def initialize(builder:); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#42 + # source://rbs//lib/rbs/prototype/runtime.rb#42 def skip_constant?(module_name:, name:); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#33 + # source://rbs//lib/rbs/prototype/runtime.rb#33 def skip_instance_method?(module_name:, method:, accessibility:); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#15 + # source://rbs//lib/rbs/prototype/runtime.rb#15 def skip_mixin?(type_name:, module_name:, mixin_class:); end # @return [Boolean] # - # source://rbs/lib/rbs/prototype/runtime.rb#24 + # source://rbs//lib/rbs/prototype/runtime.rb#24 def skip_singleton_method?(module_name:, method:, accessibility:); end private - # source://rbs/lib/rbs/prototype/runtime.rb#49 + # source://rbs//lib/rbs/prototype/runtime.rb#49 def mixin_decls(type_name); end end -# source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#8 +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#8 class RBS::Prototype::Runtime::ValueObjectBase include ::RBS::Prototype::Runtime::Helpers # @return [ValueObjectBase] a new instance of ValueObjectBase # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#11 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#11 def initialize(target_class); end - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#15 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#15 def build_decl; end private # attr_accessor foo: untyped # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#74 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#74 def build_member_accessors(ast_members_class); end # def self.members: () -> [ :foo, :bar ] # def members: () -> [ :foo, :bar ] # - # source://rbs/lib/rbs/prototype/runtime/value_object_generator.rb#35 + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#35 def build_s_members; end end -# source://rbs/lib/rdoc_plugin/parser.rb#6 +# source://rbs//lib/rdoc_plugin/parser.rb#6 module RBS::RDocPlugin; end -# source://rbs/lib/rdoc_plugin/parser.rb#7 +# source://rbs//lib/rdoc_plugin/parser.rb#7 class RBS::RDocPlugin::Parser # @return [Parser] a new instance of Parser # - # source://rbs/lib/rdoc_plugin/parser.rb#11 + # source://rbs//lib/rdoc_plugin/parser.rb#11 def initialize(top_level, content); end # Returns the value of attribute content. # - # source://rbs/lib/rdoc_plugin/parser.rb#9 + # source://rbs//lib/rdoc_plugin/parser.rb#9 def content; end # Sets the attribute content # # @param value the value to set the attribute content to. # - # source://rbs/lib/rdoc_plugin/parser.rb#9 + # source://rbs//lib/rdoc_plugin/parser.rb#9 def content=(_arg0); end - # source://rbs/lib/rdoc_plugin/parser.rb#94 + # source://rbs//lib/rdoc_plugin/parser.rb#94 def parse_attr_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#53 + # source://rbs//lib/rdoc_plugin/parser.rb#53 def parse_class_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#67 + # source://rbs//lib/rdoc_plugin/parser.rb#67 def parse_constant_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#125 + # source://rbs//lib/rdoc_plugin/parser.rb#125 def parse_extend_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#109 + # source://rbs//lib/rdoc_plugin/parser.rb#109 def parse_include_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#24 + # source://rbs//lib/rdoc_plugin/parser.rb#24 def parse_member(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#88 + # source://rbs//lib/rdoc_plugin/parser.rb#88 def parse_method_alias_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#73 + # source://rbs//lib/rdoc_plugin/parser.rb#73 def parse_method_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#60 + # source://rbs//lib/rdoc_plugin/parser.rb#60 def parse_module_decl(decl:, context:, outer_name: T.unsafe(nil)); end - # source://rbs/lib/rdoc_plugin/parser.rb#16 + # source://rbs//lib/rdoc_plugin/parser.rb#16 def scan; end # Returns the value of attribute top_level. # - # source://rbs/lib/rdoc_plugin/parser.rb#9 + # source://rbs//lib/rdoc_plugin/parser.rb#9 def top_level; end # Sets the attribute top_level # # @param value the value to set the attribute top_level to. # - # source://rbs/lib/rdoc_plugin/parser.rb#9 + # source://rbs//lib/rdoc_plugin/parser.rb#9 def top_level=(_arg0); end private - # source://rbs/lib/rdoc_plugin/parser.rb#149 + # source://rbs//lib/rdoc_plugin/parser.rb#149 def comment_string(with_comment); end - # source://rbs/lib/rdoc_plugin/parser.rb#143 + # source://rbs//lib/rdoc_plugin/parser.rb#143 def construct_comment(context:, comment:); end - # source://rbs/lib/rdoc_plugin/parser.rb#154 + # source://rbs//lib/rdoc_plugin/parser.rb#154 def fully_qualified_name(outer_name:, decl:); end end -# source://rbs/lib/rbs/errors.rb#423 +# source://rbs//lib/rbs/errors.rb#423 class RBS::RecursiveAliasDefinitionError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [RecursiveAliasDefinitionError] a new instance of RecursiveAliasDefinitionError # - # source://rbs/lib/rbs/errors.rb#429 + # source://rbs//lib/rbs/errors.rb#429 def initialize(type:, defs:); end # Returns the value of attribute defs. # - # source://rbs/lib/rbs/errors.rb#427 + # source://rbs//lib/rbs/errors.rb#427 def defs; end - # source://rbs/lib/rbs/errors.rb#436 + # source://rbs//lib/rbs/errors.rb#436 def location; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/errors.rb#426 + # source://rbs//lib/rbs/errors.rb#426 def type; end end -# source://rbs/lib/rbs/errors.rb#110 +# source://rbs//lib/rbs/errors.rb#110 class RBS::RecursiveAncestorError < ::RBS::DefinitionError # @return [RecursiveAncestorError] a new instance of RecursiveAncestorError # - # source://rbs/lib/rbs/errors.rb#114 + # source://rbs//lib/rbs/errors.rb#114 def initialize(ancestors:, location:); end # Returns the value of attribute ancestors. # - # source://rbs/lib/rbs/errors.rb#111 + # source://rbs//lib/rbs/errors.rb#111 def ancestors; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#112 + # source://rbs//lib/rbs/errors.rb#112 def location; end class << self - # source://rbs/lib/rbs/errors.rb#134 + # source://rbs//lib/rbs/errors.rb#134 def check!(self_ancestor, ancestors:, location:); end end end -# source://rbs/lib/rbs/errors.rb#482 +# source://rbs//lib/rbs/errors.rb#482 class RBS::RecursiveTypeAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [RecursiveTypeAliasError] a new instance of RecursiveTypeAliasError # - # source://rbs/lib/rbs/errors.rb#488 + # source://rbs//lib/rbs/errors.rb#488 def initialize(alias_names:, location:); end # Returns the value of attribute alias_names. # - # source://rbs/lib/rbs/errors.rb#485 + # source://rbs//lib/rbs/errors.rb#485 def alias_names; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#486 + # source://rbs//lib/rbs/errors.rb#486 def location; end - # source://rbs/lib/rbs/errors.rb#495 + # source://rbs//lib/rbs/errors.rb#495 def name; end end -# source://rbs/lib/rbs/repository.rb#4 +# source://rbs//lib/rbs/repository.rb#4 class RBS::Repository # @return [Repository] a new instance of Repository # - # source://rbs/lib/rbs/repository.rb#74 + # source://rbs//lib/rbs/repository.rb#74 def initialize(no_stdlib: T.unsafe(nil)); end - # source://rbs/lib/rbs/repository.rb#98 + # source://rbs//lib/rbs/repository.rb#98 def add(dir); end # Returns the value of attribute dirs. # - # source://rbs/lib/rbs/repository.rb#71 + # source://rbs//lib/rbs/repository.rb#71 def dirs; end # Returns the value of attribute gems. # - # source://rbs/lib/rbs/repository.rb#72 + # source://rbs//lib/rbs/repository.rb#72 def gems; end - # source://rbs/lib/rbs/repository.rb#108 + # source://rbs//lib/rbs/repository.rb#108 def lookup(gem, version); end - # source://rbs/lib/rbs/repository.rb#113 + # source://rbs//lib/rbs/repository.rb#113 def lookup_path(gem, version); end class << self - # source://rbs/lib/rbs/repository.rb#83 + # source://rbs//lib/rbs/repository.rb#83 def default; end - # source://rbs/lib/rbs/repository.rb#87 + # source://rbs//lib/rbs/repository.rb#87 def find_best_version(version, candidates); end end end -# source://rbs/lib/rbs/repository.rb#5 +# source://rbs//lib/rbs/repository.rb#5 RBS::Repository::DEFAULT_STDLIB_ROOT = T.let(T.unsafe(nil), Pathname) -# source://rbs/lib/rbs/repository.rb#7 +# source://rbs//lib/rbs/repository.rb#7 class RBS::Repository::GemRBS # @return [GemRBS] a new instance of GemRBS # - # source://rbs/lib/rbs/repository.rb#11 + # source://rbs//lib/rbs/repository.rb#11 def initialize(name:); end # @return [Boolean] # - # source://rbs/lib/rbs/repository.rb#64 + # source://rbs//lib/rbs/repository.rb#64 def empty?; end - # source://rbs/lib/rbs/repository.rb#59 + # source://rbs//lib/rbs/repository.rb#59 def find_best_version(version); end - # source://rbs/lib/rbs/repository.rb#54 + # source://rbs//lib/rbs/repository.rb#54 def latest_version; end - # source://rbs/lib/rbs/repository.rb#22 + # source://rbs//lib/rbs/repository.rb#22 def load!; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/repository.rb#8 + # source://rbs//lib/rbs/repository.rb#8 def name; end - # source://rbs/lib/rbs/repository.rb#49 + # source://rbs//lib/rbs/repository.rb#49 def oldest_version; end # Returns the value of attribute paths. # - # source://rbs/lib/rbs/repository.rb#9 + # source://rbs//lib/rbs/repository.rb#9 def paths; end - # source://rbs/lib/rbs/repository.rb#45 + # source://rbs//lib/rbs/repository.rb#45 def version_names; end - # source://rbs/lib/rbs/repository.rb#17 + # source://rbs//lib/rbs/repository.rb#17 def versions; end end -# source://rbs/lib/rbs/repository.rb#69 +# source://rbs//lib/rbs/repository.rb#69 class RBS::Repository::VersionPath < ::Struct + # source://rbs//lib/rbs/repository.rb#69 def gem; end + + # source://rbs//lib/rbs/repository.rb#69 def gem=(_); end + + # source://rbs//lib/rbs/repository.rb#69 def path; end + + # source://rbs//lib/rbs/repository.rb#69 def path=(_); end + + # source://rbs//lib/rbs/repository.rb#69 def version; end + + # source://rbs//lib/rbs/repository.rb#69 def version=(_); end class << self + # source://rbs//lib/rbs/repository.rb#69 def [](*_arg0); end + + # source://rbs//lib/rbs/repository.rb#69 def inspect; end + + # source://rbs//lib/rbs/repository.rb#69 def keyword_init?; end + + # source://rbs//lib/rbs/repository.rb#69 def members; end + + # source://rbs//lib/rbs/repository.rb#69 def new(*_arg0); end end end -# source://rbs/lib/rbs/resolver/constant_resolver.rb#4 +# source://rbs//lib/rbs/resolver/constant_resolver.rb#4 module RBS::Resolver; end -# source://rbs/lib/rbs/resolver/constant_resolver.rb#5 +# source://rbs//lib/rbs/resolver/constant_resolver.rb#5 class RBS::Resolver::ConstantResolver # @return [ConstantResolver] a new instance of ConstantResolver # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#88 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#88 def initialize(builder:); end # Returns the value of attribute builder. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#85 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#85 def builder; end # Returns the value of attribute child_constants_cache. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#86 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#86 def child_constants_cache; end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#112 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#112 def children(module_name); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#100 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#100 def constants(context); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#178 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#178 def constants_from_ancestors(module_name, constants:); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#163 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#163 def constants_from_context(context, constants:); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#201 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#201 def constants_itself(context, constants:); end # Returns the value of attribute context_constants_cache. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#86 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#86 def context_constants_cache; end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#138 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#138 def load_child_constants(name); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#122 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#122 def load_context_constants(context); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#95 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#95 def resolve(name, context:); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#108 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#108 def resolve_child(module_name, name); end # Returns the value of attribute table. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#85 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#85 def table; end end -# source://rbs/lib/rbs/resolver/constant_resolver.rb#6 +# source://rbs//lib/rbs/resolver/constant_resolver.rb#6 class RBS::Resolver::ConstantResolver::Table # @return [Table] a new instance of Table # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#10 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#10 def initialize(environment); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#63 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#63 def children(name); end # Returns the value of attribute children_table. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#7 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#7 def children_table; end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#67 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#67 def constant(name); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#80 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#80 def constant_of_constant(name, entry); end - # source://rbs/lib/rbs/resolver/constant_resolver.rb#71 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#71 def constant_of_module(name, entry); end # Returns the value of attribute constants_table. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#8 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#8 def constants_table; end # Returns the value of attribute toplevel. # - # source://rbs/lib/rbs/resolver/constant_resolver.rb#7 + # source://rbs//lib/rbs/resolver/constant_resolver.rb#7 def toplevel; end end -# source://rbs/lib/rbs/resolver/type_name_resolver.rb#5 +# source://rbs//lib/rbs/resolver/type_name_resolver.rb#5 class RBS::Resolver::TypeNameResolver # @return [TypeNameResolver] a new instance of TypeNameResolver # - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#10 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#10 def initialize(env); end # Returns the value of attribute all_names. # - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#6 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#6 def all_names; end # Returns the value of attribute cache. # - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#7 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#7 def cache; end # Returns the value of attribute env. # - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#8 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#8 def env; end # @return [Boolean] # - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#84 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#84 def has_name?(full_name); end - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#51 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#51 def partition(type_name); end - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#28 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#28 def resolve(type_name, context:); end - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#69 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#69 def resolve_in(head, context); end - # source://rbs/lib/rbs/resolver/type_name_resolver.rb#21 + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#21 def try_cache(query); end end -# source://rbs/lib/rbs/substitution.rb#4 +# source://rbs//lib/rbs/substitution.rb#4 class RBS::Substitution # @return [Substitution] a new instance of Substitution # - # source://rbs/lib/rbs/substitution.rb#12 + # source://rbs//lib/rbs/substitution.rb#12 def initialize; end - # source://rbs/lib/rbs/substitution.rb#66 + # source://rbs//lib/rbs/substitution.rb#66 def +(other); end - # source://rbs/lib/rbs/substitution.rb#37 + # source://rbs//lib/rbs/substitution.rb#53 def [](ty); end - # source://rbs/lib/rbs/substitution.rb#16 + # source://rbs//lib/rbs/substitution.rb#16 def add(from:, to:); end - # source://rbs/lib/rbs/substitution.rb#37 + # source://rbs//lib/rbs/substitution.rb#37 def apply(ty); end # @return [Boolean] # - # source://rbs/lib/rbs/substitution.rb#8 + # source://rbs//lib/rbs/substitution.rb#8 def empty?; end # Returns the value of attribute instance_type. # - # source://rbs/lib/rbs/substitution.rb#6 + # source://rbs//lib/rbs/substitution.rb#6 def instance_type; end # Sets the attribute instance_type # # @param value the value to set the attribute instance_type to. # - # source://rbs/lib/rbs/substitution.rb#6 + # source://rbs//lib/rbs/substitution.rb#6 def instance_type=(_arg0); end # Returns the value of attribute mapping. # - # source://rbs/lib/rbs/substitution.rb#5 + # source://rbs//lib/rbs/substitution.rb#5 def mapping; end - # source://rbs/lib/rbs/substitution.rb#55 + # source://rbs//lib/rbs/substitution.rb#55 def without(*vars); end class << self - # source://rbs/lib/rbs/substitution.rb#20 + # source://rbs//lib/rbs/substitution.rb#20 def build(variables, types, instance_type: T.unsafe(nil), &block); end end end -# source://rbs/lib/rbs/subtractor.rb#4 +# source://rbs//lib/rbs/subtractor.rb#4 class RBS::Subtractor # @return [Subtractor] a new instance of Subtractor # - # source://rbs/lib/rbs/subtractor.rb#5 + # source://rbs//lib/rbs/subtractor.rb#5 def initialize(minuend, subtrahend); end - # source://rbs/lib/rbs/subtractor.rb#10 + # source://rbs//lib/rbs/subtractor.rb#10 def call(minuend = T.unsafe(nil), context: T.unsafe(nil)); end private - # source://rbs/lib/rbs/subtractor.rb#177 + # source://rbs//lib/rbs/subtractor.rb#177 def absolute_typename(name, context:); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#160 + # source://rbs//lib/rbs/subtractor.rb#160 def access_modifier?(decl); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#118 + # source://rbs//lib/rbs/subtractor.rb#118 def cvar_exist?(owner, name); end - # source://rbs/lib/rbs/subtractor.rb#127 + # source://rbs//lib/rbs/subtractor.rb#127 def each_member(owner, &block); end - # source://rbs/lib/rbs/subtractor.rb#48 + # source://rbs//lib/rbs/subtractor.rb#48 def filter_members(decl, context:); end - # source://rbs/lib/rbs/subtractor.rb#148 + # source://rbs//lib/rbs/subtractor.rb#148 def filter_redundunt_access_modifiers(decls); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#106 + # source://rbs//lib/rbs/subtractor.rb#106 def ivar_exist?(owner, name, kind); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#60 + # source://rbs//lib/rbs/subtractor.rb#60 def member_exist?(owner, member, context:); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#89 + # source://rbs//lib/rbs/subtractor.rb#89 def method_exist?(owner, method_name, kind); end # @return [Boolean] # - # source://rbs/lib/rbs/subtractor.rb#137 + # source://rbs//lib/rbs/subtractor.rb#137 def mixin_exist?(owner, mixin, context:); end - # source://rbs/lib/rbs/subtractor.rb#186 + # source://rbs//lib/rbs/subtractor.rb#186 def typename_candidates(name, context:); end - # source://rbs/lib/rbs/subtractor.rb#164 + # source://rbs//lib/rbs/subtractor.rb#164 def update_decl(decl, members:); end end -# source://rbs/lib/rbs/errors.rb#343 +# source://rbs//lib/rbs/errors.rb#343 class RBS::SuperclassMismatchError < ::RBS::DefinitionError # @return [SuperclassMismatchError] a new instance of SuperclassMismatchError # - # source://rbs/lib/rbs/errors.rb#347 + # source://rbs//lib/rbs/errors.rb#347 def initialize(name:, entry:); end # Returns the value of attribute entry. # - # source://rbs/lib/rbs/errors.rb#345 + # source://rbs//lib/rbs/errors.rb#345 def entry; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/errors.rb#344 + # source://rbs//lib/rbs/errors.rb#344 def name; end end -# source://rbs/lib/rbs/type_alias_dependency.rb#4 +# source://rbs//lib/rbs/type_alias_dependency.rb#4 class RBS::TypeAliasDependency # @return [TypeAliasDependency] a new instance of TypeAliasDependency # - # source://rbs/lib/rbs/type_alias_dependency.rb#14 + # source://rbs//lib/rbs/type_alias_dependency.rb#14 def initialize(env:); end - # source://rbs/lib/rbs/type_alias_dependency.rb#27 + # source://rbs//lib/rbs/type_alias_dependency.rb#27 def build_dependencies; end # Check if an alias type definition is circular & prohibited # # @return [Boolean] # - # source://rbs/lib/rbs/type_alias_dependency.rb#19 + # source://rbs//lib/rbs/type_alias_dependency.rb#19 def circular_definition?(alias_name); end # A hash which stores the transitive closure # of the directed graph # - # source://rbs/lib/rbs/type_alias_dependency.rb#12 + # source://rbs//lib/rbs/type_alias_dependency.rb#12 def dependencies; end - # source://rbs/lib/rbs/type_alias_dependency.rb#57 + # source://rbs//lib/rbs/type_alias_dependency.rb#57 def dependencies_of(name); end # Direct dependencies corresponds to a directed graph # with vertices as types and directions based on assignment of types # - # source://rbs/lib/rbs/type_alias_dependency.rb#9 + # source://rbs//lib/rbs/type_alias_dependency.rb#9 def direct_dependencies; end - # source://rbs/lib/rbs/type_alias_dependency.rb#52 + # source://rbs//lib/rbs/type_alias_dependency.rb#52 def direct_dependencies_of(name); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/type_alias_dependency.rb#5 + # source://rbs//lib/rbs/type_alias_dependency.rb#5 def env; end - # source://rbs/lib/rbs/type_alias_dependency.rb#43 + # source://rbs//lib/rbs/type_alias_dependency.rb#43 def transitive_closure; end private # Recursive function to construct transitive closure # - # source://rbs/lib/rbs/type_alias_dependency.rb#81 + # source://rbs//lib/rbs/type_alias_dependency.rb#81 def dependency(start, vertex, nested = T.unsafe(nil)); end # Constructs directed graph recursively # - # source://rbs/lib/rbs/type_alias_dependency.rb#65 + # source://rbs//lib/rbs/type_alias_dependency.rb#65 def direct_dependency(type, result = T.unsafe(nil)); end end -# source://rbs/lib/rbs/type_alias_regularity.rb#4 +# source://rbs//lib/rbs/type_alias_regularity.rb#4 class RBS::TypeAliasRegularity # @return [TypeAliasRegularity] a new instance of TypeAliasRegularity # - # source://rbs/lib/rbs/type_alias_regularity.rb#16 + # source://rbs//lib/rbs/type_alias_regularity.rb#16 def initialize(env:); end - # source://rbs/lib/rbs/type_alias_regularity.rb#61 + # source://rbs//lib/rbs/type_alias_regularity.rb#61 def build_alias_type(name); end # Returns the value of attribute builder. # - # source://rbs/lib/rbs/type_alias_regularity.rb#14 + # source://rbs//lib/rbs/type_alias_regularity.rb#14 def builder; end # @return [Boolean] # - # source://rbs/lib/rbs/type_alias_regularity.rb#69 + # source://rbs//lib/rbs/type_alias_regularity.rb#69 def compatible_args?(args1, args2); end # Returns the value of attribute diagnostics. # - # source://rbs/lib/rbs/type_alias_regularity.rb#14 + # source://rbs//lib/rbs/type_alias_regularity.rb#14 def diagnostics; end - # source://rbs/lib/rbs/type_alias_regularity.rb#110 + # source://rbs//lib/rbs/type_alias_regularity.rb#110 def each_alias_type(type, &block); end - # source://rbs/lib/rbs/type_alias_regularity.rb#83 + # source://rbs//lib/rbs/type_alias_regularity.rb#83 def each_mutual_alias_defs(&block); end # Returns the value of attribute env. # - # source://rbs/lib/rbs/type_alias_regularity.rb#14 + # source://rbs//lib/rbs/type_alias_regularity.rb#14 def env; end # @return [Boolean] # - # source://rbs/lib/rbs/type_alias_regularity.rb#79 + # source://rbs//lib/rbs/type_alias_regularity.rb#79 def nonregular?(type_name); end - # source://rbs/lib/rbs/type_alias_regularity.rb#22 + # source://rbs//lib/rbs/type_alias_regularity.rb#22 def validate; end - # source://rbs/lib/rbs/type_alias_regularity.rb#39 + # source://rbs//lib/rbs/type_alias_regularity.rb#39 def validate_alias_type(alias_type, names, types); end class << self - # source://rbs/lib/rbs/type_alias_regularity.rb#120 + # source://rbs//lib/rbs/type_alias_regularity.rb#120 def validate(env:); end end end -# source://rbs/lib/rbs/type_alias_regularity.rb#5 +# source://rbs//lib/rbs/type_alias_regularity.rb#5 class RBS::TypeAliasRegularity::Diagnostic # @return [Diagnostic] a new instance of Diagnostic # - # source://rbs/lib/rbs/type_alias_regularity.rb#8 + # source://rbs//lib/rbs/type_alias_regularity.rb#8 def initialize(type_name:, nonregular_type:); end # Returns the value of attribute nonregular_type. # - # source://rbs/lib/rbs/type_alias_regularity.rb#6 + # source://rbs//lib/rbs/type_alias_regularity.rb#6 def nonregular_type; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/type_alias_regularity.rb#6 + # source://rbs//lib/rbs/type_alias_regularity.rb#6 def type_name; end end -# source://rbs/lib/rbs/type_name.rb#4 +# source://rbs//lib/rbs/type_name.rb#4 class RBS::TypeName # @return [TypeName] a new instance of TypeName # - # source://rbs/lib/rbs/type_name.rb#9 + # source://rbs//lib/rbs/type_name.rb#9 def initialize(namespace:, name:); end - # source://rbs/lib/rbs/type_name.rb#79 + # source://rbs//lib/rbs/type_name.rb#79 def +(other); end - # source://rbs/lib/rbs/type_name.rb#25 + # source://rbs//lib/rbs/type_name.rb#25 def ==(other); end - # source://rbs/lib/rbs/type_name.rb#55 + # source://rbs//lib/rbs/type_name.rb#55 def absolute!; end # @return [Boolean] # - # source://rbs/lib/rbs/type_name.rb#59 + # source://rbs//lib/rbs/type_name.rb#59 def absolute?; end # @return [Boolean] # - # source://rbs/lib/rbs/type_name.rb#51 + # source://rbs//lib/rbs/type_name.rb#51 def alias?; end # @return [Boolean] # - # source://rbs/lib/rbs/type_name.rb#47 + # source://rbs//lib/rbs/type_name.rb#47 def class?; end - # source://rbs/lib/rbs/type_name.rb#25 + # source://rbs//lib/rbs/type_name.rb#29 def eql?(other); end - # source://rbs/lib/rbs/type_name.rb#31 + # source://rbs//lib/rbs/type_name.rb#31 def hash; end # @return [Boolean] # - # source://rbs/lib/rbs/type_name.rb#67 + # source://rbs//lib/rbs/type_name.rb#67 def interface?; end # Returns the value of attribute kind. # - # source://rbs/lib/rbs/type_name.rb#7 + # source://rbs//lib/rbs/type_name.rb#7 def kind; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/type_name.rb#6 + # source://rbs//lib/rbs/type_name.rb#6 def name; end # Returns the value of attribute namespace. # - # source://rbs/lib/rbs/type_name.rb#5 + # source://rbs//lib/rbs/type_name.rb#5 def namespace; end - # source://rbs/lib/rbs/type_name.rb#63 + # source://rbs//lib/rbs/type_name.rb#63 def relative!; end - # source://rbs/lib/rbs/type_name.rb#75 + # source://rbs//lib/rbs/type_name.rb#75 def split; end - # source://rbs/lib/rbs/type_name.rb#39 + # source://rbs//lib/rbs/type_name.rb#39 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/type_name.rb#43 + # source://rbs//lib/rbs/type_name.rb#43 def to_namespace; end - # source://rbs/lib/rbs/type_name.rb#35 + # source://rbs//lib/rbs/type_name.rb#35 def to_s; end - # source://rbs/lib/rbs/type_name.rb#71 + # source://rbs//lib/rbs/type_name.rb#71 def with_prefix(namespace); end class << self - # source://rbs/lib/rbs/type_name.rb#90 + # source://rbs//lib/rbs/type_name.rb#90 def parse(string); end end end -# source://rbs/lib/rbs/errors.rb#580 +# source://rbs//lib/rbs/errors.rb#580 class RBS::TypeParamDefaultReferenceError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [TypeParamDefaultReferenceError] a new instance of TypeParamDefaultReferenceError # - # source://rbs/lib/rbs/errors.rb#586 + # source://rbs//lib/rbs/errors.rb#586 def initialize(type_param, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#584 + # source://rbs//lib/rbs/errors.rb#584 def location; end # Returns the value of attribute type_param. # - # source://rbs/lib/rbs/errors.rb#583 + # source://rbs//lib/rbs/errors.rb#583 def type_param; end class << self - # source://rbs/lib/rbs/errors.rb#592 + # source://rbs//lib/rbs/errors.rb#592 def check!(type_params); end end end -# source://rbs/lib/rbs/types.rb#4 +# source://rbs//lib/rbs/types.rb#4 module RBS::Types; end -# source://rbs/lib/rbs/types.rb#394 +# source://rbs//lib/rbs/types.rb#394 class RBS::Types::Alias include ::RBS::Types::Application # @return [Alias] a new instance of Alias # - # source://rbs/lib/rbs/types.rb#399 + # source://rbs//lib/rbs/types.rb#399 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#395 + # source://rbs//lib/rbs/types.rb#395 def location; end - # source://rbs/lib/rbs/types.rb#421 + # source://rbs//lib/rbs/types.rb#421 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#413 + # source://rbs//lib/rbs/types.rb#413 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#409 + # source://rbs//lib/rbs/types.rb#409 def sub(s); end - # source://rbs/lib/rbs/types.rb#405 + # source://rbs//lib/rbs/types.rb#405 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/types.rb#252 +# source://rbs//lib/rbs/types.rb#252 module RBS::Types::Application - # source://rbs/lib/rbs/types.rb#256 + # source://rbs//lib/rbs/types.rb#256 def ==(other); end # Returns the value of attribute args. # - # source://rbs/lib/rbs/types.rb#254 + # source://rbs//lib/rbs/types.rb#254 def args; end - # source://rbs/lib/rbs/types.rb#282 + # source://rbs//lib/rbs/types.rb#282 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#256 + # source://rbs//lib/rbs/types.rb#260 def eql?(other); end - # source://rbs/lib/rbs/types.rb#266 + # source://rbs//lib/rbs/types.rb#266 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#294 + # source://rbs//lib/rbs/types.rb#294 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#290 + # source://rbs//lib/rbs/types.rb#290 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#262 + # source://rbs//lib/rbs/types.rb#262 def hash; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/types.rb#253 + # source://rbs//lib/rbs/types.rb#253 def name; end - # source://rbs/lib/rbs/types.rb#274 + # source://rbs//lib/rbs/types.rb#274 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#298 + # source://rbs//lib/rbs/types.rb#298 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#41 +# source://rbs//lib/rbs/types.rb#41 module RBS::Types::Bases; end -# source://rbs/lib/rbs/types.rb#109 +# source://rbs//lib/rbs/types.rb#109 class RBS::Types::Bases::Any < ::RBS::Types::Bases::Base - # source://rbs/lib/rbs/types.rb#110 + # source://rbs//lib/rbs/types.rb#110 def to_s(level = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#114 + # source://rbs//lib/rbs/types.rb#114 def todo!; end end -# source://rbs/lib/rbs/types.rb#42 +# source://rbs//lib/rbs/types.rb#42 class RBS::Types::Bases::Base include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -5575,135 +5677,135 @@ class RBS::Types::Bases::Base # @return [Base] a new instance of Base # - # source://rbs/lib/rbs/types.rb#45 + # source://rbs//lib/rbs/types.rb#45 def initialize(location:); end - # source://rbs/lib/rbs/types.rb#49 + # source://rbs//lib/rbs/types.rb#49 def ==(other); end - # source://rbs/lib/rbs/types.rb#49 + # source://rbs//lib/rbs/types.rb#57 def eql?(other); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#98 + # source://rbs//lib/rbs/types.rb#98 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#94 + # source://rbs//lib/rbs/types.rb#94 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#53 + # source://rbs//lib/rbs/types.rb#53 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#43 + # source://rbs//lib/rbs/types.rb#43 def location; end - # source://rbs/lib/rbs/types.rb#64 + # source://rbs//lib/rbs/types.rb#64 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#69 + # source://rbs//lib/rbs/types.rb#69 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#102 + # source://rbs//lib/rbs/types.rb#102 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#107 +# source://rbs//lib/rbs/types.rb#107 class RBS::Types::Bases::Bool < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#121 +# source://rbs//lib/rbs/types.rb#121 class RBS::Types::Bases::Bottom < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#128 +# source://rbs//lib/rbs/types.rb#128 class RBS::Types::Bases::Class < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#123 +# source://rbs//lib/rbs/types.rb#123 class RBS::Types::Bases::Instance < ::RBS::Types::Bases::Base - # source://rbs/lib/rbs/types.rb#124 + # source://rbs//lib/rbs/types.rb#124 def sub(s); end end -# source://rbs/lib/rbs/types.rb#119 +# source://rbs//lib/rbs/types.rb#119 class RBS::Types::Bases::Nil < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#122 +# source://rbs//lib/rbs/types.rb#122 class RBS::Types::Bases::Self < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#120 +# source://rbs//lib/rbs/types.rb#120 class RBS::Types::Bases::Top < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#108 +# source://rbs//lib/rbs/types.rb#108 class RBS::Types::Bases::Void < ::RBS::Types::Bases::Base; end -# source://rbs/lib/rbs/types.rb#1307 +# source://rbs//lib/rbs/types.rb#1307 class RBS::Types::Block # @return [Block] a new instance of Block # - # source://rbs/lib/rbs/types.rb#1312 + # source://rbs//lib/rbs/types.rb#1312 def initialize(type:, required:, self_type: T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#1318 + # source://rbs//lib/rbs/types.rb#1318 def ==(other); end - # source://rbs/lib/rbs/types.rb#1341 + # source://rbs//lib/rbs/types.rb#1341 def map_type(&block); end # Returns the value of attribute required. # - # source://rbs/lib/rbs/types.rb#1309 + # source://rbs//lib/rbs/types.rb#1309 def required; end # Returns the value of attribute self_type. # - # source://rbs/lib/rbs/types.rb#1310 + # source://rbs//lib/rbs/types.rb#1310 def self_type; end - # source://rbs/lib/rbs/types.rb#1333 + # source://rbs//lib/rbs/types.rb#1333 def sub(s); end - # source://rbs/lib/rbs/types.rb#1325 + # source://rbs//lib/rbs/types.rb#1325 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/types.rb#1308 + # source://rbs//lib/rbs/types.rb#1308 def type; end end -# source://rbs/lib/rbs/types.rb#352 +# source://rbs//lib/rbs/types.rb#352 class RBS::Types::ClassInstance include ::RBS::Types::Application # @return [ClassInstance] a new instance of ClassInstance # - # source://rbs/lib/rbs/types.rb#357 + # source://rbs//lib/rbs/types.rb#357 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#353 + # source://rbs//lib/rbs/types.rb#353 def location; end - # source://rbs/lib/rbs/types.rb#381 + # source://rbs//lib/rbs/types.rb#381 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#373 + # source://rbs//lib/rbs/types.rb#373 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#367 + # source://rbs//lib/rbs/types.rb#367 def sub(s); end - # source://rbs/lib/rbs/types.rb#363 + # source://rbs//lib/rbs/types.rb#363 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/types.rb#200 +# source://rbs//lib/rbs/types.rb#200 class RBS::Types::ClassSingleton include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -5711,326 +5813,326 @@ class RBS::Types::ClassSingleton # @return [ClassSingleton] a new instance of ClassSingleton # - # source://rbs/lib/rbs/types.rb#204 + # source://rbs//lib/rbs/types.rb#204 def initialize(name:, location:); end - # source://rbs/lib/rbs/types.rb#209 + # source://rbs//lib/rbs/types.rb#209 def ==(other); end - # source://rbs/lib/rbs/types.rb#209 + # source://rbs//lib/rbs/types.rb#213 def eql?(other); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#243 + # source://rbs//lib/rbs/types.rb#243 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#239 + # source://rbs//lib/rbs/types.rb#239 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#215 + # source://rbs//lib/rbs/types.rb#215 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#202 + # source://rbs//lib/rbs/types.rb#202 def location; end - # source://rbs/lib/rbs/types.rb#232 + # source://rbs//lib/rbs/types.rb#232 def map_type_name; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/types.rb#201 + # source://rbs//lib/rbs/types.rb#201 def name; end - # source://rbs/lib/rbs/types.rb#222 + # source://rbs//lib/rbs/types.rb#222 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#226 + # source://rbs//lib/rbs/types.rb#226 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#247 + # source://rbs//lib/rbs/types.rb#247 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#23 +# source://rbs//lib/rbs/types.rb#23 module RBS::Types::EmptyEachType - # source://rbs/lib/rbs/types.rb#24 + # source://rbs//lib/rbs/types.rb#24 def each_type; end - # source://rbs/lib/rbs/types.rb#32 + # source://rbs//lib/rbs/types.rb#32 def map_type(&block); end end -# source://rbs/lib/rbs/types.rb#878 +# source://rbs//lib/rbs/types.rb#878 class RBS::Types::Function # @return [Function] a new instance of Function # - # source://rbs/lib/rbs/types.rb#934 + # source://rbs//lib/rbs/types.rb#934 def initialize(required_positionals:, optional_positionals:, rest_positionals:, trailing_positionals:, required_keywords:, optional_keywords:, rest_keywords:, return_type:); end - # source://rbs/lib/rbs/types.rb#945 + # source://rbs//lib/rbs/types.rb#945 def ==(other); end - # source://rbs/lib/rbs/types.rb#1016 + # source://rbs//lib/rbs/types.rb#1016 def amap(array, &block); end - # source://rbs/lib/rbs/types.rb#1153 + # source://rbs//lib/rbs/types.rb#1153 def drop_head; end - # source://rbs/lib/rbs/types.rb#1170 + # source://rbs//lib/rbs/types.rb#1170 def drop_tail; end - # source://rbs/lib/rbs/types.rb#1053 + # source://rbs//lib/rbs/types.rb#1053 def each_param(&block); end - # source://rbs/lib/rbs/types.rb#1038 + # source://rbs//lib/rbs/types.rb#1038 def each_type; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1124 + # source://rbs//lib/rbs/types.rb#1124 def empty?; end - # source://rbs/lib/rbs/types.rb#945 + # source://rbs//lib/rbs/types.rb#957 def eql?(other); end - # source://rbs/lib/rbs/types.rb#971 + # source://rbs//lib/rbs/types.rb#971 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1195 + # source://rbs//lib/rbs/types.rb#1195 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1183 + # source://rbs//lib/rbs/types.rb#1183 def has_keyword?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1191 + # source://rbs//lib/rbs/types.rb#1191 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#959 + # source://rbs//lib/rbs/types.rb#959 def hash; end - # source://rbs/lib/rbs/types.rb#1024 + # source://rbs//lib/rbs/types.rb#1024 def hmapv(hash, &block); end - # source://rbs/lib/rbs/types.rb#999 + # source://rbs//lib/rbs/types.rb#999 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#1032 + # source://rbs//lib/rbs/types.rb#1032 def map_type_name(&block); end # Returns the value of attribute optional_keywords. # - # source://rbs/lib/rbs/types.rb#930 + # source://rbs//lib/rbs/types.rb#930 def optional_keywords; end # Returns the value of attribute optional_positionals. # - # source://rbs/lib/rbs/types.rb#926 + # source://rbs//lib/rbs/types.rb#926 def optional_positionals; end - # source://rbs/lib/rbs/types.rb#1134 + # source://rbs//lib/rbs/types.rb#1134 def param_to_s; end # Returns the value of attribute required_keywords. # - # source://rbs/lib/rbs/types.rb#929 + # source://rbs//lib/rbs/types.rb#929 def required_keywords; end # Returns the value of attribute required_positionals. # - # source://rbs/lib/rbs/types.rb#925 + # source://rbs//lib/rbs/types.rb#925 def required_positionals; end # Returns the value of attribute rest_keywords. # - # source://rbs/lib/rbs/types.rb#931 + # source://rbs//lib/rbs/types.rb#931 def rest_keywords; end # Returns the value of attribute rest_positionals. # - # source://rbs/lib/rbs/types.rb#927 + # source://rbs//lib/rbs/types.rb#927 def rest_positionals; end - # source://rbs/lib/rbs/types.rb#1149 + # source://rbs//lib/rbs/types.rb#1149 def return_to_s; end # Returns the value of attribute return_type. # - # source://rbs/lib/rbs/types.rb#932 + # source://rbs//lib/rbs/types.rb#932 def return_type; end - # source://rbs/lib/rbs/types.rb#1080 + # source://rbs//lib/rbs/types.rb#1080 def sub(s); end - # source://rbs/lib/rbs/types.rb#1067 + # source://rbs//lib/rbs/types.rb#1067 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute trailing_positionals. # - # source://rbs/lib/rbs/types.rb#928 + # source://rbs//lib/rbs/types.rb#928 def trailing_positionals; end - # source://rbs/lib/rbs/types.rb#1110 + # source://rbs//lib/rbs/types.rb#1110 def update(required_positionals: T.unsafe(nil), optional_positionals: T.unsafe(nil), rest_positionals: T.unsafe(nil), trailing_positionals: T.unsafe(nil), required_keywords: T.unsafe(nil), optional_keywords: T.unsafe(nil), rest_keywords: T.unsafe(nil), return_type: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1199 + # source://rbs//lib/rbs/types.rb#1199 def with_nonreturn_void?; end - # source://rbs/lib/rbs/types.rb#1097 + # source://rbs//lib/rbs/types.rb#1097 def with_return_type(type); end class << self - # source://rbs/lib/rbs/types.rb#1084 + # source://rbs//lib/rbs/types.rb#1084 def empty(return_type); end end end -# source://rbs/lib/rbs/types.rb#879 +# source://rbs//lib/rbs/types.rb#879 class RBS::Types::Function::Param # @return [Param] a new instance of Param # - # source://rbs/lib/rbs/types.rb#884 + # source://rbs//lib/rbs/types.rb#884 def initialize(type:, name:, location: T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#890 + # source://rbs//lib/rbs/types.rb#890 def ==(other); end - # source://rbs/lib/rbs/types.rb#890 + # source://rbs//lib/rbs/types.rb#894 def eql?(other); end - # source://rbs/lib/rbs/types.rb#896 + # source://rbs//lib/rbs/types.rb#896 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#882 + # source://rbs//lib/rbs/types.rb#882 def location; end - # source://rbs/lib/rbs/types.rb#900 + # source://rbs//lib/rbs/types.rb#900 def map_type(&block); end # Returns the value of attribute name. # - # source://rbs/lib/rbs/types.rb#881 + # source://rbs//lib/rbs/types.rb#881 def name; end - # source://rbs/lib/rbs/types.rb#908 + # source://rbs//lib/rbs/types.rb#908 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#912 + # source://rbs//lib/rbs/types.rb#912 def to_s; end # Returns the value of attribute type. # - # source://rbs/lib/rbs/types.rb#880 + # source://rbs//lib/rbs/types.rb#880 def type; end end -# source://rbs/lib/rbs/types.rb#310 +# source://rbs//lib/rbs/types.rb#310 class RBS::Types::Interface include ::RBS::Types::Application # @return [Interface] a new instance of Interface # - # source://rbs/lib/rbs/types.rb#315 + # source://rbs//lib/rbs/types.rb#315 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#311 + # source://rbs//lib/rbs/types.rb#311 def location; end - # source://rbs/lib/rbs/types.rb#339 + # source://rbs//lib/rbs/types.rb#339 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#331 + # source://rbs//lib/rbs/types.rb#331 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#325 + # source://rbs//lib/rbs/types.rb#325 def sub(s); end - # source://rbs/lib/rbs/types.rb#321 + # source://rbs//lib/rbs/types.rb#321 def to_json(state = T.unsafe(nil)); end end -# source://rbs/lib/rbs/types.rb#797 +# source://rbs//lib/rbs/types.rb#797 class RBS::Types::Intersection # @return [Intersection] a new instance of Intersection # - # source://rbs/lib/rbs/types.rb#801 + # source://rbs//lib/rbs/types.rb#801 def initialize(types:, location:); end - # source://rbs/lib/rbs/types.rb#806 + # source://rbs//lib/rbs/types.rb#806 def ==(other); end - # source://rbs/lib/rbs/types.rb#842 + # source://rbs//lib/rbs/types.rb#842 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#806 + # source://rbs//lib/rbs/types.rb#810 def eql?(other); end - # source://rbs/lib/rbs/types.rb#816 + # source://rbs//lib/rbs/types.rb#816 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#869 + # source://rbs//lib/rbs/types.rb#869 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#865 + # source://rbs//lib/rbs/types.rb#865 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#812 + # source://rbs//lib/rbs/types.rb#812 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#799 + # source://rbs//lib/rbs/types.rb#799 def location; end - # source://rbs/lib/rbs/types.rb#850 + # source://rbs//lib/rbs/types.rb#850 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#858 + # source://rbs//lib/rbs/types.rb#858 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#828 + # source://rbs//lib/rbs/types.rb#828 def sub(s); end - # source://rbs/lib/rbs/types.rb#824 + # source://rbs//lib/rbs/types.rb#824 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#833 + # source://rbs//lib/rbs/types.rb#833 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs/lib/rbs/types.rb#798 + # source://rbs//lib/rbs/types.rb#798 def types; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#873 + # source://rbs//lib/rbs/types.rb#873 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#1483 +# source://rbs//lib/rbs/types.rb#1483 class RBS::Types::Literal include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -6039,844 +6141,844 @@ class RBS::Types::Literal # @return [Literal] a new instance of Literal # - # source://rbs/lib/rbs/types.rb#1487 + # source://rbs//lib/rbs/types.rb#1487 def initialize(literal:, location:); end - # source://rbs/lib/rbs/types.rb#1492 + # source://rbs//lib/rbs/types.rb#1492 def ==(other); end - # source://rbs/lib/rbs/types.rb#1492 + # source://rbs//lib/rbs/types.rb#1496 def eql?(other); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1519 + # source://rbs//lib/rbs/types.rb#1519 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1515 + # source://rbs//lib/rbs/types.rb#1515 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#1498 + # source://rbs//lib/rbs/types.rb#1498 def hash; end # Returns the value of attribute literal. # - # source://rbs/lib/rbs/types.rb#1484 + # source://rbs//lib/rbs/types.rb#1484 def literal; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#1485 + # source://rbs//lib/rbs/types.rb#1485 def location; end - # source://rbs/lib/rbs/types.rb#1507 + # source://rbs//lib/rbs/types.rb#1507 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#1511 + # source://rbs//lib/rbs/types.rb#1511 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1523 + # source://rbs//lib/rbs/types.rb#1523 def with_nonreturn_void?; end class << self - # source://rbs/lib/rbs/types.rb#1543 + # source://rbs//lib/rbs/types.rb#1543 def unescape_string(string, is_double_quote); end end end -# source://rbs/lib/rbs/types.rb#1527 +# source://rbs//lib/rbs/types.rb#1527 RBS::Types::Literal::TABLE = T.let(T.unsafe(nil), Hash) -# source://rbs/lib/rbs/types.rb#5 +# source://rbs//lib/rbs/types.rb#5 module RBS::Types::NoFreeVariables - # source://rbs/lib/rbs/types.rb#6 + # source://rbs//lib/rbs/types.rb#6 def free_variables(set = T.unsafe(nil)); end end -# source://rbs/lib/rbs/types.rb#11 +# source://rbs//lib/rbs/types.rb#11 module RBS::Types::NoSubst - # source://rbs/lib/rbs/types.rb#12 + # source://rbs//lib/rbs/types.rb#12 def sub(s); end end -# source://rbs/lib/rbs/types.rb#17 +# source://rbs//lib/rbs/types.rb#17 module RBS::Types::NoTypeName - # source://rbs/lib/rbs/types.rb#18 + # source://rbs//lib/rbs/types.rb#18 def map_type_name; end end -# source://rbs/lib/rbs/types.rb#633 +# source://rbs//lib/rbs/types.rb#633 class RBS::Types::Optional # @return [Optional] a new instance of Optional # - # source://rbs/lib/rbs/types.rb#637 + # source://rbs//lib/rbs/types.rb#637 def initialize(type:, location:); end - # source://rbs/lib/rbs/types.rb#642 + # source://rbs//lib/rbs/types.rb#642 def ==(other); end - # source://rbs/lib/rbs/types.rb#678 + # source://rbs//lib/rbs/types.rb#678 def each_type; end - # source://rbs/lib/rbs/types.rb#642 + # source://rbs//lib/rbs/types.rb#646 def eql?(other); end - # source://rbs/lib/rbs/types.rb#652 + # source://rbs//lib/rbs/types.rb#652 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#708 + # source://rbs//lib/rbs/types.rb#708 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#704 + # source://rbs//lib/rbs/types.rb#704 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#648 + # source://rbs//lib/rbs/types.rb#648 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#635 + # source://rbs//lib/rbs/types.rb#635 def location; end - # source://rbs/lib/rbs/types.rb#693 + # source://rbs//lib/rbs/types.rb#693 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#686 + # source://rbs//lib/rbs/types.rb#686 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#660 + # source://rbs//lib/rbs/types.rb#660 def sub(s); end - # source://rbs/lib/rbs/types.rb#656 + # source://rbs//lib/rbs/types.rb#656 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#664 + # source://rbs//lib/rbs/types.rb#664 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/types.rb#634 + # source://rbs//lib/rbs/types.rb#634 def type; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#712 + # source://rbs//lib/rbs/types.rb#712 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#1362 +# source://rbs//lib/rbs/types.rb#1362 class RBS::Types::Proc # @return [Proc] a new instance of Proc # - # source://rbs/lib/rbs/types.rb#1368 + # source://rbs//lib/rbs/types.rb#1368 def initialize(location:, type:, block:, self_type: T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#1375 + # source://rbs//lib/rbs/types.rb#1375 def ==(other); end # Returns the value of attribute block. # - # source://rbs/lib/rbs/types.rb#1364 + # source://rbs//lib/rbs/types.rb#1364 def block; end - # source://rbs/lib/rbs/types.rb#1427 + # source://rbs//lib/rbs/types.rb#1427 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#1375 + # source://rbs//lib/rbs/types.rb#1379 def eql?(other); end - # source://rbs/lib/rbs/types.rb#1385 + # source://rbs//lib/rbs/types.rb#1385 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1466 + # source://rbs//lib/rbs/types.rb#1466 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1462 + # source://rbs//lib/rbs/types.rb#1462 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#1381 + # source://rbs//lib/rbs/types.rb#1381 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#1366 + # source://rbs//lib/rbs/types.rb#1366 def location; end - # source://rbs/lib/rbs/types.rb#1449 + # source://rbs//lib/rbs/types.rb#1449 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#1440 + # source://rbs//lib/rbs/types.rb#1440 def map_type_name(&block); end # Returns the value of attribute self_type. # - # source://rbs/lib/rbs/types.rb#1365 + # source://rbs//lib/rbs/types.rb#1365 def self_type; end - # source://rbs/lib/rbs/types.rb#1402 + # source://rbs//lib/rbs/types.rb#1402 def sub(s); end - # source://rbs/lib/rbs/types.rb#1392 + # source://rbs//lib/rbs/types.rb#1392 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#1411 + # source://rbs//lib/rbs/types.rb#1411 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs/lib/rbs/types.rb#1363 + # source://rbs//lib/rbs/types.rb#1363 def type; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1470 + # source://rbs//lib/rbs/types.rb#1470 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#517 +# source://rbs//lib/rbs/types.rb#517 class RBS::Types::Record # @return [Record] a new instance of Record # - # source://rbs/lib/rbs/types.rb#521 + # source://rbs//lib/rbs/types.rb#521 def initialize(location:, all_fields: T.unsafe(nil), fields: T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#545 + # source://rbs//lib/rbs/types.rb#545 def ==(other); end # Returns the value of attribute all_fields. # - # source://rbs/lib/rbs/types.rb#518 + # source://rbs//lib/rbs/types.rb#518 def all_fields; end - # source://rbs/lib/rbs/types.rb#593 + # source://rbs//lib/rbs/types.rb#593 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#545 + # source://rbs//lib/rbs/types.rb#549 def eql?(other); end # Returns the value of attribute fields. # - # source://rbs/lib/rbs/types.rb#518 + # source://rbs//lib/rbs/types.rb#518 def fields; end - # source://rbs/lib/rbs/types.rb#555 + # source://rbs//lib/rbs/types.rb#555 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#624 + # source://rbs//lib/rbs/types.rb#624 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#620 + # source://rbs//lib/rbs/types.rb#620 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#551 + # source://rbs//lib/rbs/types.rb#551 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#519 + # source://rbs//lib/rbs/types.rb#519 def location; end - # source://rbs/lib/rbs/types.rb#609 + # source://rbs//lib/rbs/types.rb#609 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#602 + # source://rbs//lib/rbs/types.rb#602 def map_type_name(&block); end # Returns the value of attribute optional_fields. # - # source://rbs/lib/rbs/types.rb#518 + # source://rbs//lib/rbs/types.rb#518 def optional_fields; end - # source://rbs/lib/rbs/types.rb#570 + # source://rbs//lib/rbs/types.rb#570 def sub(s); end - # source://rbs/lib/rbs/types.rb#566 + # source://rbs//lib/rbs/types.rb#566 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#577 + # source://rbs//lib/rbs/types.rb#577 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#628 + # source://rbs//lib/rbs/types.rb#628 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#1350 +# source://rbs//lib/rbs/types.rb#1350 module RBS::Types::SelfTypeBindingHelper private - # source://rbs/lib/rbs/types.rb#1353 + # source://rbs//lib/rbs/types.rb#1353 def self_type_binding_to_s(t); end class << self - # source://rbs/lib/rbs/types.rb#1353 + # source://rbs//lib/rbs/types.rb#1353 def self_type_binding_to_s(t); end end end -# source://rbs/lib/rbs/types.rb#434 +# source://rbs//lib/rbs/types.rb#434 class RBS::Types::Tuple # @return [Tuple] a new instance of Tuple # - # source://rbs/lib/rbs/types.rb#438 + # source://rbs//lib/rbs/types.rb#438 def initialize(types:, location:); end - # source://rbs/lib/rbs/types.rb#443 + # source://rbs//lib/rbs/types.rb#443 def ==(other); end - # source://rbs/lib/rbs/types.rb#478 + # source://rbs//lib/rbs/types.rb#478 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#443 + # source://rbs//lib/rbs/types.rb#447 def eql?(other); end - # source://rbs/lib/rbs/types.rb#453 + # source://rbs//lib/rbs/types.rb#453 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#508 + # source://rbs//lib/rbs/types.rb#508 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#504 + # source://rbs//lib/rbs/types.rb#504 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#449 + # source://rbs//lib/rbs/types.rb#449 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#436 + # source://rbs//lib/rbs/types.rb#436 def location; end - # source://rbs/lib/rbs/types.rb#493 + # source://rbs//lib/rbs/types.rb#493 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#486 + # source://rbs//lib/rbs/types.rb#486 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#465 + # source://rbs//lib/rbs/types.rb#465 def sub(s); end - # source://rbs/lib/rbs/types.rb#461 + # source://rbs//lib/rbs/types.rb#461 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#470 + # source://rbs//lib/rbs/types.rb#470 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs/lib/rbs/types.rb#435 + # source://rbs//lib/rbs/types.rb#435 def types; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#512 + # source://rbs//lib/rbs/types.rb#512 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#717 +# source://rbs//lib/rbs/types.rb#717 class RBS::Types::Union # @return [Union] a new instance of Union # - # source://rbs/lib/rbs/types.rb#721 + # source://rbs//lib/rbs/types.rb#721 def initialize(types:, location:); end - # source://rbs/lib/rbs/types.rb#726 + # source://rbs//lib/rbs/types.rb#726 def ==(other); end - # source://rbs/lib/rbs/types.rb#761 + # source://rbs//lib/rbs/types.rb#761 def each_type(&block); end - # source://rbs/lib/rbs/types.rb#726 + # source://rbs//lib/rbs/types.rb#730 def eql?(other); end - # source://rbs/lib/rbs/types.rb#736 + # source://rbs//lib/rbs/types.rb#736 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#788 + # source://rbs//lib/rbs/types.rb#788 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#784 + # source://rbs//lib/rbs/types.rb#784 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#732 + # source://rbs//lib/rbs/types.rb#732 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#719 + # source://rbs//lib/rbs/types.rb#719 def location; end - # source://rbs/lib/rbs/types.rb#769 + # source://rbs//lib/rbs/types.rb#769 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#777 + # source://rbs//lib/rbs/types.rb#777 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#748 + # source://rbs//lib/rbs/types.rb#748 def sub(s); end - # source://rbs/lib/rbs/types.rb#744 + # source://rbs//lib/rbs/types.rb#744 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#753 + # source://rbs//lib/rbs/types.rb#753 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs/lib/rbs/types.rb#718 + # source://rbs//lib/rbs/types.rb#718 def types; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#792 + # source://rbs//lib/rbs/types.rb#792 def with_nonreturn_void?; end end -# source://rbs/lib/rbs/types.rb#1212 +# source://rbs//lib/rbs/types.rb#1212 class RBS::Types::UntypedFunction # @return [UntypedFunction] a new instance of UntypedFunction # - # source://rbs/lib/rbs/types.rb#1215 + # source://rbs//lib/rbs/types.rb#1215 def initialize(return_type:); end - # source://rbs/lib/rbs/types.rb#1295 + # source://rbs//lib/rbs/types.rb#1295 def ==(other); end - # source://rbs/lib/rbs/types.rb#1245 + # source://rbs//lib/rbs/types.rb#1245 def each_param(&block); end - # source://rbs/lib/rbs/types.rb#1237 + # source://rbs//lib/rbs/types.rb#1237 def each_type(&block); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1271 + # source://rbs//lib/rbs/types.rb#1271 def empty?; end - # source://rbs/lib/rbs/types.rb#1295 + # source://rbs//lib/rbs/types.rb#1299 def eql?(other); end - # source://rbs/lib/rbs/types.rb#1219 + # source://rbs//lib/rbs/types.rb#1219 def free_variables(acc = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1279 + # source://rbs//lib/rbs/types.rb#1279 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1275 + # source://rbs//lib/rbs/types.rb#1275 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#1301 + # source://rbs//lib/rbs/types.rb#1301 def hash; end - # source://rbs/lib/rbs/types.rb#1223 + # source://rbs//lib/rbs/types.rb#1223 def map_type(&block); end - # source://rbs/lib/rbs/types.rb#1231 + # source://rbs//lib/rbs/types.rb#1231 def map_type_name(&block); end - # source://rbs/lib/rbs/types.rb#1287 + # source://rbs//lib/rbs/types.rb#1287 def param_to_s; end - # source://rbs/lib/rbs/types.rb#1291 + # source://rbs//lib/rbs/types.rb#1291 def return_to_s; end # Returns the value of attribute return_type. # - # source://rbs/lib/rbs/types.rb#1213 + # source://rbs//lib/rbs/types.rb#1213 def return_type; end - # source://rbs/lib/rbs/types.rb#1259 + # source://rbs//lib/rbs/types.rb#1259 def sub(subst); end - # source://rbs/lib/rbs/types.rb#1253 + # source://rbs//lib/rbs/types.rb#1253 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#1267 + # source://rbs//lib/rbs/types.rb#1267 def update(return_type: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#1283 + # source://rbs//lib/rbs/types.rb#1283 def with_nonreturn_void?; end - # source://rbs/lib/rbs/types.rb#1263 + # source://rbs//lib/rbs/types.rb#1263 def with_return_type(ty); end end -# source://rbs/lib/rbs/types.rb#131 +# source://rbs//lib/rbs/types.rb#131 class RBS::Types::Variable include ::RBS::Types::NoTypeName include ::RBS::Types::EmptyEachType # @return [Variable] a new instance of Variable # - # source://rbs/lib/rbs/types.rb#137 + # source://rbs//lib/rbs/types.rb#137 def initialize(name:, location:); end - # source://rbs/lib/rbs/types.rb#142 + # source://rbs//lib/rbs/types.rb#142 def ==(other); end - # source://rbs/lib/rbs/types.rb#142 + # source://rbs//lib/rbs/types.rb#146 def eql?(other); end - # source://rbs/lib/rbs/types.rb#152 + # source://rbs//lib/rbs/types.rb#152 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#191 + # source://rbs//lib/rbs/types.rb#191 def has_classish_type?; end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#187 + # source://rbs//lib/rbs/types.rb#187 def has_self_type?; end - # source://rbs/lib/rbs/types.rb#148 + # source://rbs//lib/rbs/types.rb#148 def hash; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/types.rb#133 + # source://rbs//lib/rbs/types.rb#133 def location; end # Returns the value of attribute name. # - # source://rbs/lib/rbs/types.rb#132 + # source://rbs//lib/rbs/types.rb#132 def name; end - # source://rbs/lib/rbs/types.rb#162 + # source://rbs//lib/rbs/types.rb#162 def sub(s); end - # source://rbs/lib/rbs/types.rb#158 + # source://rbs//lib/rbs/types.rb#158 def to_json(state = T.unsafe(nil)); end - # source://rbs/lib/rbs/types.rb#181 + # source://rbs//lib/rbs/types.rb#181 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/types.rb#195 + # source://rbs//lib/rbs/types.rb#195 def with_nonreturn_void?; end class << self - # source://rbs/lib/rbs/types.rb#166 + # source://rbs//lib/rbs/types.rb#166 def build(v); end - # source://rbs/lib/rbs/types.rb#176 + # source://rbs//lib/rbs/types.rb#176 def fresh(v = T.unsafe(nil)); end end end -# source://rbs/lib/rbs/errors.rb#325 +# source://rbs//lib/rbs/errors.rb#325 class RBS::UnknownMethodAliasError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [UnknownMethodAliasError] a new instance of UnknownMethodAliasError # - # source://rbs/lib/rbs/errors.rb#333 + # source://rbs//lib/rbs/errors.rb#333 def initialize(type_name:, original_name:, aliased_name:, location:); end # Returns the value of attribute aliased_name. # - # source://rbs/lib/rbs/errors.rb#330 + # source://rbs//lib/rbs/errors.rb#330 def aliased_name; end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#331 + # source://rbs//lib/rbs/errors.rb#331 def location; end # Returns the value of attribute original_name. # - # source://rbs/lib/rbs/errors.rb#329 + # source://rbs//lib/rbs/errors.rb#329 def original_name; end # Returns the value of attribute type_name. # - # source://rbs/lib/rbs/errors.rb#328 + # source://rbs//lib/rbs/errors.rb#328 def type_name; end end -# source://rbs/lib/rbs/version.rb#4 +# source://rbs//lib/rbs/version.rb#4 RBS::VERSION = T.let(T.unsafe(nil), String) -# source://rbs/lib/rbs/validator.rb#4 +# source://rbs//lib/rbs/validator.rb#4 class RBS::Validator # @return [Validator] a new instance of Validator # - # source://rbs/lib/rbs/validator.rb#9 + # source://rbs//lib/rbs/validator.rb#9 def initialize(env:, resolver: T.unsafe(nil)); end - # source://rbs/lib/rbs/validator.rb#15 + # source://rbs//lib/rbs/validator.rb#15 def absolute_type(type, context:, &block); end # Returns the value of attribute definition_builder. # - # source://rbs/lib/rbs/validator.rb#7 + # source://rbs//lib/rbs/validator.rb#7 def definition_builder; end # Returns the value of attribute env. # - # source://rbs/lib/rbs/validator.rb#5 + # source://rbs//lib/rbs/validator.rb#5 def env; end # Returns the value of attribute resolver. # - # source://rbs/lib/rbs/validator.rb#6 + # source://rbs//lib/rbs/validator.rb#6 def resolver; end - # source://rbs/lib/rbs/validator.rb#174 + # source://rbs//lib/rbs/validator.rb#174 def type_alias_dependency; end - # source://rbs/lib/rbs/validator.rb#178 + # source://rbs//lib/rbs/validator.rb#178 def type_alias_regularity; end - # source://rbs/lib/rbs/validator.rb#154 + # source://rbs//lib/rbs/validator.rb#154 def validate_class_alias(entry:); end - # source://rbs/lib/rbs/validator.rb#104 + # source://rbs//lib/rbs/validator.rb#104 def validate_method_definition(method_def, type_name:); end # Validates presence of the relative type, and application arity match. # - # source://rbs/lib/rbs/validator.rb#24 + # source://rbs//lib/rbs/validator.rb#24 def validate_type(type, context:); end - # source://rbs/lib/rbs/validator.rb#63 + # source://rbs//lib/rbs/validator.rb#63 def validate_type_alias(entry:); end - # source://rbs/lib/rbs/validator.rb#120 + # source://rbs//lib/rbs/validator.rb#120 def validate_type_params(params, type_name:, location:, method_name: T.unsafe(nil)); end end -# source://rbs/lib/rbs/variance_calculator.rb#4 +# source://rbs//lib/rbs/variance_calculator.rb#4 class RBS::VarianceCalculator # @return [VarianceCalculator] a new instance of VarianceCalculator # - # source://rbs/lib/rbs/variance_calculator.rb#78 + # source://rbs//lib/rbs/variance_calculator.rb#78 def initialize(builder:); end # Returns the value of attribute builder. # - # source://rbs/lib/rbs/variance_calculator.rb#76 + # source://rbs//lib/rbs/variance_calculator.rb#76 def builder; end - # source://rbs/lib/rbs/variance_calculator.rb#82 + # source://rbs//lib/rbs/variance_calculator.rb#82 def env; end - # source://rbs/lib/rbs/variance_calculator.rb#169 + # source://rbs//lib/rbs/variance_calculator.rb#169 def function(type, result:, context:); end - # source://rbs/lib/rbs/variance_calculator.rb#98 + # source://rbs//lib/rbs/variance_calculator.rb#98 def in_inherit(name:, args:, variables:); end - # source://rbs/lib/rbs/variance_calculator.rb#86 + # source://rbs//lib/rbs/variance_calculator.rb#86 def in_method_type(method_type:, variables:); end - # source://rbs/lib/rbs/variance_calculator.rb#110 + # source://rbs//lib/rbs/variance_calculator.rb#110 def in_type_alias(name:); end - # source://rbs/lib/rbs/variance_calculator.rb#176 + # source://rbs//lib/rbs/variance_calculator.rb#176 def negate(variance); end - # source://rbs/lib/rbs/variance_calculator.rb#121 + # source://rbs//lib/rbs/variance_calculator.rb#121 def type(type, result:, context:); end end -# source://rbs/lib/rbs/variance_calculator.rb#5 +# source://rbs//lib/rbs/variance_calculator.rb#5 class RBS::VarianceCalculator::Result # @return [Result] a new instance of Result # - # source://rbs/lib/rbs/variance_calculator.rb#8 + # source://rbs//lib/rbs/variance_calculator.rb#8 def initialize(variables:); end # @return [Boolean] # - # source://rbs/lib/rbs/variance_calculator.rb#45 + # source://rbs//lib/rbs/variance_calculator.rb#45 def compatible?(var, with_annotation:); end - # source://rbs/lib/rbs/variance_calculator.rb#24 + # source://rbs//lib/rbs/variance_calculator.rb#24 def contravariant(x); end - # source://rbs/lib/rbs/variance_calculator.rb#15 + # source://rbs//lib/rbs/variance_calculator.rb#15 def covariant(x); end - # source://rbs/lib/rbs/variance_calculator.rb#37 + # source://rbs//lib/rbs/variance_calculator.rb#37 def each(&block); end # @return [Boolean] # - # source://rbs/lib/rbs/variance_calculator.rb#41 + # source://rbs//lib/rbs/variance_calculator.rb#41 def include?(name); end # @return [Boolean] # - # source://rbs/lib/rbs/variance_calculator.rb#60 + # source://rbs//lib/rbs/variance_calculator.rb#60 def incompatible?(params); end - # source://rbs/lib/rbs/variance_calculator.rb#33 + # source://rbs//lib/rbs/variance_calculator.rb#33 def invariant(x); end # Returns the value of attribute result. # - # source://rbs/lib/rbs/variance_calculator.rb#6 + # source://rbs//lib/rbs/variance_calculator.rb#6 def result; end end -# source://rbs/lib/rbs/vendorer.rb#4 +# source://rbs//lib/rbs/vendorer.rb#4 class RBS::Vendorer # @return [Vendorer] a new instance of Vendorer # - # source://rbs/lib/rbs/vendorer.rb#8 + # source://rbs//lib/rbs/vendorer.rb#8 def initialize(vendor_dir:, loader:); end - # source://rbs/lib/rbs/vendorer.rb#21 + # source://rbs//lib/rbs/vendorer.rb#21 def clean!; end - # source://rbs/lib/rbs/vendorer.rb#28 + # source://rbs//lib/rbs/vendorer.rb#28 def copy!; end - # source://rbs/lib/rbs/vendorer.rb#13 + # source://rbs//lib/rbs/vendorer.rb#13 def ensure_dir; end # Returns the value of attribute loader. # - # source://rbs/lib/rbs/vendorer.rb#6 + # source://rbs//lib/rbs/vendorer.rb#6 def loader; end # Returns the value of attribute vendor_dir. # - # source://rbs/lib/rbs/vendorer.rb#5 + # source://rbs//lib/rbs/vendorer.rb#5 def vendor_dir; end end -# source://rbs/lib/rbs/errors.rb#569 +# source://rbs//lib/rbs/errors.rb#569 class RBS::WillSyntaxError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [WillSyntaxError] a new instance of WillSyntaxError # - # source://rbs/lib/rbs/errors.rb#574 + # source://rbs//lib/rbs/errors.rb#574 def initialize(message, location:); end # Returns the value of attribute location. # - # source://rbs/lib/rbs/errors.rb#572 + # source://rbs//lib/rbs/errors.rb#572 def location; end end -# source://rbs/lib/rbs/writer.rb#4 +# source://rbs//lib/rbs/writer.rb#4 class RBS::Writer # @return [Writer] a new instance of Writer # - # source://rbs/lib/rbs/writer.rb#8 + # source://rbs//lib/rbs/writer.rb#8 def initialize(out:); end - # source://rbs/lib/rbs/writer.rb#361 + # source://rbs//lib/rbs/writer.rb#361 def attribute(kind, attr); end - # source://rbs/lib/rbs/writer.rb#42 + # source://rbs//lib/rbs/writer.rb#42 def format_annotation(annotation); end - # source://rbs/lib/rbs/writer.rb#23 + # source://rbs//lib/rbs/writer.rb#23 def indent(size = T.unsafe(nil)); end # Returns the value of attribute indentation. # - # source://rbs/lib/rbs/writer.rb#6 + # source://rbs//lib/rbs/writer.rb#6 def indentation; end - # source://rbs/lib/rbs/writer.rb#288 + # source://rbs//lib/rbs/writer.rb#288 def method_name(name); end - # source://rbs/lib/rbs/writer.rb#214 + # source://rbs//lib/rbs/writer.rb#214 def name_and_args(name, args); end - # source://rbs/lib/rbs/writer.rb#202 + # source://rbs//lib/rbs/writer.rb#202 def name_and_params(name, params); end # Returns the value of attribute out. # - # source://rbs/lib/rbs/writer.rb#5 + # source://rbs//lib/rbs/writer.rb#5 def out; end - # source://rbs/lib/rbs/writer.rb#30 + # source://rbs//lib/rbs/writer.rb#30 def prefix; end - # source://rbs/lib/rbs/writer.rb#18 + # source://rbs//lib/rbs/writer.rb#18 def preserve!(preserve: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs/lib/rbs/writer.rb#14 + # source://rbs//lib/rbs/writer.rb#14 def preserve?; end - # source://rbs/lib/rbs/writer.rb#391 + # source://rbs//lib/rbs/writer.rb#391 def preserve_empty_line(prev, decl); end - # source://rbs/lib/rbs/writer.rb#224 + # source://rbs//lib/rbs/writer.rb#224 def put_lines(lines, leading_spaces:); end - # source://rbs/lib/rbs/writer.rb#34 + # source://rbs//lib/rbs/writer.rb#34 def puts(string = T.unsafe(nil)); end - # source://rbs/lib/rbs/writer.rb#79 + # source://rbs//lib/rbs/writer.rb#79 def write(contents); end - # source://rbs/lib/rbs/writer.rb#60 + # source://rbs//lib/rbs/writer.rb#60 def write_annotation(annotations); end - # source://rbs/lib/rbs/writer.rb#66 + # source://rbs//lib/rbs/writer.rb#66 def write_comment(comment); end - # source://rbs/lib/rbs/writer.rb#114 + # source://rbs//lib/rbs/writer.rb#114 def write_decl(decl); end - # source://rbs/lib/rbs/writer.rb#309 + # source://rbs//lib/rbs/writer.rb#309 def write_def(member); end - # source://rbs/lib/rbs/writer.rb#97 + # source://rbs//lib/rbs/writer.rb#97 def write_directive(dir); end - # source://rbs/lib/rbs/writer.rb#301 + # source://rbs//lib/rbs/writer.rb#301 def write_loc_source(located); end - # source://rbs/lib/rbs/writer.rb#234 + # source://rbs//lib/rbs/writer.rb#234 def write_member(member); end end -# source://rbs/lib/rdoc/discover.rb#8 +# source://rbs//lib/rdoc/discover.rb#8 class RDoc::Parser::RBS < ::RDoc::Parser - # source://rbs/lib/rdoc/discover.rb#10 + # source://rbs//lib/rdoc/discover.rb#10 def scan; end end diff --git a/sorbet/rbi/gems/rdoc@6.11.0.rbi b/sorbet/rbi/gems/rdoc@6.11.0.rbi index 8f1092550..0044e25f8 100644 --- a/sorbet/rbi/gems/rdoc@6.11.0.rbi +++ b/sorbet/rbi/gems/rdoc@6.11.0.rbi @@ -130,7 +130,7 @@ class RDoc::Alias < ::RDoc::CodeObject # Aliased method's name # - # source://rdoc//lib/rdoc/code_object/alias.rb#14 + # source://rdoc//lib/rdoc/code_object/alias.rb#16 def name; end # '::' for the alias of a singleton method/attribute, '#' for instance-level. @@ -150,7 +150,7 @@ class RDoc::Alias < ::RDoc::CodeObject # New name with prefix '::' or '#'. # - # source://rdoc//lib/rdoc/code_object/alias.rb#101 + # source://rdoc//lib/rdoc/code_object/alias.rb#105 def pretty_name; end # New name with prefix '::' or '#'. @@ -551,7 +551,7 @@ class RDoc::ClassModule < ::RDoc::Context # # Ancestors of this class or module only # - # source://rdoc//lib/rdoc/code_object/class_module.rb#171 + # source://rdoc//lib/rdoc/code_object/class_module.rb#190 def direct_ancestors; end # Does this ClassModule or any of its methods have document_self set? @@ -1138,7 +1138,7 @@ class RDoc::Comment # # For duck-typing when merging classes at load time # - # source://rdoc//lib/rdoc/comment.rb#24 + # source://rdoc//lib/rdoc/comment.rb#34 def file; end # The format of this comment. Defaults to RDoc::Markup @@ -1225,7 +1225,7 @@ class RDoc::Comment # # Alias for text # - # source://rdoc//lib/rdoc/comment.rb#39 + # source://rdoc//lib/rdoc/comment.rb#44 def to_s; end # Returns true if this comment is in TomDoc format. @@ -2003,7 +2003,7 @@ class RDoc::Context::Section # Sections are equal when they have the same #title # - # source://rdoc//lib/rdoc/code_object/context/section.rb#54 + # source://rdoc//lib/rdoc/code_object/context/section.rb#58 def eql?(other); end # Extracts the comment for this section from the original comment block. @@ -2868,7 +2868,7 @@ class RDoc::Markdown # # @return [Markdown] a new instance of Markdown # - # source://rdoc//lib/rdoc/markdown.rb#668 + # source://rdoc//lib/rdoc/markdown.rb#188 def initialize(extensions = T.unsafe(nil), debug = T.unsafe(nil)); end # Alphanumeric = %literals.Alphanumeric @@ -4265,12 +4265,12 @@ class RDoc::Markdown # Parses `markdown` into an RDoc::Document # - # source://rdoc//lib/rdoc/markdown.rb#808 + # source://rdoc//lib/rdoc/markdown.rb#414 def parse(markdown); end # The internal kpeg parse method # - # source://rdoc//lib/rdoc/markdown.rb#414 + # source://rdoc//lib/rdoc/markdown.rb#787 def peg_parse(rule = T.unsafe(nil)); end # Returns the value of attribute pos. @@ -4369,7 +4369,7 @@ class RDoc::Markdown # # @return [Markdown] a new instance of Markdown # - # source://rdoc//lib/rdoc/markdown.rb#188 + # source://rdoc//lib/rdoc/markdown.rb#663 def orig_initialize(str, debug = T.unsafe(nil)); end class << self @@ -4395,63 +4395,92 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://rdoc//lib/rdoc/markdown.rb#257 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def char=(_); end # Returns the value of attribute col # # @return [Object] the current value of col + # + # source://rdoc//lib/rdoc/markdown.rb#257 def col; end # Sets the attribute col # # @param value [Object] the value to set the attribute col to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def col=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rdoc//lib/rdoc/markdown.rb#257 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def line=(_); end # Returns the value of attribute lno # # @return [Object] the current value of lno + # + # source://rdoc//lib/rdoc/markdown.rb#257 def lno; end # Sets the attribute lno # # @param value [Object] the value to set the attribute lno to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def lno=(_); end # Returns the value of attribute pos # # @return [Object] the current value of pos + # + # source://rdoc//lib/rdoc/markdown.rb#257 def pos; end # Sets the attribute pos # # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def pos=(_); end class << self + # source://rdoc//lib/rdoc/markdown.rb#257 def [](*_arg0); end + + # source://rdoc//lib/rdoc/markdown.rb#257 def inspect; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def keyword_init?; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def members; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def new(*_arg0); end end end @@ -4644,63 +4673,92 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def char=(_); end # Returns the value of attribute col # # @return [Object] the current value of col + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def col; end # Sets the attribute col # # @param value [Object] the value to set the attribute col to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def col=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def line=(_); end # Returns the value of attribute lno # # @return [Object] the current value of lno + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def lno; end # Sets the attribute lno # # @param value [Object] the value to set the attribute lno to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def lno=(_); end # Returns the value of attribute pos # # @return [Object] the current value of pos + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def pos; end # Sets the attribute pos # # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def pos=(_); end class << self + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def [](*_arg0); end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def inspect; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def keyword_init?; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def members; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def new(*_arg0); end end end @@ -4889,6 +4947,53 @@ class RDoc::Markup::AttrChanger < ::Struct # source://rdoc//lib/rdoc/markup/attr_changer.rb#14 def to_s; end + + # Returns the value of attribute turn_off + # + # @return [Object] the current value of turn_off + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_off; end + + # Sets the attribute turn_off + # + # @param value [Object] the value to set the attribute turn_off to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_off=(_); end + + # Returns the value of attribute turn_on + # + # @return [Object] the current value of turn_on + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_on; end + + # Sets the attribute turn_on + # + # @param value [Object] the value to set the attribute turn_on to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_on=(_); end + + class << self + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def inspect; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def members; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def new(*_arg0); end + end end # An array of attributes which parallels the characters in a string. @@ -5360,6 +5465,74 @@ class RDoc::Markup::Formatter end end +# Tag for inline markup containing a +bit+ for the bitmask and the +on+ and +# +off+ triggers. +# +# source://rdoc//lib/rdoc/markup/formatter.rb#19 +class RDoc::Markup::Formatter::InlineTag < ::Struct + # Returns the value of attribute bit + # + # @return [Object] the current value of bit + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def bit; end + + # Sets the attribute bit + # + # @param value [Object] the value to set the attribute bit to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def bit=(_); end + + # Returns the value of attribute off + # + # @return [Object] the current value of off + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def off; end + + # Sets the attribute off + # + # @param value [Object] the value to set the attribute off to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def off=(_); end + + # Returns the value of attribute on + # + # @return [Object] the current value of on + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def on; end + + # Sets the attribute on + # + # @param value [Object] the value to set the attribute on to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def on=(_); end + + class << self + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def inspect; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def members; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def new(*_arg0); end + end +end + # A hard-break in the middle of a paragraph. # # source://rdoc//lib/rdoc/markup/hard_break.rb#5 @@ -5394,13 +5567,40 @@ class RDoc::Markup::Heading < ::Struct # source://rdoc//lib/rdoc/markup/heading.rb#55 def label(context = T.unsafe(nil)); end + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def level; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def level=(_); end + # source://rdoc//lib/rdoc/markup/heading.rb#68 def plain_html; end # source://rdoc//lib/rdoc/markup/heading.rb#72 def pretty_print(q); end + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def text; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def text=(_); end + class << self + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def inspect; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def members; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def new(*_arg0); end + # source://rdoc//lib/rdoc/markup/heading.rb#22 def to_html; end @@ -6500,12 +6700,12 @@ class RDoc::Markup::ToHtmlSnippet < ::RDoc::Markup::ToHtml # Raw sections are untrusted and ignored # - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#62 def accept_raw(*node); end # Rules are ignored # - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#67 def accept_rule(*node); end # Adds +verbatim+ to the output @@ -6616,22 +6816,22 @@ class RDoc::Markup::ToJoinedParagraph < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#12 def initialize; end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#35 def accept_block_quote(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#36 def accept_heading(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#37 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#38 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#39 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#40 def accept_list_start(*node); end # Converts the parts of +paragraph+ to a single entry. @@ -6639,16 +6839,16 @@ class RDoc::Markup::ToJoinedParagraph < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#25 def accept_paragraph(paragraph); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#41 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#42 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#44 def accept_table(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#43 def accept_verbatim(*node); end # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#19 @@ -6671,37 +6871,37 @@ class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_label.rb#16 def initialize(markup = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#59 def accept_blank_line(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#60 def accept_block_quote(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#61 def accept_heading(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#62 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#63 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#64 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#65 def accept_list_start(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#66 def accept_paragraph(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#67 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#68 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#69 def accept_verbatim(*node); end # Converts +text+ to an HTML-safe label @@ -6709,7 +6909,7 @@ class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_label.rb#32 def convert(text); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#70 def end_accepting(*node); end # Converts the CROSSREF +target+ to plain text, removing the suppression @@ -6718,7 +6918,7 @@ class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_label.rb#42 def handle_regexp_CROSSREF(target); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#71 def handle_regexp_HARD_BREAK(*node); end # Converts the TIDYLINK +target+ to just the text part @@ -6729,7 +6929,7 @@ class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_label.rb#11 def res; end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_label.rb#72 def start_accepting(*node); end end @@ -6978,12 +7178,12 @@ class RDoc::Markup::ToTableOfContents < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#27 def initialize; end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#77 def accept_blank_line(*node); end # :stopdoc: # - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#74 def accept_block_quote(*node); end # Adds +document+ to the output, using its heading cutoff if present @@ -6996,34 +7196,34 @@ class RDoc::Markup::ToTableOfContents < ::RDoc::Markup::Formatter # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#45 def accept_heading(heading); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#80 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#83 def accept_list_end_bullet(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#82 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#81 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#84 def accept_list_start(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#78 def accept_paragraph(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#75 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#76 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#85 def accept_table(*node); end - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#79 def accept_verbatim(*node); end # Returns the table of contents @@ -7124,7 +7324,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#74 def accept_blank_line(markup_item); end # Adds tts from +block_quote+ to the output @@ -7135,7 +7335,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#75 def accept_heading(markup_item); end # Pops the list type for +list+ from #list_type @@ -7146,7 +7346,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#76 def accept_list_item_end(markup_item); end # Prepares the visitor for consuming +list_item+ @@ -7167,19 +7367,19 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#77 def accept_raw(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#78 def accept_rule(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#79 def accept_verbatim(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built @@ -7550,7 +7750,7 @@ class RDoc::Mixin < ::RDoc::CodeObject # source://rdoc//lib/rdoc/code_object/mixin.rb#32 def ==(other); end - # source://rdoc//lib/rdoc/code_object/mixin.rb#32 + # source://rdoc//lib/rdoc/code_object/mixin.rb#36 def eql?(other); end # Full name based on #module @@ -8933,67 +9133,91 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # Returns the value of attribute author # # @return [Object] the current value of author + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def author; end # Sets the attribute author # # @param value [Object] the value to set the attribute author to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def author=(_); end # Returns the value of attribute base # # @return [Object] the current value of base + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def base; end # Sets the attribute base # # @param value [Object] the value to set the attribute base to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def base=(_); end # Returns the value of attribute commit # # @return [Object] the current value of commit + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def commit; end # Sets the attribute commit # # @param value [Object] the value to set the attribute commit to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def commit=(_); end # Returns the value of attribute contents # # @return [Object] the current value of contents + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def contents; end # Sets the attribute contents # # @param value [Object] the value to set the attribute contents to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def contents=(_); end # Returns the value of attribute date # # @return [Object] the current value of date + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def date; end # Sets the attribute date # # @param value [Object] the value to set the attribute date to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def date=(_); end # Returns the value of attribute email # # @return [Object] the current value of email + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def email; end # Sets the attribute email # # @param value [Object] the value to set the attribute email to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def email=(_); end # source://rdoc//lib/rdoc/parser/changelog.rb#298 @@ -9009,10 +9233,19 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct def text; end class << self + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def [](*_arg0); end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def inspect; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def keyword_init?; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def members; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def new(*_arg0); end end end @@ -9133,63 +9366,92 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # Returns the value of attribute char_no # # @return [Object] the current value of char_no + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def char_no; end # Sets the attribute char_no # # @param value [Object] the value to set the attribute char_no to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def char_no=(_); end # Returns the value of attribute kind # # @return [Object] the current value of kind + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def kind; end # Sets the attribute kind # # @param value [Object] the value to set the attribute kind to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def kind=(_); end # Returns the value of attribute line_no # # @return [Object] the current value of line_no + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def line_no; end # Sets the attribute line_no # # @param value [Object] the value to set the attribute line_no to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def line_no=(_); end # Returns the value of attribute state # # @return [Object] the current value of state + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def state; end # Sets the attribute state # # @param value [Object] the value to set the attribute state to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def state=(_); end # Returns the value of attribute text # # @return [Object] the current value of text + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def text; end # Sets the attribute text # # @param value [Object] the value to set the attribute text to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def text=(_); end class << self + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def [](*_arg0); end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def inspect; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def keyword_init?; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def members; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 def new(*_arg0); end end end @@ -10237,7 +10499,7 @@ class RDoc::RD::Inline # The markup of this reference in RDoc format # - # source://rdoc//lib/rdoc/rd/inline.rb#15 + # source://rdoc//lib/rdoc/rd/inline.rb#69 def to_s; end class << self @@ -12255,7 +12517,7 @@ module RDoc::TokenStream # Starts collecting tokens # - # source://rdoc//lib/rdoc/token_stream.rb#91 + # source://rdoc//lib/rdoc/token_stream.rb#95 def start_collecting_tokens; end # Current token stream @@ -12494,7 +12756,7 @@ class RDoc::TopLevel < ::RDoc::Context # An RDoc::TopLevel is equal to another with the same relative_name # - # source://rdoc//lib/rdoc/code_object/top_level.rb#67 + # source://rdoc//lib/rdoc/code_object/top_level.rb#71 def eql?(other); end # This TopLevel's File::Stat struct @@ -12561,7 +12823,7 @@ class RDoc::TopLevel < ::RDoc::Context # Base name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#120 + # source://rdoc//lib/rdoc/code_object/top_level.rb#124 def name; end # Returns the NormalClass "Object", creating it if not found. diff --git a/sorbet/rbi/gems/redis-client@0.23.2.rbi b/sorbet/rbi/gems/redis-client@0.23.2.rbi index 02aa557bb..7e894a73d 100644 --- a/sorbet/rbi/gems/redis-client@0.23.2.rbi +++ b/sorbet/rbi/gems/redis-client@0.23.2.rbi @@ -12,1351 +12,1353 @@ module Process extend ::ActiveSupport::ForkTracker::ModernCoreExt end -# source://redis-client/lib/redis_client/version.rb#3 +# source://redis-client//lib/redis_client/version.rb#3 class RedisClient include ::RedisClient::Common # @return [RedisClient] a new instance of RedisClient # - # source://redis-client/lib/redis_client.rb#196 + # source://redis-client//lib/redis_client.rb#196 def initialize(config, **_arg1); end - # source://redis-client/lib/redis_client.rb#343 + # source://redis-client//lib/redis_client.rb#343 def blocking_call(timeout, *command, **kwargs); end - # source://redis-client/lib/redis_client.rb#363 + # source://redis-client//lib/redis_client.rb#363 def blocking_call_v(timeout, command); end - # source://redis-client/lib/redis_client.rb#283 + # source://redis-client//lib/redis_client.rb#283 def call(*command, **kwargs); end - # source://redis-client/lib/redis_client.rb#313 + # source://redis-client//lib/redis_client.rb#313 def call_once(*command, **kwargs); end - # source://redis-client/lib/redis_client.rb#328 + # source://redis-client//lib/redis_client.rb#328 def call_once_v(command); end - # source://redis-client/lib/redis_client.rb#298 + # source://redis-client//lib/redis_client.rb#298 def call_v(command); end - # source://redis-client/lib/redis_client.rb#423 + # source://redis-client//lib/redis_client.rb#423 def close; end # @return [Boolean] # - # source://redis-client/lib/redis_client.rb#419 + # source://redis-client//lib/redis_client.rb#419 def connected?; end - # source://redis-client/lib/redis_client.rb#220 + # source://redis-client//lib/redis_client.rb#220 def db; end - # source://redis-client/lib/redis_client.rb#428 + # source://redis-client//lib/redis_client.rb#428 def disable_reconnection(&block); end - # source://redis-client/lib/redis_client.rb#224 + # source://redis-client//lib/redis_client.rb#224 def host; end - # source://redis-client/lib/redis_client.rb#401 + # source://redis-client//lib/redis_client.rb#401 def hscan(key, *args, **kwargs, &block); end - # source://redis-client/lib/redis_client.rb#212 + # source://redis-client//lib/redis_client.rb#212 def id; end - # source://redis-client/lib/redis_client.rb#203 + # source://redis-client//lib/redis_client.rb#203 def inspect; end - # source://redis-client/lib/redis_client.rb#275 + # source://redis-client//lib/redis_client.rb#275 def measure_round_trip_delay; end - # source://redis-client/lib/redis_client.rb#450 + # source://redis-client//lib/redis_client.rb#450 def multi(watch: T.unsafe(nil), &block); end - # source://redis-client/lib/redis_client.rb#240 + # source://redis-client//lib/redis_client.rb#240 def password; end - # source://redis-client/lib/redis_client.rb#232 + # source://redis-client//lib/redis_client.rb#232 def path; end # @yield [pipeline] # - # source://redis-client/lib/redis_client.rb#432 + # source://redis-client//lib/redis_client.rb#432 def pipelined(exception: T.unsafe(nil)); end - # source://redis-client/lib/redis_client.rb#228 + # source://redis-client//lib/redis_client.rb#228 def port; end - # source://redis-client/lib/redis_client.rb#269 + # source://redis-client//lib/redis_client.rb#269 def pubsub; end - # source://redis-client/lib/redis_client.rb#259 + # source://redis-client//lib/redis_client.rb#259 def read_timeout=(timeout); end - # source://redis-client/lib/redis_client.rb#383 + # source://redis-client//lib/redis_client.rb#383 def scan(*args, **kwargs, &block); end - # source://redis-client/lib/redis_client.rb#208 + # source://redis-client//lib/redis_client.rb#208 def server_url; end - # source://redis-client/lib/redis_client.rb#244 + # source://redis-client//lib/redis_client.rb#244 def size; end - # source://redis-client/lib/redis_client.rb#392 + # source://redis-client//lib/redis_client.rb#392 def sscan(key, *args, **kwargs, &block); end # @yield [_self] # @yieldparam _self [RedisClient] the object that the method was called on # - # source://redis-client/lib/redis_client.rb#248 + # source://redis-client//lib/redis_client.rb#251 def then(_options = T.unsafe(nil)); end - # source://redis-client/lib/redis_client.rb#216 + # source://redis-client//lib/redis_client.rb#216 def timeout; end - # source://redis-client/lib/redis_client.rb#253 + # source://redis-client//lib/redis_client.rb#253 def timeout=(timeout); end - # source://redis-client/lib/redis_client.rb#236 + # source://redis-client//lib/redis_client.rb#236 def username; end # @yield [_self] # @yieldparam _self [RedisClient] the object that the method was called on # - # source://redis-client/lib/redis_client.rb#248 + # source://redis-client//lib/redis_client.rb#248 def with(_options = T.unsafe(nil)); end - # source://redis-client/lib/redis_client.rb#264 + # source://redis-client//lib/redis_client.rb#264 def write_timeout=(timeout); end - # source://redis-client/lib/redis_client.rb#410 + # source://redis-client//lib/redis_client.rb#410 def zscan(key, *args, **kwargs, &block); end private # @yield [transaction] # - # source://redis-client/lib/redis_client.rb#657 + # source://redis-client//lib/redis_client.rb#657 def build_transaction; end - # source://redis-client/lib/redis_client.rb#750 + # source://redis-client//lib/redis_client.rb#750 def connect; end - # source://redis-client/lib/redis_client.rb#691 + # source://redis-client//lib/redis_client.rb#691 def ensure_connected(retryable: T.unsafe(nil)); end - # source://redis-client/lib/redis_client.rb#743 + # source://redis-client//lib/redis_client.rb#743 def raw_connection; end - # source://redis-client/lib/redis_client.rb#665 + # source://redis-client//lib/redis_client.rb#665 def scan_list(cursor_index, command, &block); end - # source://redis-client/lib/redis_client.rb#675 + # source://redis-client//lib/redis_client.rb#675 def scan_pairs(cursor_index, command); end class << self - # source://redis-client/lib/redis_client.rb#173 + # source://redis-client//lib/redis_client.rb#173 def config(**kwargs); end - # source://redis-client/lib/redis_client.rb#33 + # source://redis-client//lib/redis_client.rb#33 def default_driver; end - # source://redis-client/lib/redis_client.rb#45 + # source://redis-client//lib/redis_client.rb#45 def default_driver=(name); end - # source://redis-client/lib/redis_client.rb#22 + # source://redis-client//lib/redis_client.rb#22 def driver(name); end - # source://redis-client/lib/redis_client.rb#181 + # source://redis-client//lib/redis_client.rb#181 def new(arg = T.unsafe(nil), **kwargs); end - # source://redis-client/lib/redis_client.rb#49 + # source://redis-client//lib/redis_client.rb#49 def now; end - # source://redis-client/lib/redis_client.rb#53 + # source://redis-client//lib/redis_client.rb#53 def now_ms; end - # source://redis-client/lib/redis_client.rb#189 + # source://redis-client//lib/redis_client.rb#189 def register(middleware); end - # source://redis-client/lib/redis_client.rb#18 + # source://redis-client//lib/redis_client.rb#18 def register_driver(name, &block); end - # source://redis-client/lib/redis_client.rb#177 + # source://redis-client//lib/redis_client.rb#177 def sentinel(**kwargs); end end end -# source://redis-client/lib/redis_client.rb#152 +# source://redis-client//lib/redis_client.rb#152 class RedisClient::AuthenticationError < ::RedisClient::CommandError; end -# source://redis-client/lib/redis_client/middlewares.rb#4 +# source://redis-client//lib/redis_client/middlewares.rb#4 class RedisClient::BasicMiddleware # @return [BasicMiddleware] a new instance of BasicMiddleware # - # source://redis-client/lib/redis_client/middlewares.rb#7 + # source://redis-client//lib/redis_client/middlewares.rb#7 def initialize(client); end # @yield [command] # - # source://redis-client/lib/redis_client/middlewares.rb#15 + # source://redis-client//lib/redis_client/middlewares.rb#15 def call(command, _config); end # @yield [command] # - # source://redis-client/lib/redis_client/middlewares.rb#15 + # source://redis-client//lib/redis_client/middlewares.rb#18 def call_pipelined(command, _config); end # Returns the value of attribute client. # - # source://redis-client/lib/redis_client/middlewares.rb#5 + # source://redis-client//lib/redis_client/middlewares.rb#5 def client; end - # source://redis-client/lib/redis_client/middlewares.rb#11 + # source://redis-client//lib/redis_client/middlewares.rb#11 def connect(_config); end end -# source://redis-client/lib/redis_client.rb#116 +# source://redis-client//lib/redis_client.rb#116 class RedisClient::CannotConnectError < ::RedisClient::ConnectionError; end -# source://redis-client/lib/redis_client.rb#123 +# source://redis-client//lib/redis_client.rb#123 class RedisClient::CheckoutTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client/lib/redis_client/circuit_breaker.rb#4 +# source://redis-client//lib/redis_client/circuit_breaker.rb#4 class RedisClient::CircuitBreaker # @return [CircuitBreaker] a new instance of CircuitBreaker # - # source://redis-client/lib/redis_client/circuit_breaker.rb#23 + # source://redis-client//lib/redis_client/circuit_breaker.rb#23 def initialize(error_threshold:, error_timeout:, error_threshold_timeout: T.unsafe(nil), success_threshold: T.unsafe(nil)); end # Returns the value of attribute error_threshold. # - # source://redis-client/lib/redis_client/circuit_breaker.rb#21 + # source://redis-client//lib/redis_client/circuit_breaker.rb#21 def error_threshold; end # Returns the value of attribute error_threshold_timeout. # - # source://redis-client/lib/redis_client/circuit_breaker.rb#21 + # source://redis-client//lib/redis_client/circuit_breaker.rb#21 def error_threshold_timeout; end # Returns the value of attribute error_timeout. # - # source://redis-client/lib/redis_client/circuit_breaker.rb#21 + # source://redis-client//lib/redis_client/circuit_breaker.rb#21 def error_timeout; end - # source://redis-client/lib/redis_client/circuit_breaker.rb#34 + # source://redis-client//lib/redis_client/circuit_breaker.rb#34 def protect; end # Returns the value of attribute success_threshold. # - # source://redis-client/lib/redis_client/circuit_breaker.rb#21 + # source://redis-client//lib/redis_client/circuit_breaker.rb#21 def success_threshold; end private - # source://redis-client/lib/redis_client/circuit_breaker.rb#80 + # source://redis-client//lib/redis_client/circuit_breaker.rb#80 def record_error; end - # source://redis-client/lib/redis_client/circuit_breaker.rb#95 + # source://redis-client//lib/redis_client/circuit_breaker.rb#95 def record_success; end - # source://redis-client/lib/redis_client/circuit_breaker.rb#65 + # source://redis-client//lib/redis_client/circuit_breaker.rb#65 def refresh_state; end end -# source://redis-client/lib/redis_client/circuit_breaker.rb#5 +# source://redis-client//lib/redis_client/circuit_breaker.rb#5 module RedisClient::CircuitBreaker::Middleware - # source://redis-client/lib/redis_client/circuit_breaker.rb#10 + # source://redis-client//lib/redis_client/circuit_breaker.rb#10 def call(_command, config); end - # source://redis-client/lib/redis_client/circuit_breaker.rb#14 + # source://redis-client//lib/redis_client/circuit_breaker.rb#14 def call_pipelined(_commands, config); end - # source://redis-client/lib/redis_client/circuit_breaker.rb#6 + # source://redis-client//lib/redis_client/circuit_breaker.rb#6 def connect(config); end end -# source://redis-client/lib/redis_client/circuit_breaker.rb#19 +# source://redis-client//lib/redis_client/circuit_breaker.rb#19 class RedisClient::CircuitBreaker::OpenCircuitError < ::RedisClient::CannotConnectError; end -# source://redis-client/lib/redis_client/command_builder.rb#4 +# source://redis-client//lib/redis_client/command_builder.rb#4 module RedisClient::CommandBuilder extend ::RedisClient::CommandBuilder - # source://redis-client/lib/redis_client/command_builder.rb#8 + # source://redis-client//lib/redis_client/command_builder.rb#8 def generate(args, kwargs = T.unsafe(nil)); end end -# source://redis-client/lib/redis_client.rb#133 +# source://redis-client//lib/redis_client.rb#133 class RedisClient::CommandError < ::RedisClient::Error include ::RedisClient::HasCommand class << self - # source://redis-client/lib/redis_client.rb#137 + # source://redis-client//lib/redis_client.rb#137 def parse(error_message); end end end -# source://redis-client/lib/redis_client.rb#163 +# source://redis-client//lib/redis_client.rb#163 RedisClient::CommandError::ERRORS = T.let(T.unsafe(nil), Hash) -# source://redis-client/lib/redis_client.rb#63 +# source://redis-client//lib/redis_client.rb#63 module RedisClient::Common - # source://redis-client/lib/redis_client.rb#67 + # source://redis-client//lib/redis_client.rb#67 def initialize(config, id: T.unsafe(nil), connect_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil)); end # Returns the value of attribute config. # - # source://redis-client/lib/redis_client.rb#64 + # source://redis-client//lib/redis_client.rb#64 def config; end # Returns the value of attribute connect_timeout. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def connect_timeout; end # Sets the attribute connect_timeout # # @param value the value to set the attribute connect_timeout to. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def connect_timeout=(_arg0); end # Returns the value of attribute id. # - # source://redis-client/lib/redis_client.rb#64 + # source://redis-client//lib/redis_client.rb#64 def id; end # Returns the value of attribute read_timeout. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def read_timeout; end # Sets the attribute read_timeout # # @param value the value to set the attribute read_timeout to. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def read_timeout=(_arg0); end - # source://redis-client/lib/redis_client.rb#83 + # source://redis-client//lib/redis_client.rb#83 def timeout=(timeout); end # Returns the value of attribute write_timeout. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def write_timeout; end # Sets the attribute write_timeout # # @param value the value to set the attribute write_timeout to. # - # source://redis-client/lib/redis_client.rb#65 + # source://redis-client//lib/redis_client.rb#65 def write_timeout=(_arg0); end end -# source://redis-client/lib/redis_client/config.rb#7 +# source://redis-client//lib/redis_client/config.rb#7 class RedisClient::Config include ::RedisClient::Config::Common # @return [Config] a new instance of Config # - # source://redis-client/lib/redis_client/config.rb#202 + # source://redis-client//lib/redis_client/config.rb#202 def initialize(url: T.unsafe(nil), host: T.unsafe(nil), port: T.unsafe(nil), path: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), **kwargs); end # Returns the value of attribute host. # - # source://redis-client/lib/redis_client/config.rb#200 + # source://redis-client//lib/redis_client/config.rb#200 def host; end # Returns the value of attribute path. # - # source://redis-client/lib/redis_client/config.rb#200 + # source://redis-client//lib/redis_client/config.rb#200 def path; end # Returns the value of attribute port. # - # source://redis-client/lib/redis_client/config.rb#200 + # source://redis-client//lib/redis_client/config.rb#200 def port; end end -# source://redis-client/lib/redis_client/config.rb#14 +# source://redis-client//lib/redis_client/config.rb#14 module RedisClient::Config::Common - # source://redis-client/lib/redis_client/config.rb#21 + # source://redis-client//lib/redis_client/config.rb#21 def initialize(username: T.unsafe(nil), password: T.unsafe(nil), db: T.unsafe(nil), id: T.unsafe(nil), timeout: T.unsafe(nil), read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), connect_timeout: T.unsafe(nil), ssl: T.unsafe(nil), custom: T.unsafe(nil), ssl_params: T.unsafe(nil), driver: T.unsafe(nil), protocol: T.unsafe(nil), client_implementation: T.unsafe(nil), command_builder: T.unsafe(nil), inherit_socket: T.unsafe(nil), reconnect_attempts: T.unsafe(nil), middlewares: T.unsafe(nil), circuit_breaker: T.unsafe(nil)); end # Returns the value of attribute circuit_breaker. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def circuit_breaker; end # Returns the value of attribute command_builder. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def command_builder; end # Returns the value of attribute connect_timeout. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def connect_timeout; end - # source://redis-client/lib/redis_client/config.rb#90 + # source://redis-client//lib/redis_client/config.rb#90 def connection_prelude; end # Returns the value of attribute custom. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def custom; end # Returns the value of attribute db. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def db; end # Returns the value of attribute driver. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def driver; end # Returns the value of attribute id. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def id; end # Returns the value of attribute inherit_socket. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def inherit_socket; end # Returns the value of attribute middlewares_stack. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def middlewares_stack; end - # source://redis-client/lib/redis_client/config.rb#123 + # source://redis-client//lib/redis_client/config.rb#123 def new_client(**kwargs); end - # source://redis-client/lib/redis_client/config.rb#118 + # source://redis-client//lib/redis_client/config.rb#118 def new_pool(**kwargs); end - # source://redis-client/lib/redis_client/config.rb#98 + # source://redis-client//lib/redis_client/config.rb#98 def password; end # Returns the value of attribute protocol. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def protocol; end # Returns the value of attribute read_timeout. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def read_timeout; end # @return [Boolean] # - # source://redis-client/lib/redis_client/config.rb#110 + # source://redis-client//lib/redis_client/config.rb#110 def resolved?; end # @return [Boolean] # - # source://redis-client/lib/redis_client/config.rb#127 + # source://redis-client//lib/redis_client/config.rb#127 def retry_connecting?(attempt, _error); end # @return [Boolean] # - # source://redis-client/lib/redis_client/config.rb#114 + # source://redis-client//lib/redis_client/config.rb#114 def sentinel?; end - # source://redis-client/lib/redis_client/config.rb#145 + # source://redis-client//lib/redis_client/config.rb#145 def server_url; end # Returns the value of attribute ssl. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def ssl; end # Returns the value of attribute ssl. + # + # source://redis-client//lib/redis_client/config.rb#19 def ssl?; end - # source://redis-client/lib/redis_client/config.rb#139 + # source://redis-client//lib/redis_client/config.rb#139 def ssl_context; end # Returns the value of attribute ssl_params. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def ssl_params; end - # source://redis-client/lib/redis_client/config.rb#106 + # source://redis-client//lib/redis_client/config.rb#106 def username; end # Returns the value of attribute write_timeout. # - # source://redis-client/lib/redis_client/config.rb#15 + # source://redis-client//lib/redis_client/config.rb#15 def write_timeout; end private - # source://redis-client/lib/redis_client/config.rb#168 + # source://redis-client//lib/redis_client/config.rb#168 def build_connection_prelude; end end -# source://redis-client/lib/redis_client/config.rb#12 +# source://redis-client//lib/redis_client/config.rb#12 RedisClient::Config::DEFAULT_DB = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/config.rb#9 +# source://redis-client//lib/redis_client/config.rb#9 RedisClient::Config::DEFAULT_HOST = T.let(T.unsafe(nil), String) -# source://redis-client/lib/redis_client/config.rb#10 +# source://redis-client//lib/redis_client/config.rb#10 RedisClient::Config::DEFAULT_PORT = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/config.rb#8 +# source://redis-client//lib/redis_client/config.rb#8 RedisClient::Config::DEFAULT_TIMEOUT = T.let(T.unsafe(nil), Float) -# source://redis-client/lib/redis_client/config.rb#11 +# source://redis-client//lib/redis_client/config.rb#11 RedisClient::Config::DEFAULT_USERNAME = T.let(T.unsafe(nil), String) -# source://redis-client/lib/redis_client.rb#115 +# source://redis-client//lib/redis_client.rb#115 class RedisClient::ConnectionError < ::RedisClient::Error; end -# source://redis-client/lib/redis_client/connection_mixin.rb#4 +# source://redis-client//lib/redis_client/connection_mixin.rb#4 module RedisClient::ConnectionMixin - # source://redis-client/lib/redis_client/connection_mixin.rb#5 + # source://redis-client//lib/redis_client/connection_mixin.rb#5 def initialize; end - # source://redis-client/lib/redis_client/connection_mixin.rb#28 + # source://redis-client//lib/redis_client/connection_mixin.rb#28 def call(command, timeout); end - # source://redis-client/lib/redis_client/connection_mixin.rb#42 + # source://redis-client//lib/redis_client/connection_mixin.rb#42 def call_pipelined(commands, timeouts, exception: T.unsafe(nil)); end - # source://redis-client/lib/redis_client/connection_mixin.rb#14 + # source://redis-client//lib/redis_client/connection_mixin.rb#14 def close; end - # source://redis-client/lib/redis_client/connection_mixin.rb#77 + # source://redis-client//lib/redis_client/connection_mixin.rb#77 def connection_timeout(timeout); end - # source://redis-client/lib/redis_client/connection_mixin.rb#9 + # source://redis-client//lib/redis_client/connection_mixin.rb#9 def reconnect; end - # source://redis-client/lib/redis_client/connection_mixin.rb#19 + # source://redis-client//lib/redis_client/connection_mixin.rb#19 def revalidate; end end -# source://redis-client/lib/redis_client/decorator.rb#4 +# source://redis-client//lib/redis_client/decorator.rb#4 module RedisClient::Decorator class << self - # source://redis-client/lib/redis_client/decorator.rb#6 + # source://redis-client//lib/redis_client/decorator.rb#6 def create(commands_mixin); end end end -# source://redis-client/lib/redis_client/decorator.rb#37 +# source://redis-client//lib/redis_client/decorator.rb#37 class RedisClient::Decorator::Client include ::RedisClient::Decorator::CommandsMixin # @return [Client] a new instance of Client # - # source://redis-client/lib/redis_client/decorator.rb#40 + # source://redis-client//lib/redis_client/decorator.rb#40 def initialize(_client); end - # source://redis-client/lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def close(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def config; end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def connect_timeout; end - # source://redis-client/lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def connect_timeout=(value); end - # source://redis-client/lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def hscan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def id; end - # source://redis-client/lib/redis_client/decorator.rb#54 + # source://redis-client//lib/redis_client/decorator.rb#54 def multi(**kwargs); end - # source://redis-client/lib/redis_client/decorator.rb#50 + # source://redis-client//lib/redis_client/decorator.rb#50 def pipelined(exception: T.unsafe(nil)); end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def pubsub; end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def read_timeout; end - # source://redis-client/lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def read_timeout=(value); end - # source://redis-client/lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def scan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def size; end - # source://redis-client/lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def sscan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def timeout=(value); end - # source://redis-client/lib/redis_client/decorator.rb#45 + # source://redis-client//lib/redis_client/decorator.rb#45 def with(*args, **_arg1); end - # source://redis-client/lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def write_timeout; end - # source://redis-client/lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def write_timeout=(value); end - # source://redis-client/lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def zscan(*args, **_arg1, &block); end end -# source://redis-client/lib/redis_client/decorator.rb#18 +# source://redis-client//lib/redis_client/decorator.rb#18 module RedisClient::Decorator::CommandsMixin - # source://redis-client/lib/redis_client/decorator.rb#19 + # source://redis-client//lib/redis_client/decorator.rb#19 def initialize(client); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def blocking_call(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_once(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_once_v(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_v(*args, **_arg1, &block); end end -# source://redis-client/lib/redis_client/decorator.rb#33 +# source://redis-client//lib/redis_client/decorator.rb#33 class RedisClient::Decorator::Pipeline include ::RedisClient::Decorator::CommandsMixin end -# source://redis-client/lib/redis_client.rb#102 +# source://redis-client//lib/redis_client.rb#102 class RedisClient::Error < ::StandardError include ::RedisClient::HasConfig class << self - # source://redis-client/lib/redis_client.rb#105 + # source://redis-client//lib/redis_client.rb#105 def with_config(message, config = T.unsafe(nil)); end end end -# source://redis-client/lib/redis_client.rb#118 +# source://redis-client//lib/redis_client.rb#118 class RedisClient::FailoverError < ::RedisClient::ConnectionError; end -# source://redis-client/lib/redis_client.rb#125 +# source://redis-client//lib/redis_client.rb#125 module RedisClient::HasCommand - # source://redis-client/lib/redis_client.rb#128 + # source://redis-client//lib/redis_client.rb#128 def _set_command(command); end # Returns the value of attribute command. # - # source://redis-client/lib/redis_client.rb#126 + # source://redis-client//lib/redis_client.rb#126 def command; end end -# source://redis-client/lib/redis_client.rb#88 +# source://redis-client//lib/redis_client.rb#88 module RedisClient::HasConfig - # source://redis-client/lib/redis_client.rb#91 + # source://redis-client//lib/redis_client.rb#91 def _set_config(config); end # Returns the value of attribute config. # - # source://redis-client/lib/redis_client.rb#89 + # source://redis-client//lib/redis_client.rb#89 def config; end - # source://redis-client/lib/redis_client.rb#95 + # source://redis-client//lib/redis_client.rb#95 def message; end end -# source://redis-client/lib/redis_client.rb#160 +# source://redis-client//lib/redis_client.rb#160 class RedisClient::MasterDownError < ::RedisClient::ConnectionError include ::RedisClient::HasCommand end -# source://redis-client/lib/redis_client/middlewares.rb#21 +# source://redis-client//lib/redis_client/middlewares.rb#21 class RedisClient::Middlewares < ::RedisClient::BasicMiddleware; end -# source://redis-client/lib/redis_client.rb#531 +# source://redis-client//lib/redis_client.rb#531 class RedisClient::Multi # @return [Multi] a new instance of Multi # - # source://redis-client/lib/redis_client.rb#532 + # source://redis-client//lib/redis_client.rb#532 def initialize(command_builder); end - # source://redis-client/lib/redis_client.rb#574 + # source://redis-client//lib/redis_client.rb#574 def _blocks; end - # source://redis-client/lib/redis_client.rb#594 + # source://redis-client//lib/redis_client.rb#594 def _coerce!(results); end - # source://redis-client/lib/redis_client.rb#570 + # source://redis-client//lib/redis_client.rb#570 def _commands; end # @return [Boolean] # - # source://redis-client/lib/redis_client.rb#582 + # source://redis-client//lib/redis_client.rb#582 def _empty?; end # @return [Boolean] # - # source://redis-client/lib/redis_client.rb#590 + # source://redis-client//lib/redis_client.rb#590 def _retryable?; end - # source://redis-client/lib/redis_client.rb#578 + # source://redis-client//lib/redis_client.rb#578 def _size; end - # source://redis-client/lib/redis_client.rb#586 + # source://redis-client//lib/redis_client.rb#586 def _timeouts; end - # source://redis-client/lib/redis_client.rb#540 + # source://redis-client//lib/redis_client.rb#540 def call(*command, **kwargs, &block); end - # source://redis-client/lib/redis_client.rb#554 + # source://redis-client//lib/redis_client.rb#554 def call_once(*command, **kwargs, &block); end - # source://redis-client/lib/redis_client.rb#562 + # source://redis-client//lib/redis_client.rb#562 def call_once_v(command, &block); end - # source://redis-client/lib/redis_client.rb#547 + # source://redis-client//lib/redis_client.rb#547 def call_v(command, &block); end end -# source://redis-client/lib/redis_client.rb#155 +# source://redis-client//lib/redis_client.rb#155 class RedisClient::OutOfMemoryError < ::RedisClient::CommandError; end -# source://redis-client/lib/redis_client/pid_cache.rb#4 +# source://redis-client//lib/redis_client/pid_cache.rb#4 module RedisClient::PIDCache class << self # Returns the value of attribute pid. # - # source://redis-client/lib/redis_client/pid_cache.rb#10 + # source://redis-client//lib/redis_client/pid_cache.rb#10 def pid; end - # source://redis-client/lib/redis_client/pid_cache.rb#12 + # source://redis-client//lib/redis_client/pid_cache.rb#12 def update!; end end end -# source://redis-client/lib/redis_client/pid_cache.rb#18 +# source://redis-client//lib/redis_client/pid_cache.rb#18 module RedisClient::PIDCache::CoreExt - # source://redis-client/lib/redis_client/pid_cache.rb#19 + # source://redis-client//lib/redis_client/pid_cache.rb#19 def _fork; end end -# source://redis-client/lib/redis_client.rb#153 +# source://redis-client//lib/redis_client.rb#153 class RedisClient::PermissionError < ::RedisClient::CommandError; end -# source://redis-client/lib/redis_client.rb#610 +# source://redis-client//lib/redis_client.rb#610 class RedisClient::Pipeline < ::RedisClient::Multi # @return [Pipeline] a new instance of Pipeline # - # source://redis-client/lib/redis_client.rb#611 + # source://redis-client//lib/redis_client.rb#611 def initialize(_command_builder); end - # source://redis-client/lib/redis_client.rb#642 + # source://redis-client//lib/redis_client.rb#642 def _coerce!(results); end # @return [Boolean] # - # source://redis-client/lib/redis_client.rb#638 + # source://redis-client//lib/redis_client.rb#638 def _empty?; end - # source://redis-client/lib/redis_client.rb#634 + # source://redis-client//lib/redis_client.rb#634 def _timeouts; end - # source://redis-client/lib/redis_client.rb#616 + # source://redis-client//lib/redis_client.rb#616 def blocking_call(timeout, *command, **kwargs, &block); end - # source://redis-client/lib/redis_client.rb#625 + # source://redis-client//lib/redis_client.rb#625 def blocking_call_v(timeout, command, &block); end end -# source://redis-client/lib/redis_client/pooled.rb#6 +# source://redis-client//lib/redis_client/pooled.rb#6 class RedisClient::Pooled include ::RedisClient::Common # @return [Pooled] a new instance of Pooled # - # source://redis-client/lib/redis_client/pooled.rb#11 + # source://redis-client//lib/redis_client/pooled.rb#11 def initialize(config, id: T.unsafe(nil), connect_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), **kwargs); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def blocking_call(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_once(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_once_v(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_v(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#37 + # source://redis-client//lib/redis_client/pooled.rb#37 def close; end - # source://redis-client/lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def hscan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def multi(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def pipelined(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def pubsub(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def scan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#48 + # source://redis-client//lib/redis_client/pooled.rb#48 def size; end - # source://redis-client/lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def sscan(*args, **_arg1, &block); end - # source://redis-client/lib/redis_client/pooled.rb#25 + # source://redis-client//lib/redis_client/pooled.rb#35 def then(options = T.unsafe(nil)); end - # source://redis-client/lib/redis_client/pooled.rb#25 + # source://redis-client//lib/redis_client/pooled.rb#25 def with(options = T.unsafe(nil)); end - # source://redis-client/lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def zscan(*args, **_arg1, &block); end private - # source://redis-client/lib/redis_client/pooled.rb#82 + # source://redis-client//lib/redis_client/pooled.rb#82 def new_pool; end - # source://redis-client/lib/redis_client/pooled.rb#78 + # source://redis-client//lib/redis_client/pooled.rb#78 def pool; end end -# source://redis-client/lib/redis_client/pooled.rb#7 +# source://redis-client//lib/redis_client/pooled.rb#7 RedisClient::Pooled::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://redis-client/lib/redis_client.rb#112 +# source://redis-client//lib/redis_client.rb#112 class RedisClient::ProtocolError < ::RedisClient::Error; end -# source://redis-client/lib/redis_client.rb#494 +# source://redis-client//lib/redis_client.rb#494 class RedisClient::PubSub # @return [PubSub] a new instance of PubSub # - # source://redis-client/lib/redis_client.rb#495 + # source://redis-client//lib/redis_client.rb#495 def initialize(raw_connection, command_builder); end - # source://redis-client/lib/redis_client.rb#500 + # source://redis-client//lib/redis_client.rb#500 def call(*command, **kwargs); end - # source://redis-client/lib/redis_client.rb#505 + # source://redis-client//lib/redis_client.rb#505 def call_v(command); end - # source://redis-client/lib/redis_client.rb#510 + # source://redis-client//lib/redis_client.rb#510 def close; end - # source://redis-client/lib/redis_client.rb#516 + # source://redis-client//lib/redis_client.rb#516 def next_event(timeout = T.unsafe(nil)); end private # Returns the value of attribute raw_connection. # - # source://redis-client/lib/redis_client.rb#528 + # source://redis-client//lib/redis_client.rb#528 def raw_connection; end end -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#4 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#4 module RedisClient::RESP3 private - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#36 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#36 def dump(command, buffer = T.unsafe(nil)); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#57 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#57 def dump_any(object, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#68 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#68 def dump_array(array, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#84 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#84 def dump_hash(hash, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#93 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#93 def dump_numeric(numeric, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#76 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#76 def dump_set(set, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#97 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#97 def dump_string(string, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#103 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#103 def dump_symbol(symbol, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#49 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#49 def load(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#53 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#53 def new_buffer; end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#112 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#112 def parse(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#166 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#166 def parse_array(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#218 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#218 def parse_blob(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#155 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#155 def parse_boolean(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#200 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#200 def parse_double(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#151 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#151 def parse_error(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#196 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#196 def parse_integer(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#174 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#174 def parse_map(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#213 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#213 def parse_null(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#182 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#182 def parse_push(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#186 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#186 def parse_sequence(io, size); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#170 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#170 def parse_set(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#145 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#145 def parse_string(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#227 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#227 def parse_verbatim_string(io); end class << self - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#36 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#36 def dump(command, buffer = T.unsafe(nil)); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#57 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#57 def dump_any(object, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#68 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#68 def dump_array(array, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#84 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#84 def dump_hash(hash, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#93 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#93 def dump_numeric(numeric, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#76 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#76 def dump_set(set, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#97 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#97 def dump_string(string, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#103 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#103 def dump_symbol(symbol, buffer); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#49 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#49 def load(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#53 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#53 def new_buffer; end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#112 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#112 def parse(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#166 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#166 def parse_array(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#218 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#218 def parse_blob(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#155 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#155 def parse_boolean(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#200 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#200 def parse_double(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#151 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#151 def parse_error(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#196 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#196 def parse_integer(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#174 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#174 def parse_map(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#213 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#213 def parse_null(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#182 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#182 def parse_push(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#186 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#186 def parse_sequence(io, size); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#170 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#170 def parse_set(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#145 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#145 def parse_string(io); end - # source://redis-client/lib/redis_client/ruby_connection/resp3.rb#227 + # source://redis-client//lib/redis_client/ruby_connection/resp3.rb#227 def parse_verbatim_string(io); end end end -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#13 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#13 RedisClient::RESP3::DUMP_TYPES = T.let(T.unsafe(nil), Hash) -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#11 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#11 RedisClient::RESP3::EOL = T.let(T.unsafe(nil), String) -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#12 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#12 RedisClient::RESP3::EOL_SIZE = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#7 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#7 class RedisClient::RESP3::Error < ::RedisClient::Error; end -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#34 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#34 RedisClient::RESP3::INTEGER_RANGE = T.let(T.unsafe(nil), Range) -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#19 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#19 RedisClient::RESP3::PARSER_TYPES = T.let(T.unsafe(nil), Hash) -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#9 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#9 class RedisClient::RESP3::SyntaxError < ::RedisClient::RESP3::Error; end -# source://redis-client/lib/redis_client/ruby_connection/resp3.rb#8 +# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#8 class RedisClient::RESP3::UnknownType < ::RedisClient::RESP3::Error; end -# source://redis-client/lib/redis_client.rb#157 +# source://redis-client//lib/redis_client.rb#157 class RedisClient::ReadOnlyError < ::RedisClient::ConnectionError include ::RedisClient::HasCommand end -# source://redis-client/lib/redis_client.rb#121 +# source://redis-client//lib/redis_client.rb#121 class RedisClient::ReadTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#6 +# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#6 class RedisClient::RubyConnection include ::RedisClient::ConnectionMixin # @return [RubyConnection] a new instance of RubyConnection # - # source://redis-client/lib/redis_client/ruby_connection.rb#45 + # source://redis-client//lib/redis_client/ruby_connection.rb#45 def initialize(config, connect_timeout:, read_timeout:, write_timeout:); end - # source://redis-client/lib/redis_client/ruby_connection.rb#58 + # source://redis-client//lib/redis_client/ruby_connection.rb#58 def close; end # Returns the value of attribute config. # - # source://redis-client/lib/redis_client/ruby_connection.rb#43 + # source://redis-client//lib/redis_client/ruby_connection.rb#43 def config; end # @return [Boolean] # - # source://redis-client/lib/redis_client/ruby_connection.rb#54 + # source://redis-client//lib/redis_client/ruby_connection.rb#54 def connected?; end - # source://redis-client/lib/redis_client/ruby_connection.rb#106 + # source://redis-client//lib/redis_client/ruby_connection.rb#106 def measure_round_trip_delay; end - # source://redis-client/lib/redis_client/ruby_connection.rb#94 + # source://redis-client//lib/redis_client/ruby_connection.rb#94 def read(timeout = T.unsafe(nil)); end - # source://redis-client/lib/redis_client/ruby_connection.rb#63 + # source://redis-client//lib/redis_client/ruby_connection.rb#63 def read_timeout=(timeout); end - # source://redis-client/lib/redis_client/ruby_connection.rb#73 + # source://redis-client//lib/redis_client/ruby_connection.rb#73 def write(command); end - # source://redis-client/lib/redis_client/ruby_connection.rb#82 + # source://redis-client//lib/redis_client/ruby_connection.rb#82 def write_multi(commands); end - # source://redis-client/lib/redis_client/ruby_connection.rb#68 + # source://redis-client//lib/redis_client/ruby_connection.rb#68 def write_timeout=(timeout); end private - # source://redis-client/lib/redis_client/ruby_connection.rb#114 + # source://redis-client//lib/redis_client/ruby_connection.rb#114 def connect; end # unknown # - # source://redis-client/lib/redis_client/ruby_connection.rb#177 + # source://redis-client//lib/redis_client/ruby_connection.rb#177 def enable_socket_keep_alive(socket); end class << self - # source://redis-client/lib/redis_client/ruby_connection.rb#14 + # source://redis-client//lib/redis_client/ruby_connection.rb#14 def ssl_context(ssl_params); end end end -# source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#7 +# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#7 class RedisClient::RubyConnection::BufferedIO # @return [BufferedIO] a new instance of BufferedIO # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#16 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#16 def initialize(io, read_timeout:, write_timeout:, chunk_size: T.unsafe(nil)); end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#89 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#89 def close; end # @return [Boolean] # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#93 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#93 def closed?; end # @return [Boolean] # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#97 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#97 def eof?; end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#150 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#150 def getbyte; end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#26 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#26 def gets_chomp; end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#159 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#159 def gets_integer; end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#37 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#37 def read_chomp(bytes); end # Returns the value of attribute read_timeout. # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#11 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#11 def read_timeout; end # Sets the attribute read_timeout # # @param value the value to set the attribute read_timeout to. # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#11 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#11 def read_timeout=(_arg0); end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#121 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#121 def skip(offset); end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#101 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#101 def with_timeout(new_timeout); end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#127 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#127 def write(string); end # Returns the value of attribute write_timeout. # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#11 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#11 def write_timeout; end # Sets the attribute write_timeout # # @param value the value to set the attribute write_timeout to. # - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#11 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#11 def write_timeout=(_arg0); end private - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#44 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#44 def ensure_line; end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#184 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#184 def ensure_remaining(bytes); end - # source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#191 + # source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#191 def fill_buffer(strict, size = T.unsafe(nil)); end end -# source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#14 +# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#14 RedisClient::RubyConnection::BufferedIO::ENCODING = T.let(T.unsafe(nil), Encoding) -# source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#8 +# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#8 RedisClient::RubyConnection::BufferedIO::EOL = T.let(T.unsafe(nil), String) -# source://redis-client/lib/redis_client/ruby_connection/buffered_io.rb#9 +# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#9 RedisClient::RubyConnection::BufferedIO::EOL_SIZE = T.let(T.unsafe(nil), Integer) # Same as hiredis defaults # -# source://redis-client/lib/redis_client/ruby_connection.rb#162 +# source://redis-client//lib/redis_client/ruby_connection.rb#162 RedisClient::RubyConnection::KEEP_ALIVE_INTERVAL = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/ruby_connection.rb#164 +# source://redis-client//lib/redis_client/ruby_connection.rb#164 RedisClient::RubyConnection::KEEP_ALIVE_PROBES = T.let(T.unsafe(nil), Integer) # Longer than hiredis defaults # -# source://redis-client/lib/redis_client/ruby_connection.rb#163 +# source://redis-client//lib/redis_client/ruby_connection.rb#163 RedisClient::RubyConnection::KEEP_ALIVE_TTL = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/ruby_connection.rb#41 +# source://redis-client//lib/redis_client/ruby_connection.rb#41 RedisClient::RubyConnection::SUPPORTS_RESOLV_TIMEOUT = T.let(T.unsafe(nil), TrueClass) -# source://redis-client/lib/redis_client/sentinel_config.rb#4 +# source://redis-client//lib/redis_client/sentinel_config.rb#4 class RedisClient::SentinelConfig include ::RedisClient::Config::Common # @return [SentinelConfig] a new instance of SentinelConfig # - # source://redis-client/lib/redis_client/sentinel_config.rb#12 + # source://redis-client//lib/redis_client/sentinel_config.rb#12 def initialize(sentinels:, sentinel_password: T.unsafe(nil), sentinel_username: T.unsafe(nil), role: T.unsafe(nil), name: T.unsafe(nil), url: T.unsafe(nil), **client_config); end - # source://redis-client/lib/redis_client/sentinel_config.rb#101 + # source://redis-client//lib/redis_client/sentinel_config.rb#101 def check_role!(role); end - # source://redis-client/lib/redis_client/sentinel_config.rb#80 + # source://redis-client//lib/redis_client/sentinel_config.rb#80 def host; end # Returns the value of attribute name. # - # source://redis-client/lib/redis_client/sentinel_config.rb#10 + # source://redis-client//lib/redis_client/sentinel_config.rb#10 def name; end - # source://redis-client/lib/redis_client/sentinel_config.rb#88 + # source://redis-client//lib/redis_client/sentinel_config.rb#88 def path; end - # source://redis-client/lib/redis_client/sentinel_config.rb#84 + # source://redis-client//lib/redis_client/sentinel_config.rb#84 def port; end - # source://redis-client/lib/redis_client/sentinel_config.rb#74 + # source://redis-client//lib/redis_client/sentinel_config.rb#74 def reset; end # @return [Boolean] # - # source://redis-client/lib/redis_client/sentinel_config.rb#115 + # source://redis-client//lib/redis_client/sentinel_config.rb#115 def resolved?; end # @return [Boolean] # - # source://redis-client/lib/redis_client/sentinel_config.rb#92 + # source://redis-client//lib/redis_client/sentinel_config.rb#92 def retry_connecting?(attempt, error); end # @return [Boolean] # - # source://redis-client/lib/redis_client/sentinel_config.rb#97 + # source://redis-client//lib/redis_client/sentinel_config.rb#97 def sentinel?; end - # source://redis-client/lib/redis_client/sentinel_config.rb#68 + # source://redis-client//lib/redis_client/sentinel_config.rb#68 def sentinels; end private - # source://redis-client/lib/redis_client/sentinel_config.rb#134 + # source://redis-client//lib/redis_client/sentinel_config.rb#134 def config; end - # source://redis-client/lib/redis_client/sentinel_config.rb#181 + # source://redis-client//lib/redis_client/sentinel_config.rb#181 def each_sentinel; end - # source://redis-client/lib/redis_client/sentinel_config.rb#207 + # source://redis-client//lib/redis_client/sentinel_config.rb#207 def refresh_sentinels(sentinel_client); end - # source://redis-client/lib/redis_client/sentinel_config.rb#144 + # source://redis-client//lib/redis_client/sentinel_config.rb#144 def resolve_master; end - # source://redis-client/lib/redis_client/sentinel_config.rb#163 + # source://redis-client//lib/redis_client/sentinel_config.rb#163 def resolve_replica; end - # source://redis-client/lib/redis_client/sentinel_config.rb#159 + # source://redis-client//lib/redis_client/sentinel_config.rb#159 def sentinel_client(sentinel_config); end - # source://redis-client/lib/redis_client/sentinel_config.rb#123 + # source://redis-client//lib/redis_client/sentinel_config.rb#123 def sentinels_to_configs(sentinels); end end -# source://redis-client/lib/redis_client/sentinel_config.rb#8 +# source://redis-client//lib/redis_client/sentinel_config.rb#8 RedisClient::SentinelConfig::DEFAULT_RECONNECT_ATTEMPTS = T.let(T.unsafe(nil), Integer) -# source://redis-client/lib/redis_client/sentinel_config.rb#7 +# source://redis-client//lib/redis_client/sentinel_config.rb#7 RedisClient::SentinelConfig::SENTINEL_DELAY = T.let(T.unsafe(nil), Float) -# source://redis-client/lib/redis_client.rb#120 +# source://redis-client//lib/redis_client.rb#120 class RedisClient::TimeoutError < ::RedisClient::ConnectionError; end -# source://redis-client/lib/redis_client/url_config.rb#6 +# source://redis-client//lib/redis_client/url_config.rb#6 class RedisClient::URLConfig # @return [URLConfig] a new instance of URLConfig # - # source://redis-client/lib/redis_client/url_config.rb#9 + # source://redis-client//lib/redis_client/url_config.rb#9 def initialize(url); end - # source://redis-client/lib/redis_client/url_config.rb#30 + # source://redis-client//lib/redis_client/url_config.rb#30 def db; end - # source://redis-client/lib/redis_client/url_config.rb#56 + # source://redis-client//lib/redis_client/url_config.rb#56 def host; end - # source://redis-client/lib/redis_client/url_config.rb#48 + # source://redis-client//lib/redis_client/url_config.rb#48 def password; end - # source://redis-client/lib/redis_client/url_config.rb#62 + # source://redis-client//lib/redis_client/url_config.rb#62 def path; end - # source://redis-client/lib/redis_client/url_config.rb#68 + # source://redis-client//lib/redis_client/url_config.rb#68 def port; end # @return [Boolean] # - # source://redis-client/lib/redis_client/url_config.rb#26 + # source://redis-client//lib/redis_client/url_config.rb#26 def ssl?; end # Returns the value of attribute uri. # - # source://redis-client/lib/redis_client/url_config.rb#7 + # source://redis-client//lib/redis_client/url_config.rb#7 def uri; end # Returns the value of attribute url. # - # source://redis-client/lib/redis_client/url_config.rb#7 + # source://redis-client//lib/redis_client/url_config.rb#7 def url; end - # source://redis-client/lib/redis_client/url_config.rb#44 + # source://redis-client//lib/redis_client/url_config.rb#44 def username; end end -# source://redis-client/lib/redis_client.rb#113 +# source://redis-client//lib/redis_client.rb#113 class RedisClient::UnsupportedServer < ::RedisClient::Error; end -# source://redis-client/lib/redis_client/version.rb#4 +# source://redis-client//lib/redis_client/version.rb#4 RedisClient::VERSION = T.let(T.unsafe(nil), String) -# source://redis-client/lib/redis_client.rb#122 +# source://redis-client//lib/redis_client.rb#122 class RedisClient::WriteTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client/lib/redis_client.rb#154 +# source://redis-client//lib/redis_client.rb#154 class RedisClient::WrongTypeError < ::RedisClient::CommandError; end diff --git a/sorbet/rbi/gems/redis@5.0.8.rbi b/sorbet/rbi/gems/redis@5.0.8.rbi index 1f9da1689..1f477de7b 100644 --- a/sorbet/rbi/gems/redis@5.0.8.rbi +++ b/sorbet/rbi/gems/redis@5.0.8.rbi @@ -68,7 +68,7 @@ class Redis # Disconnect the client as quickly and silently as possible. # - # source://redis//lib/redis.rb#88 + # source://redis//lib/redis.rb#92 def disconnect!; end # source://redis//lib/redis.rb#118 diff --git a/sorbet/rbi/gems/regexp_parser@2.10.0.rbi b/sorbet/rbi/gems/regexp_parser@2.10.0.rbi index 480f005ec..dc2a2711e 100644 --- a/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +++ b/sorbet/rbi/gems/regexp_parser@2.10.0.rbi @@ -5,275 +5,275 @@ # Please instead update this file by running `bin/tapioca gem regexp_parser`. -# source://regexp_parser/lib/regexp_parser/expression/shared.rb#1 +# source://regexp_parser//lib/regexp_parser/expression/shared.rb#1 module Regexp::Expression; end -# source://regexp_parser/lib/regexp_parser/expression/classes/alternation.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#5 class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#8 def alternatives; end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#9 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#131 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#130 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/alternation.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#6 Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative # A sequence of expressions, used by Alternation as one of its alternatives. # -# source://regexp_parser/lib/regexp_parser/expression/classes/alternation.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#3 class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#10 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#10 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#2 module Regexp::Expression::Anchor; end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#18 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#18 Regexp::Expression::Anchor::BOL = Regexp::Expression::Anchor::BeginningOfLine -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#20 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#20 Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#3 class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#5 class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#11 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#11 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#8 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#8 class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#12 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#19 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#19 Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#21 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#21 Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#22 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#22 Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#6 class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#13 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#13 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#9 class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#14 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#11 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#11 class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#15 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#15 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#16 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#16 class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#16 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#14 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#14 class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#17 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#17 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#13 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#13 def negative?; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/anchor.rb#13 +# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#13 class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#18 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#18 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#64 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#64 module Regexp::Expression::Assertion; end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#65 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#65 class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#67 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67 class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#19 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#70 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70 class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#68 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#68 class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#21 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#14 def negative?; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#71 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#71 class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#22 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#15 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#15 def negative?; end end # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#55 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#55 Regexp::Expression::Backref = Regexp::Expression::Backreference -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#2 module Regexp::Expression::Backreference; end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#3 class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#155 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#155 def match_length; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#140 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140 def referential?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#15 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#15 class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base # @return [Name] a new instance of Name # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#19 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#19 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#23 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23 def human_name; end # Returns the value of attribute name. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#16 def name; end # Returns the value of attribute name. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#17 def reference; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#31 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#31 class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#24 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#43 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#43 class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name # @return [NameRecursionLevel] a new instance of NameRecursionLevel # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#46 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#46 def initialize(token, options = T.unsafe(nil)); end # Returns the value of attribute recursion_level. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#44 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44 def recursion_level; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#5 class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base # @return [Number] a new instance of Number # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#9 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25 def human_name; end # Returns the value of attribute number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#6 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6 def number; end # Returns the value of attribute number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#6 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#7 def reference; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#30 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#30 class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#32 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#32 class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#28 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#34 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34 class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative # @return [NumberRecursionLevel] a new instance of NumberRecursionLevel # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#37 def initialize(token, options = T.unsafe(nil)); end # Returns the value of attribute recursion_level. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#35 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35 def recursion_level; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#25 +# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25 class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number # Returns the value of attribute effective_number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26 def effective_number; end # Sets the attribute effective_number # # @param value the value to set the attribute effective_number to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26 def effective_number=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26 def human_name; end # Returns the value of attribute effective_number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/backreference.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#27 def reference; end end -# source://regexp_parser/lib/regexp_parser/expression/base.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/base.rb#2 class Regexp::Expression::Base include ::Regexp::Expression::Shared include ::Regexp::Expression::ReferencedExpressions @@ -281,160 +281,160 @@ class Regexp::Expression::Base # @return [Base] a new instance of Base # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#11 def =~(string, offset = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#28 def a?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25 def ascii_classes?; end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#60 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#74 def attributes; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8 def case_insensitive?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def conditional_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def conditional_level=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def custom_to_s_handling; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def custom_to_s_handling=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#23 def d?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20 def default_classes?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#18 def extended?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14 def free_spacing?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#47 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#47 def greedy?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#11 def i?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#12 def ignore_case?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#51 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#54 def lazy?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def level=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#6 def m?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8 def match(string, offset = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/match.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#3 def match?(string); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/match.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#6 def matches?(string); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3 def multiline?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def nesting_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def options; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def options=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def parent; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def parent=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#56 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#56 def possessive?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def pre_quantifier_decorations; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def quantifier; end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#17 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#17 def quantify(*args); end # Deprecated. Prefer `#repetitions` which has a more uniform interface. # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#26 def quantity; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/base.rb#51 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#51 def reluctant?; end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#31 def repetitions; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def set_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def set_level=(_arg0); end # %l Level (depth) of the expression. Returns 'root' for the root @@ -470,7 +470,7 @@ class Regexp::Expression::Base # %m Most info, same as '%b %q' # %a All info, same as '%m %t' # - # source://regexp_parser/lib/regexp_parser/expression/methods/strfregexp.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#98 def strfre(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end # %l Level (depth) of the expression. Returns 'root' for the root @@ -506,683 +506,683 @@ class Regexp::Expression::Base # %m Most info, same as '%b %q' # %a All info, same as '%m %t' # - # source://regexp_parser/lib/regexp_parser/expression/methods/strfregexp.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#37 def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def te; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def te=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def text; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def text=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#60 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#60 def to_h; end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#9 def to_re(format = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def token; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def token=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def ts; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def ts=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def type; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def type=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#30 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#33 def u?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#30 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30 def unicode_classes?; end - # source://regexp_parser/lib/regexp_parser/expression/base.rb#21 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#21 def unquantified_clone; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/options.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#17 def x?; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#2 class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression # @return [CharacterSet] a new instance of CharacterSet # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#6 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#6 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#16 def close; end # Returns the value of attribute closed. # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3 def closed; end # Sets the attribute closed # # @param value the value to set the attribute closed to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3 def closed=(_arg0); end # Returns the value of attribute closed. # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#4 def closed?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#12 def negate; end # Returns the value of attribute negative. # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3 def negative; end # Sets the attribute negative # # @param value the value to set the attribute negative to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3 def negative=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#16 def negative?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#15 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#15 def parts; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set/intersection.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#3 class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#29 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set/intersection.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#5 class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#30 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set/intersection.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#6 Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::CharacterSet::IntersectedSequence -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set/range.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#3 class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set/range.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#8 def <<(exp); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set/range.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#14 def complete?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#16 def parts; end - # source://regexp_parser/lib/regexp_parser/expression/classes/character_set/range.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4 def ts; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#2 module Regexp::Expression::CharacterType; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#5 class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#32 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#3 class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#17 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17 def negative?; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#6 class Regexp::Expression::CharacterType::Digit < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#15 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#15 class Regexp::Expression::CharacterType::ExtendedGrapheme < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#8 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#8 class Regexp::Expression::CharacterType::Hex < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#14 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#14 class Regexp::Expression::CharacterType::Linebreak < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#7 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#7 class Regexp::Expression::CharacterType::NonDigit < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#9 class Regexp::Expression::CharacterType::NonHex < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#13 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#13 class Regexp::Expression::CharacterType::NonSpace < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#11 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#11 class Regexp::Expression::CharacterType::NonWord < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#12 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#12 class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/character_type.rb#10 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#10 class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/free_space.rb#8 +# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#8 class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#33 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33 def human_name; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#130 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#130 def comment?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#2 module Regexp::Expression::Conditional; end -# source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#18 +# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#18 class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#34 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34 def human_name; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#9 class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#35 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end # Name or number of the referenced capturing group that determines state. # Returns a String if reference is by name, Integer if by number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#12 def reference; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#141 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141 def referential?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#20 +# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#20 class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#21 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#21 def <<(exp); end # @raise [TooManyBranches] # - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25 def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end # @raise [TooManyBranches] # - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#30 def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41 def branches; end - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#37 def condition; end - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#32 def condition=(exp); end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#36 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#131 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#130 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#17 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17 def parts; end - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#45 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#45 def reference; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#142 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142 def referential?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#3 class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error # @return [TooManyBranches] a new instance of TooManyBranches # - # source://regexp_parser/lib/regexp_parser/expression/classes/conditional.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#4 def initialize; end end # alias for symmetry between Token::* and Expression::* # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#29 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29 Regexp::Expression::Escape = Regexp::Expression::EscapeSequence -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#2 module Regexp::Expression::EscapeSequence; end -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#22 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22 class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base private - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#40 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#40 def control_sequence_to_s(control_sequence); end - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#45 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#45 def meta_char_to_codepoint(meta_char); end end # \e # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#5 class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#2 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#2 def codepoint; end end # \b # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#6 class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#3 def codepoint; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#3 class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_char.rb#2 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_char.rb#2 def char; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end # \a # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#7 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#7 class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#4 def codepoint; end end # e.g. \u000A # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#18 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#18 class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#16 def codepoint; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#20 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#20 class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#20 def char; end - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#28 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#28 def chars; end - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#24 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#24 def codepoint; end - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#32 def codepoints; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#164 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#164 def match_length; end end # e.g. \cB # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#23 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#23 class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#52 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#52 def codepoint; end end # \f # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#8 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#8 class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#5 def codepoint; end end # e.g. \x0A # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#17 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#17 class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#15 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#15 def codepoint; end end # e.g. \j, \@, \😀 (ineffectual escapes) # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#14 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#14 class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#11 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#11 def codepoint; end end # e.g. \M-Z # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#24 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#24 class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#58 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#58 def codepoint; end end # e.g. \M-\cX # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#25 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#25 class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#64 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#64 def codepoint; end end # \n # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9 class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#6 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#6 def codepoint; end end # e.g. \012 # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#16 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#16 class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#13 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#13 def codepoint; end end # \r # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#10 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#10 class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#7 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#7 def codepoint; end end # \t # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#11 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#11 class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#8 def codepoint; end end # \v # -# source://regexp_parser/lib/regexp_parser/expression/classes/escape_sequence.rb#12 +# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#12 class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#9 def codepoint; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/free_space.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2 class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end # @raise [Regexp::Parser::Error] # - # source://regexp_parser/lib/regexp_parser/expression/classes/free_space.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#3 def quantify(*_args); end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#135 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#135 def decorative?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#2 module Regexp::Expression::Group; end # Special case. Absence group can match 0.. chars, irrespective of content. # TODO: in theory, they *can* exclude match lengths with `.`: `(?~.{3})` # -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#19 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#19 class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#172 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#172 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#20 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#20 class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#3 class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#18 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18 def parts; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#40 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#40 class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37 def human_name; end # Returns the value of attribute number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#42 def identifier; end # Returns the value of attribute number. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41 def number; end # Sets the attribute number # # @param value the value to set the attribute number to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41 def number=(_arg0); end # Returns the value of attribute number_at_level. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41 def number_at_level; end # Sets the attribute number_at_level # # @param value the value to set the attribute number_at_level to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41 def number_at_level=(_arg0); end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#126 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126 def capturing?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#60 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#60 class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20 def parts; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#131 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131 def comment?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#136 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136 def decorative?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#45 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#45 class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture # @return [Named] a new instance of Named # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#49 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#38 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38 def human_name; end # Returns the value of attribute name. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#46 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#47 def identifier; end # Returns the value of attribute name. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#46 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46 def name; end private - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#54 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#54 def initialize_copy(orig); end end # TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no # longer inherit from Group because it is effectively a terminal expression. # -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#23 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#23 class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base # Returns the value of attribute option_changes. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#24 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24 def option_changes; end # Sets the attribute option_changes # # @param value the value to set the attribute option_changes to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#24 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24 def option_changes=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#31 def quantify(*args); end private - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#26 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26 def initialize_copy(orig); end end -# source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#6 class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base # @return [Passive] a new instance of Passive # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#9 def initialize(*_arg0); end # Sets the attribute implicit # # @param value the value to set the attribute implicit to. # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#7 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#7 def implicit=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/classes/group.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#14 def implicit?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#19 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19 def parts; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/keep.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#2 module Regexp::Expression::Keep; end # TODO: in regexp_parser v3.0.0 this should possibly be a Subexpression # that contains all expressions to its left. # -# source://regexp_parser/lib/regexp_parser/expression/classes/keep.rb#5 +# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#5 class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#39 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/literal.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/literal.rb#2 class Regexp::Expression::Literal < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#40 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#40 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#105 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#105 def match_length; end end -# source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#85 +# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#85 Regexp::Expression::MatchLength = Regexp::MatchLength -# source://regexp_parser/lib/regexp_parser/expression/classes/posix_class.rb#10 +# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#10 Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#118 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#118 Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty -# source://regexp_parser/lib/regexp_parser/expression/classes/posix_class.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#2 class Regexp::Expression::PosixClass < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/classes/posix_class.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#3 def name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#18 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#18 def negative?; end end # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser/lib/regexp_parser/expression/classes/posix_class.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#9 Regexp::Expression::Posixclass = Regexp::Expression::PosixClass # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#117 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#117 Regexp::Expression::Property = Regexp::Expression::UnicodeProperty # TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and @@ -1190,160 +1190,160 @@ Regexp::Expression::Property = Regexp::Expression::UnicodeProperty # or introduce an Expression::Quantifiable intermediate class. # Or actually allow chaining as a more concise but tricky solution than PR#69. # -# source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#6 +# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#6 class Regexp::Expression::Quantifier include ::Regexp::Expression::Shared extend ::Regexp::Expression::Shared::ClassMethods # @return [Quantifier] a new instance of Quantifier # - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#11 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11 def initialize(*args); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def conditional_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def conditional_level=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def custom_to_s_handling; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def custom_to_s_handling=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def greedy?; end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#36 def lazy?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def level=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#42 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#42 def max; end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#38 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38 def min; end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#46 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#46 def mode; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def nesting_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def options; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def options=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def parent; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def parent=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def possessive?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def pre_quantifier_decorations; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def quantifier; end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def reluctant?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def set_level; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def set_level=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def te; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def te=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def text; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def text=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#19 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#19 def to_h; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def token; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def token=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def ts; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def ts=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def type; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def type=(_arg0); end private - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#52 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#52 def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#64 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#64 def derived_data; end end -# source://regexp_parser/lib/regexp_parser/expression/quantifier.rb#9 +# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/expression/methods/referenced_expressions.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#2 module Regexp::Expression::ReferencedExpressions - # source://regexp_parser/lib/regexp_parser/expression/methods/referenced_expressions.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#5 def referenced_expression; end # Returns the value of attribute referenced_expressions. # - # source://regexp_parser/lib/regexp_parser/expression/methods/referenced_expressions.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#3 def referenced_expressions; end # Sets the attribute referenced_expressions # # @param value the value to set the attribute referenced_expressions to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/referenced_expressions.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#3 def referenced_expressions=(_arg0); end private - # source://regexp_parser/lib/regexp_parser/expression/methods/referenced_expressions.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#9 def initialize_copy(orig); end end -# source://regexp_parser/lib/regexp_parser/expression/classes/root.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#2 class Regexp::Expression::Root < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41 def human_name; end class << self - # source://regexp_parser/lib/regexp_parser/expression/classes/root.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#3 def build(options = T.unsafe(nil)); end end end @@ -1355,52 +1355,52 @@ end # Used as the base class for the Alternation alternatives, Conditional # branches, and CharacterSet::Intersection intersected sequences. # -# source://regexp_parser/lib/regexp_parser/expression/sequence.rb#8 +# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#8 class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/sequence.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#27 def quantify(token, *args); end - # source://regexp_parser/lib/regexp_parser/expression/sequence.rb#23 + # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#23 def ts; end class << self - # source://regexp_parser/lib/regexp_parser/expression/sequence.rb#10 + # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#10 def add_to(exp, params = T.unsafe(nil), active_opts = T.unsafe(nil)); end end end # abstract class # -# source://regexp_parser/lib/regexp_parser/expression/sequence_operation.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#3 class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression - # source://regexp_parser/lib/regexp_parser/expression/sequence_operation.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#12 def <<(exp); end - # source://regexp_parser/lib/regexp_parser/expression/sequence_operation.rb#16 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#16 def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#5 def operands; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#6 def operator; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#22 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22 def parts; end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#4 def sequences; end - # source://regexp_parser/lib/regexp_parser/expression/sequence_operation.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8 def ts; end end # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser/lib/regexp_parser/expression/classes/character_set.rb#22 +# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#22 Regexp::Expression::Set = Regexp::Expression::CharacterSet -# source://regexp_parser/lib/regexp_parser/expression/shared.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/shared.rb#2 module Regexp::Expression::Shared mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods @@ -1409,7 +1409,7 @@ module Regexp::Expression::Shared # When changing the conditions, please make sure to update # #pretty_print_instance_variables so that it includes all relevant values. # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#101 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101 def ==(other); end # Deep-compare two expressions for equality. @@ -1417,25 +1417,25 @@ module Regexp::Expression::Shared # When changing the conditions, please make sure to update # #pretty_print_instance_variables so that it includes all relevant values. # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#101 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#108 def ===(other); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#51 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#51 def base_length; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#124 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124 def capturing?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#96 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#96 def coded_offset; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#128 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128 def comment?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#133 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133 def decorative?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#47 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#47 def ends_at(include_quantifier = T.unsafe(nil)); end # Deep-compare two expressions for equality. @@ -1443,18 +1443,18 @@ module Regexp::Expression::Shared # When changing the conditions, please make sure to update # #pretty_print_instance_variables so that it includes all relevant values. # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#101 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#109 def eql?(other); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#55 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#55 def full_length; end # default implementation, e.g. "atomic group", "hex escape", "word type", .. # - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#4 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/printing.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#3 def inspect; end # Test if this expression has the given test_token, and optionally a given @@ -1477,25 +1477,25 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#36 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#36 def is?(test_token, test_type = T.unsafe(nil)); end # not an alias so as to respect overrides of #negative? # # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#8 def negated?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#3 def negative?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#100 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#100 def nesting_level=(lvl); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#92 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#92 def offset; end # Test if this expression matches an entry in the given scope spec. @@ -1534,50 +1534,50 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#75 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#75 def one_of?(scope, top = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#111 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#111 def optional?; end # default implementation # - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#4 def parts; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#84 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#84 def pre_quantifier_decoration(expression_format = T.unsafe(nil)); end # Make pretty-print work despite #inspect implementation. # - # source://regexp_parser/lib/regexp_parser/expression/methods/printing.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#12 def pretty_print(q); end # Called by pretty_print (ruby/pp) and #inspect. # - # source://regexp_parser/lib/regexp_parser/expression/methods/printing.rb#17 + # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#17 def pretty_print_instance_variables; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#115 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#115 def quantified?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#106 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#106 def quantifier=(qtf); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#88 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#88 def quantifier_affix(expression_format = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#138 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138 def referential?; end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#43 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#43 def starts_at; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#120 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#120 def terminal?; end # #to_s reproduces the original source, as an unparser would. @@ -1593,7 +1593,7 @@ module Regexp::Expression::Shared # lit.to_s(:base) # => 'a' # without quantifier # lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations # - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#72 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#72 def to_s(format = T.unsafe(nil)); end # #to_s reproduces the original source, as an unparser would. @@ -1609,10 +1609,10 @@ module Regexp::Expression::Shared # lit.to_s(:base) # => 'a' # without quantifier # lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations # - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#72 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#82 def to_str(format = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/construct.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#37 def token_class; end # Test if this expression has the given test_type, which can be either @@ -1626,83 +1626,83 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#13 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#13 def type?(test_type); end private - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#18 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#18 def init_from_token_and_options(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#32 def initialize_copy(orig); end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#10 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#10 def intersperse(expressions, separator); end class << self # @private # - # source://regexp_parser/lib/regexp_parser/expression/shared.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#5 def included(mod); end end end # filled in ./methods/*.rb # -# source://regexp_parser/lib/regexp_parser/expression/shared.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/shared.rb#3 module Regexp::Expression::Shared::ClassMethods - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#125 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#125 def capturing?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#129 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#129 def comment?; end # Convenience method to init a valid Expression without a Regexp::Token # # @raise [ArgumentError] # - # source://regexp_parser/lib/regexp_parser/expression/methods/construct.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#5 def construct(params = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/construct.rb#15 + # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#15 def construct_defaults; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#134 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#134 def decorative?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#139 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#139 def referential?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#121 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#121 def terminal?; end - # source://regexp_parser/lib/regexp_parser/expression/methods/construct.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#25 def token_class; end end -# source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#2 class Regexp::Expression::Subexpression < ::Regexp::Expression::Base include ::Enumerable # @return [Subexpression] a new instance of Subexpression # - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#7 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#20 def <<(exp); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def [](*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def at(*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#33 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#33 def dig(*indices); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def each(*args, &block); end # Traverses the expression, passing each recursive child to the @@ -1710,68 +1710,68 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # If the block takes two arguments, the indices of the children within # their parents are also passed to it. # - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#8 def each_expression(include_self = T.unsafe(nil), &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def empty?(*args, &block); end # Returns the value of attribute expressions. # - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5 def expressions; end # Sets the attribute expressions # # @param value the value to set the attribute expressions to. # - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#5 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5 def expressions=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#50 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#50 def extract_quantifier_target(quantifier_description); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def fetch(*args, &block); end # Returns a new array with the results of calling the given block once # for every expression. If a block is not given, returns an array with # each expression and its level index as an array. # - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#56 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#56 def flat_map(include_self = T.unsafe(nil), &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def index(*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#118 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#118 def inner_match_length; end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def join(*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def last(*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def length(*args, &block); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#111 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#111 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/methods/parts.rb#21 + # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21 def parts; end - # source://regexp_parser/lib/regexp_parser/expression/methods/strfregexp.rb#102 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#112 def strfre_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/strfregexp.rb#102 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102 def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#39 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#39 def te; end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#43 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#43 def to_h; end # Traverses the subexpression (depth-first, pre-order) and calls the given @@ -1787,10 +1787,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # # Returns self. # - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32 def traverse(include_self = T.unsafe(nil), &block); end - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def values_at(*args, &block); end # Traverses the subexpression (depth-first, pre-order) and calls the given @@ -1806,285 +1806,285 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # # Returns self. # - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#51 def walk(include_self = T.unsafe(nil), &block); end protected - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#66 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#66 def each_expression_with_index(&block); end - # source://regexp_parser/lib/regexp_parser/expression/methods/traverse.rb#73 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#73 def each_expression_without_index(&block); end private # Override base method to clone the expressions as well. # - # source://regexp_parser/lib/regexp_parser/expression/subexpression.rb#13 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#13 def initialize_copy(orig); end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/tests.rb#122 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122 def terminal?; end end end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#2 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#2 module Regexp::Expression::UnicodeProperty; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#108 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#108 class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#13 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#13 class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#14 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#14 class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#31 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31 class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#15 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#15 class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#32 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#32 class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#3 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3 class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end - # source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4 def name; end - # source://regexp_parser/lib/regexp_parser/expression/methods/negative.rb#19 + # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#19 def negative?; end - # source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#8 def shortcut; end end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#16 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#16 class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#109 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#109 class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#17 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17 class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#97 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#97 module Regexp::Expression::UnicodeProperty::Codepoint; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#100 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#100 class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#98 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#98 class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#101 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#101 class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#102 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102 class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#104 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104 class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#103 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#103 class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#105 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105 class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#110 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#110 class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#18 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18 class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#111 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#111 class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#112 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112 class Regexp::Expression::UnicodeProperty::Enumerated < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#19 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19 class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#34 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#34 module Regexp::Expression::UnicodeProperty::Letter; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#37 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#37 class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#35 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#35 class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#38 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#38 class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#40 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#40 class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#42 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42 class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#43 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43 class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#41 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41 class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#39 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39 class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#20 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20 class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#46 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#46 module Regexp::Expression::UnicodeProperty::Mark; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#49 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#49 class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#47 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#47 class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#50 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#50 class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#53 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53 class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#51 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51 class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#52 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#52 class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#29 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29 class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#56 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#56 module Regexp::Expression::UnicodeProperty::Number; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#59 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#59 class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#57 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#57 class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#60 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#60 class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#61 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61 class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#62 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#62 class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#21 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21 class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#22 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22 class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#65 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#65 module Regexp::Expression::UnicodeProperty::Punctuation; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#68 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#68 class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#66 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#66 class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#72 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72 class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#69 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#69 class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#70 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70 class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#74 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74 class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#73 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73 class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#71 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#71 class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#75 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75 class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#113 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113 class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#78 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#78 module Regexp::Expression::UnicodeProperty::Separator; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#81 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#81 class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#79 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#79 class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#83 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83 class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#84 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#84 class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#82 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#82 class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#23 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23 class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#87 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#87 module Regexp::Expression::UnicodeProperty::Symbol; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#90 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#90 class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#88 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#88 class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#92 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92 class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#91 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#91 class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#93 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#93 class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#94 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94 class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#24 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24 class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#25 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25 class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#27 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27 class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/unicode_property.rb#26 +# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26 class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser/lib/regexp_parser/expression/classes/free_space.rb#11 +# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#11 class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace - # source://regexp_parser/lib/regexp_parser/expression/methods/human_name.rb#42 + # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42 def human_name; end - # source://regexp_parser/lib/regexp_parser/expression/classes/free_space.rb#12 + # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#12 def merge(exp); end end @@ -2093,559 +2093,559 @@ end # normalizes tokens for the parser, and checks if they are implemented by the # given syntax flavor. # -# source://regexp_parser/lib/regexp_parser/lexer.rb#5 +# source://regexp_parser//lib/regexp_parser/lexer.rb#5 class Regexp::Lexer - # source://regexp_parser/lib/regexp_parser/lexer.rb#71 + # source://regexp_parser//lib/regexp_parser/lexer.rb#71 def emit(token); end - # source://regexp_parser/lib/regexp_parser/lexer.rb#20 + # source://regexp_parser//lib/regexp_parser/lexer.rb#20 def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end private - # source://regexp_parser/lib/regexp_parser/lexer.rb#91 + # source://regexp_parser//lib/regexp_parser/lexer.rb#91 def ascend(type, token); end # Returns the value of attribute block. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def block; end # Sets the attribute block # # @param value the value to set the attribute block to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def block=(_arg0); end # if a codepoint list is followed by a quantifier, that quantifier applies # to the last codepoint, e.g. /\u{61 62 63}{3}/ =~ 'abccc' # c.f. #break_literal. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#143 + # source://regexp_parser//lib/regexp_parser/lexer.rb#143 def break_codepoint_list(token); end # called by scan to break a literal run that is longer than one character # into two separate tokens when it is followed by a quantifier # - # source://regexp_parser/lib/regexp_parser/lexer.rb#123 + # source://regexp_parser//lib/regexp_parser/lexer.rb#123 def break_literal(token); end # Returns the value of attribute collect_tokens. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def collect_tokens; end # Sets the attribute collect_tokens # # @param value the value to set the attribute collect_tokens to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def collect_tokens=(_arg0); end # Returns the value of attribute conditional_nesting. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def conditional_nesting; end # Sets the attribute conditional_nesting # # @param value the value to set the attribute conditional_nesting to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def conditional_nesting=(_arg0); end - # source://regexp_parser/lib/regexp_parser/lexer.rb#106 + # source://regexp_parser//lib/regexp_parser/lexer.rb#106 def descend(type, token); end - # source://regexp_parser/lib/regexp_parser/lexer.rb#162 + # source://regexp_parser//lib/regexp_parser/lexer.rb#162 def merge_condition(current, last); end # Returns the value of attribute nesting. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def nesting; end # Sets the attribute nesting # # @param value the value to set the attribute nesting to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def nesting=(_arg0); end # Returns the value of attribute preprev_token. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def preprev_token; end # Sets the attribute preprev_token # # @param value the value to set the attribute preprev_token to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def preprev_token=(_arg0); end # Returns the value of attribute prev_token. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def prev_token; end # Sets the attribute prev_token # # @param value the value to set the attribute prev_token to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def prev_token=(_arg0); end # Returns the value of attribute set_nesting. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def set_nesting; end # Sets the attribute set_nesting # # @param value the value to set the attribute set_nesting to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def set_nesting=(_arg0); end # Returns the value of attribute shift. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def shift; end # Sets the attribute shift # # @param value the value to set the attribute shift to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def shift=(_arg0); end # Returns the value of attribute tokens. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def tokens; end # Sets the attribute tokens # # @param value the value to set the attribute tokens to. # - # source://regexp_parser/lib/regexp_parser/lexer.rb#87 + # source://regexp_parser//lib/regexp_parser/lexer.rb#87 def tokens=(_arg0); end class << self - # source://regexp_parser/lib/regexp_parser/lexer.rb#16 + # source://regexp_parser//lib/regexp_parser/lexer.rb#16 def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end - # source://regexp_parser/lib/regexp_parser/lexer.rb#16 + # source://regexp_parser//lib/regexp_parser/lexer.rb#82 def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end end end -# source://regexp_parser/lib/regexp_parser/lexer.rb#12 +# source://regexp_parser//lib/regexp_parser/lexer.rb#12 Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/lexer.rb#14 +# source://regexp_parser//lib/regexp_parser/lexer.rb#14 Regexp::Lexer::CONDITION_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/lexer.rb#7 +# source://regexp_parser//lib/regexp_parser/lexer.rb#7 Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#1 +# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#1 class Regexp::MatchLength include ::Enumerable # @return [MatchLength] a new instance of MatchLength # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#9 def initialize(exp, opts = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#24 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#24 def each(opts = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#35 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#35 def endless_each; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#44 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#44 def fixed?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#40 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#40 def include?(length); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#60 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#60 def inspect; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#52 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#52 def max; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#48 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#48 def min; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#56 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#56 def minmax; end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#65 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#65 def to_re; end private # Returns the value of attribute base_max. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def base_max; end # Sets the attribute base_max # # @param value the value to set the attribute base_max to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def base_max=(_arg0); end # Returns the value of attribute base_min. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def base_min; end # Sets the attribute base_min # # @param value the value to set the attribute base_min to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def base_min=(_arg0); end # Returns the value of attribute exp_class. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def exp_class; end # Sets the attribute exp_class # # @param value the value to set the attribute exp_class to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def exp_class=(_arg0); end # Returns the value of attribute max_rep. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def max_rep; end # Sets the attribute max_rep # # @param value the value to set the attribute max_rep to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def max_rep=(_arg0); end # Returns the value of attribute min_rep. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def min_rep; end # Sets the attribute min_rep # # @param value the value to set the attribute min_rep to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def min_rep=(_arg0); end # Returns the value of attribute reify. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def reify; end # Sets the attribute reify # # @param value the value to set the attribute reify to. # - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#71 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71 def reify=(_arg0); end - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#74 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#74 def test_regexp; end class << self - # source://regexp_parser/lib/regexp_parser/expression/methods/match_length.rb#4 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#4 def of(obj); end end end -# source://regexp_parser/lib/regexp_parser/version.rb#2 +# source://regexp_parser//lib/regexp_parser/version.rb#2 class Regexp::Parser include ::Regexp::Expression - # source://regexp_parser/lib/regexp_parser/parser.rb#25 + # source://regexp_parser//lib/regexp_parser/parser.rb#25 def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end private - # source://regexp_parser/lib/regexp_parser/parser.rb#574 + # source://regexp_parser//lib/regexp_parser/parser.rb#574 def active_opts; end - # source://regexp_parser/lib/regexp_parser/parser.rb#99 + # source://regexp_parser//lib/regexp_parser/parser.rb#99 def anchor(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#262 + # source://regexp_parser//lib/regexp_parser/parser.rb#262 def assign_effective_number(exp); end # Assigns referenced expressions to referring expressions, e.g. if there is # an instance of Backreference::Number, its #referenced_expression is set to # the instance of Group::Capture that it refers to via its number. # - # source://regexp_parser/lib/regexp_parser/parser.rb#581 + # source://regexp_parser//lib/regexp_parser/parser.rb#581 def assign_referenced_expressions; end - # source://regexp_parser/lib/regexp_parser/parser.rb#227 + # source://regexp_parser//lib/regexp_parser/parser.rb#227 def backref(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#202 + # source://regexp_parser//lib/regexp_parser/parser.rb#202 def captured_group_count_at_level; end # Returns the value of attribute captured_group_counts. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def captured_group_counts; end # Sets the attribute captured_group_counts # # @param value the value to set the attribute captured_group_counts to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def captured_group_counts=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#570 + # source://regexp_parser//lib/regexp_parser/parser.rb#570 def close_completed_character_set_range; end - # source://regexp_parser/lib/regexp_parser/parser.rb#210 + # source://regexp_parser//lib/regexp_parser/parser.rb#210 def close_group; end - # source://regexp_parser/lib/regexp_parser/parser.rb#538 + # source://regexp_parser//lib/regexp_parser/parser.rb#538 def close_set; end - # source://regexp_parser/lib/regexp_parser/parser.rb#269 + # source://regexp_parser//lib/regexp_parser/parser.rb#269 def conditional(token); end # Returns the value of attribute conditional_nesting. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def conditional_nesting; end # Sets the attribute conditional_nesting # # @param value the value to set the attribute conditional_nesting to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def conditional_nesting=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#206 + # source://regexp_parser//lib/regexp_parser/parser.rb#206 def count_captured_group; end # @yield [node] # - # source://regexp_parser/lib/regexp_parser/parser.rb#216 + # source://regexp_parser//lib/regexp_parser/parser.rb#216 def decrease_nesting; end - # source://regexp_parser/lib/regexp_parser/parser.rb#305 + # source://regexp_parser//lib/regexp_parser/parser.rb#305 def escape(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#60 + # source://regexp_parser//lib/regexp_parser/parser.rb#60 def extract_options(input, options); end - # source://regexp_parser/lib/regexp_parser/parser.rb#349 + # source://regexp_parser//lib/regexp_parser/parser.rb#349 def free_space(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#114 + # source://regexp_parser//lib/regexp_parser/parser.rb#114 def group(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#509 + # source://regexp_parser//lib/regexp_parser/parser.rb#509 def increase_group_level(exp); end - # source://regexp_parser/lib/regexp_parser/parser.rb#549 + # source://regexp_parser//lib/regexp_parser/parser.rb#549 def intersection(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#360 + # source://regexp_parser//lib/regexp_parser/parser.rb#360 def keep(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#364 + # source://regexp_parser//lib/regexp_parser/parser.rb#364 def literal(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#368 + # source://regexp_parser//lib/regexp_parser/parser.rb#368 def meta(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#534 + # source://regexp_parser//lib/regexp_parser/parser.rb#534 def negate_set; end - # source://regexp_parser/lib/regexp_parser/parser.rb#299 + # source://regexp_parser//lib/regexp_parser/parser.rb#299 def nest(exp); end - # source://regexp_parser/lib/regexp_parser/parser.rb#294 + # source://regexp_parser//lib/regexp_parser/parser.rb#294 def nest_conditional(exp); end # Returns the value of attribute nesting. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def nesting; end # Sets the attribute nesting # # @param value the value to set the attribute nesting to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def nesting=(_arg0); end # Returns the value of attribute node. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def node; end # Sets the attribute node # # @param value the value to set the attribute node to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def node=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#165 + # source://regexp_parser//lib/regexp_parser/parser.rb#165 def open_group(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#527 + # source://regexp_parser//lib/regexp_parser/parser.rb#527 def open_set(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#130 + # source://regexp_parser//lib/regexp_parser/parser.rb#130 def options_group(token); end # Returns the value of attribute options_stack. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def options_stack; end # Sets the attribute options_stack # # @param value the value to set the attribute options_stack to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def options_stack=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#76 + # source://regexp_parser//lib/regexp_parser/parser.rb#76 def parse_token(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#390 + # source://regexp_parser//lib/regexp_parser/parser.rb#390 def posixclass(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#397 + # source://regexp_parser//lib/regexp_parser/parser.rb#397 def property(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#479 + # source://regexp_parser//lib/regexp_parser/parser.rb#479 def quantifier(token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#542 + # source://regexp_parser//lib/regexp_parser/parser.rb#542 def range(token); end # Returns the value of attribute root. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def root; end # Sets the attribute root # # @param value the value to set the attribute root to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def root=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#379 + # source://regexp_parser//lib/regexp_parser/parser.rb#379 def sequence_operation(klass, token); end - # source://regexp_parser/lib/regexp_parser/parser.rb#515 + # source://regexp_parser//lib/regexp_parser/parser.rb#515 def set(token); end # Returns the value of attribute switching_options. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def switching_options; end # Sets the attribute switching_options # # @param value the value to set the attribute switching_options to. # - # source://regexp_parser/lib/regexp_parser/parser.rb#56 + # source://regexp_parser//lib/regexp_parser/parser.rb#56 def switching_options=(_arg0); end - # source://regexp_parser/lib/regexp_parser/parser.rb#198 + # source://regexp_parser//lib/regexp_parser/parser.rb#198 def total_captured_group_count; end - # source://regexp_parser/lib/regexp_parser/parser.rb#553 + # source://regexp_parser//lib/regexp_parser/parser.rb#553 def type(token); end class << self - # source://regexp_parser/lib/regexp_parser/parser.rb#21 + # source://regexp_parser//lib/regexp_parser/parser.rb#21 def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end end end -# source://regexp_parser/lib/regexp_parser/parser.rb#128 +# source://regexp_parser//lib/regexp_parser/parser.rb#128 Regexp::Parser::ENC_FLAGS = T.let(T.unsafe(nil), Array) # base class for all gem-specific errors # -# source://regexp_parser/lib/regexp_parser/error.rb#3 +# source://regexp_parser//lib/regexp_parser/error.rb#3 class Regexp::Parser::Error < ::StandardError; end -# source://regexp_parser/lib/regexp_parser/parser.rb#127 +# source://regexp_parser//lib/regexp_parser/parser.rb#127 Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/parser.rb#7 +# source://regexp_parser//lib/regexp_parser/parser.rb#7 class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end -# source://regexp_parser/lib/regexp_parser/parser.rb#394 +# source://regexp_parser//lib/regexp_parser/parser.rb#394 Regexp::Parser::UP = Regexp::Expression::UnicodeProperty -# source://regexp_parser/lib/regexp_parser/parser.rb#395 +# source://regexp_parser//lib/regexp_parser/parser.rb#395 Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty -# source://regexp_parser/lib/regexp_parser/parser.rb#15 +# source://regexp_parser//lib/regexp_parser/parser.rb#15 class Regexp::Parser::UnknownTokenError < ::Regexp::Parser::ParserError # @return [UnknownTokenError] a new instance of UnknownTokenError # - # source://regexp_parser/lib/regexp_parser/parser.rb#16 + # source://regexp_parser//lib/regexp_parser/parser.rb#16 def initialize(type, token); end end -# source://regexp_parser/lib/regexp_parser/parser.rb#9 +# source://regexp_parser//lib/regexp_parser/parser.rb#9 class Regexp::Parser::UnknownTokenTypeError < ::Regexp::Parser::ParserError # @return [UnknownTokenTypeError] a new instance of UnknownTokenTypeError # - # source://regexp_parser/lib/regexp_parser/parser.rb#10 + # source://regexp_parser//lib/regexp_parser/parser.rb#10 def initialize(type, token); end end -# source://regexp_parser/lib/regexp_parser/version.rb#3 +# source://regexp_parser//lib/regexp_parser/version.rb#3 Regexp::Parser::VERSION = T.let(T.unsafe(nil), String) -# source://regexp_parser/lib/regexp_parser/scanner/errors/scanner_error.rb#3 +# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3 class Regexp::Scanner # Emits an array with the details of the scanned pattern # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2363 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2363 def emit(type, token, text); end # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2388 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2388 def literal_run; end # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2388 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2388 def literal_run=(_arg0); end # @raise [PrematureEndError] # - # source://regexp_parser/lib/regexp_parser/scanner.rb#24 + # source://regexp_parser//lib/regexp_parser/scanner.rb#24 def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end private @@ -2653,168 +2653,168 @@ class Regexp::Scanner # Appends one or more characters to the literal buffer, to be emitted later # by a call to emit_literal. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2425 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2425 def append_literal(data, ts, te); end # Returns the value of attribute block. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def block; end # Sets the attribute block # # @param value the value to set the attribute block to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def block=(_arg0); end # Returns the value of attribute char_pos. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def char_pos; end # Sets the attribute char_pos # # @param value the value to set the attribute char_pos to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def char_pos=(_arg0); end # Returns the value of attribute collect_tokens. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def collect_tokens; end # Sets the attribute collect_tokens # # @param value the value to set the attribute collect_tokens to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def collect_tokens=(_arg0); end # Returns the value of attribute conditional_stack. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def conditional_stack; end # Sets the attribute conditional_stack # # @param value the value to set the attribute conditional_stack to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def conditional_stack=(_arg0); end # Copy from ts to te from data as text # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2419 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2419 def copy(data, ts, te); end # Emits the literal run collected by calls to the append_literal method. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2430 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2430 def emit_literal; end - # source://regexp_parser/lib/regexp_parser/scanner.rb#2465 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2465 def emit_meta_control_sequence(data, ts, te, token); end - # source://regexp_parser/lib/regexp_parser/scanner.rb#2436 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2436 def emit_options(text); end # Returns the value of attribute free_spacing. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def free_spacing; end # Sets the attribute free_spacing # # @param value the value to set the attribute free_spacing to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def free_spacing=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2398 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2398 def free_spacing?(input_object, options); end # Returns the value of attribute group_depth. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def group_depth; end # Sets the attribute group_depth # # @param value the value to set the attribute group_depth to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def group_depth=(_arg0); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2410 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2410 def in_group?; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2414 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2414 def in_set?; end # Returns the value of attribute prev_token. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def prev_token; end # Sets the attribute prev_token # # @param value the value to set the attribute prev_token to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def prev_token=(_arg0); end # Returns the value of attribute set_depth. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def set_depth; end # Sets the attribute set_depth # # @param value the value to set the attribute set_depth to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def set_depth=(_arg0); end # Returns the value of attribute spacing_stack. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def spacing_stack; end # Sets the attribute spacing_stack # # @param value the value to set the attribute spacing_stack to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def spacing_stack=(_arg0); end # Returns the value of attribute tokens. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def tokens; end # Sets the attribute tokens # # @param value the value to set the attribute tokens to. # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2392 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2392 def tokens=(_arg0); end class << self - # source://regexp_parser/lib/regexp_parser/scanner.rb#2349 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2349 def long_prop_map; end - # source://regexp_parser/lib/regexp_parser/scanner.rb#2353 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2353 def parse_prop_map(name); end - # source://regexp_parser/lib/regexp_parser/scanner.rb#2357 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2357 def posix_classes; end # Scans the given regular expression text, or Regexp object and collects the @@ -2824,103 +2824,103 @@ class Regexp::Scanner # This method may raise errors if a syntax error is encountered. # -------------------------------------------------------------------------- # - # source://regexp_parser/lib/regexp_parser/scanner.rb#20 + # source://regexp_parser//lib/regexp_parser/scanner.rb#20 def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end # lazy-load property maps when first needed # - # source://regexp_parser/lib/regexp_parser/scanner.rb#2345 + # source://regexp_parser//lib/regexp_parser/scanner.rb#2345 def short_prop_map; end end end # Invalid back reference. Used for name a number refs/calls. # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#44 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#44 class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError # @return [InvalidBackrefError] a new instance of InvalidBackrefError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#45 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#45 def initialize(what, reason); end end # Invalid group. Used for named groups. # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#29 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#29 class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError # @return [InvalidGroupError] a new instance of InvalidGroupError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#30 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#30 def initialize(what, reason); end end # Invalid groupOption. Used for inline options. # TODO: should become InvalidGroupOptionError in v3.0.0 for consistency # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#37 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#37 class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError # @return [InvalidGroupOption] a new instance of InvalidGroupOption # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#38 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#38 def initialize(option, text); end end # Invalid sequence format. Used for escape sequences, mainly. # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#22 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#22 class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError # @return [InvalidSequenceError] a new instance of InvalidSequenceError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#23 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#23 def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end end # Unexpected end of pattern # -# source://regexp_parser/lib/regexp_parser/scanner/errors/premature_end_error.rb#3 +# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#3 class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError # @return [PrematureEndError] a new instance of PrematureEndError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/premature_end_error.rb#4 + # source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#4 def initialize(where = T.unsafe(nil)); end end # General scanner error (catch all) # -# source://regexp_parser/lib/regexp_parser/scanner/errors/scanner_error.rb#5 +# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5 class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end # The POSIX class name was not recognized by the scanner. # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#58 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#58 class Regexp::Scanner::UnknownPosixClassError < ::Regexp::Scanner::ValidationError # @return [UnknownPosixClassError] a new instance of UnknownPosixClassError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#59 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#59 def initialize(text, _); end end # The property name was not recognized by the scanner. # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#51 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#51 class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError # @return [UnknownUnicodePropertyError] a new instance of UnknownUnicodePropertyError # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#52 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#52 def initialize(name, _); end end # Base for all scanner validation errors # -# source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#3 +# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#3 class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError class << self # Centralizes and unifies the handling of validation related errors. # - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#5 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5 def for(type, problem, reason = T.unsafe(nil)); end - # source://regexp_parser/lib/regexp_parser/scanner/errors/validation_error.rb#9 + # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#9 def types; end end end @@ -2928,65 +2928,65 @@ end # After loading all the tokens the map is full. Extract all tokens and types # into the All and Types constants. # -# source://regexp_parser/lib/regexp_parser/syntax.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax.rb#3 module Regexp::Syntax private - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#61 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61 def comparable(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#44 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44 def const_missing(const_name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#51 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51 def fallback_version_class(version); end # Returns the syntax specification class for the given syntax # version name. The special names 'any' and '*' return Syntax::Any. # - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#22 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#22 def for(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#26 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26 def new(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#57 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57 def specified_versions; end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#32 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#32 def supported?(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#36 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36 def version_class(version); end class << self - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#61 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61 def comparable(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#44 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44 def const_missing(const_name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#51 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51 def fallback_version_class(version); end # Returns the syntax specification class for the given syntax # version name. The special names 'any' and '*' return Syntax::Any. # - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#22 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#22 def for(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#26 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26 def new(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#57 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57 def specified_versions; end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#32 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#32 def supported?(name); end - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#36 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36 def version_class(version); end end end @@ -2995,19 +2995,19 @@ end # is useful during development, testing, and should be useful for some types # of transformations as well. # -# source://regexp_parser/lib/regexp_parser/syntax/any.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/any.rb#5 class Regexp::Syntax::Any < ::Regexp::Syntax::Base class << self # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/syntax/any.rb#8 + # source://regexp_parser//lib/regexp_parser/syntax/any.rb#8 def implements?(_type, _token); end end end # A lookup map of supported types and tokens in a given syntax # -# source://regexp_parser/lib/regexp_parser/syntax/base.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/base.rb#9 class Regexp::Syntax::Base include ::Regexp::Syntax::Token @@ -3015,781 +3015,819 @@ class Regexp::Syntax::Base # # @return [Base] a new instance of Base # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#99 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#99 def initialize; end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#104 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#104 def method_missing(name, *args); end private # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#115 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#115 def respond_to_missing?(name, include_private = T.unsafe(nil)); end class << self - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#46 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#46 def added_features; end # @raise [NotImplementedError] # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#40 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#44 def check!(type, token); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#31 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#34 def check?(type, token); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#26 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#26 def excludes(type, tokens); end # Returns the value of attribute features. # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#13 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#13 def features; end # Sets the attribute features # # @param value the value to set the attribute features to. # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#13 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#13 def features=(_arg0); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#36 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#36 def implementations(type); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#21 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#21 def implements(type, tokens); end # @raise [NotImplementedError] # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#40 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#40 def implements!(type, token); end # @return [Boolean] # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#31 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#31 def implements?(type, token); end # automatically inherit features through the syntax class hierarchy # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#16 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#16 def inherited(subclass); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#54 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#54 def normalize(type, token); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#74 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#74 def normalize_backref(type, token); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#65 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#65 def normalize_group(type, token); end - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#50 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#50 def removed_features; end end end -# source://regexp_parser/lib/regexp_parser/syntax/versions.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/versions.rb#8 Regexp::Syntax::CURRENT = Regexp::Syntax::V3_2_0 -# source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6 class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError # @return [InvalidVersionNameError] a new instance of InvalidVersionNameError # - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#7 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#7 def initialize(name); end end -# source://regexp_parser/lib/regexp_parser/syntax/base.rb#2 +# source://regexp_parser//lib/regexp_parser/syntax/base.rb#2 class Regexp::Syntax::NotImplementedError < ::Regexp::Syntax::SyntaxError # @return [NotImplementedError] a new instance of NotImplementedError # - # source://regexp_parser/lib/regexp_parser/syntax/base.rb#3 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#3 def initialize(syntax, type, token); end end -# source://regexp_parser/lib/regexp_parser/syntax.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax.rb#4 class Regexp::Syntax::SyntaxError < ::Regexp::Parser::Error; end -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#3 module Regexp::Syntax::Token; end -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#42 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#42 Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array) # alias for symmetry between Token::* and Expression::* # -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#15 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#15 module Regexp::Syntax::Token::Alternation; end -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#16 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#16 Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#17 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#17 Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#3 module Regexp::Syntax::Token::Anchor; end -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#9 Regexp::Syntax::Token::Anchor::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#4 Regexp::Syntax::Token::Anchor::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#5 Regexp::Syntax::Token::Anchor::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#7 Regexp::Syntax::Token::Anchor::MatchStart = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#6 Regexp::Syntax::Token::Anchor::String = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/anchor.rb#10 +# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#10 Regexp::Syntax::Token::Anchor::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/assertion.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#3 module Regexp::Syntax::Token::Assertion; end -# source://regexp_parser/lib/regexp_parser/syntax/token/assertion.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#7 Regexp::Syntax::Token::Assertion::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/assertion.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#4 Regexp::Syntax::Token::Assertion::Lookahead = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/assertion.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#5 Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/assertion.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#8 Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol) # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#31 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#31 Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#3 module Regexp::Syntax::Token::Backreference; end -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#15 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#15 Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#7 Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#6 Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#5 Regexp::Syntax::Token::Backreference::NumberRef = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#4 Regexp::Syntax::Token::Backreference::Plain = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#9 Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#16 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#16 Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#11 Regexp::Syntax::Token::Backreference::V1_8_6 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#13 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#13 Regexp::Syntax::Token::Backreference::V1_9_1 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#3 module Regexp::Syntax::Token::CharacterSet; end -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#7 Regexp::Syntax::Token::CharacterSet::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#4 Regexp::Syntax::Token::CharacterSet::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#5 Regexp::Syntax::Token::CharacterSet::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#8 Regexp::Syntax::Token::CharacterSet::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#3 module Regexp::Syntax::Token::CharacterType; end -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#10 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#10 Regexp::Syntax::Token::CharacterType::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#4 Regexp::Syntax::Token::CharacterType::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#8 Regexp::Syntax::Token::CharacterType::Clustered = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#5 Regexp::Syntax::Token::CharacterType::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#6 Regexp::Syntax::Token::CharacterType::Hex = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/character_type.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#11 Regexp::Syntax::Token::CharacterType::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#3 module Regexp::Syntax::Token::Conditional; end -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#9 Regexp::Syntax::Token::Conditional::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#6 Regexp::Syntax::Token::Conditional::Condition = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#4 Regexp::Syntax::Token::Conditional::Delimiters = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#7 Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/conditional.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11 Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#3 module Regexp::Syntax::Token::Escape; end -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8 Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#24 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24 Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4 Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6 Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#20 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#20 Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#13 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13 Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#22 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22 Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#25 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#25 Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#11 Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array) # alias for symmetry between Token::* and Expression::* # -# source://regexp_parser/lib/regexp_parser/syntax/token/escape.rb#31 +# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#31 Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#11 module Regexp::Syntax::Token::FreeSpace; end -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#12 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#12 Regexp::Syntax::Token::FreeSpace::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#13 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#13 Regexp::Syntax::Token::FreeSpace::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#3 module Regexp::Syntax::Token::Group; end -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#17 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#17 Regexp::Syntax::Token::Group::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#8 Regexp::Syntax::Token::Group::Atomic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#4 Regexp::Syntax::Token::Group::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#10 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#10 Regexp::Syntax::Token::Group::Comment = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#5 Regexp::Syntax::Token::Group::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#7 Regexp::Syntax::Token::Group::Named = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#9 Regexp::Syntax::Token::Group::Passive = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#18 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#18 Regexp::Syntax::Token::Group::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#12 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#12 Regexp::Syntax::Token::Group::V1_8_6 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/group.rb#15 +# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#15 Regexp::Syntax::Token::Group::V2_4_1 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/keep.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#3 module Regexp::Syntax::Token::Keep; end -# source://regexp_parser/lib/regexp_parser/syntax/token/keep.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#6 Regexp::Syntax::Token::Keep::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/keep.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#4 Regexp::Syntax::Token::Keep::Mark = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/keep.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#7 Regexp::Syntax::Token::Keep::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#6 module Regexp::Syntax::Token::Literal; end -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#7 Regexp::Syntax::Token::Literal::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#8 Regexp::Syntax::Token::Literal::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#4 Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#3 module Regexp::Syntax::Token::Meta; end -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#8 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8 Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#5 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5 Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#4 Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6 Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/meta.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#9 Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#3 module Regexp::Syntax::Token::PosixClass; end -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#9 Regexp::Syntax::Token::PosixClass::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#7 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#7 Regexp::Syntax::Token::PosixClass::Extensions = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#11 Regexp::Syntax::Token::PosixClass::NonType = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#4 Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/posix_class.rb#10 +# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#10 Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol) # alias for symmetry between token symbol and Token module name # -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#749 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#749 Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3 module Regexp::Syntax::Token::Quantifier; end -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#29 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#29 Regexp::Syntax::Token::Quantifier::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#4 Regexp::Syntax::Token::Quantifier::Greedy = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#22 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#22 Regexp::Syntax::Token::Quantifier::Interval = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#26 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#26 Regexp::Syntax::Token::Quantifier::IntervalAll = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#24 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#24 Regexp::Syntax::Token::Quantifier::IntervalPossessive = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#23 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#23 Regexp::Syntax::Token::Quantifier::IntervalReluctant = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#16 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#16 Regexp::Syntax::Token::Quantifier::Possessive = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#10 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#10 Regexp::Syntax::Token::Quantifier::Reluctant = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#30 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#30 Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/quantifier.rb#28 +# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28 Regexp::Syntax::Token::Quantifier::V1_8_6 = T.let(T.unsafe(nil), Array) # alias for symmetry between token symbol and Token module name # -# source://regexp_parser/lib/regexp_parser/syntax/token/character_set.rb#14 +# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#14 Regexp::Syntax::Token::Set = Regexp::Syntax::Token::CharacterSet # Type is the same as Backreference so keeping it here, for now. # -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#20 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#20 module Regexp::Syntax::Token::SubexpressionCall; end -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#24 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#24 Regexp::Syntax::Token::SubexpressionCall::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#21 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#21 Regexp::Syntax::Token::SubexpressionCall::Name = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/backreference.rb#22 +# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#22 Regexp::Syntax::Token::SubexpressionCall::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token.rb#43 +# source://regexp_parser//lib/regexp_parser/syntax/token.rb#43 Regexp::Syntax::Token::Types = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#3 module Regexp::Syntax::Token::UnicodeProperty; end -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#64 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#64 Regexp::Syntax::Token::UnicodeProperty::Age = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#40 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#40 Regexp::Syntax::Token::UnicodeProperty::Age_V1_9_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#44 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#44 Regexp::Syntax::Token::UnicodeProperty::Age_V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#46 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#46 Regexp::Syntax::Token::UnicodeProperty::Age_V2_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#48 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#48 Regexp::Syntax::Token::UnicodeProperty::Age_V2_3_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#50 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#50 Regexp::Syntax::Token::UnicodeProperty::Age_V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#52 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#52 Regexp::Syntax::Token::UnicodeProperty::Age_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#54 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#54 Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#56 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#56 Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_2 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#58 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#58 Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#60 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#60 Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#62 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62 Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#739 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#739 Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#13 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13 module Regexp::Syntax::Token::UnicodeProperty::Category; end -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#36 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#36 Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#33 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#33 Regexp::Syntax::Token::UnicodeProperty::Category::Codepoint = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#14 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#14 Regexp::Syntax::Token::UnicodeProperty::Category::Letter = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#17 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#17 Regexp::Syntax::Token::UnicodeProperty::Category::Mark = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#20 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#20 Regexp::Syntax::Token::UnicodeProperty::Category::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#23 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#23 Regexp::Syntax::Token::UnicodeProperty::Category::Punctuation = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#30 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#30 Regexp::Syntax::Token::UnicodeProperty::Category::Separator = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#27 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#27 Regexp::Syntax::Token::UnicodeProperty::Category::Symbol = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#6 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#6 Regexp::Syntax::Token::UnicodeProperty::CharType_V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#9 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#9 Regexp::Syntax::Token::UnicodeProperty::CharType_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#133 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#133 Regexp::Syntax::Token::UnicodeProperty::Derived = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#66 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#66 Regexp::Syntax::Token::UnicodeProperty::Derived_V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#120 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#120 Regexp::Syntax::Token::UnicodeProperty::Derived_V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#125 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#125 Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#129 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129 Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#724 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#724 Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#694 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#694 Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#702 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702 Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#722 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#722 Regexp::Syntax::Token::UnicodeProperty::Enumerated = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#706 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706 Regexp::Syntax::Token::UnicodeProperty::Enumerated_V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#742 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#742 Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#11 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11 Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#332 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332 Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#135 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#135 Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#231 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#231 Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#237 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#237 Regexp::Syntax::Token::UnicodeProperty::Script_V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#247 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#247 Regexp::Syntax::Token::UnicodeProperty::Script_V2_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#273 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#273 Regexp::Syntax::Token::UnicodeProperty::Script_V2_3_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#282 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#282 Regexp::Syntax::Token::UnicodeProperty::Script_V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#291 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#291 Regexp::Syntax::Token::UnicodeProperty::Script_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#298 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#298 Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#308 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#308 Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_2 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#315 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#315 Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#322 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#322 Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#741 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#741 Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#692 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#692 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#334 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#334 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#433 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#433 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#561 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#561 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#596 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#596 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#609 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#609 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#623 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#623 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#633 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#647 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#647 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#659 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#659 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#670 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#670 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#726 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#726 Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#727 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#727 Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#728 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#728 Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#729 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#729 Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#730 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#730 Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#731 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#731 Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#732 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#732 Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#733 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#733 Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#734 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#734 Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#735 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#735 Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#736 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#736 Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/token/unicode_property.rb#737 +# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#737 Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#12 +# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#12 class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError # @return [UnknownSyntaxNameError] a new instance of UnknownSyntaxNameError # - # source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#13 + # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#13 def initialize(name); end end -# source://regexp_parser/lib/regexp_parser/syntax/versions/1.8.6.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/1.8.6.rb#1 class Regexp::Syntax::V1_8_6 < ::Regexp::Syntax::Base; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/1.9.1.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.1.rb#1 class Regexp::Syntax::V1_9_1 < ::Regexp::Syntax::V1_8_6; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/1.9.3.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.3.rb#1 class Regexp::Syntax::V1_9_3 < ::Regexp::Syntax::V1_9_1; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.0.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.0.0.rb#1 class Regexp::Syntax::V2_0_0 < ::Regexp::Syntax::V1_9_3; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.2.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.2.0.rb#1 class Regexp::Syntax::V2_2_0 < ::Regexp::Syntax::V2_0_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.3.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.3.0.rb#1 class Regexp::Syntax::V2_3_0 < ::Regexp::Syntax::V2_2_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.4.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.0.rb#1 class Regexp::Syntax::V2_4_0 < ::Regexp::Syntax::V2_3_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.4.1.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.1.rb#1 class Regexp::Syntax::V2_4_1 < ::Regexp::Syntax::V2_4_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.5.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.5.0.rb#1 class Regexp::Syntax::V2_5_0 < ::Regexp::Syntax::V2_4_1; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.6.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.0.rb#1 class Regexp::Syntax::V2_6_0 < ::Regexp::Syntax::V2_5_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.6.2.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.2.rb#1 class Regexp::Syntax::V2_6_2 < ::Regexp::Syntax::V2_6_0; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/2.6.3.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.3.rb#1 class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/3.1.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/3.1.0.rb#1 class Regexp::Syntax::V3_1_0 < ::Regexp::Syntax::V2_6_3; end -# source://regexp_parser/lib/regexp_parser/syntax/versions/3.2.0.rb#1 +# source://regexp_parser//lib/regexp_parser/syntax/versions/3.2.0.rb#1 class Regexp::Syntax::V3_2_0 < ::Regexp::Syntax::V3_1_0; end -# source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#4 +# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#4 Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#2 +# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#2 Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String) -# source://regexp_parser/lib/regexp_parser/syntax/version_lookup.rb#3 +# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#3 Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://regexp_parser/lib/regexp_parser/token.rb#2 +# source://regexp_parser//lib/regexp_parser/token.rb#2 Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array) -# source://regexp_parser/lib/regexp_parser/token.rb#13 +# source://regexp_parser//lib/regexp_parser/token.rb#13 class Regexp::Token < ::Struct + # source://regexp_parser//lib/regexp_parser/token.rb#13 def conditional_level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def conditional_level=(_); end - # source://regexp_parser/lib/regexp_parser/token.rb#20 + # source://regexp_parser//lib/regexp_parser/token.rb#20 def length; end + # source://regexp_parser//lib/regexp_parser/token.rb#13 def level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def level=(_); end # Returns the value of attribute next. # - # source://regexp_parser/lib/regexp_parser/token.rb#14 + # source://regexp_parser//lib/regexp_parser/token.rb#14 def next; end # Sets the attribute next # # @param value the value to set the attribute next to. # - # source://regexp_parser/lib/regexp_parser/token.rb#14 + # source://regexp_parser//lib/regexp_parser/token.rb#14 def next=(_arg0); end - # source://regexp_parser/lib/regexp_parser/token.rb#16 + # source://regexp_parser//lib/regexp_parser/token.rb#16 def offset; end # Returns the value of attribute previous. # - # source://regexp_parser/lib/regexp_parser/token.rb#14 + # source://regexp_parser//lib/regexp_parser/token.rb#14 def previous; end # Sets the attribute previous # # @param value the value to set the attribute previous to. # - # source://regexp_parser/lib/regexp_parser/token.rb#14 + # source://regexp_parser//lib/regexp_parser/token.rb#14 def previous=(_arg0); end + # source://regexp_parser//lib/regexp_parser/token.rb#13 def set_level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def set_level=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def te; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def te=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def text; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def text=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def token; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def token=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def ts; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def ts=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def type; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def type=(_); end class << self + # source://regexp_parser//lib/regexp_parser/token.rb#13 def [](*_arg0); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def inspect; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def keyword_init?; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def members; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/reline@0.6.0.rbi b/sorbet/rbi/gems/reline@0.6.0.rbi index 1c43cbecc..508f9854b 100644 --- a/sorbet/rbi/gems/reline@0.6.0.rbi +++ b/sorbet/rbi/gems/reline@0.6.0.rbi @@ -5,386 +5,550 @@ # Please instead update this file by running `bin/tapioca gem reline`. -# source://reline/lib/reline/version.rb#1 +# source://reline//lib/reline/version.rb#1 module Reline extend ::Forwardable extend ::SingleForwardable + # source://reline//lib/reline.rb#457 + def eof?(*args, **_arg1, &block); end + + private + + # source://reline//lib/reline.rb#446 + def readline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#479 + def readmultiline(*args, **_arg1, &block); end + class << self - # source://reline/lib/reline.rb#486 + # source://reline//lib/reline.rb#474 + def add_dialog_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#471 + def ambiguous_width(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def auto_indent_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def auto_indent_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#476 + def autocompletion(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#476 + def autocompletion=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def basic_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def basic_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def basic_word_break_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def basic_word_break_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completer_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completer_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completer_word_break_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completer_word_break_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completion_append_character(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completion_append_character=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#444 + def completion_case_fold(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#444 + def completion_case_fold=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completion_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def completion_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#445 + def completion_quote_character(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#486 def core; end - # source://reline/lib/reline.rb#482 + # source://reline//lib/reline.rb#458 + def delete_text(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#475 + def dialog_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def dig_perfect_match_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def dig_perfect_match_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#442 + def emacs_editing_mode(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#470 + def emacs_editing_mode?(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#482 def encoding_system_needs; end - # source://reline/lib/reline.rb#463 + # source://reline//lib/reline.rb#456 + def eof?(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def filename_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def filename_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#455 + def get_screen_size(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#441 + def input=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#463 def insert_text(text); end - # source://reline/lib/reline.rb#506 + # source://reline//lib/reline.rb#472 + def last_incremental_search(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#473 + def last_incremental_search=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#459 + def line_buffer(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#506 def line_editor; end - # source://reline/lib/reline.rb#502 + # source://reline//lib/reline.rb#441 + def output=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def output_modifier_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def output_modifier_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#460 + def point(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#461 + def point=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def pre_input_hook(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def pre_input_hook=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def prompt_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def prompt_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#443 + def readline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#478 + def readmultiline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#469 + def redisplay(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def special_prefixes(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def special_prefixes=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#502 def ungetc(c); end + + # source://reline//lib/reline.rb#442 + def vi_editing_mode(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#470 + def vi_editing_mode?(*args, **_arg1, &block); end end end -# source://reline/lib/reline/io/ansi.rb#4 +# source://reline//lib/reline/io/ansi.rb#4 class Reline::ANSI < ::Reline::IO # @return [ANSI] a new instance of ANSI # - # source://reline/lib/reline/io/ansi.rb#34 + # source://reline//lib/reline/io/ansi.rb#34 def initialize; end # @return [Boolean] # - # source://reline/lib/reline/io/ansi.rb#232 + # source://reline//lib/reline/io/ansi.rb#232 def both_tty?; end - # source://reline/lib/reline/io/ansi.rb#244 + # source://reline//lib/reline/io/ansi.rb#244 def buffered_output; end - # source://reline/lib/reline/io/ansi.rb#292 + # source://reline//lib/reline/io/ansi.rb#292 def clear_screen; end - # source://reline/lib/reline/io/ansi.rb#227 + # source://reline//lib/reline/io/ansi.rb#227 def cursor_pos; end - # source://reline/lib/reline/io/ansi.rb#319 + # source://reline//lib/reline/io/ansi.rb#319 def deprep(otio); end # @return [Boolean] # - # source://reline/lib/reline/io/ansi.rb#167 + # source://reline//lib/reline/io/ansi.rb#167 def empty_buffer?; end - # source://reline/lib/reline/io/ansi.rb#42 + # source://reline//lib/reline/io/ansi.rb#42 def encoding; end - # source://reline/lib/reline/io/ansi.rb#280 + # source://reline//lib/reline/io/ansi.rb#280 def erase_after_cursor; end - # source://reline/lib/reline/io/ansi.rb#189 + # source://reline//lib/reline/io/ansi.rb#189 def get_screen_size; end # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second # - # source://reline/lib/reline/io/ansi.rb#159 + # source://reline//lib/reline/io/ansi.rb#159 def getc(timeout_second); end - # source://reline/lib/reline/io/ansi.rb#272 + # source://reline//lib/reline/io/ansi.rb#272 def hide_cursor; end # @return [Boolean] # - # source://reline/lib/reline/io/ansi.rb#163 + # source://reline//lib/reline/io/ansi.rb#163 def in_pasting?; end - # source://reline/lib/reline/io/ansi.rb#128 + # source://reline//lib/reline/io/ansi.rb#128 def inner_getc(timeout_second); end # Sets the attribute input # # @param value the value to set the attribute input to. # - # source://reline/lib/reline/io/ansi.rb#32 + # source://reline//lib/reline/io/ansi.rb#32 def input=(_arg0); end - # source://reline/lib/reline/io/ansi.rb#252 + # source://reline//lib/reline/io/ansi.rb#252 def move_cursor_column(x); end - # source://reline/lib/reline/io/ansi.rb#264 + # source://reline//lib/reline/io/ansi.rb#264 def move_cursor_down(x); end - # source://reline/lib/reline/io/ansi.rb#256 + # source://reline//lib/reline/io/ansi.rb#256 def move_cursor_up(x); end # Sets the attribute output # # @param value the value to set the attribute output to. # - # source://reline/lib/reline/io/ansi.rb#32 + # source://reline//lib/reline/io/ansi.rb#32 def output=(_arg0); end - # source://reline/lib/reline/io/ansi.rb#312 + # source://reline//lib/reline/io/ansi.rb#312 def prep; end - # source://reline/lib/reline/io/ansi.rb#147 + # source://reline//lib/reline/io/ansi.rb#147 def read_bracketed_paste; end - # source://reline/lib/reline/io/ansi.rb#178 + # source://reline//lib/reline/io/ansi.rb#178 def retrieve_keybuffer; end # This only works when the cursor is at the bottom of the scroll range # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623 # - # source://reline/lib/reline/io/ansi.rb#286 + # source://reline//lib/reline/io/ansi.rb#286 def scroll_down(x); end - # source://reline/lib/reline/io/ansi.rb#68 + # source://reline//lib/reline/io/ansi.rb#68 def set_bracketed_paste_key_bindings(config); end - # source://reline/lib/reline/io/ansi.rb#49 + # source://reline//lib/reline/io/ansi.rb#49 def set_default_key_bindings(config); end - # source://reline/lib/reline/io/ansi.rb#74 + # source://reline//lib/reline/io/ansi.rb#74 def set_default_key_bindings_ansi_cursor(config); end - # source://reline/lib/reline/io/ansi.rb#99 + # source://reline//lib/reline/io/ansi.rb#99 def set_default_key_bindings_comprehensive_list(config); end - # source://reline/lib/reline/io/ansi.rb#199 + # source://reline//lib/reline/io/ansi.rb#199 def set_screen_size(rows, columns); end - # source://reline/lib/reline/io/ansi.rb#297 + # source://reline//lib/reline/io/ansi.rb#297 def set_winch_handler(&handler); end - # source://reline/lib/reline/io/ansi.rb#276 + # source://reline//lib/reline/io/ansi.rb#276 def show_cursor; end - # source://reline/lib/reline/io/ansi.rb#174 + # source://reline//lib/reline/io/ansi.rb#174 def ungetc(c); end - # source://reline/lib/reline/io/ansi.rb#120 + # source://reline//lib/reline/io/ansi.rb#120 def with_raw_input; end - # source://reline/lib/reline/io/ansi.rb#236 + # source://reline//lib/reline/io/ansi.rb#236 def write(string); end private - # source://reline/lib/reline/io/ansi.rb#206 + # source://reline//lib/reline/io/ansi.rb#206 def cursor_pos_internal(timeout:); end end -# source://reline/lib/reline/io/ansi.rb#17 +# source://reline//lib/reline/io/ansi.rb#17 Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash) -# source://reline/lib/reline/io/ansi.rb#5 +# source://reline//lib/reline/io/ansi.rb#5 Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash) -# source://reline/lib/reline/io/ansi.rb#146 +# source://reline//lib/reline/io/ansi.rb#146 Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String) -# source://reline/lib/reline/io/ansi.rb#145 +# source://reline//lib/reline/io/ansi.rb#145 Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String) -# source://reline/lib/reline/config.rb#1 +# source://reline//lib/reline/config.rb#1 class Reline::Config # @return [Config] a new instance of Config # - # source://reline/lib/reline/config.rb#31 + # source://reline//lib/reline/config.rb#31 def initialize; end - # source://reline/lib/reline/config.rb#162 + # source://reline//lib/reline/config.rb#162 def add_default_key_binding(keystroke, target); end - # source://reline/lib/reline/config.rb#158 + # source://reline//lib/reline/config.rb#158 def add_default_key_binding_by_keymap(keymap, keystroke, target); end - # source://reline/lib/reline/config.rb#147 + # source://reline//lib/reline/config.rb#147 def add_oneshot_key_binding(keystroke, target); end # Returns the value of attribute autocompletion. # - # source://reline/lib/reline/config.rb#29 + # source://reline//lib/reline/config.rb#29 def autocompletion; end # Sets the attribute autocompletion # # @param value the value to set the attribute autocompletion to. # - # source://reline/lib/reline/config.rb#29 + # source://reline//lib/reline/config.rb#29 def autocompletion=(_arg0); end - # source://reline/lib/reline/config.rb#314 + # source://reline//lib/reline/config.rb#314 def bind_key(key, value); end - # source://reline/lib/reline/config.rb#247 + # source://reline//lib/reline/config.rb#247 def bind_variable(name, value, raw_value); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def completion_ignore_case; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def completion_ignore_case=(_arg0); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def convert_meta; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def convert_meta=(_arg0); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def disable_completion; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def disable_completion=(_arg0); end - # source://reline/lib/reline/config.rb#72 + # source://reline//lib/reline/config.rb#72 def editing_mode; end - # source://reline/lib/reline/config.rb#76 + # source://reline//lib/reline/config.rb#76 def editing_mode=(val); end # @return [Boolean] # - # source://reline/lib/reline/config.rb#80 + # source://reline//lib/reline/config.rb#80 def editing_mode_is?(*val); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def emacs_mode_string; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def emacs_mode_string=(_arg0); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def enable_bracketed_paste; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def enable_bracketed_paste=(_arg0); end - # source://reline/lib/reline/config.rb#212 + # source://reline//lib/reline/config.rb#212 def handle_directive(directive, file, no, if_stack); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def history_size; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def history_size=(_arg0); end - # source://reline/lib/reline/config.rb#92 + # source://reline//lib/reline/config.rb#92 def inputrc_path; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def isearch_terminators; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def isearch_terminators=(_arg0); end - # source://reline/lib/reline/config.rb#142 + # source://reline//lib/reline/config.rb#142 def key_bindings; end - # source://reline/lib/reline/config.rb#333 + # source://reline//lib/reline/config.rb#333 def key_notation_to_code(notation); end - # source://reline/lib/reline/config.rb#84 + # source://reline//lib/reline/config.rb#84 def keymap; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def keyseq_timeout; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def keyseq_timeout=(_arg0); end # @return [Boolean] # - # source://reline/lib/reline/config.rb#88 + # source://reline//lib/reline/config.rb#88 def loaded?; end - # source://reline/lib/reline/config.rb#319 + # source://reline//lib/reline/config.rb#319 def parse_key_binding(key, func_name); end - # source://reline/lib/reline/config.rb#359 + # source://reline//lib/reline/config.rb#359 def parse_keyseq(str); end - # source://reline/lib/reline/config.rb#122 + # source://reline//lib/reline/config.rb#122 def read(file = T.unsafe(nil)); end - # source://reline/lib/reline/config.rb#166 + # source://reline//lib/reline/config.rb#166 def read_lines(lines, file = T.unsafe(nil)); end - # source://reline/lib/reline/config.rb#365 + # source://reline//lib/reline/config.rb#365 def reload; end - # source://reline/lib/reline/config.rb#35 + # source://reline//lib/reline/config.rb#35 def reset; end - # source://reline/lib/reline/config.rb#154 + # source://reline//lib/reline/config.rb#154 def reset_oneshot_key_bindings; end - # source://reline/lib/reline/config.rb#42 + # source://reline//lib/reline/config.rb#42 def reset_variables; end - # source://reline/lib/reline/config.rb#309 + # source://reline//lib/reline/config.rb#309 def retrieve_string(str); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def show_all_if_ambiguous; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def show_all_if_ambiguous=(_arg0); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def show_mode_in_prompt; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def show_mode_in_prompt=(_arg0); end # Returns the value of attribute test_mode. # - # source://reline/lib/reline/config.rb#2 + # source://reline//lib/reline/config.rb#2 def test_mode; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def vi_cmd_mode_string; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def vi_cmd_mode_string=(_arg0); end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def vi_ins_mode_string; end - # source://reline/lib/reline/config.rb#26 + # source://reline//lib/reline/config.rb#26 def vi_ins_mode_string=(_arg0); end private - # source://reline/lib/reline/config.rb#118 + # source://reline//lib/reline/config.rb#118 def default_inputrc_path; end # @return [Boolean] # - # source://reline/lib/reline/config.rb#370 + # source://reline//lib/reline/config.rb#370 def seven_bit_encoding?(encoding); end end -# source://reline/lib/reline/config.rb#6 +# source://reline//lib/reline/config.rb#6 class Reline::Config::InvalidInputrc < ::RuntimeError # Returns the value of attribute file. # - # source://reline/lib/reline/config.rb#7 + # source://reline//lib/reline/config.rb#7 def file; end # Sets the attribute file # # @param value the value to set the attribute file to. # - # source://reline/lib/reline/config.rb#7 + # source://reline//lib/reline/config.rb#7 def file=(_arg0); end # Returns the value of attribute lineno. # - # source://reline/lib/reline/config.rb#7 + # source://reline//lib/reline/config.rb#7 def lineno; end # Sets the attribute lineno # # @param value the value to set the attribute lineno to. # - # source://reline/lib/reline/config.rb#7 + # source://reline//lib/reline/config.rb#7 def lineno=(_arg0); end end -# source://reline/lib/reline/config.rb#4 +# source://reline//lib/reline/config.rb#4 Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://reline/lib/reline/config.rb#10 +# source://reline//lib/reline/config.rb#10 Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/config.rb#24 +# source://reline//lib/reline/config.rb#24 Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline.rb#40 +# source://reline//lib/reline.rb#40 class Reline::Core extend ::Forwardable @@ -392,217 +556,223 @@ class Reline::Core # @yield [_self] # @yieldparam _self [Reline::Core] the object that the method was called on # - # source://reline/lib/reline.rb#68 + # source://reline//lib/reline.rb#68 def initialize; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#162 + # source://reline//lib/reline.rb#162 def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end - # source://reline/lib/reline.rb#409 + # source://reline//lib/reline.rb#409 def ambiguous_width; end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def auto_indent_proc; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#147 + # source://reline//lib/reline.rb#147 def auto_indent_proc=(p); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#64 + def autocompletion(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#64 + def autocompletion=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#55 def basic_quote_characters; end - # source://reline/lib/reline.rb#104 + # source://reline//lib/reline.rb#104 def basic_quote_characters=(v); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def basic_word_break_characters; end - # source://reline/lib/reline.rb#96 + # source://reline//lib/reline.rb#96 def basic_word_break_characters=(v); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def completer_quote_characters; end - # source://reline/lib/reline.rb#108 + # source://reline//lib/reline.rb#108 def completer_quote_characters=(v); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def completer_word_break_characters; end - # source://reline/lib/reline.rb#100 + # source://reline//lib/reline.rb#100 def completer_word_break_characters=(v); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def completion_append_character; end - # source://reline/lib/reline.rb#84 + # source://reline//lib/reline.rb#84 def completion_append_character=(val); end - # source://reline/lib/reline.rb#124 + # source://reline//lib/reline.rb#124 def completion_case_fold; end - # source://reline/lib/reline.rb#120 + # source://reline//lib/reline.rb#120 def completion_case_fold=(v); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def completion_proc; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#132 + # source://reline//lib/reline.rb#132 def completion_proc=(p); end - # source://reline/lib/reline.rb#128 + # source://reline//lib/reline.rb#128 def completion_quote_character; end # Returns the value of attribute config. # - # source://reline/lib/reline.rb#57 + # source://reline//lib/reline.rb#57 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://reline/lib/reline.rb#57 + # source://reline//lib/reline.rb#57 def config=(_arg0); end - # source://reline/lib/reline.rb#172 + # source://reline//lib/reline.rb#172 def dialog_proc(name_sym); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def dig_perfect_match_proc; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#156 + # source://reline//lib/reline.rb#156 def dig_perfect_match_proc=(p); end - # source://reline/lib/reline.rb#194 + # source://reline//lib/reline.rb#194 def emacs_editing_mode; end # @return [Boolean] # - # source://reline/lib/reline.rb#203 + # source://reline//lib/reline.rb#203 def emacs_editing_mode?; end - # source://reline/lib/reline.rb#80 + # source://reline//lib/reline.rb#80 def encoding; end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def filename_quote_characters; end - # source://reline/lib/reline.rb#112 + # source://reline//lib/reline.rb#112 def filename_quote_characters=(v); end - # source://reline/lib/reline.rb#207 + # source://reline//lib/reline.rb#207 def get_screen_size; end # @raise [TypeError] # - # source://reline/lib/reline.rb#176 + # source://reline//lib/reline.rb#176 def input=(val); end - # source://reline/lib/reline.rb#76 + # source://reline//lib/reline.rb#76 def io_gate; end # Returns the value of attribute key_stroke. # - # source://reline/lib/reline.rb#58 + # source://reline//lib/reline.rb#58 def key_stroke; end # Sets the attribute key_stroke # # @param value the value to set the attribute key_stroke to. # - # source://reline/lib/reline.rb#58 + # source://reline//lib/reline.rb#58 def key_stroke=(_arg0); end # Returns the value of attribute last_incremental_search. # - # source://reline/lib/reline.rb#60 + # source://reline//lib/reline.rb#60 def last_incremental_search; end # Sets the attribute last_incremental_search # # @param value the value to set the attribute last_incremental_search to. # - # source://reline/lib/reline.rb#60 + # source://reline//lib/reline.rb#60 def last_incremental_search=(_arg0); end # Returns the value of attribute line_editor. # - # source://reline/lib/reline.rb#59 + # source://reline//lib/reline.rb#59 def line_editor; end # Sets the attribute line_editor # # @param value the value to set the attribute line_editor to. # - # source://reline/lib/reline.rb#59 + # source://reline//lib/reline.rb#59 def line_editor=(_arg0); end # Returns the value of attribute output. # - # source://reline/lib/reline.rb#61 + # source://reline//lib/reline.rb#61 def output; end # @raise [TypeError] # - # source://reline/lib/reline.rb#183 + # source://reline//lib/reline.rb#183 def output=(val); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def output_modifier_proc; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#137 + # source://reline//lib/reline.rb#137 def output_modifier_proc=(p); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def pre_input_hook; end - # source://reline/lib/reline.rb#152 + # source://reline//lib/reline.rb#152 def pre_input_hook=(p); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def prompt_proc; end # @raise [ArgumentError] # - # source://reline/lib/reline.rb#142 + # source://reline//lib/reline.rb#142 def prompt_proc=(p); end - # source://reline/lib/reline.rb#276 + # source://reline//lib/reline.rb#276 def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end - # source://reline/lib/reline.rb#250 + # source://reline//lib/reline.rb#250 def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end - # source://reline/lib/reline.rb#55 + # source://reline//lib/reline.rb#55 def special_prefixes; end - # source://reline/lib/reline.rb#116 + # source://reline//lib/reline.rb#116 def special_prefixes=(v); end - # source://reline/lib/reline.rb#189 + # source://reline//lib/reline.rb#189 def vi_editing_mode; end # @return [Boolean] # - # source://reline/lib/reline.rb#199 + # source://reline//lib/reline.rb#199 def vi_editing_mode?; end private - # source://reline/lib/reline.rb#293 + # source://reline//lib/reline.rb#293 def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end - # source://reline/lib/reline.rb#414 + # source://reline//lib/reline.rb#414 def may_req_ambiguous_char_width; end # GNU Readline watis for "keyseq-timeout" milliseconds when the input is @@ -612,876 +782,1181 @@ class Reline::Core # `ESC` is ambiguous because it can be a standalone ESC (matched) or part of # `ESC char` or part of CSI sequence (matching). # - # source://reline/lib/reline.rb#379 + # source://reline//lib/reline.rb#379 def read_io(keyseq_timeout, &block); end end -# source://reline/lib/reline.rb#41 +# source://reline//lib/reline.rb#41 Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline.rb#248 +# source://reline//lib/reline.rb#161 +class Reline::Core::DialogProc < ::Struct + # Returns the value of attribute context + # + # @return [Object] the current value of context + # + # source://reline//lib/reline.rb#161 + def context; end + + # Sets the attribute context + # + # @param value [Object] the value to set the attribute context to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#161 + def context=(_); end + + # Returns the value of attribute dialog_proc + # + # @return [Object] the current value of dialog_proc + # + # source://reline//lib/reline.rb#161 + def dialog_proc; end + + # Sets the attribute dialog_proc + # + # @param value [Object] the value to set the attribute dialog_proc to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#161 + def dialog_proc=(_); end + + class << self + # source://reline//lib/reline.rb#161 + def [](*_arg0); end + + # source://reline//lib/reline.rb#161 + def inspect; end + + # source://reline//lib/reline.rb#161 + def keyword_init?; end + + # source://reline//lib/reline.rb#161 + def members; end + + # source://reline//lib/reline.rb#161 + def new(*_arg0); end + end +end + +# source://reline//lib/reline.rb#28 +class Reline::CursorPos < ::Struct + # Returns the value of attribute x + # + # @return [Object] the current value of x + # + # source://reline//lib/reline.rb#28 + def x; end + + # Sets the attribute x + # + # @param value [Object] the value to set the attribute x to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def x=(_); end + + # Returns the value of attribute y + # + # @return [Object] the current value of y + # + # source://reline//lib/reline.rb#28 + def y; end + + # Sets the attribute y + # + # @param value [Object] the value to set the attribute y to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def y=(_); end + + class << self + # source://reline//lib/reline.rb#28 + def [](*_arg0); end + + # source://reline//lib/reline.rb#28 + def inspect; end + + # source://reline//lib/reline.rb#28 + def keyword_init?; end + + # source://reline//lib/reline.rb#28 + def members; end + + # source://reline//lib/reline.rb#28 + def new(*_arg0); end + end +end + +# source://reline//lib/reline.rb#248 Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline.rb#211 +# source://reline//lib/reline.rb#211 Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc) -# source://reline/lib/reline/io/dumb.rb#3 +# source://reline//lib/reline.rb#29 +class Reline::DialogRenderInfo < ::Struct + # Returns the value of attribute bg_color + # + # @return [Object] the current value of bg_color + # + # source://reline//lib/reline.rb#29 + def bg_color; end + + # Sets the attribute bg_color + # + # @param value [Object] the value to set the attribute bg_color to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def bg_color=(_); end + + # Returns the value of attribute contents + # + # @return [Object] the current value of contents + # + # source://reline//lib/reline.rb#29 + def contents; end + + # Sets the attribute contents + # + # @param value [Object] the value to set the attribute contents to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def contents=(_); end + + # Returns the value of attribute face + # + # @return [Object] the current value of face + # + # source://reline//lib/reline.rb#29 + def face; end + + # Sets the attribute face + # + # @param value [Object] the value to set the attribute face to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def face=(_); end + + # Returns the value of attribute height + # + # @return [Object] the current value of height + # + # source://reline//lib/reline.rb#29 + def height; end + + # Sets the attribute height + # + # @param value [Object] the value to set the attribute height to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def height=(_); end + + # Returns the value of attribute pos + # + # @return [Object] the current value of pos + # + # source://reline//lib/reline.rb#29 + def pos; end + + # Sets the attribute pos + # + # @param value [Object] the value to set the attribute pos to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def pos=(_); end + + # Returns the value of attribute scrollbar + # + # @return [Object] the current value of scrollbar + # + # source://reline//lib/reline.rb#29 + def scrollbar; end + + # Sets the attribute scrollbar + # + # @param value [Object] the value to set the attribute scrollbar to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def scrollbar=(_); end + + # Returns the value of attribute width + # + # @return [Object] the current value of width + # + # source://reline//lib/reline.rb#29 + def width; end + + # Sets the attribute width + # + # @param value [Object] the value to set the attribute width to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#29 + def width=(_); end + + class << self + # source://reline//lib/reline.rb#29 + def [](*_arg0); end + + # source://reline//lib/reline.rb#29 + def inspect; end + + # source://reline//lib/reline.rb#29 + def keyword_init?; end + + # source://reline//lib/reline.rb#29 + def members; end + + # source://reline//lib/reline.rb#29 + def new(*_arg0); end + end +end + +# source://reline//lib/reline/io/dumb.rb#3 class Reline::Dumb < ::Reline::IO # @return [Dumb] a new instance of Dumb # - # source://reline/lib/reline/io/dumb.rb#8 + # source://reline//lib/reline/io/dumb.rb#8 def initialize(encoding: T.unsafe(nil)); end - # source://reline/lib/reline/io/dumb.rb#49 + # source://reline//lib/reline/io/dumb.rb#49 def buffered_output; end - # source://reline/lib/reline/io/dumb.rb#101 + # source://reline//lib/reline/io/dumb.rb#101 def clear_screen; end - # source://reline/lib/reline/io/dumb.rb#76 + # source://reline//lib/reline/io/dumb.rb#76 def cursor_pos; end - # source://reline/lib/reline/io/dumb.rb#118 + # source://reline//lib/reline/io/dumb.rb#118 def deprep(otio); end # @return [Boolean] # - # source://reline/lib/reline/io/dumb.rb#17 + # source://reline//lib/reline/io/dumb.rb#17 def dumb?; end - # source://reline/lib/reline/io/dumb.rb#21 + # source://reline//lib/reline/io/dumb.rb#21 def encoding; end - # source://reline/lib/reline/io/dumb.rb#95 + # source://reline//lib/reline/io/dumb.rb#95 def erase_after_cursor; end - # source://reline/lib/reline/io/dumb.rb#72 + # source://reline//lib/reline/io/dumb.rb#72 def get_screen_size; end - # source://reline/lib/reline/io/dumb.rb#53 + # source://reline//lib/reline/io/dumb.rb#53 def getc(_timeout_second); end - # source://reline/lib/reline/io/dumb.rb#80 + # source://reline//lib/reline/io/dumb.rb#80 def hide_cursor; end # @return [Boolean] # - # source://reline/lib/reline/io/dumb.rb#111 + # source://reline//lib/reline/io/dumb.rb#111 def in_pasting?; end - # source://reline/lib/reline/io/dumb.rb#37 + # source://reline//lib/reline/io/dumb.rb#37 def input=(val); end - # source://reline/lib/reline/io/dumb.rb#86 + # source://reline//lib/reline/io/dumb.rb#86 def move_cursor_column(val); end - # source://reline/lib/reline/io/dumb.rb#92 + # source://reline//lib/reline/io/dumb.rb#92 def move_cursor_down(val); end - # source://reline/lib/reline/io/dumb.rb#89 + # source://reline//lib/reline/io/dumb.rb#89 def move_cursor_up(val); end # Sets the attribute output # # @param value the value to set the attribute output to. # - # source://reline/lib/reline/io/dumb.rb#6 + # source://reline//lib/reline/io/dumb.rb#6 def output=(_arg0); end - # source://reline/lib/reline/io/dumb.rb#115 + # source://reline//lib/reline/io/dumb.rb#115 def prep; end - # source://reline/lib/reline/io/dumb.rb#98 + # source://reline//lib/reline/io/dumb.rb#98 def scroll_down(val); end - # source://reline/lib/reline/io/dumb.rb#34 + # source://reline//lib/reline/io/dumb.rb#34 def set_default_key_bindings(_); end - # source://reline/lib/reline/io/dumb.rb#104 + # source://reline//lib/reline/io/dumb.rb#104 def set_screen_size(rows, columns); end - # source://reline/lib/reline/io/dumb.rb#108 + # source://reline//lib/reline/io/dumb.rb#108 def set_winch_handler(&handler); end - # source://reline/lib/reline/io/dumb.rb#83 + # source://reline//lib/reline/io/dumb.rb#83 def show_cursor; end - # source://reline/lib/reline/io/dumb.rb#68 + # source://reline//lib/reline/io/dumb.rb#68 def ungetc(c); end - # source://reline/lib/reline/io/dumb.rb#41 + # source://reline//lib/reline/io/dumb.rb#41 def with_raw_input; end - # source://reline/lib/reline/io/dumb.rb#45 + # source://reline//lib/reline/io/dumb.rb#45 def write(string); end end # Do not send color reset sequence # -# source://reline/lib/reline/io/dumb.rb#4 +# source://reline//lib/reline/io/dumb.rb#4 Reline::Dumb::RESET_COLOR = T.let(T.unsafe(nil), String) # NOTE: For making compatible with the rb-readline gem # -# source://reline/lib/reline.rb#15 +# source://reline//lib/reline.rb#15 Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) -# source://reline/lib/reline/face.rb#3 +# source://reline//lib/reline/face.rb#3 class Reline::Face class << self - # source://reline/lib/reline/face.rb#169 + # source://reline//lib/reline/face.rb#169 def [](name); end - # source://reline/lib/reline/face.rb#173 + # source://reline//lib/reline/face.rb#173 def config(name, &block); end - # source://reline/lib/reline/face.rb#178 + # source://reline//lib/reline/face.rb#178 def configs; end - # source://reline/lib/reline/face.rb#164 + # source://reline//lib/reline/face.rb#164 def force_truecolor; end - # source://reline/lib/reline/face.rb#182 + # source://reline//lib/reline/face.rb#182 def load_initial_configs; end - # source://reline/lib/reline/face.rb#195 + # source://reline//lib/reline/face.rb#195 def reset_to_initial_configs; end # @return [Boolean] # - # source://reline/lib/reline/face.rb#160 + # source://reline//lib/reline/face.rb#160 def truecolor?; end end end -# source://reline/lib/reline/face.rb#58 +# source://reline//lib/reline/face.rb#58 class Reline::Face::Config # @return [Config] a new instance of Config # - # source://reline/lib/reline/face.rb#62 + # source://reline//lib/reline/face.rb#62 def initialize(name, &block); end - # source://reline/lib/reline/face.rb#84 + # source://reline//lib/reline/face.rb#84 def [](name); end - # source://reline/lib/reline/face.rb#72 + # source://reline//lib/reline/face.rb#72 def define(name, **values); end # Returns the value of attribute definition. # - # source://reline/lib/reline/face.rb#70 + # source://reline//lib/reline/face.rb#70 def definition; end - # source://reline/lib/reline/face.rb#77 + # source://reline//lib/reline/face.rb#77 def reconfigure; end private - # source://reline/lib/reline/face.rb#126 + # source://reline//lib/reline/face.rb#126 def format_to_sgr(ordered_values); end # @return [Boolean] # - # source://reline/lib/reline/face.rb#153 + # source://reline//lib/reline/face.rb#153 def rgb_expression?(color); end - # source://reline/lib/reline/face.rb#90 + # source://reline//lib/reline/face.rb#90 def sgr_rgb(key, value); end - # source://reline/lib/reline/face.rb#108 + # source://reline//lib/reline/face.rb#108 def sgr_rgb_256color(key, value); end - # source://reline/lib/reline/face.rb#99 + # source://reline//lib/reline/face.rb#99 def sgr_rgb_truecolor(key, value); end end -# source://reline/lib/reline/face.rb#59 +# source://reline//lib/reline/face.rb#59 Reline::Face::Config::ESSENTIAL_DEFINE_NAMES = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/face.rb#60 +# source://reline//lib/reline/face.rb#60 Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String) -# source://reline/lib/reline/face.rb#4 +# source://reline//lib/reline/face.rb#4 Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash) -# source://reline/lib/reline.rb#519 +# source://reline//lib/reline.rb#519 Reline::HISTORY = T.let(T.unsafe(nil), Reline::History) -# source://reline/lib/reline/history.rb#1 +# source://reline//lib/reline/history.rb#1 class Reline::History < ::Array # @return [History] a new instance of History # - # source://reline/lib/reline/history.rb#2 + # source://reline//lib/reline/history.rb#2 def initialize(config); end - # source://reline/lib/reline/history.rb#52 + # source://reline//lib/reline/history.rb#52 def <<(val); end - # source://reline/lib/reline/history.rb#15 + # source://reline//lib/reline/history.rb#15 def [](index); end - # source://reline/lib/reline/history.rb#20 + # source://reline//lib/reline/history.rb#20 def []=(index, val); end - # source://reline/lib/reline/history.rb#25 + # source://reline//lib/reline/history.rb#25 def concat(*val); end - # source://reline/lib/reline/history.rb#10 + # source://reline//lib/reline/history.rb#10 def delete_at(index); end - # source://reline/lib/reline/history.rb#31 + # source://reline//lib/reline/history.rb#31 def push(*val); end - # source://reline/lib/reline/history.rb#6 + # source://reline//lib/reline/history.rb#6 def to_s; end private # @raise [IndexError] # - # source://reline/lib/reline/history.rb#62 + # source://reline//lib/reline/history.rb#62 def check_index(index); end end -# source://reline/lib/reline/io.rb#3 +# source://reline//lib/reline/io.rb#3 class Reline::IO # @return [Boolean] # - # source://reline/lib/reline/io.rb#27 + # source://reline//lib/reline/io.rb#27 def dumb?; end # Read a single encoding valid character from the input. # - # source://reline/lib/reline/io.rb#40 + # source://reline//lib/reline/io.rb#40 def read_single_char(keyseq_timeout); end - # source://reline/lib/reline/io.rb#35 + # source://reline//lib/reline/io.rb#35 def reset_color_sequence; end # @return [Boolean] # - # source://reline/lib/reline/io.rb#31 + # source://reline//lib/reline/io.rb#31 def win?; end class << self - # source://reline/lib/reline/io.rb#6 + # source://reline//lib/reline/io.rb#6 def decide_io_gate; end end end -# source://reline/lib/reline/io.rb#4 -Reline::IO::RESET_COLOR = T.let(T.unsafe(nil), String) - -# source://reline/lib/reline.rb#512 +# source://reline//lib/reline.rb#512 Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI) # EOF key: { char: nil, method_symbol: nil } # Other key: { char: String, method_symbol: Symbol } # -# source://reline/lib/reline.rb#22 +# source://reline//lib/reline.rb#22 class Reline::Key < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://reline//lib/reline.rb#22 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#22 def char=(_); end # For dialog_proc `key.match?(dialog.name)` # # @return [Boolean] # - # source://reline/lib/reline.rb#24 + # source://reline//lib/reline.rb#24 def match?(sym); end # Returns the value of attribute method_symbol # # @return [Object] the current value of method_symbol + # + # source://reline//lib/reline.rb#22 def method_symbol; end # Sets the attribute method_symbol # # @param value [Object] the value to set the attribute method_symbol to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#22 def method_symbol=(_); end # Returns the value of attribute unused_boolean # # @return [Object] the current value of unused_boolean + # + # source://reline//lib/reline.rb#22 def unused_boolean; end # Sets the attribute unused_boolean # # @param value [Object] the value to set the attribute unused_boolean to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#22 def unused_boolean=(_); end class << self + # source://reline//lib/reline.rb#22 def [](*_arg0); end + + # source://reline//lib/reline.rb#22 def inspect; end + + # source://reline//lib/reline.rb#22 def keyword_init?; end + + # source://reline//lib/reline.rb#22 def members; end + + # source://reline//lib/reline.rb#22 def new(*_arg0); end end end -# source://reline/lib/reline/key_actor/base.rb#1 +# source://reline//lib/reline/key_actor/base.rb#1 class Reline::KeyActor::Base # @return [Base] a new instance of Base # - # source://reline/lib/reline/key_actor/base.rb#2 + # source://reline//lib/reline/key_actor/base.rb#2 def initialize(mappings = T.unsafe(nil)); end - # source://reline/lib/reline/key_actor/base.rb#18 + # source://reline//lib/reline/key_actor/base.rb#18 def add(key, func); end - # source://reline/lib/reline/key_actor/base.rb#8 + # source://reline//lib/reline/key_actor/base.rb#8 def add_mappings(mappings); end - # source://reline/lib/reline/key_actor/base.rb#33 + # source://reline//lib/reline/key_actor/base.rb#33 def clear; end - # source://reline/lib/reline/key_actor/base.rb#29 + # source://reline//lib/reline/key_actor/base.rb#29 def get(key); end # @return [Boolean] # - # source://reline/lib/reline/key_actor/base.rb#25 + # source://reline//lib/reline/key_actor/base.rb#25 def matching?(key); end end -# source://reline/lib/reline/key_actor/composite.rb#1 +# source://reline//lib/reline/key_actor/composite.rb#1 class Reline::KeyActor::Composite # @return [Composite] a new instance of Composite # - # source://reline/lib/reline/key_actor/composite.rb#2 + # source://reline//lib/reline/key_actor/composite.rb#2 def initialize(key_actors); end - # source://reline/lib/reline/key_actor/composite.rb#10 + # source://reline//lib/reline/key_actor/composite.rb#10 def get(key); end # @return [Boolean] # - # source://reline/lib/reline/key_actor/composite.rb#6 + # source://reline//lib/reline/key_actor/composite.rb#6 def matching?(key); end end -# source://reline/lib/reline/key_actor/emacs.rb#2 +# source://reline//lib/reline/key_actor/emacs.rb#2 Reline::KeyActor::EMACS_MAPPING = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/key_actor/vi_command.rb#2 +# source://reline//lib/reline/key_actor/vi_command.rb#2 Reline::KeyActor::VI_COMMAND_MAPPING = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/key_actor/vi_insert.rb#2 +# source://reline//lib/reline/key_actor/vi_insert.rb#2 Reline::KeyActor::VI_INSERT_MAPPING = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/key_stroke.rb#1 +# source://reline//lib/reline/key_stroke.rb#1 class Reline::KeyStroke # @return [KeyStroke] a new instance of KeyStroke # - # source://reline/lib/reline/key_stroke.rb#8 + # source://reline//lib/reline/key_stroke.rb#8 def initialize(config, encoding); end # Returns the value of attribute encoding. # - # source://reline/lib/reline/key_stroke.rb#6 + # source://reline//lib/reline/key_stroke.rb#6 def encoding; end # Sets the attribute encoding # # @param value the value to set the attribute encoding to. # - # source://reline/lib/reline/key_stroke.rb#6 + # source://reline//lib/reline/key_stroke.rb#6 def encoding=(_arg0); end - # source://reline/lib/reline/key_stroke.rb#44 + # source://reline//lib/reline/key_stroke.rb#44 def expand(input); end - # source://reline/lib/reline/key_stroke.rb#22 + # source://reline//lib/reline/key_stroke.rb#22 def match_status(input); end private - # source://reline/lib/reline/key_stroke.rb#116 + # source://reline//lib/reline/key_stroke.rb#116 def key_mapping; end # returns match status of CSI/SS3 sequence and matched length # - # source://reline/lib/reline/key_stroke.rb#80 + # source://reline//lib/reline/key_stroke.rb#80 def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end end -# source://reline/lib/reline/key_stroke.rb#4 +# source://reline//lib/reline/key_stroke.rb#4 Reline::KeyStroke::CSI_INTERMEDIATE_BYTES_RANGE = T.let(T.unsafe(nil), Range) -# source://reline/lib/reline/key_stroke.rb#3 +# source://reline//lib/reline/key_stroke.rb#3 Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range) -# source://reline/lib/reline/key_stroke.rb#2 +# source://reline//lib/reline/key_stroke.rb#2 Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer) # Input partially matches to a key sequence # -# source://reline/lib/reline/key_stroke.rb#16 +# source://reline//lib/reline/key_stroke.rb#16 Reline::KeyStroke::MATCHED = T.let(T.unsafe(nil), Symbol) # Input exactly matches to a key sequence # -# source://reline/lib/reline/key_stroke.rb#14 +# source://reline//lib/reline/key_stroke.rb#14 Reline::KeyStroke::MATCHING = T.let(T.unsafe(nil), Symbol) # Input matches to a key sequence and the key sequence is a prefix of another key sequence # -# source://reline/lib/reline/key_stroke.rb#18 +# source://reline//lib/reline/key_stroke.rb#18 Reline::KeyStroke::MATCHING_MATCHED = T.let(T.unsafe(nil), Symbol) # Input does not match to any key sequence # -# source://reline/lib/reline/key_stroke.rb#20 +# source://reline//lib/reline/key_stroke.rb#20 Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/kill_ring.rb#1 +# source://reline//lib/reline/kill_ring.rb#1 class Reline::KillRing include ::Enumerable # @return [KillRing] a new instance of KillRing # - # source://reline/lib/reline/kill_ring.rb#61 + # source://reline//lib/reline/kill_ring.rb#61 def initialize(max = T.unsafe(nil)); end - # source://reline/lib/reline/kill_ring.rb#68 + # source://reline//lib/reline/kill_ring.rb#68 def append(string, before_p = T.unsafe(nil)); end - # source://reline/lib/reline/kill_ring.rb#116 + # source://reline//lib/reline/kill_ring.rb#116 def each; end - # source://reline/lib/reline/kill_ring.rb#83 + # source://reline//lib/reline/kill_ring.rb#83 def process; end - # source://reline/lib/reline/kill_ring.rb#96 + # source://reline//lib/reline/kill_ring.rb#96 def yank; end - # source://reline/lib/reline/kill_ring.rb#106 + # source://reline//lib/reline/kill_ring.rb#106 def yank_pop; end end -# source://reline/lib/reline/kill_ring.rb#21 +# source://reline//lib/reline/kill_ring.rb#21 class Reline::KillRing::RingBuffer # @return [RingBuffer] a new instance of RingBuffer # - # source://reline/lib/reline/kill_ring.rb#25 + # source://reline//lib/reline/kill_ring.rb#25 def initialize(max = T.unsafe(nil)); end - # source://reline/lib/reline/kill_ring.rb#31 + # source://reline//lib/reline/kill_ring.rb#31 def <<(point); end # @return [Boolean] # - # source://reline/lib/reline/kill_ring.rb#56 + # source://reline//lib/reline/kill_ring.rb#56 def empty?; end # Returns the value of attribute head. # - # source://reline/lib/reline/kill_ring.rb#23 + # source://reline//lib/reline/kill_ring.rb#23 def head; end # Returns the value of attribute size. # - # source://reline/lib/reline/kill_ring.rb#22 + # source://reline//lib/reline/kill_ring.rb#22 def size; end end -# source://reline/lib/reline/kill_ring.rb#11 +# source://reline//lib/reline/kill_ring.rb#11 class Reline::KillRing::RingPoint < ::Struct # @return [RingPoint] a new instance of RingPoint # - # source://reline/lib/reline/kill_ring.rb#12 + # source://reline//lib/reline/kill_ring.rb#12 def initialize(str); end - # source://reline/lib/reline/kill_ring.rb#16 + # source://reline//lib/reline/kill_ring.rb#16 def ==(other); end + + # Returns the value of attribute backward + # + # @return [Object] the current value of backward + # + # source://reline//lib/reline/kill_ring.rb#11 + def backward; end + + # Sets the attribute backward + # + # @param value [Object] the value to set the attribute backward to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def backward=(_); end + + # Returns the value of attribute forward + # + # @return [Object] the current value of forward + # + # source://reline//lib/reline/kill_ring.rb#11 + def forward; end + + # Sets the attribute forward + # + # @param value [Object] the value to set the attribute forward to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def forward=(_); end + + # Returns the value of attribute str + # + # @return [Object] the current value of str + # + # source://reline//lib/reline/kill_ring.rb#11 + def str; end + + # Sets the attribute str + # + # @param value [Object] the value to set the attribute str to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def str=(_); end + + class << self + # source://reline//lib/reline/kill_ring.rb#11 + def [](*_arg0); end + + # source://reline//lib/reline/kill_ring.rb#11 + def inspect; end + + # source://reline//lib/reline/kill_ring.rb#11 + def keyword_init?; end + + # source://reline//lib/reline/kill_ring.rb#11 + def members; end + + # source://reline//lib/reline/kill_ring.rb#11 + def new(*_arg0); end + end end -# source://reline/lib/reline/kill_ring.rb#6 +# source://reline//lib/reline/kill_ring.rb#6 Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/kill_ring.rb#5 +# source://reline//lib/reline/kill_ring.rb#5 Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/kill_ring.rb#7 +# source://reline//lib/reline/kill_ring.rb#7 Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/kill_ring.rb#8 +# source://reline//lib/reline/kill_ring.rb#8 Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/line_editor.rb#6 +# source://reline//lib/reline/line_editor.rb#6 class Reline::LineEditor # @return [LineEditor] a new instance of LineEditor # - # source://reline/lib/reline/line_editor.rb#73 + # source://reline//lib/reline/line_editor.rb#73 def initialize(config); end - # source://reline/lib/reline/line_editor.rb#692 + # source://reline//lib/reline/line_editor.rb#692 def add_dialog_proc(name, p, context = T.unsafe(nil)); end # Returns the value of attribute auto_indent_proc. # - # source://reline/lib/reline/line_editor.rb#14 + # source://reline//lib/reline/line_editor.rb#14 def auto_indent_proc; end # Sets the attribute auto_indent_proc # # @param value the value to set the attribute auto_indent_proc to. # - # source://reline/lib/reline/line_editor.rb#14 + # source://reline//lib/reline/line_editor.rb#14 def auto_indent_proc=(_arg0); end # TODO: Use "private alias_method" idiom after drop Ruby 2.5. # - # source://reline/lib/reline/line_editor.rb#8 + # source://reline//lib/reline/line_editor.rb#8 def byte_pointer; end - # source://reline/lib/reline/line_editor.rb#1282 + # source://reline//lib/reline/line_editor.rb#1282 def byte_pointer=(val); end - # source://reline/lib/reline/line_editor.rb#398 + # source://reline//lib/reline/line_editor.rb#398 def calculate_overlay_levels(overlay_levels); end - # source://reline/lib/reline/line_editor.rb#1122 + # source://reline//lib/reline/line_editor.rb#1122 def call_completion_proc(pre, target, post, quote); end - # source://reline/lib/reline/line_editor.rb#1129 + # source://reline//lib/reline/line_editor.rb#1129 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline/lib/reline/line_editor.rb#446 + # source://reline//lib/reline/line_editor.rb#446 def clear_dialogs; end # Returns the value of attribute completion_append_character. # - # source://reline/lib/reline/line_editor.rb#11 + # source://reline//lib/reline/line_editor.rb#11 def completion_append_character; end # Sets the attribute completion_append_character # # @param value the value to set the attribute completion_append_character to. # - # source://reline/lib/reline/line_editor.rb#11 + # source://reline//lib/reline/line_editor.rb#11 def completion_append_character=(_arg0); end # Returns the value of attribute completion_proc. # - # source://reline/lib/reline/line_editor.rb#10 + # source://reline//lib/reline/line_editor.rb#10 def completion_proc; end # Sets the attribute completion_proc # # @param value the value to set the attribute completion_proc to. # - # source://reline/lib/reline/line_editor.rb#10 + # source://reline//lib/reline/line_editor.rb#10 def completion_proc=(_arg0); end - # source://reline/lib/reline/line_editor.rb#1223 + # source://reline//lib/reline/line_editor.rb#1223 def confirm_multiline_termination; end # Returns the value of attribute confirm_multiline_termination_proc. # - # source://reline/lib/reline/line_editor.rb#9 + # source://reline//lib/reline/line_editor.rb#9 def confirm_multiline_termination_proc; end # Sets the attribute confirm_multiline_termination_proc # # @param value the value to set the attribute confirm_multiline_termination_proc to. # - # source://reline/lib/reline/line_editor.rb#9 + # source://reline//lib/reline/line_editor.rb#9 def confirm_multiline_termination_proc=(_arg0); end - # source://reline/lib/reline/line_editor.rb#304 + # source://reline//lib/reline/line_editor.rb#304 def current_byte_pointer_cursor; end - # source://reline/lib/reline/line_editor.rb#1172 + # source://reline//lib/reline/line_editor.rb#1172 def current_line; end - # source://reline/lib/reline/line_editor.rb#1248 + # source://reline//lib/reline/line_editor.rb#1248 def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#874 + # source://reline//lib/reline/line_editor.rb#874 def dialog_proc_scope_completion_journey_data; end # Returns the value of attribute dig_perfect_match_proc. # - # source://reline/lib/reline/line_editor.rb#15 + # source://reline//lib/reline/line_editor.rb#15 def dig_perfect_match_proc; end # Sets the attribute dig_perfect_match_proc # # @param value the value to set the attribute dig_perfect_match_proc to. # - # source://reline/lib/reline/line_editor.rb#15 + # source://reline//lib/reline/line_editor.rb#15 def dig_perfect_match_proc=(_arg0); end - # source://reline/lib/reline/line_editor.rb#801 + # source://reline//lib/reline/line_editor.rb#801 def editing_mode; end - # source://reline/lib/reline/line_editor.rb#84 + # source://reline//lib/reline/line_editor.rb#84 def encoding; end # @return [Boolean] # - # source://reline/lib/reline/line_editor.rb#220 + # source://reline//lib/reline/line_editor.rb#220 def eof?; end - # source://reline/lib/reline/line_editor.rb#216 + # source://reline//lib/reline/line_editor.rb#216 def finalize; end - # source://reline/lib/reline/line_editor.rb#1302 + # source://reline//lib/reline/line_editor.rb#1302 def finish; end # @return [Boolean] # - # source://reline/lib/reline/line_editor.rb#1298 + # source://reline//lib/reline/line_editor.rb#1298 def finished?; end - # source://reline/lib/reline/line_editor.rb#168 + # source://reline//lib/reline/line_editor.rb#168 def handle_signal; end - # source://reline/lib/reline/line_editor.rb#1043 + # source://reline//lib/reline/line_editor.rb#1043 def input_key(key); end - # source://reline/lib/reline/line_editor.rb#1228 + # source://reline//lib/reline/line_editor.rb#1228 def insert_multiline_text(text); end - # source://reline/lib/reline/line_editor.rb#1238 + # source://reline//lib/reline/line_editor.rb#1238 def insert_text(text); end - # source://reline/lib/reline/line_editor.rb#80 + # source://reline//lib/reline/line_editor.rb#80 def io_gate; end - # source://reline/lib/reline/line_editor.rb#1168 + # source://reline//lib/reline/line_editor.rb#1168 def line; end - # source://reline/lib/reline/line_editor.rb#351 + # source://reline//lib/reline/line_editor.rb#351 def modified_lines; end - # source://reline/lib/reline/line_editor.rb#273 + # source://reline//lib/reline/line_editor.rb#273 def multiline_off; end - # source://reline/lib/reline/line_editor.rb#269 + # source://reline//lib/reline/line_editor.rb#269 def multiline_on; end # Returns the value of attribute output_modifier_proc. # - # source://reline/lib/reline/line_editor.rb#12 + # source://reline//lib/reline/line_editor.rb#12 def output_modifier_proc; end # Sets the attribute output_modifier_proc # # @param value the value to set the attribute output_modifier_proc to. # - # source://reline/lib/reline/line_editor.rb#12 + # source://reline//lib/reline/line_editor.rb#12 def output_modifier_proc=(_arg0); end - # source://reline/lib/reline/line_editor.rb#473 + # source://reline//lib/reline/line_editor.rb#473 def print_nomultiline_prompt; end - # source://reline/lib/reline/line_editor.rb#357 + # source://reline//lib/reline/line_editor.rb#357 def prompt_list; end # Returns the value of attribute prompt_proc. # - # source://reline/lib/reline/line_editor.rb#13 + # source://reline//lib/reline/line_editor.rb#13 def prompt_proc; end # Sets the attribute prompt_proc # # @param value the value to set the attribute prompt_proc to. # - # source://reline/lib/reline/line_editor.rb#13 + # source://reline//lib/reline/line_editor.rb#13 def prompt_proc=(_arg0); end - # source://reline/lib/reline/line_editor.rb#1093 + # source://reline//lib/reline/line_editor.rb#1093 def push_input_lines; end - # source://reline/lib/reline/line_editor.rb#481 + # source://reline//lib/reline/line_editor.rb#481 def render; end - # source://reline/lib/reline/line_editor.rb#461 + # source://reline//lib/reline/line_editor.rb#461 def render_finished; end - # source://reline/lib/reline/line_editor.rb#406 + # source://reline//lib/reline/line_editor.rb#406 def render_line_differential(old_items, new_items); end - # source://reline/lib/reline/line_editor.rb#564 + # source://reline//lib/reline/line_editor.rb#564 def rerender; end - # source://reline/lib/reline/line_editor.rb#141 + # source://reline//lib/reline/line_editor.rb#141 def reset(prompt = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#261 + # source://reline//lib/reline/line_editor.rb#261 def reset_line; end - # source://reline/lib/reline/line_editor.rb#224 + # source://reline//lib/reline/line_editor.rb#224 def reset_variables(prompt = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#560 + # source://reline//lib/reline/line_editor.rb#560 def rest_height(wrapped_cursor_y); end - # source://reline/lib/reline/line_editor.rb#1187 + # source://reline//lib/reline/line_editor.rb#1187 def retrieve_completion_block; end - # source://reline/lib/reline/line_editor.rb#1089 + # source://reline//lib/reline/line_editor.rb#1089 def save_old_buffer; end - # source://reline/lib/reline/line_editor.rb#363 + # source://reline//lib/reline/line_editor.rb#363 def screen_height; end - # source://reline/lib/reline/line_editor.rb#371 + # source://reline//lib/reline/line_editor.rb#371 def screen_scroll_top; end - # source://reline/lib/reline/line_editor.rb#367 + # source://reline//lib/reline/line_editor.rb#367 def screen_width; end - # source://reline/lib/reline/line_editor.rb#1112 + # source://reline//lib/reline/line_editor.rb#1112 def scroll_into_view; end - # source://reline/lib/reline/line_editor.rb#1176 + # source://reline//lib/reline/line_editor.rb#1176 def set_current_line(line, byte_pointer = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#88 + # source://reline//lib/reline/line_editor.rb#88 def set_pasting_state(in_pasting); end - # source://reline/lib/reline/line_editor.rb#207 + # source://reline//lib/reline/line_editor.rb#207 def set_signal_handlers; end - # source://reline/lib/reline/line_editor.rb#1105 + # source://reline//lib/reline/line_editor.rb#1105 def trim_input_lines; end - # source://reline/lib/reline/line_editor.rb#1033 + # source://reline//lib/reline/line_editor.rb#1033 def update(key); end - # source://reline/lib/reline/line_editor.rb#453 + # source://reline//lib/reline/line_editor.rb#453 def update_dialogs(key = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#556 + # source://reline//lib/reline/line_editor.rb#556 def upper_space_height(wrapped_cursor_y); end - # source://reline/lib/reline/line_editor.rb#1290 + # source://reline//lib/reline/line_editor.rb#1290 def whole_buffer; end - # source://reline/lib/reline/line_editor.rb#1286 + # source://reline//lib/reline/line_editor.rb#1286 def whole_lines; end - # source://reline/lib/reline/line_editor.rb#343 + # source://reline//lib/reline/line_editor.rb#343 def with_cache(key, *deps); end - # source://reline/lib/reline/line_editor.rb#948 + # source://reline//lib/reline/line_editor.rb#948 def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end # Calculate cursor position in word wrapped content. # - # source://reline/lib/reline/line_editor.rb#437 + # source://reline//lib/reline/line_editor.rb#437 def wrapped_cursor_position; end - # source://reline/lib/reline/line_editor.rb#375 + # source://reline//lib/reline/line_editor.rb#375 def wrapped_prompt_and_input_lines; end private # @return [Boolean] # - # source://reline/lib/reline/line_editor.rb#938 + # source://reline//lib/reline/line_editor.rb#938 def argumentable?(method_obj); end - # source://reline/lib/reline/line_editor.rb#1443 + # source://reline//lib/reline/line_editor.rb#1454 def backward_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1712 + # source://reline//lib/reline/line_editor.rb#1726 def backward_delete_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1856 + # source://reline//lib/reline/line_editor.rb#1864 def backward_kill_word(key); end - # source://reline/lib/reline/line_editor.rb#1838 + # source://reline//lib/reline/line_editor.rb#1844 def backward_word(key); end - # source://reline/lib/reline/line_editor.rb#1460 + # source://reline//lib/reline/line_editor.rb#1463 def beginning_of_line(key); end # @return [Boolean] # - # source://reline/lib/reline/line_editor.rb#1294 + # source://reline//lib/reline/line_editor.rb#1294 def buffer_empty?; end - # source://reline/lib/reline/line_editor.rb#1313 + # source://reline//lib/reline/line_editor.rb#1313 def byteinsert(str, byte_pointer, other); end - # source://reline/lib/reline/line_editor.rb#1307 + # source://reline//lib/reline/line_editor.rb#1307 def byteslice!(str, byte_pointer, size); end - # source://reline/lib/reline/line_editor.rb#308 + # source://reline//lib/reline/line_editor.rb#308 def calculate_nearest_cursor(cursor); end - # source://reline/lib/reline/line_editor.rb#1320 + # source://reline//lib/reline/line_editor.rb#1320 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1896 + # source://reline//lib/reline/line_editor.rb#1904 def capitalize_word(key); end - # source://reline/lib/reline/line_editor.rb#95 + # source://reline//lib/reline/line_editor.rb#95 def check_mode_string; end - # source://reline/lib/reline/line_editor.rb#109 + # source://reline//lib/reline/line_editor.rb#109 def check_multiline_prompt(buffer, mode_string); end - # source://reline/lib/reline/line_editor.rb#968 + # source://reline//lib/reline/line_editor.rb#968 def cleanup_waiting; end - # source://reline/lib/reline/line_editor.rb#551 + # source://reline//lib/reline/line_editor.rb#551 def clear_rendered_screen_cache; end - # source://reline/lib/reline/line_editor.rb#1822 + # source://reline//lib/reline/line_editor.rb#1828 def clear_screen(key); end - # source://reline/lib/reline/line_editor.rb#1340 + # source://reline//lib/reline/line_editor.rb#1340 def complete(_key); end - # source://reline/lib/reline/line_editor.rb#1358 + # source://reline//lib/reline/line_editor.rb#1358 def completion_journey_move(direction); end - # source://reline/lib/reline/line_editor.rb#1374 + # source://reline//lib/reline/line_editor.rb#1374 def completion_journey_up(_key); end - # source://reline/lib/reline/line_editor.rb#1942 + # source://reline//lib/reline/line_editor.rb#1942 def copy_for_vi(text); end - # source://reline/lib/reline/line_editor.rb#1777 + # source://reline//lib/reline/line_editor.rb#1790 def delete_char(key); end - # source://reline/lib/reline/line_editor.rb#1792 + # source://reline//lib/reline/line_editor.rb#1804 def delete_char_or_list(key); end - # source://reline/lib/reline/line_editor.rb#703 + # source://reline//lib/reline/line_editor.rb#703 def dialog_range(dialog, dialog_y); end - # source://reline/lib/reline/line_editor.rb#1906 + # source://reline//lib/reline/line_editor.rb#1917 def downcase_word(key); end - # source://reline/lib/reline/line_editor.rb#2195 + # source://reline//lib/reline/line_editor.rb#2195 def ed_argument_digit(key); end - # source://reline/lib/reline/line_editor.rb#1822 + # source://reline//lib/reline/line_editor.rb#1822 def ed_clear_screen(key); end - # source://reline/lib/reline/line_editor.rb#2141 + # source://reline//lib/reline/line_editor.rb#2141 def ed_delete_next_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2053 + # source://reline//lib/reline/line_editor.rb#2053 def ed_delete_prev_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1856 + # source://reline//lib/reline/line_editor.rb#1856 def ed_delete_prev_word(key); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1498,7 +1973,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline/lib/reline/line_editor.rb#1401 + # source://reline//lib/reline/line_editor.rb#1416 def ed_digit(str); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1515,7 +1990,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline/lib/reline/line_editor.rb#1401 + # source://reline//lib/reline/line_editor.rb#1401 def ed_insert(str); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -1524,66 +1999,66 @@ class Reline::LineEditor # the line. With a negative numeric argument, kill backward # from the cursor to the beginning of the current line. # - # source://reline/lib/reline/line_editor.rb#1733 + # source://reline//lib/reline/line_editor.rb#1733 def ed_kill_line(key); end - # source://reline/lib/reline/line_editor.rb#1460 + # source://reline//lib/reline/line_editor.rb#1460 def ed_move_to_beg(key); end - # source://reline/lib/reline/line_editor.rb#1466 + # source://reline//lib/reline/line_editor.rb#1466 def ed_move_to_end(key); end - # source://reline/lib/reline/line_editor.rb#1683 + # source://reline//lib/reline/line_editor.rb#1683 def ed_newline(key); end - # source://reline/lib/reline/line_editor.rb#1430 + # source://reline//lib/reline/line_editor.rb#1430 def ed_next_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1666 + # source://reline//lib/reline/line_editor.rb#1666 def ed_next_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1443 + # source://reline//lib/reline/line_editor.rb#1443 def ed_prev_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1649 + # source://reline//lib/reline/line_editor.rb#1649 def ed_prev_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1838 + # source://reline//lib/reline/line_editor.rb#1838 def ed_prev_word(key); end - # source://reline/lib/reline/line_editor.rb#1612 + # source://reline//lib/reline/line_editor.rb#1612 def ed_search_next_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1597 + # source://reline//lib/reline/line_editor.rb#1597 def ed_search_prev_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1866 + # source://reline//lib/reline/line_editor.rb#1866 def ed_transpose_chars(key); end - # source://reline/lib/reline/line_editor.rb#1883 + # source://reline//lib/reline/line_editor.rb#1883 def ed_transpose_words(key); end # do nothing # - # source://reline/lib/reline/line_editor.rb#1380 + # source://reline//lib/reline/line_editor.rb#1380 def ed_unassigned(key); end - # source://reline/lib/reline/line_editor.rb#1896 + # source://reline//lib/reline/line_editor.rb#1896 def em_capitol_case(key); end - # source://reline/lib/reline/line_editor.rb#1777 + # source://reline//lib/reline/line_editor.rb#1777 def em_delete(key); end - # source://reline/lib/reline/line_editor.rb#1846 + # source://reline//lib/reline/line_editor.rb#1846 def em_delete_next_word(key); end - # source://reline/lib/reline/line_editor.rb#1792 + # source://reline//lib/reline/line_editor.rb#1792 def em_delete_or_list(key); end - # source://reline/lib/reline/line_editor.rb#1712 + # source://reline//lib/reline/line_editor.rb#1712 def em_delete_prev_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2336 + # source://reline//lib/reline/line_editor.rb#2336 def em_exchange_mark(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -1591,84 +2066,84 @@ class Reline::LineEditor # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the # current line, no matter where point is. # - # source://reline/lib/reline/line_editor.rb#1769 + # source://reline//lib/reline/line_editor.rb#1769 def em_kill_line(key); end - # source://reline/lib/reline/line_editor.rb#1932 + # source://reline//lib/reline/line_editor.rb#1932 def em_kill_region(key); end - # source://reline/lib/reline/line_editor.rb#1906 + # source://reline//lib/reline/line_editor.rb#1906 def em_lower_case(key); end - # source://reline/lib/reline/line_editor.rb#1830 + # source://reline//lib/reline/line_editor.rb#1830 def em_next_word(key); end - # source://reline/lib/reline/line_editor.rb#2331 + # source://reline//lib/reline/line_editor.rb#2331 def em_set_mark(key); end - # source://reline/lib/reline/line_editor.rb#1919 + # source://reline//lib/reline/line_editor.rb#1919 def em_upper_case(key); end - # source://reline/lib/reline/line_editor.rb#1806 + # source://reline//lib/reline/line_editor.rb#1806 def em_yank(key); end - # source://reline/lib/reline/line_editor.rb#1812 + # source://reline//lib/reline/line_editor.rb#1812 def em_yank_pop(key); end - # source://reline/lib/reline/line_editor.rb#2344 + # source://reline//lib/reline/line_editor.rb#2344 def emacs_editing_mode(key); end - # source://reline/lib/reline/line_editor.rb#1466 + # source://reline//lib/reline/line_editor.rb#1469 def end_of_line(key); end - # source://reline/lib/reline/line_editor.rb#2336 + # source://reline//lib/reline/line_editor.rb#2342 def exchange_point_and_mark(key); end - # source://reline/lib/reline/line_editor.rb#809 + # source://reline//lib/reline/line_editor.rb#809 def filter_normalize_candidates(target, list); end - # source://reline/lib/reline/line_editor.rb#1430 + # source://reline//lib/reline/line_editor.rb#1441 def forward_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1582 + # source://reline//lib/reline/line_editor.rb#1585 def forward_search_history(key); end - # source://reline/lib/reline/line_editor.rb#1830 + # source://reline//lib/reline/line_editor.rb#1836 def forward_word(key); end - # source://reline/lib/reline/line_editor.rb#1471 + # source://reline//lib/reline/line_editor.rb#1471 def generate_searcher(search_key); end - # source://reline/lib/reline/line_editor.rb#185 + # source://reline//lib/reline/line_editor.rb#185 def handle_interrupted; end - # source://reline/lib/reline/line_editor.rb#173 + # source://reline//lib/reline/line_editor.rb#173 def handle_resized; end - # source://reline/lib/reline/line_editor.rb#1597 + # source://reline//lib/reline/line_editor.rb#1610 def history_search_backward(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1612 + # source://reline//lib/reline/line_editor.rb#1625 def history_search_forward(key, arg: T.unsafe(nil)); end # @return [Boolean] # - # source://reline/lib/reline/line_editor.rb#942 + # source://reline//lib/reline/line_editor.rb#942 def inclusive?(method_obj); end - # source://reline/lib/reline/line_editor.rb#1550 + # source://reline//lib/reline/line_editor.rb#1550 def incremental_search_history(key); end - # source://reline/lib/reline/line_editor.rb#277 + # source://reline//lib/reline/line_editor.rb#277 def insert_new_line(cursor_line, next_line); end - # source://reline/lib/reline/line_editor.rb#1419 + # source://reline//lib/reline/line_editor.rb#1419 def insert_raw_char(str, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1324 + # source://reline//lib/reline/line_editor.rb#1324 def key_delete(key); end - # source://reline/lib/reline/line_editor.rb#1332 + # source://reline//lib/reline/line_editor.rb#1332 def key_newline(key); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -1677,7 +2152,7 @@ class Reline::LineEditor # the line. With a negative numeric argument, kill backward # from the cursor to the beginning of the current line. # - # source://reline/lib/reline/line_editor.rb#1733 + # source://reline//lib/reline/line_editor.rb#1742 def kill_line(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -1685,82 +2160,82 @@ class Reline::LineEditor # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the # current line, no matter where point is. # - # source://reline/lib/reline/line_editor.rb#1769 + # source://reline//lib/reline/line_editor.rb#1775 def kill_whole_line(key); end - # source://reline/lib/reline/line_editor.rb#1846 + # source://reline//lib/reline/line_editor.rb#1854 def kill_word(key); end - # source://reline/lib/reline/line_editor.rb#805 + # source://reline//lib/reline/line_editor.rb#805 def menu(list); end - # source://reline/lib/reline/line_editor.rb#1366 + # source://reline//lib/reline/line_editor.rb#1366 def menu_complete(_key); end - # source://reline/lib/reline/line_editor.rb#1370 + # source://reline//lib/reline/line_editor.rb#1370 def menu_complete_backward(_key); end - # source://reline/lib/reline/line_editor.rb#793 + # source://reline//lib/reline/line_editor.rb#793 def modify_lines(before, complete); end - # source://reline/lib/reline/line_editor.rb#887 + # source://reline//lib/reline/line_editor.rb#887 def move_completed_list(direction); end - # source://reline/lib/reline/line_editor.rb#1627 + # source://reline//lib/reline/line_editor.rb#1627 def move_history(history_pointer, line:, cursor:); end - # source://reline/lib/reline/line_editor.rb#2352 + # source://reline//lib/reline/line_editor.rb#2352 def move_undo_redo(direction); end - # source://reline/lib/reline/line_editor.rb#1666 + # source://reline//lib/reline/line_editor.rb#1681 def next_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#832 + # source://reline//lib/reline/line_editor.rb#832 def perform_completion(preposing, target, postposing, quote, list); end - # source://reline/lib/reline/line_editor.rb#2371 + # source://reline//lib/reline/line_editor.rb#2371 def prev_action_state_value(type); end - # source://reline/lib/reline/line_editor.rb#1649 + # source://reline//lib/reline/line_editor.rb#1664 def previous_history(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1151 + # source://reline//lib/reline/line_editor.rb#1151 def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1382 + # source://reline//lib/reline/line_editor.rb#1382 def process_insert(force: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#979 + # source://reline//lib/reline/line_editor.rb#979 def process_key(key, method_symbol); end - # source://reline/lib/reline/line_editor.rb#2379 + # source://reline//lib/reline/line_editor.rb#2379 def re_read_init_file(_key); end - # source://reline/lib/reline/line_editor.rb#2367 + # source://reline//lib/reline/line_editor.rb#2367 def redo(_key); end # Reflects lines to be rendered and new cursor position to the screen # by calculating the difference from the previous render. # - # source://reline/lib/reline/line_editor.rb#515 + # source://reline//lib/reline/line_editor.rb#515 def render_differential(new_lines, new_cursor_x, new_cursor_y); end - # source://reline/lib/reline/line_editor.rb#899 + # source://reline//lib/reline/line_editor.rb#899 def retrieve_completion_journey_state; end - # source://reline/lib/reline/line_editor.rb#1577 + # source://reline//lib/reline/line_editor.rb#1580 def reverse_search_history(key); end - # source://reline/lib/reline/line_editor.rb#914 + # source://reline//lib/reline/line_editor.rb#914 def run_for_operators(key, method_symbol, &block); end - # source://reline/lib/reline/line_editor.rb#1587 + # source://reline//lib/reline/line_editor.rb#1587 def search_history(prefix, pointer_range); end - # source://reline/lib/reline/line_editor.rb#2242 + # source://reline//lib/reline/line_editor.rb#2242 def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2289 + # source://reline//lib/reline/line_editor.rb#2289 def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1777,25 +2252,25 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline/lib/reline/line_editor.rb#1401 + # source://reline//lib/reline/line_editor.rb#1417 def self_insert(str); end - # source://reline/lib/reline/line_editor.rb#2331 + # source://reline//lib/reline/line_editor.rb#2334 def set_mark(key); end - # source://reline/lib/reline/line_editor.rb#2375 + # source://reline//lib/reline/line_editor.rb#2375 def set_next_action_state(type, value); end - # source://reline/lib/reline/line_editor.rb#300 + # source://reline//lib/reline/line_editor.rb#300 def split_line_by_width(str, max_width, offset: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1866 + # source://reline//lib/reline/line_editor.rb#1881 def transpose_chars(key); end - # source://reline/lib/reline/line_editor.rb#1883 + # source://reline//lib/reline/line_editor.rb#1894 def transpose_words(key); end - # source://reline/lib/reline/line_editor.rb#2363 + # source://reline//lib/reline/line_editor.rb#2363 def undo(_key); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -1804,75 +2279,75 @@ class Reline::LineEditor # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor # to the beginning of the current line. # - # source://reline/lib/reline/line_editor.rb#1756 + # source://reline//lib/reline/line_editor.rb#1763 def unix_line_discard(key); end - # source://reline/lib/reline/line_editor.rb#1932 + # source://reline//lib/reline/line_editor.rb#1940 def unix_word_rubout(key); end - # source://reline/lib/reline/line_editor.rb#1919 + # source://reline//lib/reline/line_editor.rb#1930 def upcase_word(key); end - # source://reline/lib/reline/line_editor.rb#709 + # source://reline//lib/reline/line_editor.rb#709 def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1952 + # source://reline//lib/reline/line_editor.rb#1952 def vi_add(key); end - # source://reline/lib/reline/line_editor.rb#2048 + # source://reline//lib/reline/line_editor.rb#2048 def vi_add_at_eol(key); end - # source://reline/lib/reline/line_editor.rb#2067 + # source://reline//lib/reline/line_editor.rb#2067 def vi_change_meta(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2079 + # source://reline//lib/reline/line_editor.rb#2079 def vi_change_meta_confirm(byte_pointer_diff); end # Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line. # - # source://reline/lib/reline/line_editor.rb#1745 + # source://reline//lib/reline/line_editor.rb#1745 def vi_change_to_eol(key); end - # source://reline/lib/reline/line_editor.rb#1957 + # source://reline//lib/reline/line_editor.rb#1957 def vi_command_mode(key); end - # source://reline/lib/reline/line_editor.rb#2085 + # source://reline//lib/reline/line_editor.rb#2085 def vi_delete_meta(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2096 + # source://reline//lib/reline/line_editor.rb#2096 def vi_delete_meta_confirm(byte_pointer_diff); end - # source://reline/lib/reline/line_editor.rb#2029 + # source://reline//lib/reline/line_editor.rb#2029 def vi_delete_prev_char(key); end - # source://reline/lib/reline/line_editor.rb#2348 + # source://reline//lib/reline/line_editor.rb#2348 def vi_editing_mode(key); end - # source://reline/lib/reline/line_editor.rb#2014 + # source://reline//lib/reline/line_editor.rb#2014 def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2130 + # source://reline//lib/reline/line_editor.rb#2138 def vi_end_of_transmission(key); end - # source://reline/lib/reline/line_editor.rb#1981 + # source://reline//lib/reline/line_editor.rb#1981 def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2130 + # source://reline//lib/reline/line_editor.rb#2139 def vi_eof_maybe(key); end - # source://reline/lib/reline/line_editor.rb#1456 + # source://reline//lib/reline/line_editor.rb#1456 def vi_first_print(key); end - # source://reline/lib/reline/line_editor.rb#2164 + # source://reline//lib/reline/line_editor.rb#2164 def vi_histedit(key); end - # source://reline/lib/reline/line_editor.rb#1948 + # source://reline//lib/reline/line_editor.rb#1948 def vi_insert(key); end - # source://reline/lib/reline/line_editor.rb#2043 + # source://reline//lib/reline/line_editor.rb#2043 def vi_insert_at_bol(key); end - # source://reline/lib/reline/line_editor.rb#2322 + # source://reline//lib/reline/line_editor.rb#2322 def vi_join_lines(key, arg: T.unsafe(nil)); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -1881,574 +2356,653 @@ class Reline::LineEditor # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor # to the beginning of the current line. # - # source://reline/lib/reline/line_editor.rb#1756 + # source://reline//lib/reline/line_editor.rb#1756 def vi_kill_line_prev(key); end - # source://reline/lib/reline/line_editor.rb#2130 + # source://reline//lib/reline/line_editor.rb#2130 def vi_list_or_eof(key); end - # source://reline/lib/reline/line_editor.rb#1957 + # source://reline//lib/reline/line_editor.rb#1961 def vi_movement_mode(key); end - # source://reline/lib/reline/line_editor.rb#1996 + # source://reline//lib/reline/line_editor.rb#1996 def vi_next_big_word(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2234 + # source://reline//lib/reline/line_editor.rb#2234 def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1963 + # source://reline//lib/reline/line_editor.rb#1963 def vi_next_word(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2185 + # source://reline//lib/reline/line_editor.rb#2185 def vi_paste_next(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2176 + # source://reline//lib/reline/line_editor.rb#2176 def vi_paste_prev(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2005 + # source://reline//lib/reline/line_editor.rb#2005 def vi_prev_big_word(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2281 + # source://reline//lib/reline/line_editor.rb#2281 def vi_prev_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1972 + # source://reline//lib/reline/line_editor.rb#1972 def vi_prev_word(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2210 + # source://reline//lib/reline/line_editor.rb#2210 def vi_replace_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#1582 + # source://reline//lib/reline/line_editor.rb#1582 def vi_search_next(key); end - # source://reline/lib/reline/line_editor.rb#1577 + # source://reline//lib/reline/line_editor.rb#1577 def vi_search_prev(key); end - # source://reline/lib/reline/line_editor.rb#2201 + # source://reline//lib/reline/line_editor.rb#2201 def vi_to_column(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2157 + # source://reline//lib/reline/line_editor.rb#2157 def vi_to_history_line(key); end - # source://reline/lib/reline/line_editor.rb#2238 + # source://reline//lib/reline/line_editor.rb#2238 def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2285 + # source://reline//lib/reline/line_editor.rb#2285 def vi_to_prev_char(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2108 + # source://reline//lib/reline/line_editor.rb#2108 def vi_yank(key, arg: T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#2119 + # source://reline//lib/reline/line_editor.rb#2119 def vi_yank_confirm(byte_pointer_diff); end - # source://reline/lib/reline/line_editor.rb#1460 + # source://reline//lib/reline/line_editor.rb#1464 def vi_zero(key); end - # source://reline/lib/reline/line_editor.rb#1806 + # source://reline//lib/reline/line_editor.rb#1810 def yank(key); end - # source://reline/lib/reline/line_editor.rb#1812 + # source://reline//lib/reline/line_editor.rb#1820 def yank_pop(key); end end -# source://reline/lib/reline/line_editor.rb#976 +# source://reline//lib/reline/line_editor.rb#976 Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/line_editor.rb#45 +# source://reline//lib/reline/line_editor.rb#45 class Reline::LineEditor::CompletionJourneyState < ::Struct # Returns the value of attribute line_index # # @return [Object] the current value of line_index + # + # source://reline//lib/reline/line_editor.rb#45 def line_index; end # Sets the attribute line_index # # @param value [Object] the value to set the attribute line_index to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def line_index=(_); end # Returns the value of attribute list # # @return [Object] the current value of list + # + # source://reline//lib/reline/line_editor.rb#45 def list; end # Sets the attribute list # # @param value [Object] the value to set the attribute list to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def list=(_); end # Returns the value of attribute pointer # # @return [Object] the current value of pointer + # + # source://reline//lib/reline/line_editor.rb#45 def pointer; end # Sets the attribute pointer # # @param value [Object] the value to set the attribute pointer to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def pointer=(_); end # Returns the value of attribute post # # @return [Object] the current value of post + # + # source://reline//lib/reline/line_editor.rb#45 def post; end # Sets the attribute post # # @param value [Object] the value to set the attribute post to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def post=(_); end # Returns the value of attribute pre # # @return [Object] the current value of pre + # + # source://reline//lib/reline/line_editor.rb#45 def pre; end # Sets the attribute pre # # @param value [Object] the value to set the attribute pre to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def pre=(_); end # Returns the value of attribute target # # @return [Object] the current value of target + # + # source://reline//lib/reline/line_editor.rb#45 def target; end # Sets the attribute target # # @param value [Object] the value to set the attribute target to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def target=(_); end class << self + # source://reline//lib/reline/line_editor.rb#45 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#45 def inspect; end + + # source://reline//lib/reline/line_editor.rb#45 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#45 def members; end + + # source://reline//lib/reline/line_editor.rb#45 def new(*_arg0); end end end -# source://reline/lib/reline/line_editor.rb#38 +# source://reline//lib/reline/line_editor.rb#38 Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/line_editor.rb#39 +# source://reline//lib/reline/line_editor.rb#39 Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/line_editor.rb#37 +# source://reline//lib/reline/line_editor.rb#37 Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/line_editor.rb#40 +# source://reline//lib/reline/line_editor.rb#40 Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol) -# source://reline/lib/reline/line_editor.rb#701 +# source://reline//lib/reline/line_editor.rb#701 Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer) -# source://reline/lib/reline/line_editor.rb#647 +# source://reline//lib/reline/line_editor.rb#647 class Reline::LineEditor::Dialog # @return [Dialog] a new instance of Dialog # - # source://reline/lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#651 def initialize(name, config, proc_scope); end - # source://reline/lib/reline/line_editor.rb#675 + # source://reline//lib/reline/line_editor.rb#675 def call(key); end # Returns the value of attribute column. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def column; end # Sets the attribute column # # @param value the value to set the attribute column to. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def column=(_arg0); end # Returns the value of attribute contents. # - # source://reline/lib/reline/line_editor.rb#648 + # source://reline//lib/reline/line_editor.rb#648 def contents; end - # source://reline/lib/reline/line_editor.rb#668 + # source://reline//lib/reline/line_editor.rb#668 def contents=(contents); end # Returns the value of attribute name. # - # source://reline/lib/reline/line_editor.rb#648 + # source://reline//lib/reline/line_editor.rb#648 def name; end # Returns the value of attribute pointer. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def pointer; end # Sets the attribute pointer # # @param value the value to set the attribute pointer to. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def pointer=(_arg0); end # Returns the value of attribute scroll_top. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def scroll_top; end # Sets the attribute scroll_top # # @param value the value to set the attribute scroll_top to. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def scroll_top=(_arg0); end - # source://reline/lib/reline/line_editor.rb#660 + # source://reline//lib/reline/line_editor.rb#660 def set_cursor_pos(col, row); end # Returns the value of attribute trap_key. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def trap_key; end # Sets the attribute trap_key # # @param value the value to set the attribute trap_key to. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def trap_key=(_arg0); end # Returns the value of attribute vertical_offset. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def vertical_offset; end # Sets the attribute vertical_offset # # @param value the value to set the attribute vertical_offset to. # - # source://reline/lib/reline/line_editor.rb#649 + # source://reline//lib/reline/line_editor.rb#649 def vertical_offset=(_arg0); end # Returns the value of attribute width. # - # source://reline/lib/reline/line_editor.rb#648 + # source://reline//lib/reline/line_editor.rb#648 def width; end - # source://reline/lib/reline/line_editor.rb#664 + # source://reline//lib/reline/line_editor.rb#664 def width=(v); end end -# source://reline/lib/reline/line_editor.rb#568 +# source://reline//lib/reline/line_editor.rb#568 class Reline::LineEditor::DialogProcScope # @return [DialogProcScope] a new instance of DialogProcScope # - # source://reline/lib/reline/line_editor.rb#571 + # source://reline//lib/reline/line_editor.rb#571 def initialize(line_editor, config, proc_to_exec, context); end - # source://reline/lib/reline/line_editor.rb#642 + # source://reline//lib/reline/line_editor.rb#642 def call; end - # source://reline/lib/reline/line_editor.rb#588 + # source://reline//lib/reline/line_editor.rb#588 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline/lib/reline/line_editor.rb#634 + # source://reline//lib/reline/line_editor.rb#634 def completion_journey_data; end - # source://reline/lib/reline/line_editor.rb#638 + # source://reline//lib/reline/line_editor.rb#638 def config; end - # source://reline/lib/reline/line_editor.rb#579 + # source://reline//lib/reline/line_editor.rb#579 def context; end - # source://reline/lib/reline/line_editor.rb#613 + # source://reline//lib/reline/line_editor.rb#613 def cursor_pos; end - # source://reline/lib/reline/line_editor.rb#596 + # source://reline//lib/reline/line_editor.rb#596 def dialog; end - # source://reline/lib/reline/line_editor.rb#617 + # source://reline//lib/reline/line_editor.rb#617 def just_cursor_moving; end - # source://reline/lib/reline/line_editor.rb#609 + # source://reline//lib/reline/line_editor.rb#609 def key; end - # source://reline/lib/reline/line_editor.rb#629 + # source://reline//lib/reline/line_editor.rb#629 def preferred_dialog_height; end - # source://reline/lib/reline/line_editor.rb#583 + # source://reline//lib/reline/line_editor.rb#583 def retrieve_completion_block(_unused = T.unsafe(nil)); end - # source://reline/lib/reline/line_editor.rb#625 + # source://reline//lib/reline/line_editor.rb#625 def screen_height; end - # source://reline/lib/reline/line_editor.rb#621 + # source://reline//lib/reline/line_editor.rb#621 def screen_width; end - # source://reline/lib/reline/line_editor.rb#600 + # source://reline//lib/reline/line_editor.rb#600 def set_cursor_pos(col, row); end - # source://reline/lib/reline/line_editor.rb#592 + # source://reline//lib/reline/line_editor.rb#592 def set_dialog(dialog); end - # source://reline/lib/reline/line_editor.rb#605 + # source://reline//lib/reline/line_editor.rb#605 def set_key(key); end end -# source://reline/lib/reline/line_editor.rb#569 +# source://reline//lib/reline/line_editor.rb#569 class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # Returns the value of attribute list # # @return [Object] the current value of list + # + # source://reline//lib/reline/line_editor.rb#569 def list; end # Sets the attribute list # # @param value [Object] the value to set the attribute list to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#569 def list=(_); end # Returns the value of attribute pointer # # @return [Object] the current value of pointer + # + # source://reline//lib/reline/line_editor.rb#569 def pointer; end # Sets the attribute pointer # # @param value [Object] the value to set the attribute pointer to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#569 def pointer=(_); end # Returns the value of attribute postposing # # @return [Object] the current value of postposing + # + # source://reline//lib/reline/line_editor.rb#569 def postposing; end # Sets the attribute postposing # # @param value [Object] the value to set the attribute postposing to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#569 def postposing=(_); end # Returns the value of attribute preposing # # @return [Object] the current value of preposing + # + # source://reline//lib/reline/line_editor.rb#569 def preposing; end # Sets the attribute preposing # # @param value [Object] the value to set the attribute preposing to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#569 def preposing=(_); end class << self + # source://reline//lib/reline/line_editor.rb#569 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#569 def inspect; end + + # source://reline//lib/reline/line_editor.rb#569 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#569 def members; end + + # source://reline//lib/reline/line_editor.rb#569 def new(*_arg0); end end end -# source://reline/lib/reline/line_editor.rb#1104 +# source://reline//lib/reline/line_editor.rb#1104 Reline::LineEditor::MAX_INPUT_LINES = T.let(T.unsafe(nil), Integer) -# source://reline/lib/reline/line_editor.rb#71 +# source://reline//lib/reline/line_editor.rb#71 Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer) -# source://reline/lib/reline/line_editor.rb#48 +# source://reline//lib/reline/line_editor.rb#48 class Reline::LineEditor::MenuInfo # @return [MenuInfo] a new instance of MenuInfo # - # source://reline/lib/reline/line_editor.rb#51 + # source://reline//lib/reline/line_editor.rb#51 def initialize(list); end - # source://reline/lib/reline/line_editor.rb#55 + # source://reline//lib/reline/line_editor.rb#55 def lines(screen_width); end # Returns the value of attribute list. # - # source://reline/lib/reline/line_editor.rb#49 + # source://reline//lib/reline/line_editor.rb#49 def list; end end -# source://reline/lib/reline/line_editor.rb#46 +# source://reline//lib/reline/line_editor.rb#46 Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/line_editor.rb#43 +# source://reline//lib/reline/line_editor.rb#43 class Reline::LineEditor::RenderedScreen < ::Struct # Returns the value of attribute base_y # # @return [Object] the current value of base_y + # + # source://reline//lib/reline/line_editor.rb#43 def base_y; end # Sets the attribute base_y # # @param value [Object] the value to set the attribute base_y to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#43 def base_y=(_); end # Returns the value of attribute cursor_y # # @return [Object] the current value of cursor_y + # + # source://reline//lib/reline/line_editor.rb#43 def cursor_y; end # Sets the attribute cursor_y # # @param value [Object] the value to set the attribute cursor_y to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#43 def cursor_y=(_); end # Returns the value of attribute lines # # @return [Object] the current value of lines + # + # source://reline//lib/reline/line_editor.rb#43 def lines; end # Sets the attribute lines # # @param value [Object] the value to set the attribute lines to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#43 def lines=(_); end class << self + # source://reline//lib/reline/line_editor.rb#43 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#43 def inspect; end + + # source://reline//lib/reline/line_editor.rb#43 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#43 def members; end + + # source://reline//lib/reline/line_editor.rb#43 def new(*_arg0); end end end -# source://reline/lib/reline/line_editor.rb#17 +# source://reline//lib/reline/line_editor.rb#17 Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/line_editor.rb#977 +# source://reline//lib/reline/line_editor.rb#977 Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline.rb#16 +# source://reline//lib/reline.rb#16 Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) -# source://reline/lib/reline/unicode.rb#1 +# source://reline//lib/reline/unicode.rb#1 class Reline::Unicode class << self - # source://reline/lib/reline/unicode.rb#98 + # source://reline//lib/reline/unicode.rb#98 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end - # source://reline/lib/reline/unicode.rb#387 + # source://reline//lib/reline/unicode.rb#387 def common_prefix(list, ignore_case: T.unsafe(nil)); end - # source://reline/lib/reline/unicode.rb#292 + # source://reline//lib/reline/unicode.rb#292 def ed_transpose_words(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#278 + # source://reline//lib/reline/unicode.rb#278 def em_backward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#285 + # source://reline//lib/reline/unicode.rb#285 def em_big_backward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#264 + # source://reline//lib/reline/unicode.rb#264 def em_forward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#271 + # source://reline//lib/reline/unicode.rb#271 def em_forward_word_with_capitalization(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#44 + # source://reline//lib/reline/unicode.rb#44 def escape_for_print(str); end - # source://reline/lib/reline/unicode.rb#75 + # source://reline//lib/reline/unicode.rb#75 def get_mbchar_width(mbchar); end - # source://reline/lib/reline/unicode.rb#250 + # source://reline//lib/reline/unicode.rb#250 def get_next_mbchar_size(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#255 + # source://reline//lib/reline/unicode.rb#255 def get_prev_mbchar_size(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#57 + # source://reline//lib/reline/unicode.rb#57 def safe_encode(str, encoding); end # @return [Boolean] # - # source://reline/lib/reline/unicode.rb#412 + # source://reline//lib/reline/unicode.rb#412 def space_character?(s); end # This method is used by IRB # - # source://reline/lib/reline/unicode.rb#125 + # source://reline//lib/reline/unicode.rb#125 def split_by_width(str, max_width); end - # source://reline/lib/reline/unicode.rb#130 + # source://reline//lib/reline/unicode.rb#130 def split_line_by_width(str, max_width, encoding = T.unsafe(nil), offset: T.unsafe(nil)); end - # source://reline/lib/reline/unicode.rb#172 + # source://reline//lib/reline/unicode.rb#172 def strip_non_printing_start_end(prompt); end - # source://reline/lib/reline/unicode.rb#181 + # source://reline//lib/reline/unicode.rb#181 def take_mbchar_range(str, start_col, width, cover_begin: T.unsafe(nil), cover_end: T.unsafe(nil), padding: T.unsafe(nil)); end # Take a chunk of a String cut by width with escape sequences. # - # source://reline/lib/reline/unicode.rb#177 + # source://reline//lib/reline/unicode.rb#177 def take_range(str, start_col, max_width); end - # source://reline/lib/reline/unicode.rb#378 + # source://reline//lib/reline/unicode.rb#378 def vi_backward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#333 + # source://reline//lib/reline/unicode.rb#333 def vi_big_backward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#323 + # source://reline//lib/reline/unicode.rb#323 def vi_big_forward_end_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#316 + # source://reline//lib/reline/unicode.rb#316 def vi_big_forward_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#400 + # source://reline//lib/reline/unicode.rb#400 def vi_first_print(line); end - # source://reline/lib/reline/unicode.rb#360 + # source://reline//lib/reline/unicode.rb#360 def vi_forward_end_word(line, byte_pointer); end - # source://reline/lib/reline/unicode.rb#340 + # source://reline//lib/reline/unicode.rb#340 def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end # @return [Boolean] # - # source://reline/lib/reline/unicode.rb#406 + # source://reline//lib/reline/unicode.rb#406 def word_character?(s); end end end -# source://reline/lib/reline/unicode.rb#40 +# source://reline//lib/reline/unicode.rb#40 Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://reline/lib/reline/unicode/east_asian_width.rb#5 +# source://reline//lib/reline/unicode/east_asian_width.rb#5 Reline::Unicode::EastAsianWidth::CHUNK_LAST = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/unicode/east_asian_width.rb#5 +# source://reline//lib/reline/unicode/east_asian_width.rb#5 Reline::Unicode::EastAsianWidth::CHUNK_WIDTH = T.let(T.unsafe(nil), Array) # C-? C-8 # -# source://reline/lib/reline/unicode.rb#36 +# source://reline//lib/reline/unicode.rb#36 Reline::Unicode::EscapedChars = T.let(T.unsafe(nil), Array) -# source://reline/lib/reline/unicode.rb#2 +# source://reline//lib/reline/unicode.rb#2 Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash) -# source://reline/lib/reline/unicode.rb#39 +# source://reline//lib/reline/unicode.rb#39 Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String) -# source://reline/lib/reline/unicode.rb#38 +# source://reline//lib/reline/unicode.rb#38 Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String) -# source://reline/lib/reline/unicode.rb#41 +# source://reline//lib/reline/unicode.rb#41 Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://reline/lib/reline/unicode.rb#42 +# source://reline//lib/reline/unicode.rb#42 Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp) -# source://reline/lib/reline/version.rb#2 +# source://reline//lib/reline/version.rb#2 Reline::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rexml@3.3.9.rbi b/sorbet/rbi/gems/rexml@3.3.9.rbi index 3271446a9..2310ca72c 100644 --- a/sorbet/rbi/gems/rexml@3.3.9.rbi +++ b/sorbet/rbi/gems/rexml@3.3.9.rbi @@ -271,7 +271,7 @@ class REXML::Attributes < ::Hash # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3' # attrs.include?('baz') # => true # - # source://rexml//lib/rexml/element.rb#2522 + # source://rexml//lib/rexml/element.rb#2526 def <<(attribute); end # :call-seq: @@ -546,7 +546,7 @@ class REXML::Attributes < ::Hash # ele = d.root.elements['//ele'] # => # ele.attributes.length # => 3 # - # source://rexml//lib/rexml/element.rb#2221 + # source://rexml//lib/rexml/element.rb#2226 def size; end # :call-seq: @@ -657,7 +657,7 @@ class REXML::Child # source://rexml//lib/rexml/child.rb#85 def document; end - # source://rexml//lib/rexml/node.rb#11 + # source://rexml//lib/rexml/child.rb#58 def next_sibling; end # Sets the next sibling of this child. This can be used to insert a child @@ -688,7 +688,7 @@ class REXML::Child # source://rexml//lib/rexml/child.rb#52 def parent=(other); end - # source://rexml//lib/rexml/node.rb#17 + # source://rexml//lib/rexml/child.rb#59 def previous_sibling; end # Sets the previous sibling of this child. This can be used to insert a @@ -767,7 +767,7 @@ class REXML::Comment < ::REXML::Child # The content text # - # source://rexml//lib/rexml/comment.rb#14 + # source://rexml//lib/rexml/comment.rb#58 def to_s; end # == DEPRECATED @@ -1038,7 +1038,7 @@ class REXML::Document < ::REXML::Element # d.add(REXML::Element.new('foo')) # d.to_s # => "" # - # source://rexml//lib/rexml/document.rb#172 + # source://rexml//lib/rexml/document.rb#203 def <<(child); end # :call-seq: @@ -1165,7 +1165,7 @@ class REXML::Document < ::REXML::Element # d = doc_type # d ? d.name : "UNDEFINED" # - # source://rexml//lib/rexml/document.rb#131 + # source://rexml//lib/rexml/document.rb#136 def name; end # :call-seq: @@ -2765,7 +2765,7 @@ class REXML::Elements # element.parent # => ... # element.context # => {:raw=>:all} # - # source://rexml//lib/rexml/element.rb#1921 + # source://rexml//lib/rexml/element.rb#1933 def <<(element = T.unsafe(nil)); end # :call-seq: @@ -3693,6 +3693,11 @@ module REXML::Namespace # source://rexml//lib/rexml/namespace.rb#43 def has_name?(other, ns = T.unsafe(nil)); end + # The name of the object, valid if set + # + # source://rexml//lib/rexml/namespace.rb#53 + def local_name; end + # The name of the object, valid if set # # source://rexml//lib/rexml/namespace.rb#9 @@ -3799,7 +3804,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#13 def initialize(parent = T.unsafe(nil)); end - # source://rexml//lib/rexml/parent.rb#18 + # source://rexml//lib/rexml/parent.rb#25 def <<(object); end # Fetches a child at a given index @@ -3822,7 +3827,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#18 def add(object); end - # source://rexml//lib/rexml/parent.rb#115 + # source://rexml//lib/rexml/parent.rb#160 def children; end # Deeply clones this object. This creates a complete duplicate of this @@ -3843,7 +3848,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#39 def each(&block); end - # source://rexml//lib/rexml/parent.rb#39 + # source://rexml//lib/rexml/parent.rb#61 def each_child(&block); end # source://rexml//lib/rexml/parent.rb#51 @@ -3884,7 +3889,7 @@ class REXML::Parent < ::REXML::Child # @return the number of children of this parent # - # source://rexml//lib/rexml/parent.rb#130 + # source://rexml//lib/rexml/parent.rb#134 def length; end # @return [Boolean] @@ -3892,7 +3897,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#162 def parent?; end - # source://rexml//lib/rexml/parent.rb#18 + # source://rexml//lib/rexml/parent.rb#24 def push(object); end # Replaces one child with another, making sure the nodelist is correct @@ -4232,7 +4237,7 @@ class REXML::Parsers::XPathParser # For backward compatibility # - # source://rexml//lib/rexml/parsers/xpathparser.rb#174 + # source://rexml//lib/rexml/parsers/xpathparser.rb#221 def preciate_to_string(parsed, &block); end # source://rexml//lib/rexml/parsers/xpathparser.rb#36 @@ -4713,12 +4718,12 @@ class REXML::XMLDecl < ::REXML::Child # source://rexml//lib/rexml/xmldecl.rb#98 def nowrite; end - # source://rexml//lib/rexml/encoding.rb#7 + # source://rexml//lib/rexml/xmldecl.rb#74 def old_enc=(encoding); end # Returns the value of attribute standalone. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # source://rexml//lib/rexml/xmldecl.rb#73 def stand_alone?; end # Returns the value of attribute standalone. diff --git a/sorbet/rbi/gems/rubocop-ast@1.37.0.rbi b/sorbet/rbi/gems/rubocop-ast@1.37.0.rbi index 101902217..2aa8e5ec6 100644 --- a/sorbet/rbi/gems/rubocop-ast@1.37.0.rbi +++ b/sorbet/rbi/gems/rubocop-ast@1.37.0.rbi @@ -4,16 +4,17 @@ # This is an autogenerated file for types exported from the `rubocop-ast` gem. # Please instead update this file by running `bin/tapioca gem rubocop-ast`. + class Parser::Source::Range include ::RuboCop::AST::Ext::Range end -# source://rubocop-ast/lib/rubocop/ast/ext/range.rb#3 +# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#3 module RuboCop; end # ... # -# source://rubocop-ast/lib/rubocop/ast/ext/range.rb#4 +# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#4 module RuboCop::AST extend ::RuboCop::AST::RuboCopCompatibility end @@ -22,20 +23,20 @@ end # node when the builder constructs the AST, making its methods available # to all `alias` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/alias_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/alias_node.rb#8 class RuboCop::AST::AliasNode < ::RuboCop::AST::Node # Returns the new identifier as specified by the `alias`. # # @return [SymbolNode] the new identifier # - # source://rubocop-ast/lib/rubocop/ast/node/alias_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/alias_node.rb#19 def new_identifier; end # Returns the old identifier as specified by the `alias`. # # @return [SymbolNode] the old identifier # - # source://rubocop-ast/lib/rubocop/ast/node/alias_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/alias_node.rb#12 def old_identifier; end end @@ -43,13 +44,13 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/and_asgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/and_asgn_node.rb#8 class RuboCop::AST::AndAsgnNode < ::RuboCop::AST::OpAsgnNode # The operator being used for assignment as a symbol. # # @return [Symbol] the assignment operator # - # source://rubocop-ast/lib/rubocop/ast/node/and_asgn_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/and_asgn_node.rb#12 def operator; end end @@ -57,7 +58,7 @@ end # node when the builder constructs the AST, making its methods available # to all `until` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/and_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/and_node.rb#8 class RuboCop::AST::AndNode < ::RuboCop::AST::Node include ::RuboCop::AST::BinaryOperatorNode include ::RuboCop::AST::PredicateOperatorNode @@ -67,7 +68,7 @@ class RuboCop::AST::AndNode < ::RuboCop::AST::Node # # @return [String] the alternate of the `and` operator # - # source://rubocop-ast/lib/rubocop/ast/node/and_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/and_node.rb#16 def alternate_operator; end # Returns the inverse keyword of the `and` node as a string. @@ -75,7 +76,7 @@ class RuboCop::AST::AndNode < ::RuboCop::AST::Node # # @return [String] the inverse of the `and` operator # - # source://rubocop-ast/lib/rubocop/ast/node/and_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/and_node.rb#24 def inverse_operator; end end @@ -84,27 +85,27 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all `arg` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/arg_node.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#9 class RuboCop::AST::ArgNode < ::RuboCop::AST::Node # Checks whether the argument has a default value # # @return [Boolean] whether the argument has a default value # - # source://rubocop-ast/lib/rubocop/ast/node/arg_node.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#29 def default?; end # Returns the default value of the argument, if any. # # @return [Node, nil] the default value of the argument # - # source://rubocop-ast/lib/rubocop/ast/node/arg_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#20 def default_value; end # Returns the name of an argument. # # @return [Symbol, nil] the name of the argument # - # source://rubocop-ast/lib/rubocop/ast/node/arg_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#13 def name; end end @@ -112,7 +113,7 @@ end # node when the builder constructs the AST, making its methods available # to all `args` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/args_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/args_node.rb#8 class RuboCop::AST::ArgsNode < ::RuboCop::AST::Node include ::RuboCop::AST::CollectionNode @@ -123,7 +124,7 @@ class RuboCop::AST::ArgsNode < ::RuboCop::AST::Node # # @return [Array] array of argument nodes. # - # source://rubocop-ast/lib/rubocop/ast/node/args_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/args_node.rb#34 def argument_list; end # It returns true if arguments are empty and delimiters do not exist. @@ -142,7 +143,7 @@ class RuboCop::AST::ArgsNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/args_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/args_node.rb#24 def empty_and_without_delimiters?; end end @@ -150,7 +151,7 @@ end # node when the builder constructs the AST, making its methods available # to all `array` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#8 class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node # Checks whether the `array` literal is delimited by either percent or # square brackets @@ -159,7 +160,7 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node # # @return [Boolean] whether the array is enclosed in percent or square # - # source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#64 + # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#64 def bracketed?; end # Calls the given block for each `value` node in the `array` literal. @@ -168,7 +169,7 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node # @return [self] if a block is given # @return [Enumerator] if no block is given # - # source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#25 def each_value(&block); end # Checks whether the `array` literal is delimited by percent brackets. @@ -177,79 +178,79 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node # @overload percent_literal? # @return [Boolean] whether the array is enclosed in percent brackets # - # source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#51 + # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#51 def percent_literal?(type = T.unsafe(nil)); end # Checks whether the `array` literal is delimited by square brackets. # # @return [Boolean] whether the array is enclosed in square brackets # - # source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#36 + # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#36 def square_brackets?; end # Returns an array of all value nodes in the `array` literal. # # @return [Array] an array of value nodes # - # source://ast/2.4.2lib/ast/node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#18 def values; end end -# source://rubocop-ast/lib/rubocop/ast/node/array_node.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#9 RuboCop::AST::ArrayNode::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Hash) # A node extension for `lvasgn`, `ivasgn`, `cvasgn`, and `gvasgn` nodes. # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/asgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#8 class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node # The expression being assigned to the variable. # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/asgn_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#20 def expression; end # The name of the variable being assigned as a symbol. # # @return [Symbol] the name of the variable being assigned # - # source://rubocop-ast/lib/rubocop/ast/node/asgn_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#15 def lhs; end # The name of the variable being assigned as a symbol. # # @return [Symbol] the name of the variable being assigned # - # source://rubocop-ast/lib/rubocop/ast/node/asgn_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#12 def name; end # The expression being assigned to the variable. # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/asgn_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#23 def rhs; end end # Common functionality for primitive literal nodes: `sym`, `str`, # `int`, `float`, `rational`... # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/basic_literal_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/basic_literal_node.rb#7 module RuboCop::AST::BasicLiteralNode # Returns the value of the literal. # # @return [mixed] the value of the literal # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/basic_literal_node.rb#11 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/basic_literal_node.rb#11 def value; end end # Common functionality for nodes that are binary operations: # `or`, `and` ... # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/binary_operator_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/binary_operator_node.rb#7 module RuboCop::AST::BinaryOperatorNode # Returns all of the conditions, including nested conditions, # of the binary operation. @@ -259,21 +260,21 @@ module RuboCop::AST::BinaryOperatorNode # # @return [Array] the left and right hand side of the binary # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/binary_operator_node.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/binary_operator_node.rb#28 def conditions; end # Returns the left hand side node of the binary operation. # # @return [Node] the left hand side of the binary operation # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/binary_operator_node.rb#11 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/binary_operator_node.rb#11 def lhs; end # Returns the right hand side node of the binary operation. # # @return [Node] the right hand side of the binary operation # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/binary_operator_node.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/binary_operator_node.rb#18 def rhs; end end @@ -284,7 +285,7 @@ end # A `block` node is essentially a method send with a block. Parser nests # the `send` node inside the `block` node. # -# source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#11 class RuboCop::AST::BlockNode < ::RuboCop::AST::Node include ::RuboCop::AST::MethodIdentifierPredicates @@ -293,7 +294,7 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Array] # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#60 def argument_list; end # The arguments of this block. @@ -303,42 +304,42 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Array] # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#48 def arguments; end # Checks whether this block takes any arguments. # # @return [Boolean] whether this `block` node takes any arguments # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#85 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#85 def arguments?; end # The body of this block. # # @return [Node, nil] the body of the `block` node or `nil` # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#71 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#71 def body; end # Checks whether the `block` literal is delimited by curly braces. # # @return [Boolean] whether the `block` literal is enclosed in braces # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#92 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#92 def braces?; end # The closing delimiter for this `block` literal. # # @return [String] the closing delimiter for the `block` literal # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#120 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#120 def closing_delimiter; end # The delimiters for this `block` literal. # # @return [Array] the delimiters for the `block` literal # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#106 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#106 def delimiters; end # A shorthand for getting the first argument of this block. @@ -347,21 +348,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # @return [Node, nil] the first argument of this block, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#29 def first_argument; end # Checks whether the `block` literal is delimited by `do`-`end` keywords. # # @return [Boolean] whether the `block` literal is enclosed in `do`-`end` # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#99 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#99 def keywords?; end # Checks whether this `block` literal belongs to a lambda. # # @return [Boolean] whether the `block` literal belongs to a lambda # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#143 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#143 def lambda?; end # A shorthand for getting the last argument of this block. @@ -370,14 +371,14 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # @return [Node, nil] the last argument of this block, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#38 def last_argument; end # The name of the dispatched method as a symbol. # # @return [Symbol] the name of the dispatched method # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#78 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#78 def method_name; end # Checks whether this is a multiline block. This is overridden here @@ -385,21 +386,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `block` literal is on a several lines # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#136 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#136 def multiline?; end # The opening delimiter for this `block` literal. # # @return [String] the opening delimiter for the `block` literal # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#113 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#113 def opening_delimiter; end # The `send` node associated with this block. # # @return [SendNode] the `send` node associated with the `block` node # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#20 def send_node; end # Checks whether this is a single line block. This is overridden here @@ -407,32 +408,32 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `block` literal is on a single line # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#128 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#128 def single_line?; end # Checks whether this node body is a void context. # # @return [Boolean] whether the `block` node body is a void context # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#150 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#150 def void_context?; end private # Numbered arguments of this `numblock`. # - # source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#157 + # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#157 def numbered_arguments; end end -# source://rubocop-ast/lib/rubocop/ast/node/block_node.rb#14 +# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#14 RuboCop::AST::BlockNode::VOID_CONTEXT_METHODS = T.let(T.unsafe(nil), Array) # A node extension for `break` nodes. This will be used in place of a # plain node when the builder constructs the AST, making its methods # available to all `break` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/break_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/break_node.rb#8 class RuboCop::AST::BreakNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::WrappedArguments @@ -450,37 +451,37 @@ end # parser = Parser::Ruby25.new(builder) # root_node = parser.parse(buffer) # -# source://rubocop-ast/lib/rubocop/ast/builder.rb#16 +# source://rubocop-ast//lib/rubocop/ast/builder.rb#16 class RuboCop::AST::Builder < ::Parser::Builders::Default # Generates {Node} from the given information. # # @return [Node] the generated node # - # source://rubocop-ast/lib/rubocop/ast/builder.rb#106 + # source://rubocop-ast//lib/rubocop/ast/builder.rb#106 def n(type, children, source_map); end # TODO: Figure out what to do about literal encoding handling... # More details here https://github.com/whitequark/parser/issues/283 # - # source://rubocop-ast/lib/rubocop/ast/builder.rb#112 + # source://rubocop-ast//lib/rubocop/ast/builder.rb#112 def string_value(token); end private - # source://rubocop-ast/lib/rubocop/ast/builder.rb#118 + # source://rubocop-ast//lib/rubocop/ast/builder.rb#118 def node_klass(type); end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/builder.rb#21 +# source://rubocop-ast//lib/rubocop/ast/builder.rb#21 RuboCop::AST::Builder::NODE_MAP = T.let(T.unsafe(nil), Hash) # A node extension for `case_match` nodes. This will be used in place of # a plain node when the builder constructs the AST, making its methods # available to all `case_match` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#8 class RuboCop::AST::CaseMatchNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode @@ -490,19 +491,19 @@ class RuboCop::AST::CaseMatchNode < ::RuboCop::AST::Node # # @return [Array] an array of the bodies of the `in` branches # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#38 def branches; end # @deprecated Use `in_pattern_branches.each` # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#19 def each_in_pattern(&block); end # Checks whether this case statement has an `else` branch. # # @return [Boolean] whether the `case` statement has an `else` branch # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#59 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#59 def else?; end # Returns the else branch of the `case` statement, if any. @@ -511,21 +512,21 @@ class RuboCop::AST::CaseMatchNode < ::RuboCop::AST::Node # @return [EmptyElse] the empty else branch node of the `case` statement # @return [nil] if the case statement does not have an else branch. # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#52 def else_branch; end # Returns an array of all the `in` pattern branches in the `case` statement. # # @return [Array] an array of `in_pattern` nodes # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#30 def in_pattern_branches; end # Returns the keyword of the `case` statement as a string. # # @return [String] the keyword of the `case` statement # - # source://rubocop-ast/lib/rubocop/ast/node/case_match_node.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node/case_match_node.rb#14 def keyword; end end @@ -533,7 +534,7 @@ end # node when the builder constructs the AST, making its methods available # to all `case` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#8 class RuboCop::AST::CaseNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode @@ -543,19 +544,19 @@ class RuboCop::AST::CaseNode < ::RuboCop::AST::Node # # @return [Array] an array of the bodies of the when branches # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#38 def branches; end # @deprecated Use `when_branches.each` # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#19 def each_when(&block); end # Checks whether this case statement has an `else` branch. # # @return [Boolean] whether the `case` statement has an `else` branch # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#55 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#55 def else?; end # Returns the else branch of the `case` statement, if any. @@ -563,21 +564,21 @@ class RuboCop::AST::CaseNode < ::RuboCop::AST::Node # @return [Node] the else branch node of the `case` statement # @return [nil] if the case statement does not have an else branch. # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#48 def else_branch; end # Returns the keyword of the `case` statement as a string. # # @return [String] the keyword of the `case` statement # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#14 def keyword; end # Returns an array of all the when branches in the `case` statement. # # @return [Array] an array of `when` nodes # - # source://rubocop-ast/lib/rubocop/ast/node/case_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/case_node.rb#30 def when_branches; end end @@ -585,7 +586,7 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/casgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#8 class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConstantNode @@ -593,20 +594,20 @@ class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/casgn_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#17 def expression; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#12 def lhs; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#11 def name; end # The expression being assigned to the variable. # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/casgn_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#20 def rhs; end end @@ -614,443 +615,443 @@ end # node when the builder constructs the AST, making its methods available # to all `class` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/class_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#8 class RuboCop::AST::ClassNode < ::RuboCop::AST::Node # The body of this `class` node. # # @return [Node, nil] the body of the class # - # source://rubocop-ast/lib/rubocop/ast/node/class_node.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#26 def body; end # The identifier for this `class` node. # # @return [Node] the identifier of the class # - # source://rubocop-ast/lib/rubocop/ast/node/class_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#12 def identifier; end # The parent class for this `class` node. # # @return [Node, nil] the parent class of the class # - # source://rubocop-ast/lib/rubocop/ast/node/class_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#19 def parent_class; end end # A mixin that helps give collection nodes array polymorphism. # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/collection_node.rb#6 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#6 module RuboCop::AST::CollectionNode extend ::RuboCop::SimpleForwardable - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def &(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def *(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def +(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def -(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def <<(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def []=(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def all?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def any?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def append(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def assoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def bsearch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def bsearch_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chain(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chunk(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chunk_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def clear(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect_concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def compact(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def compact!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def count(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def cycle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def deconstruct(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def detect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def difference(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def dig(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def drop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def drop_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_cons(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_entry(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_with_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_with_object(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def empty?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def entries(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def fetch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def fill(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find_all(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def first(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flat_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flatten(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flatten!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def grep(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def grep_v(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def group_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def include?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def inject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def insert(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def intersection(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def join(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def keep_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def last(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def lazy(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def length(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def map!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def max(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def max_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def member?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def min(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def min_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def minmax(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def minmax_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def none?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def one?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def pack(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def partition(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def place(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def pop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def prepend(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def product(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def push(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rassoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reduce(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reject!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def repeated_combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def repeated_permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse_each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rindex(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rotate(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rotate!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sample(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def select(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def select!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shelljoin(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shuffle!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def size(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_after(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_before(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_when(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort_by!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sum(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def take(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def take_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def tally(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_set(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def transpose(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def union(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def uniq(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def unshift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def values_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def zip(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def |(*_arg0, **_arg1, &_arg2); end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/collection_node.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#9 RuboCop::AST::CollectionNode::ARRAY_METHODS = T.let(T.unsafe(nil), Array) # Common functionality for nodes that have conditions: @@ -1058,7 +1059,7 @@ RuboCop::AST::CollectionNode::ARRAY_METHODS = T.let(T.unsafe(nil), Array) # This currently doesn't include `when` nodes, because they have multiple # conditions, and need to be checked for that. # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/conditional_node.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/conditional_node.rb#9 module RuboCop::AST::ConditionalNode # Returns the body associated with the condition. This works together with # each node's custom destructuring method to select the correct part of @@ -1067,7 +1068,7 @@ module RuboCop::AST::ConditionalNode # @note For `if` nodes, this is the truthy branch. # @return [Node, nil] the body of the node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/conditional_node.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/conditional_node.rb#40 def body; end # Returns the condition of the node. This works together with each node's @@ -1075,7 +1076,7 @@ module RuboCop::AST::ConditionalNode # # @return [Node, nil] the condition of the node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/conditional_node.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/conditional_node.rb#29 def condition; end # Checks whether the condition of the node is written on more than @@ -1083,20 +1084,20 @@ module RuboCop::AST::ConditionalNode # # @return [Boolean] whether the condition is on more than one line # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/conditional_node.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/conditional_node.rb#21 def multiline_condition?; end # Checks whether the condition of the node is written on a single line. # # @return [Boolean] whether the condition is on a single line # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/conditional_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/conditional_node.rb#13 def single_line_condition?; end end # A node extension for `const` nodes. # -# source://rubocop-ast/lib/rubocop/ast/node/const_node.rb#6 +# source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#6 class RuboCop::AST::ConstNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConstantNode end @@ -1104,18 +1105,18 @@ end # Common functionality for nodes that deal with constants: # `const`, `casgn`. # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#7 module RuboCop::AST::ConstantNode # @return [Boolean] if the constant starts with `::` (aka s(:cbase)) # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#27 def absolute?; end # @return [Boolean] if the constant is a Module / Class, according to the standard convention. # Note: some classes might have uppercase in which case this method # returns false # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#24 def class_name?; end # Yield nodes for the namespace @@ -1125,29 +1126,29 @@ module RuboCop::AST::ConstantNode # s(:const, :Foo), then # s(:const, s(:const, :Foo), :Bar) # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#44 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#44 def each_path(&block); end # @return [Boolean] if the constant is a Module / Class, according to the standard convention. # Note: some classes might have uppercase in which case this method # returns false # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21 def module_name?; end # @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...) # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#9 def namespace; end # @return [Boolean] if the constant does not start with `::` (aka s(:cbase)) # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#34 def relative?; end # @return [Symbol] the demodulized name of the constant: "::Foo::Bar" => :Bar # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/constant_node.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14 def short_name; end end @@ -1155,11 +1156,11 @@ end # node when the builder constructs the AST, making its methods available # to all `csend` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/csend_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/csend_node.rb#8 class RuboCop::AST::CsendNode < ::RuboCop::AST::SendNode # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/csend_node.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/csend_node.rb#9 def send_type?; end end @@ -1167,7 +1168,7 @@ end # node when the builder constructs the AST, making its methods available # to all `def` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#8 class RuboCop::AST::DefNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::MethodIdentifierPredicates @@ -1179,14 +1180,14 @@ class RuboCop::AST::DefNode < ::RuboCop::AST::Node # which are rumored to be added in a later version of Ruby. # @return [Boolean] whether the `def` node uses argument forwarding # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#26 def argument_forwarding?; end # An array containing the arguments of the method definition. # # @return [Array] the arguments of the method definition # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#40 def arguments; end # The body of the method definition. @@ -1196,33 +1197,33 @@ class RuboCop::AST::DefNode < ::RuboCop::AST::Node # expression. # @return [Node] the body of the method definition # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#51 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#51 def body; end # @return [Boolean] if the definition is without an `end` or not. # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#63 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#63 def endless?; end # The name of the defined method as a symbol. # # @return [Symbol] the name of the defined method # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#33 def method_name; end # The receiver of the method definition, if any. # # @return [Node, nil] the receiver of the method definition, or `nil`. # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#58 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#58 def receiver; end # Checks whether this node body is a void context. # # @return [Boolean] whether the `def` node body is a void context # - # source://rubocop-ast/lib/rubocop/ast/node/def_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/def_node.rb#15 def void_context?; end end @@ -1230,30 +1231,30 @@ end # plain node when the builder constructs the AST, making its methods # available to all `send` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/defined_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#8 class RuboCop::AST::DefinedNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2lib/ast/node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#16 def arguments; end - # source://rubocop-ast/lib/rubocop/ast/node/defined_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#12 def node_parts; end end # Common functionality for primitive literal nodes: `sym`, `str`, # `int`, `float`, ... # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#7 module RuboCop::AST::Descendence # Returns an array of child nodes. # This is a shorthand for `node.each_child_node.to_a`. # # @return [Array] an array of child nodes # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#38 def child_nodes; end # Returns an array of descendant nodes. @@ -1261,7 +1262,7 @@ module RuboCop::AST::Descendence # # @return [Array] an array of descendant nodes # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#72 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#72 def descendants; end # Calls the given block for each child node. @@ -1276,7 +1277,7 @@ module RuboCop::AST::Descendence # @return [Enumerator] if no block is given # @yieldparam node [Node] each child node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#22 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#22 def each_child_node(*types); end # Calls the given block for each descendant node with depth first order. @@ -1289,7 +1290,7 @@ module RuboCop::AST::Descendence # @return [Enumerator] if no block is given # @yieldparam node [Node] each descendant node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#60 def each_descendant(*types, &block); end # Calls the given block for the receiver and each descendant node in @@ -1306,12 +1307,12 @@ module RuboCop::AST::Descendence # @return [Enumerator] if no block is given # @yieldparam node [Node] each node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#95 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#95 def each_node(*types, &block); end protected - # source://rubocop-ast/lib/rubocop/ast/node/mixin/descendence.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#107 def visit_descendants(types, &block); end end @@ -1319,9 +1320,9 @@ end # in place of a plain node when the builder constructs the AST, making # its methods available to all `dstr` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/dstr_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/dstr_node.rb#8 class RuboCop::AST::DstrNode < ::RuboCop::AST::StrNode - # source://rubocop-ast/lib/rubocop/ast/node/dstr_node.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/dstr_node.rb#9 def value; end end @@ -1329,28 +1330,28 @@ end # node when the builder constructs the AST, making its methods available # to all `ensure` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/ensure_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#8 class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node # Returns the body of the `ensure` clause. # # @deprecated Use `EnsureNode#branch` # @return [Node, nil] The body of the `ensure`. # - # source://rubocop-ast/lib/rubocop/ast/node/ensure_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#13 def body; end # Returns an the ensure branch in the exception handling statement. # # @return [Node, nil] the body of the ensure branch. # - # source://rubocop-ast/lib/rubocop/ast/node/ensure_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#20 def branch; end # Returns the `rescue` node of the `ensure`, if present. # # @return [Node, nil] The `rescue` node. # - # source://rubocop-ast/lib/rubocop/ast/node/ensure_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#27 def rescue_node; end # Checks whether this node body is a void context. @@ -1358,16 +1359,16 @@ class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node # # @return [true] whether the `ensure` node body is a void context # - # source://rubocop-ast/lib/rubocop/ast/node/ensure_node.rb#35 + # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#35 def void_context?; end end -# source://rubocop-ast/lib/rubocop/ast/ext/range.rb#5 +# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#5 module RuboCop::AST::Ext; end # Extensions to Parser::AST::Range # -# source://rubocop-ast/lib/rubocop/ast/ext/range.rb#7 +# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#7 module RuboCop::AST::Ext::Range # If `exclude_end` is `true`, then the range will be exclusive. # @@ -1383,7 +1384,7 @@ module RuboCop::AST::Ext::Range # # @return [Range] the range of line numbers for the node # - # source://rubocop-ast/lib/rubocop/ast/ext/range.rb#20 + # source://rubocop-ast//lib/rubocop/ast/ext/range.rb#20 def line_span(exclude_end: T.unsafe(nil)); end end @@ -1391,7 +1392,7 @@ end # node when the builder constructs the AST, making its methods available to # all `float` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/float_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/float_node.rb#8 class RuboCop::AST::FloatNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode include ::RuboCop::AST::NumericNode @@ -1401,41 +1402,41 @@ end # node when the builder constructs the AST, making its methods available # to all `for` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#8 class RuboCop::AST::ForNode < ::RuboCop::AST::Node # Returns the body of the `for` loop. # # @return [Node, nil] The body of the `for` loop. # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#48 def body; end # Returns the collection the `for` loop is iterating over. # # @return [Node] The collection the `for` loop is iterating over # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#41 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#41 def collection; end # Checks whether the `for` node has a `do` keyword. # # @return [Boolean] whether the `for` node has a `do` keyword # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#19 def do?; end # Returns the keyword of the `for` statement as a string. # # @return [String] the keyword of the `until` statement # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#12 def keyword; end # Returns the iteration variable of the `for` loop. # # @return [Node] The iteration variable of the `for` loop # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#34 def variable; end # Checks whether this node body is a void context. @@ -1443,7 +1444,7 @@ class RuboCop::AST::ForNode < ::RuboCop::AST::Node # # @return [true] whether the `for` node body is a void context # - # source://rubocop-ast/lib/rubocop/ast/node/for_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#27 def void_context?; end end @@ -1466,28 +1467,28 @@ end # The main RuboCop runs in legacy mode; this node is only used # if user `AST::Builder.modernize` or `AST::Builder.emit_lambda=true` # -# source://rubocop-ast/lib/rubocop/ast/node/forward_args_node.rb#23 +# source://rubocop-ast//lib/rubocop/ast/node/forward_args_node.rb#23 class RuboCop::AST::ForwardArgsNode < ::RuboCop::AST::Node include ::RuboCop::AST::CollectionNode # Node wraps itself in an array to be compatible with other # enumerable argument types. # - # source://rubocop-ast/lib/rubocop/ast/node/forward_args_node.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node/forward_args_node.rb#28 def to_a; end end # Common functionality for nodes that can be used as hash elements: # `pair`, `kwsplat` # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#7 module RuboCop::AST::HashElementNode # Returns the delta between this element's delimiter and the argument's. # # @note Pairs with different delimiter styles return a delta of 0 # @return [Integer] the delta between the two delimiters # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#61 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#61 def delimiter_delta(other); end # Returns the key of this `hash` element. @@ -1495,7 +1496,7 @@ module RuboCop::AST::HashElementNode # @note For keyword splats, this returns the whole node # @return [Node] the key of the hash element # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#13 def key; end # Returns the delta between this pair's key and the argument pair's. @@ -1505,7 +1506,7 @@ module RuboCop::AST::HashElementNode # @param alignment [Symbol] whether to check the left or right side # @return [Integer] the delta between the two keys # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#43 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#43 def key_delta(other, alignment = T.unsafe(nil)); end # Checks whether this `hash` element is on the same line as `other`. @@ -1514,7 +1515,7 @@ module RuboCop::AST::HashElementNode # shares any of its lines with `other` # @return [Boolean] whether this element is on the same line as `other` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#32 def same_line?(other); end # Returns the value of this `hash` element. @@ -1522,7 +1523,7 @@ module RuboCop::AST::HashElementNode # @note For keyword splats, this returns the whole node # @return [Node] the value of the hash element # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#22 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#22 def value; end # Returns the delta between this element's value and the argument's. @@ -1530,53 +1531,53 @@ module RuboCop::AST::HashElementNode # @note Keyword splats always return a delta of 0 # @return [Integer] the delta between the two values # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#52 def value_delta(other); end end # A helper class for comparing the positions of different parts of a # `pair` node. # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#67 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#67 class RuboCop::AST::HashElementNode::HashElementDelta # @raise [ArgumentError] # @return [HashElementDelta] a new instance of HashElementDelta # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#68 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#68 def initialize(first, second); end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#89 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#89 def delimiter_delta; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#75 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#75 def key_delta(alignment = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#82 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#82 def value_delta; end private - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#106 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#106 def delta(first, second, alignment = T.unsafe(nil)); end # Returns the value of attribute first. # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#98 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#98 def first; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#117 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#117 def keyword_splat?; end # Returns the value of attribute second. # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#98 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#98 def second; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/hash_element_node.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#100 def valid_argument_types?; end end @@ -1584,13 +1585,13 @@ end # node when the builder constructs the AST, making its methods available # to all `hash` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#8 class RuboCop::AST::HashNode < ::RuboCop::AST::Node # Checks whether the `hash` literal is delimited by curly braces. # # @return [Boolean] whether the `hash` literal is enclosed in braces # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#117 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#117 def braces?; end # Calls the given block for each `key` node in the `hash` literal. @@ -1600,7 +1601,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @return [self] if a block is given # @return [Enumerator] if no block is given # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#59 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#59 def each_key(&block); end # Calls the given block for each `pair` node in the `hash` literal. @@ -1610,7 +1611,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @return [self] if a block is given # @return [Enumerator] if no block is given # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#33 def each_pair; end # Calls the given block for each `value` node in the `hash` literal. @@ -1620,7 +1621,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @return [self] if a block is given # @return [Enumerator] if no block is given # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#83 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#83 def each_value(&block); end # Checks whether the `hash` node contains any `pair`- or `kwsplat` nodes. @@ -1629,7 +1630,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#22 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#22 def empty?; end # Returns an array of all the keys in the `hash` literal. @@ -1637,7 +1638,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @note `kwsplat` nodes are ignored. # @return [Array] an array of keys in the `hash` literal # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#48 def keys; end # Checks whether this `hash` uses a mix of hash rocket and colon @@ -1646,7 +1647,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @note `kwsplat` nodes are ignored. # @return [Boolean] whether the `hash` uses mixed delimiters # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#110 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#110 def mixed_delimiters?; end # Returns an array of all the key value pairs in the `hash` literal. @@ -1656,7 +1657,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @note this may be different from children as `kwsplat` nodes are # @return [Array] an array of `pair` nodes # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#15 def pairs; end # Checks whether any of the key value pairs in the `hash` literal are on @@ -1667,7 +1668,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @note `kwsplat` nodes are ignored. # @return [Boolean] whether any `pair` nodes are on the same line # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#100 def pairs_on_same_line?; end # Returns an array of all the values in the `hash` literal. @@ -1675,7 +1676,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # @note `kwsplat` nodes are ignored. # @return [Array] an array of values in the `hash` literal # - # source://rubocop-ast/lib/rubocop/ast/node/hash_node.rb#72 + # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#72 def values; end end @@ -1683,7 +1684,7 @@ end # node when the builder constructs the AST, making its methods available # to all `if` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#8 class RuboCop::AST::IfNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode include ::RuboCop::AST::ModifierNode @@ -1692,12 +1693,12 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Array] an array of branch nodes # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#154 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#154 def branches; end # @deprecated Use `branches.each` # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#171 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#171 def each_branch(&block); end # Checks whether the `if` node has an `else` clause. @@ -1706,7 +1707,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # This is legacy behavior, and many cops rely on it. # @return [Boolean] whether the node has an `else` clause # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#49 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#49 def else?; end # Returns the branch of the `if` node that gets evaluated when its @@ -1716,7 +1717,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # @return [Node] the falsey branch node of the `if` node # @return [nil] when there is no else branch # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#133 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#133 def else_branch; end # Checks whether the `if` is an `elsif`. Parser handles these by nesting @@ -1724,7 +1725,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Boolean] whether the node is an `elsif` # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#39 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#39 def elsif?; end # Checks whether the `if` node has at least one `elsif` branch. Returns @@ -1732,7 +1733,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `if` node has at least one `elsif` branch # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#111 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#111 def elsif_conditional?; end # Checks whether this node is an `if` statement. (This is not true of @@ -1740,7 +1741,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Boolean] whether the node is an `if` statement # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#16 def if?; end # Returns the branch of the `if` node that gets evaluated when its @@ -1750,7 +1751,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # @return [Node] the truthy branch node of the `if` node # @return [nil] if the truthy branch is empty # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#122 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#122 def if_branch; end # Returns the inverse keyword of the `if` node as a string. Returns `if` @@ -1759,7 +1760,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [String] the inverse keyword of the `if` statement # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#73 def inverse_keyword; end # Returns the keyword of the `if` statement as a string. Returns an empty @@ -1767,7 +1768,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [String] the keyword of the `if` statement # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#64 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#64 def keyword; end # Checks whether the `if` node is in a modifier form, i.e. a condition @@ -1776,7 +1777,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `if` node is a modifier # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#87 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#87 def modifier_form?; end # Checks whether the `if` node has nested `if` nodes in any of its @@ -1785,7 +1786,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # @note This performs a shallow search. # @return [Boolean] whether the `if` node contains nested conditionals # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#97 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#97 def nested_conditional?; end # Custom destructuring method. This is used to normalize the branches @@ -1793,21 +1794,21 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Array] the different parts of the `if` statement # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#141 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#141 def node_parts; end # Checks whether the `if` node is a ternary operator. # # @return [Boolean] whether the `if` node is a ternary operator # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#56 def ternary?; end # Checks whether the `if` node has an `then` clause. # # @return [Boolean] whether the node has an `then` clause # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#31 def then?; end # Checks whether this node is an `unless` statement. (This is not true @@ -1815,7 +1816,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node # # @return [Boolean] whether the node is an `unless` statement # - # source://rubocop-ast/lib/rubocop/ast/node/if_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#24 def unless?; end end @@ -1823,34 +1824,34 @@ end # node when the builder constructs the AST, making its methods available # to all `in` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/in_pattern_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#8 class RuboCop::AST::InPatternNode < ::RuboCop::AST::Node # Returns the body of the `in` node. # # @return [Node, nil] the body of the `in` node # - # source://rubocop-ast/lib/rubocop/ast/node/in_pattern_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#33 def body; end # Returns the index of the `in` branch within the `case` statement. # # @return [Integer] the index of the `in` branch # - # source://rubocop-ast/lib/rubocop/ast/node/in_pattern_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#19 def branch_index; end # Returns a node of the pattern in the `in` branch. # # @return [Node] a pattern node # - # source://rubocop-ast/lib/rubocop/ast/node/in_pattern_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#12 def pattern; end # Checks whether the `in` node has a `then` keyword. # # @return [Boolean] whether the `in` node has a `then` keyword # - # source://rubocop-ast/lib/rubocop/ast/node/in_pattern_node.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#26 def then?; end end @@ -1869,7 +1870,7 @@ end # The main RuboCop runs in legacy mode; this node is only used # if user `AST::Builder.modernize` or `AST::Builder.emit_index=true` # -# source://rubocop-ast/lib/rubocop/ast/node/index_node.rb#19 +# source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#19 class RuboCop::AST::IndexNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::RestArguments @@ -1880,19 +1881,19 @@ class RuboCop::AST::IndexNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/index_node.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#29 def assignment_method?; end # For similarity with legacy mode # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/index_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#24 def attribute_accessor?; end # For similarity with legacy mode # - # source://rubocop-ast/lib/rubocop/ast/node/index_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#34 def method_name; end private @@ -1901,7 +1902,7 @@ class RuboCop::AST::IndexNode < ::RuboCop::AST::Node # # @return [Array] the arguments of the dispatched method # - # source://rubocop-ast/lib/rubocop/ast/node/index_node.rb#43 + # source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#43 def first_argument_index; end end @@ -1922,7 +1923,7 @@ end # The main RuboCop runs in legacy mode; this node is only used # if user `AST::Builder.modernize` or `AST::Builder.emit_index=true` # -# source://rubocop-ast/lib/rubocop/ast/node/indexasgn_node.rb#21 +# source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#21 class RuboCop::AST::IndexasgnNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::RestArguments @@ -1933,19 +1934,19 @@ class RuboCop::AST::IndexasgnNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/indexasgn_node.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#31 def assignment_method?; end # For similarity with legacy mode # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/indexasgn_node.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#26 def attribute_accessor?; end # For similarity with legacy mode # - # source://rubocop-ast/lib/rubocop/ast/node/indexasgn_node.rb#36 + # source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#36 def method_name; end private @@ -1954,7 +1955,7 @@ class RuboCop::AST::IndexasgnNode < ::RuboCop::AST::Node # # @return [Array] the arguments of the dispatched method # - # source://rubocop-ast/lib/rubocop/ast/node/indexasgn_node.rb#45 + # source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#45 def first_argument_index; end end @@ -1962,7 +1963,7 @@ end # node when the builder constructs the AST, making its methods available to # all `int` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/int_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/int_node.rb#8 class RuboCop::AST::IntNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode include ::RuboCop::AST::NumericNode @@ -1972,28 +1973,28 @@ end # node when the builder constructs the AST, making its methods available # to all `kwbegin` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/keyword_begin_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/keyword_begin_node.rb#8 class RuboCop::AST::KeywordBeginNode < ::RuboCop::AST::Node # Returns the body of the `kwbegin` block. Returns `self` if the `kwbegin` contains # multiple nodes. # # @return [Node, nil] The body of the `kwbegin`. # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_begin_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_begin_node.rb#13 def body; end # Returns the `rescue` node of the `kwbegin` block, if one is present. # # @return [Node, nil] The `rescue` node within `kwbegin`. # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_begin_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_begin_node.rb#30 def ensure_node; end # Returns the `rescue` node of the `kwbegin` block, if one is present. # # @return [Node, nil] The `rescue` node within `kwbegin`. # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_begin_node.rb#37 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_begin_node.rb#37 def rescue_node; end end @@ -2001,7 +2002,7 @@ end # place of a plain node when the builder constructs the AST, making its methods available to # all `kwsplat` and `forwarded_kwrestarg` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#8 class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node include ::RuboCop::AST::HashElementNode @@ -2010,7 +2011,7 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node # # @return [false] # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#26 def colon?; end # This is used for duck typing with `pair` nodes which also appear as @@ -2018,14 +2019,14 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node # # @return [false] # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#18 def hash_rocket?; end # This provides `forwarded_kwrestarg` node to return true to be compatible with `kwsplat` node. # # @return [true] # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#48 def kwsplat_type?; end # Custom destructuring method. This is used to normalize the branches @@ -2033,18 +2034,18 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node # # @return [Array] the different parts of the `kwsplat` # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#41 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#41 def node_parts; end # Returns the operator for the `kwsplat` as a string. # # @return [String] the double splat operator # - # source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#33 def operator; end end -# source://rubocop-ast/lib/rubocop/ast/node/keyword_splat_node.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#11 RuboCop::AST::KeywordSplatNode::DOUBLE_SPLAT = T.let(T.unsafe(nil), String) # Used for modern support only: @@ -2066,7 +2067,7 @@ RuboCop::AST::KeywordSplatNode::DOUBLE_SPLAT = T.let(T.unsafe(nil), String) # The main RuboCop runs in legacy mode; this node is only used # if user `AST::Builder.modernize` or `AST::Builder.emit_lambda=true` # -# source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#23 +# source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#23 class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::RestArguments @@ -2077,45 +2078,45 @@ class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#43 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#43 def assignment_method?; end # For similarity with legacy mode # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#38 def attribute_accessor?; end # For similarity with legacy mode # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#28 def lambda?; end # For similarity with legacy mode # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#33 def lambda_literal?; end # For similarity with legacy mode # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#53 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#53 def method_name; end # For similarity with legacy mode # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#48 def receiver; end private # For similarity with legacy mode # - # source://rubocop-ast/lib/rubocop/ast/node/lambda_node.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#60 def first_argument_index; end end @@ -2123,11 +2124,11 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#8 class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node # @return [Array] the assignment nodes of the multiple assignment # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#16 def assignments; end # The RHS (right hand side) of the multiple assignment. This returns @@ -2139,17 +2140,17 @@ class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node # # @return [Node] the right hand side of a multiple assignment. # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#39 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#39 def expression; end # @return [MlhsNode] the `mlhs` node # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#10 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#10 def lhs; end # @return [Array] names of all the variables being assigned # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#21 def names; end # The RHS (right hand side) of the multiple assignment. This returns @@ -2161,7 +2162,7 @@ class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node # # @return [Node] the right hand side of a multiple assignment. # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#39 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#42 def rhs; end # In contrast to `expression`, `values` always returns a Ruby array @@ -2173,14 +2174,14 @@ class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node # # @return [Array] individual values being assigned on the RHS of the multiple assignment # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#52 def values; end private # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/masgn_node.rb#58 + # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#58 def multiple_rhs?; end end @@ -2188,7 +2189,7 @@ end # `send`, `csend`, `super`, `zsuper`, `yield`, `defined?`, # and (modern only): `index`, `indexasgn`, `lambda` # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#8 module RuboCop::AST::MethodDispatchNode include ::RuboCop::AST::MethodIdentifierPredicates extend ::RuboCop::AST::NodePattern::Macros @@ -2197,10 +2198,10 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the dispatched method is an access modifier # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#64 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#64 def access_modifier?; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#273 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#273 def adjacent_def_modifier?(param0 = T.unsafe(nil)); end # Checks whether this node is an arithmetic operation @@ -2208,14 +2209,14 @@ module RuboCop::AST::MethodDispatchNode # @return [Boolean] whether the dispatched method is an arithmetic # operation # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#175 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#175 def arithmetic_operation?; end # Checks whether the dispatched method is a setter method. # # @return [Boolean] whether the dispatched method is a setter # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#110 def assignment?; end # Checks whether the dispatched method is a bare access modifier that @@ -2224,10 +2225,10 @@ module RuboCop::AST::MethodDispatchNode # @return [Boolean] whether the dispatched method is a bare # access modifier # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#73 def bare_access_modifier?; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#278 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#278 def bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end # Checks whether this is a binary operation. @@ -2237,14 +2238,14 @@ module RuboCop::AST::MethodDispatchNode # foo + bar # @return [Boolean] whether this method is a binary operation # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#248 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#248 def binary_operation?; end # Whether this method dispatch has an explicit block. # # @return [Boolean] whether the dispatched method has a block # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#167 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#167 def block_literal?; end # The `block` or `numblock` node associated with this method dispatch, if any. @@ -2252,7 +2253,7 @@ module RuboCop::AST::MethodDispatchNode # @return [BlockNode, nil] the `block` or `numblock` node associated with this method # call or `nil` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46 def block_node; end # Checks whether the name of the dispatched method matches the argument @@ -2261,7 +2262,7 @@ module RuboCop::AST::MethodDispatchNode # @param name [Symbol, String] the method name to check for # @return [Boolean] whether the method name matches the argument # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#100 def command?(name); end # Checks whether the *explicit* receiver of this method dispatch is a @@ -2270,7 +2271,7 @@ module RuboCop::AST::MethodDispatchNode # @return [Boolean] whether the receiver of this method dispatch # is a `const` node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#152 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#152 def const_receiver?; end # Checks if this node is part of a chain of `def` or `defs` modifiers. @@ -2282,7 +2283,7 @@ module RuboCop::AST::MethodDispatchNode # private def foo; end # @return [Node | nil] returns the `def|defs` node this is a modifier for, # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#199 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#199 def def_modifier(node = T.unsafe(nil)); end # Checks if this node is part of a chain of `def` or `defs` modifiers. @@ -2294,7 +2295,7 @@ module RuboCop::AST::MethodDispatchNode # private def foo; end # @return [Boolean] whether the `def|defs` node is a modifier or not. # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#187 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#187 def def_modifier?(node = T.unsafe(nil)); end # Checks whether the dispatched method uses a dot to connect the @@ -2305,7 +2306,7 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the method was called with a connecting dot # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#119 def dot?; end # Checks whether the dispatched method uses a double colon to connect the @@ -2313,7 +2314,7 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the method was called with a connecting dot # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#127 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#127 def double_colon?; end # Checks whether the method dispatch is the implicit form of `#call`, @@ -2321,10 +2322,10 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the method is the implicit form of `#call` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#160 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#160 def implicit_call?; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#257 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#257 def in_macro_scope?(param0 = T.unsafe(nil)); end # Checks whether this is a lambda. Some versions of parser parses @@ -2332,7 +2333,7 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether this method is a lambda # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#213 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#213 def lambda?; end # Checks whether this is a lambda literal (stabby lambda.) @@ -2342,7 +2343,7 @@ module RuboCop::AST::MethodDispatchNode # -> (foo) { bar } # @return [Boolean] whether this method is a lambda literal # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#224 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#224 def lambda_literal?; end # Checks whether the dispatched method is a macro method. A macro method @@ -2352,14 +2353,14 @@ module RuboCop::AST::MethodDispatchNode # @note This does not include DSLs that use nested blocks, like RSpec # @return [Boolean] whether the dispatched method is a macro method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#57 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#57 def macro?; end # The name of the dispatched method as a symbol. # # @return [Symbol] the name of the dispatched method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#27 def method_name; end # Checks whether the dispatched method is a non-bare access modifier that @@ -2368,17 +2369,17 @@ module RuboCop::AST::MethodDispatchNode # @return [Boolean] whether the dispatched method is a non-bare # access modifier # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#82 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#82 def non_bare_access_modifier?; end - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#283 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#283 def non_bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end # The receiving node of the method dispatch. # # @return [Node, nil] the receiver of the dispatched method or `nil` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#20 def receiver; end # Checks whether the dispatched method uses a safe navigation operator to @@ -2386,14 +2387,14 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the method was called with a connecting dot # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#135 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#135 def safe_navigation?; end # The source range for the method name or keyword that dispatches this call. # # @return [Parser::Source::Range] the source range for the method name or keyword # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#34 def selector; end # Checks whether the *explicit* receiver of this method dispatch is @@ -2401,14 +2402,14 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the receiver of this method dispatch is `self` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#143 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#143 def self_receiver?; end # Checks whether the dispatched method is a setter method. # # @return [Boolean] whether the dispatched method is a setter # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107 def setter_method?; end # Checks whether the dispatched method is a bare `private` or `protected` @@ -2417,7 +2418,7 @@ module RuboCop::AST::MethodDispatchNode # @return [Boolean] whether the dispatched method is a bare # `private` or `protected` access modifier # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#91 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#91 def special_modifier?; end # Checks whether this is a unary operation. @@ -2427,14 +2428,14 @@ module RuboCop::AST::MethodDispatchNode # -foo # @return [Boolean] whether this method is a unary operation # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#235 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#235 def unary_operation?; end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#12 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#12 RuboCop::AST::MethodDispatchNode::ARITHMETIC_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_dispatch_node.rb#14 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#14 RuboCop::AST::MethodDispatchNode::SPECIAL_MODIFIERS = T.let(T.unsafe(nil), Array) # Common predicates for nodes that reference method identifiers: @@ -2442,20 +2443,20 @@ RuboCop::AST::MethodDispatchNode::SPECIAL_MODIFIERS = T.let(T.unsafe(nil), Array # # @note this mixin expects `#method_name` and `#receiver` to be implemented # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#9 module RuboCop::AST::MethodIdentifierPredicates # Checks whether the method is an assignment method. # # @return [Boolean] whether the method is an assignment # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#142 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#142 def assignment_method?; end # Checks whether the method is a bang method. # # @return [Boolean] whether the method is a bang method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#171 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#171 def bang_method?; end # Checks whether the method is a camel case method, @@ -2463,35 +2464,35 @@ module RuboCop::AST::MethodIdentifierPredicates # # @return [Boolean] whether the method is a camel case method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#179 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#179 def camel_case_method?; end # Checks whether the method is a comparison method. # # @return [Boolean] whether the method is a comparison # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#135 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#135 def comparison_method?; end # Checks whether the *explicit* receiver of node is a `const` node. # # @return [Boolean] whether the receiver of this node is a `const` node # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#193 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#193 def const_receiver?; end # Checks whether the method is an Enumerable method. # # @return [Boolean] whether the method is an Enumerable method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#157 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#157 def enumerable_method?; end # Checks whether the method is an enumerator method. # # @return [Boolean] whether the method is an enumerator # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#149 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#149 def enumerator_method?; end # Checks whether the method name matches the argument. @@ -2499,128 +2500,128 @@ module RuboCop::AST::MethodIdentifierPredicates # @param name [Symbol, String] the method name to check for # @return [Boolean] whether the method name matches the argument # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#79 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#79 def method?(name); end # Checks whether this is a negation method, i.e. `!` or keyword `not`. # # @return [Boolean] whether this method is a negation method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#200 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#200 def negation_method?; end # Checks whether the method is a nonmutating Array method. # # @return [Boolean] whether the method is a nonmutating Array method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#114 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#114 def nonmutating_array_method?; end # Checks whether the method is a nonmutating binary operator method. # # @return [Boolean] whether the method is a nonmutating binary operator method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#93 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#93 def nonmutating_binary_operator_method?; end # Checks whether the method is a nonmutating Hash method. # # @return [Boolean] whether the method is a nonmutating Hash method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#121 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#121 def nonmutating_hash_method?; end # Checks whether the method is a nonmutating operator method. # # @return [Boolean] whether the method is a nonmutating operator method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#107 def nonmutating_operator_method?; end # Checks whether the method is a nonmutating String method. # # @return [Boolean] whether the method is a nonmutating String method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#128 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#128 def nonmutating_string_method?; end # Checks whether the method is a nonmutating unary operator method. # # @return [Boolean] whether the method is a nonmutating unary operator method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#100 def nonmutating_unary_operator_method?; end # Checks whether the method is an operator method. # # @return [Boolean] whether the method is an operator # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#86 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#86 def operator_method?; end # Checks whether the method is a predicate method. # # @return [Boolean] whether the method is a predicate method # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#164 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#164 def predicate_method?; end # Checks whether this is a prefix bang method, e.g. `!foo`. # # @return [Boolean] whether this method is a prefix bang # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#214 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#214 def prefix_bang?; end # Checks whether this is a prefix not method, e.g. `not foo`. # # @return [Boolean] whether this method is a prefix not # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#207 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#207 def prefix_not?; end # Checks whether the *explicit* receiver of this node is `self`. # # @return [Boolean] whether the receiver of this node is `self` # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#186 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#186 def self_receiver?; end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#16 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#16 RuboCop::AST::MethodIdentifierPredicates::ENUMERABLE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#10 RuboCop::AST::MethodIdentifierPredicates::ENUMERATOR_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#32 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#32 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_ARRAY_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#24 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#24 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_BINARY_OPERATOR_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#48 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#48 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_HASH_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#28 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#28 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_OPERATOR_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#59 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#59 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_STRING_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#26 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#26 RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_UNARY_OPERATOR_METHODS = T.let(T.unsafe(nil), Set) # http://phrogz.net/programmingruby/language.html#table_18.4 # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#20 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#20 RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil), Set) # A node extension for `mlhs` nodes. # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/mlhs_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#8 class RuboCop::AST::MlhsNode < ::RuboCop::AST::Node # Returns all the assignment nodes on the left hand side (LHS) of a multiple assignment. # These are generally assignment nodes (`lvasgn`, `ivasgn`, `cvasgn`, `gvasgn`, `casgn`) @@ -2629,21 +2630,21 @@ class RuboCop::AST::MlhsNode < ::RuboCop::AST::Node # # @return [Array] the assignment nodes of the multiple assignment LHS # - # source://rubocop-ast/lib/rubocop/ast/node/mlhs_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#15 def assignments; end end # Common functionality for nodes that can be used as modifiers: # `if`, `while`, `until` # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/modifier_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/modifier_node.rb#7 module RuboCop::AST::ModifierNode # Checks whether the node is in a modifier form, i.e. a condition # trailing behind an expression. # # @return [Boolean] whether the node is a modifier # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/modifier_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/modifier_node.rb#12 def modifier_form?; end end @@ -2651,20 +2652,20 @@ end # plain node when the builder constructs the AST, making its methods # available to all `module` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/module_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/module_node.rb#8 class RuboCop::AST::ModuleNode < ::RuboCop::AST::Node # The body of this `module` node. # # @return [Node, nil] the body of the module # - # source://rubocop-ast/lib/rubocop/ast/node/module_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/module_node.rb#19 def body; end # The identifier for this `module` node. # # @return [Node] the identifier of the module # - # source://rubocop-ast/lib/rubocop/ast/node/module_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/module_node.rb#12 def identifier; end end @@ -2672,7 +2673,7 @@ end # plain node when the builder constructs the AST, making its methods # available to all `next` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/next_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/next_node.rb#8 class RuboCop::AST::NextNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::WrappedArguments @@ -2694,7 +2695,7 @@ end # # Find the first lvar node under the receiver node. # lvar_node = node.each_descendant.find(&:lvar_type?) # -# source://rubocop-ast/lib/rubocop/ast/node.rb#21 +# source://rubocop-ast//lib/rubocop/ast/node.rb#21 class RuboCop::AST::Node < ::Parser::AST::Node include ::RuboCop::AST::Sexp include ::RuboCop::AST::Descendence @@ -2703,19 +2704,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # @return [Node] a new instance of Node # @see https://www.rubydoc.info/gems/ast/AST/Node:initialize # - # source://rubocop-ast/lib/rubocop/ast/node.rb#141 + # source://rubocop-ast//lib/rubocop/ast/node.rb#141 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def __ENCODING___type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def __FILE___type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def __LINE___type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def alias_type?; end # Returns an array of ancestor nodes. @@ -2723,173 +2724,173 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] an array of ancestor nodes # - # source://rubocop-ast/lib/rubocop/ast/node.rb#306 + # source://rubocop-ast//lib/rubocop/ast/node.rb#306 def ancestors; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def and_asgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def and_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def arg_expr_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def arg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def args_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#511 + # source://rubocop-ast//lib/rubocop/ast/node.rb#511 def argument?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#515 + # source://rubocop-ast//lib/rubocop/ast/node.rb#515 def argument_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def array_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def array_pattern_with_tail_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def array_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#463 + # source://rubocop-ast//lib/rubocop/ast/node.rb#463 def assignment?; end # Some cops treat the shovel operator as a kind of assignment. # - # source://rubocop-ast/lib/rubocop/ast/node.rb#413 + # source://rubocop-ast//lib/rubocop/ast/node.rb#413 def assignment_or_similar?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def back_ref_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#467 + # source://rubocop-ast//lib/rubocop/ast/node.rb#467 def basic_conditional?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#421 + # source://rubocop-ast//lib/rubocop/ast/node.rb#421 def basic_literal?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def begin_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def block_pass_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def block_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def blockarg_expr_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def blockarg_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#519 + # source://rubocop-ast//lib/rubocop/ast/node.rb#519 def boolean_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def break_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#503 + # source://rubocop-ast//lib/rubocop/ast/node.rb#503 def call_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def case_match_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def case_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def casgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def cbase_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#507 + # source://rubocop-ast//lib/rubocop/ast/node.rb#507 def chained?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#570 + # source://rubocop-ast//lib/rubocop/ast/node.rb#570 def class_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#588 + # source://rubocop-ast//lib/rubocop/ast/node.rb#588 def class_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def class_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#203 + # source://rubocop-ast//lib/rubocop/ast/node.rb#203 def complete!; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#208 + # source://rubocop-ast//lib/rubocop/ast/node.rb#208 def complete?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def complex_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#471 + # source://rubocop-ast//lib/rubocop/ast/node.rb#471 def conditional?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#352 + # source://rubocop-ast//lib/rubocop/ast/node.rb#352 def const_name; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def const_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def const_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def csend_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def cvar_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def cvasgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def def_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#372 + # source://rubocop-ast//lib/rubocop/ast/node.rb#372 def defined_module; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#377 + # source://rubocop-ast//lib/rubocop/ast/node.rb#377 def defined_module_name; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def defined_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def defs_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def dstr_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def dsym_type?; end # Calls the given block for each ancestor node from parent to root. @@ -2902,163 +2903,163 @@ class RuboCop::AST::Node < ::Parser::AST::Node # @return [Enumerator] if no block is given # @yieldparam node [Node] each ancestor node # - # source://rubocop-ast/lib/rubocop/ast/node.rb#294 + # source://rubocop-ast//lib/rubocop/ast/node.rb#294 def each_ancestor(*types, &block); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def eflipflop_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def empty_else_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#407 + # source://rubocop-ast//lib/rubocop/ast/node.rb#407 def empty_source?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def ensure_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#455 + # source://rubocop-ast//lib/rubocop/ast/node.rb#455 def equals_asgn?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def erange_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def false_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#429 + # source://rubocop-ast//lib/rubocop/ast/node.rb#429 def falsey_literal?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def find_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#320 + # source://rubocop-ast//lib/rubocop/ast/node.rb#320 def first_line; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def float_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def for_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def forward_arg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def forward_args_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def forwarded_args_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def forwarded_kwrestarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def forwarded_restarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#567 + # source://rubocop-ast//lib/rubocop/ast/node.rb#567 def global_const?(param0 = T.unsafe(nil), param1); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#531 + # source://rubocop-ast//lib/rubocop/ast/node.rb#531 def guard_clause?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def gvar_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def gvasgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def hash_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def hash_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def ident_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def if_guard_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def if_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def iflipflop_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#437 + # source://rubocop-ast//lib/rubocop/ast/node.rb#437 def immutable_literal?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def in_match_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def in_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def index_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def indexasgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def int_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def irange_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def ivar_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def ivasgn_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#484 + # source://rubocop-ast//lib/rubocop/ast/node.rb#484 def keyword?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwargs_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwbegin_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwnilarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwoptarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwrestarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def kwsplat_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#561 + # source://rubocop-ast//lib/rubocop/ast/node.rb#561 def lambda?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#564 + # source://rubocop-ast//lib/rubocop/ast/node.rb#564 def lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def lambda_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#324 + # source://rubocop-ast//lib/rubocop/ast/node.rb#324 def last_line; end # Use is discouraged, this is a potentially slow method and can lead @@ -3066,7 +3067,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the left (aka previous) sibling # - # source://rubocop-ast/lib/rubocop/ast/node.rb#246 + # source://rubocop-ast//lib/rubocop/ast/node.rb#246 def left_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -3074,15 +3075,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the left (aka previous) siblings # - # source://rubocop-ast/lib/rubocop/ast/node.rb#256 + # source://rubocop-ast//lib/rubocop/ast/node.rb#256 def left_siblings; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#328 + # source://rubocop-ast//lib/rubocop/ast/node.rb#328 def line_count; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#417 + # source://rubocop-ast//lib/rubocop/ast/node.rb#417 def literal?; end # Shortcut to safely test a particular location, even if @@ -3090,86 +3091,86 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#539 + # source://rubocop-ast//lib/rubocop/ast/node.rb#539 def loc_is?(which_loc, str); end # NOTE: `loop { }` is a normal method call and thus not a loop keyword. # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#480 + # source://rubocop-ast//lib/rubocop/ast/node.rb#480 def loop_keyword?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def lvar_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def lvasgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def masgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_alt_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_as_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_current_line_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#549 + # source://rubocop-ast//lib/rubocop/ast/node.rb#549 def match_guard_clause?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_nil_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_pattern_p_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_pattern_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_rest_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_var_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_with_lvasgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def match_with_trailing_comma_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def mlhs_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#595 + # source://rubocop-ast//lib/rubocop/ast/node.rb#595 def module_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def module_type?; end # Predicates # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#399 + # source://rubocop-ast//lib/rubocop/ast/node.rb#399 def multiline?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#433 + # source://rubocop-ast//lib/rubocop/ast/node.rb#433 def mutable_literal?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#727 + # source://rubocop-ast//lib/rubocop/ast/node.rb#727 def new_class_or_module_block?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def next_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def nil_type?; end # Common destructuring method. This can be used to normalize @@ -3179,98 +3180,98 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the different parts of the ndde # - # source://ast/2.4.2lib/ast/node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node.rb#277 def node_parts; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#334 + # source://rubocop-ast//lib/rubocop/ast/node.rb#334 def nonempty_line_count; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def not_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def nth_ref_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def numargs_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def numblock_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#523 + # source://rubocop-ast//lib/rubocop/ast/node.rb#523 def numeric_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def objc_kwarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def objc_restarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def objc_varargs_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def op_asgn_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#495 + # source://rubocop-ast//lib/rubocop/ast/node.rb#495 def operator_keyword?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def optarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def or_asgn_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def or_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def pair_type?; end # Returns the parent node, or `nil` if the receiver is a root node. # # @return [Node, nil] the parent node or `nil` # - # source://rubocop-ast/lib/rubocop/ast/node.rb#185 + # source://rubocop-ast//lib/rubocop/ast/node.rb#185 def parent; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#194 + # source://rubocop-ast//lib/rubocop/ast/node.rb#194 def parent?; end # Searching the AST # - # source://rubocop-ast/lib/rubocop/ast/node.rb#383 + # source://rubocop-ast//lib/rubocop/ast/node.rb#383 def parent_module_name; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#499 + # source://rubocop-ast//lib/rubocop/ast/node.rb#499 def parenthesized_call?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def pin_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#475 + # source://rubocop-ast//lib/rubocop/ast/node.rb#475 def post_condition_loop?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def postexe_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def preexe_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#554 + # source://rubocop-ast//lib/rubocop/ast/node.rb#554 def proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def procarg0_type?; end # Some expressions are evaluated for their value, some for their side @@ -3283,60 +3284,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#638 + # source://rubocop-ast//lib/rubocop/ast/node.rb#638 def pure?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#527 + # source://rubocop-ast//lib/rubocop/ast/node.rb#527 def range_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def rational_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#345 + # source://rubocop-ast//lib/rubocop/ast/node.rb#345 def receiver(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#125 + # source://rubocop-ast//lib/rubocop/ast/node.rb#124 def recursive_basic_literal?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#125 + # source://rubocop-ast//lib/rubocop/ast/node.rb#124 def recursive_literal?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def redo_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#451 + # source://rubocop-ast//lib/rubocop/ast/node.rb#451 def reference?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def regexp_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def regopt_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def resbody_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def rescue_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def restarg_expr_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def restarg_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def retry_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def return_type?; end # Use is discouraged, this is a potentially slow method and can lead @@ -3344,7 +3345,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the right (aka next) sibling # - # source://rubocop-ast/lib/rubocop/ast/node.rb#237 + # source://rubocop-ast//lib/rubocop/ast/node.rb#237 def right_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -3352,18 +3353,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the right (aka next) siblings # - # source://rubocop-ast/lib/rubocop/ast/node.rb#265 + # source://rubocop-ast//lib/rubocop/ast/node.rb#265 def right_siblings; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#199 + # source://rubocop-ast//lib/rubocop/ast/node.rb#199 def root?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def sclass_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def self_type?; end # Most nodes are of 'send' type, so this method is defined @@ -3371,15 +3372,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#178 + # source://rubocop-ast//lib/rubocop/ast/node.rb#178 def send_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def shadowarg_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#459 + # source://rubocop-ast//lib/rubocop/ast/node.rb#459 def shorthand_asgn?; end # Returns the index of the receiver node in its siblings. (Sibling index @@ -3388,58 +3389,58 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Integer, nil] the index of the receiver node in its siblings # - # source://rubocop-ast/lib/rubocop/ast/node.rb#230 + # source://rubocop-ast//lib/rubocop/ast/node.rb#230 def sibling_index; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#403 + # source://rubocop-ast//lib/rubocop/ast/node.rb#403 def single_line?; end # NOTE: Some rare nodes may have no source, like `s(:args)` in `foo {}` # # @return [String, nil] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#312 + # source://rubocop-ast//lib/rubocop/ast/node.rb#312 def source; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#338 + # source://rubocop-ast//lib/rubocop/ast/node.rb#338 def source_length; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#316 + # source://rubocop-ast//lib/rubocop/ast/node.rb#316 def source_range; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#491 + # source://rubocop-ast//lib/rubocop/ast/node.rb#491 def special_keyword?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def splat_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#350 + # source://rubocop-ast//lib/rubocop/ast/node.rb#350 def str_content(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def str_type?; end # @deprecated Use `:class_constructor?` # - # source://rubocop-ast/lib/rubocop/ast/node.rb#583 + # source://rubocop-ast//lib/rubocop/ast/node.rb#583 def struct_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def super_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def sym_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def true_type?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#425 + # source://rubocop-ast//lib/rubocop/ast/node.rb#425 def truthy_literal?; end # Determine if the node is one of several node types in a single query @@ -3448,19 +3449,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#160 + # source://rubocop-ast//lib/rubocop/ast/node.rb#160 def type?(*types); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def undef_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def unless_guard_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def until_post_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def until_type?; end # Override `AST::Node#updated` so that `AST::Processor` does not try to @@ -3469,7 +3470,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # identical subtrees. Rather, the entire AST must be copied any time any # part of it is changed. # - # source://rubocop-ast/lib/rubocop/ast/node.rb#219 + # source://rubocop-ast//lib/rubocop/ast/node.rb#219 def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end # Some expressions are evaluated for their value, some for their side @@ -3482,204 +3483,204 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#608 + # source://rubocop-ast//lib/rubocop/ast/node.rb#608 def value_used?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#447 + # source://rubocop-ast//lib/rubocop/ast/node.rb#447 def variable?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def when_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def while_post_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def while_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def xstr_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def yield_type?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#169 def zsuper_type?; end protected - # source://rubocop-ast/lib/rubocop/ast/node.rb#189 + # source://rubocop-ast//lib/rubocop/ast/node.rb#189 def parent=(node); end private # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#666 + # source://rubocop-ast//lib/rubocop/ast/node.rb#666 def begin_value_used?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#677 + # source://rubocop-ast//lib/rubocop/ast/node.rb#677 def case_if_value_used?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#363 + # source://rubocop-ast//lib/rubocop/ast/node.rb#363 def defined_module0(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#671 + # source://rubocop-ast//lib/rubocop/ast/node.rb#671 def for_value_used?; end - # source://rubocop-ast/lib/rubocop/ast/node.rb#713 + # source://rubocop-ast//lib/rubocop/ast/node.rb#713 def parent_module_name_for_block(ancestor); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#701 + # source://rubocop-ast//lib/rubocop/ast/node.rb#701 def parent_module_name_for_sclass(sclass_node); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#688 + # source://rubocop-ast//lib/rubocop/ast/node.rb#688 def parent_module_name_part(node); end - # source://rubocop-ast/lib/rubocop/ast/node.rb#656 + # source://rubocop-ast//lib/rubocop/ast/node.rb#656 def visit_ancestors(types); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node.rb#683 + # source://rubocop-ast//lib/rubocop/ast/node.rb#683 def while_until_value_used?; end class << self private - # source://rubocop-ast/lib/rubocop/ast/node.rb#120 + # source://rubocop-ast//lib/rubocop/ast/node.rb#120 def def_recursive_literal_predicate(kind); end end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#80 +# source://rubocop-ast//lib/rubocop/ast/node.rb#80 RuboCop::AST::Node::ARGUMENT_TYPES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#55 +# source://rubocop-ast//lib/rubocop/ast/node.rb#55 RuboCop::AST::Node::ASSIGNMENTS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#58 +# source://rubocop-ast//lib/rubocop/ast/node.rb#58 RuboCop::AST::Node::BASIC_CONDITIONALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#42 +# source://rubocop-ast//lib/rubocop/ast/node.rb#42 RuboCop::AST::Node::BASIC_LITERALS = T.let(T.unsafe(nil), Set) # <=> isn't included here, because it doesn't return a boolean. # # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#28 +# source://rubocop-ast//lib/rubocop/ast/node.rb#28 RuboCop::AST::Node::COMPARISON_OPERATORS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#39 +# source://rubocop-ast//lib/rubocop/ast/node.rb#39 RuboCop::AST::Node::COMPOSITE_LITERALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#60 +# source://rubocop-ast//lib/rubocop/ast/node.rb#60 RuboCop::AST::Node::CONDITIONALS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node.rb#87 +# source://rubocop-ast//lib/rubocop/ast/node.rb#87 RuboCop::AST::Node::EMPTY_CHILDREN = T.let(T.unsafe(nil), Array) -# source://rubocop-ast/lib/rubocop/ast/node.rb#88 +# source://rubocop-ast//lib/rubocop/ast/node.rb#88 RuboCop::AST::Node::EMPTY_PROPERTIES = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#50 +# source://rubocop-ast//lib/rubocop/ast/node.rb#50 RuboCop::AST::Node::EQUALS_ASSIGNMENTS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#35 +# source://rubocop-ast//lib/rubocop/ast/node.rb#35 RuboCop::AST::Node::FALSEY_LITERALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#92 +# source://rubocop-ast//lib/rubocop/ast/node.rb#92 RuboCop::AST::Node::GROUP_FOR_TYPE = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#47 +# source://rubocop-ast//lib/rubocop/ast/node.rb#47 RuboCop::AST::Node::IMMUTABLE_LITERALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#70 +# source://rubocop-ast//lib/rubocop/ast/node.rb#70 RuboCop::AST::Node::KEYWORDS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#37 +# source://rubocop-ast//lib/rubocop/ast/node.rb#37 RuboCop::AST::Node::LITERALS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node.rb#83 +# source://rubocop-ast//lib/rubocop/ast/node.rb#83 RuboCop::AST::Node::LITERAL_RECURSIVE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node.rb#84 +# source://rubocop-ast//lib/rubocop/ast/node.rb#84 RuboCop::AST::Node::LITERAL_RECURSIVE_TYPES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#64 +# source://rubocop-ast//lib/rubocop/ast/node.rb#64 RuboCop::AST::Node::LOOP_TYPES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#44 +# source://rubocop-ast//lib/rubocop/ast/node.rb#44 RuboCop::AST::Node::MUTABLE_LITERALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#76 +# source://rubocop-ast//lib/rubocop/ast/node.rb#76 RuboCop::AST::Node::OPERATOR_KEYWORDS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#62 +# source://rubocop-ast//lib/rubocop/ast/node.rb#62 RuboCop::AST::Node::POST_CONDITION_LOOP_TYPES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#68 +# source://rubocop-ast//lib/rubocop/ast/node.rb#68 RuboCop::AST::Node::REFERENCES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#53 +# source://rubocop-ast//lib/rubocop/ast/node.rb#53 RuboCop::AST::Node::SHORTHAND_ASSIGNMENTS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#78 +# source://rubocop-ast//lib/rubocop/ast/node.rb#78 RuboCop::AST::Node::SPECIAL_KEYWORDS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#31 +# source://rubocop-ast//lib/rubocop/ast/node.rb#31 RuboCop::AST::Node::TRUTHY_LITERALS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node.rb#66 +# source://rubocop-ast//lib/rubocop/ast/node.rb#66 RuboCop::AST::Node::VARIABLES = T.let(T.unsafe(nil), Set) # This class performs a pattern-matching operation on an AST node. @@ -3701,68 +3702,68 @@ RuboCop::AST::Node::VARIABLES = T.let(T.unsafe(nil), Set) # - With no block, but multiple captures: captures are returned as an array. # - With no block and no captures: #match returns `true`. # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#5 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#5 class RuboCop::AST::NodePattern include ::RuboCop::AST::NodePattern::MethodDefiner extend ::RuboCop::SimpleForwardable # @return [NodePattern] a new instance of NodePattern # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#77 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#77 def initialize(str, compiler: T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#90 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#90 def ==(other); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#107 def as_json(_options = T.unsafe(nil)); end # Returns the value of attribute ast. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def ast; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def captures(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#111 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111 def encode_with(coder); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#90 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#93 def eql?(other); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#119 def freeze; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#115 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#115 def init_with(coder); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#103 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#103 def marshal_dump; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#99 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#99 def marshal_load(pattern); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#85 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#85 def match(*args, **rest, &block); end # Returns the value of attribute match_code. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def match_code; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def named_parameters(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute pattern. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def pattern; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def positional_parameters(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#95 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95 def to_s; end class << self @@ -3770,7 +3771,7 @@ class RuboCop::AST::NodePattern # # @yield [element] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#59 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#59 def descend(element, &block); end end end @@ -3780,51 +3781,51 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#10 class RuboCop::AST::NodePattern::Builder - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#17 def emit_atom(type, value); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#29 def emit_call(type, selector, args = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#11 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#11 def emit_capture(capture_token, node); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#25 def emit_list(type, _begin, children, _end); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#41 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#41 def emit_subsequence(node_list); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#21 def emit_unary_op(type, _operator = T.unsafe(nil), *children); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#34 def emit_union(begin_t, pattern_lists, end_t); end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#53 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#53 def n(type, *args); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#49 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#49 def optimizable_as_set?(children); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/builder.rb#57 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/builder.rb#57 def union_children(pattern_lists); end end # A NodePattern comment, simplified version of ::Parser::Source::Comment # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#7 class RuboCop::AST::NodePattern::Comment # @param range [Parser::Source::Range] # @return [Comment] a new instance of Comment # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#14 def initialize(range); end # Compares comments. Two comments are equal if they @@ -3833,27 +3834,27 @@ class RuboCop::AST::NodePattern::Comment # @param other [Object] # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#31 def ==(other); end # @return [String] a human-readable representation of this comment # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#39 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#39 def inspect; end # Returns the value of attribute location. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#8 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#9 def loc; end # Returns the value of attribute location. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#8 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#8 def location; end # @return [String] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/comment.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#20 def text; end end @@ -3863,79 +3864,79 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#11 class RuboCop::AST::NodePattern::Compiler extend ::RuboCop::SimpleForwardable # @return [Compiler] a new instance of Compiler # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15 def initialize; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#24 def bind(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute binding. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#13 def binding; end # Returns the value of attribute captures. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#13 def captures; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#42 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#42 def compile_as_atom(node); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#46 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#46 def compile_as_node_pattern(node, **options); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#50 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#50 def compile_sequence(sequence, var:); end # Enumerates `enum` while keeping track of state across # union branches (captures and unification). # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#38 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#38 def each_union(enum, &block); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#74 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#74 def freeze; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#31 def named_parameter(name); end # Returns the value of attribute named_parameters. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#13 def named_parameters; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#70 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#70 def next_capture; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#54 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#54 def parser; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#26 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#26 def positional_parameter(number); end # Returns the value of attribute positional_parameters. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#13 def positional_parameters; end # Utilities # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#60 def with_temp_variables(*names, &block); end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#81 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#81 def enforce_same_captures(enum); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler.rb#96 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#96 def new_capture; end end @@ -3945,150 +3946,150 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#12 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#12 class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#28 def visit_const; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#32 def visit_named_parameter; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#24 def visit_number; end # Assumes other types are node patterns. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#46 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#46 def visit_other_type; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#36 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#36 def visit_positional_parameter; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#26 def visit_regexp; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#40 def visit_set; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#25 def visit_string; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 def visit_symbol; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#15 def visit_unify; end end # Holds the list of bound variable names # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/binding.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#8 class RuboCop::AST::NodePattern::Compiler::Binding # @return [Binding] a new instance of Binding # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/binding.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#9 def initialize; end # Yields the first time a given name is bound # # @return [String] bound variable name # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/binding.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#16 def bind(name); end # Yields for each branch of the given union, forbidding unification of # bindings which only appear in a subset of the union. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/binding.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#31 def union_bind(enum); end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/binding.rb#69 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#69 def forbid(names); end end # Variant of the Compiler with tracing information for nodes # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#10 class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::Compiler # @return [Debug] a new instance of Debug # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#123 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123 def initialize; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#136 def comments(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#128 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128 def named_parameters; end # Returns the value of attribute node_ids. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#33 def node_ids; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132 def parser; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#136 def tokens(*_arg0, **_arg1, &_arg2); end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#36 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#36 class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer # @api private # @return [Colorizer] a new instance of Colorizer # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#96 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96 def initialize(pattern, compiler: T.unsafe(nil)); end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#94 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94 def compiler; end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#94 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94 def node_pattern; end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#94 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94 def pattern; end # @api private # @return [Node] the Ruby AST # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#103 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#103 def test(ruby, trace: T.unsafe(nil)); end private # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#111 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#111 def ruby_ast(ruby); end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#116 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#116 def ruby_parser; end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#37 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#37 RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::COLOR_SCHEME = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#92 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#92 RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST::NodePattern::Compiler::Debug # Result of a NodePattern run against a particular AST @@ -4096,129 +4097,154 @@ RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST:: # # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#46 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # @api private # @return [Hash] a map for {character_position => color} # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#56 def color_map(color_scheme = T.unsafe(nil)); end # @api private # @return [String] a Rainbow colorized version of ruby # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 def colorize(color_scheme = T.unsafe(nil)); end # Returns the value of attribute colorizer # # @return [Object] the current value of colorizer + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def colorizer; end # Sets the attribute colorizer # # @param value [Object] the value to set the attribute colorizer to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def colorizer=(_); end # @api private # @return [Hash] a map for {node => matched?}, depth-first # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#66 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#66 def match_map; end # @api private # @return [Boolean] a value of `Trace#matched?` or `:not_visitable` # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#74 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#74 def matched?(node); end # Returns the value of attribute returned # # @return [Object] the current value of returned + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def returned; end # Sets the attribute returned # # @param value [Object] the value to set the attribute returned to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def returned=(_); end # Returns the value of attribute ruby_ast # # @return [Object] the current value of ruby_ast + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def ruby_ast; end # Sets the attribute ruby_ast # # @param value [Object] the value to set the attribute ruby_ast to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def ruby_ast=(_); end # Returns the value of attribute trace # # @return [Object] the current value of trace + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def trace; end # Sets the attribute trace # # @param value [Object] the value to set the attribute trace to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def trace=(_); end private # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#87 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#87 def ast; end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#81 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#81 def color_map_for(node, color); end class << self + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def [](*_arg0); end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def inspect; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def keyword_init?; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def members; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def new(*_arg0); end end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#139 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#139 module RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#140 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#140 def do_compile; end private # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#150 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#150 def node_id; end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#146 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#146 def tracer(kind); end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#156 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#156 class RuboCop::AST::NodePattern::Compiler::Debug::NodePatternSubcompiler < ::RuboCop::AST::NodePattern::Compiler::NodePatternSubcompiler include ::RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler end # @api private # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#161 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#161 class RuboCop::AST::NodePattern::Compiler::Debug::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler include ::RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler end @@ -4226,24 +4252,24 @@ end # Compiled node pattern requires a named parameter `trace`, # which should be an instance of this class # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#13 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#13 class RuboCop::AST::NodePattern::Compiler::Debug::Trace # @return [Trace] a new instance of Trace # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#14 def initialize; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#18 def enter(node_id); end # return nil (not visited), false (not matched) or true (matched) # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#28 def matched?(node_id); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/debug.rb#23 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#23 def success(node_id); end end @@ -4254,89 +4280,89 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#13 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#13 class RuboCop::AST::NodePattern::Compiler::NodePatternSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler # @return [NodePatternSubcompiler] a new instance of NodePatternSubcompiler # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#16 def initialize(compiler, var: T.unsafe(nil), access: T.unsafe(nil), seq_head: T.unsafe(nil)); end # Returns the value of attribute access. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#14 def access; end # Returns the value of attribute seq_head. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#14 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#14 def seq_head; end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#119 def access_element; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#123 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#123 def access_node; end # @param [Array, nil] # @return [String, nil] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#113 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#113 def compile_args(arg_list, first: T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#129 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#129 def compile_guard_clause; end # Compiling helpers # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#107 def compile_value_match(value); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#133 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#133 def multiple_access(kind); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#30 def visit_ascend; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#58 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#58 def visit_capture; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#37 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#37 def visit_descend; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#84 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#84 def visit_function_call; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#73 def visit_intersection; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#25 def visit_negation; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#88 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#88 def visit_node_type; end # Assumes other types are atoms. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#100 def visit_other_type; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#80 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#80 def visit_predicate; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#92 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#92 def visit_sequence; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#49 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#49 def visit_unify; end # Lists # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#64 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#64 def visit_union; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#45 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb#45 def visit_wildcard; end end @@ -4349,7 +4375,7 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#17 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#17 class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler # Calls `compile_sequence`; the actual `compile` method # will be used for the different terms of the sequence. @@ -4357,109 +4383,109 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST: # # @return [SequenceSubcompiler] a new instance of SequenceSubcompiler # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#25 def initialize(compiler, sequence:, var:); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#31 def compile_sequence; end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#251 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#251 def in_sync; end protected - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#226 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#226 def compile_terms(children = T.unsafe(nil), last_arity = T.unsafe(nil)); end # @api private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#251 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#251 def cur_index; end # yield `sync_code` iff not already in sync # # @yield [code] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#242 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#242 def sync; end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#59 def compile(node); end # Compilation helpers # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#165 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#165 def compile_and_advance(term); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#128 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#128 def compile_any_order_branches(matched_var); end # @return [Array] Else code, and init code (if any) # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#137 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#137 def compile_any_order_else; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#180 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#180 def compile_captured_repetition(child_code, child_captures); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#119 def compile_case(when_branches, else_code); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#361 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#361 def compile_child_nb_guard(arity_range); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#319 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#319 def compile_cur_index; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#325 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#325 def compile_index(cur = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#353 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#353 def compile_loop(term); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#347 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#347 def compile_loop_advance(to = T.unsafe(nil)); end # Assumes `@cur_index` is already updated # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#198 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#198 def compile_matched(kind); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#304 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#304 def compile_max_matched; end # @return [String] code that evaluates to `false` if the matched arity is too small # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#270 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#270 def compile_min_check; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#285 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#285 def compile_remaining; end # @return [Hash] of {subcompiler => code} # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#373 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#373 def compile_union_forks; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#313 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#313 def empty_loop; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#214 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#214 def handle_prev; end # Modifies in place `forks` # Syncs our state # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#400 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#400 def merge_forks!(forks); end # Modifies in place `forks` to insure that `cur_{child|index}_var` are ok # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#384 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#384 def preserve_union_start(forks); end # E.g. For sequence `(_ _? <_ _>)`, arities are: 1, 0..1, 2 @@ -4467,47 +4493,47 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST: # # @return [Array] total arities (as Ranges) of remaining children nodes # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#259 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#259 def remaining_arities(children, last_arity); end # returns truthy iff `@cur_index` switched to relative from end mode (i.e. < 0) # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#341 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#341 def use_index_from_end; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#88 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#88 def visit_any_order; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#150 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#150 def visit_capture; end # Single node patterns are all handled here # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#62 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#62 def visit_other_type; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#78 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#78 def visit_repetition; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#159 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#159 def visit_rest; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#104 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#104 def visit_union; end # NOTE: assumes `@cur_index != :seq_head`. Node types using `within_loop` must # have `def in_sequence_head; :raise; end` # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#333 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#333 def within_loop; end end # Shift of 1 from standard Ruby indices # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#18 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#18 RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler::DELTA = T.let(T.unsafe(nil), Integer) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#19 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#19 RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler::POSITIVE = T.let(T.unsafe(nil), Proc) # Base class for subcompilers @@ -4516,50 +4542,50 @@ RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler::POSITIVE = T.let(T.uns # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#12 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#12 class RuboCop::AST::NodePattern::Compiler::Subcompiler # @return [Subcompiler] a new instance of Subcompiler # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#15 def initialize(compiler); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20 def compile(node); end # Returns the value of attribute compiler. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#13 def compiler; end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#34 def do_compile; end # Returns the value of attribute node. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#32 def node; end class << self # @private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#47 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#47 def inherited(base); end # @private # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#42 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#42 def method_added(method); end # Returns the value of attribute registry. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#40 def registry; end end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#53 +# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#53 class RuboCop::AST::NodePattern::Invalid < ::StandardError; end # Lexer class for `NodePattern` @@ -4567,164 +4593,164 @@ class RuboCop::AST::NodePattern::Invalid < ::StandardError; end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#18 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#18 class RuboCop::AST::NodePattern::Lexer < ::RuboCop::AST::NodePattern::LexerRex # @return [Lexer] a new instance of Lexer # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#31 def initialize(source); end # Returns the value of attribute comments. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#29 def comments; end # Returns the value of attribute source_buffer. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#29 def source_buffer; end # Returns the value of attribute tokens. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#29 def tokens; end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#60 def do_parse; end # @return [token] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#40 def emit(type); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#48 def emit_comment; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#52 def emit_regexp; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#64 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#64 def token(type, value); end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#19 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#19 RuboCop::AST::NodePattern::Lexer::Error = RuboCop::AST::NodePattern::LexerRex::ScanError -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rb#21 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rb#21 RuboCop::AST::NodePattern::Lexer::REGEXP_OPTIONS = T.let(T.unsafe(nil), Hash) # The generated lexer RuboCop::AST::NodePattern::LexerRex # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#23 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#23 class RuboCop::AST::NodePattern::LexerRex # Yields on the current action. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#69 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#69 def action; end # The file name / path # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#43 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#43 def filename; end # The file name / path # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#43 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#43 def filename=(_arg0); end # The current location in the parse. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#103 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#103 def location; end # The StringScanner for this lexer. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#55 def match; end # The match groups for the current scan. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#60 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#60 def matches; end # Lex the next token. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#112 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#112 def next_token; end # Parse the given string. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#83 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#83 def parse(str); end # Read in and parse the file at +path+. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#93 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#93 def parse_file(path); end # The current scanner class. Must be overridden in subclasses. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#76 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#76 def scanner_class; end # The StringScanner for this lexer. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#48 def ss; end # The StringScanner for this lexer. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#48 def ss=(_arg0); end # The current lexical state. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#53 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#53 def state; end # The current lexical state. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#53 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#53 def state=(_arg0); end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#31 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#31 RuboCop::AST::NodePattern::LexerRex::CALL = T.let(T.unsafe(nil), Regexp) # :stopdoc: # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#27 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#27 RuboCop::AST::NodePattern::LexerRex::CONST_NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#29 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#29 RuboCop::AST::NodePattern::LexerRex::IDENTIFIER = T.let(T.unsafe(nil), Regexp) # :startdoc: # :stopdoc: # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#36 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#36 class RuboCop::AST::NodePattern::LexerRex::LexerError < ::StandardError; end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#30 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#30 RuboCop::AST::NodePattern::LexerRex::NODE_TYPE = T.let(T.unsafe(nil), Regexp) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#33 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#33 RuboCop::AST::NodePattern::LexerRex::REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#32 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#32 RuboCop::AST::NodePattern::LexerRex::REGEXP_BODY = T.let(T.unsafe(nil), Regexp) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#28 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#28 RuboCop::AST::NodePattern::LexerRex::SYMBOL_NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/lexer.rex.rb#37 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#37 class RuboCop::AST::NodePattern::LexerRex::ScanError < ::RuboCop::AST::NodePattern::LexerRex::LexerError; end # Helpers for defining methods based on a pattern string # -# source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#28 +# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#28 module RuboCop::AST::NodePattern::Macros # Define a method which applies a pattern to an AST node # @@ -4734,7 +4760,7 @@ module RuboCop::AST::NodePattern::Macros # If the node matches, and no block is provided, the new method will # return the captures, or `true` if there were none. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#36 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#36 def def_node_matcher(method_name, pattern_str, **keyword_defaults); end # Define a method which recurses over the descendants of an AST node, @@ -4744,70 +4770,70 @@ module RuboCop::AST::NodePattern::Macros # as soon as it finds a descendant which matches. Otherwise, it will # yield all descendants which match. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#46 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#46 def def_node_search(method_name, pattern_str, **keyword_defaults); end end # Functionality to turn `match_code` into methods/lambda # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#7 module RuboCop::AST::NodePattern::MethodDefiner - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#37 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#37 def as_lambda; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#27 def compile_as_lambda; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#8 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#8 def def_node_matcher(base, method_name, **defaults); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#21 def def_node_search(base, method_name, **defaults); end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#139 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#139 def compile_init; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#50 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#50 def def_helper(base, method_name, **defaults); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#114 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#114 def emit_keyword_list(forwarding: T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#132 def emit_lambda_code; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#125 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#125 def emit_method_code; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#63 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#63 def emit_node_search(method_name); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#74 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#74 def emit_node_search_body(method_name, prelude:, on_match:); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#110 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#110 def emit_param_list; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#119 def emit_params(*first, forwarding: T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#100 def emit_retval; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#89 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#89 def emit_yield_capture(when_no_capture = T.unsafe(nil), yield_with: T.unsafe(nil)); end # This method minimizes the closure for our method # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/method_definer.rb#44 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#44 def wrapping_block(method_name, **defaults); end end # Base class for AST Nodes of a `NodePattern` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#7 class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node include ::RuboCop::AST::Descendence extend ::RuboCop::SimpleForwardable @@ -4816,212 +4842,212 @@ class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node # # @return [Integer, Range] An Integer for fixed length terms, otherwise a Range. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#28 def arity; end # @return [Range] arity as a Range # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#68 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#68 def arity_range; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#22 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#22 def capture?; end # @return [Node] most nodes have only one child # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#47 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#47 def child; end # @return [Array] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#42 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#42 def children_nodes; end # @return [Array, nil] replace node with result, or `nil` if no change requested. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#33 def in_sequence_head; end # that matches within a Set (e.g. `42`, `:sym` but not `/regexp/`) # # @return [Boolean] returns true for nodes having a Ruby literal equivalent # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#63 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#63 def matches_within_set?; end # @return [Integer] nb of captures of that node and its descendants # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#52 def nb_captures; end # To be overridden by subclasses # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#18 def rest?; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#77 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#77 def source_range; end # @return [Boolean] returns whether it matches a variable number of elements # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#57 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#57 def variadic?; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#73 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#73 def with(type: T.unsafe(nil), children: T.unsafe(nil), location: T.unsafe(nil)); end end # Node class for `` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#179 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#179 class RuboCop::AST::NodePattern::Node::AnyOrder < ::RuboCop::AST::NodePattern::Node include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#197 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#197 def arity; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#189 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#189 def ends_with_rest?; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#193 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#193 def rest_node; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#185 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#185 def term_nodes; end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#182 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#182 RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash) # Node class for `$something` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#96 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96 class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98 def arity(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#100 def capture?; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#108 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#108 def in_sequence_head; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#104 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104 def nb_captures; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98 def rest?(*_arg0, **_arg1, &_arg2); end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#85 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#85 module RuboCop::AST::NodePattern::Node::ForbidInSeqHead # @raise [NodePattern::Invalid] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#86 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86 def in_sequence_head; end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#139 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#139 RuboCop::AST::NodePattern::Node::FunctionCall = RuboCop::AST::NodePattern::Node::Predicate -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#81 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#81 RuboCop::AST::NodePattern::Node::INT_TO_RANGE = T.let(T.unsafe(nil), Hash) # Registry # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#249 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#249 RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#11 RuboCop::AST::NodePattern::Node::MATCHES_WITHIN_SET = T.let(T.unsafe(nil), Set) # Node class for `predicate?(:arg, :list)` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#130 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#130 class RuboCop::AST::NodePattern::Node::Predicate < ::RuboCop::AST::NodePattern::Node - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#135 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#135 def arg_list; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#131 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131 def method_name; end end # Node class for `int+` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#142 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#142 class RuboCop::AST::NodePattern::Node::Repetition < ::RuboCop::AST::NodePattern::Node include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#155 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#155 def arity; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#145 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#145 def operator; end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#149 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#149 RuboCop::AST::NodePattern::Node::Repetition::ARITIES = T.let(T.unsafe(nil), Hash) # Node class for `...` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#161 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#161 class RuboCop::AST::NodePattern::Node::Rest < ::RuboCop::AST::NodePattern::Node - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#169 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#169 def arity; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#173 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#173 def in_sequence_head; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#165 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#165 def rest?; end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#162 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162 RuboCop::AST::NodePattern::Node::Rest::ARITY = T.let(T.unsafe(nil), Range) # Node class for `(type first second ...)` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#117 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#117 class RuboCop::AST::NodePattern::Node::Sequence < ::RuboCop::AST::NodePattern::Node include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead # @return [Sequence] a new instance of Sequence # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#120 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#120 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end end # A list (potentially empty) of nodes; part of a Union # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#205 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#205 class RuboCop::AST::NodePattern::Node::Subsequence < ::RuboCop::AST::NodePattern::Node include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#208 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#208 def arity; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#213 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#213 def in_sequence_head; end end # Node class for `{ ... }` # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#223 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#223 class RuboCop::AST::NodePattern::Node::Union < ::RuboCop::AST::NodePattern::Node - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#224 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224 def arity; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/node.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#231 def in_sequence_head; end end @@ -5031,149 +5057,149 @@ end # Doc on how this fits in the compiling process: # /docs/modules/ROOT/pages/node_pattern.adoc # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#12 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#12 class RuboCop::AST::NodePattern::Parser < ::Racc::Parser extend ::RuboCop::SimpleForwardable # @return [Parser] a new instance of Parser # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#19 def initialize(builder = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#335 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#335 def _reduce_10(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#339 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#339 def _reduce_11(val, _values); end # reduce 12 omitted # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#345 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#345 def _reduce_13(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#349 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#349 def _reduce_14(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#353 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#353 def _reduce_15(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#357 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#357 def _reduce_16(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#361 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#361 def _reduce_17(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#365 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#365 def _reduce_18(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#369 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#369 def _reduce_19(val, _values); end # reduce 1 omitted # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#303 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#303 def _reduce_2(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#373 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#373 def _reduce_20(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#377 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#377 def _reduce_21(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#381 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#381 def _reduce_22(val, _values); end # reduce 24 omitted # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#389 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#389 def _reduce_25(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#395 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#395 def _reduce_26(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#307 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#307 def _reduce_3(val, _values); end # reduce 32 omitted # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#415 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#415 def _reduce_33(val, _values); end # reduce 36 omitted # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#425 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#425 def _reduce_37(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#429 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#429 def _reduce_38(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#433 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#433 def _reduce_39(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#311 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#311 def _reduce_4(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#437 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#437 def _reduce_40(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#441 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#441 def _reduce_41(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#445 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#445 def _reduce_42(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#449 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#449 def _reduce_43(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#453 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#453 def _reduce_44(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#457 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#457 def _reduce_45(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#461 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#461 def _reduce_46(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#315 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#315 def _reduce_5(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#319 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#319 def _reduce_6(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#323 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#323 def _reduce_7(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#327 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#327 def _reduce_8(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#331 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#331 def _reduce_9(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#465 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465 def _reduce_none(val, _values); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_atom(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_call(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_capture(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_list(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_unary_op(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_union(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40 def inspect; end - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#48 def next_token(*_arg0, **_arg1, &_arg2); end # (Similar API to `parser` gem) @@ -5182,520 +5208,520 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser # @param source_buffer [Parser::Source::Buffer, String] The source buffer to parse. # @return [NodePattern::Node] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#31 def parse(source); end private # @raise [NodePattern::Invalid] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#50 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#50 def enforce_unary(node); end # Overrides Racc::Parser's method: # # @raise [NodePattern::Invalid] # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#59 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#59 def on_error(token, val, _vstack); end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#16 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#16 RuboCop::AST::NodePattern::Parser::Builder = RuboCop::AST::NodePattern::Builder -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.rb#17 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#17 RuboCop::AST::NodePattern::Parser::Lexer = RuboCop::AST::NodePattern::Lexer -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#227 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#227 RuboCop::AST::NodePattern::Parser::Racc_arg = T.let(T.unsafe(nil), Array) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#295 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#295 RuboCop::AST::NodePattern::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/parser.racc.rb#244 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#244 RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array) # Overrides Parser to use `WithMeta` variants and provide additional methods # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#8 class RuboCop::AST::NodePattern::Parser::WithMeta < ::RuboCop::AST::NodePattern::Parser # Returns the value of attribute comments. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#98 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98 def comments; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#100 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#100 def do_parse; end # Returns the value of attribute tokens. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#98 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98 def tokens; end end # Overrides Builder to emit nodes with locations # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#39 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#39 class RuboCop::AST::NodePattern::Parser::WithMeta::Builder < ::RuboCop::AST::NodePattern::Builder - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#40 def emit_atom(type, token); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#61 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#61 def emit_call(type, selector_t, args = T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#55 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#55 def emit_list(type, begin_t, children, end_t); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#49 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#49 def emit_unary_op(type, operator_t = T.unsafe(nil), *children); end private - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#81 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#81 def join_exprs(left_expr, right_expr); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#75 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#75 def loc(token_or_range); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#71 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#71 def n(type, children, source_map); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#85 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#85 def source_map(token_or_range, begin_t: T.unsafe(nil), end_t: T.unsafe(nil), operator_t: T.unsafe(nil), selector_t: T.unsafe(nil)); end end # Overrides Lexer to token locations and comments # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#10 class RuboCop::AST::NodePattern::Parser::WithMeta::Lexer < ::RuboCop::AST::NodePattern::Lexer # @return [Lexer] a new instance of Lexer # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#13 def initialize(str_or_buffer); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#27 def emit_comment; end # @return [::Parser::Source::Range] last match's position # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#33 def pos; end # Returns the value of attribute source_buffer. # - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#11 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#11 def source_buffer; end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/with_meta.rb#23 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#23 def token(type, value); end end # Utility to assign a set of values to a constant # -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#7 module RuboCop::AST::NodePattern::Sets class << self - # source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#31 def [](set); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#15 def name(set); end - # source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#22 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#22 def uniq(name); end end end -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#14 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#14 RuboCop::AST::NodePattern::Sets::MAX = T.let(T.unsafe(nil), Integer) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#8 RuboCop::AST::NodePattern::Sets::REGISTRY = T.let(T.unsafe(nil), Hash) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_0_1 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_10_10 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_1_2 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ALL_ANY_CLASS_OF_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ALL_CONTEXT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_AND_RETURN_AND_RAISE_AND_THROW_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +RuboCop::AST::NodePattern::Sets::SET_ARRAY_HASH = T.let(T.unsafe(nil), Set) + +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BE_EQ_EQL_EQUAL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BE_TRUTHY_BE_FALSEY_BE_FALSY_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BRANCH_REF_TAG = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CALL_RUN = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CAPTURE2_CAPTURE2E_CAPTURE3_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CIPHER_DIGEST = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CLASS_EVAL_INSTANCE_EVAL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE_STRUCT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CONTEXT_SHARED_CONTEXT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_DOUBLE_SPY = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EACH_EXAMPLE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_OBJECT_WITH_OBJECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EQL_EQ_BE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EXACTLY_AT_LEAST_AT_MOST = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EXIST_EXISTS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_EXPECT_ALLOW = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FILETEST_FILE_DIR_SHELL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FIRST_LAST__ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FIXNUM_BIGNUM = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_FORMAT_SPRINTF_PRINTF = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_GETHOSTBYADDR_GETHOSTBYNAME = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_IF_UNLESS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INCLUDE_EXTEND_PREPEND = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INCLUDE_PREPEND = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_IS_EXPECTED_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_KEY_HAS_KEY_FETCH_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_LAMBDA_PROC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_LAST_FIRST = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_LENGTH_SIZE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MAP_FILTER_MAP = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NEW_ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NEW_COMPILE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NEW_FROM_AMOUNT_FROM_CENTS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NIL_ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PRESENT_ANY_BLANK_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PRIVATE_CLASS_METHOD = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PUBLIC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PROP_CONST = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PUBLIC_CONSTANT_PRIVATE_CONSTANT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PUBLIC_PROTECTED_PRIVATE_MODULE_FUNCTION = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL_THROW_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_READ_BINREAD = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RECEIVE_HAVE_RECEIVED = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RECEIVE_MESSAGE_CHAIN_STUB_CHAIN = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGES_RECEIVE_MESSAGE_CHAIN_HAVE_RECEIVED = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGE_CHAIN = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REJECT_REJECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT_FILTER_FILTER = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SEND___SEND__ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +RuboCop::AST::NodePattern::Sets::SET_SET_SORTEDSET = T.let(T.unsafe(nil), Set) + +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SIG_HELPERS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SKIP_PENDING = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SORT_BY_SORT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SPAWN_SYSTEM = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SPRINTF_FORMAT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_STRUCT_CLASS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_STRUCT_IMMUTABLESTRUCT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_STRUCT_IMMUTABLESTRUCT_INEXACTSTRUCT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TO_H_TO_HASH = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ZERO_EMPTY = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__AT_SLICE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__EQUAL_EQL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__FETCH = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__GLOB = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET__PUSH_APPEND = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___2 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___3 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___4 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___5 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___6 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___7 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET___EQL_INCLUDE = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET___METHOD_____CALLEE__ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____2 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____ETC_2 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____ETC_3 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET____ETC_4 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern/sets.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_____2 = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/node_pattern.rb#55 +# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#55 RuboCop::AST::NodePattern::VAR = T.let(T.unsafe(nil), String) # Common functionality for primitive numeric nodes: `int`, `float`, `rational`... # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/numeric_node.rb#6 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#6 module RuboCop::AST::NumericNode # Checks whether this is literal has a sign. # @@ -5704,55 +5730,55 @@ module RuboCop::AST::NumericNode # +42 # @return [Boolean] whether this literal has a sign. # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/numeric_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#17 def sign?; end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/numeric_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#7 RuboCop::AST::NumericNode::SIGN_REGEX = T.let(T.unsafe(nil), Regexp) # A node extension for `op_asgn` nodes. # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#8 class RuboCop::AST::OpAsgnNode < ::RuboCop::AST::Node # @return [AsgnNode] the assignment node # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#10 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#10 def assignment_node; end # The expression being assigned to the variable. # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#32 def expression; end # @return [AsgnNode] the assignment node # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#10 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#13 def lhs; end # The name of the variable being assigned as a symbol. # # @return [Symbol] the name of the variable being assigned # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#18 def name; end # The operator being used for assignment as a symbol. # # @return [Symbol] the assignment operator # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#25 def operator; end # The expression being assigned to the variable. # # @return [Node] the expression being assigned. # - # source://rubocop-ast/lib/rubocop/ast/node/op_asgn_node.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#35 def rhs; end end @@ -5760,13 +5786,13 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/or_asgn_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/or_asgn_node.rb#8 class RuboCop::AST::OrAsgnNode < ::RuboCop::AST::OpAsgnNode # The operator being used for assignment as a symbol. # # @return [Symbol] the assignment operator # - # source://rubocop-ast/lib/rubocop/ast/node/or_asgn_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/or_asgn_node.rb#12 def operator; end end @@ -5774,7 +5800,7 @@ end # node when the builder constructs the AST, making its methods available # to all `or` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/or_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/or_node.rb#8 class RuboCop::AST::OrNode < ::RuboCop::AST::Node include ::RuboCop::AST::BinaryOperatorNode include ::RuboCop::AST::PredicateOperatorNode @@ -5784,7 +5810,7 @@ class RuboCop::AST::OrNode < ::RuboCop::AST::Node # # @return [String] the alternate of the `or` operator # - # source://rubocop-ast/lib/rubocop/ast/node/or_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/or_node.rb#16 def alternate_operator; end # Returns the inverse keyword of the `or` node as a string. @@ -5792,7 +5818,7 @@ class RuboCop::AST::OrNode < ::RuboCop::AST::Node # # @return [String] the inverse of the `or` operator # - # source://rubocop-ast/lib/rubocop/ast/node/or_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/or_node.rb#24 def inverse_operator; end end @@ -5800,7 +5826,7 @@ end # node when the builder constructs the AST, making its methods available # to all `pair` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#8 class RuboCop::AST::PairNode < ::RuboCop::AST::Node include ::RuboCop::AST::HashElementNode @@ -5808,7 +5834,7 @@ class RuboCop::AST::PairNode < ::RuboCop::AST::Node # # @return [Boolean] whether this `pair` uses a colon delimiter # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#30 def colon?; end # Returns the delimiter of the `pair` as a string. Returns `=>` for a @@ -5817,14 +5843,14 @@ class RuboCop::AST::PairNode < ::RuboCop::AST::Node # @param with_spacing [Boolean] whether to include spacing # @return [String] the delimiter of the `pair` # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#39 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#39 def delimiter(*deprecated, with_spacing: T.unsafe(nil)); end # Checks whether the `pair` uses a hash rocket delimiter. # # @return [Boolean] whether this `pair` uses a hash rocket delimiter # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#23 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#23 def hash_rocket?; end # Returns the inverse delimiter of the `pair` as a string. @@ -5832,34 +5858,34 @@ class RuboCop::AST::PairNode < ::RuboCop::AST::Node # @param with_spacing [Boolean] whether to include spacing # @return [String] the inverse delimiter of the `pair` # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#51 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#51 def inverse_delimiter(*deprecated, with_spacing: T.unsafe(nil)); end # Checks whether the `pair` uses hash value omission. # # @return [Boolean] whether this `pair` uses hash value omission # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#69 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#69 def value_omission?; end # Checks whether the value starts on its own line. # # @return [Boolean] whether the value in the `pair` starts its own line # - # source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#62 + # source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#62 def value_on_new_line?; end end -# source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#15 +# source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#15 RuboCop::AST::PairNode::COLON = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#11 RuboCop::AST::PairNode::HASH_ROCKET = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#17 +# source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#17 RuboCop::AST::PairNode::SPACED_COLON = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/pair_node.rb#13 +# source://rubocop-ast//lib/rubocop/ast/node/pair_node.rb#13 RuboCop::AST::PairNode::SPACED_HASH_ROCKET = T.let(T.unsafe(nil), String) # Requires implementing `arguments`. @@ -5868,13 +5894,13 @@ RuboCop::AST::PairNode::SPACED_HASH_ROCKET = T.let(T.unsafe(nil), String) # `send`, `super`, `zsuper`, `def`, `defs` # and (modern only): `index`, `indexasgn`, `lambda` # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#10 module RuboCop::AST::ParameterizedNode # Checks whether this node has any arguments. # # @return [Boolean] whether this node has any arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#40 def arguments?; end # Whether the last argument of the node is a block pass, @@ -5882,7 +5908,7 @@ module RuboCop::AST::ParameterizedNode # # @return [Boolean] whether the last argument of the node is a block pass # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#58 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#58 def block_argument?; end # A shorthand for getting the first argument of the node. @@ -5891,7 +5917,7 @@ module RuboCop::AST::ParameterizedNode # @return [Node, nil] the first argument of the node, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#24 def first_argument; end # A shorthand for getting the last argument of the node. @@ -5900,7 +5926,7 @@ module RuboCop::AST::ParameterizedNode # @return [Node, nil] the last argument of the node, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#33 def last_argument; end # Checks whether this node's arguments are wrapped in parentheses. @@ -5908,7 +5934,7 @@ module RuboCop::AST::ParameterizedNode # @return [Boolean] whether this node's arguments are # wrapped in parentheses # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#15 def parenthesized?; end # Checks whether any argument of the node is a splat @@ -5916,7 +5942,7 @@ module RuboCop::AST::ParameterizedNode # # @return [Boolean] whether the node is a splat argument # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#52 def rest_argument?; end # Checks whether any argument of the node is a splat @@ -5924,7 +5950,7 @@ module RuboCop::AST::ParameterizedNode # # @return [Boolean] whether the node is a splat argument # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#48 def splat_argument?; end end @@ -5933,20 +5959,20 @@ end # Implements `arguments` as `children[first_argument_index..-1]` # and optimizes other calls # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#83 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#83 module RuboCop::AST::ParameterizedNode::RestArguments include ::RuboCop::AST::ParameterizedNode # @return [Array] arguments, if any # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#89 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#89 def arguments; end # Checks whether this node has any arguments. # # @return [Boolean] whether this node has any arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#119 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#119 def arguments?; end # A shorthand for getting the first argument of the node. @@ -5955,7 +5981,7 @@ module RuboCop::AST::ParameterizedNode::RestArguments # @return [Node, nil] the first argument of the node, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#103 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#103 def first_argument; end # A shorthand for getting the last argument of the node. @@ -5964,77 +5990,77 @@ module RuboCop::AST::ParameterizedNode::RestArguments # @return [Node, nil] the last argument of the node, # or `nil` if there are no arguments # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#112 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#112 def last_argument; end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#86 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#86 RuboCop::AST::ParameterizedNode::RestArguments::EMPTY_ARGUMENTS = T.let(T.unsafe(nil), Array) # A specialized `ParameterizedNode` for node that have a single child # containing either `nil`, an argument, or a `begin` node with all the # arguments # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#66 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#66 module RuboCop::AST::ParameterizedNode::WrappedArguments include ::RuboCop::AST::ParameterizedNode # @return [Array] The arguments of the node. # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/parameterized_node.rb#69 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#69 def arguments; end end # Common functionality for nodes that are predicates: # `or`, `and` ... # -# source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#7 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#7 module RuboCop::AST::PredicateOperatorNode # Checks whether this is a logical operator. # # @return [Boolean] whether this is a logical operator # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#27 def logical_operator?; end # Returns the operator as a string. # # @return [String] the operator # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#20 def operator; end # Checks whether this is a semantic operator. # # @return [Boolean] whether this is a semantic operator # - # source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#34 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#34 def semantic_operator?; end end -# source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#8 RuboCop::AST::PredicateOperatorNode::LOGICAL_AND = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#12 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#12 RuboCop::AST::PredicateOperatorNode::LOGICAL_OR = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#10 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#10 RuboCop::AST::PredicateOperatorNode::SEMANTIC_AND = T.let(T.unsafe(nil), String) -# source://rubocop-ast/lib/rubocop/ast/node/mixin/predicate_operator_node.rb#14 +# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#14 RuboCop::AST::PredicateOperatorNode::SEMANTIC_OR = T.let(T.unsafe(nil), String) # A node extension for `procarg0` nodes. # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all `arg` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/procarg0_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/procarg0_node.rb#8 class RuboCop::AST::Procarg0Node < ::RuboCop::AST::ArgNode # Returns the name of an argument. # # @return [Symbol, nil] the name of the argument # - # source://rubocop-ast/lib/rubocop/ast/node/procarg0_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/procarg0_node.rb#12 def name; end end @@ -6042,42 +6068,42 @@ end # and other information such as disabled lines for cops. # It also provides a convenient way to access source lines. # -# source://rubocop-ast/lib/rubocop/ast/processed_source.rb#10 +# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#10 class RuboCop::AST::ProcessedSource # @return [ProcessedSource] a new instance of ProcessedSource # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#28 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#28 def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil)); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#72 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#72 def [](*args); end # Returns the value of attribute ast. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def ast; end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#50 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#50 def ast_with_comments; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#111 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#111 def blank?; end # Returns the value of attribute buffer. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def buffer; end # Raw source checksum for tracking infinite loops. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#83 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#83 def checksum; end # @return [Comment, nil] the comment at that line, if any. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#116 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#116 def comment_at_line(line); end # Consider using `each_comment_in_lines` instead @@ -6085,193 +6111,193 @@ class RuboCop::AST::ProcessedSource # @deprecated use contains_comment? # @return [Boolean] if any of the lines in the given `source_range` has a comment. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#138 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#142 def commented?(source_range); end # Returns the value of attribute comments. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def comments; end # Should have been called `comments_before_or_at_line`. Doubtful it has of any valid use. # # @deprecated Use `each_comment_in_lines` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#146 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#146 def comments_before_line(line); end # Consider using `each_comment_in_lines` instead # # @return [Boolean] if any of the lines in the given `source_range` has a comment. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#138 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138 def contains_comment?(source_range); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#160 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#160 def current_line(token); end # Returns the value of attribute diagnostics. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def diagnostics; end # @deprecated Use `comments.each` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#88 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#88 def each_comment(&block); end # Enumerates on the comments contained with the given `line_range` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#126 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#126 def each_comment_in_lines(line_range); end # @deprecated Use `tokens.each` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#98 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#98 def each_token(&block); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#107 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107 def file_path; end # @deprecated Use `comment_at_line`, `each_comment_in_lines`, or `comments.find` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#93 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#93 def find_comment(&block); end # @deprecated Use `tokens.find` # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#103 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#103 def find_token(&block); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#181 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#181 def first_token_of(range_or_node); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#164 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#164 def following_line(token); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#185 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#185 def last_token_of(range_or_node); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#168 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#168 def line_indentation(line_number); end # @return [Boolean] if the given line number has a comment. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#121 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#121 def line_with_comment?(line); end # Returns the source lines, line break characters removed, excluding a # possible __END__ and everything that comes after. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#58 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#58 def lines; end # Returns the value of attribute parser_engine. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def parser_engine; end # Returns the value of attribute parser_error. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def parser_error; end # Returns the value of attribute path. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def path; end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#156 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#156 def preceding_line(token); end # Returns the value of attribute raw_source. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def raw_source; end # Returns the value of attribute ruby_version. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def ruby_version; end # The tokens list is always sorted by token position, except for cases when heredoc # is passed as a method argument. In this case tokens are interleaved by # heredoc contents' tokens. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#192 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#192 def sorted_tokens; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#150 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#150 def start_with?(string); end # Returns the value of attribute tokens. # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#20 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20 def tokens; end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#175 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#175 def tokens_within(range_or_node); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#76 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#76 def valid_syntax?; end private - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#199 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#199 def comment_index; end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#309 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#309 def create_parser(ruby_version, parser_engine); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#325 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#325 def first_token_index(range_or_node); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#330 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#330 def last_token_index(range_or_node); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#205 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#205 def parse(source, ruby_version, parser_engine); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#238 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#238 def parser_class(ruby_version, parser_engine); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#335 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#335 def source_range(range_or_node); end - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#222 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#222 def tokenize(parser); end class << self - # source://rubocop-ast/lib/rubocop/ast/processed_source.rb#23 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#23 def from_file(path, ruby_version, parser_engine: T.unsafe(nil)); end end end -# source://rubocop-ast/lib/rubocop/ast/processed_source.rb#14 +# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#14 RuboCop::AST::ProcessedSource::INVALID_LEVELS = T.let(T.unsafe(nil), Array) -# source://rubocop-ast/lib/rubocop/ast/processed_source.rb#17 +# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#17 RuboCop::AST::ProcessedSource::PARSER_ENGINES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop-ast/lib/rubocop/ast/processed_source.rb#12 +# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#12 RuboCop::AST::ProcessedSource::STRING_SOURCE_NAME = T.let(T.unsafe(nil), String) # A node extension for `irange` and `erange` nodes. This will be used in # place of a plain node when the builder constructs the AST, making its # methods available to all `irange` and `erange` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/range_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/range_node.rb#8 class RuboCop::AST::RangeNode < ::RuboCop::AST::Node - # source://rubocop-ast/lib/rubocop/ast/node/range_node.rb#9 + # source://rubocop-ast//lib/rubocop/ast/node/range_node.rb#9 def begin; end - # source://rubocop-ast/lib/rubocop/ast/node/range_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/range_node.rb#13 def end; end end @@ -6279,7 +6305,7 @@ end # node when the builder constructs the AST, making its methods available to # all `rational` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/rational_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/rational_node.rb#8 class RuboCop::AST::RationalNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode include ::RuboCop::AST::NumericNode @@ -6289,128 +6315,128 @@ end # node when the builder constructs the AST, making its methods available # to all `regexp` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#8 class RuboCop::AST::RegexpNode < ::RuboCop::AST::Node # @return [String] a string of regexp content # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#37 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#37 def content; end # @return [Bool] if char is one of the delimiters # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#57 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#57 def delimiter?(char); end # @return [String] the regexp delimiters (without %r) # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#52 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#52 def delimiters; end # @return [Bool] if regexp uses the extended regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#72 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#72 def extended?; end # @return [Bool] if regexp uses the fixed-encoding regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#92 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#92 def fixed_encoding?; end # @return [Bool] if regexp uses the ignore-case regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#77 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#77 def ignore_case?; end # @return [Bool] if regexp contains interpolation # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#62 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#62 def interpolation?; end # @return [Bool] if regexp uses the multiline regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#67 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#67 def multiline_mode?; end # @return [Bool] if regexp uses the no-encoding regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#87 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#87 def no_encoding?; end # NOTE: The 'o' option is ignored. # # @return [Integer] the Regexp option bits as returned by Regexp#options # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#32 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#32 def options; end # @return [Bool] if the regexp is a %r{...} literal (using any delimiters) # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#47 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#47 def percent_r_literal?; end # @return [RuboCop::AST::Node] a regopt node # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#25 def regopt; end # @return [Bool] if regexp uses the single-interpolation regopt # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#82 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#82 def single_interpolation?; end # @return [Bool] if the regexp is a /.../ literal # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#42 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#42 def slash_literal?; end # @return [Regexp] a regexp of this node # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#20 def to_regexp; end private # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#98 + # source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#98 def regopt_include?(option); end end -# source://rubocop-ast/lib/rubocop/ast/node/regexp_node.rb#9 +# source://rubocop-ast//lib/rubocop/ast/node/regexp_node.rb#9 RuboCop::AST::RegexpNode::OPTIONS = T.let(T.unsafe(nil), Hash) # A node extension for `resbody` nodes. This will be used in place of a # plain node when the builder constructs the AST, making its methods # available to all `resbody` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/resbody_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#8 class RuboCop::AST::ResbodyNode < ::RuboCop::AST::Node # Returns the body of the `rescue` clause. # # @return [Node, nil] The body of the `resbody`. # - # source://rubocop-ast/lib/rubocop/ast/node/resbody_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#12 def body; end # Returns the index of the `resbody` branch within the exception handling statement. # # @return [Integer] the index of the `resbody` branch # - # source://rubocop-ast/lib/rubocop/ast/node/resbody_node.rb#40 + # source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#40 def branch_index; end # Returns the exception variable of the `rescue` clause. # # @return [Node, nil] The exception variable of the `resbody`. # - # source://rubocop-ast/lib/rubocop/ast/node/resbody_node.rb#33 + # source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#33 def exception_variable; end # Returns an array of all the exceptions in the `rescue` clause. # # @return [Array] an array of exception nodes # - # source://rubocop-ast/lib/rubocop/ast/node/resbody_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#19 def exceptions; end end @@ -6418,13 +6444,13 @@ end # plain node when the builder constructs the AST, making its methods # available to all `rescue` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#8 class RuboCop::AST::RescueNode < ::RuboCop::AST::Node # Returns the body of the rescue node. # # @return [Node, nil] The body of the rescue node. # - # source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#12 def body; end # Returns an array of all the rescue branches in the exception handling statement. @@ -6433,14 +6459,14 @@ class RuboCop::AST::RescueNode < ::RuboCop::AST::Node # # @return [Array] an array of the bodies of the rescue branches # - # source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#27 + # source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#27 def branches; end # Checks whether this exception handling statement has an `else` branch. # # @return [Boolean] whether the exception handling statement has an `else` branch # - # source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#44 + # source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#44 def else?; end # Returns the else branch of the exception handling statement, if any. @@ -6448,14 +6474,14 @@ class RuboCop::AST::RescueNode < ::RuboCop::AST::Node # @return [Node] the else branch node of the exception handling statement # @return [nil] if the exception handling statement does not have an else branch. # - # source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#37 + # source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#37 def else_branch; end # Returns an array of all the rescue branches in the exception handling statement. # # @return [Array] an array of `resbody` nodes # - # source://rubocop-ast/lib/rubocop/ast/node/rescue_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#19 def resbody_branches; end end @@ -6463,7 +6489,7 @@ end # plain node when the builder constructs the AST, making its methods # available to all `return` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/return_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/return_node.rb#8 class RuboCop::AST::ReturnNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::WrappedArguments @@ -6473,37 +6499,37 @@ end # # @api private # -# source://rubocop-ast/lib/rubocop/ast/rubocop_compatibility.rb#8 +# source://rubocop-ast//lib/rubocop/ast/rubocop_compatibility.rb#8 module RuboCop::AST::RuboCopCompatibility # @api private # - # source://rubocop-ast/lib/rubocop/ast/rubocop_compatibility.rb#13 + # source://rubocop-ast//lib/rubocop/ast/rubocop_compatibility.rb#13 def rubocop_loaded; end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/rubocop_compatibility.rb#9 +# source://rubocop-ast//lib/rubocop/ast/rubocop_compatibility.rb#9 RuboCop::AST::RuboCopCompatibility::INCOMPATIBLE_COPS = T.let(T.unsafe(nil), Hash) # A node extension for `sclass` nodes. This will be used in place of a # plain node when the builder constructs the AST, making its methods # available to all `sclass` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/self_class_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/self_class_node.rb#8 class RuboCop::AST::SelfClassNode < ::RuboCop::AST::Node # The body of this `sclass` node. # # @return [Node, nil] the body of the class # - # source://rubocop-ast/lib/rubocop/ast/node/self_class_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/self_class_node.rb#19 def body; end # The identifier for this `sclass` node. (Always `self`.) # # @return [Node] the identifier of the class # - # source://rubocop-ast/lib/rubocop/ast/node/self_class_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/self_class_node.rb#12 def identifier; end end @@ -6511,24 +6537,24 @@ end # node when the builder constructs the AST, making its methods available # to all `send` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/send_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/send_node.rb#8 class RuboCop::AST::SendNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::ParameterizedNode::RestArguments include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://rubocop-ast/lib/rubocop/ast/node/send_node.rb#13 + # source://rubocop-ast//lib/rubocop/ast/node/send_node.rb#13 def attribute_accessor?(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/send_node.rb#18 + # source://rubocop-ast//lib/rubocop/ast/node/send_node.rb#18 def send_type?; end private - # source://rubocop-ast/lib/rubocop/ast/node/send_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/send_node.rb#24 def first_argument_index; end end @@ -6537,11 +6563,11 @@ end # # @see https://www.rubydoc.info/gems/ast/AST/Sexp # -# source://rubocop-ast/lib/rubocop/ast/sexp.rb#9 +# source://rubocop-ast//lib/rubocop/ast/sexp.rb#9 module RuboCop::AST::Sexp # Creates a {Node} with type `type` and children `children`. # - # source://rubocop-ast/lib/rubocop/ast/sexp.rb#11 + # source://rubocop-ast//lib/rubocop/ast/sexp.rb#11 def s(type, *children); end end @@ -6549,23 +6575,23 @@ end # in place of a plain node when the builder constructs the AST, making # its methods available to all `str` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#8 class RuboCop::AST::StrNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#25 + # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#25 def character_literal?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#21 def double_quoted?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#29 + # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#29 def heredoc?; end # Checks whether the string literal is delimited by percent brackets. @@ -6575,29 +6601,29 @@ class RuboCop::AST::StrNode < ::RuboCop::AST::Node # @param type [Symbol] an optional percent literal type # @return [Boolean] whether the string is enclosed in percent brackets # - # source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#44 + # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#44 def percent_literal?(type = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#17 def single_quoted?; end end -# source://rubocop-ast/lib/rubocop/ast/node/str_node.rb#11 +# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#11 RuboCop::AST::StrNode::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Hash) # A node extension for `super`- and `zsuper` nodes. This will be used in # place of a plain node when the builder constructs the AST, making its # methods available to all `super`- and `zsuper` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/super_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/super_node.rb#8 class RuboCop::AST::SuperNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2lib/ast/node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node/super_node.rb#20 def arguments; end # Custom destructuring method. This can be used to normalize @@ -6605,7 +6631,7 @@ class RuboCop::AST::SuperNode < ::RuboCop::AST::Node # # @return [Array] the different parts of the `super` node # - # source://rubocop-ast/lib/rubocop/ast/node/super_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/super_node.rb#16 def node_parts; end end @@ -6613,163 +6639,163 @@ end # plain node when the builder constructs the AST, making its methods # available to all `sym` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/symbol_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/symbol_node.rb#8 class RuboCop::AST::SymbolNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode end # A basic wrapper around Parser's tokens. # -# source://rubocop-ast/lib/rubocop/ast/token.rb#6 +# source://rubocop-ast//lib/rubocop/ast/token.rb#6 class RuboCop::AST::Token # @return [Token] a new instance of Token # - # source://rubocop-ast/lib/rubocop/ast/token.rb#17 + # source://rubocop-ast//lib/rubocop/ast/token.rb#17 def initialize(pos, type, text); end - # source://rubocop-ast/lib/rubocop/ast/token.rb#32 + # source://rubocop-ast//lib/rubocop/ast/token.rb#32 def begin_pos; end - # source://rubocop-ast/lib/rubocop/ast/token.rb#28 + # source://rubocop-ast//lib/rubocop/ast/token.rb#28 def column; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#101 + # source://rubocop-ast//lib/rubocop/ast/token.rb#101 def comma?; end # Type Predicates # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#57 + # source://rubocop-ast//lib/rubocop/ast/token.rb#57 def comment?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#105 + # source://rubocop-ast//lib/rubocop/ast/token.rb#105 def dot?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#117 + # source://rubocop-ast//lib/rubocop/ast/token.rb#117 def end?; end - # source://rubocop-ast/lib/rubocop/ast/token.rb#36 + # source://rubocop-ast//lib/rubocop/ast/token.rb#36 def end_pos; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#121 + # source://rubocop-ast//lib/rubocop/ast/token.rb#121 def equal_sign?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#65 + # source://rubocop-ast//lib/rubocop/ast/token.rb#65 def left_array_bracket?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#81 + # source://rubocop-ast//lib/rubocop/ast/token.rb#81 def left_brace?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#73 + # source://rubocop-ast//lib/rubocop/ast/token.rb#73 def left_bracket?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#85 + # source://rubocop-ast//lib/rubocop/ast/token.rb#85 def left_curly_brace?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#93 + # source://rubocop-ast//lib/rubocop/ast/token.rb#93 def left_parens?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#69 + # source://rubocop-ast//lib/rubocop/ast/token.rb#69 def left_ref_bracket?; end - # source://rubocop-ast/lib/rubocop/ast/token.rb#24 + # source://rubocop-ast//lib/rubocop/ast/token.rb#24 def line; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#125 + # source://rubocop-ast//lib/rubocop/ast/token.rb#125 def new_line?; end # Returns the value of attribute pos. # - # source://rubocop-ast/lib/rubocop/ast/token.rb#9 + # source://rubocop-ast//lib/rubocop/ast/token.rb#9 def pos; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#109 + # source://rubocop-ast//lib/rubocop/ast/token.rb#109 def regexp_dots?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#113 + # source://rubocop-ast//lib/rubocop/ast/token.rb#113 def rescue_modifier?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#77 + # source://rubocop-ast//lib/rubocop/ast/token.rb#77 def right_bracket?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#89 + # source://rubocop-ast//lib/rubocop/ast/token.rb#89 def right_curly_brace?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#97 + # source://rubocop-ast//lib/rubocop/ast/token.rb#97 def right_parens?; end # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#61 + # source://rubocop-ast//lib/rubocop/ast/token.rb#61 def semicolon?; end # Checks if there is whitespace after token # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#45 + # source://rubocop-ast//lib/rubocop/ast/token.rb#45 def space_after?; end # Checks if there is whitespace before token # # @return [Boolean] # - # source://rubocop-ast/lib/rubocop/ast/token.rb#50 + # source://rubocop-ast//lib/rubocop/ast/token.rb#50 def space_before?; end # Returns the value of attribute text. # - # source://rubocop-ast/lib/rubocop/ast/token.rb#9 + # source://rubocop-ast//lib/rubocop/ast/token.rb#9 def text; end - # source://rubocop-ast/lib/rubocop/ast/token.rb#40 + # source://rubocop-ast//lib/rubocop/ast/token.rb#40 def to_s; end # Returns the value of attribute type. # - # source://rubocop-ast/lib/rubocop/ast/token.rb#9 + # source://rubocop-ast//lib/rubocop/ast/token.rb#9 def type; end class << self - # source://rubocop-ast/lib/rubocop/ast/token.rb#11 + # source://rubocop-ast//lib/rubocop/ast/token.rb#11 def from_parser_token(parser_token); end end end -# source://rubocop-ast/lib/rubocop/ast/token.rb#7 +# source://rubocop-ast//lib/rubocop/ast/token.rb#7 RuboCop::AST::Token::LEFT_PAREN_TYPES = T.let(T.unsafe(nil), Array) # Provides methods for traversing an AST. @@ -6777,452 +6803,452 @@ RuboCop::AST::Token::LEFT_PAREN_TYPES = T.let(T.unsafe(nil), Array) # Override methods to perform custom processing. Remember to call `super` # if you want to recursively process descendant nodes. # -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#9 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#9 module RuboCop::AST::Traversal extend ::RuboCop::AST::Traversal::CallbackCompiler - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#173 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___ENCODING__(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___FILE__(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___LINE__(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_alias(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_and(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_and_asgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_arg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_arg_expr(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_args(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array_pattern_with_tail(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_back_ref(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_begin(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#151 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_block(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_block_pass(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_blockarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_break(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_case(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_case_match(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#146 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_casgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cbase(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#147 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_class(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_complex(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#145 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_const(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_const_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#155 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_csend(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cvar(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cvasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#148 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_def(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_defined?(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#153 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_defs(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_dstr(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_dsym(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_eflipflop(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_empty_else(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ensure(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_erange(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_false(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_find_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_float(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_for(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forward_arg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forward_args(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_args(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_kwrestarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_restarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_gvar(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_gvasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_hash(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_hash_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#150 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_if(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_if_guard(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_iflipflop(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_in_match(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_in_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_index(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_indexasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_int(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_irange(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ivar(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ivasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwargs(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwbegin(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwnilarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#132 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwoptarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#124 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwrestarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwsplat(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_lambda(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_lvar(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_lvasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_masgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_alt(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_as(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_current_line(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_nil_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_pattern(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_pattern_p(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_rest(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_var(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_with_lvasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_with_trailing_comma(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_mlhs(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_module(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_mrasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_next(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_nil(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_not(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_nth_ref(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#152 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_numblock(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#149 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_op_asgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#132 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_optarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_or(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_or_asgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_pair(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_pin(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_postexe(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_preexe(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_procarg0(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rasgn(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rational(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_redo(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_regexp(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#135 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_regopt(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_resbody(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rescue(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#124 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_restarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_retry(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_return(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_sclass(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_self(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#155 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_send(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_shadowarg(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_splat(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_str(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_super(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_sym(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_true(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_undef(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_unless_guard(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_until(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_until_post(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_when(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_while(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_while_post(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_xstr(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_yield(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_zsuper(node); end - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#17 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#17 def walk(node); end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#25 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#25 module RuboCop::AST::Traversal::CallbackCompiler # @api private # - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#61 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#61 def arity_check(range); end # @api private # - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#52 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#52 def body(signature, prelude); end # @api private # - # source://rubocop-ast/lib/rubocop/ast/traversal.rb#35 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#35 def def_callback(type, *signature, arity: T.unsafe(nil), arity_check: T.unsafe(nil), body: T.unsafe(nil)); end end # @api private # -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#26 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#26 RuboCop::AST::Traversal::CallbackCompiler::SEND = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#29 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#29 RuboCop::AST::Traversal::CallbackCompiler::TEMPLATE = T.let(T.unsafe(nil), Hash) # Only for debugging. # # @api private # -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#12 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#12 class RuboCop::AST::Traversal::DebugError < ::RuntimeError; end -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#100 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#100 RuboCop::AST::Traversal::NO_CHILD_NODES = T.let(T.unsafe(nil), Set) -# source://rubocop-ast/lib/rubocop/ast/traversal.rb#15 +# source://rubocop-ast//lib/rubocop/ast/traversal.rb#15 RuboCop::AST::Traversal::TYPE_TO_METHOD = T.let(T.unsafe(nil), Hash) # A node extension for `until` nodes. This will be used in place of a plain # node when the builder constructs the AST, making its methods available # to all `until` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/until_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/until_node.rb#8 class RuboCop::AST::UntilNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode include ::RuboCop::AST::ModifierNode @@ -7231,7 +7257,7 @@ class RuboCop::AST::UntilNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `until` node has a `do` keyword # - # source://rubocop-ast/lib/rubocop/ast/node/until_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/until_node.rb#30 def do?; end # Returns the inverse keyword of the `until` node as a string. @@ -7239,14 +7265,14 @@ class RuboCop::AST::UntilNode < ::RuboCop::AST::Node # # @return [String] the inverse keyword of the `until` statement # - # source://rubocop-ast/lib/rubocop/ast/node/until_node.rb#23 + # source://rubocop-ast//lib/rubocop/ast/node/until_node.rb#23 def inverse_keyword; end # Returns the keyword of the `until` statement as a string. # # @return [String] the keyword of the `until` statement # - # source://rubocop-ast/lib/rubocop/ast/node/until_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/until_node.rb#15 def keyword; end end @@ -7254,57 +7280,57 @@ end # This will be used in place of a plain node when the builder constructs # the AST, making its methods available to all assignment nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/var_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/var_node.rb#8 class RuboCop::AST::VarNode < ::RuboCop::AST::Node # @return [Symbol] The name of the variable. # - # source://rubocop-ast/lib/rubocop/ast/node/var_node.rb#10 + # source://rubocop-ast//lib/rubocop/ast/node/var_node.rb#10 def name; end end -# source://rubocop-ast/lib/rubocop/ast/version.rb#5 +# source://rubocop-ast//lib/rubocop/ast/version.rb#5 module RuboCop::AST::Version; end -# source://rubocop-ast/lib/rubocop/ast/version.rb#6 +# source://rubocop-ast//lib/rubocop/ast/version.rb#6 RuboCop::AST::Version::STRING = T.let(T.unsafe(nil), String) # A node extension for `when` nodes. This will be used in place of a plain # node when the builder constructs the AST, making its methods available # to all `when` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#8 class RuboCop::AST::WhenNode < ::RuboCop::AST::Node # Returns the body of the `when` node. # # @return [Node, nil] the body of the `when` node # - # source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#42 + # source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#42 def body; end # Returns the index of the `when` branch within the `case` statement. # # @return [Integer] the index of the `when` branch # - # source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#28 + # source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#28 def branch_index; end # Returns an array of all the conditions in the `when` branch. # # @return [Array] an array of condition nodes # - # source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#12 + # source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#12 def conditions; end # @deprecated Use `conditions.each` # - # source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#17 def each_condition(&block); end # Checks whether the `when` node has a `then` keyword. # # @return [Boolean] whether the `when` node has a `then` keyword # - # source://rubocop-ast/lib/rubocop/ast/node/when_node.rb#35 + # source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#35 def then?; end end @@ -7312,7 +7338,7 @@ end # node when the builder constructs the AST, making its methods available # to all `while` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/while_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/while_node.rb#8 class RuboCop::AST::WhileNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode include ::RuboCop::AST::ModifierNode @@ -7321,7 +7347,7 @@ class RuboCop::AST::WhileNode < ::RuboCop::AST::Node # # @return [Boolean] whether the `until` node has a `do` keyword # - # source://rubocop-ast/lib/rubocop/ast/node/while_node.rb#30 + # source://rubocop-ast//lib/rubocop/ast/node/while_node.rb#30 def do?; end # Returns the inverse keyword of the `while` node as a string. @@ -7329,14 +7355,14 @@ class RuboCop::AST::WhileNode < ::RuboCop::AST::Node # # @return [String] the inverse keyword of the `while` statement # - # source://rubocop-ast/lib/rubocop/ast/node/while_node.rb#23 + # source://rubocop-ast//lib/rubocop/ast/node/while_node.rb#23 def inverse_keyword; end # Returns the keyword of the `while` statement as a string. # # @return [String] the keyword of the `while` statement # - # source://rubocop-ast/lib/rubocop/ast/node/while_node.rb#15 + # source://rubocop-ast//lib/rubocop/ast/node/while_node.rb#15 def keyword; end end @@ -7344,13 +7370,13 @@ end # node when the builder constructs the AST, making its methods available # to all `yield` nodes within RuboCop. # -# source://rubocop-ast/lib/rubocop/ast/node/yield_node.rb#8 +# source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#8 class RuboCop::AST::YieldNode < ::RuboCop::AST::Node include ::RuboCop::AST::ParameterizedNode include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2lib/ast/node.rb#56 + # source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#20 def arguments; end # Custom destructuring method. This can be used to normalize @@ -7358,343 +7384,18 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node # # @return [Array] the different parts of the `send` node # - # source://rubocop-ast/lib/rubocop/ast/node/yield_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#16 def node_parts; end end -class RuboCop::CommentConfig - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#34 - def initialize(processed_source); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#63 - def comment_only_line?(line_number); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def config(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#51 - def cop_disabled_line_ranges; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#39 - def cop_enabled_at_line?(cop, line_number); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#47 - def cop_opted_in?(cop); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#55 - def extra_enabled_comments; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#30 - def processed_source; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def registry(*_arg0, **_arg1, &_arg2); end - - private - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#96 - def analyze; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#124 - def analyze_cop(analysis, directive); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#144 - def analyze_disabled(analysis, directive); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#155 - def analyze_rest(analysis, directive); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#135 - def analyze_single_line(analysis, directive); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#164 - def cop_line_ranges(analysis); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#170 - def each_directive; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#69 - def extra_enabled_comments_with_names(extras:, names:); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#190 - def handle_enable_all(directive, names, extras); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#204 - def handle_switch(directive, names, extras); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#115 - def inject_disabled_cops_directives(analyses); end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#183 - def non_comment_token_line_numbers; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#83 - def opt_in_cops; end - - # source://rubocop/1.69.2lib/rubocop/comment_config.rb#179 - def qualified_cop_name(cop_name); end -end - -class RuboCop::Config - # source://rubocop/1.69.2lib/rubocop/config.rb#30 - def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def [](*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def []=(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#170 - def active_support_extensions_enabled?; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#96 - def add_excludes_from_higher_level(highest_config); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#197 - def allowed_camel_case_file?(file); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#241 - def base_dir_for_path_parameters; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#271 - def bundler_lock_file_path; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#51 - def check; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#142 - def clusivity_config_for_badge?(badge); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def delete(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#108 - def deprecation_check; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def dig(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#162 - def disabled_new_cops?; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def each(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def each_key(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#166 - def enabled_new_cops?; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def fetch(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#219 - def file_to_exclude?(file); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#178 - def file_to_include?(file); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#158 - def for_all_cops; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#128 - def for_badge(badge); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#122 - def for_cop(cop); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#153 - def for_department(department_name); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#296 - def gem_versions_in_target; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#300 - def inspect; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#76 - def internal?; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def key?(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def keys(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#47 - def loaded_features; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#20 - def loaded_path; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#81 - def make_excludes_absolute; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def map(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def merge(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#251 - def parser_engine; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#232 - def path_relative_to_config(path); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#228 - def patterns_to_exclude; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#224 - def patterns_to_include; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#282 - def pending_cops; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#211 - def possibly_include_hidden?; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def replace(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#71 - def signature; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#266 - def smart_loaded_path; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#174 - def string_literals_frozen_by_default?; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#255 - def target_rails_version; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def target_ruby_version(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def to_h(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def to_hash(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#67 - def to_s; end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def transform_values(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def validate(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#58 - def validate_after_resolution; end - - private - - # source://rubocop/1.69.2lib/rubocop/config.rb#350 - def department_of(qualified_cop_name); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#338 - def enable_cop?(qualified_cop_name, cop_options); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#325 - def gem_version_to_major_minor_float(gem_version); end - - # source://rubocop/1.69.2lib/rubocop/config.rb#331 - def read_gem_versions_from_target_lockfile; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#312 - def read_rails_version_from_bundler_lock_file; end - - # source://rubocop/1.69.2lib/rubocop/config.rb#307 - def target_rails_version_from_bundler_lock_file; end - - class << self - # source://rubocop/1.69.2lib/rubocop/config.rb#22 - def create(hash, path, check: T.unsafe(nil)); end - end -end - -class RuboCop::ConfigValidator - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#27 - def initialize(config); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def for_all_cops(*_arg0, **_arg1, &_arg2); end - - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#9 - def smart_loaded_path(*_arg0, **_arg1, &_arg2); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#63 - def target_ruby_version; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#33 - def validate; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#59 - def validate_after_resolution; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#67 - def validate_section_presence(name); end - - private - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#104 - def alert_about_unrecognized_cops(invalid_cop_names); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#254 - def check_cop_config_value(hash, parent = T.unsafe(nil)); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#77 - def check_obsoletions; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#84 - def check_target_ruby; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#195 - def each_invalid_parameter(cop_name); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#120 - def list_unknown_cops(invalid_cop_names); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#274 - def param_error_message(parent, key, value, supposed_values); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#242 - def reject_conflicting_safe_settings; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#233 - def reject_mutually_exclusive_defaults; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#142 - def suggestion(name); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#75 - def target_ruby; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#207 - def validate_enforced_styles(valid_cop_names); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#169 - def validate_new_cops_parameter; end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#180 - def validate_parameter_names(valid_cop_names); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#227 - def validate_support_and_has_list(name, formats, valid); end - - # source://rubocop/1.69.2lib/rubocop/config_validator.rb#158 - def validate_syntax_cop; end -end +class RuboCop::CommentConfig; end +class RuboCop::Config; end +class RuboCop::ConfigValidator; end # Similar to `Forwardable#def_delegators`, but simpler & faster # -# source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#5 +# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#5 module RuboCop::SimpleForwardable - # source://rubocop-ast/lib/rubocop/ast/utilities/simple_forwardable.rb#6 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#6 def def_delegators(accessor, *methods); end end diff --git a/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi b/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi index 3aa664c6c..5587bb7b0 100644 --- a/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi +++ b/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi @@ -4,17 +4,18 @@ # This is an autogenerated file for types exported from the `rubocop-rspec` gem. # Please instead update this file by running `bin/tapioca gem rubocop-rspec`. -# source://rubocop-rspec/lib/rubocop/rspec.rb#3 + +# source://rubocop-rspec//lib/rubocop/rspec.rb#3 module RuboCop; end class RuboCop::AST::Node < ::Parser::AST::Node include ::RuboCop::RSpec::Node end -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/file_help.rb#4 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/file_help.rb#4 module RuboCop::Cop; end -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/file_help.rb#5 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/file_help.rb#5 module RuboCop::Cop::RSpec; end # Checks that left braces for adjacent single line lets are aligned. @@ -30,25 +31,25 @@ module RuboCop::Cop::RSpec; end # let(:baz) { bar } # let(:a) { b } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/align_left_let_brace.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/align_left_let_brace.rb#19 class RuboCop::Cop::RSpec::AlignLeftLetBrace < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_left_let_brace.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_left_let_brace.rb#28 def on_new_investigation; end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_left_let_brace.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_left_let_brace.rb#43 def token_aligner; end class << self - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_left_let_brace.rb#24 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_left_let_brace.rb#24 def autocorrect_incompatible_with; end end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/align_left_let_brace.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/align_left_let_brace.rb#22 RuboCop::Cop::RSpec::AlignLeftLetBrace::MSG = T.let(T.unsafe(nil), String) # Checks that right braces for adjacent single line lets are aligned. @@ -64,25 +65,25 @@ RuboCop::Cop::RSpec::AlignLeftLetBrace::MSG = T.let(T.unsafe(nil), String) # let(:baz) { bar } # let(:a) { b } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/align_right_let_brace.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/align_right_let_brace.rb#19 class RuboCop::Cop::RSpec::AlignRightLetBrace < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_right_let_brace.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_right_let_brace.rb#28 def on_new_investigation; end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_right_let_brace.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_right_let_brace.rb#43 def token_aligner; end class << self - # source://rubocop-rspec/lib/rubocop/cop/rspec/align_right_let_brace.rb#24 + # source://rubocop-rspec//lib/rubocop/cop/rspec/align_right_let_brace.rb#24 def autocorrect_incompatible_with; end end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/align_right_let_brace.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/align_right_let_brace.rb#22 RuboCop::Cop::RSpec::AlignRightLetBrace::MSG = T.let(T.unsafe(nil), String) # Check that instances are not being stubbed globally. @@ -105,16 +106,16 @@ RuboCop::Cop::RSpec::AlignRightLetBrace::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/any_instance.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/any_instance.rb#26 class RuboCop::Cop::RSpec::AnyInstance < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/any_instance.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/any_instance.rb#34 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/any_instance.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/any_instance.rb#27 RuboCop::Cop::RSpec::AnyInstance::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/any_instance.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/any_instance.rb#28 RuboCop::Cop::RSpec::AnyInstance::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that around blocks actually run the test. @@ -140,57 +141,57 @@ RuboCop::Cop::RSpec::AnyInstance::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # test.run # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#29 class RuboCop::Cop::RSpec::AroundBlock < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#45 def find_arg_usage(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#35 def hook_block(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#40 def hook_numblock(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#49 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#59 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#59 def on_numblock(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#67 def add_no_arg_offense(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#82 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#82 def check_for_numblock(block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#71 def check_for_unused_proxy(block, proxy); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#30 RuboCop::Cop::RSpec::AroundBlock::MSG_NO_ARG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/around_block.rb#31 +# source://rubocop-rspec//lib/rubocop/cop/rspec/around_block.rb#31 RuboCop::Cop::RSpec::AroundBlock::MSG_UNUSED_ARG = T.let(T.unsafe(nil), String) # @abstract parent class to RSpec cops # -# source://rubocop-rspec/lib/rubocop/cop/rspec/base.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/base.rb#7 class RuboCop::Cop::RSpec::Base < ::RuboCop::Cop::Base include ::RuboCop::RSpec::Language # Set the config for dynamic DSL configuration-aware helpers # that have no other means of accessing the configuration. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/base.rb#19 + # source://rubocop-rspec//lib/rubocop/cop/rspec/base.rb#19 def on_new_investigation; end class << self # Invoke the original inherited hook so our cops are recognized # - # source://rubocop-rspec/lib/rubocop/cop/rspec/base.rb#13 + # source://rubocop-rspec//lib/rubocop/cop/rspec/base.rb#13 def inherited(subclass); end end end @@ -210,19 +211,19 @@ end # expect(foo).to be 1.0 # expect(foo).to be(true) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/be.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be.rb#21 class RuboCop::Cop::RSpec::Be < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/be.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be.rb#27 def be_without_args(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be.rb#31 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/be.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be.rb#22 RuboCop::Cop::RSpec::Be::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be.rb#24 RuboCop::Cop::RSpec::Be::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Prefer using `be_empty` when checking for an empty array. @@ -235,21 +236,21 @@ RuboCop::Cop::RSpec::Be::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # expect(array).to be_empty # -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_empty.rb#16 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_empty.rb#16 class RuboCop::Cop::RSpec::BeEmpty < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_empty.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_empty.rb#23 def expect_array_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_empty.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_empty.rb#35 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_empty.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_empty.rb#19 RuboCop::Cop::RSpec::BeEmpty::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_empty.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_empty.rb#20 RuboCop::Cop::RSpec::BeEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for expectations where `be(...)` can replace `eq(...)`. @@ -269,21 +270,21 @@ RuboCop::Cop::RSpec::BeEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # expect(foo).to be(false) # expect(foo).to be(nil) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eq.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eq.rb#26 class RuboCop::Cop::RSpec::BeEq < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_eq.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_eq.rb#33 def eq_type_with_identity?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_eq.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_eq.rb#37 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eq.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eq.rb#29 RuboCop::Cop::RSpec::BeEq::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eq.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eq.rb#30 RuboCop::Cop::RSpec::BeEq::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for expectations where `be(...)` can replace `eql(...)`. @@ -317,21 +318,21 @@ RuboCop::Cop::RSpec::BeEq::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # expect(foo).to be(:bar) # expect(foo).to be(nil) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eql.rb#40 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eql.rb#40 class RuboCop::Cop::RSpec::BeEql < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_eql.rb#47 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_eql.rb#47 def eql_type_with_identity(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_eql.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_eql.rb#51 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eql.rb#43 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eql.rb#43 RuboCop::Cop::RSpec::BeEql::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_eql.rb#44 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_eql.rb#44 RuboCop::Cop::RSpec::BeEql::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Ensures a consistent style is used when matching `nil`. @@ -354,36 +355,36 @@ RuboCop::Cop::RSpec::BeEql::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # expect(foo).to be(nil) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#27 class RuboCop::Cop::RSpec::BeNil < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#36 def be_nil_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#41 def nil_value_expectation?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#45 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#64 def check_be_nil_style(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#56 def check_be_style(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#31 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#31 RuboCop::Cop::RSpec::BeNil::BE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#32 RuboCop::Cop::RSpec::BeNil::BE_NIL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/be_nil.rb#33 +# source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#33 RuboCop::Cop::RSpec::BeNil::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that before/after(:all/:context) isn't being used. @@ -401,19 +402,19 @@ RuboCop::Cop::RSpec::BeNil::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # after(:each) { Widget.delete_all } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/before_after_all.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/before_after_all.rb#21 class RuboCop::Cop::RSpec::BeforeAfterAll < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/before_after_all.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/before_after_all.rb#30 def before_or_after_all(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/before_after_all.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/before_after_all.rb#34 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/before_after_all.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/before_after_all.rb#22 RuboCop::Cop::RSpec::BeforeAfterAll::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/before_after_all.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/before_after_all.rb#27 RuboCop::Cop::RSpec::BeforeAfterAll::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Prefer negated matchers over `to change.by(0)`. @@ -469,71 +470,71 @@ RuboCop::Cop::RSpec::BeforeAfterAll::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set # .to not_change { Foo.bar } # .and not_change { Foo.baz } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#60 +# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#60 class RuboCop::Cop::RSpec::ChangeByZero < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#88 def change_nodes(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#71 def expect_change_with_arguments(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#78 def expect_change_with_block(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#92 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#92 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#134 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#134 def autocorrect(corrector, node, change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#141 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#141 def autocorrect_compound(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#120 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#120 def compound_expectations?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#151 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#151 def insert_operator(corrector, node, change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#125 def message(change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#129 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#129 def message_compound(change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#175 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#175 def negated_matcher; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#179 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#179 def preferred_method; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#105 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#105 def register_offense(node, change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#164 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#164 def remove_by_zero(corrector, node, change_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#160 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#160 def replace_node(node, change_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#67 +# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#67 RuboCop::Cop::RSpec::ChangeByZero::CHANGE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#64 +# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#64 RuboCop::Cop::RSpec::ChangeByZero::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#65 +# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#65 RuboCop::Cop::RSpec::ChangeByZero::MSG_COMPOUND = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/change_by_zero.rb#68 +# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#68 RuboCop::Cop::RSpec::ChangeByZero::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Enforces consistent use of `be_a` or `be_kind_of`. @@ -555,73 +556,73 @@ RuboCop::Cop::RSpec::ChangeByZero::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # expect(object).to be_kind_of(String) # expect(object).to be_a_kind_of(String) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#26 class RuboCop::Cop::RSpec::ClassCheck < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#54 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#67 def autocorrect(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#71 def format_message(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#79 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#79 def offending?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#87 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#87 def preferred_method_name; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#83 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#83 def preferred_method_name?(method_name); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#91 def preferred_method_names; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#32 RuboCop::Cop::RSpec::ClassCheck::METHOD_NAMES_FOR_BE_A = T.let(T.unsafe(nil), Set) -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#37 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#37 RuboCop::Cop::RSpec::ClassCheck::METHOD_NAMES_FOR_KIND_OF = T.let(T.unsafe(nil), Set) -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#30 RuboCop::Cop::RSpec::ClassCheck::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#42 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#42 RuboCop::Cop::RSpec::ClassCheck::PREFERRED_METHOD_NAME_BY_STYLE = T.let(T.unsafe(nil), Hash) -# source://rubocop-rspec/lib/rubocop/cop/rspec/class_check.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/class_check.rb#47 RuboCop::Cop::RSpec::ClassCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Help methods for working with nodes containing comments. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#7 module RuboCop::Cop::RSpec::CommentsHelp include ::RuboCop::Cop::RSpec::FinalEndLocation - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#17 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#17 def begin_pos_with_comment(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#32 def buffer; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#27 def end_line_position(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#10 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#10 def source_range_with_comment(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/comments_help.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/comments_help.rb#23 def start_line_position(node); end end @@ -642,26 +643,26 @@ end # # good # it { is_expected.to contain_exactly(content, *array) } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#23 class RuboCop::Cop::RSpec::ContainExactly < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#29 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#45 def autocorrect_for_populated_array(node, corrector); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#37 def check_populated_collection(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#26 RuboCop::Cop::RSpec::ContainExactly::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/contain_exactly.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#27 RuboCop::Cop::RSpec::ContainExactly::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # `context` should not be used for specifying methods. @@ -685,25 +686,25 @@ RuboCop::Cop::RSpec::ContainExactly::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # ... # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/context_method.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/context_method.rb#27 class RuboCop::Cop::RSpec::ContextMethod < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_method.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_method.rb#33 def context_method(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_method.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_method.rb#41 def on_block(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_method.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_method.rb#51 def method_name?(description); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/context_method.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/context_method.rb#30 RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String) # Checks that `context` docstring starts with an allowed prefix. @@ -757,41 +758,41 @@ RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String) # end # @see http://www.betterspecs.org/#contexts # -# source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#61 +# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#61 class RuboCop::Cop::RSpec::ContextWording < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::AllowedPattern - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#69 def context_wording(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#73 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#83 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#83 def allowed_patterns; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#91 def description(context); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#107 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#107 def expect_patterns; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#99 def message; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#87 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#87 def prefix_regexes; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#117 + # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#117 def prefixes; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#65 +# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#65 RuboCop::Cop::RSpec::ContextWording::MSG_ALWAYS = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/context_wording.rb#64 +# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#64 RuboCop::Cop::RSpec::ContextWording::MSG_MATCH = T.let(T.unsafe(nil), String) # Check that the first argument to the top-level describe is a constant. @@ -824,39 +825,39 @@ RuboCop::Cop::RSpec::ContextWording::MSG_MATCH = T.let(T.unsafe(nil), String) # describe "A feature example", type: :feature do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#37 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#37 class RuboCop::Cop::RSpec::DescribeClass < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#44 def example_group_with_ignored_metadata?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#49 def not_a_const_described(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#58 def on_top_level_group(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#54 def sym_pair(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#79 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#79 def ignored_metadata; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#68 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#68 def ignored_metadata?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#74 def string_constant?(described); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_class.rb#40 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#40 RuboCop::Cop::RSpec::DescribeClass::MSG = T.let(T.unsafe(nil), String) # Checks that the second argument to `describe` specifies a method. @@ -873,28 +874,28 @@ RuboCop::Cop::RSpec::DescribeClass::MSG = T.let(T.unsafe(nil), String) # describe MyClass, '.my_class_method' do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#20 class RuboCop::Cop::RSpec::DescribeMethod < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#34 def method_name?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#38 def on_top_level_group(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#27 def second_string_literal_argument(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#46 def method_name_prefix?(description); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_method.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_method.rb#23 RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String) # Avoid describing symbols. @@ -911,19 +912,19 @@ RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String) # end # @see https://github.com/rspec/rspec-core/issues/1610 # -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_symbol.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_symbol.rb#20 class RuboCop::Cop::RSpec::DescribeSymbol < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_symbol.rb#25 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_symbol.rb#25 def describe_symbol?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/describe_symbol.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/describe_symbol.rb#29 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_symbol.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_symbol.rb#21 RuboCop::Cop::RSpec::DescribeSymbol::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/describe_symbol.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_symbol.rb#22 RuboCop::Cop::RSpec::DescribeSymbol::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that tests use `described_class`. @@ -987,38 +988,38 @@ RuboCop::Cop::RSpec::DescribeSymbol::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#71 +# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#71 class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::Namespace extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#80 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#80 def common_instance_exec_closure?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#97 def contains_described_class?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#92 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#92 def described_constant(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#100 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#100 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#85 def rspec_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#89 def scope_changing_syntax?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#136 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#136 def allowed?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#117 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#117 def autocorrect(corrector, match); end # @example @@ -1032,7 +1033,7 @@ class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base # @param const [Array] # @return [Array] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#200 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#200 def collapse_namespace(namespace, const); end # @example @@ -1042,50 +1043,50 @@ class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#217 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#217 def const_name(node); end # @yield [node] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#127 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#127 def find_usage(node, &block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#185 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#185 def full_const_name(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#140 def message(offense); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#163 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#163 def offensive?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#171 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#171 def offensive_described_class?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#159 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#159 def only_static_constants?; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#149 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#149 def scope_change?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#155 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#155 def skippable_block?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#76 +# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#76 RuboCop::Cop::RSpec::DescribedClass::DESCRIBED_CLASS = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/described_class.rb#77 +# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#77 RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String) # Avoid opening modules and defining specs within them. @@ -1104,16 +1105,16 @@ RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String) # end # @see https://github.com/rubocop/rubocop-rspec/issues/735 # -# source://rubocop-rspec/lib/rubocop/cop/rspec/described_class_module_wrapping.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class_module_wrapping.rb#22 class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class_module_wrapping.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class_module_wrapping.rb#26 def include_rspec_blocks?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/described_class_module_wrapping.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class_module_wrapping.rb#30 def on_module(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/described_class_module_wrapping.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class_module_wrapping.rb#23 RuboCop::Cop::RSpec::DescribedClassModuleWrapping::MSG = T.let(T.unsafe(nil), String) # Enforces custom RSpec dialects. @@ -1168,19 +1169,19 @@ RuboCop::Cop::RSpec::DescribedClassModuleWrapping::MSG = T.let(T.unsafe(nil), St # # ... # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/dialect.rb#58 +# source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#58 class RuboCop::Cop::RSpec::Dialect < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::MethodPreference extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/dialect.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#67 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/dialect.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#65 def rspec_method?(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/dialect.rb#62 +# source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#62 RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String) # Avoid duplicated metadata. @@ -1192,30 +1193,30 @@ RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String) # # good # describe 'Something', :a # -# source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#14 +# source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#14 class RuboCop::Cop::RSpec::DuplicatedMetadata < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Metadata include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#22 + # source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#22 def on_metadata(symbols, _hash); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#38 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#50 def duplicated?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#30 def on_metadata_symbol(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/duplicated_metadata.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/duplicated_metadata.rb#20 RuboCop::Cop::RSpec::DuplicatedMetadata::MSG = T.let(T.unsafe(nil), String) # Checks if an example group does not include any tests. @@ -1250,7 +1251,7 @@ RuboCop::Cop::RSpec::DuplicatedMetadata::MSG = T.let(T.unsafe(nil), String) # pending 'will add tests later' # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#38 class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector @@ -1264,7 +1265,7 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] example group body # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#55 def example_group_body(param0 = T.unsafe(nil)); end # Match examples, example groups and includes @@ -1280,7 +1281,7 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#73 def example_or_group_or_include?(param0 = T.unsafe(nil)); end # Matches examples defined in scopes where they could run @@ -1293,7 +1294,7 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#130 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#130 def examples?(param0 = T.unsafe(nil)); end # Match examples or examples inside blocks @@ -1305,7 +1306,7 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#111 def examples_directly_or_in_block?(param0 = T.unsafe(nil)); end # Match examples defined inside a block which is not a hook @@ -1321,34 +1322,34 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#97 def examples_inside_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#139 def on_block(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#165 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#165 def conditionals_with_examples?(body); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#173 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#173 def examples_in_branches?(condition_node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#154 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#154 def offensive?(body); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#180 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#180 def removed_range(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_example_group.rb#43 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_example_group.rb#43 RuboCop::Cop::RSpec::EmptyExampleGroup::MSG = T.let(T.unsafe(nil), String) # Checks for empty before and after hooks. @@ -1371,19 +1372,19 @@ RuboCop::Cop::RSpec::EmptyExampleGroup::MSG = T.let(T.unsafe(nil), String) # end # after(:all) { cleanup_feed } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_hook.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_hook.rb#26 class RuboCop::Cop::RSpec::EmptyHook < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_hook.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_hook.rb#33 def empty_hook?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_hook.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_hook.rb#37 def on_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_hook.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_hook.rb#30 RuboCop::Cop::RSpec::EmptyHook::MSG = T.let(T.unsafe(nil), String) # Checks if there is an empty line after example blocks. @@ -1422,40 +1423,40 @@ RuboCop::Cop::RSpec::EmptyHook::MSG = T.let(T.unsafe(nil), String) # it { two } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#43 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#43 class RuboCop::Cop::RSpec::EmptyLineAfterExample < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RSpec::EmptyLineSeparation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#49 def on_block(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#64 def allow_consecutive_one_liners?; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#60 def allowed_one_liner?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#68 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#68 def consecutive_one_liner?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#72 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#72 def next_one_line_example?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example.rb#47 RuboCop::Cop::RSpec::EmptyLineAfterExample::MSG = T.let(T.unsafe(nil), String) # Checks if there is an empty line after example group blocks. @@ -1478,18 +1479,18 @@ RuboCop::Cop::RSpec::EmptyLineAfterExample::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example_group.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example_group.rb#26 class RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RSpec::EmptyLineSeparation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example_group.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example_group.rb#32 def on_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_example_group.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_example_group.rb#30 RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup::MSG = T.let(T.unsafe(nil), String) # Checks if there is an empty line after the last let block. @@ -1506,18 +1507,18 @@ RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup::MSG = T.let(T.unsafe(nil), Stri # # it { does_something } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_final_let.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_final_let.rb#20 class RuboCop::Cop::RSpec::EmptyLineAfterFinalLet < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RSpec::EmptyLineSeparation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_final_let.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_final_let.rb#26 def on_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_final_let.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_final_let.rb#24 RuboCop::Cop::RSpec::EmptyLineAfterFinalLet::MSG = T.let(T.unsafe(nil), String) # Checks if there is an empty line after hook blocks. @@ -1566,7 +1567,7 @@ RuboCop::Cop::RSpec::EmptyLineAfterFinalLet::MSG = T.let(T.unsafe(nil), String) # # it { does_something } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_hook.rb#53 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#53 class RuboCop::Cop::RSpec::EmptyLineAfterHook < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::FinalEndLocation @@ -1574,21 +1575,21 @@ class RuboCop::Cop::RSpec::EmptyLineAfterHook < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::EmptyLineSeparation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_hook.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#60 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_hook.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#70 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_hook.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#74 def chained_single_line_hooks?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_hook.rb#58 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#58 RuboCop::Cop::RSpec::EmptyLineAfterHook::MSG = T.let(T.unsafe(nil), String) # Checks if there is an empty line after subject block. @@ -1603,7 +1604,7 @@ RuboCop::Cop::RSpec::EmptyLineAfterHook::MSG = T.let(T.unsafe(nil), String) # # let(:foo) { bar } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_subject.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_subject.rb#18 class RuboCop::Cop::RSpec::EmptyLineAfterSubject < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp @@ -1611,11 +1612,11 @@ class RuboCop::Cop::RSpec::EmptyLineAfterSubject < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::InsideExampleGroup extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_subject.rb#25 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_subject.rb#25 def on_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_line_after_subject.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_subject.rb#23 RuboCop::Cop::RSpec::EmptyLineAfterSubject::MSG = T.let(T.unsafe(nil), String) # Helps determine the offending location if there is not an empty line @@ -1623,25 +1624,25 @@ RuboCop::Cop::RSpec::EmptyLineAfterSubject::MSG = T.let(T.unsafe(nil), String) # in the following cases. # - followed by empty line(s) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#11 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#11 module RuboCop::Cop::RSpec::EmptyLineSeparation include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#51 def last_child?(node); end # @yield [offending_loc(enable_directive_line || final_end_line)] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#26 def missing_separating_line(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#15 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#15 def missing_separating_line_offense(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/empty_line_separation.rb#41 def offending_loc(last_line); end end @@ -1654,22 +1655,22 @@ end # # good # describe 'Something' # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_metadata.rb#14 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_metadata.rb#14 class RuboCop::Cop::RSpec::EmptyMetadata < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Metadata include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_metadata.rb#22 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_metadata.rb#22 def on_metadata(_symbols, hash); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_metadata.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_metadata.rb#33 def remove_empty_metadata(corrector, node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_metadata.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_metadata.rb#20 RuboCop::Cop::RSpec::EmptyMetadata::MSG = T.let(T.unsafe(nil), String) # Check that the `output` matcher is not called with an empty string. @@ -1683,21 +1684,21 @@ RuboCop::Cop::RSpec::EmptyMetadata::MSG = T.let(T.unsafe(nil), String) # expect { foo }.not_to output.to_stdout # expect { bar }.to output.to_stderr # -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_output.rb#17 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_output.rb#17 class RuboCop::Cop::RSpec::EmptyOutput < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_output.rb#24 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_output.rb#24 def matching_empty_output(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/empty_output.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_output.rb#34 def on_send(send_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_output.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_output.rb#20 RuboCop::Cop::RSpec::EmptyOutput::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/empty_output.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_output.rb#21 RuboCop::Cop::RSpec::EmptyOutput::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Use `eq` instead of `be ==` to compare objects. @@ -1709,27 +1710,27 @@ RuboCop::Cop::RSpec::EmptyOutput::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # expect(foo).to eq 42 # -# source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#15 +# source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#15 class RuboCop::Cop::RSpec::Eq < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#23 def be_equals(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#27 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#38 def offense_range(matcher); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#19 RuboCop::Cop::RSpec::Eq::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/eq.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/eq.rb#20 RuboCop::Cop::RSpec::Eq::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for long examples. @@ -1782,20 +1783,20 @@ RuboCop::Cop::RSpec::Eq::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # ) # end # 6 points # -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_length.rb#57 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_length.rb#57 class RuboCop::Cop::RSpec::ExampleLength < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::CodeLength - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_length.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_length.rb#62 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_length.rb#70 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_length.rb#70 def cop_label; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_length.rb#60 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_length.rb#60 RuboCop::Cop::RSpec::ExampleLength::LABEL = T.let(T.unsafe(nil), String) # Checks for examples without a description. @@ -1848,31 +1849,31 @@ RuboCop::Cop::RSpec::ExampleLength::LABEL = T.let(T.unsafe(nil), String) # expect(result).to be(true) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#59 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#59 class RuboCop::Cop::RSpec::ExampleWithoutDescription < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#67 def example_description(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#69 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#83 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#83 def check_example_without_description(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#91 def disallow_empty_description?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#64 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#64 RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_ADD_DESCRIPTION = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_without_description.rb#62 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#62 RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_DEFAULT_ARGUMENT = T.let(T.unsafe(nil), String) # Checks for common mistakes in example descriptions. @@ -1916,70 +1917,70 @@ RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_DEFAULT_ARGUMENT = T.let(T.u # end # @see http://betterspecs.org/#should # -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#49 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#49 class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#63 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#63 def it_description(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#71 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#89 def add_wording_offense(node, message); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#136 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#136 def custom_transform; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#99 def docstring(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#140 def ignored_words; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#144 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#144 def insufficient_docstring?(description_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#148 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#148 def insufficient_examples; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#153 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#153 def preprocess(message); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#109 def replacement_text(node); end # Recursive processing is required to process nested dstr nodes # that is the case for \-separated multiline strings with interpolation. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#125 def text(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#60 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#60 RuboCop::Cop::RSpec::ExampleWording::IT_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#55 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#55 RuboCop::Cop::RSpec::ExampleWording::MSG_INSUFFICIENT_DESCRIPTION = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#54 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#54 RuboCop::Cop::RSpec::ExampleWording::MSG_IT = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#52 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#52 RuboCop::Cop::RSpec::ExampleWording::MSG_SHOULD = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#53 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#53 RuboCop::Cop::RSpec::ExampleWording::MSG_WILL = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#58 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#58 RuboCop::Cop::RSpec::ExampleWording::SHOULD_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/cop/rspec/example_wording.rb#59 +# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#59 RuboCop::Cop::RSpec::ExampleWording::WILL_PREFIX = T.let(T.unsafe(nil), Regexp) # Checks for excessive whitespace in example descriptions. @@ -2001,14 +2002,14 @@ RuboCop::Cop::RSpec::ExampleWording::WILL_PREFIX = T.let(T.unsafe(nil), Regexp) # context 'when a condition is met' do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#26 class RuboCop::Cop::RSpec::ExcessiveDocstringSpacing < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#32 def example_description(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#39 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#39 def on_send(node); end private @@ -2016,31 +2017,31 @@ class RuboCop::Cop::RSpec::ExcessiveDocstringSpacing < ::RuboCop::Cop::RSpec::Ba # @param node [RuboCop::AST::Node] # @param text [String] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#76 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#76 def add_whitespace_offense(node, text); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#85 def docstring(node); end # @param text [String] # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#54 def excessive_whitespace?(text); end # @param text [String] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#68 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#68 def strip_excessive_whitespace(text); end # Recursive processing is required to process nested dstr nodes # that is the case for \-separated multiline strings with interpolation. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#97 def text(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/excessive_docstring_spacing.rb#29 RuboCop::Cop::RSpec::ExcessiveDocstringSpacing::MSG = T.let(T.unsafe(nil), String) # Checks for `expect(...)` calls containing literal values. @@ -2061,21 +2062,21 @@ RuboCop::Cop::RSpec::ExcessiveDocstringSpacing::MSG = T.let(T.unsafe(nil), Strin # # bad (not supported autocorrection) # expect(false).to eq(true) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#24 class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#57 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#57 def expect_literal(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#68 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#68 def on_send(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#98 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#98 def complex_literal?(node); end # This is not implemented using a NodePattern because it seems @@ -2083,31 +2084,31 @@ class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base # # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#90 def literal?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#94 def simple_literal?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#44 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#44 RuboCop::Cop::RSpec::ExpectActual::COMPLEX_LITERALS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#54 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#54 RuboCop::Cop::RSpec::ExpectActual::CORRECTABLE_MATCHERS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#27 RuboCop::Cop::RSpec::ExpectActual::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#29 RuboCop::Cop::RSpec::ExpectActual::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#31 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#31 RuboCop::Cop::RSpec::ExpectActual::SIMPLE_LITERALS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_actual.rb#53 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#53 RuboCop::Cop::RSpec::ExpectActual::SKIPPED_MATCHERS = T.let(T.unsafe(nil), Array) # Checks for consistent style of change matcher. @@ -2135,31 +2136,31 @@ RuboCop::Cop::RSpec::ExpectActual::SKIPPED_MATCHERS = T.let(T.unsafe(nil), Array # # good # expect { run }.to change { Foo.bar } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#32 class RuboCop::Cop::RSpec::ExpectChange < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#41 def expect_change_with_arguments(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#46 def expect_change_with_block(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#72 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#72 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#60 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#36 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#36 RuboCop::Cop::RSpec::ExpectChange::MSG_BLOCK = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#37 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#37 RuboCop::Cop::RSpec::ExpectChange::MSG_CALL = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_change.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#38 RuboCop::Cop::RSpec::ExpectChange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Do not use `expect` in hooks such as `before`. @@ -2180,24 +2181,24 @@ RuboCop::Cop::RSpec::ExpectChange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # expect(something).to eq 'foo' # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#24 class RuboCop::Cop::RSpec::ExpectInHook < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#28 def expectation(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#30 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#40 def on_numblock(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#44 def message(expect, hook); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_hook.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#25 RuboCop::Cop::RSpec::ExpectInHook::MSG = T.let(T.unsafe(nil), String) # Do not use `expect` in let. @@ -2213,21 +2214,21 @@ RuboCop::Cop::RSpec::ExpectInHook::MSG = T.let(T.unsafe(nil), String) # expect(something).to eq 'foo' # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_let.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_let.rb#19 class RuboCop::Cop::RSpec::ExpectInLet < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_let.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_let.rb#23 def expectation(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_let.rb#25 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_let.rb#25 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_let.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_let.rb#36 def message(expect); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_in_let.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_let.rb#20 RuboCop::Cop::RSpec::ExpectInLet::MSG = T.let(T.unsafe(nil), String) # Checks for opportunities to use `expect { ... }.to output`. @@ -2242,9 +2243,9 @@ RuboCop::Cop::RSpec::ExpectInLet::MSG = T.let(T.unsafe(nil), String) # # good # expect { my_app.print_report }.to output('Hello World').to_stdout # -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_output.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_output.rb#18 class RuboCop::Cop::RSpec::ExpectOutput < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_output.rb#22 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_output.rb#22 def on_gvasgn(node); end private @@ -2259,89 +2260,89 @@ class RuboCop::Cop::RSpec::ExpectOutput < ::RuboCop::Cop::RSpec::Base # # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/expect_output.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_output.rb#40 def inside_example_scope?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/expect_output.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_output.rb#19 RuboCop::Cop::RSpec::ExpectOutput::MSG = T.let(T.unsafe(nil), String) # A helper for `explicit` style # -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#121 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#121 module RuboCop::Cop::RSpec::ExplicitHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#182 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#182 def predicate_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#195 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#195 def predicate_matcher_block?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#135 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#135 def allowed_explicit_matchers; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#139 def check_explicit(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#219 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#219 def corrector_explicit(corrector, to_node, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#175 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#175 def heredoc_argument?(matcher); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#213 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#213 def message_explicit(matcher); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#226 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#226 def move_predicate(corrector, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#204 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#204 def predicate_matcher_name?(name); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#162 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#162 def replaceable_matcher?(matcher); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#255 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#255 def replacement_matcher(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#237 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#237 def to_predicate_method(matcher); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#171 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#171 def uncorrectable_matcher?(node, matcher); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#127 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#127 RuboCop::Cop::RSpec::ExplicitHelper::BUILT_IN_MATCHERS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#125 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#125 RuboCop::Cop::RSpec::ExplicitHelper::MSG_EXPLICIT = T.let(T.unsafe(nil), String) # Help methods for file. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/file_help.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/file_help.rb#7 module RuboCop::Cop::RSpec::FileHelp - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/file_help.rb#8 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/file_help.rb#8 def expanded_file_path; end end # Helps find the true end location of nodes which might contain heredocs. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/final_end_location.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/final_end_location.rb#7 module RuboCop::Cop::RSpec::FinalEndLocation - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/final_end_location.rb#8 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/final_end_location.rb#8 def final_end_location(start_node); end end @@ -2385,38 +2386,38 @@ end # # bad (does not support autocorrection) # focus 'test' do; end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#46 +# source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#46 class RuboCop::Cop::RSpec::Focus < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#53 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#53 def focusable_selector?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#71 def focused_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#65 def metadata(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#75 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#75 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#104 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#104 def correct_send(corrector, focus); end # @yield [node] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#91 def focus_metadata(node, &block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#97 def with_surrounding(focus); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/focus.rb#50 +# source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#50 RuboCop::Cop::RSpec::Focus::MSG = T.let(T.unsafe(nil), String) # Checks the arguments passed to `before`, `around`, and `after`. @@ -2472,47 +2473,47 @@ RuboCop::Cop::RSpec::Focus::MSG = T.let(T.unsafe(nil), String) # # ... # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#61 +# source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#61 class RuboCop::Cop::RSpec::HookArgument < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#78 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#91 def on_numblock(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#69 def scoped_hook(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#74 def unscoped_hook(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#95 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#95 def autocorrect(corrector, _node, method_send); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#102 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#102 def check_implicit(method_send); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#116 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#116 def explicit_message(scope); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#128 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#128 def hook(node, &block); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#124 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#124 def implicit_style?; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#66 +# source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#66 RuboCop::Cop::RSpec::HookArgument::EXPLICIT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/hook_argument.rb#65 +# source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#65 RuboCop::Cop::RSpec::HookArgument::IMPLICIT_MSG = T.let(T.unsafe(nil), String) # Checks for before/around/after hooks that come after an example. @@ -2534,37 +2535,37 @@ RuboCop::Cop::RSpec::HookArgument::IMPLICIT_MSG = T.let(T.unsafe(nil), String) # expect(foo).to be # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#25 class RuboCop::Cop::RSpec::HooksBeforeExamples < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#31 def example_or_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#41 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#47 def on_numblock(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#73 def autocorrect(corrector, node, first_example); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#55 def check_hooks(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#69 def find_first_example(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#51 def multiline_block?(block); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/hooks_before_examples.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#28 RuboCop::Cop::RSpec::HooksBeforeExamples::MSG = T.let(T.unsafe(nil), String) # Checks for equality assertions with identical expressions on both sides. @@ -2578,19 +2579,19 @@ RuboCop::Cop::RSpec::HooksBeforeExamples::MSG = T.let(T.unsafe(nil), String) # expect(foo.bar).to eq(2) # expect(foo.bar).to eql(2) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/identical_equality_assertion.rb#17 +# source://rubocop-rspec//lib/rubocop/cop/rspec/identical_equality_assertion.rb#17 class RuboCop::Cop::RSpec::IdenticalEqualityAssertion < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/identical_equality_assertion.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/identical_equality_assertion.rb#23 def equality_check?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/identical_equality_assertion.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/identical_equality_assertion.rb#29 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/identical_equality_assertion.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/identical_equality_assertion.rb#18 RuboCop::Cop::RSpec::IdenticalEqualityAssertion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/identical_equality_assertion.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/identical_equality_assertion.rb#20 RuboCop::Cop::RSpec::IdenticalEqualityAssertion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that implicit block expectation syntax is not used. @@ -2607,38 +2608,38 @@ RuboCop::Cop::RSpec::IdenticalEqualityAssertion::RESTRICT_ON_SEND = T.let(T.unsa # expect { do_something }.to change(something).to(new_value) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#20 class RuboCop::Cop::RSpec::ImplicitBlockExpectation < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#36 def implicit_expect(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#25 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#25 def lambda?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#33 def lambda_subject?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#40 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#62 def find_subject(block_node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#58 def multi_statement_example_group?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#49 def nearest_subject(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#21 RuboCop::Cop::RSpec::ImplicitBlockExpectation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_block_expectation.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_block_expectation.rb#22 RuboCop::Cop::RSpec::ImplicitBlockExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that a consistent implicit expectation style is used. @@ -2659,39 +2660,39 @@ RuboCop::Cop::RSpec::ImplicitBlockExpectation::RESTRICT_ON_SEND = T.let(T.unsafe # # good # it { should be_truthy } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#25 class RuboCop::Cop::RSpec::ImplicitExpect < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#34 def implicit_expect(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#49 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#78 def is_expected_range(source_map); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#69 def offending_expect(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#86 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#86 def offense_message(offending_source); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#94 def replacement_source(offending_source); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#47 RuboCop::Cop::RSpec::ImplicitExpect::ENFORCED_REPLACEMENTS = T.let(T.unsafe(nil), Hash) -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#29 RuboCop::Cop::RSpec::ImplicitExpect::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_expect.rb#31 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#31 RuboCop::Cop::RSpec::ImplicitExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for usage of implicit subject (`is_expected` / `should`). @@ -2750,74 +2751,74 @@ RuboCop::Cop::RSpec::ImplicitExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good # it { expect(named_subject).to be_truthy } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#65 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#65 class RuboCop::Cop::RSpec::ImplicitSubject < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#81 def explicit_unnamed_subject?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#86 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#86 def implicit_subject?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#90 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#100 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#100 def autocorrect(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#159 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#159 def example_of(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#135 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#135 def implicit_subject_in_non_its?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#139 def implicit_subject_in_non_its_and_non_single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#143 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#143 def implicit_subject_in_non_its_and_non_single_statement?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#122 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#122 def invalid?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#147 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#147 def its?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#113 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#113 def message(_node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#151 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#151 def single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#155 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#155 def single_statement?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#69 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#69 RuboCop::Cop::RSpec::ImplicitSubject::MSG_REQUIRE_EXPLICIT = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#71 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#71 RuboCop::Cop::RSpec::ImplicitSubject::MSG_REQUIRE_IMPLICIT = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/implicit_subject.rb#73 +# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#73 RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Do not set up test data using indexes (e.g., `item_1`, `item_2`). @@ -2858,118 +2859,118 @@ RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # let(:item_1) { create(:item) } # let(:item_2) { create(:item) } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#47 class RuboCop::Cop::RSpec::IndexedLet < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::AllowedIdentifiers include ::RuboCop::Cop::AllowedPattern - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#55 def let_name(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#62 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#105 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#105 def allowed_identifiers; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#99 def cop_config_patterns_values; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#79 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#79 def filter_indexed_lets(candidates); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#88 def indexed_let?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#95 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#95 def let_name_stripped_index(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#77 +# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#77 RuboCop::Cop::RSpec::IndexedLet::INDEX_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#51 +# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#51 RuboCop::Cop::RSpec::IndexedLet::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/indexed_let.rb#76 +# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#76 RuboCop::Cop::RSpec::IndexedLet::SUFFIX_INDEX_REGEX = T.let(T.unsafe(nil), Regexp) # A helper for `inflected` style # -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#7 module RuboCop::Cop::RSpec::InflectedHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#39 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#39 def be_bool?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#44 def be_boolthy?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#29 def predicate_in_actual?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#48 def boolean_matcher?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#16 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#16 def check_inflected(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#60 def message_inflected(predicate); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#56 def predicate?(sym); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#85 def remove_predicate(corrector, predicate); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#96 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#96 def rewrite_matcher(corrector, predicate, matcher); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#67 def to_predicate_matcher(name); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#107 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#107 def true?(to_symbol, matcher); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#11 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#11 RuboCop::Cop::RSpec::InflectedHelper::MSG_INFLECTED = T.let(T.unsafe(nil), String) # Helps you identify whether a given node # is within an example group or not. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/inside_example_group.rb#8 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/inside_example_group.rb#8 module RuboCop::Cop::RSpec::InsideExampleGroup private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/inside_example_group.rb#19 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/inside_example_group.rb#19 def example_group_root?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/inside_example_group.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/inside_example_group.rb#23 def example_group_root_with_siblings?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/inside_example_group.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/inside_example_group.rb#11 def inside_example_group?(node); end end @@ -2988,26 +2989,26 @@ end # expect(foo).to have_received(:bar) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#21 class RuboCop::Cop::RSpec::InstanceSpy < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#36 def have_received_usage(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#28 def null_double(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#45 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#61 def autocorrect(corrector, node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/instance_spy.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#24 RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String) # Checks for instance variable usage in specs. @@ -3051,39 +3052,39 @@ RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String) # it { expect(foo).to be_empty } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#48 +# source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#48 class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#60 def custom_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#55 def dynamic_class?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#71 def ivar_assigned?(param0, param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#68 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#68 def ivar_usage(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#73 def on_top_level_group(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#90 def assignment_only?; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#84 + # source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#84 def valid_usage?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/instance_variable.rb#51 +# source://rubocop-rspec//lib/rubocop/cop/rspec/instance_variable.rb#51 RuboCop::Cop::RSpec::InstanceVariable::MSG = T.let(T.unsafe(nil), String) # Check for `specify` with `is_expected` and one-liner expectations. @@ -3101,24 +3102,24 @@ RuboCop::Cop::RSpec::InstanceVariable::MSG = T.let(T.unsafe(nil), String) # end # specify { expect(sqrt(4)).to eq(2) } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#21 class RuboCop::Cop::RSpec::IsExpectedSpecify < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#29 def offense?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#33 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#25 RuboCop::Cop::RSpec::IsExpectedSpecify::IS_EXPECTED_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#26 RuboCop::Cop::RSpec::IsExpectedSpecify::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/is_expected_specify.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/is_expected_specify.rb#24 RuboCop::Cop::RSpec::IsExpectedSpecify::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that only one `it_behaves_like` style is used. @@ -3136,27 +3137,27 @@ RuboCop::Cop::RSpec::IsExpectedSpecify::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # good # it_should_behave_like 'a foo' # -# source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#22 class RuboCop::Cop::RSpec::ItBehavesLike < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#31 def example_inclusion_offense(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#33 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#43 def message(_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#26 RuboCop::Cop::RSpec::ItBehavesLike::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/it_behaves_like.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/it_behaves_like.rb#28 RuboCop::Cop::RSpec::ItBehavesLike::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that `all` matcher is used instead of iterating over an array. @@ -3172,37 +3173,37 @@ RuboCop::Cop::RSpec::ItBehavesLike::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # expect([user1, user2, user3]).to all(be_valid) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#19 class RuboCop::Cop::RSpec::IteratedExpectation < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#24 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#24 def each?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#33 def each_numblock?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#40 def expectation?(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#44 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#52 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#52 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#66 def only_expectations?(body, arg); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#62 def single_expectation?(body, arg); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#20 RuboCop::Cop::RSpec::IteratedExpectation::MSG = T.let(T.unsafe(nil), String) # Enforce that subject is the first definition in the test. @@ -3232,35 +3233,35 @@ RuboCop::Cop::RSpec::IteratedExpectation::MSG = T.let(T.unsafe(nil), String) # it { expect_something } # it { expect_something_else } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#34 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#34 class RuboCop::Cop::RSpec::LeadingSubject < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::InsideExampleGroup extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#40 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#70 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#70 def autocorrect(corrector, node, sibling); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#49 def check_previous_nodes(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#76 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#76 def offending?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#58 def offending_node(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#66 def parent(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/leading_subject.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leading_subject.rb#38 RuboCop::Cop::RSpec::LeadingSubject::MSG = T.let(T.unsafe(nil), String) # Checks that no class, module, or constant is declared. @@ -3351,32 +3352,32 @@ RuboCop::Cop::RSpec::LeadingSubject::MSG = T.let(T.unsafe(nil), String) # end # @see https://rspec.info/features/3-12/rspec-mocks/mutating-constants # -# source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#96 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#96 class RuboCop::Cop::RSpec::LeakyConstantDeclaration < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#101 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#101 def on_casgn(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#107 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#107 def on_class(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#113 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#113 def on_module(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#121 + # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#121 def inside_describe_block?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#98 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#98 RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CLASS = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#97 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#97 RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CONST = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/leaky_constant_declaration.rb#99 +# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#99 RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil), String) # Checks for `let` definitions that come after an example. @@ -3407,47 +3408,47 @@ RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil), # expect(some).to be # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#33 +# source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#33 class RuboCop::Cop::RSpec::LetBeforeExamples < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#39 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#39 def example_or_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#47 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#47 def include_examples?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#58 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#93 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#93 def autocorrect(corrector, node, first_example); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#74 def check_let_declarations(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#66 def example_group_with_include_examples?(body); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#89 def find_first_example(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#70 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#70 def multiline_block?(block); end class << self - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#54 def autocorrect_incompatible_with; end end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/let_before_examples.rb#36 +# source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#36 RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String) # Checks unreferenced `let!` calls being used for test setup. @@ -3473,35 +3474,35 @@ RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String) # expect(Widget.count).to eq(1) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#28 class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#32 def example_or_shared_group_or_including?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#40 def let_bang(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#48 def method_called?(param0, param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#50 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#66 def child_let_bang(node, &block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#60 def unused_let_bang(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/let_setup.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#29 RuboCop::Cop::RSpec::LetSetup::MSG = T.let(T.unsafe(nil), String) # Helper methods to location. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/location_help.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/location_help.rb#7 module RuboCop::Cop::RSpec::LocationHelp private @@ -3511,7 +3512,7 @@ module RuboCop::Cop::RSpec::LocationHelp # @param node [RuboCop::AST::SendNode] # @return [Parser::Source::Range] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/location_help.rb#15 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/location_help.rb#15 def arguments_with_whitespace(node); end # @example @@ -3520,7 +3521,7 @@ module RuboCop::Cop::RSpec::LocationHelp # @param node [RuboCop::AST::SendNode] # @return [Parser::Source::Range] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/location_help.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/location_help.rb#26 def block_with_whitespace(node); end class << self @@ -3530,7 +3531,7 @@ module RuboCop::Cop::RSpec::LocationHelp # @param node [RuboCop::AST::SendNode] # @return [Parser::Source::Range] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/location_help.rb#15 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/location_help.rb#15 def arguments_with_whitespace(node); end # @example @@ -3539,7 +3540,7 @@ module RuboCop::Cop::RSpec::LocationHelp # @param node [RuboCop::AST::SendNode] # @return [Parser::Source::Range] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/location_help.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/location_help.rb#26 def block_with_whitespace(node); end end end @@ -3564,26 +3565,26 @@ end # # good # it { is_expected.to match_array(%w(tremble in fear foolish mortals)) } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#26 class RuboCop::Cop::RSpec::MatchArray < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#33 def match_array_with_empty_array?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#37 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#46 def check_populated_array(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#29 RuboCop::Cop::RSpec::MatchArray::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/match_array.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/match_array.rb#30 RuboCop::Cop::RSpec::MatchArray::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that chains of messages are not being stubbed. @@ -3596,16 +3597,16 @@ RuboCop::Cop::RSpec::MatchArray::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # thing = Thing.new(baz: 42) # allow(foo).to receive(:bar).and_return(thing) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_chain.rb#16 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_chain.rb#16 class RuboCop::Cop::RSpec::MessageChain < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_chain.rb#20 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_chain.rb#20 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_chain.rb#17 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_chain.rb#17 RuboCop::Cop::RSpec::MessageChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_chain.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_chain.rb#18 RuboCop::Cop::RSpec::MessageChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for consistent message expectation style. @@ -3628,31 +3629,31 @@ RuboCop::Cop::RSpec::MessageChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # good # expect(foo).to receive(:bar) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#27 class RuboCop::Cop::RSpec::MessageExpectation < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#35 def message_expectation(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#42 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#42 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#40 def receive_message?(param0); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#55 def preferred_style?(expectation); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#30 RuboCop::Cop::RSpec::MessageExpectation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_expectation.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_expectation.rb#32 RuboCop::Cop::RSpec::MessageExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that message expectations are set using spies. @@ -3681,72 +3682,72 @@ RuboCop::Cop::RSpec::MessageExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # expect(foo).to receive(:bar) # do_something # -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#33 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#33 class RuboCop::Cop::RSpec::MessageSpies < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#45 def message_expectation(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#54 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#50 def receive_message(param0); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#77 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#77 def error_message(receiver); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#73 def preferred_style?(expectation); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#67 def receive_message_matcher(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#38 RuboCop::Cop::RSpec::MessageSpies::MSG_HAVE_RECEIVED = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#36 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#36 RuboCop::Cop::RSpec::MessageSpies::MSG_RECEIVE = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/message_spies.rb#42 +# source://rubocop-rspec//lib/rubocop/cop/rspec/message_spies.rb#42 RuboCop::Cop::RSpec::MessageSpies::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Helper methods to find RSpec metadata. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#7 module RuboCop::Cop::RSpec::Metadata include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#26 def metadata_in_block(param0, param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#30 def on_block(node); end # @raise [::NotImplementedError] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#43 def on_metadata(_symbols, _hash); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#41 def on_numblock(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#21 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#21 def rspec_configure(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#13 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#13 def rspec_metadata(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/metadata.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#49 def on_metadata_arguments(metadata_arguments); end end @@ -3769,80 +3770,80 @@ end # # good # describe 'Something', a: true # -# source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#25 class RuboCop::Cop::RSpec::MetadataStyle < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::Metadata include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#33 def extract_metadata_hash(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#43 def match_ambiguous_trailing_metadata?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#38 def match_boolean_metadata_pair?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#47 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#47 def on_metadata(symbols, hash); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#61 def autocorrect_pair(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#66 def autocorrect_symbol(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#73 def bad_metadata_pair?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#77 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#77 def bad_metadata_symbol?(_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#81 def format_symbol_to_pair_source(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#85 def insert_pair(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#96 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#96 def insert_pair_as_last_argument(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#105 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#105 def insert_pair_to_empty_hash_metadata(corrector, node, hash_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#112 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#112 def insert_pair_to_non_empty_hash_metadata(corrector, node, hash_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#119 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#119 def insert_symbol(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#126 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#126 def message_for_style; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#133 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#133 def on_metadata_pair(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#141 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#141 def on_metadata_symbol(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#149 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#149 def remove_pair(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#159 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#159 def remove_pair_following(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#171 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#171 def remove_pair_preceding(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/metadata_style.rb#183 + # source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#183 def remove_symbol(corrector, node); end end @@ -3863,13 +3864,13 @@ end # describe "A feature example" do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/missing_example_group_argument.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_example_group_argument.rb#23 class RuboCop::Cop::RSpec::MissingExampleGroupArgument < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/missing_example_group_argument.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/missing_example_group_argument.rb#26 def on_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/missing_example_group_argument.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_example_group_argument.rb#24 RuboCop::Cop::RSpec::MissingExampleGroupArgument::MSG = T.let(T.unsafe(nil), String) # Checks if `.to`, `not_to` or `to_not` are used. @@ -3888,25 +3889,25 @@ RuboCop::Cop::RSpec::MissingExampleGroupArgument::MSG = T.let(T.unsafe(nil), Str # is_expected.to eq 42 # expect{something}.to raise_error BarError # -# source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#22 class RuboCop::Cop::RSpec::MissingExpectationTargetMethod < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#27 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#35 def expect_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#40 def expectation_without_runner?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#44 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#23 RuboCop::Cop::RSpec::MissingExpectationTargetMethod::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/missing_expectation_target_method.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_expectation_target_method.rb#24 RuboCop::Cop::RSpec::MissingExpectationTargetMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for multiple top-level example groups. @@ -3929,15 +3930,15 @@ RuboCop::Cop::RSpec::MissingExpectationTargetMethod::RESTRICT_ON_SEND = T.let(T. # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_describes.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_describes.rb#26 class RuboCop::Cop::RSpec::MultipleDescribes < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_describes.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_describes.rb#31 def on_top_level_group(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_describes.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_describes.rb#29 RuboCop::Cop::RSpec::MultipleDescribes::MSG = T.let(T.unsafe(nil), String) # Checks if examples contain too many `expect` calls. @@ -3998,50 +3999,50 @@ RuboCop::Cop::RSpec::MultipleDescribes::MSG = T.let(T.unsafe(nil), String) # end # @see http://betterspecs.org/#single Single expectation test # -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#69 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#69 class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#78 def aggregate_failures?(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#89 def aggregate_failures_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#86 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#86 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop/1.70.0lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#75 def max=(value); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#93 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#93 def on_block(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#109 def example_with_aggregate_failures?(example_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#116 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#116 def find_aggregate_failures(example_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#121 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#121 def find_expectation(node, &block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#132 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#132 def flag_example(node, expectation_count:); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#143 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#143 def max_expectations; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#72 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#72 RuboCop::Cop::RSpec::MultipleExpectations::ANYTHING = T.let(T.unsafe(nil), Proc) -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#70 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#70 RuboCop::Cop::RSpec::MultipleExpectations::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_expectations.rb#73 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#73 RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc) # Checks if example groups contain too many `let` and `subject` calls. @@ -4120,45 +4121,45 @@ RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc # let(:bar) { [] } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#84 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#84 class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Variable - # source://rubocop/1.70.0lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#89 def max=(value); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102 def on_new_investigation; end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111 def all_helpers(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141 def allow_subject?; end # Returns the value of attribute example_group_memoized_helpers. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109 def example_group_memoized_helpers; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116 def helpers(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137 def max; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127 def variable_nodes(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#87 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#87 RuboCop::Cop::RSpec::MultipleMemoizedHelpers::MSG = T.let(T.unsafe(nil), String) # Checks if an example group defines `subject` multiple times. @@ -4206,32 +4207,32 @@ RuboCop::Cop::RSpec::MultipleMemoizedHelpers::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#51 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#51 class RuboCop::Cop::RSpec::MultipleSubjects < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#57 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#57 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#71 def autocorrect(corrector, subject); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#81 def named_subject?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#89 def remove_autocorrect(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#85 def rename_autocorrect(corrector, node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/multiple_subjects.rb#55 +# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_subjects.rb#55 RuboCop::Cop::RSpec::MultipleSubjects::MSG = T.let(T.unsafe(nil), String) # Checks for explicitly referenced test subjects. @@ -4307,65 +4308,65 @@ RuboCop::Cop::RSpec::MultipleSubjects::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#79 +# source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#79 class RuboCop::Cop::RSpec::NamedSubject < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#85 def example_or_hook_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#97 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#90 def shared_example?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#95 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#95 def subject_usage(param0); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#123 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#123 def allow_explicit_subject?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#127 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#127 def always?; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#117 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#117 def check_explicit_subject(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#150 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#150 def find_subject(block_node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#109 def ignored_shared_example?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#131 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#131 def named_only?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#142 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#142 def nearest_subject(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#136 + # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#136 def subject_definition_is_named?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/named_subject.rb#82 +# source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#82 RuboCop::Cop::RSpec::NamedSubject::MSG = T.let(T.unsafe(nil), String) # Helps to find namespace of the node. # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/namespace.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/namespace.rb#7 module RuboCop::Cop::RSpec::Namespace private @@ -4374,7 +4375,7 @@ module RuboCop::Cop::RSpec::Namespace # @param node [RuboCop::AST::Node] # @return [Array] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/namespace.rb#14 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/namespace.rb#14 def namespace(node); end end @@ -4462,48 +4463,48 @@ end # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#94 +# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#94 class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop/1.70.0lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#105 def max=(value); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#107 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#107 def on_top_level_group(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#157 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#157 def allowed_groups; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#134 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#134 def count_up_nesting?(node, example_group); end # @yield [node, nesting] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#119 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#119 def find_nested_example_groups(node, nesting: T.unsafe(nil), &block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#144 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#144 def max_nesting; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#148 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#148 def max_nesting_config; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#140 def message(nesting); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#99 +# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#99 RuboCop::Cop::RSpec::NestedGroups::DEPRECATED_MAX_KEY = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#101 +# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#101 RuboCop::Cop::RSpec::NestedGroups::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/nested_groups.rb#97 +# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#97 RuboCop::Cop::RSpec::NestedGroups::MSG = T.let(T.unsafe(nil), String) # Checks if an example contains any expectation. @@ -4556,7 +4557,7 @@ RuboCop::Cop::RSpec::NestedGroups::MSG = T.let(T.unsafe(nil), String) # assert_something # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#58 +# source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#58 class RuboCop::Cop::RSpec::NoExpectationExample < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::AllowedPattern include ::RuboCop::Cop::RSpec::SkipOrPending @@ -4564,33 +4565,33 @@ class RuboCop::Cop::RSpec::NoExpectationExample < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#74 def includes_expectation?(param0); end # @param node [RuboCop::AST::Node] # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#84 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#84 def includes_skip_example?(param0); end # @param node [RuboCop::AST::BlockNode] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#89 def on_block(node); end # @param node [RuboCop::AST::BlockNode] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#98 def on_numblock(node); end # @param node [RuboCop::AST::Node] # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#67 def regular_or_focused_example?(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/no_expectation_example.rb#62 +# source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#62 RuboCop::Cop::RSpec::NoExpectationExample::MSG = T.let(T.unsafe(nil), String) # Checks for consistent method usage for negating expectations. @@ -4616,27 +4617,27 @@ RuboCop::Cop::RSpec::NoExpectationExample::MSG = T.let(T.unsafe(nil), String) # expect(false).to_not be_true # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#30 class RuboCop::Cop::RSpec::NotToNot < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#38 def not_to_not_offense(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#40 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#50 def message(_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#34 +# source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#34 RuboCop::Cop::RSpec::NotToNot::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/not_to_not.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/not_to_not.rb#35 RuboCop::Cop::RSpec::NotToNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks if there is a let/subject that overwrites an existing one. @@ -4658,29 +4659,29 @@ RuboCop::Cop::RSpec::NotToNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # let(:baz) { baz } # let!(:other) { other } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#25 class RuboCop::Cop::RSpec::OverwritingSetup < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#34 def first_argument_name(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#36 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#29 def setup?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#64 def common_setup?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#49 def find_duplicates(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/overwriting_setup.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/overwriting_setup.rb#26 RuboCop::Cop::RSpec::OverwritingSetup::MSG = T.let(T.unsafe(nil), String) # Checks for any pending or skipped examples. @@ -4712,36 +4713,36 @@ RuboCop::Cop::RSpec::OverwritingSetup::MSG = T.let(T.unsafe(nil), String) # describe MyClass do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#35 class RuboCop::Cop::RSpec::Pending < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::SkipOrPending - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#61 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#54 def pending_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#41 def skippable?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#49 def skippable_example?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#69 def skipped?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#74 def skipped_regular_example_without_body?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/pending.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#38 RuboCop::Cop::RSpec::Pending::MSG = T.let(T.unsafe(nil), String) # Checks for pending or skipped examples without reason. @@ -4798,50 +4799,50 @@ RuboCop::Cop::RSpec::Pending::MSG = T.let(T.unsafe(nil), String) # it 'does something', skip: 'reason' do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#59 +# source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#59 class RuboCop::Cop::RSpec::PendingWithoutReason < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#82 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#82 def metadata_without_reason?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#97 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#93 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#93 def skipped_by_example_group_method?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#72 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#72 def skipped_by_example_method?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#77 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#77 def skipped_by_example_method_with_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#63 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#63 def skipped_in_example?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#118 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#118 def block_node_example_group?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#130 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#130 def on_pending_by_metadata(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#146 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#146 def on_skipped_by_example_group_method(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#136 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#136 def on_skipped_by_example_method(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#124 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#124 def on_skipped_by_in_example_method(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#111 def parent_node(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/pending_without_reason.rb#60 +# source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#60 RuboCop::Cop::RSpec::PendingWithoutReason::MSG = T.let(T.unsafe(nil), String) # Prefer using predicate matcher over using predicate method directly. @@ -4890,21 +4891,21 @@ RuboCop::Cop::RSpec::PendingWithoutReason::MSG = T.let(T.unsafe(nil), String) # # good - the above code is rewritten to it by this cop # expect(foo.something?).to be_truthy # -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#318 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#318 class RuboCop::Cop::RSpec::PredicateMatcher < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::InflectedHelper include ::RuboCop::Cop::RSpec::ExplicitHelper extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#335 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#335 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#326 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#326 def on_send(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/predicate_matcher.rb#324 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#324 RuboCop::Cop::RSpec::PredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for `once` and `twice` receive counts matchers usage. @@ -4926,38 +4927,38 @@ RuboCop::Cop::RSpec::PredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # expect(foo).to receive(:bar).at_most(:once) # expect(foo).to receive(:bar).at_most(:twice).times # -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#25 class RuboCop::Cop::RSpec::ReceiveCounts < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#40 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#33 def receive_counts(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#38 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#38 def stub?(param0); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#55 def autocorrect(corrector, node, range); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#72 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#72 def matcher_for(method, count); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#64 def message_for(node, source); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#81 def range(node, offending_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#28 RuboCop::Cop::RSpec::ReceiveCounts::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_counts.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_counts.rb#30 RuboCop::Cop::RSpec::ReceiveCounts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for multiple messages stubbed on the same object. @@ -4980,73 +4981,73 @@ RuboCop::Cop::RSpec::ReceiveCounts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # allow(Service).to receive(:foo).and_return(qux) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#31 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#31 class RuboCop::Cop::RSpec::ReceiveMessages < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#44 def allow_argument(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#39 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#39 def allow_receive_message?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#63 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#63 def on_begin(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#59 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#59 def receive_and_return_argument(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#54 def receive_arg(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#49 def receive_node(param0); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#83 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#83 def add_repeated_lines_and_arguments(items); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#100 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#100 def arguments(items); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#150 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#150 def heredoc_or_splat?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#146 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#146 def item_range_by_whole_lines(item); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#135 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#135 def message(repeated_lines); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#109 def normalize_receive_arg(receive_arg); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#117 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#117 def normalize_return_arg(return_arg); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#125 def register_offense(item, repeated_lines, args); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#73 def repeated_receive_message(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#139 def replace_to_receive_messages(corrector, item, args); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#155 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#155 def requires_quotes?(value); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#91 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#91 def uniq_items(items); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_messages.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#35 RuboCop::Cop::RSpec::ReceiveMessages::MSG = T.let(T.unsafe(nil), String) # Prefer `not_to receive(...)` over `receive(...).never`. @@ -5058,26 +5059,26 @@ RuboCop::Cop::RSpec::ReceiveMessages::MSG = T.let(T.unsafe(nil), String) # # good # expect(foo).not_to receive(:bar) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#15 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#15 class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#21 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#21 def method_on_stub?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#23 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#33 def autocorrect(corrector, node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#17 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#17 RuboCop::Cop::RSpec::ReceiveNever::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/receive_never.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#18 RuboCop::Cop::RSpec::ReceiveNever::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Remove redundant `around` hook. @@ -5090,35 +5091,35 @@ RuboCop::Cop::RSpec::ReceiveNever::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # # good # -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#16 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#16 class RuboCop::Cop::RSpec::RedundantAround < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#43 def match_redundant_around_hook_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#48 def match_redundant_around_hook_send?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#23 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#30 def on_numblock(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#32 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#59 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#59 def autocorrect(corrector, node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#19 RuboCop::Cop::RSpec::RedundantAround::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_around.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#21 RuboCop::Cop::RSpec::RedundantAround::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant predicate matcher. @@ -5134,31 +5135,31 @@ RuboCop::Cop::RSpec::RedundantAround::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # expect(foo).not_to include(bar) # expect(foo).to all be(bar) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#19 class RuboCop::Cop::RSpec::RedundantPredicateMatcher < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#28 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#44 def message(bad_method, good_method); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#48 def replaceable_arguments?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#56 def replaced_method_name(method_name); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#22 RuboCop::Cop::RSpec::RedundantPredicateMatcher::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_predicate_matcher.rb#23 RuboCop::Cop::RSpec::RedundantPredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that `remove_const` is not used in specs. @@ -5173,21 +5174,21 @@ RuboCop::Cop::RSpec::RedundantPredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsaf # SomeClass.send(:remove_const, :SomeConstant) # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/remove_const.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/remove_const.rb#18 class RuboCop::Cop::RSpec::RemoveConst < ::RuboCop::Cop::RSpec::Base # Check for offenses # - # source://rubocop-rspec/lib/rubocop/cop/rspec/remove_const.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/remove_const.rb#31 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/remove_const.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/remove_const.rb#26 def remove_const(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/remove_const.rb#21 +# source://rubocop-rspec//lib/rubocop/cop/rspec/remove_const.rb#21 RuboCop::Cop::RSpec::RemoveConst::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/remove_const.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/remove_const.rb#23 RuboCop::Cop::RSpec::RemoveConst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for repeated description strings in example groups. @@ -5226,29 +5227,29 @@ RuboCop::Cop::RSpec::RemoveConst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#42 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#42 class RuboCop::Cop::RSpec::RepeatedDescription < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#45 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#88 def example_signature(example); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#92 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#92 def its_signature(example); end # Select examples in the current scope with repeated description strings # - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#60 def repeated_descriptions(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#74 def repeated_its(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_description.rb#43 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_description.rb#43 RuboCop::Cop::RSpec::RepeatedDescription::MSG = T.let(T.unsafe(nil), String) # Check for repeated examples within example groups. @@ -5263,21 +5264,21 @@ RuboCop::Cop::RSpec::RepeatedDescription::MSG = T.let(T.unsafe(nil), String) # expect(user).to be_valid # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#18 class RuboCop::Cop::RSpec::RepeatedExample < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example.rb#21 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#21 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#41 def example_signature(example); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#31 def repeated_examples(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#19 RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String) # Check for repeated describe and context block body. @@ -5319,41 +5320,41 @@ RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String) # it { is_expected.to respond_to :each } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#45 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#45 class RuboCop::Cop::RSpec::RepeatedExampleGroupBody < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::SkipOrPending - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#59 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#59 def body(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#62 def const_arg(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#56 def metadata(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#64 def on_begin(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#51 def several_example_groups?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#85 def add_repeated_lines(groups); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#94 def message(group, repeats); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#74 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#74 def repeated_group_bodies(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#90 def signature_keys(group); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_body.rb#48 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_body.rb#48 RuboCop::Cop::RSpec::RepeatedExampleGroupBody::MSG = T.let(T.unsafe(nil), String) # Check for repeated example group descriptions. @@ -5395,35 +5396,35 @@ RuboCop::Cop::RSpec::RepeatedExampleGroupBody::MSG = T.let(T.unsafe(nil), String # # example group # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#45 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#45 class RuboCop::Cop::RSpec::RepeatedExampleGroupDescription < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::SkipOrPending - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#56 def doc_string_and_metadata(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#61 def empty_description?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#63 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#63 def on_begin(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#51 def several_example_groups?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#85 def add_repeated_lines(groups); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#90 def message(group, repeats); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#73 def repeated_group_descriptions(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_example_group_description.rb#48 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example_group_description.rb#48 RuboCop::Cop::RSpec::RepeatedExampleGroupDescription::MSG = T.let(T.unsafe(nil), String) # Check for repeated include of shared examples. @@ -5468,41 +5469,41 @@ RuboCop::Cop::RSpec::RepeatedExampleGroupDescription::MSG = T.let(T.unsafe(nil), # it_should_behave_like 'a goose' # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#48 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#48 class RuboCop::Cop::RSpec::RepeatedIncludeExample < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#58 def include_examples?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#65 def on_begin(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#53 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#53 def several_include_examples?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#62 def shared_examples_name(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#90 def add_repeated_lines(items); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#85 def literal_include_examples?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#99 def message(item, repeats); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#75 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#75 def repeated_include_examples(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#95 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#95 def signature_keys(item); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_include_example.rb#49 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_include_example.rb#49 RuboCop::Cop::RSpec::RepeatedIncludeExample::MSG = T.let(T.unsafe(nil), String) # Checks for repeated calls to subject missing that it is memoized. @@ -5531,11 +5532,11 @@ RuboCop::Cop::RSpec::RepeatedIncludeExample::MSG = T.let(T.unsafe(nil), String) # expect { subject.b }.to not_change { A.count } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#32 class RuboCop::Cop::RSpec::RepeatedSubjectCall < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#65 def on_top_level_group(node); end # Find a named or unnamed subject definition @@ -5551,31 +5552,31 @@ class RuboCop::Cop::RSpec::RepeatedSubjectCall < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [Symbol] subject name # - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#53 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#53 def subject?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#61 def subject_calls(param0, param1); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#73 def detect_offense(subject_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#85 def detect_offenses_in_block(node, subject_names = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#97 def detect_offenses_in_example(node, subject_names); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#111 def detect_subjects_in_scope(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#81 def expect_block(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/repeated_subject_call.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_subject_call.rb#35 RuboCop::Cop::RSpec::RepeatedSubjectCall::MSG = T.let(T.unsafe(nil), String) # Checks for consistent style of stub's return setting. @@ -5607,127 +5608,127 @@ RuboCop::Cop::RSpec::RepeatedSubjectCall::MSG = T.let(T.unsafe(nil), String) # # also good as the returned value is dynamic # allow(Foo).to receive(:bar).and_return(bar.baz) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#36 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#36 class RuboCop::Cop::RSpec::ReturnFromStub < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#51 def and_return_value(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#45 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#45 def contains_stub?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#62 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#55 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#48 def stub_with_block?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#71 def check_and_return_call(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#81 def check_block_body(block); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#90 def dynamic?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#95 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#95 class RuboCop::Cop::RSpec::ReturnFromStub::AndReturnCallCorrector # @return [AndReturnCallCorrector] a new instance of AndReturnCallCorrector # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#96 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#96 def initialize(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#102 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#102 def call(corrector); end private # Returns the value of attribute arg. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#111 def arg; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#133 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#133 def hash_without_braces?; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#113 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#113 def heredoc?; end # Returns the value of attribute node. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#111 def node; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#117 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#117 def range; end # Returns the value of attribute receiver. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#111 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#111 def receiver; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#125 def replacement; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#139 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#139 class RuboCop::Cop::RSpec::ReturnFromStub::BlockBodyCorrector # @return [BlockBodyCorrector] a new instance of BlockBodyCorrector # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#140 def initialize(block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#146 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#146 def call(corrector); end private # Returns the value of attribute block. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#158 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#158 def block; end # Returns the value of attribute body. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#158 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#158 def body; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#160 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#160 def heredoc?; end # Returns the value of attribute node. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#158 + # source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#158 def node; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#164 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#164 RuboCop::Cop::RSpec::ReturnFromStub::BlockBodyCorrector::NULL_BLOCK_BODY = T.let(T.unsafe(nil), T.untyped) -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#40 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#40 RuboCop::Cop::RSpec::ReturnFromStub::MSG_AND_RETURN = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#41 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#41 RuboCop::Cop::RSpec::ReturnFromStub::MSG_BLOCK = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/return_from_stub.rb#42 +# source://rubocop-rspec//lib/rubocop/cop/rspec/return_from_stub.rb#42 RuboCop::Cop::RSpec::ReturnFromStub::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for let scattered across the example group. @@ -5753,20 +5754,20 @@ RuboCop::Cop::RSpec::ReturnFromStub::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # let!(:baz) { 3 } # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_let.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_let.rb#29 class RuboCop::Cop::RSpec::ScatteredLet < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_let.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_let.rb#34 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_let.rb#42 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_let.rb#42 def check_let_declarations(body); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_let.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_let.rb#32 RuboCop::Cop::RSpec::ScatteredLet::MSG = T.let(T.unsafe(nil), String) # Checks for setup scattered across multiple hooks in an example group. @@ -5788,31 +5789,31 @@ RuboCop::Cop::RSpec::ScatteredLet::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#25 +# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#25 class RuboCop::Cop::RSpec::ScatteredSetup < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::FinalEndLocation include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#33 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#76 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#76 def autocorrect(corrector, first_occurrence, occurrence); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#61 def lines_msg(numbers); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#69 def message(occurrences, occurrence); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#48 def repeated_hooks(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/scattered_setup.rb#30 +# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#30 RuboCop::Cop::RSpec::ScatteredSetup::MSG = T.let(T.unsafe(nil), String) # Checks for proper shared_context and shared_examples usage. @@ -5861,38 +5862,38 @@ RuboCop::Cop::RSpec::ScatteredSetup::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#53 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#53 class RuboCop::Cop::RSpec::SharedContext < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#65 def context?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#60 def examples?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#81 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#72 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#72 def shared_context(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#77 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#77 def shared_example(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#97 def context_with_only_examples(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#101 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#101 def examples_with_only_context(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#57 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#57 RuboCop::Cop::RSpec::SharedContext::MSG_CONTEXT = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_context.rb#56 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_context.rb#56 RuboCop::Cop::RSpec::SharedContext::MSG_EXAMPLES = T.let(T.unsafe(nil), String) # Checks for consistent style for shared example names. @@ -5930,70 +5931,70 @@ RuboCop::Cop::RSpec::SharedContext::MSG_EXAMPLES = T.let(T.unsafe(nil), String) # shared_examples_for :foo_bar_baz # include_examples :foo_bar_baz # -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#42 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#42 class RuboCop::Cop::RSpec::SharedExamples < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#54 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#47 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#47 def shared_examples(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#75 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#75 def new_checker(ast_node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#67 def offense?(ast_node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#104 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#104 class RuboCop::Cop::RSpec::SharedExamples::StringChecker # @return [StringChecker] a new instance of StringChecker # - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#110 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#110 def initialize(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#114 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#114 def message; end # Returns the value of attribute node. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#108 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#108 def node; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#118 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#118 def preferred_style; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#105 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#105 RuboCop::Cop::RSpec::SharedExamples::StringChecker::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#84 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#84 class RuboCop::Cop::RSpec::SharedExamples::SymbolChecker # @return [SymbolChecker] a new instance of SymbolChecker # - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#90 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#90 def initialize(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#94 def message; end # Returns the value of attribute node. # - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#88 def node; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#98 + # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#98 def preferred_style; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/shared_examples.rb#85 +# source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#85 RuboCop::Cop::RSpec::SharedExamples::SymbolChecker::MSG = T.let(T.unsafe(nil), String) # Checks that chains of messages contain more than one element. @@ -6009,51 +6010,51 @@ RuboCop::Cop::RSpec::SharedExamples::SymbolChecker::MSG = T.let(T.unsafe(nil), S # allow(foo).to receive(:bar, :baz) # allow(foo).to receive("bar.baz") # -# source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#19 class RuboCop::Cop::RSpec::SingleArgumentMessageChain < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#27 def message_chain(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#34 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#32 def single_key_hash?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#49 def autocorrect(corrector, node, method, arg); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#76 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#76 def autocorrect_array_arg(corrector, arg); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#69 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#69 def autocorrect_hash_arg(corrector, arg); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#82 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#82 def key_to_arg(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#86 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#86 def replacement(method); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#65 def single_element_array?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#55 def valid_usage?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#22 RuboCop::Cop::RSpec::SingleArgumentMessageChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/single_argument_message_chain.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/single_argument_message_chain.rb#24 RuboCop::Cop::RSpec::SingleArgumentMessageChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for passing a block to `skip` within examples. @@ -6076,28 +6077,28 @@ RuboCop::Cop::RSpec::SingleArgumentMessageChain::RESTRICT_ON_SEND = T.let(T.unsa # skip 'not yet implemented' do # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/skip_block_inside_example.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#26 class RuboCop::Cop::RSpec::SkipBlockInsideExample < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/skip_block_inside_example.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#29 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/skip_block_inside_example.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#36 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/skip_block_inside_example.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#40 def inside_example?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/skip_block_inside_example.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#27 RuboCop::Cop::RSpec::SkipBlockInsideExample::MSG = T.let(T.unsafe(nil), String) # Helps check offenses with variable definitions # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#7 module RuboCop::Cop::RSpec::SkipOrPending extend ::RuboCop::AST::NodePattern::Macros @@ -6114,10 +6115,10 @@ module RuboCop::Cop::RSpec::SkipOrPending # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#33 def skip_or_pending_inside_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/skip_or_pending.rb#11 def skipped_in_metadata?(param0 = T.unsafe(nil)); end end @@ -6140,47 +6141,47 @@ end # describe 'Something', 'description', :a, :b, :z # context 'Something', :z, variable, :a, :b # -# source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#24 class RuboCop::Cop::RSpec::SortMetadata < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Metadata include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#32 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#32 def match_ambiguous_trailing_metadata?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#36 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#36 def on_metadata(args, hash); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#58 def crime_scene(symbols, pairs); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#54 def last_arg_could_be_a_hash?(args); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#67 def replacement(symbols, pairs); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#75 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#75 def sort_pairs(pairs); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#79 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#79 def sort_symbols(symbols); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#71 def sorted?(symbols, pairs); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#49 def trailing_symbols(args); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/sort_metadata.rb#29 +# source://rubocop-rspec//lib/rubocop/cop/rspec/sort_metadata.rb#29 RuboCop::Cop::RSpec::SortMetadata::MSG = T.let(T.unsafe(nil), String) # Checks that spec file paths are consistent and well-formed. @@ -6208,66 +6209,66 @@ RuboCop::Cop::RSpec::SortMetadata::MSG = T.let(T.unsafe(nil), String) # # good # whatever_spec.rb # describe MyClass, type: :routing do; end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#35 class RuboCop::Cop::RSpec::SpecFilePathFormat < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup include ::RuboCop::Cop::RSpec::Namespace include ::RuboCop::Cop::RSpec::FileHelp - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#43 def example_group_arguments(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#48 def metadata_key_value(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#50 def on_top_level_example_group(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#108 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#108 def camel_to_snake_case(string); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#81 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#81 def correct_path_pattern(class_name, arguments); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#115 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#115 def custom_transform; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#62 def ensure_correct_file_path(send_node, class_name, arguments); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#98 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#98 def expected_path(constant); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#127 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#127 def filename_ends_with?(pattern); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#94 def ignore?(method_name); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#123 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#123 def ignore_metadata; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#73 def ignore_metadata?(arguments); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#119 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#119 def ignore_methods?; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#88 def name_pattern(method_name); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_format.rb#40 +# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#40 RuboCop::Cop::RSpec::SpecFilePathFormat::MSG = T.let(T.unsafe(nil), String) # Checks that spec file paths suffix are consistent and well-formed. @@ -6284,23 +6285,23 @@ RuboCop::Cop::RSpec::SpecFilePathFormat::MSG = T.let(T.unsafe(nil), String) # # good - shared examples are allowed # spec/models/user.rb # shared_examples_for 'foo' # -# source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_suffix.rb#20 +# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_suffix.rb#20 class RuboCop::Cop::RSpec::SpecFilePathSuffix < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup include ::RuboCop::Cop::RSpec::FileHelp - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_suffix.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_suffix.rb#26 def on_top_level_example_group(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_suffix.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_suffix.rb#34 def correct_path?; end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/spec_file_path_suffix.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_suffix.rb#24 RuboCop::Cop::RSpec::SpecFilePathSuffix::MSG = T.let(T.unsafe(nil), String) # Checks that message expectations do not have a configured response. @@ -6313,9 +6314,9 @@ RuboCop::Cop::RSpec::SpecFilePathSuffix::MSG = T.let(T.unsafe(nil), String) # allow(foo).to receive(:bar).with(42).and_return("hello world") # expect(foo).to receive(:bar).with(42) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#16 +# source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#16 class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#43 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#43 def configured_response?(param0 = T.unsafe(nil)); end # Match expectation @@ -6329,7 +6330,7 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] expectation, method name, matcher # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#62 def expectation(param0 = T.unsafe(nil)); end # Match matcher with a configured response in block-pass @@ -6343,7 +6344,7 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] matcher # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#130 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#130 def matcher_with_blockpass(param0 = T.unsafe(nil)); end # Match matcher with a configured response @@ -6357,7 +6358,7 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] matcher # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#82 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#82 def matcher_with_configured_response(param0 = T.unsafe(nil)); end # Match matcher with a configured response defined as a hash @@ -6369,7 +6370,7 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] matcher # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#109 def matcher_with_hash(param0 = T.unsafe(nil)); end # Match matcher with a return block @@ -6379,7 +6380,7 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] matcher # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#94 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#94 def matcher_with_return_block(param0 = T.unsafe(nil)); end # Match message expectation matcher @@ -6393,28 +6394,28 @@ class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @return [Array] matching nodes # - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#35 def message_expectation?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#137 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#137 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#156 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#156 def msg(method_name); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#145 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#145 def on_expectation(expectation, method_name, matcher); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#164 + # source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#164 def replacement(method_name); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#17 +# source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#17 RuboCop::Cop::RSpec::StubbedMock::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/stubbed_mock.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/stubbed_mock.rb#19 RuboCop::Cop::RSpec::StubbedMock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Ensure that subject is defined using subject helper. @@ -6433,24 +6434,24 @@ RuboCop::Cop::RSpec::StubbedMock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # subject(:test_subject) { foo } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#22 +# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#22 class RuboCop::Cop::RSpec::SubjectDeclaration < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#27 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#27 def offensive_subject_declaration?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#31 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#40 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#40 def message_for(offense); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#23 +# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#23 RuboCop::Cop::RSpec::SubjectDeclaration::MSG_LET = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/subject_declaration.rb#24 +# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_declaration.rb#24 RuboCop::Cop::RSpec::SubjectDeclaration::MSG_REDUNDANT = T.let(T.unsafe(nil), String) # Checks for stubbed test subjects. @@ -6494,13 +6495,13 @@ RuboCop::Cop::RSpec::SubjectDeclaration::MSG_REDUNDANT = T.let(T.unsafe(nil), St # @see https://robots.thoughtbot.com/don-t-stub-the-system-under-test # @see https://penelope.zone/2015/12/27/introducing-rspec-smells-and-where-to-find-them.html#smell-1-stubjec # -# source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#50 +# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#50 class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup # Find a memoized helper # - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#80 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#80 def let?(param0 = T.unsafe(nil)); end # Match `allow` and `expect(...).to receive` @@ -6513,13 +6514,13 @@ class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base # expect(foo).to receive(:bar).with(1) # expect(foo).to receive(:bar).with(1).and_return(2) # - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#97 def message_expectation?(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#109 def message_expectation_matcher?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#115 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#115 def on_top_level_group(node); end # Find a named or unnamed subject definition @@ -6535,58 +6536,58 @@ class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::Node] # @yield [Symbol] subject name # - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#71 def subject?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#126 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#126 def find_all_explicit(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#140 def find_subject_expectations(node, subject_names = T.unsafe(nil), &block); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/subject_stub.rb#53 +# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#53 RuboCop::Cop::RSpec::SubjectStub::MSG = T.let(T.unsafe(nil), String) # Helper methods for top level example group cops # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#7 module RuboCop::Cop::RSpec::TopLevelGroup extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#14 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#14 def on_new_investigation; end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#23 def top_level_groups; end private # Dummy methods to be overridden in the consumer # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#31 def on_top_level_example_group(_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#33 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#33 def on_top_level_group(_node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#55 def root_node; end # @deprecated All callers of this method have been removed. # @private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#37 def top_level_group?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#42 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#42 def top_level_nodes(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/top_level_group.rb#10 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/top_level_group.rb#10 RuboCop::Cop::RSpec::TopLevelGroup::DEPRECATED_MODULE_METHOD_WARNING = T.let(T.unsafe(nil), String) # Description should be descriptive. @@ -6630,23 +6631,23 @@ RuboCop::Cop::RSpec::TopLevelGroup::DEPRECATED_MODULE_METHOD_WARNING = T.let(T.u # # ... # end # -# source://rubocop-rspec/lib/rubocop/cop/rspec/undescriptive_literals_description.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/undescriptive_literals_description.rb#47 class RuboCop::Cop::RSpec::UndescriptiveLiteralsDescription < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/undescriptive_literals_description.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/undescriptive_literals_description.rb#51 def example_groups_or_example?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/undescriptive_literals_description.rb#55 + # source://rubocop-rspec//lib/rubocop/cop/rspec/undescriptive_literals_description.rb#55 def on_block(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/undescriptive_literals_description.rb#63 + # source://rubocop-rspec//lib/rubocop/cop/rspec/undescriptive_literals_description.rb#63 def offense?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/undescriptive_literals_description.rb#48 +# source://rubocop-rspec//lib/rubocop/cop/rspec/undescriptive_literals_description.rb#48 RuboCop::Cop::RSpec::UndescriptiveLiteralsDescription::MSG = T.let(T.unsafe(nil), String) # Checks for a specified error in checking raised errors. @@ -6676,45 +6677,45 @@ RuboCop::Cop::RSpec::UndescriptiveLiteralsDescription::MSG = T.let(T.unsafe(nil) # # expect { do_something }.not_to raise_error # -# source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#33 +# source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#33 class RuboCop::Cop::RSpec::UnspecifiedException < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#42 + # source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#42 def expect_to?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#46 def on_send(node); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#54 + # source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#54 def empty_exception_matcher?(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#64 def find_expect_to(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#34 +# source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#34 RuboCop::Cop::RSpec::UnspecifiedException::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/unspecified_exception.rb#36 +# source://rubocop-rspec//lib/rubocop/cop/rspec/unspecified_exception.rb#36 RuboCop::Cop::RSpec::UnspecifiedException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Helps check offenses with variable definitions # -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/variable.rb#7 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/variable.rb#7 module RuboCop::Cop::RSpec::Variable extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/variable.rb#14 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/variable.rb#14 def variable_definition?(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/variable.rb#11 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/variable.rb#11 RuboCop::Cop::RSpec::Variable::Helpers = RuboCop::RSpec::Language::Helpers -# source://rubocop-rspec/lib/rubocop/cop/rspec/mixin/variable.rb#10 +# source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/variable.rb#10 RuboCop::Cop::RSpec::Variable::Subjects = RuboCop::RSpec::Language::Subjects # Checks that memoized helpers names are symbols or strings. @@ -6736,38 +6737,38 @@ RuboCop::Cop::RSpec::Variable::Subjects = RuboCop::RSpec::Language::Subjects # subject('user') { create_user } # let('user_name') { 'Adam' } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#26 class RuboCop::Cop::RSpec::VariableDefinition < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::Variable include ::RuboCop::Cop::RSpec::InsideExampleGroup extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#34 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#34 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#51 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#51 def correct_variable(variable); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#67 def string?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#62 def style_offense?(variable); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#71 def symbol?(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/variable_definition.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#32 RuboCop::Cop::RSpec::VariableDefinition::MSG = T.let(T.unsafe(nil), String) # Checks that memoized helper names use the configured style. @@ -6802,7 +6803,7 @@ RuboCop::Cop::RSpec::VariableDefinition::MSG = T.let(T.unsafe(nil), String) # subject(:userFood_1) { 'spaghetti' } # let(:userFood_2) { 'fettuccine' } # -# source://rubocop-rspec/lib/rubocop/cop/rspec/variable_name.rb#41 +# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_name.rb#41 class RuboCop::Cop::RSpec::VariableName < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::ConfigurableFormatting @@ -6811,16 +6812,16 @@ class RuboCop::Cop::RSpec::VariableName < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Variable include ::RuboCop::Cop::RSpec::InsideExampleGroup - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_name.rb#49 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_name.rb#49 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/variable_name.rb#62 + # source://rubocop-rspec//lib/rubocop/cop/rspec/variable_name.rb#62 def message(style); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/variable_name.rb#47 +# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_name.rb#47 RuboCop::Cop::RSpec::VariableName::MSG = T.let(T.unsafe(nil), String) # Checks for consistent verified double reference style. @@ -6843,24 +6844,24 @@ RuboCop::Cop::RSpec::VariableName::MSG = T.let(T.unsafe(nil), String) # end # @see https://rspec.info/features/3-12/rspec-mocks/verifying-doubles # -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#32 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#32 class RuboCop::Cop::RSpec::VerifiedDoubleReference < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#66 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#66 def autocorrect(corrector, node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#58 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#58 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#50 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#50 def verified_double(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#35 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#35 RuboCop::Cop::RSpec::VerifiedDoubleReference::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_double_reference.rb#38 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_double_reference.rb#38 RuboCop::Cop::RSpec::VerifiedDoubleReference::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Prefer using verifying doubles over normal doubles. @@ -6882,26 +6883,26 @@ RuboCop::Cop::RSpec::VerifiedDoubleReference::RESTRICT_ON_SEND = T.let(T.unsafe( # end # @see https://rspec.info/features/3-12/rspec-mocks/verifying-doubles # -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#26 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#26 class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#35 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#35 def on_send(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#31 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#31 def unverified_double(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#46 def symbol?(name); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#27 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#27 RuboCop::Cop::RSpec::VerifiedDoubles::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/verified_doubles.rb#28 +# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#28 RuboCop::Cop::RSpec::VerifiedDoubles::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks void `expect()`. @@ -6913,40 +6914,40 @@ RuboCop::Cop::RSpec::VerifiedDoubles::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # # good # expect(something).to be(1) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#15 +# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#15 class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#21 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#21 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#26 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#26 def expect_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#37 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#37 def on_block(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#30 def on_send(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#46 def check_expect(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#59 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#59 def inside_example?(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#52 + # source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#52 def void?(expect); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#16 +# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#16 RuboCop::Cop::RSpec::VoidExpect::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec/lib/rubocop/cop/rspec/void_expect.rb#18 +# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#18 RuboCop::Cop::RSpec::VoidExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for calling a block within a stub. @@ -6958,54 +6959,54 @@ RuboCop::Cop::RSpec::VoidExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # expect(foo).to receive(:bar).and_yield(1) # -# source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#15 +# source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#15 class RuboCop::Cop::RSpec::Yield < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#25 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#25 def block_arg(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#28 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#28 def block_call?(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#22 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#22 def method_on_stub?(param0); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#30 def on_block(node); end private - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#46 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#46 def autocorrect(corrector, node, range); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#61 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#61 def block_range(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#53 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#53 def calling_block?(node, block); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#73 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#73 def convert_block_to_yield(node); end - # source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#65 + # source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#65 def generate_replacement(node); end end -# source://rubocop-rspec/lib/rubocop/cop/rspec/yield.rb#19 +# source://rubocop-rspec//lib/rubocop/cop/rspec/yield.rb#19 RuboCop::Cop::RSpec::Yield::MSG = T.let(T.unsafe(nil), String) # RuboCop RSpec project namespace # -# source://rubocop-rspec/lib/rubocop/rspec.rb#5 +# source://rubocop-rspec//lib/rubocop/rspec.rb#5 module RuboCop::RSpec; end # Shared behavior for aligning braces for single line lets # -# source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#6 class RuboCop::RSpec::AlignLetBrace include ::RuboCop::RSpec::Language include ::RuboCop::PathUtil @@ -7013,88 +7014,88 @@ class RuboCop::RSpec::AlignLetBrace # @return [AlignLetBrace] a new instance of AlignLetBrace # - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#10 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#10 def initialize(root, token); end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#21 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#21 def indent_for(node); end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#15 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#15 def offending_tokens; end private - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#43 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#43 def adjacent_let_chunks; end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#35 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#35 def let_group_for(let); end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#27 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#27 def let_token(node); end # Returns the value of attribute root. # - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#60 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#60 def root; end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#53 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#53 def single_line_lets; end - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#31 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#31 def target_column_for(let); end # Returns the value of attribute token. # - # source://rubocop-rspec/lib/rubocop/rspec/align_let_brace.rb#60 + # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#60 def token; end end -# source://rubocop-rspec/lib/rubocop/rspec.rb#7 +# source://rubocop-rspec//lib/rubocop/rspec.rb#7 RuboCop::RSpec::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname) # Wrapper for RSpec DSL methods # -# source://rubocop-rspec/lib/rubocop/rspec/concept.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/concept.rb#6 class RuboCop::RSpec::Concept include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros # @return [Concept] a new instance of Concept # - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#10 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#10 def initialize(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#18 def ==(other); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#14 def eql?(other); end - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#20 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#20 def hash; end - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#24 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#24 def to_node; end protected # Returns the value of attribute node. # - # source://rubocop-rspec/lib/rubocop/rspec/concept.rb#30 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#30 def node; end end -# source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#5 +# source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#5 module RuboCop::RSpec::Corrector; end # Helper methods to move a node # -# source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#7 +# source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#7 class RuboCop::RSpec::Corrector::MoveNode include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RSpec::FinalEndLocation @@ -7102,94 +7103,94 @@ class RuboCop::RSpec::Corrector::MoveNode # @return [MoveNode] a new instance of MoveNode # - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#14 def initialize(node, corrector, processed_source); end # Returns the value of attribute corrector. # - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#12 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#12 def corrector; end - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#27 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#27 def move_after(other); end - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#20 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#20 def move_before(other); end # Returns the value of attribute original. # - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#12 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#12 def original; end # Returns the value of attribute processed_source. # - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#12 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#12 def processed_source; end private - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#40 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#40 def node_range(node); end - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#44 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#44 def node_range_with_surrounding_space(node); end - # source://rubocop-rspec/lib/rubocop/rspec/corrector/move_node.rb#36 + # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#36 def source(node); end end # Wrapper for RSpec examples # -# source://rubocop-rspec/lib/rubocop/rspec/example.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/example.rb#6 class RuboCop::RSpec::Example < ::RuboCop::RSpec::Concept - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#28 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#28 def definition; end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#16 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#16 def doc_string; end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#8 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#8 def extract_doc_string(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#14 def extract_implementation(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#11 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#11 def extract_metadata(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#24 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#24 def implementation; end - # source://rubocop-rspec/lib/rubocop/rspec/example.rb#20 + # source://rubocop-rspec//lib/rubocop/rspec/example.rb#20 def metadata; end end # Wrapper for RSpec example groups # -# source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#6 class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#28 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#28 def examples; end - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#34 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#34 def hooks; end - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#20 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#20 def lets; end # Detect if the node is an example group or shared example # # Selectors which indicate that we should stop searching # - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#13 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#13 def scope_change?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#24 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#24 def subjects; end private - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#56 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#56 def find_all(node, predicate); end # Recursively search for predicate within the current scope @@ -7200,63 +7201,63 @@ class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept # @param predicate [Symbol] method to call with node as argument # @return [Array] discovered nodes # - # source://rubocop-rspec/lib/rubocop/rspec/example_group.rb#50 + # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#50 def find_all_in_scope(node, predicate); end end # Wrapper for RSpec hook # -# source://rubocop-rspec/lib/rubocop/rspec/hook.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/hook.rb#6 class RuboCop::RSpec::Hook < ::RuboCop::RSpec::Concept # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#24 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#24 def example?; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#8 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#8 def extract_metadata(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#18 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#18 def knowable_scope?; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#38 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#38 def metadata; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#14 def name; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#28 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#28 def scope; end private - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#74 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#74 def scope_argument; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#70 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#70 def scope_name; end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#51 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#51 def transform_metadata(meta); end - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#66 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#66 def transform_true(node); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/hook.rb#47 + # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#47 def valid_scope?(node); end end # Because RuboCop doesn't yet support plugins, we have to monkey patch in a # bit of our configuration. # -# source://rubocop-rspec/lib/rubocop/rspec/inject.rb#7 +# source://rubocop-rspec//lib/rubocop/rspec/inject.rb#7 module RuboCop::RSpec::Inject class << self - # source://rubocop-rspec/lib/rubocop/rspec/inject.rb#8 + # source://rubocop-rspec//lib/rubocop/rspec/inject.rb#8 def defaults!; end end end @@ -7271,277 +7272,277 @@ end # In addition to providing useful matchers, this class is responsible for # using the configured aliases. # -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#14 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#14 module RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#49 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#49 def example?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#28 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#28 def example_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#44 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#44 def example_group_with_body?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#25 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#25 def explicit_rspec?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#52 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#52 def hook?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#68 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#68 def include?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#60 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#60 def let?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#22 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#22 def rspec?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#33 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#33 def shared_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#37 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#37 def spec_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#76 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#76 def subject?(param0 = T.unsafe(nil)); end class << self # Returns the value of attribute config. # - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#18 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#18 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#18 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#18 def config=(_arg0); end end end # This is used in Dialect and DescribeClass cops to detect RSpec blocks. # -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#204 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#204 module RuboCop::RSpec::Language::ALL class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#205 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#205 def all(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#78 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#78 module RuboCop::RSpec::Language::ExampleGroups class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#80 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#80 def all(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#90 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#90 def focused(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#86 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#86 def regular(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#94 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#94 def skipped(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#100 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#100 module RuboCop::RSpec::Language::Examples class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#102 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#102 def all(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#113 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#113 def focused(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#121 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#121 def pending(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#109 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#109 def regular(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#117 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#117 def skipped(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#127 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#127 module RuboCop::RSpec::Language::Expectations class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#128 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#128 def all(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#133 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#133 module RuboCop::RSpec::Language::Helpers class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#134 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#134 def all(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#145 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#145 module RuboCop::RSpec::Language::HookScopes class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#147 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#147 def all(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#146 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#146 RuboCop::RSpec::Language::HookScopes::ALL = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#139 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#139 module RuboCop::RSpec::Language::Hooks class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#140 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#140 def all(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#152 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#152 module RuboCop::RSpec::Language::Includes class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#154 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#154 def all(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#163 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#163 def context(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#159 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#159 def examples(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#169 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#169 module RuboCop::RSpec::Language::Runners class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#172 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#172 def all(element = T.unsafe(nil)); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#170 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#170 RuboCop::RSpec::Language::Runners::ALL = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#180 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#180 module RuboCop::RSpec::Language::SharedGroups class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#182 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#182 def all(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#191 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#191 def context(element); end - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#187 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#187 def examples(element); end end end -# source://rubocop-rspec/lib/rubocop/rspec/language.rb#197 +# source://rubocop-rspec//lib/rubocop/rspec/language.rb#197 module RuboCop::RSpec::Language::Subjects class << self - # source://rubocop-rspec/lib/rubocop/rspec/language.rb#198 + # source://rubocop-rspec//lib/rubocop/rspec/language.rb#198 def all(element); end end end # RuboCop RSpec specific extensions of RuboCop::AST::Node # -# source://rubocop-rspec/lib/rubocop/rspec/node.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/node.rb#6 module RuboCop::RSpec::Node # In various cops we want to regard const as literal although it's not # strictly literal. # # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/node.rb#9 + # source://rubocop-rspec//lib/rubocop/rspec/node.rb#9 def recursive_literal_or_const?; end end -# source://rubocop-rspec/lib/rubocop/rspec.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec.rb#6 RuboCop::RSpec::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname) # Version information for the RSpec RuboCop plugin. # -# source://rubocop-rspec/lib/rubocop/rspec/version.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/version.rb#6 module RuboCop::RSpec::Version; end -# source://rubocop-rspec/lib/rubocop/rspec/version.rb#7 +# source://rubocop-rspec//lib/rubocop/rspec/version.rb#7 RuboCop::RSpec::Version::STRING = T.let(T.unsafe(nil), String) # RSpec example wording rewriter # -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#6 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#6 class RuboCop::RSpec::Wording # @return [Wording] a new instance of Wording # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#14 def initialize(text, ignore:, replace:); end - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#21 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#21 def rewrite; end private - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#80 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#80 def append_suffix(word, suffix); end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#65 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#65 def ignored_word?(word); end # Returns the value of attribute ignores. # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 def ignores; end - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#51 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#51 def remove_should_and_pluralize; end - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#41 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#41 def replace_prefix(pattern, replacement); end # Returns the value of attribute replacements. # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 def replacements; end - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#69 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#69 def substitute(word); end # Returns the value of attribute text. # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 def text; end # @return [Boolean] # - # source://rubocop-rspec/lib/rubocop/rspec/wording.rb#47 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#47 def uppercase?(word); end end -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#11 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#11 RuboCop::RSpec::Wording::ES_SUFFIX_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#12 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#12 RuboCop::RSpec::Wording::IES_SUFFIX_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#8 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#8 RuboCop::RSpec::Wording::SHOULDNT_BE_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#7 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#7 RuboCop::RSpec::Wording::SHOULDNT_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#9 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#9 RuboCop::RSpec::Wording::WILL_NOT_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec/lib/rubocop/rspec/wording.rb#10 +# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#10 RuboCop::RSpec::Wording::WONT_PREFIX = T.let(T.unsafe(nil), Regexp) diff --git a/sorbet/rbi/gems/rubocop-sorbet@0.8.7.rbi b/sorbet/rbi/gems/rubocop-sorbet@0.8.7.rbi index ce85893f7..ce67c03cc 100644 --- a/sorbet/rbi/gems/rubocop-sorbet@0.8.7.rbi +++ b/sorbet/rbi/gems/rubocop-sorbet@0.8.7.rbi @@ -33,7 +33,7 @@ class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#55 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#55 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#72 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#49 @@ -276,7 +276,7 @@ RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), Str # # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#36 class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#46 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#49 def on_csend(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#46 @@ -949,7 +949,7 @@ class RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#40 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#28 @@ -1077,7 +1077,7 @@ class RuboCop::Cop::Sorbet::ImplicitConversionMethod < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#42 def on_def(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#42 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#48 def on_defs(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#50 @@ -1350,7 +1350,7 @@ module RuboCop::Cop::Sorbet::SignatureHelp # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#33 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#35 @@ -1382,7 +1382,7 @@ end class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#22 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#30 def on_class(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#22 diff --git a/sorbet/rbi/gems/rubocop@1.70.0.rbi b/sorbet/rbi/gems/rubocop@1.70.0.rbi index 2e61a5842..3471ce1b6 100644 --- a/sorbet/rbi/gems/rubocop@1.70.0.rbi +++ b/sorbet/rbi/gems/rubocop@1.70.0.rbi @@ -25,7 +25,7 @@ class Regexp::Expression::Quantifier include ::RuboCop::Ext::RegexpParser::Expression::Base end -# source://rubocop/lib/rubocop/version.rb#3 +# source://rubocop//lib/rubocop/version.rb#3 module RuboCop; end class RuboCop::AST::ProcessedSource @@ -40,12 +40,12 @@ end # # @api private # -# source://rubocop/lib/rubocop/arguments_env.rb#6 +# source://rubocop//lib/rubocop/arguments_env.rb#6 class RuboCop::ArgumentsEnv class << self # @api private # - # source://rubocop/lib/rubocop/arguments_env.rb#7 + # source://rubocop//lib/rubocop/arguments_env.rb#7 def read_as_arguments; end end end @@ -54,12 +54,12 @@ end # # @api private # -# source://rubocop/lib/rubocop/arguments_file.rb#6 +# source://rubocop//lib/rubocop/arguments_file.rb#6 class RuboCop::ArgumentsFile class << self # @api private # - # source://rubocop/lib/rubocop/arguments_file.rb#7 + # source://rubocop//lib/rubocop/arguments_file.rb#7 def read_as_arguments; end end end @@ -67,21 +67,21 @@ end # The CLI is a class responsible of handling all the command line interface # logic. # -# source://rubocop/lib/rubocop/cli.rb#8 +# source://rubocop//lib/rubocop/cli.rb#8 class RuboCop::CLI # @return [CLI] a new instance of CLI # - # source://rubocop/lib/rubocop/cli.rb#24 + # source://rubocop//lib/rubocop/cli.rb#24 def initialize; end # Returns the value of attribute config_store. # - # source://rubocop/lib/rubocop/cli.rb#22 + # source://rubocop//lib/rubocop/cli.rb#22 def config_store; end # Returns the value of attribute options. # - # source://rubocop/lib/rubocop/cli.rb#22 + # source://rubocop//lib/rubocop/cli.rb#22 def options; end # Entry point for the application logic. Here we @@ -93,49 +93,49 @@ class RuboCop::CLI # @param args [Array] command line arguments # @return [Integer] UNIX exit code # - # source://rubocop/lib/rubocop/cli.rb#39 + # source://rubocop//lib/rubocop/cli.rb#39 def run(args = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cli.rb#156 + # source://rubocop//lib/rubocop/cli.rb#156 def act_on_options; end - # source://rubocop/lib/rubocop/cli.rb#198 + # source://rubocop//lib/rubocop/cli.rb#198 def apply_default_formatter; end - # source://rubocop/lib/rubocop/cli.rb#125 + # source://rubocop//lib/rubocop/cli.rb#125 def execute_runners; end - # source://rubocop/lib/rubocop/cli.rb#182 + # source://rubocop//lib/rubocop/cli.rb#182 def handle_editor_mode; end # @raise [Finished] # - # source://rubocop/lib/rubocop/cli.rb#187 + # source://rubocop//lib/rubocop/cli.rb#187 def handle_exiting_options; end - # source://rubocop/lib/rubocop/cli.rb#144 + # source://rubocop//lib/rubocop/cli.rb#144 def parallel_by_default!; end - # source://rubocop/lib/rubocop/cli.rb#80 + # source://rubocop//lib/rubocop/cli.rb#80 def profile_if_needed; end - # source://rubocop/lib/rubocop/cli.rb#113 + # source://rubocop//lib/rubocop/cli.rb#113 def require_gem(name); end - # source://rubocop/lib/rubocop/cli.rb#121 + # source://rubocop//lib/rubocop/cli.rb#121 def run_command(name); end - # source://rubocop/lib/rubocop/cli.rb#174 + # source://rubocop//lib/rubocop/cli.rb#174 def set_options_to_config_loader; end - # source://rubocop/lib/rubocop/cli.rb#133 + # source://rubocop//lib/rubocop/cli.rb#133 def suggest_extensions; end # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/cli.rb#137 + # source://rubocop//lib/rubocop/cli.rb#137 def validate_options_vs_config; end end @@ -143,21 +143,21 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command.rb#7 +# source://rubocop//lib/rubocop/cli/command.rb#7 module RuboCop::CLI::Command class << self # Find the command with a given name and run it in an environment. # # @api private # - # source://rubocop/lib/rubocop/cli/command.rb#10 + # source://rubocop//lib/rubocop/cli/command.rb#10 def run(env, name); end private # @api private # - # source://rubocop/lib/rubocop/cli/command.rb#16 + # source://rubocop//lib/rubocop/cli/command.rb#16 def class_for(name); end end end @@ -166,81 +166,81 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#8 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#8 class RuboCop::CLI::Command::AutoGenerateConfig < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#25 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#25 def run; end private # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#107 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#107 def add_formatter; end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#115 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#115 def add_inheritance_from_auto_generated_file(config_file); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#111 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#111 def execute_runner; end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#136 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#136 def existing_configuration(config_file); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#65 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#65 def line_length_cop(config); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#53 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#53 def line_length_enabled?(config); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#61 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#61 def max_line_length(config); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#34 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#34 def maybe_run_line_length_cop; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#73 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#73 def only_exclude?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#69 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#69 def options_has_only_flag?; end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#153 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#153 def relative_path_to_todo_from_options_config; end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#100 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#100 def reset_config_and_auto_gen_file; end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#91 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#91 def run_all_cops(line_length_contents); end # Do an initial run with only Layout/LineLength so that cops that @@ -249,108 +249,108 @@ class RuboCop::CLI::Command::AutoGenerateConfig < ::RuboCop::CLI::Command::Base # # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#80 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#80 def run_line_length_cop; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#57 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#57 def same_max_line_length?(config1, config2); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#48 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#48 def skip_line_length_cop(reason); end # @api private # - # source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#142 + # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#142 def write_config_file(file_name, file_string, rubocop_yml_contents); end end # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#11 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#11 RuboCop::CLI::Command::AutoGenerateConfig::AUTO_GENERATED_FILE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#15 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#15 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1 = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#19 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#19 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_DISABLED = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#18 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#18 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_OVERRIDDEN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#20 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#20 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_SKIPPED_ONLY_COPS = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#22 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#22 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_SKIPPED_ONLY_EXCLUDE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#16 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#16 RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#13 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#13 RuboCop::CLI::Command::AutoGenerateConfig::PLACEHOLDER = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cli/command/auto_generate_config.rb#12 +# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#12 RuboCop::CLI::Command::AutoGenerateConfig::YAML_OPTIONAL_DOC_START = T.let(T.unsafe(nil), Regexp) # A subcommand in the CLI. # # @api private # -# source://rubocop/lib/rubocop/cli/command/base.rb#8 +# source://rubocop//lib/rubocop/cli/command/base.rb#8 class RuboCop::CLI::Command::Base # @api private # @return [Base] a new instance of Base # - # source://rubocop/lib/rubocop/cli/command/base.rb#26 + # source://rubocop//lib/rubocop/cli/command/base.rb#26 def initialize(env); end # @api private # - # source://rubocop/lib/rubocop/cli/command/base.rb#9 + # source://rubocop//lib/rubocop/cli/command/base.rb#9 def env; end class << self # @api private # - # source://rubocop/lib/rubocop/cli/command/base.rb#21 + # source://rubocop//lib/rubocop/cli/command/base.rb#21 def by_command_name(name); end # @api private # - # source://rubocop/lib/rubocop/cli/command/base.rb#14 + # source://rubocop//lib/rubocop/cli/command/base.rb#14 def command_name; end # @api private # - # source://rubocop/lib/rubocop/cli/command/base.rb#14 + # source://rubocop//lib/rubocop/cli/command/base.rb#14 def command_name=(_arg0); end # @api private # @private # - # source://rubocop/lib/rubocop/cli/command/base.rb#16 + # source://rubocop//lib/rubocop/cli/command/base.rb#16 def inherited(subclass); end end end @@ -359,50 +359,50 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/execute_runner.rb#8 +# source://rubocop//lib/rubocop/cli/command/execute_runner.rb#8 class RuboCop::CLI::Command::ExecuteRunner < ::RuboCop::CLI::Command::Base include ::RuboCop::Formatter::TextUtil # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#16 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#16 def run; end private # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#85 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#85 def bug_tracker_uri; end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#69 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#69 def display_error_summary(errors); end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#56 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#56 def display_summary(runner); end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#61 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#61 def display_warning_summary(warnings); end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#22 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#22 def execute_runner(paths); end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#91 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#91 def maybe_print_corrected_source; end # @api private # - # source://rubocop/lib/rubocop/cli/command/execute_runner.rb#42 + # source://rubocop//lib/rubocop/cli/command/execute_runner.rb#42 def with_redirect; end end @@ -410,35 +410,35 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/execute_runner.rb#12 +# source://rubocop//lib/rubocop/cli/command/execute_runner.rb#12 RuboCop::CLI::Command::ExecuteRunner::INTEGRATION_FORMATTERS = T.let(T.unsafe(nil), Array) # Generate a .rubocop.yml file in the current directory. # # @api private # -# source://rubocop/lib/rubocop/cli/command/init_dotfile.rb#8 +# source://rubocop//lib/rubocop/cli/command/init_dotfile.rb#8 class RuboCop::CLI::Command::InitDotfile < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop/lib/rubocop/cli/command/init_dotfile.rb#13 + # source://rubocop//lib/rubocop/cli/command/init_dotfile.rb#13 def run; end end # @api private # -# source://rubocop/lib/rubocop/cli/command/init_dotfile.rb#9 +# source://rubocop//lib/rubocop/cli/command/init_dotfile.rb#9 RuboCop::CLI::Command::InitDotfile::DOTFILE = T.let(T.unsafe(nil), String) # Start Language Server Protocol of RuboCop. # # @api private # -# source://rubocop/lib/rubocop/cli/command/lsp.rb#8 +# source://rubocop//lib/rubocop/cli/command/lsp.rb#8 class RuboCop::CLI::Command::LSP < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop/lib/rubocop/cli/command/lsp.rb#11 + # source://rubocop//lib/rubocop/cli/command/lsp.rb#11 def run; end end @@ -447,49 +447,49 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/show_cops.rb#9 +# source://rubocop//lib/rubocop/cli/command/show_cops.rb#9 class RuboCop::CLI::Command::ShowCops < ::RuboCop::CLI::Command::Base # @api private # @return [ShowCops] a new instance of ShowCops # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#12 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 def initialize(env); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#19 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#19 def run; end private # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#67 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#67 def config_lines(cop); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#63 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#63 def cops_of_department(cops, department); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#25 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#25 def print_available_cops; end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#48 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#48 def print_cop_details(cops); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#36 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#36 def print_cops_of_department(registry, department, show_all); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_cops.rb#57 + # source://rubocop//lib/rubocop/cli/command/show_cops.rb#57 def selected_cops_of_department(cops, department); end end @@ -498,34 +498,34 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#9 +# source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#9 class RuboCop::CLI::Command::ShowDocsUrl < ::RuboCop::CLI::Command::Base # @api private # @return [ShowDocsUrl] a new instance of ShowDocsUrl # - # source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#12 + # source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#12 def initialize(env); end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#18 + # source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#18 def run; end private # @api private # - # source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#38 + # source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#38 def cops_array; end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#24 + # source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#24 def print_documentation_url; end # @api private # - # source://rubocop/lib/rubocop/cli/command/show_docs_url.rb#42 + # source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#42 def registry_hash; end end @@ -536,89 +536,89 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#11 +# source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#11 class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#17 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#17 def run; end private # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#73 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#73 def all_extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#69 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#69 def current_formatter; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#111 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#111 def dependent_gems; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#87 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#87 def extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#103 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#103 def installed_and_not_loaded_extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#91 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#91 def installed_extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#115 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#115 def installed_gems; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#99 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#99 def loaded_extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#107 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#107 def lockfile; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#95 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#95 def not_installed_extensions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#41 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#41 def print_install_suggestions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#51 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#51 def print_load_suggestions; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#60 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#60 def print_opt_out_instruction; end # @api private # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#119 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#119 def puts(*args); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#30 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#30 def skip?; end end @@ -626,84 +626,84 @@ end # # @api private # -# source://rubocop/lib/rubocop/cli/command/suggest_extensions.rb#13 +# source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#13 RuboCop::CLI::Command::SuggestExtensions::INCLUDED_FORMATTERS = T.let(T.unsafe(nil), Array) # Display version. # # @api private # -# source://rubocop/lib/rubocop/cli/command/version.rb#8 +# source://rubocop//lib/rubocop/cli/command/version.rb#8 class RuboCop::CLI::Command::Version < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop/lib/rubocop/cli/command/version.rb#11 + # source://rubocop//lib/rubocop/cli/command/version.rb#11 def run; end end -# source://rubocop/lib/rubocop/cli.rb#13 +# source://rubocop//lib/rubocop/cli.rb#13 RuboCop::CLI::DEFAULT_PARALLEL_OPTIONS = T.let(T.unsafe(nil), Array) # Execution environment for a CLI command. # # @api private # -# source://rubocop/lib/rubocop/cli/environment.rb#7 +# source://rubocop//lib/rubocop/cli/environment.rb#7 class RuboCop::CLI::Environment # @api private # @return [Environment] a new instance of Environment # - # source://rubocop/lib/rubocop/cli/environment.rb#10 + # source://rubocop//lib/rubocop/cli/environment.rb#10 def initialize(options, config_store, paths); end # @api private # - # source://rubocop/lib/rubocop/cli/environment.rb#8 + # source://rubocop//lib/rubocop/cli/environment.rb#8 def config_store; end # @api private # - # source://rubocop/lib/rubocop/cli/environment.rb#8 + # source://rubocop//lib/rubocop/cli/environment.rb#8 def options; end # @api private # - # source://rubocop/lib/rubocop/cli/environment.rb#8 + # source://rubocop//lib/rubocop/cli/environment.rb#8 def paths; end # Run a command in this environment. # # @api private # - # source://rubocop/lib/rubocop/cli/environment.rb#17 + # source://rubocop//lib/rubocop/cli/environment.rb#17 def run(name); end end -# source://rubocop/lib/rubocop/cli.rb#20 +# source://rubocop//lib/rubocop/cli.rb#20 class RuboCop::CLI::Finished < ::StandardError; end -# source://rubocop/lib/rubocop/cli.rb#11 +# source://rubocop//lib/rubocop/cli.rb#11 RuboCop::CLI::STATUS_ERROR = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cli.rb#12 +# source://rubocop//lib/rubocop/cli.rb#12 RuboCop::CLI::STATUS_INTERRUPTED = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cli.rb#10 +# source://rubocop//lib/rubocop/cli.rb#10 RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cli.rb#9 +# source://rubocop//lib/rubocop/cli.rb#9 RuboCop::CLI::STATUS_SUCCESS = T.let(T.unsafe(nil), Integer) # This class represents the cache config of the caching RuboCop runs. # # @api private # -# source://rubocop/lib/rubocop/cache_config.rb#6 +# source://rubocop//lib/rubocop/cache_config.rb#6 class RuboCop::CacheConfig class << self # @api private # - # source://rubocop/lib/rubocop/cache_config.rb#7 + # source://rubocop//lib/rubocop/cache_config.rb#7 def root_dir; end end end @@ -712,22 +712,22 @@ end # # @api private # -# source://rubocop/lib/rubocop/cached_data.rb#8 +# source://rubocop//lib/rubocop/cached_data.rb#8 class RuboCop::CachedData # @api private # @return [CachedData] a new instance of CachedData # - # source://rubocop/lib/rubocop/cached_data.rb#9 + # source://rubocop//lib/rubocop/cached_data.rb#9 def initialize(filename); end # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#13 + # source://rubocop//lib/rubocop/cached_data.rb#13 def from_json(text); end # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#17 + # source://rubocop//lib/rubocop/cached_data.rb#17 def to_json(offenses); end private @@ -736,22 +736,22 @@ class RuboCop::CachedData # # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#47 + # source://rubocop//lib/rubocop/cached_data.rb#47 def deserialize_offenses(offenses); end # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#54 + # source://rubocop//lib/rubocop/cached_data.rb#54 def location_from_source_buffer(offense); end # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#40 + # source://rubocop//lib/rubocop/cached_data.rb#40 def message(offense); end # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#23 + # source://rubocop//lib/rubocop/cached_data.rb#23 def serialize_offense(offense); end # Delay creation until needed. Some type of offenses will have no buffer associated with them @@ -760,205 +760,248 @@ class RuboCop::CachedData # # @api private # - # source://rubocop/lib/rubocop/cached_data.rb#67 + # source://rubocop//lib/rubocop/cached_data.rb#67 def source_buffer; end end # and provides a way to check if each cop is enabled at arbitrary line. # -# source://rubocop/lib/rubocop/comment_config.rb#6 +# source://rubocop//lib/rubocop/comment_config.rb#6 class RuboCop::CommentConfig extend ::RuboCop::SimpleForwardable # @return [CommentConfig] a new instance of CommentConfig # - # source://rubocop/lib/rubocop/comment_config.rb#34 + # source://rubocop//lib/rubocop/comment_config.rb#34 def initialize(processed_source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/comment_config.rb#63 + # source://rubocop//lib/rubocop/comment_config.rb#63 def comment_only_line?(line_number); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/comment_config.rb#32 def config(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/comment_config.rb#51 + # source://rubocop//lib/rubocop/comment_config.rb#51 def cop_disabled_line_ranges; end # @return [Boolean] # - # source://rubocop/lib/rubocop/comment_config.rb#39 + # source://rubocop//lib/rubocop/comment_config.rb#39 def cop_enabled_at_line?(cop, line_number); end # @return [Boolean] # - # source://rubocop/lib/rubocop/comment_config.rb#47 + # source://rubocop//lib/rubocop/comment_config.rb#47 def cop_opted_in?(cop); end - # source://rubocop/lib/rubocop/comment_config.rb#55 + # source://rubocop//lib/rubocop/comment_config.rb#55 def extra_enabled_comments; end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/comment_config.rb#30 + # source://rubocop//lib/rubocop/comment_config.rb#30 def processed_source; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/comment_config.rb#32 def registry(*_arg0, **_arg1, &_arg2); end private - # source://rubocop/lib/rubocop/comment_config.rb#96 + # source://rubocop//lib/rubocop/comment_config.rb#96 def analyze; end - # source://rubocop/lib/rubocop/comment_config.rb#124 + # source://rubocop//lib/rubocop/comment_config.rb#124 def analyze_cop(analysis, directive); end - # source://rubocop/lib/rubocop/comment_config.rb#144 + # source://rubocop//lib/rubocop/comment_config.rb#144 def analyze_disabled(analysis, directive); end - # source://rubocop/lib/rubocop/comment_config.rb#155 + # source://rubocop//lib/rubocop/comment_config.rb#155 def analyze_rest(analysis, directive); end - # source://rubocop/lib/rubocop/comment_config.rb#135 + # source://rubocop//lib/rubocop/comment_config.rb#135 def analyze_single_line(analysis, directive); end - # source://rubocop/lib/rubocop/comment_config.rb#164 + # source://rubocop//lib/rubocop/comment_config.rb#164 def cop_line_ranges(analysis); end - # source://rubocop/lib/rubocop/comment_config.rb#170 + # source://rubocop//lib/rubocop/comment_config.rb#170 def each_directive; end - # source://rubocop/lib/rubocop/comment_config.rb#69 + # source://rubocop//lib/rubocop/comment_config.rb#69 def extra_enabled_comments_with_names(extras:, names:); end - # source://rubocop/lib/rubocop/comment_config.rb#190 + # source://rubocop//lib/rubocop/comment_config.rb#190 def handle_enable_all(directive, names, extras); end # Collect cops that have been disabled or enabled by name in a directive comment # so that `Lint/RedundantCopEnableDirective` can register offenses correctly. # - # source://rubocop/lib/rubocop/comment_config.rb#204 + # source://rubocop//lib/rubocop/comment_config.rb#204 def handle_switch(directive, names, extras); end - # source://rubocop/lib/rubocop/comment_config.rb#115 + # source://rubocop//lib/rubocop/comment_config.rb#115 def inject_disabled_cops_directives(analyses); end - # source://rubocop/lib/rubocop/comment_config.rb#183 + # source://rubocop//lib/rubocop/comment_config.rb#183 def non_comment_token_line_numbers; end - # source://rubocop/lib/rubocop/comment_config.rb#83 + # source://rubocop//lib/rubocop/comment_config.rb#83 def opt_in_cops; end - # source://rubocop/lib/rubocop/comment_config.rb#179 + # source://rubocop//lib/rubocop/comment_config.rb#179 def qualified_cop_name(cop_name); end end -# source://rubocop/lib/rubocop/comment_config.rb#9 +# source://rubocop//lib/rubocop/comment_config.rb#9 RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil), Float) # This class provides an API compatible with RuboCop::DirectiveComment # to be used for cops that are disabled in the config file # -# source://rubocop/lib/rubocop/comment_config.rb#13 +# source://rubocop//lib/rubocop/comment_config.rb#13 class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment include ::RuboCop::Ext::Comment # @return [ConfigDisabledCopDirectiveComment] a new instance of ConfigDisabledCopDirectiveComment # - # source://rubocop/lib/rubocop/comment_config.rb#21 + # source://rubocop//lib/rubocop/comment_config.rb#21 def initialize(cop_name); end # Returns the value of attribute line_number. # - # source://rubocop/lib/rubocop/comment_config.rb#16 + # source://rubocop//lib/rubocop/comment_config.rb#16 def line_number; end # Returns the value of attribute loc. # - # source://rubocop/lib/rubocop/comment_config.rb#16 + # source://rubocop//lib/rubocop/comment_config.rb#16 def loc; end # Returns the value of attribute text. # - # source://rubocop/lib/rubocop/comment_config.rb#16 + # source://rubocop//lib/rubocop/comment_config.rb#16 def text; end end -# source://rubocop/lib/rubocop/comment_config.rb#19 +# source://rubocop//lib/rubocop/comment_config.rb#19 class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Expression < ::Struct # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/comment_config.rb#19 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#19 def line=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#19 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/comment_config.rb#18 +# source://rubocop//lib/rubocop/comment_config.rb#18 class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Loc < ::Struct # Returns the value of attribute expression # # @return [Object] the current value of expression + # + # source://rubocop//lib/rubocop/comment_config.rb#18 def expression; end # Sets the attribute expression # # @param value [Object] the value to set the attribute expression to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#18 def expression=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#18 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/comment_config.rb#28 +# source://rubocop//lib/rubocop/comment_config.rb#28 class RuboCop::CommentConfig::CopAnalysis < ::Struct # Returns the value of attribute line_ranges # # @return [Object] the current value of line_ranges + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def line_ranges; end # Sets the attribute line_ranges # # @param value [Object] the value to set the attribute line_ranges to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def line_ranges=(_); end # Returns the value of attribute start_line_number # # @return [Object] the current value of start_line_number + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def start_line_number; end # Sets the attribute start_line_number # # @param value [Object] the value to set the attribute start_line_number to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def start_line_number=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#28 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def new(*_arg0); end end end @@ -969,7 +1012,7 @@ end # during a run of the rubocop program, if files in several # directories are inspected. # -# source://rubocop/lib/rubocop/config.rb#12 +# source://rubocop//lib/rubocop/config.rb#12 class RuboCop::Config include ::RuboCop::PathUtil include ::RuboCop::FileFinder @@ -977,26 +1020,26 @@ class RuboCop::Config # @return [Config] a new instance of Config # - # source://rubocop/lib/rubocop/config.rb#31 + # source://rubocop//lib/rubocop/config.rb#31 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def []=(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#179 + # source://rubocop//lib/rubocop/config.rb#179 def active_support_extensions_enabled?; end - # source://rubocop/lib/rubocop/config.rb#94 + # source://rubocop//lib/rubocop/config.rb#94 def add_excludes_from_higher_level(highest_config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#206 + # source://rubocop//lib/rubocop/config.rb#206 def allowed_camel_case_file?(file); end # Paths specified in configuration files starting with .rubocop are @@ -1005,74 +1048,74 @@ class RuboCop::Config # config/default.yml, for example, are not relative to RuboCop's config # directory since that wouldn't work. # - # source://rubocop/lib/rubocop/config.rb#250 + # source://rubocop//lib/rubocop/config.rb#250 def base_dir_for_path_parameters; end # @return [String, nil] # - # source://rubocop/lib/rubocop/config.rb#280 + # source://rubocop//lib/rubocop/config.rb#280 def bundler_lock_file_path; end - # source://rubocop/lib/rubocop/config.rb#52 + # source://rubocop//lib/rubocop/config.rb#52 def check; end # @api private # @return [Boolean] whether config for this badge has 'Include' or 'Exclude' keys # - # source://rubocop/lib/rubocop/config.rb#147 + # source://rubocop//lib/rubocop/config.rb#147 def clusivity_config_for_badge?(badge); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#167 + # source://rubocop//lib/rubocop/config.rb#167 def cop_enabled?(name); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#106 + # source://rubocop//lib/rubocop/config.rb#106 def deprecation_check; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def dig(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#171 + # source://rubocop//lib/rubocop/config.rb#171 def disabled_new_cops?; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def each_key(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#175 + # source://rubocop//lib/rubocop/config.rb#175 def enabled_new_cops?; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def fetch(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#228 + # source://rubocop//lib/rubocop/config.rb#228 def file_to_exclude?(file); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#187 + # source://rubocop//lib/rubocop/config.rb#187 def file_to_include?(file); end - # source://rubocop/lib/rubocop/config.rb#163 + # source://rubocop//lib/rubocop/config.rb#163 def for_all_cops; end # Note: the 'Enabled' attribute is same as that returned by `for_cop` # # @return [Config] for the given cop merged with that of its department (if any) # - # source://rubocop/lib/rubocop/config.rb#133 + # source://rubocop//lib/rubocop/config.rb#133 def for_badge(badge); end # Note: the 'Enabled' attribute is calculated according to the department's @@ -1080,7 +1123,7 @@ class RuboCop::Config # # @return [Config] for the given cop / cop name. # - # source://rubocop/lib/rubocop/config.rb#120 + # source://rubocop//lib/rubocop/config.rb#120 def for_cop(cop); end # Note: the 'Enabled' attribute will be present only if specified @@ -1088,7 +1131,7 @@ class RuboCop::Config # # @return [Config] for the given department name. # - # source://rubocop/lib/rubocop/config.rb#158 + # source://rubocop//lib/rubocop/config.rb#158 def for_department(department_name); end # If the given cop is enabled, returns its configuration hash. @@ -1096,60 +1139,60 @@ class RuboCop::Config # # @return [Config, Hash] for the given cop / cop name. # - # source://rubocop/lib/rubocop/config.rb#127 + # source://rubocop//lib/rubocop/config.rb#127 def for_enabled_cop(cop); end # Returns target's locked gem versions (i.e. from Gemfile.lock or gems.locked) # - # source://rubocop/lib/rubocop/config.rb#305 + # source://rubocop//lib/rubocop/config.rb#305 def gem_versions_in_target; end - # source://rubocop/lib/rubocop/config.rb#309 + # source://rubocop//lib/rubocop/config.rb#309 def inspect; end # True if this is a config file that is shipped with RuboCop # # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#77 + # source://rubocop//lib/rubocop/config.rb#77 def internal?; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def key?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def keys(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#48 + # source://rubocop//lib/rubocop/config.rb#48 def loaded_features; end # Returns the value of attribute loaded_path. # - # source://rubocop/lib/rubocop/config.rb#21 + # source://rubocop//lib/rubocop/config.rb#21 def loaded_path; end - # source://rubocop/lib/rubocop/config.rb#82 + # source://rubocop//lib/rubocop/config.rb#82 def make_excludes_absolute; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def merge(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#260 + # source://rubocop//lib/rubocop/config.rb#260 def parser_engine; end - # source://rubocop/lib/rubocop/config.rb#241 + # source://rubocop//lib/rubocop/config.rb#241 def path_relative_to_config(path); end - # source://rubocop/lib/rubocop/config.rb#237 + # source://rubocop//lib/rubocop/config.rb#237 def patterns_to_exclude; end - # source://rubocop/lib/rubocop/config.rb#233 + # source://rubocop//lib/rubocop/config.rb#233 def patterns_to_include; end - # source://rubocop/lib/rubocop/config.rb#291 + # source://rubocop//lib/rubocop/config.rb#291 def pending_cops; end # Returns true if there's a chance that an Include pattern matches hidden @@ -1157,133 +1200,150 @@ class RuboCop::Config # # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#220 + # source://rubocop//lib/rubocop/config.rb#220 def possibly_include_hidden?; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#72 + # source://rubocop//lib/rubocop/config.rb#72 def signature; end - # source://rubocop/lib/rubocop/config.rb#275 + # source://rubocop//lib/rubocop/config.rb#275 def smart_loaded_path; end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#183 + # source://rubocop//lib/rubocop/config.rb#183 def string_literals_frozen_by_default?; end - # source://rubocop/lib/rubocop/config.rb#264 + # source://rubocop//lib/rubocop/config.rb#264 def target_rails_version; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#66 def target_ruby_version(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def to_hash(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#68 + # source://rubocop//lib/rubocop/config.rb#68 def to_s; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#64 def transform_values(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config.rb#66 def validate(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config.rb#59 + # source://rubocop//lib/rubocop/config.rb#59 def validate_after_resolution; end private - # source://rubocop/lib/rubocop/config.rb#359 + # source://rubocop//lib/rubocop/config.rb#359 def department_of(qualified_cop_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config.rb#347 + # source://rubocop//lib/rubocop/config.rb#347 def enable_cop?(qualified_cop_name, cop_options); end # @param gem_version [Gem::Version] an object like `Gem::Version.new("7.1.2.3")` # @return [Float] The major and minor version, like `7.1` # - # source://rubocop/lib/rubocop/config.rb#334 + # source://rubocop//lib/rubocop/config.rb#334 def gem_version_to_major_minor_float(gem_version); end - # source://rubocop/lib/rubocop/config.rb#340 + # source://rubocop//lib/rubocop/config.rb#340 def read_gem_versions_from_target_lockfile; end # @return [Float, nil] The Rails version as a `major.minor` Float. # - # source://rubocop/lib/rubocop/config.rb#321 + # source://rubocop//lib/rubocop/config.rb#321 def read_rails_version_from_bundler_lock_file; end # @return [Float, nil] The Rails version as a `major.minor` Float. # - # source://rubocop/lib/rubocop/config.rb#316 + # source://rubocop//lib/rubocop/config.rb#316 def target_rails_version_from_bundler_lock_file; end class << self - # source://rubocop/lib/rubocop/config.rb#23 + # source://rubocop//lib/rubocop/config.rb#23 def create(hash, path, check: T.unsafe(nil)); end end end -# source://rubocop/lib/rubocop/config.rb#17 +# source://rubocop//lib/rubocop/config.rb#17 class RuboCop::Config::CopConfig < ::Struct # Returns the value of attribute metadata # # @return [Object] the current value of metadata + # + # source://rubocop//lib/rubocop/config.rb#17 def metadata; end # Sets the attribute metadata # # @param value [Object] the value to set the attribute metadata to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/config.rb#17 def metadata=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://rubocop//lib/rubocop/config.rb#17 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/config.rb#17 def name=(_); end class << self + # source://rubocop//lib/rubocop/config.rb#17 def [](*_arg0); end + + # source://rubocop//lib/rubocop/config.rb#17 def inspect; end + + # source://rubocop//lib/rubocop/config.rb#17 def keyword_init?; end + + # source://rubocop//lib/rubocop/config.rb#17 def members; end + + # source://rubocop//lib/rubocop/config.rb#17 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/config.rb#20 +# source://rubocop//lib/rubocop/config.rb#20 RuboCop::Config::DEFAULT_RAILS_VERSION = T.let(T.unsafe(nil), Float) -# source://rubocop/lib/rubocop/config.rb#19 +# source://rubocop//lib/rubocop/config.rb#19 RuboCop::Config::EMPTY_CONFIG = T.let(T.unsafe(nil), Hash) # This class has methods related to finding configuration path. # # @api private # -# source://rubocop/lib/rubocop/config_finder.rb#8 +# source://rubocop//lib/rubocop/config_finder.rb#8 class RuboCop::ConfigFinder extend ::RuboCop::FileFinder class << self # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#19 + # source://rubocop//lib/rubocop/config_finder.rb#19 def find_config_path(target_dir); end # Returns the path RuboCop inferred as the root of the project. No file @@ -1291,66 +1351,66 @@ class RuboCop::ConfigFinder # # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#26 + # source://rubocop//lib/rubocop/config_finder.rb#26 def project_root; end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#17 + # source://rubocop//lib/rubocop/config_finder.rb#17 def project_root=(_arg0); end private # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#69 + # source://rubocop//lib/rubocop/config_finder.rb#69 def expand_path(path); end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#40 + # source://rubocop//lib/rubocop/config_finder.rb#40 def find_project_dotfile(target_dir); end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#32 + # source://rubocop//lib/rubocop/config_finder.rb#32 def find_project_root; end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#44 + # source://rubocop//lib/rubocop/config_finder.rb#44 def find_project_root_dot_config; end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#54 + # source://rubocop//lib/rubocop/config_finder.rb#54 def find_user_dotfile; end # @api private # - # source://rubocop/lib/rubocop/config_finder.rb#62 + # source://rubocop//lib/rubocop/config_finder.rb#62 def find_user_xdg_config; end end end # @api private # -# source://rubocop/lib/rubocop/config_finder.rb#12 +# source://rubocop//lib/rubocop/config_finder.rb#12 RuboCop::ConfigFinder::DEFAULT_FILE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/config_finder.rb#9 +# source://rubocop//lib/rubocop/config_finder.rb#9 RuboCop::ConfigFinder::DOTFILE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/config_finder.rb#11 +# source://rubocop//lib/rubocop/config_finder.rb#11 RuboCop::ConfigFinder::RUBOCOP_HOME = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/config_finder.rb#10 +# source://rubocop//lib/rubocop/config_finder.rb#10 RuboCop::ConfigFinder::XDG_CONFIG = T.let(T.unsafe(nil), String) # This class represents the configuration of the RuboCop application @@ -1359,12 +1419,12 @@ RuboCop::ConfigFinder::XDG_CONFIG = T.let(T.unsafe(nil), String) # during a run of the rubocop program, if files in several # directories are inspected. # -# source://rubocop/lib/rubocop/config_loader.rb#17 +# source://rubocop//lib/rubocop/config_loader.rb#17 class RuboCop::ConfigLoader extend ::RuboCop::FileFinder class << self - # source://rubocop/lib/rubocop/config_loader.rb#141 + # source://rubocop//lib/rubocop/config_loader.rb#141 def add_excludes_from_files(config, config_file); end # Used to add features that were required inside a config or from @@ -1372,13 +1432,13 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop/lib/rubocop/config_loader.rb#202 + # source://rubocop//lib/rubocop/config_loader.rb#202 def add_loaded_features(loaded_features); end - # source://rubocop/lib/rubocop/config_loader.rb#84 + # source://rubocop//lib/rubocop/config_loader.rb#84 def add_missing_namespaces(path, hash); end - # source://rubocop/lib/rubocop/config_loader.rb#41 + # source://rubocop//lib/rubocop/config_loader.rb#41 def clear_options; end # Returns the path of .rubocop.yml searching upwards in the @@ -1387,128 +1447,128 @@ class RuboCop::ConfigLoader # user's home directory is checked. If there's no .rubocop.yml # there either, the path to the default file is returned. # - # source://rubocop/lib/rubocop/config_loader.rb#108 + # source://rubocop//lib/rubocop/config_loader.rb#108 def configuration_file_for(target_dir); end - # source://rubocop/lib/rubocop/config_loader.rb#112 + # source://rubocop//lib/rubocop/config_loader.rb#112 def configuration_from_file(config_file, check: T.unsafe(nil)); end # Returns the value of attribute debug. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def debug; end # Sets the attribute debug # # @param value the value to set the attribute debug to. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def debug=(_arg0); end # Returns the value of attribute debug. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#38 def debug?; end - # source://rubocop/lib/rubocop/config_loader.rb#151 + # source://rubocop//lib/rubocop/config_loader.rb#151 def default_configuration; end # Sets the attribute default_configuration # # @param value the value to set the attribute default_configuration to. # - # source://rubocop/lib/rubocop/config_loader.rb#35 + # source://rubocop//lib/rubocop/config_loader.rb#35 def default_configuration=(_arg0); end # Returns the value of attribute disable_pending_cops. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def disable_pending_cops; end # Sets the attribute disable_pending_cops # # @param value the value to set the attribute disable_pending_cops to. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def disable_pending_cops=(_arg0); end # Returns the value of attribute enable_pending_cops. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def enable_pending_cops; end # Sets the attribute enable_pending_cops # # @param value the value to set the attribute enable_pending_cops to. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def enable_pending_cops=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def ignore_parent_exclusion; end # Sets the attribute ignore_parent_exclusion # # @param value the value to set the attribute ignore_parent_exclusion to. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def ignore_parent_exclusion=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#39 def ignore_parent_exclusion?; end # Returns the value of attribute ignore_unrecognized_cops. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def ignore_unrecognized_cops; end # Sets the attribute ignore_unrecognized_cops # # @param value the value to set the attribute ignore_unrecognized_cops to. # - # source://rubocop/lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#33 def ignore_unrecognized_cops=(_arg0); end # @api private # - # source://rubocop/lib/rubocop/config_loader.rb#159 + # source://rubocop//lib/rubocop/config_loader.rb#159 def inject_defaults!(project_root); end - # source://rubocop/lib/rubocop/config_loader.rb#51 + # source://rubocop//lib/rubocop/config_loader.rb#51 def load_file(file, check: T.unsafe(nil)); end # @raise [TypeError] # - # source://rubocop/lib/rubocop/config_loader.rb#71 + # source://rubocop//lib/rubocop/config_loader.rb#71 def load_yaml_configuration(absolute_path); end # Returns the value of attribute loaded_features. # - # source://rubocop/lib/rubocop/config_loader.rb#36 + # source://rubocop//lib/rubocop/config_loader.rb#36 def loaded_features; end # Return a recursive merge of two hashes. That is, a normal hash merge, # with the addition that any value that is a hash, and occurs in both # arguments, will also be merged. And so on. # - # source://rubocop/lib/rubocop/config_loader.rb#99 + # source://rubocop//lib/rubocop/config_loader.rb#99 def merge(base_hash, derived_hash); end # Merges the given configuration with the default one. # - # source://rubocop/lib/rubocop/config_loader.rb#195 + # source://rubocop//lib/rubocop/config_loader.rb#195 def merge_with_default(config, config_file, unset_nil: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/config_loader.rb#132 + # source://rubocop//lib/rubocop/config_loader.rb#132 def pending_cops_only_qualified(pending_cops); end # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader.rb#136 + # source://rubocop//lib/rubocop/config_loader.rb#136 def possible_new_cops?(config); end # Returns the path RuboCop inferred as the root of the project. No file @@ -1516,55 +1576,55 @@ class RuboCop::ConfigLoader # # @deprecated Use `RuboCop::ConfigFinder.project_root` instead. # - # source://rubocop/lib/rubocop/config_loader.rb#170 + # source://rubocop//lib/rubocop/config_loader.rb#170 def project_root; end - # source://rubocop/lib/rubocop/config_loader.rb#179 + # source://rubocop//lib/rubocop/config_loader.rb#179 def warn_on_pending_cops(pending_cops); end - # source://rubocop/lib/rubocop/config_loader.rb#187 + # source://rubocop//lib/rubocop/config_loader.rb#187 def warn_pending_cop(cop); end private - # source://rubocop/lib/rubocop/config_loader.rb#216 + # source://rubocop//lib/rubocop/config_loader.rb#216 def check_duplication(yaml_code, absolute_path); end - # source://rubocop/lib/rubocop/config_loader.rb#208 + # source://rubocop//lib/rubocop/config_loader.rb#208 def file_path(file); end # Read the specified file, or exit with a friendly, concise message on # stderr. Care is taken to use the standard OS exit code for a "file not # found" error. # - # source://rubocop/lib/rubocop/config_loader.rb#236 + # source://rubocop//lib/rubocop/config_loader.rb#236 def read_file(absolute_path); end - # source://rubocop/lib/rubocop/config_loader.rb#212 + # source://rubocop//lib/rubocop/config_loader.rb#212 def resolver; end - # source://rubocop/lib/rubocop/config_loader.rb#242 + # source://rubocop//lib/rubocop/config_loader.rb#242 def yaml_tree_to_hash(yaml_tree); end - # source://rubocop/lib/rubocop/config_loader.rb#252 + # source://rubocop//lib/rubocop/config_loader.rb#252 def yaml_tree_to_hash!(yaml_tree); end end end -# source://rubocop/lib/rubocop/config_loader.rb#20 +# source://rubocop//lib/rubocop/config_loader.rb#20 RuboCop::ConfigLoader::DEFAULT_FILE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/config_loader.rb#18 +# source://rubocop//lib/rubocop/config_loader.rb#18 RuboCop::ConfigLoader::DOTFILE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/config_loader.rb#19 +# source://rubocop//lib/rubocop/config_loader.rb#19 RuboCop::ConfigLoader::RUBOCOP_HOME = T.let(T.unsafe(nil), String) # A help class for ConfigLoader that handles configuration resolution. # # @api private # -# source://rubocop/lib/rubocop/config_loader_resolver.rb#9 +# source://rubocop//lib/rubocop/config_loader_resolver.rb#9 class RuboCop::ConfigLoaderResolver # When one .rubocop.yml file inherits from another .rubocop.yml file, the Include paths in the # base configuration are relative to the directory where the base configuration file is. For the @@ -1573,7 +1633,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#45 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#45 def fix_include_paths(base_config_path, hash, path, key, value); end # Return a recursive merge of two hashes. That is, a normal hash merge, @@ -1583,7 +1643,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#99 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#99 def merge(base_hash, derived_hash, **opts); end # Merges the given configuration with the default one. If @@ -1594,7 +1654,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#75 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#75 def merge_with_default(config, config_file, unset_nil:); end # An `Enabled: true` setting in user configuration for a cop overrides an @@ -1602,7 +1662,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#119 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#119 def override_department_setting_for_cops(base_hash, derived_hash); end # If a cop was previously explicitly enabled, but then superseded by the @@ -1610,146 +1670,146 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#136 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#136 def override_enabled_for_disabled_departments(base_hash, derived_hash); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#19 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#19 def resolve_inheritance(path, hash, file, debug); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#55 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#55 def resolve_inheritance_from_gems(hash); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#10 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#10 def resolve_requires(path, hash); end private # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#215 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#215 def base_configs(path, inherit_from, file); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#183 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#183 def determine_inherit_mode(hash, key); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#152 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#152 def disabled?(hash, department); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#156 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#156 def duplicate_setting?(base_hash, derived_hash, key, inherited_file); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#177 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#177 def duplicate_setting_warning(opts, key); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#278 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#278 def gem_config_path(gem_name, relative_config_path); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#256 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#256 def handle_disabled_by_default(config, new_default_configuration); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#227 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#227 def inherited_file(path, inherit_from, file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#211 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#211 def merge_hashes?(base_hash, derived_hash, key); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#252 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#252 def remote_config?(file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#248 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#248 def remote_file?(uri); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#203 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#203 def should_merge?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#207 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#207 def should_override?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#189 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#189 def should_union?(derived_hash, base_hash, root_mode, key); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#274 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#274 def transform(config, &block); end # @api private # - # source://rubocop/lib/rubocop/config_loader_resolver.rb#165 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#165 def warn_on_duplicate_setting(base_hash, derived_hash, key, **opts); end end # Raised when a RuboCop configuration file is not found. # -# source://rubocop/lib/rubocop/config_loader.rb#9 +# source://rubocop//lib/rubocop/config_loader.rb#9 class RuboCop::ConfigNotFoundError < ::RuboCop::Error; end # This class handles obsolete configuration. # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/rule.rb#4 +# source://rubocop//lib/rubocop/config_obsoletion/rule.rb#4 class RuboCop::ConfigObsoletion # @api private # @return [ConfigObsoletion] a new instance of ConfigObsoletion # - # source://rubocop/lib/rubocop/config_obsoletion.rb#35 + # source://rubocop//lib/rubocop/config_obsoletion.rb#35 def initialize(config); end # @api private # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_obsoletion.rb#41 + # source://rubocop//lib/rubocop/config_obsoletion.rb#41 def reject_obsolete!; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#21 + # source://rubocop//lib/rubocop/config_obsoletion.rb#21 def rules; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#21 + # source://rubocop//lib/rubocop/config_obsoletion.rb#21 def warnings; end private @@ -1758,7 +1818,7 @@ class RuboCop::ConfigObsoletion # # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#72 + # source://rubocop//lib/rubocop/config_obsoletion.rb#72 def load_cop_rules(rules); end # Parameter rules may apply to multiple cops and multiple parameters @@ -1767,7 +1827,7 @@ class RuboCop::ConfigObsoletion # # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#85 + # source://rubocop//lib/rubocop/config_obsoletion.rb#85 def load_parameter_rules(rules); end # Default rules for obsoletions are in config/obsoletion.yml @@ -1775,116 +1835,116 @@ class RuboCop::ConfigObsoletion # # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#52 + # source://rubocop//lib/rubocop/config_obsoletion.rb#52 def load_rules; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#98 + # source://rubocop//lib/rubocop/config_obsoletion.rb#98 def obsoletions; end class << self # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#24 + # source://rubocop//lib/rubocop/config_obsoletion.rb#24 def files; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#24 + # source://rubocop//lib/rubocop/config_obsoletion.rb#24 def files=(_arg0); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion.rb#26 + # source://rubocop//lib/rubocop/config_obsoletion.rb#26 def legacy_cop_names; end end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion.rb#8 RuboCop::ConfigObsoletion::COP_RULE_CLASSES = T.let(T.unsafe(nil), Hash) # Encapsulation of a ConfigObsoletion rule for changing a parameter # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/changed_enforced_styles.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion/changed_enforced_styles.rb#7 class RuboCop::ConfigObsoletion::ChangedEnforcedStyles < ::RuboCop::ConfigObsoletion::ParameterRule # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/changed_enforced_styles.rb#14 + # source://rubocop//lib/rubocop/config_obsoletion/changed_enforced_styles.rb#14 def message; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/changed_enforced_styles.rb#10 + # source://rubocop//lib/rubocop/config_obsoletion/changed_enforced_styles.rb#10 def violated?; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/changed_enforced_styles.rb#28 + # source://rubocop//lib/rubocop/config_obsoletion/changed_enforced_styles.rb#28 def value; end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/changed_enforced_styles.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/changed_enforced_styles.rb#8 RuboCop::ConfigObsoletion::ChangedEnforcedStyles::BASE_MESSAGE = T.let(T.unsafe(nil), String) # Encapsulation of a ConfigObsoletion rule for changing a parameter # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/changed_parameter.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion/changed_parameter.rb#7 class RuboCop::ConfigObsoletion::ChangedParameter < ::RuboCop::ConfigObsoletion::ParameterRule # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/changed_parameter.rb#10 + # source://rubocop//lib/rubocop/config_obsoletion/changed_parameter.rb#10 def message; end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/changed_parameter.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/changed_parameter.rb#8 RuboCop::ConfigObsoletion::ChangedParameter::BASE_MESSAGE = T.let(T.unsafe(nil), String) # Base class for ConfigObsoletion rules relating to cops # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#7 class RuboCop::ConfigObsoletion::CopRule < ::RuboCop::ConfigObsoletion::Rule # @api private # @return [CopRule] a new instance of CopRule # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#10 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#10 def initialize(config, old_name); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#15 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#15 def cop_rule?; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#19 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#19 def message; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#8 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#8 def old_name; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#28 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#28 def violated?; end # Cop rules currently can only be failures, not warnings @@ -1892,13 +1952,13 @@ class RuboCop::ConfigObsoletion::CopRule < ::RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/cop_rule.rb#24 + # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#24 def warning?; end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion.rb#7 RuboCop::ConfigObsoletion::DEFAULT_RULES_FILE = T.let(T.unsafe(nil), String) # Encapsulation of a ConfigObsoletion rule for splitting a cop's @@ -1906,130 +1966,130 @@ RuboCop::ConfigObsoletion::DEFAULT_RULES_FILE = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#8 class RuboCop::ConfigObsoletion::ExtractedCop < ::RuboCop::ConfigObsoletion::CopRule # @api private # @return [ExtractedCop] a new instance of ExtractedCop # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#11 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#11 def initialize(config, old_name, gem); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#9 def department; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#9 def gem; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#23 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#23 def rule_message; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#17 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#17 def violated?; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#32 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#32 def affected_cops; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/extracted_cop.rb#41 + # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#41 def feature_loaded?; end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion.rb#18 +# source://rubocop//lib/rubocop/config_obsoletion.rb#18 RuboCop::ConfigObsoletion::LOAD_RULES_CACHE = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop/lib/rubocop/config_obsoletion.rb#14 +# source://rubocop//lib/rubocop/config_obsoletion.rb#14 RuboCop::ConfigObsoletion::PARAMETER_RULE_CLASSES = T.let(T.unsafe(nil), Hash) # Base class for ConfigObsoletion rules relating to parameters # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#7 class RuboCop::ConfigObsoletion::ParameterRule < ::RuboCop::ConfigObsoletion::Rule # @api private # @return [ParameterRule] a new instance of ParameterRule # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#10 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#10 def initialize(config, cop, parameter, metadata); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#8 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#8 def cop; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#8 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#8 def metadata; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#8 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#8 def parameter; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#17 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#17 def parameter_rule?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#21 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#21 def violated?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#25 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#25 def warning?; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#39 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#39 def alternative; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#43 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#43 def alternatives; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#31 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#31 def applies_to_current_ruby_version?; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#47 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#47 def reason; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/parameter_rule.rb#51 + # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#51 def severity; end end @@ -2038,45 +2098,45 @@ end # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#8 class RuboCop::ConfigObsoletion::RemovedCop < ::RuboCop::ConfigObsoletion::CopRule # @api private # @return [RemovedCop] a new instance of RemovedCop # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#13 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#13 def initialize(config, old_name, metadata); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#9 def metadata; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#9 def old_name; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#18 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#18 def rule_message; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#36 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#36 def alternatives; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#32 + # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#32 def reason; end end # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/removed_cop.rb#11 +# source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#11 RuboCop::ConfigObsoletion::RemovedCop::BASE_MESSAGE = T.let(T.unsafe(nil), String) # Encapsulation of a ConfigObsoletion rule for renaming @@ -2084,22 +2144,22 @@ RuboCop::ConfigObsoletion::RemovedCop::BASE_MESSAGE = T.let(T.unsafe(nil), Strin # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#8 class RuboCop::ConfigObsoletion::RenamedCop < ::RuboCop::ConfigObsoletion::CopRule # @api private # @return [RenamedCop] a new instance of RenamedCop # - # source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#11 + # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#11 def initialize(config, old_name, new_name); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#9 def new_name; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#16 + # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#16 def rule_message; end private @@ -2107,12 +2167,12 @@ class RuboCop::ConfigObsoletion::RenamedCop < ::RuboCop::ConfigObsoletion::CopRu # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#22 + # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#22 def moved?; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/renamed_cop.rb#29 + # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#29 def verb; end end @@ -2120,12 +2180,12 @@ end # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/rule.rb#7 +# source://rubocop//lib/rubocop/config_obsoletion/rule.rb#7 class RuboCop::ConfigObsoletion::Rule # @api private # @return [Rule] a new instance of Rule # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#8 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#8 def initialize(config); end # Does this rule relate to cops? @@ -2133,7 +2193,7 @@ class RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#13 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#13 def cop_rule?; end # Does this rule relate to parameters? @@ -2141,31 +2201,31 @@ class RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#18 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#18 def parameter_rule?; end # @api private # @raise [NotImplementedError] # @return [Boolean] # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#22 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#22 def violated?; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#28 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#28 def config; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#36 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#36 def smart_loaded_path; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/rule.rb#30 + # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#30 def to_sentence(collection, connector: T.unsafe(nil)); end end @@ -2174,29 +2234,29 @@ end # # @api private # -# source://rubocop/lib/rubocop/config_obsoletion/split_cop.rb#8 +# source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#8 class RuboCop::ConfigObsoletion::SplitCop < ::RuboCop::ConfigObsoletion::CopRule # @api private # @return [SplitCop] a new instance of SplitCop # - # source://rubocop/lib/rubocop/config_obsoletion/split_cop.rb#11 + # source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#11 def initialize(config, old_name, metadata); end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/split_cop.rb#9 + # source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#9 def metadata; end # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/split_cop.rb#16 + # source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#16 def rule_message; end private # @api private # - # source://rubocop/lib/rubocop/config_obsoletion/split_cop.rb#22 + # source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#22 def alternatives; end end @@ -2204,111 +2264,111 @@ end # # @api private # -# source://rubocop/lib/rubocop/config_regeneration.rb#6 +# source://rubocop//lib/rubocop/config_regeneration.rb#6 class RuboCop::ConfigRegeneration # Get options from the comment in the TODO file, and parse them as options # # @api private # - # source://rubocop/lib/rubocop/config_regeneration.rb#12 + # source://rubocop//lib/rubocop/config_regeneration.rb#12 def options; end private # @api private # - # source://rubocop/lib/rubocop/config_regeneration.rb#29 + # source://rubocop//lib/rubocop/config_regeneration.rb#29 def generation_command; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/config_regeneration.rb#25 + # source://rubocop//lib/rubocop/config_regeneration.rb#25 def todo_exists?; end end # @api private # -# source://rubocop/lib/rubocop/config_regeneration.rb#7 +# source://rubocop//lib/rubocop/config_regeneration.rb#7 RuboCop::ConfigRegeneration::AUTO_GENERATED_FILE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/config_regeneration.rb#8 +# source://rubocop//lib/rubocop/config_regeneration.rb#8 RuboCop::ConfigRegeneration::COMMAND_REGEX = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop/lib/rubocop/config_regeneration.rb#9 +# source://rubocop//lib/rubocop/config_regeneration.rb#9 RuboCop::ConfigRegeneration::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) # Handles caching of configurations and association of inspected # ruby files to configurations. # -# source://rubocop/lib/rubocop/config_store.rb#6 +# source://rubocop//lib/rubocop/config_store.rb#6 class RuboCop::ConfigStore # @return [ConfigStore] a new instance of ConfigStore # - # source://rubocop/lib/rubocop/config_store.rb#10 + # source://rubocop//lib/rubocop/config_store.rb#10 def initialize; end # If type (file/dir) is known beforehand, # prefer using #for_file or #for_dir for improved performance # - # source://rubocop/lib/rubocop/config_store.rb#52 + # source://rubocop//lib/rubocop/config_store.rb#52 def for(file_or_dir); end - # source://rubocop/lib/rubocop/config_store.rb#61 + # source://rubocop//lib/rubocop/config_store.rb#61 def for_dir(dir); end - # source://rubocop/lib/rubocop/config_store.rb#42 + # source://rubocop//lib/rubocop/config_store.rb#42 def for_file(file); end - # source://rubocop/lib/rubocop/config_store.rb#46 + # source://rubocop//lib/rubocop/config_store.rb#46 def for_pwd; end - # source://rubocop/lib/rubocop/config_store.rb#33 + # source://rubocop//lib/rubocop/config_store.rb#33 def force_default_config!; end - # source://rubocop/lib/rubocop/config_store.rb#28 + # source://rubocop//lib/rubocop/config_store.rb#28 def options_config=(options_config); end - # source://rubocop/lib/rubocop/config_store.rb#37 + # source://rubocop//lib/rubocop/config_store.rb#37 def unvalidated; end # Returns the value of attribute validated. # - # source://rubocop/lib/rubocop/config_store.rb#7 + # source://rubocop//lib/rubocop/config_store.rb#7 def validated; end # Returns the value of attribute validated. # - # source://rubocop/lib/rubocop/config_store.rb#7 + # source://rubocop//lib/rubocop/config_store.rb#8 def validated?; end end # Handles validation of configuration, for example cop names, parameter # names, and Ruby versions. # -# source://rubocop/lib/rubocop/config_validator.rb#7 +# source://rubocop//lib/rubocop/config_validator.rb#7 class RuboCop::ConfigValidator extend ::RuboCop::SimpleForwardable # @return [ConfigValidator] a new instance of ConfigValidator # - # source://rubocop/lib/rubocop/config_validator.rb#28 + # source://rubocop//lib/rubocop/config_validator.rb#28 def initialize(config); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config_validator.rb#26 def for_all_cops(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/config_validator.rb#26 def smart_loaded_path(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/config_validator.rb#65 + # source://rubocop//lib/rubocop/config_validator.rb#65 def target_ruby_version; end - # source://rubocop/lib/rubocop/config_validator.rb#34 + # source://rubocop//lib/rubocop/config_validator.rb#34 def validate; end # Validations that should only be run after all config resolving has @@ -2317,195 +2377,195 @@ class RuboCop::ConfigValidator # chain has been loaded so that only the final value is validated, and # any obsolete but overridden values are ignored. # - # source://rubocop/lib/rubocop/config_validator.rb#61 + # source://rubocop//lib/rubocop/config_validator.rb#61 def validate_after_resolution; end private # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_validator.rb#100 + # source://rubocop//lib/rubocop/config_validator.rb#100 def alert_about_unrecognized_cops(invalid_cop_names); end - # source://rubocop/lib/rubocop/config_validator.rb#263 + # source://rubocop//lib/rubocop/config_validator.rb#263 def check_cop_config_value(hash, parent = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/config_validator.rb#73 + # source://rubocop//lib/rubocop/config_validator.rb#73 def check_obsoletions; end # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_validator.rb#80 + # source://rubocop//lib/rubocop/config_validator.rb#80 def check_target_ruby; end - # source://rubocop/lib/rubocop/config_validator.rb#204 + # source://rubocop//lib/rubocop/config_validator.rb#204 def each_invalid_parameter(cop_name); end - # source://rubocop/lib/rubocop/config_validator.rb#116 + # source://rubocop//lib/rubocop/config_validator.rb#116 def list_unknown_cops(invalid_cop_names); end # FIXME: Handling colors in exception messages like this is ugly. # - # source://rubocop/lib/rubocop/config_validator.rb#283 + # source://rubocop//lib/rubocop/config_validator.rb#283 def param_error_message(parent, key, value, supposed_values); end - # source://rubocop/lib/rubocop/config_validator.rb#251 + # source://rubocop//lib/rubocop/config_validator.rb#251 def reject_conflicting_safe_settings; end # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_validator.rb#242 + # source://rubocop//lib/rubocop/config_validator.rb#242 def reject_mutually_exclusive_defaults; end - # source://rubocop/lib/rubocop/config_validator.rb#138 + # source://rubocop//lib/rubocop/config_validator.rb#138 def suggestion(name); end # Returns the value of attribute target_ruby. # - # source://rubocop/lib/rubocop/config_validator.rb#71 + # source://rubocop//lib/rubocop/config_validator.rb#71 def target_ruby; end - # source://rubocop/lib/rubocop/config_validator.rb#216 + # source://rubocop//lib/rubocop/config_validator.rb#216 def validate_enforced_styles(valid_cop_names); end # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_validator.rb#165 + # source://rubocop//lib/rubocop/config_validator.rb#165 def validate_new_cops_parameter; end - # source://rubocop/lib/rubocop/config_validator.rb#190 + # source://rubocop//lib/rubocop/config_validator.rb#190 def validate_parameter_names(valid_cop_names); end - # source://rubocop/lib/rubocop/config_validator.rb#176 + # source://rubocop//lib/rubocop/config_validator.rb#176 def validate_parameter_shape(valid_cop_names); end - # source://rubocop/lib/rubocop/config_validator.rb#236 + # source://rubocop//lib/rubocop/config_validator.rb#236 def validate_support_and_has_list(name, formats, valid); end # @raise [ValidationError] # - # source://rubocop/lib/rubocop/config_validator.rb#154 + # source://rubocop//lib/rubocop/config_validator.rb#154 def validate_syntax_cop; end end # @api private # -# source://rubocop/lib/rubocop/config_validator.rb#11 +# source://rubocop//lib/rubocop/config_validator.rb#11 RuboCop::ConfigValidator::COMMON_PARAMS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/config_validator.rb#23 +# source://rubocop//lib/rubocop/config_validator.rb#23 RuboCop::ConfigValidator::CONFIG_CHECK_AUTOCORRECTS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/config_validator.rb#22 +# source://rubocop//lib/rubocop/config_validator.rb#22 RuboCop::ConfigValidator::CONFIG_CHECK_DEPARTMENTS = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/config_validator.rb#21 +# source://rubocop//lib/rubocop/config_validator.rb#21 RuboCop::ConfigValidator::CONFIG_CHECK_KEYS = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop/lib/rubocop/config_validator.rb#14 +# source://rubocop//lib/rubocop/config_validator.rb#14 RuboCop::ConfigValidator::INTERNAL_PARAMS = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/config_validator.rb#18 +# source://rubocop//lib/rubocop/config_validator.rb#18 RuboCop::ConfigValidator::NEW_COPS_VALUES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/util.rb#4 +# source://rubocop//lib/rubocop/cop/util.rb#4 module RuboCop::Cop; end # This module checks for nodes that should be aligned to the left or right. # This amount is determined by the instance variable @column_delta. # -# source://rubocop/lib/rubocop/cop/mixin/alignment.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/alignment.rb#7 module RuboCop::Cop::Alignment private - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#26 def check_alignment(items, base_column = T.unsafe(nil)); end # Returns the value of attribute column_delta. # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#12 def column_delta; end - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#14 def configured_indentation_width; end # @api public # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#58 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#58 def display_column(range); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#45 def each_bad_alignment(items, base_column); end # @deprecated Use processed_source.line_with_comment?(line) # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#69 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#69 def end_of_line_comment(line); end - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#18 def indentation(node); end - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#22 def offset(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#78 def register_offense(offense_node, message_node); end # @api public # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/alignment.rb#64 + # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#64 def within?(inner, outer); end end -# source://rubocop/lib/rubocop/cop/mixin/alignment.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/alignment.rb#10 RuboCop::Cop::Alignment::SPACE = T.let(T.unsafe(nil), String) # This class does autocorrection of nodes that should just be moved to # the left or to the right, amount being determined by the instance # variable column_delta. # -# source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#8 +# source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#8 class RuboCop::Cop::AlignmentCorrector extend ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::Alignment class << self - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#29 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#29 def align_end(corrector, processed_source, node, align_to); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#15 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#15 def correct(corrector, processed_source, node, column_delta); end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#13 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#13 def processed_source; end private - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#113 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#113 def alignment_column(align_to); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#40 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#40 def autocorrect_line(corrector, line_begin_pos, expr, column_delta, taboo_ranges); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#81 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#81 def block_comment_within?(expr); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#87 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#87 def calculate_range(expr, line_begin_pos, column_delta); end # Some special kinds of string literals are not composed of literal @@ -2516,39 +2576,39 @@ class RuboCop::Cop::AlignmentCorrector # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#75 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#75 def delimited_string_literal?(node); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#99 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#99 def each_line(expr); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#60 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#60 def inside_string_range(node); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#54 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#54 def inside_string_ranges(node); end - # source://rubocop/lib/rubocop/cop/correctors/alignment_corrector.rb#107 + # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#107 def whitespace_range(node); end end end # This module encapsulates the ability to allow certain identifiers in a cop. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_identifiers.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/allowed_identifiers.rb#6 module RuboCop::Cop::AllowedIdentifiers # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_identifiers.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/allowed_identifiers.rb#9 def allowed_identifier?(name); end - # source://rubocop/lib/rubocop/cop/mixin/allowed_identifiers.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/allowed_identifiers.rb#13 def allowed_identifiers; end end # if a variable starts with a sigil it will be removed # -# source://rubocop/lib/rubocop/cop/mixin/allowed_identifiers.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/allowed_identifiers.rb#7 RuboCop::Cop::AllowedIdentifiers::SIGILS = T.let(T.unsafe(nil), String) # This module encapsulates the ability to allow certain methods when @@ -2556,329 +2616,329 @@ RuboCop::Cop::AllowedIdentifiers::SIGILS = T.let(T.unsafe(nil), String) # that are allowed. This module is equivalent to the IgnoredMethods module, # which will be deprecated in RuboCop 2.0. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#9 module RuboCop::Cop::AllowedMethods private # @api public # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#13 def allowed_method?(name); end # @api public # - # source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#27 def allowed_methods; end - # source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#35 + # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#35 def cop_config_allowed_methods; end - # source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#39 + # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#39 def cop_config_deprecated_values; end # @deprecated Use allowed_method? instead # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#18 def ignored_method?; end end # This module encapsulates the ability to ignore certain lines when # parsing. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#7 module RuboCop::Cop::AllowedPattern private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#10 def allowed_line?(line); end - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#42 def allowed_patterns; end - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#58 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#58 def cop_config_deprecated_methods_values; end - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#52 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#52 def cop_config_patterns_values; end # @deprecated Use allowed_line? instead # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#21 def ignored_line?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#29 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#29 def matches_allowed_pattern?(line); end # @deprecated Use matches_allowed_pattern? instead # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#34 def matches_ignored_pattern?; end end # This module encapsulates the ability to allow certain receivers in a cop. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_receivers.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#6 module RuboCop::Cop::AllowedReceivers # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/allowed_receivers.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#7 def allowed_receiver?(receiver); end - # source://rubocop/lib/rubocop/cop/mixin/allowed_receivers.rb#29 + # source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#29 def allowed_receivers; end - # source://rubocop/lib/rubocop/cop/mixin/allowed_receivers.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#13 def receiver_name(receiver); end end # Error raised when an unqualified cop name is used that could # refer to two or more cops under different departments # -# source://rubocop/lib/rubocop/cop/registry.rb#7 +# source://rubocop//lib/rubocop/cop/registry.rb#7 class RuboCop::Cop::AmbiguousCopName < ::RuboCop::Error # @return [AmbiguousCopName] a new instance of AmbiguousCopName # - # source://rubocop/lib/rubocop/cop/registry.rb#11 + # source://rubocop//lib/rubocop/cop/registry.rb#11 def initialize(name, origin, badges); end end -# source://rubocop/lib/rubocop/cop/registry.rb#8 +# source://rubocop//lib/rubocop/cop/registry.rb#8 RuboCop::Cop::AmbiguousCopName::MSG = T.let(T.unsafe(nil), String) # Representation of an annotation comment in source code (eg. `# TODO: blah blah blah`). # -# source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#6 class RuboCop::Cop::AnnotationComment # @param comment [Parser::Source::Comment] # @param keywords [Array] # @return [AnnotationComment] a new instance of AnnotationComment # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#11 def initialize(comment, keywords); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#17 def annotation?; end # Returns the range bounds for just the annotation # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#29 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#29 def bounds; end # Returns the value of attribute colon. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def colon; end # Returns the value of attribute comment. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def comment; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#21 def correct?(colon:); end # Returns the value of attribute keyword. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def keyword; end # Returns the value of attribute margin. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def margin; end # Returns the value of attribute note. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def note; end # Returns the value of attribute space. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#7 def space; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#65 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#65 def just_keyword_of_sentence?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#61 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#61 def keyword_appearance?; end # Returns the value of attribute keywords. # - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#37 def keywords; end - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#51 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#51 def regex; end - # source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#39 + # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#39 def split_comment(comment); end end -# source://rubocop/lib/rubocop/cop/mixin/annotation_comment.rb#48 +# source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#48 RuboCop::Cop::AnnotationComment::KEYWORDS_REGEX_CACHE = T.let(T.unsafe(nil), Hash) # Handles the `MinSize` configuration option for array-based cops # `Style/SymbolArray` and `Style/WordArray`, which check for use of the # relevant percent literal syntax such as `%i[...]` and `%w[...]` # -# source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#8 module RuboCop::Cop::ArrayMinSize private - # source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#19 def array_style_detected(style, ary_size); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#11 def below_array_length?(node); end - # source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#38 + # source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#38 def largest_brackets_size(style, ary_size); end - # source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#15 def min_size_config; end - # source://rubocop/lib/rubocop/cop/mixin/array_min_size.rb#48 + # source://rubocop//lib/rubocop/cop/mixin/array_min_size.rb#48 def smallest_percent_size(style, ary_size); end end # Common code for ordinary arrays with [] that can be written with % # syntax. # -# source://rubocop/lib/rubocop/cop/mixin/array_syntax.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/array_syntax.rb#7 module RuboCop::Cop::ArraySyntax private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/array_syntax.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/array_syntax.rb#10 def bracketed_array_of?(element_type, node); end end # extend this module to signal autocorrection support # -# source://rubocop/lib/rubocop/cop/mixin/auto_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/auto_corrector.rb#6 module RuboCop::Cop::AutoCorrector # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/auto_corrector.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/auto_corrector.rb#7 def support_autocorrect?; end end # This module encapsulates the logic for autocorrect behavior for a cop. # -# source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#6 +# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#6 module RuboCop::Cop::AutocorrectLogic # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#7 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#7 def autocorrect?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#31 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#31 def autocorrect_enabled?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#15 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#15 def autocorrect_requested?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#11 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#11 def autocorrect_with_disable_uncorrectable?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#19 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#19 def correctable?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#23 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#23 def disable_uncorrectable?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#27 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#27 def safe_autocorrect?; end private - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#51 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#51 def disable_offense(offense_range); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#135 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#135 def disable_offense_at_end_of_line(range, eol_comment); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#139 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#139 def disable_offense_before_and_after(range_by_lines); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#77 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#77 def disable_offense_with_eol_or_surround_comment(range); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#96 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#96 def heredoc_range(node); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#131 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#131 def max_line_length; end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#63 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#63 def multiline_ranges(offense_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#108 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#108 def multiline_string?(node); end # Expand the given range to include all of any lines it covers. Does not # include newline at end of the last line. # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#121 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#121 def range_by_lines(range); end - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#112 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#112 def range_of_first_line(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#88 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#88 def range_overlaps_offense?(offense_range, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#104 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#104 def string_continuation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#92 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#92 def surrounding_heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/autocorrect_logic.rb#100 + # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#100 def surrounding_percent_array?(node); end end @@ -2890,61 +2950,61 @@ end # allow for badge references in source files that omit the department for # RuboCop to infer. # -# source://rubocop/lib/rubocop/cop/badge.rb#12 +# source://rubocop//lib/rubocop/cop/badge.rb#12 class RuboCop::Cop::Badge # @return [Badge] a new instance of Badge # - # source://rubocop/lib/rubocop/cop/badge.rb#34 + # source://rubocop//lib/rubocop/cop/badge.rb#34 def initialize(class_name_parts); end - # source://rubocop/lib/rubocop/cop/badge.rb#41 + # source://rubocop//lib/rubocop/cop/badge.rb#41 def ==(other); end # Returns the value of attribute cop_name. # - # source://rubocop/lib/rubocop/cop/badge.rb#13 + # source://rubocop//lib/rubocop/cop/badge.rb#13 def cop_name; end # Returns the value of attribute department. # - # source://rubocop/lib/rubocop/cop/badge.rb#13 + # source://rubocop//lib/rubocop/cop/badge.rb#13 def department; end # Returns the value of attribute department_name. # - # source://rubocop/lib/rubocop/cop/badge.rb#13 + # source://rubocop//lib/rubocop/cop/badge.rb#13 def department_name; end - # source://rubocop/lib/rubocop/cop/badge.rb#41 + # source://rubocop//lib/rubocop/cop/badge.rb#44 def eql?(other); end - # source://rubocop/lib/rubocop/cop/badge.rb#46 + # source://rubocop//lib/rubocop/cop/badge.rb#46 def hash; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/badge.rb#51 + # source://rubocop//lib/rubocop/cop/badge.rb#51 def match?(other); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/badge.rb#59 + # source://rubocop//lib/rubocop/cop/badge.rb#59 def qualified?; end - # source://rubocop/lib/rubocop/cop/badge.rb#55 + # source://rubocop//lib/rubocop/cop/badge.rb#55 def to_s; end - # source://rubocop/lib/rubocop/cop/badge.rb#63 + # source://rubocop//lib/rubocop/cop/badge.rb#63 def with_department(department); end class << self - # source://rubocop/lib/rubocop/cop/badge.rb#27 + # source://rubocop//lib/rubocop/cop/badge.rb#27 def camel_case(name_part); end - # source://rubocop/lib/rubocop/cop/badge.rb#15 + # source://rubocop//lib/rubocop/cop/badge.rb#15 def for(class_name); end - # source://rubocop/lib/rubocop/cop/badge.rb#23 + # source://rubocop//lib/rubocop/cop/badge.rb#23 def parse(identifier); end end end @@ -2978,7 +3038,7 @@ end # Private methods are not meant for custom cops consumption, # nor are any instance variables. # -# source://rubocop/lib/rubocop/cop/base.rb#34 +# source://rubocop//lib/rubocop/cop/base.rb#34 class RuboCop::Cop::Base include ::RuboCop::AST::Sexp include ::RuboCop::PathUtil @@ -2991,18 +3051,18 @@ class RuboCop::Cop::Base # @return [Base] a new instance of Base # - # source://rubocop/lib/rubocop/cop/base.rb#156 + # source://rubocop//lib/rubocop/cop/base.rb#156 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#278 + # source://rubocop//lib/rubocop/cop/base.rb#278 def active_support_extensions_enabled?; end # Adds an offense that has no particular location. # No correction can be applied to global offenses # - # source://rubocop/lib/rubocop/cop/base.rb#189 + # source://rubocop//lib/rubocop/cop/base.rb#189 def add_global_offense(message = T.unsafe(nil), severity: T.unsafe(nil)); end # Adds an offense on the specified range (or node with an expression) @@ -3010,55 +3070,55 @@ class RuboCop::Cop::Base # to provide the cop the opportunity to autocorrect the offense. # If message is not specified, the method `message` will be called. # - # source://rubocop/lib/rubocop/cop/base.rb#201 + # source://rubocop//lib/rubocop/cop/base.rb#201 def add_offense(node_or_range, message: T.unsafe(nil), severity: T.unsafe(nil), &block); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#357 + # source://rubocop//lib/rubocop/cop/base.rb#357 def always_autocorrect?; end # Called before any investigation # # @api private # - # source://rubocop/lib/rubocop/cop/base.rb#343 + # source://rubocop//lib/rubocop/cop/base.rb#343 def begin_investigation(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/cop/base.rb#324 + # source://rubocop//lib/rubocop/cop/base.rb#324 def callbacks_needed; end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/cop/base.rb#43 + # source://rubocop//lib/rubocop/cop/base.rb#43 def config; end - # source://rubocop/lib/rubocop/cop/base.rb#252 + # source://rubocop//lib/rubocop/cop/base.rb#252 def config_to_allow_offenses; end - # source://rubocop/lib/rubocop/cop/base.rb#256 + # source://rubocop//lib/rubocop/cop/base.rb#256 def config_to_allow_offenses=(hash); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#363 + # source://rubocop//lib/rubocop/cop/base.rb#363 def contextual_autocorrect?; end # Configuration Helpers # - # source://rubocop/lib/rubocop/cop/base.rb#246 + # source://rubocop//lib/rubocop/cop/base.rb#246 def cop_config; end - # source://rubocop/lib/rubocop/cop/base.rb#238 + # source://rubocop//lib/rubocop/cop/base.rb#238 def cop_name; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#295 + # source://rubocop//lib/rubocop/cop/base.rb#295 def excluded_file?(file); end # This method should be overridden when a cop's behavior depends @@ -3077,172 +3137,172 @@ class RuboCop::Cop::Base # ResultCache system when those external dependencies change, # ie when the ResultCache should be invalidated. # - # source://rubocop/lib/rubocop/cop/base.rb#234 + # source://rubocop//lib/rubocop/cop/base.rb#234 def external_dependency_checksum; end - # source://rubocop/lib/rubocop/cop/base.rb#367 + # source://rubocop//lib/rubocop/cop/base.rb#367 def inspect; end # Gets called if no message is specified when calling `add_offense` or # `add_global_offense` # Cops are discouraged to override this; instead pass your message directly # - # source://rubocop/lib/rubocop/cop/base.rb#183 + # source://rubocop//lib/rubocop/cop/base.rb#183 def message(_range = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/base.rb#238 + # source://rubocop//lib/rubocop/cop/base.rb#242 def name; end # @deprecated Make potential errors with previous API more obvious # - # source://rubocop/lib/rubocop/cop/base.rb#315 + # source://rubocop//lib/rubocop/cop/base.rb#315 def offenses; end # Called after all on_... have been called # When refining this method, always call `super` # - # source://rubocop/lib/rubocop/cop/base.rb#170 + # source://rubocop//lib/rubocop/cop/base.rb#170 def on_investigation_end; end # Called before all on_... have been called # When refining this method, always call `super` # - # source://rubocop/lib/rubocop/cop/base.rb#164 + # source://rubocop//lib/rubocop/cop/base.rb#164 def on_new_investigation; end # Called instead of all on_... callbacks for unrecognized files / syntax errors # When refining this method, always call `super` # - # source://rubocop/lib/rubocop/cop/base.rb#176 + # source://rubocop//lib/rubocop/cop/base.rb#176 def on_other_file; end # There should be very limited reasons for a Cop to do it's own parsing # - # source://rubocop/lib/rubocop/cop/base.rb#300 + # source://rubocop//lib/rubocop/cop/base.rb#300 def parse(source, path = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/base.rb#270 + # source://rubocop//lib/rubocop/cop/base.rb#270 def parser_engine; end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/base.rb#43 + # source://rubocop//lib/rubocop/cop/base.rb#43 def processed_source; end # Called between investigations # # @api private # - # source://rubocop/lib/rubocop/cop/base.rb#306 + # source://rubocop//lib/rubocop/cop/base.rb#306 def ready; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#286 + # source://rubocop//lib/rubocop/cop/base.rb#286 def relevant_file?(file); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#282 + # source://rubocop//lib/rubocop/cop/base.rb#282 def string_literals_frozen_by_default?; end # Returns a gems locked versions (i.e. from Gemfile.lock or gems.locked) # - # source://rubocop/lib/rubocop/cop/base.rb#266 + # source://rubocop//lib/rubocop/cop/base.rb#266 def target_gem_version(gem_name); end - # source://rubocop/lib/rubocop/cop/base.rb#274 + # source://rubocop//lib/rubocop/cop/base.rb#274 def target_rails_version; end - # source://rubocop/lib/rubocop/cop/base.rb#260 + # source://rubocop//lib/rubocop/cop/base.rb#260 def target_ruby_version; end private - # source://rubocop/lib/rubocop/cop/base.rb#485 + # source://rubocop//lib/rubocop/cop/base.rb#485 def annotate(message); end - # source://rubocop/lib/rubocop/cop/base.rb#379 + # source://rubocop//lib/rubocop/cop/base.rb#379 def apply_correction(corrector); end # @return [Symbol] offense status # - # source://rubocop/lib/rubocop/cop/base.rb#449 + # source://rubocop//lib/rubocop/cop/base.rb#449 def attempt_correction(range, corrector); end # Reserved for Cop::Cop # - # source://rubocop/lib/rubocop/cop/base.rb#375 + # source://rubocop//lib/rubocop/cop/base.rb#375 def callback_argument(range); end # Called to complete an investigation # - # source://rubocop/lib/rubocop/cop/base.rb#408 + # source://rubocop//lib/rubocop/cop/base.rb#408 def complete_investigation; end # @return [Symbol, Corrector] offense status # - # source://rubocop/lib/rubocop/cop/base.rb#423 + # source://rubocop//lib/rubocop/cop/base.rb#423 def correct(range); end - # source://rubocop/lib/rubocop/cop/base.rb#393 + # source://rubocop//lib/rubocop/cop/base.rb#393 def current_corrector; end # Reserved for Commissioner: # - # source://rubocop/lib/rubocop/cop/base.rb#385 + # source://rubocop//lib/rubocop/cop/base.rb#385 def current_offense_locations; end - # source://rubocop/lib/rubocop/cop/base.rb#397 + # source://rubocop//lib/rubocop/cop/base.rb#397 def current_offenses; end - # source://rubocop/lib/rubocop/cop/base.rb#389 + # source://rubocop//lib/rubocop/cop/base.rb#389 def currently_disabled_lines; end - # source://rubocop/lib/rubocop/cop/base.rb#513 + # source://rubocop//lib/rubocop/cop/base.rb#513 def custom_severity; end - # source://rubocop/lib/rubocop/cop/base.rb#509 + # source://rubocop//lib/rubocop/cop/base.rb#509 def default_severity; end - # source://rubocop/lib/rubocop/cop/base.rb#463 + # source://rubocop//lib/rubocop/cop/base.rb#463 def disable_uncorrectable(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#499 + # source://rubocop//lib/rubocop/cop/base.rb#499 def enabled_line?(line_number); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#491 + # source://rubocop//lib/rubocop/cop/base.rb#491 def file_name_matches_any?(file, parameter, default_result); end - # source://rubocop/lib/rubocop/cop/base.rb#481 + # source://rubocop//lib/rubocop/cop/base.rb#481 def find_message(range, message); end - # source://rubocop/lib/rubocop/cop/base.rb#505 + # source://rubocop//lib/rubocop/cop/base.rb#505 def find_severity(_range, severity); end - # source://rubocop/lib/rubocop/cop/base.rb#526 + # source://rubocop//lib/rubocop/cop/base.rb#526 def range_for_original(range); end - # source://rubocop/lib/rubocop/cop/base.rb#470 + # source://rubocop//lib/rubocop/cop/base.rb#470 def range_from_node_or_range(node_or_range); end # Actually private methods # - # source://rubocop/lib/rubocop/cop/base.rb#418 + # source://rubocop//lib/rubocop/cop/base.rb#418 def reset_investigation; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#534 + # source://rubocop//lib/rubocop/cop/base.rb#534 def target_satisfies_all_gem_version_requirements?; end # @return [Symbol] offense status # - # source://rubocop/lib/rubocop/cop/base.rb#438 + # source://rubocop//lib/rubocop/cop/base.rb#438 def use_corrector(range, corrector); end class << self @@ -3252,23 +3312,23 @@ class RuboCop::Cop::Base # @api public # @return [Array] # - # source://rubocop/lib/rubocop/cop/base.rb#59 + # source://rubocop//lib/rubocop/cop/base.rb#59 def autocorrect_incompatible_with; end # Naming # - # source://rubocop/lib/rubocop/cop/base.rb#93 + # source://rubocop//lib/rubocop/cop/base.rb#93 def badge; end # @api private # - # source://rubocop/lib/rubocop/cop/base.rb#329 + # source://rubocop//lib/rubocop/cop/base.rb#329 def callbacks_needed; end - # source://rubocop/lib/rubocop/cop/base.rb#97 + # source://rubocop//lib/rubocop/cop/base.rb#97 def cop_name; end - # source://rubocop/lib/rubocop/cop/base.rb#101 + # source://rubocop//lib/rubocop/cop/base.rb#101 def department; end # Returns a url to view this cops documentation online. @@ -3279,32 +3339,32 @@ class RuboCop::Cop::Base # @api public # @return [String, nil] # - # source://rubocop/lib/rubocop/cop/base.rb#70 + # source://rubocop//lib/rubocop/cop/base.rb#70 def documentation_url(config = T.unsafe(nil)); end # Call for abstract Cop classes # - # source://rubocop/lib/rubocop/cop/base.rb#81 + # source://rubocop//lib/rubocop/cop/base.rb#81 def exclude_from_registry; end # Returns the value of attribute gem_requirements. # - # source://rubocop/lib/rubocop/cop/base.rb#138 + # source://rubocop//lib/rubocop/cop/base.rb#138 def gem_requirements; end # @private # - # source://rubocop/lib/rubocop/cop/base.rb#74 + # source://rubocop//lib/rubocop/cop/base.rb#74 def inherited(subclass); end # Override and return the Force class(es) you need to join # - # source://rubocop/lib/rubocop/cop/base.rb#118 + # source://rubocop//lib/rubocop/cop/base.rb#118 def joining_forces; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#105 + # source://rubocop//lib/rubocop/cop/base.rb#105 def lint?; end # Returns true if the cop name or the cop namespace matches any of the @@ -3312,7 +3372,7 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#111 + # source://rubocop//lib/rubocop/cop/base.rb#111 def match?(given_names); end # Register a version requirement for the given gem name. @@ -3327,7 +3387,7 @@ class RuboCop::Cop::Base # # https://guides.rubygems.org/patterns/#declaring-dependencies # - # source://rubocop/lib/rubocop/cop/base.rb#151 + # source://rubocop//lib/rubocop/cop/base.rb#151 def requires_gem(gem_name, *version_requirements); end # Returns if class supports autocorrect. @@ -3335,7 +3395,7 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#87 + # source://rubocop//lib/rubocop/cop/base.rb#87 def support_autocorrect?; end # Override if your cop should be called repeatedly for multiple investigations @@ -3348,84 +3408,109 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/base.rb#129 + # source://rubocop//lib/rubocop/cop/base.rb#129 def support_multiple_source?; end private - # source://rubocop/lib/rubocop/cop/base.rb#401 + # source://rubocop//lib/rubocop/cop/base.rb#401 def restrict_on_send; end end end -# source://rubocop/lib/rubocop/cop/base.rb#405 +# source://rubocop//lib/rubocop/cop/base.rb#405 RuboCop::Cop::Base::EMPTY_OFFENSES = T.let(T.unsafe(nil), Array) # Reports of an investigation. # Immutable # Consider creation API private # -# source://rubocop/lib/rubocop/cop/base.rb#48 +# source://rubocop//lib/rubocop/cop/base.rb#48 class RuboCop::Cop::Base::InvestigationReport < ::Struct # Returns the value of attribute cop # # @return [Object] the current value of cop + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def cop; end # Sets the attribute cop # # @param value [Object] the value to set the attribute cop to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def cop=(_); end # Returns the value of attribute corrector # # @return [Object] the current value of corrector + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def corrector; end # Sets the attribute corrector # # @param value [Object] the value to set the attribute corrector to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def corrector=(_); end # Returns the value of attribute offenses # # @return [Object] the current value of offenses + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def offenses; end # Sets the attribute offenses # # @param value [Object] the value to set the attribute offenses to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def offenses=(_); end # Returns the value of attribute processed_source # # @return [Object] the current value of processed_source + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def processed_source; end # Sets the attribute processed_source # # @param value [Object] the value to set the attribute processed_source to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def processed_source=(_); end class << self + # source://rubocop//lib/rubocop/cop/base.rb#48 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def inspect; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def members; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def new(*_arg0); end end end # List of methods names to restrict calls for `on_send` / `on_csend` # -# source://rubocop/lib/rubocop/cop/base.rb#51 +# source://rubocop//lib/rubocop/cop/base.rb#51 RuboCop::Cop::Base::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#5 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#5 module RuboCop::Cop::Bundler; end # A Gem's requirements should be listed only once in a Gemfile. @@ -3461,36 +3546,36 @@ module RuboCop::Cop::Bundler; end # gem 'rubocop', '~> 0.90.0' # end # -# source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#39 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#39 class RuboCop::Cop::Bundler::DuplicatedGem < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#58 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#58 def gem_declarations(param0); end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#45 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#45 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#67 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#67 def conditional_declaration?(nodes); end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#60 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#60 def duplicated_gem_nodes; end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#81 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#81 def register_offense(node, gem_name, line_of_first_occurrence); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#75 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#75 def within_conditional?(node, conditional_node); end end -# source://rubocop/lib/rubocop/cop/bundler/duplicated_gem.rb#42 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#42 RuboCop::Cop::Bundler::DuplicatedGem::MSG = T.let(T.unsafe(nil), String) # A Gem group, or a set of groups, should be listed only once in a Gemfile. @@ -3545,35 +3630,35 @@ RuboCop::Cop::Bundler::DuplicatedGem::MSG = T.let(T.unsafe(nil), String) # gem 'rubocop', groups: [:development, :test] # gem 'rspec', groups: [:development, :test] # -# source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#58 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#58 class RuboCop::Cop::Bundler::DuplicatedGroup < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#66 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#66 def group_declarations(param0); end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#68 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#68 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#82 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#82 def duplicated_group_nodes; end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#105 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#105 def find_source_key(node); end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#115 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#115 def group_attributes(node); end - # source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#94 + # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#94 def register_offense(node, group_name, line_of_first_occurrence); end end -# source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#61 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#61 RuboCop::Cop::Bundler::DuplicatedGroup::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/duplicated_group.rb#63 +# source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#63 RuboCop::Cop::Bundler::DuplicatedGroup::SOURCE_BLOCK_NAMES = T.let(T.unsafe(nil), Array) # Each gem in the Gemfile should have a comment explaining @@ -3650,43 +3735,43 @@ RuboCop::Cop::Bundler::DuplicatedGroup::SOURCE_BLOCK_NAMES = T.let(T.unsafe(nil) # # Version 2.1 introduces breaking change baz # gem 'bar', '< 2.1' # -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#83 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#83 class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base include ::RuboCop::Cop::VisibilityHelp include ::RuboCop::Cop::DefNode include ::RuboCop::Cop::GemDeclaration - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#94 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#94 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#135 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#135 def checked_options_present?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#109 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#109 def commented?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#105 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#105 def commented_any_descendant?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#159 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#159 def contains_checked_options?(node); end - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#163 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#163 def gem_options(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#130 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#130 def ignored_gem?(node); end # The args node1 & node2 may represent a RuboCop::AST::Node @@ -3694,15 +3779,15 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#116 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#116 def precede?(node1, node2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#126 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#126 def preceding_comment?(node1, node2); end - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#120 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#120 def preceding_lines(node); end # Version specifications that restrict all updates going forward. This excludes versions @@ -3710,7 +3795,7 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#152 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#152 def restrictive_version_specified_gem?(node); end # Besides the gem name, all other *positional* arguments to `gem` are version specifiers, @@ -3718,26 +3803,26 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#145 + # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#145 def version_specified_gem?(node); end end -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#88 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#88 RuboCop::Cop::Bundler::GemComment::CHECKED_OPTIONS_CONFIG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#87 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#87 RuboCop::Cop::Bundler::GemComment::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#91 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#91 RuboCop::Cop::Bundler::GemComment::RESTRICTIVE_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#90 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#90 RuboCop::Cop::Bundler::GemComment::RESTRICTIVE_VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#92 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#92 RuboCop::Cop::Bundler::GemComment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/bundler/gem_comment.rb#89 +# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#89 RuboCop::Cop::Bundler::GemComment::VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(nil), String) # Verifies that a project contains Gemfile or gems.rb file and correct @@ -3762,66 +3847,66 @@ RuboCop::Cop::Bundler::GemComment::VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(ni # # good # Project contains gems.rb and gems.locked files # -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#28 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#28 class RuboCop::Cop::Bundler::GemFilename < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#42 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#42 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#87 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#87 def expected_gemfile?(basename); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#79 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#79 def gemfile_offense?(basename); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#92 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#92 def gemfile_required?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#83 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#83 def gems_rb_offense?(basename); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#96 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#96 def gems_rb_required?; end - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#57 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#57 def register_gemfile_offense(file_path, basename); end - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#68 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#68 def register_gems_rb_offense(file_path, basename); end - # source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#52 + # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#52 def register_offense(file_path, basename); end end -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#39 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#39 RuboCop::Cop::Bundler::GemFilename::GEMFILE_FILES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#40 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#40 RuboCop::Cop::Bundler::GemFilename::GEMS_RB_FILES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#35 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#35 RuboCop::Cop::Bundler::GemFilename::MSG_GEMFILE_MISMATCHED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#31 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#31 RuboCop::Cop::Bundler::GemFilename::MSG_GEMFILE_REQUIRED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#37 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#37 RuboCop::Cop::Bundler::GemFilename::MSG_GEMS_RB_MISMATCHED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_filename.rb#33 +# source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#33 RuboCop::Cop::Bundler::GemFilename::MSG_GEMS_RB_REQUIRED = T.let(T.unsafe(nil), String) # Enforce that Gem version specifications or a commit reference (branch, @@ -3870,74 +3955,74 @@ RuboCop::Cop::Bundler::GemFilename::MSG_GEMS_RB_REQUIRED = T.let(T.unsafe(nil), # # bad # gem 'rubocop', tag: 'v1.17.0' # -# source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#53 +# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#53 class RuboCop::Cop::Bundler::GemVersion < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::GemDeclaration - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#68 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#68 def includes_commit_reference?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#63 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#63 def includes_version_specification?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#72 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#72 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#86 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#86 def allowed_gem?(node); end - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#90 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#90 def allowed_gems; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#112 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#112 def forbidden_offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#118 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#118 def forbidden_style?; end - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#94 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#94 def message(_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#102 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#102 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#106 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#106 def required_offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#122 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#122 def required_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#126 + # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#126 def version_specification?(expression); end end -# source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#58 +# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#58 RuboCop::Cop::Bundler::GemVersion::FORBIDDEN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#57 +# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#57 RuboCop::Cop::Bundler::GemVersion::REQUIRED_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#59 +# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#59 RuboCop::Cop::Bundler::GemVersion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/bundler/gem_version.rb#60 +# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#60 RuboCop::Cop::Bundler::GemVersion::VERSION_SPECIFICATION_REGEX = T.let(T.unsafe(nil), Regexp) # Passing symbol arguments to `source` (e.g. `source :rubygems`) is @@ -3973,31 +4058,31 @@ RuboCop::Cop::Bundler::GemVersion::VERSION_SPECIFICATION_REGEX = T.let(T.unsafe( # # bad # source 'http://rubygems.org' # -# source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#41 +# source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#41 class RuboCop::Cop::Bundler::InsecureProtocolSource < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#53 + # source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#53 def insecure_protocol_source?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#58 + # source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#58 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#79 + # source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#79 def allow_http_protocol?; end end -# source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#44 +# source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#44 RuboCop::Cop::Bundler::InsecureProtocolSource::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#48 +# source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#48 RuboCop::Cop::Bundler::InsecureProtocolSource::MSG_HTTP_PROTOCOL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/bundler/insecure_protocol_source.rb#50 +# source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#50 RuboCop::Cop::Bundler::InsecureProtocolSource::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Gems should be alphabetically sorted within groups. @@ -4028,67 +4113,67 @@ RuboCop::Cop::Bundler::InsecureProtocolSource::RESTRICT_ON_SEND = T.let(T.unsafe # # For tests # gem 'rspec' # -# source://rubocop/lib/rubocop/cop/bundler/ordered_gems.rb#35 +# source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#35 class RuboCop::Cop::Bundler::OrderedGems < ::RuboCop::Cop::Base include ::RuboCop::Cop::OrderedGemNode extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/bundler/ordered_gems.rb#64 + # source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#64 def gem_declarations(param0); end - # source://rubocop/lib/rubocop/cop/bundler/ordered_gems.rb#43 + # source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#43 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/bundler/ordered_gems.rb#57 + # source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#57 def previous_declaration(node); end end -# source://rubocop/lib/rubocop/cop/bundler/ordered_gems.rb#39 +# source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#39 RuboCop::Cop::Bundler::OrderedGems::MSG = T.let(T.unsafe(nil), String) # Common functionality for checking assignment nodes. # -# source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#6 module RuboCop::Cop::CheckAssignment - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#17 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#13 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#11 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#12 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#10 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#14 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#15 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#16 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#19 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#27 def extract_rhs(node); end class << self - # source://rubocop/lib/rubocop/cop/mixin/check_assignment.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#27 def extract_rhs(node); end end end @@ -4133,9 +4218,9 @@ end # # (Note: Passes may not happen exactly in this sequence.) # -# source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#44 +# source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#44 module RuboCop::Cop::CheckLineBreakable - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#45 def extract_breakable_node(node, max); end private @@ -4143,69 +4228,69 @@ module RuboCop::Cop::CheckLineBreakable # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#202 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#202 def all_on_same_line?(nodes); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#222 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#222 def already_on_multiple_lines?(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#135 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#135 def breakable_collection?(node, elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#228 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#228 def chained_to_heredoc?(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#189 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#189 def children_could_be_broken_up?(children); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#152 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#152 def contained_by_breakable_collection_on_same_line?(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#172 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#172 def contained_by_multiline_collection_that_could_be_broken_up?(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#62 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#62 def extract_breakable_node_from_elements(node, elements, max); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#74 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#74 def extract_first_element_over_column_limit(node, elements, max); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#94 def first_argument_is_heredoc?(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#209 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#209 def process_args(args); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#119 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#119 def safe_to_ignore?(node); end # If a `send` or `csend` node contains a heredoc argument, splitting cannot happen @@ -4213,577 +4298,577 @@ module RuboCop::Cop::CheckLineBreakable # # @api private # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#103 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#103 def shift_elements_for_heredoc_arg(node, elements, index); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_line_breakable.rb#114 + # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#114 def within_column_limit?(element, max, line); end end # Checks for code on multiple lines that could be rewritten on a single line # without changing semantics or exceeding the `Max` parameter of `Layout/LineLength`. # -# source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#7 module RuboCop::Cop::CheckSingleLineSuitability # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#8 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#8 def suitable_as_single_line?(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#34 def comment_within?(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#30 def max_line_length; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#42 def safe_to_split?(node); end - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#21 def to_single_line(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/check_single_line_suitability.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/check_single_line_suitability.rb#16 def too_long?(node); end end # Common functionality for checking length of code segments. # -# source://rubocop/lib/rubocop/cop/mixin/code_length.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/code_length.rb#6 module RuboCop::Cop::CodeLength extend ::RuboCop::ExcludeLimit - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#11 def max=(value); end private - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#49 def build_code_length_calculator(node); end - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#31 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#31 def check_code_length(node); end - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#27 def count_as_one; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#23 def count_comments?; end # Returns true for lines that shall not be included in the count. # - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#45 def irrelevant_line(source_line); end - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#58 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#58 def location(node); end - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#19 def max_length; end - # source://rubocop/lib/rubocop/cop/mixin/code_length.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#15 def message(length, max_length); end end -# source://rubocop/lib/rubocop/cop/mixin/code_length.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/code_length.rb#9 RuboCop::Cop::CodeLength::MSG = T.let(T.unsafe(nil), String) # Help methods for working with nodes containing comments. # -# source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#6 module RuboCop::Cop::CommentsHelp # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#27 def comments_contain_disables?(node, cop_name); end - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#18 def comments_in_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#14 def contains_comments?(node); end - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#7 def source_range_with_comment(node); end private - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#46 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#46 def begin_pos_with_comment(node); end - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#60 def buffer; end - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#41 def end_position_for(node); end # Returns the end line of a node, which might be a comment and not part of the AST # End line is considered either the line at which another node starts, or # the line at which the parent node ends. # - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#68 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#68 def find_end_line(node); end - # source://rubocop/lib/rubocop/cop/mixin/comments_help.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#56 def start_line_position(node); end end # Commissioner class is responsible for processing the AST and delegating # work to the specified cops. # -# source://rubocop/lib/rubocop/cop/commissioner.rb#7 +# source://rubocop//lib/rubocop/cop/commissioner.rb#7 class RuboCop::Cop::Commissioner include ::RuboCop::AST::Traversal # @return [Commissioner] a new instance of Commissioner # - # source://rubocop/lib/rubocop/cop/commissioner.rb#44 + # source://rubocop//lib/rubocop/cop/commissioner.rb#44 def initialize(cops, forces = T.unsafe(nil), options = T.unsafe(nil)); end # Returns the value of attribute errors. # - # source://rubocop/lib/rubocop/cop/commissioner.rb#42 + # source://rubocop//lib/rubocop/cop/commissioner.rb#42 def errors; end # @return [InvestigationReport] # - # source://rubocop/lib/rubocop/cop/commissioner.rb#79 + # source://rubocop//lib/rubocop/cop/commissioner.rb#79 def investigate(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___ENCODING__(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___FILE__(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___LINE__(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_alias(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_and(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_arg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_arg_expr(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_args(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array_pattern_with_tail(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_back_ref(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_block(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_block_pass(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_blockarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_break(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_case(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cbase(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_class(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_complex(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_const(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_const_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cvar(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_def(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_defined?(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_dsym(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_eflipflop(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_empty_else(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ensure(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_erange(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_false(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_find_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_float(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_for(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forward_arg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forward_args(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_args(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_kwrestarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_restarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_gvar(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_hash_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_if(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_if_guard(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_iflipflop(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_in_match(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_in_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_index(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_indexasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_int(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_irange(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ivar(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwargs(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwnilarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwoptarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwrestarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwsplat(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lambda(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lvar(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_alt(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_as(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_current_line(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_nil_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_pattern(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_pattern_p(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_rest(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_var(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_with_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_with_trailing_comma(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_mlhs(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_module(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_next(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_nil(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_not(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_nth_ref(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_optarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_or(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_pair(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_pin(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_postexe(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_preexe(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_procarg0(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_rational(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_redo(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_regexp(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_regopt(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_rescue(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_restarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_retry(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_return(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_self(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_send(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_shadowarg(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_splat(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_str(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_super(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_sym(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_true(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_undef(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_unless_guard(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_until(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_when(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_while(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_while_post(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_xstr(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_yield(node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_zsuper(node); end private - # source://rubocop/lib/rubocop/cop/commissioner.rb#98 + # source://rubocop//lib/rubocop/cop/commissioner.rb#98 def begin_investigation(processed_source, offset:, original:); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#121 + # source://rubocop//lib/rubocop/cop/commissioner.rb#121 def build_callbacks(cops); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#116 + # source://rubocop//lib/rubocop/cop/commissioner.rb#116 def initialize_callbacks; end - # source://rubocop/lib/rubocop/cop/commissioner.rb#159 + # source://rubocop//lib/rubocop/cop/commissioner.rb#159 def invoke(callback, cops); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#163 + # source://rubocop//lib/rubocop/cop/commissioner.rb#163 def invoke_with_argument(callback, cops, arg); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#112 + # source://rubocop//lib/rubocop/cop/commissioner.rb#112 def reset; end - # source://rubocop/lib/rubocop/cop/commissioner.rb#131 + # source://rubocop//lib/rubocop/cop/commissioner.rb#131 def restrict_callbacks(callbacks); end # NOTE: mutates `callbacks` in place # - # source://rubocop/lib/rubocop/cop/commissioner.rb#149 + # source://rubocop//lib/rubocop/cop/commissioner.rb#149 def restricted_map(callbacks); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#104 + # source://rubocop//lib/rubocop/cop/commissioner.rb#104 def trigger_responding_cops(callback, node); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#139 + # source://rubocop//lib/rubocop/cop/commissioner.rb#139 def trigger_restricted_cops(event, node); end # Allow blind rescues here, since we're absorbing and packaging or # re-raising exceptions that can be raised from within the individual # cops' `#investigate` methods. # - # source://rubocop/lib/rubocop/cop/commissioner.rb#170 + # source://rubocop//lib/rubocop/cop/commissioner.rb#170 def with_cop_error_handling(cop, node = T.unsafe(nil)); end end @@ -4793,153 +4878,174 @@ end # Immutable # Consider creation API private # -# source://rubocop/lib/rubocop/cop/commissioner.rb#18 +# source://rubocop//lib/rubocop/cop/commissioner.rb#18 class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # Returns the value of attribute cop_reports # # @return [Object] the current value of cop_reports + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def cop_reports; end # Sets the attribute cop_reports # # @param value [Object] the value to set the attribute cop_reports to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def cop_reports=(_); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#19 + # source://rubocop//lib/rubocop/cop/commissioner.rb#19 def cops; end - # source://rubocop/lib/rubocop/cop/commissioner.rb#27 + # source://rubocop//lib/rubocop/cop/commissioner.rb#27 def correctors; end # Returns the value of attribute errors # # @return [Object] the current value of errors + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def errors; end # Sets the attribute errors # # @param value [Object] the value to set the attribute errors to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def errors=(_); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#35 + # source://rubocop//lib/rubocop/cop/commissioner.rb#35 def merge(investigation); end - # source://rubocop/lib/rubocop/cop/commissioner.rb#31 + # source://rubocop//lib/rubocop/cop/commissioner.rb#31 def offenses; end - # source://rubocop/lib/rubocop/cop/commissioner.rb#23 + # source://rubocop//lib/rubocop/cop/commissioner.rb#23 def offenses_per_cop; end # Returns the value of attribute processed_source # # @return [Object] the current value of processed_source + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def processed_source; end # Sets the attribute processed_source # # @param value [Object] the value to set the attribute processed_source to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def processed_source=(_); end class << self + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def inspect; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def members; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/cop/commissioner.rb#10 +# source://rubocop//lib/rubocop/cop/commissioner.rb#10 RuboCop::Cop::Commissioner::RESTRICTED_CALLBACKS = T.let(T.unsafe(nil), Array) # This class does condition autocorrection # -# source://rubocop/lib/rubocop/cop/correctors/condition_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/condition_corrector.rb#6 class RuboCop::Cop::ConditionCorrector class << self - # source://rubocop/lib/rubocop/cop/correctors/condition_corrector.rb#8 + # source://rubocop//lib/rubocop/cop/correctors/condition_corrector.rb#8 def correct_negative_condition(corrector, node); end private - # source://rubocop/lib/rubocop/cop/correctors/condition_corrector.rb#17 + # source://rubocop//lib/rubocop/cop/correctors/condition_corrector.rb#17 def negated_condition(node); end end end # Handles `EnforcedStyle` configuration parameters. # -# source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#6 module RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#88 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#88 def alternative_style; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#96 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#96 def alternative_styles; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#19 def ambiguous_style_detected(*possibilities); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#72 def conflicting_styles_detected; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#11 def correct_style_detected; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#64 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#64 def detected_style; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#68 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#68 def detected_style=(style); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 def no_acceptable_style!; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#56 def no_acceptable_style?; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#7 def opposite_style_detected; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#79 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#79 def style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#75 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#75 def style_configured?; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#29 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#29 def style_detected(detected); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#107 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#107 def style_parameter_name; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#100 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#100 def supported_styles; end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#15 def unexpected_style_detected(unexpected); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#73 def unrecognized_style_detected; end end -# source://rubocop/lib/rubocop/cop/mixin/configurable_enforced_style.rb#23 +# source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#23 RuboCop::Cop::ConfigurableEnforcedStyle::SYMBOL_TO_STRING_CACHE = T.let(T.unsafe(nil), Hash) # Shared functionality between mixins that enforce naming conventions # -# source://rubocop/lib/rubocop/cop/mixin/configurable_formatting.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#6 module RuboCop::Cop::ConfigurableFormatting include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/mixin/configurable_formatting.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#9 def check_name(node, name, name_range); end # A class emitter method is a singleton method in a class/module, where @@ -4947,15 +5053,15 @@ module RuboCop::Cop::ConfigurableFormatting # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/configurable_formatting.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#30 def class_emitter_method?(node, name); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_formatting.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#17 def report_opposing_styles(node, name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/configurable_formatting.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#24 def valid_name?(node, name, given_style = T.unsafe(nil)); end end @@ -4964,190 +5070,211 @@ end # # @deprecated Use `exclude_limit ` instead. # -# source://rubocop/lib/rubocop/cop/mixin/configurable_max.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#8 module RuboCop::Cop::ConfigurableMax private - # source://rubocop/lib/rubocop/cop/mixin/configurable_max.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#11 def max=(value); end - # source://rubocop/lib/rubocop/cop/mixin/configurable_max.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#23 def max_parameter_name; end end # This module provides functionality for checking if names match the # configured EnforcedStyle. # -# source://rubocop/lib/rubocop/cop/mixin/configurable_naming.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/configurable_naming.rb#7 module RuboCop::Cop::ConfigurableNaming include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::ConfigurableFormatting end -# source://rubocop/lib/rubocop/cop/mixin/configurable_naming.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/configurable_naming.rb#10 RuboCop::Cop::ConfigurableNaming::FORMATS = T.let(T.unsafe(nil), Hash) # This module provides functionality for checking if numbering match the # configured EnforcedStyle. # -# source://rubocop/lib/rubocop/cop/mixin/configurable_numbering.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/configurable_numbering.rb#7 module RuboCop::Cop::ConfigurableNumbering include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::ConfigurableFormatting end -# source://rubocop/lib/rubocop/cop/mixin/configurable_numbering.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/configurable_numbering.rb#11 RuboCop::Cop::ConfigurableNumbering::FORMATS = T.let(T.unsafe(nil), Hash) # Monkey-patch Cop for tests to provide easy access to messages and # highlights. # -# source://rubocop/lib/rubocop/cop/cop.rb#11 +# source://rubocop//lib/rubocop/cop/cop.rb#11 class RuboCop::Cop::Cop < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/cop.rb#73 + # source://rubocop//lib/rubocop/cop/cop.rb#73 def add_offense(node_or_range, location: T.unsafe(nil), message: T.unsafe(nil), severity: T.unsafe(nil), &block); end # Called before any investigation # # @api private # - # source://rubocop/lib/rubocop/cop/cop.rb#129 + # source://rubocop//lib/rubocop/cop/cop.rb#129 def begin_investigation(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end # @deprecated # - # source://rubocop/lib/rubocop/cop/cop.rb#105 + # source://rubocop//lib/rubocop/cop/cop.rb#105 def corrections; end - # source://rubocop/lib/rubocop/cop/cop.rb#90 + # source://rubocop//lib/rubocop/cop/cop.rb#90 def find_location(node, loc); end # Returns the value of attribute offenses. # - # source://rubocop/lib/rubocop/cop/cop.rb#12 + # source://rubocop//lib/rubocop/cop/cop.rb#12 def offenses; end # Called after all on_... have been called # - # source://rubocop/lib/rubocop/cop/cop.rb#122 + # source://rubocop//lib/rubocop/cop/cop.rb#122 def on_investigation_end; end # Called before all on_... have been called # - # source://rubocop/lib/rubocop/cop/cop.rb#116 + # source://rubocop//lib/rubocop/cop/cop.rb#116 def on_new_investigation; end # @deprecated Use class method # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/cop.rb#96 + # source://rubocop//lib/rubocop/cop/cop.rb#96 def support_autocorrect?; end private - # source://rubocop/lib/rubocop/cop/cop.rb#147 + # source://rubocop//lib/rubocop/cop/cop.rb#147 def apply_correction(corrector); end # Override Base # - # source://rubocop/lib/rubocop/cop/cop.rb#143 + # source://rubocop//lib/rubocop/cop/cop.rb#143 def callback_argument(_range); end - # source://rubocop/lib/rubocop/cop/cop.rb#164 + # source://rubocop//lib/rubocop/cop/cop.rb#164 def correction_lambda; end - # source://rubocop/lib/rubocop/cop/cop.rb#170 + # source://rubocop//lib/rubocop/cop/cop.rb#170 def dedupe_on_node(node); end # Just for legacy # # @yield [corrector] # - # source://rubocop/lib/rubocop/cop/cop.rb#152 + # source://rubocop//lib/rubocop/cop/cop.rb#152 def emulate_v0_callsequence(corrector); end - # source://rubocop/lib/rubocop/cop/cop.rb#183 + # source://rubocop//lib/rubocop/cop/cop.rb#183 def range_for_original(range); end - # source://rubocop/lib/rubocop/cop/cop.rb#177 + # source://rubocop//lib/rubocop/cop/cop.rb#177 def suppress_clobbering; end class << self # @deprecated Use Registry.all # - # source://rubocop/lib/rubocop/cop/cop.rb#56 + # source://rubocop//lib/rubocop/cop/cop.rb#56 def all; end # @private # - # source://rubocop/lib/rubocop/cop/cop.rb#25 + # source://rubocop//lib/rubocop/cop/cop.rb#25 def inherited(_subclass); end - # source://rubocop/lib/rubocop/cop/cop.rb#37 + # source://rubocop//lib/rubocop/cop/cop.rb#37 def joining_forces; end # @deprecated Use Registry.qualified_cop_name # - # source://rubocop/lib/rubocop/cop/cop.rb#65 + # source://rubocop//lib/rubocop/cop/cop.rb#65 def qualified_cop_name(name, origin); end # @deprecated Use Registry.global # - # source://rubocop/lib/rubocop/cop/cop.rb#47 + # source://rubocop//lib/rubocop/cop/cop.rb#47 def registry; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/cop.rb#33 + # source://rubocop//lib/rubocop/cop/cop.rb#33 def support_autocorrect?; end end end # @deprecated # -# source://rubocop/lib/rubocop/cop/cop.rb#17 +# source://rubocop//lib/rubocop/cop/cop.rb#17 class RuboCop::Cop::Cop::Correction < ::Struct - # source://rubocop/lib/rubocop/cop/cop.rb#18 + # source://rubocop//lib/rubocop/cop/cop.rb#18 def call(corrector); end # Returns the value of attribute cop # # @return [Object] the current value of cop + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def cop; end # Sets the attribute cop # # @param value [Object] the value to set the attribute cop to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def cop=(_); end # Returns the value of attribute lambda # # @return [Object] the current value of lambda + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def lambda; end # Sets the attribute lambda # # @param value [Object] the value to set the attribute lambda to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def lambda=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def node=(_); end class << self + # source://rubocop//lib/rubocop/cop/cop.rb#17 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def inspect; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def members; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def new(*_arg0); end end end @@ -5159,7 +5286,7 @@ end # The nodes modified by the corrections should be part of the # AST of the source_buffer. # -# source://rubocop/lib/rubocop/cop/corrector.rb#11 +# source://rubocop//lib/rubocop/cop/corrector.rb#11 class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # corrector = Corrector.new(cop) # @@ -5167,7 +5294,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # leading to one via `(processed_source.)buffer`] # @return [Corrector] a new instance of Corrector # - # source://rubocop/lib/rubocop/cop/corrector.rb#32 + # source://rubocop//lib/rubocop/cop/corrector.rb#32 def initialize(source); end # Removes `size` characters from the beginning of the given range. @@ -5177,7 +5304,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # @param range [Parser::Source::Range, RuboCop::AST::Node] or node # @param size [Integer] # - # source://rubocop/lib/rubocop/cop/corrector.rb#63 + # source://rubocop//lib/rubocop/cop/corrector.rb#63 def remove_leading(node_or_range, size); end # Removes `size` characters prior to the source range. @@ -5185,7 +5312,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # @param range [Parser::Source::Range, RuboCop::AST::Node] or node # @param size [Integer] # - # source://rubocop/lib/rubocop/cop/corrector.rb#51 + # source://rubocop//lib/rubocop/cop/corrector.rb#51 def remove_preceding(node_or_range, size); end # Removes `size` characters from the end of the given range. @@ -5195,12 +5322,12 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # @param range [Parser::Source::Range, RuboCop::AST::Node] or node # @param size [Integer] # - # source://rubocop/lib/rubocop/cop/corrector.rb#75 + # source://rubocop//lib/rubocop/cop/corrector.rb#75 def remove_trailing(node_or_range, size); end # Legacy # - # source://parser/3.3.7.0lib/parser/source/tree_rewriter.rb#252 + # source://rubocop//lib/rubocop/cop/corrector.rb#45 def rewrite; end # Swaps sources at the given ranges. @@ -5208,176 +5335,176 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # @param node_or_range1 [Parser::Source::Range, RuboCop::AST::Node] # @param node_or_range2 [Parser::Source::Range, RuboCop::AST::Node] # - # source://rubocop/lib/rubocop/cop/corrector.rb#85 + # source://rubocop//lib/rubocop/cop/corrector.rb#85 def swap(node_or_range1, node_or_range2); end private - # source://rubocop/lib/rubocop/cop/corrector.rb#119 + # source://rubocop//lib/rubocop/cop/corrector.rb#119 def check_range_validity(node_or_range); end - # source://rubocop/lib/rubocop/cop/corrector.rb#104 + # source://rubocop//lib/rubocop/cop/corrector.rb#104 def to_range(node_or_range); end - # source://rubocop/lib/rubocop/cop/corrector.rb#123 + # source://rubocop//lib/rubocop/cop/corrector.rb#123 def validate_buffer(buffer); end class << self # Duck typing for get to a ::Parser::Source::Buffer # - # source://rubocop/lib/rubocop/cop/corrector.rb#15 + # source://rubocop//lib/rubocop/cop/corrector.rb#15 def source_buffer(source); end end end # noop # -# source://rubocop/lib/rubocop/cop/corrector.rb#12 +# source://rubocop//lib/rubocop/cop/corrector.rb#12 RuboCop::Cop::Corrector::NOOP_CONSUMER = T.let(T.unsafe(nil), Proc) # Common functionality for checking def nodes. # -# source://rubocop/lib/rubocop/cop/mixin/def_node.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/def_node.rb#6 module RuboCop::Cop::DefNode include ::RuboCop::Cop::VisibilityHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/def_node.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/def_node.rb#21 def non_public_modifier?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/def_node.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/def_node.rb#12 def non_public?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/def_node.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/def_node.rb#16 def preceding_non_public_modifier?(node); end end # Help methods for working with `Enumerable#dig` in cops. # Used by `Style::DigChain` and `Style::SingleArgumentDig` # -# source://rubocop/lib/rubocop/cop/mixin/dig_help.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/dig_help.rb#7 module RuboCop::Cop::DigHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/dig_help.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/dig_help.rb#11 def dig?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/dig_help.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/dig_help.rb#16 def single_argument_dig?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/dig_help.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/dig_help.rb#22 def dig_chain_enabled?; end end # Helpers for builtin documentation # -# source://rubocop/lib/rubocop/cop/documentation.rb#6 +# source://rubocop//lib/rubocop/cop/documentation.rb#6 module RuboCop::Cop::Documentation private # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#25 + # source://rubocop//lib/rubocop/cop/documentation.rb#25 def base_url_for(cop_class, config); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#57 + # source://rubocop//lib/rubocop/cop/documentation.rb#57 def builtin?(cop_class); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#47 + # source://rubocop//lib/rubocop/cop/documentation.rb#47 def default_base_url; end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#52 + # source://rubocop//lib/rubocop/cop/documentation.rb#52 def default_extension; end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#10 + # source://rubocop//lib/rubocop/cop/documentation.rb#10 def department_to_basename(department); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#36 + # source://rubocop//lib/rubocop/cop/documentation.rb#36 def extension_for(cop_class, config); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#15 + # source://rubocop//lib/rubocop/cop/documentation.rb#15 def url_for(cop_class, config = T.unsafe(nil)); end class << self # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#25 + # source://rubocop//lib/rubocop/cop/documentation.rb#25 def base_url_for(cop_class, config); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/documentation.rb#57 + # source://rubocop//lib/rubocop/cop/documentation.rb#57 def builtin?(cop_class); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#47 + # source://rubocop//lib/rubocop/cop/documentation.rb#47 def default_base_url; end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#52 + # source://rubocop//lib/rubocop/cop/documentation.rb#52 def default_extension; end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#10 + # source://rubocop//lib/rubocop/cop/documentation.rb#10 def department_to_basename(department); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#36 + # source://rubocop//lib/rubocop/cop/documentation.rb#36 def extension_for(cop_class, config); end # @api private # - # source://rubocop/lib/rubocop/cop/documentation.rb#15 + # source://rubocop//lib/rubocop/cop/documentation.rb#15 def url_for(cop_class, config = T.unsafe(nil)); end end end # Common functionality for checking documentation. # -# source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#6 module RuboCop::Cop::DocumentationComment extend ::RuboCop::AST::NodePattern::Macros private - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#47 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#47 def annotation_keywords; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#11 def documentation_comment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#39 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#39 def interpreter_directive_comment?(comment); end # The args node1 & node2 may represent a RuboCop::AST::Node @@ -5385,7 +5512,7 @@ module RuboCop::Cop::DocumentationComment # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#31 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#31 def precede?(node1, node2); end # The args node1 & node2 may represent a RuboCop::AST::Node @@ -5393,21 +5520,21 @@ module RuboCop::Cop::DocumentationComment # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#25 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#25 def preceding_comment?(node1, node2); end - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#35 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#35 def preceding_lines(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/documentation_comment.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#43 def rubocop_directive_comment?(comment); end end # Common functionality for dealing with duplication. # -# source://rubocop/lib/rubocop/cop/mixin/duplication.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/duplication.rb#6 module RuboCop::Cop::Duplication private @@ -5417,7 +5544,7 @@ module RuboCop::Cop::Duplication # @param collection [Array] an array to return consecutive duplicates for # @return [Array] the consecutive duplicates # - # source://rubocop/lib/rubocop/cop/mixin/duplication.rb#31 + # source://rubocop//lib/rubocop/cop/mixin/duplication.rb#31 def consecutive_duplicates(collection); end # Returns all duplicates, including the first instance of the duplicated @@ -5426,7 +5553,7 @@ module RuboCop::Cop::Duplication # @param collection [Array] an array to return duplicates for # @return [Array] all the duplicates # - # source://rubocop/lib/rubocop/cop/mixin/duplication.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/duplication.rb#22 def duplicates(collection); end # Whether the `collection` contains any duplicates. @@ -5434,7 +5561,7 @@ module RuboCop::Cop::Duplication # @param collection [Array] an array to check for duplicates # @return [Boolean] whether the array contains any duplicates # - # source://rubocop/lib/rubocop/cop/mixin/duplication.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/duplication.rb#13 def duplicates?(collection); end # Returns a hash of grouped duplicates. The key will be the first @@ -5444,85 +5571,85 @@ module RuboCop::Cop::Duplication # @param collection [Array] an array to group duplicates for # @return [Array] the grouped duplicates # - # source://rubocop/lib/rubocop/cop/mixin/duplication.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/duplication.rb#41 def grouped_duplicates(collection); end end # This class autocorrects `#each` enumeration to `for` iteration. # -# source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#6 class RuboCop::Cop::EachToForCorrector extend ::RuboCop::AST::NodePattern::Macros # @return [EachToForCorrector] a new instance of EachToForCorrector # - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#12 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#12 def initialize(block_node); end - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#18 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#18 def call(corrector); end private # Returns the value of attribute argument_node. # - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 def argument_node; end # Returns the value of attribute block_node. # - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 def block_node; end # Returns the value of attribute collection_node. # - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#24 def collection_node; end - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#26 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#26 def correction; end - # source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#36 + # source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#36 def offending_range; end end -# source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#10 +# source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#10 RuboCop::Cop::EachToForCorrector::CORRECTION_WITHOUT_ARGUMENTS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/correctors/each_to_for_corrector.rb#9 +# source://rubocop//lib/rubocop/cop/correctors/each_to_for_corrector.rb#9 RuboCop::Cop::EachToForCorrector::CORRECTION_WITH_ARGUMENTS = T.let(T.unsafe(nil), String) # This class does empty line autocorrection # -# source://rubocop/lib/rubocop/cop/correctors/empty_line_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/empty_line_corrector.rb#6 class RuboCop::Cop::EmptyLineCorrector class << self - # source://rubocop/lib/rubocop/cop/correctors/empty_line_corrector.rb#8 + # source://rubocop//lib/rubocop/cop/correctors/empty_line_corrector.rb#8 def correct(corrector, node); end - # source://rubocop/lib/rubocop/cop/correctors/empty_line_corrector.rb#19 + # source://rubocop//lib/rubocop/cop/correctors/empty_line_corrector.rb#19 def insert_before(corrector, node); end end end # Common code for empty parameter cops. # -# source://rubocop/lib/rubocop/cop/mixin/empty_parameter.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/empty_parameter.rb#6 module RuboCop::Cop::EmptyParameter extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/empty_parameter.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/empty_parameter.rb#12 def empty_arguments?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/mixin/empty_parameter.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/empty_parameter.rb#16 def check(node); end end # Functions for checking the alignment of the `end` keyword. # -# source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#6 module RuboCop::Cop::EndKeywordAlignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -5531,51 +5658,51 @@ module RuboCop::Cop::EndKeywordAlignment # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#60 def accept_end_kw_alignment?(end_loc); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#50 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#50 def add_offense_for_misalignment(node, align_with); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#19 def check_end_kw_alignment(node, align_ranges); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#15 def check_end_kw_in_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#75 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#75 def line_break_before_keyword?(whole_expression, rhs); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#35 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#35 def matching_ranges(end_loc, align_ranges); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#41 def start_line_range(node); end - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#65 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#65 def style_parameter_name; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#69 + # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#69 def variable_alignment?(whole_expression, rhs, end_alignment_style); end end -# source://rubocop/lib/rubocop/cop/mixin/end_keyword_alignment.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#10 RuboCop::Cop::EndKeywordAlignment::MSG = T.let(T.unsafe(nil), String) # Common functionality for rewriting endless methods to normal method definitions # -# source://rubocop/lib/rubocop/cop/mixin/endless_method_rewriter.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/endless_method_rewriter.rb#6 module RuboCop::Cop::EndlessMethodRewriter - # source://rubocop/lib/rubocop/cop/mixin/endless_method_rewriter.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/endless_method_rewriter.rb#7 def correct_to_multiline(corrector, node); end private - # source://rubocop/lib/rubocop/cop/mixin/endless_method_rewriter.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/endless_method_rewriter.rb#19 def arguments(node, missing = T.unsafe(nil)); end end @@ -5590,23 +5717,23 @@ end # @api private # @deprecated This module is deprecated and will be removed by RuboCop 2.0. # -# source://rubocop/lib/rubocop/cop/mixin/enforce_superclass.rb#15 +# source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#15 module RuboCop::Cop::EnforceSuperclass # @api private # - # source://rubocop/lib/rubocop/cop/mixin/enforce_superclass.rb#35 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#35 def on_class(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/enforce_superclass.rb#39 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#39 def on_send(node); end class << self # @api private # @private # - # source://rubocop/lib/rubocop/cop/mixin/enforce_superclass.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#16 def included(base); end end end @@ -5614,200 +5741,200 @@ end # Common functionality for checking for a line break before the first # element in a multi-line collection. # -# source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#7 module RuboCop::Cop::FirstElementLineBreak private - # source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#23 def check_children_line_break(node, children, start = T.unsafe(nil), ignore_last: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#10 def check_method_line_break(node, children, ignore_last: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#37 def first_by_line(nodes); end - # source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#41 def last_line(nodes, ignore_last:); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/first_element_line_break.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/first_element_line_break.rb#18 def method_uses_parens?(node, limit); end end # This class autocorrects `for` iteration to `#each` enumeration. # -# source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#6 class RuboCop::Cop::ForToEachCorrector extend ::RuboCop::AST::NodePattern::Macros # @return [ForToEachCorrector] a new instance of ForToEachCorrector # - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#11 def initialize(for_node); end - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#17 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#17 def call(corrector); end private - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#57 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#57 def collection_end; end # Returns the value of attribute collection_node. # - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 def collection_node; end - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#31 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#31 def collection_source; end - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#27 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#27 def correction; end - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#45 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#45 def end_range; end # Returns the value of attribute for_node. # - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 def for_node; end - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#53 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#53 def keyword_begin; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#39 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#39 def requires_parentheses?; end # Returns the value of attribute variable_node. # - # source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 def variable_node; end end -# source://rubocop/lib/rubocop/cop/correctors/for_to_each_corrector.rb#9 +# source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#9 RuboCop::Cop::ForToEachCorrector::CORRECTION = T.let(T.unsafe(nil), String) # A scaffold for concrete forces. # -# source://rubocop/lib/rubocop/cop/force.rb#6 +# source://rubocop//lib/rubocop/cop/force.rb#6 class RuboCop::Cop::Force # @return [Force] a new instance of Force # - # source://rubocop/lib/rubocop/cop/force.rb#32 + # source://rubocop//lib/rubocop/cop/force.rb#32 def initialize(cops); end # Returns the value of attribute cops. # - # source://rubocop/lib/rubocop/cop/force.rb#17 + # source://rubocop//lib/rubocop/cop/force.rb#17 def cops; end - # source://rubocop/lib/rubocop/cop/force.rb#50 + # source://rubocop//lib/rubocop/cop/force.rb#50 def investigate(_processed_source); end - # source://rubocop/lib/rubocop/cop/force.rb#36 + # source://rubocop//lib/rubocop/cop/force.rb#36 def name; end - # source://rubocop/lib/rubocop/cop/force.rb#40 + # source://rubocop//lib/rubocop/cop/force.rb#40 def run_hook(method_name, *args); end class << self - # source://rubocop/lib/rubocop/cop/force.rb#19 + # source://rubocop//lib/rubocop/cop/force.rb#19 def all; end - # source://rubocop/lib/rubocop/cop/force.rb#28 + # source://rubocop//lib/rubocop/cop/force.rb#28 def force_name; end # @private # - # source://rubocop/lib/rubocop/cop/force.rb#23 + # source://rubocop//lib/rubocop/cop/force.rb#23 def inherited(subclass); end end end # @api private # -# source://rubocop/lib/rubocop/cop/force.rb#8 +# source://rubocop//lib/rubocop/cop/force.rb#8 class RuboCop::Cop::Force::HookError < ::StandardError # @api private # @return [HookError] a new instance of HookError # - # source://rubocop/lib/rubocop/cop/force.rb#11 + # source://rubocop//lib/rubocop/cop/force.rb#11 def initialize(joining_cop); end # @api private # - # source://rubocop/lib/rubocop/cop/force.rb#9 + # source://rubocop//lib/rubocop/cop/force.rb#9 def joining_cop; end end # Common functionality for dealing with frozen string literals. # -# source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#6 module RuboCop::Cop::FrozenStringLiteral private - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#42 def frozen_heredoc?(node); end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#21 def frozen_string_literal?(node); end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#15 def frozen_string_literal_comment_exists?; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#78 def frozen_string_literal_specified?; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#72 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#72 def frozen_string_literals_disabled?; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#44 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#44 def frozen_string_literals_enabled?; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#88 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#88 def leading_comment_lines; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#84 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#84 def leading_magic_comments; end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#37 def uninterpolated_heredoc?(node); end - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#31 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#31 def uninterpolated_string?(node); end class << self # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#15 def frozen_string_literal_comment_exists?; end end end -# source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#9 RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#10 RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL_ENABLED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/frozen_string_literal.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#11 RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL_TYPES_RUBY27 = T.let(T.unsafe(nil), Array) # Common functionality for checking gem declarations. # -# source://rubocop/lib/rubocop/cop/mixin/gem_declaration.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/gem_declaration.rb#6 module RuboCop::Cop::GemDeclaration extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/gem_declaration.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/gem_declaration.rb#10 def gem_declaration?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/gemspec/add_runtime_dependency.rb#5 +# source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#5 module RuboCop::Cop::Gemspec; end # Prefer `add_dependency` over `add_runtime_dependency` as the latter is @@ -5825,18 +5952,18 @@ module RuboCop::Cop::Gemspec; end # spec.add_dependency('rubocop') # end # -# source://rubocop/lib/rubocop/cop/gemspec/add_runtime_dependency.rb#21 +# source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#21 class RuboCop::Cop::Gemspec::AddRuntimeDependency < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/gemspec/add_runtime_dependency.rb#28 + # source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#28 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/gemspec/add_runtime_dependency.rb#24 +# source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#24 RuboCop::Cop::Gemspec::AddRuntimeDependency::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/add_runtime_dependency.rb#26 +# source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#26 RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforce that gem dependency version specifications or a commit reference (branch, @@ -5885,90 +6012,90 @@ RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(n # spec.add_development_dependency 'parser' # end # -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#53 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#53 class RuboCop::Cop::Gemspec::DependencyVersion < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::GemspecHelp - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#67 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#67 def add_dependency_method_declaration?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#78 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#78 def includes_commit_reference?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#73 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#73 def includes_version_specification?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#82 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#82 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#118 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#118 def add_dependency_method?(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#96 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#96 def allowed_gem?(node); end - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#100 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#100 def allowed_gems; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#132 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#132 def forbidden_offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#138 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#138 def forbidden_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#112 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#112 def match_block_variable_name?(receiver_name); end - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#104 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#104 def message(_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#122 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#122 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#126 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#126 def required_offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#142 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#142 def required_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#146 + # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#146 def version_specification?(expression); end end -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#61 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#61 RuboCop::Cop::Gemspec::DependencyVersion::ADD_DEPENDENCY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#58 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#58 RuboCop::Cop::Gemspec::DependencyVersion::FORBIDDEN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#57 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#57 RuboCop::Cop::Gemspec::DependencyVersion::REQUIRED_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#64 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#64 RuboCop::Cop::Gemspec::DependencyVersion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/gemspec/dependency_version.rb#59 +# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#59 RuboCop::Cop::Gemspec::DependencyVersion::VERSION_SPECIFICATION_REGEX = T.let(T.unsafe(nil), Regexp) # Checks that deprecated attributes are not set in a gemspec file. @@ -5993,32 +6120,32 @@ RuboCop::Cop::Gemspec::DependencyVersion::VERSION_SPECIFICATION_REGEX = T.let(T. # spec.name = 'your_cool_gem_name' # end # -# source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#28 +# source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#28 class RuboCop::Cop::Gemspec::DeprecatedAttributeAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#35 + # source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#35 def gem_specification(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#43 + # source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#43 def on_block(block_node); end private - # source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#85 + # source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#85 def format_message_from; end - # source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#63 + # source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#63 def node_and_method_name(node, attribute); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#71 + # source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#71 def use_deprecated_attributes?(node, block_parameter); end end -# source://rubocop/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#32 +# source://rubocop//lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb#32 RuboCop::Cop::Gemspec::DeprecatedAttributeAssignment::MSG = T.let(T.unsafe(nil), String) # Enforce that development dependencies for a gem are specified in @@ -6083,34 +6210,34 @@ RuboCop::Cop::Gemspec::DeprecatedAttributeAssignment::MSG = T.let(T.unsafe(nil), # # Gemfile # gem "bar" # -# source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#70 +# source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#70 class RuboCop::Cop::Gemspec::DevelopmentDependencies < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#77 + # source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#77 def add_development_dependency?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#82 + # source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#82 def gem?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#86 + # source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#86 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#97 + # source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#97 def forbidden_gem?(gem_name); end - # source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#101 + # source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#101 def message(_range); end end -# source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#73 +# source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#73 RuboCop::Cop::Gemspec::DevelopmentDependencies::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/development_dependencies.rb#74 +# source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#74 RuboCop::Cop::Gemspec::DevelopmentDependencies::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # An attribute assignment method calls should be listed only once @@ -6145,32 +6272,32 @@ RuboCop::Cop::Gemspec::DevelopmentDependencies::RESTRICT_ON_SEND = T.let(T.unsaf # spec.add_dependency('parser', '>= 2.3.3.1', '< 3.0') # end # -# source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#37 +# source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#37 class RuboCop::Cop::Gemspec::DuplicatedAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::GemspecHelp - # source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#45 def assignment_method_declarations(param0); end - # source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#50 + # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#50 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#68 + # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#68 def duplicated_assignment_method_nodes; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#62 + # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#62 def match_block_variable_name?(receiver_name); end - # source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#76 + # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#76 def register_offense(node, assignment, line_of_first_occurrence); end end -# source://rubocop/lib/rubocop/cop/gemspec/duplicated_assignment.rb#41 +# source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#41 RuboCop::Cop::Gemspec::DuplicatedAssignment::MSG = T.let(T.unsafe(nil), String) # Dependencies in the gemspec should be alphabetically sorted. @@ -6227,27 +6354,27 @@ RuboCop::Cop::Gemspec::DuplicatedAssignment::MSG = T.let(T.unsafe(nil), String) # # For tests # spec.add_dependency 'rspec' # -# source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#61 +# source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#61 class RuboCop::Cop::Gemspec::OrderedDependencies < ::RuboCop::Cop::Base include ::RuboCop::Cop::OrderedGemNode extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#95 + # source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#95 def dependency_declarations(param0); end - # source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#69 + # source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#69 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#90 + # source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#90 def get_dependency_name(node); end - # source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#84 + # source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#84 def previous_declaration(node); end end -# source://rubocop/lib/rubocop/cop/gemspec/ordered_dependencies.rb#65 +# source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#65 RuboCop::Cop::Gemspec::OrderedDependencies::MSG = T.let(T.unsafe(nil), String) # Requires a gemspec to have `rubygems_mfa_required` metadata set. @@ -6307,42 +6434,42 @@ RuboCop::Cop::Gemspec::OrderedDependencies::MSG = T.let(T.unsafe(nil), String) # spec.metadata['rubygems_mfa_required'] = 'true' # end # -# source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#63 +# source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#63 class RuboCop::Cop::Gemspec::RequireMFA < ::RuboCop::Cop::Base include ::RuboCop::Cop::GemspecHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#70 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#70 def metadata(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#87 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#87 def on_block(node); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#78 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#78 def rubygems_mfa_required(param0); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#83 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#83 def true_string?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#115 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#115 def autocorrect(corrector, node, block_var, metadata); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#139 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#139 def change_value(corrector, value); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#125 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#125 def correct_metadata(corrector, metadata); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#133 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#133 def insert_mfa_required(corrector, node, block_var); end - # source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#108 + # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#108 def mfa_value(metadata_value); end end -# source://rubocop/lib/rubocop/cop/gemspec/require_mfa.rb#67 +# source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#67 RuboCop::Cop::Gemspec::RequireMFA::MSG = T.let(T.unsafe(nil), String) # Checks that `required_ruby_version` in a gemspec file is set to a valid @@ -6395,41 +6522,41 @@ RuboCop::Cop::Gemspec::RequireMFA::MSG = T.let(T.unsafe(nil), String) # spec.required_ruby_version = '~> 2.5' # end # -# source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#55 +# source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#55 class RuboCop::Cop::Gemspec::RequiredRubyVersion < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#68 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#68 def defined_ruby_version(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#76 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#76 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#82 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#82 def on_send(node); end - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#63 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#63 def required_ruby_version?(param0); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#94 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#94 def dynamic_version?(node); end - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#100 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#100 def extract_ruby_version(required_ruby_version); end - # source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#118 + # source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#118 def not_equal_message(required_ruby_version, target_ruby_version); end end -# source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#60 +# source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#60 RuboCop::Cop::Gemspec::RequiredRubyVersion::MISSING_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#57 +# source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#57 RuboCop::Cop::Gemspec::RequiredRubyVersion::NOT_EQUAL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/gemspec/required_ruby_version.rb#56 +# source://rubocop//lib/rubocop/cop/gemspec/required_ruby_version.rb#56 RuboCop::Cop::Gemspec::RequiredRubyVersion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that `RUBY_VERSION` constant is not used in gemspec. @@ -6454,37 +6581,37 @@ RuboCop::Cop::Gemspec::RequiredRubyVersion::RESTRICT_ON_SEND = T.let(T.unsafe(ni # spec.add_dependency 'gem_a' # end # -# source://rubocop/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#28 +# source://rubocop//lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#28 class RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage < ::RuboCop::Cop::Base include ::RuboCop::Cop::GemspecHelp - # source://rubocop/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#36 + # source://rubocop//lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#36 def on_const(node); end - # source://rubocop/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#34 + # source://rubocop//lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#34 def ruby_version?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#44 + # source://rubocop//lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#44 def gem_spec_with_ruby_version?(node); end end -# source://rubocop/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#31 +# source://rubocop//lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb#31 RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage::MSG = T.let(T.unsafe(nil), String) # Common functionality for checking gem declarations. # -# source://rubocop/lib/rubocop/cop/mixin/gemspec_help.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#6 module RuboCop::Cop::GemspecHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/gemspec_help.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#20 def gem_specification(param0); end - # source://rubocop/lib/rubocop/cop/mixin/gemspec_help.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#10 def gem_specification?(param0 = T.unsafe(nil)); end end @@ -6495,243 +6622,243 @@ end # # @api private # -# source://rubocop/lib/rubocop/cop/generator.rb#10 +# source://rubocop//lib/rubocop/cop/generator.rb#10 class RuboCop::Cop::Generator # @api private # @raise [ArgumentError] # @return [Generator] a new instance of Generator # - # source://rubocop/lib/rubocop/cop/generator.rb#119 + # source://rubocop//lib/rubocop/cop/generator.rb#119 def initialize(name, output: T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#139 + # source://rubocop//lib/rubocop/cop/generator.rb#139 def inject_config(config_file_path: T.unsafe(nil), version_added: T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#135 + # source://rubocop//lib/rubocop/cop/generator.rb#135 def inject_require(root_file_path: T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#152 + # source://rubocop//lib/rubocop/cop/generator.rb#152 def todo; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#127 + # source://rubocop//lib/rubocop/cop/generator.rb#127 def write_source; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#131 + # source://rubocop//lib/rubocop/cop/generator.rb#131 def write_spec; end private # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#166 + # source://rubocop//lib/rubocop/cop/generator.rb#166 def badge; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#189 + # source://rubocop//lib/rubocop/cop/generator.rb#189 def generate(template); end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#181 + # source://rubocop//lib/rubocop/cop/generator.rb#181 def generated_source; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#185 + # source://rubocop//lib/rubocop/cop/generator.rb#185 def generated_spec; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#166 + # source://rubocop//lib/rubocop/cop/generator.rb#166 def output; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#214 + # source://rubocop//lib/rubocop/cop/generator.rb#214 def snake_case(camel_case_string); end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#204 + # source://rubocop//lib/rubocop/cop/generator.rb#204 def source_path; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#194 + # source://rubocop//lib/rubocop/cop/generator.rb#194 def spec_path; end # @api private # - # source://rubocop/lib/rubocop/cop/generator.rb#168 + # source://rubocop//lib/rubocop/cop/generator.rb#168 def write_unless_file_exists(path, contents); end end # @api private # -# source://rubocop/lib/rubocop/cop/generator.rb#115 +# source://rubocop//lib/rubocop/cop/generator.rb#115 RuboCop::Cop::Generator::CONFIGURATION_ADDED_MESSAGE = T.let(T.unsafe(nil), String) # A class that injects a require directive into the root RuboCop file. # It looks for other directives that require files in the same (cop) # namespace and injects the provided one in alpha # -# source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#9 +# source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#9 class RuboCop::Cop::Generator::ConfigurationInjector # @return [ConfigurationInjector] a new instance of ConfigurationInjector # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#17 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#17 def initialize(configuration_file_path:, badge:, version_added: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#24 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#24 def inject; end private # Returns the value of attribute badge. # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#39 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#39 def badge; end - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#41 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#41 def configuration_entries; end # Returns the value of attribute configuration_file_path. # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#39 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#39 def configuration_file_path; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#59 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#59 def cop_name_line?(yaml); end - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#49 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#49 def find_target_line; end - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#45 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#45 def new_configuration_entry; end # Returns the value of attribute output. # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#39 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#39 def output; end # Returns the value of attribute version_added. # - # source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#39 + # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#39 def version_added; end end -# source://rubocop/lib/rubocop/cop/generator/configuration_injector.rb#10 +# source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#10 RuboCop::Cop::Generator::ConfigurationInjector::TEMPLATE = T.let(T.unsafe(nil), String) # A class that injects a require directive into the root RuboCop file. # It looks for other directives that require files in the same (cop) # namespace and injects the provided one in alpha # -# source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#9 +# source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#9 class RuboCop::Cop::Generator::RequireFileInjector # @return [RequireFileInjector] a new instance of RequireFileInjector # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#12 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#12 def initialize(source_path:, root_file_path:, output: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#19 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#19 def inject; end private - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#64 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#64 def injectable_require_directive; end # Returns the value of attribute output. # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#29 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#29 def output; end # Returns the value of attribute require_entries. # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#29 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#29 def require_entries; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#31 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#31 def require_exists?; end - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#68 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#68 def require_path; end - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#58 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#58 def require_path_fragments(require_directive); end # Returns the value of attribute root_file_path. # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#29 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#29 def root_file_path; end # Returns the value of attribute source_path. # - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#29 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#29 def source_path; end - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#39 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#39 def target_line; end - # source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#35 + # source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#35 def updated_directives; end end -# source://rubocop/lib/rubocop/cop/generator/require_file_injector.rb#10 +# source://rubocop//lib/rubocop/cop/generator/require_file_injector.rb#10 RuboCop::Cop::Generator::RequireFileInjector::REQUIRE_PATH = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop/lib/rubocop/cop/generator.rb#11 +# source://rubocop//lib/rubocop/cop/generator.rb#11 RuboCop::Cop::Generator::SOURCE_TEMPLATE = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/cop/generator.rb#91 +# source://rubocop//lib/rubocop/cop/generator.rb#91 RuboCop::Cop::Generator::SPEC_TEMPLATE = T.let(T.unsafe(nil), String) # Common functionality for checking hash alignment. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#6 module RuboCop::Cop::HashAlignmentStyles; end # Handles calculation of deltas when the enforced style is 'key'. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#8 class RuboCop::Cop::HashAlignmentStyles::KeyAlignment # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#9 def checkable_layout?(_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#20 def deltas(first_pair, current_pair); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#13 def deltas_for_first_pair(first_pair, _node); end private - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#34 def separator_delta(pair); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#45 def value_delta(pair); end end @@ -6739,560 +6866,618 @@ end # This is a special case that just ensures the kwsplat is aligned with the rest of the hash # since a `kwsplat` does not have a key, separator or value. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#145 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#145 class RuboCop::Cop::HashAlignmentStyles::KeywordSplatAlignment - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#146 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#146 def deltas(first_pair, current_pair); end end # Handles calculation of deltas when the enforced style is 'separator'. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#120 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#120 class RuboCop::Cop::HashAlignmentStyles::SeparatorAlignment include ::RuboCop::Cop::HashAlignmentStyles::ValueAlignment - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#123 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#123 def deltas_for_first_pair(*_nodes); end private - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#133 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#133 def hash_rocket_delta(first_pair, current_pair); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#129 def key_delta(first_pair, current_pair); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#137 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#137 def value_delta(first_pair, current_pair); end end # Handles calculation of deltas when the enforced style is 'table'. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#81 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#81 class RuboCop::Cop::HashAlignmentStyles::TableAlignment include ::RuboCop::Cop::HashAlignmentStyles::ValueAlignment # @return [TableAlignment] a new instance of TableAlignment # - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#84 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#84 def initialize; end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#88 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#88 def deltas_for_first_pair(first_pair, node); end private - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#106 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#106 def hash_rocket_delta(first_pair, current_pair); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#102 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#102 def key_delta(first_pair, current_pair); end # Returns the value of attribute max_key_width. # - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#100 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#100 def max_key_width; end # Sets the attribute max_key_width # # @param value the value to set the attribute max_key_width to. # - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#100 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#100 def max_key_width=(_arg0); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#110 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#110 def value_delta(first_pair, current_pair); end end # Common functionality for checking alignment of hash values. # -# source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#56 +# source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#56 module RuboCop::Cop::HashAlignmentStyles::ValueAlignment # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#57 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#57 def checkable_layout?(node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#61 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#61 def deltas(first_pair, current_pair); end private - # source://rubocop/lib/rubocop/cop/mixin/hash_alignment_styles.rb#71 + # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#71 def separator_delta(first_pair, current_pair, key_delta); end end # This module checks for Ruby 3.1's hash value omission syntax. # -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#7 module RuboCop::Cop::HashShorthandSyntax - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 def on_hash_for_mixed_shorthand(hash_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#26 def on_pair(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#126 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#126 def brackets?(method_dispatch_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#156 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#156 def breakdown_value_types_of_hash(hash_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#103 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#103 def def_node_that_require_parentheses(node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#185 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#185 def each_omittable_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#181 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#181 def each_omitted_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#81 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#81 def enforced_shorthand_syntax; end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#118 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#118 def find_ancestor_method_dispatch_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#168 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#168 def hash_with_mixed_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#172 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#172 def hash_with_values_that_cant_be_omitted?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#176 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#176 def ignore_explicit_omissible_hash_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#75 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#75 def ignore_hash_shorthand_syntax?(pair_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#69 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#69 def ignore_mixed_hash_shorthand_syntax?(hash_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#141 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#141 def last_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#149 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#149 def method_dispatch_as_argument?(method_dispatch_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#189 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#189 def mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#205 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#205 def no_mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#49 def register_offense(node, message, replacement); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#85 def require_hash_value?(hash_key_source, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#94 def require_hash_value_for_around_hash_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#130 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#130 def use_element_of_hash_literal_as_receiver?(ancestor, parent); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#135 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#135 def use_modifier_form_without_parenthesized_method_call?(ancestor); end end -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#12 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#12 RuboCop::Cop::HashShorthandSyntax::DO_NOT_MIX_EXPLICIT_VALUE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#10 RuboCop::Cop::HashShorthandSyntax::DO_NOT_MIX_MSG_PREFIX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#11 RuboCop::Cop::HashShorthandSyntax::DO_NOT_MIX_OMIT_VALUE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#225 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#225 def first_argument; end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#229 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#229 def last_argument; end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def node=(_); end - # source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#217 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#217 def selector; end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#9 RuboCop::Cop::HashShorthandSyntax::EXPLICIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#8 RuboCop::Cop::HashShorthandSyntax::OMIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String) # Common functionality for Style/HashTransformKeys and # Style/HashTransformValues # -# source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#7 module RuboCop::Cop::HashTransformMethod extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 def array_receiver?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#17 def on_block(node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#34 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#27 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#108 def execute_correction(corrector, node, correction); end # @abstract # @raise [NotImplementedError] # @return [Captures] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#83 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#83 def extract_captures(_match); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#60 def handle_possible_offense(node, match, match_desc); end # @abstract # @raise [NotImplementedError] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#90 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#90 def new_method_name; end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#41 def on_bad_each_with_object(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#46 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#46 def on_bad_hash_brackets_map(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#51 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#51 def on_bad_map_to_h(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#56 def on_bad_to_h(_node); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#94 def prepare_correction(node); end end # Internal helper class to hold autocorrect data # -# source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#136 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # Returns the value of attribute block_node # # @return [Object] the current value of block_node + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def block_node; end # Sets the attribute block_node # # @param value [Object] the value to set the attribute block_node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def block_node=(_); end # Returns the value of attribute leading # # @return [Object] the current value of leading + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def leading; end # Sets the attribute leading # # @param value [Object] the value to set the attribute leading to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def leading=(_); end # Returns the value of attribute match # # @return [Object] the current value of match + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def match; end # Sets the attribute match # # @param value [Object] the value to set the attribute match to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def match=(_); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#177 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#177 def set_new_arg_name(transformed_argname, corrector); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#181 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#181 def set_new_body_expression(transforming_body_expr, corrector); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#167 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#167 def set_new_method_name(new_method_name, corrector); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#161 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#161 def strip_prefix_and_suffix(node, corrector); end # Returns the value of attribute trailing # # @return [Object] the current value of trailing + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def trailing; end # Sets the attribute trailing # # @param value [Object] the value to set the attribute trailing to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def trailing=(_); end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def [](*_arg0); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#137 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#137 def from_each_with_object(node, match); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#141 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#141 def from_hash_brackets_map(node, match); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#145 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#145 def from_map_to_h(node, match); end - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#157 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#157 def from_to_h(node, match); end + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def new(*_arg0); end end end # Internal helper class to hold match data # -# source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#118 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#119 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#119 def noop_transformation?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#124 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#124 def transformation_uses_both_args?; end # Returns the value of attribute transformed_argname # # @return [Object] the current value of transformed_argname + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transformed_argname; end # Sets the attribute transformed_argname # # @param value [Object] the value to set the attribute transformed_argname to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transformed_argname=(_); end # Returns the value of attribute transforming_body_expr # # @return [Object] the current value of transforming_body_expr + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transforming_body_expr; end # Sets the attribute transforming_body_expr # # @param value [Object] the value to set the attribute transforming_body_expr to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transforming_body_expr=(_); end # Returns the value of attribute unchanged_body_expr # # @return [Object] the current value of unchanged_body_expr + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def unchanged_body_expr; end # Sets the attribute unchanged_body_expr # # @param value [Object] the value to set the attribute unchanged_body_expr to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def unchanged_body_expr=(_); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#128 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#128 def use_transformed_argname?; end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/cop/mixin/hash_transform_method.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#10 RuboCop::Cop::HashTransformMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Common functionality for working with heredoc strings. # -# source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#6 module RuboCop::Cop::Heredoc - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#14 def on_dstr(node); end # @raise [NotImplementedError] # - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#17 def on_heredoc(_node); end - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#9 def on_str(node); end - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#15 def on_xstr(node); end private - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#28 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#28 def delimiter_string(node); end - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#34 def heredoc_type(node); end - # source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#23 def indent_level(str); end end -# source://rubocop/lib/rubocop/cop/mixin/heredoc.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#7 RuboCop::Cop::Heredoc::OPENING_DELIMITER = T.let(T.unsafe(nil), Regexp) # This class autocorrects `if...then` structures to a multiline `if` statement # -# source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#6 class RuboCop::Cop::IfThenCorrector # @return [IfThenCorrector] a new instance of IfThenCorrector # - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#9 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#9 def initialize(if_node, indentation: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#14 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#14 def call(corrector); end private - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#50 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#50 def branch_body_indentation; end # Returns the value of attribute if_node. # - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#20 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#20 def if_node; end # Returns the value of attribute indentation. # - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#20 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#20 def indentation; end - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#22 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#22 def replacement(node = T.unsafe(nil), indentation = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#36 + # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#36 def rewrite_else_branch(else_branch, indentation); end end -# source://rubocop/lib/rubocop/cop/correctors/if_then_corrector.rb#7 +# source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#7 RuboCop::Cop::IfThenCorrector::DEFAULT_INDENTATION_WIDTH = T.let(T.unsafe(nil), Integer) # @deprecated IgnoredMethods class has been replaced with AllowedMethods. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_methods.rb#46 +# source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#46 RuboCop::Cop::IgnoredMethods = RuboCop::Cop::AllowedMethods # Handles adding and checking ignored nodes. # -# source://rubocop/lib/rubocop/cop/ignored_node.rb#6 +# source://rubocop//lib/rubocop/cop/ignored_node.rb#6 module RuboCop::Cop::IgnoredNode - # source://rubocop/lib/rubocop/cop/ignored_node.rb#7 + # source://rubocop//lib/rubocop/cop/ignored_node.rb#7 def ignore_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/ignored_node.rb#24 + # source://rubocop//lib/rubocop/cop/ignored_node.rb#24 def ignored_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/ignored_node.rb#11 + # source://rubocop//lib/rubocop/cop/ignored_node.rb#11 def part_of_ignored_node?(node); end private - # source://rubocop/lib/rubocop/cop/ignored_node.rb#31 + # source://rubocop//lib/rubocop/cop/ignored_node.rb#31 def ignored_nodes; end end # @deprecated IgnoredPattern class has been replaced with AllowedPattern. # -# source://rubocop/lib/rubocop/cop/mixin/allowed_pattern.rb#66 +# source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#66 RuboCop::Cop::IgnoredPattern = RuboCop::Cop::AllowedPattern # Common functionality for checking integer nodes. # -# source://rubocop/lib/rubocop/cop/mixin/integer_node.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/integer_node.rb#6 module RuboCop::Cop::IntegerNode private - # source://rubocop/lib/rubocop/cop/mixin/integer_node.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/integer_node.rb#9 def integer_part(node); end end @@ -7300,112 +7485,112 @@ end # # @abstract Subclasses are expected to implement {#on_interpolation}. # -# source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#8 module RuboCop::Cop::Interpolation - # source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#14 def on_dsym(node); end - # source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#17 def on_node_with_interpolations(node); end - # source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#15 def on_regexp(node); end - # source://rubocop/lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#13 def on_xstr(node); end end # This class autocorrects lambda literal to method notation. # -# source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#6 class RuboCop::Cop::LambdaLiteralToMethodCorrector # @return [LambdaLiteralToMethodCorrector] a new instance of LambdaLiteralToMethodCorrector # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#7 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#7 def initialize(block_node); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#13 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#13 def call(corrector); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#118 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#118 def arg_to_unparenthesized_call?; end # Returns the value of attribute arguments. # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 def arguments; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#102 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#102 def arguments_begin_pos; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#98 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#98 def arguments_end_pos; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#110 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#110 def block_begin; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#106 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#106 def block_end; end # Returns the value of attribute block_node. # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 def block_node; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#59 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#59 def insert_arguments(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#43 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#43 def insert_separating_space(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#88 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#88 def lambda_arg_string; end # Returns the value of attribute method. # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#34 def method; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#92 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#92 def needs_separating_space?; end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#53 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#53 def remove_arguments(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#66 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#66 def remove_leading_whitespace(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#74 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#74 def remove_trailing_whitespace(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#36 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#36 def remove_unparenthesized_whitespace(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#79 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#79 def replace_delimiters(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#49 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#49 def replace_selector(corrector); end - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#114 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#114 def selector_end; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#134 + # source://rubocop//lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb#134 def separating_space?; end end -# source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#5 +# source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#5 module RuboCop::Cop::Layout; end # Bare access modifiers (those not applying to specific methods) should be @@ -7437,50 +7622,50 @@ module RuboCop::Cop::Layout; end # def smooth; end # end # -# source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#35 +# source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#35 class RuboCop::Cop::Layout::AccessModifierIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#50 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#43 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#49 def on_module(node); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#48 def on_sclass(node); end private - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#54 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#54 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#58 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#58 def check_body(body, node); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#69 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#69 def check_modifier(send_node, end_range); end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#92 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#92 def expected_indent_offset; end - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#88 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#88 def message(range); end # An offset that is not expected, but correct if the configuration is # changed. # - # source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#98 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#98 def unexpected_indent_offset; end end -# source://rubocop/lib/rubocop/cop/layout/access_modifier_indentation.rb#41 +# source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#41 RuboCop::Cop::Layout::AccessModifierIndentation::MSG = T.let(T.unsafe(nil), String) # Check that the arguments on a multi-line method definition are aligned. @@ -7522,70 +7707,70 @@ RuboCop::Cop::Layout::AccessModifierIndentation::MSG = T.let(T.unsafe(nil), Stri # :baz, # key: value # -# source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#45 +# source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#45 class RuboCop::Cop::Layout::ArgumentAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#54 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#63 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#54 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#54 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#91 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#91 def arguments_or_first_arg_pairs(node); end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#79 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#79 def arguments_with_last_arg_pairs(node); end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#107 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#107 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#67 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#67 def autocorrect_incompatible_with_other_cops?; end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#123 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#123 def base_column(node, first_argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#143 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#143 def enforce_hash_argument_with_separator?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#115 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#115 def fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#71 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#71 def flattened_arguments(node); end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#111 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#111 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#100 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#100 def multiple_arguments?(node); end - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#134 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#134 def target_method_lineno(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#119 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#119 def with_first_argument_style?; end end -# source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#49 +# source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#49 RuboCop::Cop::Layout::ArgumentAlignment::ALIGN_PARAMS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/argument_alignment.rb#51 +# source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#51 RuboCop::Cop::Layout::ArgumentAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), String) # Check that the elements of a multi-line array literal are @@ -7618,38 +7803,38 @@ RuboCop::Cop::Layout::ArgumentAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), # array = [1, 2, 3, # 4, 5, 6] # -# source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#36 +# source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#36 class RuboCop::Cop::Layout::ArrayAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#46 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#46 def on_array(node); end private - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#55 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#55 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#67 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#67 def base_column(node, args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#63 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#63 def fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#59 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#59 def message(_range); end - # source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#78 + # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#78 def target_method_lineno(node); end end -# source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#40 +# source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#40 RuboCop::Cop::Layout::ArrayAlignment::ALIGN_ELEMENTS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/array_alignment.rb#43 +# source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#43 RuboCop::Cop::Layout::ArrayAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the first line of the @@ -7671,7 +7856,7 @@ RuboCop::Cop::Layout::ArrayAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), St # 'bar' # end # -# source://rubocop/lib/rubocop/cop/layout/assignment_indentation.rb#25 +# source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#25 class RuboCop::Cop::Layout::AssignmentIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment include ::RuboCop::Cop::Alignment @@ -7679,17 +7864,17 @@ class RuboCop::Cop::Layout::AssignmentIndentation < ::RuboCop::Cop::Base private - # source://rubocop/lib/rubocop/cop/layout/assignment_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#43 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/assignment_indentation.rb#34 + # source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#34 def check_assignment(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/assignment_indentation.rb#47 + # source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#47 def leftmost_multiple_assignment(node); end end -# source://rubocop/lib/rubocop/cop/layout/assignment_indentation.rb#30 +# source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#30 RuboCop::Cop::Layout::AssignmentIndentation::MSG = T.let(T.unsafe(nil), String) # Checks whether the end keyword of `begin` is aligned properly. @@ -7726,29 +7911,29 @@ RuboCop::Cop::Layout::AssignmentIndentation::MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#41 +# source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#41 class RuboCop::Cop::Layout::BeginEndAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::EndKeywordAlignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#47 + # source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#47 def on_kwbegin(node); end private - # source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#62 + # source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#62 def alignment_node(node); end - # source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#58 + # source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#58 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#53 + # source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#53 def check_begin_alignment(node); end end -# source://rubocop/lib/rubocop/cop/layout/begin_end_alignment.rb#45 +# source://rubocop//lib/rubocop/cop/layout/begin_end_alignment.rb#45 RuboCop::Cop::Layout::BeginEndAlignment::MSG = T.let(T.unsafe(nil), String) # Checks whether the end keywords are aligned properly for do @@ -7809,86 +7994,86 @@ RuboCop::Cop::Layout::BeginEndAlignment::MSG = T.let(T.unsafe(nil), String) # baz # end # -# source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#66 +# source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#66 class RuboCop::Cop::Layout::BlockAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#74 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#74 def block_end_align_target?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#83 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#87 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#89 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#89 def style_parameter_name; end private - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#245 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#245 def add_space_before(corrector, loc, delta); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#222 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#222 def alt_start_msg(start_loc, source_line_column); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#144 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#144 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#95 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#95 def block_end_align_target(node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#113 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#113 def check_block_alignment(start_node, block_node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#195 def compute_do_source_line_column(node, end_loc); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#237 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#237 def compute_start_col(ancestor_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#109 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#109 def disqualified_parent?(parent, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#105 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#105 def end_align_target?(node, parent); end # In offense message, we want to show the assignment LHS rather than # the entire assignment. # - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#190 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#190 def find_lhs_node(node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#161 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#161 def format_message(start_loc, end_loc, do_source_line_column, error_source_line_column); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#232 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#232 def format_source_line_column(source_line_column); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#214 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#214 def loc_to_source_line_column(loc); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#126 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#126 def register_offense(block_node, start_loc, end_loc, do_source_line_column); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#249 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#249 def remove_space_before(corrector, end_pos, delta); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#171 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#171 def start_for_block_node(block_node); end - # source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#178 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#178 def start_for_line_node(block_node); end end -# source://rubocop/lib/rubocop/cop/layout/block_alignment.rb#71 +# source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#71 RuboCop::Cop::Layout::BlockAlignment::MSG = T.let(T.unsafe(nil), String) # Checks whether the end statement of a do..end block @@ -7913,33 +8098,33 @@ RuboCop::Cop::Layout::BlockAlignment::MSG = T.let(T.unsafe(nil), String) # foo(i) # } # -# source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#27 +# source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#27 class RuboCop::Cop::Layout::BlockEndNewline < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#33 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#33 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#33 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#45 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#66 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#66 def last_heredoc_argument(node); end - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#62 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#62 def message(node); end - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#76 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#76 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#49 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#49 def register_offense(node, offense_range); end end -# source://rubocop/lib/rubocop/cop/layout/block_end_newline.rb#31 +# source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#31 RuboCop::Cop::Layout::BlockEndNewline::MSG = T.let(T.unsafe(nil), String) # Checks how the `when` and ``in``s of a `case` expression @@ -8047,59 +8232,59 @@ RuboCop::Cop::Layout::BlockEndNewline::MSG = T.let(T.unsafe(nil), String) # y / 3 # end # -# source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#112 +# source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#112 class RuboCop::Cop::Layout::CaseIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#120 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#120 def on_case(case_node); end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#127 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#127 def on_case_match(case_match_node); end private - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#193 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#193 def base_column(case_node, base); end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#150 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#150 def check_when(when_node, branch_type); end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#182 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#182 def detect_incorrect_style(when_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#136 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#136 def end_and_last_conditional_same_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#146 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#146 def enforced_style_end?; end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#169 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#169 def incorrect_style(when_node, branch_type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#161 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#161 def indent_one_step?; end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#165 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#165 def indentation_width; end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#207 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#207 def replacement(node); end - # source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#200 + # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#200 def whitespace_range(node); end end -# source://rubocop/lib/rubocop/cop/layout/case_indentation.rb#118 +# source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#118 RuboCop::Cop::Layout::CaseIndentation::MSG = T.let(T.unsafe(nil), String) # Checks if the code style follows the ExpectedOrder configuration: @@ -8231,7 +8416,7 @@ RuboCop::Cop::Layout::CaseIndentation::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/layout/class_structure.rb#142 +# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#142 class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base include ::RuboCop::Cop::VisibilityHelp include ::RuboCop::Cop::CommentsHelp @@ -8240,35 +8425,35 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base # Validates code style on class declaration. # Add offense when find a node out of expected order. # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#158 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#158 def on_class(class_node); end # Validates code style on class declaration. # Add offense when find a node out of expected order. # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#158 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#169 def on_sclass(class_node); end private # Autocorrect by swapping between two nodes autocorrecting them # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#174 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#174 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#305 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#305 def begin_pos_with_comment(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#328 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#328 def buffer; end # Setting categories hash allow you to group methods in group to match # in the {expected_order}. # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#340 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#340 def categories; end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#234 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#234 def class_elements(class_node); end # Classifies a node to match with something in the {expected_order} @@ -8280,21 +8465,21 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base # by method name # @return String otherwise trying to {humanize_node} of the current node # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#194 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#194 def classify(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#271 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#271 def dynamic_constant?(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#295 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#295 def end_position_for(node); end # Load expected order from `ExpectedOrder` config. # Define new terms in the expected order by adding new {categories}. # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#334 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#334 def expected_order; end # Categorize a node according to the {expected_order} @@ -8304,51 +8489,51 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base # @param node to be analysed. # @return [String] with the key category or the `method_name` as string # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#212 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#212 def find_category(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#324 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#324 def find_heredoc(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#262 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#262 def humanize_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#246 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#246 def ignore?(node, classification); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#253 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#253 def ignore_for_autocorrect?(node, sibling); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#289 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#289 def marked_as_private_constant?(node, name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#279 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#279 def private_constant?(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#320 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#320 def start_line_position(node); end - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#225 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#225 def walk_over_nested_class_definition(class_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/class_structure.rb#316 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#316 def whole_line_comment_at_line?(line); end end -# source://rubocop/lib/rubocop/cop/layout/class_structure.rb#147 +# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#147 RuboCop::Cop::Layout::ClassStructure::HUMANIZED_NODE_TYPE = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/layout/class_structure.rb#154 +# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#154 RuboCop::Cop::Layout::ClassStructure::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of here document closings. @@ -8393,53 +8578,53 @@ RuboCop::Cop::Layout::ClassStructure::MSG = T.let(T.unsafe(nil), String) # Hi # EOS # -# source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#48 +# source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#48 class RuboCop::Cop::Layout::ClosingHeredocIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Heredoc extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#57 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#57 def on_heredoc(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#74 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#74 def argument_indentation_correct?(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#82 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#82 def closing_indentation(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#101 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#101 def find_node_used_heredoc_argument(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#90 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#90 def heredoc_closing(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#86 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#86 def heredoc_opening(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#117 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#117 def indent_level(source_line); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#94 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#94 def indented_end(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#109 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#109 def message(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#70 + # source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#70 def opening_indentation(node); end end -# source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#53 +# source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#53 RuboCop::Cop::Layout::ClosingHeredocIndentation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#54 +# source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#54 RuboCop::Cop::Layout::ClosingHeredocIndentation::MSG_ARG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/closing_heredoc_indentation.rb#52 +# source://rubocop//lib/rubocop/cop/layout/closing_heredoc_indentation.rb#52 RuboCop::Cop::Layout::ClosingHeredocIndentation::SIMPLE_HEREDOC = T.let(T.unsafe(nil), String) # Checks the indentation of hanging closing parentheses in @@ -8506,67 +8691,67 @@ RuboCop::Cop::Layout::ClosingHeredocIndentation::SIMPLE_HEREDOC = T.let(T.unsafe # y: 2 # ) # -# source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#71 +# source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#71 class RuboCop::Cop::Layout::ClosingParenthesisIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#84 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#84 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#79 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#82 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#88 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#88 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#88 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#91 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#79 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#79 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#157 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#157 def all_elements_aligned?(elements); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#95 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#95 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#99 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#99 def check(node, elements); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#107 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#107 def check_for_elements(node, elements); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#125 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#125 def check_for_no_elements(node); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#171 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#171 def correct_column_candidates(node, left_paren); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#144 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#144 def expected_column(left_paren, elements); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#167 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#167 def first_argument_line(elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#187 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#187 def line_break_after_left_paren?(left_paren, elements); end - # source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#179 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#179 def message(correct_column, left_paren, right_paren); end end -# source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#77 +# source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#77 RuboCop::Cop::Layout::ClosingParenthesisIndentation::MSG_ALIGN = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#75 +# source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#75 RuboCop::Cop::Layout::ClosingParenthesisIndentation::MSG_INDENT = T.let(T.unsafe(nil), String) # Checks the indentation of comments. @@ -8610,20 +8795,20 @@ RuboCop::Cop::Layout::ClosingParenthesisIndentation::MSG_INDENT = T.let(T.unsafe # a = 1 # A really long comment # # spanning two lines. # -# source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#48 +# source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#48 class RuboCop::Cop::Layout::CommentIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#55 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#55 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#61 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#61 def autocorrect(corrector, comment); end - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#88 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#88 def autocorrect_one(corrector, comment); end # Corrects all comment lines that occur immediately before the given @@ -8631,13 +8816,13 @@ class RuboCop::Cop::Layout::CommentIndentation < ::RuboCop::Cop::Base # of correcting, saving the file, parsing and inspecting again, and # then correcting one more line, and so on. # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#71 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#71 def autocorrect_preceding_comments(corrector, comment); end - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#92 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#92 def check(comment, comment_index); end - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#145 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#145 def correct_indentation(next_line); end # Returns true if: @@ -8647,37 +8832,37 @@ class RuboCop::Cop::Layout::CommentIndentation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#121 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#121 def correctly_aligned_with_preceding_comment?(comment_index, column); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#156 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#156 def less_indented?(line); end - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#140 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#140 def line_after_comment(comment); end - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#131 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#131 def message(column, correct_comment_indentation); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#135 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#135 def own_line_comment?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#82 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#82 def should_correct?(preceding_comment, reference_comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#162 + # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#162 def two_alternatives?(line); end end -# source://rubocop/lib/rubocop/cop/layout/comment_indentation.rb#52 +# source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#52 RuboCop::Cop::Layout::CommentIndentation::MSG = T.let(T.unsafe(nil), String) # Checks for conditions that are not on the same line as @@ -8696,30 +8881,30 @@ RuboCop::Cop::Layout::CommentIndentation::MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/layout/condition_position.rb#21 +# source://rubocop//lib/rubocop/cop/layout/condition_position.rb#21 class RuboCop::Cop::Layout::ConditionPosition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/condition_position.rb#27 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#27 def on_if(node); end - # source://rubocop/lib/rubocop/cop/layout/condition_position.rb#33 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#36 def on_until(node); end - # source://rubocop/lib/rubocop/cop/layout/condition_position.rb#33 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#33 def on_while(node); end private - # source://rubocop/lib/rubocop/cop/layout/condition_position.rb#40 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#40 def check(node); end - # source://rubocop/lib/rubocop/cop/layout/condition_position.rb#54 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#54 def message(condition); end end -# source://rubocop/lib/rubocop/cop/layout/condition_position.rb#25 +# source://rubocop//lib/rubocop/cop/layout/condition_position.rb#25 RuboCop::Cop::Layout::ConditionPosition::MSG = T.let(T.unsafe(nil), String) # Checks whether the end keywords of method definitions are @@ -8752,29 +8937,29 @@ RuboCop::Cop::Layout::ConditionPosition::MSG = T.let(T.unsafe(nil), String) # private def foo # end # -# source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#36 +# source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#36 class RuboCop::Cop::Layout::DefEndAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::EndKeywordAlignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#43 + # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#43 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#43 + # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#46 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#48 + # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#48 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#63 + # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#63 def autocorrect(corrector, node); end end -# source://rubocop/lib/rubocop/cop/layout/def_end_alignment.rb#41 +# source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#41 RuboCop::Cop::Layout::DefEndAlignment::MSG = T.let(T.unsafe(nil), String) # Checks the . position in multi-line method calls. @@ -8796,60 +8981,60 @@ RuboCop::Cop::Layout::DefEndAlignment::MSG = T.let(T.unsafe(nil), String) # something. # method # -# source://rubocop/lib/rubocop/cop/layout/dot_position.rb#25 +# source://rubocop//lib/rubocop/cop/layout/dot_position.rb#25 class RuboCop::Cop::Layout::DotPosition < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#34 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#45 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#34 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#34 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#49 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#49 def autocorrect(corrector, dot, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#99 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#99 def correct_dot_position_style?(dot_line, selector_line); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#126 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#126 def end_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#122 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#122 def heredoc?(node); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#114 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#114 def last_heredoc_line(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#95 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#95 def line_between?(first_line, second_line); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#64 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#64 def message(dot); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#74 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#74 def proper_dot_position?(node); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#106 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#106 def receiver_end_line(node); end - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#130 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#130 def selector_range(node); end class << self - # source://rubocop/lib/rubocop/cop/layout/dot_position.rb#30 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#30 def autocorrect_incompatible_with; end end end @@ -8881,7 +9066,7 @@ end # code # end # -# source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#32 +# source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#32 class RuboCop::Cop::Layout::ElseAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -8890,46 +9075,46 @@ class RuboCop::Cop::Layout::ElseAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#57 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#57 def on_case(node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#63 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#63 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#40 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#40 def on_if(node, base = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#51 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#51 def on_rescue(node); end private - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#147 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#147 def assignment_node(node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#71 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#71 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#106 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#106 def base_for_method_definition(node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#80 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#80 def base_range_of_if(node, base); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#89 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#89 def base_range_of_rescue(node); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#131 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#131 def check_alignment(base_range, else_range); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#115 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#115 def check_assignment(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#75 + # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#75 def check_nested(node, base); end end -# source://rubocop/lib/rubocop/cop/layout/else_alignment.rb#38 +# source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#38 RuboCop::Cop::Layout::ElseAlignment::MSG = T.let(T.unsafe(nil), String) # Checks empty comment. @@ -8985,51 +9170,51 @@ RuboCop::Cop::Layout::ElseAlignment::MSG = T.let(T.unsafe(nil), String) # class Foo # end # -# source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#63 +# source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#63 class RuboCop::Cop::Layout::EmptyComment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#69 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#69 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#133 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#133 def allow_border_comment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#137 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#137 def allow_margin_comment?; end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#97 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#97 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#129 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#129 def comment_text(comment); end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#108 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#108 def concat_consecutive_comments(comments); end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#141 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#141 def current_token(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#119 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#119 def empty_comment_only?(comment_text); end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#85 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#85 def investigate(comments); end - # source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#145 + # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#145 def previous_token(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_comment.rb#67 +# source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#67 RuboCop::Cop::Layout::EmptyComment::MSG = T.let(T.unsafe(nil), String) # Enforces empty line after guard clause. @@ -9081,81 +9266,81 @@ RuboCop::Cop::Layout::EmptyComment::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#54 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#54 class RuboCop::Cop::Layout::EmptyLineAfterGuardClause < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::PathUtil extend ::RuboCop::Cop::Util - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#63 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#63 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#84 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#84 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#106 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#106 def contains_guard_clause?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#99 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#99 def correct_style?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#181 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#181 def heredoc?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#174 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#174 def heredoc_line(node, heredoc_node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#148 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#148 def last_heredoc_argument(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#162 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#162 def last_heredoc_argument_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#199 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#199 def multiple_statements_on_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#121 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#121 def next_line_allowed_directive_comment?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#117 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#117 def next_line_empty?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#110 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#110 def next_line_empty_or_allowed_directive_comment?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#127 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#127 def next_line_rescue_or_ensure?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#141 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#141 def next_sibling_empty_or_guard_clause?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#132 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#132 def next_sibling_parent_empty_or_else?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#191 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#191 def offense_location(node); end # SimpleCov excludes code from the coverage report by wrapping it in `# :nocov:`: @@ -9163,22 +9348,22 @@ class RuboCop::Cop::Layout::EmptyLineAfterGuardClause < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#208 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#208 def simplecov_directive_comment?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#185 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#185 def use_heredoc_in_condition?(condition); end end -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#60 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#60 RuboCop::Cop::Layout::EmptyLineAfterGuardClause::END_OF_HEREDOC_LINE = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#59 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#59 RuboCop::Cop::Layout::EmptyLineAfterGuardClause::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#61 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#61 RuboCop::Cop::Layout::EmptyLineAfterGuardClause::SIMPLE_DIRECTIVE_COMMENT_PATTERN = T.let(T.unsafe(nil), Regexp) # Checks for a newline after the final magic comment. @@ -9199,17 +9384,17 @@ RuboCop::Cop::Layout::EmptyLineAfterGuardClause::SIMPLE_DIRECTIVE_COMMENT_PATTER # # Some code # end # -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#23 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#23 class RuboCop::Cop::Layout::EmptyLineAfterMagicComment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#29 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#29 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#61 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#61 def comments_before_code(source); end # Find the last magic comment in the source file. @@ -9221,14 +9406,14 @@ class RuboCop::Cop::Layout::EmptyLineAfterMagicComment < ::RuboCop::Cop::Base # @return [Parser::Source::Comment] if magic comments exist before code # @return [nil] otherwise # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#55 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#55 def last_magic_comment(source); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#43 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#43 def offending_range(last_magic_comment); end end -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#27 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_magic_comment.rb#27 RuboCop::Cop::Layout::EmptyLineAfterMagicComment::MSG = T.let(T.unsafe(nil), String) # Enforces empty line after multiline condition. @@ -9279,57 +9464,57 @@ RuboCop::Cop::Layout::EmptyLineAfterMagicComment::MSG = T.let(T.unsafe(nil), Str # handle_error # end # -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#54 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#54 class RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#82 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#82 def on_case(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#60 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#60 def on_if(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#93 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#93 def on_rescue(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#70 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#73 def on_until(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#75 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#80 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#70 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#70 def on_while(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#75 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#75 def on_while_post(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#127 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#127 def autocorrect(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#105 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#105 def check_condition(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#120 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#120 def multiline_rescue_exceptions?(exception_nodes); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#116 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#116 def multiline_when_condition?(when_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#112 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#112 def next_line_empty?(line); end end -# source://rubocop/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#58 +# source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#58 RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil), String) # Checks whether class/module/method definitions are @@ -9427,15 +9612,15 @@ RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil # def b # end # -# source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#108 +# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#108 class RuboCop::Cop::Layout::EmptyLineBetweenDefs < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#145 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#145 def autocorrect(corrector, prev_def, node, count); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#130 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#130 def check_defs(nodes); end # We operate on `begin` nodes, instead of using `OnMethodDef`, @@ -9444,100 +9629,100 @@ class RuboCop::Cop::Layout::EmptyLineBetweenDefs < ::RuboCop::Cop::Base # doing a linear scan over siblings, so we don't want to call # it on each def. # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#123 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#123 def on_begin(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#291 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#291 def allowance_range?; end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#275 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#275 def autocorrect_insert_lines(corrector, newline_pos, count); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#268 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#268 def autocorrect_remove_lines(corrector, newline_pos, count); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#228 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#228 def blank_lines_count_between(first_def_node, second_def_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#172 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#172 def candidate?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#192 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#192 def class_candidate?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#256 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#256 def def_end(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#164 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#164 def def_location(correction_node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#248 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#248 def def_start(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#179 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#179 def empty_line_between_macros; end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#260 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#260 def end_loc(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#206 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#206 def expected_lines; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#224 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#224 def line_count_allowed?(count); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#240 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#240 def lines_between_defs(first_def_node, second_def_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#183 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#183 def macro_candidate?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#236 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#236 def maximum_empty_lines; end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#200 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#200 def message(node, count: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#188 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#188 def method_candidate?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#232 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#232 def minimum_empty_lines; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#196 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#196 def module_candidate?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#215 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#215 def multiple_blank_lines_groups?(first_def_node, second_def_node); end - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#282 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#282 def node_type(node); end class << self - # source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#114 + # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#114 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/empty_line_between_defs.rb#112 +# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#112 RuboCop::Cop::Layout::EmptyLineBetweenDefs::MSG = T.let(T.unsafe(nil), String) # Checks for two or more consecutive blank lines. @@ -9555,34 +9740,34 @@ RuboCop::Cop::Layout::EmptyLineBetweenDefs::MSG = T.let(T.unsafe(nil), String) # # one empty line # some_method # -# source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#21 +# source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#21 class RuboCop::Cop::Layout::EmptyLines < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#28 + # source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#28 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#45 + # source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#45 def each_extra_empty_line(lines); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#63 + # source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#63 def exceeds_line_offset?(line_diff); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#67 def previous_and_current_lines_empty?(line); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#26 +# source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#26 RuboCop::Cop::Layout::EmptyLines::LINE_OFFSET = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/layout/empty_lines.rb#25 +# source://rubocop//lib/rubocop/cop/layout/empty_lines.rb#25 RuboCop::Cop::Layout::EmptyLines::MSG = T.let(T.unsafe(nil), String) # Access modifiers should be surrounded by blank lines. @@ -9621,7 +9806,7 @@ RuboCop::Cop::Layout::EmptyLines::MSG = T.let(T.unsafe(nil), String) # def baz; end # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#43 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#43 class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -9629,101 +9814,101 @@ class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Bas # @return [EmptyLinesAroundAccessModifier] a new instance of EmptyLinesAroundAccessModifier # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#56 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#56 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#81 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#81 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#62 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#62 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#71 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#71 def on_module(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#81 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#85 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#76 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#76 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#87 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#87 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#115 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#115 def allowed_only_before_style?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#164 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#164 def block_start?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#170 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#170 def body_end?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#158 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#158 def class_def?(line); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#124 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#124 def correct_next_line_if_denied_style(corrector, node, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#154 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#154 def empty_lines_around?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#104 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#104 def expected_empty_lines?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#180 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#180 def message(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#189 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#189 def message_for_around_style(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#199 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#199 def message_for_only_before_style(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#176 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#176 def next_empty_line_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#148 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#148 def next_line_empty?(last_send_line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#141 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#141 def previous_line_empty?(send_line); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#137 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#137 def previous_line_ignoring_comments(processed_source, send_line); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#48 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#48 RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_AFTER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#52 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#52 RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_AFTER_FOR_ONLY_BEFORE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#49 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#49 RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_BEFORE_AND_AFTER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#51 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#51 RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_BEFORE_FOR_ONLY_BEFORE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#54 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#54 RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks if empty lines exist around the arguments @@ -9761,44 +9946,44 @@ RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::RESTRICT_ON_SEND = T.let(T # x: y # ) # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#41 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#41 class RuboCop::Cop::Layout::EmptyLinesAroundArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#47 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#57 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#47 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#47 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#65 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#65 def empty_lines(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#71 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#71 def extra_lines(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#93 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#93 def inner_lines(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#84 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#84 def line_numbers(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#97 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#97 def outer_lines(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#78 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#78 def processed_lines(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#61 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#61 def receiver_and_method_call_on_different_lines?(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_arguments.rb#45 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#45 RuboCop::Cop::Layout::EmptyLinesAroundArguments::MSG = T.let(T.unsafe(nil), String) # Checks for a newline after an attribute accessor or a group of them. @@ -9855,60 +10040,60 @@ RuboCop::Cop::Layout::EmptyLinesAroundArguments::MSG = T.let(T.unsafe(nil), Stri # def do_something # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#63 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#63 class RuboCop::Cop::Layout::EmptyLinesAroundAttributeAccessor < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#70 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#70 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#123 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#123 def allow_alias?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#133 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#133 def allow_alias_syntax?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#127 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#127 def attribute_or_allowed_method?(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#83 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#83 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#107 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#107 def next_line_empty?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#94 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#94 def next_line_empty_or_enable_directive_comment?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#101 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#101 def next_line_enable_directive_comment?(line); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#117 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#117 def next_line_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#111 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#111 def require_empty_line?(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#68 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb#68 RuboCop::Cop::Layout::EmptyLinesAroundAttributeAccessor::MSG = T.let(T.unsafe(nil), String) # Checks if empty lines exist around the bodies of begin-end @@ -9928,23 +10113,23 @@ RuboCop::Cop::Layout::EmptyLinesAroundAttributeAccessor::MSG = T.let(T.unsafe(ni # # ... # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#23 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#23 class RuboCop::Cop::Layout::EmptyLinesAroundBeginBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#29 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#29 def on_kwbegin(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#35 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#35 def style; end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#27 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_begin_body.rb#27 RuboCop::Cop::Layout::EmptyLinesAroundBeginBody::KIND = T.let(T.unsafe(nil), String) # Checks if empty lines around the bodies of blocks match @@ -9965,102 +10150,102 @@ RuboCop::Cop::Layout::EmptyLinesAroundBeginBody::KIND = T.let(T.unsafe(nil), Str # # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_block_body.rb#24 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#24 class RuboCop::Cop::Layout::EmptyLinesAroundBlockBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_block_body.rb#30 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#30 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_block_body.rb#30 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#36 def on_numblock(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_block_body.rb#28 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#28 RuboCop::Cop::Layout::EmptyLinesAroundBlockBody::KIND = T.let(T.unsafe(nil), String) # Common functionality for checking if presence/absence of empty lines # around some kind of body matches the configuration. # -# source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#8 module RuboCop::Cop::Layout::EmptyLinesAroundBody include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#20 def constant_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#23 def empty_line_required?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#26 def check(node, body, adjusted_first_line: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#81 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#81 def check_beginning(style, first_line); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#67 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#67 def check_both(style, first_line, last_line); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#108 def check_deferred_empty_line(body); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#43 def check_empty_lines_except_namespace(body, first_line, last_line); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#51 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#51 def check_empty_lines_special(body, first_line, last_line); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#85 def check_ending(style, last_line); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#98 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#98 def check_line(style, line, msg); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#89 def check_source(style, line_no, desc); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#159 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#159 def deferred_message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#132 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#132 def first_child_requires_empty_line?(body); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#140 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#140 def first_empty_line_required_child(body); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#155 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#155 def message(type, desc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#122 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#122 def namespace?(body, with_one_child: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#148 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#148 def previous_line_ignoring_comments(send_line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#163 + # source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#163 def valid_body_style?(body); end end -# source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#15 +# source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#15 RuboCop::Cop::Layout::EmptyLinesAroundBody::MSG_DEFERRED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#13 +# source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#13 RuboCop::Cop::Layout::EmptyLinesAroundBody::MSG_EXTRA = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/empty_lines_around_body.rb#14 +# source://rubocop//lib/rubocop/cop/mixin/empty_lines_around_body.rb#14 RuboCop::Cop::Layout::EmptyLinesAroundBody::MSG_MISSING = T.let(T.unsafe(nil), String) # Checks if empty lines around the bodies of classes match @@ -10120,21 +10305,21 @@ RuboCop::Cop::Layout::EmptyLinesAroundBody::MSG_MISSING = T.let(T.unsafe(nil), S # # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_class_body.rb#67 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_class_body.rb#67 class RuboCop::Cop::Layout::EmptyLinesAroundClassBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_class_body.rb#73 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_class_body.rb#73 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_class_body.rb#79 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_class_body.rb#79 def on_sclass(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_class_body.rb#71 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_class_body.rb#71 RuboCop::Cop::Layout::EmptyLinesAroundClassBody::KIND = T.let(T.unsafe(nil), String) # Checks if empty lines exist around the bodies of `begin` @@ -10193,55 +10378,55 @@ RuboCop::Cop::Layout::EmptyLinesAroundClassBody::KIND = T.let(T.unsafe(nil), Str # do_something2 # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#61 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#61 class RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#71 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#70 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#74 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#74 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#72 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#80 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#80 def check_body(body, line_of_def_or_kwbegin); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#112 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#112 def keyword_locations(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#129 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#129 def keyword_locations_in_ensure(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#125 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#125 def keyword_locations_in_rescue(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#95 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#95 def last_body_and_end_on_same_line?(body); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#104 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#104 def message(location, keyword); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#108 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#108 def style; end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#65 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#65 RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords::MSG = T.let(T.unsafe(nil), String) # Checks if empty lines exist around the bodies of methods. @@ -10262,26 +10447,26 @@ RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords::MSG = T.let(T.u # # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_method_body.rb#23 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#23 class RuboCop::Cop::Layout::EmptyLinesAroundMethodBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_method_body.rb#29 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#29 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_method_body.rb#29 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#34 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_method_body.rb#38 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#38 def style; end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_method_body.rb#27 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#27 RuboCop::Cop::Layout::EmptyLinesAroundMethodBody::KIND = T.let(T.unsafe(nil), String) # Checks if empty lines around the bodies of modules match @@ -10323,18 +10508,18 @@ RuboCop::Cop::Layout::EmptyLinesAroundMethodBody::KIND = T.let(T.unsafe(nil), St # # end # -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_module_body.rb#47 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_module_body.rb#47 class RuboCop::Cop::Layout::EmptyLinesAroundModuleBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/empty_lines_around_module_body.rb#53 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_module_body.rb#53 def on_module(node); end end -# source://rubocop/lib/rubocop/cop/layout/empty_lines_around_module_body.rb#51 +# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_module_body.rb#51 RuboCop::Cop::Layout::EmptyLinesAroundModuleBody::KIND = T.let(T.unsafe(nil), String) # Checks whether the end keywords are aligned properly. @@ -10407,7 +10592,7 @@ RuboCop::Cop::Layout::EmptyLinesAroundModuleBody::KIND = T.let(T.unsafe(nil), St # if true # end # -# source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#77 +# source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#77 class RuboCop::Cop::Layout::EndAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -10415,54 +10600,54 @@ class RuboCop::Cop::Layout::EndAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::EndKeywordAlignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#111 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#111 def on_case(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#111 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#118 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#83 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#99 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#99 def on_if(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#95 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#95 def on_module(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#87 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#87 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#107 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#107 def on_until(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#103 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#103 def on_while(node); end private - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#167 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#167 def alignment_node(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#184 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#184 def alignment_node_for_variable_style(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#148 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#148 def asgn_variable_align_with(outer_node, inner_node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#202 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#202 def assignment_or_operator_method(node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#122 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#122 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#137 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#137 def check_asgn_alignment(outer_node, inner_node); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#126 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#126 def check_assignment(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/end_alignment.rb#158 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#158 def check_other_alignment(node); end end @@ -10498,34 +10683,34 @@ end # # good # puts 'Hello' # Return character is CR+LF on all platforms. # -# source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#40 +# source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#40 class RuboCop::Cop::Layout::EndOfLine < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#71 + # source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#71 def offense_message(line); end - # source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#47 + # source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#47 def on_new_investigation; end # If there is no LF on the last line, we don't care if there's no CR. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#67 + # source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#67 def unimportant_missing_cr?(index, last_line, line); end private - # source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#85 + # source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#85 def last_line(processed_source); end end -# source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#44 +# source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#44 RuboCop::Cop::Layout::EndOfLine::MSG_DETECTED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/end_of_line.rb#45 +# source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#45 RuboCop::Cop::Layout::EndOfLine::MSG_MISSING = T.let(T.unsafe(nil), String) # Checks for extra/unnecessary whitespace. @@ -10554,78 +10739,78 @@ RuboCop::Cop::Layout::EndOfLine::MSG_MISSING = T.let(T.unsafe(nil), String) # another_object.method(arg) # this is another comment # some_object.method(arg) # this is some comment # -# source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#31 +# source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#31 class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base include ::RuboCop::Cop::PrecedingFollowingAlignment include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#39 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#39 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#170 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#170 def align_column(asgn_token); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#147 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#147 def align_equal_sign(corrector, token, align_to); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#137 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#137 def align_equal_signs(range, corrector); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#52 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#52 def aligned_locations(locs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#103 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#103 def aligned_tok?(token); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#159 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#159 def all_relevant_assignment_lines(line_number); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#179 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#179 def allow_for_trailing_comments?; end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#72 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#72 def check_assignment(token); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#81 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#81 def check_other(token1, token2, ast); end - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#62 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#62 def check_tokens(ast, token1, token2); end # @yield [range_between(start_pos, end_pos)] # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#91 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#91 def extra_space_range(token1, token2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#133 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#133 def force_equal_sign_alignment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#111 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#111 def ignored_range?(ast, start_pos); end # Returns an array of ranges that should not be reported. It's the # extra spaces between the keys and values in a multiline hash, # since those are handled by the Layout/HashAlignment cop. # - # source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#118 + # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#118 def ignored_ranges(ast); end end -# source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#37 +# source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#37 RuboCop::Cop::Layout::ExtraSpacing::MSG_UNALIGNED_ASGN = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/extra_spacing.rb#36 +# source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#36 RuboCop::Cop::Layout::ExtraSpacing::MSG_UNNECESSARY = T.let(T.unsafe(nil), String) # Checks the indentation of the first argument in a method call. @@ -10765,85 +10950,85 @@ RuboCop::Cop::Layout::ExtraSpacing::MSG_UNNECESSARY = T.let(T.unsafe(nil), Strin # nested_first_param), # second_param # -# source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#147 +# source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#147 class RuboCop::Cop::Layout::FirstArgumentIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#222 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#222 def eligible_method_call?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#165 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#155 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#166 def on_super(node); end private - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#174 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#174 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#178 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#178 def bare_operator?(node); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#198 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#198 def base_indentation(node); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#226 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#226 def base_range(send_node, arg_node); end # Returns the column of the given range. For single line ranges, this # is simple. For ranges with line breaks, we look a the last code line. # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#238 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#238 def column_of(range); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#259 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#259 def comment_lines; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#276 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#276 def enable_layout_first_method_argument_line_break?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#271 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#271 def enforce_first_argument_with_fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#182 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#182 def message(arg_node); end - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#267 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#267 def on_new_investigation; end # Takes the line number of a given code line and returns a string # containing the previous line that's not a comment line or a blank # line. # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#250 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#250 def previous_code_line(line_number); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#170 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#170 def should_check?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#206 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#206 def special_inner_call_indentation?(node); end end -# source://rubocop/lib/rubocop/cop/layout/first_argument_indentation.rb#153 +# source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#153 RuboCop::Cop::Layout::FirstArgumentIndentation::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the first element in an array literal @@ -10921,54 +11106,54 @@ RuboCop::Cop::Layout::FirstArgumentIndentation::MSG = T.let(T.unsafe(nil), Strin # :completely_different # ] # -# source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#82 +# source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#82 class RuboCop::Cop::Layout::FirstArrayElementIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineElementIndentation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#91 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#91 def on_array(node); end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#97 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#104 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#97 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#97 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#108 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#108 def autocorrect(corrector, node); end # Returns the description of what the correct indentation is based on. # - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#146 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#146 def base_description(indent_base_type); end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#112 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#112 def brace_alignment_style; end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#116 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#116 def check(array_node, left_parenthesis); end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#130 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#130 def check_right_bracket(right_bracket, first_elem, left_bracket, left_parenthesis); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#182 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#182 def enforce_first_argument_with_fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#159 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#159 def message(base_description); end - # source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#167 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#167 def message_for_right_bracket(indent_base_type); end end -# source://rubocop/lib/rubocop/cop/layout/first_array_element_indentation.rb#88 +# source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#88 RuboCop::Cop::Layout::FirstArrayElementIndentation::MSG = T.let(T.unsafe(nil), String) # Checks for a line break before the first element in a @@ -11006,28 +11191,28 @@ RuboCop::Cop::Layout::FirstArrayElementIndentation::MSG = T.let(T.unsafe(nil), S # :b => :c # }] # -# source://rubocop/lib/rubocop/cop/layout/first_array_element_line_break.rb#43 +# source://rubocop//lib/rubocop/cop/layout/first_array_element_line_break.rb#43 class RuboCop::Cop::Layout::FirstArrayElementLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::FirstElementLineBreak extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_array_element_line_break.rb#49 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_line_break.rb#49 def on_array(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_array_element_line_break.rb#57 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_line_break.rb#57 def assignment_on_same_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_array_element_line_break.rb#62 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_line_break.rb#62 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/first_array_element_line_break.rb#47 +# source://rubocop//lib/rubocop/cop/layout/first_array_element_line_break.rb#47 RuboCop::Cop::Layout::FirstArrayElementLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the first key in a hash literal @@ -11135,62 +11320,62 @@ RuboCop::Cop::Layout::FirstArrayElementLineBreak::MSG = T.let(T.unsafe(nil), Str # d: 2 # }) # -# source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#113 +# source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#113 class RuboCop::Cop::Layout::FirstHashElementIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineElementIndentation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#126 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#133 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#122 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#122 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#126 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#126 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#137 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#137 def autocorrect(corrector, node); end # Returns the description of what the correct indentation is based on. # - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#191 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#191 def base_description(indent_base_type); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#141 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#141 def brace_alignment_style; end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#145 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#145 def check(hash_node, left_parenthesis); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#184 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#184 def check_based_on_longest_key(hash_node, left_brace, left_parenthesis); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#164 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#164 def check_right_brace(right_brace, first_pair, left_brace, left_parenthesis); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#227 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#227 def enforce_first_argument_with_fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#204 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#204 def message(base_description); end - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#212 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#212 def message_for_right_brace(indent_base_type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#178 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#178 def separator_style?(first_pair); end end -# source://rubocop/lib/rubocop/cop/layout/first_hash_element_indentation.rb#119 +# source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#119 RuboCop::Cop::Layout::FirstHashElementIndentation::MSG = T.let(T.unsafe(nil), String) # Checks for a line break before the first element in a @@ -11231,23 +11416,23 @@ RuboCop::Cop::Layout::FirstHashElementIndentation::MSG = T.let(T.unsafe(nil), St # c: 3 # }} # -# source://rubocop/lib/rubocop/cop/layout/first_hash_element_line_break.rb#46 +# source://rubocop//lib/rubocop/cop/layout/first_hash_element_line_break.rb#46 class RuboCop::Cop::Layout::FirstHashElementLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::FirstElementLineBreak extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_line_break.rb#52 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_line_break.rb#52 def on_hash(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_hash_element_line_break.rb#62 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_line_break.rb#62 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/first_hash_element_line_break.rb#50 +# source://rubocop//lib/rubocop/cop/layout/first_hash_element_line_break.rb#50 RuboCop::Cop::Layout::FirstHashElementLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks for a line break before the first argument in a @@ -11313,30 +11498,30 @@ RuboCop::Cop::Layout::FirstHashElementLineBreak::MSG = T.let(T.unsafe(nil), Stri # some_method(foo, bar, # baz) # -# source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#71 +# source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#71 class RuboCop::Cop::Layout::FirstMethodArgumentLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::FirstElementLineBreak include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#78 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#94 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#78 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#78 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#78 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#95 def on_super(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#99 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#99 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/first_method_argument_line_break.rb#76 +# source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#76 RuboCop::Cop::Layout::FirstMethodArgumentLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks for a line break before the first parameter in a @@ -11387,26 +11572,26 @@ RuboCop::Cop::Layout::FirstMethodArgumentLineBreak::MSG = T.let(T.unsafe(nil), S # do_something # end # -# source://rubocop/lib/rubocop/cop/layout/first_method_parameter_line_break.rb#56 +# source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#56 class RuboCop::Cop::Layout::FirstMethodParameterLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::FirstElementLineBreak extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_method_parameter_line_break.rb#62 + # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#62 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/first_method_parameter_line_break.rb#62 + # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#65 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/first_method_parameter_line_break.rb#69 + # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#69 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/first_method_parameter_line_break.rb#60 +# source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#60 RuboCop::Cop::Layout::FirstMethodParameterLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the first parameter in a method @@ -11446,40 +11631,40 @@ RuboCop::Cop::Layout::FirstMethodParameterLineBreak::MSG = T.let(T.unsafe(nil), # 123 # end # -# source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#44 +# source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#44 class RuboCop::Cop::Layout::FirstParameterIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineElementIndentation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#53 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#53 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#53 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#59 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#63 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#63 def autocorrect(corrector, node); end # Returns the description of what the correct indentation is based on. # - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#83 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#83 def base_description(_); end - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#67 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#67 def brace_alignment_style; end - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#71 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#71 def check(def_node); end - # source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#91 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#91 def message(base_description); end end -# source://rubocop/lib/rubocop/cop/layout/first_parameter_indentation.rb#50 +# source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#50 RuboCop::Cop::Layout::FirstParameterIndentation::MSG = T.let(T.unsafe(nil), String) # Check that the keys, separators, and values of a multi-line hash @@ -11645,7 +11830,7 @@ RuboCop::Cop::Layout::FirstParameterIndentation::MSG = T.let(T.unsafe(nil), Stri # :ba => baz # } # -# source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#178 +# source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#178 class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::HashAlignmentStyles include ::RuboCop::Cop::RangeHelp @@ -11653,122 +11838,122 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base # Returns the value of attribute column_deltas. # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#219 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#219 def column_deltas; end # Sets the attribute column_deltas # # @param value the value to set the attribute column_deltas to. # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#219 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#219 def column_deltas=(_arg0); end # Returns the value of attribute offenses_by. # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#219 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#219 def offenses_by; end # Sets the attribute offenses_by # # @param value the value to set the attribute offenses_by to. # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#219 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#219 def offenses_by=(_arg0); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#205 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#209 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#209 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#195 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#206 def on_super(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#207 def on_yield(node); end private - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#267 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#267 def add_offenses; end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#373 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#373 def adjust(corrector, delta, range); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#302 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#302 def alignment_for(pair); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#316 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#316 def alignment_for_colons; end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#312 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#312 def alignment_for_hash_rockets; end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#235 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#235 def argument_before_hash(hash_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#223 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#223 def autocorrect_incompatible_with_other_cops?(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#285 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#285 def check_delta(delta, node:, alignment:); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#248 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#248 def check_pairs(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#339 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#339 def correct_key_value(corrector, delta, key, value, separator); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#335 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#335 def correct_no_value(corrector, key_delta, key); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#320 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#320 def correct_node(corrector, node, delta); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#244 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#244 def double_splat?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#386 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#386 def enforce_first_argument_with_fixed_indentation?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#382 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#382 def good_alignment?(column_deltas); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#293 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#293 def ignore_hash_argument?(node); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#355 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#355 def new_alignment(key); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#275 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#275 def register_offenses_with_format(offenses, format); end - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#239 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#239 def reset!; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#391 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#391 def same_line?(node1, node2); end end -# source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#183 +# source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#183 RuboCop::Cop::Layout::HashAlignment::MESSAGES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/layout/hash_alignment.rb#193 +# source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#193 RuboCop::Cop::Layout::HashAlignment::SEPARATOR_ALIGNMENT_STYLES = T.let(T.unsafe(nil), Array) # Checks for the placement of the closing parenthesis @@ -11818,23 +12003,23 @@ RuboCop::Cop::Layout::HashAlignment::SEPARATOR_ALIGNMENT_STYLES = T.let(T.unsafe # 123, # ) # -# source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#53 +# source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#53 class RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#64 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#78 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#64 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#64 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#185 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#185 def add_correct_closing_paren(node, corrector); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#272 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#272 def add_correct_external_trailing_comma(node, corrector); end # Autocorrection note: @@ -11864,115 +12049,115 @@ class RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis < ::RuboCop::Cop:: # third_array_value, # ] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#108 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#108 def autocorrect(corrector, node); end # Closing parenthesis helpers. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#163 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#163 def end_keyword_before_closing_parenthesis?(parenthesized_send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#223 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#223 def exist_argument_between_heredoc_end_and_closing_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#290 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#290 def external_trailing_comma?(node); end # Returns nil if no trailing external comma. # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#295 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#295 def external_trailing_comma_offset_from_loc_end(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#138 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#138 def extract_heredoc(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#134 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#134 def extract_heredoc_argument(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#231 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#231 def find_most_bottom_of_heredoc_end(arguments); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#180 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#180 def fix_closing_parenthesis(node, corrector); end # External trailing comma helpers. # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#267 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#267 def fix_external_trailing_comma(node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#150 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#150 def heredoc_node?(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#198 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#198 def incorrect_parenthesis_removal_begin(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#214 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#214 def incorrect_parenthesis_removal_end(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#245 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#245 def internal_trailing_comma?(node); end # Returns nil if no trailing internal comma. # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#250 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#250 def internal_trailing_comma_offset_from_last_arg(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#116 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#116 def outermost_send_on_same_line(heredoc); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#189 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#189 def remove_incorrect_closing_paren(node, corrector); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#278 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#278 def remove_incorrect_external_trailing_comma(node, corrector); end # Internal trailing comma helpers. # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#239 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#239 def remove_internal_trailing_comma(node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#208 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#208 def safe_to_remove_line_containing_closing_paren?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#127 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#127 def send_missing_closing_parens?(parent, child, heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#154 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#154 def single_line_send_with_heredoc_receiver?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#306 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#306 def space?(pos); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#169 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#169 def subsequent_closing_parentheses_in_same_line?(outermost_send); end class << self - # source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#60 + # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#60 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#57 +# source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#57 RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the here document bodies. The bodies @@ -11993,77 +12178,77 @@ RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis::MSG = T.let(T.unsafe(ni # something # RUBY # -# source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#24 +# source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#24 class RuboCop::Cop::Layout::HeredocIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::Heredoc extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#36 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#36 def on_heredoc(node); end private - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#120 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#120 def adjust_minus(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#115 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#115 def adjust_squiggly(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#144 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#144 def base_indent_level(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#155 def heredoc_body(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#159 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#159 def heredoc_end(node); end # Returns '~', '-' or nil # - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#151 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#151 def heredoc_indent_type(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#126 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#126 def indented_body(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#133 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#133 def indented_end(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#91 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#91 def line_too_long?(node); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#103 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#103 def longest_line(lines); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#111 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#111 def max_line_length; end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#69 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#69 def message(heredoc_indent_type); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#57 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#57 def register_offense(node, heredoc_indent_type); end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#79 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#79 def type_message(indentation_width, current_indent_type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#107 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#107 def unlimited_heredoc_length?; end - # source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#87 + # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#87 def width_message(indentation_width); end end -# source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#32 +# source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#32 RuboCop::Cop::Layout::HeredocIndentation::TYPE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/heredoc_indentation.rb#34 +# source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#34 RuboCop::Cop::Layout::HeredocIndentation::WIDTH_MSG = T.let(T.unsafe(nil), String) # Checks for inconsistent indentation. @@ -12181,21 +12366,21 @@ RuboCop::Cop::Layout::HeredocIndentation::WIDTH_MSG = T.let(T.unsafe(nil), Strin # end # end # -# source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#121 +# source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#121 class RuboCop::Cop::Layout::IndentationConsistency < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#128 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#128 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#132 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#132 def on_kwbegin(node); end private - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#138 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#138 def autocorrect(corrector, node); end # Not all nodes define `bare_access_modifier?` (for example, @@ -12204,27 +12389,27 @@ class RuboCop::Cop::Layout::IndentationConsistency < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#145 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#145 def bare_access_modifier?(node); end # Returns an integer representing the correct indentation, or nil to # indicate that the correct indentation is that of the first child that # is not an access modifier. # - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#152 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#152 def base_column_for_normal_style(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#172 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#172 def check(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#187 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#187 def check_indented_internal_methods_style(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#180 + # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#180 def check_normal_style(node); end end -# source://rubocop/lib/rubocop/cop/layout/indentation_consistency.rb#126 +# source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#126 RuboCop::Cop::Layout::IndentationConsistency::MSG = T.let(T.unsafe(nil), String) # Checks that the indentation method is consistent. @@ -12255,43 +12440,43 @@ RuboCop::Cop::Layout::IndentationConsistency::MSG = T.let(T.unsafe(nil), String) # bar # end # -# source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#34 +# source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#34 class RuboCop::Cop::Layout::IndentationStyle < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#42 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#42 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#58 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#58 def autocorrect(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#82 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#82 def autocorrect_lambda_for_spaces(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#77 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#77 def autocorrect_lambda_for_tabs(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#66 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#66 def find_offense(line, lineno); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#88 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#88 def in_string_literal?(ranges, tabs_range); end - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#109 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#109 def message(_node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#92 + # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#92 def string_literal_ranges(ast); end end -# source://rubocop/lib/rubocop/cop/layout/indentation_style.rb#40 +# source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#40 RuboCop::Cop::Layout::IndentationStyle::MSG = T.let(T.unsafe(nil), String) # Checks for indentation that doesn't use the specified number of spaces. @@ -12332,7 +12517,7 @@ RuboCop::Cop::Layout::IndentationStyle::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#44 +# source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#44 class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -12342,126 +12527,126 @@ class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#56 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#56 def access_modifier?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#81 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#81 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#138 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#138 def on_case(case_node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#146 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#146 def on_case_match(case_match); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#95 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#95 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#104 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#119 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#121 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#121 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#121 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#126 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#69 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#69 def on_ensure(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#64 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#67 def on_for(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#156 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#156 def on_if(node, base = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#73 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#73 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#95 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#102 def on_module(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#81 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#93 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#64 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#64 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#60 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#60 def on_rescue(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#95 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#101 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#104 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#104 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#128 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#136 def on_until(node, base = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#128 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#128 def on_while(node, base = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#227 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#227 def access_modifier_indentation_style; end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#165 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#165 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#235 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#235 def check_assignment(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#255 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#255 def check_if(node, body, else_clause, base_loc); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#268 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#268 def check_indentation(base_loc, body_node, style = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#169 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#169 def check_members(base, members); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#193 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#193 def check_members_for_indented_internal_methods_style(members); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#199 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#199 def check_members_for_normal_style(base, members); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#340 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#340 def check_rescue?(rescue_node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#376 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#376 def configured_indentation_width; end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#207 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#207 def each_member(members); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#231 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#231 def indentation_consistency_style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#323 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#323 def indentation_to_check?(base_loc, body_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#219 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#219 def indented_internal_methods_style?; end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#380 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#380 def leftmost_modifier_of(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#302 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#302 def message(configured_indentation_width, indentation, name); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#359 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#359 def offending_range(body_node, indentation); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#278 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#278 def offense(body_node, indentation, style); end # Returns true if the given node is within another node that has @@ -12469,29 +12654,29 @@ class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#313 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#313 def other_offense_in_same_range?(node); end - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#181 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#181 def select_check_member(member); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#344 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#344 def skip_check?(base_loc, body_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#223 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#223 def special_modifier?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#367 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#367 def starts_with_access_modifier?(body_node); end end -# source://rubocop/lib/rubocop/cop/layout/indentation_width.rb#52 +# source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#52 RuboCop::Cop::Layout::IndentationWidth::MSG = T.let(T.unsafe(nil), String) # Checks for indentation of the first non-blank non-comment @@ -12508,26 +12693,26 @@ RuboCop::Cop::Layout::IndentationWidth::MSG = T.let(T.unsafe(nil), String) # def foo; end # end # -# source://rubocop/lib/rubocop/cop/layout/initial_indentation.rb#20 +# source://rubocop//lib/rubocop/cop/layout/initial_indentation.rb#20 class RuboCop::Cop::Layout::InitialIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/initial_indentation.rb#26 + # source://rubocop//lib/rubocop/cop/layout/initial_indentation.rb#26 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/initial_indentation.rb#36 + # source://rubocop//lib/rubocop/cop/layout/initial_indentation.rb#36 def first_token; end # @yield [range_between(space_range.begin_pos, token.begin_pos)] # - # source://rubocop/lib/rubocop/cop/layout/initial_indentation.rb#40 + # source://rubocop//lib/rubocop/cop/layout/initial_indentation.rb#40 def space_before(token); end end -# source://rubocop/lib/rubocop/cop/layout/initial_indentation.rb#24 +# source://rubocop//lib/rubocop/cop/layout/initial_indentation.rb#24 RuboCop::Cop::Layout::InitialIndentation::MSG = T.let(T.unsafe(nil), String) # Checks whether comments have a leading space after the @@ -12605,96 +12790,96 @@ RuboCop::Cop::Layout::InitialIndentation::MSG = T.let(T.unsafe(nil), String) # # good # # Some comment # -# source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#89 +# source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#89 class RuboCop::Cop::Layout::LeadingCommentSpace < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#95 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#95 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#149 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#149 def allow_doxygen_comment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#157 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#157 def allow_gemfile_ruby_comment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#173 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#173 def allow_rbs_inline_annotation?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#181 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#181 def allow_steep_annotation?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#119 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#119 def allowed_on_first_line?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#153 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#153 def doxygen_comment_style?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#161 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#161 def gemfile?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#169 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#169 def gemfile_ruby_comment?(comment); end - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#115 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#115 def hash_mark(expr); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#145 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#145 def rackup_config_file?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#141 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#141 def rackup_options?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#177 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#177 def rbs_inline_annotation?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#165 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#165 def ruby_comment_in_gemfile?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#123 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#123 def shebang?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#127 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#127 def shebang_continuation?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#185 + # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#185 def steep_annotation?(comment); end end -# source://rubocop/lib/rubocop/cop/layout/leading_comment_space.rb#93 +# source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#93 RuboCop::Cop::Layout::LeadingCommentSpace::MSG = T.let(T.unsafe(nil), String) # Checks for unnecessary leading blank lines at the beginning @@ -12722,15 +12907,15 @@ RuboCop::Cop::Layout::LeadingCommentSpace::MSG = T.let(T.unsafe(nil), String) # # (start of file) # # a comment # -# source://rubocop/lib/rubocop/cop/layout/leading_empty_lines.rb#30 +# source://rubocop//lib/rubocop/cop/layout/leading_empty_lines.rb#30 class RuboCop::Cop::Layout::LeadingEmptyLines < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/leading_empty_lines.rb#35 + # source://rubocop//lib/rubocop/cop/layout/leading_empty_lines.rb#35 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/layout/leading_empty_lines.rb#33 +# source://rubocop//lib/rubocop/cop/layout/leading_empty_lines.rb#33 RuboCop::Cop::Layout::LeadingEmptyLines::MSG = T.let(T.unsafe(nil), String) # Checks that strings broken over multiple lines (by a backslash) contain @@ -12770,48 +12955,48 @@ RuboCop::Cop::Layout::LeadingEmptyLines::MSG = T.let(T.unsafe(nil), String) # 'this text is too' \ # ' long' # -# source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#43 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#43 class RuboCop::Cop::Layout::LineContinuationLeadingSpace < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#63 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#63 def on_dstr(node); end private - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#122 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#122 def autocorrect(corrector, offense_range, insert_pos, spaces); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#115 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#115 def continuation?(line, line_num, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#147 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#147 def enforced_style_leading?; end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#85 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#85 def investigate(first_line, second_line, end_of_first_line); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#93 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#93 def investigate_leading_style(first_line, second_line, end_of_first_line); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#104 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#104 def investigate_trailing_style(first_line, second_line, end_of_first_line); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#127 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#127 def leading_offense_range(end_of_first_line, matches); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#139 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#139 def message(_range); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#81 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#81 def raw_lines(node); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#133 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#133 def trailing_offense_range(end_of_first_line, matches); end class << self @@ -12821,21 +13006,21 @@ class RuboCop::Cop::Layout::LineContinuationLeadingSpace < ::RuboCop::Cop::Base # takes the original string content and transforms it, rather than just modifying the # delimiters, in order to handle escaping for quotes within the string. # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#59 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#59 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#49 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#49 RuboCop::Cop::Layout::LineContinuationLeadingSpace::LEADING_STYLE_OFFENSE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#47 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#47 RuboCop::Cop::Layout::LineContinuationLeadingSpace::LINE_1_ENDING = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#48 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#48 RuboCop::Cop::Layout::LineContinuationLeadingSpace::LINE_2_BEGINNING = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/layout/line_continuation_leading_space.rb#50 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_leading_space.rb#50 RuboCop::Cop::Layout::LineContinuationLeadingSpace::TRAILING_STYLE_OFFENSE = T.let(T.unsafe(nil), Regexp) # Checks that the backslash of a line continuation is separated from @@ -12862,58 +13047,58 @@ RuboCop::Cop::Layout::LineContinuationLeadingSpace::TRAILING_STYLE_OFFENSE = T.l # 'b'\ # 'c' # -# source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#30 +# source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#30 class RuboCop::Cop::Layout::LineContinuationSpacing < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#34 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#34 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#81 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#81 def autocorrect(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#111 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#111 def comment_ranges(comments); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#65 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#65 def find_offensive_spacing(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#121 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#121 def ignore_range?(backtick_range); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#91 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#91 def ignored_literal_ranges(ast); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#130 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#130 def ignored_parent?(node); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#125 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#125 def ignored_ranges; end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#49 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#49 def investigate(line, line_number); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#115 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#115 def last_line(processed_source); end - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#73 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#73 def message(_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#136 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#136 def no_space_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_continuation_spacing.rb#140 + # source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#140 def space_style?; end end @@ -12983,50 +13168,50 @@ end # 'in two parts' # } # -# source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#74 +# source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#74 class RuboCop::Cop::Layout::LineEndStringConcatenationIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#97 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#97 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#83 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#83 def on_dstr(node); end private - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#137 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#137 def add_offense_and_correction(node, message); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#109 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#109 def always_indented?(dstr_node); end - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#128 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#128 def base_column(child); end - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#113 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#113 def check_aligned(children, start_index); end - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#122 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#122 def check_indented(children); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#103 + # source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#103 def strings_concatenated_with_backslash?(dstr_node); end end -# source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#79 +# source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#79 RuboCop::Cop::Layout::LineEndStringConcatenationIndentation::MSG_ALIGN = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#80 +# source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#80 RuboCop::Cop::Layout::LineEndStringConcatenationIndentation::MSG_INDENT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#81 +# source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#81 RuboCop::Cop::Layout::LineEndStringConcatenationIndentation::PARENT_TYPES_FOR_INDENTED = T.let(T.unsafe(nil), Array) # Checks the length of lines in the source code. @@ -13085,7 +13270,7 @@ RuboCop::Cop::Layout::LineEndStringConcatenationIndentation::PARENT_TYPES_FOR_IN # baz: "0000000000", # } # -# source://rubocop/lib/rubocop/cop/layout/line_length.rb#63 +# source://rubocop//lib/rubocop/cop/layout/line_length.rb#63 class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckLineBreakable include ::RuboCop::Cop::AllowedPattern @@ -13094,103 +13279,103 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::LineLengthHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#70 def max=(value); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#90 def on_array(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#74 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#74 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#93 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#94 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#83 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#83 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#91 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#102 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#102 def on_investigation_end; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#96 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#96 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#74 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#77 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#87 def on_potential_breakable_node(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#87 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#92 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#79 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#79 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#307 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#307 def allow_heredoc?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#315 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#315 def allow_string_split?; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#311 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#311 def allowed_heredoc; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#264 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#264 def allowed_line?(line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#179 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#179 def breakable_block_range(block_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#366 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#366 def breakable_dstr?(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#228 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#228 def breakable_dstr_begin_position(node); end # Returns the value of attribute breakable_range. # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#110 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#110 def breakable_range; end # Sets the attribute breakable_range # # @param value the value to set the attribute breakable_range to. # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#110 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#110 def breakable_range=(_arg0); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#187 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#187 def breakable_range_after_semicolon(semicolon_token); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#233 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#233 def breakable_range_by_line_index; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#170 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#170 def breakable_string?(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#237 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#237 def breakable_string_delimiters; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#200 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#200 def breakable_string_position(node); end # Locate where to break a string that is too long, ensuring that escape characters @@ -13198,76 +13383,76 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base # If the string contains spaces, use them to determine a place for a clean break; # otherwise, the string will be broken at the line length limit. # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#212 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#212 def breakable_string_range(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#342 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#342 def check_directive_line(line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#133 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#133 def check_for_breakable_block(block_node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#155 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#155 def check_for_breakable_dstr(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#112 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#112 def check_for_breakable_node(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#125 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#125 def check_for_breakable_semicolons(processed_source); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#143 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#143 def check_for_breakable_str(node); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#252 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#252 def check_line(line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#359 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#359 def check_uri_line(line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#292 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#292 def excess_range(uri_range, line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#319 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#319 def extract_heredocs(ast); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#241 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#241 def heredocs; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#245 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#245 def highlight_start(line); end # Find the largest possible substring of a string node to retain before a break # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#380 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#380 def largest_possible_string(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#338 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#338 def line_in_heredoc?(line_number); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#329 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#329 def line_in_permitted_heredoc?(line_number); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#303 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#303 def max; end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#274 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#274 def register_offense(loc, line, line_index, length: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#270 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#270 def shebang?(line, line_index); end - # source://rubocop/lib/rubocop/cop/layout/line_length.rb#371 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#371 def string_delimiter(node); end end -# source://rubocop/lib/rubocop/cop/layout/line_length.rb#72 +# source://rubocop//lib/rubocop/cop/layout/line_length.rb#72 RuboCop::Cop::Layout::LineLength::MSG = T.let(T.unsafe(nil), String) # Checks that the closing brace in an array literal is either @@ -13354,26 +13539,26 @@ RuboCop::Cop::Layout::LineLength::MSG = T.let(T.unsafe(nil), String) # [ :a, # :b ] # -# source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#91 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#91 class RuboCop::Cop::Layout::MultilineArrayBraceLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#109 + # source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#109 def on_array(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#103 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#103 RuboCop::Cop::Layout::MultilineArrayBraceLayout::ALWAYS_NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#106 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#106 RuboCop::Cop::Layout::MultilineArrayBraceLayout::ALWAYS_SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#99 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#99 RuboCop::Cop::Layout::MultilineArrayBraceLayout::NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_array_brace_layout.rb#95 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#95 RuboCop::Cop::Layout::MultilineArrayBraceLayout::SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) # Ensures that each item in a multi-line array @@ -13415,23 +13600,23 @@ RuboCop::Cop::Layout::MultilineArrayBraceLayout::SAME_LINE_MESSAGE = T.let(T.uns # bar # )] # -# source://rubocop/lib/rubocop/cop/layout/multiline_array_line_breaks.rb#47 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_line_breaks.rb#47 class RuboCop::Cop::Layout::MultilineArrayLineBreaks < ::RuboCop::Cop::Base include ::RuboCop::Cop::MultilineElementLineBreaks extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_array_line_breaks.rb#53 + # source://rubocop//lib/rubocop/cop/layout/multiline_array_line_breaks.rb#53 def on_array(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_array_line_breaks.rb#59 + # source://rubocop//lib/rubocop/cop/layout/multiline_array_line_breaks.rb#59 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/multiline_array_line_breaks.rb#51 +# source://rubocop//lib/rubocop/cop/layout/multiline_array_line_breaks.rb#51 RuboCop::Cop::Layout::MultilineArrayLineBreaks::MSG = T.let(T.unsafe(nil), String) # Checks whether the multiline assignments have a newline @@ -13485,35 +13670,35 @@ RuboCop::Cop::Layout::MultilineArrayLineBreaks::MSG = T.let(T.unsafe(nil), Strin # 'bar' * i # end # -# source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#60 +# source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#60 class RuboCop::Cop::Layout::MultilineAssignmentLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#72 + # source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#72 def check_assignment(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#81 + # source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#81 def check_by_enforced_style(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#90 + # source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#90 def check_new_line_offense(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#98 + # source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#98 def check_same_line_offense(node, rhs); end private - # source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#111 + # source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#111 def supported_types; end end -# source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#66 +# source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#66 RuboCop::Cop::Layout::MultilineAssignmentLayout::NEW_LINE_OFFENSE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_assignment_layout.rb#69 +# source://rubocop//lib/rubocop/cop/layout/multiline_assignment_layout.rb#69 RuboCop::Cop::Layout::MultilineAssignmentLayout::SAME_LINE_OFFENSE = T.let(T.unsafe(nil), String) # Checks whether the multiline do end blocks have a newline @@ -13562,63 +13747,63 @@ RuboCop::Cop::Layout::MultilineAssignmentLayout::SAME_LINE_OFFENSE = T.let(T.uns # bar(i) # } # -# source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#51 +# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#51 class RuboCop::Cop::Layout::MultilineBlockLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#59 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#59 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#59 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#71 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#98 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#98 def add_offense_for_expression(node, expr, msg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#75 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#75 def args_on_beginning_line?(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#105 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#105 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#120 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#120 def autocorrect_arguments(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#130 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#130 def autocorrect_body(corrector, node, block_body); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#142 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#142 def block_arg_string(node, args); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#90 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#90 def characters_needed_for_space_and_pipes(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#154 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#154 def include_trailing_comma?(args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#79 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#79 def line_break_necessary_in_args?(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#83 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#83 def needed_length_for_args(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#56 +# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#56 RuboCop::Cop::Layout::MultilineBlockLayout::ARG_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#55 +# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#55 RuboCop::Cop::Layout::MultilineBlockLayout::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_block_layout.rb#57 +# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#57 RuboCop::Cop::Layout::MultilineBlockLayout::PIPE_SIZE = T.let(T.unsafe(nil), Integer) # Checks that the closing brace in a hash literal is either @@ -13705,26 +13890,26 @@ RuboCop::Cop::Layout::MultilineBlockLayout::PIPE_SIZE = T.let(T.unsafe(nil), Int # { a: 1, # b: 2 } # -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#91 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#91 class RuboCop::Cop::Layout::MultilineHashBraceLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#109 + # source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#109 def on_hash(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#103 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#103 RuboCop::Cop::Layout::MultilineHashBraceLayout::ALWAYS_NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#106 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#106 RuboCop::Cop::Layout::MultilineHashBraceLayout::ALWAYS_SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#99 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#99 RuboCop::Cop::Layout::MultilineHashBraceLayout::NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#95 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#95 RuboCop::Cop::Layout::MultilineHashBraceLayout::SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) # Ensures that each key in a multi-line hash @@ -13765,28 +13950,28 @@ RuboCop::Cop::Layout::MultilineHashBraceLayout::SAME_LINE_MESSAGE = T.let(T.unsa # c: 3, # }} # -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#46 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#46 class RuboCop::Cop::Layout::MultilineHashKeyLineBreaks < ::RuboCop::Cop::Base include ::RuboCop::Cop::MultilineElementLineBreaks extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#52 + # source://rubocop//lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#52 def on_hash(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#68 + # source://rubocop//lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#68 def ignore_last_element?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#64 + # source://rubocop//lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#64 def starts_with_curly_brace?(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#50 +# source://rubocop//lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb#50 RuboCop::Cop::Layout::MultilineHashKeyLineBreaks::MSG = T.let(T.unsafe(nil), String) # Ensures that each argument in a multi-line method call @@ -13861,23 +14046,23 @@ RuboCop::Cop::Layout::MultilineHashKeyLineBreaks::MSG = T.let(T.unsafe(nil), Str # } # ) # -# source://rubocop/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#80 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#80 class RuboCop::Cop::Layout::MultilineMethodArgumentLineBreaks < ::RuboCop::Cop::Base include ::RuboCop::Cop::MultilineElementLineBreaks extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#86 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#86 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#105 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#105 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#84 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#84 RuboCop::Cop::Layout::MultilineMethodArgumentLineBreaks::MSG = T.let(T.unsafe(nil), String) # Checks that the closing brace in a method call is either @@ -13964,41 +14149,41 @@ RuboCop::Cop::Layout::MultilineMethodArgumentLineBreaks::MSG = T.let(T.unsafe(ni # foo(a, # b) # -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#91 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#91 class RuboCop::Cop::Layout::MultilineMethodCallBraceLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#109 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#109 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#115 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#115 def children(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#119 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#119 def ignored_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#123 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#123 def single_line_ignoring_receiver?(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#103 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#103 RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::ALWAYS_NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#106 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#106 RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::ALWAYS_SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#99 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#99 RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#95 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#95 RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) # Checks the indentation of the method name part in method calls @@ -14043,7 +14228,7 @@ RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::SAME_LINE_MESSAGE = T.let( # .b # .c # -# source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#49 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#49 class RuboCop::Cop::Layout::MultilineMethodCallIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::Alignment @@ -14052,92 +14237,92 @@ class RuboCop::Cop::Layout::MultilineMethodCallIndentation < ::RuboCop::Cop::Bas # @raise [ValidationError] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#55 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#55 def validate_config; end private - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#136 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#136 def align_with_base_message(rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#152 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#152 def alignment_base(node, rhs, given_style); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#67 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#67 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#140 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#140 def base_source; end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#101 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#101 def extra_indentation(given_style, parent); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#226 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#226 def find_multiline_block_chain_node(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#237 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#237 def first_call_has_a_dot(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#217 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#217 def get_dot_right_above(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#113 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#113 def message(node, lhs, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#144 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#144 def no_base_message(lhs, rhs, node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#87 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#87 def offending_range(node, lhs, rhs, given_style); end # @yield [operation_rhs.first_argument] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#247 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#247 def operation_rhs(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#257 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#257 def operator_rhs?(node, receiver); end # a # .b # .c # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#193 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#193 def receiver_alignment_base(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#131 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#131 def relative_to_receiver_message(rhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#71 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#71 def relevant_node?(send_node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#75 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#75 def right_hand_side(send_node); end # a.b # .c # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#181 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#181 def semantic_alignment_base(node, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#201 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#201 def semantic_alignment_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#127 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#127 def should_align_with_base?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#123 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#123 def should_indent_relative_to_receiver?; end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_call_indentation.rb#163 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#163 def syntactic_alignment_base(lhs, rhs); end end @@ -14237,29 +14422,29 @@ end # b) # end # -# source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#103 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#103 class RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#121 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#121 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#121 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#124 def on_defs(node); end end -# source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#115 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#115 RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::ALWAYS_NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#118 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#118 RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::ALWAYS_SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#111 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#111 RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::NEW_LINE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#107 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#107 RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::SAME_LINE_MESSAGE = T.let(T.unsafe(nil), String) # Ensures that each parameter in a multi-line method definition @@ -14311,23 +14496,23 @@ RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::SAME_LINE_MESSAGE = # }) # end # -# source://rubocop/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#57 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#57 class RuboCop::Cop::Layout::MultilineMethodParameterLineBreaks < ::RuboCop::Cop::Base include ::RuboCop::Cop::MultilineElementLineBreaks extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#63 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#63 def on_def(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#71 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#71 def ignore_last_element?; end end -# source://rubocop/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#61 +# source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#61 RuboCop::Cop::Layout::MultilineMethodParameterLineBreaks::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of the right hand side operand in binary operations that @@ -14366,49 +14551,49 @@ RuboCop::Cop::Layout::MultilineMethodParameterLineBreaks::MSG = T.let(T.unsafe(n # something_else # end # -# source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#43 +# source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#43 class RuboCop::Cop::Layout::MultilineOperationIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::MultilineExpressionIndentation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#49 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#49 def on_and(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#53 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#53 def on_or(node); end # @raise [ValidationError] # - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#57 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#57 def validate_config; end private - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#68 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#68 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#78 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#78 def check_and_or(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#109 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#109 def message(node, lhs, rhs); end - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#83 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#83 def offending_range(node, lhs, rhs, given_style); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#72 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#72 def relevant_node?(node); end - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#120 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#120 def right_hand_side(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/multiline_operation_indentation.rb#96 + # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#96 def should_align?(node, rhs, given_style); end end @@ -14476,41 +14661,41 @@ end # 123 # end # -# source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#70 +# source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#70 class RuboCop::Cop::Layout::ParameterAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#80 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#80 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#80 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#85 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#89 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#89 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#101 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#101 def base_column(node, args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#97 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#97 def fixed_indentation?; end - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#93 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#93 def message(_node); end - # source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#112 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#112 def target_method_lineno(node); end end -# source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#74 +# source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#74 RuboCop::Cop::Layout::ParameterAlignment::ALIGN_PARAMS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/parameter_alignment.rb#77 +# source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#77 RuboCop::Cop::Layout::ParameterAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), String) # Checks whether certain expressions, e.g. method calls, that could fit @@ -14550,71 +14735,71 @@ RuboCop::Cop::Layout::ParameterAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil) # # good # foo(a) { |x| puts x } # -# source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#45 +# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#45 class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment include ::RuboCop::Cop::CheckSingleLineSuitability extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#56 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#66 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#52 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#52 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#56 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#56 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#74 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#74 def check_assignment(node, _rhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#104 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#104 def configured_to_not_be_inspected?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#121 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#121 def convertible_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#70 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#70 def end_with_percent_blank_string?(processed_source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#98 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#98 def index_access_call_chained?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#87 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#87 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#111 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#111 def other_cop_takes_precedence?(node); end - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#80 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#80 def register_offense(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#94 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#94 def require_backslash?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#117 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#117 def single_line_block_chain_enabled?; end end -# source://rubocop/lib/rubocop/cop/layout/redundant_line_break.rb#50 +# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#50 RuboCop::Cop::Layout::RedundantLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks whether the rescue and ensure keywords are aligned @@ -14636,92 +14821,92 @@ RuboCop::Cop::Layout::RedundantLineBreak::MSG = T.let(T.unsafe(nil), String) # puts 'error' # end # -# source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#24 +# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#24 class RuboCop::Cop::Layout::RescueEnsureAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::EndKeywordAlignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#40 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#40 def on_ensure(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#44 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#44 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#36 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#36 def on_resbody(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#187 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#187 def access_modifier?(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#164 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#164 def access_modifier_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#150 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#150 def aligned_with_leading_dot?(do_keyword_line, send_node_loc, rescue_keyword_column); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#137 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#137 def aligned_with_line_break_method?(ancestor_node, node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#196 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#196 def alignment_location(alignment_node); end # We will use ancestor or wrapper with access modifier. # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#117 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#117 def alignment_node(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#96 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#96 def alignment_source(node, starting_loc); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#133 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#133 def ancestor_node(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#156 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#156 def assignment_node(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#73 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#73 def autocorrect(corrector, node, alignment_location); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#204 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#204 def begin_end_alignment_style; end # Check alignment of node with rescue or ensure modifiers. # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#57 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#57 def check(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#83 def format_message(alignment_node, alignment_loc, kw_loc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#174 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#174 def modifier?(node); end - # source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#180 + # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#180 def whitespace_range(node); end end -# source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#34 +# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#34 RuboCop::Cop::Layout::RescueEnsureAlignment::ALTERNATIVE_ACCESS_MODIFIERS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#32 +# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#32 RuboCop::Cop::Layout::RescueEnsureAlignment::ANCESTOR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#33 +# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#33 RuboCop::Cop::Layout::RescueEnsureAlignment::ANCESTOR_TYPES_WITH_ACCESS_MODIFIERS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/layout/rescue_ensure_alignment.rb#29 +# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#29 RuboCop::Cop::Layout::RescueEnsureAlignment::MSG = T.let(T.unsafe(nil), String) # Checks if method calls are chained onto single line blocks. It considers that a @@ -14740,37 +14925,37 @@ RuboCop::Cop::Layout::RescueEnsureAlignment::MSG = T.let(T.unsafe(nil), String) # item.cond? # end.join('-') # -# source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#22 +# source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#22 class RuboCop::Cop::Layout::SingleLineBlockChain < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#32 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#36 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#32 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#32 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#56 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#56 def call_method_after_block?(node, dot_range, closing_block_delimiter_line_num); end - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#40 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#40 def offending_range(node); end - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#62 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#62 def selector_range(node); end class << self - # source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#28 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#28 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/single_line_block_chain.rb#26 +# source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#26 RuboCop::Cop::Layout::SingleLineBlockChain::MSG = T.let(T.unsafe(nil), String) # Checks for colon (:) not followed by some kind of space. @@ -14784,28 +14969,28 @@ RuboCop::Cop::Layout::SingleLineBlockChain::MSG = T.let(T.unsafe(nil), String) # # good # def f(a:, b: 2); {a: 3}; end # -# source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#16 +# source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#16 class RuboCop::Cop::Layout::SpaceAfterColon < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#29 + # source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#29 def on_kwoptarg(node); end - # source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#21 + # source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#21 def on_pair(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#43 + # source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#43 def followed_by_space?(colon); end - # source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#39 + # source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#39 def register_offense(colon); end end -# source://rubocop/lib/rubocop/cop/layout/space_after_colon.rb#19 +# source://rubocop//lib/rubocop/cop/layout/space_after_colon.rb#19 RuboCop::Cop::Layout::SpaceAfterColon::MSG = T.let(T.unsafe(nil), String) # Checks for comma (,) not followed by some kind of space. @@ -14820,22 +15005,22 @@ RuboCop::Cop::Layout::SpaceAfterColon::MSG = T.let(T.unsafe(nil), String) # [1, 2] # { foo:bar, } # -# source://rubocop/lib/rubocop/cop/layout/space_after_comma.rb#17 +# source://rubocop//lib/rubocop/cop/layout/space_after_comma.rb#17 class RuboCop::Cop::Layout::SpaceAfterComma < ::RuboCop::Cop::Base include ::RuboCop::Cop::SpaceAfterPunctuation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_after_comma.rb#26 + # source://rubocop//lib/rubocop/cop/layout/space_after_comma.rb#26 def kind(token); end - # source://rubocop/lib/rubocop/cop/layout/space_after_comma.rb#21 + # source://rubocop//lib/rubocop/cop/layout/space_after_comma.rb#21 def space_style_before_rcurly; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_after_comma.rb#32 + # source://rubocop//lib/rubocop/cop/layout/space_after_comma.rb#32 def before_semicolon?(token); end end @@ -14851,19 +15036,19 @@ end # def func(x) end # def method=(y) end # -# source://rubocop/lib/rubocop/cop/layout/space_after_method_name.rb#17 +# source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#17 class RuboCop::Cop::Layout::SpaceAfterMethodName < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_after_method_name.rb#23 + # source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#23 def on_def(node); end - # source://rubocop/lib/rubocop/cop/layout/space_after_method_name.rb#23 + # source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#35 def on_defs(node); end end -# source://rubocop/lib/rubocop/cop/layout/space_after_method_name.rb#21 +# source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#21 RuboCop::Cop::Layout::SpaceAfterMethodName::MSG = T.let(T.unsafe(nil), String) # Checks for space after `!`. @@ -14875,26 +15060,26 @@ RuboCop::Cop::Layout::SpaceAfterMethodName::MSG = T.let(T.unsafe(nil), String) # # good # !something # -# source://rubocop/lib/rubocop/cop/layout/space_after_not.rb#14 +# source://rubocop//lib/rubocop/cop/layout/space_after_not.rb#14 class RuboCop::Cop::Layout::SpaceAfterNot < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_after_not.rb#21 + # source://rubocop//lib/rubocop/cop/layout/space_after_not.rb#21 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_after_not.rb#33 + # source://rubocop//lib/rubocop/cop/layout/space_after_not.rb#33 def whitespace_after_operator?(node); end end -# source://rubocop/lib/rubocop/cop/layout/space_after_not.rb#18 +# source://rubocop//lib/rubocop/cop/layout/space_after_not.rb#18 RuboCop::Cop::Layout::SpaceAfterNot::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_after_not.rb#19 +# source://rubocop//lib/rubocop/cop/layout/space_after_not.rb#19 RuboCop::Cop::Layout::SpaceAfterNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for semicolon (;) not followed by some kind of space. @@ -14906,15 +15091,15 @@ RuboCop::Cop::Layout::SpaceAfterNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good # x = 1; y = 2 # -# source://rubocop/lib/rubocop/cop/layout/space_after_semicolon.rb#14 +# source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#14 class RuboCop::Cop::Layout::SpaceAfterSemicolon < ::RuboCop::Cop::Base include ::RuboCop::Cop::SpaceAfterPunctuation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_after_semicolon.rb#23 + # source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#23 def kind(token); end - # source://rubocop/lib/rubocop/cop/layout/space_after_semicolon.rb#18 + # source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#18 def space_style_before_rcurly; end end @@ -14939,59 +15124,59 @@ end # {}.each { | x, y | puts x } # ->( x, y ) { puts x } # -# source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#27 +# source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#27 class RuboCop::Cop::Layout::SpaceAroundBlockParameters < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#32 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#32 def on_block(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#65 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#65 def check_after_closing_pipe(arguments); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#125 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#125 def check_arg(arg); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#103 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#103 def check_closing_pipe_space(arguments, closing_pipe); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#121 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#121 def check_each_arg(args); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#56 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#56 def check_inside_pipes(arguments); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#150 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#150 def check_no_space(space_begin_pos, space_end_pos, msg); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#73 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#73 def check_no_space_style_inside_pipes(arguments); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#92 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#92 def check_opening_pipe_space(arguments, opening_pipe); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#136 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#136 def check_space(space_begin_pos, space_end_pos, range, msg, node = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#85 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#85 def check_space_style_inside_pipes(arguments); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#113 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#113 def last_end_pos_inside_pipes(arguments, range); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#44 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#44 def pipes(arguments); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#48 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#48 def pipes?(arguments); end - # source://rubocop/lib/rubocop/cop/layout/space_around_block_parameters.rb#52 + # source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#52 def style_parameter_name; end end @@ -15019,42 +15204,42 @@ end # # do something... # end # -# source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#30 +# source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#30 class RuboCop::Cop::Layout::SpaceAroundEqualsInParameterDefault < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#38 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#38 def on_optarg(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#67 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#67 def autocorrect(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#46 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#46 def check_optarg(arg, equals, value); end - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#58 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#58 def incorrect_style_detected(arg, value); end - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#83 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#83 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#79 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#79 def no_surrounding_space?(arg, equals); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#75 + # source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#75 def space_on_both_sides?(arg, equals); end end -# source://rubocop/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#36 +# source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#36 RuboCop::Cop::Layout::SpaceAroundEqualsInParameterDefault::MSG = T.let(T.unsafe(nil), String) # Checks the spacing around the keywords. @@ -15079,190 +15264,190 @@ RuboCop::Cop::Layout::SpaceAroundEqualsInParameterDefault::MSG = T.let(T.unsafe( # # something = 123 if test # -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#27 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#27 class RuboCop::Cop::Layout::SpaceAroundKeyword < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#40 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#40 def on_and(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#44 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#44 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#48 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#48 def on_break(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#52 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#52 def on_case(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#56 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#56 def on_case_match(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#156 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#156 def on_defined?(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#60 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#60 def on_ensure(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#64 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#64 def on_for(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#68 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#68 def on_if(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#72 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#72 def on_if_guard(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#76 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#76 def on_in_pattern(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#80 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#80 def on_kwbegin(node); end # Handle one-line pattern matching syntax (`in`) with `Parser::Ruby27`. # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#85 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#85 def on_match_pattern(node); end # Handle one-line pattern matching syntax (`in`) with `Parser::Ruby30`. # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#92 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#92 def on_match_pattern_p(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#96 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#96 def on_next(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#100 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#100 def on_or(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#104 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#104 def on_postexe(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#108 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#108 def on_preexe(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#112 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#112 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#116 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#116 def on_rescue(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#120 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#120 def on_return(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#124 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#124 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#128 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#128 def on_super(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#136 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#136 def on_unless_guard(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#140 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#140 def on_until(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#144 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#144 def on_when(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#148 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#148 def on_while(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#152 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#152 def on_yield(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#132 def on_zsuper(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#235 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#235 def accept_left_parenthesis?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#239 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#239 def accept_left_square_bracket?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#243 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#243 def accept_namespace_operator?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#228 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#228 def accepted_opening_delimiter?(range, char); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#162 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#162 def check(node, locations, begin_keyword = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#177 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#177 def check_begin(node, range, begin_keyword); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#183 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#183 def check_end(node, range, begin_keyword); end - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#196 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#196 def check_keyword(node, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#192 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#192 def do?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#251 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#251 def namespace_operator?(range, pos); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#255 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#255 def preceded_by_operator?(node, _range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#247 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#247 def safe_navigation_call?(range, pos); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#217 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#217 def space_after_missing?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#210 + # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#210 def space_before_missing?(range); end end -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#36 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#36 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_LEFT_PAREN = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#37 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#37 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_LEFT_SQUARE_BRACKET = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#38 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#38 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_NAMESPACE_OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#33 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#33 RuboCop::Cop::Layout::SpaceAroundKeyword::DO = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#31 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#31 RuboCop::Cop::Layout::SpaceAroundKeyword::MSG_AFTER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#30 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#30 RuboCop::Cop::Layout::SpaceAroundKeyword::MSG_BEFORE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#35 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#35 RuboCop::Cop::Layout::SpaceAroundKeyword::NAMESPACE_OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_keyword.rb#34 +# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#34 RuboCop::Cop::Layout::SpaceAroundKeyword::SAFE_NAVIGATION = T.let(T.unsafe(nil), String) # Checks method call operators to not have spaces around them. @@ -15296,39 +15481,39 @@ RuboCop::Cop::Layout::SpaceAroundKeyword::SAFE_NAVIGATION = T.let(T.unsafe(nil), # RuboCop::Cop::Base # ::RuboCop::Cop # -# source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#37 +# source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#37 class RuboCop::Cop::Layout::SpaceAroundMethodCallOperator < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#53 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#53 def on_const(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#45 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#51 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#45 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#45 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#87 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#87 def check_space(begin_pos, end_pos); end - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#67 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#67 def check_space_after_dot(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#81 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#81 def check_space_after_double_colon(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#61 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#61 def check_space_before_dot(node); end end -# source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#43 +# source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#43 RuboCop::Cop::Layout::SpaceAroundMethodCallOperator::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_method_call_operator.rb#41 +# source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#41 RuboCop::Cop::Layout::SpaceAroundMethodCallOperator::SPACES_REGEXP = T.let(T.unsafe(nil), Regexp) # Checks that operators have space around them, except for ** which @@ -15387,153 +15572,153 @@ RuboCop::Cop::Layout::SpaceAroundMethodCallOperator::SPACES_REGEXP = T.let(T.uns # # good # 1 / 48r # -# source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#67 +# source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#67 class RuboCop::Cop::Layout::SpaceAroundOperators < ::RuboCop::Cop::Base include ::RuboCop::Cop::PrecedingFollowingAlignment include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RationalLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#155 def on_and(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#163 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#115 def on_assignment(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#132 def on_binary(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#157 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#124 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#124 def on_class(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#160 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#161 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#92 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#92 def on_if(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#159 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#156 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#158 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#148 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#148 def on_match_pattern(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#164 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#154 def on_or(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#162 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#84 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#84 def on_pair(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#99 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#99 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#80 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#80 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#105 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#105 def on_send(node); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#140 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#140 def on_setter_method(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#258 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#258 def align_hash_cop_config; end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#197 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#197 def autocorrect(corrector, range, right_operand); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#178 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#178 def check_operator(type, operator, right_operand); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#211 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#211 def enclose_operator_with_space(corrector, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#238 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#238 def excess_leading_space?(type, operator, with_space); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#253 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#253 def excess_trailing_space?(right_operand, with_space); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#276 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#276 def force_equal_sign_alignment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#262 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#262 def hash_table_style?; end # @yield [msg] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#192 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#192 def offense(type, operator, with_space, right_operand); end - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#224 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#224 def offense_message(type, operator, with_space, right_operand); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#174 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#174 def operator_with_regular_syntax?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#168 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#168 def regular_operator?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#280 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#280 def should_not_have_surrounding_space?(operator, right_operand); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#266 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#266 def space_around_exponent_operator?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#270 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#270 def space_around_slash_operator?(right_operand); end class << self - # source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#76 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#76 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#74 +# source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#74 RuboCop::Cop::Layout::SpaceAroundOperators::EXCESSIVE_SPACE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_around_operators.rb#73 +# source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#73 RuboCop::Cop::Layout::SpaceAroundOperators::IRREGULAR_METHODS = T.let(T.unsafe(nil), Array) # Checks that block braces have or don't have a space before the opening @@ -15572,64 +15757,64 @@ RuboCop::Cop::Layout::SpaceAroundOperators::IRREGULAR_METHODS = T.let(T.unsafe(n # # good # 7.times{} # -# source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#44 +# source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#44 class RuboCop::Cop::Layout::SpaceBeforeBlockBraces < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#56 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#56 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#56 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#79 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#133 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#133 def autocorrect(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#153 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#153 def block_delimiters_style; end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#83 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#83 def check_empty(left_brace, space_plus_brace, used_style); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#109 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#109 def check_non_empty(left_brace, space_plus_brace, used_style); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#149 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#149 def conflict_with_block_delimiters?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#157 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#157 def empty_braces?(loc); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#101 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#101 def handle_different_styles_for_empty_braces(used_style); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#124 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#124 def space_detected(left_brace, space_plus_brace); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#117 def space_missing(left_brace); end - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#140 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#140 def style_for_empty_braces; end class << self - # source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#52 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#52 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#50 +# source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#50 RuboCop::Cop::Layout::SpaceBeforeBlockBraces::DETECTED_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_before_block_braces.rb#49 +# source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#49 RuboCop::Cop::Layout::SpaceBeforeBlockBraces::MISSING_MSG = T.let(T.unsafe(nil), String) # Checks for space between the name of a receiver and a left @@ -15643,40 +15828,40 @@ RuboCop::Cop::Layout::SpaceBeforeBlockBraces::MISSING_MSG = T.let(T.unsafe(nil), # # good # collection[index_or_key] # -# source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#17 +# source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#17 class RuboCop::Cop::Layout::SpaceBeforeBrackets < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#24 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#24 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#48 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#48 def dot_before_brackets?(node, receiver_end_pos, selector_begin_pos); end - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#35 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#35 def offense_range(node, begin_pos); end - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#54 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#54 def offense_range_for_assignment(node, begin_pos); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#67 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#67 def reference_variable_with_brackets?(node); end - # source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#63 + # source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#63 def register_offense(range); end end -# source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#21 +# source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#21 RuboCop::Cop::Layout::SpaceBeforeBrackets::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_before_brackets.rb#22 +# source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#22 RuboCop::Cop::Layout::SpaceBeforeBrackets::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for comma (,) preceded by space. @@ -15692,13 +15877,13 @@ RuboCop::Cop::Layout::SpaceBeforeBrackets::RESTRICT_ON_SEND = T.let(T.unsafe(nil # a(1, 2) # each { |a, b| } # -# source://rubocop/lib/rubocop/cop/layout/space_before_comma.rb#19 +# source://rubocop//lib/rubocop/cop/layout/space_before_comma.rb#19 class RuboCop::Cop::Layout::SpaceBeforeComma < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SpaceBeforePunctuation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_comma.rb#23 + # source://rubocop//lib/rubocop/cop/layout/space_before_comma.rb#23 def kind(token); end end @@ -15712,15 +15897,15 @@ end # # good # 1 + 1 # this operation does ... # -# source://rubocop/lib/rubocop/cop/layout/space_before_comment.rb#15 +# source://rubocop//lib/rubocop/cop/layout/space_before_comment.rb#15 class RuboCop::Cop::Layout::SpaceBeforeComment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_comment.rb#20 + # source://rubocop//lib/rubocop/cop/layout/space_before_comment.rb#20 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/layout/space_before_comment.rb#18 +# source://rubocop//lib/rubocop/cop/layout/space_before_comment.rb#18 RuboCop::Cop::Layout::SpaceBeforeComment::MSG = T.let(T.unsafe(nil), String) # Checks that exactly one space is used between a method name and the @@ -15741,42 +15926,42 @@ RuboCop::Cop::Layout::SpaceBeforeComment::MSG = T.let(T.unsafe(nil), String) # something y, z # something 'hello' # -# source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#24 +# source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#24 class RuboCop::Cop::Layout::SpaceBeforeFirstArg < ::RuboCop::Cop::Base include ::RuboCop::Cop::PrecedingFollowingAlignment include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#35 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#47 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#35 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#35 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#55 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#55 def expect_params_after_method_name?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#64 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#64 def no_space_between_method_name_and_first_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#51 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#51 def regular_method_call_with_arguments?(node); end class << self - # source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#31 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#31 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/layout/space_before_first_arg.rb#29 +# source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#29 RuboCop::Cop::Layout::SpaceBeforeFirstArg::MSG = T.let(T.unsafe(nil), String) # Checks for semicolon (;) preceded by space. @@ -15788,13 +15973,13 @@ RuboCop::Cop::Layout::SpaceBeforeFirstArg::MSG = T.let(T.unsafe(nil), String) # # good # x = 1; y = 2 # -# source://rubocop/lib/rubocop/cop/layout/space_before_semicolon.rb#14 +# source://rubocop//lib/rubocop/cop/layout/space_before_semicolon.rb#14 class RuboCop::Cop::Layout::SpaceBeforeSemicolon < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SpaceBeforePunctuation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_before_semicolon.rb#18 + # source://rubocop//lib/rubocop/cop/layout/space_before_semicolon.rb#18 def kind(token); end end @@ -15814,41 +15999,41 @@ end # # good # a = -> (x, y) { x + y } # -# source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#22 +# source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#22 class RuboCop::Cop::Layout::SpaceInLambdaLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#30 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#30 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#50 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#50 def arrow_lambda_with_args?(node); end - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#72 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#72 def lambda_arguments(node); end - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#65 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#65 def range_of_offense(node); end - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#58 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#58 def space_after_arrow(lambda_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#54 + # source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#54 def space_after_arrow?(lambda_node); end end -# source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#28 +# source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#28 RuboCop::Cop::Layout::SpaceInLambdaLiteral::MSG_REQUIRE_NO_SPACE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_in_lambda_literal.rb#27 +# source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#27 RuboCop::Cop::Layout::SpaceInLambdaLiteral::MSG_REQUIRE_SPACE = T.let(T.unsafe(nil), String) # Checks that brackets used for array literals have or don't have @@ -15917,83 +16102,83 @@ RuboCop::Cop::Layout::SpaceInLambdaLiteral::MSG_REQUIRE_SPACE = T.let(T.unsafe(n # foo = [ ] # bar = [ ] # -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#76 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#76 class RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#84 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#84 def on_array(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#115 def array_brackets(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#101 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#101 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#223 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#223 def compact(corrector, bracket, side); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#209 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#209 def compact_corrections(corrector, node, left, right); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#201 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#201 def compact_offense(node, token, side: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#163 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#163 def compact_offenses(node, left, right, start_ok, end_ok); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#124 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#124 def empty_config; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#132 def end_has_own_line?(token); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#139 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#139 def index_for(node, token); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#147 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#147 def issue_offenses(node, left, right, start_ok, end_ok); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#143 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#143 def line_and_column_for(token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#184 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#184 def multi_dimensional_array?(node, token, side: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#195 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#195 def next_to_bracket?(token, side: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#159 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#159 def next_to_comment?(node, token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#128 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#128 def next_to_newline?(node, token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#176 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#176 def qualifies_for_compact?(node, token, side: T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#82 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#82 RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets::EMPTY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#81 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#81 RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets::MSG = T.let(T.unsafe(nil), String) # Checks for unnecessary additional spaces inside array percent literals @@ -16009,29 +16194,29 @@ RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets::MSG = T.let(T.unsafe(nil) # # good # %i(foo bar baz) # -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#18 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#18 class RuboCop::Cop::Layout::SpaceInsideArrayPercentLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#26 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#26 def on_array(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#30 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#30 def on_percent_literal(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#40 + # source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#40 def each_unnecessary_space_match(node, &blk); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#23 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#23 RuboCop::Cop::Layout::SpaceInsideArrayPercentLiteral::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#24 +# source://rubocop//lib/rubocop/cop/layout/space_inside_array_percent_literal.rb#24 RuboCop::Cop::Layout::SpaceInsideArrayPercentLiteral::MULTIPLE_SPACES_BETWEEN_ITEMS_REGEX = T.let(T.unsafe(nil), Regexp) # Checks that block braces have or don't have surrounding space inside @@ -16100,77 +16285,77 @@ RuboCop::Cop::Layout::SpaceInsideArrayPercentLiteral::MULTIPLE_SPACES_BETWEEN_IT # # good # [1, 2, 3].each {|n| n * 2 } # -# source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#79 +# source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#79 class RuboCop::Cop::Layout::SpaceInsideBlockBraces < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#89 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#89 def on_block(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#89 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#105 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#126 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#126 def adjacent_braces(left_brace, right_brace); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#165 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#165 def aligned_braces?(inner, right_brace, column); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#134 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#134 def braces_with_contents_inside(node, inner); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#109 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#109 def check_inside(node, left_brace, right_brace); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#141 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#141 def check_left_brace(inner, left_brace, args_delimiter); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#149 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#149 def check_right_brace(node, inner, left_brace, right_brace, single_line); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#169 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#169 def inner_last_space_count(inner); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#161 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#161 def multiline_block?(left_brace, right_brace); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#226 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#226 def no_space(begin_pos, end_pos, msg); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#173 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#173 def no_space_inside_left_brace(left_brace, args_delimiter); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#242 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#242 def offense(begin_pos, end_pos, msg, style_param = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#205 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#205 def pipe?(args_delimiter); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#234 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#234 def space(begin_pos, end_pos, msg); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#190 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#190 def space_inside_left_brace(left_brace, args_delimiter); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#209 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#209 def space_inside_right_brace(inner, right_brace, column); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#257 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#257 def style_for_empty_braces; end class << self - # source://rubocop/lib/rubocop/cop/layout/space_inside_block_braces.rb#85 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#85 def autocorrect_incompatible_with; end end end @@ -16239,65 +16424,65 @@ end # foo = { # } # -# source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#74 +# source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#74 class RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#82 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#82 def on_hash(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#141 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#141 def ambiguous_or_unexpected_style_detected(style, is_match); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#133 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#133 def autocorrect(corrector, range); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#93 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#93 def check(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#188 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#188 def check_whitespace_only_hash(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#206 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#206 def enforce_no_space_style_for_empty_braces?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#108 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#108 def expect_space?(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#121 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#121 def incorrect_style_detected(token1, token2, expect_space, is_empty_braces); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#154 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#154 def message(brace, is_empty_braces, expect_space); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#149 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#149 def offense?(token1, expect_space); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#200 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#200 def range_inside_hash(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#180 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#180 def range_of_space_to_the_left(range); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#172 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#172 def range_of_space_to_the_right(range); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#164 + # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#164 def space_range(token_range); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#80 +# source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#80 RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces::MSG = T.let(T.unsafe(nil), String) # Checks for spaces inside ordinary round parentheses. @@ -16349,61 +16534,61 @@ RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces::MSG = T.let(T.unsafe(nil), S # g( f( x( 3 )), 5 ) # g((( 3 + 5 ) * f ) ** x, 5 ) # -# source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#57 +# source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#57 class RuboCop::Cop::Layout::SpaceInsideParens < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#66 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#66 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#161 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#161 def can_be_ignored?(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#99 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#99 def correct_extraneous_space(tokens); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#115 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#115 def correct_extraneous_space_between_consecutive_parens(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#124 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#124 def correct_extraneous_space_in_empty_parens(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#135 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#135 def correct_missing_space(token1, token2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#153 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#153 def left_parens?(token1, token2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#149 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#149 def parens?(token1, token2); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#88 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#88 def process_with_compact_style(tokens); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#81 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#81 def process_with_space_style(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#157 + # source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#157 def right_parens?(token1, token2); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#63 +# source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#63 RuboCop::Cop::Layout::SpaceInsideParens::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_inside_parens.rb#64 +# source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#64 RuboCop::Cop::Layout::SpaceInsideParens::MSG_SPACE = T.let(T.unsafe(nil), String) # Checks for unnecessary additional spaces inside the delimiters of @@ -16437,44 +16622,44 @@ RuboCop::Cop::Layout::SpaceInsideParens::MSG_SPACE = T.let(T.unsafe(nil), String # # good # %w() # -# source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#36 +# source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#36 class RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#45 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#45 def on_array(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#53 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#53 def on_percent_literal(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#49 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#49 def on_xstr(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#60 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#60 def add_offenses_for_blank_spaces(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#69 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#69 def add_offenses_for_unnecessary_spaces(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#85 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#85 def body_range(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#79 + # source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#79 def regex_matches(node, &blk); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#42 +# source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#42 RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters::BEGIN_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#43 +# source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#43 RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters::END_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#41 +# source://rubocop//lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb#41 RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters::MSG = T.let(T.unsafe(nil), String) # Checks for spaces inside range literals. @@ -16492,23 +16677,23 @@ RuboCop::Cop::Layout::SpaceInsidePercentLiteralDelimiters::MSG = T.let(T.unsafe( # # good # 'a'..'z' # -# source://rubocop/lib/rubocop/cop/layout/space_inside_range_literal.rb#20 +# source://rubocop//lib/rubocop/cop/layout/space_inside_range_literal.rb#20 class RuboCop::Cop::Layout::SpaceInsideRangeLiteral < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_range_literal.rb#29 + # source://rubocop//lib/rubocop/cop/layout/space_inside_range_literal.rb#29 def on_erange(node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_range_literal.rb#25 + # source://rubocop//lib/rubocop/cop/layout/space_inside_range_literal.rb#25 def on_irange(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_range_literal.rb#35 + # source://rubocop//lib/rubocop/cop/layout/space_inside_range_literal.rb#35 def check(node); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_range_literal.rb#23 +# source://rubocop//lib/rubocop/cop/layout/space_inside_range_literal.rb#23 RuboCop::Cop::Layout::SpaceInsideRangeLiteral::MSG = T.let(T.unsafe(nil), String) # Checks that reference brackets have or don't have @@ -16561,44 +16746,44 @@ RuboCop::Cop::Layout::SpaceInsideRangeLiteral::MSG = T.let(T.unsafe(nil), String # # good # foo[ ] # -# source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#60 +# source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#60 class RuboCop::Cop::Layout::SpaceInsideReferenceBrackets < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#70 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#70 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#92 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#92 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#121 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#121 def closing_bracket(tokens, opening_bracket); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#137 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#137 def empty_config; end - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#110 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#110 def left_ref_bracket(node, tokens); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#132 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#132 def previous_token(current_token); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#104 + # source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#104 def reference_brackets(node); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#66 +# source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#66 RuboCop::Cop::Layout::SpaceInsideReferenceBrackets::EMPTY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#65 +# source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#65 RuboCop::Cop::Layout::SpaceInsideReferenceBrackets::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/layout/space_inside_reference_brackets.rb#68 +# source://rubocop//lib/rubocop/cop/layout/space_inside_reference_brackets.rb#68 RuboCop::Cop::Layout::SpaceInsideReferenceBrackets::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for whitespace within string interpolations. @@ -16616,7 +16801,7 @@ RuboCop::Cop::Layout::SpaceInsideReferenceBrackets::RESTRICT_ON_SEND = T.let(T.u # # good # var = "This is the #{ space } example" # -# source://rubocop/lib/rubocop/cop/layout/space_inside_string_interpolation.rb#21 +# source://rubocop//lib/rubocop/cop/layout/space_inside_string_interpolation.rb#21 class RuboCop::Cop::Layout::SpaceInsideStringInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation include ::RuboCop::Cop::RangeHelp @@ -16624,19 +16809,19 @@ class RuboCop::Cop::Layout::SpaceInsideStringInterpolation < ::RuboCop::Cop::Bas include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/space_inside_string_interpolation.rb#29 + # source://rubocop//lib/rubocop/cop/layout/space_inside_string_interpolation.rb#29 def on_interpolation(begin_node); end private - # source://rubocop/lib/rubocop/cop/layout/space_inside_string_interpolation.rb#45 + # source://rubocop//lib/rubocop/cop/layout/space_inside_string_interpolation.rb#45 def autocorrect(corrector, begin_node); end - # source://rubocop/lib/rubocop/cop/layout/space_inside_string_interpolation.rb#55 + # source://rubocop//lib/rubocop/cop/layout/space_inside_string_interpolation.rb#55 def delimiters(begin_node); end end -# source://rubocop/lib/rubocop/cop/layout/space_inside_string_interpolation.rb#27 +# source://rubocop//lib/rubocop/cop/layout/space_inside_string_interpolation.rb#27 RuboCop::Cop::Layout::SpaceInsideStringInterpolation::MSG = T.let(T.unsafe(nil), String) # Looks for trailing blank lines and a final newline in the @@ -16672,31 +16857,31 @@ RuboCop::Cop::Layout::SpaceInsideStringInterpolation::MSG = T.let(T.unsafe(nil), # # # EOF # -# source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#40 +# source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#40 class RuboCop::Cop::Layout::TrailingEmptyLines < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#45 + # source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#45 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#90 + # source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#90 def end_with_percent_blank_string?(processed_source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#80 + # source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#80 def ends_in_end?(processed_source); end - # source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#94 + # source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#94 def message(wanted_blank_lines, blank_lines); end - # source://rubocop/lib/rubocop/cop/layout/trailing_empty_lines.rb#67 + # source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#67 def offense_detected(buffer, wanted_blank_lines, blank_lines, whitespace_at_end); end end @@ -16734,103 +16919,103 @@ end # x = 0 # RUBY # -# source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#42 +# source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#42 class RuboCop::Cop::Layout::TrailingWhitespace < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Heredoc extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#57 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#57 def on_heredoc(_node); end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#49 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#49 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#112 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#112 def extract_heredocs(ast); end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#103 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#103 def find_heredoc(line_number); end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#108 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#108 def heredocs; end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#125 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#125 def offense_range(lineno, line); end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#61 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#61 def process_line(line, lineno); end - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#75 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#75 def process_line_in_heredoc(corrector, range, heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#99 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#99 def skip_heredoc?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#95 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#95 def static?(heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#86 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#86 def whitespace_is_indentation?(range, level); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#90 + # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#90 def whitespace_only?(range); end end -# source://rubocop/lib/rubocop/cop/layout/trailing_whitespace.rb#47 +# source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#47 RuboCop::Cop::Layout::TrailingWhitespace::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#5 +# source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#5 module RuboCop::Cop::Legacy; end # Legacy support for Corrector#corrections # See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html # -# source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#8 +# source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#8 class RuboCop::Cop::Legacy::CorrectionsProxy # @return [CorrectionsProxy] a new instance of CorrectionsProxy # - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#9 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#9 def initialize(corrector); end - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#13 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#13 def <<(callable); end - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#21 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#21 def concat(corrections); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#17 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#17 def empty?; end protected # Returns the value of attribute corrector. # - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#31 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#31 def corrector; end private - # source://rubocop/lib/rubocop/cop/legacy/corrections_proxy.rb#35 + # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#35 def suppress_clobbering; end end # This class handles autocorrection for code that needs to be moved # to new lines. # -# source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#7 +# source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#7 class RuboCop::Cop::LineBreakCorrector extend ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::TrailingBody @@ -16838,38 +17023,38 @@ class RuboCop::Cop::LineBreakCorrector extend ::RuboCop::Cop::Util class << self - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#27 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#27 def break_line_before(range:, node:, corrector:, configured_width:, indent_steps: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#15 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#15 def correct_trailing_body(configured_width:, corrector:, node:, processed_source:); end - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#35 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#35 def move_comment(eol_comment:, node:, corrector:); end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#13 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#13 def processed_source; end private - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#45 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#45 def remove_semicolon(node, corrector); end - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#51 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#51 def semicolon(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/line_break_corrector.rb#60 + # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#60 def trailing_class_definition?(token, body); end end end # Help methods for determining if a line is too long. # -# source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#6 module RuboCop::Cop::LineLengthHelp include ::RuboCop::Cop::Alignment @@ -16877,55 +17062,55 @@ module RuboCop::Cop::LineLengthHelp # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#24 def allow_uri?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#28 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#28 def allowed_uri_position?(line, uri_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#15 def directive_on_source_line?(line_index); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#73 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#73 def extend_uri_end_position(line, end_position); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#36 def find_excessive_uri_range(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#11 def ignore_cop_directives?; end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#60 def indentation_difference(line); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#32 def line_length(line); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#111 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#111 def line_length_without_directive(line); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#52 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#52 def match_uris(string); end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#89 def tab_indentation_width; end - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#94 def uri_regexp; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/line_length_help.rb#104 + # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#104 def valid_uri?(uri_ish_string); end end -# source://rubocop/lib/rubocop/cop/mixin/unused_argument.rb#5 +# source://rubocop//lib/rubocop/cop/mixin/unused_argument.rb#5 module RuboCop::Cop::Lint; end # Checks for mistyped shorthand assignments. @@ -16943,41 +17128,41 @@ module RuboCop::Cop::Lint; end # x *= y # or x = *y # x != y # or x = !y # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#21 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#21 class RuboCop::Cop::Lint::AmbiguousAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 def on_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_lvasgn(node); end private - # source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#44 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#44 def rhs(node); end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#28 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#28 RuboCop::Cop::Lint::AmbiguousAssignment::MISTAKES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#24 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#24 RuboCop::Cop::Lint::AmbiguousAssignment::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/ambiguous_assignment.rb#26 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#26 RuboCop::Cop::Lint::AmbiguousAssignment::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) # Checks for ambiguous block association with method @@ -17022,38 +17207,38 @@ RuboCop::Cop::Lint::AmbiguousAssignment::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsaf # expect { do_something }.to change { object.attribute } # expect { do_something }.to not_change { object.attribute } # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#52 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#52 class RuboCop::Cop::Lint::AmbiguousBlockAssociation < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#62 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#75 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#62 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#62 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#83 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#83 def allowed_method_pattern?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#79 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#79 def ambiguous_block_association?(send_node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#89 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#89 def message(send_node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#95 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#95 def wrap_in_parentheses(corrector, node); end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_block_association.rb#58 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#58 RuboCop::Cop::Lint::AmbiguousBlockAssociation::MSG = T.let(T.unsafe(nil), String) # Checks for ambiguous operators in the first argument of a @@ -17072,44 +17257,44 @@ RuboCop::Cop::Lint::AmbiguousBlockAssociation::MSG = T.let(T.unsafe(nil), String # # With parentheses, there's no ambiguity. # do_something(*some_array) # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#21 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#21 class RuboCop::Cop::Lint::AmbiguousOperator < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#43 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#43 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#62 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#62 def find_offense_node_by(diagnostic); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#80 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#80 def message(diagnostic); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#90 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#90 def offense_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#86 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#86 def offense_position?(node, diagnostic); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#99 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#99 def unary_operator?(node, diagnostic); end class << self - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#39 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#39 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#24 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#24 RuboCop::Cop::Lint::AmbiguousOperator::AMBIGUITIES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator.rb#34 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#34 RuboCop::Cop::Lint::AmbiguousOperator::MSG_FORMAT = T.let(T.unsafe(nil), String) # Looks for expressions containing multiple binary operators @@ -17137,50 +17322,50 @@ RuboCop::Cop::Lint::AmbiguousOperator::MSG_FORMAT = T.let(T.unsafe(nil), String) # a + b + c # a * b / c % d # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#30 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#30 class RuboCop::Cop::Lint::AmbiguousOperatorPrecedence < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#54 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#54 def on_and(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#47 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#47 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#65 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#65 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#105 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#105 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#89 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#89 def greater_precedence?(node1, node2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#85 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#85 def operator?(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#97 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#97 def operator_name(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#79 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#79 def precedence(node); end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#45 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#45 RuboCop::Cop::Lint::AmbiguousOperatorPrecedence::MSG = T.let(T.unsafe(nil), String) # See https://ruby-doc.org/core-3.0.2/doc/syntax/precedence_rdoc.html # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#34 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#34 RuboCop::Cop::Lint::AmbiguousOperatorPrecedence::PRECEDENCE = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#44 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_operator_precedence.rb#44 RuboCop::Cop::Lint::AmbiguousOperatorPrecedence::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for ambiguous ranges. @@ -17228,41 +17413,41 @@ RuboCop::Cop::Lint::AmbiguousOperatorPrecedence::RESTRICT_ON_SEND = T.let(T.unsa # # good # (a.foo)..(b.bar) # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#59 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#59 class RuboCop::Cop::Lint::AmbiguousRange < ::RuboCop::Cop::Base include ::RuboCop::Cop::RationalLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#65 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#74 def on_erange(node); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#65 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#65 def on_irange(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#84 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#84 def acceptable?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#92 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#92 def acceptable_call?(node); end # @yield [range.begin] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#78 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#78 def each_boundary(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#102 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#102 def require_parentheses_for_method_chain?; end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_range.rb#63 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#63 RuboCop::Cop::Lint::AmbiguousRange::MSG = T.let(T.unsafe(nil), String) # Checks for ambiguous regexp literals in the first argument of @@ -17282,33 +17467,33 @@ RuboCop::Cop::Lint::AmbiguousRange::MSG = T.let(T.unsafe(nil), String) # # With parentheses, there's no ambiguity. # do_something(/pattern/i) # -# source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#22 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#22 class RuboCop::Cop::Lint::AmbiguousRegexpLiteral < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#29 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#29 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#54 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#54 def find_offense_node(node, regexp_receiver); end - # source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#47 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#47 def find_offense_node_by(diagnostic); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#65 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#65 def first_argument_is_regexp?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#69 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#69 def method_chain_to_regexp_receiver?(node, regexp_receiver); end end -# source://rubocop/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#25 +# source://rubocop//lib/rubocop/cop/lint/ambiguous_regexp_literal.rb#25 RuboCop::Cop::Lint::AmbiguousRegexpLiteral::MSG = T.let(T.unsafe(nil), String) # Checks for assignments in the conditions of @@ -17340,51 +17525,51 @@ RuboCop::Cop::Lint::AmbiguousRegexpLiteral::MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#41 +# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#41 class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::SafeAssignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#55 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#55 def on_if(node); end - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#55 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#70 def on_until(node); end - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#55 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#69 def on_while(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#82 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#82 def allowed_construct?(asgn_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#86 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#86 def conditional_assignment?(asgn_node); end - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#74 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#74 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#90 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#90 def skip_children?(asgn_node); end - # source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#96 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#96 def traverse_node(node, &block); end end -# source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#53 +# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#53 RuboCop::Cop::Lint::AssignmentInCondition::ASGN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#50 +# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#50 RuboCop::Cop::Lint::AssignmentInCondition::MSG_WITHOUT_SAFE_ASSIGNMENT_ALLOWED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/assignment_in_condition.rb#46 +# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#46 RuboCop::Cop::Lint::AssignmentInCondition::MSG_WITH_SAFE_ASSIGNMENT_ALLOWED = T.let(T.unsafe(nil), String) # `BigDecimal.new()` is deprecated since BigDecimal 1.3.3. @@ -17398,21 +17583,21 @@ RuboCop::Cop::Lint::AssignmentInCondition::MSG_WITH_SAFE_ASSIGNMENT_ALLOWED = T. # # good # BigDecimal(123.456, 3) # -# source://rubocop/lib/rubocop/cop/lint/big_decimal_new.rb#17 +# source://rubocop//lib/rubocop/cop/lint/big_decimal_new.rb#17 class RuboCop::Cop::Lint::BigDecimalNew < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/big_decimal_new.rb#24 + # source://rubocop//lib/rubocop/cop/lint/big_decimal_new.rb#24 def big_decimal_new(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/big_decimal_new.rb#29 + # source://rubocop//lib/rubocop/cop/lint/big_decimal_new.rb#29 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/big_decimal_new.rb#20 +# source://rubocop//lib/rubocop/cop/lint/big_decimal_new.rb#20 RuboCop::Cop::Lint::BigDecimalNew::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/big_decimal_new.rb#21 +# source://rubocop//lib/rubocop/cop/lint/big_decimal_new.rb#21 RuboCop::Cop::Lint::BigDecimalNew::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where binary operator has identical operands. @@ -17444,22 +17629,22 @@ RuboCop::Cop::Lint::BigDecimalNew::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # x + x # 1 << 1 # -# source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#46 +# source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#46 class RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#57 + # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#57 def on_and(node); end - # source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#57 + # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#62 def on_or(node); end - # source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#50 + # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#50 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#47 +# source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#47 RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#48 +# source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#48 RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `:true` and `:false` symbols. @@ -17479,23 +17664,23 @@ RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands::RESTRICT_ON_SEND = T.le # # good # false # -# source://rubocop/lib/rubocop/cop/lint/boolean_symbol.rb#27 +# source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#27 class RuboCop::Cop::Lint::BooleanSymbol < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/boolean_symbol.rb#33 + # source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#33 def boolean_symbol?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/boolean_symbol.rb#35 + # source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#35 def on_sym(node); end private - # source://rubocop/lib/rubocop/cop/lint/boolean_symbol.rb#48 + # source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#48 def autocorrect(corrector, node); end end -# source://rubocop/lib/rubocop/cop/lint/boolean_symbol.rb#30 +# source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#30 RuboCop::Cop::Lint::BooleanSymbol::MSG = T.let(T.unsafe(nil), String) # Checks for circular argument references in optional keyword @@ -17532,23 +17717,23 @@ RuboCop::Cop::Lint::BooleanSymbol::MSG = T.let(T.unsafe(nil), String) # dry_ingredients.combine # end # -# source://rubocop/lib/rubocop/cop/lint/circular_argument_reference.rb#39 +# source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#39 class RuboCop::Cop::Lint::CircularArgumentReference < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/circular_argument_reference.rb#46 + # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#46 def on_kwoptarg(node); end - # source://rubocop/lib/rubocop/cop/lint/circular_argument_reference.rb#50 + # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#50 def on_optarg(node); end private - # source://rubocop/lib/rubocop/cop/lint/circular_argument_reference.rb#56 + # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#56 def check_for_circular_argument_references(arg_name, arg_value); end end -# source://rubocop/lib/rubocop/cop/lint/circular_argument_reference.rb#42 +# source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#42 RuboCop::Cop::Lint::CircularArgumentReference::MSG = T.let(T.unsafe(nil), String) # Do not define constants within a block, since the block's scope does not @@ -17608,32 +17793,32 @@ RuboCop::Cop::Lint::CircularArgumentReference::MSG = T.let(T.unsafe(nil), String # end # end # -# source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#64 +# source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#64 class RuboCop::Cop::Lint::ConstantDefinitionInBlock < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#70 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#70 def constant_assigned_in_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#75 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#75 def module_defined_in_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#79 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#79 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#85 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#85 def on_class(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#85 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#90 def on_module(node); end private - # source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#94 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#94 def method_name(node); end end -# source://rubocop/lib/rubocop/cop/lint/constant_definition_in_block.rb#67 +# source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#67 RuboCop::Cop::Lint::ConstantDefinitionInBlock::MSG = T.let(T.unsafe(nil), String) # Checks for overwriting an exception with an exception result by use ``rescue =>``. @@ -17656,24 +17841,24 @@ RuboCop::Cop::Lint::ConstantDefinitionInBlock::MSG = T.let(T.unsafe(nil), String # rescue StandardError # end # -# source://rubocop/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#26 +# source://rubocop//lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#26 class RuboCop::Cop::Lint::ConstantOverwrittenInRescue < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#41 + # source://rubocop//lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#41 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#33 + # source://rubocop//lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#33 def overwritten_constant(param0 = T.unsafe(nil)); end class << self - # source://rubocop/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#37 + # source://rubocop//lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#37 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#30 +# source://rubocop//lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb#30 RuboCop::Cop::Lint::ConstantOverwrittenInRescue::MSG = T.let(T.unsafe(nil), String) # Checks for constant reassignments. @@ -17735,59 +17920,59 @@ RuboCop::Cop::Lint::ConstantOverwrittenInRescue::MSG = T.let(T.unsafe(nil), Stri # X = :bar # end # -# source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#65 +# source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#65 class RuboCop::Cop::Lint::ConstantReassignment < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#76 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#76 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#84 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#84 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#71 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#71 def remove_constant(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#139 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#139 def ancestor_namespaces(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#146 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#146 def constant_names; end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#135 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#135 def constant_namespaces(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#98 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#98 def fixed_constant_path?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#115 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#115 def freeze_method?(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#119 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#119 def fully_qualified_constant_name(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#131 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#131 def fully_qualified_name_for(namespaces, constant); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#111 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#111 def namespace_definition?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#102 + # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#102 def simple_assignment?(node); end end -# source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#66 +# source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#66 RuboCop::Cop::Lint::ConstantReassignment::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/constant_reassignment.rb#68 +# source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#68 RuboCop::Cop::Lint::ConstantReassignment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that certain constants are fully qualified. @@ -17844,29 +18029,29 @@ RuboCop::Cop::Lint::ConstantReassignment::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # # good # Login # -# source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#62 +# source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#62 class RuboCop::Cop::Lint::ConstantResolution < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#70 + # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#70 def on_const(node); end - # source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#66 + # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#66 def unqualified_const?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#83 + # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#83 def allowed_names; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#78 + # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#78 def const_name?(name); end - # source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#87 + # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#87 def ignored_names; end end -# source://rubocop/lib/rubocop/cop/lint/constant_resolution.rb#63 +# source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#63 RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) # Checks for debug calls (such as `debugger` or `binding.pry`) that should @@ -17936,50 +18121,50 @@ RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) # # require 'my_debugger/start' # -# source://rubocop/lib/rubocop/cop/lint/debugger.rb#74 +# source://rubocop//lib/rubocop/cop/lint/debugger.rb#74 class RuboCop::Cop::Lint::Debugger < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#78 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#78 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#138 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#138 def assumed_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#117 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#117 def assumed_usage_context?(node); end - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#127 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#127 def chained_method_name(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#104 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#104 def debugger_method?(send_node); end - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#90 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#90 def debugger_methods; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#110 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#110 def debugger_require?(send_node); end - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#97 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#97 def debugger_requires; end - # source://rubocop/lib/rubocop/cop/lint/debugger.rb#86 + # source://rubocop//lib/rubocop/cop/lint/debugger.rb#86 def message(node); end end -# source://rubocop/lib/rubocop/cop/lint/debugger.rb#76 +# source://rubocop//lib/rubocop/cop/lint/debugger.rb#76 RuboCop::Cop::Lint::Debugger::BLOCK_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/debugger.rb#75 +# source://rubocop//lib/rubocop/cop/lint/debugger.rb#75 RuboCop::Cop::Lint::Debugger::MSG = T.let(T.unsafe(nil), String) # Checks for uses of the deprecated class method usages. @@ -18010,45 +18195,45 @@ RuboCop::Cop::Lint::Debugger::MSG = T.let(T.unsafe(nil), String) # Addrinfo.getaddrinfo(nodename, service) # Addrinfo.tcp(host, port).getnameinfo # -# source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#33 +# source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#33 class RuboCop::Cop::Lint::DeprecatedClassMethods < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#53 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#53 def deprecated_class_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#63 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#63 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#112 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#112 def dir_env_file_const?(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#83 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#83 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#93 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#93 def preferred_method(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#108 + # source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#108 def socket_const?(node); end end -# source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#50 +# source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#50 RuboCop::Cop::Lint::DeprecatedClassMethods::DIR_ENV_FILE_CONSTANTS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#36 +# source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#36 RuboCop::Cop::Lint::DeprecatedClassMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#41 +# source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#41 RuboCop::Cop::Lint::DeprecatedClassMethods::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/deprecated_class_methods.rb#37 +# source://rubocop//lib/rubocop/cop/lint/deprecated_class_methods.rb#37 RuboCop::Cop::Lint::DeprecatedClassMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for deprecated constants. @@ -18085,29 +18270,29 @@ RuboCop::Cop::Lint::DeprecatedClassMethods::RESTRICT_ON_SEND = T.let(T.unsafe(ni # Etc::Group # Etc::Passwd # -# source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#40 +# source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#40 class RuboCop::Cop::Lint::DeprecatedConstants < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#46 + # source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#46 def on_const(node); end private - # source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#66 + # source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#66 def constant_name(node, nested_constant_name); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#82 + # source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#82 def deprecated_constants; end - # source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#72 + # source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#72 def message(good, bad, deprecated_version); end end -# source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#44 +# source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#44 RuboCop::Cop::Lint::DeprecatedConstants::DO_NOT_USE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/deprecated_constants.rb#43 +# source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#43 RuboCop::Cop::Lint::DeprecatedConstants::SUGGEST_GOOD_MSG = T.let(T.unsafe(nil), String) # Algorithmic constants for `OpenSSL::Cipher` and `OpenSSL::Digest` @@ -18134,54 +18319,54 @@ RuboCop::Cop::Lint::DeprecatedConstants::SUGGEST_GOOD_MSG = T.let(T.unsafe(nil), # # good # OpenSSL::Digest.digest('SHA256', 'foo') # -# source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#30 +# source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#30 class RuboCop::Cop::Lint::DeprecatedOpenSSLConstant < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#40 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#40 def algorithm_const(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#50 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#50 def digest_const?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#54 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#54 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#101 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#101 def algorithm_name(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#66 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#66 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#130 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#130 def build_cipher_arguments(node, algorithm_name, no_arguments); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#93 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#93 def correction_range(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#78 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#78 def message(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#97 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#97 def openssl_class(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#119 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#119 def replacement_args(node); end - # source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#111 + # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#111 def sanitize_arguments(arguments); end end -# source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#34 +# source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#34 RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#37 +# source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#37 RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::NO_ARG_ALGORITHM = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#36 +# source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#36 RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks constructors for disjunctive assignments (`||=`) that should @@ -18204,26 +18389,26 @@ RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::RESTRICT_ON_SEND = T.let(T.unsafe # @x = 1 # end # -# source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#48 +# source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#48 class RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#53 + # source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#53 def on_def(node); end private # @param node [DefNode] a constructor definition # - # source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#60 + # source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#60 def check(node); end - # source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#66 + # source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#66 def check_body(body); end # @param lines [Array] the logical lines of the constructor # - # source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#78 + # source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#78 def check_body_lines(lines); end # Add an offense if the LHS of the given disjunctive assignment is @@ -18233,11 +18418,11 @@ class RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor < ::RuboCop::Cop::B # # @param node [Node] a disjunctive assignment # - # source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#99 + # source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#99 def check_disjunctive_assignment(node); end end -# source://rubocop/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#51 +# source://rubocop//lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb#51 RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor::MSG = T.let(T.unsafe(nil), String) # Checks that there are no repeated bodies @@ -18330,68 +18515,68 @@ RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor::MSG = T.let(T.unsafe(nil # do_foo # end # -# source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#99 +# source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#99 class RuboCop::Cop::Lint::DuplicateBranch < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#102 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#102 def on_branching_statement(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#102 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#110 def on_case(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#102 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#111 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#114 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#114 def on_if(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#102 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#112 def on_rescue(node); end private - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#136 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#136 def branches(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#140 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#140 def consider_branch?(branches, branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#174 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#174 def const_branch?(branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#178 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#178 def duplicate_else_branch?(branches, branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#155 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#155 def ignore_constant_branches?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#159 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#159 def ignore_duplicate_else_branches?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#151 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#151 def ignore_literal_branches?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#163 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#163 def literal_branch?(branch); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#122 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#122 def offense_range(duplicate_branch); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_branch.rb#100 +# source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#100 RuboCop::Cop::Lint::DuplicateBranch::MSG = T.let(T.unsafe(nil), String) # Checks that there are no repeated conditions @@ -18415,13 +18600,13 @@ RuboCop::Cop::Lint::DuplicateBranch::MSG = T.let(T.unsafe(nil), String) # do_something_else # end # -# source://rubocop/lib/rubocop/cop/lint/duplicate_case_condition.rb#26 +# source://rubocop//lib/rubocop/cop/lint/duplicate_case_condition.rb#26 class RuboCop::Cop::Lint::DuplicateCaseCondition < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/duplicate_case_condition.rb#29 + # source://rubocop//lib/rubocop/cop/lint/duplicate_case_condition.rb#29 def on_case(case_node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_case_condition.rb#27 +# source://rubocop//lib/rubocop/cop/lint/duplicate_case_condition.rb#27 RuboCop::Cop::Lint::DuplicateCaseCondition::MSG = T.let(T.unsafe(nil), String) # Checks that there are no repeated conditions used in if 'elsif'. @@ -18441,13 +18626,13 @@ RuboCop::Cop::Lint::DuplicateCaseCondition::MSG = T.let(T.unsafe(nil), String) # do_something_else # end # -# source://rubocop/lib/rubocop/cop/lint/duplicate_elsif_condition.rb#23 +# source://rubocop//lib/rubocop/cop/lint/duplicate_elsif_condition.rb#23 class RuboCop::Cop::Lint::DuplicateElsifCondition < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/duplicate_elsif_condition.rb#26 + # source://rubocop//lib/rubocop/cop/lint/duplicate_elsif_condition.rb#26 def on_if(node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_elsif_condition.rb#24 +# source://rubocop//lib/rubocop/cop/lint/duplicate_elsif_condition.rb#24 RuboCop::Cop::Lint::DuplicateElsifCondition::MSG = T.let(T.unsafe(nil), String) # Checks for duplicated keys in hash literals. @@ -18463,15 +18648,15 @@ RuboCop::Cop::Lint::DuplicateElsifCondition::MSG = T.let(T.unsafe(nil), String) # # good # hash = { food: 'apple', other_food: 'orange' } # -# source://rubocop/lib/rubocop/cop/lint/duplicate_hash_key.rb#18 +# source://rubocop//lib/rubocop/cop/lint/duplicate_hash_key.rb#18 class RuboCop::Cop::Lint::DuplicateHashKey < ::RuboCop::Cop::Base include ::RuboCop::Cop::Duplication - # source://rubocop/lib/rubocop/cop/lint/duplicate_hash_key.rb#23 + # source://rubocop//lib/rubocop/cop/lint/duplicate_hash_key.rb#23 def on_hash(node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_hash_key.rb#21 +# source://rubocop//lib/rubocop/cop/lint/duplicate_hash_key.rb#21 RuboCop::Cop::Lint::DuplicateHashKey::MSG = T.let(T.unsafe(nil), String) # Checks for duplicated magic comments. @@ -18496,25 +18681,25 @@ RuboCop::Cop::Lint::DuplicateHashKey::MSG = T.let(T.unsafe(nil), String) # # # frozen_string_literal: true # -# source://rubocop/lib/rubocop/cop/lint/duplicate_magic_comment.rb#28 +# source://rubocop//lib/rubocop/cop/lint/duplicate_magic_comment.rb#28 class RuboCop::Cop::Lint::DuplicateMagicComment < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/duplicate_magic_comment.rb#35 + # source://rubocop//lib/rubocop/cop/lint/duplicate_magic_comment.rb#35 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/duplicate_magic_comment.rb#51 + # source://rubocop//lib/rubocop/cop/lint/duplicate_magic_comment.rb#51 def magic_comment_lines; end - # source://rubocop/lib/rubocop/cop/lint/duplicate_magic_comment.rb#65 + # source://rubocop//lib/rubocop/cop/lint/duplicate_magic_comment.rb#65 def register_offense(range); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_magic_comment.rb#33 +# source://rubocop//lib/rubocop/cop/lint/duplicate_magic_comment.rb#33 RuboCop::Cop::Lint::DuplicateMagicComment::MSG = T.let(T.unsafe(nil), String) # Checks that there are no repeated patterns used in `in` keywords. @@ -18601,20 +18786,20 @@ RuboCop::Cop::Lint::DuplicateMagicComment::MSG = T.let(T.unsafe(nil), String) # second_method # end # -# source://rubocop/lib/rubocop/cop/lint/duplicate_match_pattern.rb#90 +# source://rubocop//lib/rubocop/cop/lint/duplicate_match_pattern.rb#90 class RuboCop::Cop::Lint::DuplicateMatchPattern < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/duplicate_match_pattern.rb#97 + # source://rubocop//lib/rubocop/cop/lint/duplicate_match_pattern.rb#97 def on_case_match(case_node); end private - # source://rubocop/lib/rubocop/cop/lint/duplicate_match_pattern.rb#108 + # source://rubocop//lib/rubocop/cop/lint/duplicate_match_pattern.rb#108 def pattern_identity(pattern); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_match_pattern.rb#93 +# source://rubocop//lib/rubocop/cop/lint/duplicate_match_pattern.rb#93 RuboCop::Cop::Lint::DuplicateMatchPattern::MSG = T.let(T.unsafe(nil), String) # Checks for duplicated instance (or singleton) method @@ -18654,88 +18839,88 @@ RuboCop::Cop::Lint::DuplicateMatchPattern::MSG = T.let(T.unsafe(nil), String) # # alias bar foo # -# source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#42 +# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#42 class RuboCop::Cop::Lint::DuplicateMethods < ::RuboCop::Cop::Base # @return [DuplicateMethods] a new instance of DuplicateMethods # - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#47 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#47 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#88 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#88 def alias_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#75 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#75 def method_alias?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#79 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#79 def on_alias(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#53 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#53 def on_def(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#62 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#62 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#94 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#94 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#93 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#93 def sym_name(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#107 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#107 def check_const_receiver(node, name, const_name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#114 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#114 def check_self_receiver(node, name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#198 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#198 def found_attr(node, args, readable: T.unsafe(nil), writable: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#126 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#126 def found_instance_method(node, name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#149 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#149 def found_method(node, method_name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#139 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#139 def found_sclass_method(node, name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#176 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#176 def location(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#208 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#208 def lookup_constant(node, const_name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#121 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#121 def message_for_dup(node, method_name, key); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#168 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#168 def method_key(node, method_name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#184 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#184 def on_attr(node, attr_name, args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#240 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#240 def possible_dsl?(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#226 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#226 def qualified_name(enclosing, namespace, mod_name); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#250 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#250 def source_location(node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#45 +# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#45 RuboCop::Cop::Lint::DuplicateMethods::DEF_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#43 +# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#43 RuboCop::Cop::Lint::DuplicateMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/duplicate_methods.rb#44 +# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#44 RuboCop::Cop::Lint::DuplicateMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for duplicate elements in Regexp character classes. @@ -18754,44 +18939,44 @@ RuboCop::Cop::Lint::DuplicateMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # # good # r = /[0-9x]/ # -# source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#21 +# source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#21 class RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#37 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#37 def each_repeated_character_class_element_loc(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#29 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#29 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#102 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#102 def escaped_octal?(string); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#54 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#54 def group_expressions(node, expressions); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#110 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#110 def interpolation_locs(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#106 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#106 def octal?(char); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#71 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#71 def pop_octal_digits(current_child, expressions); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#89 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#89 def skip_expression?(expr); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#80 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#80 def source_range(children); end # Since we blank interpolations with a space for every char of the interpolation, we would @@ -18800,14 +18985,14 @@ class RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement < ::RuboCop::Cop: # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#96 + # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#96 def within_interpolation?(node, child); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#25 +# source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#25 RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement::MSG_REPEATED_ELEMENT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#27 +# source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#27 RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement::OCTAL_DIGITS_AFTER_ESCAPE = T.let(T.unsafe(nil), Integer) # Checks for duplicate ``require``s and ``require_relative``s. @@ -18826,28 +19011,28 @@ RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement::OCTAL_DIGITS_AFTER_ESC # require 'foo' # require_relative 'foo' # -# source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#26 +# source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#26 class RuboCop::Cop::Lint::DuplicateRequire < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#39 + # source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#39 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#45 + # source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#45 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#35 + # source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#35 def require_call?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#30 +# source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#30 RuboCop::Cop::Lint::DuplicateRequire::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#31 +# source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#31 RuboCop::Cop::Lint::DuplicateRequire::REQUIRE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/duplicate_require.rb#32 +# source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#32 RuboCop::Cop::Lint::DuplicateRequire::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Checks that there are no repeated exceptions @@ -18872,15 +19057,15 @@ RuboCop::Cop::Lint::DuplicateRequire::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Se # handle_other_exception # end # -# source://rubocop/lib/rubocop/cop/lint/duplicate_rescue_exception.rb#28 +# source://rubocop//lib/rubocop/cop/lint/duplicate_rescue_exception.rb#28 class RuboCop::Cop::Lint::DuplicateRescueException < ::RuboCop::Cop::Base include ::RuboCop::Cop::RescueNode - # source://rubocop/lib/rubocop/cop/lint/duplicate_rescue_exception.rb#33 + # source://rubocop//lib/rubocop/cop/lint/duplicate_rescue_exception.rb#33 def on_rescue(node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_rescue_exception.rb#31 +# source://rubocop//lib/rubocop/cop/lint/duplicate_rescue_exception.rb#31 RuboCop::Cop::Lint::DuplicateRescueException::MSG = T.let(T.unsafe(nil), String) # Checks for duplicate literal, constant, or variable elements in Set and SortedSet. @@ -18917,29 +19102,29 @@ RuboCop::Cop::Lint::DuplicateRescueException::MSG = T.let(T.unsafe(nil), String) # # good # SortedSet.new([:foo, :bar]) # -# source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#39 +# source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#39 class RuboCop::Cop::Lint::DuplicateSetElement < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#54 + # source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#71 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#54 + # source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#54 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#46 + # source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#46 def set_init_elements(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#75 + # source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#75 def register_offense(current_element, prev_element, node); end end -# source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#42 +# source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#42 RuboCop::Cop::Lint::DuplicateSetElement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/duplicate_set_element.rb#43 +# source://rubocop//lib/rubocop/cop/lint/duplicate_set_element.rb#43 RuboCop::Cop::Lint::DuplicateSetElement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks if each_with_object is called with an immutable @@ -18957,22 +19142,22 @@ RuboCop::Cop::Lint::DuplicateSetElement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # num = 0 # sum = numbers.each_with_object(num) { |e, a| a += e } # -# source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#20 +# source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#20 class RuboCop::Cop::Lint::EachWithObjectArgument < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#25 + # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#25 def each_with_object?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#29 + # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#36 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#29 + # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#29 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#21 +# source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#21 RuboCop::Cop::Lint::EachWithObjectArgument::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/each_with_object_argument.rb#22 +# source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#22 RuboCop::Cop::Lint::EachWithObjectArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for odd `else` block layout - like @@ -19011,28 +19196,28 @@ RuboCop::Cop::Lint::EachWithObjectArgument::RESTRICT_ON_SEND = T.let(T.unsafe(ni # do_that # end # -# source://rubocop/lib/rubocop/cop/lint/else_layout.rb#41 +# source://rubocop//lib/rubocop/cop/lint/else_layout.rb#41 class RuboCop::Cop::Lint::ElseLayout < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/else_layout.rb#48 + # source://rubocop//lib/rubocop/cop/lint/else_layout.rb#48 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/lint/else_layout.rb#79 + # source://rubocop//lib/rubocop/cop/lint/else_layout.rb#79 def autocorrect(corrector, node, first_else); end - # source://rubocop/lib/rubocop/cop/lint/else_layout.rb#59 + # source://rubocop//lib/rubocop/cop/lint/else_layout.rb#59 def check(node); end - # source://rubocop/lib/rubocop/cop/lint/else_layout.rb#69 + # source://rubocop//lib/rubocop/cop/lint/else_layout.rb#69 def check_else(node); end end -# source://rubocop/lib/rubocop/cop/lint/else_layout.rb#46 +# source://rubocop//lib/rubocop/cop/lint/else_layout.rb#46 RuboCop::Cop::Lint::ElseLayout::MSG = T.let(T.unsafe(nil), String) # Checks for blocks without a body. @@ -19088,30 +19273,30 @@ RuboCop::Cop::Lint::ElseLayout::MSG = T.let(T.unsafe(nil), String) # # Proc.new { } # -# source://rubocop/lib/rubocop/cop/lint/empty_block.rb#63 +# source://rubocop//lib/rubocop/cop/lint/empty_block.rb#63 class RuboCop::Cop::Lint::EmptyBlock < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/empty_block.rb#66 + # source://rubocop//lib/rubocop/cop/lint/empty_block.rb#66 def on_block(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_block.rb#76 + # source://rubocop//lib/rubocop/cop/lint/empty_block.rb#76 def allow_comment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_block.rb#83 + # source://rubocop//lib/rubocop/cop/lint/empty_block.rb#83 def allow_empty_lambdas?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_block.rb#87 + # source://rubocop//lib/rubocop/cop/lint/empty_block.rb#87 def comment_disables_cop?(comment); end end -# source://rubocop/lib/rubocop/cop/lint/empty_block.rb#64 +# source://rubocop//lib/rubocop/cop/lint/empty_block.rb#64 RuboCop::Cop::Lint::EmptyBlock::MSG = T.let(T.unsafe(nil), String) # Checks for classes and metaclasses without a body. @@ -19178,26 +19363,26 @@ RuboCop::Cop::Lint::EmptyBlock::MSG = T.let(T.unsafe(nil), String) # # TODO: implement later # end # -# source://rubocop/lib/rubocop/cop/lint/empty_class.rb#72 +# source://rubocop//lib/rubocop/cop/lint/empty_class.rb#72 class RuboCop::Cop::Lint::EmptyClass < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/empty_class.rb#76 + # source://rubocop//lib/rubocop/cop/lint/empty_class.rb#76 def on_class(node); end - # source://rubocop/lib/rubocop/cop/lint/empty_class.rb#81 + # source://rubocop//lib/rubocop/cop/lint/empty_class.rb#81 def on_sclass(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_class.rb#87 + # source://rubocop//lib/rubocop/cop/lint/empty_class.rb#87 def body_or_allowed_comment_lines?(node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_class.rb#73 +# source://rubocop//lib/rubocop/cop/lint/empty_class.rb#73 RuboCop::Cop::Lint::EmptyClass::CLASS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/empty_class.rb#74 +# source://rubocop//lib/rubocop/cop/lint/empty_class.rb#74 RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) # Checks for the presence of `if`, `elsif` and `unless` branches without a body. @@ -19250,65 +19435,65 @@ RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) # # noop # end # -# source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#63 +# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#63 class RuboCop::Cop::Lint::EmptyConditionalBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#71 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#71 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#177 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#177 def all_branches_body_missing?(node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#95 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#95 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#163 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#163 def branch_range(node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#125 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#125 def correct_other_branches(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#183 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#183 def deletion_range(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#158 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#158 def else_branch?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#152 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#152 def empty_elsif_branch?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#144 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#144 def empty_if_branch?(node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#87 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#87 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#101 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#101 def remove_comments(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#109 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#109 def remove_empty_branch(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#137 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#137 def require_other_branches_correction?(node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_conditional_body.rb#68 +# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#68 RuboCop::Cop::Lint::EmptyConditionalBody::MSG = T.let(T.unsafe(nil), String) # Checks for empty `ensure` blocks. @@ -19341,15 +19526,15 @@ RuboCop::Cop::Lint::EmptyConditionalBody::MSG = T.let(T.unsafe(nil), String) # do_something_else # end # -# source://rubocop/lib/rubocop/cop/lint/empty_ensure.rb#35 +# source://rubocop//lib/rubocop/cop/lint/empty_ensure.rb#35 class RuboCop::Cop::Lint::EmptyEnsure < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/empty_ensure.rb#40 + # source://rubocop//lib/rubocop/cop/lint/empty_ensure.rb#40 def on_ensure(node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_ensure.rb#38 +# source://rubocop//lib/rubocop/cop/lint/empty_ensure.rb#38 RuboCop::Cop::Lint::EmptyEnsure::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of empty expressions. @@ -19371,20 +19556,20 @@ RuboCop::Cop::Lint::EmptyEnsure::MSG = T.let(T.unsafe(nil), String) # bar # end # -# source://rubocop/lib/rubocop/cop/lint/empty_expression.rb#25 +# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#25 class RuboCop::Cop::Lint::EmptyExpression < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/empty_expression.rb#28 + # source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#28 def on_begin(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_expression.rb#36 + # source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#36 def empty_expression?(begin_node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_expression.rb#26 +# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#26 RuboCop::Cop::Lint::EmptyExpression::MSG = T.let(T.unsafe(nil), String) # Enforces that Ruby source files are not empty. @@ -19402,30 +19587,30 @@ RuboCop::Cop::Lint::EmptyExpression::MSG = T.let(T.unsafe(nil), String) # # bad # # File consisting only of comments # -# source://rubocop/lib/rubocop/cop/lint/empty_file.rb#23 +# source://rubocop//lib/rubocop/cop/lint/empty_file.rb#23 class RuboCop::Cop::Lint::EmptyFile < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/empty_file.rb#26 + # source://rubocop//lib/rubocop/cop/lint/empty_file.rb#26 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_file.rb#40 + # source://rubocop//lib/rubocop/cop/lint/empty_file.rb#40 def contains_only_comments?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_file.rb#36 + # source://rubocop//lib/rubocop/cop/lint/empty_file.rb#36 def empty_file?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/empty_file.rb#32 + # source://rubocop//lib/rubocop/cop/lint/empty_file.rb#32 def offending?; end end -# source://rubocop/lib/rubocop/cop/lint/empty_file.rb#24 +# source://rubocop//lib/rubocop/cop/lint/empty_file.rb#24 RuboCop::Cop::Lint::EmptyFile::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of `in` pattern branches without a body. @@ -19465,16 +19650,16 @@ RuboCop::Cop::Lint::EmptyFile::MSG = T.let(T.unsafe(nil), String) # # noop # end # -# source://rubocop/lib/rubocop/cop/lint/empty_in_pattern.rb#45 +# source://rubocop//lib/rubocop/cop/lint/empty_in_pattern.rb#45 class RuboCop::Cop::Lint::EmptyInPattern < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/empty_in_pattern.rb#53 + # source://rubocop//lib/rubocop/cop/lint/empty_in_pattern.rb#53 def on_case_match(node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_in_pattern.rb#49 +# source://rubocop//lib/rubocop/cop/lint/empty_in_pattern.rb#49 RuboCop::Cop::Lint::EmptyInPattern::MSG = T.let(T.unsafe(nil), String) # Checks for empty interpolation. @@ -19487,16 +19672,16 @@ RuboCop::Cop::Lint::EmptyInPattern::MSG = T.let(T.unsafe(nil), String) # # good # "result is #{some_result}" # -# source://rubocop/lib/rubocop/cop/lint/empty_interpolation.rb#15 +# source://rubocop//lib/rubocop/cop/lint/empty_interpolation.rb#15 class RuboCop::Cop::Lint::EmptyInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/empty_interpolation.rb#21 + # source://rubocop//lib/rubocop/cop/lint/empty_interpolation.rb#21 def on_interpolation(begin_node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_interpolation.rb#19 +# source://rubocop//lib/rubocop/cop/lint/empty_interpolation.rb#19 RuboCop::Cop::Lint::EmptyInterpolation::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of `when` branches without a body. @@ -19536,15 +19721,15 @@ RuboCop::Cop::Lint::EmptyInterpolation::MSG = T.let(T.unsafe(nil), String) # # do nothing # end # -# source://rubocop/lib/rubocop/cop/lint/empty_when.rb#45 +# source://rubocop//lib/rubocop/cop/lint/empty_when.rb#45 class RuboCop::Cop::Lint::EmptyWhen < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp - # source://rubocop/lib/rubocop/cop/lint/empty_when.rb#50 + # source://rubocop//lib/rubocop/cop/lint/empty_when.rb#50 def on_case(node); end end -# source://rubocop/lib/rubocop/cop/lint/empty_when.rb#48 +# source://rubocop//lib/rubocop/cop/lint/empty_when.rb#48 RuboCop::Cop::Lint::EmptyWhen::MSG = T.let(T.unsafe(nil), String) # Checks for `return` from an `ensure` block. @@ -19584,13 +19769,13 @@ RuboCop::Cop::Lint::EmptyWhen::MSG = T.let(T.unsafe(nil), String) # cleanup # end # -# source://rubocop/lib/rubocop/cop/lint/ensure_return.rb#42 +# source://rubocop//lib/rubocop/cop/lint/ensure_return.rb#42 class RuboCop::Cop::Lint::EnsureReturn < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/ensure_return.rb#45 + # source://rubocop//lib/rubocop/cop/lint/ensure_return.rb#45 def on_ensure(node); end end -# source://rubocop/lib/rubocop/cop/lint/ensure_return.rb#43 +# source://rubocop//lib/rubocop/cop/lint/ensure_return.rb#43 RuboCop::Cop::Lint::EnsureReturn::MSG = T.let(T.unsafe(nil), String) # Emulates the following Ruby warnings in Ruby 2.6. @@ -19648,51 +19833,51 @@ RuboCop::Cop::Lint::EnsureReturn::MSG = T.let(T.unsafe(nil), String) # ERB.new(str, nil, '-', '@output_buffer') # end # -# source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#61 +# source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#61 class RuboCop::Cop::Lint::ErbNewArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#81 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#81 def erb_new_with_non_keyword_arguments(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#86 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#86 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#160 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#160 def arguments_range(node); end - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#115 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#115 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#130 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#130 def build_kwargs(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#126 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#126 def correct_arguments?(arguments); end - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#104 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#104 def message(positional_argument_index, arg_value); end - # source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#147 + # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#147 def override_by_legacy_args(kwargs, node); end end -# source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#74 +# source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#74 RuboCop::Cop::Lint::ErbNewArguments::MESSAGE_EOUTVAR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#68 +# source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#68 RuboCop::Cop::Lint::ErbNewArguments::MESSAGE_SAFE_LEVEL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#71 +# source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#71 RuboCop::Cop::Lint::ErbNewArguments::MESSAGE_TRIM_MODE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/erb_new_arguments.rb#78 +# source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#78 RuboCop::Cop::Lint::ErbNewArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for uses of flip-flop operator @@ -19715,16 +19900,16 @@ RuboCop::Cop::Lint::ErbNewArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # puts x if (x >= 5) && (x <= 10) # end # -# source://rubocop/lib/rubocop/cop/lint/flip_flop.rb#25 +# source://rubocop//lib/rubocop/cop/lint/flip_flop.rb#25 class RuboCop::Cop::Lint::FlipFlop < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/flip_flop.rb#32 + # source://rubocop//lib/rubocop/cop/lint/flip_flop.rb#32 def on_eflipflop(node); end - # source://rubocop/lib/rubocop/cop/lint/flip_flop.rb#28 + # source://rubocop//lib/rubocop/cop/lint/flip_flop.rb#28 def on_iflipflop(node); end end -# source://rubocop/lib/rubocop/cop/lint/flip_flop.rb#26 +# source://rubocop//lib/rubocop/cop/lint/flip_flop.rb#26 RuboCop::Cop::Lint::FlipFlop::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of precise comparison of floating point numbers. @@ -19759,43 +19944,43 @@ RuboCop::Cop::Lint::FlipFlop::MSG = T.let(T.unsafe(nil), String) # # Or some other epsilon based type of comparison: # # https://www.embeddeduse.com/2019/08/26/qt-compare-two-floats/ # -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#38 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#38 class RuboCop::Cop::Lint::FloatComparison < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#47 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#47 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#97 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#97 def check_numeric_returning_method(node); end - # source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#82 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#82 def check_send(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#60 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#60 def float?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#75 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#75 def literal_safe?(node); end end -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#41 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#41 RuboCop::Cop::Lint::FloatComparison::EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#43 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#43 RuboCop::Cop::Lint::FloatComparison::FLOAT_INSTANCE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#42 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#42 RuboCop::Cop::Lint::FloatComparison::FLOAT_RETURNING_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#39 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#39 RuboCop::Cop::Lint::FloatComparison::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/float_comparison.rb#45 +# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#45 RuboCop::Cop::Lint::FloatComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies Float literals which are, like, really really really @@ -19810,13 +19995,13 @@ RuboCop::Cop::Lint::FloatComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good # float = 42.9 # -# source://rubocop/lib/rubocop/cop/lint/float_out_of_range.rb#17 +# source://rubocop//lib/rubocop/cop/lint/float_out_of_range.rb#17 class RuboCop::Cop::Lint::FloatOutOfRange < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/float_out_of_range.rb#20 + # source://rubocop//lib/rubocop/cop/lint/float_out_of_range.rb#20 def on_float(node); end end -# source://rubocop/lib/rubocop/cop/lint/float_out_of_range.rb#18 +# source://rubocop//lib/rubocop/cop/lint/float_out_of_range.rb#18 RuboCop::Cop::Lint::FloatOutOfRange::MSG = T.let(T.unsafe(nil), String) # This lint sees if there is a mismatch between the number of @@ -19841,120 +20026,120 @@ RuboCop::Cop::Lint::FloatOutOfRange::MSG = T.let(T.unsafe(nil), String) # # good # format('Numbered format: %1$s and numbered %2$s', a_value, another) # -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#27 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#27 class RuboCop::Cop::Lint::FormatParameterMismatch < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#90 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#90 def called_on_string?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#39 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#39 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#127 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#127 def count_format_matches(node); end - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#109 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#109 def count_matches(node); end - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#131 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#131 def count_percent_matches(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#119 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#119 def countable_format?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#123 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#123 def countable_percent?(node); end - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#143 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#143 def expected_fields_count(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#158 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#158 def format?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#136 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#136 def format_method?(name, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#54 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#54 def format_string?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#105 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#105 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#58 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#58 def invalid_format_string?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#81 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#81 def matched_arguments_count?(expected, passed); end - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#176 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#176 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#95 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#95 def method_with_format_args?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#67 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#67 def offending_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#166 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#166 def percent?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#99 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#99 def splat_args?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#162 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#162 def sprintf?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#185 + # source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#185 def string_type?(node); end end -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#34 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#34 RuboCop::Cop::Lint::FormatParameterMismatch::KERNEL = T.let(T.unsafe(nil), String) # http://rubular.com/r/CvpbxkcTzy # -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#29 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#29 RuboCop::Cop::Lint::FormatParameterMismatch::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#31 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#31 RuboCop::Cop::Lint::FormatParameterMismatch::MSG_INVALID = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#37 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#37 RuboCop::Cop::Lint::FormatParameterMismatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#35 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#35 RuboCop::Cop::Lint::FormatParameterMismatch::SHOVEL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/format_parameter_mismatch.rb#36 +# source://rubocop//lib/rubocop/cop/lint/format_parameter_mismatch.rb#36 RuboCop::Cop::Lint::FormatParameterMismatch::STRING_TYPES = T.let(T.unsafe(nil), Array) # Prefer using `Hash#compare_by_identity` rather than using `object_id` @@ -19974,22 +20159,22 @@ RuboCop::Cop::Lint::FormatParameterMismatch::STRING_TYPES = T.let(T.unsafe(nil), # hash[foo] = :bar # hash.key?(baz) # -# source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#31 +# source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#31 class RuboCop::Cop::Lint::HashCompareByIdentity < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#37 + # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#37 def id_as_hash_key?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#41 + # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#44 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#41 + # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#41 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#34 +# source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#34 RuboCop::Cop::Lint::HashCompareByIdentity::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/hash_compare_by_identity.rb#32 +# source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#32 RuboCop::Cop::Lint::HashCompareByIdentity::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the deprecated use of keyword arguments as a default in `Hash.new`. @@ -20015,21 +20200,21 @@ RuboCop::Cop::Lint::HashCompareByIdentity::RESTRICT_ON_SEND = T.let(T.unsafe(nil # # good # Hash.new({key: :value}) # -# source://rubocop/lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#29 +# source://rubocop//lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#29 class RuboCop::Cop::Lint::HashNewWithKeywordArgumentsAsDefault < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#36 + # source://rubocop//lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#36 def hash_new(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#40 + # source://rubocop//lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#40 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#32 +# source://rubocop//lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#32 RuboCop::Cop::Lint::HashNewWithKeywordArgumentsAsDefault::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#33 +# source://rubocop//lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb#33 RuboCop::Cop::Lint::HashNewWithKeywordArgumentsAsDefault::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the ordering of a method call where @@ -20057,77 +20242,77 @@ RuboCop::Cop::Lint::HashNewWithKeywordArgumentsAsDefault::RESTRICT_ON_SEND = T.l # bar # SQL # -# source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#31 +# source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#31 class RuboCop::Cop::Lint::HeredocMethodCallPosition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#37 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#46 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#37 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#37 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#97 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#97 def all_on_same_line?(nodes); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#50 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#50 def autocorrect(corrector, node, heredoc); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#77 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#77 def call_after_heredoc_range(heredoc); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#107 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#107 def call_end_pos(node); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#116 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#116 def call_line_range(node); end # Returns nil if no range can be safely repositioned. # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#122 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#122 def call_range_to_safely_reposition(node, heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#86 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#86 def calls_on_multiple_lines?(node, _heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#82 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#82 def correctly_positioned?(node, heredoc); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#111 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#111 def heredoc_begin_line_range(heredoc); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#103 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#103 def heredoc_end_pos(heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#73 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#73 def heredoc_node?(node); end - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#59 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#59 def heredoc_node_descendent_receiver(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#67 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#67 def send_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#146 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#146 def trailing_comma?(call_source, call_line_source); end end -# source://rubocop/lib/rubocop/cop/lint/heredoc_method_call_position.rb#35 +# source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#35 RuboCop::Cop::Lint::HeredocMethodCallPosition::MSG = T.let(T.unsafe(nil), String) # Prefer `equal?` over `==` when comparing `object_id`. @@ -20142,30 +20327,30 @@ RuboCop::Cop::Lint::HeredocMethodCallPosition::MSG = T.let(T.unsafe(nil), String # # good # foo.equal?(bar) # -# source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#18 +# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#18 class RuboCop::Cop::Lint::IdentityComparison < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#24 + # source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#24 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#40 + # source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#40 def compare_between_object_id_by_double_equal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#44 + # source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#44 def object_id_method?(node); end end -# source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#21 +# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#21 RuboCop::Cop::Lint::IdentityComparison::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/identity_comparison.rb#22 +# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#22 RuboCop::Cop::Lint::IdentityComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for implicit string concatenation of string literals @@ -20184,45 +20369,45 @@ RuboCop::Cop::Lint::IdentityComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # 'Item 2' # ] # -# source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#21 +# source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#21 class RuboCop::Cop::Lint::ImplicitStringConcatenation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#32 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#32 def on_dstr(node); end private - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#92 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#92 def display_str(node); end - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#59 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#59 def each_bad_cons(node); end - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#74 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#74 def ending_delimiter(str); end - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#100 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#100 def str_content(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#84 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#84 def string_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#88 + # source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#88 def string_literals?(node1, node2); end end -# source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#26 +# source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#26 RuboCop::Cop::Lint::ImplicitStringConcatenation::FOR_ARRAY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#28 +# source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#28 RuboCop::Cop::Lint::ImplicitStringConcatenation::FOR_METHOD = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/implicit_string_concatenation.rb#24 +# source://rubocop//lib/rubocop/cop/lint/implicit_string_concatenation.rb#24 RuboCop::Cop::Lint::ImplicitStringConcatenation::MSG = T.let(T.unsafe(nil), String) # Checks for `IO.select` that is incompatible with Fiber Scheduler since Ruby 3.0. @@ -20249,31 +20434,31 @@ RuboCop::Cop::Lint::ImplicitStringConcatenation::MSG = T.let(T.unsafe(nil), Stri # # good # io.wait_writable(timeout) # -# source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#34 +# source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#34 class RuboCop::Cop::Lint::IncompatibleIoSelectWithFiberScheduler < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#41 + # source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#41 def io_select(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#46 + # source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#46 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#69 + # source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#69 def preferred_method(read, write, timeout); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#63 + # source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#63 def scheduler_compatible?(io1, io2); end end -# source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#37 +# source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#37 RuboCop::Cop::Lint::IncompatibleIoSelectWithFiberScheduler::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#38 +# source://rubocop//lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb#38 RuboCop::Cop::Lint::IncompatibleIoSelectWithFiberScheduler::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `private` or `protected` access modifiers which are @@ -20312,49 +20497,49 @@ RuboCop::Cop::Lint::IncompatibleIoSelectWithFiberScheduler::RESTRICT_ON_SEND = T # end # end # -# source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#41 +# source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#41 class RuboCop::Cop::Lint::IneffectiveAccessModifier < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#52 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#52 def on_class(node); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#52 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#55 def on_module(node); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#48 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#48 def private_class_methods(param0); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#102 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#102 def access_modifier?(node); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#59 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#59 def check_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#106 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#106 def correct_visibility?(node, modifier, ignored_methods); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#71 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#71 def format_message(modifier); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#84 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#84 def ineffective_modifier(node, ignored_methods = T.unsafe(nil), modifier = T.unsafe(nil), &block); end - # source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#67 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#67 def private_class_method_names(node); end end -# source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#44 +# source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#44 RuboCop::Cop::Lint::IneffectiveAccessModifier::ALTERNATIVE_PRIVATE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#45 +# source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#45 RuboCop::Cop::Lint::IneffectiveAccessModifier::ALTERNATIVE_PROTECTED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/ineffective_access_modifier.rb#42 +# source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#42 RuboCop::Cop::Lint::IneffectiveAccessModifier::MSG = T.let(T.unsafe(nil), String) # Looks for error classes inheriting from `Exception`. @@ -20386,46 +20571,46 @@ RuboCop::Cop::Lint::IneffectiveAccessModifier::MSG = T.let(T.unsafe(nil), String # # C = Class.new(RuntimeError) # -# source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#40 +# source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#40 class RuboCop::Cop::Lint::InheritException < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#53 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#53 def class_new_call?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#59 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#59 def on_class(node); end - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#70 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#70 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#87 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#87 def exception_class?(class_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#91 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#91 def inherit_exception_class_with_omitted_namespace?(class_node); end - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#83 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#83 def message(node); end - # source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#99 + # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#99 def preferred_base_class; end end -# source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#44 +# source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#44 RuboCop::Cop::Lint::InheritException::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#45 +# source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#45 RuboCop::Cop::Lint::InheritException::PREFERRED_BASE_CLASS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/inherit_exception.rb#50 +# source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#50 RuboCop::Cop::Lint::InheritException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for interpolation in a single quoted string. @@ -20438,30 +20623,30 @@ RuboCop::Cop::Lint::InheritException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # # good # foo = "something with #{interpolation} inside" # -# source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#21 +# source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#21 class RuboCop::Cop::Lint::InterpolationCheck < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#28 + # source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#28 def on_str(node); end private - # source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#41 + # source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#41 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#52 + # source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#52 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#56 + # source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#56 def valid_syntax?(node); end end -# source://rubocop/lib/rubocop/cop/lint/interpolation_check.rb#24 +# source://rubocop//lib/rubocop/cop/lint/interpolation_check.rb#24 RuboCop::Cop::Lint::InterpolationCheck::MSG = T.let(T.unsafe(nil), String) # Emulates the following Ruby warning in Ruby 3.3. @@ -20485,24 +20670,24 @@ RuboCop::Cop::Lint::InterpolationCheck::MSG = T.let(T.unsafe(nil), String) # do_something { it() } # do_something { self.it } # -# source://rubocop/lib/rubocop/cop/lint/it_without_arguments_in_block.rb#27 +# source://rubocop//lib/rubocop/cop/lint/it_without_arguments_in_block.rb#27 class RuboCop::Cop::Lint::ItWithoutArgumentsInBlock < ::RuboCop::Cop::Base include ::RuboCop::AST::NodePattern::Macros extend ::RuboCop::Cop::TargetRubyVersion # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/it_without_arguments_in_block.rb#44 + # source://rubocop//lib/rubocop/cop/lint/it_without_arguments_in_block.rb#44 def deprecated_it_method?(node); end - # source://rubocop/lib/rubocop/cop/lint/it_without_arguments_in_block.rb#37 + # source://rubocop//lib/rubocop/cop/lint/it_without_arguments_in_block.rb#37 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/it_without_arguments_in_block.rb#33 +# source://rubocop//lib/rubocop/cop/lint/it_without_arguments_in_block.rb#33 RuboCop::Cop::Lint::ItWithoutArgumentsInBlock::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/it_without_arguments_in_block.rb#35 +# source://rubocop//lib/rubocop/cop/lint/it_without_arguments_in_block.rb#35 RuboCop::Cop::Lint::ItWithoutArgumentsInBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks uses of lambda without a literal block. @@ -20527,21 +20712,21 @@ RuboCop::Cop::Lint::ItWithoutArgumentsInBlock::RESTRICT_ON_SEND = T.let(T.unsafe # Proc.new { do_something } # lambda { do_something } # If you use lambda. # -# source://rubocop/lib/rubocop/cop/lint/lambda_without_literal_block.rb#28 +# source://rubocop//lib/rubocop/cop/lint/lambda_without_literal_block.rb#28 class RuboCop::Cop::Lint::LambdaWithoutLiteralBlock < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/lambda_without_literal_block.rb#35 + # source://rubocop//lib/rubocop/cop/lint/lambda_without_literal_block.rb#35 def lambda_with_symbol_proc?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/lambda_without_literal_block.rb#39 + # source://rubocop//lib/rubocop/cop/lint/lambda_without_literal_block.rb#39 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/lambda_without_literal_block.rb#31 +# source://rubocop//lib/rubocop/cop/lint/lambda_without_literal_block.rb#31 RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/lambda_without_literal_block.rb#32 +# source://rubocop//lib/rubocop/cop/lint/lambda_without_literal_block.rb#32 RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for literals used as the conditions or as @@ -20574,72 +20759,72 @@ RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::RESTRICT_ON_SEND = T.let(T.unsafe # break if condition # end # -# source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#35 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#35 class RuboCop::Cop::Lint::LiteralAsCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#94 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#94 def message(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#59 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#59 def on_case(case_node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#74 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#74 def on_case_match(case_match_node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#41 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#41 def on_if(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#88 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#88 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#52 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#52 def on_until(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#52 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#57 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#45 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#45 def on_while(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#45 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#50 def on_while_post(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#109 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#109 def basic_literal?(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#139 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#139 def check_case(case_node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#100 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#100 def check_for_literal(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#121 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#121 def check_node(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#148 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#148 def condition(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#131 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#131 def handle_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#117 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#117 def primitive_array?(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#156 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#156 def when_conditions_range(when_node); end end -# source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#38 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#38 RuboCop::Cop::Lint::LiteralAsCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/literal_as_condition.rb#39 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#39 RuboCop::Cop::Lint::LiteralAsCondition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for literal assignments in the conditions of `if`, `while`, and `until`. @@ -20671,39 +20856,39 @@ RuboCop::Cop::Lint::LiteralAsCondition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # do_something # end # -# source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#35 +# source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#35 class RuboCop::Cop::Lint::LiteralAssignmentInCondition < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 def on_if(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#52 def on_until(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#51 def on_while(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#62 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#62 def all_literals?(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#79 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#79 def offense_range(asgn_node, rhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#75 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#75 def parallel_assignment_with_splat_operator?(node); end # @yield [node] # - # source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#56 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#56 def traverse_node(node, &block); end end -# source://rubocop/lib/rubocop/cop/lint/literal_assignment_in_condition.rb#36 +# source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#36 RuboCop::Cop::Lint::LiteralAssignmentInCondition::MSG = T.let(T.unsafe(nil), String) # Checks for interpolated literals. @@ -20716,79 +20901,79 @@ RuboCop::Cop::Lint::LiteralAssignmentInCondition::MSG = T.let(T.unsafe(nil), Str # # good # "result is 10" # -# source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#15 +# source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#15 class RuboCop::Cop::Lint::LiteralInInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#25 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#25 def on_interpolation(begin_node); end private - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#68 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#68 def autocorrected_value(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#135 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#135 def autocorrected_value_for_array(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#141 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#141 def autocorrected_value_for_hash(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#111 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#111 def autocorrected_value_for_string(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#119 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#119 def autocorrected_value_for_symbol(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#152 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#152 def autocorrected_value_in_hash(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#126 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#126 def autocorrected_value_in_hash_for_symbol(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#182 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#182 def ends_heredoc_line?(node); end - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#90 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#90 def handle_special_regexp_chars(begin_node, value); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#190 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#190 def in_array_percent_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#54 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#54 def offending?(node); end # Does node print its own source when converted to a string? # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#173 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#173 def prints_as_self?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#178 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#178 def space_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#62 + # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#62 def special_keyword?(node); end end -# source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#22 +# source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#22 RuboCop::Cop::Lint::LiteralInInterpolation::COMPOSITE = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/literal_in_interpolation.rb#21 +# source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#21 RuboCop::Cop::Lint::LiteralInInterpolation::MSG = T.let(T.unsafe(nil), String) # Checks for uses of `begin...end while/until something`. @@ -20825,29 +21010,29 @@ RuboCop::Cop::Lint::LiteralInInterpolation::MSG = T.let(T.unsafe(nil), String) # break if some_condition # end # -# source://rubocop/lib/rubocop/cop/lint/loop.rb#44 +# source://rubocop//lib/rubocop/cop/lint/loop.rb#44 class RuboCop::Cop::Lint::Loop < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/loop.rb#53 + # source://rubocop//lib/rubocop/cop/lint/loop.rb#53 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/lint/loop.rb#49 + # source://rubocop//lib/rubocop/cop/lint/loop.rb#49 def on_while_post(node); end private - # source://rubocop/lib/rubocop/cop/lint/loop.rb#73 + # source://rubocop//lib/rubocop/cop/lint/loop.rb#73 def build_break_line(node); end - # source://rubocop/lib/rubocop/cop/lint/loop.rb#69 + # source://rubocop//lib/rubocop/cop/lint/loop.rb#69 def keyword_and_condition_range(node); end - # source://rubocop/lib/rubocop/cop/lint/loop.rb#59 + # source://rubocop//lib/rubocop/cop/lint/loop.rb#59 def register_offense(node); end end -# source://rubocop/lib/rubocop/cop/lint/loop.rb#47 +# source://rubocop//lib/rubocop/cop/lint/loop.rb#47 RuboCop::Cop::Lint::Loop::MSG = T.let(T.unsafe(nil), String) # cop disables on wide ranges of code, that latter contributors to @@ -20885,39 +21070,39 @@ RuboCop::Cop::Lint::Loop::MSG = T.let(T.unsafe(nil), String) # # Including this, that's 3 lines on which the cop is disabled. # # rubocop:enable Layout/SpaceAroundOperators # -# source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#45 +# source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#45 class RuboCop::Cop::Lint::MissingCopEnableDirective < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#51 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#51 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#70 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#70 def acceptable_range?(cop, line_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#104 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#104 def department_enabled?(cop, comment); end - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#64 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#64 def each_missing_enable; end - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#87 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#87 def max_range; end - # source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#91 + # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#91 def message(cop, comment, type = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#48 +# source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#48 RuboCop::Cop::Lint::MissingCopEnableDirective::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/missing_cop_enable_directive.rb#49 +# source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#49 RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), String) # Checks for the presence of constructors and lifecycle callbacks @@ -20998,64 +21183,64 @@ RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), # end # end # -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#85 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#85 class RuboCop::Cop::Lint::MissingSuper < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#99 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#99 def class_new_block(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#105 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#105 def on_def(node); end - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#115 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#115 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#149 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#149 def allowed_class?(node); end - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#153 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#153 def allowed_classes; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#127 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#127 def callback_method_def?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#133 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#133 def contains_super?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#137 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#137 def inside_class_with_stateful_parent?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/missing_super.rb#123 + # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#123 def offender?(node); end end -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#96 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#96 RuboCop::Cop::Lint::MissingSuper::CALLBACKS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#87 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#87 RuboCop::Cop::Lint::MissingSuper::CALLBACK_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#91 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#91 RuboCop::Cop::Lint::MissingSuper::CLASS_LIFECYCLE_CALLBACKS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#86 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#86 RuboCop::Cop::Lint::MissingSuper::CONSTRUCTOR_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#92 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#92 RuboCop::Cop::Lint::MissingSuper::METHOD_LIFECYCLE_CALLBACKS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/missing_super.rb#89 +# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#89 RuboCop::Cop::Lint::MissingSuper::STATELESS_CLASSES = T.let(T.unsafe(nil), Array) # Checks for mixed-case character ranges since they include likely unintended characters. @@ -21073,57 +21258,57 @@ RuboCop::Cop::Lint::MissingSuper::STATELESS_CLASSES = T.let(T.unsafe(nil), Array # # good # r = /[A-Za-z]/ # -# source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#28 +# source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#28 class RuboCop::Cop::Lint::MixedCaseRange < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#55 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#55 def each_unsafe_regexp_range(node); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#37 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#43 def on_erange(node); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#37 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#37 def on_irange(node); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#45 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#45 def on_regexp(node); end private - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#71 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#71 def build_source_range(range_start, range_end); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#75 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#75 def range_for(char); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#81 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#81 def range_pairs(expr); end - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#101 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#101 def regexp_range(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#91 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#91 def skip_expression?(expr); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#95 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#95 def skip_range?(range_start, range_end); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#85 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#85 def unsafe_range?(range_start, range_end); end end -# source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#32 +# source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#32 RuboCop::Cop::Lint::MixedCaseRange::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/mixed_case_range.rb#35 +# source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#35 RuboCop::Cop::Lint::MixedCaseRange::RANGES = T.let(T.unsafe(nil), Array) # Do not mix named captures and numbered captures in a Regexp literal @@ -21144,13 +21329,13 @@ RuboCop::Cop::Lint::MixedCaseRange::RANGES = T.let(T.unsafe(nil), Array) # # good # /(FOO)(BAR)/ # -# source://rubocop/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#24 +# source://rubocop//lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#24 class RuboCop::Cop::Lint::MixedRegexpCaptureTypes < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#27 + # source://rubocop//lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#27 def on_regexp(node); end end -# source://rubocop/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#25 +# source://rubocop//lib/rubocop/cop/lint/mixed_regexp_capture_types.rb#25 RuboCop::Cop::Lint::MixedRegexpCaptureTypes::MSG = T.let(T.unsafe(nil), String) # In math and Python, we can use `x < y < z` style comparison to compare @@ -21168,27 +21353,27 @@ RuboCop::Cop::Lint::MixedRegexpCaptureTypes::MSG = T.let(T.unsafe(nil), String) # x < y && y < z # 10 <= x && x <= 20 # -# source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#20 +# source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#20 class RuboCop::Cop::Lint::MultipleComparison < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#29 + # source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#29 def multiple_compare?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#33 + # source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#33 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#24 +# source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#24 RuboCop::Cop::Lint::MultipleComparison::COMPARISON_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#23 +# source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#23 RuboCop::Cop::Lint::MultipleComparison::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#26 +# source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#26 RuboCop::Cop::Lint::MultipleComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/multiple_comparison.rb#25 +# source://rubocop//lib/rubocop/cop/lint/multiple_comparison.rb#25 RuboCop::Cop::Lint::MultipleComparison::SET_OPERATION_OPERATORS = T.let(T.unsafe(nil), Array) # Checks for nested method definitions. @@ -21272,42 +21457,42 @@ RuboCop::Cop::Lint::MultipleComparison::SET_OPERATION_OPERATORS = T.let(T.unsafe # end # end # -# source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#91 +# source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#91 class RuboCop::Cop::Lint::NestedMethodDefinition < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#131 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#131 def eval_call?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#136 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#136 def exec_call?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#97 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#97 def on_def(node); end - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#97 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#111 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#124 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#124 def allowed_method_name?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#120 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#120 def allowed_subject_type?(subject); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#115 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#115 def scoping_method_call?(child); end end -# source://rubocop/lib/rubocop/cop/lint/nested_method_definition.rb#95 +# source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#95 RuboCop::Cop::Lint::NestedMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Checks for nested percent literals. @@ -21336,36 +21521,36 @@ RuboCop::Cop::Lint::NestedMethodDefinition::MSG = T.let(T.unsafe(nil), String) # nested_attributes: [:name, :content, [:incorrectly, :nested]] # } # -# source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#32 +# source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#32 class RuboCop::Cop::Lint::NestedPercentLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral - # source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#44 + # source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#44 def on_array(node); end - # source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#48 + # source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#48 def on_percent_literal(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#54 + # source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#54 def contains_percent_literals?(node); end end -# source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#35 +# source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#35 RuboCop::Cop::Lint::NestedPercentLiteral::MSG = T.let(T.unsafe(nil), String) # The array of regular expressions representing percent literals that, # if found within a percent literal expression, will cause a # NestedPercentLiteral violation to be emitted. # -# source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#41 +# source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#41 RuboCop::Cop::Lint::NestedPercentLiteral::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/nested_percent_literal.rb#42 +# source://rubocop//lib/rubocop/cop/lint/nested_percent_literal.rb#42 RuboCop::Cop::Lint::NestedPercentLiteral::REGEXES = T.let(T.unsafe(nil), Array) # Don't omit the accumulator when calling `next` in a `reduce` block. @@ -21384,24 +21569,24 @@ RuboCop::Cop::Lint::NestedPercentLiteral::REGEXES = T.let(T.unsafe(nil), Array) # acc + i # end # -# source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#21 +# source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#21 class RuboCop::Cop::Lint::NextWithoutAccumulator < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#24 + # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#24 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#38 + # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#38 def on_block_body_of_reduce(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#24 + # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#33 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#45 + # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#45 def parent_block_node(node); end end -# source://rubocop/lib/rubocop/cop/lint/next_without_accumulator.rb#22 +# source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#22 RuboCop::Cop::Lint::NextWithoutAccumulator::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of a `return` inside a `begin..end` block @@ -21436,19 +21621,19 @@ RuboCop::Cop::Lint::NextWithoutAccumulator::MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#38 +# source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#38 class RuboCop::Cop::Lint::NoReturnInBeginEndBlocks < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 + # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 + # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#49 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 + # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#48 def on_or_asgn(node); end end -# source://rubocop/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#39 +# source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#39 RuboCop::Cop::Lint::NoReturnInBeginEndBlocks::MSG = T.let(T.unsafe(nil), String) # Checks for non-atomic file operation. @@ -21484,98 +21669,98 @@ RuboCop::Cop::Lint::NoReturnInBeginEndBlocks::MSG = T.let(T.unsafe(nil), String) # # good - atomic and idempotent removal # FileUtils.rm_f(path) # -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#44 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#44 class RuboCop::Cop::Lint::NonAtomicFileOperation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#76 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#76 def explicit_not_force?(param0); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#71 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#71 def force?(param0); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#80 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#80 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#66 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#66 def receiver_and_method_name(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#61 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#61 def send_exist_node(param0); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#98 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#98 def allowable_use_with_if?(if_node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#123 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#123 def autocorrect(corrector, node, range); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#134 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#134 def autocorrect_replace_method(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#154 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#154 def force_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#168 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#168 def force_method_name?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#164 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#164 def force_option?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#92 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#92 def if_node_child?(node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#113 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#113 def message_change_force_method(node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#117 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#117 def message_remove_file_exist_check(node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#102 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#102 def register_offense(node, exist_node); end - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#142 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#142 def replacement_method(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#158 + # source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#158 def require_mode_keyword?(node); end end -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#50 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#50 RuboCop::Cop::Lint::NonAtomicFileOperation::MAKE_FORCE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#51 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#51 RuboCop::Cop::Lint::NonAtomicFileOperation::MAKE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#49 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#49 RuboCop::Cop::Lint::NonAtomicFileOperation::MSG_CHANGE_FORCE_METHOD = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#47 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#47 RuboCop::Cop::Lint::NonAtomicFileOperation::MSG_REMOVE_FILE_EXIST_CHECK = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#54 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#54 RuboCop::Cop::Lint::NonAtomicFileOperation::RECURSIVE_REMOVE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#52 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#52 RuboCop::Cop::Lint::NonAtomicFileOperation::REMOVE_FORCE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#53 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#53 RuboCop::Cop::Lint::NonAtomicFileOperation::REMOVE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/non_atomic_file_operation.rb#55 +# source://rubocop//lib/rubocop/cop/lint/non_atomic_file_operation.rb#55 RuboCop::Cop::Lint::NonAtomicFileOperation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # `Dir[...]` and `Dir.glob(...)` do not make any guarantees about @@ -21628,68 +21813,68 @@ RuboCop::Cop::Lint::NonAtomicFileOperation::RESTRICT_ON_SEND = T.let(T.unsafe(ni # # good - Respect intent if `sort` keyword option is specified in Ruby 3.0 or higher. # Dir.glob(Rails.root.join(__dir__, 'test', '*.rb'), sort: false).each(&method(:require)) # -# source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#60 +# source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#60 class RuboCop::Cop::Lint::NonDeterministicRequireOrder < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#172 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#172 def loop_variable(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#155 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#155 def method_require?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#68 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#68 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#90 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#90 def on_block_pass(node); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#79 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#79 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#145 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#145 def unsorted_dir_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#150 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#150 def unsorted_dir_each?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#166 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#166 def unsorted_dir_each_pass?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#160 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#160 def unsorted_dir_glob_pass?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#177 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#177 def var_is_required?(param0, param1); end private - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#107 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#107 def correct_block(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#117 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#117 def correct_block_pass(corrector, node); end # Returns range of last argument including comma and whitespace. # # @return [Parser::Source::Range] # - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#132 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#132 def last_arg_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#136 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#136 def unsorted_dir_loop?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#140 + # source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#140 def unsorted_dir_pass?(node); end end -# source://rubocop/lib/rubocop/cop/lint/non_deterministic_require_order.rb#64 +# source://rubocop//lib/rubocop/cop/lint/non_deterministic_require_order.rb#64 RuboCop::Cop::Lint::NonDeterministicRequireOrder::MSG = T.let(T.unsafe(nil), String) # Checks for non-local exits from iterators without a return @@ -21727,31 +21912,31 @@ RuboCop::Cop::Lint::NonDeterministicRequireOrder::MSG = T.let(T.unsafe(nil), Str # end # end # -# source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#41 +# source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#41 class RuboCop::Cop::Lint::NonLocalExitFromIterator < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#77 + # source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#77 def chained_send?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#80 + # source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#80 def define_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#46 + # source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#46 def on_return(return_node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#72 + # source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#72 def return_value?(return_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#68 + # source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#68 def scoped_node?(node); end end -# source://rubocop/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#42 +# source://rubocop//lib/rubocop/cop/lint/non_local_exit_from_iterator.rb#42 RuboCop::Cop::Lint::NonLocalExitFromIterator::MSG = T.let(T.unsafe(nil), String) # Warns the usage of unsafe number conversions. Unsafe @@ -21812,78 +21997,78 @@ RuboCop::Cop::Lint::NonLocalExitFromIterator::MSG = T.let(T.unsafe(nil), String) # # good # Time.now.to_datetime.to_i # -# source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#73 +# source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#73 class RuboCop::Cop::Lint::NumberConversion < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#106 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#110 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#106 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#106 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#92 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#92 def to_method(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#97 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#97 def to_method_symbol(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#164 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#164 def allow_receiver?(receiver); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#176 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#176 def allowed_method_name?(name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#186 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#186 def conversion_method?(method_name); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#150 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#150 def correct_method(node, receiver); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#154 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#154 def correct_sym_method(to_method); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#133 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#133 def handle_as_symbol(node); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#114 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#114 def handle_conversion_method(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#194 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#194 def ignored_class?(name); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#190 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#190 def ignored_classes; end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#159 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#159 def remove_parentheses(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#180 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#180 def top_receiver(node); end end -# source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#88 +# source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#88 RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#78 +# source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#78 RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHOD_CLASS_MAPPING = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#89 +# source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#89 RuboCop::Cop::Lint::NumberConversion::METHODS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/number_conversion.rb#84 +# source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#84 RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String) # Checks for uses of numbered parameter assignment. @@ -21910,19 +22095,19 @@ RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String) # # good # non_numbered_parameter_name = :value # -# source://rubocop/lib/rubocop/cop/lint/numbered_parameter_assignment.rb#30 +# source://rubocop//lib/rubocop/cop/lint/numbered_parameter_assignment.rb#30 class RuboCop::Cop::Lint::NumberedParameterAssignment < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/numbered_parameter_assignment.rb#35 + # source://rubocop//lib/rubocop/cop/lint/numbered_parameter_assignment.rb#35 def on_lvasgn(node); end end -# source://rubocop/lib/rubocop/cop/lint/numbered_parameter_assignment.rb#32 +# source://rubocop//lib/rubocop/cop/lint/numbered_parameter_assignment.rb#32 RuboCop::Cop::Lint::NumberedParameterAssignment::LVAR_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/numbered_parameter_assignment.rb#33 +# source://rubocop//lib/rubocop/cop/lint/numbered_parameter_assignment.rb#33 RuboCop::Cop::Lint::NumberedParameterAssignment::NUMBERED_PARAMETER_RANGE = T.let(T.unsafe(nil), Range) -# source://rubocop/lib/rubocop/cop/lint/numbered_parameter_assignment.rb#31 +# source://rubocop//lib/rubocop/cop/lint/numbered_parameter_assignment.rb#31 RuboCop::Cop::Lint::NumberedParameterAssignment::NUM_PARAM_MSG = T.let(T.unsafe(nil), String) # Certain numeric operations have a constant result, usually 0 or 1. @@ -21965,34 +22150,34 @@ RuboCop::Cop::Lint::NumberedParameterAssignment::NUM_PARAM_MSG = T.let(T.unsafe( # # good # x = 1 # -# source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#46 +# source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#46 class RuboCop::Cop::Lint::NumericOperationWithConstantResult < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#56 + # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#56 def abbreviated_assignment_with_constant_result?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#71 + # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#71 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#59 + # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#59 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#52 + # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#52 def operation_with_constant_result?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#85 + # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#85 def constant_result?(variable, operation, number); end end -# source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#48 +# source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#48 RuboCop::Cop::Lint::NumericOperationWithConstantResult::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#49 +# source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#49 RuboCop::Cop::Lint::NumericOperationWithConstantResult::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for unintended or-assignment to a constant. @@ -22009,15 +22194,15 @@ RuboCop::Cop::Lint::NumericOperationWithConstantResult::RESTRICT_ON_SEND = T.let # # good # CONST = 1 # -# source://rubocop/lib/rubocop/cop/lint/or_assignment_to_constant.rb#24 +# source://rubocop//lib/rubocop/cop/lint/or_assignment_to_constant.rb#24 class RuboCop::Cop::Lint::OrAssignmentToConstant < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/or_assignment_to_constant.rb#29 + # source://rubocop//lib/rubocop/cop/lint/or_assignment_to_constant.rb#29 def on_or_asgn(node); end end -# source://rubocop/lib/rubocop/cop/lint/or_assignment_to_constant.rb#27 +# source://rubocop//lib/rubocop/cop/lint/or_assignment_to_constant.rb#27 RuboCop::Cop::Lint::OrAssignmentToConstant::MSG = T.let(T.unsafe(nil), String) # Checks the proper ordering of magic comments and whether @@ -22043,24 +22228,24 @@ RuboCop::Cop::Lint::OrAssignmentToConstant::MSG = T.let(T.unsafe(nil), String) # # frozen_string_literal: true # p [''.frozen?, ''.encoding] #=> [true, #] # -# source://rubocop/lib/rubocop/cop/lint/ordered_magic_comments.rb#32 +# source://rubocop//lib/rubocop/cop/lint/ordered_magic_comments.rb#32 class RuboCop::Cop::Lint::OrderedMagicComments < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/ordered_magic_comments.rb#38 + # source://rubocop//lib/rubocop/cop/lint/ordered_magic_comments.rb#38 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/ordered_magic_comments.rb#55 + # source://rubocop//lib/rubocop/cop/lint/ordered_magic_comments.rb#55 def autocorrect(corrector, encoding_line, frozen_string_literal_line); end - # source://rubocop/lib/rubocop/cop/lint/ordered_magic_comments.rb#63 + # source://rubocop//lib/rubocop/cop/lint/ordered_magic_comments.rb#63 def magic_comment_lines; end end -# source://rubocop/lib/rubocop/cop/lint/ordered_magic_comments.rb#36 +# source://rubocop//lib/rubocop/cop/lint/ordered_magic_comments.rb#36 RuboCop::Cop::Lint::OrderedMagicComments::MSG = T.let(T.unsafe(nil), String) # Looks for references of Regexp captures that are out of range @@ -22078,63 +22263,63 @@ RuboCop::Cop::Lint::OrderedMagicComments::MSG = T.let(T.unsafe(nil), String) # # puts $1 # => foo # -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#38 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#38 class RuboCop::Cop::Lint::OutOfRangeRegexpRef < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#55 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#55 def after_send(node); end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#71 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#71 def on_in_pattern(node); end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#51 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#51 def on_match_with_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#47 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#47 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#77 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#77 def on_nth_ref(node); end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#65 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#65 def on_when(node); end private - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#102 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#102 def check_regexp(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#122 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#122 def nth_ref_receiver?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#113 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#113 def regexp_first_argument?(send_node); end - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#93 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#93 def regexp_patterns(in_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#118 + # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#118 def regexp_receiver?(send_node); end end -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#39 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#39 RuboCop::Cop::Lint::OutOfRangeRegexpRef::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#42 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#42 RuboCop::Cop::Lint::OutOfRangeRegexpRef::REGEXP_ARGUMENT_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#44 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#44 RuboCop::Cop::Lint::OutOfRangeRegexpRef::REGEXP_CAPTURE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#41 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#41 RuboCop::Cop::Lint::OutOfRangeRegexpRef::REGEXP_RECEIVER_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#45 +# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#45 RuboCop::Cop::Lint::OutOfRangeRegexpRef::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Checks for space between the name of a called method and a left @@ -22150,57 +22335,57 @@ RuboCop::Cop::Lint::OutOfRangeRegexpRef::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # do_something (2 + 3) * 4 # do_something (foo * bar).baz # -# source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#18 +# source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#18 class RuboCop::Cop::Lint::ParenthesesAsGroupedExpression < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#24 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#35 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#24 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#24 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#60 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#60 def chained_calls?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#56 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#56 def compound_range?(first_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#47 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#47 def first_argument_block_type?(first_arg); end - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#85 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#85 def space_range(expr, space_length); end - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#69 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#69 def spaces_before_left_parenthesis(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#65 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#65 def ternary_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#39 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#39 def valid_context?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#51 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#51 def valid_first_argument?(first_arg); end end -# source://rubocop/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#22 +# source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#22 RuboCop::Cop::Lint::ParenthesesAsGroupedExpression::MSG = T.let(T.unsafe(nil), String) # Checks for quotes and commas in %w, e.g. `%w('foo', "bar")` @@ -22217,36 +22402,36 @@ RuboCop::Cop::Lint::ParenthesesAsGroupedExpression::MSG = T.let(T.unsafe(nil), S # # good # %w(foo bar) # -# source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#29 +# source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#29 class RuboCop::Cop::Lint::PercentStringArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#40 + # source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#40 def on_array(node); end - # source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#44 + # source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#44 def on_percent_literal(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#61 + # source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#61 def contains_quotes_or_commas?(node); end end -# source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#34 +# source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#34 RuboCop::Cop::Lint::PercentStringArray::LEADING_QUOTE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#37 +# source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#37 RuboCop::Cop::Lint::PercentStringArray::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#33 +# source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#33 RuboCop::Cop::Lint::PercentStringArray::QUOTES_AND_COMMAS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/percent_string_array.rb#35 +# source://rubocop//lib/rubocop/cop/lint/percent_string_array.rb#35 RuboCop::Cop::Lint::PercentStringArray::TRAILING_QUOTE = T.let(T.unsafe(nil), Regexp) # Checks for colons and commas in %i, e.g. `%i(:foo, :bar)` @@ -22263,35 +22448,35 @@ RuboCop::Cop::Lint::PercentStringArray::TRAILING_QUOTE = T.let(T.unsafe(nil), Re # # good # %i(foo bar) # -# source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#19 +# source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#19 class RuboCop::Cop::Lint::PercentSymbolArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#26 + # source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#26 def on_array(node); end - # source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#30 + # source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#30 def on_percent_literal(node); end private - # source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#38 + # source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#38 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#48 + # source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#48 def contains_colons_or_commas?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#58 + # source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#58 def non_alphanumeric_literal?(literal); end end -# source://rubocop/lib/rubocop/cop/lint/percent_symbol_array.rb#23 +# source://rubocop//lib/rubocop/cop/lint/percent_symbol_array.rb#23 RuboCop::Cop::Lint::PercentSymbolArray::MSG = T.let(T.unsafe(nil), String) # Checks for `raise` or `fail` statements which are @@ -22318,37 +22503,37 @@ RuboCop::Cop::Lint::PercentSymbolArray::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#34 +# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#34 class RuboCop::Cop::Lint::RaiseException < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#41 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#41 def exception?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#46 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#46 def exception_new_with_message?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#51 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#51 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#85 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#85 def allow_implicit_namespaces; end - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#57 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#57 def check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#73 + # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#73 def implicit_namespace?(node); end end -# source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#37 +# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#37 RuboCop::Cop::Lint::RaiseException::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/raise_exception.rb#38 +# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#38 RuboCop::Cop::Lint::RaiseException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `rand(1)` calls. @@ -22365,24 +22550,24 @@ RuboCop::Cop::Lint::RaiseException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # # good # 0 # just use 0 instead # -# source://rubocop/lib/rubocop/cop/lint/rand_one.rb#19 +# source://rubocop//lib/rubocop/cop/lint/rand_one.rb#19 class RuboCop::Cop::Lint::RandOne < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/rand_one.rb#28 + # source://rubocop//lib/rubocop/cop/lint/rand_one.rb#28 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/rand_one.rb#24 + # source://rubocop//lib/rubocop/cop/lint/rand_one.rb#24 def rand_one?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/rand_one.rb#36 + # source://rubocop//lib/rubocop/cop/lint/rand_one.rb#36 def message(node); end end -# source://rubocop/lib/rubocop/cop/lint/rand_one.rb#20 +# source://rubocop//lib/rubocop/cop/lint/rand_one.rb#20 RuboCop::Cop::Lint::RandOne::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/rand_one.rb#21 +# source://rubocop//lib/rubocop/cop/lint/rand_one.rb#21 RuboCop::Cop::Lint::RandOne::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # removed without causing any offenses to be reported. It's implemented @@ -22403,159 +22588,159 @@ RuboCop::Cop::Lint::RandOne::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # x += 1 # -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#28 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#28 class RuboCop::Cop::Lint::RedundantCopDisableDirective < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector # @return [RedundantCopDisableDirective] a new instance of RedundantCopDisableDirective # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#37 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#37 def initialize(config = T.unsafe(nil), options = T.unsafe(nil), offenses = T.unsafe(nil)); end # Returns the value of attribute offenses_to_check. # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#35 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#35 def offenses_to_check; end # Sets the attribute offenses_to_check # # @param value the value to set the attribute offenses_to_check to. # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#35 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#35 def offenses_to_check=(_arg0); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#42 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#42 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#323 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#323 def add_department_marker(department); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#229 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#229 def add_offense_for_entire_comment(comment, cops); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#244 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#244 def add_offense_for_some_cops(comment, cops); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#219 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#219 def add_offenses(redundant_cops); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#306 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#306 def all_cop_names; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#190 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#190 def all_disabled?(comment); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#69 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#69 def comment_range_with_surrounding_space(directive_comment_range, line_comment_range); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#57 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#57 def cop_disabled_line_ranges; end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#264 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#264 def cop_range(comment, cop); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#210 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#210 def department_disabled?(cop, comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#315 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#315 def department_marker?(department); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#293 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#293 def describe(cop); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#215 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#215 def directive_count(comment); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#92 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#92 def directive_range_in_list(range, ranges); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#61 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#61 def disabled_ranges; end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#132 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#132 def each_already_disabled(cop, line_ranges); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#113 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#113 def each_line_range(cop, line_ranges); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#106 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#106 def each_redundant_disable(&block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#310 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#310 def ends_its_line?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#202 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#202 def expected_final_disable?(cop, line_range); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#166 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#166 def find_redundant_all(range, next_range); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#161 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#161 def find_redundant_cop(cop, range); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#176 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#176 def find_redundant_department(cop, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#182 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#182 def followed_ranges?(range, next_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#194 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#194 def ignore_offense?(line_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#258 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#258 def leave_free_comment?(comment, range); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#271 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#271 def matching_range(haystack, needle); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#302 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#302 def message(cop_names); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#65 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#65 def previous_line_blank?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#186 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#186 def range_with_offense?(range, offenses = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#319 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#319 def remove_department_marker(department); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#279 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#279 def trailing_range?(ranges, range); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#32 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#32 RuboCop::Cop::Lint::RedundantCopDisableDirective::COP_NAME = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#33 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#33 RuboCop::Cop::Lint::RedundantCopDisableDirective::DEPARTMENT_MARKER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#287 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_disable_directive.rb#287 RuboCop::Cop::Lint::RedundantCopDisableDirective::SIMILAR_COP_NAMES_CACHE = T.let(T.unsafe(nil), Hash) # removed. @@ -22584,54 +22769,54 @@ RuboCop::Cop::Lint::RedundantCopDisableDirective::SIMILAR_COP_NAMES_CACHE = T.le # # rubocop:enable all # baz # -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#39 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#39 class RuboCop::Cop::Lint::RedundantCopEnableDirective < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#46 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#46 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#122 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#122 def all_or_name(name); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#78 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#78 def comment_start(comment); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#82 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#82 def cop_name_indention(comment, name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#126 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#126 def department?(directive, name); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#73 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#73 def range_of_offense(comment, name); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#97 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#97 def range_to_remove(begin_pos, end_pos, comment); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#86 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#86 def range_with_comma(comment, name); end # If the list of cops is comma-separated, but without an empty space after the comma, # we should **not** remove the prepending empty space, thus begin_pos += 1 # - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#116 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#116 def range_with_comma_after(comment, start, begin_pos, end_pos); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#110 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#110 def range_with_comma_before(start, begin_pos, end_pos); end - # source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#55 + # source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#55 def register_offense(comment, cop_names); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#44 +# source://rubocop//lib/rubocop/cop/lint/redundant_cop_enable_directive.rb#44 RuboCop::Cop::Lint::RedundantCopEnableDirective::MSG = T.let(T.unsafe(nil), String) # Sort globbed results by default in Ruby 3.0. @@ -22653,29 +22838,29 @@ RuboCop::Cop::Lint::RedundantCopEnableDirective::MSG = T.let(T.unsafe(nil), Stri # Dir['./lib/**/*.rb'].each do |file| # end # -# source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#30 +# source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#30 class RuboCop::Cop::Lint::RedundantDirGlobSort < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#40 + # source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#40 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#56 + # source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#56 def multiple_argument?(glob_method); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#38 +# source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#38 RuboCop::Cop::Lint::RedundantDirGlobSort::GLOB_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#36 +# source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#36 RuboCop::Cop::Lint::RedundantDirGlobSort::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#37 +# source://rubocop//lib/rubocop/cop/lint/redundant_dir_glob_sort.rb#37 RuboCop::Cop::Lint::RedundantDirGlobSort::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant quantifiers inside Regexp literals. @@ -22707,48 +22892,48 @@ RuboCop::Cop::Lint::RedundantDirGlobSort::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # # good # /(?:x*)/ # -# source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#34 +# source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#34 class RuboCop::Cop::Lint::RedundantRegexpQuantifiers < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#42 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#42 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#83 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#83 def character_set?(expr); end - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#61 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#61 def each_redundantly_quantified_pair(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#87 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#87 def mergeable_quantifier(expr); end - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#103 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#103 def merged_quantifier(exp1, exp2); end - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#119 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#119 def message(group, child, replacement); end - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#115 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#115 def quantifier_range(group, child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#75 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#75 def redundant_group?(expr); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#79 + # source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#79 def redundantly_quantifiable?(node); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#38 +# source://rubocop//lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb#38 RuboCop::Cop::Lint::RedundantRegexpQuantifiers::MSG_REDUNDANT_QUANTIFIER = T.let(T.unsafe(nil), String) # Checks for unnecessary `require` statement. @@ -22780,43 +22965,43 @@ RuboCop::Cop::Lint::RedundantRegexpQuantifiers::MSG_REDUNDANT_QUANTIFIER = T.let # # good # require 'unloaded_feature' # -# source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#38 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#38 class RuboCop::Cop::Lint::RedundantRequireStatement < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#61 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#61 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#57 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#57 def pp_const?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#51 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#51 def redundant_require_statement?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#91 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#91 def need_to_require_pp?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#80 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#80 def redundant_feature?(feature_name); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#42 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#42 RuboCop::Cop::Lint::RedundantRequireStatement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#45 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#45 RuboCop::Cop::Lint::RedundantRequireStatement::PRETTY_PRINT_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#43 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#43 RuboCop::Cop::Lint::RedundantRequireStatement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/redundant_require_statement.rb#44 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#44 RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T.unsafe(nil), Array) # Checks for redundant safe navigation calls. @@ -22891,51 +23076,51 @@ RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T # do_something if attrs.nil_safe_method(:[]) # do_something if attrs&.not_nil_safe_method(:[]) # -# source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#84 +# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#84 class RuboCop::Cop::Lint::RedundantSafeNavigation < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#101 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#101 def conversion_with_default?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#113 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#113 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#123 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#123 def on_or(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#96 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#96 def respond_to_nil_specific_method?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#139 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#139 def assume_receiver_instance_exists?(receiver); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#145 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#145 def check?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#154 + # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#154 def condition?(parent, node); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#88 +# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#88 RuboCop::Cop::Lint::RedundantSafeNavigation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#89 +# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#89 RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_LITERAL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#91 +# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#91 RuboCop::Cop::Lint::RedundantSafeNavigation::NIL_SPECIFIC_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/lint/redundant_safe_navigation.rb#93 +# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#93 RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # Checks for unneeded usages of splat expansion. @@ -23001,88 +23186,88 @@ RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), R # # bad # do_something(*%w[foo bar baz]) # -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#71 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#71 class RuboCop::Cop::Lint::RedundantSplatExpansion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#83 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#83 def array_new?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#91 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#91 def literal_expansion(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#95 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#95 def on_splat(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#204 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#204 def allow_percent_literal_array_argument?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#131 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#131 def array_new_inside_array_literal?(array_new_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#156 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#156 def array_splat?(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#112 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#112 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#160 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#160 def method_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#164 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#164 def part_of_an_array?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#171 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#171 def redundant_brackets?(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#118 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#118 def redundant_splat_expansion(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#179 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#179 def remove_brackets(array); end - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#139 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#139 def replacement_range_and_content(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#197 + # source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#197 def use_percent_literal_array_argument?(node); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#75 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#75 RuboCop::Cop::Lint::RedundantSplatExpansion::ARRAY_PARAM_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#80 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#80 RuboCop::Cop::Lint::RedundantSplatExpansion::ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#74 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#74 RuboCop::Cop::Lint::RedundantSplatExpansion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#79 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#79 RuboCop::Cop::Lint::RedundantSplatExpansion::PERCENT_CAPITAL_I = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#77 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#77 RuboCop::Cop::Lint::RedundantSplatExpansion::PERCENT_CAPITAL_W = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#78 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#78 RuboCop::Cop::Lint::RedundantSplatExpansion::PERCENT_I = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_splat_expansion.rb#76 +# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#76 RuboCop::Cop::Lint::RedundantSplatExpansion::PERCENT_W = T.let(T.unsafe(nil), String) # Checks for string conversion in string interpolation, `print`, `puts`, and `warn` arguments, @@ -23102,33 +23287,33 @@ RuboCop::Cop::Lint::RedundantSplatExpansion::PERCENT_W = T.let(T.unsafe(nil), St # puts something # warn something # -# source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#23 +# source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#23 class RuboCop::Cop::Lint::RedundantStringCoercion < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#34 + # source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#34 def on_interpolation(begin_node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#42 + # source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#42 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#32 + # source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#32 def to_s_without_args?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#54 + # source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#54 def register_offense(node, context); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#27 +# source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#27 RuboCop::Cop::Lint::RedundantStringCoercion::MSG_DEFAULT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#28 +# source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#28 RuboCop::Cop::Lint::RedundantStringCoercion::MSG_SELF = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_string_coercion.rb#29 +# source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#29 RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant `with_index`. @@ -23154,33 +23339,33 @@ RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(n # v # end # -# source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#29 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#29 class RuboCop::Cop::Lint::RedundantWithIndex < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#37 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#37 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#37 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#55 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#60 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#60 def redundant_with_index?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#70 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#70 def message(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#78 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#78 def with_index_range(send); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#33 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#33 RuboCop::Cop::Lint::RedundantWithIndex::MSG_EACH_WITH_INDEX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_with_index.rb#34 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#34 RuboCop::Cop::Lint::RedundantWithIndex::MSG_WITH_INDEX = T.let(T.unsafe(nil), String) # Checks for redundant `with_object`. @@ -23206,33 +23391,33 @@ RuboCop::Cop::Lint::RedundantWithIndex::MSG_WITH_INDEX = T.let(T.unsafe(nil), St # v # end # -# source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#29 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#29 class RuboCop::Cop::Lint::RedundantWithObject < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#36 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#36 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#36 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#51 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#56 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#56 def redundant_with_object?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#65 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#65 def message(node); end - # source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#73 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#73 def with_object_range(send); end end -# source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#33 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#33 RuboCop::Cop::Lint::RedundantWithObject::MSG_EACH_WITH_OBJECT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/redundant_with_object.rb#34 +# source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#34 RuboCop::Cop::Lint::RedundantWithObject::MSG_WITH_OBJECT = T.let(T.unsafe(nil), String) # Checks if `include` or `prepend` is called in `refine` block. @@ -23257,18 +23442,18 @@ RuboCop::Cop::Lint::RedundantWithObject::MSG_WITH_OBJECT = T.let(T.unsafe(nil), # import_methods Bar # end # -# source://rubocop/lib/rubocop/cop/lint/refinement_import_methods.rb#34 +# source://rubocop//lib/rubocop/cop/lint/refinement_import_methods.rb#34 class RuboCop::Cop::Lint::RefinementImportMethods < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/refinement_import_methods.rb#42 + # source://rubocop//lib/rubocop/cop/lint/refinement_import_methods.rb#42 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/refinement_import_methods.rb#37 +# source://rubocop//lib/rubocop/cop/lint/refinement_import_methods.rb#37 RuboCop::Cop::Lint::RefinementImportMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/refinement_import_methods.rb#38 +# source://rubocop//lib/rubocop/cop/lint/refinement_import_methods.rb#38 RuboCop::Cop::Lint::RefinementImportMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for regexp literals used as `match-current-line`. @@ -23285,15 +23470,15 @@ RuboCop::Cop::Lint::RefinementImportMethods::RESTRICT_ON_SEND = T.let(T.unsafe(n # do_something # end # -# source://rubocop/lib/rubocop/cop/lint/regexp_as_condition.rb#19 +# source://rubocop//lib/rubocop/cop/lint/regexp_as_condition.rb#19 class RuboCop::Cop::Lint::RegexpAsCondition < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/regexp_as_condition.rb#25 + # source://rubocop//lib/rubocop/cop/lint/regexp_as_condition.rb#25 def on_match_current_line(node); end end -# source://rubocop/lib/rubocop/cop/lint/regexp_as_condition.rb#22 +# source://rubocop//lib/rubocop/cop/lint/regexp_as_condition.rb#22 RuboCop::Cop::Lint::RegexpAsCondition::MSG = T.let(T.unsafe(nil), String) # Checks for expressions where there is a call to a predicate @@ -23317,26 +23502,26 @@ RuboCop::Cop::Lint::RegexpAsCondition::MSG = T.let(T.unsafe(nil), String) # # ... # end # -# source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#26 +# source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#26 class RuboCop::Cop::Lint::RequireParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#31 + # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#40 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#31 + # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#31 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#54 + # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#54 def check_predicate(predicate, node); end - # source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#44 + # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#44 def check_ternary(ternary, node); end end -# source://rubocop/lib/rubocop/cop/lint/require_parentheses.rb#29 +# source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#29 RuboCop::Cop::Lint::RequireParentheses::MSG = T.let(T.unsafe(nil), String) # Checks that a range literal is enclosed in parentheses when the end of the range is @@ -23373,16 +23558,16 @@ RuboCop::Cop::Lint::RequireParentheses::MSG = T.let(T.unsafe(nil), String) # (1.. # 42) # -# source://rubocop/lib/rubocop/cop/lint/require_range_parentheses.rb#40 +# source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#40 class RuboCop::Cop::Lint::RequireRangeParentheses < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/require_range_parentheses.rb#43 + # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#53 def on_erange(node); end - # source://rubocop/lib/rubocop/cop/lint/require_range_parentheses.rb#43 + # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#43 def on_irange(node); end end -# source://rubocop/lib/rubocop/cop/lint/require_range_parentheses.rb#41 +# source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#41 RuboCop::Cop::Lint::RequireRangeParentheses::MSG = T.let(T.unsafe(nil), String) # Checks for uses a file requiring itself with `require_relative`. @@ -23400,29 +23585,29 @@ RuboCop::Cop::Lint::RequireRangeParentheses::MSG = T.let(T.unsafe(nil), String) # # foo.rb # require_relative 'bar' # -# source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#21 +# source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#21 class RuboCop::Cop::Lint::RequireRelativeSelfPath < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#28 + # source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#28 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#44 + # source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#44 def remove_ext(file_path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#40 + # source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#40 def same_file?(file_path, required_feature); end end -# source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#25 +# source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#25 RuboCop::Cop::Lint::RequireRelativeSelfPath::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/require_relative_self_path.rb#26 +# source://rubocop//lib/rubocop/cop/lint/require_relative_self_path.rb#26 RuboCop::Cop::Lint::RequireRelativeSelfPath::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `rescue` blocks targeting the Exception class. @@ -23443,18 +23628,18 @@ RuboCop::Cop::Lint::RequireRelativeSelfPath::RESTRICT_ON_SEND = T.let(T.unsafe(n # handle_exception # end # -# source://rubocop/lib/rubocop/cop/lint/rescue_exception.rb#23 +# source://rubocop//lib/rubocop/cop/lint/rescue_exception.rb#23 class RuboCop::Cop::Lint::RescueException < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/rescue_exception.rb#26 + # source://rubocop//lib/rubocop/cop/lint/rescue_exception.rb#26 def on_resbody(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/rescue_exception.rb#35 + # source://rubocop//lib/rubocop/cop/lint/rescue_exception.rb#35 def targets_exception?(rescue_arg_node); end end -# source://rubocop/lib/rubocop/cop/lint/rescue_exception.rb#24 +# source://rubocop//lib/rubocop/cop/lint/rescue_exception.rb#24 RuboCop::Cop::Lint::RescueException::MSG = T.let(T.unsafe(nil), String) # Check for arguments to `rescue` that will result in a `TypeError` @@ -23489,32 +23674,32 @@ RuboCop::Cop::Lint::RescueException::MSG = T.let(T.unsafe(nil), String) # baz # end # -# source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#37 +# source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#37 class RuboCop::Cop::Lint::RescueType < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#56 + # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#56 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#44 + # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#44 def on_resbody(node); end private - # source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#65 + # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#65 def correction(*exceptions); end - # source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#76 + # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#76 def invalid_exceptions(exceptions); end - # source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#72 + # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#72 def valid_exceptions(exceptions); end end -# source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#42 +# source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#42 RuboCop::Cop::Lint::RescueType::INVALID_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/rescue_type.rb#40 +# source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#40 RuboCop::Cop::Lint::RescueType::MSG = T.let(T.unsafe(nil), String) # Checks for the use of a return with a value in a context @@ -23544,18 +23729,18 @@ RuboCop::Cop::Lint::RescueType::MSG = T.let(T.unsafe(nil), String) # return # end # -# source://rubocop/lib/rubocop/cop/lint/return_in_void_context.rb#32 +# source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#32 class RuboCop::Cop::Lint::ReturnInVoidContext < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/return_in_void_context.rb#35 + # source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#35 def on_return(return_node); end private - # source://rubocop/lib/rubocop/cop/lint/return_in_void_context.rb#51 + # source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#51 def non_void_context(return_node); end end -# source://rubocop/lib/rubocop/cop/lint/return_in_void_context.rb#33 +# source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#33 RuboCop::Cop::Lint::ReturnInVoidContext::MSG = T.let(T.unsafe(nil), String) # The safe navigation operator returns nil if the receiver is @@ -23575,17 +23760,17 @@ RuboCop::Cop::Lint::ReturnInVoidContext::MSG = T.let(T.unsafe(nil), String) # x&.foo&.bar # x&.foo || bar # -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#22 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#22 class RuboCop::Cop::Lint::SafeNavigationChain < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::NilMethods extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#33 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#33 def bad_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#40 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#40 def on_send(node); end private @@ -23594,36 +23779,36 @@ class RuboCop::Cop::Lint::SafeNavigationChain < ::RuboCop::Cop::Base # @param send_node [RuboCop::AST::SendNode] # @return [String] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#67 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#67 def add_safe_navigation_operator(offense_range:, send_node:); end # @param corrector [RuboCop::Cop::Corrector] # @param offense_range [Parser::Source::Range] # @param send_node [RuboCop::AST::SendNode] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#86 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#86 def autocorrect(corrector, offense_range:, send_node:); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#95 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#95 def brackets?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#99 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#99 def require_parentheses?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#57 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#57 def require_safe_navigation?(node); end end -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#29 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#29 RuboCop::Cop::Lint::SafeNavigationChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_chain.rb#30 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#30 RuboCop::Cop::Lint::SafeNavigationChain::PLUS_MINUS_METHODS = T.let(T.unsafe(nil), Array) # Check to make sure that if safe navigation is used in an `&&` or `||` condition, @@ -23661,63 +23846,63 @@ RuboCop::Cop::Lint::SafeNavigationChain::PLUS_MINUS_METHODS = T.let(T.unsafe(nil # # good # foo&.bar && (foobar.baz || foo.baz) # -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#41 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#41 class RuboCop::Cop::Lint::SafeNavigationConsistency < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::NilMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#48 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#48 def on_and(node); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#48 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#63 def on_or(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#98 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#98 def already_appropriate_call?(operand, dot_op); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#67 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#67 def collect_operands(node, operand_nodes); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#83 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#83 def find_consistent_parts(grouped_operands); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#124 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#124 def most_left_indices(grouped_operands); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#154 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#154 def nilable?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#138 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#138 def operand_in_and?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#146 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#146 def operand_in_or?(node); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#115 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#115 def operand_nodes(operand, operand_nodes); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#74 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#74 def receiver_name_as_key(method, fully_receivers); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#104 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#104 def register_offense(operand, dot_operator); end end -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#45 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#45 RuboCop::Cop::Lint::SafeNavigationConsistency::USE_DOT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_consistency.rb#46 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_consistency.rb#46 RuboCop::Cop::Lint::SafeNavigationConsistency::USE_SAFE_NAVIGATION_MSG = T.let(T.unsafe(nil), String) # Checks to make sure safe navigation isn't used with `empty?` in @@ -23736,18 +23921,18 @@ RuboCop::Cop::Lint::SafeNavigationConsistency::USE_SAFE_NAVIGATION_MSG = T.let(T # return if foo && foo.empty? # return unless foo && foo.empty? # -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_with_empty.rb#22 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_with_empty.rb#22 class RuboCop::Cop::Lint::SafeNavigationWithEmpty < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_with_empty.rb#32 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_with_empty.rb#32 def on_if(node); end - # source://rubocop/lib/rubocop/cop/lint/safe_navigation_with_empty.rb#28 + # source://rubocop//lib/rubocop/cop/lint/safe_navigation_with_empty.rb#28 def safe_navigation_empty_in_conditional?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/safe_navigation_with_empty.rb#25 +# source://rubocop//lib/rubocop/cop/lint/safe_navigation_with_empty.rb#25 RuboCop::Cop::Lint::SafeNavigationWithEmpty::MSG = T.let(T.unsafe(nil), String) # Checks if a file which has a shebang line as @@ -23777,31 +23962,31 @@ RuboCop::Cop::Lint::SafeNavigationWithEmpty::MSG = T.let(T.unsafe(nil), String) # # puts 'hello, world' # -# source://rubocop/lib/rubocop/cop/lint/script_permission.rb#33 +# source://rubocop//lib/rubocop/cop/lint/script_permission.rb#33 class RuboCop::Cop::Lint::ScriptPermission < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/script_permission.rb#39 + # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#39 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/lint/script_permission.rb#55 + # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#55 def autocorrect; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/script_permission.rb#59 + # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#59 def executable?(processed_source); end - # source://rubocop/lib/rubocop/cop/lint/script_permission.rb#66 + # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#66 def format_message_from(processed_source); end end -# source://rubocop/lib/rubocop/cop/lint/script_permission.rb#36 +# source://rubocop//lib/rubocop/cop/lint/script_permission.rb#36 RuboCop::Cop::Lint::ScriptPermission::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/script_permission.rb#37 +# source://rubocop//lib/rubocop/cop/lint/script_permission.rb#37 RuboCop::Cop::Lint::ScriptPermission::SHEBANG = T.let(T.unsafe(nil), String) # Checks for self-assignments. @@ -23824,61 +24009,61 @@ RuboCop::Cop::Lint::ScriptPermission::SHEBANG = T.let(T.unsafe(nil), String) # # good (method calls possibly can return different results) # hash[foo] = hash[foo] # -# source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#26 +# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#26 class RuboCop::Cop::Lint::SelfAssignment < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#67 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#70 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#56 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#56 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#36 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#43 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#53 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#54 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#52 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#45 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#63 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#63 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#67 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#67 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#36 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#36 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#101 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#101 def handle_attribute_assignment(node); end - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#90 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#90 def handle_key_assignment(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#74 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#74 def multiple_self_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#85 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#85 def rhs_matches_lhs?(rhs, lhs); end end -# source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#29 +# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#29 RuboCop::Cop::Lint::SelfAssignment::ASSIGNMENT_TYPE_TO_RHS_TYPE = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/lint/self_assignment.rb#27 +# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#27 RuboCop::Cop::Lint::SelfAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for `send`, `public_send`, and `__send__` methods @@ -23911,41 +24096,41 @@ RuboCop::Cop::Lint::SelfAssignment::MSG = T.let(T.unsafe(nil), String) # Foo.prepend Bar # Foo.extend Bar # -# source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#36 +# source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#36 class RuboCop::Cop::Lint::SendWithMixinArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#53 + # source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#53 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#46 + # source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#46 def send_with_mixin_argument?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#67 + # source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#67 def bad_location(node); end - # source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#73 + # source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#73 def message(method, module_name, bad_method); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#77 + # source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#77 def mixin_method?(node); end end -# source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#41 +# source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#41 RuboCop::Cop::Lint::SendWithMixinArgument::MIXIN_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#40 +# source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#40 RuboCop::Cop::Lint::SendWithMixinArgument::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#43 +# source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#43 RuboCop::Cop::Lint::SendWithMixinArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/send_with_mixin_argument.rb#42 +# source://rubocop//lib/rubocop/cop/lint/send_with_mixin_argument.rb#42 RuboCop::Cop::Lint::SendWithMixinArgument::SEND_METHODS = T.let(T.unsafe(nil), Array) # Checks for shadowed arguments. @@ -24006,19 +24191,19 @@ RuboCop::Cop::Lint::SendWithMixinArgument::SEND_METHODS = T.let(T.unsafe(nil), A # bar # end # -# source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#66 +# source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#66 class RuboCop::Cop::Lint::ShadowedArgument < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#76 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#76 def after_leaving_scope(scope, _variable_table); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#70 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#70 def uses_var?(param0, param1); end private # Get argument references without assignments' references # - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#161 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#161 def argument_references(argument); end # Find the first argument assignment, which doesn't reference the @@ -24026,37 +24211,37 @@ class RuboCop::Cop::Lint::ShadowedArgument < ::RuboCop::Cop::Base # block, it is impossible to tell whether it's executed, so precise # shadowing location is not known. # - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#120 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#120 def assignment_without_argument_usage(argument); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#82 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#82 def check_argument(argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#171 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#171 def ignore_implicit_references?; end # Check whether the given node is nested into block or conditional. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#152 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#152 def node_within_block_or_conditional?(node, stop_search_node); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#144 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#144 def reference_pos(node); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#95 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#95 def shadowing_assignment(argument); end class << self - # source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#72 + # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#72 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/lint/shadowed_argument.rb#67 +# source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#67 RuboCop::Cop::Lint::ShadowedArgument::MSG = T.let(T.unsafe(nil), String) # Checks for a rescued exception that get shadowed by a @@ -24114,48 +24299,48 @@ RuboCop::Cop::Lint::ShadowedArgument::MSG = T.let(T.unsafe(nil), String) # handle_standard_error # end # -# source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#61 +# source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#61 class RuboCop::Cop::Lint::ShadowedException < ::RuboCop::Cop::Base include ::RuboCop::Cop::RescueNode include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#67 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#67 def on_rescue(node); end private - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#101 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#101 def compare_exceptions(exception, other_exception); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#94 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#94 def contains_multiple_levels_of_exceptions?(group); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#119 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#119 def evaluate_exceptions(group); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#152 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#152 def find_shadowing_rescue(rescues); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#84 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#84 def offense_range(rescues); end - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#90 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#90 def rescued_groups_for(rescues); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#137 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#137 def sorted?(rescued_groups); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#115 + # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#115 def system_call_err?(error); end end -# source://rubocop/lib/rubocop/cop/lint/shadowed_exception.rb#65 +# source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#65 RuboCop::Cop::Lint::ShadowedException::MSG = T.let(T.unsafe(nil), String) # Checks for the use of local variable names from an outer scope @@ -24194,37 +24379,37 @@ RuboCop::Cop::Lint::ShadowedException::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#41 +# source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#41 class RuboCop::Cop::Lint::ShadowingOuterLocalVariable < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#53 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#53 def before_declaring_variable(variable, variable_table); end - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#89 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#89 def find_conditional_node_from_ascendant(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#96 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#96 def node_or_its_ascendant_conditional?(node); end - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#45 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#45 def ractor_block?(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#65 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#65 def same_conditions_node_different_branch?(variable, outer_local_variable); end - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#79 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#79 def variable_node(variable); end class << self - # source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#49 + # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#49 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#42 +# source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#42 RuboCop::Cop::Lint::ShadowingOuterLocalVariable::MSG = T.let(T.unsafe(nil), String) # Checks for Hash creation with a mutable default value. @@ -24269,19 +24454,19 @@ RuboCop::Cop::Lint::ShadowingOuterLocalVariable::MSG = T.let(T.unsafe(nil), Stri # Hash.new { |h, k| h[k] = [] } # Hash.new { |h, k| h[k] = {} } # -# source://rubocop/lib/rubocop/cop/lint/shared_mutable_default.rb#47 +# source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#47 class RuboCop::Cop::Lint::SharedMutableDefault < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/shared_mutable_default.rb#53 + # source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#53 def hash_initialized_with_mutable_shared_object?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/shared_mutable_default.rb#57 + # source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#57 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/lint/shared_mutable_default.rb#48 +# source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#48 RuboCop::Cop::Lint::SharedMutableDefault::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/shared_mutable_default.rb#50 +# source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#50 RuboCop::Cop::Lint::SharedMutableDefault::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks unexpected overrides of the `Struct` built-in methods @@ -24302,25 +24487,25 @@ RuboCop::Cop::Lint::SharedMutableDefault::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # g.clone #=> # # g.count #=> 2 # -# source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#24 +# source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#24 class RuboCop::Cop::Lint::StructNewOverride < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#38 + # source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#38 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#33 + # source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#33 def struct_new(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#25 +# source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#25 RuboCop::Cop::Lint::StructNewOverride::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#27 +# source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#27 RuboCop::Cop::Lint::StructNewOverride::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#30 +# source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#30 RuboCop::Cop::Lint::StructNewOverride::STRUCT_MEMBER_NAME_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/struct_new_override.rb#29 +# source://rubocop//lib/rubocop/cop/lint/struct_new_override.rb#29 RuboCop::Cop::Lint::StructNewOverride::STRUCT_METHOD_NAMES = T.let(T.unsafe(nil), Array) # Checks for `rescue` blocks with no body. @@ -24419,25 +24604,25 @@ RuboCop::Cop::Lint::StructNewOverride::STRUCT_METHOD_NAMES = T.let(T.unsafe(nil) # # bad # do_something rescue nil # -# source://rubocop/lib/rubocop/cop/lint/suppressed_exception.rb#105 +# source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#105 class RuboCop::Cop::Lint::SuppressedException < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/suppressed_exception.rb#108 + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#108 def on_resbody(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/suppressed_exception.rb#118 + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#118 def comment_between_rescue_and_end?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/suppressed_exception.rb#126 + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#126 def nil_body?(node); end end -# source://rubocop/lib/rubocop/cop/lint/suppressed_exception.rb#106 +# source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#106 RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String) # Checks for uses of literal strings converted to @@ -24500,86 +24685,86 @@ RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String) # b: 2 # } # -# source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#68 +# source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#68 class RuboCop::Cop::Lint::SymbolConversion < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::SymbolHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#105 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#105 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#78 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#78 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#88 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#88 def on_sym(node); end private - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#147 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#147 def correct_hash_key(node); end - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#166 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#166 def correct_inconsistent_hash_keys(keys); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#139 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#139 def in_alias?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#143 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#143 def in_percent_literal_array?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#126 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#126 def properly_quoted?(source, value); end - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#122 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#122 def register_offense(node, correction:, message: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#135 + # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#135 def requires_quotes?(sym_node); end end -# source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#73 +# source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#73 RuboCop::Cop::Lint::SymbolConversion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#74 +# source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#74 RuboCop::Cop::Lint::SymbolConversion::MSG_CONSISTENCY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/symbol_conversion.rb#76 +# source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#76 RuboCop::Cop::Lint::SymbolConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Repacks Parser's diagnostics/errors # into RuboCop's offenses. # -# source://rubocop/lib/rubocop/cop/lint/syntax.rb#8 +# source://rubocop//lib/rubocop/cop/lint/syntax.rb#8 class RuboCop::Cop::Lint::Syntax < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/syntax.rb#11 + # source://rubocop//lib/rubocop/cop/lint/syntax.rb#11 def on_other_file; end private - # source://rubocop/lib/rubocop/cop/lint/syntax.rb#22 + # source://rubocop//lib/rubocop/cop/lint/syntax.rb#22 def add_offense_from_diagnostic(diagnostic, ruby_version); end - # source://rubocop/lib/rubocop/cop/lint/syntax.rb#32 + # source://rubocop//lib/rubocop/cop/lint/syntax.rb#32 def add_offense_from_error(error); end - # source://rubocop/lib/rubocop/cop/lint/syntax.rb#37 + # source://rubocop//lib/rubocop/cop/lint/syntax.rb#37 def beautify_message(message); end - # source://rubocop/lib/rubocop/cop/lint/syntax.rb#43 + # source://rubocop//lib/rubocop/cop/lint/syntax.rb#43 def find_severity(_range, _severity); end end -# source://rubocop/lib/rubocop/cop/lint/syntax.rb#9 +# source://rubocop//lib/rubocop/cop/lint/syntax.rb#9 RuboCop::Cop::Lint::Syntax::LEVELS = T.let(T.unsafe(nil), Array) # Ensures that `to_enum`/`enum_for`, called for the current method, @@ -24603,37 +24788,37 @@ RuboCop::Cop::Lint::Syntax::LEVELS = T.let(T.unsafe(nil), Array) # return to_enum(T.must(__callee__), x, y) # end # -# source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#27 +# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#27 class RuboCop::Cop::Lint::ToEnumArguments < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#33 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#33 def enum_conversion_call?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#38 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#38 def method_name?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#47 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#47 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#43 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#43 def passing_keyword_arg?(param0 = T.unsafe(nil), param1); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#76 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#76 def argument_match?(send_arg, def_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#61 + # source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#61 def arguments_match?(arguments, def_node); end end -# source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#28 +# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#28 RuboCop::Cop::Lint::ToEnumArguments::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/to_enum_arguments.rb#30 +# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#30 RuboCop::Cop::Lint::ToEnumArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks to make sure `#to_json` includes an optional argument. @@ -24661,15 +24846,15 @@ RuboCop::Cop::Lint::ToEnumArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # end # end # -# source://rubocop/lib/rubocop/cop/lint/to_json.rb#31 +# source://rubocop//lib/rubocop/cop/lint/to_json.rb#31 class RuboCop::Cop::Lint::ToJSON < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/to_json.rb#36 + # source://rubocop//lib/rubocop/cop/lint/to_json.rb#36 def on_def(node); end end -# source://rubocop/lib/rubocop/cop/lint/to_json.rb#34 +# source://rubocop//lib/rubocop/cop/lint/to_json.rb#34 RuboCop::Cop::Lint::ToJSON::MSG = T.let(T.unsafe(nil), String) # Checks for top level return with arguments. If there is a @@ -24683,16 +24868,16 @@ RuboCop::Cop::Lint::ToJSON::MSG = T.let(T.unsafe(nil), String) # # good # return # -# source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#16 +# source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#16 class RuboCop::Cop::Lint::TopLevelReturnWithArgument < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#21 + # source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#21 def on_return(return_node); end private - # source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#35 + # source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#35 def remove_arguments(corrector, return_node); end # This cop works by validating the ancestors of the return node. A @@ -24701,16 +24886,16 @@ class RuboCop::Cop::Lint::TopLevelReturnWithArgument < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#42 + # source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#42 def top_level_return?(return_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#31 + # source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#31 def top_level_return_with_any_argument?(return_node); end end -# source://rubocop/lib/rubocop/cop/lint/top_level_return_with_argument.rb#19 +# source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#19 RuboCop::Cop::Lint::TopLevelReturnWithArgument::MSG = T.let(T.unsafe(nil), String) # Checks for trailing commas in attribute declarations, such as @@ -24737,21 +24922,21 @@ RuboCop::Cop::Lint::TopLevelReturnWithArgument::MSG = T.let(T.unsafe(nil), Strin # end # end # -# source://rubocop/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#30 +# source://rubocop//lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#30 class RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#36 + # source://rubocop//lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#36 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#46 + # source://rubocop//lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#46 def trailing_comma_range(node); end end -# source://rubocop/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#34 +# source://rubocop//lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb#34 RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(nil), String) # Checks for "triple quotes" (strings delimited by any odd number @@ -24791,20 +24976,20 @@ RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(ni # # good (but not the same spacing as the bad case) # 'A string' # -# source://rubocop/lib/rubocop/cop/lint/triple_quotes.rb#42 +# source://rubocop//lib/rubocop/cop/lint/triple_quotes.rb#42 class RuboCop::Cop::Lint::TripleQuotes < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/triple_quotes.rb#47 + # source://rubocop//lib/rubocop/cop/lint/triple_quotes.rb#47 def on_dstr(node); end private - # source://rubocop/lib/rubocop/cop/lint/triple_quotes.rb#65 + # source://rubocop//lib/rubocop/cop/lint/triple_quotes.rb#65 def empty_str_nodes(node); end end -# source://rubocop/lib/rubocop/cop/lint/triple_quotes.rb#45 +# source://rubocop//lib/rubocop/cop/lint/triple_quotes.rb#45 RuboCop::Cop::Lint::TripleQuotes::MSG = T.let(T.unsafe(nil), String) # Checks for underscore-prefixed variables that are actually @@ -24843,28 +25028,28 @@ RuboCop::Cop::Lint::TripleQuotes::MSG = T.let(T.unsafe(nil), String) # {_id: _id, profit: revenue - cost} # end # -# source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#43 +# source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#43 class RuboCop::Cop::Lint::UnderscorePrefixedVariableName < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#50 + # source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#50 def after_leaving_scope(scope, _variable_table); end - # source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#54 + # source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#54 def check_variable(variable); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#72 + # source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#72 def allowed_keyword_block_argument?(variable); end class << self - # source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#46 + # source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#46 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#44 +# source://rubocop//lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb#44 RuboCop::Cop::Lint::UnderscorePrefixedVariableName::MSG = T.let(T.unsafe(nil), String) # Checks for Regexpes (both literals and via `Regexp.new` / `Regexp.compile`) @@ -24891,32 +25076,32 @@ RuboCop::Cop::Lint::UnderscorePrefixedVariableName::MSG = T.let(T.unsafe(nil), S # Regexp.new('abc\]123') # Regexp.compile('abc\]123') # -# source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#30 +# source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#30 class RuboCop::Cop::Lint::UnescapedBracketInRegexp < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#45 + # source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#45 def on_regexp(node); end - # source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#53 + # source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#53 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#37 + # source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#37 def regexp_constructor(param0); end private - # source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#66 + # source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#66 def detect_offenses(node, expr); end - # source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#81 + # source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#81 def range_at_index(node, index, offset); end end -# source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#33 +# source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#33 RuboCop::Cop::Lint::UnescapedBracketInRegexp::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#34 +# source://rubocop//lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb#34 RuboCop::Cop::Lint::UnescapedBracketInRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for a block that is known to need more positional @@ -24949,37 +25134,37 @@ RuboCop::Cop::Lint::UnescapedBracketInRegexp::RESTRICT_ON_SEND = T.let(T.unsafe( # values.min { |a, b| a <=> b } # values.sort { |*x| x[0] <=> x[1] } # -# source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#41 +# source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#41 class RuboCop::Cop::Lint::UnexpectedBlockArity < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#44 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#44 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#44 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#55 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#63 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#63 def acceptable?(node); end - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#75 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#75 def arg_count(node); end - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#71 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#71 def expected_arity(method); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#67 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#67 def included_method?(name); end - # source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#59 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#59 def methods; end end -# source://rubocop/lib/rubocop/cop/lint/unexpected_block_arity.rb#42 +# source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#42 RuboCop::Cop::Lint::UnexpectedBlockArity::MSG = T.let(T.unsafe(nil), String) # Checks for using Fixnum or Bignum constant. @@ -24993,18 +25178,18 @@ RuboCop::Cop::Lint::UnexpectedBlockArity::MSG = T.let(T.unsafe(nil), String) # # good # 1.is_a?(Integer) # -# source://rubocop/lib/rubocop/cop/lint/unified_integer.rb#16 +# source://rubocop//lib/rubocop/cop/lint/unified_integer.rb#16 class RuboCop::Cop::Lint::UnifiedInteger < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/unified_integer.rb#22 + # source://rubocop//lib/rubocop/cop/lint/unified_integer.rb#22 def fixnum_or_bignum_const(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/unified_integer.rb#26 + # source://rubocop//lib/rubocop/cop/lint/unified_integer.rb#26 def on_const(node); end end -# source://rubocop/lib/rubocop/cop/lint/unified_integer.rb#19 +# source://rubocop//lib/rubocop/cop/lint/unified_integer.rb#19 RuboCop::Cop::Lint::UnifiedInteger::MSG = T.let(T.unsafe(nil), String) # Looks for `reduce` or `inject` blocks where the value returned (implicitly or @@ -25067,27 +25252,27 @@ RuboCop::Cop::Lint::UnifiedInteger::MSG = T.let(T.unsafe(nil), String) # bar(x) # end # -# source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#65 +# source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#65 class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#78 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#78 def accumulator_index?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#83 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#83 def element_modified?(param0, param1); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#104 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#104 def expression_values(param0); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#93 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#93 def lvar_used?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#115 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#115 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#115 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#122 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#70 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#70 def reduce_with_block?(param0 = T.unsafe(nil)); end private @@ -25099,31 +25284,31 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#191 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#191 def acceptable_return?(return_val, element_name); end # Exclude `begin` nodes inside a `dstr` from being collected by `return_values` # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#199 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#199 def allowed_type?(parent_node); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#159 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#159 def block_arg_name(node, index); end - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#142 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#142 def check_return_values(block_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#176 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#176 def potential_offense?(return_values, block_body, element_name, accumulator_name); end # Return values in a block are either the value given to next, # the last line of a multiline block, or the only line of the block # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#128 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#128 def return_values(block_body_node); end # Look for an index of the accumulator being returned, except where the index @@ -25131,7 +25316,7 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # This is always an offense, in order to try to catch potential exceptions # due to type mismatches # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#167 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#167 def returned_accumulator_index(return_values, accumulator_name, element_name); end # If the accumulator is used in any return value, the node is acceptable since @@ -25139,14 +25324,14 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#183 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#183 def returns_accumulator_anywhere?(return_values, accumulator_name); end end -# source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#66 +# source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#66 RuboCop::Cop::Lint::UnmodifiedReduceAccumulator::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#67 +# source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#67 RuboCop::Cop::Lint::UnmodifiedReduceAccumulator::MSG_INDEX = T.let(T.unsafe(nil), String) # Checks for unreachable code. @@ -25176,64 +25361,64 @@ RuboCop::Cop::Lint::UnmodifiedReduceAccumulator::MSG_INDEX = T.let(T.unsafe(nil) # do_something # end # -# source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#32 +# source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#32 class RuboCop::Cop::Lint::UnreachableCode < ::RuboCop::Cop::Base # @return [UnreachableCode] a new instance of UnreachableCode # - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#35 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#35 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#47 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#47 def after_block(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#70 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#70 def flow_command?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#51 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#51 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#41 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#41 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#51 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#61 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#41 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#45 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#104 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#104 def check_case(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#98 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#98 def check_if(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#80 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#80 def flow_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#119 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#119 def instance_eval_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#65 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#65 def redefinable_flow_method?(method); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#114 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#114 def register_redefinition(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#123 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#123 def report_on_flow_command?(node); end end -# source://rubocop/lib/rubocop/cop/lint/unreachable_code.rb#33 +# source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#33 RuboCop::Cop::Lint::UnreachableCode::MSG = T.let(T.unsafe(nil), String) # Checks for loops that will have at most one iteration. @@ -25316,87 +25501,87 @@ RuboCop::Cop::Lint::UnreachableCode::MSG = T.let(T.unsafe(nil), String) # # good # exactly(2).times { raise StandardError } # -# source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#86 +# source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#86 class RuboCop::Cop::Lint::UnreachableLoop < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#143 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#143 def break_command?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#100 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#100 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#98 def on_for(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#104 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#104 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#95 def on_until(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#97 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 def on_while(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#96 def on_while_post(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#153 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#153 def break_statement?(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#119 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#119 def check(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#176 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#176 def check_case(node); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#170 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#170 def check_if(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#200 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#200 def conditional_continue_keyword?(break_statement); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#110 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#110 def loop_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#190 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#190 def preceded_by_continue_statement?(break_statement); end - # source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#130 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#130 def statements(node); end end -# source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#90 +# source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#90 RuboCop::Cop::Lint::UnreachableLoop::CONTINUE_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/unreachable_loop.rb#89 +# source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#89 RuboCop::Cop::Lint::UnreachableLoop::MSG = T.let(T.unsafe(nil), String) # Common functionality for cops handling unused arguments. # -# source://rubocop/lib/rubocop/cop/mixin/unused_argument.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/unused_argument.rb#7 module RuboCop::Cop::Lint::UnusedArgument extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/unused_argument.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/unused_argument.rb#10 def after_leaving_scope(scope, _variable_table); end private - # source://rubocop/lib/rubocop/cop/mixin/unused_argument.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/unused_argument.rb#16 def check_argument(variable); end end @@ -25445,7 +25630,7 @@ end # foo # end # -# source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#55 +# source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#55 class RuboCop::Cop::Lint::UnusedBlockArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::Lint::UnusedArgument extend ::RuboCop::Cop::AutoCorrector @@ -25454,65 +25639,65 @@ class RuboCop::Cop::Lint::UnusedBlockArgument < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#162 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#162 def allow_unused_keyword_arguments?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#81 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#81 def allowed_block?(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#85 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#85 def allowed_keyword_argument?(variable); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#99 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#99 def augment_message(message, variable); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#65 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#65 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#69 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#69 def check_argument(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#149 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#149 def define_method_call?(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#156 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#156 def empty_block?(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#166 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#166 def ignore_empty_blocks?; end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#89 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#89 def message(variable); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#132 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#132 def message_for_lambda(variable, all_arguments); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#120 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#120 def message_for_normal_block(variable, all_arguments); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#144 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#144 def message_for_underscore_prefix(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#77 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#77 def used_block_local?(variable); end - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#112 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#112 def variable_type(variable); end class << self - # source://rubocop/lib/rubocop/cop/lint/unused_block_argument.rb#59 + # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#59 def joining_forces; end end end @@ -25575,40 +25760,40 @@ end # puts used # end # -# source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#70 +# source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#70 class RuboCop::Cop::Lint::UnusedMethodArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::Lint::UnusedArgument extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#75 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#75 def not_implemented?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#128 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#128 def allowed_exception_class?(node); end - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#90 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#90 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#94 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#94 def check_argument(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#102 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#102 def ignored_method?(body); end - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#107 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#107 def message(variable); end class << self - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#80 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#80 def autocorrect_incompatible_with; end - # source://rubocop/lib/rubocop/cop/lint/unused_method_argument.rb#84 + # source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#84 def joining_forces; end end end @@ -25640,28 +25825,28 @@ end # URI.decode_www_form(enc_uri) # URI.decode_www_form_component(enc_uri) # -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#32 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#32 class RuboCop::Cop::Lint::UriEscapeUnescape < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#57 + # source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#57 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#51 + # source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#51 def uri_escape_unescape?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#33 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#33 RuboCop::Cop::Lint::UriEscapeUnescape::ALTERNATE_METHODS_OF_URI_ESCAPE = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#38 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#38 RuboCop::Cop::Lint::UriEscapeUnescape::ALTERNATE_METHODS_OF_URI_UNESCAPE = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#47 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#47 RuboCop::Cop::Lint::UriEscapeUnescape::METHOD_NAMES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#44 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#44 RuboCop::Cop::Lint::UriEscapeUnescape::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/uri_escape_unescape.rb#48 +# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#48 RuboCop::Cop::Lint::UriEscapeUnescape::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies places where `URI.regexp` is obsolete and should not be used. @@ -25687,21 +25872,21 @@ RuboCop::Cop::Lint::UriEscapeUnescape::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # # good - Ruby 3.4 or higher # URI::RFC2396_PARSER.make_regexp('http://example.com') # -# source://rubocop/lib/rubocop/cop/lint/uri_regexp.rb#29 +# source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#29 class RuboCop::Cop::Lint::UriRegexp < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/uri_regexp.rb#40 + # source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#40 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/uri_regexp.rb#36 + # source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#36 def uri_constant?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/lint/uri_regexp.rb#32 +# source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#32 RuboCop::Cop::Lint::UriRegexp::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/uri_regexp.rb#33 +# source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#33 RuboCop::Cop::Lint::UriRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant access modifiers, including those with no @@ -25824,92 +26009,92 @@ RuboCop::Cop::Lint::UriRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # delegate :method_a, to: :method_b # end # -# source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#127 +# source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#127 class RuboCop::Cop::Lint::UselessAccessModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#166 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#166 def class_or_instance_eval?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#161 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#161 def dynamic_method_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#139 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#139 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#133 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#133 def on_class(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#133 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#136 def on_module(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#139 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#145 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#133 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#137 def on_sclass(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#156 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#156 def static_method_definition?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#182 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#182 def access_modifier?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#280 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#280 def any_context_creating_methods?(child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#257 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#257 def any_method_definition?(child); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#149 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#149 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#196 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#196 def check_child_nodes(node, unused, cur_vis); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#226 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#226 def check_new_visibility(node, unused, new_vis, cur_vis); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#170 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#170 def check_node(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#186 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#186 def check_scope(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#215 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#215 def check_send_node(node, cur_vis, unused); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#274 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#274 def eval_call?(child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#247 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#247 def included_block?(block_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#251 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#251 def method_definition?(child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#270 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#270 def start_of_new_scope?(child); end end -# source://rubocop/lib/rubocop/cop/lint/useless_access_modifier.rb#131 +# source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#131 RuboCop::Cop::Lint::UselessAccessModifier::MSG = T.let(T.unsafe(nil), String) # Checks for every useless assignment to local variable in every @@ -25947,83 +26132,83 @@ RuboCop::Cop::Lint::UselessAccessModifier::MSG = T.let(T.unsafe(nil), String) # do_something(some_var) # end # -# source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#40 +# source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#40 class RuboCop::Cop::Lint::UselessAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#51 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#51 def after_leaving_scope(scope, _variable_table); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#165 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#165 def autocorrect(corrector, assignment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#106 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#106 def chained_assignment?(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#56 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#56 def check_for_unused_assignments(variable); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#149 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#149 def collect_variable_like_names(scope); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#82 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#82 def message_for_useless_assignment(assignment); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#110 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#110 def message_specification(assignment, variable); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#120 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#120 def multiple_assignment_message(variable_name); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#88 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#88 def offense_range(assignment); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#125 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#125 def operator_assignment_message(scope, assignment); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#182 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#182 def remove_exception_assignment_part(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#206 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#206 def remove_local_variable_assignment_part(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#195 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#195 def remove_trailing_character_from_operator(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#191 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#191 def rename_variable_with_underscore(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#199 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#199 def replace_named_capture_group_with_non_capturing_group(corrector, node, variable_name); end # TODO: More precise handling (rescue, ensure, nested begin, etc.) # - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#139 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#139 def return_value_node_of_scope(scope); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#96 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#96 def sequential_assignment?(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#132 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#132 def similar_name_message(variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#158 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#158 def variable_like_method_invocation?(node); end class << self - # source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#47 + # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#47 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/lint/useless_assignment.rb#45 +# source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#45 RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for calls to `defined?` with strings or symbols as the argument. @@ -26063,18 +26248,18 @@ RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String) # bar = 'Bar' # defined?(Foo) && Foo.const_defined?(bar) && Foo.const_get(bar).const_defined?(:Baz) # -# source://rubocop/lib/rubocop/cop/lint/useless_defined.rb#42 +# source://rubocop//lib/rubocop/cop/lint/useless_defined.rb#42 class RuboCop::Cop::Lint::UselessDefined < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_defined.rb#46 + # source://rubocop//lib/rubocop/cop/lint/useless_defined.rb#46 def on_defined?(node); end end -# source://rubocop/lib/rubocop/cop/lint/useless_defined.rb#43 +# source://rubocop//lib/rubocop/cop/lint/useless_defined.rb#43 RuboCop::Cop::Lint::UselessDefined::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/useless_defined.rb#44 +# source://rubocop//lib/rubocop/cop/lint/useless_defined.rb#44 RuboCop::Cop::Lint::UselessDefined::TYPES = T.let(T.unsafe(nil), Hash) # Checks for useless `else` in `begin..end` without `rescue`. @@ -26099,15 +26284,15 @@ RuboCop::Cop::Lint::UselessDefined::TYPES = T.let(T.unsafe(nil), Hash) # do_something_else # end # -# source://rubocop/lib/rubocop/cop/lint/useless_else_without_rescue.rb#27 +# source://rubocop//lib/rubocop/cop/lint/useless_else_without_rescue.rb#27 class RuboCop::Cop::Lint::UselessElseWithoutRescue < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/lint/useless_else_without_rescue.rb#34 + # source://rubocop//lib/rubocop/cop/lint/useless_else_without_rescue.rb#34 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/lint/useless_else_without_rescue.rb#30 +# source://rubocop//lib/rubocop/cop/lint/useless_else_without_rescue.rb#30 RuboCop::Cop::Lint::UselessElseWithoutRescue::MSG = T.let(T.unsafe(nil), String) # Checks for useless method definitions, specifically: empty constructors @@ -26138,35 +26323,35 @@ RuboCop::Cop::Lint::UselessElseWithoutRescue::MSG = T.let(T.unsafe(nil), String) # super(:extra_arg, *args) # end # -# source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#38 +# source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#38 class RuboCop::Cop::Lint::UselessMethodDefinition < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#43 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#43 def on_def(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#43 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#53 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#65 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#65 def delegating?(node, def_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#57 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#57 def method_definition_with_modifier?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#61 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#61 def use_rest_or_optional_args?(node); end end -# source://rubocop/lib/rubocop/cop/lint/useless_method_definition.rb#41 +# source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#41 RuboCop::Cop::Lint::UselessMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Certain numeric operations have no impact, being: @@ -26195,34 +26380,34 @@ RuboCop::Cop::Lint::UselessMethodDefinition::MSG = T.let(T.unsafe(nil), String) # # good # x = x # -# source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#32 +# source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#32 class RuboCop::Cop::Lint::UselessNumericOperation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#54 + # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#54 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#43 + # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#43 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#41 + # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#41 def useless_abbreviated_assignment?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#38 + # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#38 def useless_operation?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#67 + # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#67 def useless?(operation, number); end end -# source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#34 +# source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#34 RuboCop::Cop::Lint::UselessNumericOperation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/useless_numeric_operation.rb#35 +# source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#35 RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for useless `rescue`s, which only reraise rescued exceptions. @@ -26268,28 +26453,28 @@ RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(n # # noop # end # -# source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#49 +# source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#49 class RuboCop::Cop::Lint::UselessRescue < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#52 + # source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#52 def on_rescue(node); end private - # source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#83 + # source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#83 def exception_objects(resbody_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#60 + # source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#60 def only_reraising?(resbody_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#75 + # source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#75 def use_exception_variable_in_ensure?(resbody_node); end end -# source://rubocop/lib/rubocop/cop/lint/useless_rescue.rb#50 +# source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#50 RuboCop::Cop::Lint::UselessRescue::MSG = T.let(T.unsafe(nil), String) # Looks for `ruby2_keywords` calls for methods that do not need it. @@ -26352,37 +26537,37 @@ RuboCop::Cop::Lint::UselessRescue::MSG = T.let(T.unsafe(nil), String) # # good # define_method(:foo) { |arg| } # -# source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#66 +# source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#66 class RuboCop::Cop::Lint::UselessRuby2Keywords < ::RuboCop::Cop::Base # Looks for statically or dynamically defined methods with a given name # - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#72 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#72 def method_definition(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#79 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#79 def on_send(node); end private # `ruby2_keywords` is only allowed if there's a `restarg` and no keyword arguments # - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#118 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#118 def allowed_arguments(arguments); end - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#109 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#109 def find_method_definition(node, method_name); end - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#91 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#91 def inspect_def(node, def_node); end - # source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#97 + # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#97 def inspect_sym(node, sym_node); end end -# source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#67 +# source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#67 RuboCop::Cop::Lint::UselessRuby2Keywords::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/useless_ruby2_keywords.rb#68 +# source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#68 RuboCop::Cop::Lint::UselessRuby2Keywords::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for setter call to local variable as the final @@ -26403,68 +26588,68 @@ RuboCop::Cop::Lint::UselessRuby2Keywords::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # x # end # -# source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#31 +# source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#31 class RuboCop::Cop::Lint::UselessSetterCall < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#37 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#37 def on_def(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#37 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#54 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#59 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#59 def setter_call_to_local_variable?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#63 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#63 def last_expression(body); end end -# source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#35 +# source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#35 RuboCop::Cop::Lint::UselessSetterCall::ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#34 +# source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#34 RuboCop::Cop::Lint::UselessSetterCall::MSG = T.let(T.unsafe(nil), String) # This class tracks variable assignments in a method body # and if a variable contains object passed as argument at the end of # the method. # -# source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#72 +# source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#72 class RuboCop::Cop::Lint::UselessSetterCall::MethodVariableTracker # @return [MethodVariableTracker] a new instance of MethodVariableTracker # - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#73 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#73 def initialize(body_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#148 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#148 def constructor?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#78 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#78 def contain_local_object?(variable_name); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#140 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#140 def process_assignment(asgn_node, rhs_node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#96 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#96 def process_assignment_node(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#131 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#131 def process_binary_operator_assignment(op_asgn_node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#123 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#123 def process_logical_operator_assignment(asgn_node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#109 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#109 def process_multiple_assignment(masgn_node); end - # source://rubocop/lib/rubocop/cop/lint/useless_setter_call.rb#88 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#88 def scan(node, &block); end end @@ -26483,55 +26668,55 @@ end # do_something # do_something(1) # -# source://rubocop/lib/rubocop/cop/lint/useless_times.rb#24 +# source://rubocop//lib/rubocop/cop/lint/useless_times.rb#24 class RuboCop::Cop::Lint::UselessTimes < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#37 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#37 def block_arg(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#42 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#42 def block_reassigns_arg?(param0, param1); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#46 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#46 def on_send(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#32 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#32 def times_call?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#62 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#62 def autocorrect(corrector, count, node, proc_name); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#84 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#84 def autocorrect_block(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#80 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#80 def autocorrect_block_pass(corrector, node, proc_name); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#94 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#94 def fix_indentation(source, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#72 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#72 def never_process?(count, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#106 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#106 def own_line?(node); end - # source://rubocop/lib/rubocop/cop/lint/useless_times.rb#76 + # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#76 def remove_node(corrector, node); end end -# source://rubocop/lib/rubocop/cop/lint/useless_times.rb#28 +# source://rubocop//lib/rubocop/cop/lint/useless_times.rb#28 RuboCop::Cop::Lint::UselessTimes::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/useless_times.rb#29 +# source://rubocop//lib/rubocop/cop/lint/useless_times.rb#29 RuboCop::Cop::Lint::UselessTimes::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for operators, variables, literals, lambda, proc and nonmutating @@ -26581,127 +26766,127 @@ RuboCop::Cop::Lint::UselessTimes::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # do_something(some_array) # end # -# source://rubocop/lib/rubocop/cop/lint/void.rb#53 +# source://rubocop//lib/rubocop/cop/lint/void.rb#53 class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/lint/void.rb#90 + # source://rubocop//lib/rubocop/cop/lint/void.rb#90 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#81 + # source://rubocop//lib/rubocop/cop/lint/void.rb#81 def on_block(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#95 + # source://rubocop//lib/rubocop/cop/lint/void.rb#95 def on_ensure(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#90 + # source://rubocop//lib/rubocop/cop/lint/void.rb#93 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#81 + # source://rubocop//lib/rubocop/cop/lint/void.rb#88 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/void.rb#260 + # source://rubocop//lib/rubocop/cop/lint/void.rb#260 def all_keys_entirely_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/void.rb#264 + # source://rubocop//lib/rubocop/cop/lint/void.rb#264 def all_values_entirely_literal?(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#238 + # source://rubocop//lib/rubocop/cop/lint/void.rb#238 def autocorrect_nonmutating_send(corrector, node, suggestion); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#232 + # source://rubocop//lib/rubocop/cop/lint/void.rb#232 def autocorrect_void_expression(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#219 + # source://rubocop//lib/rubocop/cop/lint/void.rb#219 def autocorrect_void_op(corrector, node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#101 + # source://rubocop//lib/rubocop/cop/lint/void.rb#101 def check_begin(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#199 + # source://rubocop//lib/rubocop/cop/lint/void.rb#199 def check_ensure(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#115 + # source://rubocop//lib/rubocop/cop/lint/void.rb#115 def check_expression(expr); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#157 + # source://rubocop//lib/rubocop/cop/lint/void.rb#157 def check_literal(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#181 + # source://rubocop//lib/rubocop/cop/lint/void.rb#181 def check_nonmutating(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#165 + # source://rubocop//lib/rubocop/cop/lint/void.rb#165 def check_self(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#139 + # source://rubocop//lib/rubocop/cop/lint/void.rb#139 def check_var(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#173 + # source://rubocop//lib/rubocop/cop/lint/void.rb#173 def check_void_expression(node); end - # source://rubocop/lib/rubocop/cop/lint/void.rb#128 + # source://rubocop//lib/rubocop/cop/lint/void.rb#128 def check_void_op(node, &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/void.rb#247 + # source://rubocop//lib/rubocop/cop/lint/void.rb#247 def entirely_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/lint/void.rb#212 + # source://rubocop//lib/rubocop/cop/lint/void.rb#212 def in_void_context?(node); end end -# source://rubocop/lib/rubocop/cop/lint/void.rb#66 +# source://rubocop//lib/rubocop/cop/lint/void.rb#66 RuboCop::Cop::Lint::Void::BINARY_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#60 +# source://rubocop//lib/rubocop/cop/lint/void.rb#60 RuboCop::Cop::Lint::Void::CONST_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#63 +# source://rubocop//lib/rubocop/cop/lint/void.rb#63 RuboCop::Cop::Lint::Void::EXPRESSION_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#61 +# source://rubocop//lib/rubocop/cop/lint/void.rb#61 RuboCop::Cop::Lint::Void::LIT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#76 +# source://rubocop//lib/rubocop/cop/lint/void.rb#76 RuboCop::Cop::Lint::Void::METHODS_REPLACEABLE_BY_EACH = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#78 +# source://rubocop//lib/rubocop/cop/lint/void.rb#78 RuboCop::Cop::Lint::Void::NONMUTATING_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#69 +# source://rubocop//lib/rubocop/cop/lint/void.rb#69 RuboCop::Cop::Lint::Void::NONMUTATING_METHODS_WITH_BANG_VERSION = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#64 +# source://rubocop//lib/rubocop/cop/lint/void.rb#64 RuboCop::Cop::Lint::Void::NONMUTATING_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#68 +# source://rubocop//lib/rubocop/cop/lint/void.rb#68 RuboCop::Cop::Lint::Void::OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#58 +# source://rubocop//lib/rubocop/cop/lint/void.rb#58 RuboCop::Cop::Lint::Void::OP_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#62 +# source://rubocop//lib/rubocop/cop/lint/void.rb#62 RuboCop::Cop::Lint::Void::SELF_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/lint/void.rb#67 +# source://rubocop//lib/rubocop/cop/lint/void.rb#67 RuboCop::Cop::Lint::Void::UNARY_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/lint/void.rb#59 +# source://rubocop//lib/rubocop/cop/lint/void.rb#59 RuboCop::Cop::Lint::Void::VAR_MSG = T.let(T.unsafe(nil), String) # Common functionality for obtaining source ranges from regexp matches # -# source://rubocop/lib/rubocop/cop/mixin/match_range.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/match_range.rb#6 module RuboCop::Cop::MatchRange include ::RuboCop::Cop::RangeHelp @@ -26710,12 +26895,12 @@ module RuboCop::Cop::MatchRange # Return a new `Range` covering the first matching group number for each # match of `regex` inside `range` # - # source://rubocop/lib/rubocop/cop/mixin/match_range.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/match_range.rb#13 def each_match_range(range, regex); end # For a `match` inside `range`, return a new `Range` covering the match # - # source://rubocop/lib/rubocop/cop/mixin/match_range.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/match_range.rb#18 def match_range(range, match); end end @@ -26730,7 +26915,7 @@ end # ).annotate('message') # @see #initialize # -# source://rubocop/lib/rubocop/cop/message_annotator.rb#15 +# source://rubocop//lib/rubocop/cop/message_annotator.rb#15 class RuboCop::Cop::MessageAnnotator # @option cop_config # @option cop_config @@ -26751,7 +26936,7 @@ class RuboCop::Cop::MessageAnnotator # @param options [Hash, nil] optional # @return [MessageAnnotator] a new instance of MessageAnnotator # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#47 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#47 def initialize(config, cop_name, cop_config, options); end # Returns the annotated message, @@ -26759,74 +26944,74 @@ class RuboCop::Cop::MessageAnnotator # # @return [String] annotated message # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#58 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#58 def annotate(message); end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#16 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#16 def config; end # Returns the value of attribute cop_config. # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#16 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#16 def cop_config; end # Returns the value of attribute cop_name. # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#16 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#16 def cop_name; end # Returns the value of attribute options. # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#16 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#16 def options; end - # source://rubocop/lib/rubocop/cop/message_annotator.rb#68 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#68 def urls; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#111 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#111 def debug?; end - # source://rubocop/lib/rubocop/cop/message_annotator.rb#124 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#124 def details; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#115 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#115 def display_cop_names?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#98 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#98 def display_style_guide?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#107 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#107 def extra_details?; end - # source://rubocop/lib/rubocop/cop/message_annotator.rb#102 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#102 def reference_urls; end # Returns the base style guide URL from AllCops or the specific department # # @return [String] style guide URL # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#91 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#91 def style_guide_base_url; end - # source://rubocop/lib/rubocop/cop/message_annotator.rb#74 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#74 def style_guide_url; end class << self # Returns the value of attribute style_guide_urls. # - # source://rubocop/lib/rubocop/cop/message_annotator.rb#21 + # source://rubocop//lib/rubocop/cop/message_annotator.rb#21 def style_guide_urls; end end end @@ -26835,7 +27020,7 @@ end # # @api private # -# source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#8 module RuboCop::Cop::MethodComplexity include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern @@ -26843,67 +27028,67 @@ module RuboCop::Cop::MethodComplexity extend ::RuboCop::AST::NodePattern::Macros extend ::RuboCop::ExcludeLimit - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#37 def define_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#15 def max=(value); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#24 def on_block(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#17 def on_def(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#22 def on_defs(node); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#32 def on_numblock(node); end private # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#42 def check_complexity(node, method_name); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#61 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#61 def complexity(body); end # @api private # - # source://rubocop/lib/rubocop/cop/mixin/method_complexity.rb#73 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#73 def location(node); end end # Common code for cops that deal with preferred methods. # -# source://rubocop/lib/rubocop/cop/mixin/method_preference.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#6 module RuboCop::Cop::MethodPreference private - # source://rubocop/lib/rubocop/cop/mixin/method_preference.rb#25 + # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#25 def default_cop_config; end - # source://rubocop/lib/rubocop/cop/mixin/method_preference.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#9 def preferred_method(method); end - # source://rubocop/lib/rubocop/cop/mixin/method_preference.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#13 def preferred_methods; end end -# source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#5 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#5 module RuboCop::Cop::Metrics; end # Checks that the ABC size of methods is not higher than the @@ -26939,7 +27124,7 @@ module RuboCop::Cop::Metrics; end # render 'pages/search/page' # end # -# source://rubocop/lib/rubocop/cop/metrics/abc_size.rb#39 +# source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#39 class RuboCop::Cop::Metrics::AbcSize < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern @@ -26948,11 +27133,11 @@ class RuboCop::Cop::Metrics::AbcSize < ::RuboCop::Cop::Base private - # source://rubocop/lib/rubocop/cop/metrics/abc_size.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#47 def complexity(node); end end -# source://rubocop/lib/rubocop/cop/metrics/abc_size.rb#42 +# source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#42 RuboCop::Cop::Metrics::AbcSize::MSG = T.let(T.unsafe(nil), String) # Checks if the length of a block exceeds some maximum value. @@ -26994,30 +27179,30 @@ RuboCop::Cop::Metrics::AbcSize::MSG = T.let(T.unsafe(nil), String) # ) # end # 4 points # -# source://rubocop/lib/rubocop/cop/metrics/block_length.rb#45 +# source://rubocop//lib/rubocop/cop/metrics/block_length.rb#45 class RuboCop::Cop::Metrics::BlockLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::CodeLength include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/metrics/block_length.rb#52 + # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#52 def on_block(node); end - # source://rubocop/lib/rubocop/cop/metrics/block_length.rb#52 + # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#59 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/metrics/block_length.rb#81 + # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#81 def cop_label; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/block_length.rb#63 + # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#63 def method_receiver_excluded?(node); end end -# source://rubocop/lib/rubocop/cop/metrics/block_length.rb#50 +# source://rubocop//lib/rubocop/cop/metrics/block_length.rb#50 RuboCop::Cop::Metrics::BlockLength::LABEL = T.let(T.unsafe(nil), String) # Checks for excessive nesting of conditional and looping constructs. @@ -27029,44 +27214,44 @@ RuboCop::Cop::Metrics::BlockLength::LABEL = T.let(T.unsafe(nil), String) # # The maximum level of nesting allowed is configurable. # -# source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#14 +# source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#14 class RuboCop::Cop::Metrics::BlockNesting < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#17 def max=(value); end - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#19 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#19 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#28 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#28 def check_nesting_level(node, max, current_level); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#52 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#52 def consider_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#62 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#62 def count_blocks?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#44 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#44 def count_if_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#66 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#66 def count_modifier_forms?; end - # source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#58 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#58 def message(max); end end -# source://rubocop/lib/rubocop/cop/metrics/block_nesting.rb#15 +# source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#15 RuboCop::Cop::Metrics::BlockNesting::NESTING_BLOCKS = T.let(T.unsafe(nil), Array) # Checks if the length of a class exceeds some maximum value. @@ -27103,25 +27288,25 @@ RuboCop::Cop::Metrics::BlockNesting::NESTING_BLOCKS = T.let(T.unsafe(nil), Array # ) # end # 4 points # -# source://rubocop/lib/rubocop/cop/metrics/class_length.rb#40 +# source://rubocop//lib/rubocop/cop/metrics/class_length.rb#40 class RuboCop::Cop::Metrics::ClassLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::CodeLength - # source://rubocop/lib/rubocop/cop/metrics/class_length.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#53 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/metrics/class_length.rb#43 + # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#43 def on_class(node); end - # source://rubocop/lib/rubocop/cop/metrics/class_length.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#47 def on_sclass(node); end private - # source://rubocop/lib/rubocop/cop/metrics/class_length.rb#67 + # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#67 def find_expression_within_parent(parent); end - # source://rubocop/lib/rubocop/cop/metrics/class_length.rb#63 + # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#63 def message(length, max_length); end end @@ -27169,30 +27354,30 @@ end # # Reading huge Set from external data source # SomeFramework.config_for(:something)[:numbers].to_set # -# source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#50 +# source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#50 class RuboCop::Cop::Metrics::CollectionLiteralLength < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#55 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#55 def on_array(node); end - # source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#55 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#58 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#60 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#60 def on_index(node); end - # source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#64 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#64 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#70 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#70 def collection_threshold; end end -# source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#51 +# source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#51 RuboCop::Cop::Metrics::CollectionLiteralLength::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/metrics/collection_literal_length.rb#53 +# source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#53 RuboCop::Cop::Metrics::CollectionLiteralLength::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks that the cyclomatic complexity of methods is not higher @@ -27225,7 +27410,7 @@ RuboCop::Cop::Metrics::CollectionLiteralLength::RESTRICT_ON_SEND = T.let(T.unsaf # self # end # total: 6 # -# source://rubocop/lib/rubocop/cop/metrics/cyclomatic_complexity.rb#35 +# source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#35 class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern @@ -27235,19 +27420,19 @@ class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base private - # source://rubocop/lib/rubocop/cop/metrics/cyclomatic_complexity.rb#45 + # source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#45 def complexity_score_for(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/cyclomatic_complexity.rb#52 + # source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#52 def count_block?(block); end end -# source://rubocop/lib/rubocop/cop/metrics/cyclomatic_complexity.rb#40 +# source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#40 RuboCop::Cop::Metrics::CyclomaticComplexity::COUNTED_NODES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/metrics/cyclomatic_complexity.rb#39 +# source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#39 RuboCop::Cop::Metrics::CyclomaticComplexity::MSG = T.let(T.unsafe(nil), String) # Checks if the length of a method exceeds some maximum value. @@ -27287,36 +27472,36 @@ RuboCop::Cop::Metrics::CyclomaticComplexity::MSG = T.let(T.unsafe(nil), String) # ) # end # 4 points # -# source://rubocop/lib/rubocop/cop/metrics/method_length.rb#43 +# source://rubocop//lib/rubocop/cop/metrics/method_length.rb#43 class RuboCop::Cop::Metrics::MethodLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::CodeLength include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#57 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#57 def on_block(node); end - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#50 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#50 def on_def(node); end - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#50 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#55 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#57 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#65 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#73 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#73 def allowed?(method_name); end - # source://rubocop/lib/rubocop/cop/metrics/method_length.rb#69 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#69 def cop_label; end end -# source://rubocop/lib/rubocop/cop/metrics/method_length.rb#48 +# source://rubocop//lib/rubocop/cop/metrics/method_length.rb#48 RuboCop::Cop::Metrics::MethodLength::LABEL = T.let(T.unsafe(nil), String) # Checks if the length of a module exceeds some maximum value. @@ -27351,22 +27536,22 @@ RuboCop::Cop::Metrics::MethodLength::LABEL = T.let(T.unsafe(nil), String) # ) # end # 4 points # -# source://rubocop/lib/rubocop/cop/metrics/module_length.rb#38 +# source://rubocop//lib/rubocop/cop/metrics/module_length.rb#38 class RuboCop::Cop::Metrics::ModuleLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::CodeLength - # source://rubocop/lib/rubocop/cop/metrics/module_length.rb#52 + # source://rubocop//lib/rubocop/cop/metrics/module_length.rb#52 def module_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/metrics/module_length.rb#45 + # source://rubocop//lib/rubocop/cop/metrics/module_length.rb#45 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/metrics/module_length.rb#41 + # source://rubocop//lib/rubocop/cop/metrics/module_length.rb#41 def on_module(node); end private - # source://rubocop/lib/rubocop/cop/metrics/module_length.rb#56 + # source://rubocop//lib/rubocop/cop/metrics/module_length.rb#56 def message(length, max_length); end end @@ -27429,53 +27614,53 @@ end # def foo(a = 1, b = 2, c = 3) # end # -# source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#70 +# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#70 class RuboCop::Cop::Metrics::ParameterLists < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#121 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#121 def argument_to_lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#71 def max=(value); end - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#72 def max_optional_parameters=(value); end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#104 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#104 def on_args(node); end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#90 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#90 def on_def(node); end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#90 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#102 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#81 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#81 def struct_new_or_data_define_block?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#125 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#125 def args_count(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#141 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#141 def count_keyword_args?; end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#137 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#137 def max_optional_parameters; end - # source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#133 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#133 def max_params; end end -# source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#74 +# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#74 RuboCop::Cop::Metrics::ParameterLists::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#77 +# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#77 RuboCop::Cop::Metrics::ParameterLists::NAMED_KEYWORD_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/metrics/parameter_lists.rb#75 +# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#75 RuboCop::Cop::Metrics::ParameterLists::OPTIONAL_PARAMETERS_MSG = T.let(T.unsafe(nil), String) # Tries to produce a complexity score that's a measure of the @@ -27502,21 +27687,21 @@ RuboCop::Cop::Metrics::ParameterLists::OPTIONAL_PARAMETERS_MSG = T.let(T.unsafe( # end # === # end # 7 complexity points # -# source://rubocop/lib/rubocop/cop/metrics/perceived_complexity.rb#29 +# source://rubocop//lib/rubocop/cop/metrics/perceived_complexity.rb#29 class RuboCop::Cop::Metrics::PerceivedComplexity < ::RuboCop::Cop::Metrics::CyclomaticComplexity private - # source://rubocop/lib/rubocop/cop/metrics/perceived_complexity.rb#36 + # source://rubocop//lib/rubocop/cop/metrics/perceived_complexity.rb#36 def complexity_score_for(node); end end -# source://rubocop/lib/rubocop/cop/metrics/perceived_complexity.rb#32 +# source://rubocop//lib/rubocop/cop/metrics/perceived_complexity.rb#32 RuboCop::Cop::Metrics::PerceivedComplexity::COUNTED_NODES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/metrics/perceived_complexity.rb#30 +# source://rubocop//lib/rubocop/cop/metrics/perceived_complexity.rb#30 RuboCop::Cop::Metrics::PerceivedComplexity::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#6 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#6 module RuboCop::Cop::Metrics::Utils; end # > ABC is .. a software size metric .. computed by counting the number @@ -27526,7 +27711,7 @@ module RuboCop::Cop::Metrics::Utils; end # We separate the *calculator* from the *cop* so that the calculation, # the formula itself, is easier to test. # -# source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#13 +# source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#13 class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator include ::RuboCop::AST::Sexp include ::RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount @@ -27535,68 +27720,68 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # @return [AbcSizeCalculator] a new instance of AbcSizeCalculator # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#34 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#42 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#42 def calculate; end - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#76 def calculate_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#65 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#65 def else_branch?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#51 def evaluate_branch_nodes(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#60 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#60 def evaluate_condition_node(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#127 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#127 def argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#86 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#86 def assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#123 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#123 def branch?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#119 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#119 def capturing_variable?(name); end - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#95 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#95 def compound_assignment(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#131 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#131 def condition?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#108 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#108 def simple_assignment?(node); end # @yield [node] # - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#71 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#71 def visit_depth_last(node, &block); end class << self - # source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#30 def calculate(node, discount_repeated_attributes: T.unsafe(nil)); end end end @@ -27605,19 +27790,19 @@ end # > function call, class method call .. # > http://c2.com/cgi/wiki?AbcMetric # -# source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#21 +# source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#21 RuboCop::Cop::Metrics::Utils::AbcSizeCalculator::BRANCH_NODES = T.let(T.unsafe(nil), Array) # > Condition -- a logical/Boolean test, == != <= >= < > else case # > default try catch ? and unary conditionals. # > http://c2.com/cgi/wiki?AbcMetric # -# source://rubocop/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#26 +# source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#26 RuboCop::Cop::Metrics::Utils::AbcSizeCalculator::CONDITION_NODES = T.let(T.unsafe(nil), Array) # Helps to calculate code length for the provided node. # -# source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#8 +# source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#8 class RuboCop::Cop::Metrics::Utils::CodeLengthCalculator include ::RuboCop::PathUtil include ::RuboCop::Cop::Util @@ -27625,106 +27810,106 @@ class RuboCop::Cop::Metrics::Utils::CodeLengthCalculator # @return [CodeLengthCalculator] a new instance of CodeLengthCalculator # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#16 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#16 def initialize(node, processed_source, count_comments: T.unsafe(nil), foldable_types: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#24 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#24 def calculate; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#181 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#181 def another_args?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#42 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#42 def build_foldable_checks(types); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#90 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#90 def classlike_code_length(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#138 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#138 def classlike_node?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#66 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#66 def code_length(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#162 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#162 def count_comments?; end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#126 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#126 def each_top_level_descendant(node, types, &block); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#146 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#146 def extract_body(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#142 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#142 def foldable_node?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#121 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#121 def heredoc_length(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#86 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#86 def heredoc_node?(node); end # Returns true for lines that shall not be included in the count. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#158 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#158 def irrelevant_line?(source_line); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#110 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#110 def line_numbers_of_inner_nodes(node, *types); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#106 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#106 def namespace_module?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#185 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#185 def node_with_heredoc?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#60 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#60 def normalize_foldable_types(types); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#166 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#166 def omit_length(descendant); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#177 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#177 def parenthesized?(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#189 + # source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#189 def source_from_node_with_heredoc(node); end end -# source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#13 +# source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#13 RuboCop::Cop::Metrics::Utils::CodeLengthCalculator::CLASSLIKE_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb#12 +# source://rubocop//lib/rubocop/cop/metrics/utils/code_length_calculator.rb#12 RuboCop::Cop::Metrics::Utils::CodeLengthCalculator::FOLDABLE_TYPES = T.let(T.unsafe(nil), Array) # Used to identify iterating blocks like `.map{}` and `.map(&:...)` # -# source://rubocop/lib/rubocop/cop/metrics/utils/iterating_block.rb#8 +# source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#8 module RuboCop::Cop::Metrics::Utils::IteratingBlock # Returns the name of the method called with a block # if node is a block node, or a block-pass node. # - # source://rubocop/lib/rubocop/cop/metrics/utils/iterating_block.rb#37 + # source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#37 def block_method_name(node); end # Returns nil if node is neither a block node or a block-pass node. @@ -27732,18 +27917,18 @@ module RuboCop::Cop::Metrics::Utils::IteratingBlock # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/iterating_block.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#53 def iterating_block?(node); end # Returns true iff name is a known iterating type (e.g. :each, :transform_values) # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/iterating_block.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#47 def iterating_method?(name); end end -# source://rubocop/lib/rubocop/cop/metrics/utils/iterating_block.rb#33 +# source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#33 RuboCop::Cop::Metrics::Utils::IteratingBlock::KNOWN_ITERATING_METHODS = T.let(T.unsafe(nil), Set) # Identifies repetitions `{c}send` calls with no arguments: @@ -27764,7 +27949,7 @@ RuboCop::Cop::Metrics::Utils::IteratingBlock::KNOWN_ITERATING_METHODS = T.let(T. # # @api private # -# source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#25 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#25 module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount include ::RuboCop::AST::Sexp extend ::RuboCop::AST::NodePattern::Macros @@ -27773,29 +27958,29 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#61 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#61 def attribute_call?(param0 = T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 def calculate_node(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#43 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#43 def discount_repeated_attributes?; end # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 def evaluate_branch_nodes(node); end - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#92 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#92 def root_node?(param0 = T.unsafe(nil)); end private @@ -27803,7 +27988,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#66 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#66 def discount_repeated_attribute?(send_node); end # Returns the "known_attributes" for the `node` by walking the receiver tree @@ -27814,25 +27999,25 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#103 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#103 def find_attributes(node, &block); end # or `nil` if it is not a setter. # # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#126 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#126 def setter_to_getter(node); end # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#80 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#80 def update_repeated_attribute(node); end end # @api private # -# source://rubocop/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#117 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#117 RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount::VAR_SETTER_TO_GETTER = T.let(T.unsafe(nil), Hash) # Identifies repetitions `&.` on the same variable: @@ -27844,183 +28029,183 @@ RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount::VAR_SETTER_TO_GETTER = # # @api private # -# source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#15 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#15 module RuboCop::Cop::Metrics::Utils::RepeatedCsendDiscount # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#20 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#20 def discount_for_repeated_csend?(csend_node); end # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#34 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#34 def reset_on_lvasgn(node); end # @api private # - # source://rubocop/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#16 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#16 def reset_repeated_csend; end end -# source://rubocop/lib/rubocop/cop/migration/department_name.rb#5 +# source://rubocop//lib/rubocop/cop/migration/department_name.rb#5 module RuboCop::Cop::Migration; end # department name. # -# source://rubocop/lib/rubocop/cop/migration/department_name.rb#8 +# source://rubocop//lib/rubocop/cop/migration/department_name.rb#8 class RuboCop::Cop::Migration::DepartmentName < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#21 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#21 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#47 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#47 def check_cop_name(name, comment, offset); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#69 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#69 def contain_unexpected_character_for_department_name?(name); end - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#43 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#43 def disable_comment_offset; end - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#73 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#73 def qualified_legacy_cop_name(cop_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/migration/department_name.rb#63 + # source://rubocop//lib/rubocop/cop/migration/department_name.rb#63 def valid_content_token?(content_token); end end -# source://rubocop/lib/rubocop/cop/migration/department_name.rb#14 +# source://rubocop//lib/rubocop/cop/migration/department_name.rb#14 RuboCop::Cop::Migration::DepartmentName::DISABLE_COMMENT_FORMAT = T.let(T.unsafe(nil), Regexp) # The token that makes up a disable comment. # `DepartmentName/CopName` or` all`. # -# source://rubocop/lib/rubocop/cop/migration/department_name.rb#19 +# source://rubocop//lib/rubocop/cop/migration/department_name.rb#19 RuboCop::Cop::Migration::DepartmentName::DISABLING_COPS_CONTENT_TOKEN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/migration/department_name.rb#12 +# source://rubocop//lib/rubocop/cop/migration/department_name.rb#12 RuboCop::Cop::Migration::DepartmentName::MSG = T.let(T.unsafe(nil), String) # Common functionality for checking minimum body length. # -# source://rubocop/lib/rubocop/cop/mixin/min_body_length.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/min_body_length.rb#6 module RuboCop::Cop::MinBodyLength private - # source://rubocop/lib/rubocop/cop/mixin/min_body_length.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/min_body_length.rb#13 def min_body_length; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/min_body_length.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/min_body_length.rb#9 def min_body_length?(node); end end # Common functionality for checking minimum branches count. # -# source://rubocop/lib/rubocop/cop/mixin/min_branches_count.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/min_branches_count.rb#6 module RuboCop::Cop::MinBranchesCount private - # source://rubocop/lib/rubocop/cop/mixin/min_branches_count.rb#29 + # source://rubocop//lib/rubocop/cop/mixin/min_branches_count.rb#29 def if_conditional_branches(node, branches = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/min_branches_count.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/min_branches_count.rb#22 def min_branches_count; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/min_branches_count.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/min_branches_count.rb#9 def min_branches_count?(node); end end # Common code for indenting the first elements in multiline # array literals, hash literals, and method definitions. # -# source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#7 module RuboCop::Cop::MultilineElementIndentation private - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#42 def check_expected_style(styles); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#26 def check_first(first, left_brace, left_parenthesis, offset); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#80 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#80 def detected_styles(actual_column, offset, left_parenthesis, left_brace); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#85 def detected_styles_for_column(column, left_parenthesis, left_brace); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#10 def each_argument_node(node, type); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#66 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#66 def hash_pair_where_value_beginning_with(left_brace, first); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#98 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#98 def incorrect_style_detected(styles, first, base_column_type); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#50 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#50 def indent_base(left_brace, first, left_parenthesis); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#72 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#72 def key_and_value_begin_on_same_line?(pair); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_indentation.rb#76 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_indentation.rb#76 def right_sibling_begins_on_subsequent_line?(pair); end end # Common functionality for checking for a line break before each # element in a multi-line collection. # -# source://rubocop/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#7 module RuboCop::Cop::MultilineElementLineBreaks private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#23 def all_on_same_line?(nodes, ignore_last: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/multiline_element_line_breaks.rb#10 def check_line_breaks(_node, children, ignore_last: T.unsafe(nil)); end end # Common functionality for checking multiline method calls and binary # operations. # -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#7 module RuboCop::Cop::MultilineExpressionIndentation - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#23 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#130 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#130 def argument_in_method_call(node, kind); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#186 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#186 def assignment_rhs(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#65 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#65 def check(range, node, lhs, rhs); end # The correct indentation of `node` is usually `IndentationWidth`, with @@ -28040,37 +28225,37 @@ module RuboCop::Cop::MultilineExpressionIndentation # bar # normal indentation, not special # ``` # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#55 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#55 def correct_indentation(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#158 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#158 def disqualified_rhs?(candidate, ancestor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#200 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#200 def grouped_expression?(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#73 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#73 def incorrect_style_detected(range, node, lhs, rhs); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#85 def indentation(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#122 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#122 def indented_keyword_expression(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#204 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#204 def inside_arg_list_parentheses?(node, ancestor); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#99 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#99 def keyword_message_tail(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#107 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#107 def kw_node_with_special_indentation(node); end # In a chain of method calls, we regard the top call node as the base @@ -28079,23 +28264,23 @@ module RuboCop::Cop::MultilineExpressionIndentation # b c { block }. <-- b is indented relative to a # d <-- d is indented relative to a # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#32 def left_hand_side(lhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#194 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#194 def not_for_this_cop?(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#89 def operation_description(node, rhs); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#144 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#144 def part_of_assignment_rhs(node, candidate); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#182 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#182 def part_of_block_body?(candidate, block_node); end # Returns true if `node` is a conditional whose `body` and `condition` @@ -28103,51 +28288,51 @@ module RuboCop::Cop::MultilineExpressionIndentation # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#213 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#213 def postfix_conditional?(node); end # The []= operator and setters (a.b = c) are parsed as :send nodes. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#174 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#174 def valid_method_rhs_candidate?(candidate, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#163 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#163 def valid_rhs?(candidate, ancestor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#178 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#178 def valid_rhs_candidate?(candidate, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#217 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#217 def within_node?(inner, outer); end end -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#11 RuboCop::Cop::MultilineExpressionIndentation::ASSIGNMENT_MESSAGE_TAIL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#10 RuboCop::Cop::MultilineExpressionIndentation::DEFAULT_MESSAGE_TAIL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#8 RuboCop::Cop::MultilineExpressionIndentation::KEYWORD_ANCESTOR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#12 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#12 RuboCop::Cop::MultilineExpressionIndentation::KEYWORD_MESSAGE_TAIL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/multiline_expression_indentation.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#9 RuboCop::Cop::MultilineExpressionIndentation::UNALIGNED_RHS_TYPES = T.let(T.unsafe(nil), Array) # Autocorrection logic for the closing brace of a literal either # on the same line as the last contained elements, or a new line. # -# source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#7 +# source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#7 class RuboCop::Cop::MultilineLiteralBraceCorrector include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout @@ -28155,60 +28340,60 @@ class RuboCop::Cop::MultilineLiteralBraceCorrector # @return [MultilineLiteralBraceCorrector] a new instance of MultilineLiteralBraceCorrector # - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#15 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#15 def initialize(corrector, node, processed_source); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#21 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#21 def call; end private - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#61 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#61 def content_if_comment_present(corrector, node); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#51 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#51 def correct_heredoc_argument_method_chain(corrector, end_range); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#46 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#46 def correct_next_line_brace(corrector, end_range); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#42 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#42 def correct_same_line_brace(corrector); end # Returns the value of attribute corrector. # - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 def corrector; end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#94 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#94 def last_element_range_with_trailing_comma(node); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#103 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#103 def last_element_trailing_comma_range(node); end # Returns the value of attribute node. # - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 def node; end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#40 def processed_source; end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#90 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#90 def remove_trailing_content_of_comment(corrector, range); end - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#80 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#80 def select_content_to_be_inserted_after_last_element(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#73 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#73 def use_heredoc_argument_method_chain?(parent); end class << self - # source://rubocop/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#11 def correct(corrector, node, processed_source); end end end @@ -28216,28 +28401,28 @@ end # Common functionality for checking the closing brace of a literal is # either on the same line as the last contained elements or a new line. # -# source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#7 module RuboCop::Cop::MultilineLiteralBraceLayout include ::RuboCop::Cop::ConfigurableEnforcedStyle private - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#34 def check(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#12 def check_brace_layout(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#42 def check_new_line(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#50 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#50 def check_same_line(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#58 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#58 def check_symmetrical(node); end - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#86 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#86 def children(node); end # This method depends on the fact that we have guarded @@ -28245,22 +28430,22 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#98 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#98 def closing_brace_on_same_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#74 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#74 def empty_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#82 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#82 def ignored_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#78 def implicit_literal?(node); end # Starting with the parent node and recursively for the parent node's @@ -28290,7 +28475,7 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#126 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#126 def last_line_heredoc?(node, parent = T.unsafe(nil)); end # Returns true for the case @@ -28300,7 +28485,7 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#26 def new_line_needed_before_closing_brace?(node); end # This method depends on the fact that we have guarded @@ -28308,11 +28493,11 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#92 + # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#92 def opening_brace_on_same_line?(node); end end -# source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#5 +# source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#5 module RuboCop::Cop::Naming; end # Avoid prefixing accessor method names with `get_` or `set_`. @@ -28348,39 +28533,39 @@ module RuboCop::Cop::Naming; end # def set_value # end # -# source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#38 +# source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#38 class RuboCop::Cop::Naming::AccessorMethodName < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#42 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#50 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#66 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#66 def bad_reader_name?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#70 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#70 def bad_writer_name?(node); end - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#54 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#54 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#62 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#62 def proper_attribute_name?(node); end end -# source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#39 +# source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#39 RuboCop::Cop::Naming::AccessorMethodName::MSG_READER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/accessor_method_name.rb#40 +# source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#40 RuboCop::Cop::Naming::AccessorMethodName::MSG_WRITER = T.let(T.unsafe(nil), String) # Checks for non-ascii characters in identifier and constant names. @@ -28428,31 +28613,31 @@ RuboCop::Cop::Naming::AccessorMethodName::MSG_WRITER = T.let(T.unsafe(nil), Stri # # FOÖ = "foo" # -# source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#53 +# source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#53 class RuboCop::Cop::Naming::AsciiIdentifiers < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#59 + # source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#59 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#84 + # source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#84 def first_non_ascii_chars(string); end - # source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#74 + # source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#74 def first_offense_range(identifier); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#70 + # source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#70 def should_check?(token); end end -# source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#57 +# source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#57 RuboCop::Cop::Naming::AsciiIdentifiers::CONSTANT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/ascii_identifiers.rb#56 +# source://rubocop//lib/rubocop/cop/naming/ascii_identifiers.rb#56 RuboCop::Cop::Naming::AsciiIdentifiers::IDENTIFIER_MSG = T.let(T.unsafe(nil), String) # Makes sure that certain binary operator methods have their @@ -28466,31 +28651,31 @@ RuboCop::Cop::Naming::AsciiIdentifiers::IDENTIFIER_MSG = T.let(T.unsafe(nil), St # # good # def +(other); end # -# source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#16 +# source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#16 class RuboCop::Cop::Naming::BinaryOperatorParameterName < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#29 + # source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#29 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#25 + # source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#25 def op_method_candidate?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#45 + # source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#45 def op_method?(name); end end -# source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#22 +# source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#22 RuboCop::Cop::Naming::BinaryOperatorParameterName::EXCLUDED = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#19 +# source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#19 RuboCop::Cop::Naming::BinaryOperatorParameterName::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/binary_operator_parameter_name.rb#21 +# source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#21 RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.unsafe(nil), Array) # In Ruby 3.1, anonymous block forwarding has been added. @@ -28526,42 +28711,42 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.uns # bar(&block) # end # -# source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#40 +# source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#40 class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#54 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#54 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#54 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#73 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#114 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#114 def anonymous_block_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#87 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#87 def block_argument_name_matched?(block_pass_node, last_argument); end - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#146 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#146 def block_forwarding_name; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#77 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#77 def expected_block_forwarding_style?(node, last_argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#118 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#118 def explicit_block_argument?(node); end # Prevents the following syntax error: @@ -28579,29 +28764,29 @@ class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#106 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#106 def invalidates_syntax?(block_pass_node); end - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#122 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#122 def register_offense(block_argument, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#138 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#138 def use_block_argument_as_local_variable?(node, last_argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#110 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#110 def use_kwarg_in_method_definition?(node); end class << self - # source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#50 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#50 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/naming/block_forwarding.rb#48 +# source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#48 RuboCop::Cop::Naming::BlockForwarding::MSG = T.let(T.unsafe(nil), String) # Checks block parameter names for how descriptive they @@ -28637,11 +28822,11 @@ RuboCop::Cop::Naming::BlockForwarding::MSG = T.let(T.unsafe(nil), String) # # baz { |age, height, gender| do_stuff(age, height, gender) } # -# source://rubocop/lib/rubocop/cop/naming/block_parameter_name.rb#38 +# source://rubocop//lib/rubocop/cop/naming/block_parameter_name.rb#38 class RuboCop::Cop::Naming::BlockParameterName < ::RuboCop::Cop::Base include ::RuboCop::Cop::UncommunicativeName - # source://rubocop/lib/rubocop/cop/naming/block_parameter_name.rb#41 + # source://rubocop//lib/rubocop/cop/naming/block_parameter_name.rb#41 def on_block(node); end end @@ -28669,16 +28854,16 @@ end # class module_parent::MyModule # end # -# source://rubocop/lib/rubocop/cop/naming/class_and_module_camel_case.rb#29 +# source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#29 class RuboCop::Cop::Naming::ClassAndModuleCamelCase < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/naming/class_and_module_camel_case.rb#32 + # source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#32 def on_class(node); end - # source://rubocop/lib/rubocop/cop/naming/class_and_module_camel_case.rb#32 + # source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#41 def on_module(node); end end -# source://rubocop/lib/rubocop/cop/naming/class_and_module_camel_case.rb#30 +# source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#30 RuboCop::Cop::Naming::ClassAndModuleCamelCase::MSG = T.let(T.unsafe(nil), String) # Checks whether constant names are written using @@ -28696,47 +28881,47 @@ RuboCop::Cop::Naming::ClassAndModuleCamelCase::MSG = T.let(T.unsafe(nil), String # # good # INCH_IN_CM = 2.54 # -# source://rubocop/lib/rubocop/cop/naming/constant_name.rb#20 +# source://rubocop//lib/rubocop/cop/naming/constant_name.rb#20 class RuboCop::Cop::Naming::ConstantName < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#27 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#27 def class_or_struct_return_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#67 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#67 def literal_receiver?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#33 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#33 def on_casgn(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#55 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#55 def allowed_assignment?(value); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#72 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#72 def allowed_conditional_expression_on_rhs?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#62 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#62 def allowed_method_call_on_rhs?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/constant_name.rb#76 + # source://rubocop//lib/rubocop/cop/naming/constant_name.rb#76 def contains_constant?(node); end end -# source://rubocop/lib/rubocop/cop/naming/constant_name.rb#21 +# source://rubocop//lib/rubocop/cop/naming/constant_name.rb#21 RuboCop::Cop::Naming::ConstantName::MSG = T.let(T.unsafe(nil), String) # Use POSIX character classes, so we allow accented characters rather # than just standard ASCII characters # -# source://rubocop/lib/rubocop/cop/naming/constant_name.rb#24 +# source://rubocop//lib/rubocop/cop/naming/constant_name.rb#24 RuboCop::Cop::Naming::ConstantName::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # Makes sure that Ruby source files have snake_case @@ -28771,114 +28956,114 @@ RuboCop::Cop::Naming::ConstantName::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # # anything/using_snake_case.rake # -# source://rubocop/lib/rubocop/cop/naming/file_name.rb#39 +# source://rubocop//lib/rubocop/cop/naming/file_name.rb#39 class RuboCop::Cop::Naming::FileName < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#54 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#54 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#47 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#47 def struct_definition(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#132 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#132 def allowed_acronyms; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#94 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#94 def bad_filename_allowed?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#120 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#120 def check_definition_path_hierarchy?; end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#167 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#167 def defined_struct(node); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#124 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#124 def definition_path_hierarchy_roots; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#116 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#116 def expect_matching_definition?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#136 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#136 def filename_good?(basename); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#145 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#145 def find_class_or_module(node, namespace); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#163 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#163 def find_definition(node); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#63 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#63 def for_bad_filename(file_path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#112 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#112 def ignore_executable_scripts?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#200 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#200 def match?(expected); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#204 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#204 def match_acronym?(expected, name); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#172 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#172 def match_namespace(node, namespace, expected); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#90 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#90 def matching_class?(file_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#86 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#86 def matching_definition?(file_path); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#98 def no_definition_message(basename, file_path); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#104 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#104 def other_message(basename); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#186 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#186 def partial_matcher!(expected); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#75 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#75 def perform_class_and_module_naming_checks(file_path, basename); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#128 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#128 def regex; end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#238 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#238 def to_module_name(basename); end - # source://rubocop/lib/rubocop/cop/naming/file_name.rb#211 + # source://rubocop//lib/rubocop/cop/naming/file_name.rb#211 def to_namespace(path); end end -# source://rubocop/lib/rubocop/cop/naming/file_name.rb#41 +# source://rubocop//lib/rubocop/cop/naming/file_name.rb#41 RuboCop::Cop::Naming::FileName::MSG_NO_DEFINITION = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/file_name.rb#42 +# source://rubocop//lib/rubocop/cop/naming/file_name.rb#42 RuboCop::Cop::Naming::FileName::MSG_REGEX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/file_name.rb#40 +# source://rubocop//lib/rubocop/cop/naming/file_name.rb#40 RuboCop::Cop::Naming::FileName::MSG_SNAKE_CASE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/file_name.rb#44 +# source://rubocop//lib/rubocop/cop/naming/file_name.rb#44 RuboCop::Cop::Naming::FileName::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # Checks that your heredocs are using the configured case. @@ -28905,30 +29090,30 @@ RuboCop::Cop::Naming::FileName::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # SELECT * FROM foo # sql # -# source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#30 +# source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#30 class RuboCop::Cop::Naming::HeredocDelimiterCase < ::RuboCop::Cop::Base include ::RuboCop::Cop::Heredoc include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#37 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#37 def on_heredoc(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#54 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#54 def correct_case_delimiters?(node); end - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#58 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#58 def correct_delimiters(source); end - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#50 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#50 def message(_node); end end -# source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_case.rb#35 +# source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_case.rb#35 RuboCop::Cop::Naming::HeredocDelimiterCase::MSG = T.let(T.unsafe(nil), String) # Checks that your heredocs are using meaningful delimiters. @@ -28952,25 +29137,25 @@ RuboCop::Cop::Naming::HeredocDelimiterCase::MSG = T.let(T.unsafe(nil), String) # SELECT * FROM foo # EOS # -# source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#26 +# source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#26 class RuboCop::Cop::Naming::HeredocDelimiterNaming < ::RuboCop::Cop::Base include ::RuboCop::Cop::Heredoc - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#31 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#31 def on_heredoc(node); end private - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#51 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#51 def forbidden_delimiters; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#41 + # source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#41 def meaningful_delimiters?(node); end end -# source://rubocop/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#29 +# source://rubocop//lib/rubocop/cop/naming/heredoc_delimiter_naming.rb#29 RuboCop::Cop::Naming::HeredocDelimiterNaming::MSG = T.let(T.unsafe(nil), String) # Recommends the use of inclusive language instead of problematic terms. @@ -29038,128 +29223,145 @@ RuboCop::Cop::Naming::HeredocDelimiterNaming::MSG = T.let(T.unsafe(nil), String) # # good (won't be flagged despite containing `slave`) # TeslaVehicle # -# source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#74 +# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#74 class RuboCop::Cop::Naming::InclusiveLanguage < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector # @return [InclusiveLanguage] a new instance of InclusiveLanguage # - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#84 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#84 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#93 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#93 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#111 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#111 def add_offenses_for_token(token, word_locations); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#176 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#176 def add_to_flagged_term_hash(regex_string, term, term_definition); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#202 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#202 def array_to_ignorecase_regex(strings); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#126 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#126 def check_token?(type); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#252 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#252 def create_message(word, message = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#226 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#226 def create_multiple_word_message_for_file(words); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#222 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#222 def create_single_word_message_for_file(word); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#198 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#198 def ensure_regex_string(regex); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#169 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#169 def extract_regexp(term, term_definition); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#260 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#260 def find_flagged_term(word); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#274 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#274 def format_suggestions(suggestions); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#206 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#206 def investigate_filepath; end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#100 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#100 def investigate_tokens; end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#240 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#240 def mask_input(str); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#289 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#289 def offense_range(token, word); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#160 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#160 def preferred_sole_term(suggestions); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#130 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#130 def preprocess_check_config; end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#144 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#144 def preprocess_flagged_terms; end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#267 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#267 def preprocess_suggestions(suggestions); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#188 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#188 def process_allowed_regex(allowed); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#230 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#230 def scan_for_words(input); end - # source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#183 + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#183 def set_regexes(flagged_term_strings, allowed_strings); end end -# source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#78 +# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#78 RuboCop::Cop::Naming::InclusiveLanguage::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#79 +# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#79 RuboCop::Cop::Naming::InclusiveLanguage::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#80 +# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#80 RuboCop::Cop::Naming::InclusiveLanguage::MSG_FOR_FILE_PATH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/inclusive_language.rb#82 +# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 class RuboCop::Cop::Naming::InclusiveLanguage::WordLocation < ::Struct # Returns the value of attribute position # # @return [Object] the current value of position + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def position; end # Sets the attribute position # # @param value [Object] the value to set the attribute position to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def position=(_); end # Returns the value of attribute word # # @return [Object] the current value of word + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def word; end # Sets the attribute word # # @param value [Object] the value to set the attribute word to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def word=(_); end class << self + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def inspect; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def members; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def new(*_arg0); end end end @@ -29299,58 +29501,58 @@ end # @_foo ||= calculate_expensive_thing # end # -# source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#148 +# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#148 class RuboCop::Cop::Naming::MemoizedInstanceVariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#198 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#198 def defined_memoized?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#161 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#161 def method_definition?(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#206 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#206 def on_defined?(node); end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#171 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#171 def on_or_asgn(node); end private - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#242 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#242 def find_definition(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#253 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#253 def matches?(method_name, ivar_assign); end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#262 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#262 def message(variable); end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#238 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#238 def style_parameter_name; end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#270 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#270 def suggested_var(method_name); end - # source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#276 + # source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#276 def variable_name_candidates(method_name); end end -# source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#157 +# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#157 RuboCop::Cop::Naming::MemoizedInstanceVariableName::DYNAMIC_DEFINE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#158 +# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#158 RuboCop::Cop::Naming::MemoizedInstanceVariableName::INITIALIZE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#153 +# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#153 RuboCop::Cop::Naming::MemoizedInstanceVariableName::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/naming/memoized_instance_variable_name.rb#155 +# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#155 RuboCop::Cop::Naming::MemoizedInstanceVariableName::UNDERSCORE_REQUIRED = T.let(T.unsafe(nil), String) # Makes sure that all methods use the configured style, @@ -29378,7 +29580,7 @@ RuboCop::Cop::Naming::MemoizedInstanceVariableName::UNDERSCORE_REQUIRED = T.let( # # good # def fooBar; end # -# source://rubocop/lib/rubocop/cop/naming/method_name.rb#31 +# source://rubocop//lib/rubocop/cop/naming/method_name.rb#31 class RuboCop::Cop::Naming::MethodName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::ConfigurableFormatting @@ -29386,34 +29588,34 @@ class RuboCop::Cop::Naming::MethodName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#55 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#55 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#55 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#60 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#44 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#44 def on_send(node); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#42 def str_name(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#39 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#39 def sym_name(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#64 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#64 def attr_name(name_item); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#75 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#75 def message(style); end - # source://rubocop/lib/rubocop/cop/naming/method_name.rb#68 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#68 def range_position(node); end end -# source://rubocop/lib/rubocop/cop/naming/method_name.rb#36 +# source://rubocop//lib/rubocop/cop/naming/method_name.rb#36 RuboCop::Cop::Naming::MethodName::MSG = T.let(T.unsafe(nil), String) # Checks method parameter names for how descriptive they @@ -29457,14 +29659,14 @@ RuboCop::Cop::Naming::MethodName::MSG = T.let(T.unsafe(nil), String) # do_stuff(age_a, height_b, gender_c) # end # -# source://rubocop/lib/rubocop/cop/naming/method_parameter_name.rb#46 +# source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#46 class RuboCop::Cop::Naming::MethodParameterName < ::RuboCop::Cop::Base include ::RuboCop::Cop::UncommunicativeName - # source://rubocop/lib/rubocop/cop/naming/method_parameter_name.rb#49 + # source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#49 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/method_parameter_name.rb#49 + # source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#54 def on_defs(node); end end @@ -29532,45 +29734,45 @@ end # # good # def_node_matcher(:even?) { |value| } # -# source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#75 +# source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#75 class RuboCop::Cop::Naming::PredicateName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#79 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#79 def dynamic_method_define(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#98 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#110 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#85 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#85 def on_send(node); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#112 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#112 def validate_config; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#124 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#124 def allowed_method_name?(method_name, prefix); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#132 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#132 def expected_name(method_name, prefix); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#146 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#146 def forbidden_prefixes; end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#142 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#142 def message(method_name, new_name); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#154 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#154 def method_definition_macros(macro_name); end - # source://rubocop/lib/rubocop/cop/naming/predicate_name.rb#150 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#150 def predicate_prefixes; end end @@ -29628,52 +29830,52 @@ end # # do something # end # -# source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#61 +# source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#61 class RuboCop::Cop::Naming::RescuedExceptionsVariableName < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#66 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#66 def on_resbody(node); end private - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#96 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#96 def autocorrect(corrector, node, range, offending_name, preferred_name); end - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#117 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#117 def correct_node(corrector, node, offending_name, preferred_name); end # If the exception variable is reassigned, that assignment needs to be corrected. # Further `lvar` nodes will not be corrected though since they now refer to a # different variable. # - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#143 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#143 def correct_reassignment(corrector, node, offending_name, preferred_name); end - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#160 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#160 def message(node); end - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#91 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#91 def offense_range(resbody); end - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#147 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#147 def preferred_name(variable_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#166 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#166 def shadowed_variable_name?(node); end - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#156 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#156 def variable_name(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#106 + # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#106 def variable_name_matches?(node, name); end end -# source://rubocop/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#64 +# source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#64 RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String) # Makes sure that all variables use the configured style, @@ -29698,7 +29900,7 @@ RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), # # good (with EnforcedStyle: camelCase) # :release_v1 # -# source://rubocop/lib/rubocop/cop/naming/variable_name.rb#31 +# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#31 class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedIdentifiers include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -29706,51 +29908,51 @@ class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableNaming include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#50 def on_arg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#56 def on_blockarg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#49 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#48 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#54 def on_kwarg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#53 def on_kwoptarg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#55 def on_kwrestarg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#57 def on_lvar(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#51 def on_optarg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#52 def on_restarg(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#38 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#38 def valid_name?(node, name, given_style = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/naming/variable_name.rb#61 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#61 def message(style); end end -# source://rubocop/lib/rubocop/cop/naming/variable_name.rb#36 +# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#36 RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String) # Makes sure that all numbered variables use the @@ -29842,7 +30044,7 @@ RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String) # # def some_method1(arg1); end # -# source://rubocop/lib/rubocop/cop/naming/variable_number.rb#103 +# source://rubocop//lib/rubocop/cop/naming/variable_number.rb#103 class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedIdentifiers include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -29850,64 +30052,64 @@ class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableNumbering include ::RuboCop::Cop::AllowedPattern - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 def on_arg(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#122 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#125 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#125 def on_def(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#125 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#131 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#123 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#121 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#120 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#133 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#133 def on_sym(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#110 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#110 def valid_name?(node, name, given_style = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/naming/variable_number.rb#142 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#142 def message(style); end end -# source://rubocop/lib/rubocop/cop/naming/variable_number.rb#108 +# source://rubocop//lib/rubocop/cop/naming/variable_number.rb#108 RuboCop::Cop::Naming::VariableNumber::MSG = T.let(T.unsafe(nil), String) # Some common code shared between `NegatedIf` and # `NegatedWhile` cops. # -# source://rubocop/lib/rubocop/cop/mixin/negative_conditional.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/negative_conditional.rb#7 module RuboCop::Cop::NegativeConditional extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/negative_conditional.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/negative_conditional.rb#18 def empty_condition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/negative_conditional.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/negative_conditional.rb#15 def single_negative?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/mixin/negative_conditional.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/negative_conditional.rb#20 def check_negative_conditional(node, message:, &block); end end -# source://rubocop/lib/rubocop/cop/mixin/negative_conditional.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/negative_conditional.rb#10 RuboCop::Cop::NegativeConditional::MSG = T.let(T.unsafe(nil), String) # This module provides a list of methods that are: @@ -29915,29 +30117,29 @@ RuboCop::Cop::NegativeConditional::MSG = T.let(T.unsafe(nil), String) # 2. Added to NilClass by explicitly requiring any standard libraries # 3. Cop's configuration parameter AllowedMethods. # -# source://rubocop/lib/rubocop/cop/mixin/nil_methods.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/nil_methods.rb#9 module RuboCop::Cop::NilMethods include ::RuboCop::Cop::AllowedMethods private - # source://rubocop/lib/rubocop/cop/mixin/nil_methods.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/nil_methods.rb#14 def nil_methods; end - # source://rubocop/lib/rubocop/cop/mixin/nil_methods.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/nil_methods.rb#18 def other_stdlib_methods; end end # An offense represents a style violation detected by RuboCop. # -# source://rubocop/lib/rubocop/cop/offense.rb#6 +# source://rubocop//lib/rubocop/cop/offense.rb#6 class RuboCop::Cop::Offense include ::Comparable # @api private # @return [Offense] a new instance of Offense # - # source://rubocop/lib/rubocop/cop/offense.rb#83 + # source://rubocop//lib/rubocop/cop/offense.rb#83 def initialize(severity, location, message, cop_name, status = T.unsafe(nil), corrector = T.unsafe(nil)); end # Returns `-1`, `0`, or `+1` @@ -29946,28 +30148,28 @@ class RuboCop::Cop::Offense # @api public # @return [Integer] comparison result # - # source://rubocop/lib/rubocop/cop/offense.rb#229 + # source://rubocop//lib/rubocop/cop/offense.rb#229 def <=>(other); end # @api public # @return [Boolean] returns `true` if two offenses contain same attributes # - # source://rubocop/lib/rubocop/cop/offense.rb#210 + # source://rubocop//lib/rubocop/cop/offense.rb#210 def ==(other); end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#159 + # source://rubocop//lib/rubocop/cop/offense.rb#159 def column; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#169 + # source://rubocop//lib/rubocop/cop/offense.rb#169 def column_length; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#193 + # source://rubocop//lib/rubocop/cop/offense.rb#193 def column_range; end # @api public @@ -29975,82 +30177,82 @@ class RuboCop::Cop::Offense # 'Layout/LineLength' # @return [String] the cop name as a String for which this offense is for. # - # source://rubocop/lib/rubocop/cop/offense.rb#50 + # source://rubocop//lib/rubocop/cop/offense.rb#50 def cop_name; end # @api public # @return [Boolean] whether this offense can be automatically corrected via autocorrect. # This includes todo comments, for example when requested with `--disable-uncorrectable`. # - # source://rubocop/lib/rubocop/cop/offense.rb#101 + # source://rubocop//lib/rubocop/cop/offense.rb#101 def correctable?; end # @api public # @return [Boolean] whether this offense is automatically corrected via # autocorrect or a todo. # - # source://rubocop/lib/rubocop/cop/offense.rb#112 + # source://rubocop//lib/rubocop/cop/offense.rb#112 def corrected?; end # @api public # @return [Boolean] whether this offense is automatically disabled via a todo. # - # source://rubocop/lib/rubocop/cop/offense.rb#122 + # source://rubocop//lib/rubocop/cop/offense.rb#122 def corrected_with_todo?; end # @api public # @return [Corrector | nil] the autocorrection for this offense, or `nil` when not available # - # source://rubocop/lib/rubocop/cop/offense.rb#61 + # source://rubocop//lib/rubocop/cop/offense.rb#61 def corrector; end # @api public # @return [Boolean] whether this offense was locally disabled with a # disable or todo where it occurred. # - # source://rubocop/lib/rubocop/cop/offense.rb#133 + # source://rubocop//lib/rubocop/cop/offense.rb#133 def disabled?; end # @api public # @return [Boolean] returns `true` if two offenses contain same attributes # - # source://rubocop/lib/rubocop/cop/offense.rb#210 + # source://rubocop//lib/rubocop/cop/offense.rb#216 def eql?(other); end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#178 + # source://rubocop//lib/rubocop/cop/offense.rb#178 def first_line; end - # source://rubocop/lib/rubocop/cop/offense.rb#218 + # source://rubocop//lib/rubocop/cop/offense.rb#218 def hash; end # @api public # @return [Parser::Source::Range] the range of the code that is highlighted # - # source://rubocop/lib/rubocop/cop/offense.rb#141 + # source://rubocop//lib/rubocop/cop/offense.rb#141 def highlighted_area; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#188 + # source://rubocop//lib/rubocop/cop/offense.rb#188 def last_column; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#183 + # source://rubocop//lib/rubocop/cop/offense.rb#183 def last_line; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#154 + # source://rubocop//lib/rubocop/cop/offense.rb#154 def line; end # @api public # @return [Parser::Source::Range] the location where the violation is detected. # @see https://www.rubydoc.info/gems/parser/Parser/Source/Range Parser::Source::Range # - # source://rubocop/lib/rubocop/cop/offense.rb#28 + # source://rubocop//lib/rubocop/cop/offense.rb#28 def location; end # @api public @@ -30058,7 +30260,7 @@ class RuboCop::Cop::Offense # 'Line is too long. [90/80]' # @return [String] human-readable message # - # source://rubocop/lib/rubocop/cop/offense.rb#39 + # source://rubocop//lib/rubocop/cop/offense.rb#39 def message; end # Internally we use column number that start at 0, but when @@ -30067,142 +30269,177 @@ class RuboCop::Cop::Offense # # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#202 + # source://rubocop//lib/rubocop/cop/offense.rb#202 def real_column; end # @api public # @return [RuboCop::Cop::Severity] # - # source://rubocop/lib/rubocop/cop/offense.rb#17 + # source://rubocop//lib/rubocop/cop/offense.rb#17 def severity; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#164 + # source://rubocop//lib/rubocop/cop/offense.rb#164 def source_line; end # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#53 + # source://rubocop//lib/rubocop/cop/offense.rb#53 def status; end # This is just for debugging purpose. # # @api private # - # source://rubocop/lib/rubocop/cop/offense.rb#147 + # source://rubocop//lib/rubocop/cop/offense.rb#147 def to_s; end end # @api private # -# source://rubocop/lib/rubocop/cop/offense.rb#10 +# source://rubocop//lib/rubocop/cop/offense.rb#10 RuboCop::Cop::Offense::COMPARISON_ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/offense.rb#80 +# source://rubocop//lib/rubocop/cop/offense.rb#80 RuboCop::Cop::Offense::NO_LOCATION = T.let(T.unsafe(nil), RuboCop::Cop::Offense::PseudoSourceRange) -# source://rubocop/lib/rubocop/cop/offense.rb#63 +# source://rubocop//lib/rubocop/cop/offense.rb#63 class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # Returns the value of attribute begin_pos # # @return [Object] the current value of begin_pos + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def begin_pos; end # Sets the attribute begin_pos # # @param value [Object] the value to set the attribute begin_pos to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def begin_pos=(_); end # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def column=(_); end - # source://rubocop/lib/rubocop/cop/offense.rb#69 + # source://rubocop//lib/rubocop/cop/offense.rb#69 def column_range; end # Returns the value of attribute end_pos # # @return [Object] the current value of end_pos + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def end_pos; end # Sets the attribute end_pos # # @param value [Object] the value to set the attribute end_pos to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def end_pos=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#65 def first_line; end # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://rubocop//lib/rubocop/cop/offense.rb#67 def last_column; end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#66 def last_line; end - # source://rubocop/lib/rubocop/cop/offense.rb#73 + # source://rubocop//lib/rubocop/cop/offense.rb#76 def length; end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def line=(_); end - # source://rubocop/lib/rubocop/cop/offense.rb#73 + # source://rubocop//lib/rubocop/cop/offense.rb#73 def size; end # Returns the value of attribute source_line # # @return [Object] the current value of source_line + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def source_line; end # Sets the attribute source_line # # @param value [Object] the value to set the attribute source_line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#63 def source_line=(_); end class << self + # source://rubocop//lib/rubocop/cop/offense.rb#63 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/offense.rb#63 def inspect; end + + # source://rubocop//lib/rubocop/cop/offense.rb#63 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/offense.rb#63 def members; end + + # source://rubocop//lib/rubocop/cop/offense.rb#63 def new(*_arg0); end end end # Common functionality for cops checking if and unless expressions. # -# source://rubocop/lib/rubocop/cop/mixin/on_normal_if_unless.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/on_normal_if_unless.rb#6 module RuboCop::Cop::OnNormalIfUnless - # source://rubocop/lib/rubocop/cop/mixin/on_normal_if_unless.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/on_normal_if_unless.rb#7 def on_if(node); end end # This autocorrects gem dependency order # -# source://rubocop/lib/rubocop/cop/correctors/ordered_gem_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/ordered_gem_corrector.rb#6 class RuboCop::Cop::OrderedGemCorrector extend ::RuboCop::Cop::OrderedGemNode extend ::RuboCop::Cop::RangeHelp @@ -30210,20 +30447,20 @@ class RuboCop::Cop::OrderedGemCorrector class << self # Returns the value of attribute comments_as_separators. # - # source://rubocop/lib/rubocop/cop/correctors/ordered_gem_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/ordered_gem_corrector.rb#11 def comments_as_separators; end - # source://rubocop/lib/rubocop/cop/correctors/ordered_gem_corrector.rb#13 + # source://rubocop//lib/rubocop/cop/correctors/ordered_gem_corrector.rb#13 def correct(processed_source, node, previous_declaration, comments_as_separators); end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/ordered_gem_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/ordered_gem_corrector.rb#11 def processed_source; end private - # source://rubocop/lib/rubocop/cop/correctors/ordered_gem_corrector.rb#26 + # source://rubocop//lib/rubocop/cop/correctors/ordered_gem_corrector.rb#26 def declaration_with_comment(node); end end end @@ -30231,145 +30468,145 @@ end # Common functionality for Bundler/OrderedGems and # Gemspec/OrderedDependencies. # -# source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#7 module RuboCop::Cop::OrderedGemNode private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#23 def case_insensitive_out_of_order?(string_a, string_b); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#27 def consecutive_lines(previous, current); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#55 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#55 def find_gem_name(gem_node); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#18 def gem_canonical_name(name); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#49 def gem_name(declaration_node); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#10 def get_source_range(node, comments_as_separators); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#32 def register_offense(previous, current); end - # source://rubocop/lib/rubocop/cop/mixin/ordered_gem_node.rb#61 + # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#61 def treat_comments_as_separators; end end # Common functionality for handling parentheses. # -# source://rubocop/lib/rubocop/cop/mixin/parentheses.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/parentheses.rb#6 module RuboCop::Cop::Parentheses private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/parentheses.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/parentheses.rb#9 def parens_required?(node); end end # This autocorrects parentheses # -# source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#6 class RuboCop::Cop::ParenthesesCorrector extend ::RuboCop::Cop::RangeHelp class << self - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#12 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#12 def correct(corrector, node); end private # Add a comma back after the heredoc identifier # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#74 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#74 def add_heredoc_comma(corrector, node); end # If the node contains a heredoc, remove the comma too # It'll be added back in the right place later # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#64 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#64 def extend_range_for_heredoc(node, range); end # If removing parentheses leaves a comma on its own line, remove all the whitespace # preceding it to prevent a syntax error. # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#41 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#41 def handle_orphaned_comma(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#80 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#80 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#28 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#28 def next_char_is_question_mark?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#32 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#32 def only_closing_paren_before_comma?(node); end # Get a range for the closing parenthesis and all whitespace to the left of it # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#51 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#51 def parens_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/parentheses_corrector.rb#24 + # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#24 def ternary_condition?(node); end end end # Common functionality for handling percent arrays. # -# source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#6 module RuboCop::Cop::PercentArray private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#26 def allowed_bracket_array?(node); end # @param node [RuboCop::AST::ArrayNode] # @param elements [Array] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#83 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#83 def build_bracketed_array_with_appropriate_whitespace(elements:, node:); end # @param preferred_array_code [String] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#56 def build_message_for_bracketed_array(preferred_array_code); end - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#67 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#67 def check_bracketed_array(node, literal_prefix); end - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#36 def check_percent_array(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#31 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#31 def comments_in_array?(node); end # Override to determine values that are invalid in a percent array # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#22 def invalid_percent_array_contents?(_node); end # Ruby does not allow percent arrays in an ambiguous block context. @@ -30379,7 +30616,7 @@ module RuboCop::Cop::PercentArray # foo %i[bar baz] { qux } # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#14 def invalid_percent_array_context?(node); end # Provides whitespace between elements for building a bracketed array. @@ -30389,7 +30626,7 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#98 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#98 def whitespace_between(node); end # Provides leading whitespace for building a bracketed array. @@ -30399,7 +30636,7 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#111 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#111 def whitespace_leading(node); end # Provides trailing whitespace for building a bracketed array. @@ -30409,387 +30646,297 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop/lib/rubocop/cop/mixin/percent_array.rb#120 + # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#120 def whitespace_trailing(node); end end # Common functionality for handling percent literals. # -# source://rubocop/lib/rubocop/cop/mixin/percent_literal.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#6 module RuboCop::Cop::PercentLiteral include ::RuboCop::Cop::RangeHelp private - # source://rubocop/lib/rubocop/cop/mixin/percent_literal.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#23 def begin_source(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/percent_literal.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#11 def percent_literal?(node); end - # source://rubocop/lib/rubocop/cop/mixin/percent_literal.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#17 def process(node, *types); end - # source://rubocop/lib/rubocop/cop/mixin/percent_literal.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#27 def type(node); end end # This autocorrects percent literals # -# source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#6 class RuboCop::Cop::PercentLiteralCorrector include ::RuboCop::PathUtil include ::RuboCop::Cop::Util # @return [PercentLiteralCorrector] a new instance of PercentLiteralCorrector # - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#11 def initialize(config, preferred_delimiters); end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#9 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#9 def config; end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#16 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#16 def correct(corrector, node, char); end # Returns the value of attribute preferred_delimiters. # - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#9 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#9 def preferred_delimiters; end private - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#46 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#46 def autocorrect_multiline_words(node, escape, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#52 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#52 def autocorrect_words(node, escape, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#34 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#34 def delimiters_for(type); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#110 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#110 def end_content(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#30 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#30 def escape_words?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#78 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#78 def first_line?(node, previous_line_num); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#89 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#89 def fix_escaped_content(word_node, escape, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#69 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#69 def line_breaks(node, source, previous_line_num, base_line_num, node_index); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#38 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#38 def new_contents(node, escape, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#82 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#82 def process_lines(node, previous_line_num, base_line_num, source_in_lines); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#58 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#58 def process_multiline_words(node, escape, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#96 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#96 def substitute_escaped_delimiters(content, delimiters); end - # source://rubocop/lib/rubocop/cop/correctors/percent_literal_corrector.rb#26 + # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#26 def wrap_contents(corrector, node, contents, char, delimiters); end end # Common functionality for checking whether an AST node/token is aligned # with something on a preceding or following line # -# source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#7 module RuboCop::Cop::PrecedingFollowingAlignment private - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#78 def aligned_comment_lines; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#101 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#101 def aligned_equals_operator?(range, lineno); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#132 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#132 def aligned_identical?(range, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#89 def aligned_operator?(range, line, lineno); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#85 def aligned_token?(range, line, lineno); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#42 def aligned_with_adjacent_line?(range, predicate); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#60 def aligned_with_any_line?(line_ranges, range, indent = T.unsafe(nil), &predicate); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#50 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#50 def aligned_with_any_line_range?(line_ranges, range, &predicate); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#124 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#124 def aligned_with_append_operator?(range, token); end - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#136 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#136 def aligned_with_equals_sign(token, line_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#64 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#64 def aligned_with_line?(line_nos, range, indent = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#22 def aligned_with_operator?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#118 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#118 def aligned_with_preceding_equals?(range, token); end # Allows alignment with a preceding operator that ends with an `=`, # including assignment and comparison operators. # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#28 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#28 def aligned_with_preceding_equals_operator(token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#18 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#18 def aligned_with_something?(range); end # Allows alignment with a subsequent operator that ends with an `=`, # including assignment and comparison operators. # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#36 def aligned_with_subsequent_equals_operator(token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#93 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#93 def aligned_words?(range, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#14 def allow_for_alignment?; end - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#151 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#151 def assignment_lines; end - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#155 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#155 def assignment_tokens; end - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#171 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#171 def relevant_assignment_lines(line_range); end - # source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#198 + # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#198 def remove_optarg_equals(asgn_tokens, processed_source); end end # Tokens that end with an `=`, as well as `<<`, that can be aligned together: # `=`, `==`, `===`, `!=`, `<=`, `>=`, `<<` and operator assignment (`+=`, etc). # -# source://rubocop/lib/rubocop/cop/mixin/preceding_following_alignment.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#10 RuboCop::Cop::PrecedingFollowingAlignment::ASSIGNMENT_OR_COMPARISON_TOKENS = T.let(T.unsafe(nil), Array) # Common functionality for handling percent literal delimiters. # -# source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#6 class RuboCop::Cop::PreferredDelimiters # @return [PreferredDelimiters] a new instance of PreferredDelimiters # - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#11 def initialize(type, config, preferred_delimiters); end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#7 def config; end - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#17 def delimiters; end # Returns the value of attribute type. # - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#7 def type; end private # @raise [ArgumentError] # - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#23 def ensure_valid_preferred_delimiters; end - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#30 def preferred_delimiters; end - # source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#45 def preferred_delimiters_config; end end -# source://rubocop/lib/rubocop/cop/mixin/preferred_delimiters.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#9 RuboCop::Cop::PreferredDelimiters::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Array) # This autocorrects punctuation # -# source://rubocop/lib/rubocop/cop/correctors/punctuation_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/punctuation_corrector.rb#6 class RuboCop::Cop::PunctuationCorrector class << self - # source://rubocop/lib/rubocop/cop/correctors/punctuation_corrector.rb#12 + # source://rubocop//lib/rubocop/cop/correctors/punctuation_corrector.rb#12 def add_space(corrector, token); end - # source://rubocop/lib/rubocop/cop/correctors/punctuation_corrector.rb#8 + # source://rubocop//lib/rubocop/cop/correctors/punctuation_corrector.rb#8 def remove_space(corrector, space_before); end - # source://rubocop/lib/rubocop/cop/correctors/punctuation_corrector.rb#16 + # source://rubocop//lib/rubocop/cop/correctors/punctuation_corrector.rb#16 def swap_comma(corrector, range); end end end module RuboCop::Cop::RSpec; end - -class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#78 - def aggregate_failures?(param0 = T.unsafe(nil), param1); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#89 - def aggregate_failures_block?(param0 = T.unsafe(nil)); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#86 - def expect?(param0 = T.unsafe(nil)); end - - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#93 - def on_block(node); end - - private - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#109 - def example_with_aggregate_failures?(example_node); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#116 - def find_aggregate_failures(example_node); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#121 - def find_expectation(node, &block); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#132 - def flag_example(node, expectation_count:); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_expectations.rb#143 - def max_expectations; end -end - -class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 - def on_block(node); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102 - def on_new_investigation; end - - private - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111 - def all_helpers(node); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141 - def allow_subject?; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109 - def example_group_memoized_helpers; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116 - def helpers(node); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137 - def max; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127 - def variable_nodes(node); end -end - -class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#107 - def on_top_level_group(node); end - - private - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#157 - def allowed_groups; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#134 - def count_up_nesting?(node, example_group); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#119 - def find_nested_example_groups(node, nesting: T.unsafe(nil), &block); end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#144 - def max_nesting; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#148 - def max_nesting_config; end - - # source://rubocop-rspec/3.4.0lib/rubocop/cop/rspec/nested_groups.rb#140 - def message(nesting); end -end +class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base; end +class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base; end +class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base; end # Methods that calculate and return Parser::Source::Ranges # -# source://rubocop/lib/rubocop/cop/mixin/range_help.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#6 module RuboCop::Cop::RangeHelp private - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#140 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#140 def add_range(range1, range2); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#81 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#81 def column_offset_between(base_range, range); end # A range containing only the contents of a literal with delimiters (e.g. in # `%i{1 2 3}` this will be the range covering `1 2 3` only). # - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#32 def contents_range(node); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#99 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#99 def directions(side); end # Returns the column attribute of the range, except if the range is on @@ -30797,154 +30944,154 @@ module RuboCop::Cop::RangeHelp # line, in which case 1 is subtracted from the column value. This gives # the column as it appears when viewing the file in an editor. # - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#91 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#91 def effective_column(range); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#108 def final_pos(src, pos, increment, continuations, newlines, whitespace); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#116 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#116 def move_pos(src, pos, step, condition, regexp); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#122 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#122 def move_pos_str(src, pos, step, condition, needle); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#36 def range_between(start_pos, end_pos); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#72 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#72 def range_by_whole_lines(range, include_final_newline: T.unsafe(nil), buffer: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#133 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#133 def range_with_comments(node); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#129 def range_with_comments_and_lines(node); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#40 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#40 def range_with_surrounding_comma(range, side = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#55 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#55 def range_with_surrounding_space(range_positional = T.unsafe(nil), range: T.unsafe(nil), side: T.unsafe(nil), newlines: T.unsafe(nil), whitespace: T.unsafe(nil), continuations: T.unsafe(nil), buffer: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/range_help.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#11 def source_range(source_buffer, line_number, column, length = T.unsafe(nil)); end end # The Unicode codepoint # -# source://rubocop/lib/rubocop/cop/mixin/range_help.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#9 RuboCop::Cop::RangeHelp::BYTE_ORDER_MARK = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/mixin/range_help.rb#54 +# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#54 module RuboCop::Cop::RangeHelp::NOT_GIVEN; end # Common functionality for handling Rational literals. # -# source://rubocop/lib/rubocop/cop/mixin/rational_literal.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/rational_literal.rb#6 module RuboCop::Cop::RationalLiteral extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/rational_literal.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/rational_literal.rb#12 def rational_literal?(param0 = T.unsafe(nil)); end end # Registry that tracks all cops by their badge and department. # -# source://rubocop/lib/rubocop/cop/registry.rb#19 +# source://rubocop//lib/rubocop/cop/registry.rb#19 class RuboCop::Cop::Registry include ::Enumerable # @return [Registry] a new instance of Registry # - # source://rubocop/lib/rubocop/cop/registry.rb#51 + # source://rubocop//lib/rubocop/cop/registry.rb#51 def initialize(cops = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/registry.rb#232 + # source://rubocop//lib/rubocop/cop/registry.rb#232 def ==(other); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#97 + # source://rubocop//lib/rubocop/cop/registry.rb#97 def contains_cop_matching?(names); end - # source://rubocop/lib/rubocop/cop/registry.rb#179 + # source://rubocop//lib/rubocop/cop/registry.rb#179 def cops; end - # source://rubocop/lib/rubocop/cop/registry.rb#224 + # source://rubocop//lib/rubocop/cop/registry.rb#224 def cops_for_department(department); end # @return [Boolean] Checks if given name is department # - # source://rubocop/lib/rubocop/cop/registry.rb#93 + # source://rubocop//lib/rubocop/cop/registry.rb#93 def department?(name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#147 + # source://rubocop//lib/rubocop/cop/registry.rb#147 def department_missing?(badge, name); end # @return [Array] list of departments for current cops. # - # source://rubocop/lib/rubocop/cop/registry.rb#72 + # source://rubocop//lib/rubocop/cop/registry.rb#72 def departments; end - # source://rubocop/lib/rubocop/cop/registry.rb#193 + # source://rubocop//lib/rubocop/cop/registry.rb#193 def disabled(config); end - # source://rubocop/lib/rubocop/cop/registry.rb#67 + # source://rubocop//lib/rubocop/cop/registry.rb#67 def dismiss(cop); end - # source://rubocop/lib/rubocop/cop/registry.rb#247 + # source://rubocop//lib/rubocop/cop/registry.rb#247 def each(&block); end - # source://rubocop/lib/rubocop/cop/registry.rb#189 + # source://rubocop//lib/rubocop/cop/registry.rb#189 def enabled(config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#197 + # source://rubocop//lib/rubocop/cop/registry.rb#197 def enabled?(cop, config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#213 + # source://rubocop//lib/rubocop/cop/registry.rb#213 def enabled_pending_cop?(cop_cfg, config); end - # source://rubocop/lib/rubocop/cop/registry.rb#63 + # source://rubocop//lib/rubocop/cop/registry.rb#63 def enlist(cop); end # @param cop_name [String] # @return [Class, nil] # - # source://rubocop/lib/rubocop/cop/registry.rb#253 + # source://rubocop//lib/rubocop/cop/registry.rb#253 def find_by_cop_name(cop_name); end # When a cop name is given returns a single-element array with the cop class. # When a department name is given returns an array with all the cop classes # for that department. # - # source://rubocop/lib/rubocop/cop/registry.rb#260 + # source://rubocop//lib/rubocop/cop/registry.rb#260 def find_cops_by_directive(directive); end - # source://rubocop/lib/rubocop/cop/registry.rb#265 + # source://rubocop//lib/rubocop/cop/registry.rb#265 def freeze; end - # source://rubocop/lib/rubocop/cop/registry.rb#184 + # source://rubocop//lib/rubocop/cop/registry.rb#184 def length; end - # source://rubocop/lib/rubocop/cop/registry.rb#220 + # source://rubocop//lib/rubocop/cop/registry.rb#220 def names; end - # source://rubocop/lib/rubocop/cop/registry.rb#228 + # source://rubocop//lib/rubocop/cop/registry.rb#228 def names_for_department(department); end # Returns the value of attribute options. # - # source://rubocop/lib/rubocop/cop/registry.rb#49 + # source://rubocop//lib/rubocop/cop/registry.rb#49 def options; end - # source://rubocop/lib/rubocop/cop/registry.rb#151 + # source://rubocop//lib/rubocop/cop/registry.rb#151 def print_warning(name, path); end # Convert a user provided cop name into a properly namespaced name @@ -30972,79 +31119,79 @@ class RuboCop::Cop::Registry # @raise [AmbiguousCopName] if a bare identifier with two possible namespaces is provided # @return [String] Qualified cop name # - # source://rubocop/lib/rubocop/cop/registry.rb#133 + # source://rubocop//lib/rubocop/cop/registry.rb#133 def qualified_cop_name(name, path, warn: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/registry.rb#166 + # source://rubocop//lib/rubocop/cop/registry.rb#166 def qualify_badge(badge); end - # source://rubocop/lib/rubocop/cop/registry.rb#243 + # source://rubocop//lib/rubocop/cop/registry.rb#243 def select(&block); end - # source://rubocop/lib/rubocop/cop/registry.rb#236 + # source://rubocop//lib/rubocop/cop/registry.rb#236 def sort!; end # @return [Hash{String => Array}] # - # source://rubocop/lib/rubocop/cop/registry.rb#174 + # source://rubocop//lib/rubocop/cop/registry.rb#174 def to_h; end - # source://rubocop/lib/rubocop/cop/registry.rb#159 + # source://rubocop//lib/rubocop/cop/registry.rb#159 def unqualified_cop_names; end # @return [Registry] Cops for that specific department. # - # source://rubocop/lib/rubocop/cop/registry.rb#78 + # source://rubocop//lib/rubocop/cop/registry.rb#78 def with_department(department); end # @return [Registry] Cops not for a specific department. # - # source://rubocop/lib/rubocop/cop/registry.rb#84 + # source://rubocop//lib/rubocop/cop/registry.rb#84 def without_department(department); end private - # source://rubocop/lib/rubocop/cop/registry.rb#283 + # source://rubocop//lib/rubocop/cop/registry.rb#283 def clear_enrollment_queue; end - # source://rubocop/lib/rubocop/cop/registry.rb#279 + # source://rubocop//lib/rubocop/cop/registry.rb#279 def initialize_copy(reg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#309 + # source://rubocop//lib/rubocop/cop/registry.rb#309 def registered?(badge); end - # source://rubocop/lib/rubocop/cop/registry.rb#299 + # source://rubocop//lib/rubocop/cop/registry.rb#299 def resolve_badge(given_badge, real_badge, source_path); end - # source://rubocop/lib/rubocop/cop/registry.rb#295 + # source://rubocop//lib/rubocop/cop/registry.rb#295 def with(cops); end class << self - # source://rubocop/lib/rubocop/cop/registry.rb#22 + # source://rubocop//lib/rubocop/cop/registry.rb#22 def all; end # Returns the value of attribute global. # - # source://rubocop/lib/rubocop/cop/registry.rb#274 + # source://rubocop//lib/rubocop/cop/registry.rb#274 def global; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/registry.rb#44 + # source://rubocop//lib/rubocop/cop/registry.rb#44 def qualified_cop?(name); end - # source://rubocop/lib/rubocop/cop/registry.rb#26 + # source://rubocop//lib/rubocop/cop/registry.rb#26 def qualified_cop_name(name, origin); end - # source://rubocop/lib/rubocop/cop/registry.rb#40 + # source://rubocop//lib/rubocop/cop/registry.rb#40 def reset!; end # Changes momentarily the global registry # Intended for testing purposes # - # source://rubocop/lib/rubocop/cop/registry.rb#32 + # source://rubocop//lib/rubocop/cop/registry.rb#32 def with_temporary_global(temp_global = T.unsafe(nil)); end end end @@ -31052,67 +31199,67 @@ end # Ensure a require statement is present for a standard library determined # by variable library_name # -# source://rubocop/lib/rubocop/cop/mixin/require_library.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/require_library.rb#7 module RuboCop::Cop::RequireLibrary extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#12 def ensure_required(corrector, node, library_name); end - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#33 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#33 def on_send(node); end - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#24 def remove_subsequent_requires(corrector, node, library_name); end - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#51 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#51 def require_any_library?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#56 def require_library_name?(param0 = T.unsafe(nil), param1); end private - # source://rubocop/lib/rubocop/cop/mixin/require_library.rb#44 + # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#44 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/mixin/require_library.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/require_library.rb#10 RuboCop::Cop::RequireLibrary::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # This class ensures a require statement is present for a standard library # determined by the variable library_name # -# source://rubocop/lib/rubocop/cop/correctors/require_library_corrector.rb#7 +# source://rubocop//lib/rubocop/cop/correctors/require_library_corrector.rb#7 class RuboCop::Cop::RequireLibraryCorrector extend ::RuboCop::Cop::RangeHelp class << self - # source://rubocop/lib/rubocop/cop/correctors/require_library_corrector.rb#11 + # source://rubocop//lib/rubocop/cop/correctors/require_library_corrector.rb#11 def correct(corrector, node, library_name); end - # source://rubocop/lib/rubocop/cop/correctors/require_library_corrector.rb#17 + # source://rubocop//lib/rubocop/cop/correctors/require_library_corrector.rb#17 def require_statement(library_name); end end end # Common functionality for checking `rescue` nodes. # -# source://rubocop/lib/rubocop/cop/mixin/rescue_node.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/rescue_node.rb#6 module RuboCop::Cop::RescueNode - # source://rubocop/lib/rubocop/cop/mixin/rescue_node.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/rescue_node.rb#7 def modifier_locations; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/rescue_node.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/rescue_node.rb#13 def rescue_modifier?(node); end # @deprecated Use ResbodyNode#exceptions instead # - # source://rubocop/lib/rubocop/cop/mixin/rescue_node.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/rescue_node.rb#20 def rescued_exceptions(resbody); end end @@ -31120,28 +31267,28 @@ end # putting parentheses around an assignment to indicate "I know I'm using an # assignment as a condition. It's not a mistake." # -# source://rubocop/lib/rubocop/cop/mixin/safe_assignment.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/safe_assignment.rb#8 module RuboCop::Cop::SafeAssignment extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/safe_assignment.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/safe_assignment.rb#14 def empty_condition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/safe_assignment.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/safe_assignment.rb#20 def safe_assignment?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/safe_assignment.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/safe_assignment.rb#17 def setter_method?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/safe_assignment.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/safe_assignment.rb#22 def safe_assignment_allowed?; end end -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#5 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#5 module RuboCop::Cop::Security; end # Checks for implementations of the `hash` method which combine @@ -31165,53 +31312,53 @@ module RuboCop::Cop::Security; end # [@foo, @bar].hash # end # -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#30 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#30 class RuboCop::Cop::Security::CompoundHash < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#59 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#59 def bad_hash_combinator?(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#76 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#76 def contained_in_hash_method?(node, &block); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#43 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#43 def dynamic_hash_method_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#38 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#38 def hash_method_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#64 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#64 def monuple_hash?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#88 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#103 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#88 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#88 def on_send(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#82 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#82 def outer_bad_hash_combinator?(node); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#69 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#69 def redundant_hash?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/compound_hash.rb#52 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#52 def static_hash_method_definition?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#31 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#31 RuboCop::Cop::Security::CompoundHash::COMBINATOR_IN_HASH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#32 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#32 RuboCop::Cop::Security::CompoundHash::MONUPLE_HASH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#34 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#34 RuboCop::Cop::Security::CompoundHash::REDUNDANT_HASH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/compound_hash.rb#35 +# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#35 RuboCop::Cop::Security::CompoundHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of `Kernel#eval` and `Binding#eval`. @@ -31223,19 +31370,19 @@ RuboCop::Cop::Security::CompoundHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # eval(something) # binding.eval(something) # -# source://rubocop/lib/rubocop/cop/security/eval.rb#14 +# source://rubocop//lib/rubocop/cop/security/eval.rb#14 class RuboCop::Cop::Security::Eval < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/security/eval.rb#19 + # source://rubocop//lib/rubocop/cop/security/eval.rb#19 def eval?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/eval.rb#23 + # source://rubocop//lib/rubocop/cop/security/eval.rb#23 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/security/eval.rb#15 +# source://rubocop//lib/rubocop/cop/security/eval.rb#15 RuboCop::Cop::Security::Eval::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/eval.rb#16 +# source://rubocop//lib/rubocop/cop/security/eval.rb#16 RuboCop::Cop::Security::Eval::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the first argument to `IO.read`, `IO.binread`, `IO.write`, `IO.binwrite`, @@ -31258,18 +31405,18 @@ RuboCop::Cop::Security::Eval::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # File.read('path') # IO.read('| command') # Allow intentional command invocation. # -# source://rubocop/lib/rubocop/cop/security/io_methods.rb#30 +# source://rubocop//lib/rubocop/cop/security/io_methods.rb#30 class RuboCop::Cop::Security::IoMethods < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/security/io_methods.rb#36 + # source://rubocop//lib/rubocop/cop/security/io_methods.rb#36 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/security/io_methods.rb#33 +# source://rubocop//lib/rubocop/cop/security/io_methods.rb#33 RuboCop::Cop::Security::IoMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/io_methods.rb#34 +# source://rubocop//lib/rubocop/cop/security/io_methods.rb#34 RuboCop::Cop::Security::IoMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of JSON class methods which have potential @@ -31283,21 +31430,21 @@ RuboCop::Cop::Security::IoMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # good # JSON.parse("{}") # -# source://rubocop/lib/rubocop/cop/security/json_load.rb#26 +# source://rubocop//lib/rubocop/cop/security/json_load.rb#26 class RuboCop::Cop::Security::JSONLoad < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/security/json_load.rb#33 + # source://rubocop//lib/rubocop/cop/security/json_load.rb#33 def json_load(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/json_load.rb#37 + # source://rubocop//lib/rubocop/cop/security/json_load.rb#37 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/security/json_load.rb#29 +# source://rubocop//lib/rubocop/cop/security/json_load.rb#29 RuboCop::Cop::Security::JSONLoad::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/json_load.rb#30 +# source://rubocop//lib/rubocop/cop/security/json_load.rb#30 RuboCop::Cop::Security::JSONLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of Marshal class methods which have @@ -31315,19 +31462,19 @@ RuboCop::Cop::Security::JSONLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # okish - deep copy hack # Marshal.load(Marshal.dump({})) # -# source://rubocop/lib/rubocop/cop/security/marshal_load.rb#21 +# source://rubocop//lib/rubocop/cop/security/marshal_load.rb#21 class RuboCop::Cop::Security::MarshalLoad < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/security/marshal_load.rb#26 + # source://rubocop//lib/rubocop/cop/security/marshal_load.rb#26 def marshal_load(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/security/marshal_load.rb#31 + # source://rubocop//lib/rubocop/cop/security/marshal_load.rb#31 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/security/marshal_load.rb#22 +# source://rubocop//lib/rubocop/cop/security/marshal_load.rb#22 RuboCop::Cop::Security::MarshalLoad::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/marshal_load.rb#23 +# source://rubocop//lib/rubocop/cop/security/marshal_load.rb#23 RuboCop::Cop::Security::MarshalLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of `Kernel#open` and `URI.open` with dynamic @@ -31358,51 +31505,51 @@ RuboCop::Cop::Security::MarshalLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # open("foo.text") # URI.open("http://example.com") # -# source://rubocop/lib/rubocop/cop/security/open.rb#37 +# source://rubocop//lib/rubocop/cop/security/open.rb#37 class RuboCop::Cop::Security::Open < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/security/open.rb#46 + # source://rubocop//lib/rubocop/cop/security/open.rb#46 def on_send(node); end - # source://rubocop/lib/rubocop/cop/security/open.rb#42 + # source://rubocop//lib/rubocop/cop/security/open.rb#42 def open?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#75 + # source://rubocop//lib/rubocop/cop/security/open.rb#75 def composite_string?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#83 + # source://rubocop//lib/rubocop/cop/security/open.rb#83 def concatenated_string?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#79 + # source://rubocop//lib/rubocop/cop/security/open.rb#79 def interpolated_string?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#57 + # source://rubocop//lib/rubocop/cop/security/open.rb#57 def safe?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#67 + # source://rubocop//lib/rubocop/cop/security/open.rb#67 def safe_argument?(argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/security/open.rb#71 + # source://rubocop//lib/rubocop/cop/security/open.rb#71 def simple_string?(node); end end -# source://rubocop/lib/rubocop/cop/security/open.rb#38 +# source://rubocop//lib/rubocop/cop/security/open.rb#38 RuboCop::Cop::Security::Open::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/open.rb#39 +# source://rubocop//lib/rubocop/cop/security/open.rb#39 RuboCop::Cop::Security::Open::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of YAML class methods which have @@ -31421,27 +31568,27 @@ RuboCop::Cop::Security::Open::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # YAML.load("--- !ruby/object:Foo {}", permitted_classes: [Foo]) # Ruby 3.1+ (Psych 4) # YAML.dump(foo) # -# source://rubocop/lib/rubocop/cop/security/yaml_load.rb#26 +# source://rubocop//lib/rubocop/cop/security/yaml_load.rb#26 class RuboCop::Cop::Security::YAMLLoad < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/security/yaml_load.rb#40 + # source://rubocop//lib/rubocop/cop/security/yaml_load.rb#40 def on_send(node); end - # source://rubocop/lib/rubocop/cop/security/yaml_load.rb#36 + # source://rubocop//lib/rubocop/cop/security/yaml_load.rb#36 def yaml_load(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/security/yaml_load.rb#30 +# source://rubocop//lib/rubocop/cop/security/yaml_load.rb#30 RuboCop::Cop::Security::YAMLLoad::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/security/yaml_load.rb#31 +# source://rubocop//lib/rubocop/cop/security/yaml_load.rb#31 RuboCop::Cop::Security::YAMLLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Severity class is simple value object about severity # -# source://rubocop/lib/rubocop/cop/severity.rb#6 +# source://rubocop//lib/rubocop/cop/severity.rb#6 class RuboCop::Cop::Severity include ::Comparable @@ -31449,212 +31596,212 @@ class RuboCop::Cop::Severity # @raise [ArgumentError] # @return [Severity] a new instance of Severity # - # source://rubocop/lib/rubocop/cop/severity.rb#30 + # source://rubocop//lib/rubocop/cop/severity.rb#30 def initialize(name_or_code); end - # source://rubocop/lib/rubocop/cop/severity.rb#62 + # source://rubocop//lib/rubocop/cop/severity.rb#62 def <=>(other); end - # source://rubocop/lib/rubocop/cop/severity.rb#50 + # source://rubocop//lib/rubocop/cop/severity.rb#50 def ==(other); end - # source://rubocop/lib/rubocop/cop/severity.rb#42 + # source://rubocop//lib/rubocop/cop/severity.rb#42 def code; end - # source://rubocop/lib/rubocop/cop/severity.rb#58 + # source://rubocop//lib/rubocop/cop/severity.rb#58 def hash; end - # source://rubocop/lib/rubocop/cop/severity.rb#46 + # source://rubocop//lib/rubocop/cop/severity.rb#46 def level; end # @api public # @return [Symbol] severity. # any of `:info`, `:refactor`, `:convention`, `:warning`, `:error` or `:fatal`. # - # source://rubocop/lib/rubocop/cop/severity.rb#22 + # source://rubocop//lib/rubocop/cop/severity.rb#22 def name; end - # source://rubocop/lib/rubocop/cop/severity.rb#38 + # source://rubocop//lib/rubocop/cop/severity.rb#38 def to_s; end class << self - # source://rubocop/lib/rubocop/cop/severity.rb#24 + # source://rubocop//lib/rubocop/cop/severity.rb#24 def name_from_code(code); end end end # @api private # -# source://rubocop/lib/rubocop/cop/severity.rb#12 +# source://rubocop//lib/rubocop/cop/severity.rb#12 RuboCop::Cop::Severity::CODE_TABLE = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/severity.rb#9 +# source://rubocop//lib/rubocop/cop/severity.rb#9 RuboCop::Cop::Severity::NAMES = T.let(T.unsafe(nil), Array) # Common functionality for cops checking for missing space after # punctuation. # -# source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#7 module RuboCop::Cop::SpaceAfterPunctuation - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#10 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#38 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#38 def allowed_type?(token); end - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#20 def each_missing_space(tokens); end # The normal offset, i.e., the distance from the punctuation # token where a space should be, is 1. # - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#49 def offset; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#42 def space_forbidden_before_rcurly?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#30 def space_missing?(token1, token2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#34 def space_required_before?(token); end end -# source://rubocop/lib/rubocop/cop/mixin/space_after_punctuation.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/space_after_punctuation.rb#8 RuboCop::Cop::SpaceAfterPunctuation::MSG = T.let(T.unsafe(nil), String) # Common functionality for cops checking for space before # punctuation. # -# source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#7 module RuboCop::Cop::SpaceBeforePunctuation include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#12 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#22 + # source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#22 def each_missing_space(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#34 def space_missing?(token1, token2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#38 + # source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#38 def space_required_after?(token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#42 + # source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#42 def space_required_after_lcurly?; end end -# source://rubocop/lib/rubocop/cop/mixin/space_before_punctuation.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/space_before_punctuation.rb#10 RuboCop::Cop::SpaceBeforePunctuation::MSG = T.let(T.unsafe(nil), String) # This autocorrects whitespace # -# source://rubocop/lib/rubocop/cop/correctors/space_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#6 class RuboCop::Cop::SpaceCorrector extend ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::SurroundingSpace class << self - # source://rubocop/lib/rubocop/cop/correctors/space_corrector.rb#36 + # source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#36 def add_space(processed_source, corrector, left_token, right_token); end - # source://rubocop/lib/rubocop/cop/correctors/space_corrector.rb#12 + # source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#12 def empty_corrections(processed_source, corrector, empty_config, left_token, right_token); end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/space_corrector.rb#10 + # source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#10 def processed_source; end - # source://rubocop/lib/rubocop/cop/correctors/space_corrector.rb#24 + # source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#24 def remove_space(processed_source, corrector, left_token, right_token); end end end # Common functionality for modifier cops. # -# source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#6 module RuboCop::Cop::StatementModifier include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp private - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#80 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#80 def code_after(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#104 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#104 def comment_disables_cop?(comment); end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#72 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#72 def first_line_comment(node); end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#57 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#57 def if_body_source(if_body); end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#43 def length_in_modifier_form(node); end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#98 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#98 def max_line_length; end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#66 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#66 def method_source(if_body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#37 def modifier_fits_on_single_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#26 def non_eligible_body?(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#33 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#33 def non_eligible_condition?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#19 def non_eligible_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#86 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#86 def parenthesize?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#11 def single_line_as_modifier?(node); end - # source://rubocop/lib/rubocop/cop/mixin/statement_modifier.rb#50 + # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#50 def to_modifier_form(node); end end @@ -31663,59 +31810,59 @@ end # adding offenses for the faulty string nodes, and with filtering out # nodes. # -# source://rubocop/lib/rubocop/cop/mixin/string_help.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/string_help.rb#9 module RuboCop::Cop::StringHelp - # source://rubocop/lib/rubocop/cop/mixin/string_help.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/string_help.rb#26 def on_regexp(node); end - # source://rubocop/lib/rubocop/cop/mixin/string_help.rb#10 + # source://rubocop//lib/rubocop/cop/mixin/string_help.rb#10 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/string_help.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/string_help.rb#32 def inside_interpolation?(node); end end # This autocorrects string literals # -# source://rubocop/lib/rubocop/cop/correctors/string_literal_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/string_literal_corrector.rb#6 class RuboCop::Cop::StringLiteralCorrector extend ::RuboCop::PathUtil extend ::RuboCop::Cop::Util class << self - # source://rubocop/lib/rubocop/cop/correctors/string_literal_corrector.rb#10 + # source://rubocop//lib/rubocop/cop/correctors/string_literal_corrector.rb#10 def correct(corrector, node, style); end end end # Common functionality for cops checking single/double quotes. # -# source://rubocop/lib/rubocop/cop/mixin/string_literals_help.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/string_literals_help.rb#6 module RuboCop::Cop::StringLiteralsHelp private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/string_literals_help.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/string_literals_help.rb#24 def enforce_double_quotes?; end - # source://rubocop/lib/rubocop/cop/mixin/string_literals_help.rb#20 + # source://rubocop//lib/rubocop/cop/mixin/string_literals_help.rb#20 def preferred_string_literal; end - # source://rubocop/lib/rubocop/cop/mixin/string_literals_help.rb#28 + # source://rubocop//lib/rubocop/cop/mixin/string_literals_help.rb#28 def string_literals_config; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/string_literals_help.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/string_literals_help.rb#9 def wrong_quotes?(src_or_node); end end -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#5 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#5 module RuboCop::Cop::Style; end # Access modifiers should be declared to apply to a group of methods @@ -31836,124 +31983,124 @@ module RuboCop::Cop::Style; end # # end # -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#135 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#135 class RuboCop::Cop::Style::AccessModifierDeclarations < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#169 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#169 def access_modifier_with_alias_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#163 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#163 def access_modifier_with_attr?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#156 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#156 def access_modifier_with_symbol?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#174 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#174 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#249 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#249 def access_modifier_is_inlined?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#253 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#253 def access_modifier_is_not_inlined?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#224 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#224 def allow_modifiers_on_alias_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#220 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#220 def allow_modifiers_on_attrs?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#216 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#216 def allow_modifiers_on_symbols?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#189 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#189 def allowed?(node); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#197 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#197 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#234 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#234 def correctable_group_offense?(node); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#336 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#336 def def_source(node, def_nodes); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#296 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#296 def find_argument_less_modifier_node(node); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#277 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#277 def find_corresponding_def_nodes(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#241 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#241 def group_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#245 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#245 def inline_style?; end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#326 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#326 def insert_inline_modifier(corrector, node, modifier_name); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#267 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#267 def message(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#228 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#228 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#212 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#212 def percent_symbol_array?(node); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#330 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#330 def remove_nodes(corrector, *nodes); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#310 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#310 def replace_defs(corrector, node, def_nodes); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#257 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#257 def right_siblings_same_inline_method?(node); end - # source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#304 + # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#304 def select_grouped_def_nodes(node); end end -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#153 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#153 RuboCop::Cop::Style::AccessModifierDeclarations::ALLOWED_NODE_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#141 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#141 RuboCop::Cop::Style::AccessModifierDeclarations::GROUP_STYLE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#146 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#146 RuboCop::Cop::Style::AccessModifierDeclarations::INLINE_STYLE_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/access_modifier_declarations.rb#151 +# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#151 RuboCop::Cop::Style::AccessModifierDeclarations::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for grouping of accessors in `class` and `module` bodies. @@ -32002,73 +32149,73 @@ RuboCop::Cop::Style::AccessModifierDeclarations::RESTRICT_ON_SEND = T.let(T.unsa # attr_reader :baz # end # -# source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#53 +# source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#53 class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::VisibilityHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#62 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#62 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#62 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#70 def on_module(node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#62 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#69 def on_sclass(node); end private - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#85 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#85 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#74 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#74 def check(send_node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#122 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#122 def class_send_elements(class_node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#165 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#165 def group_accessors(node, accessors); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#99 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#99 def groupable_accessor?(node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#142 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#142 def groupable_sibling_accessors(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#134 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#134 def grouped_style?; end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#151 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#151 def message(send_node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#156 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#156 def preferred_accessors(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#94 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#94 def previous_line_comment?(node); end - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#171 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#171 def separate_accessors(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#138 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#138 def separated_style?; end end -# source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#59 +# source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 RuboCop::Cop::Style::AccessorGrouping::GROUPED_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/accessor_grouping.rb#60 +# source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#60 RuboCop::Cop::Style::AccessorGrouping::SEPARATED_MSG = T.let(T.unsafe(nil), String) # Enforces the use of either `#alias` or `#alias_method` @@ -32095,73 +32242,73 @@ RuboCop::Cop::Style::AccessorGrouping::SEPARATED_MSG = T.let(T.unsafe(nil), Stri # # good # alias_method :bar, :foo # -# source://rubocop/lib/rubocop/cop/style/alias.rb#31 +# source://rubocop//lib/rubocop/cop/style/alias.rb#31 class RuboCop::Cop::Style::Alias < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/alias.rb#52 + # source://rubocop//lib/rubocop/cop/style/alias.rb#52 def on_alias(node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#41 + # source://rubocop//lib/rubocop/cop/style/alias.rb#41 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/alias.rb#86 + # source://rubocop//lib/rubocop/cop/style/alias.rb#86 def add_offense_for_args(node, &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/alias.rb#76 + # source://rubocop//lib/rubocop/cop/style/alias.rb#76 def alias_keyword_possible?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/alias.rb#80 + # source://rubocop//lib/rubocop/cop/style/alias.rb#80 def alias_method_possible?(node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#66 + # source://rubocop//lib/rubocop/cop/style/alias.rb#66 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/alias.rb#125 + # source://rubocop//lib/rubocop/cop/style/alias.rb#125 def bareword?(sym_node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#129 + # source://rubocop//lib/rubocop/cop/style/alias.rb#129 def correct_alias_method_to_alias(corrector, send_node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#136 + # source://rubocop//lib/rubocop/cop/style/alias.rb#136 def correct_alias_to_alias_method(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#143 + # source://rubocop//lib/rubocop/cop/style/alias.rb#143 def correct_alias_with_symbol_args(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#148 + # source://rubocop//lib/rubocop/cop/style/alias.rb#148 def identifier(node); end - # source://rubocop/lib/rubocop/cop/style/alias.rb#114 + # source://rubocop//lib/rubocop/cop/style/alias.rb#114 def lexical_scope_type(node); end # In this expression, will `self` be the same as the innermost enclosing # class or module block (:lexical)? Or will it be something else # (:dynamic)? If we're in an instance_eval block, return that. # - # source://rubocop/lib/rubocop/cop/style/alias.rb#97 + # source://rubocop//lib/rubocop/cop/style/alias.rb#97 def scope_type(node); end end -# source://rubocop/lib/rubocop/cop/style/alias.rb#35 +# source://rubocop//lib/rubocop/cop/style/alias.rb#35 RuboCop::Cop::Style::Alias::MSG_ALIAS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/alias.rb#36 +# source://rubocop//lib/rubocop/cop/style/alias.rb#36 RuboCop::Cop::Style::Alias::MSG_ALIAS_METHOD = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/alias.rb#37 +# source://rubocop//lib/rubocop/cop/style/alias.rb#37 RuboCop::Cop::Style::Alias::MSG_SYMBOL_ARGS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/alias.rb#39 +# source://rubocop//lib/rubocop/cop/style/alias.rb#39 RuboCop::Cop::Style::Alias::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for endless methods inside operations of lower precedence (`and`, `or`, and @@ -32188,31 +32335,31 @@ RuboCop::Cop::Style::Alias::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # ok - method definition is explicit # (def foo = true) if bar # -# source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#29 +# source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#29 class RuboCop::Cop::Style::AmbiguousEndlessMethodDefinition < ::RuboCop::Cop::Base include ::RuboCop::Cop::EndlessMethodRewriter include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::TargetRubyVersion extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#40 + # source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#40 def ambiguous_endless_method_body(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#48 + # source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#48 def on_def(node); end private - # source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#69 + # source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#69 def keyword(operation); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#63 + # source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#63 def modifier_form?(operation); end end -# source://rubocop/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#37 +# source://rubocop//lib/rubocop/cop/style/ambiguous_endless_method_definition.rb#37 RuboCop::Cop::Style::AmbiguousEndlessMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Checks for uses of `and` and `or`, and suggests using `&&` and @@ -32248,31 +32395,31 @@ RuboCop::Cop::Style::AmbiguousEndlessMethodDefinition::MSG = T.let(T.unsafe(nil) # if foo && bar # end # -# source://rubocop/lib/rubocop/cop/style/and_or.rb#44 +# source://rubocop//lib/rubocop/cop/style/and_or.rb#44 class RuboCop::Cop::Style::AndOr < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/and_or.rb#51 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#51 def on_and(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#51 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#54 def on_or(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#61 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#62 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#59 def on_while(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#60 def on_while_post(node); end private @@ -32282,40 +32429,40 @@ class RuboCop::Cop::Style::AndOr < ::RuboCop::Cop::Base # recurse down a level and add parens to 'obj.method arg' # however, 'not x' also parses as (send x :!) # - # source://rubocop/lib/rubocop/cop/style/and_or.rb#117 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#117 def correct_not(node, receiver, corrector); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#129 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#129 def correct_other(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#95 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#95 def correct_send(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#108 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#108 def correct_setter(node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/and_or.rb#143 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#143 def correctable_send?(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#135 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#135 def keep_operator_precedence(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#91 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#91 def message(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#85 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#85 def on_conditionals(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#66 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#66 def process_logical_operator(node); end - # source://rubocop/lib/rubocop/cop/style/and_or.rb#147 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#147 def whitespace_before_arg(node); end end -# source://rubocop/lib/rubocop/cop/style/and_or.rb#49 +# source://rubocop//lib/rubocop/cop/style/and_or.rb#49 RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String) # In Ruby 2.7, arguments forwarding has been added. @@ -32433,245 +32580,245 @@ RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String) # bar(...) # end # -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#127 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#127 class RuboCop::Cop::Style::ArgumentsForwarding < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#146 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#146 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#146 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#166 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#188 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#188 def add_forward_all_offenses(node, send_classifications, forwardable_args); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#366 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#366 def add_parens_if_missing(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#215 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#215 def add_post_ruby_32_offenses(def_node, send_classifications, forwardable_args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#352 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#352 def allow_only_rest_arguments?; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#340 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#340 def arguments_range(node, first_node); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#267 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#267 def classification_and_forwards(def_node, send_node, referenced_lvars, forwardable_args); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#252 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#252 def classify_send_nodes(def_node, send_nodes, referenced_lvars, forwardable_args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#542 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#542 def explicit_block_name?; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#170 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#170 def extract_forwardable_args(args); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#242 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#242 def non_splat_or_block_pass_lvar_references(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#182 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#182 def only_forwards_all?(send_classifications); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#296 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#296 def outside_block?(node); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#174 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#174 def redundant_forwardable_named_args(restarg, kwrestarg, blockarg); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#286 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#286 def redundant_named_arg(arg, config_name, keyword); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#329 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#329 def register_forward_all_offense(def_or_send, send_or_arguments, rest_or_splat); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#302 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#302 def register_forward_args_offense(def_arguments_or_send, rest_arg_or_splat); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#318 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#318 def register_forward_block_arg_offense(add_parens, def_arguments_or_send, block_arg); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#310 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#310 def register_forward_kwargs_offense(add_parens, def_arguments_or_send, kwrest_arg_or_splat); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#360 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#360 def send_inside_block?(send_classifications); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#356 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#356 def use_anonymous_forwarding?; end class << self - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#142 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#142 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#135 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#135 RuboCop::Cop::Style::ArgumentsForwarding::ADDITIONAL_ARG_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#138 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#138 RuboCop::Cop::Style::ArgumentsForwarding::ARGS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#140 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#140 RuboCop::Cop::Style::ArgumentsForwarding::BLOCK_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#134 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#134 RuboCop::Cop::Style::ArgumentsForwarding::FORWARDING_LVAR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#137 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#137 RuboCop::Cop::Style::ArgumentsForwarding::FORWARDING_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#139 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#139 RuboCop::Cop::Style::ArgumentsForwarding::KWARGS_MSG = T.let(T.unsafe(nil), String) # Classifies send nodes for possible rest/kwrest/all (including block) forwarding. # -# source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#374 +# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#374 class RuboCop::Cop::Style::ArgumentsForwarding::SendNodeClassifier extend ::RuboCop::AST::NodePattern::Macros # @return [SendNodeClassifier] a new instance of SendNodeClassifier # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#403 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#403 def initialize(def_node, send_node, referenced_lvars, forwardable_args, **config); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#431 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#431 def classification; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#387 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#387 def def_all_anonymous_args?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#381 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#381 def extract_forwarded_kwrest_arg(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#425 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#425 def forwarded_block_arg; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#384 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#384 def forwarded_block_arg?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#419 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#419 def forwarded_kwrest_arg; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#413 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#413 def forwarded_rest_arg; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#378 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#378 def forwarded_rest_arg?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#396 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#396 def send_all_anonymous_args?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#513 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#513 def additional_kwargs?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#509 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#509 def additional_kwargs_or_forwarded_kwargs?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#523 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#523 def allow_offense_for_no_block?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#494 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#494 def any_arg_referenced?; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#478 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#478 def arguments; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#446 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#446 def can_forward_all?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#517 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#517 def forward_additional_kwargs?; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#474 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#474 def forwarded_rest_and_kwrest_args; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#536 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#536 def missing_rest_arg_or_kwrest_arg?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#527 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#527 def no_additional_args?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#502 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#502 def no_post_splat_args?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#470 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#470 def offensive_block_forwarding?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#490 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#490 def referenced_block_arg?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#486 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#486 def referenced_kwrest_arg?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#482 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#482 def referenced_rest_arg?; end # def foo(a = 41, ...) is a syntax error in 3.0. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#458 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#458 def ruby_30_or_lower_optarg?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#462 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#462 def ruby_32_only_anonymous_forwarding?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#466 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#466 def ruby_32_or_higher_missing_rest_or_kwest?; end - # source://rubocop/lib/rubocop/cop/style/arguments_forwarding.rb#498 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#498 def target_ruby_version; end end @@ -32690,27 +32837,27 @@ end # # good (and a bit more readable) # Array(paths).each { |path| do_something(path) } # -# source://rubocop/lib/rubocop/cop/style/array_coercion.rb#41 +# source://rubocop//lib/rubocop/cop/style/array_coercion.rb#41 class RuboCop::Cop::Style::ArrayCoercion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/array_coercion.rb#48 + # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#48 def array_splat?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/array_coercion.rb#63 + # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#63 def on_array(node); end - # source://rubocop/lib/rubocop/cop/style/array_coercion.rb#74 + # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#74 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/array_coercion.rb#53 + # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#53 def unless_array?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/style/array_coercion.rb#45 +# source://rubocop//lib/rubocop/cop/style/array_coercion.rb#45 RuboCop::Cop::Style::ArrayCoercion::CHECK_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/array_coercion.rb#44 +# source://rubocop//lib/rubocop/cop/style/array_coercion.rb#44 RuboCop::Cop::Style::ArrayCoercion::SPLAT_MSG = T.let(T.unsafe(nil), String) # Identifies usages of `arr[0]` and `arr[-1]` and suggests to change @@ -32729,28 +32876,28 @@ RuboCop::Cop::Style::ArrayCoercion::SPLAT_MSG = T.let(T.unsafe(nil), String) # arr[0] = 2 # arr[0][-2] # -# source://rubocop/lib/rubocop/cop/style/array_first_last.rb#28 +# source://rubocop//lib/rubocop/cop/style/array_first_last.rb#28 class RuboCop::Cop::Style::ArrayFirstLast < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/array_first_last.rb#35 + # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#35 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/array_first_last.rb#58 + # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#58 def brace_method?(node); end - # source://rubocop/lib/rubocop/cop/style/array_first_last.rb#53 + # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#53 def innermost_braces_node(node); end end -# source://rubocop/lib/rubocop/cop/style/array_first_last.rb#31 +# source://rubocop//lib/rubocop/cop/style/array_first_last.rb#31 RuboCop::Cop::Style::ArrayFirstLast::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/array_first_last.rb#32 +# source://rubocop//lib/rubocop/cop/style/array_first_last.rb#32 RuboCop::Cop::Style::ArrayFirstLast::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # In Ruby 3.1, `Array#intersect?` has been added. @@ -32792,46 +32939,46 @@ RuboCop::Cop::Style::ArrayFirstLast::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # array1.intersect?(array2) # !array1.intersect?(array2) # -# source://rubocop/lib/rubocop/cop/style/array_intersect.rb#50 +# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#50 class RuboCop::Cop::Style::ArrayIntersect < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#66 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#66 def active_support_bad_intersection_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#80 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#80 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#57 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#57 def regular_bad_intersection_check?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#95 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#95 def bad_intersection_check?(node); end - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#107 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#107 def message(receiver, argument, method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/array_intersect.rb#103 + # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#103 def straight?(method_name); end end -# source://rubocop/lib/rubocop/cop/style/array_intersect.rb#74 +# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#74 RuboCop::Cop::Style::ArrayIntersect::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/array_intersect.rb#77 +# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#77 RuboCop::Cop::Style::ArrayIntersect::NEGATED_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/array_intersect.rb#78 +# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#78 RuboCop::Cop::Style::ArrayIntersect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/array_intersect.rb#76 +# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#76 RuboCop::Cop::Style::ArrayIntersect::STRAIGHT_METHODS = T.let(T.unsafe(nil), Array) # Checks for uses of "*" as a substitute for _join_. @@ -32848,48 +32995,48 @@ RuboCop::Cop::Style::ArrayIntersect::STRAIGHT_METHODS = T.let(T.unsafe(nil), Arr # # good # %w(foo bar baz).join(",") # -# source://rubocop/lib/rubocop/cop/style/array_join.rb#20 +# source://rubocop//lib/rubocop/cop/style/array_join.rb#20 class RuboCop::Cop::Style::ArrayJoin < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/array_join.rb#27 + # source://rubocop//lib/rubocop/cop/style/array_join.rb#27 def join_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/array_join.rb#29 + # source://rubocop//lib/rubocop/cop/style/array_join.rb#29 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/array_join.rb#23 +# source://rubocop//lib/rubocop/cop/style/array_join.rb#23 RuboCop::Cop::Style::ArrayJoin::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/array_join.rb#24 +# source://rubocop//lib/rubocop/cop/style/array_join.rb#24 RuboCop::Cop::Style::ArrayJoin::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#16 +# source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#16 class RuboCop::Cop::Style::AsciiComments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#21 + # source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#21 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#51 + # source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#51 def allowed_non_ascii_chars; end - # source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#42 + # source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#42 def first_non_ascii_chars(string); end - # source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#32 + # source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#32 def first_offense_range(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#46 + # source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#46 def only_allowed_non_ascii_chars?(string); end end -# source://rubocop/lib/rubocop/cop/style/ascii_comments.rb#19 +# source://rubocop//lib/rubocop/cop/style/ascii_comments.rb#19 RuboCop::Cop::Style::AsciiComments::MSG = T.let(T.unsafe(nil), String) # Checks for uses of Module#attr. @@ -32903,43 +33050,43 @@ RuboCop::Cop::Style::AsciiComments::MSG = T.let(T.unsafe(nil), String) # attr_accessor :something # attr_reader :one, :two, :three # -# source://rubocop/lib/rubocop/cop/style/attr.rb#17 +# source://rubocop//lib/rubocop/cop/style/attr.rb#17 class RuboCop::Cop::Style::Attr < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/attr.rb#74 + # source://rubocop//lib/rubocop/cop/style/attr.rb#74 def class_eval?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/attr.rb#24 + # source://rubocop//lib/rubocop/cop/style/attr.rb#24 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/attr.rb#37 + # source://rubocop//lib/rubocop/cop/style/attr.rb#37 def allowed_context?(node); end - # source://rubocop/lib/rubocop/cop/style/attr.rb#47 + # source://rubocop//lib/rubocop/cop/style/attr.rb#47 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/attr.rb#43 + # source://rubocop//lib/rubocop/cop/style/attr.rb#43 def define_attr_method?(node); end - # source://rubocop/lib/rubocop/cop/style/attr.rb#59 + # source://rubocop//lib/rubocop/cop/style/attr.rb#59 def message(node); end - # source://rubocop/lib/rubocop/cop/style/attr.rb#63 + # source://rubocop//lib/rubocop/cop/style/attr.rb#63 def replacement_method(node); end end -# source://rubocop/lib/rubocop/cop/style/attr.rb#21 +# source://rubocop//lib/rubocop/cop/style/attr.rb#21 RuboCop::Cop::Style::Attr::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/attr.rb#22 +# source://rubocop//lib/rubocop/cop/style/attr.rb#22 RuboCop::Cop::Style::Attr::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for cases when you could use a block @@ -32964,26 +33111,26 @@ RuboCop::Cop::Style::Attr::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # ... # end # -# source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#27 +# source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#27 class RuboCop::Cop::Style::AutoResourceCleanup < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#32 + # source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#32 def file_open_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#36 + # source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#36 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#46 + # source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#46 def cleanup?(node); end end -# source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#28 +# source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#28 RuboCop::Cop::Style::AutoResourceCleanup::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/auto_resource_cleanup.rb#29 +# source://rubocop//lib/rubocop/cop/style/auto_resource_cleanup.rb#29 RuboCop::Cop::Style::AutoResourceCleanup::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks if usage of %() or %Q() matches configuration. @@ -33005,37 +33152,37 @@ RuboCop::Cop::Style::AutoResourceCleanup::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # %Q|He said: "#{greeting}"| # %q/She said: 'Hi'/ # -# source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#26 +# source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#26 class RuboCop::Cop::Style::BarePercentLiterals < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#32 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#32 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#36 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#36 def on_str(node); end private - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#63 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#63 def add_offense_for_wrong_style(node, good, bad); end - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#42 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#42 def check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#59 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#59 def requires_bare_percent?(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#55 + # source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#55 def requires_percent_q?(source); end end -# source://rubocop/lib/rubocop/cop/style/bare_percent_literals.rb#30 +# source://rubocop//lib/rubocop/cop/style/bare_percent_literals.rb#30 RuboCop::Cop::Style::BarePercentLiterals::MSG = T.let(T.unsafe(nil), String) # Checks for BEGIN blocks. @@ -33044,13 +33191,13 @@ RuboCop::Cop::Style::BarePercentLiterals::MSG = T.let(T.unsafe(nil), String) # # bad # BEGIN { test } # -# source://rubocop/lib/rubocop/cop/style/begin_block.rb#12 +# source://rubocop//lib/rubocop/cop/style/begin_block.rb#12 class RuboCop::Cop::Style::BeginBlock < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/begin_block.rb#15 + # source://rubocop//lib/rubocop/cop/style/begin_block.rb#15 def on_preexe(node); end end -# source://rubocop/lib/rubocop/cop/style/begin_block.rb#13 +# source://rubocop//lib/rubocop/cop/style/begin_block.rb#13 RuboCop::Cop::Style::BeginBlock::MSG = T.let(T.unsafe(nil), String) # Checks for places where `attr_reader` and `attr_writer` @@ -33068,7 +33215,7 @@ RuboCop::Cop::Style::BeginBlock::MSG = T.let(T.unsafe(nil), String) # attr_accessor :bar # end # -# source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#21 +# source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#21 class RuboCop::Cop::Style::BisectedAttrAccessor < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector @@ -33077,54 +33224,54 @@ class RuboCop::Cop::Style::BisectedAttrAccessor < ::RuboCop::Cop::Base # happens in `after_class` because a macro might have multiple attributes # rewritten from it # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#55 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#55 def after_class(class_node); end # Each offending macro is captured and registered in `on_class` but correction # happens in `after_class` because a macro might have multiple attributes # rewritten from it # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#55 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#70 def after_module(class_node); end # Each offending macro is captured and registered in `on_class` but correction # happens in `after_class` because a macro might have multiple attributes # rewritten from it # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#55 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#69 def after_sclass(class_node); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#33 def on_class(class_node); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#50 def on_module(class_node); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#29 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#29 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#49 def on_sclass(class_node); end private - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#102 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#102 def correct_reader(corrector, macro, node, range); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#114 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#114 def correct_writer(corrector, macro, node, range); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#91 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#91 def find_bisection(macros); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#74 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#74 def find_macros(class_def); end - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#98 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#98 def register_offense(attr); end end -# source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor.rb#27 +# source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#27 RuboCop::Cop::Style::BisectedAttrAccessor::MSG = T.let(T.unsafe(nil), String) # Representation of an `attr_reader`, `attr_writer` or `attr` macro @@ -33132,79 +33279,79 @@ RuboCop::Cop::Style::BisectedAttrAccessor::MSG = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#10 +# source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#10 class RuboCop::Cop::Style::BisectedAttrAccessor::Macro include ::RuboCop::Cop::VisibilityHelp # @api private # @return [Macro] a new instance of Macro # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#19 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#19 def initialize(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#49 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#49 def all_bisected?; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#29 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#29 def attr_names; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 def attrs; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#25 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#25 def bisect(*names); end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#33 def bisected_names; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 def bisection; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#13 def node; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#41 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#41 def reader?; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#53 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#53 def rest; end # @api private # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#37 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#37 def visibility; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#45 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#45 def writer?; end class << self # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#15 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor/macro.rb#15 def macro?(node); end end end @@ -33231,36 +33378,36 @@ end # # good # variable.nobits?(flags) # -# source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#32 +# source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#32 class RuboCop::Cop::Style::BitwisePredicate < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#52 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#52 def allbits?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#42 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#42 def anybits?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#68 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#68 def bit_operation?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#60 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#60 def nobits?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#73 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#73 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#88 + # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#88 def preferred_method(node); end end -# source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#36 +# source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#36 RuboCop::Cop::Style::BitwisePredicate::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/bitwise_predicate.rb#37 +# source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#37 RuboCop::Cop::Style::BitwisePredicate::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for uses of block comments (=begin...=end). @@ -33276,30 +33423,30 @@ RuboCop::Cop::Style::BitwisePredicate::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # # Multiple lines # # of comments... # -# source://rubocop/lib/rubocop/cop/style/block_comments.rb#19 +# source://rubocop//lib/rubocop/cop/style/block_comments.rb#19 class RuboCop::Cop::Style::BlockComments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/block_comments.rb#27 + # source://rubocop//lib/rubocop/cop/style/block_comments.rb#27 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/block_comments.rb#56 + # source://rubocop//lib/rubocop/cop/style/block_comments.rb#56 def eq_end_part(comment, expr); end - # source://rubocop/lib/rubocop/cop/style/block_comments.rb#48 + # source://rubocop//lib/rubocop/cop/style/block_comments.rb#48 def parts(comment); end end -# source://rubocop/lib/rubocop/cop/style/block_comments.rb#24 +# source://rubocop//lib/rubocop/cop/style/block_comments.rb#24 RuboCop::Cop::Style::BlockComments::BEGIN_LENGTH = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/style/block_comments.rb#25 +# source://rubocop//lib/rubocop/cop/style/block_comments.rb#25 RuboCop::Cop::Style::BlockComments::END_LENGTH = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/style/block_comments.rb#23 +# source://rubocop//lib/rubocop/cop/style/block_comments.rb#23 RuboCop::Cop::Style::BlockComments::MSG = T.let(T.unsafe(nil), String) # Check for uses of braces or do/end around single line or @@ -33456,7 +33603,7 @@ RuboCop::Cop::Style::BlockComments::MSG = T.let(T.unsafe(nil), String) # process(something) # end # -# source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#168 +# source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#168 class RuboCop::Cop::Style::BlockDelimiters < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::AllowedMethods @@ -33464,214 +33611,214 @@ class RuboCop::Cop::Style::BlockDelimiters < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#199 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#199 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#199 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#209 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#183 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#183 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#496 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#496 def array_or_range?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#213 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#213 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#500 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#500 def begin_required?(block_node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#241 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#241 def braces_for_chaining_message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#437 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#437 def braces_for_chaining_style?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#253 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#253 def braces_required_message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#414 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#414 def braces_required_method?(method_name); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#418 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#418 def braces_required_methods; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#447 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#447 def braces_style?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#492 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#492 def conditional?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#451 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#451 def correction_would_break_code?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#329 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#329 def end_of_chain(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#461 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#461 def functional_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#457 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#457 def functional_method?(method_name); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#347 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#347 def get_blocks(node, &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#422 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#422 def line_count_based_block_style?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#223 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#223 def line_count_based_message(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#257 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#257 def message(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#305 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#305 def move_comment_before_block(corrector, comment, block_node, closing_brace); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#469 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#469 def procedural_method?(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#465 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#465 def procedural_oneliners_may_have_braces?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#373 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#373 def proper_block_style?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#336 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#336 def remove_trailing_whitespace(corrector, range, comment); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#268 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#268 def replace_braces_with_do_end(corrector, loc); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#284 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#284 def replace_do_end_with_braces(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#386 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#386 def require_braces?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#394 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#394 def require_do_end?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#485 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#485 def return_value_of_scope?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#473 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#473 def return_value_used?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#426 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#426 def semantic_block_style?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#231 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#231 def semantic_message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#506 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#506 def single_argument_operator_method?(node); end - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#319 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#319 def source_range_before_comment(range, comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#401 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#401 def special_method?(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#407 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#407 def special_method_proper_block_style?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#301 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#301 def whitespace_after?(range, length = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#297 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#297 def whitespace_before?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#342 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#342 def with_block?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#179 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#179 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#175 +# source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#175 RuboCop::Cop::Style::BlockDelimiters::ALWAYS_BRACES_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/block_delimiters.rb#177 +# source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#177 RuboCop::Cop::Style::BlockDelimiters::BRACES_REQUIRED_MESSAGE = T.let(T.unsafe(nil), String) # Corrector to correct conditional assignment in `case` statements. # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#602 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#602 class RuboCop::Cop::Style::CaseCorrector extend ::RuboCop::Cop::Style::ConditionalAssignmentHelper extend ::RuboCop::Cop::Style::ConditionalCorrectorHelper class << self - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#607 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#607 def correct(corrector, cop, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#617 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#617 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#637 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#637 def extract_branches(case_node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#631 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#631 def extract_tail_branches(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#647 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#647 def move_branch_inside_condition(corrector, branch, condition, assignment, column); end end end @@ -33701,43 +33848,43 @@ end # # good # self.class === something # -# source://rubocop/lib/rubocop/cop/style/case_equality.rb#40 +# source://rubocop//lib/rubocop/cop/style/case_equality.rb#40 class RuboCop::Cop::Style::CaseEquality < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#47 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#47 def case_equality?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#52 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#52 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#50 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#50 def self_class?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#90 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#90 def begin_replacement(lhs, rhs); end - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#96 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#96 def const_replacement(lhs, rhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#65 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#65 def offending_receiver?(node); end - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#72 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#72 def replacement(lhs, rhs); end - # source://rubocop/lib/rubocop/cop/style/case_equality.rb#100 + # source://rubocop//lib/rubocop/cop/style/case_equality.rb#100 def send_replacement(lhs, rhs); end end -# source://rubocop/lib/rubocop/cop/style/case_equality.rb#43 +# source://rubocop//lib/rubocop/cop/style/case_equality.rb#43 RuboCop::Cop::Style::CaseEquality::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/case_equality.rb#44 +# source://rubocop//lib/rubocop/cop/style/case_equality.rb#44 RuboCop::Cop::Style::CaseEquality::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies places where `if-elsif` constructions @@ -33778,91 +33925,91 @@ RuboCop::Cop::Style::CaseEquality::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # final_action # end # -# source://rubocop/lib/rubocop/cop/style/case_like_if.rb#50 +# source://rubocop//lib/rubocop/cop/style/case_like_if.rb#50 class RuboCop::Cop::Style::CaseLikeIf < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MinBranchesCount extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#57 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#57 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#81 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#81 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#228 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#228 def branch_conditions(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#246 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#246 def class_reference?(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#166 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#166 def collect_conditions(node, target, conditions); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#217 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#217 def condition_from_binary_op(lhs, rhs, target); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#201 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#201 def condition_from_equality_node(node, target); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#210 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#210 def condition_from_include_or_cover_node(node, target); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#206 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#206 def condition_from_match_node(node, target); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#185 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#185 def condition_from_send_node(node, target); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#237 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#237 def const_reference?(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#255 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#255 def correction_range(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#250 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#250 def deparenthesize(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#102 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#102 def find_target(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#136 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#136 def find_target_in_equality_node(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#148 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#148 def find_target_in_include_or_cover_node(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#154 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#154 def find_target_in_match_node(node); end - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#121 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#121 def find_target_in_send_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#271 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#271 def regexp_with_named_captures?(node); end # Named captures work with `=~` (if regexp is on lhs) and with `match` (both sides) # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#260 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#260 def regexp_with_working_captures?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/case_like_if.rb#96 + # source://rubocop//lib/rubocop/cop/style/case_like_if.rb#96 def should_check?(node); end end -# source://rubocop/lib/rubocop/cop/style/case_like_if.rb#55 +# source://rubocop//lib/rubocop/cop/style/case_like_if.rb#55 RuboCop::Cop::Style::CaseLikeIf::MSG = T.let(T.unsafe(nil), String) # Checks for uses of the character literal ?x. @@ -33884,33 +34031,33 @@ RuboCop::Cop::Style::CaseLikeIf::MSG = T.let(T.unsafe(nil), String) # ?\C-\M-d # "\C-\M-d" # same as above # -# source://rubocop/lib/rubocop/cop/style/character_literal.rb#24 +# source://rubocop//lib/rubocop/cop/style/character_literal.rb#24 class RuboCop::Cop::Style::CharacterLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::StringHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/character_literal.rb#35 + # source://rubocop//lib/rubocop/cop/style/character_literal.rb#35 def autocorrect(corrector, node); end # Dummy implementation of method in ConfigurableEnforcedStyle that is # called from StringHelp. # - # source://rubocop/lib/rubocop/cop/style/character_literal.rb#53 + # source://rubocop//lib/rubocop/cop/style/character_literal.rb#53 def correct_style_detected; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/character_literal.rb#30 + # source://rubocop//lib/rubocop/cop/style/character_literal.rb#30 def offense?(node); end # Dummy implementation of method in ConfigurableEnforcedStyle that is # called from StringHelp. # - # source://rubocop/lib/rubocop/cop/style/character_literal.rb#49 + # source://rubocop//lib/rubocop/cop/style/character_literal.rb#49 def opposite_style_detected; end end -# source://rubocop/lib/rubocop/cop/style/character_literal.rb#28 +# source://rubocop//lib/rubocop/cop/style/character_literal.rb#28 RuboCop::Cop::Style::CharacterLiteral::MSG = T.let(T.unsafe(nil), String) # Checks the style of children definitions at classes and @@ -33931,84 +34078,84 @@ RuboCop::Cop::Style::CharacterLiteral::MSG = T.let(T.unsafe(nil), String) # class Foo::Bar # end # -# source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#33 +# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#33 class RuboCop::Cop::Style::ClassAndModuleChildren < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#42 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#42 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#48 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#48 def on_module(node); end private - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#89 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#89 def add_trailing_end(corrector, node, padding); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#173 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#173 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#162 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#162 def check_compact_style(node, body); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#154 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#154 def check_nested_style(node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#144 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#144 def check_style(node, body); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#94 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#94 def compact_definition(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#115 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#115 def compact_identifier_name(node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#100 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#100 def compact_node(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#183 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#183 def compact_node_name?(node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#105 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#105 def compact_replacement(node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#140 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#140 def leading_spaces(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#179 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#179 def needs_compacting?(body); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#62 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#62 def nest_definition(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#54 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#54 def nest_or_compact(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#120 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#120 def remove_end(corrector, body); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#71 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#71 def replace_namespace_keyword(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#80 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#80 def split_on_double_colon(corrector, node, padding); end - # source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#128 + # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#128 def unindent(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#40 +# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#40 RuboCop::Cop::Style::ClassAndModuleChildren::COMPACT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/class_and_module_children.rb#39 +# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#39 RuboCop::Cop::Style::ClassAndModuleChildren::NESTED_MSG = T.let(T.unsafe(nil), String) # Enforces consistent use of `Object#is_a?` or `Object#kind_of?`. @@ -34030,25 +34177,25 @@ RuboCop::Cop::Style::ClassAndModuleChildren::NESTED_MSG = T.let(T.unsafe(nil), S # var.kind_of?(Time) # var.kind_of?(String) # -# source://rubocop/lib/rubocop/cop/style/class_check.rb#26 +# source://rubocop//lib/rubocop/cop/style/class_check.rb#26 class RuboCop::Cop::Style::ClassCheck < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/class_check.rb#45 + # source://rubocop//lib/rubocop/cop/style/class_check.rb#45 def message(node); end - # source://rubocop/lib/rubocop/cop/style/class_check.rb#33 + # source://rubocop//lib/rubocop/cop/style/class_check.rb#43 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/class_check.rb#33 + # source://rubocop//lib/rubocop/cop/style/class_check.rb#33 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/class_check.rb#30 +# source://rubocop//lib/rubocop/cop/style/class_check.rb#30 RuboCop::Cop::Style::ClassCheck::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/class_check.rb#31 +# source://rubocop//lib/rubocop/cop/style/class_check.rb#31 RuboCop::Cop::Style::ClassCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the use of `Object#instance_of?` instead of class comparison @@ -34089,53 +34236,53 @@ RuboCop::Cop::Style::ClassCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # self.class.eq(other.class) && name.eq(other.name) # end # -# source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#52 +# source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#52 class RuboCop::Cop::Style::ClassEqualityComparison < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#64 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#64 def class_comparison_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#70 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#70 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#92 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#92 def class_name(class_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#112 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#112 def class_name_method?(method_name); end - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#128 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#128 def offense_range(receiver_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#116 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#116 def require_cbase?(class_node); end - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#124 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#124 def trim_string_quotes(class_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#120 + # source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#120 def unable_to_determine_type?(class_node); end end -# source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#61 +# source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#61 RuboCop::Cop::Style::ClassEqualityComparison::CLASS_NAME_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#58 +# source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#58 RuboCop::Cop::Style::ClassEqualityComparison::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/class_equality_comparison.rb#60 +# source://rubocop//lib/rubocop/cop/style/class_equality_comparison.rb#60 RuboCop::Cop::Style::ClassEqualityComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of the class/module name instead of @@ -34156,23 +34303,23 @@ RuboCop::Cop::Style::ClassEqualityComparison::RESTRICT_ON_SEND = T.let(T.unsafe( # end # end # -# source://rubocop/lib/rubocop/cop/style/class_methods.rb#23 +# source://rubocop//lib/rubocop/cop/style/class_methods.rb#23 class RuboCop::Cop::Style::ClassMethods < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/class_methods.rb#28 + # source://rubocop//lib/rubocop/cop/style/class_methods.rb#28 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/class_methods.rb#28 + # source://rubocop//lib/rubocop/cop/style/class_methods.rb#37 def on_module(node); end private - # source://rubocop/lib/rubocop/cop/style/class_methods.rb#41 + # source://rubocop//lib/rubocop/cop/style/class_methods.rb#41 def check_defs(name, node); end end -# source://rubocop/lib/rubocop/cop/style/class_methods.rb#26 +# source://rubocop//lib/rubocop/cop/style/class_methods.rb#26 RuboCop::Cop::Style::ClassMethods::MSG = T.let(T.unsafe(nil), String) # Enforces using `def self.method_name` or `class << self` to define class methods. @@ -34229,7 +34376,7 @@ RuboCop::Cop::Style::ClassMethods::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#61 +# source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#61 class RuboCop::Cop::Style::ClassMethodsDefinitions < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::CommentsHelp @@ -34237,46 +34384,46 @@ class RuboCop::Cop::Style::ClassMethodsDefinitions < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#81 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#81 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#71 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#71 def on_sclass(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#95 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#95 def all_methods_public?(sclass_node); end - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#115 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#115 def autocorrect_sclass(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#102 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#102 def def_nodes(sclass_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#91 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#91 def def_self_style?; end - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#141 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#141 def extract_def_from_sclass(def_node, sclass_node); end - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#152 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#152 def indentation_diff(node1, node2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#137 + # source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#137 def sclass_only_has_methods?(node); end end -# source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#68 +# source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#68 RuboCop::Cop::Style::ClassMethodsDefinitions::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/class_methods_definitions.rb#69 +# source://rubocop//lib/rubocop/cop/style/class_methods_definitions.rb#69 RuboCop::Cop::Style::ClassMethodsDefinitions::MSG_SCLASS = T.let(T.unsafe(nil), String) # Checks for uses of class variables. Offenses @@ -34321,19 +34468,19 @@ RuboCop::Cop::Style::ClassMethodsDefinitions::MSG_SCLASS = T.let(T.unsafe(nil), # end # end # -# source://rubocop/lib/rubocop/cop/style/class_vars.rb#48 +# source://rubocop//lib/rubocop/cop/style/class_vars.rb#48 class RuboCop::Cop::Style::ClassVars < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/class_vars.rb#52 + # source://rubocop//lib/rubocop/cop/style/class_vars.rb#52 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/class_vars.rb#56 + # source://rubocop//lib/rubocop/cop/style/class_vars.rb#56 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/class_vars.rb#49 +# source://rubocop//lib/rubocop/cop/style/class_vars.rb#49 RuboCop::Cop::Style::ClassVars::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/class_vars.rb#50 +# source://rubocop//lib/rubocop/cop/style/class_vars.rb#50 RuboCop::Cop::Style::ClassVars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where custom logic on rejection nils from arrays @@ -34363,58 +34510,58 @@ RuboCop::Cop::Style::ClassVars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # params.reject(&:nil?) # -# source://rubocop/lib/rubocop/cop/style/collection_compact.rb#44 +# source://rubocop//lib/rubocop/cop/style/collection_compact.rb#44 class RuboCop::Cop::Style::CollectionCompact < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedReceivers include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#86 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#86 def grep_v_with_nil?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#90 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#101 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#90 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#90 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#65 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#65 def reject_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#58 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#58 def reject_method_with_block_pass?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#75 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#75 def select_method?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#129 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#129 def good_method_name(node); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#106 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#106 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#137 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#137 def range(begin_pos_node, end_pos_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/collection_compact.rb#123 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#123 def to_enum_method?(node); end end -# source://rubocop/lib/rubocop/cop/style/collection_compact.rb#53 +# source://rubocop//lib/rubocop/cop/style/collection_compact.rb#53 RuboCop::Cop::Style::CollectionCompact::FILTER_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/collection_compact.rb#50 +# source://rubocop//lib/rubocop/cop/style/collection_compact.rb#50 RuboCop::Cop::Style::CollectionCompact::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/collection_compact.rb#51 +# source://rubocop//lib/rubocop/cop/style/collection_compact.rb#51 RuboCop::Cop::Style::CollectionCompact::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/collection_compact.rb#52 +# source://rubocop//lib/rubocop/cop/style/collection_compact.rb#52 RuboCop::Cop::Style::CollectionCompact::TO_ENUM_METHODS = T.let(T.unsafe(nil), Array) # Enforces the use of consistent method names @@ -34449,41 +34596,41 @@ RuboCop::Cop::Style::CollectionCompact::TO_ENUM_METHODS = T.let(T.unsafe(nil), A # items.select # items.include? # -# source://rubocop/lib/rubocop/cop/style/collection_methods.rb#43 +# source://rubocop//lib/rubocop/cop/style/collection_methods.rb#43 class RuboCop::Cop::Style::CollectionMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::MethodPreference extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#49 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#49 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#49 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#53 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#55 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#55 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#63 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#63 def check_method_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#72 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#72 def implicit_block?(node); end - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#80 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#80 def message(node); end # Some enumerable methods accept a bare symbol (ie. _not_ Symbol#to_proc) instead # of a block. # - # source://rubocop/lib/rubocop/cop/style/collection_methods.rb#86 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#86 def methods_accepting_symbol; end end -# source://rubocop/lib/rubocop/cop/style/collection_methods.rb#47 +# source://rubocop//lib/rubocop/cop/style/collection_methods.rb#47 RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String) # Checks for methods invoked via the `::` operator instead @@ -34500,23 +34647,23 @@ RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String) # FileUtils.rmdir(dir) # Marshal.dump(obj) # -# source://rubocop/lib/rubocop/cop/style/colon_method_call.rb#20 +# source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#20 class RuboCop::Cop::Style::ColonMethodCall < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/colon_method_call.rb#26 + # source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#26 def java_type_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/colon_method_call.rb#35 + # source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#35 def on_send(node); end class << self - # source://rubocop/lib/rubocop/cop/style/colon_method_call.rb#31 + # source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#31 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/colon_method_call.rb#23 +# source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#23 RuboCop::Cop::Style::ColonMethodCall::MSG = T.let(T.unsafe(nil), String) # Checks for class methods that are defined using the `::` @@ -34535,15 +34682,15 @@ RuboCop::Cop::Style::ColonMethodCall::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/colon_method_definition.rb#22 +# source://rubocop//lib/rubocop/cop/style/colon_method_definition.rb#22 class RuboCop::Cop::Style::ColonMethodDefinition < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/colon_method_definition.rb#27 + # source://rubocop//lib/rubocop/cop/style/colon_method_definition.rb#27 def on_defs(node); end end -# source://rubocop/lib/rubocop/cop/style/colon_method_definition.rb#25 +# source://rubocop//lib/rubocop/cop/style/colon_method_definition.rb#25 RuboCop::Cop::Style::ColonMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Checks for multiple `defined?` calls joined by `&&` that can be combined @@ -34565,45 +34712,45 @@ RuboCop::Cop::Style::ColonMethodDefinition::MSG = T.let(T.unsafe(nil), String) # # good # defined?(foo.bar.baz) # -# source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#24 +# source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#24 class RuboCop::Cop::Style::CombinableDefined < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#31 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#31 def on_and(node); end private - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#55 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#55 def defined_calls(nodes); end # If the redundant `defined?` node is the LHS of an `and` node, # the term as well as the subsequent `&&`/`and` operator will be removed. # - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#85 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#85 def lhs_range_to_remove(term); end - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#62 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#62 def namespaces(nodes); end - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#72 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#72 def remove_term(corrector, term); end # If the redundant `defined?` node is the RHS of an `and` node, # the term as well as the preceding `&&`/`and` operator will be removed. # - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#100 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#100 def rhs_range_to_remove(term); end - # source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#49 + # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#49 def terms(node); end end -# source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#28 +# source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#28 RuboCop::Cop::Style::CombinableDefined::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/combinable_defined.rb#29 +# source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#29 RuboCop::Cop::Style::CombinableDefined::OPERATORS = T.let(T.unsafe(nil), Array) # Checks for places where multiple consecutive loops over the same data @@ -34658,44 +34805,44 @@ RuboCop::Cop::Style::CombinableDefined::OPERATORS = T.let(T.unsafe(nil), Array) # each_slice(3) { |slice| do_something(slice) } # end # -# source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#62 +# source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#62 class RuboCop::Cop::Style::CombinableLoops < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#68 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#68 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#84 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#84 def on_for(node); end - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#68 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#82 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#95 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#95 def collection_looping_method?(node); end - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#112 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#112 def combine_with_left_sibling(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#119 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#119 def correct_end_of_block(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#100 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#100 def same_collection_looping_block?(node, sibling); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#108 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#108 def same_collection_looping_for?(node, sibling); end end -# source://rubocop/lib/rubocop/cop/style/combinable_loops.rb#65 +# source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#65 RuboCop::Cop::Style::CombinableLoops::MSG = T.let(T.unsafe(nil), String) # Enforces using `` or %x around command literals. @@ -34767,75 +34914,75 @@ RuboCop::Cop::Style::CombinableLoops::MSG = T.let(T.unsafe(nil), String) # # good # `echo \`ls\`` # -# source://rubocop/lib/rubocop/cop/style/command_literal.rb#78 +# source://rubocop//lib/rubocop/cop/style/command_literal.rb#78 class RuboCop::Cop::Style::CommandLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#85 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#85 def on_xstr(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#146 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#146 def allow_inner_backticks?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#122 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#122 def allowed_backtick_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#131 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#131 def allowed_percent_x_literal?(node); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#109 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#109 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#159 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#159 def backtick_literal?(node); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#97 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#97 def check_backtick_literal(node, message); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#103 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#103 def check_percent_x_literal(node, message); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#167 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#167 def command_delimiter; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#150 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#150 def contains_backtick?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#142 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#142 def contains_disallowed_backtick?(node); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#171 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#171 def default_delimiter; end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#154 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#154 def node_body(node); end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#163 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#163 def preferred_delimiter; end - # source://rubocop/lib/rubocop/cop/style/command_literal.rb#175 + # source://rubocop//lib/rubocop/cop/style/command_literal.rb#175 def preferred_delimiters_config; end end -# source://rubocop/lib/rubocop/cop/style/command_literal.rb#82 +# source://rubocop//lib/rubocop/cop/style/command_literal.rb#82 RuboCop::Cop::Style::CommandLiteral::MSG_USE_BACKTICKS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/command_literal.rb#83 +# source://rubocop//lib/rubocop/cop/style/command_literal.rb#83 RuboCop::Cop::Style::CommandLiteral::MSG_USE_PERCENT_X = T.let(T.unsafe(nil), String) # Checks that comment annotation keywords are written according @@ -34893,51 +35040,51 @@ RuboCop::Cop::Style::CommandLiteral::MSG_USE_PERCENT_X = T.let(T.unsafe(nil), St # # good # # OPTIMIZE does not work # -# source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#61 +# source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#61 class RuboCop::Cop::Style::CommentAnnotation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#73 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#73 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#110 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#110 def annotation_range(annotation); end - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#114 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#114 def correct_offense(corrector, range, keyword); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#102 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#102 def first_comment_line?(comments, index); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#106 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#106 def inline_comment?(comment); end - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#124 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#124 def keywords; end - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#87 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#87 def register_offense(annotation); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#120 + # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#120 def requires_colon?; end end -# source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#71 +# source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#71 RuboCop::Cop::Style::CommentAnnotation::MISSING_NOTE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#65 +# source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#65 RuboCop::Cop::Style::CommentAnnotation::MSG_COLON_STYLE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/comment_annotation.rb#68 +# source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#68 RuboCop::Cop::Style::CommentAnnotation::MSG_SPACE_STYLE = T.let(T.unsafe(nil), String) # Checks for comments put on the same line as some keywords. @@ -34973,55 +35120,55 @@ RuboCop::Cop::Style::CommentAnnotation::MSG_SPACE_STYLE = T.let(T.unsafe(nil), S # y # end # -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#45 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#45 class RuboCop::Cop::Style::CommentedKeyword < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#63 + # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#63 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#86 + # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#86 def offensive?(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#98 + # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#98 def rbs_inline_annotation?(line, comment); end - # source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#73 + # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#73 def register_offense(comment, matched_keyword); end - # source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#94 + # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#94 def source_line(comment); end end -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#54 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#54 RuboCop::Cop::Style::CommentedKeyword::ALLOWED_COMMENTS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#55 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#55 RuboCop::Cop::Style::CommentedKeyword::ALLOWED_COMMENT_REGEXES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#51 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#51 RuboCop::Cop::Style::CommentedKeyword::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#52 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#52 RuboCop::Cop::Style::CommentedKeyword::KEYWORD_REGEXES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#61 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#61 RuboCop::Cop::Style::CommentedKeyword::METHOD_DEFINITION = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#49 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#49 RuboCop::Cop::Style::CommentedKeyword::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#58 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#58 RuboCop::Cop::Style::CommentedKeyword::REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/commented_keyword.rb#60 +# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#60 RuboCop::Cop::Style::CommentedKeyword::SUBCLASS_DEFINITION = T.let(T.unsafe(nil), Regexp) # Enforces the use of `Comparable#clamp` instead of comparison by minimum and maximum. @@ -35053,42 +35200,42 @@ RuboCop::Cop::Style::CommentedKeyword::SUBCLASS_DEFINITION = T.let(T.unsafe(nil) # # good # x.clamp(low, high) # -# source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#35 +# source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#35 class RuboCop::Cop::Style::ComparableClamp < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#61 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#61 def array_min_max?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#47 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#47 def if_elsif_else_condition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#78 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#78 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#100 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#100 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#108 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#108 def autocorrect(corrector, node, prefer); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#117 + # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#117 def min_condition?(if_condition, else_body); end end -# source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#42 +# source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#42 RuboCop::Cop::Style::ComparableClamp::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#43 +# source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#43 RuboCop::Cop::Style::ComparableClamp::MSG_MIN_MAX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/comparable_clamp.rb#44 +# source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#44 RuboCop::Cop::Style::ComparableClamp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the use of `Array#push(item)` instead of `Array#concat([item])` @@ -35106,37 +35253,37 @@ RuboCop::Cop::Style::ComparableClamp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # list.push(bar, baz) # list.push(qux, quux, corge) # -# source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#25 +# source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#25 class RuboCop::Cop::Style::ConcatArrayLiterals < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#34 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#66 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#34 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#34 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#70 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#70 def offense_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#87 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#87 def percent_literals_includes_only_basic_literals?(node); end - # source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#74 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#74 def preferred_method(node); end end -# source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#28 +# source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#28 RuboCop::Cop::Style::ConcatArrayLiterals::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#29 +# source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#29 RuboCop::Cop::Style::ConcatArrayLiterals::MSG_FOR_PERCENT_LITERALS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/concat_array_literals.rb#31 +# source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#31 RuboCop::Cop::Style::ConcatArrayLiterals::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for `if` and `case` statements where each branch is used for @@ -35232,7 +35379,7 @@ RuboCop::Cop::Style::ConcatArrayLiterals::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # bar = 2 # end # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#207 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#207 class RuboCop::Cop::Style::ConditionalAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::Style::ConditionalAssignmentHelper include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -35241,88 +35388,88 @@ class RuboCop::Cop::Style::ConditionalAssignment < ::RuboCop::Cop::Base # The shovel operator `<<` does not have its own type. It is a `send` # type. # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#224 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#224 def assignment_type?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#305 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#305 def candidate_condition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#260 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#260 def on_case(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#270 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#270 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#246 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#246 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_op_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#232 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#240 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#240 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#311 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#311 def allowed_single_line?(branches); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#384 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#384 def allowed_statements?(branches); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#307 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#307 def allowed_ternary?(assignment); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#315 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#315 def assignment_node(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#361 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#361 def assignment_types_match?(*nodes); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#376 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#376 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#300 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#300 def candidate_node?(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#282 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#282 def check_assignment_to_condition(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#367 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#367 def check_node(node, branches); end # If `Layout/LineLength` is enabled, we do not want to introduce an @@ -35335,86 +35482,86 @@ class RuboCop::Cop::Style::ConditionalAssignment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#400 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#400 def correction_exceeds_line_limit?(node, branches); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#431 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#431 def include_ternary?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#354 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#354 def lhs_all_match?(branches); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#419 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#419 def line_length_cop_enabled?; end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#412 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#412 def longest_line(node, assignment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#408 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#408 def longest_line_exceeds_line_limit?(node, assignment); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#423 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#423 def max_line_length; end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#338 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#338 def move_assignment_inside_condition(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#328 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#328 def move_assignment_outside_condition(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#427 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#427 def single_line_conditions_only?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#350 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#350 def ternary_condition?(node); end end -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#215 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#215 RuboCop::Cop::Style::ConditionalAssignment::ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#213 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#213 RuboCop::Cop::Style::ConditionalAssignment::ASSIGN_TO_CONDITION_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#217 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#217 RuboCop::Cop::Style::ConditionalAssignment::ENABLED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#216 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#216 RuboCop::Cop::Style::ConditionalAssignment::LINE_LENGTH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#218 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#218 RuboCop::Cop::Style::ConditionalAssignment::MAX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#212 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#212 RuboCop::Cop::Style::ConditionalAssignment::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#219 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#219 RuboCop::Cop::Style::ConditionalAssignment::SINGLE_LINE_CONDITIONS_ONLY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#214 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#214 RuboCop::Cop::Style::ConditionalAssignment::VARIABLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) # Helper module to provide common methods to classes needed for the # ConditionalAssignment Cop. # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#8 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#8 module RuboCop::Cop::Style::ConditionalAssignmentHelper extend ::RuboCop::AST::NodePattern::Macros # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#60 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#60 def end_with_eq?(sym); end # `elsif` branches show up in the `node` as an `else`. We need @@ -35422,79 +35569,79 @@ module RuboCop::Cop::Style::ConditionalAssignmentHelper # but the last `node` an `elsif` branch and consider the last `node` # the actual `else` branch. # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#20 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#20 def expand_elses(branch); end # `when` nodes contain the entire branch including the condition. # We only need the contents of the branch, not the condition. # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#28 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#28 def expand_when_branches(when_branches); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#51 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#51 def indent(cop, source); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#36 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#36 def lhs(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#32 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#32 def tail(branch); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#106 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#106 def assignment_rhs_exist?(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#66 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#66 def expand_elsif(node, elsif_branches = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#92 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#92 def lhs_for_casgn(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#79 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#79 def lhs_for_send(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#102 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#102 def setter_method?(method_name); end end -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#13 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#13 RuboCop::Cop::Style::ConditionalAssignmentHelper::ALIGN_WITH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#12 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#12 RuboCop::Cop::Style::ConditionalAssignmentHelper::END_ALIGNMENT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#11 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#11 RuboCop::Cop::Style::ConditionalAssignmentHelper::EQUAL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#14 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#14 RuboCop::Cop::Style::ConditionalAssignmentHelper::KEYWORD = T.let(T.unsafe(nil), String) # Helper module to provide common methods to ConditionalAssignment # correctors # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#438 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#438 module RuboCop::Cop::Style::ConditionalCorrectorHelper - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#459 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#459 def assignment(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#488 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#488 def correct_branches(corrector, branches); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#465 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#465 def correct_if_branches(corrector, cop, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#439 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#439 def remove_whitespace_in_branches(corrector, branch, condition, column); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#475 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#475 def replace_branch_assignment(corrector, branch); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#452 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#452 def white_space_range(node, column); end end @@ -35537,92 +35684,92 @@ end # MyClass = Struct.new() # end # -# source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#47 +# source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#47 class RuboCop::Cop::Style::ConstantVisibility < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#51 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#51 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#87 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#87 def visibility_declaration_for?(param0 = T.unsafe(nil), param1); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#69 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#69 def class_or_module_scope?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#61 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#61 def ignore_modules?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#91 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#91 def match_name?(name, constant_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#65 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#65 def module?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#80 + # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#80 def visibility_declaration?(node); end end -# source://rubocop/lib/rubocop/cop/style/constant_visibility.rb#48 +# source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#48 RuboCop::Cop::Style::ConstantVisibility::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/copyright.rb#21 +# source://rubocop//lib/rubocop/cop/style/copyright.rb#21 class RuboCop::Cop::Style::Copyright < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/copyright.rb#28 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#28 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/copyright.rb#45 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#45 def autocorrect(corrector); end - # source://rubocop/lib/rubocop/cop/style/copyright.rb#56 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#56 def autocorrect_notice; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/copyright.rb#86 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#86 def encoding_token?(processed_source, token_index); end - # source://rubocop/lib/rubocop/cop/style/copyright.rb#72 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#72 def insert_notice_before(processed_source); end - # source://rubocop/lib/rubocop/cop/style/copyright.rb#52 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#52 def notice; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/copyright.rb#93 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#93 def notice_found?(processed_source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/copyright.rb#79 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#79 def shebang_token?(processed_source, token_index); end # @raise [Warning] # - # source://rubocop/lib/rubocop/cop/style/copyright.rb#60 + # source://rubocop//lib/rubocop/cop/style/copyright.rb#60 def verify_autocorrect_notice!; end end -# source://rubocop/lib/rubocop/cop/style/copyright.rb#26 +# source://rubocop//lib/rubocop/cop/style/copyright.rb#26 RuboCop::Cop::Style::Copyright::AUTOCORRECT_EMPTY_WARNING = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/copyright.rb#25 +# source://rubocop//lib/rubocop/cop/style/copyright.rb#25 RuboCop::Cop::Style::Copyright::MSG = T.let(T.unsafe(nil), String) # Checks for inheritance from `Data.define` to avoid creating the anonymous parent class. @@ -35642,28 +35789,28 @@ RuboCop::Cop::Style::Copyright::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#26 +# source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#26 class RuboCop::Cop::Style::DataInheritance < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#48 + # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#48 def data_define?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#36 + # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#36 def on_class(node); end private - # source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#55 + # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#55 def correct_parent(parent, corrector); end - # source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#65 + # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#65 def range_for_empty_class_body(class_node, data_define); end end -# source://rubocop/lib/rubocop/cop/style/data_inheritance.rb#31 +# source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#31 RuboCop::Cop::Style::DataInheritance::MSG = T.let(T.unsafe(nil), String) # Checks for consistent usage of the `DateTime` class over the @@ -35703,40 +35850,40 @@ RuboCop::Cop::Style::DataInheritance::MSG = T.let(T.unsafe(nil), String) # # good # something.to_time # -# source://rubocop/lib/rubocop/cop/style/date_time.rb#49 +# source://rubocop//lib/rubocop/cop/style/date_time.rb#49 class RuboCop::Cop::Style::DateTime < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/date_time.rb#56 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#56 def date_time?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/date_time.rb#61 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#61 def historic_date?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/date_time.rb#70 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#78 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/date_time.rb#70 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#70 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/date_time.rb#66 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#66 def to_datetime?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/date_time.rb#86 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#86 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/date_time.rb#82 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#82 def disallow_coercion?; end end -# source://rubocop/lib/rubocop/cop/style/date_time.rb#52 +# source://rubocop//lib/rubocop/cop/style/date_time.rb#52 RuboCop::Cop::Style::DateTime::CLASS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/date_time.rb#53 +# source://rubocop//lib/rubocop/cop/style/date_time.rb#53 RuboCop::Cop::Style::DateTime::COERCION_MSG = T.let(T.unsafe(nil), String) # Checks for parentheses in the definition of a method, @@ -35774,18 +35921,18 @@ RuboCop::Cop::Style::DateTime::COERCION_MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/style/def_with_parentheses.rb#40 +# source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#40 class RuboCop::Cop::Style::DefWithParentheses < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/def_with_parentheses.rb#45 + # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#45 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/def_with_parentheses.rb#45 + # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#53 def on_defs(node); end end -# source://rubocop/lib/rubocop/cop/style/def_with_parentheses.rb#43 +# source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#43 RuboCop::Cop::Style::DefWithParentheses::MSG = T.let(T.unsafe(nil), String) # Check for chained `dig` calls that can be collapsed into a single `dig`. @@ -35802,38 +35949,38 @@ RuboCop::Cop::Style::DefWithParentheses::MSG = T.let(T.unsafe(nil), String) # # good - `dig`s cannot be combined # x.dig(:foo).bar.dig(:baz) # -# source://rubocop/lib/rubocop/cop/style/dig_chain.rb#25 +# source://rubocop//lib/rubocop/cop/style/dig_chain.rb#25 class RuboCop::Cop::Style::DigChain < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::DigHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/dig_chain.rb#33 + # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#44 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/dig_chain.rb#33 + # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#33 def on_send(node); end private # Walk up the method chain while the receiver is `dig` with arguments. # - # source://rubocop/lib/rubocop/cop/style/dig_chain.rb#49 + # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#49 def inspect_chain(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/dig_chain.rb#64 + # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#64 def invalid_arguments?(arguments); end - # source://rubocop/lib/rubocop/cop/style/dig_chain.rb#74 + # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#74 def register_offense(node, range, arguments); end end -# source://rubocop/lib/rubocop/cop/style/dig_chain.rb#30 +# source://rubocop//lib/rubocop/cop/style/dig_chain.rb#30 RuboCop::Cop::Style::DigChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/dig_chain.rb#31 +# source://rubocop//lib/rubocop/cop/style/dig_chain.rb#31 RuboCop::Cop::Style::DigChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where the `#\_\_dir\_\_` method can replace more @@ -35850,29 +35997,29 @@ RuboCop::Cop::Style::DigChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # path = __dir__ # -# source://rubocop/lib/rubocop/cop/style/dir.rb#19 +# source://rubocop//lib/rubocop/cop/style/dir.rb#19 class RuboCop::Cop::Style::Dir < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/dir.rb#29 + # source://rubocop//lib/rubocop/cop/style/dir.rb#29 def dir_replacement?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/dir.rb#34 + # source://rubocop//lib/rubocop/cop/style/dir.rb#34 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/dir.rb#44 + # source://rubocop//lib/rubocop/cop/style/dir.rb#44 def file_keyword?(node); end end -# source://rubocop/lib/rubocop/cop/style/dir.rb#25 +# source://rubocop//lib/rubocop/cop/style/dir.rb#25 RuboCop::Cop::Style::Dir::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/dir.rb#26 +# source://rubocop//lib/rubocop/cop/style/dir.rb#26 RuboCop::Cop::Style::Dir::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Prefer to use `Dir.empty?('path/to/dir')` when checking if a directory is empty. @@ -35887,27 +36034,27 @@ RuboCop::Cop::Style::Dir::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # Dir.empty?('path/to/dir') # -# source://rubocop/lib/rubocop/cop/style/dir_empty.rb#18 +# source://rubocop//lib/rubocop/cop/style/dir_empty.rb#18 class RuboCop::Cop::Style::DirEmpty < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/dir_empty.rb#28 + # source://rubocop//lib/rubocop/cop/style/dir_empty.rb#28 def offensive?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/dir_empty.rb#37 + # source://rubocop//lib/rubocop/cop/style/dir_empty.rb#37 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/dir_empty.rb#48 + # source://rubocop//lib/rubocop/cop/style/dir_empty.rb#48 def bang(node); end end -# source://rubocop/lib/rubocop/cop/style/dir_empty.rb#22 +# source://rubocop//lib/rubocop/cop/style/dir_empty.rb#22 RuboCop::Cop::Style::DirEmpty::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/dir_empty.rb#23 +# source://rubocop//lib/rubocop/cop/style/dir_empty.rb#23 RuboCop::Cop::Style::DirEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Detects comments to enable/disable RuboCop. @@ -35933,34 +36080,34 @@ RuboCop::Cop::Style::DirEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # end # # rubocop:enable Metrics/AbcSize # -# source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#33 +# source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#33 class RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#40 + # source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#40 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#77 + # source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#77 def allowed_cops; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#81 + # source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#81 def any_cops_allowed?; end - # source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#72 + # source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#72 def directive_cops(comment); end - # source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#53 + # source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#53 def register_offense(comment, directive_cops, disallowed_cops); end end -# source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#37 +# source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#37 RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#38 +# source://rubocop//lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb#38 RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG_FOR_COPS = T.let(T.unsafe(nil), String) # When using `class_eval` (or other `eval`) with string interpolation, @@ -36035,54 +36182,54 @@ RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG_FOR_COPS = T.let( # # good - with inline comment or replace it with block comment using heredoc # class_eval("def #{unsafe_method}!(*params); end # def capitalize!(*params); end") # -# source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#77 +# source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#77 class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#84 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#84 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#107 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#107 def comment_block_docs?(arg_node); end - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#147 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#147 def comment_regexp(arg_node); end - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#126 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#126 def heredoc_comment_blocks(heredoc_body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#100 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#100 def inline_comment_docs?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#96 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#96 def interpolated?(arg_node); end - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#136 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#136 def merge_adjacent_comments(line, index, hash); end - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#117 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#117 def preceding_comment_blocks(node); end - # source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#156 + # source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#156 def source_to_regexp(source); end end -# source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#78 +# source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#78 RuboCop::Cop::Style::DocumentDynamicEvalDefinition::BLOCK_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#79 +# source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#79 RuboCop::Cop::Style::DocumentDynamicEvalDefinition::COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#80 +# source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#80 RuboCop::Cop::Style::DocumentDynamicEvalDefinition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/document_dynamic_eval_definition.rb#82 +# source://rubocop//lib/rubocop/cop/style/document_dynamic_eval_definition.rb#82 RuboCop::Cop::Style::DocumentDynamicEvalDefinition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for missing top-level documentation of classes and @@ -36149,71 +36296,71 @@ RuboCop::Cop::Style::DocumentDynamicEvalDefinition::RESTRICT_ON_SEND = T.let(T.u # end # end # -# source://rubocop/lib/rubocop/cop/style/documentation.rb#72 +# source://rubocop//lib/rubocop/cop/style/documentation.rb#72 class RuboCop::Cop::Style::Documentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::DocumentationComment include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/style/documentation.rb#79 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#79 def constant_definition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#85 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#85 def constant_visibility_declaration?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#90 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#90 def include_statement?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#94 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#94 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#100 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#100 def on_module(node); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#82 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#82 def outer_module(param0); end private - # source://rubocop/lib/rubocop/cop/style/documentation.rb#174 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#174 def allowed_constants; end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#106 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#106 def check(node, body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#147 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#147 def compact_namespace?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#143 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#143 def constant_allowed?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#139 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#139 def constant_declaration?(node); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#178 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#178 def identifier(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#123 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#123 def include_statement_only?(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#129 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#129 def namespace?(node); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#170 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#170 def nodoc(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#166 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#166 def nodoc?(comment, require_all: T.unsafe(nil)); end # Note: How end-of-line comments are associated with code changed in @@ -36221,19 +36368,19 @@ class RuboCop::Cop::Style::Documentation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#156 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#156 def nodoc_comment?(node, require_all: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation.rb#118 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#118 def nodoc_self_or_outer_module?(node); end - # source://rubocop/lib/rubocop/cop/style/documentation.rb#186 + # source://rubocop//lib/rubocop/cop/style/documentation.rb#186 def qualify_const(node); end end -# source://rubocop/lib/rubocop/cop/style/documentation.rb#76 +# source://rubocop//lib/rubocop/cop/style/documentation.rb#76 RuboCop::Cop::Style::Documentation::MSG = T.let(T.unsafe(nil), String) # Checks for missing documentation comment for public methods. @@ -36336,41 +36483,41 @@ RuboCop::Cop::Style::Documentation::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/documentation_method.rb#109 +# source://rubocop//lib/rubocop/cop/style/documentation_method.rb#109 class RuboCop::Cop::Style::DocumentationMethod < ::RuboCop::Cop::Base include ::RuboCop::Cop::DocumentationComment include ::RuboCop::Cop::VisibilityHelp include ::RuboCop::Cop::DefNode - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#116 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#116 def modifier_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#120 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#120 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#120 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#126 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#146 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#146 def allowed_methods; end - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#130 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#130 def check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#142 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#142 def method_allowed?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/documentation_method.rb#138 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#138 def require_for_non_public_methods?; end end -# source://rubocop/lib/rubocop/cop/style/documentation_method.rb#113 +# source://rubocop//lib/rubocop/cop/style/documentation_method.rb#113 RuboCop::Cop::Style::DocumentationMethod::MSG = T.let(T.unsafe(nil), String) # Detects double disable comments on one line. This is mostly to catch @@ -36391,15 +36538,15 @@ RuboCop::Cop::Style::DocumentationMethod::MSG = T.let(T.unsafe(nil), String) # def f # rubocop:disable Style/For, Metrics/AbcSize # end # -# source://rubocop/lib/rubocop/cop/style/double_cop_disable_directive.rb#27 +# source://rubocop//lib/rubocop/cop/style/double_cop_disable_directive.rb#27 class RuboCop::Cop::Style::DoubleCopDisableDirective < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/double_cop_disable_directive.rb#34 + # source://rubocop//lib/rubocop/cop/style/double_cop_disable_directive.rb#34 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/style/double_cop_disable_directive.rb#32 +# source://rubocop//lib/rubocop/cop/style/double_cop_disable_directive.rb#32 RuboCop::Cop::Style::DoubleCopDisableDirective::MSG = T.let(T.unsafe(nil), String) # Checks for uses of double negation (`!!`) to convert something to a boolean value. @@ -36446,56 +36593,56 @@ RuboCop::Cop::Style::DoubleCopDisableDirective::MSG = T.let(T.unsafe(nil), Strin # !!return_value # end # -# source://rubocop/lib/rubocop/cop/style/double_negation.rb#61 +# source://rubocop//lib/rubocop/cop/style/double_negation.rb#61 class RuboCop::Cop::Style::DoubleNegation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#69 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#69 def double_negative?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#71 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#71 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#84 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#84 def allowed_in_returns?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#111 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#111 def define_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#138 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#138 def double_negative_condition_return_value?(node, last_child, conditional_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#88 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#88 def end_of_method_definition?(node); end - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#120 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#120 def find_conditional_node_from_ascendant(node); end - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#103 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#103 def find_def_node_from_ascendant(node); end - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#127 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#127 def find_last_child(node); end - # source://rubocop/lib/rubocop/cop/style/double_negation.rb#147 + # source://rubocop//lib/rubocop/cop/style/double_negation.rb#147 def find_parent_not_enumerable(node); end end -# source://rubocop/lib/rubocop/cop/style/double_negation.rb#65 +# source://rubocop//lib/rubocop/cop/style/double_negation.rb#65 RuboCop::Cop::Style::DoubleNegation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/double_negation.rb#66 +# source://rubocop//lib/rubocop/cop/style/double_negation.rb#66 RuboCop::Cop::Style::DoubleNegation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for loops which iterate a constant number of times, @@ -36517,31 +36664,31 @@ RuboCop::Cop::Style::DoubleNegation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good # 10.times {} # -# source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#24 +# source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#24 class RuboCop::Cop::Style::EachForSimpleLoop < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#52 + # source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#52 def each_range(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#63 + # source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#63 def each_range_with_zero_origin?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#74 + # source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#74 def each_range_without_block_argument?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#29 + # source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#29 def on_block(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#45 + # source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#45 def offending?(node); end end -# source://rubocop/lib/rubocop/cop/style/each_for_simple_loop.rb#27 +# source://rubocop//lib/rubocop/cop/style/each_for_simple_loop.rb#27 RuboCop::Cop::Style::EachForSimpleLoop::MSG = T.let(T.unsafe(nil), String) # Looks for inject / reduce calls where the passed in object is @@ -36558,21 +36705,21 @@ RuboCop::Cop::Style::EachForSimpleLoop::MSG = T.let(T.unsafe(nil), String) # # good # [1, 2].each_with_object({}) { |e, a| a[e] = e } # -# source://rubocop/lib/rubocop/cop/style/each_with_object.rb#19 +# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#19 class RuboCop::Cop::Style::EachWithObject < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#60 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#60 def each_with_object_block_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#65 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#65 def each_with_object_numblock_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#26 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#26 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#43 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#43 def on_numblock(node); end private @@ -36582,41 +36729,41 @@ class RuboCop::Cop::Style::EachWithObject < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#102 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#102 def accumulator_param_assigned_to?(body, args); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#69 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#69 def autocorrect_block(corrector, node, return_value); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#84 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#84 def autocorrect_numblock(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#121 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#121 def first_argument_returned?(args, return_value); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#114 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#114 def return_value(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#129 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#129 def return_value_occupies_whole_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#96 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#96 def simple_method_arg?(method_arg); end - # source://rubocop/lib/rubocop/cop/style/each_with_object.rb#133 + # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#133 def whole_line_expression(node); end end -# source://rubocop/lib/rubocop/cop/style/each_with_object.rb#24 +# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#24 RuboCop::Cop::Style::EachWithObject::METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/each_with_object.rb#23 +# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#23 RuboCop::Cop::Style::EachWithObject::MSG = T.let(T.unsafe(nil), String) # Checks for pipes for empty block parameters. Pipes for empty @@ -36638,22 +36785,22 @@ RuboCop::Cop::Style::EachWithObject::MSG = T.let(T.unsafe(nil), String) # # good # a { do_something } # -# source://rubocop/lib/rubocop/cop/style/empty_block_parameter.rb#24 +# source://rubocop//lib/rubocop/cop/style/empty_block_parameter.rb#24 class RuboCop::Cop::Style::EmptyBlockParameter < ::RuboCop::Cop::Base include ::RuboCop::Cop::EmptyParameter include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_block_parameter.rb#31 + # source://rubocop//lib/rubocop/cop/style/empty_block_parameter.rb#31 def on_block(node); end private - # source://rubocop/lib/rubocop/cop/style/empty_block_parameter.rb#38 + # source://rubocop//lib/rubocop/cop/style/empty_block_parameter.rb#38 def autocorrect(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/empty_block_parameter.rb#29 +# source://rubocop//lib/rubocop/cop/style/empty_block_parameter.rb#29 RuboCop::Cop::Style::EmptyBlockParameter::MSG = T.let(T.unsafe(nil), String) # Checks for case statements with an empty condition. @@ -36689,36 +36836,36 @@ RuboCop::Cop::Style::EmptyBlockParameter::MSG = T.let(T.unsafe(nil), String) # puts 'more' # end # -# source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#38 +# source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#38 class RuboCop::Cop::Style::EmptyCaseCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#46 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#46 def on_case(case_node); end private - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#63 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#63 def autocorrect(corrector, case_node); end - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#70 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#70 def correct_case_when(corrector, case_node, when_nodes); end - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#82 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#82 def correct_when_conditions(corrector, when_nodes); end - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#97 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#97 def keep_first_when_comment(case_range, corrector); end - # source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#107 + # source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#107 def replace_then_with_line_break(corrector, conditions, when_node); end end -# source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#42 +# source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#42 RuboCop::Cop::Style::EmptyCaseCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/empty_case_condition.rb#43 +# source://rubocop//lib/rubocop/cop/style/empty_case_condition.rb#43 RuboCop::Cop::Style::EmptyCaseCondition::NOT_SUPPORTED_PARENT_TYPES = T.let(T.unsafe(nil), Array) # Checks for empty else-clauses, possibly including comments and/or an @@ -36838,67 +36985,67 @@ RuboCop::Cop::Style::EmptyCaseCondition::NOT_SUPPORTED_PARENT_TYPES = T.let(T.un # # something comment # end # -# source://rubocop/lib/rubocop/cop/style/empty_else.rb#127 +# source://rubocop//lib/rubocop/cop/style/empty_else.rb#127 class RuboCop::Cop::Style::EmptyElse < ::RuboCop::Cop::Base include ::RuboCop::Cop::OnNormalIfUnless include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#141 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#141 def on_case(node); end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#137 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#137 def on_normal_if_unless(node); end private - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#174 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#174 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#196 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#196 def autocorrect_forbidden?(type); end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#189 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#189 def base_node(node); end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#147 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#147 def check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#182 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#182 def comment_in_else?(node); end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#162 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#162 def empty_check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#158 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#158 def empty_style?; end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#200 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#200 def missing_else_style; end - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#168 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#168 def nil_check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_else.rb#154 + # source://rubocop//lib/rubocop/cop/style/empty_else.rb#154 def nil_style?; end end -# source://rubocop/lib/rubocop/cop/style/empty_else.rb#135 +# source://rubocop//lib/rubocop/cop/style/empty_else.rb#135 RuboCop::Cop::Style::EmptyElse::EMPTY_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/empty_else.rb#133 +# source://rubocop//lib/rubocop/cop/style/empty_else.rb#133 RuboCop::Cop::Style::EmptyElse::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/empty_else.rb#134 +# source://rubocop//lib/rubocop/cop/style/empty_else.rb#134 RuboCop::Cop::Style::EmptyElse::NIL_STYLES = T.let(T.unsafe(nil), Array) # Checks for using empty heredoc to reduce redundancy. @@ -36931,18 +37078,18 @@ RuboCop::Cop::Style::EmptyElse::NIL_STYLES = T.let(T.unsafe(nil), Array) # # good # do_something('') # -# source://rubocop/lib/rubocop/cop/style/empty_heredoc.rb#36 +# source://rubocop//lib/rubocop/cop/style/empty_heredoc.rb#36 class RuboCop::Cop::Style::EmptyHeredoc < ::RuboCop::Cop::Base include ::RuboCop::Cop::Heredoc include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::StringLiteralsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_heredoc.rb#44 + # source://rubocop//lib/rubocop/cop/style/empty_heredoc.rb#44 def on_heredoc(node); end end -# source://rubocop/lib/rubocop/cop/style/empty_heredoc.rb#42 +# source://rubocop//lib/rubocop/cop/style/empty_heredoc.rb#42 RuboCop::Cop::Style::EmptyHeredoc::MSG = T.let(T.unsafe(nil), String) # Checks for parentheses for empty lambda parameters. Parentheses @@ -36959,22 +37106,22 @@ RuboCop::Cop::Style::EmptyHeredoc::MSG = T.let(T.unsafe(nil), String) # # good # -> (arg) { do_something(arg) } # -# source://rubocop/lib/rubocop/cop/style/empty_lambda_parameter.rb#19 +# source://rubocop//lib/rubocop/cop/style/empty_lambda_parameter.rb#19 class RuboCop::Cop::Style::EmptyLambdaParameter < ::RuboCop::Cop::Base include ::RuboCop::Cop::EmptyParameter include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_lambda_parameter.rb#26 + # source://rubocop//lib/rubocop/cop/style/empty_lambda_parameter.rb#26 def on_block(node); end private - # source://rubocop/lib/rubocop/cop/style/empty_lambda_parameter.rb#35 + # source://rubocop//lib/rubocop/cop/style/empty_lambda_parameter.rb#35 def autocorrect(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/empty_lambda_parameter.rb#24 +# source://rubocop//lib/rubocop/cop/style/empty_lambda_parameter.rb#24 RuboCop::Cop::Style::EmptyLambdaParameter::MSG = T.let(T.unsafe(nil), String) # Checks for the use of a method, the result of which @@ -36993,79 +37140,79 @@ RuboCop::Cop::Style::EmptyLambdaParameter::MSG = T.let(T.unsafe(nil), String) # h = {} # s = '' # -# source://rubocop/lib/rubocop/cop/style/empty_literal.rb#21 +# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#21 class RuboCop::Cop::Style::EmptyLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::StringLiteralsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#34 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#34 def array_node(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#43 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#43 def array_with_block(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#54 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#54 def array_with_index(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#37 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#37 def hash_node(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#46 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#46 def hash_with_block(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#62 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#62 def hash_with_index(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#69 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#69 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#40 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#40 def str_node(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#118 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#118 def correction(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#89 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#89 def first_argument_unparenthesized?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#136 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#136 def frozen_strings?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#109 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#109 def offense_array_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#113 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#113 def offense_hash_node?(node); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#79 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#79 def offense_message(node); end - # source://rubocop/lib/rubocop/cop/style/empty_literal.rb#96 + # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#96 def replacement_range(node); end end -# source://rubocop/lib/rubocop/cop/style/empty_literal.rb#27 +# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#27 RuboCop::Cop::Style::EmptyLiteral::ARR_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/empty_literal.rb#28 +# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#28 RuboCop::Cop::Style::EmptyLiteral::HASH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/empty_literal.rb#31 +# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#31 RuboCop::Cop::Style::EmptyLiteral::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/empty_literal.rb#29 +# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#29 RuboCop::Cop::Style::EmptyLiteral::STR_MSG = T.let(T.unsafe(nil), String) # Checks for the formatting of empty method definitions. @@ -37109,61 +37256,61 @@ RuboCop::Cop::Style::EmptyLiteral::STR_MSG = T.let(T.unsafe(nil), String) # def self.foo(bar) # end # -# source://rubocop/lib/rubocop/cop/style/empty_method.rb#47 +# source://rubocop//lib/rubocop/cop/style/empty_method.rb#47 class RuboCop::Cop::Style::EmptyMethod < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#54 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#54 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#54 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#65 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#95 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#95 def compact?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#103 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#103 def compact_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#73 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#73 def correct_style?(node); end - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#77 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#77 def corrected(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#99 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#99 def expanded?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#107 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#107 def expanded_style?; end - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#89 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#89 def joint(node); end - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#111 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#111 def max_line_length; end - # source://rubocop/lib/rubocop/cop/style/empty_method.rb#69 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#69 def message(_range); end end -# source://rubocop/lib/rubocop/cop/style/empty_method.rb#51 +# source://rubocop//lib/rubocop/cop/style/empty_method.rb#51 RuboCop::Cop::Style::EmptyMethod::MSG_COMPACT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/empty_method.rb#52 +# source://rubocop//lib/rubocop/cop/style/empty_method.rb#52 RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String) # Checks ensures source files have no utf-8 encoding comments. @@ -37174,35 +37321,35 @@ RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String) # # coding: UTF-8 # # -*- coding: UTF-8 -*- # -# source://rubocop/lib/rubocop/cop/style/encoding.rb#12 +# source://rubocop//lib/rubocop/cop/style/encoding.rb#12 class RuboCop::Cop::Style::Encoding < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/encoding.rb#20 + # source://rubocop//lib/rubocop/cop/style/encoding.rb#20 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/encoding.rb#32 + # source://rubocop//lib/rubocop/cop/style/encoding.rb#32 def comments; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/encoding.rb#43 + # source://rubocop//lib/rubocop/cop/style/encoding.rb#43 def offense?(comment); end - # source://rubocop/lib/rubocop/cop/style/encoding.rb#47 + # source://rubocop//lib/rubocop/cop/style/encoding.rb#47 def register_offense(line_number, comment); end end -# source://rubocop/lib/rubocop/cop/style/encoding.rb#17 +# source://rubocop//lib/rubocop/cop/style/encoding.rb#17 RuboCop::Cop::Style::Encoding::ENCODING_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/encoding.rb#16 +# source://rubocop//lib/rubocop/cop/style/encoding.rb#16 RuboCop::Cop::Style::Encoding::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/encoding.rb#18 +# source://rubocop//lib/rubocop/cop/style/encoding.rb#18 RuboCop::Cop::Style::Encoding::SHEBANG = T.let(T.unsafe(nil), String) # Checks for END blocks. @@ -37214,15 +37361,15 @@ RuboCop::Cop::Style::Encoding::SHEBANG = T.let(T.unsafe(nil), String) # # good # at_exit { puts 'Goodbye!' } # -# source://rubocop/lib/rubocop/cop/style/end_block.rb#15 +# source://rubocop//lib/rubocop/cop/style/end_block.rb#15 class RuboCop::Cop::Style::EndBlock < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/end_block.rb#20 + # source://rubocop//lib/rubocop/cop/style/end_block.rb#20 def on_postexe(node); end end -# source://rubocop/lib/rubocop/cop/style/end_block.rb#18 +# source://rubocop//lib/rubocop/cop/style/end_block.rb#18 RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # Checks for endless methods. @@ -37266,32 +37413,32 @@ RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # .bar # .baz # -# source://rubocop/lib/rubocop/cop/style/endless_method.rb#49 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#49 class RuboCop::Cop::Style::EndlessMethod < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::EndlessMethodRewriter extend ::RuboCop::Cop::TargetRubyVersion extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/endless_method.rb#61 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#61 def on_def(node); end private - # source://rubocop/lib/rubocop/cop/style/endless_method.rb#71 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#71 def handle_allow_style(node); end - # source://rubocop/lib/rubocop/cop/style/endless_method.rb#80 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#80 def handle_disallow_style(node); end end -# source://rubocop/lib/rubocop/cop/style/endless_method.rb#57 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#57 RuboCop::Cop::Style::EndlessMethod::CORRECTION_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/endless_method.rb#58 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#58 RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/endless_method.rb#59 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#59 RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String) # Checks for consistent usage of `ENV['HOME']`. If `nil` is used as @@ -37309,21 +37456,21 @@ RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String # # good # ENV.fetch('HOME', default) # -# source://rubocop/lib/rubocop/cop/style/env_home.rb#31 +# source://rubocop//lib/rubocop/cop/style/env_home.rb#31 class RuboCop::Cop::Style::EnvHome < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/env_home.rb#38 + # source://rubocop//lib/rubocop/cop/style/env_home.rb#38 def env_home?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/env_home.rb#45 + # source://rubocop//lib/rubocop/cop/style/env_home.rb#45 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/env_home.rb#34 +# source://rubocop//lib/rubocop/cop/style/env_home.rb#34 RuboCop::Cop::Style::EnvHome::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/env_home.rb#35 +# source://rubocop//lib/rubocop/cop/style/env_home.rb#35 RuboCop::Cop::Style::EnvHome::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Ensures that eval methods (`eval`, `instance_eval`, `class_eval` @@ -37377,92 +37524,92 @@ RuboCop::Cop::Style::EnvHome::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # end # RUBY # -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#57 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#57 class RuboCop::Cop::Style::EvalWithLocation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#75 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#75 def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#82 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#82 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#70 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#70 def valid_eval_receiver?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#187 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#187 def add_offense_for_different_line(node, line_node, line_diff); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#132 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#132 def add_offense_for_incorrect_line(method_name, line_node, sign, line_diff); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#202 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#202 def add_offense_for_missing_line(node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#209 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#209 def add_offense_for_missing_location(node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#181 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#181 def add_offense_for_same_line(node, line_node); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#144 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#144 def check_file(node, file_node); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#157 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#157 def check_line(node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#96 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#96 def check_location(node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#194 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#194 def expected_line(sign, line_diff); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#123 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#123 def file_and_line(node); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#169 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#169 def line_difference(line_node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#221 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#221 def missing_line(node, code); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#110 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#110 def register_offense(node, &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#115 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#115 def special_file_keyword?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#119 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#119 def special_line_keyword?(node); end - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#173 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#173 def string_first_line(str_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#128 + # source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#128 def with_binding?(node); end end -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#60 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#60 RuboCop::Cop::Style::EvalWithLocation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#61 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#61 RuboCop::Cop::Style::EvalWithLocation::MSG_EVAL = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#62 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#62 RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_FILE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#64 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#64 RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_LINE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/eval_with_location.rb#67 +# source://rubocop//lib/rubocop/cop/style/eval_with_location.rb#67 RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where `Integer#even?` or `Integer#odd?` @@ -37478,26 +37625,26 @@ RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # if x.even? # end # -# source://rubocop/lib/rubocop/cop/style/even_odd.rb#18 +# source://rubocop//lib/rubocop/cop/style/even_odd.rb#18 class RuboCop::Cop::Style::EvenOdd < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/even_odd.rb#25 + # source://rubocop//lib/rubocop/cop/style/even_odd.rb#25 def even_odd_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/even_odd.rb#33 + # source://rubocop//lib/rubocop/cop/style/even_odd.rb#33 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/even_odd.rb#45 + # source://rubocop//lib/rubocop/cop/style/even_odd.rb#45 def replacement_method(arg, method); end end -# source://rubocop/lib/rubocop/cop/style/even_odd.rb#21 +# source://rubocop//lib/rubocop/cop/style/even_odd.rb#21 RuboCop::Cop::Style::EvenOdd::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/even_odd.rb#22 +# source://rubocop//lib/rubocop/cop/style/even_odd.rb#22 RuboCop::Cop::Style::EvenOdd::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for exact regexp match inside Regexp literals. @@ -37519,34 +37666,34 @@ RuboCop::Cop::Style::EvenOdd::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # string != 'string' # -# source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#25 +# source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#25 class RuboCop::Cop::Style::ExactRegexpMatch < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#32 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#32 def exact_regexp_match(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#40 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#52 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#40 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#40 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#56 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#56 def exact_match_pattern?(parsed_regexp); end - # source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#63 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#63 def new_method(node); end end -# source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#28 +# source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#28 RuboCop::Cop::Style::ExactRegexpMatch::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/exact_regexp_match.rb#29 +# source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#29 RuboCop::Cop::Style::ExactRegexpMatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for use of the `File.expand_path` arguments. @@ -37586,65 +37733,65 @@ RuboCop::Cop::Style::ExactRegexpMatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # # good # Pathname.new(__dir__).expand_path # -# source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#43 +# source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#43 class RuboCop::Cop::Style::ExpandPathArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#58 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#58 def file_expand_path(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#82 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#82 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#74 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#74 def pathname_new_parent_expand_path(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#66 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#66 def pathname_parent_expand_path(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#189 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#189 def arguments_range(node); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#100 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#100 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#135 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#135 def autocorrect_expand_path(corrector, current_path, default_dir); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#162 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#162 def depth(current_path); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#113 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#113 def inspect_offense_for_expand_path(node, current_path, default_dir); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#168 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#168 def parent_path(current_path); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#182 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#182 def remove_parent_method(corrector, default_dir); end - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#155 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#155 def strip_surrounded_quotes!(path_string); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#109 + # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#109 def unrecommended_argument?(default_dir); end end -# source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#47 +# source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#47 RuboCop::Cop::Style::ExpandPathArguments::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#49 +# source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#49 RuboCop::Cop::Style::ExpandPathArguments::PATHNAME_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#51 +# source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#51 RuboCop::Cop::Style::ExpandPathArguments::PATHNAME_NEW_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/expand_path_arguments.rb#55 +# source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#55 RuboCop::Cop::Style::ExpandPathArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the use of explicit block argument to avoid writing @@ -37682,61 +37829,61 @@ RuboCop::Cop::Style::ExpandPathArguments::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # 9.times(&block) # end # -# source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#41 +# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#41 class RuboCop::Cop::Style::ExplicitBlockArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector # @return [ExplicitBlockArgument] a new instance of ExplicitBlockArgument # - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#57 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#57 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#62 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#62 def on_yield(node); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#49 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#49 def yielding_block?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#108 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#108 def add_block_argument(node, corrector, block_name); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#147 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#147 def block_body_range(block_node, send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#125 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#125 def call_like?(node); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#137 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#137 def correct_call_node(node, corrector, block_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#120 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#120 def empty_arguments?(node); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#87 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#87 def extract_block_name(def_node); end - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#129 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#129 def insert_argument(node, corrector, block_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#95 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#95 def yielding_arguments?(block_args, yield_args); end class << self - # source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#53 + # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#53 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/explicit_block_argument.rb#45 +# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#45 RuboCop::Cop::Style::ExplicitBlockArgument::MSG = T.let(T.unsafe(nil), String) # Enforces consistency when using exponential notation @@ -37791,38 +37938,38 @@ RuboCop::Cop::Style::ExplicitBlockArgument::MSG = T.let(T.unsafe(nil), String) # 1e4 # 12e5 # -# source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#60 +# source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#60 class RuboCop::Cop::Style::ExponentialNotation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#68 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#68 def on_float(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#79 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#79 def engineering?(node); end - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#90 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#90 def integral(node); end - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#110 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#110 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#95 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#95 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#74 + # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#74 def scientific?(node); end end -# source://rubocop/lib/rubocop/cop/style/exponential_notation.rb#62 +# source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#62 RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash) # Suggests `ENV.fetch` for the replacement of `ENV[]`. @@ -37844,14 +37991,14 @@ RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash) # !ENV['X'] # ENV['X'].some_method # (e.g. `.nil?`) # -# source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#25 +# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#25 class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#32 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#32 def env_with_bracket?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#36 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#36 def on_send(node); end private @@ -37866,12 +38013,12 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#106 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#106 def allowable_use?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#49 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#49 def allowed_var?(node); end # The following are allowed cases: @@ -37881,27 +38028,27 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#114 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#114 def assigned?(node); end # Check if the node is a receiver and receives a message with dot syntax. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#90 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#90 def message_chained_with_dot?(node); end - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#127 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#127 def new_code(name_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#85 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#85 def offensive?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#121 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#121 def or_lhs?(node); end # Avoid offending in the following cases: @@ -37909,27 +38056,27 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#81 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#81 def partial_matched?(node, condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#54 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#54 def used_as_flag?(node); end - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#61 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#61 def used_if_condition_in_body(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#70 + # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#70 def used_in_condition?(node, condition); end end -# source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#28 +# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#28 RuboCop::Cop::Style::FetchEnvVar::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/fetch_env_var.rb#29 +# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#29 RuboCop::Cop::Style::FetchEnvVar::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Prefer to use `File.empty?('path/to/file')` when checking if a file is empty. @@ -37948,27 +38095,27 @@ RuboCop::Cop::Style::FetchEnvVar::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # File.empty?('path/to/file') # FileTest.empty?('path/to/file') # -# source://rubocop/lib/rubocop/cop/style/file_empty.rb#27 +# source://rubocop//lib/rubocop/cop/style/file_empty.rb#27 class RuboCop::Cop::Style::FileEmpty < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/file_empty.rb#37 + # source://rubocop//lib/rubocop/cop/style/file_empty.rb#37 def offensive?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_empty.rb#49 + # source://rubocop//lib/rubocop/cop/style/file_empty.rb#49 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/file_empty.rb#62 + # source://rubocop//lib/rubocop/cop/style/file_empty.rb#62 def bang(node); end end -# source://rubocop/lib/rubocop/cop/style/file_empty.rb#31 +# source://rubocop//lib/rubocop/cop/style/file_empty.rb#31 RuboCop::Cop::Style::FileEmpty::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/file_empty.rb#32 +# source://rubocop//lib/rubocop/cop/style/file_empty.rb#32 RuboCop::Cop::Style::FileEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Use `File::NULL` instead of hardcoding the null device (`/dev/null` on Unix-like @@ -37999,33 +38146,33 @@ RuboCop::Cop::Style::FileEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # ok - inside a hash # { unix: "/dev/null", windows: "nul" } # -# source://rubocop/lib/rubocop/cop/style/file_null.rb#45 +# source://rubocop//lib/rubocop/cop/style/file_null.rb#45 class RuboCop::Cop::Style::FileNull < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/file_null.rb#51 + # source://rubocop//lib/rubocop/cop/style/file_null.rb#51 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/style/file_null.rb#61 + # source://rubocop//lib/rubocop/cop/style/file_null.rb#61 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_null.rb#79 + # source://rubocop//lib/rubocop/cop/style/file_null.rb#79 def acceptable?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_null.rb#75 + # source://rubocop//lib/rubocop/cop/style/file_null.rb#75 def valid_string?(value); end end -# source://rubocop/lib/rubocop/cop/style/file_null.rb#49 +# source://rubocop//lib/rubocop/cop/style/file_null.rb#49 RuboCop::Cop::Style::FileNull::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/file_null.rb#48 +# source://rubocop//lib/rubocop/cop/style/file_null.rb#48 RuboCop::Cop::Style::FileNull::REGEXP = T.let(T.unsafe(nil), Regexp) # Favor `File.(bin)read` convenience methods. @@ -38057,49 +38204,49 @@ RuboCop::Cop::Style::FileNull::REGEXP = T.let(T.unsafe(nil), Regexp) # # good # File.binread(filename) # -# source://rubocop/lib/rubocop/cop/style/file_read.rb#35 +# source://rubocop//lib/rubocop/cop/style/file_read.rb#35 class RuboCop::Cop::Style::FileRead < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/file_read.rb#62 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#62 def block_read?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_read.rb#46 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#46 def file_open?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_read.rb#66 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#66 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/file_read.rb#57 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#57 def send_read?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/file_read.rb#81 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#81 def evidence(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_read.rb#97 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#97 def file_open_read?(node); end - # source://rubocop/lib/rubocop/cop/style/file_read.rb#103 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#103 def read_method(mode); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_read.rb#89 + # source://rubocop//lib/rubocop/cop/style/file_read.rb#89 def read_node?(node, block_pass); end end -# source://rubocop/lib/rubocop/cop/style/file_read.rb#39 +# source://rubocop//lib/rubocop/cop/style/file_read.rb#39 RuboCop::Cop::Style::FileRead::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/file_read.rb#43 +# source://rubocop//lib/rubocop/cop/style/file_read.rb#43 RuboCop::Cop::Style::FileRead::READ_FILE_START_TO_FINISH_MODES = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/file_read.rb#41 +# source://rubocop//lib/rubocop/cop/style/file_read.rb#41 RuboCop::Cop::Style::FileRead::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for usage of `File.open` in append mode with empty block. @@ -38128,31 +38275,31 @@ RuboCop::Cop::Style::FileRead::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # FileUtils.touch(filename) # -# source://rubocop/lib/rubocop/cop/style/file_touch.rb#36 +# source://rubocop//lib/rubocop/cop/style/file_touch.rb#36 class RuboCop::Cop::Style::FileTouch < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/file_touch.rb#47 + # source://rubocop//lib/rubocop/cop/style/file_touch.rb#47 def file_open?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_touch.rb#54 + # source://rubocop//lib/rubocop/cop/style/file_touch.rb#54 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_touch.rb#69 + # source://rubocop//lib/rubocop/cop/style/file_touch.rb#69 def empty_block?(node); end end -# source://rubocop/lib/rubocop/cop/style/file_touch.rb#44 +# source://rubocop//lib/rubocop/cop/style/file_touch.rb#44 RuboCop::Cop::Style::FileTouch::APPEND_FILE_MODES = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/file_touch.rb#39 +# source://rubocop//lib/rubocop/cop/style/file_touch.rb#39 RuboCop::Cop::Style::FileTouch::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/file_touch.rb#42 +# source://rubocop//lib/rubocop/cop/style/file_touch.rb#42 RuboCop::Cop::Style::FileTouch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Favor `File.(bin)write` convenience methods. @@ -38187,24 +38334,24 @@ RuboCop::Cop::Style::FileTouch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # File.binwrite(filename, content) # -# source://rubocop/lib/rubocop/cop/style/file_write.rb#38 +# source://rubocop//lib/rubocop/cop/style/file_write.rb#38 class RuboCop::Cop::Style::FileWrite < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/file_write.rb#65 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#65 def block_write?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#82 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#82 def evidence(node); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#49 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#49 def file_open?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#69 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#69 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#60 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#60 def send_write?(param0 = T.unsafe(nil)); end private @@ -38212,31 +38359,31 @@ class RuboCop::Cop::Style::FileWrite < ::RuboCop::Cop::Base # @return [Boolean] # @yield [content] # - # source://rubocop/lib/rubocop/cop/style/file_write.rb#92 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#92 def file_open_write?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/file_write.rb#120 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#120 def heredoc?(write_node); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#125 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#125 def heredoc_range(first_argument); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#105 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#105 def replacement(mode, filename, content, write_node); end - # source://rubocop/lib/rubocop/cop/style/file_write.rb#101 + # source://rubocop//lib/rubocop/cop/style/file_write.rb#101 def write_method(mode); end end -# source://rubocop/lib/rubocop/cop/style/file_write.rb#42 +# source://rubocop//lib/rubocop/cop/style/file_write.rb#42 RuboCop::Cop::Style::FileWrite::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/file_write.rb#44 +# source://rubocop//lib/rubocop/cop/style/file_write.rb#44 RuboCop::Cop::Style::FileWrite::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/file_write.rb#46 +# source://rubocop//lib/rubocop/cop/style/file_write.rb#46 RuboCop::Cop::Style::FileWrite::TRUNCATING_WRITE_MODES = T.let(T.unsafe(nil), Set) # Checks for division with integers coerced to floats. @@ -38273,56 +38420,56 @@ RuboCop::Cop::Style::FileWrite::TRUNCATING_WRITE_MODES = T.let(T.unsafe(nil), Se # # good # a.fdiv(b) # -# source://rubocop/lib/rubocop/cop/style/float_division.rb#53 +# source://rubocop//lib/rubocop/cop/style/float_division.rb#53 class RuboCop::Cop::Style::FloatDivision < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/float_division.rb#79 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#79 def any_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#75 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#75 def both_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#71 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#71 def left_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#87 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#87 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#67 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#67 def right_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#83 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#83 def to_f_method?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/float_division.rb#125 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#125 def add_to_f_method(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#134 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#134 def correct_from_slash_to_fdiv(corrector, node, receiver, argument); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#145 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#145 def extract_receiver_source(node); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#121 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#121 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/float_division.rb#106 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#106 def offense_condition?(node); end - # source://rubocop/lib/rubocop/cop/style/float_division.rb#129 + # source://rubocop//lib/rubocop/cop/style/float_division.rb#129 def remove_to_f_method(corrector, send_node); end end -# source://rubocop/lib/rubocop/cop/style/float_division.rb#57 +# source://rubocop//lib/rubocop/cop/style/float_division.rb#57 RuboCop::Cop::Style::FloatDivision::MESSAGES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/float_division.rb#64 +# source://rubocop//lib/rubocop/cop/style/float_division.rb#64 RuboCop::Cop::Style::FloatDivision::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for uses of the `for` keyword or `each` method. The @@ -38359,35 +38506,35 @@ RuboCop::Cop::Style::FloatDivision::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # end # end # -# source://rubocop/lib/rubocop/cop/style/for.rb#45 +# source://rubocop//lib/rubocop/cop/style/for.rb#45 class RuboCop::Cop::Style::For < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/for.rb#64 + # source://rubocop//lib/rubocop/cop/style/for.rb#64 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/for.rb#53 + # source://rubocop//lib/rubocop/cop/style/for.rb#53 def on_for(node); end - # source://rubocop/lib/rubocop/cop/style/for.rb#64 + # source://rubocop//lib/rubocop/cop/style/for.rb#79 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/for.rb#83 + # source://rubocop//lib/rubocop/cop/style/for.rb#83 def suspect_enumerable?(node); end end -# source://rubocop/lib/rubocop/cop/style/for.rb#49 +# source://rubocop//lib/rubocop/cop/style/for.rb#49 RuboCop::Cop::Style::For::EACH_LENGTH = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/style/for.rb#50 +# source://rubocop//lib/rubocop/cop/style/for.rb#50 RuboCop::Cop::Style::For::PREFER_EACH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/for.rb#51 +# source://rubocop//lib/rubocop/cop/style/for.rb#51 RuboCop::Cop::Style::For::PREFER_FOR = T.let(T.unsafe(nil), String) # Enforces the use of a single string formatting utility. @@ -38432,55 +38579,55 @@ RuboCop::Cop::Style::For::PREFER_FOR = T.let(T.unsafe(nil), String) # # good # puts '%10s' % 'foo' # -# source://rubocop/lib/rubocop/cop/style/format_string.rb#50 +# source://rubocop//lib/rubocop/cop/style/format_string.rb#50 class RuboCop::Cop::Style::FormatString < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/format_string.rb#61 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#61 def formatter(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#74 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#74 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#70 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#70 def variable_argument?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/format_string.rb#102 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#102 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#118 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#118 def autocorrect_from_percent(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#132 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#132 def autocorrect_to_percent(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string.rb#88 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#88 def autocorrectable?(node); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#145 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#145 def format_single_parameter(arg); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#94 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#94 def message(detected_style); end - # source://rubocop/lib/rubocop/cop/style/format_string.rb#98 + # source://rubocop//lib/rubocop/cop/style/format_string.rb#98 def method_name(style_name); end end # Known conversion methods whose return value is not an array. # -# source://rubocop/lib/rubocop/cop/style/format_string.rb#58 +# source://rubocop//lib/rubocop/cop/style/format_string.rb#58 RuboCop::Cop::Style::FormatString::AUTOCORRECTABLE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/format_string.rb#54 +# source://rubocop//lib/rubocop/cop/style/format_string.rb#54 RuboCop::Cop::Style::FormatString::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/format_string.rb#55 +# source://rubocop//lib/rubocop/cop/style/format_string.rb#55 RuboCop::Cop::Style::FormatString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Use a consistent style for named format string tokens. @@ -38554,71 +38701,71 @@ RuboCop::Cop::Style::FormatString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # good # format('%s', greeting: 'Hello') # -# source://rubocop/lib/rubocop/cop/style/format_string_token.rb#85 +# source://rubocop//lib/rubocop/cop/style/format_string_token.rb#85 class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#106 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#106 def format_string_in_typical_context?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#91 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#91 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#213 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#213 def allowed_unannotated?(detections); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#139 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#139 def autocorrect_sequence(corrector, detected_sequence, token_range); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#124 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#124 def check_sequence(detected_sequence, token_range); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#203 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#203 def collect_detections(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#135 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#135 def correctable_sequence?(detected_type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#113 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#113 def format_string_token?(node); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#222 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#222 def max_unannotated_placeholders_allowed; end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#160 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#160 def message(detected_style); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#165 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#165 def message_text(style); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#180 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#180 def str_contents(source_map); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#190 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#190 def token_ranges(contents); end - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#174 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#174 def tokens(str_node, &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#156 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#156 def unannotated_format?(node, detected_style); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/format_string_token.rb#117 + # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#117 def use_allowed_method?(node); end end @@ -38693,7 +38840,7 @@ end # # ... # end # -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#84 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#84 class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::FrozenStringLiteral @@ -38701,70 +38848,70 @@ class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#99 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#99 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#178 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#178 def disabled_offense(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#190 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#190 def enable_comment(corrector); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#120 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#120 def ensure_comment(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#126 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#126 def ensure_enabled_comment(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#114 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#114 def ensure_no_comment(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#214 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#214 def following_comment; end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#152 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#152 def frozen_string_literal_comment(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#196 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#196 def insert_comment(corrector); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#137 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#137 def last_special_comment(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#206 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#206 def line_range(line); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#158 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#158 def missing_offense(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#164 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#164 def missing_true_offense(processed_source); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#210 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#210 def preceding_comment; end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#186 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#186 def remove_comment(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#170 + # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#170 def unnecessary_comment_offense(processed_source); end end -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#96 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#96 RuboCop::Cop::Style::FrozenStringLiteralComment::MSG_DISABLED = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#94 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#94 RuboCop::Cop::Style::FrozenStringLiteralComment::MSG_MISSING = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#93 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#93 RuboCop::Cop::Style::FrozenStringLiteralComment::MSG_MISSING_TRUE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#95 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#95 RuboCop::Cop::Style::FrozenStringLiteralComment::MSG_UNNECESSARY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/frozen_string_literal_comment.rb#97 +# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#97 RuboCop::Cop::Style::FrozenStringLiteralComment::SHEBANG = T.let(T.unsafe(nil), String) # Enforces the use of `$stdout/$stderr/$stdin` instead of `STDOUT/STDERR/STDIN`. @@ -38791,34 +38938,34 @@ RuboCop::Cop::Style::FrozenStringLiteralComment::SHEBANG = T.let(T.unsafe(nil), # out.puts('hello') # end # -# source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#34 +# source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#34 class RuboCop::Cop::Style::GlobalStdStream < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#42 + # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#42 def const_to_gvar_assignment?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#46 + # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#46 def on_const(node); end private - # source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#70 + # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#70 def gvar_name(const_name); end - # source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#62 + # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#62 def message(const_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#66 + # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#66 def namespaced?(node); end end -# source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#37 +# source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#37 RuboCop::Cop::Style::GlobalStdStream::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/global_std_stream.rb#39 +# source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#39 RuboCop::Cop::Style::GlobalStdStream::STD_STREAMS = T.let(T.unsafe(nil), Set) # Looks for uses of global variables. @@ -38838,33 +38985,33 @@ RuboCop::Cop::Style::GlobalStdStream::STD_STREAMS = T.let(T.unsafe(nil), Set) # foo = 2 # $stdin.read # -# source://rubocop/lib/rubocop/cop/style/global_vars.rb#22 +# source://rubocop//lib/rubocop/cop/style/global_vars.rb#22 class RuboCop::Cop::Style::GlobalVars < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/global_vars.rb#60 + # source://rubocop//lib/rubocop/cop/style/global_vars.rb#60 def allowed_var?(global_var); end - # source://rubocop/lib/rubocop/cop/style/global_vars.rb#72 + # source://rubocop//lib/rubocop/cop/style/global_vars.rb#72 def check(node); end - # source://rubocop/lib/rubocop/cop/style/global_vars.rb#64 + # source://rubocop//lib/rubocop/cop/style/global_vars.rb#64 def on_gvar(node); end - # source://rubocop/lib/rubocop/cop/style/global_vars.rb#68 + # source://rubocop//lib/rubocop/cop/style/global_vars.rb#68 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/global_vars.rb#56 + # source://rubocop//lib/rubocop/cop/style/global_vars.rb#56 def user_vars; end end # built-in global variables and their English aliases # https://www.zenspider.com/ruby/quickref.html # -# source://rubocop/lib/rubocop/cop/style/global_vars.rb#27 +# source://rubocop//lib/rubocop/cop/style/global_vars.rb#27 RuboCop::Cop::Style::GlobalVars::BUILT_IN_VARS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/global_vars.rb#23 +# source://rubocop//lib/rubocop/cop/style/global_vars.rb#23 RuboCop::Cop::Style::GlobalVars::MSG = T.let(T.unsafe(nil), String) # Use a guard clause instead of wrapping the code inside a conditional @@ -38973,7 +39120,7 @@ RuboCop::Cop::Style::GlobalVars::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/guard_clause.rb#114 +# source://rubocop//lib/rubocop/cop/style/guard_clause.rb#114 class RuboCop::Cop::Style::GuardClause < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MinBodyLength @@ -38982,94 +39129,94 @@ class RuboCop::Cop::Style::GuardClause < ::RuboCop::Cop::Base include ::RuboCop::Cop::StatementModifier extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#132 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#132 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#123 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#123 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#123 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#130 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#139 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#139 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#132 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#137 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#275 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#275 def accepted_form?(node, ending: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#285 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#285 def accepted_if?(node, ending); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#312 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#312 def allowed_consecutive_conditionals?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#265 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#265 def and_or_guard_clause?(guard_clause); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#296 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#296 def assigned_lvar_used_in_if_branch?(node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#210 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#210 def autocorrect(corrector, node, condition, replacement, guard); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#236 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#236 def autocorrect_heredoc_argument(corrector, node, heredoc_branch, leave_branch, guard); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#159 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#159 def check_ending_body(body); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#170 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#170 def check_ending_if(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#180 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#180 def consecutive_conditionals?(parent, node); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#257 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#257 def guard_clause_source(guard_clause); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#232 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#232 def heredoc?(argument); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#248 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#248 def range_of_branch_to_remove(node, guard); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#188 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#188 def register_offense(node, scope_exiting_keyword, conditional_keyword, guard = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#308 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#308 def remove_whole_lines(corrector, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#270 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#270 def too_long_for_single_line?(node, example); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/guard_clause.rb#279 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#279 def trivial?(node); end end -# source://rubocop/lib/rubocop/cop/style/guard_clause.rb#120 +# source://rubocop//lib/rubocop/cop/style/guard_clause.rb#120 RuboCop::Cop::Style::GuardClause::MSG = T.let(T.unsafe(nil), String) # Checks for presence or absence of braces around hash literal as a last @@ -39097,42 +39244,42 @@ RuboCop::Cop::Style::GuardClause::MSG = T.let(T.unsafe(nil), String) # # good # [{ one: 1 }, { two: 2 }] # -# source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#31 +# source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#31 class RuboCop::Cop::Style::HashAsLastArrayItem < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#36 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#36 def on_hash(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#85 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#85 def braces_style?; end - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#66 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#66 def check_braces(node); end - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#74 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#74 def check_no_braces(node); end - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#50 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#50 def containing_array(hash_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#61 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#61 def explicit_array?(array); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#55 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#55 def last_array_item?(array, node); end - # source://rubocop/lib/rubocop/cop/style/hash_as_last_array_item.rb#89 + # source://rubocop//lib/rubocop/cop/style/hash_as_last_array_item.rb#89 def remove_last_element_trailing_comma(corrector, node); end end @@ -39162,62 +39309,62 @@ end # # bad # Hash[*ary] # -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#44 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#44 class RuboCop::Cop::Style::HashConversion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#54 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#54 def hash_from_array?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#56 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#56 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#137 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#137 def allowed_splat_argument?; end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#130 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#130 def args_to_hash(args); end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#117 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#117 def multi_argument(node); end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#94 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#94 def register_offense_for_hash(node, hash_argument); end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#103 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#103 def register_offense_for_zip_method(node, zip_method); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#113 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#113 def requires_parens?(node); end - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#71 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#71 def single_argument(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#88 + # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#88 def use_zip_method_without_argument?(first_argument); end end -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#49 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#49 RuboCop::Cop::Style::HashConversion::MSG_LITERAL_HASH_ARG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#48 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#48 RuboCop::Cop::Style::HashConversion::MSG_LITERAL_MULTI_ARG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#50 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#50 RuboCop::Cop::Style::HashConversion::MSG_SPLAT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#47 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#47 RuboCop::Cop::Style::HashConversion::MSG_TO_H = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_conversion.rb#51 +# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#51 RuboCop::Cop::Style::HashConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of `each_key` and `each_value` Hash methods. @@ -39245,99 +39392,99 @@ RuboCop::Cop::Style::HashConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # execute(sql).keys.each { |v| p v } # execute(sql).values.each { |v| p v } # -# source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#36 +# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#36 class RuboCop::Cop::Style::HashEachMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedReceivers include ::RuboCop::Cop::Lint::UnusedArgument extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#79 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#79 def check_unused_block_args(node, key, value); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#51 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#51 def each_arguments(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#61 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#61 def hash_mutated?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#46 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#46 def kv_each(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#56 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#56 def kv_each_with_block_pass(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#65 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#65 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#100 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#100 def on_block_pass(node); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#65 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#76 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#186 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#186 def check_argument(variable); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#210 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#210 def correct_args(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#196 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#196 def correct_implicit(node, corrector, method_name); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#201 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#201 def correct_key_value_each(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#182 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#182 def format_message(method_name, current); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#108 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#108 def handleable?(node); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#217 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#217 def kv_range(outer_node); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#139 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#139 def message(prefer, method_name, unused_code); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#145 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#145 def register_each_args_offense(node, message, prefer, unused_range); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#116 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#116 def register_kv_offense(target, method); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#152 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#152 def register_kv_with_block_pass_offense(node, target, method); end - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#173 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#173 def root_receiver(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#127 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#127 def unused_block_arg_exist?(node, block_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#163 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#163 def use_array_converter_method_as_preceding?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#192 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#192 def used?(arg); end end -# source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#43 +# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#43 RuboCop::Cop::Style::HashEachMethods::ARRAY_CONVERTER_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#41 +# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#41 RuboCop::Cop::Style::HashEachMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_each_methods.rb#42 +# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#42 RuboCop::Cop::Style::HashEachMethods::UNUSED_BLOCK_ARG_MSG = T.let(T.unsafe(nil), String) # Checks for usages of `Hash#reject`, `Hash#select`, and `Hash#filter` methods @@ -39376,79 +39523,79 @@ RuboCop::Cop::Style::HashEachMethods::UNUSED_BLOCK_ARG_MSG = T.let(T.unsafe(nil) # # good # {foo: 1, bar: 2, baz: 3}.except(:bar) # -# source://rubocop/lib/rubocop/cop/style/hash_except.rb#46 +# source://rubocop//lib/rubocop/cop/style/hash_except.rb#46 class RuboCop::Cop::Style::HashExcept < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::TargetRubyVersion extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#60 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#60 def block_with_first_arg_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#75 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#89 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#75 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#75 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#169 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#169 def decorate_source(value); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#177 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#177 def except_key(node); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#156 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#156 def except_key_source(key); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#148 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#148 def extract_body_if_negated(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#93 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#93 def extracts_hash_subset?(block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#126 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#126 def included?(body, negated); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#134 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#134 def not_included?(body, negated); end - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#185 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#185 def offense_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#138 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#138 def safe_to_register_offense?(block, except_key); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#116 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#116 def semantically_except_method?(node, block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_except.rb#108 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#108 def supported_subset_method?(method); end end -# source://rubocop/lib/rubocop/cop/style/hash_except.rb#57 +# source://rubocop//lib/rubocop/cop/style/hash_except.rb#57 RuboCop::Cop::Style::HashExcept::ACTIVE_SUPPORT_SUBSET_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/hash_except.rb#53 +# source://rubocop//lib/rubocop/cop/style/hash_except.rb#53 RuboCop::Cop::Style::HashExcept::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_except.rb#54 +# source://rubocop//lib/rubocop/cop/style/hash_except.rb#54 RuboCop::Cop::Style::HashExcept::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/hash_except.rb#56 +# source://rubocop//lib/rubocop/cop/style/hash_except.rb#56 RuboCop::Cop::Style::HashExcept::SUBSET_METHODS = T.let(T.unsafe(nil), Array) # Checks for places where `case-when` represents a simple 1:1 @@ -39483,25 +39630,25 @@ RuboCop::Cop::Style::HashExcept::SUBSET_METHODS = T.let(T.unsafe(nil), Array) # 'http://au.example.com' # end # -# source://rubocop/lib/rubocop/cop/style/hash_like_case.rb#39 +# source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#39 class RuboCop::Cop::Style::HashLikeCase < ::RuboCop::Cop::Base include ::RuboCop::Cop::MinBranchesCount - # source://rubocop/lib/rubocop/cop/style/hash_like_case.rb#45 + # source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#45 def hash_like_case?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_like_case.rb#53 + # source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#53 def on_case(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_like_case.rb#65 + # source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#65 def nodes_of_same_type?(nodes); end end -# source://rubocop/lib/rubocop/cop/style/hash_like_case.rb#42 +# source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#42 RuboCop::Cop::Style::HashLikeCase::MSG = T.let(T.unsafe(nil), String) # Checks hash literal syntax. @@ -39622,87 +39769,87 @@ RuboCop::Cop::Style::HashLikeCase::MSG = T.let(T.unsafe(nil), String) # {:c => 2, 'd' => 2} # acceptable since 'd' isn't a symbol # {d: 1, 'e' => 2} # technically not forbidden # -# source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#131 +# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#131 class RuboCop::Cop::Style::HashSyntax < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::HashShorthandSyntax include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#186 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#186 def alternative_style; end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#164 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#164 def hash_rockets_check(pairs); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#178 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#178 def no_mixed_keys_check(pairs); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#142 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#142 def on_hash(node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#160 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#160 def ruby19_check(pairs); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#168 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#168 def ruby19_no_mixed_keys_check(pairs); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#218 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#218 def acceptable_19_syntax_symbol?(sym_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#275 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#275 def argument_without_space?(node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#197 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#197 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#281 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#281 def autocorrect_hash_rockets(corrector, pair_node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#290 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#290 def autocorrect_no_mixed_keys(corrector, pair_node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#254 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#254 def autocorrect_ruby19(corrector, pair_node); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#239 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#239 def check(pairs, delim, msg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#298 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#298 def force_hash_rockets?(pairs); end - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#267 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#267 def range_for_autocorrect_ruby19(pair_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#207 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#207 def sym_indices?(pairs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#211 + # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#211 def word_symbol_pair?(pair); end end -# source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#137 +# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#137 RuboCop::Cop::Style::HashSyntax::MSG_19 = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#139 +# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#139 RuboCop::Cop::Style::HashSyntax::MSG_HASH_ROCKETS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#138 +# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#138 RuboCop::Cop::Style::HashSyntax::MSG_NO_MIXED_KEYS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/hash_syntax.rb#140 +# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#140 RuboCop::Cop::Style::HashSyntax::NO_MIXED_KEYS_STYLES = T.let(T.unsafe(nil), Array) # Looks for uses of `\_.each_with_object({}) {...}`, @@ -39723,30 +39870,30 @@ RuboCop::Cop::Style::HashSyntax::NO_MIXED_KEYS_STYLES = T.let(T.unsafe(nil), Arr # {a: 1, b: 2}.transform_keys { |k| foo(k) } # {a: 1, b: 2}.transform_keys { |k| k.to_s } # -# source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#28 +# source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#28 class RuboCop::Cop::Style::HashTransformKeys < ::RuboCop::Cop::Base include ::RuboCop::Cop::HashTransformMethod extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#36 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#36 def on_bad_each_with_object(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#48 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#48 def on_bad_hash_brackets_map(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#61 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#61 def on_bad_map_to_h(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#73 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#73 def on_bad_to_h(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#84 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#84 def extract_captures(match); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_keys.rb#89 + # source://rubocop//lib/rubocop/cop/style/hash_transform_keys.rb#89 def new_method_name; end end @@ -39766,30 +39913,30 @@ end # {a: 1, b: 2}.transform_values { |v| foo(v) } # {a: 1, b: 2}.transform_values { |v| v * v } # -# source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#26 +# source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#26 class RuboCop::Cop::Style::HashTransformValues < ::RuboCop::Cop::Base include ::RuboCop::Cop::HashTransformMethod extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#34 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#34 def on_bad_each_with_object(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#46 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#46 def on_bad_hash_brackets_map(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#59 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#59 def on_bad_map_to_h(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#71 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#71 def on_bad_to_h(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#82 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#82 def extract_captures(match); end - # source://rubocop/lib/rubocop/cop/style/hash_transform_values.rb#87 + # source://rubocop//lib/rubocop/cop/style/hash_transform_values.rb#87 def new_method_name; end end @@ -39880,85 +40027,85 @@ end # do_z # end # -# source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#110 +# source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#110 class RuboCop::Cop::Style::IdenticalConditionalBranches < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#123 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#123 def on_case(node); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#130 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#130 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#116 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#116 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#184 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#184 def assignable_condition_value(node); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#140 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#140 def check_branches(node, branches); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#193 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#193 def check_expressions(node, expressions, insert_position); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#173 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#173 def duplicated_expressions?(node, expressions); end # `elsif` branches show up in the if node as nested `else` branches. We # need to recursively iterate over all `else` branches. # - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#233 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#233 def expand_elses(branch); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#248 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#248 def head(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#217 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#217 def last_child_of_parent?(node); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#227 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#227 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#223 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#223 def single_child_branch?(branch_node); end - # source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#244 + # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#244 def tail(node); end end -# source://rubocop/lib/rubocop/cop/style/identical_conditional_branches.rb#114 +# source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#114 RuboCop::Cop::Style::IdenticalConditionalBranches::MSG = T.let(T.unsafe(nil), String) # Corrector to correct conditional assignment in `if` statements. # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#557 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#557 class RuboCop::Cop::Style::IfCorrector extend ::RuboCop::Cop::Style::ConditionalAssignmentHelper extend ::RuboCop::Cop::Style::ConditionalCorrectorHelper class << self - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#562 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#562 def correct(corrector, cop, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#566 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#566 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#580 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#580 def extract_tail_branches(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#587 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#587 def move_branch_inside_condition(corrector, branch, condition, assignment, column); end end end @@ -40016,48 +40163,48 @@ end # action_b # end # -# source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#61 +# source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#61 class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#68 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#68 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#149 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#149 def allow_if_modifier?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#145 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#145 def allow_if_modifier_in_else_branch?(else_branch); end - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#87 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#87 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#116 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#116 def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#108 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#108 def correct_to_elsif_from_modifier_form(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#134 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#134 def find_end_range(node); end - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#141 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#141 def if_condition_range(node, condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#130 + # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#130 def then?(node); end end -# source://rubocop/lib/rubocop/cop/style/if_inside_else.rb#65 +# source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#65 RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String) # Checks for `if` and `unless` statements that would fit on one line if @@ -40118,7 +40265,7 @@ RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String) # do_something # end # -# source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#63 +# source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#63 class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp @@ -40128,120 +40275,120 @@ class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#80 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#80 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#171 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#171 def allowed_patterns; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#231 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#231 def another_statement_on_same_line?(node); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#132 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#132 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#285 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#285 def comment_on_node_line(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#104 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#104 def defined_argument_is_undefined?(if_node, defined_node); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#96 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#96 def defined_nodes(condition); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#272 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#272 def extract_heredoc_from(last_argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#215 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#215 def line_length_enabled_at_line?(line); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#124 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#124 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#219 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#219 def named_capture_in_condition?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#223 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#223 def non_eligible_node?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#227 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#227 def non_simple_if_unless?(node); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#114 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#114 def pattern_matching_nodes(condition); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#289 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#289 def remove_comment(corrector, _node, comment); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#279 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#279 def remove_heredoc(corrector, heredoc); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#141 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#141 def replacement_for_modifier_form(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#265 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#265 def to_modifier_form_with_move_comment(node, indentation, comment); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#245 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#245 def to_normal_form(node, indentation); end - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#253 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#253 def to_normal_form_with_heredoc(node, indentation, heredoc); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#165 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#165 def too_long_due_to_comment_after_modifier?(node, comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#160 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#160 def too_long_due_to_modifier?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#206 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#206 def too_long_line_based_on_allow_uri?(line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#189 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#189 def too_long_line_based_on_config?(range, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#198 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#198 def too_long_line_based_on_ignore_cop_directives?(range, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#176 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#176 def too_long_single_line?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#76 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#76 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#71 +# source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#71 RuboCop::Cop::Style::IfUnlessModifier::MSG_USE_MODIFIER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/if_unless_modifier.rb#74 +# source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#74 RuboCop::Cop::Style::IfUnlessModifier::MSG_USE_NORMAL = T.let(T.unsafe(nil), String) # Checks for if and unless statements used as modifiers of other if or @@ -40264,18 +40411,18 @@ RuboCop::Cop::Style::IfUnlessModifier::MSG_USE_NORMAL = T.let(T.unsafe(nil), Str # tired? ? 'stop' : 'go faster' # end # -# source://rubocop/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#25 +# source://rubocop//lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#25 class RuboCop::Cop::Style::IfUnlessModifierOfIfUnless < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp include ::RuboCop::Cop::StatementModifier extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#31 + # source://rubocop//lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#31 def on_if(node); end end -# source://rubocop/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#29 +# source://rubocop//lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#29 RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), String) # Checks for redundant `if` with boolean literal branches. @@ -40328,61 +40475,61 @@ RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), Stri # # good # num.nonzero? ? true : false # -# source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#61 +# source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#61 class RuboCop::Cop::Style::IfWithBooleanLiteralBranches < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#73 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#73 def double_negative?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#69 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#69 def if_with_boolean_literal_branches?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#75 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#75 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#135 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#135 def assume_boolean_value?(condition); end - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#113 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#113 def message(node, keyword); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#95 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#95 def multiple_elsif?(node); end - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#101 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#101 def offense_range_with_keyword(node, condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#152 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#152 def opposite_condition?(node); end - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#142 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#142 def replacement_condition(node, condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#157 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#157 def require_parentheses?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#121 + # source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#121 def return_boolean_value?(condition); end end -# source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#65 +# source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#65 RuboCop::Cop::Style::IfWithBooleanLiteralBranches::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#66 +# source://rubocop//lib/rubocop/cop/style/if_with_boolean_literal_branches.rb#66 RuboCop::Cop::Style::IfWithBooleanLiteralBranches::MSG_FOR_ELSIF = T.let(T.unsafe(nil), String) # Checks for uses of semicolon in if statements. @@ -40395,62 +40542,62 @@ RuboCop::Cop::Style::IfWithBooleanLiteralBranches::MSG_FOR_ELSIF = T.let(T.unsaf # # good # result = some_condition ? something : another_thing # -# source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#16 +# source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#16 class RuboCop::Cop::Style::IfWithSemicolon < ::RuboCop::Cop::Base include ::RuboCop::Cop::OnNormalIfUnless extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#24 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#24 def on_normal_if_unless(node); end private - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#55 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#55 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#104 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#104 def build_else_branch(second_condition); end - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#95 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#95 def build_expression(expr); end - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#86 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#86 def correct_elsif(node); end - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#42 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#42 def message(node); end - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#77 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#77 def replacement(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#124 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#124 def require_argument_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#63 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#63 def require_newline?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#67 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#67 def use_masgn_or_block_in_branches?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#73 + # source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#73 def use_return_with_argument?(node); end end -# source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#20 +# source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#20 RuboCop::Cop::Style::IfWithSemicolon::MSG_IF_ELSE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#21 +# source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#21 RuboCop::Cop::Style::IfWithSemicolon::MSG_NEWLINE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/if_with_semicolon.rb#22 +# source://rubocop//lib/rubocop/cop/style/if_with_semicolon.rb#22 RuboCop::Cop::Style::IfWithSemicolon::MSG_TERNARY = T.let(T.unsafe(nil), String) # Checks for `raise` or `fail` statements which do not specify an @@ -40465,19 +40612,19 @@ RuboCop::Cop::Style::IfWithSemicolon::MSG_TERNARY = T.let(T.unsafe(nil), String) # # good # raise ArgumentError, 'Error message here' # -# source://rubocop/lib/rubocop/cop/style/implicit_runtime_error.rb#17 +# source://rubocop//lib/rubocop/cop/style/implicit_runtime_error.rb#17 class RuboCop::Cop::Style::ImplicitRuntimeError < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/implicit_runtime_error.rb#23 + # source://rubocop//lib/rubocop/cop/style/implicit_runtime_error.rb#23 def implicit_runtime_error_raise_or_fail(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/implicit_runtime_error.rb#26 + # source://rubocop//lib/rubocop/cop/style/implicit_runtime_error.rb#26 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/implicit_runtime_error.rb#18 +# source://rubocop//lib/rubocop/cop/style/implicit_runtime_error.rb#18 RuboCop::Cop::Style::ImplicitRuntimeError::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/implicit_runtime_error.rb#20 +# source://rubocop//lib/rubocop/cop/style/implicit_runtime_error.rb#20 RuboCop::Cop::Style::ImplicitRuntimeError::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `in;` uses in `case` expressions. @@ -40495,24 +40642,24 @@ RuboCop::Cop::Style::ImplicitRuntimeError::RESTRICT_ON_SEND = T.let(T.unsafe(nil # in pattern_b then bar # end # -# source://rubocop/lib/rubocop/cop/style/in_pattern_then.rb#21 +# source://rubocop//lib/rubocop/cop/style/in_pattern_then.rb#21 class RuboCop::Cop::Style::InPatternThen < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/in_pattern_then.rb#29 + # source://rubocop//lib/rubocop/cop/style/in_pattern_then.rb#29 def on_in_pattern(node); end private - # source://rubocop/lib/rubocop/cop/style/in_pattern_then.rb#46 + # source://rubocop//lib/rubocop/cop/style/in_pattern_then.rb#46 def alternative_pattern_source(pattern); end - # source://rubocop/lib/rubocop/cop/style/in_pattern_then.rb#50 + # source://rubocop//lib/rubocop/cop/style/in_pattern_then.rb#50 def collect_alternative_patterns(pattern); end end -# source://rubocop/lib/rubocop/cop/style/in_pattern_then.rb#27 +# source://rubocop//lib/rubocop/cop/style/in_pattern_then.rb#27 RuboCop::Cop::Style::InPatternThen::MSG = T.let(T.unsafe(nil), String) # Use `Kernel#loop` for infinite loops. @@ -40528,71 +40675,71 @@ RuboCop::Cop::Style::InPatternThen::MSG = T.let(T.unsafe(nil), String) # work # end # -# source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#23 +# source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#23 class RuboCop::Cop::Style::InfiniteLoop < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#35 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#35 def after_leaving_scope(scope, _variable_table); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#44 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#44 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#44 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#49 def on_until_post(node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#40 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#40 def on_while(node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#40 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#48 def on_while_post(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#84 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#84 def assigned_before_loop?(var, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#80 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#80 def assigned_inside_loop?(var, range); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#70 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#70 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#103 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#103 def modifier_replacement(node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#114 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#114 def non_modifier_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#89 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#89 def referenced_after_loop?(var, range); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#94 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#94 def replace_begin_end_with_modifier(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#99 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#99 def replace_source(corrector, range, replacement); end - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#53 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#53 def while_or_until(node); end class << self - # source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#31 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#31 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#27 +# source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#27 RuboCop::Cop::Style::InfiniteLoop::LEADING_SPACE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/infinite_loop.rb#29 +# source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#29 RuboCop::Cop::Style::InfiniteLoop::MSG = T.let(T.unsafe(nil), String) # Checks for trailing inline comments. @@ -40610,13 +40757,13 @@ RuboCop::Cop::Style::InfiniteLoop::MSG = T.let(T.unsafe(nil), String) # f.bar # Trailing inline comment # end # -# source://rubocop/lib/rubocop/cop/style/inline_comment.rb#20 +# source://rubocop//lib/rubocop/cop/style/inline_comment.rb#20 class RuboCop::Cop::Style::InlineComment < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/inline_comment.rb#23 + # source://rubocop//lib/rubocop/cop/style/inline_comment.rb#23 def on_new_investigation; end end -# source://rubocop/lib/rubocop/cop/style/inline_comment.rb#21 +# source://rubocop//lib/rubocop/cop/style/inline_comment.rb#21 RuboCop::Cop::Style::InlineComment::MSG = T.let(T.unsafe(nil), String) # Check for usages of not (`not` or `!`) called on a method @@ -40652,66 +40799,66 @@ RuboCop::Cop::Style::InlineComment::MSG = T.let(T.unsafe(nil), String) # f != 1 # end # -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#43 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#43 class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#69 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#69 def inverse_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#60 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#60 def inverse_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#91 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#91 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#77 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#89 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#91 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#107 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#77 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#77 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#176 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#176 def camel_case_constant?(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#120 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#120 def correct_inverse_block(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#111 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#111 def correct_inverse_method(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#127 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#127 def correct_inverse_selector(block, corrector); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#180 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#180 def dot_range(loc); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#165 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#165 def end_parentheses(node, method_call); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#149 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#149 def inverse_blocks; end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#144 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#144 def inverse_methods; end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#190 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#190 def message(method, inverse); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#153 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#153 def negated?(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#161 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#161 def not_to_receiver(node, method_call); end # When comparing classes, `!(Integer < Numeric)` is not the same as @@ -40719,39 +40866,39 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#171 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#171 def possible_class_hierarchy_check?(lhs, rhs, method); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#157 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#157 def relational_comparison_with_safe_navigation?(node); end - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#184 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#184 def remove_end_parenthesis(corrector, node, method, method_call); end class << self - # source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#55 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#55 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#51 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#51 RuboCop::Cop::Style::InverseMethods::CAMEL_CASE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#48 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#48 RuboCop::Cop::Style::InverseMethods::CLASS_COMPARISON_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#49 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#49 RuboCop::Cop::Style::InverseMethods::EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#47 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#47 RuboCop::Cop::Style::InverseMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#50 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#50 RuboCop::Cop::Style::InverseMethods::NEGATED_EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/inverse_methods.rb#53 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#53 RuboCop::Cop::Style::InverseMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for usages of `unless` which can be replaced by `if` with inverted condition. @@ -40796,45 +40943,45 @@ RuboCop::Cop::Style::InverseMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good (if) # foo if !condition # -# source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#53 +# source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#53 class RuboCop::Cop::Style::InvertibleUnlessCondition < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#58 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#58 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#133 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#133 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#146 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#146 def autocorrect_send_node(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#90 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#90 def inheritance_check?(node); end - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#154 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#154 def inverse_methods; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#75 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#75 def invertible?(node); end - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#96 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#96 def preferred_condition(node); end - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#126 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#126 def preferred_logical_condition(node); end - # source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#104 + # source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#104 def preferred_send_condition(node); end end -# source://rubocop/lib/rubocop/cop/style/invertible_unless_condition.rb#56 +# source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#56 RuboCop::Cop::Style::InvertibleUnlessCondition::MSG = T.let(T.unsafe(nil), String) # Checks for hardcoded IP addresses, which can make code @@ -40851,54 +40998,54 @@ RuboCop::Cop::Style::InvertibleUnlessCondition::MSG = T.let(T.unsafe(nil), Strin # # good # ip_address = ENV['DEPLOYMENT_IP_ADDRESS'] # -# source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#21 +# source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#21 class RuboCop::Cop::Style::IpAddresses < ::RuboCop::Cop::Base include ::RuboCop::Cop::StringHelp # Dummy implementation of method in ConfigurableEnforcedStyle that is # called from StringHelp. # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#46 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#46 def correct_style_detected; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#27 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#27 def offense?(node); end # Dummy implementation of method in ConfigurableEnforcedStyle that is # called from StringHelp. # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#42 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#42 def opposite_style_detected; end private - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#50 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#50 def allowed_addresses; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#55 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#55 def could_be_ip?(str); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#68 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#68 def starts_with_hex_or_colon?(str); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#64 + # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#64 def too_long?(str); end end # IPv4-mapped IPv6 is the longest # -# source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#24 +# source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#24 RuboCop::Cop::Style::IpAddresses::IPV6_MAX_SIZE = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/style/ip_addresses.rb#25 +# source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#25 RuboCop::Cop::Style::IpAddresses::MSG = T.let(T.unsafe(nil), String) # Checks for assignments to a local `it` variable inside a block @@ -40920,13 +41067,13 @@ RuboCop::Cop::Style::IpAddresses::MSG = T.let(T.unsafe(nil), String) # foo { |bar| var = bar } # foo { bar = _2 } # -# source://rubocop/lib/rubocop/cop/style/it_assignment.rb#24 +# source://rubocop//lib/rubocop/cop/style/it_assignment.rb#24 class RuboCop::Cop::Style::ItAssignment < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/it_assignment.rb#27 + # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#27 def on_lvasgn(node); end end -# source://rubocop/lib/rubocop/cop/style/it_assignment.rb#25 +# source://rubocop//lib/rubocop/cop/style/it_assignment.rb#25 RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String) # When passing an existing hash as keyword arguments, provide additional arguments @@ -40944,23 +41091,23 @@ RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String) # some_method(**opts, foo: true) # some_method(**opts, **other_opts) # -# source://rubocop/lib/rubocop/cop/style/keyword_arguments_merging.rb#21 +# source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#21 class RuboCop::Cop::Style::KeywordArgumentsMerging < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/keyword_arguments_merging.rb#27 + # source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#27 def merge_kwargs?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/keyword_arguments_merging.rb#36 + # source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#36 def on_kwsplat(node); end private - # source://rubocop/lib/rubocop/cop/style/keyword_arguments_merging.rb#48 + # source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#48 def autocorrect(corrector, kwsplat_node, hash_node, other_hash_node); end end -# source://rubocop/lib/rubocop/cop/style/keyword_arguments_merging.rb#24 +# source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#24 RuboCop::Cop::Style::KeywordArgumentsMerging::MSG = T.let(T.unsafe(nil), String) # Enforces that optional keyword parameters are placed at the @@ -40991,24 +41138,24 @@ RuboCop::Cop::Style::KeywordArgumentsMerging::MSG = T.let(T.unsafe(nil), String) # # body omitted # end # -# source://rubocop/lib/rubocop/cop/style/keyword_parameters_order.rb#34 +# source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#34 class RuboCop::Cop::Style::KeywordParametersOrder < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/keyword_parameters_order.rb#40 + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#40 def on_kwoptarg(node); end private - # source://rubocop/lib/rubocop/cop/style/keyword_parameters_order.rb#58 + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#58 def append_newline_to_last_kwoptarg(arguments, corrector); end - # source://rubocop/lib/rubocop/cop/style/keyword_parameters_order.rb#66 + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#66 def remove_kwargs(kwarg_nodes, corrector); end end -# source://rubocop/lib/rubocop/cop/style/keyword_parameters_order.rb#38 +# source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#38 RuboCop::Cop::Style::KeywordParametersOrder::MSG = T.let(T.unsafe(nil), String) # (by default) checks for uses of the lambda literal syntax for @@ -41053,47 +41200,47 @@ RuboCop::Cop::Style::KeywordParametersOrder::MSG = T.let(T.unsafe(nil), String) # x # end # -# source://rubocop/lib/rubocop/cop/style/lambda.rb#49 +# source://rubocop//lib/rubocop/cop/style/lambda.rb#49 class RuboCop::Cop::Style::Lambda < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/lambda.rb#64 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#64 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/lambda.rb#64 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#79 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/style/lambda.rb#115 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#115 def arguments_with_whitespace(node); end - # source://rubocop/lib/rubocop/cop/style/lambda.rb#104 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#104 def autocorrect_method_to_literal(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/lambda.rb#119 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#119 def lambda_arg_string(args); end - # source://rubocop/lib/rubocop/cop/style/lambda.rb#89 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#89 def message(node, selector); end - # source://rubocop/lib/rubocop/cop/style/lambda.rb#95 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#95 def message_line_modifier(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/lambda.rb#83 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#83 def offending_selector?(node, selector); end end -# source://rubocop/lib/rubocop/cop/style/lambda.rb#53 +# source://rubocop//lib/rubocop/cop/style/lambda.rb#53 RuboCop::Cop::Style::Lambda::LITERAL_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/lambda.rb#54 +# source://rubocop//lib/rubocop/cop/style/lambda.rb#54 RuboCop::Cop::Style::Lambda::METHOD_MESSAGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/lambda.rb#56 +# source://rubocop//lib/rubocop/cop/style/lambda.rb#56 RuboCop::Cop::Style::Lambda::OFFENDING_SELECTORS = T.let(T.unsafe(nil), Hash) # Checks for use of the lambda.(args) syntax. @@ -41111,42 +41258,42 @@ RuboCop::Cop::Style::Lambda::OFFENDING_SELECTORS = T.let(T.unsafe(nil), Hash) # # good # lambda.(x, y) # -# source://rubocop/lib/rubocop/cop/style/lambda_call.rb#21 +# source://rubocop//lib/rubocop/cop/style/lambda_call.rb#21 class RuboCop::Cop::Style::LambdaCall < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#28 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#47 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#28 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#28 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#68 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#68 def explicit_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#64 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#64 def implicit_style?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#51 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#51 def offense?(node); end - # source://rubocop/lib/rubocop/cop/style/lambda_call.rb#55 + # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#55 def prefer(node); end end -# source://rubocop/lib/rubocop/cop/style/lambda_call.rb#25 +# source://rubocop//lib/rubocop/cop/style/lambda_call.rb#25 RuboCop::Cop::Style::LambdaCall::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/lambda_call.rb#26 +# source://rubocop//lib/rubocop/cop/style/lambda_call.rb#26 RuboCop::Cop::Style::LambdaCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for string literal concatenation at @@ -41165,80 +41312,80 @@ RuboCop::Cop::Style::LambdaCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # some_str = 'ala' \ # 'bala' # -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#35 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#35 class RuboCop::Cop::Style::LineEndConcatenation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#51 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#51 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#74 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#74 def autocorrect(corrector, operator_range); end - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#57 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#57 def check_token_set(index); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#101 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#101 def eligible_next_successor?(next_successor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#97 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#97 def eligible_operator?(operator); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#105 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#105 def eligible_predecessor?(predecessor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#93 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#93 def eligible_successor?(successor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#87 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#87 def eligible_token_set?(predecessor, operator, successor); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#124 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#124 def standard_string_literal?(token); end - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#109 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#109 def token_after_last_string(successor, base_index); end class << self - # source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#47 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#47 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#42 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#42 RuboCop::Cop::Style::LineEndConcatenation::COMPLEX_STRING_BEGIN_TOKEN = T.let(T.unsafe(nil), Symbol) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#43 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#43 RuboCop::Cop::Style::LineEndConcatenation::COMPLEX_STRING_END_TOKEN = T.let(T.unsafe(nil), Symbol) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#40 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#40 RuboCop::Cop::Style::LineEndConcatenation::CONCAT_TOKEN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#44 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#44 RuboCop::Cop::Style::LineEndConcatenation::HIGH_PRECEDENCE_OP_TOKEN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#39 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#39 RuboCop::Cop::Style::LineEndConcatenation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#45 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#45 RuboCop::Cop::Style::LineEndConcatenation::QUOTE_DELIMITERS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/line_end_concatenation.rb#41 +# source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#41 RuboCop::Cop::Style::LineEndConcatenation::SIMPLE_STRING_TOKEN_TYPE = T.let(T.unsafe(nil), Symbol) # Ensures magic comments are written consistently throughout your code base. @@ -41325,133 +41472,133 @@ RuboCop::Cop::Style::LineEndConcatenation::SIMPLE_STRING_TOKEN_TYPE = T.let(T.un # # ... # end # -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#97 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#97 class RuboCop::Cop::Style::MagicCommentFormat < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#156 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#156 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#241 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#241 def correct_separator; end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#279 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#279 def directive_capitalization; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#197 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#197 def directive_offends?(directive); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#233 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#233 def expected_style; end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#183 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#183 def find_issues(comment); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#207 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#207 def fix_directives(issues); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#221 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#221 def fix_values(issues); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#245 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#245 def incorrect_separator?(text); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#173 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#173 def leading_comment_lines; end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#275 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#275 def line_range(line); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#167 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#167 def magic_comments; end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#202 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#202 def register_offenses(issues); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#264 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#264 def replace_capitalization(text, style); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#260 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#260 def replace_separator(text); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#301 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#301 def supported_capitalizations; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#295 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#295 def valid_capitalization?(style); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#287 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#287 def value_capitalization; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#249 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#249 def wrong_capitalization?(text, expected_case); end - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#237 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#237 def wrong_separator; end end # Value object to extract source ranges for the different parts of a magic comment # -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#107 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#107 class RuboCop::Cop::Style::MagicCommentFormat::CommentRange extend ::RuboCop::SimpleForwardable # @return [CommentRange] a new instance of CommentRange # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#119 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#119 def initialize(comment); end # Returns the value of attribute comment. # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#117 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#117 def comment; end # A magic comment can contain one directive (normal style) or # multiple directives (emacs style) # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#125 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#125 def directives; end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 def loc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.37.0lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 def text(*_arg0, **_arg1, &_arg2); end # A magic comment can contain one value (normal style) or # multiple directives (emacs style) # - # source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#141 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#141 def values; end end -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#110 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#110 RuboCop::Cop::Style::MagicCommentFormat::CommentRange::DIRECTIVE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#114 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#114 RuboCop::Cop::Style::MagicCommentFormat::CommentRange::VALUE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#102 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#102 RuboCop::Cop::Style::MagicCommentFormat::KEBAB_SEPARATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#103 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#103 RuboCop::Cop::Style::MagicCommentFormat::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#104 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#104 RuboCop::Cop::Style::MagicCommentFormat::MSG_VALUE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/magic_comment_format.rb#101 +# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#101 RuboCop::Cop::Style::MagicCommentFormat::SNAKE_SEPARATOR = T.let(T.unsafe(nil), String) # Prefer `select` or `reject` over `map { ... }.compact`. @@ -41492,58 +41639,58 @@ RuboCop::Cop::Style::MagicCommentFormat::SNAKE_SEPARATOR = T.let(T.unsafe(nil), # # good # array.reject { |e| some_condition? } # -# source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#44 +# source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#44 class RuboCop::Cop::Style::MapCompactWithConditionalBlock < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#51 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#51 def conditional_block(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#76 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#92 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#76 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#76 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#148 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#148 def current(node); end - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#162 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#162 def filter_map_range(node); end - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#96 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#96 def inspect(node, block_argument_node, condition_node, return_value_node, range); end - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#158 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#158 def map_with_compact_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#114 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#114 def returns_block_argument?(block_argument_node, return_value_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#118 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#118 def truthy_branch?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#138 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#138 def truthy_branch_for_guard?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#128 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#128 def truthy_branch_for_if?(node); end end -# source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#47 +# source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#47 RuboCop::Cop::Style::MapCompactWithConditionalBlock::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/map_compact_with_conditional_block.rb#48 +# source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#48 RuboCop::Cop::Style::MapCompactWithConditionalBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for usages of `each` with `<<`, `push`, or `append` which @@ -41594,83 +41741,83 @@ RuboCop::Cop::Style::MapCompactWithConditionalBlock::RESTRICT_ON_SEND = T.let(T. # src.each { |e| dest << e * 2; puts e } # dest # -# source://rubocop/lib/rubocop/cop/style/map_into_array.rb#60 +# source://rubocop//lib/rubocop/cop/style/map_into_array.rb#60 class RuboCop::Cop::Style::MapIntoArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#109 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#109 def after_leaving_scope(scope, _variable_table); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#72 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#72 def each_block_with_push?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#81 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#81 def empty_array_asgn?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#93 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#93 def empty_array_tap(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#103 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#103 def lvar_ref?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#113 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#113 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#113 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#129 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#67 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#67 def suitable_argument_node?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#213 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#213 def correct_push_node(corrector, push_node); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#221 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#221 def correct_return_value_handling(corrector, block, dest_var); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#156 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#156 def dest_used_only_for_mapping?(block, dest_var, asgn); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#150 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#150 def find_closest_assignment(block, dest_var); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#133 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#133 def find_dest_var(block); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#181 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#181 def new_method_name; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#141 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#141 def offending_empty_array_tap?(node, dest_var); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#164 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#164 def register_offense(block, dest_var, asgn); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#200 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#200 def remove_assignment(corrector, asgn); end - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#207 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#207 def remove_tap(corrector, node, block_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#187 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#187 def return_value_used?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/map_into_array.rb#105 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#105 def joining_forces; end end end -# source://rubocop/lib/rubocop/cop/style/map_into_array.rb#64 +# source://rubocop//lib/rubocop/cop/style/map_into_array.rb#64 RuboCop::Cop::Style::MapIntoArray::MSG = T.let(T.unsafe(nil), String) # Looks for uses of `map.to_h` or `collect.to_h` that could be @@ -41693,36 +41840,36 @@ RuboCop::Cop::Style::MapIntoArray::MSG = T.let(T.unsafe(nil), String) # # good # {foo: bar}.to_h { |k, v| [k.to_s, v.do_something] } # -# source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#30 +# source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#30 class RuboCop::Cop::Style::MapToHash < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#41 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#41 def map_to_h(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#52 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#63 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#52 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#52 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#68 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#68 def autocorrect(corrector, to_h, map); end class << self - # source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#48 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#48 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#37 +# source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#37 RuboCop::Cop::Style::MapToHash::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/map_to_hash.rb#38 +# source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#38 RuboCop::Cop::Style::MapToHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for uses of `map.to_set` or `collect.to_set` that could be @@ -41741,27 +41888,27 @@ RuboCop::Cop::Style::MapToHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # [1, 2, 3].to_set { |i| i.to_s } # -# source://rubocop/lib/rubocop/cop/style/map_to_set.rb#26 +# source://rubocop//lib/rubocop/cop/style/map_to_set.rb#26 class RuboCop::Cop::Style::MapToSet < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/map_to_set.rb#34 + # source://rubocop//lib/rubocop/cop/style/map_to_set.rb#34 def map_to_set?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/map_to_set.rb#41 + # source://rubocop//lib/rubocop/cop/style/map_to_set.rb#41 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/map_to_set.rb#55 + # source://rubocop//lib/rubocop/cop/style/map_to_set.rb#55 def autocorrect(corrector, to_set, map); end end -# source://rubocop/lib/rubocop/cop/style/map_to_set.rb#30 +# source://rubocop//lib/rubocop/cop/style/map_to_set.rb#30 RuboCop::Cop::Style::MapToSet::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/map_to_set.rb#31 +# source://rubocop//lib/rubocop/cop/style/map_to_set.rb#31 RuboCop::Cop::Style::MapToSet::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the presence (default) or absence of parentheses in @@ -41952,7 +42099,7 @@ RuboCop::Cop::Style::MapToSet::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # okay with `^assert` listed in `AllowedPatterns` # assert_equal 'test', x # -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#204 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#204 class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::AllowedMethods @@ -41962,37 +42109,37 @@ class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#219 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#222 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#219 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#219 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#219 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#223 def on_yield(node); end private - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#227 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#227 def args_begin(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#235 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#235 def args_end(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#239 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#239 def args_parenthesized?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#215 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#215 def autocorrect_incompatible_with; end end end # Style omit_parentheses # -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#9 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#9 module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses include ::RuboCop::Cop::RangeHelp @@ -42000,115 +42147,115 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#80 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#80 def allowed_camel_case_method_call?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#194 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#194 def allowed_chained_call_with_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#190 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#190 def allowed_multiline_call_with_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#85 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#85 def allowed_string_interpolation_method_call?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#203 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#203 def ambiguous_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#183 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#183 def ambiguous_range_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#232 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#232 def assigned_before?(node, target); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#240 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#240 def assignment_in_condition?(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#34 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#34 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#164 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#164 def call_as_argument_or_chain?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#157 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#157 def call_in_argument_with_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#110 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#110 def call_in_literals?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#121 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#121 def call_in_logical_operators?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#170 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#170 def call_in_match_pattern?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#130 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#130 def call_in_optional_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#134 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#134 def call_in_single_line_inheritance?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#139 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#139 def call_with_ambiguous_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#153 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#153 def call_with_braced_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#250 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#250 def forwards_anonymous_rest_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#219 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#219 def hash_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#176 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#176 def hash_literal_in_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#50 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#50 def inside_endless_method_def?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#236 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#236 def inside_string_interpolation?(node); end # Require hash value omission be enclosed in parentheses to prevent the following issue: @@ -42116,106 +42263,106 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#64 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#64 def last_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#97 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#97 def legitimate_call_with_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#215 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#215 def logical_operator?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#72 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#72 def method_call_before_constant_resolution?(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#46 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#46 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#18 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#18 def omit_parentheses(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#90 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#90 def parentheses_at_the_end_of_multiline_call?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#223 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#223 def regexp_slash_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#55 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#55 def require_parentheses_for_hash_value_omission?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#207 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#207 def splat?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#76 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#76 def super_call_without_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#68 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#68 def syntax_like_method_call?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#211 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#211 def ternary_if?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#227 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#227 def unary_literal?(node); end end -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#13 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#13 RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses::OMIT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#12 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#12 RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses::TRAILING_WHITESPACE_REGEX = T.let(T.unsafe(nil), Regexp) # Style require_parentheses # -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#8 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#8 module RuboCop::Cop::Style::MethodCallWithArgsParentheses::RequireParentheses private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#27 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#27 def allowed_method_name?(name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#31 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#31 def eligible_for_parentheses_omission?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#39 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#39 def ignored_macro?(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#35 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#35 def included_macros_list; end - # source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#14 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#14 def require_parentheses(node); end end -# source://rubocop/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#9 +# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb#9 RuboCop::Cop::Style::MethodCallWithArgsParentheses::RequireParentheses::REQUIRE_MSG = T.let(T.unsafe(nil), String) # Checks for unwanted parentheses in parameterless method calls. @@ -42239,38 +42386,38 @@ RuboCop::Cop::Style::MethodCallWithArgsParentheses::RequireParentheses::REQUIRE_ # # good # object.foo() # -# source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#29 +# source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#29 class RuboCop::Cop::Style::MethodCallWithoutArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#37 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#37 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#66 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#66 def allowed_method_name?(name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#96 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#96 def any_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#62 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#62 def default_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#58 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#58 def ineligible_node?(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#113 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#113 def offense_range(node); end # Respects `Lint/ItWithoutArgumentsInBlock` cop and the following Ruby 3.3's warning: @@ -42281,24 +42428,24 @@ class RuboCop::Cop::Style::MethodCallWithoutArgsParentheses < ::RuboCop::Cop::Ba # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#88 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#88 def parenthesized_it_method_in_block?(node); end - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#51 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#51 def register_offense(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#70 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#70 def same_name_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#109 + # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#109 def variable_in_mass_assignment?(variable_name, node); end end -# source://rubocop/lib/rubocop/cop/style/method_call_without_args_parentheses.rb#34 +# source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#34 RuboCop::Cop::Style::MethodCallWithoutArgsParentheses::MSG = T.let(T.unsafe(nil), String) # Checks for methods called on a do...end block. The point of @@ -42320,24 +42467,24 @@ RuboCop::Cop::Style::MethodCallWithoutArgsParentheses::MSG = T.let(T.unsafe(nil) # end # foo.c # -# source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#24 +# source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#24 class RuboCop::Cop::Style::MethodCalledOnDoEndBlock < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#29 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#29 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#40 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#52 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#29 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#38 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#40 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#40 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/method_called_on_do_end_block.rb#27 +# source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#27 RuboCop::Cop::Style::MethodCalledOnDoEndBlock::MSG = T.let(T.unsafe(nil), String) # Checks for parentheses around the arguments in method @@ -42430,54 +42577,54 @@ RuboCop::Cop::Style::MethodCalledOnDoEndBlock::MSG = T.let(T.unsafe(nil), String # do_something # end # -# source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#97 +# source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#97 class RuboCop::Cop::Style::MethodDefParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#105 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#105 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#105 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#122 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#169 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#169 def anonymous_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#147 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#147 def arguments_without_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#126 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#126 def correct_arguments(arg_node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#131 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#131 def forced_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#151 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#151 def missing_parentheses(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#142 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#142 def require_parentheses?(args); end - # source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#161 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#161 def unwanted_parentheses(args); end end -# source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#103 +# source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#103 RuboCop::Cop::Style::MethodDefParentheses::MSG_MISSING = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/method_def_parentheses.rb#102 +# source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#102 RuboCop::Cop::Style::MethodDefParentheses::MSG_PRESENT = T.let(T.unsafe(nil), String) # Checks for potential uses of `Enumerable#minmax`. @@ -42492,32 +42639,32 @@ RuboCop::Cop::Style::MethodDefParentheses::MSG_PRESENT = T.let(T.unsafe(nil), St # bar = foo.minmax # return foo.minmax # -# source://rubocop/lib/rubocop/cop/style/min_max.rb#17 +# source://rubocop//lib/rubocop/cop/style/min_max.rb#17 class RuboCop::Cop::Style::MinMax < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/min_max.rb#38 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#38 def min_max_candidate(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/min_max.rb#22 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#22 def on_array(node); end - # source://rubocop/lib/rubocop/cop/style/min_max.rb#22 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#33 def on_return(node); end private - # source://rubocop/lib/rubocop/cop/style/min_max.rb#55 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#55 def argument_range(node); end - # source://rubocop/lib/rubocop/cop/style/min_max.rb#42 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#42 def message(offender, receiver); end - # source://rubocop/lib/rubocop/cop/style/min_max.rb#46 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#46 def offending_range(node); end end -# source://rubocop/lib/rubocop/cop/style/min_max.rb#20 +# source://rubocop//lib/rubocop/cop/style/min_max.rb#20 RuboCop::Cop::Style::MinMax::MSG = T.let(T.unsafe(nil), String) # Enforces the use of `max` or `min` instead of comparison for greater or less. @@ -42547,33 +42694,33 @@ RuboCop::Cop::Style::MinMax::MSG = T.let(T.unsafe(nil), String) # # good # [a, b].min # -# source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#37 +# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#37 class RuboCop::Cop::Style::MinMaxComparison < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#46 + # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#46 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#72 + # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#72 def autocorrect(corrector, node, replacement); end - # source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#64 + # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#64 def preferred_method(operator, lhs, rhs, if_branch, else_branch); end end -# source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#44 +# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#44 RuboCop::Cop::Style::MinMaxComparison::COMPARISON_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#42 +# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#42 RuboCop::Cop::Style::MinMaxComparison::GRATER_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#43 +# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#43 RuboCop::Cop::Style::MinMaxComparison::LESS_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/min_max_comparison.rb#41 +# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#41 RuboCop::Cop::Style::MinMaxComparison::MSG = T.let(T.unsafe(nil), String) # Checks for `if` expressions that do not have an `else` branch. @@ -42668,64 +42815,64 @@ RuboCop::Cop::Style::MinMaxComparison::MSG = T.let(T.unsafe(nil), String) # # the content of `else` branch will be determined by Style/EmptyElse # end # -# source://rubocop/lib/rubocop/cop/style/missing_else.rb#99 +# source://rubocop//lib/rubocop/cop/style/missing_else.rb#99 class RuboCop::Cop::Style::MissingElse < ::RuboCop::Cop::Base include ::RuboCop::Cop::OnNormalIfUnless include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#115 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#115 def on_case(node); end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#121 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#121 def on_case_match(node); end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#108 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#108 def on_normal_if_unless(node); end private - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#146 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#146 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#161 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#161 def case_style?; end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#127 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#127 def check(node); end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#179 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#179 def empty_else_config; end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#173 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#173 def empty_else_style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#157 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#157 def if_style?; end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#135 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#135 def message_template; end - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#169 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#169 def unless_else_config; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/missing_else.rb#165 + # source://rubocop//lib/rubocop/cop/style/missing_else.rb#165 def unless_else_cop_enabled?; end end -# source://rubocop/lib/rubocop/cop/style/missing_else.rb#104 +# source://rubocop//lib/rubocop/cop/style/missing_else.rb#104 RuboCop::Cop::Style::MissingElse::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/missing_else.rb#106 +# source://rubocop//lib/rubocop/cop/style/missing_else.rb#106 RuboCop::Cop::Style::MissingElse::MSG_EMPTY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/missing_else.rb#105 +# source://rubocop//lib/rubocop/cop/style/missing_else.rb#105 RuboCop::Cop::Style::MissingElse::MSG_NIL = T.let(T.unsafe(nil), String) # Checks for the presence of `method_missing` without also @@ -42776,23 +42923,23 @@ RuboCop::Cop::Style::MissingElse::MSG_NIL = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/missing_respond_to_missing.rb#54 +# source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#54 class RuboCop::Cop::Style::MissingRespondToMissing < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/missing_respond_to_missing.rb#57 + # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#57 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/missing_respond_to_missing.rb#57 + # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#63 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/missing_respond_to_missing.rb#67 + # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#67 def implements_respond_to_missing?(node); end end -# source://rubocop/lib/rubocop/cop/style/missing_respond_to_missing.rb#55 +# source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#55 RuboCop::Cop::Style::MissingRespondToMissing::MSG = T.let(T.unsafe(nil), String) # Checks for grouping of mixins in `class` and `module` bodies. @@ -42822,55 +42969,55 @@ RuboCop::Cop::Style::MissingRespondToMissing::MSG = T.let(T.unsafe(nil), String) # extend Qox, Bar # end # -# source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#33 +# source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#33 class RuboCop::Cop::Style::MixinGrouping < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#40 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#40 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#40 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#49 def on_module(node); end private - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#64 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#64 def check(send_node); end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#72 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#72 def check_grouped_style(send_node); end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#91 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#91 def check_separated_style(send_node); end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#127 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#127 def group_mixins(node, mixins); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#110 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#110 def grouped_style?; end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#53 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#53 def range_to_remove_for_subsequent_mixin(mixins, node); end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#118 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#118 def separate_mixins(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#114 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#114 def separated_style?; end - # source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#104 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#104 def sibling_mixins(send_node); end end -# source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#37 +# source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#37 RuboCop::Cop::Style::MixinGrouping::MIXIN_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/mixin_grouping.rb#38 +# source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#38 RuboCop::Cop::Style::MixinGrouping::MSG = T.let(T.unsafe(nil), String) # Checks that `include`, `extend` and `prepend` statements appear @@ -42911,22 +43058,22 @@ RuboCop::Cop::Style::MixinGrouping::MSG = T.let(T.unsafe(nil), String) # prepend M # end # -# source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#43 +# source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#43 class RuboCop::Cop::Style::MixinUsage < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#54 + # source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#54 def in_top_level_scope?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#48 + # source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#48 def include_statement(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#62 + # source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#62 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#44 +# source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#44 RuboCop::Cop::Style::MixinUsage::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/mixin_usage.rb#45 +# source://rubocop//lib/rubocop/cop/style/mixin_usage.rb#45 RuboCop::Cop::Style::MixinUsage::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for use of `extend self` or `module_function` in a module. @@ -43013,48 +43160,48 @@ RuboCop::Cop::Style::MixinUsage::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # end # end # -# source://rubocop/lib/rubocop/cop/style/module_function.rb#95 +# source://rubocop//lib/rubocop/cop/style/module_function.rb#95 class RuboCop::Cop::Style::ModuleFunction < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/module_function.rb#107 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#107 def extend_self_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#104 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#104 def module_function_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#112 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#112 def on_module(node); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#110 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#110 def private_directive?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/module_function.rb#149 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#149 def check_extend_self(nodes); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#155 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#155 def check_forbidden(nodes); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#141 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#141 def check_module_function(nodes); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#130 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#130 def each_wrong_style(nodes, &block); end - # source://rubocop/lib/rubocop/cop/style/module_function.rb#162 + # source://rubocop//lib/rubocop/cop/style/module_function.rb#162 def message(_range); end end -# source://rubocop/lib/rubocop/cop/style/module_function.rb#100 +# source://rubocop//lib/rubocop/cop/style/module_function.rb#100 RuboCop::Cop::Style::ModuleFunction::EXTEND_SELF_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/module_function.rb#101 +# source://rubocop//lib/rubocop/cop/style/module_function.rb#101 RuboCop::Cop::Style::ModuleFunction::FORBIDDEN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/module_function.rb#99 +# source://rubocop//lib/rubocop/cop/style/module_function.rb#99 RuboCop::Cop::Style::ModuleFunction::MODULE_FUNCTION_MSG = T.let(T.unsafe(nil), String) # Checks for chaining of a block after another block that spans @@ -43077,18 +43224,18 @@ RuboCop::Cop::Style::ModuleFunction::MODULE_FUNCTION_MSG = T.let(T.unsafe(nil), # t.object_id # end # -# source://rubocop/lib/rubocop/cop/style/multiline_block_chain.rb#25 +# source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#25 class RuboCop::Cop::Style::MultilineBlockChain < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop/lib/rubocop/cop/style/multiline_block_chain.rb#30 + # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#30 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_block_chain.rb#30 + # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#46 def on_numblock(node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_block_chain.rb#28 +# source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#28 RuboCop::Cop::Style::MultilineBlockChain::MSG = T.let(T.unsafe(nil), String) # Checks for uses of if/unless modifiers with multiple-lines bodies. @@ -43103,26 +43250,26 @@ RuboCop::Cop::Style::MultilineBlockChain::MSG = T.let(T.unsafe(nil), String) # # good # { result: 'ok' } if cond # -# source://rubocop/lib/rubocop/cop/style/multiline_if_modifier.rb#17 +# source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#17 class RuboCop::Cop::Style::MultilineIfModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp include ::RuboCop::Cop::StatementModifier extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_if_modifier.rb#25 + # source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#25 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/multiline_if_modifier.rb#43 + # source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#43 def indented_body(body, node); end - # source://rubocop/lib/rubocop/cop/style/multiline_if_modifier.rb#35 + # source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#35 def to_normal_if(node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_if_modifier.rb#22 +# source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#22 RuboCop::Cop::Style::MultilineIfModifier::MSG = T.let(T.unsafe(nil), String) # Checks for uses of the `then` keyword in multi-line if statements. @@ -43139,27 +43286,27 @@ RuboCop::Cop::Style::MultilineIfModifier::MSG = T.let(T.unsafe(nil), String) # elsif cond then b # end # -# source://rubocop/lib/rubocop/cop/style/multiline_if_then.rb#19 +# source://rubocop//lib/rubocop/cop/style/multiline_if_then.rb#19 class RuboCop::Cop::Style::MultilineIfThen < ::RuboCop::Cop::Base include ::RuboCop::Cop::OnNormalIfUnless include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_if_then.rb#28 + # source://rubocop//lib/rubocop/cop/style/multiline_if_then.rb#28 def on_normal_if_unless(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_if_then.rb#38 + # source://rubocop//lib/rubocop/cop/style/multiline_if_then.rb#38 def non_modifier_then?(node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_if_then.rb#26 +# source://rubocop//lib/rubocop/cop/style/multiline_if_then.rb#26 RuboCop::Cop::Style::MultilineIfThen::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/multiline_if_then.rb#24 +# source://rubocop//lib/rubocop/cop/style/multiline_if_then.rb#24 RuboCop::Cop::Style::MultilineIfThen::NON_MODIFIER_THEN = T.let(T.unsafe(nil), Regexp) # Checks uses of the `then` keyword in multi-line `in` statement. @@ -43186,13 +43333,13 @@ RuboCop::Cop::Style::MultilineIfThen::NON_MODIFIER_THEN = T.let(T.unsafe(nil), R # arg2) # end # -# source://rubocop/lib/rubocop/cop/style/multiline_in_pattern_then.rb#30 +# source://rubocop//lib/rubocop/cop/style/multiline_in_pattern_then.rb#30 class RuboCop::Cop::Style::MultilineInPatternThen < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/multiline_in_pattern_then.rb#39 + # source://rubocop//lib/rubocop/cop/style/multiline_in_pattern_then.rb#39 def on_in_pattern(node); end private @@ -43201,11 +43348,11 @@ class RuboCop::Cop::Style::MultilineInPatternThen < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_in_pattern_then.rb#51 + # source://rubocop//lib/rubocop/cop/style/multiline_in_pattern_then.rb#51 def require_then?(in_pattern_node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_in_pattern_then.rb#37 +# source://rubocop//lib/rubocop/cop/style/multiline_in_pattern_then.rb#37 RuboCop::Cop::Style::MultilineInPatternThen::MSG = T.let(T.unsafe(nil), String) # Checks expressions wrapping styles for multiline memoization. @@ -43235,39 +43382,39 @@ RuboCop::Cop::Style::MultilineInPatternThen::MSG = T.let(T.unsafe(nil), String) # baz # ) # -# source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#33 +# source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#33 class RuboCop::Cop::Style::MultilineMemoization < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#56 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#56 def message(_node); end - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#41 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#41 def on_or_asgn(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#62 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#62 def bad_rhs?(rhs); end - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#72 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#72 def keyword_autocorrect(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#78 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#78 def keyword_begin_str(node, node_buf); end - # source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#86 + # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#86 def keyword_end_str(node, node_buf); end end -# source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#39 +# source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#39 RuboCop::Cop::Style::MultilineMemoization::BRACES_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/multiline_memoization.rb#38 +# source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#38 RuboCop::Cop::Style::MultilineMemoization::KEYWORD_MSG = T.let(T.unsafe(nil), String) # Checks for method signatures that span multiple lines. @@ -43285,50 +43432,50 @@ RuboCop::Cop::Style::MultilineMemoization::KEYWORD_MSG = T.let(T.unsafe(nil), St # baz) # end # -# source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#21 +# source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#21 class RuboCop::Cop::Style::MultilineMethodSignature < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#27 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#27 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#27 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#37 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#69 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#69 def arguments_range(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#42 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#42 def autocorrect(corrector, node, begin_of_arguments); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#81 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#81 def closing_line(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#85 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#85 def correction_exceeds_max_line_length?(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#93 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#93 def definition_width(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#89 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#89 def indentation_width(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#65 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#65 def last_line_source_of_arguments(arguments); end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#97 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#97 def max_line_length; end - # source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#77 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#77 def opening_line(node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_method_signature.rb#25 +# source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#25 RuboCop::Cop::Style::MultilineMethodSignature::MSG = T.let(T.unsafe(nil), String) # Checks for multi-line ternary op expressions. @@ -43361,48 +43508,48 @@ RuboCop::Cop::Style::MultilineMethodSignature::MSG = T.let(T.unsafe(nil), String # # return cond ? b : c # -# source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#36 +# source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#36 class RuboCop::Cop::Style::MultilineTernaryOperator < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#44 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#44 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#64 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#64 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#86 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#86 def comments_in_condition(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#92 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#92 def enforce_single_line_ternary_operator?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#60 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#60 def offense?(node); end - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#72 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#72 def replacement(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#96 + # source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#96 def use_assignment_method?(node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#40 +# source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#40 RuboCop::Cop::Style::MultilineTernaryOperator::MSG_IF = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#41 +# source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#41 RuboCop::Cop::Style::MultilineTernaryOperator::MSG_SINGLE_LINE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/multiline_ternary_operator.rb#42 +# source://rubocop//lib/rubocop/cop/style/multiline_ternary_operator.rb#42 RuboCop::Cop::Style::MultilineTernaryOperator::SINGLE_LINE_TYPES = T.let(T.unsafe(nil), Array) # Checks uses of the `then` keyword @@ -43430,12 +43577,12 @@ RuboCop::Cop::Style::MultilineTernaryOperator::SINGLE_LINE_TYPES = T.let(T.unsaf # arg2) # end # -# source://rubocop/lib/rubocop/cop/style/multiline_when_then.rb#31 +# source://rubocop//lib/rubocop/cop/style/multiline_when_then.rb#31 class RuboCop::Cop::Style::MultilineWhenThen < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiline_when_then.rb#37 + # source://rubocop//lib/rubocop/cop/style/multiline_when_then.rb#37 def on_when(node); end private @@ -43444,11 +43591,11 @@ class RuboCop::Cop::Style::MultilineWhenThen < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiline_when_then.rb#49 + # source://rubocop//lib/rubocop/cop/style/multiline_when_then.rb#49 def require_then?(when_node); end end -# source://rubocop/lib/rubocop/cop/style/multiline_when_then.rb#35 +# source://rubocop//lib/rubocop/cop/style/multiline_when_then.rb#35 RuboCop::Cop::Style::MultilineWhenThen::MSG = T.let(T.unsafe(nil), String) # Checks against comparing a variable with multiple items, where @@ -43493,59 +43640,59 @@ RuboCop::Cop::Style::MultilineWhenThen::MSG = T.let(T.unsafe(nil), String) # # good # foo if a == 'a' || a == 'b' # -# source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#52 +# source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#52 class RuboCop::Cop::Style::MultipleComparison < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#74 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#74 def on_or(node); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#64 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#64 def simple_comparison_lhs(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#69 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#69 def simple_comparison_rhs(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#59 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#59 def simple_double_comparison?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#154 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#154 def allow_method_comparison?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#132 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#132 def comparison?(node); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#158 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#158 def comparisons_threshold; end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#97 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#97 def find_offending_var(node, variables = T.unsafe(nil), values = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#124 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#124 def nested_comparison?(node); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#116 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#116 def offense_range(values); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#144 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#144 def root_of_or_node(or_node); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#136 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#136 def simple_comparison(node); end - # source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#120 + # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#120 def variable_name(node); end end -# source://rubocop/lib/rubocop/cop/style/multiple_comparison.rb#55 +# source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#55 RuboCop::Cop::Style::MultipleComparison::MSG = T.let(T.unsafe(nil), String) # Checks whether some constant value isn't a @@ -43617,75 +43764,72 @@ RuboCop::Cop::Style::MultipleComparison::MSG = T.let(T.unsafe(nil), String) # # shareable_constant_value: literal # CONST = [1, 2, 3] # -# source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#83 +# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#83 class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base include ::RuboCop::Cop::Style::MutableConstant::ShareableConstantValue include ::RuboCop::Cop::FrozenStringLiteral include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet/0.8.7lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#140 def on_assignment(value); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#127 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127 def on_casgn(node); end # Some of these patterns may not actually return an immutable object, # but we want to consider them immutable for this cop. # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#223 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#223 def operation_produces_immutable_object?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#240 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#240 def range_enclosed_in_parentheses?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#216 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#216 def splat_value(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet/0.8.7lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12 - def t_let(param0 = T.unsafe(nil)); end - private - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#168 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#168 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#157 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#157 def check(value); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#207 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#207 def correct_splat_expansion(corrector, expr, splat_value); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#199 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#199 def frozen_regexp_or_range_literals?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#189 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#189 def immutable_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#183 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#183 def mutable_literal?(value); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#203 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#203 def requires_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#193 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#193 def shareable_constant_value?(node); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#148 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#148 def strict_check(value); end end -# source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#125 +# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#125 RuboCop::Cop::Style::MutableConstant::MSG = T.let(T.unsafe(nil), String) # Handles magic comment shareable_constant_value with O(n ^ 2) complexity @@ -43693,35 +43837,35 @@ RuboCop::Cop::Style::MutableConstant::MSG = T.let(T.unsafe(nil), String) # Iterates over all lines before a CONSTANT # until it reaches shareable_constant_value # -# source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#88 +# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#88 module RuboCop::Cop::Style::MutableConstant::ShareableConstantValue private # Identifies the most recent magic comment with valid shareable constant values # that's in scope for this node # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#102 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#102 def magic_comment_in_scope(node); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#110 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#110 def processed_source_till_node(node); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#91 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#91 def recent_shareable_value?(node); end - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#114 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#114 def shareable_constant_value_enabled?(value); end class << self # Identifies the most recent magic comment with valid shareable constant values # that's in scope for this node # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#102 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#102 def magic_comment_in_scope(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/mutable_constant.rb#91 + # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#91 def recent_shareable_value?(node); end end end @@ -43790,23 +43934,23 @@ end # bar # end # -# source://rubocop/lib/rubocop/cop/style/negated_if.rb#71 +# source://rubocop//lib/rubocop/cop/style/negated_if.rb#71 class RuboCop::Cop::Style::NegatedIf < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::NegativeConditional extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/negated_if.rb#76 + # source://rubocop//lib/rubocop/cop/style/negated_if.rb#76 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/negated_if.rb#92 + # source://rubocop//lib/rubocop/cop/style/negated_if.rb#92 def correct_style?(node); end - # source://rubocop/lib/rubocop/cop/style/negated_if.rb#88 + # source://rubocop//lib/rubocop/cop/style/negated_if.rb#88 def message(node); end end @@ -43834,69 +43978,69 @@ end # # good # x ? do_something_else : do_something # -# source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#30 +# source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#30 class RuboCop::Cop::Style::NegatedIfElseCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#39 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#39 def double_negation?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#50 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#50 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#45 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#45 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#97 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#97 def correct_negated_condition(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#93 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#93 def corrected_ancestor?(node); end # Collect the entire else branch, including whitespace and comments # - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#127 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#127 def else_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#71 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#71 def if_else?(node); end # Collect the entire if branch, including whitespace and comments # - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#118 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#118 def if_range(node); end - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#87 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#87 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#82 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#82 def negated_condition?(node); end - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#109 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#109 def swap_branches(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#76 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#76 def unwrap_begin_nodes(node); end class << self - # source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#41 + # source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#41 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#34 +# source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#34 RuboCop::Cop::Style::NegatedIfElseCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/negated_if_else_condition.rb#36 +# source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#36 RuboCop::Cop::Style::NegatedIfElseCondition::NEGATED_EQUALITY_METHODS = T.let(T.unsafe(nil), Array) # Checks for uses of unless with a negated condition. Only unless @@ -43953,23 +44097,23 @@ RuboCop::Cop::Style::NegatedIfElseCondition::NEGATED_EQUALITY_METHODS = T.let(T. # bar # end # -# source://rubocop/lib/rubocop/cop/style/negated_unless.rb#61 +# source://rubocop//lib/rubocop/cop/style/negated_unless.rb#61 class RuboCop::Cop::Style::NegatedUnless < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::NegativeConditional extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/negated_unless.rb#66 + # source://rubocop//lib/rubocop/cop/style/negated_unless.rb#66 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/negated_unless.rb#82 + # source://rubocop//lib/rubocop/cop/style/negated_unless.rb#82 def correct_style?(node); end - # source://rubocop/lib/rubocop/cop/style/negated_unless.rb#78 + # source://rubocop//lib/rubocop/cop/style/negated_unless.rb#78 def message(node); end end @@ -43993,15 +44137,15 @@ end # bar while foo # bar while !foo && baz # -# source://rubocop/lib/rubocop/cop/style/negated_while.rb#25 +# source://rubocop//lib/rubocop/cop/style/negated_while.rb#25 class RuboCop::Cop::Style::NegatedWhile < ::RuboCop::Cop::Base include ::RuboCop::Cop::NegativeConditional extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/negated_while.rb#29 + # source://rubocop//lib/rubocop/cop/style/negated_while.rb#36 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/negated_while.rb#29 + # source://rubocop//lib/rubocop/cop/style/negated_while.rb#29 def on_while(node); end end @@ -44016,31 +44160,31 @@ end # # good # File.dirname(path, 2) # -# source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#17 +# source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#17 class RuboCop::Cop::Style::NestedFileDirname < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#28 + # source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#28 def file_dirname?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#33 + # source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#33 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#60 + # source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#60 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#49 + # source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#49 def path_with_dir_level(node, level); end end -# source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#22 +# source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#22 RuboCop::Cop::Style::NestedFileDirname::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/nested_file_dirname.rb#23 +# source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#23 RuboCop::Cop::Style::NestedFileDirname::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for nested use of if, unless, while and until in their @@ -44054,55 +44198,55 @@ RuboCop::Cop::Style::NestedFileDirname::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # good # something if b && a # -# source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#16 +# source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#16 class RuboCop::Cop::Style::NestedModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#22 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#26 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#22 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#25 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#22 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#22 def on_while(node); end private - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#85 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#85 def add_parentheses_to_method_arguments(send_node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#42 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#42 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#30 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#30 def check(node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#65 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#65 def left_hand_operand(node, operator); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#38 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#38 def modifier?(node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#51 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#51 def new_expression(inner_node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#61 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#61 def replacement_operator(keyword); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#94 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#94 def requires_parens?(node); end - # source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#71 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#71 def right_hand_operand(node, left_hand_keyword); end end -# source://rubocop/lib/rubocop/cop/style/nested_modifier.rb#20 +# source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#20 RuboCop::Cop::Style::NestedModifier::MSG = T.let(T.unsafe(nil), String) # Checks for unparenthesized method calls in the argument list @@ -44122,40 +44266,40 @@ RuboCop::Cop::Style::NestedModifier::MSG = T.let(T.unsafe(nil), String) # # good # method1(foo arg) # -# source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#24 +# source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#24 class RuboCop::Cop::Style::NestedParenthesizedCalls < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#35 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#47 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#35 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#35 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#71 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#71 def allowed?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#65 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#65 def allowed_omission?(send_node); end - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#51 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#51 def autocorrect(corrector, nested); end class << self - # source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#31 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#31 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/nested_parenthesized_calls.rb#29 +# source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#29 RuboCop::Cop::Style::NestedParenthesizedCalls::MSG = T.let(T.unsafe(nil), String) # Checks for nested ternary op expressions. @@ -44171,27 +44315,27 @@ RuboCop::Cop::Style::NestedParenthesizedCalls::MSG = T.let(T.unsafe(nil), String # a2 # end # -# source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#18 +# source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#18 class RuboCop::Cop::Style::NestedTernaryOperator < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#24 + # source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#24 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#39 + # source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#39 def autocorrect(corrector, if_node); end - # source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#46 + # source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#46 def remove_parentheses(source); end - # source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#54 + # source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#54 def replace_loc_and_whitespace(corrector, range, replacement); end end -# source://rubocop/lib/rubocop/cop/style/nested_ternary_operator.rb#22 +# source://rubocop//lib/rubocop/cop/style/nested_ternary_operator.rb#22 RuboCop::Cop::Style::NestedTernaryOperator::MSG = T.let(T.unsafe(nil), String) # Use `next` to skip iteration instead of a condition at the end. @@ -44237,116 +44381,116 @@ RuboCop::Cop::Style::NestedTernaryOperator::MSG = T.let(T.unsafe(nil), String) # puts a # end # -# source://rubocop/lib/rubocop/cop/style/next.rb#49 +# source://rubocop//lib/rubocop/cop/style/next.rb#49 class RuboCop::Cop::Style::Next < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MinBodyLength include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/next.rb#68 + # source://rubocop//lib/rubocop/cop/style/next.rb#68 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#76 + # source://rubocop//lib/rubocop/cop/style/next.rb#80 def on_for(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#62 + # source://rubocop//lib/rubocop/cop/style/next.rb#62 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/style/next.rb#68 + # source://rubocop//lib/rubocop/cop/style/next.rb#74 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#76 + # source://rubocop//lib/rubocop/cop/style/next.rb#79 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#76 + # source://rubocop//lib/rubocop/cop/style/next.rb#76 def on_while(node); end private - # source://rubocop/lib/rubocop/cop/style/next.rb#213 + # source://rubocop//lib/rubocop/cop/style/next.rb#213 def actual_indent(lines, buffer); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#112 + # source://rubocop//lib/rubocop/cop/style/next.rb#112 def allowed_modifier_if?(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#155 + # source://rubocop//lib/rubocop/cop/style/next.rb#155 def autocorrect_block(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#145 + # source://rubocop//lib/rubocop/cop/style/next.rb#145 def autocorrect_modifier(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#84 + # source://rubocop//lib/rubocop/cop/style/next.rb#84 def check(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#170 + # source://rubocop//lib/rubocop/cop/style/next.rb#170 def cond_range(node, cond); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#189 + # source://rubocop//lib/rubocop/cop/style/next.rb#189 def end_followed_by_whitespace_only?(source_buffer, end_pos); end - # source://rubocop/lib/rubocop/cop/style/next.rb#180 + # source://rubocop//lib/rubocop/cop/style/next.rb#180 def end_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#98 + # source://rubocop//lib/rubocop/cop/style/next.rb#98 def ends_with_condition?(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#128 + # source://rubocop//lib/rubocop/cop/style/next.rb#128 def exit_body_type?(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#217 + # source://rubocop//lib/rubocop/cop/style/next.rb#217 def heredoc_lines(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#120 + # source://rubocop//lib/rubocop/cop/style/next.rb#120 def if_else_children?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#124 + # source://rubocop//lib/rubocop/cop/style/next.rb#124 def if_without_else?(node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#140 + # source://rubocop//lib/rubocop/cop/style/next.rb#140 def offense_location(offense_node); end - # source://rubocop/lib/rubocop/cop/style/next.rb#134 + # source://rubocop//lib/rubocop/cop/style/next.rb#134 def offense_node(body); end # Adjust indentation of `lines` to match `node` # - # source://rubocop/lib/rubocop/cop/style/next.rb#204 + # source://rubocop//lib/rubocop/cop/style/next.rb#204 def reindent(lines, node, corrector); end - # source://rubocop/lib/rubocop/cop/style/next.rb#224 + # source://rubocop//lib/rubocop/cop/style/next.rb#224 def reindent_line(corrector, lineno, delta, buffer); end - # source://rubocop/lib/rubocop/cop/style/next.rb#193 + # source://rubocop//lib/rubocop/cop/style/next.rb#193 def reindentable_lines(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/next.rb#104 + # source://rubocop//lib/rubocop/cop/style/next.rb#104 def simple_if_without_break?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/next.rb#58 + # source://rubocop//lib/rubocop/cop/style/next.rb#58 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/next.rb#56 +# source://rubocop//lib/rubocop/cop/style/next.rb#56 RuboCop::Cop::Style::Next::EXIT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/next.rb#55 +# source://rubocop//lib/rubocop/cop/style/next.rb#55 RuboCop::Cop::Style::Next::MSG = T.let(T.unsafe(nil), String) # Checks for comparison of something with nil using `==` and @@ -44373,43 +44517,43 @@ RuboCop::Cop::Style::Next::MSG = T.let(T.unsafe(nil), String) # if x == nil # end # -# source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#31 +# source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#31 class RuboCop::Cop::Style::NilComparison < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#44 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#44 def nil_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#41 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#41 def nil_comparison?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#46 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#46 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#67 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#67 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#79 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#79 def prefer_comparison?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#71 + # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#71 def style_check?(node, &block); end end -# source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#36 +# source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#36 RuboCop::Cop::Style::NilComparison::EXPLICIT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#35 +# source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#35 RuboCop::Cop::Style::NilComparison::PREDICATE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/nil_comparison.rb#38 +# source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#38 RuboCop::Cop::Style::NilComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for lambdas and procs that always return nil, @@ -44441,24 +44585,24 @@ RuboCop::Cop::Style::NilComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # # Proc.new { nil if x } # -# source://rubocop/lib/rubocop/cop/style/nil_lambda.rb#35 +# source://rubocop//lib/rubocop/cop/style/nil_lambda.rb#35 class RuboCop::Cop::Style::NilLambda < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/nil_lambda.rb#42 + # source://rubocop//lib/rubocop/cop/style/nil_lambda.rb#42 def nil_return?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/nil_lambda.rb#46 + # source://rubocop//lib/rubocop/cop/style/nil_lambda.rb#46 def on_block(node); end private - # source://rubocop/lib/rubocop/cop/style/nil_lambda.rb#58 + # source://rubocop//lib/rubocop/cop/style/nil_lambda.rb#58 def autocorrect(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/nil_lambda.rb#39 +# source://rubocop//lib/rubocop/cop/style/nil_lambda.rb#39 RuboCop::Cop::Style::NilLambda::MSG = T.let(T.unsafe(nil), String) # Checks for non-nil checks, which are usually redundant. @@ -44497,74 +44641,74 @@ RuboCop::Cop::Style::NilLambda::MSG = T.let(T.unsafe(nil), String) # if !x.nil? # end # -# source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#44 +# source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#44 class RuboCop::Cop::Style::NonNilCheck < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#59 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#59 def nil_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#62 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#62 def not_and_nil_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#53 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#53 def not_equal_to_nil?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#73 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#73 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#73 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#84 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#64 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#64 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#56 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#56 def unless_check?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#93 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#93 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#123 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#123 def autocorrect_comparison(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#137 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#137 def autocorrect_non_nil(corrector, node, inner_node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#145 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#145 def autocorrect_unless_nil(corrector, node, receiver); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#119 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#119 def include_semantic_changes?; end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#110 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#110 def message(node); end - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#150 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#150 def nil_comparison_style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#88 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#88 def register_offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#104 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#104 def unless_and_nil_check?(send_node); end end -# source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#48 +# source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#48 RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REDUNDANCY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#47 +# source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#47 RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REPLACEMENT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/non_nil_check.rb#50 +# source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#50 RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of the keyword `not` instead of `!`. @@ -44577,43 +44721,43 @@ RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # x = !something # -# source://rubocop/lib/rubocop/cop/style/not.rb#16 +# source://rubocop//lib/rubocop/cop/style/not.rb#16 class RuboCop::Cop::Style::Not < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/not.rb#32 + # source://rubocop//lib/rubocop/cop/style/not.rb#32 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/not.rb#60 + # source://rubocop//lib/rubocop/cop/style/not.rb#60 def correct_opposite_method(corrector, range, child); end - # source://rubocop/lib/rubocop/cop/style/not.rb#65 + # source://rubocop//lib/rubocop/cop/style/not.rb#65 def correct_with_parens(corrector, range, node); end - # source://rubocop/lib/rubocop/cop/style/not.rb#70 + # source://rubocop//lib/rubocop/cop/style/not.rb#70 def correct_without_parens(corrector, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/not.rb#50 + # source://rubocop//lib/rubocop/cop/style/not.rb#50 def opposite_method?(child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/not.rb#54 + # source://rubocop//lib/rubocop/cop/style/not.rb#54 def requires_parens?(child); end end -# source://rubocop/lib/rubocop/cop/style/not.rb#20 +# source://rubocop//lib/rubocop/cop/style/not.rb#20 RuboCop::Cop::Style::Not::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/not.rb#23 +# source://rubocop//lib/rubocop/cop/style/not.rb#23 RuboCop::Cop::Style::Not::OPPOSITE_METHODS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/not.rb#21 +# source://rubocop//lib/rubocop/cop/style/not.rb#21 RuboCop::Cop::Style::Not::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for numbered parameters. @@ -44636,19 +44780,19 @@ RuboCop::Cop::Style::Not::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # collection.each { |item| puts item } # -# source://rubocop/lib/rubocop/cop/style/numbered_parameters.rb#27 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters.rb#27 class RuboCop::Cop::Style::NumberedParameters < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/numbered_parameters.rb#36 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters.rb#36 def on_numblock(node); end end -# source://rubocop/lib/rubocop/cop/style/numbered_parameters.rb#31 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters.rb#31 RuboCop::Cop::Style::NumberedParameters::MSG_DISALLOW = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numbered_parameters.rb#32 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters.rb#32 RuboCop::Cop::Style::NumberedParameters::MSG_MULTI_LINE = T.let(T.unsafe(nil), String) # Detects use of an excessive amount of numbered parameters in a @@ -44666,32 +44810,32 @@ RuboCop::Cop::Style::NumberedParameters::MSG_MULTI_LINE = T.let(T.unsafe(nil), S # array.each { use_array_element_as_numbered_parameter(_1) } # hash.each { use_only_hash_value_as_numbered_parameter(_2) } # -# source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#20 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#20 class RuboCop::Cop::Style::NumberedParametersLimit < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#27 def max=(value); end - # source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#32 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#32 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#49 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#49 def max_count; end - # source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#43 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#43 def numbered_parameter_nodes(node); end end -# source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#24 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#24 RuboCop::Cop::Style::NumberedParametersLimit::DEFAULT_MAX_VALUE = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#29 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#29 RuboCop::Cop::Style::NumberedParametersLimit::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numbered_parameters_limit.rb#30 +# source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#30 RuboCop::Cop::Style::NumberedParametersLimit::NUMBERED_PARAMETER_PATTERN = T.let(T.unsafe(nil), Regexp) # Checks for octal, hex, binary, and decimal literals using @@ -44724,77 +44868,77 @@ RuboCop::Cop::Style::NumberedParametersLimit::NUMBERED_PARAMETER_PATTERN = T.let # # good # num = 01234 # -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#36 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#36 class RuboCop::Cop::Style::NumericLiteralPrefix < ::RuboCop::Cop::Base include ::RuboCop::Cop::IntegerNode extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#52 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#52 def on_int(node); end private - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#109 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#109 def format_binary(source); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#113 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#113 def format_decimal(source); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#105 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#105 def format_hex(source); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#97 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#97 def format_octal(source); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#101 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#101 def format_octal_zero_only(source); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#82 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#82 def hex_bin_dec_literal_type(literal); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#68 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#68 def literal_type(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#64 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#64 def message(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#74 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#74 def octal_literal_type(literal); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#93 + # source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#93 def octal_zero_only?; end end -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#49 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#49 RuboCop::Cop::Style::NumericLiteralPrefix::BINARY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#43 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#43 RuboCop::Cop::Style::NumericLiteralPrefix::BINARY_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#50 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#50 RuboCop::Cop::Style::NumericLiteralPrefix::DECIMAL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#44 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#44 RuboCop::Cop::Style::NumericLiteralPrefix::DECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#48 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#48 RuboCop::Cop::Style::NumericLiteralPrefix::HEX_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#42 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#42 RuboCop::Cop::Style::NumericLiteralPrefix::HEX_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#47 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#47 RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#41 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#41 RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#46 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#46 RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_ZERO_ONLY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_literal_prefix.rb#40 +# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#40 RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_ZERO_ONLY_REGEX = T.let(T.unsafe(nil), Regexp) # Checks for big numeric literals without `_` between groups @@ -44831,54 +44975,54 @@ RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_ZERO_ONLY_REGEX = T.let(T.unsaf # # good # 3000 # You can specify allowed numbers. (e.g. port number) # -# source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#43 +# source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#43 class RuboCop::Cop::Style::NumericLiterals < ::RuboCop::Cop::Base include ::RuboCop::Cop::IntegerNode include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#54 def min_digits=(value); end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#60 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#60 def on_float(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#56 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#56 def on_int(node); end private - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#118 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#118 def allowed_numbers; end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#122 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#122 def allowed_patterns; end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#66 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#66 def check(node); end # @param int_part [String] # - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#107 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#107 def format_int_part(int_part); end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#93 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#93 def format_number(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#114 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#114 def min_digits; end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#82 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#82 def register_offense(node, &_block); end - # source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#89 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#89 def short_group_regex; end end -# source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#49 +# source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#49 RuboCop::Cop::Style::NumericLiterals::DELIMITER_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/numeric_literals.rb#48 +# source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#48 RuboCop::Cop::Style::NumericLiterals::MSG = T.let(T.unsafe(nil), String) # Checks for usage of comparison operators (`==`, @@ -44943,67 +45087,67 @@ RuboCop::Cop::Style::NumericLiterals::MSG = T.let(T.unsafe(nil), String) # foo.negative? # bar.baz.positive? # -# source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#78 +# source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#78 class RuboCop::Cop::Style::NumericPredicate < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#174 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#174 def comparison(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#179 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#179 def inverted_comparison(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#90 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#90 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#169 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#169 def predicate(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#107 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#107 def allowed_method_name?(name); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#111 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#111 def check(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#154 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#154 def invert; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#162 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#162 def negated?(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#134 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#134 def parenthesized_source(node); end - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#124 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#124 def replacement(node, numeric, operation); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#146 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#146 def replacement_supported?(operator); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#142 + # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#142 def require_parentheses?(node); end end -# source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#84 +# source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#84 RuboCop::Cop::Style::NumericPredicate::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#86 +# source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#86 RuboCop::Cop::Style::NumericPredicate::REPLACEMENTS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/numeric_predicate.rb#88 +# source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#88 RuboCop::Cop::Style::NumericPredicate::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the use of consistent method names @@ -45024,42 +45168,42 @@ RuboCop::Cop::Style::NumericPredicate::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # # good # obj.yield_self { |x| x.do_something } # -# source://rubocop/lib/rubocop/cop/style/object_then.rb#25 +# source://rubocop//lib/rubocop/cop/style/object_then.rb#25 class RuboCop::Cop::Style::ObjectThen < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/object_then.rb#35 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#35 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/object_then.rb#42 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#47 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/object_then.rb#35 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#40 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/object_then.rb#42 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#42 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/object_then.rb#51 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#51 def check_method_node(node); end - # source://rubocop/lib/rubocop/cop/style/object_then.rb#69 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#69 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/object_then.rb#65 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#65 def preferred_method?(node); end end -# source://rubocop/lib/rubocop/cop/style/object_then.rb#32 +# source://rubocop//lib/rubocop/cop/style/object_then.rb#32 RuboCop::Cop::Style::ObjectThen::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/object_then.rb#33 +# source://rubocop//lib/rubocop/cop/style/object_then.rb#33 RuboCop::Cop::Style::ObjectThen::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of if/then/else/end constructs on a single line. @@ -45106,60 +45250,60 @@ RuboCop::Cop::Style::ObjectThen::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # dont # end # -# source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#52 +# source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#52 class RuboCop::Cop::Style::OneLineConditional < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::OnNormalIfUnless extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#61 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#61 def on_normal_if_unless(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#100 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#100 def always_multiline?; end - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#82 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#82 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#104 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#104 def cannot_replace_to_ternary?(node); end - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#118 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#118 def expr_replacement(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#139 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#139 def keyword_with_changed_precedence?(node); end - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#78 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#78 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#132 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#132 def method_call_with_changed_precedence?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#124 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#124 def requires_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#90 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#90 def ternary_correction(node); end - # source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#110 + # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#110 def ternary_replacement(node); end end -# source://rubocop/lib/rubocop/cop/style/one_line_conditional.rb#58 +# source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#58 RuboCop::Cop::Style::OneLineConditional::MSG = T.let(T.unsafe(nil), String) # Flags uses of OpenStruct, as it is now officially discouraged @@ -45184,23 +45328,23 @@ RuboCop::Cop::Style::OneLineConditional::MSG = T.let(T.unsafe(nil), String) # test_double = double # allow(test_double).to receive(:a).and_return('b') # -# source://rubocop/lib/rubocop/cop/style/open_struct_use.rb#44 +# source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#44 class RuboCop::Cop::Style::OpenStructUse < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/open_struct_use.rb#52 + # source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#52 def on_const(node); end - # source://rubocop/lib/rubocop/cop/style/open_struct_use.rb#48 + # source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#48 def uses_open_struct?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/open_struct_use.rb#61 + # source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#61 def custom_class_or_module_definition?(node); end end -# source://rubocop/lib/rubocop/cop/style/open_struct_use.rb#45 +# source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#45 RuboCop::Cop::Style::OpenStructUse::MSG = T.let(T.unsafe(nil), String) # Checks for redundant dot before operator method call. @@ -45217,43 +45361,43 @@ RuboCop::Cop::Style::OpenStructUse::MSG = T.let(T.unsafe(nil), String) # foo + bar # foo & bar # -# source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#20 +# source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#20 class RuboCop::Cop::Style::OperatorMethodCall < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#30 + # source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#30 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#74 + # source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#74 def insert_space_after?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#57 + # source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#57 def invalid_syntax_argument?(argument); end # Checks for an acceptable case of `foo.+(bar).baz`. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#51 + # source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#51 def method_call_with_parenthesized_arg?(argument); end - # source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#63 + # source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#63 def wrap_in_parentheses_if_chained(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#25 +# source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#25 RuboCop::Cop::Style::OperatorMethodCall::INVALID_SYNTAX_ARG_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#23 +# source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#23 RuboCop::Cop::Style::OperatorMethodCall::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/operator_method_call.rb#24 +# source://rubocop//lib/rubocop/cop/style/operator_method_call.rb#24 RuboCop::Cop::Style::OperatorMethodCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for options hashes and discourages them if the @@ -45272,31 +45416,31 @@ RuboCop::Cop::Style::OperatorMethodCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # ... # end # -# source://rubocop/lib/rubocop/cop/style/option_hash.rb#22 +# source://rubocop//lib/rubocop/cop/style/option_hash.rb#22 class RuboCop::Cop::Style::OptionHash < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/option_hash.rb#30 + # source://rubocop//lib/rubocop/cop/style/option_hash.rb#30 def on_args(node); end - # source://rubocop/lib/rubocop/cop/style/option_hash.rb#26 + # source://rubocop//lib/rubocop/cop/style/option_hash.rb#26 def option_hash(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/option_hash.rb#39 + # source://rubocop//lib/rubocop/cop/style/option_hash.rb#39 def allowlist; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/option_hash.rb#48 + # source://rubocop//lib/rubocop/cop/style/option_hash.rb#48 def super_used?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/option_hash.rb#43 + # source://rubocop//lib/rubocop/cop/style/option_hash.rb#43 def suspicious_name?(arg_name); end end -# source://rubocop/lib/rubocop/cop/style/option_hash.rb#23 +# source://rubocop//lib/rubocop/cop/style/option_hash.rb#23 RuboCop::Cop::Style::OptionHash::MSG = T.let(T.unsafe(nil), String) # Checks for optional arguments to methods @@ -45314,21 +45458,21 @@ RuboCop::Cop::Style::OptionHash::MSG = T.let(T.unsafe(nil), String) # def foobar(a = 1, b = 2, c = 3) # end # -# source://rubocop/lib/rubocop/cop/style/optional_arguments.rb#24 +# source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#24 class RuboCop::Cop::Style::OptionalArguments < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/optional_arguments.rb#27 + # source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#27 def on_def(node); end private - # source://rubocop/lib/rubocop/cop/style/optional_arguments.rb#45 + # source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#45 def argument_positions(arguments); end - # source://rubocop/lib/rubocop/cop/style/optional_arguments.rb#33 + # source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#33 def each_misplaced_optional_arg(arguments); end end -# source://rubocop/lib/rubocop/cop/style/optional_arguments.rb#25 +# source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#25 RuboCop::Cop::Style::OptionalArguments::MSG = T.let(T.unsafe(nil), String) # Checks for places where keyword arguments can be used instead of @@ -45357,23 +45501,23 @@ RuboCop::Cop::Style::OptionalArguments::MSG = T.let(T.unsafe(nil), String) # puts bar # end # -# source://rubocop/lib/rubocop/cop/style/optional_boolean_parameter.rb#37 +# source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#37 class RuboCop::Cop::Style::OptionalBooleanParameter < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods - # source://rubocop/lib/rubocop/cop/style/optional_boolean_parameter.rb#43 + # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#43 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/optional_boolean_parameter.rb#43 + # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#52 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/style/optional_boolean_parameter.rb#56 + # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#56 def format_message(argument); end end -# source://rubocop/lib/rubocop/cop/style/optional_boolean_parameter.rb#40 +# source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#40 RuboCop::Cop::Style::OptionalBooleanParameter::MSG = T.let(T.unsafe(nil), String) # Checks for potential usage of the `||=` operator. @@ -45400,44 +45544,44 @@ RuboCop::Cop::Style::OptionalBooleanParameter::MSG = T.let(T.unsafe(nil), String # # good - set name to 'Bozhidar', only if it's nil or false # name ||= 'Bozhidar' # -# source://rubocop/lib/rubocop/cop/style/or_assignment.rb#29 +# source://rubocop//lib/rubocop/cop/style/or_assignment.rb#29 class RuboCop::Cop::Style::OrAssignment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#65 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#66 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#51 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#51 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#64 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#35 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#35 def ternary_assignment?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#44 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#44 def unless_assignment?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#70 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#70 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#80 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#80 def take_variable_and_default_from_ternary(node); end - # source://rubocop/lib/rubocop/cop/style/or_assignment.rb#84 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#84 def take_variable_and_default_from_unless(node); end end -# source://rubocop/lib/rubocop/cop/style/or_assignment.rb#32 +# source://rubocop//lib/rubocop/cop/style/or_assignment.rb#32 RuboCop::Cop::Style::OrAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for simple usages of parallel assignment. @@ -45458,15 +45602,15 @@ RuboCop::Cop::Style::OrAssignment::MSG = T.let(T.unsafe(nil), String) # b = 2 # c = 3 # -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#25 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#25 class RuboCop::Cop::Style::ParallelAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RescueNode extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#119 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#119 def implicit_self_getter?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#31 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#31 def on_masgn(node); end private @@ -45475,55 +45619,55 @@ class RuboCop::Cop::Style::ParallelAssignment < ::RuboCop::Cop::Base # This makes the sorting algorithm work for expressions such as # `self.a, self.b = b, a`. # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#112 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#112 def add_self_to_getters(right_elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#61 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#61 def allowed_lhs?(elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#55 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#55 def allowed_masign?(lhs_elements, rhs_elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#67 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#67 def allowed_rhs?(node); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#79 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#79 def assignment_corrector(node, rhs, order); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#48 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#48 def autocorrect(corrector, node, rhs); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#95 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#95 def find_valid_order(left_elements, right_elements); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#178 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#178 def modifier_statement?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#75 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#75 def return_of_method_call?(node); end end # Helper class necessitated by silly design of TSort prior to Ruby 2.1 # Newer versions have a better API, but that doesn't help us # -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#123 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#123 class RuboCop::Cop::Style::ParallelAssignment::AssignmentSorter include ::TSort extend ::RuboCop::AST::NodePattern::Macros # @return [AssignmentSorter] a new instance of AssignmentSorter # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#136 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#136 def initialize(assignments); end # `lhs` is an assignment method call like `obj.attr=` or `ary[idx]=`. @@ -45531,121 +45675,121 @@ class RuboCop::Cop::Style::ParallelAssignment::AssignmentSorter # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#165 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#165 def accesses?(rhs, lhs); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#158 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#158 def dependency?(lhs, rhs); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#134 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#134 def matching_calls(param0, param1, param2); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#144 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#144 def tsort_each_child(assignment); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#140 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#140 def tsort_each_node(*_arg0, **_arg1, &_arg2); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#131 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#131 def uses_var?(param0, param1); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#128 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#128 def var_name(param0 = T.unsafe(nil)); end end # An internal class for correcting parallel assignment # -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#185 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#185 class RuboCop::Cop::Style::ParallelAssignment::GenericCorrector include ::RuboCop::Cop::Alignment # @return [GenericCorrector] a new instance of GenericCorrector # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#190 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#190 def initialize(node, rhs, modifier, config, new_elements); end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#188 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#188 def config; end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#198 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#198 def correction; end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#202 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#202 def correction_range; end # Returns the value of attribute node. # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#188 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#188 def node; end # Returns the value of attribute rescue_result. # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#188 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#188 def rescue_result; end # Returns the value of attribute rhs. # - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#188 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#188 def rhs; end protected - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#208 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#208 def assignment; end private - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#229 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#229 def cop_config; end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#225 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#225 def extract_sources(node); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#214 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#214 def source(node, loc); end end -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#29 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#29 RuboCop::Cop::Style::ParallelAssignment::MSG = T.let(T.unsafe(nil), String) # An internal class for correcting parallel assignment # guarded by if, unless, while, or until # -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#271 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#271 class RuboCop::Cop::Style::ParallelAssignment::ModifierCorrector < ::RuboCop::Cop::Style::ParallelAssignment::GenericCorrector - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#272 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#272 def correction; end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#281 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#281 def correction_range; end private - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#287 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#287 def modifier_range(node); end end # An internal class for correcting parallel assignment # protected by rescue # -# source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#236 +# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#236 class RuboCop::Cop::Style::ParallelAssignment::RescueCorrector < ::RuboCop::Cop::Style::ParallelAssignment::GenericCorrector - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#237 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#237 def correction; end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#248 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#248 def correction_range; end private - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#259 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#259 def begin_correction(rescue_result); end - # source://rubocop/lib/rubocop/cop/style/parallel_assignment.rb#254 + # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#254 def def_correction(rescue_result); end end @@ -45695,56 +45839,56 @@ end # y > 10) # end # -# source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#56 +# source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#56 class RuboCop::Cop::Style::ParenthesesAroundCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::SafeAssignment include ::RuboCop::Cop::Parentheses include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#76 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#76 def control_op_condition(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#62 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#62 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#68 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#71 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#68 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#68 def on_while(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#130 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#130 def allow_multiline_conditions?; end - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#118 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#118 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#111 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#111 def modifier_op?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#124 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#124 def parens_allowed?(node); end - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#80 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#80 def process_control_op(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#96 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#96 def require_parentheses?(node, condition_body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/parentheses_around_condition.rb#103 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#103 def semicolon_separated_expressions?(first_exp, rest_exps); end end @@ -45769,65 +45913,65 @@ end # # bad # %I(alpha beta) # -# source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#26 +# source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#26 class RuboCop::Cop::Style::PercentLiteralDelimiters < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#30 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#30 def on_array(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#38 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#41 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#34 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#34 def on_regexp(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#38 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#38 def on_str(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#43 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#43 def on_sym(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#47 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#47 def on_xstr(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#93 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#93 def contains_delimiter?(node, delimiters); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#82 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#82 def contains_preferred_delimiter?(node, type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#86 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#86 def include_same_character_as_used_for_delimiter?(node, type); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#107 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#107 def matchpairs(begin_delimiter); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#67 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#67 def message(type); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#53 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#53 def on_percent_literal(node); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#74 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#74 def preferred_delimiters_for(type); end - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#99 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#99 def string_source(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/percent_literal_delimiters.rb#78 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#78 def uses_preferred_delimiter?(node, type); end end @@ -45853,37 +45997,37 @@ end # %Q/Mix the foo into the baz./ # %Q{They all said: 'Hooray!'} # -# source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#28 +# source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#28 class RuboCop::Cop::Style::PercentQLiterals < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#36 + # source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#36 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#55 + # source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#55 def correct_literal_style?(node); end - # source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#64 + # source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#64 def corrected(src); end - # source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#60 + # source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#60 def message(_range); end - # source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#42 + # source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#42 def on_percent_literal(node); end end -# source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#33 +# source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#33 RuboCop::Cop::Style::PercentQLiterals::LOWER_CASE_Q_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/percent_q_literals.rb#34 +# source://rubocop//lib/rubocop/cop/style/percent_q_literals.rb#34 RuboCop::Cop::Style::PercentQLiterals::UPPER_CASE_Q_MSG = T.let(T.unsafe(nil), String) # Looks for uses of Perl-style regexp match @@ -45897,17 +46041,17 @@ RuboCop::Cop::Style::PercentQLiterals::UPPER_CASE_Q_MSG = T.let(T.unsafe(nil), S # # good # puts Regexp.last_match(1) # -# source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#16 +# source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#16 class RuboCop::Cop::Style::PerlBackrefs < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#21 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#21 def on_back_ref(node); end - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#25 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#25 def on_gvar(node); end - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#29 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#29 def on_nth_ref(node); end private @@ -45916,14 +46060,14 @@ class RuboCop::Cop::Style::PerlBackrefs < ::RuboCop::Cop::Base # @private # @return [String] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#99 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#99 def constant_prefix(node); end # @param node [RuboCop::AST::Node] # @private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#38 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#38 def derived_from_braceless_interpolation?(node); end # @param node [RuboCop::AST::Node] @@ -45931,38 +46075,38 @@ class RuboCop::Cop::Style::PerlBackrefs < ::RuboCop::Cop::Base # @private # @return [String] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#46 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#46 def format_message(node:, preferred_expression:); end # @param node [RuboCop::AST::Node] # @private # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#109 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#109 def on_back_ref_or_gvar_or_nth_ref(node); end # @param node [RuboCop::AST::Node] # @private # @return [String] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#58 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#58 def original_expression_of(node); end # @param node [RuboCop::AST::Node] # @private # @return [String, nil] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#70 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#70 def preferred_expression_to(node); end # @param node [RuboCop::AST::Node] # @private # @return [String, nil] # - # source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#89 + # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#89 def preferred_expression_to_node_with_constant_prefix(node); end end -# source://rubocop/lib/rubocop/cop/style/perl_backrefs.rb#19 +# source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#19 RuboCop::Cop::Style::PerlBackrefs::MESSAGE_FORMAT = T.let(T.unsafe(nil), String) # Checks for uses of methods `Hash#has_key?` and @@ -45988,38 +46132,38 @@ RuboCop::Cop::Style::PerlBackrefs::MESSAGE_FORMAT = T.let(T.unsafe(nil), String) # Hash#has_key? # Hash#has_value? # -# source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#33 +# source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#33 class RuboCop::Cop::Style::PreferredHashMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#43 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#52 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#43 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#43 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#56 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#56 def message(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#68 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#68 def offending_selector?(method_name); end - # source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#60 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#60 def proper_method_name(method_name); end end -# source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#37 +# source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#37 RuboCop::Cop::Style::PreferredHashMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#39 +# source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#39 RuboCop::Cop::Style::PreferredHashMethods::OFFENDING_SELECTORS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/preferred_hash_methods.rb#41 +# source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#41 RuboCop::Cop::Style::PreferredHashMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of Proc.new where Kernel#proc @@ -46032,21 +46176,21 @@ RuboCop::Cop::Style::PreferredHashMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil # # good # p = proc { |n| puts n } # -# source://rubocop/lib/rubocop/cop/style/proc.rb#16 +# source://rubocop//lib/rubocop/cop/style/proc.rb#16 class RuboCop::Cop::Style::Proc < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/proc.rb#25 + # source://rubocop//lib/rubocop/cop/style/proc.rb#25 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/proc.rb#25 + # source://rubocop//lib/rubocop/cop/style/proc.rb#33 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/proc.rb#22 + # source://rubocop//lib/rubocop/cop/style/proc.rb#22 def proc_new?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/style/proc.rb#19 +# source://rubocop//lib/rubocop/cop/style/proc.rb#19 RuboCop::Cop::Style::Proc::MSG = T.let(T.unsafe(nil), String) # Checks if the quotes used for quoted symbols match the configured defaults. @@ -46076,55 +46220,55 @@ RuboCop::Cop::Style::Proc::MSG = T.let(T.unsafe(nil), String) # :"#{str}" # :"a\'b" # -# source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#33 +# source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#33 class RuboCop::Cop::Style::QuotedSymbols < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::SymbolHelp include ::RuboCop::Cop::StringLiteralsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#44 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#44 def on_sym(node); end private - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#106 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#106 def alternative_style; end - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#71 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#71 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#88 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#88 def correct_quotes(str); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#83 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#83 def hash_colon_key?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#61 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#61 def invalid_double_quotes?(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#110 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#110 def quoted?(sym_node); end - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#99 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#99 def style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#114 + # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#114 def wrong_quotes?(node); end end -# source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#41 +# source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#41 RuboCop::Cop::Style::QuotedSymbols::MSG_DOUBLE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/quoted_symbols.rb#39 +# source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#39 RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String) # Checks the args passed to `fail` and `raise`. For exploded @@ -46165,59 +46309,59 @@ RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String) # raise MyCustomError.new(arg1, arg2, arg3) # fail 'message' # -# source://rubocop/lib/rubocop/cop/style/raise_args.rb#47 +# source://rubocop//lib/rubocop/cop/style/raise_args.rb#47 class RuboCop::Cop::Style::RaiseArgs < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#59 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#59 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#135 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#135 def acceptable_exploded_args?(args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#148 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#148 def allowed_non_exploded_type?(arg); end - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#98 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#98 def check_compact(node); end - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#114 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#114 def check_exploded(node); end - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#72 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#72 def correction_compact_to_exploded(node); end - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#84 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#84 def correction_exploded_to_compact(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#154 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#154 def requires_parens?(parent); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/raise_args.rb#131 + # source://rubocop//lib/rubocop/cop/style/raise_args.rb#131 def use_new_method?(first_arg); end end -# source://rubocop/lib/rubocop/cop/style/raise_args.rb#53 +# source://rubocop//lib/rubocop/cop/style/raise_args.rb#53 RuboCop::Cop::Style::RaiseArgs::ACCEPTABLE_ARG_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/raise_args.rb#52 +# source://rubocop//lib/rubocop/cop/style/raise_args.rb#52 RuboCop::Cop::Style::RaiseArgs::COMPACT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/raise_args.rb#51 +# source://rubocop//lib/rubocop/cop/style/raise_args.rb#51 RuboCop::Cop::Style::RaiseArgs::EXPLODED_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/raise_args.rb#57 +# source://rubocop//lib/rubocop/cop/style/raise_args.rb#57 RuboCop::Cop::Style::RaiseArgs::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of randomly generated numbers, @@ -46241,53 +46385,53 @@ RuboCop::Cop::Style::RaiseArgs::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # rand(1..6) # rand(1...7) # -# source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#26 +# source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#26 class RuboCop::Cop::Style::RandomWithOffset < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#33 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#33 def integer_op_rand?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#63 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#63 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#54 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#54 def rand_modified?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#43 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#43 def rand_op_integer?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#73 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#73 def random_call(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#147 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#147 def to_int(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#78 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#78 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#135 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#135 def boundaries_from_random_node(random_node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#88 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#88 def corrected_integer_op_rand(node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#118 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#118 def corrected_rand_modified(node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#103 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#103 def corrected_rand_op_integer(node); end - # source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#131 + # source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#131 def prefix_from_prefix_node(node); end end -# source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#29 +# source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#29 RuboCop::Cop::Style::RandomWithOffset::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/random_with_offset.rb#30 +# source://rubocop//lib/rubocop/cop/style/random_with_offset.rb#30 RuboCop::Cop::Style::RandomWithOffset::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for a redundant argument passed to certain methods. @@ -46332,45 +46476,45 @@ RuboCop::Cop::Style::RandomWithOffset::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # string.chomp! # A.foo # -# source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#57 +# source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#57 class RuboCop::Cop::Style::RedundantArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#76 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#64 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#108 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#108 def argument_matched?(target_argument, redundant_argument); end - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#100 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#100 def argument_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#120 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#120 def exclude_cntrl_character?(target_argument, redundant_argument); end - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#93 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#93 def redundant_arg_for_method(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#80 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#80 def redundant_argument?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#61 +# source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#61 RuboCop::Cop::Style::RedundantArgument::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_argument.rb#62 +# source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#62 RuboCop::Cop::Style::RedundantArgument::NO_RECEIVER_METHODS = T.let(T.unsafe(nil), Array) # Checks for the instantiation of array using redundant `Array` constructor. @@ -46392,26 +46536,26 @@ RuboCop::Cop::Style::RedundantArgument::NO_RECEIVER_METHODS = T.let(T.unsafe(nil # Array.new(3, 'foo') # Array.new(3) { 'foo' } # -# source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#25 +# source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#25 class RuboCop::Cop::Style::RedundantArrayConstructor < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#47 + # source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#47 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#33 + # source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#33 def redundant_array_constructor(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#69 def register_offense(range, node, replacement); end end -# source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#28 +# source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#28 RuboCop::Cop::Style::RedundantArrayConstructor::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_array_constructor.rb#30 +# source://rubocop//lib/rubocop/cop/style/redundant_array_constructor.rb#30 RuboCop::Cop::Style::RedundantArrayConstructor::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant assignment before returning. @@ -46448,44 +46592,44 @@ RuboCop::Cop::Style::RedundantArrayConstructor::RESTRICT_ON_SEND = T.let(T.unsaf # end # end # -# source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#40 +# source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#40 class RuboCop::Cop::Style::RedundantAssignment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#50 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#50 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#50 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#53 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#46 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#46 def redundant_assignment?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#99 def check_begin_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#58 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#58 def check_branch(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#79 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#79 def check_case_match_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#74 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#74 def check_case_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#95 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#95 def check_ensure_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#84 def check_if_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#91 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#91 def check_rescue_node(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_assignment.rb#43 +# source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#43 RuboCop::Cop::Style::RedundantAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for redundant `begin` blocks. @@ -46548,94 +46692,94 @@ RuboCop::Cop::Style::RedundantAssignment::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#65 +# source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#65 class RuboCop::Cop::Style::RedundantBegin < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#76 def offensive_kwbegins(param0); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#88 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#88 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#80 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#80 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#80 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#86 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#99 def on_kwbegin(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#88 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#97 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#107 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#107 def allowable_kwbegin?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#181 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#181 def begin_block_has_multiline_statements?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#173 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#173 def condition_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#185 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#185 def contain_rescue_or_ensure?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#166 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#166 def correct_modifier_form_after_multiline_begin_block(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#177 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#177 def empty_begin?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#114 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#114 def register_offense(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#143 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#143 def remove_begin(corrector, offense_range, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#131 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#131 def replace_begin_with_statement(corrector, offense_range, node); end # Restore comments that occur between "begin" and "first_child". # These comments will be moved to above the assignment line. # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#153 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#153 def restore_removed_comments(corrector, offense_range, node, first_child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#160 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#160 def use_modifier_form_after_multiline_begin_block?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#198 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#198 def valid_begin_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#191 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#191 def valid_context_using_only_begin?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#71 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#71 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/redundant_begin.rb#69 +# source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#69 RuboCop::Cop::Style::RedundantBegin::MSG = T.let(T.unsafe(nil), String) # Checks for usage of the %W() syntax when %w() would do. @@ -46650,27 +46794,27 @@ RuboCop::Cop::Style::RedundantBegin::MSG = T.let(T.unsafe(nil), String) # %w[shirt pants shoes] # %W(apple #{fruit} grape) # -# source://rubocop/lib/rubocop/cop/style/redundant_capital_w.rb#17 +# source://rubocop//lib/rubocop/cop/style/redundant_capital_w.rb#17 class RuboCop::Cop::Style::RedundantCapitalW < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_capital_w.rb#23 + # source://rubocop//lib/rubocop/cop/style/redundant_capital_w.rb#23 def on_array(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_capital_w.rb#29 + # source://rubocop//lib/rubocop/cop/style/redundant_capital_w.rb#29 def on_percent_literal(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_capital_w.rb#38 + # source://rubocop//lib/rubocop/cop/style/redundant_capital_w.rb#38 def requires_interpolation?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_capital_w.rb#21 +# source://rubocop//lib/rubocop/cop/style/redundant_capital_w.rb#21 RuboCop::Cop::Style::RedundantCapitalW::MSG = T.let(T.unsafe(nil), String) # Checks for unnecessary conditional expressions. @@ -46712,13 +46856,13 @@ RuboCop::Cop::Style::RedundantCapitalW::MSG = T.let(T.unsafe(nil), String) # c # end # -# source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#45 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#45 class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#56 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#56 def on_if(node); end private @@ -46728,119 +46872,119 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#182 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#182 def argument_with_operator?(argument); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#159 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#159 def asgn_type?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#76 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#149 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#149 def branches_have_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#163 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#163 def branches_have_method?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#255 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#255 def correct_ternary(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#202 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#202 def else_source(else_branch, arithmetic_operation); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#228 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#228 def else_source_if_has_assignment(else_branch); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#218 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#218 def else_source_if_has_method(else_branch); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#190 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#190 def if_source(if_branch, arithmetic_operation); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#238 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#238 def make_ternary_form(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#68 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#68 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#97 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#97 def offense?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#90 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#90 def range_of_offense(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#105 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#105 def redundant_condition?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#270 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#270 def require_braces?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#263 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#263 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#176 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#176 def same_method?(if_branch, else_branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#170 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#170 def single_argument_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#121 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#121 def synonymous_condition_and_branch?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#274 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#274 def use_arithmetic_operation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#117 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#117 def use_hash_key_access?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#113 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#113 def use_hash_key_assignment?(else_branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#109 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#109 def use_if_branch?(else_branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#278 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#278 def without_argument_parentheses_method?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#52 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#52 RuboCop::Cop::Style::RedundantCondition::ARGUMENT_WITH_OPERATOR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#50 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#50 RuboCop::Cop::Style::RedundantCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_condition.rb#51 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#51 RuboCop::Cop::Style::RedundantCondition::REDUNDANT_CONDITION = T.let(T.unsafe(nil), String) # Checks for redundant returning of true/false in conditionals. @@ -46865,41 +47009,41 @@ RuboCop::Cop::Style::RedundantCondition::REDUNDANT_CONDITION = T.let(T.unsafe(ni # # good # x != y # -# source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#27 +# source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#27 class RuboCop::Cop::Style::RedundantConditional < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#36 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#36 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#56 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#56 def redundant_condition?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#61 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#61 def redundant_condition_inverted?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#78 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#78 def indented_else_node(expression, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#48 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#65 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#65 def offense?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#71 + # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#71 def replacement_condition(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#32 +# source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#32 RuboCop::Cop::Style::RedundantConditional::COMPARISON_OPERATOR_MATCHER = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_conditional.rb#34 +# source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#34 RuboCop::Cop::Style::RedundantConditional::MSG = T.let(T.unsafe(nil), String) # Avoid redundant `::` prefix on constant. @@ -46940,38 +47084,38 @@ RuboCop::Cop::Style::RedundantConditional::MSG = T.let(T.unsafe(nil), String) # ::Const # end # -# source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#43 +# source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#43 class RuboCop::Cop::Style::RedundantConstantBase < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#48 def on_cbase(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#67 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#67 def bad?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#63 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#63 def lint_constant_resolution_config; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#59 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#59 def lint_constant_resolution_cop_enabled?; end - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#71 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#71 def module_nesting_ancestors_of(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#77 + # source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#77 def used_in_super_class_part?(node, class_node:); end end -# source://rubocop/lib/rubocop/cop/style/redundant_constant_base.rb#46 +# source://rubocop//lib/rubocop/cop/style/redundant_constant_base.rb#46 RuboCop::Cop::Style::RedundantConstantBase::MSG = T.let(T.unsafe(nil), String) # Checks for paths given to `require_relative` that start with @@ -46985,22 +47129,22 @@ RuboCop::Cop::Style::RedundantConstantBase::MSG = T.let(T.unsafe(nil), String) # # good # require_relative 'path/to/feature' # -# source://rubocop/lib/rubocop/cop/style/redundant_current_directory_in_path.rb#17 +# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#17 class RuboCop::Cop::Style::RedundantCurrentDirectoryInPath < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_current_directory_in_path.rb#25 + # source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#25 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_current_directory_in_path.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#23 RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::CURRENT_DIRECTORY_PATH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_current_directory_in_path.rb#21 +# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#21 RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_current_directory_in_path.rb#22 +# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#22 RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant uses of double splat hash braces. @@ -47019,57 +47163,57 @@ RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::RESTRICT_ON_SEND = T.let(T # # good # do_something(foo: bar, baz: qux, **options) # -# source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#22 +# source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#22 class RuboCop::Cop::Style::RedundantDoubleSplatHashBraces < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#29 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#29 def on_hash(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#45 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#45 def allowed_double_splat_receiver?(kwsplat); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#55 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#55 def autocorrect(corrector, node, kwsplat); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#89 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#89 def autocorrect_merge_methods(corrector, merge_methods, kwsplat); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#85 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#85 def closing_brace(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#111 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#111 def convert_to_new_arguments(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#107 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#107 def extract_send_methods(kwsplat); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#123 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#123 def mergeable?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#81 def opening_brace(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#100 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#100 def range_of_merge_methods(merge_methods); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#66 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#66 def root_receiver(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#75 + # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#75 def select_merge_method_nodes(kwsplat); end end -# source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#26 +# source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#26 RuboCop::Cop::Style::RedundantDoubleSplatHashBraces::MERGE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#25 +# source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#25 RuboCop::Cop::Style::RedundantDoubleSplatHashBraces::MSG = T.let(T.unsafe(nil), String) # Checks for redundant `each`. @@ -47096,41 +47240,41 @@ RuboCop::Cop::Style::RedundantDoubleSplatHashBraces::MSG = T.let(T.unsafe(nil), # array.each.with_object { |v, o| do_something(v, o) } # array.each_with_object { |v, o| do_something(v, o) } # -# source://rubocop/lib/rubocop/cop/style/redundant_each.rb#34 +# source://rubocop//lib/rubocop/cop/style/redundant_each.rb#34 class RuboCop::Cop::Style::RedundantEach < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#43 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#59 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#43 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#43 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#96 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#96 def message(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#86 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#86 def range(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#64 def redundant_each_method(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_each.rb#107 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#107 def remove_redundant_each(corrector, range, redundant_node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_each.rb#37 +# source://rubocop//lib/rubocop/cop/style/redundant_each.rb#37 RuboCop::Cop::Style::RedundantEach::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_each.rb#38 +# source://rubocop//lib/rubocop/cop/style/redundant_each.rb#38 RuboCop::Cop::Style::RedundantEach::MSG_WITH_INDEX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_each.rb#39 +# source://rubocop//lib/rubocop/cop/style/redundant_each.rb#39 RuboCop::Cop::Style::RedundantEach::MSG_WITH_OBJECT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_each.rb#41 +# source://rubocop//lib/rubocop/cop/style/redundant_each.rb#41 RuboCop::Cop::Style::RedundantEach::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for RuntimeError as the argument of raise/fail. @@ -47150,49 +47294,49 @@ RuboCop::Cop::Style::RedundantEach::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # # good # raise Object.new.to_s # -# source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#23 class RuboCop::Cop::Style::RedundantException < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#79 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#79 def compact?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#74 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#74 def exploded?(param0 = T.unsafe(nil)); end # Switch `raise RuntimeError, 'message'` to `raise 'message'`, and # `raise RuntimeError.new('message')` to `raise 'message'`. # - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#33 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#33 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#57 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#57 def fix_compact(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#39 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#39 def fix_exploded(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#65 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#65 def replaced_compact(message); end - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#47 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#47 def replaced_exploded(node, command, message); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#53 def string_message?(message); end end -# source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#26 +# source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#26 RuboCop::Cop::Style::RedundantException::MSG_1 = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#27 +# source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#27 RuboCop::Cop::Style::RedundantException::MSG_2 = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_exception.rb#29 +# source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#29 RuboCop::Cop::Style::RedundantException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies places where `fetch(key) { value }` can be replaced by `fetch(key, value)`. @@ -47223,59 +47367,59 @@ RuboCop::Cop::Style::RedundantException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # good # ENV.fetch(:key, VALUE) # -# source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#40 +# source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#40 class RuboCop::Cop::Style::RedundantFetchBlock < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#55 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#55 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#89 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#89 def rails_cache?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#48 def redundant_fetch_block_candidate?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#74 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#74 def basic_literal?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#104 def build_bad_method(send, body); end - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#97 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#97 def build_good_method(send, body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#111 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#111 def check_for_constant?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#115 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#115 def check_for_string?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#78 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#78 def const_type?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#93 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#93 def fetch_range(send, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#82 + # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#82 def should_not_check?(send, body); end end -# source://rubocop/lib/rubocop/cop/style/redundant_fetch_block.rb#45 +# source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#45 RuboCop::Cop::Style::RedundantFetchBlock::MSG = T.let(T.unsafe(nil), String) # Checks for the presence of superfluous `.rb` extension in @@ -47299,27 +47443,27 @@ RuboCop::Cop::Style::RedundantFetchBlock::MSG = T.let(T.unsafe(nil), String) # require_relative '../foo' # require_relative '../foo.so' # -# source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#27 +# source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#27 class RuboCop::Cop::Style::RedundantFileExtensionInRequire < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#39 + # source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#39 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#35 + # source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#35 def require_call?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#53 def extension_range(name_node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#31 +# source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#31 RuboCop::Cop::Style::RedundantFileExtensionInRequire::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_file_extension_in_require.rb#32 +# source://rubocop//lib/rubocop/cop/style/redundant_file_extension_in_require.rb#32 RuboCop::Cop::Style::RedundantFileExtensionInRequire::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies usages of `any?`, `empty?` or `none?` predicate methods @@ -47361,41 +47505,41 @@ RuboCop::Cop::Style::RedundantFileExtensionInRequire::RESTRICT_ON_SEND = T.let(T # # good # arr.any? { |x| x > 1 } # -# source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#53 +# source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#53 class RuboCop::Cop::Style::RedundantFilterChain < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#90 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#81 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#62 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#62 def select_predicate?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#108 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#108 def offense_range(select_node, predicate_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#112 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#112 def predicate_range(predicate_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#94 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#94 def register_offense(select_node, predicate_node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#56 +# source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#56 RuboCop::Cop::Style::RedundantFilterChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#58 +# source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#58 RuboCop::Cop::Style::RedundantFilterChain::RAILS_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#71 +# source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#71 RuboCop::Cop::Style::RedundantFilterChain::REPLACEMENT_METHODS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/redundant_filter_chain.rb#59 +# source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#59 RuboCop::Cop::Style::RedundantFilterChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for uses of `Object#freeze` on immutable objects. @@ -47412,32 +47556,32 @@ RuboCop::Cop::Style::RedundantFilterChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil # # good # CONST = 1 # -# source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#19 +# source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#19 class RuboCop::Cop::Style::RedundantFreeze < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#26 + # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#26 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#57 + # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#57 def operation_produces_immutable_object?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#39 + # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#39 def immutable_literal?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#48 def strip_parenthesis(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#23 RuboCop::Cop::Style::RedundantFreeze::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_freeze.rb#24 +# source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#24 RuboCop::Cop::Style::RedundantFreeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant heredoc delimiter quotes. @@ -47463,26 +47607,26 @@ RuboCop::Cop::Style::RedundantFreeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # newlines # EOS # -# source://rubocop/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#29 +# source://rubocop//lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#29 class RuboCop::Cop::Style::RedundantHeredocDelimiterQuotes < ::RuboCop::Cop::Base include ::RuboCop::Cop::Heredoc extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#36 + # source://rubocop//lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#36 def on_heredoc(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#48 def need_heredoc_delimiter_quotes?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#33 +# source://rubocop//lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#33 RuboCop::Cop::Style::RedundantHeredocDelimiterQuotes::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#34 +# source://rubocop//lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb#34 RuboCop::Cop::Style::RedundantHeredocDelimiterQuotes::STRING_INTERPOLATION_OR_ESCAPED_CHARACTER_PATTERN = T.let(T.unsafe(nil), Regexp) # Checks for `initialize` methods that are redundant. @@ -47577,48 +47721,48 @@ RuboCop::Cop::Style::RedundantHeredocDelimiterQuotes::STRING_INTERPOLATION_OR_ES # # Overriding to negate superclass `initialize` method. # end # -# source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#106 +# source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#106 class RuboCop::Cop::Style::RedundantInitialize < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#115 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#115 def initialize_forwards?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#119 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#119 def on_def(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#143 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#143 def acceptable?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#151 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#151 def allow_comments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#147 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#147 def forwards?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#137 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#137 def register_offense(node, message); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#157 + # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#157 def same_args?(super_node, args); end end -# source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#111 +# source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#111 RuboCop::Cop::Style::RedundantInitialize::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_initialize.rb#112 +# source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#112 RuboCop::Cop::Style::RedundantInitialize::MSG_EMPTY = T.let(T.unsafe(nil), String) # Checks for strings that are just an interpolated expression. @@ -47634,68 +47778,68 @@ RuboCop::Cop::Style::RedundantInitialize::MSG_EMPTY = T.let(T.unsafe(nil), Strin # # good if @var is already a String # @var # -# source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#39 +# source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#39 class RuboCop::Cop::Style::RedundantInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::PercentLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#49 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#49 def on_dstr(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#122 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#122 def autocorrect_other(corrector, embedded_node, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#105 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#105 def autocorrect_single_variable_interpolation(corrector, embedded_node, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#99 def autocorrect_variable_interpolation(corrector, embedded_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#95 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#95 def embedded_in_percent_array?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#91 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#91 def implicit_concatenation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#83 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#83 def interpolation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#132 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#132 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#67 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#67 def single_interpolation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#74 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#74 def single_variable_interpolation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#87 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#87 def variable_interpolation?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#45 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#45 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/redundant_interpolation.rb#43 +# source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#43 RuboCop::Cop::Style::RedundantInterpolation::MSG = T.let(T.unsafe(nil), String) # Before Ruby 3.0, interpolated strings followed the frozen string literal @@ -47713,20 +47857,20 @@ RuboCop::Cop::Style::RedundantInterpolation::MSG = T.let(T.unsafe(nil), String) # # good # "#{foo} bar" # -# source://rubocop/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#21 +# source://rubocop//lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#21 class RuboCop::Cop::Style::RedundantInterpolationUnfreeze < ::RuboCop::Cop::Base include ::RuboCop::Cop::FrozenStringLiteral extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#32 + # source://rubocop//lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#32 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#26 +# source://rubocop//lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#26 RuboCop::Cop::Style::RedundantInterpolationUnfreeze::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#28 +# source://rubocop//lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb#28 RuboCop::Cop::Style::RedundantInterpolationUnfreeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for redundant line continuation. @@ -47790,56 +47934,56 @@ RuboCop::Cop::Style::RedundantInterpolationUnfreeze::RESTRICT_ON_SEND = T.let(T. # some_method \ # (argument) # -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#67 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#67 class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#81 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#205 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#205 def argument_is_method?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#169 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#169 def argument_newline?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#106 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#106 def ends_with_backslash_without_comment?(source_line); end - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#185 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#185 def find_node_for_line(last_line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#153 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#153 def inside_string_literal?(range, token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#114 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#114 def inside_string_literal_or_method_with_argument?(range); end - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#141 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#141 def inspect_end_of_ruby_code_line_continuation; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#125 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#125 def leading_dot_method_chain_with_blank_line?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#212 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#212 def method_call_with_arguments?(node); end # A method call without parentheses such as the following cannot remove `\`: @@ -47849,51 +47993,51 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#161 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#161 def method_with_argument?(line_range, current_token, next_token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#131 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#131 def redundant_line_continuation?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#98 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#98 def require_line_continuation?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#191 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#191 def same_line?(node, line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#216 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#216 def start_with_arithmetic_operator?(source_line); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#110 + # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#110 def string_concatenation?(source_line); end end -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#74 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#74 RuboCop::Cop::Style::RedundantLineContinuation::ALLOWED_STRING_TOKENS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#79 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#79 RuboCop::Cop::Style::RedundantLineContinuation::ARGUMENT_TAKING_FLOW_TOKEN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#75 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#75 RuboCop::Cop::Style::RedundantLineContinuation::ARGUMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#72 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#72 RuboCop::Cop::Style::RedundantLineContinuation::LINE_CONTINUATION = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#73 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#73 RuboCop::Cop::Style::RedundantLineContinuation::LINE_CONTINUATION_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/redundant_line_continuation.rb#71 +# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#71 RuboCop::Cop::Style::RedundantLineContinuation::MSG = T.let(T.unsafe(nil), String) # Checks for redundant parentheses. @@ -47906,170 +48050,170 @@ RuboCop::Cop::Style::RedundantLineContinuation::MSG = T.let(T.unsafe(nil), Strin # # good # x if y.z.nil? # -# source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#16 +# source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#16 class RuboCop::Cop::Style::RedundantParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::Parentheses extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#32 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#32 def allowed_pin_operator?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#258 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#258 def first_send_argument?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#263 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#263 def first_super_argument?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#268 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#268 def first_yield_argument?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#166 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#166 def interpolation?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#26 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#26 def method_node_and_args(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#34 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#34 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#29 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#29 def rescue?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#23 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#23 def square_brackets?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#168 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#168 def allow_in_multiline_conditions?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#64 def allowed_ancestor?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#57 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#57 def allowed_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#69 def allowed_multiple_expression?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#78 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#78 def allowed_ternary?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#272 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#272 def call_chain_starts_with_int?(begin_node, send_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#127 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#127 def check(begin_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#172 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#172 def check_send(begin_node, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#182 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#182 def check_unary(begin_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#206 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#206 def disallowed_literal?(begin_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#278 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#278 def do_end_block_in_method_chain?(begin_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#105 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#105 def empty_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#138 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#138 def find_offense_message(begin_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#110 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#110 def first_arg_begins_with_hash_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#247 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#247 def first_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#50 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#50 def ignore_syntax?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#202 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#202 def keyword_ancestor?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#221 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#221 def keyword_with_redundant_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#91 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#91 def like_method_argument_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#234 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#234 def method_call_with_redundant_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#119 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#119 def method_chain_begins_with_hash_literal(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#98 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#98 def multiline_control_flow_statements?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#192 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#192 def offense(node, msg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#243 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#243 def only_begin_arg?(args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#42 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#42 def parens_allowed?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#210 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#210 def raised_to_power_negative_numeric?(begin_node, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#198 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#198 def suspect_unary?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#84 def ternary_parentheses_required?; end end -# source://rubocop/lib/rubocop/cop/style/redundant_parentheses.rb#20 +# source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#20 RuboCop::Cop::Style::RedundantParentheses::ALLOWED_NODE_TYPES = T.let(T.unsafe(nil), Array) # Checks for usage of the %q/%Q syntax when '' or "" would do. @@ -48086,80 +48230,80 @@ RuboCop::Cop::Style::RedundantParentheses::ALLOWED_NODE_TYPES = T.let(T.unsafe(n # time = "8 o'clock" # question = '"What did you say?"' # -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#20 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#20 class RuboCop::Cop::Style::RedundantPercentQ < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#34 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#34 def on_dstr(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#40 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#40 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#99 def acceptable_capital_q?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#91 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#91 def acceptable_q?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#67 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#67 def allowed_percent_q?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#51 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#51 def check(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#63 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#63 def interpolated_quotes?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#72 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#72 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#87 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#87 def start_with_percent_q_variant?(string); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#82 + # source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#82 def string_literal?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#25 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#25 RuboCop::Cop::Style::RedundantPercentQ::DYNAMIC_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#28 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#28 RuboCop::Cop::Style::RedundantPercentQ::EMPTY = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#32 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#32 RuboCop::Cop::Style::RedundantPercentQ::ESCAPED_NON_BACKSLASH = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#23 RuboCop::Cop::Style::RedundantPercentQ::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#30 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#30 RuboCop::Cop::Style::RedundantPercentQ::PERCENT_CAPITAL_Q = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#29 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#29 RuboCop::Cop::Style::RedundantPercentQ::PERCENT_Q = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#27 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#27 RuboCop::Cop::Style::RedundantPercentQ::QUOTE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#26 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#26 RuboCop::Cop::Style::RedundantPercentQ::SINGLE_QUOTE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_percent_q.rb#31 +# source://rubocop//lib/rubocop/cop/style/redundant_percent_q.rb#31 RuboCop::Cop::Style::RedundantPercentQ::STRING_INTERPOLATION_REGEXP = T.let(T.unsafe(nil), Regexp) # Identifies places where argument can be replaced from @@ -48192,41 +48336,41 @@ RuboCop::Cop::Style::RedundantPercentQ::STRING_INTERPOLATION_REGEXP = T.let(T.un # 'foo'.sub('f', 'x') # 'foo'.sub!('f', 'x') # -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#35 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#35 class RuboCop::Cop::Style::RedundantRegexpArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::StringLiteralsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#61 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#48 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#65 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#65 def determinist_regexp?(regexp_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#69 def preferred_argument(regexp_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#88 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#88 def replacement(regexp_node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#43 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#43 RuboCop::Cop::Style::RedundantRegexpArgument::DETERMINISTIC_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#39 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#39 RuboCop::Cop::Style::RedundantRegexpArgument::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#40 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#40 RuboCop::Cop::Style::RedundantRegexpArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_argument.rb#44 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#44 RuboCop::Cop::Style::RedundantRegexpArgument::STR_SPECIAL_CHARS = T.let(T.unsafe(nil), Array) # Checks for unnecessary single-element Regexp character classes. @@ -48254,59 +48398,59 @@ RuboCop::Cop::Style::RedundantRegexpArgument::STR_SPECIAL_CHARS = T.let(T.unsafe # # good # r = /[ab]/ # -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#30 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#30 class RuboCop::Cop::Style::RedundantRegexpCharacterClass < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#37 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#37 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#101 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#101 def backslash_b?(elem); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#53 def each_redundant_character_class(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#61 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#61 def each_single_element_character_class(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#83 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#83 def multiple_codepoints?(expression); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#107 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#107 def octal_requiring_char_class?(elem); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#72 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#72 def redundant_single_element_character_class?(node, char_class); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#113 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#113 def requires_escape_outside_char_class?(elem); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#95 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#95 def whitespace_in_free_space_mode?(node, elem); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#87 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#87 def without_character_class(loc); end end -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#34 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#34 RuboCop::Cop::Style::RedundantRegexpCharacterClass::MSG_REDUNDANT_CHARACTER_CLASS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_character_class.rb#33 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_character_class.rb#33 RuboCop::Cop::Style::RedundantRegexpCharacterClass::REQUIRES_ESCAPE_OUTSIDE_CHAR_CLASS_CHARS = T.let(T.unsafe(nil), Array) # Checks for the instantiation of regexp using redundant `Regexp.new` or `Regexp.compile`. @@ -48323,21 +48467,21 @@ RuboCop::Cop::Style::RedundantRegexpCharacterClass::REQUIRES_ESCAPE_OUTSIDE_CHAR # Regexp.new('regexp') # Regexp.compile('regexp') # -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_constructor.rb#20 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_constructor.rb#20 class RuboCop::Cop::Style::RedundantRegexpConstructor < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_constructor.rb#33 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_constructor.rb#33 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_constructor.rb#27 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_constructor.rb#27 def redundant_regexp_constructor(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_constructor.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_constructor.rb#23 RuboCop::Cop::Style::RedundantRegexpConstructor::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_constructor.rb#24 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_constructor.rb#24 RuboCop::Cop::Style::RedundantRegexpConstructor::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant escapes inside Regexp literals. @@ -48370,48 +48514,48 @@ RuboCop::Cop::Style::RedundantRegexpConstructor::RESTRICT_ON_SEND = T.let(T.unsa # # good # /[+\-]\d/ # -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#35 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#35 class RuboCop::Cop::Style::RedundantRegexpEscape < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#45 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#45 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#60 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#60 def allowed_escape?(node, char, index, within_character_class); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#76 def char_class_begins_or_ends_with_escaped_hyphen?(node, index); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#92 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#92 def delimiter?(node, char); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#98 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#98 def each_escape(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#110 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#110 def escape_range_at_index(node, index); end end -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#41 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#41 RuboCop::Cop::Style::RedundantRegexpEscape::ALLOWED_ALWAYS_ESCAPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#43 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#43 RuboCop::Cop::Style::RedundantRegexpEscape::ALLOWED_OUTSIDE_CHAR_CLASS_METACHAR_ESCAPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#42 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#42 RuboCop::Cop::Style::RedundantRegexpEscape::ALLOWED_WITHIN_CHAR_CLASS_METACHAR_ESCAPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_regexp_escape.rb#39 +# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#39 RuboCop::Cop::Style::RedundantRegexpEscape::MSG_REDUNDANT_ESCAPE = T.let(T.unsafe(nil), String) # Checks for redundant `return` expressions. @@ -48461,82 +48605,82 @@ RuboCop::Cop::Style::RedundantRegexpEscape::MSG_REDUNDANT_ESCAPE = T.let(T.unsaf # return x, y # end # -# source://rubocop/lib/rubocop/cop/style/redundant_return.rb#55 +# source://rubocop//lib/rubocop/cop/style/redundant_return.rb#55 class RuboCop::Cop::Style::RedundantReturn < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#69 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#72 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#63 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#63 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#104 def add_braces(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#99 def add_brackets(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#175 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#175 def allow_multiple_return_values?; end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#170 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#170 def check_begin_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#110 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#110 def check_branch(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#144 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#144 def check_case_match_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#139 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#139 def check_case_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#165 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#165 def check_ensure_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#149 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#149 def check_if_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#161 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#161 def check_resbody_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#156 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#156 def check_rescue_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#127 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#127 def check_return_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#80 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#80 def correct_with_arguments(return_node, corrector); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#76 def correct_without_arguments(return_node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#95 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#95 def hash_without_braces?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_return.rb#179 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#179 def message(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_return.rb#59 +# source://rubocop//lib/rubocop/cop/style/redundant_return.rb#59 RuboCop::Cop::Style::RedundantReturn::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_return.rb#60 +# source://rubocop//lib/rubocop/cop/style/redundant_return.rb#60 RuboCop::Cop::Style::RedundantReturn::MULTI_RETURN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_return.rb#61 +# source://rubocop//lib/rubocop/cop/style/redundant_return.rb#61 RuboCop::Cop::Style::RedundantReturn::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant uses of `self`. @@ -48579,91 +48723,91 @@ RuboCop::Cop::Style::RedundantReturn::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # end # end # -# source://rubocop/lib/rubocop/cop/style/redundant_self.rb#45 +# source://rubocop//lib/rubocop/cop/style/redundant_self.rb#45 class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector # @return [RedundantSelf] a new instance of RedundantSelf # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#60 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#60 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end # Assignment of self.x # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#68 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#71 def on_and_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#84 def on_args(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#116 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#116 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#88 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#88 def on_blockarg(node); end # Using self.x to distinguish from local variable x # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#79 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#79 def on_def(node); end # Using self.x to distinguish from local variable x # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#79 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#82 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#122 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#122 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#100 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#100 def on_in_pattern(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#96 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#96 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#92 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#92 def on_masgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#116 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#120 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#73 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#73 def on_op_asgn(node); end # Assignment of self.x # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#68 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#68 def on_or_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#104 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#122 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#134 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#122 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#133 def on_while(node); end private - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#189 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#189 def add_lhs_to_local_variables_scopes(rhs, lhs); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#197 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#197 def add_masgn_lhs_variables(rhs, lhs); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#203 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#203 def add_match_var_scopes(in_pattern_node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#138 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#138 def add_scope(node, local_variables = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#183 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#183 def allow_self(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#144 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#144 def allowed_send_node?(node); end # Respects `Lint/ItWithoutArgumentsInBlock` cop and the following Ruby 3.3's warning: @@ -48674,30 +48818,30 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#159 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#159 def it_method_in_block?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#175 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#175 def on_argument(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#167 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#167 def regular_method_call?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/redundant_self.rb#56 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#56 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/redundant_self.rb#49 +# source://rubocop//lib/rubocop/cop/style/redundant_self.rb#49 RuboCop::Cop::Style::RedundantSelf::KERNEL_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_self.rb#50 +# source://rubocop//lib/rubocop/cop/style/redundant_self.rb#50 RuboCop::Cop::Style::RedundantSelf::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/redundant_self.rb#48 +# source://rubocop//lib/rubocop/cop/style/redundant_self.rb#48 RuboCop::Cop::Style::RedundantSelf::MSG = T.let(T.unsafe(nil), String) # Checks for places where redundant assignments are made for in place @@ -48720,58 +48864,58 @@ RuboCop::Cop::Style::RedundantSelf::MSG = T.let(T.unsafe(nil), String) # foo.concat(ary) # self.foo += ary # -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#31 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#31 class RuboCop::Cop::Style::RedundantSelfAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#71 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#80 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#68 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#69 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#67 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#53 def on_lvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#71 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#71 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#99 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#99 def redundant_nonself_assignment?(param0 = T.unsafe(nil), param1, param2); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#89 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#89 def redundant_self_assignment?(param0 = T.unsafe(nil), param1); end private - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#115 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#115 def correction_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#84 def method_returning_self?(method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#108 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#108 def redundant_assignment?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#45 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#45 RuboCop::Cop::Style::RedundantSelfAssignment::ASSIGNMENT_TYPE_TO_RECEIVER_TYPE = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#38 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#38 RuboCop::Cop::Style::RedundantSelfAssignment::METHODS_RETURNING_SELF = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment.rb#35 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#35 RuboCop::Cop::Style::RedundantSelfAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for places where conditional branch makes redundant self-assignment. @@ -48793,43 +48937,43 @@ RuboCop::Cop::Style::RedundantSelfAssignment::MSG = T.let(T.unsafe(nil), String) # # good # foo = bar unless condition # -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#25 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#25 class RuboCop::Cop::Style::RedundantSelfAssignmentBranch < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#31 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#31 def bad_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#35 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#35 def on_lvasgn(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#59 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#59 def inconvertible_to_modifier?(if_branch, else_branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#64 def multiple_statements?(branch); end - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#74 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#74 def register_offense(if_node, offense_branch, opposite_branch, keyword); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#70 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#70 def self_assign?(variable, branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#53 def use_if_and_else_branch?(expression); end end -# source://rubocop/lib/rubocop/cop/style/redundant_self_assignment_branch.rb#28 +# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment_branch.rb#28 RuboCop::Cop::Style::RedundantSelfAssignmentBranch::MSG = T.let(T.unsafe(nil), String) # Identifies instances of sorting and then @@ -48878,18 +49022,18 @@ RuboCop::Cop::Style::RedundantSelfAssignmentBranch::MSG = T.let(T.unsafe(nil), S # # good # arr.max_by(&:foo) # -# source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#79 +# source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#79 class RuboCop::Cop::Style::RedundantSort < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#111 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#104 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#88 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#88 def redundant_sort?(param0 = T.unsafe(nil)); end private @@ -48897,52 +49041,52 @@ class RuboCop::Cop::Style::RedundantSort < ::RuboCop::Cop::Base # This gets the start of the accessor whether it has a dot # (e.g. `.first`) or doesn't (e.g. `[0]`) # - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#193 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#193 def accessor_start(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#183 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#183 def arg_node(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#187 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#187 def arg_value(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#148 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#148 def autocorrect(corrector, node, sort_node, sorter, accessor); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#166 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#166 def base(accessor, arg); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#115 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#115 def find_redundant_sort(*nodes); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#136 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#136 def message(node, sorter, accessor); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#132 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#132 def offense_range(sort_node, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#125 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#125 def register_offense(node, sort_node, sorter, accessor); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#157 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#157 def replace_with_logical_operator(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#174 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#174 def suffix(sorter); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#162 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#162 def suggestion(sorter, accessor, arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#201 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#201 def with_logical_operator?(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#83 +# source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#83 RuboCop::Cop::Style::RedundantSort::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_sort.rb#85 +# source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#85 RuboCop::Cop::Style::RedundantSort::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies places where `sort_by { ... }` can be replaced by @@ -48958,33 +49102,33 @@ RuboCop::Cop::Style::RedundantSort::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # # good # array.sort # -# source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#18 +# source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#18 class RuboCop::Cop::Style::RedundantSortBy < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#25 + # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#25 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#35 + # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#35 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#48 + # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#48 def redundant_sort_by_block(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#53 + # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#53 def redundant_sort_by_numblock(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#57 + # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#57 def sort_by_range(send, node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#22 +# source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#22 RuboCop::Cop::Style::RedundantSortBy::MSG_BLOCK = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/redundant_sort_by.rb#23 +# source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#23 RuboCop::Cop::Style::RedundantSortBy::MSG_NUMBLOCK = T.let(T.unsafe(nil), String) # Checks for redundant escapes in string literals. @@ -49019,95 +49163,95 @@ RuboCop::Cop::Style::RedundantSortBy::MSG_NUMBLOCK = T.let(T.unsafe(nil), String # #foo "foo" # STR # -# source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#37 +# source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#37 class RuboCop::Cop::Style::RedundantStringEscape < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#43 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#43 def on_str(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#79 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#79 def allowed_escape?(node, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#119 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#119 def array_literal?(node, prefix); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#73 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#73 def begin_loc_present?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#153 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#153 def delimiter?(node, char); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#171 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#171 def disabling_interpolation?(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#149 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#149 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#139 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#139 def heredoc_with_disabled_interpolation?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#100 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#100 def interpolation_not_enabled?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#167 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#167 def literal_in_interpolated_or_multiline_string?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#59 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#59 def message(range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#135 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#135 def percent_array_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#111 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#111 def percent_q_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#127 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#127 def percent_w_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#131 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#131 def percent_w_upper_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#107 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#107 def single_quoted?(node); end - # source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#63 + # source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#63 def str_contents_range(node); end end -# source://rubocop/lib/rubocop/cop/style/redundant_string_escape.rb#41 +# source://rubocop//lib/rubocop/cop/style/redundant_string_escape.rb#41 RuboCop::Cop::Style::RedundantStringEscape::MSG = T.let(T.unsafe(nil), String) # Enforces using `//` or `%r` around regular expressions. @@ -49194,94 +49338,94 @@ RuboCop::Cop::Style::RedundantStringEscape::MSG = T.let(T.unsafe(nil), String) # # good # x =~ /home\// # -# source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#93 +# source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#93 class RuboCop::Cop::Style::RegexpLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#101 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#101 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#144 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#144 def allow_inner_slashes?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#132 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#132 def allowed_mixed_percent_r?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#122 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#122 def allowed_mixed_slash?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#161 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#161 def allowed_omit_parentheses_with_percent_r_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#126 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#126 def allowed_percent_r_literal?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#118 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#118 def allowed_slash_literal?(node); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#221 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#221 def calculate_replacement(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#136 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#136 def contains_disallowed_slash?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#140 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#140 def contains_slash?(node); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#170 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#170 def correct_delimiters(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#176 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#176 def correct_inner_slashes(node, corrector); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#209 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#209 def inner_slash_after_correction(node); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#205 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#205 def inner_slash_before_correction(node); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#213 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#213 def inner_slash_for(opening_delimiter); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#192 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#192 def inner_slash_indices(node); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#148 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#148 def node_body(node, include_begin_nodes: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#157 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#157 def preferred_delimiters; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#153 + # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#153 def slash_literal?(node); end end -# source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#99 +# source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#99 RuboCop::Cop::Style::RegexpLiteral::MSG_USE_PERCENT_R = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/regexp_literal.rb#98 +# source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#98 RuboCop::Cop::Style::RegexpLiteral::MSG_USE_SLASHES = T.let(T.unsafe(nil), String) # Sort `require` and `require_relative` in alphabetical order. @@ -49341,46 +49485,46 @@ RuboCop::Cop::Style::RegexpLiteral::MSG_USE_SLASHES = T.let(T.unsafe(nil), Strin # end # require 'a' # -# source://rubocop/lib/rubocop/cop/style/require_order.rb#66 +# source://rubocop//lib/rubocop/cop/style/require_order.rb#66 class RuboCop::Cop::Style::RequireOrder < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/require_order.rb#76 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#76 def if_inside_only_require(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/require_order.rb#83 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#83 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/require_order.rb#115 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#115 def autocorrect(corrector, node, previous_older_sibling); end - # source://rubocop/lib/rubocop/cop/style/require_order.rb#101 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#101 def find_previous_older_sibling(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/require_order.rb#133 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#133 def in_same_section?(node1, node2); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/require_order.rb#97 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#97 def not_modifier_form?(node); end - # source://rubocop/lib/rubocop/cop/style/require_order.rb#123 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#123 def search_node(node); end - # source://rubocop/lib/rubocop/cop/style/require_order.rb#127 + # source://rubocop//lib/rubocop/cop/style/require_order.rb#127 def sibling_node(node); end end -# source://rubocop/lib/rubocop/cop/style/require_order.rb#73 +# source://rubocop//lib/rubocop/cop/style/require_order.rb#73 RuboCop::Cop::Style::RequireOrder::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/require_order.rb#71 +# source://rubocop//lib/rubocop/cop/style/require_order.rb#71 RuboCop::Cop::Style::RequireOrder::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of `rescue` in its modifier form is added for following @@ -49418,39 +49562,39 @@ RuboCop::Cop::Style::RequireOrder::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # handle_error # end # -# source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#40 +# source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#40 class RuboCop::Cop::Style::RescueModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RescueNode extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#52 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#52 def on_resbody(node); end private - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#70 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#70 def correct_rescue_block(corrector, node, parenthesized); end - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#95 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#95 def heredoc_end(node); end - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#85 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#85 def indentation_and_offset(node, parenthesized); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#66 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#66 def parenthesized?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#48 + # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#48 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/rescue_modifier.rb#46 +# source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#46 RuboCop::Cop::Style::RescueModifier::MSG = T.let(T.unsafe(nil), String) # Checks for rescuing `StandardError`. There are two supported @@ -49520,35 +49664,35 @@ RuboCop::Cop::Style::RescueModifier::MSG = T.let(T.unsafe(nil), String) # bar # end # -# source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#73 +# source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#73 class RuboCop::Cop::Style::RescueStandardError < ::RuboCop::Cop::Base include ::RuboCop::Cop::RescueNode include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#92 + # source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#92 def on_resbody(node); end - # source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#88 + # source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#88 def rescue_standard_error?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#83 + # source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#83 def rescue_without_error_class?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#118 + # source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#118 def offense_for_explicit_enforced_style(node); end - # source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#107 + # source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#107 def offense_for_implicit_enforced_style(node, error); end end -# source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#80 +# source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#80 RuboCop::Cop::Style::RescueStandardError::MSG_EXPLICIT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/rescue_standard_error.rb#79 +# source://rubocop//lib/rubocop/cop/style/rescue_standard_error.rb#79 RuboCop::Cop::Style::RescueStandardError::MSG_IMPLICIT = T.let(T.unsafe(nil), String) # Enforces consistency between `return nil` and `return`. @@ -49580,46 +49724,46 @@ RuboCop::Cop::Style::RescueStandardError::MSG_IMPLICIT = T.let(T.unsafe(nil), St # return nil if arg # end # -# source://rubocop/lib/rubocop/cop/style/return_nil.rb#35 +# source://rubocop//lib/rubocop/cop/style/return_nil.rb#35 class RuboCop::Cop::Style::ReturnNil < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#90 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#90 def chained_send?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#93 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#93 def define_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#48 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#48 def on_return(node); end - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#46 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#46 def return_nil_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#43 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#43 def return_node?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#80 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#80 def correct_style?(node); end - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#76 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#76 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/return_nil.rb#85 + # source://rubocop//lib/rubocop/cop/style/return_nil.rb#85 def scoped_node?(node); end end -# source://rubocop/lib/rubocop/cop/style/return_nil.rb#39 +# source://rubocop//lib/rubocop/cop/style/return_nil.rb#39 RuboCop::Cop::Style::ReturnNil::RETURN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/return_nil.rb#40 +# source://rubocop//lib/rubocop/cop/style/return_nil.rb#40 RuboCop::Cop::Style::ReturnNil::RETURN_NIL_MSG = T.let(T.unsafe(nil), String) # Checks for predicate method definitions that return `nil`. @@ -49679,48 +49823,48 @@ RuboCop::Cop::Style::ReturnNil::RETURN_NIL_MSG = T.let(T.unsafe(nil), String) # do_something? # end # -# source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#69 +# source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#69 class RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#81 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#81 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#81 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#90 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#77 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#77 def return_nil?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#128 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#128 def handle_if(if_node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#113 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#113 def handle_implicit_return_values(node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#122 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#122 def handle_nil(nil_node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#118 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#118 def handle_return(return_node); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#94 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#94 def last_node_of_type(node, type); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#103 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#103 def node_type?(node, type); end - # source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#107 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#107 def register_offense(offense_node, replacement); end end -# source://rubocop/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#74 +# source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#74 RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Transforms usages of a method call safeguarded by a non `nil` @@ -49796,7 +49940,7 @@ RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition::MSG = T.let(T.unsafe( # foo.baz + bar if foo # foo.bar > 2 if foo # -# source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#89 +# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#89 class RuboCop::Cop::Style::SafeNavigation < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::NilMethods @@ -49804,126 +49948,126 @@ class RuboCop::Cop::Style::SafeNavigation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#136 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#136 def and_inside_begin?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#130 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#130 def and_with_rhs_or?(param0 = T.unsafe(nil)); end # if format: (if checked_variable body nil) # unless format: (if checked_variable nil body) # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#104 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#104 def modifier_if_safe_navigation_candidate(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#133 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#133 def not_nil_check?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#157 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#157 def on_and(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#141 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#141 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#181 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#181 def report_offense(node, rhs, rhs_receiver, *removal_ranges, offense_range: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#139 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#139 def strip_begin(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#119 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#119 def ternary_safe_navigation_candidate(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#360 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#360 def add_safe_nav_to_all_methods_in_chain(corrector, start_method, method_chain); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#277 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#277 def allowed_if_condition?(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#222 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#222 def and_parts(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#352 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#352 def begin_range(node, method_call); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#314 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#314 def chain_length(method_chain, method); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#204 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#204 def collect_and_clauses(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#258 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#258 def comments(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#216 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#216 def concat_nodes(nodes, and_node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#356 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#356 def end_range(node, method_call); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#296 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#296 def extract_common_parts(method_chain, checked_variable); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#243 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#243 def extract_if_body(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#281 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#281 def extract_parts_from_if(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#304 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#304 def find_matching_receiver_invocation(method_chain, checked_variable); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#198 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#198 def find_method_chain(node); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#251 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#251 def handle_comments(corrector, node, method_call); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#374 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#374 def max_chain_length; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#348 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#348 def method_called?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#340 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#340 def negated?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#229 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#229 def offending_node?(node, lhs_receiver, rhs, rhs_receiver); end - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#264 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#264 def relevant_comment_ranges(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#334 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#334 def unsafe_method?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#322 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#322 def unsafe_method_used?(method_chain, method); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#239 + # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#239 def use_var_only_in_unless_modifier?(node, variable); end end -# source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#97 +# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#97 RuboCop::Cop::Style::SafeNavigation::LOGIC_JUMP_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/safe_navigation.rb#95 +# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#95 RuboCop::Cop::Style::SafeNavigation::MSG = T.let(T.unsafe(nil), String) # Enforces safe navigation chains length to not exceed the configured maximum. @@ -49946,21 +50090,21 @@ RuboCop::Cop::Style::SafeNavigation::MSG = T.let(T.unsafe(nil), String) # user&.address&.zip # user.address.zip if user # -# source://rubocop/lib/rubocop/cop/style/safe_navigation_chain_length.rb#26 +# source://rubocop//lib/rubocop/cop/style/safe_navigation_chain_length.rb#26 class RuboCop::Cop::Style::SafeNavigationChainLength < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/safe_navigation_chain_length.rb#29 + # source://rubocop//lib/rubocop/cop/style/safe_navigation_chain_length.rb#29 def on_csend(node); end private - # source://rubocop/lib/rubocop/cop/style/safe_navigation_chain_length.rb#46 + # source://rubocop//lib/rubocop/cop/style/safe_navigation_chain_length.rb#46 def max; end - # source://rubocop/lib/rubocop/cop/style/safe_navigation_chain_length.rb#38 + # source://rubocop//lib/rubocop/cop/style/safe_navigation_chain_length.rb#38 def safe_navigation_chains(node); end end -# source://rubocop/lib/rubocop/cop/style/safe_navigation_chain_length.rb#27 +# source://rubocop//lib/rubocop/cop/style/safe_navigation_chain_length.rb#27 RuboCop::Cop::Style::SafeNavigationChainLength::MSG = T.let(T.unsafe(nil), String) # Identifies usages of `shuffle.first`, @@ -49988,58 +50132,58 @@ RuboCop::Cop::Style::SafeNavigationChainLength::MSG = T.let(T.unsafe(nil), Strin # [1, 2, 3].shuffle[foo, bar] # [1, 2, 3].shuffle(random: Random.new) # -# source://rubocop/lib/rubocop/cop/style/sample.rb#30 +# source://rubocop//lib/rubocop/cop/style/sample.rb#30 class RuboCop::Cop::Style::Sample < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/sample.rb#41 + # source://rubocop//lib/rubocop/cop/style/sample.rb#55 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#41 + # source://rubocop//lib/rubocop/cop/style/sample.rb#41 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#37 + # source://rubocop//lib/rubocop/cop/style/sample.rb#37 def sample_candidate?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/sample.rb#122 + # source://rubocop//lib/rubocop/cop/style/sample.rb#122 def correction(shuffle_arg, method, method_args); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#138 + # source://rubocop//lib/rubocop/cop/style/sample.rb#138 def extract_source(args); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#116 + # source://rubocop//lib/rubocop/cop/style/sample.rb#116 def message(shuffle_arg, method, method_args, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sample.rb#59 + # source://rubocop//lib/rubocop/cop/style/sample.rb#59 def offensive?(method, method_args); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#96 + # source://rubocop//lib/rubocop/cop/style/sample.rb#96 def range_size(range_node); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#129 + # source://rubocop//lib/rubocop/cop/style/sample.rb#129 def sample_arg(method, method_args); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#70 + # source://rubocop//lib/rubocop/cop/style/sample.rb#70 def sample_size(method_args); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#79 + # source://rubocop//lib/rubocop/cop/style/sample.rb#79 def sample_size_for_one_arg(arg); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#89 + # source://rubocop//lib/rubocop/cop/style/sample.rb#89 def sample_size_for_two_args(first, second); end - # source://rubocop/lib/rubocop/cop/style/sample.rb#112 + # source://rubocop//lib/rubocop/cop/style/sample.rb#112 def source_range(shuffle_node, node); end end -# source://rubocop/lib/rubocop/cop/style/sample.rb#33 +# source://rubocop//lib/rubocop/cop/style/sample.rb#33 RuboCop::Cop::Style::Sample::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/sample.rb#34 +# source://rubocop//lib/rubocop/cop/style/sample.rb#34 RuboCop::Cop::Style::Sample::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for places where a subset of an Enumerable (array, @@ -50073,74 +50217,74 @@ RuboCop::Cop::Style::Sample::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # array.grep(regexp) # array.grep_v(regexp) # -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#45 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#45 class RuboCop::Cop::Style::SelectByRegexp < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#81 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#81 def calls_lvar?(param0 = T.unsafe(nil), param1); end # Returns true if a node appears to return a hash # - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#67 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#67 def creates_hash?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#76 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#76 def env_const?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#90 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#106 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#90 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#90 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#58 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#58 def regexp_match?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#136 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#136 def extract_send_node(block_node); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#149 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#149 def find_regexp(node, block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#160 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#160 def match_predicate_without_receiver?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#145 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#145 def opposite?(regexp_method_send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#110 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#110 def receiver_allowed?(node); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#124 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#124 def register_offense(node, block_node, regexp, replacement); end - # source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#116 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#116 def replacement(regexp_method_send_node, node); end end -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#49 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#49 RuboCop::Cop::Style::SelectByRegexp::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#52 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#52 RuboCop::Cop::Style::SelectByRegexp::OPPOSITE_REPLACEMENTS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#55 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#55 RuboCop::Cop::Style::SelectByRegexp::REGEXP_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#51 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#51 RuboCop::Cop::Style::SelectByRegexp::REPLACEMENTS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/select_by_regexp.rb#50 +# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#50 RuboCop::Cop::Style::SelectByRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces the use the shorthand for self-assignment. @@ -50153,52 +50297,52 @@ RuboCop::Cop::Style::SelectByRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # # good # x += 1 # -# source://rubocop/lib/rubocop/cop/style/self_assignment.rb#15 +# source://rubocop//lib/rubocop/cop/style/self_assignment.rb#15 class RuboCop::Cop::Style::SelfAssignment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#33 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#33 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#29 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#29 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#25 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#25 def on_lvasgn(node); end private - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#88 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#88 def apply_autocorrect(corrector, node, rhs, operator, new_rhs); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#70 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#70 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#84 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#84 def autocorrect_boolean_node(corrector, node, rhs); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#80 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#80 def autocorrect_send_node(corrector, node, rhs); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#39 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#39 def check(node, var_type); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#60 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#60 def check_boolean_node(node, rhs, var_name, var_type); end - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#49 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#49 def check_send_node(node, rhs, var_name, var_type); end class << self - # source://rubocop/lib/rubocop/cop/style/self_assignment.rb#21 + # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#21 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/self_assignment.rb#18 +# source://rubocop//lib/rubocop/cop/style/self_assignment.rb#18 RuboCop::Cop::Style::SelfAssignment::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/self_assignment.rb#19 +# source://rubocop//lib/rubocop/cop/style/self_assignment.rb#19 RuboCop::Cop::Style::SelfAssignment::OPS = T.let(T.unsafe(nil), Array) # Checks for multiple expressions placed on the same line. @@ -50223,78 +50367,78 @@ RuboCop::Cop::Style::SelfAssignment::OPS = T.let(T.unsafe(nil), Array) # # good # foo = 1; bar = 2 # -# source://rubocop/lib/rubocop/cop/style/semicolon.rb#29 +# source://rubocop//lib/rubocop/cop/style/semicolon.rb#29 class RuboCop::Cop::Style::Semicolon < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#45 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#45 def on_begin(node); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#39 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#39 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#64 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#64 def check_for_line_terminator_or_opener; end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#70 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#70 def each_semicolon; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#106 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#106 def exist_semicolon_after_left_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#110 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#110 def exist_semicolon_after_left_lambda_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#118 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#118 def exist_semicolon_after_left_string_interpolation_brace?(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#102 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#102 def exist_semicolon_before_right_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#114 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#114 def exist_semicolon_before_right_string_interpolation_brace?(tokens); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#142 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#142 def expressions_per_line(exprs); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#156 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#156 def find_range_node(token_before_semicolon); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#148 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#148 def find_semicolon_positions(line); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#162 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#162 def range_nodes; end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#122 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#122 def register_semicolon(line, column, after_expression, token_before_semicolon = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#84 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#84 def semicolon_position(tokens); end - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#79 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#79 def tokens_for_lines; end class << self - # source://rubocop/lib/rubocop/cop/style/semicolon.rb#35 + # source://rubocop//lib/rubocop/cop/style/semicolon.rb#35 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/semicolon.rb#33 +# source://rubocop//lib/rubocop/cop/style/semicolon.rb#33 RuboCop::Cop::Style::Semicolon::MSG = T.let(T.unsafe(nil), String) # Checks for the use of the send method. @@ -50308,19 +50452,19 @@ RuboCop::Cop::Style::Semicolon::MSG = T.let(T.unsafe(nil), String) # Foo.__send__(bar) # quuz.public_send(fred) # -# source://rubocop/lib/rubocop/cop/style/send.rb#16 +# source://rubocop//lib/rubocop/cop/style/send.rb#16 class RuboCop::Cop::Style::Send < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/send.rb#20 + # source://rubocop//lib/rubocop/cop/style/send.rb#25 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/send.rb#20 + # source://rubocop//lib/rubocop/cop/style/send.rb#20 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/send.rb#17 +# source://rubocop//lib/rubocop/cop/style/send.rb#17 RuboCop::Cop::Style::Send::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/send.rb#18 +# source://rubocop//lib/rubocop/cop/style/send.rb#18 RuboCop::Cop::Style::Send::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Detects the use of the `public_send` method with a literal method name argument. @@ -50364,43 +50508,43 @@ RuboCop::Cop::Style::Send::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # obj.method_name # -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#54 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#54 class RuboCop::Cop::Style::SendWithLiteralMethodName < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#68 + # source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#86 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#68 + # source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#68 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#91 + # source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#91 def allow_send?; end - # source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#95 + # source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#95 def offense_range(node); end - # source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#99 + # source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#99 def removal_argument_range(first_argument, second_argument); end end -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#60 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#60 RuboCop::Cop::Style::SendWithLiteralMethodName::METHOD_NAME_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#57 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#57 RuboCop::Cop::Style::SendWithLiteralMethodName::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#61 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#61 RuboCop::Cop::Style::SendWithLiteralMethodName::RESERVED_WORDS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#58 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#58 RuboCop::Cop::Style::SendWithLiteralMethodName::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/send_with_literal_method_name.rb#59 +# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#59 RuboCop::Cop::Style::SendWithLiteralMethodName::STATIC_METHOD_NAME_NODE_TYPES = T.let(T.unsafe(nil), Array) # Checks for uses of `fail` and `raise`. @@ -50503,61 +50647,61 @@ RuboCop::Cop::Style::SendWithLiteralMethodName::STATIC_METHOD_NAME_NODE_TYPES = # explicit_receiver.fail # explicit_receiver.raise # -# source://rubocop/lib/rubocop/cop/style/signal_exception.rb#107 +# source://rubocop//lib/rubocop/cop/style/signal_exception.rb#107 class RuboCop::Cop::Style::SignalException < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#120 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#120 def custom_fail_methods(param0); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#117 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#117 def kernel_call?(param0 = T.unsafe(nil), param1); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#122 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#122 def on_rescue(node); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#133 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#133 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#205 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#205 def allow(method_name, node); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#187 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#187 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#166 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#166 def check_scope(method_name, node); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#179 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#179 def check_send(method_name, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#199 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#199 def command_or_kernel_call?(name, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#148 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#148 def custom_fail_defined?; end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#209 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#209 def each_command_or_kernel_call(method_name, node); end - # source://rubocop/lib/rubocop/cop/style/signal_exception.rb#155 + # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#155 def message(method_name); end end -# source://rubocop/lib/rubocop/cop/style/signal_exception.rb#111 +# source://rubocop//lib/rubocop/cop/style/signal_exception.rb#111 RuboCop::Cop::Style::SignalException::FAIL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/signal_exception.rb#112 +# source://rubocop//lib/rubocop/cop/style/signal_exception.rb#112 RuboCop::Cop::Style::SignalException::RAISE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/signal_exception.rb#114 +# source://rubocop//lib/rubocop/cop/style/signal_exception.rb#114 RuboCop::Cop::Style::SignalException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Sometimes using `dig` method ends up with just a single @@ -50583,29 +50727,29 @@ RuboCop::Cop::Style::SignalException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # keys = %i[key1 key2] # { key1: { key2: 'value' } }.dig(*keys) # -# source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#34 +# source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#34 class RuboCop::Cop::Style::SingleArgumentDig < ::RuboCop::Cop::Base include ::RuboCop::Cop::DigHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#42 + # source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#42 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#66 + # source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#66 def ignore_dig_chain?(node); end end -# source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#40 +# source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#40 RuboCop::Cop::Style::SingleArgumentDig::IGNORED_ARGUMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#38 +# source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#38 RuboCop::Cop::Style::SingleArgumentDig::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/single_argument_dig.rb#39 +# source://rubocop//lib/rubocop/cop/style/single_argument_dig.rb#39 RuboCop::Cop::Style::SingleArgumentDig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks whether the block parameters of a single-line @@ -50634,50 +50778,50 @@ RuboCop::Cop::Style::SingleArgumentDig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # c + d # end # -# source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#31 +# source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#31 class RuboCop::Cop::Style::SingleLineBlockParams < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#36 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#36 def on_block(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#105 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#105 def args_match?(method_name, args); end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#69 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#69 def autocorrect(corrector, node, preferred_block_arguments, joined_block_arguments); end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#57 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#57 def build_preferred_arguments_map(node, preferred_arguments); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#79 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#79 def eligible_arguments?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#83 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#83 def eligible_method?(node); end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#95 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#95 def method_name(method); end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#91 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#91 def method_names; end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#87 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#87 def methods; end - # source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#99 + # source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#99 def target_args(method_name); end end -# source://rubocop/lib/rubocop/cop/style/single_line_block_params.rb#34 +# source://rubocop//lib/rubocop/cop/style/single_line_block_params.rb#34 RuboCop::Cop::Style::SingleLineBlockParams::MSG = T.let(T.unsafe(nil), String) # Checks for single-line `do`...`end` block. @@ -50707,29 +50851,29 @@ RuboCop::Cop::Style::SingleLineBlockParams::MSG = T.let(T.unsafe(nil), String) # # good # ->(arg) { bar(arg) } # -# source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#33 +# source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#33 class RuboCop::Cop::Style::SingleLineDoEndBlock < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckSingleLineSuitability extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#40 + # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#40 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#40 + # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#58 def on_numblock(node); end private - # source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#62 + # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#62 def do_line(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#70 + # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#70 def single_line_blocks_preferred?; end end -# source://rubocop/lib/rubocop/cop/style/single_line_do_end_block.rb#37 +# source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#37 RuboCop::Cop::Style::SingleLineDoEndBlock::MSG = T.let(T.unsafe(nil), String) # Checks for single-line method definitions that contain a body. @@ -50758,65 +50902,65 @@ RuboCop::Cop::Style::SingleLineDoEndBlock::MSG = T.let(T.unsafe(nil), String) # # bad # def no_op; end # -# source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#34 +# source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#34 class RuboCop::Cop::Style::SingleLineMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#41 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#41 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#41 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#48 def on_defs(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#60 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#60 def allow_empty?; end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#52 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#52 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#97 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#97 def break_line_before(corrector, node, range, indent_steps: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#88 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#88 def correct_to_endless(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#64 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#64 def correct_to_endless?(body_node); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#74 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#74 def correct_to_multiline(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#136 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#136 def disallow_endless_method_style?; end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#104 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#104 def each_part(body); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#121 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#121 def method_body_source(method_body); end - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#114 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#114 def move_comment(node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#132 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#132 def require_parentheses?(method_body); end end -# source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#38 +# source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#38 RuboCop::Cop::Style::SingleLineMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/single_line_methods.rb#39 +# source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#39 RuboCop::Cop::Style::SingleLineMethods::NOT_SUPPORTED_ENDLESS_METHOD_BODY_TYPES = T.let(T.unsafe(nil), Array) # Checks that arrays are not sliced with the redundant `ary[0..-1]`, replacing it with `ary`, @@ -50846,59 +50990,59 @@ RuboCop::Cop::Style::SingleLineMethods::NOT_SUPPORTED_ENDLESS_METHOD_BODY_TYPES # items[..42] # Ruby 2.7+ # items[0..42] # Ruby 2.7+ # -# source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#46 +# source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#46 class RuboCop::Cop::Style::SlicingWithRange < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#77 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#94 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#77 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#77 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#73 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#73 def range_from_zero?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#57 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#57 def range_from_zero_till_minus_one?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#65 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#65 def range_till_minus_one?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#140 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#140 def arguments_source(node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#136 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#136 def beginless(range_node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#132 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#132 def endless(range_node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#102 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#102 def find_offense_range(node); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#126 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#126 def offense_message_for_partial_range(node, prefer, offense_range); end - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#110 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#110 def offense_message_with_removal_range(node, range_node, offense_range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#98 + # source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#98 def unparenthesized_call?(node); end end -# source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#52 +# source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#52 RuboCop::Cop::Style::SlicingWithRange::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#53 +# source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#53 RuboCop::Cop::Style::SlicingWithRange::MSG_USELESS_RANGE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/slicing_with_range.rb#54 +# source://rubocop//lib/rubocop/cop/style/slicing_with_range.rb#54 RuboCop::Cop::Style::SlicingWithRange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # If the branch of a conditional consists solely of a conditional node, @@ -50943,101 +51087,101 @@ RuboCop::Cop::Style::SlicingWithRange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A # do_something # end if condition_a # -# source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#49 +# source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#49 class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#59 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#59 def on_if(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#260 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#260 def allow_modifier?; end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#233 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#233 def arguments_range(node); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#81 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#81 def assigned_variables(condition); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#98 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#98 def autocorrect(corrector, node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#110 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#110 def autocorrect_outer_condition_basic(corrector, node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#125 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#125 def autocorrect_outer_condition_modify_form(corrector, node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#145 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#145 def correct_for_basic_condition_style(corrector, node, if_branch, and_operator); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#181 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#181 def correct_for_comment(corrector, node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#136 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#136 def correct_for_guard_condition_style(corrector, outer_condition, if_branch, and_operator); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#171 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#171 def correct_for_outer_condition_modify_form_style(corrector, node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#130 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#130 def correct_from_unless_to_if(corrector, node, is_modify_form: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#190 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#190 def correct_outer_condition(corrector, condition); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#203 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#203 def insert_bang(corrector, node, is_modify_form); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#216 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#216 def insert_bang_for_and(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#89 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#89 def offending_branch?(node, branch); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#264 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#264 def outer_condition_modify_form?(node, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#253 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#253 def parenthesized_method_arguments(node); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#243 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#243 def replace_condition(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#228 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#228 def require_parentheses?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#74 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#74 def use_variable_assignment_in_condition?(condition, if_branch); end - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#155 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#155 def wrap_condition(corrector, condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#239 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#239 def wrap_condition?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#55 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#55 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/sole_nested_conditional.rb#53 +# source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#53 RuboCop::Cop::Style::SoleNestedConditional::MSG = T.let(T.unsafe(nil), String) # Looks for uses of Perl-style global variables. @@ -51114,88 +51258,88 @@ RuboCop::Cop::Style::SoleNestedConditional::MSG = T.let(T.unsafe(nil), String) # puts $= # puts $* # -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#86 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#86 class RuboCop::Cop::Style::SpecialGlobalVars < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RequireLibrary extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#175 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#175 def autocorrect(corrector, node, global_var); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#167 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#167 def message(global_var); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#151 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#151 def on_gvar(node); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#146 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#146 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#246 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#246 def add_require_english?; end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#240 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#240 def english_name_replacement(preferred_name, node); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#189 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#189 def format_english_message(global_var); end # For now, we assume that lists are 2 items or less. Easy grammar! # - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#211 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#211 def format_list(items); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#197 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#197 def format_message(english, regular, global); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#234 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#234 def matching_styles(global); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#226 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#226 def preferred_names(global); end - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#215 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#215 def replacement(node, global_var); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#250 + # source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#250 def should_require_english?(global_var); end end -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#127 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#127 RuboCop::Cop::Style::SpecialGlobalVars::BUILTIN_VARS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#99 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#99 RuboCop::Cop::Style::SpecialGlobalVars::ENGLISH_VARS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#144 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#144 RuboCop::Cop::Style::SpecialGlobalVars::LIBRARY_NAME = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#92 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#92 RuboCop::Cop::Style::SpecialGlobalVars::MSG_BOTH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#95 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#95 RuboCop::Cop::Style::SpecialGlobalVars::MSG_ENGLISH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#97 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#97 RuboCop::Cop::Style::SpecialGlobalVars::MSG_REGULAR = T.let(T.unsafe(nil), String) # Anything *not* in this set is provided by the English library. # -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#121 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#121 RuboCop::Cop::Style::SpecialGlobalVars::NON_ENGLISH_VARS = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#123 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#123 RuboCop::Cop::Style::SpecialGlobalVars::PERL_VARS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/cop/style/special_global_vars.rb#138 +# source://rubocop//lib/rubocop/cop/style/special_global_vars.rb#138 RuboCop::Cop::Style::SpecialGlobalVars::STYLE_VARS_MAP = T.let(T.unsafe(nil), Hash) # Check for parentheses around stabby lambda arguments. @@ -51214,50 +51358,50 @@ RuboCop::Cop::Style::SpecialGlobalVars::STYLE_VARS_MAP = T.let(T.unsafe(nil), Ha # # good # ->a,b,c { a + b + c} # -# source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#22 +# source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#22 class RuboCop::Cop::Style::StabbyLambdaParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#28 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#28 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#54 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#54 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#46 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#46 def missing_parentheses?(node); end - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#58 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#58 def missing_parentheses_corrector(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#73 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#73 def parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#50 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#50 def redundant_parentheses?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#69 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#69 def stabby_lambda_with_args?(node); end - # source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#62 + # source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#62 def unwanted_parentheses_corrector(corrector, node); end end -# source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#27 +# source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#27 RuboCop::Cop::Style::StabbyLambdaParentheses::MSG_NO_REQUIRE = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/stabby_lambda_parentheses.rb#26 +# source://rubocop//lib/rubocop/cop/style/stabby_lambda_parentheses.rb#26 RuboCop::Cop::Style::StabbyLambdaParentheses::MSG_REQUIRE = T.let(T.unsafe(nil), String) # Checks for places where classes with only class methods can be @@ -51295,46 +51439,46 @@ RuboCop::Cop::Style::StabbyLambdaParentheses::MSG_REQUIRE = T.let(T.unsafe(nil), # def self.class_method; end # end # -# source://rubocop/lib/rubocop/cop/style/static_class.rb#46 +# source://rubocop//lib/rubocop/cop/style/static_class.rb#46 class RuboCop::Cop::Style::StaticClass < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::VisibilityHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/static_class.rb#53 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#53 def on_class(class_node); end private - # source://rubocop/lib/rubocop/cop/style/static_class.rb#64 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#64 def autocorrect(corrector, class_node); end - # source://rubocop/lib/rubocop/cop/style/static_class.rb#77 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#77 def autocorrect_def(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/static_class.rb#83 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#83 def autocorrect_sclass(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/static_class.rb#90 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#90 def class_convertible_to_module?(class_node); end - # source://rubocop/lib/rubocop/cop/style/static_class.rb#114 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#114 def class_elements(class_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/static_class.rb#102 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#102 def extend_call?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/static_class.rb#106 + # source://rubocop//lib/rubocop/cop/style/static_class.rb#106 def sclass_convertible_to_module?(node); end end -# source://rubocop/lib/rubocop/cop/style/static_class.rb#51 +# source://rubocop//lib/rubocop/cop/style/static_class.rb#51 RuboCop::Cop::Style::StaticClass::MSG = T.let(T.unsafe(nil), String) # Identifies places where `$stderr.puts` can be replaced by @@ -51348,35 +51492,35 @@ RuboCop::Cop::Style::StaticClass::MSG = T.let(T.unsafe(nil), String) # # good # warn('hello') # -# source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#17 +# source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#17 class RuboCop::Cop::Style::StderrPuts < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#32 + # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#32 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#25 + # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#25 def stderr_puts?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#43 + # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#43 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#47 + # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#47 def stderr_gvar?(sym); end - # source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#51 + # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#51 def stderr_puts_range(send); end end -# source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#21 +# source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#21 RuboCop::Cop::Style::StderrPuts::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/stderr_puts.rb#22 +# source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#22 RuboCop::Cop::Style::StderrPuts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of `String#split` with empty string or regexp literal argument. @@ -51389,25 +51533,25 @@ RuboCop::Cop::Style::StderrPuts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # string.chars # -# source://rubocop/lib/rubocop/cop/style/string_chars.rb#21 +# source://rubocop//lib/rubocop/cop/style/string_chars.rb#21 class RuboCop::Cop::Style::StringChars < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_chars.rb#29 + # source://rubocop//lib/rubocop/cop/style/string_chars.rb#38 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/string_chars.rb#29 + # source://rubocop//lib/rubocop/cop/style/string_chars.rb#29 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/string_chars.rb#27 +# source://rubocop//lib/rubocop/cop/style/string_chars.rb#27 RuboCop::Cop::Style::StringChars::BAD_ARGUMENTS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/string_chars.rb#25 +# source://rubocop//lib/rubocop/cop/style/string_chars.rb#25 RuboCop::Cop::Style::StringChars::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/string_chars.rb#26 +# source://rubocop//lib/rubocop/cop/style/string_chars.rb#26 RuboCop::Cop::Style::StringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where string concatenation @@ -51452,78 +51596,78 @@ RuboCop::Cop::Style::StringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # user.name + '!!' # Pathname.new('/') + 'test' # -# source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#53 +# source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#53 class RuboCop::Cop::Style::StringConcatenation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#68 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#68 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#72 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#72 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#61 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#61 def string_concatenation?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#159 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#159 def adjust_str(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#115 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#115 def collect_parts(node, parts = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#140 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#140 def corrected_ancestor?(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#107 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#107 def find_topmost_plus_node(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#163 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#163 def handle_quotes(parts); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#134 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#134 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#97 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#97 def line_end_concatenation?(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#173 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#173 def mode; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#126 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#126 def plus_node?(node); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#85 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#85 def register_offense(topmost_plus_node, parts); end - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#144 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#144 def replacement(parts); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#169 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#169 def single_quoted?(str_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#130 + # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#130 def uncorrectable?(part); end end -# source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#57 +# source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#57 RuboCop::Cop::Style::StringConcatenation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/string_concatenation.rb#58 +# source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#58 RuboCop::Cop::Style::StringConcatenation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of strings as keys in hashes. The use of @@ -51536,21 +51680,21 @@ RuboCop::Cop::Style::StringConcatenation::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # # good # { one: 1, two: 2, three: 3 } # -# source://rubocop/lib/rubocop/cop/style/string_hash_keys.rb#19 +# source://rubocop//lib/rubocop/cop/style/string_hash_keys.rb#19 class RuboCop::Cop::Style::StringHashKeys < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_hash_keys.rb#42 + # source://rubocop//lib/rubocop/cop/style/string_hash_keys.rb#42 def on_pair(node); end - # source://rubocop/lib/rubocop/cop/style/string_hash_keys.rb#30 + # source://rubocop//lib/rubocop/cop/style/string_hash_keys.rb#30 def receive_environments_method?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/string_hash_keys.rb#25 + # source://rubocop//lib/rubocop/cop/style/string_hash_keys.rb#25 def string_hash_key?(param0 = T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/style/string_hash_keys.rb#22 +# source://rubocop//lib/rubocop/cop/style/string_hash_keys.rb#22 RuboCop::Cop::Style::StringHashKeys::MSG = T.let(T.unsafe(nil), String) # Checks if uses of quotes match the configured preference. @@ -51576,65 +51720,65 @@ RuboCop::Cop::Style::StringHashKeys::MSG = T.let(T.unsafe(nil), String) # "No special chars or interpolation" # "Every string in #{project} uses double_quotes" # -# source://rubocop/lib/rubocop/cop/style/string_literals.rb#29 +# source://rubocop//lib/rubocop/cop/style/string_literals.rb#29 class RuboCop::Cop::Style::StringLiterals < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::StringLiteralsHelp include ::RuboCop::Cop::StringHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#37 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#37 def on_dstr(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#123 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#123 def accept_child_double_quotes?(nodes); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#71 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#71 def all_string_literals?(nodes); end - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#61 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#61 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#105 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#105 def check_multiline_quote_style(node, quote); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#101 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#101 def consistent_multiline?; end - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#75 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#75 def detect_quote_styles(node); end - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#87 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#87 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#97 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#97 def offense?(node); end - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#65 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#65 def register_offense(node, message: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#119 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#119 def unexpected_double_quotes?(quote); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals.rb#115 + # source://rubocop//lib/rubocop/cop/style/string_literals.rb#115 def unexpected_single_quotes?(quote); end end -# source://rubocop/lib/rubocop/cop/style/string_literals.rb#35 +# source://rubocop//lib/rubocop/cop/style/string_literals.rb#35 RuboCop::Cop::Style::StringLiterals::MSG_INCONSISTENT = T.let(T.unsafe(nil), String) # Checks that quotes inside string, symbol, and regexp interpolations @@ -51673,31 +51817,31 @@ RuboCop::Cop::Style::StringLiterals::MSG_INCONSISTENT = T.let(T.unsafe(nil), Str # TEXT # regexp = /Tests #{success ? "PASS" : "FAIL"}/ # -# source://rubocop/lib/rubocop/cop/style/string_literals_in_interpolation.rb#42 +# source://rubocop//lib/rubocop/cop/style/string_literals_in_interpolation.rb#42 class RuboCop::Cop::Style::StringLiteralsInInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::StringLiteralsHelp include ::RuboCop::Cop::StringHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_literals_in_interpolation.rb#48 + # source://rubocop//lib/rubocop/cop/style/string_literals_in_interpolation.rb#48 def autocorrect(corrector, node); end # Cop classes that include the StringHelp module usually ignore regexp # nodes. Not so for this cop, which is why we override the on_regexp # definition with an empty one. # - # source://rubocop/lib/rubocop/cop/style/string_literals_in_interpolation.rb#55 + # source://rubocop//lib/rubocop/cop/style/string_literals_in_interpolation.rb#55 def on_regexp(node); end private - # source://rubocop/lib/rubocop/cop/style/string_literals_in_interpolation.rb#59 + # source://rubocop//lib/rubocop/cop/style/string_literals_in_interpolation.rb#59 def message(_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/string_literals_in_interpolation.rb#66 + # source://rubocop//lib/rubocop/cop/style/string_literals_in_interpolation.rb#66 def offense?(node); end end @@ -51713,19 +51857,19 @@ end # 'name'.to_sym # 'var'.preferred_method # -# source://rubocop/lib/rubocop/cop/style/string_methods.rb#17 +# source://rubocop//lib/rubocop/cop/style/string_methods.rb#17 class RuboCop::Cop::Style::StringMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::MethodPreference extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/string_methods.rb#23 + # source://rubocop//lib/rubocop/cop/style/string_methods.rb#32 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/string_methods.rb#23 + # source://rubocop//lib/rubocop/cop/style/string_methods.rb#23 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/string_methods.rb#21 +# source://rubocop//lib/rubocop/cop/style/string_methods.rb#21 RuboCop::Cop::Style::StringMethods::MSG = T.let(T.unsafe(nil), String) # Identifies places where `lstrip.rstrip` can be replaced by @@ -51739,25 +51883,25 @@ RuboCop::Cop::Style::StringMethods::MSG = T.let(T.unsafe(nil), String) # # good # 'abc'.strip # -# source://rubocop/lib/rubocop/cop/style/strip.rb#16 +# source://rubocop//lib/rubocop/cop/style/strip.rb#16 class RuboCop::Cop::Style::Strip < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/strip.rb#24 + # source://rubocop//lib/rubocop/cop/style/strip.rb#24 def lstrip_rstrip(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/strip.rb#31 + # source://rubocop//lib/rubocop/cop/style/strip.rb#41 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/strip.rb#31 + # source://rubocop//lib/rubocop/cop/style/strip.rb#31 def on_send(node); end end -# source://rubocop/lib/rubocop/cop/style/strip.rb#20 +# source://rubocop//lib/rubocop/cop/style/strip.rb#20 RuboCop::Cop::Style::Strip::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/strip.rb#21 +# source://rubocop//lib/rubocop/cop/style/strip.rb#21 RuboCop::Cop::Style::Strip::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for inheritance from Struct.new. @@ -51777,27 +51921,27 @@ RuboCop::Cop::Style::Strip::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # end # end # -# source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#26 +# source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#26 class RuboCop::Cop::Style::StructInheritance < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#33 + # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#33 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#45 + # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#45 def struct_constructor?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#52 + # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#52 def correct_parent(parent, corrector); end - # source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#62 + # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#62 def range_for_empty_class_body(class_node, struct_new); end end -# source://rubocop/lib/rubocop/cop/style/struct_inheritance.rb#30 +# source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#30 RuboCop::Cop::Style::StructInheritance::MSG = T.let(T.unsafe(nil), String) # Checks for redundant argument forwarding when calling super with arguments identical to @@ -51863,28 +52007,28 @@ RuboCop::Cop::Style::StructInheritance::MSG = T.let(T.unsafe(nil), String) # super(&block) # end # -# source://rubocop/lib/rubocop/cop/style/super_arguments.rb#68 +# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#68 class RuboCop::Cop::Style::SuperArguments < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#78 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#78 def on_super(super_node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#126 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#126 def argument_list_size_differs?(def_args, super_args, super_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#108 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#108 def arguments_identical?(def_node, super_node, def_args, super_args); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#181 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#181 def block_arg_same?(def_node, super_node, def_arg, super_arg); end # Reassigning the block argument will still pass along the original block to super @@ -51892,54 +52036,54 @@ class RuboCop::Cop::Style::SuperArguments < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#195 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#195 def block_reassigned?(def_node, block_arg_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#135 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#135 def block_sends_to_super?(super_node, parent_node = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#96 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#96 def find_def_node(super_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#206 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#206 def forward_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#161 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#161 def keyword_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#171 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#171 def keyword_rest_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#144 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#144 def positional_arg_same?(def_arg, super_arg); end - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#151 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#151 def positional_rest_arg_same(def_arg, super_arg); end - # source://rubocop/lib/rubocop/cop/style/super_arguments.rb#210 + # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#210 def preprocess_super_args(super_args); end end -# source://rubocop/lib/rubocop/cop/style/super_arguments.rb#72 +# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#72 RuboCop::Cop::Style::SuperArguments::ASSIGN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/super_arguments.rb#71 +# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#71 RuboCop::Cop::Style::SuperArguments::DEF_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/super_arguments.rb#74 +# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#74 RuboCop::Cop::Style::SuperArguments::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/super_arguments.rb#75 +# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#75 RuboCop::Cop::Style::SuperArguments::MSG_INLINE_BLOCK = T.let(T.unsafe(nil), String) # Enforces the presence of parentheses in `super` containing arguments. @@ -51954,15 +52098,15 @@ RuboCop::Cop::Style::SuperArguments::MSG_INLINE_BLOCK = T.let(T.unsafe(nil), Str # # good # super(name, age) # -# source://rubocop/lib/rubocop/cop/style/super_with_args_parentheses.rb#18 +# source://rubocop//lib/rubocop/cop/style/super_with_args_parentheses.rb#18 class RuboCop::Cop::Style::SuperWithArgsParentheses < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/super_with_args_parentheses.rb#23 + # source://rubocop//lib/rubocop/cop/style/super_with_args_parentheses.rb#23 def on_super(node); end end -# source://rubocop/lib/rubocop/cop/style/super_with_args_parentheses.rb#21 +# source://rubocop//lib/rubocop/cop/style/super_with_args_parentheses.rb#21 RuboCop::Cop::Style::SuperWithArgsParentheses::MSG = T.let(T.unsafe(nil), String) # Enforces the use of shorthand-style swapping of 2 variables. @@ -51976,66 +52120,66 @@ RuboCop::Cop::Style::SuperWithArgsParentheses::MSG = T.let(T.unsafe(nil), String # # good # x, y = y, x # -# source://rubocop/lib/rubocop/cop/style/swap_values.rb#21 +# source://rubocop//lib/rubocop/cop/style/swap_values.rb#21 class RuboCop::Cop::Style::SwapValues < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 def on_asgn(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_casgn(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_cvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_gvasgn(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_ivasgn(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_lvasgn(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#47 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#47 def allowed_assignment?(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#93 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#93 def correction_range(tmp_assign, y_assign); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#81 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#81 def lhs(node); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#66 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#66 def message(x_assign, y_assign); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#75 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#75 def replacement(x_assign); end - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#89 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#89 def rhs(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#60 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#60 def simple_assignment?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/swap_values.rb#51 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#51 def swapping_values?(tmp_assign, x_assign, y_assign); end end -# source://rubocop/lib/rubocop/cop/style/swap_values.rb#25 +# source://rubocop//lib/rubocop/cop/style/swap_values.rb#25 RuboCop::Cop::Style::SwapValues::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/swap_values.rb#28 +# source://rubocop//lib/rubocop/cop/style/swap_values.rb#28 RuboCop::Cop::Style::SwapValues::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Set) # Checks for array literals made up of symbols that are not @@ -52072,7 +52216,7 @@ RuboCop::Cop::Style::SwapValues::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), # # bad # %i[foo bar baz] # -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#40 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#40 class RuboCop::Cop::Style::SymbolArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::ArrayMinSize include ::RuboCop::Cop::ArraySyntax @@ -52081,60 +52225,60 @@ class RuboCop::Cop::Style::SymbolArray < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#66 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#66 def on_array(node); end private - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#96 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#96 def build_bracketed_array(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#78 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#78 def complex_content?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#92 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#92 def invalid_percent_array_contents?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#119 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#119 def symbol_without_quote?(string); end - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#111 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#111 def to_symbol_literal(string); end class << self # Returns the value of attribute largest_brackets. # - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#63 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#63 def largest_brackets; end # Sets the attribute largest_brackets # # @param value the value to set the attribute largest_brackets to. # - # source://rubocop/lib/rubocop/cop/style/symbol_array.rb#63 + # source://rubocop//lib/rubocop/cop/style/symbol_array.rb#63 def largest_brackets=(_arg0); end end end -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#51 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#51 RuboCop::Cop::Style::SymbolArray::ARRAY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#52 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#52 RuboCop::Cop::Style::SymbolArray::DELIMITERS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#50 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#50 RuboCop::Cop::Style::SymbolArray::PERCENT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#57 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#57 RuboCop::Cop::Style::SymbolArray::REDEFINABLE_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/symbol_array.rb#53 +# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#53 RuboCop::Cop::Style::SymbolArray::SPECIAL_GVARS = T.let(T.unsafe(nil), Array) # Checks symbol literal syntax. @@ -52147,15 +52291,15 @@ RuboCop::Cop::Style::SymbolArray::SPECIAL_GVARS = T.let(T.unsafe(nil), Array) # # good # :symbol # -# source://rubocop/lib/rubocop/cop/style/symbol_literal.rb#15 +# source://rubocop//lib/rubocop/cop/style/symbol_literal.rb#15 class RuboCop::Cop::Style::SymbolLiteral < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/symbol_literal.rb#20 + # source://rubocop//lib/rubocop/cop/style/symbol_literal.rb#20 def on_sym(node); end end -# source://rubocop/lib/rubocop/cop/style/symbol_literal.rb#18 +# source://rubocop//lib/rubocop/cop/style/symbol_literal.rb#18 RuboCop::Cop::Style::SymbolLiteral::MSG = T.let(T.unsafe(nil), String) # Use symbols as procs when possible. @@ -52220,7 +52364,7 @@ RuboCop::Cop::Style::SymbolLiteral::MSG = T.let(T.unsafe(nil), String) # # good # something.map(&:upcase) # -# source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#140 +# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#140 class RuboCop::Cop::Style::SymbolProc < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp @@ -52230,123 +52374,123 @@ class RuboCop::Cop::Style::SymbolProc < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#189 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#189 def destructuring_block_argument?(argument_node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#170 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#170 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#170 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#187 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#152 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#152 def proc_node?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#158 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#158 def symbol_proc?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#155 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#155 def symbol_proc_receiver?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#274 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#274 def allow_comments?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#270 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#270 def allow_if_method_has_argument?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#204 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#204 def allowed_method_name?(name); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#217 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#217 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#247 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#247 def autocorrect_lambda_block(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#238 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#238 def autocorrect_with_args(corrector, node, args, method_name); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#225 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#225 def autocorrect_without_args(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#260 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#260 def begin_pos_for_replacement(node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#255 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#255 def block_range_with_space(node); end - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#208 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#208 def register_offense(node, method_name, block_method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#200 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#200 def unsafe_array_usage?(node); end # See: https://github.com/rubocop/rubocop/issues/10864 # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#196 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#196 def unsafe_hash_usage?(node); end class << self - # source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#165 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#165 def autocorrect_incompatible_with; end end end -# source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#149 +# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#149 RuboCop::Cop::Style::SymbolProc::LAMBDA_OR_PROC = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#147 +# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#147 RuboCop::Cop::Style::SymbolProc::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/symbol_proc.rb#148 +# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#148 RuboCop::Cop::Style::SymbolProc::SUPER_TYPES = T.let(T.unsafe(nil), Array) # Corrector to correct conditional assignment in ternary conditions. # -# source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#497 +# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#497 class RuboCop::Cop::Style::TernaryCorrector extend ::RuboCop::Cop::Style::ConditionalAssignmentHelper extend ::RuboCop::Cop::Style::ConditionalCorrectorHelper class << self - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#502 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#502 def correct(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#506 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#506 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#520 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#520 def correction(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#533 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#533 def element_assignment?(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#537 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#537 def extract_branches(node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#550 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#550 def move_branch_inside_condition(corrector, branch, assignment); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#545 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#545 def remove_parentheses(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/conditional_assignment.rb#524 + # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#524 def ternary(node); end end end @@ -52398,7 +52542,7 @@ end # # bad # foo = (bar = baz) ? a : b # -# source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#57 +# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#57 class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::SafeAssignment include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -52406,20 +52550,20 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::SurroundingSpace extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#191 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#191 def method_name(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#69 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#69 def on_if(node); end private - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#100 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#100 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#181 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#181 def below_ternary_precedence?(child); end # If the condition is parenthesized we recurse and check for any @@ -52427,31 +52571,31 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#131 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#131 def complex_condition?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#89 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#89 def condition_as_parenthesized_one_line_pattern_matching?(condition); end - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#196 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#196 def correct_parenthesized(corrector, condition); end - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#210 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#210 def correct_unparenthesized(corrector, condition); end - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#151 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#151 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#227 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#227 def node_args_need_parens?(send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#234 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#234 def node_with_args?(node); end # Anything that is not a variable, constant, or method/.method call @@ -52459,68 +52603,68 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#141 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#141 def non_complex_expression?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#145 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#145 def non_complex_send?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#113 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#113 def offense?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#85 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#85 def only_closing_parenthesis_is_last_line?(condition); end - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#214 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#214 def parenthesize_condition_arguments(corrector, send_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#169 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#169 def parenthesized?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#161 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#161 def require_parentheses?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#165 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#165 def require_parentheses_when_complex?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#177 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#177 def unparenthesized_method_call?(child); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#173 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#173 def unsafe_autocorrect?(condition); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#222 + # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#222 def whitespace_after?(node); end end -# source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#66 +# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#66 RuboCop::Cop::Style::TernaryParentheses::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#67 +# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#67 RuboCop::Cop::Style::TernaryParentheses::MSG_COMPLEX = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#64 +# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#64 RuboCop::Cop::Style::TernaryParentheses::NON_COMPLEX_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/ternary_parentheses.rb#63 +# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#63 RuboCop::Cop::Style::TernaryParentheses::VARIABLE_TYPES = T.let(T.unsafe(nil), Set) # Newcomers to ruby applications may write top-level methods, @@ -52565,38 +52709,38 @@ RuboCop::Cop::Style::TernaryParentheses::VARIABLE_TYPES = T.let(T.unsafe(nil), S # define_method(:foo) { puts 1 } # end # -# source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#47 +# source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#47 class RuboCop::Cop::Style::TopLevelMethodDefinition < ::RuboCop::Cop::Base - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#79 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#79 def define_method_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#60 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#60 def on_block(node); end - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#52 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#52 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#52 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#57 def on_defs(node); end - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#60 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#66 def on_numblock(node); end - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#52 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#58 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#70 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#70 def top_level_method_definition?(node); end end -# source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#48 +# source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#48 RuboCop::Cop::Style::TopLevelMethodDefinition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/top_level_method_definition.rb#50 +# source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#50 RuboCop::Cop::Style::TopLevelMethodDefinition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for trailing code after the class definition. @@ -52611,20 +52755,20 @@ RuboCop::Cop::Style::TopLevelMethodDefinition::RESTRICT_ON_SEND = T.let(T.unsafe # def foo; end # end # -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_class.rb#18 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#18 class RuboCop::Cop::Style::TrailingBodyOnClass < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::TrailingBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_body_on_class.rb#25 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#25 def on_class(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_body_on_class.rb#25 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#37 def on_sclass(node); end end -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_class.rb#23 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#23 RuboCop::Cop::Style::TrailingBodyOnClass::MSG = T.let(T.unsafe(nil), String) # Checks for trailing code after the method definition. @@ -52652,20 +52796,20 @@ RuboCop::Cop::Style::TrailingBodyOnClass::MSG = T.let(T.unsafe(nil), String) # # def endless_method = do_stuff # -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_method_definition.rb#31 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#31 class RuboCop::Cop::Style::TrailingBodyOnMethodDefinition < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::TrailingBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_body_on_method_definition.rb#38 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#38 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_body_on_method_definition.rb#38 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#51 def on_defs(node); end end -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_method_definition.rb#36 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#36 RuboCop::Cop::Style::TrailingBodyOnMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Checks for trailing code after the module definition. @@ -52680,17 +52824,17 @@ RuboCop::Cop::Style::TrailingBodyOnMethodDefinition::MSG = T.let(T.unsafe(nil), # extend self # end # -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_module.rb#18 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_module.rb#18 class RuboCop::Cop::Style::TrailingBodyOnModule < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::TrailingBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_body_on_module.rb#25 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_module.rb#25 def on_module(node); end end -# source://rubocop/lib/rubocop/cop/style/trailing_body_on_module.rb#23 +# source://rubocop//lib/rubocop/cop/style/trailing_body_on_module.rb#23 RuboCop::Cop::Style::TrailingBodyOnModule::MSG = T.let(T.unsafe(nil), String) # Checks for trailing comma in argument lists. @@ -52773,21 +52917,21 @@ RuboCop::Cop::Style::TrailingBodyOnModule::MSG = T.let(T.unsafe(nil), String) # 2 # ) # -# source://rubocop/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#87 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#87 class RuboCop::Cop::Style::TrailingCommaInArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#102 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 def on_send(node); end class << self - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#91 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#91 def autocorrect_incompatible_with; end end end @@ -52869,14 +53013,14 @@ end # 2 # ] # -# source://rubocop/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#84 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#84 class RuboCop::Cop::Style::TrailingCommaInArrayLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#88 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#88 def on_array(node); end end @@ -52918,36 +53062,36 @@ end # foo + bar # end # -# source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#62 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#62 class RuboCop::Cop::Style::TrailingCommaInBlockArgs < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#67 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#67 def on_block(node); end private - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#83 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#83 def arg_count(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#95 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#95 def argument_tokens(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#91 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#91 def last_comma(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#87 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#87 def trailing_comma?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#79 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#79 def useless_trailing_comma?(node); end end -# source://rubocop/lib/rubocop/cop/style/trailing_comma_in_block_args.rb#65 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#65 RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String) # Checks for trailing comma in hash literals. @@ -53030,14 +53174,14 @@ RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String # bar: 2 # } # -# source://rubocop/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#87 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#87 class RuboCop::Cop::Style::TrailingCommaInHashLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#91 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#91 def on_hash(node); end end @@ -53071,27 +53215,27 @@ end # end # end # -# source://rubocop/lib/rubocop/cop/style/trailing_method_end_statement.rb#36 +# source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#36 class RuboCop::Cop::Style::TrailingMethodEndStatement < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_method_end_statement.rb#41 + # source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#41 def on_def(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_method_end_statement.rb#55 + # source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#55 def body_and_end_on_same_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_method_end_statement.rb#51 + # source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#51 def trailing_end?(node); end end -# source://rubocop/lib/rubocop/cop/style/trailing_method_end_statement.rb#39 +# source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#39 RuboCop::Cop::Style::TrailingMethodEndStatement::MSG = T.let(T.unsafe(nil), String) # Checks for extra underscores in variable assignment. @@ -53117,62 +53261,62 @@ RuboCop::Cop::Style::TrailingMethodEndStatement::MSG = T.let(T.unsafe(nil), Stri # # bad # a, b, _something = foo() # -# source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#31 +# source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#31 class RuboCop::Cop::Style::TrailingUnderscoreVariable < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::SurroundingSpace extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#41 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#41 def on_masgn(node); end private - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#92 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#92 def allow_named_underscore_variables; end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#125 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#125 def children_offenses(variables); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#57 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#57 def find_first_offense(variables); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#66 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#66 def find_first_possible_offense(variables); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#108 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#108 def main_node_offense(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#146 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#146 def range_for_parentheses(offense, left); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#88 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#88 def reverse_index(collection, item); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#80 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#80 def splat_variable_before?(first_offense, variables); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#96 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#96 def unneeded_ranges(node); end - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#133 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#133 def unused_range(node_type, mlhs_node, right); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#129 + # source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#129 def unused_variables_only?(offense, variables); end end -# source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#38 +# source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#38 RuboCop::Cop::Style::TrailingUnderscoreVariable::DISALLOW = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#36 +# source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#36 RuboCop::Cop::Style::TrailingUnderscoreVariable::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/trailing_underscore_variable.rb#37 +# source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#37 RuboCop::Cop::Style::TrailingUnderscoreVariable::UNDERSCORE = T.let(T.unsafe(nil), String) # Looks for trivial reader/writer methods, that could @@ -53259,115 +53403,115 @@ RuboCop::Cop::Style::TrailingUnderscoreVariable::UNDERSCORE = T.let(T.unsafe(nil # attr_reader :baz # end # -# source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#98 +# source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#98 class RuboCop::Cop::Style::TrivialAccessors < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#190 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#190 def looks_like_trivial_writer?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#104 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#104 def on_def(node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#104 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#111 def on_defs(node); end private - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#222 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#222 def accessor(kind, method_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#161 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#161 def allow_dsl_writers?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#157 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#157 def allow_predicates?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#195 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#195 def allowed_method_name?(node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#169 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#169 def allowed_method_names; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#204 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#204 def allowed_reader?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#200 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#200 def allowed_writer?(node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#142 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#142 def autocorrect(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#234 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#234 def autocorrect_class(corrector, node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#226 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#226 def autocorrect_instance(corrector, node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#173 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#173 def dsl_writer?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#153 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#153 def exact_name_match?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#165 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#165 def ignore_class_methods?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#115 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#115 def in_module_or_instance_eval?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#181 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#181 def looks_like_trivial_reader?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#208 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#208 def names_match?(node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#129 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#129 def on_method_def(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#248 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#248 def top_level_node?(node); end - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#214 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#214 def trivial_accessor_kind(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#177 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#177 def trivial_reader?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#185 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#185 def trivial_writer?(node); end end -# source://rubocop/lib/rubocop/cop/style/trivial_accessors.rb#102 +# source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#102 RuboCop::Cop::Style::TrivialAccessors::MSG = T.let(T.unsafe(nil), String) # Looks for `unless` expressions with `else` clauses. @@ -53387,22 +53531,22 @@ RuboCop::Cop::Style::TrivialAccessors::MSG = T.let(T.unsafe(nil), String) # # do a different thing... # end # -# source://rubocop/lib/rubocop/cop/style/unless_else.rb#22 +# source://rubocop//lib/rubocop/cop/style/unless_else.rb#22 class RuboCop::Cop::Style::UnlessElse < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/unless_else.rb#28 + # source://rubocop//lib/rubocop/cop/style/unless_else.rb#28 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/unless_else.rb#45 + # source://rubocop//lib/rubocop/cop/style/unless_else.rb#45 def range_between_condition_and_else(node, condition); end - # source://rubocop/lib/rubocop/cop/style/unless_else.rb#49 + # source://rubocop//lib/rubocop/cop/style/unless_else.rb#49 def range_between_else_and_end(node); end end -# source://rubocop/lib/rubocop/cop/style/unless_else.rb#26 +# source://rubocop//lib/rubocop/cop/style/unless_else.rb#26 RuboCop::Cop::Style::UnlessElse::MSG = T.let(T.unsafe(nil), String) # Checks for the use of logical operators in an `unless` condition. @@ -53449,44 +53593,44 @@ RuboCop::Cop::Style::UnlessElse::MSG = T.let(T.unsafe(nil), String) # return unless a # return unless a? # -# source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#50 +# source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#50 class RuboCop::Cop::Style::UnlessLogicalOperators < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#62 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#62 def and_with_or?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#67 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#67 def logical_operator?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#71 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#71 def on_if(node); end - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#57 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#57 def or_with_and?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#83 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#83 def mixed_logical_operator?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#90 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#90 def mixed_precedence_and?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#97 + # source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#97 def mixed_precedence_or?(node); end end -# source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#54 +# source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#54 RuboCop::Cop::Style::UnlessLogicalOperators::FORBID_LOGICAL_OPERATORS = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/unless_logical_operators.rb#53 +# source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#53 RuboCop::Cop::Style::UnlessLogicalOperators::FORBID_MIXED_LOGICAL_OPERATORS = T.let(T.unsafe(nil), String) # Checks for accessing the first element of `String#unpack` @@ -53503,30 +53647,30 @@ RuboCop::Cop::Style::UnlessLogicalOperators::FORBID_MIXED_LOGICAL_OPERATORS = T. # # good # 'foo'.unpack1('h*') # -# source://rubocop/lib/rubocop/cop/style/unpack_first.rb#20 +# source://rubocop//lib/rubocop/cop/style/unpack_first.rb#20 class RuboCop::Cop::Style::UnpackFirst < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/style/unpack_first.rb#37 + # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#49 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/unpack_first.rb#37 + # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#37 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/unpack_first.rb#30 + # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#30 def unpack_and_first_element?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/unpack_first.rb#53 + # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#53 def first_element_range(node, unpack_call); end end -# source://rubocop/lib/rubocop/cop/style/unpack_first.rb#26 +# source://rubocop//lib/rubocop/cop/style/unpack_first.rb#26 RuboCop::Cop::Style::UnpackFirst::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/unpack_first.rb#27 +# source://rubocop//lib/rubocop/cop/style/unpack_first.rb#27 RuboCop::Cop::Style::UnpackFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for variable interpolation (like "#@ivar"). @@ -53542,24 +53686,24 @@ RuboCop::Cop::Style::UnpackFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # /check #{$pattern}/ # "Let's go to the #{@store}" # -# source://rubocop/lib/rubocop/cop/style/variable_interpolation.rb#18 +# source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#18 class RuboCop::Cop::Style::VariableInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/variable_interpolation.rb#24 + # source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#24 def on_node_with_interpolations(node); end private - # source://rubocop/lib/rubocop/cop/style/variable_interpolation.rb#34 + # source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#34 def message(range); end - # source://rubocop/lib/rubocop/cop/style/variable_interpolation.rb#38 + # source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#38 def var_nodes(nodes); end end -# source://rubocop/lib/rubocop/cop/style/variable_interpolation.rb#22 +# source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#22 RuboCop::Cop::Style::VariableInterpolation::MSG = T.let(T.unsafe(nil), String) # Checks for `when;` uses in `case` expressions. @@ -53577,15 +53721,15 @@ RuboCop::Cop::Style::VariableInterpolation::MSG = T.let(T.unsafe(nil), String) # when 2 then 'bar' # end # -# source://rubocop/lib/rubocop/cop/style/when_then.rb#20 +# source://rubocop//lib/rubocop/cop/style/when_then.rb#20 class RuboCop::Cop::Style::WhenThen < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/when_then.rb#25 + # source://rubocop//lib/rubocop/cop/style/when_then.rb#25 def on_when(node); end end -# source://rubocop/lib/rubocop/cop/style/when_then.rb#23 +# source://rubocop//lib/rubocop/cop/style/when_then.rb#23 RuboCop::Cop::Style::WhenThen::MSG = T.let(T.unsafe(nil), String) # Checks for uses of `do` in multi-line `while/until` statements. @@ -53612,18 +53756,18 @@ RuboCop::Cop::Style::WhenThen::MSG = T.let(T.unsafe(nil), String) # do_something(x.pop) # end # -# source://rubocop/lib/rubocop/cop/style/while_until_do.rb#29 +# source://rubocop//lib/rubocop/cop/style/while_until_do.rb#29 class RuboCop::Cop::Style::WhileUntilDo < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/while_until_do.rb#34 + # source://rubocop//lib/rubocop/cop/style/while_until_do.rb#43 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/while_until_do.rb#34 + # source://rubocop//lib/rubocop/cop/style/while_until_do.rb#34 def on_while(node); end end -# source://rubocop/lib/rubocop/cop/style/while_until_do.rb#32 +# source://rubocop//lib/rubocop/cop/style/while_until_do.rb#32 RuboCop::Cop::Style::WhileUntilDo::MSG = T.let(T.unsafe(nil), String) # Checks for while and until statements that would fit on one line @@ -53655,21 +53799,21 @@ RuboCop::Cop::Style::WhileUntilDo::MSG = T.let(T.unsafe(nil), String) # x += 100 # end # -# source://rubocop/lib/rubocop/cop/style/while_until_modifier.rb#35 +# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#35 class RuboCop::Cop::Style::WhileUntilModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp include ::RuboCop::Cop::StatementModifier extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/while_until_modifier.rb#41 + # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#48 def on_until(node); end - # source://rubocop/lib/rubocop/cop/style/while_until_modifier.rb#41 + # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#41 def on_while(node); end end -# source://rubocop/lib/rubocop/cop/style/while_until_modifier.rb#39 +# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#39 RuboCop::Cop::Style::WhileUntilModifier::MSG = T.let(T.unsafe(nil), String) # Checks for array literals made up of word-like @@ -53736,7 +53880,7 @@ RuboCop::Cop::Style::WhileUntilModifier::MSG = T.let(T.unsafe(nil), String) # %w[two Two] # ] # -# source://rubocop/lib/rubocop/cop/style/word_array.rb#71 +# source://rubocop//lib/rubocop/cop/style/word_array.rb#71 class RuboCop::Cop::Style::WordArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::ArrayMinSize include ::RuboCop::Cop::ArraySyntax @@ -53744,59 +53888,59 @@ class RuboCop::Cop::Style::WordArray < ::RuboCop::Cop::Base include ::RuboCop::Cop::PercentArray extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/word_array.rb#94 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#94 def on_array(node); end - # source://rubocop/lib/rubocop/cop/style/word_array.rb#85 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#85 def on_new_investigation; end private - # source://rubocop/lib/rubocop/cop/style/word_array.rb#138 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#138 def build_bracketed_array(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#118 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#118 def complex_content?(strings, complex_regex: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#129 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#129 def invalid_percent_array_contents?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#113 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#113 def matrix_of_complex_content?(array); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#107 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#107 def within_matrix_of_complex_content?(node); end - # source://rubocop/lib/rubocop/cop/style/word_array.rb#134 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#134 def word_regex; end class << self # Returns the value of attribute largest_brackets. # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#82 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#82 def largest_brackets; end # Sets the attribute largest_brackets # # @param value the value to set the attribute largest_brackets to. # - # source://rubocop/lib/rubocop/cop/style/word_array.rb#82 + # source://rubocop//lib/rubocop/cop/style/word_array.rb#82 def largest_brackets=(_arg0); end end end -# source://rubocop/lib/rubocop/cop/style/word_array.rb#79 +# source://rubocop//lib/rubocop/cop/style/word_array.rb#79 RuboCop::Cop::Style::WordArray::ARRAY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/word_array.rb#78 +# source://rubocop//lib/rubocop/cop/style/word_array.rb#78 RuboCop::Cop::Style::WordArray::PERCENT_MSG = T.let(T.unsafe(nil), String) # Checks for the use of `YAML.load`, `YAML.safe_load`, and `YAML.parse` with @@ -53820,26 +53964,26 @@ RuboCop::Cop::Style::WordArray::PERCENT_MSG = T.let(T.unsafe(nil), String) # # good # YAML.safe_load_file(path) # Ruby 3.0 and newer # -# source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#27 +# source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#27 class RuboCop::Cop::Style::YAMLFileRead < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#41 + # source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#41 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#34 + # source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#34 def yaml_file_read?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#60 + # source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#60 def offense_range(node); end end -# source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#30 +# source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#30 RuboCop::Cop::Style::YAMLFileRead::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/yaml_file_read.rb#31 +# source://rubocop//lib/rubocop/cop/style/yaml_file_read.rb#31 RuboCop::Cop::Style::YAMLFileRead::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Enforces or forbids Yoda conditions, @@ -53891,105 +54035,105 @@ RuboCop::Cop::Style::YAMLFileRead::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # 99 == foo # "bar" != foo # -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#77 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#77 class RuboCop::Cop::Style::YodaCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#96 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#96 def file_constant_equal_program_name?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#100 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#100 def on_send(node); end private - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#153 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#153 def actual_code_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#149 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#149 def constant_portion?(node); end - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#142 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#142 def corrected_code(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#113 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#113 def enforce_yoda?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#117 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#117 def equality_only?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#177 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#177 def interpolation?(node); end - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#138 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#138 def message(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#161 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#161 def non_equality_operator?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#165 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#165 def noncommutative_operator?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#173 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#173 def program_name?(name); end - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#157 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#157 def reverse_comparison(operator); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#169 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#169 def source_file_path_constant?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#126 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#126 def valid_yoda?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#121 + # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#121 def yoda_compatible_condition?(node); end end -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#88 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#88 RuboCop::Cop::Style::YodaCondition::ENFORCE_YODA_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#91 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#91 RuboCop::Cop::Style::YodaCondition::EQUALITY_ONLY_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#84 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#84 RuboCop::Cop::Style::YodaCondition::EQUALITY_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#82 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#82 RuboCop::Cop::Style::YodaCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#85 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#85 RuboCop::Cop::Style::YodaCondition::NONCOMMUTATIVE_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#86 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#86 RuboCop::Cop::Style::YodaCondition::PROGRAM_NAMES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#87 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#87 RuboCop::Cop::Style::YodaCondition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) -# source://rubocop/lib/rubocop/cop/style/yoda_condition.rb#83 +# source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#83 RuboCop::Cop::Style::YodaCondition::REVERSE_COMPARISON = T.let(T.unsafe(nil), Hash) # Forbids Yoda expressions, i.e. binary operations (using `*`, `+`, `&`, `|`, @@ -54021,44 +54165,44 @@ RuboCop::Cop::Style::YodaCondition::REVERSE_COMPARISON = T.let(T.unsafe(nil), Ha # CONST + 1 # 60 * 24 # -# source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#40 +# source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#40 class RuboCop::Cop::Style::YodaExpression < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#47 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#47 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#51 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#51 def on_send(node); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#74 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#74 def constant_portion?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#82 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#82 def offended_ancestor?(node); end - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#86 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#86 def offended_nodes; end - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#78 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#78 def supported_operators; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#70 + # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#70 def yoda_expression_constant?(lhs, rhs); end end -# source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#43 +# source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#43 RuboCop::Cop::Style::YodaExpression::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/yoda_expression.rb#45 +# source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#45 RuboCop::Cop::Style::YodaExpression::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for numeric comparisons that can be replaced @@ -54087,7 +54231,7 @@ RuboCop::Cop::Style::YodaExpression::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # !string.empty? # !hash.empty? # -# source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#37 +# source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#37 class RuboCop::Cop::Style::ZeroLengthPredicate < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector @@ -54095,57 +54239,57 @@ class RuboCop::Cop::Style::ZeroLengthPredicate < ::RuboCop::Cop::Base # implement `#size`, but not `#empty`. We ignore those to # reduce false positives. # - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#147 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#147 def non_polymorphic_collection?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#114 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#114 def nonzero_length_comparison(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#51 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#51 def on_csend(node); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#45 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#45 def on_send(node); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#138 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#138 def other_length_node(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#106 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#106 def zero_length_comparison(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#130 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#130 def zero_length_node(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#101 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#101 def zero_length_predicate?(param0 = T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#85 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#85 def check_nonzero_length_comparison(node); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#70 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#70 def check_zero_length_comparison(node); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#58 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#58 def check_zero_length_predicate(node); end - # source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#119 + # source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#119 def replacement(node); end end -# source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#41 +# source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#41 RuboCop::Cop::Style::ZeroLengthPredicate::NONZERO_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#43 +# source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#43 RuboCop::Cop::Style::ZeroLengthPredicate::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/cop/style/zero_length_predicate.rb#40 +# source://rubocop//lib/rubocop/cop/style/zero_length_predicate.rb#40 RuboCop::Cop::Style::ZeroLengthPredicate::ZERO_MSG = T.let(T.unsafe(nil), String) # Common functionality for checking and correcting surrounding whitespace. # -# source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#6 module RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::RangeHelp @@ -54153,98 +54297,98 @@ module RuboCop::Cop::SurroundingSpace # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#110 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#110 def empty_brackets?(left_bracket_token, right_bracket_token, tokens: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#104 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#104 def empty_offense(node, range, message, command); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#94 def empty_offenses(node, left, right, message); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#68 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#68 def extra_space?(token, side); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#129 def no_character_between?(left_bracket_token, right_bracket_token); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#38 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#38 def no_space_offenses(node, left_token, right_token, message, start_ok: T.unsafe(nil), end_ok: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#120 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#120 def offending_empty_no_space?(config, left_token, right_token); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#116 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#116 def offending_empty_space?(config, left_token, right_token); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#33 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#33 def on_new_investigation; end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#78 def reposition(src, pos, step, include_newlines: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#16 def side_space_range(range:, side:, include_newlines: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#124 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#124 def space_between?(left_bracket_token, right_bracket_token); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#85 def space_offense(node, token, side, message, command); end - # source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#53 + # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#53 def space_offenses(node, left_token, right_token, message, start_ok: T.unsafe(nil), end_ok: T.unsafe(nil)); end end -# source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#9 RuboCop::Cop::SurroundingSpace::NO_SPACE_COMMAND = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#12 +# source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#12 RuboCop::Cop::SurroundingSpace::SINGLE_SPACE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/mixin/surrounding_space.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#10 RuboCop::Cop::SurroundingSpace::SPACE_COMMAND = T.let(T.unsafe(nil), String) # Classes that include this module just implement functions for working # with symbol nodes. # -# source://rubocop/lib/rubocop/cop/mixin/symbol_help.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/symbol_help.rb#7 module RuboCop::Cop::SymbolHelp # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/symbol_help.rb#8 + # source://rubocop//lib/rubocop/cop/mixin/symbol_help.rb#8 def hash_key?(node); end end # Common functionality for checking target ruby version. # -# source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#6 module RuboCop::Cop::TargetRubyVersion - # source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#19 def maximum_target_ruby_version(version); end - # source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#15 def minimum_target_ruby_version(version); end - # source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#11 def required_maximum_ruby_version; end - # source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#7 def required_minimum_ruby_version; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/target_ruby_version.rb#23 + # source://rubocop//lib/rubocop/cop/mixin/target_ruby_version.rb#23 def support_target_ruby_version?(version); end end @@ -54256,164 +54400,164 @@ end # first the ones needed for autocorrection (if any), then the rest # (unless autocorrections happened). # -# source://rubocop/lib/rubocop/cop/team.rb#13 +# source://rubocop//lib/rubocop/cop/team.rb#13 class RuboCop::Cop::Team # @return [Team] a new instance of Team # - # source://rubocop/lib/rubocop/cop/team.rb#61 + # source://rubocop//lib/rubocop/cop/team.rb#61 def initialize(cops, config = T.unsafe(nil), options = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/team.rb#72 + # source://rubocop//lib/rubocop/cop/team.rb#72 def autocorrect?; end # Returns the value of attribute cops. # - # source://rubocop/lib/rubocop/cop/team.rb#57 + # source://rubocop//lib/rubocop/cop/team.rb#57 def cops; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/team.rb#76 + # source://rubocop//lib/rubocop/cop/team.rb#76 def debug?; end # Returns the value of attribute errors. # - # source://rubocop/lib/rubocop/cop/team.rb#57 + # source://rubocop//lib/rubocop/cop/team.rb#57 def errors; end - # source://rubocop/lib/rubocop/cop/team.rb#128 + # source://rubocop//lib/rubocop/cop/team.rb#128 def external_dependency_checksum; end # @deprecated # - # source://rubocop/lib/rubocop/cop/team.rb#120 + # source://rubocop//lib/rubocop/cop/team.rb#120 def forces; end - # source://rubocop/lib/rubocop/cop/team.rb#82 + # source://rubocop//lib/rubocop/cop/team.rb#82 def inspect_file(processed_source); end # @return [Commissioner::InvestigationReport] # - # source://rubocop/lib/rubocop/cop/team.rb#91 + # source://rubocop//lib/rubocop/cop/team.rb#91 def investigate(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end # Returns the value of attribute updated_source_file. # - # source://rubocop/lib/rubocop/cop/team.rb#57 + # source://rubocop//lib/rubocop/cop/team.rb#57 def updated_source_file; end # Returns the value of attribute updated_source_file. # - # source://rubocop/lib/rubocop/cop/team.rb#57 + # source://rubocop//lib/rubocop/cop/team.rb#59 def updated_source_file?; end # Returns the value of attribute warnings. # - # source://rubocop/lib/rubocop/cop/team.rb#57 + # source://rubocop//lib/rubocop/cop/team.rb#57 def warnings; end private - # source://rubocop/lib/rubocop/cop/team.rb#139 + # source://rubocop//lib/rubocop/cop/team.rb#139 def autocorrect(processed_source, report, original:, offset:); end - # source://rubocop/lib/rubocop/cop/team.rb#203 + # source://rubocop//lib/rubocop/cop/team.rb#203 def autocorrect_report(report, offset:, original:); end - # source://rubocop/lib/rubocop/cop/team.rb#158 + # source://rubocop//lib/rubocop/cop/team.rb#158 def be_ready; end - # source://rubocop/lib/rubocop/cop/team.rb#209 + # source://rubocop//lib/rubocop/cop/team.rb#209 def collate_corrections(report, offset:, original:); end - # source://rubocop/lib/rubocop/cop/team.rb#225 + # source://rubocop//lib/rubocop/cop/team.rb#225 def each_corrector(report); end - # source://rubocop/lib/rubocop/cop/team.rb#277 + # source://rubocop//lib/rubocop/cop/team.rb#277 def handle_error(error, location, cop); end - # source://rubocop/lib/rubocop/cop/team.rb#269 + # source://rubocop//lib/rubocop/cop/team.rb#269 def handle_warning(error, location); end # @return [Commissioner::InvestigationReport] # - # source://rubocop/lib/rubocop/cop/team.rb#172 + # source://rubocop//lib/rubocop/cop/team.rb#172 def investigate_partial(cops, processed_source, offset:, original:); end - # source://rubocop/lib/rubocop/cop/team.rb#252 + # source://rubocop//lib/rubocop/cop/team.rb#252 def process_errors(file, errors); end - # source://rubocop/lib/rubocop/cop/team.rb#166 + # source://rubocop//lib/rubocop/cop/team.rb#166 def reset; end # @return [Array] # - # source://rubocop/lib/rubocop/cop/team.rb#178 + # source://rubocop//lib/rubocop/cop/team.rb#178 def roundup_relevant_cops(processed_source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/team.rb#194 + # source://rubocop//lib/rubocop/cop/team.rb#194 def support_target_rails_version?(cop); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/team.rb#188 + # source://rubocop//lib/rubocop/cop/team.rb#188 def support_target_ruby_version?(cop); end - # source://rubocop/lib/rubocop/cop/team.rb#240 + # source://rubocop//lib/rubocop/cop/team.rb#240 def suppress_clobbering; end - # source://rubocop/lib/rubocop/cop/team.rb#246 + # source://rubocop//lib/rubocop/cop/team.rb#246 def validate_config; end class << self # @return [Array] needed for the given cops # - # source://rubocop/lib/rubocop/cop/team.rb#43 + # source://rubocop//lib/rubocop/cop/team.rb#43 def forces_for(cops); end # @return [Team] with cops assembled from the given `cop_classes` # - # source://rubocop/lib/rubocop/cop/team.rb#28 + # source://rubocop//lib/rubocop/cop/team.rb#28 def mobilize(cop_classes, config, options = T.unsafe(nil)); end # @return [Array] # - # source://rubocop/lib/rubocop/cop/team.rb#34 + # source://rubocop//lib/rubocop/cop/team.rb#34 def mobilize_cops(cop_classes, config, options = T.unsafe(nil)); end # @return [Team] # - # source://rubocop/lib/rubocop/cop/team.rb#15 + # source://rubocop//lib/rubocop/cop/team.rb#15 def new(cop_or_classes, config, options = T.unsafe(nil)); end end end # Common methods shared by TrailingBody cops # -# source://rubocop/lib/rubocop/cop/mixin/trailing_body.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/trailing_body.rb#6 module RuboCop::Cop::TrailingBody # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_body.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/trailing_body.rb#12 def body_on_first_line?(node, body); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_body.rb#16 + # source://rubocop//lib/rubocop/cop/mixin/trailing_body.rb#16 def first_part_of(body); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_body.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/trailing_body.rb#7 def trailing_body?(node); end end # Common methods shared by Style/TrailingCommaInArguments and # Style/TrailingCommaInLiteral # -# source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#7 module RuboCop::Cop::TrailingComma include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -54426,63 +54570,63 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#104 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#104 def allowed_multiline_argument?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#167 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#167 def any_heredoc?(items); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#159 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#159 def autocorrect_range(item); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#133 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#133 def avoid_comma(kind, comma_begin_pos, extra_info); end # Returns true if the node has round/square/curly brackets. # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#82 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#82 def brackets?(node); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#19 def check(node, items, kind, begin_pos, end_pos); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#37 def check_comma(node, kind, comma_pos); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#43 def check_literal(node, kind); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#30 def comma_offset(items, range); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#108 def elements(node); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#54 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#54 def extra_avoid_comma_info; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#171 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#171 def heredoc?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#189 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#189 def heredoc_send?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#76 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#76 def inside_comment?(range, comma_offset); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#93 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#93 def method_name_and_arguments_on_same_line?(node); end # Returns true if the round/square/curly brackets of the given node are @@ -54491,245 +54635,245 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#89 def multiline?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#123 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#123 def no_elements_on_same_line?(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#129 def on_same_line?(range1, range2); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#147 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#147 def put_comma(items, kind); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#65 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#65 def should_have_comma?(style, node); end - # source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#15 def style_parameter_name; end end -# source://rubocop/lib/rubocop/cop/mixin/trailing_comma.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#11 RuboCop::Cop::TrailingComma::MSG = T.let(T.unsafe(nil), String) # Common functionality shared by Uncommunicative cops # -# source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#6 +# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#6 module RuboCop::Cop::UncommunicativeName - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#12 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#12 def check(node, args); end private - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#95 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#95 def allow_nums; end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#87 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#87 def allowed_names; end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#78 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#78 def arg_range(arg, length); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#45 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#45 def case_offense(node, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#64 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#64 def ends_with_num?(name); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#91 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#91 def forbidden_names; end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#83 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#83 def forbidden_offense(node, range, name); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#36 def issue_offenses(node, range, name); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#68 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#68 def length_offense(node, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#74 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#74 def long_enough?(name); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#99 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#99 def min_length; end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#53 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#53 def name_type(node); end - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#60 def num_offense(node, range); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#49 def uppercase?(name); end end -# source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#7 RuboCop::Cop::UncommunicativeName::CASE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#10 RuboCop::Cop::UncommunicativeName::FORBIDDEN_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#9 RuboCop::Cop::UncommunicativeName::LENGTH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/cop/mixin/uncommunicative_name.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#8 RuboCop::Cop::UncommunicativeName::NUM_MSG = T.let(T.unsafe(nil), String) # This autocorrects unused arguments. # -# source://rubocop/lib/rubocop/cop/correctors/unused_arg_corrector.rb#6 +# source://rubocop//lib/rubocop/cop/correctors/unused_arg_corrector.rb#6 class RuboCop::Cop::UnusedArgCorrector extend ::RuboCop::Cop::RangeHelp class << self - # source://rubocop/lib/rubocop/cop/correctors/unused_arg_corrector.rb#12 + # source://rubocop//lib/rubocop/cop/correctors/unused_arg_corrector.rb#12 def correct(corrector, processed_source, node); end - # source://rubocop/lib/rubocop/cop/correctors/unused_arg_corrector.rb#31 + # source://rubocop//lib/rubocop/cop/correctors/unused_arg_corrector.rb#31 def correct_for_blockarg_type(corrector, node); end # Returns the value of attribute processed_source. # - # source://rubocop/lib/rubocop/cop/correctors/unused_arg_corrector.rb#10 + # source://rubocop//lib/rubocop/cop/correctors/unused_arg_corrector.rb#10 def processed_source; end end end # This module contains a collection of useful utility methods. # -# source://rubocop/lib/rubocop/cop/util.rb#7 +# source://rubocop//lib/rubocop/cop/util.rb#7 module RuboCop::Cop::Util include ::RuboCop::PathUtil private - # source://rubocop/lib/rubocop/cop/util.rb#39 + # source://rubocop//lib/rubocop/cop/util.rb#39 def add_parentheses(node, corrector); end - # source://rubocop/lib/rubocop/cop/util.rb#60 + # source://rubocop//lib/rubocop/cop/util.rb#60 def any_descendant?(node, *types); end - # source://rubocop/lib/rubocop/cop/util.rb#75 + # source://rubocop//lib/rubocop/cop/util.rb#75 def args_begin(node); end - # source://rubocop/lib/rubocop/cop/util.rb#87 + # source://rubocop//lib/rubocop/cop/util.rb#87 def args_end(node); end - # source://rubocop/lib/rubocop/cop/util.rb#108 + # source://rubocop//lib/rubocop/cop/util.rb#108 def begins_its_line?(range); end # This is a bad API # - # source://rubocop/lib/rubocop/cop/util.rb#17 + # source://rubocop//lib/rubocop/cop/util.rb#17 def comment_line?(line_source); end # @deprecated Use `ProcessedSource#line_with_comment?`, `contains_comment?` or similar # - # source://rubocop/lib/rubocop/cop/util.rb#22 + # source://rubocop//lib/rubocop/cop/util.rb#22 def comment_lines?(node); end - # source://rubocop/lib/rubocop/cop/util.rb#206 + # source://rubocop//lib/rubocop/cop/util.rb#206 def compatible_external_encoding_for?(src); end # If converting a string to Ruby string literal source code, must # double quotes be used? # - # source://rubocop/lib/rubocop/cop/util.rb#134 + # source://rubocop//lib/rubocop/cop/util.rb#134 def double_quotes_required?(string); end - # source://rubocop/lib/rubocop/cop/util.rb#148 + # source://rubocop//lib/rubocop/cop/util.rb#148 def escape_string(string); end # Returns, for example, a bare `if` node if the given node is an `if` # with calls chained to the end of it. # - # source://rubocop/lib/rubocop/cop/util.rb#118 + # source://rubocop//lib/rubocop/cop/util.rb#118 def first_part_of_call_chain(node); end - # source://rubocop/lib/rubocop/cop/util.rb#210 + # source://rubocop//lib/rubocop/cop/util.rb#210 def include_or_equal?(source, target); end - # source://rubocop/lib/rubocop/cop/util.rb#185 + # source://rubocop//lib/rubocop/cop/util.rb#185 def indent(node, offset: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/util.rb#165 + # source://rubocop//lib/rubocop/cop/util.rb#165 def interpret_string_escapes(string); end - # source://rubocop/lib/rubocop/cop/util.rb#169 + # source://rubocop//lib/rubocop/cop/util.rb#169 def line(node_or_range); end - # source://rubocop/lib/rubocop/cop/util.rb#30 + # source://rubocop//lib/rubocop/cop/util.rb#30 def line_range(node); end - # source://rubocop/lib/rubocop/cop/util.rb#144 + # source://rubocop//lib/rubocop/cop/util.rb#144 def needs_escaping?(string); end - # source://rubocop/lib/rubocop/cop/util.rb#91 + # source://rubocop//lib/rubocop/cop/util.rb#91 def on_node(syms, sexp, excludes = T.unsafe(nil), &block); end - # source://rubocop/lib/rubocop/cop/util.rb#34 + # source://rubocop//lib/rubocop/cop/util.rb#34 def parentheses?(node); end - # source://rubocop/lib/rubocop/cop/util.rb#196 + # source://rubocop//lib/rubocop/cop/util.rb#196 def parse_regexp(text); end - # source://rubocop/lib/rubocop/cop/util.rb#177 + # source://rubocop//lib/rubocop/cop/util.rb#177 def same_line?(node1, node2); end - # source://rubocop/lib/rubocop/cop/util.rb#152 + # source://rubocop//lib/rubocop/cop/util.rb#152 def to_string_literal(string); end - # source://rubocop/lib/rubocop/cop/util.rb#191 + # source://rubocop//lib/rubocop/cop/util.rb#191 def to_supported_styles(enforced_style); end - # source://rubocop/lib/rubocop/cop/util.rb#161 + # source://rubocop//lib/rubocop/cop/util.rb#161 def trim_string_interpolation_escape_character(str); end class << self - # source://rubocop/lib/rubocop/cop/util.rb#39 + # source://rubocop//lib/rubocop/cop/util.rb#39 def add_parentheses(node, corrector); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#60 + # source://rubocop//lib/rubocop/cop/util.rb#60 def any_descendant?(node, *types); end - # source://rubocop/lib/rubocop/cop/util.rb#75 + # source://rubocop//lib/rubocop/cop/util.rb#75 def args_begin(node); end - # source://rubocop/lib/rubocop/cop/util.rb#87 + # source://rubocop//lib/rubocop/cop/util.rb#87 def args_end(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#108 + # source://rubocop//lib/rubocop/cop/util.rb#108 def begins_its_line?(range); end # This is a bad API # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#17 + # source://rubocop//lib/rubocop/cop/util.rb#17 def comment_line?(line_source); end # @deprecated Use `ProcessedSource#line_with_comment?`, `contains_comment?` or similar # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#22 + # source://rubocop//lib/rubocop/cop/util.rb#22 def comment_lines?(node); end # If converting a string to Ruby string literal source code, must @@ -54737,122 +54881,122 @@ module RuboCop::Cop::Util # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#134 + # source://rubocop//lib/rubocop/cop/util.rb#134 def double_quotes_required?(string); end - # source://rubocop/lib/rubocop/cop/util.rb#148 + # source://rubocop//lib/rubocop/cop/util.rb#148 def escape_string(string); end # Returns, for example, a bare `if` node if the given node is an `if` # with calls chained to the end of it. # - # source://rubocop/lib/rubocop/cop/util.rb#118 + # source://rubocop//lib/rubocop/cop/util.rb#118 def first_part_of_call_chain(node); end - # source://rubocop/lib/rubocop/cop/util.rb#185 + # source://rubocop//lib/rubocop/cop/util.rb#185 def indent(node, offset: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/util.rb#165 + # source://rubocop//lib/rubocop/cop/util.rb#165 def interpret_string_escapes(string); end - # source://rubocop/lib/rubocop/cop/util.rb#169 + # source://rubocop//lib/rubocop/cop/util.rb#169 def line(node_or_range); end - # source://rubocop/lib/rubocop/cop/util.rb#30 + # source://rubocop//lib/rubocop/cop/util.rb#30 def line_range(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#144 + # source://rubocop//lib/rubocop/cop/util.rb#144 def needs_escaping?(string); end # @yield [sexp] # - # source://rubocop/lib/rubocop/cop/util.rb#91 + # source://rubocop//lib/rubocop/cop/util.rb#91 def on_node(syms, sexp, excludes = T.unsafe(nil), &block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#34 + # source://rubocop//lib/rubocop/cop/util.rb#34 def parentheses?(node); end - # source://rubocop/lib/rubocop/cop/util.rb#196 + # source://rubocop//lib/rubocop/cop/util.rb#196 def parse_regexp(text); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/util.rb#177 + # source://rubocop//lib/rubocop/cop/util.rb#177 def same_line?(node1, node2); end - # source://rubocop/lib/rubocop/cop/util.rb#152 + # source://rubocop//lib/rubocop/cop/util.rb#152 def to_string_literal(string); end - # source://rubocop/lib/rubocop/cop/util.rb#191 + # source://rubocop//lib/rubocop/cop/util.rb#191 def to_supported_styles(enforced_style); end - # source://rubocop/lib/rubocop/cop/util.rb#161 + # source://rubocop//lib/rubocop/cop/util.rb#161 def trim_string_interpolation_escape_character(str); end end end -# source://rubocop/lib/rubocop/cop/util.rb#103 +# source://rubocop//lib/rubocop/cop/util.rb#103 RuboCop::Cop::Util::LINE_BEGINS_REGEX_CACHE = T.let(T.unsafe(nil), Hash) # Match literal regex characters, not including anchors, character # classes, alternatives, groups, repetitions, references, etc # -# source://rubocop/lib/rubocop/cop/util.rb#12 +# source://rubocop//lib/rubocop/cop/util.rb#12 RuboCop::Cop::Util::LITERAL_REGEX = T.let(T.unsafe(nil), Regexp) # Arbitrarily chosen value, should be enough to cover # the most nested source code in real world projects. # -# source://rubocop/lib/rubocop/cop/util.rb#102 +# source://rubocop//lib/rubocop/cop/util.rb#102 RuboCop::Cop::Util::MAX_LINE_BEGINS_REGEX_INDEX = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#5 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#5 module RuboCop::Cop::Utils; end # Parses {Kernel#sprintf} format strings. # -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#7 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#7 class RuboCop::Cop::Utils::FormatString # @return [FormatString] a new instance of FormatString # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#89 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#89 def initialize(string); end - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#93 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#93 def format_sequences; end - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#105 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#105 def max_digit_dollar_num; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#101 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#101 def named_interpolation?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#97 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#97 def valid?; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#117 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#117 def mixed_formats?; end - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#111 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#111 def parse; end end -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#8 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#8 RuboCop::Cop::Utils::FormatString::DIGIT_DOLLAR = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#9 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#9 RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # The syntax of a format sequence is as follows. @@ -54869,145 +55013,145 @@ RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # # @see https://ruby-doc.org/core-2.6.3/Kernel.html#method-i-format # -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#43 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#43 class RuboCop::Cop::Utils::FormatString::FormatSequence # @return [FormatSequence] a new instance of FormatSequence # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#46 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#46 def initialize(match); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#61 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#61 def annotated?; end # Number of arguments required for the format sequence # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#70 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#70 def arity; end # Returns the value of attribute begin_pos. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def begin_pos; end # Returns the value of attribute end_pos. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def end_pos; end # Returns the value of attribute flags. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def flags; end - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#74 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#74 def max_digit_dollar_num; end # Returns the value of attribute name. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def name; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#57 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#57 def percent?; end # Returns the value of attribute precision. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def precision; end - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#78 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#78 def style; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#65 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#65 def template?; end # Returns the value of attribute type. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def type; end # Returns the value of attribute width. # - # source://rubocop/lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 def width; end end -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#15 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 RuboCop::Cop::Utils::FormatString::NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#11 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 RuboCop::Cop::Utils::FormatString::NUMBER = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#10 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#10 RuboCop::Cop::Utils::FormatString::NUMBER_ARG = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#13 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 RuboCop::Cop::Utils::FormatString::PRECISION = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#18 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#18 RuboCop::Cop::Utils::FormatString::SEQUENCE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#16 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#16 RuboCop::Cop::Utils::FormatString::TEMPLATE_NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#14 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/cop/utils/format_string.rb#12 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#12 RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) # Helper to abstract complexity of building range pairs # with octal escape reconstruction (needed for regexp_parser < 2.7). # -# source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#8 +# source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#8 class RuboCop::Cop::Utils::RegexpRanges # @return [RegexpRanges] a new instance of RegexpRanges # - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#11 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#11 def initialize(root); end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#18 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#18 def compound_token; end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#24 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#24 def pairs; end # Returns the value of attribute root. # - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#9 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#9 def root; end private - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#78 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#78 def compose_range(expressions, current); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#90 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#90 def escaped_octal?(expr); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#94 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#94 def octal_digit?(char); end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#98 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#98 def pop_octal_digits(expressions); end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#44 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#44 def populate(expr); end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#32 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#32 def populate_all; end - # source://rubocop/lib/rubocop/cop/utils/regexp_ranges.rb#63 + # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#63 def process_set(expressions, current); end end @@ -55034,65 +55178,65 @@ end # # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#27 +# source://rubocop//lib/rubocop/cop/variable_force.rb#27 class RuboCop::Cop::VariableForce < ::RuboCop::Cop::Force # Starting point. # # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#79 + # source://rubocop//lib/rubocop/cop/variable_force.rb#79 def investigate(processed_source); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#88 + # source://rubocop//lib/rubocop/cop/variable_force.rb#88 def process_node(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#74 + # source://rubocop//lib/rubocop/cop/variable_force.rb#74 def variable_table; end private - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def after_declaring_variable(arg); end - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def after_entering_scope(arg); end - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def after_leaving_scope(arg); end - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def before_declaring_variable(arg); end - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def before_entering_scope(arg); end - # source://rubocop/lib/rubocop/cop/variable_force.rb#374 + # source://rubocop//lib/rubocop/cop/variable_force.rb#374 def before_leaving_scope(arg); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#346 + # source://rubocop//lib/rubocop/cop/variable_force.rb#346 def descendant_reference(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#336 + # source://rubocop//lib/rubocop/cop/variable_force.rb#336 def each_descendant_reference(loop_node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#321 + # source://rubocop//lib/rubocop/cop/variable_force.rb#321 def find_variables_in_loop(loop_node); end # This is called for each scope recursively. # # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#97 + # source://rubocop//lib/rubocop/cop/variable_force.rb#97 def inspect_variables_in_scope(scope_node); end # Mark all assignments which are referenced in the same loop @@ -55101,281 +55245,294 @@ class RuboCop::Cop::VariableForce < ::RuboCop::Cop::Force # # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#302 + # source://rubocop//lib/rubocop/cop/variable_force.rb#302 def mark_assignments_as_referenced_in_loop(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#130 + # source://rubocop//lib/rubocop/cop/variable_force.rb#130 def node_handler_method_name(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#103 + # source://rubocop//lib/rubocop/cop/variable_force.rb#103 def process_children(origin_node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#238 + # source://rubocop//lib/rubocop/cop/variable_force.rb#238 def process_loop(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#182 + # source://rubocop//lib/rubocop/cop/variable_force.rb#182 def process_pattern_match_variable(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#164 + # source://rubocop//lib/rubocop/cop/variable_force.rb#164 def process_regexp_named_captures(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#253 + # source://rubocop//lib/rubocop/cop/variable_force.rb#253 def process_rescue(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#272 + # source://rubocop//lib/rubocop/cop/variable_force.rb#272 def process_scope(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#291 + # source://rubocop//lib/rubocop/cop/variable_force.rb#291 def process_send(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#146 + # source://rubocop//lib/rubocop/cop/variable_force.rb#146 def process_variable_assignment(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#134 + # source://rubocop//lib/rubocop/cop/variable_force.rb#134 def process_variable_declaration(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#226 + # source://rubocop//lib/rubocop/cop/variable_force.rb#226 def process_variable_multiple_assignment(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#196 + # source://rubocop//lib/rubocop/cop/variable_force.rb#196 def process_variable_operator_assignment(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#233 + # source://rubocop//lib/rubocop/cop/variable_force.rb#233 def process_variable_referencing(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#264 + # source://rubocop//lib/rubocop/cop/variable_force.rb#264 def process_zero_arity_super(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#190 + # source://rubocop//lib/rubocop/cop/variable_force.rb#190 def regexp_captured_names(node); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force.rb#357 + # source://rubocop//lib/rubocop/cop/variable_force.rb#357 def scanned_node?(node); end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#361 + # source://rubocop//lib/rubocop/cop/variable_force.rb#361 def scanned_nodes; end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#111 + # source://rubocop//lib/rubocop/cop/variable_force.rb#111 def skip_children!; end # @api private # - # source://rubocop/lib/rubocop/cop/variable_force.rb#285 + # source://rubocop//lib/rubocop/cop/variable_force.rb#285 def twisted_nodes(node); end end # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#35 +# source://rubocop//lib/rubocop/cop/variable_force.rb#35 RuboCop::Cop::VariableForce::ARGUMENT_DECLARATION_TYPES = T.let(T.unsafe(nil), Array) # This class represents each assignment of a variable. # -# source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#7 +# source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#7 class RuboCop::Cop::VariableForce::Assignment include ::RuboCop::Cop::VariableForce::Branchable # @return [Assignment] a new instance of Assignment # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#17 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#17 def initialize(node, variable); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#58 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#58 def exception_assignment?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#80 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#80 def for_assignment?; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#91 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#91 def meta_assignment_node; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#68 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#68 def multiple_assignment?; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#31 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#31 def name; end # Returns the value of attribute node. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 def node; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#86 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#86 def operator; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#62 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#62 def operator_assignment?; end # Returns the value of attribute reassigned. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 def reassigned; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#44 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#44 def reassigned!; end # Returns the value of attribute reassigned. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#15 def reassigned?; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#39 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#39 def reference!(node); end # Returns the value of attribute referenced. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 def referenced; end # Returns the value of attribute referenced. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#14 def referenced?; end # Returns the value of attribute references. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 def references; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#54 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#54 def regexp_named_capture?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#74 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#74 def rest_assignment?; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#35 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#35 def scope; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#50 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#50 def used?; end # Returns the value of attribute variable. # - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 def variable; end private - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#140 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#140 def find_multiple_assignment_node(grandparent_node); end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#130 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#130 def for_assignment_node; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#112 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#112 def multiple_assignment_node; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#104 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#104 def operator_assignment_node; end - # source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#123 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#123 def rest_assignment_node; end end -# source://rubocop/lib/rubocop/cop/variable_force/assignment.rb#10 +# source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#10 RuboCop::Cop::VariableForce::Assignment::MULTIPLE_LEFT_HAND_SIDE_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#68 +# source://rubocop//lib/rubocop/cop/variable_force.rb#68 class RuboCop::Cop::VariableForce::AssignmentReference < ::Struct # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force.rb#69 + # source://rubocop//lib/rubocop/cop/variable_force.rb#69 def assignment?; end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def node=(_); end class << self + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def new(*_arg0); end end end # Namespace for branch classes for each control structure. # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#7 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#7 module RuboCop::Cop::VariableForce::Branch class << self - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#8 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#8 def of(target_node, scope: T.unsafe(nil)); end end end # left_body && right_body # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#265 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#265 class RuboCop::Cop::VariableForce::Branch::And < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::LogicalOperator - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def left_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def right_body?; end end @@ -55399,107 +55556,123 @@ end # do_something # no branch # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#42 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 class RuboCop::Cop::VariableForce::Branch::Base < ::Struct - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#121 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#121 def ==(other); end # @raise [NotImplementedError] # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#92 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#92 def always_run?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#88 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#88 def branched?; end # Returns the value of attribute child_node # # @return [Object] the current value of child_node + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def child_node; end # Sets the attribute child_node # # @param value [Object] the value to set the attribute child_node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def child_node=(_); end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#70 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#70 def control_node; end # @yield [_self] # @yieldparam _self [RuboCop::Cop::VariableForce::Branch::Base] the object that the method was called on # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#80 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#80 def each_ancestor(include_self: T.unsafe(nil), &block); end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#121 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#127 def eql?(other); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#104 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#104 def exclusive_with?(other); end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#129 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#129 def hash; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#96 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#96 def may_jump_to_other_branch?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#100 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#100 def may_run_incompletely?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#74 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#74 def parent; end # Returns the value of attribute scope # # @return [Object] the current value of scope + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def scope; end # Sets the attribute scope # # @param value [Object] the value to set the attribute scope to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def scope=(_); end private - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#135 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#135 def scan_ancestors; end class << self + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def [](*_arg0); end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#43 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#43 def classes; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#56 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#56 def define_predicate(name, child_index: T.unsafe(nil)); end # @private # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#47 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#47 def inherited(subclass); end + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def new(*_arg0); end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#52 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#52 def type; end end end -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#325 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#325 RuboCop::Cop::VariableForce::Branch::CLASSES_BY_TYPE = T.let(T.unsafe(nil), Hash) # case target @@ -55508,20 +55681,20 @@ RuboCop::Cop::VariableForce::Branch::CLASSES_BY_TYPE = T.let(T.unsafe(nil), Hash # else_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#219 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#219 class RuboCop::Cop::VariableForce::Branch::Case < ::RuboCop::Cop::VariableForce::Branch::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#224 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#224 def always_run?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def else_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def target?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def when_clause?; end end @@ -55531,20 +55704,20 @@ end # else_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#234 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#234 class RuboCop::Cop::VariableForce::Branch::CaseMatch < ::RuboCop::Cop::VariableForce::Branch::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#239 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#239 def always_run?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def else_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def in_pattern?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def target?; end end @@ -55554,34 +55727,34 @@ end # ensure_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#314 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#314 class RuboCop::Cop::VariableForce::Branch::Ensure < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::ExceptionHandler # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#320 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#320 def always_run?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def ensure_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def main_body?; end end # Mix-in module for exception handling control structures. # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#281 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#281 module RuboCop::Cop::VariableForce::Branch::ExceptionHandler # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#282 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#282 def may_jump_to_other_branch?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#286 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#286 def may_run_incompletely?; end end @@ -55589,20 +55762,20 @@ end # loop_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#247 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#247 class RuboCop::Cop::VariableForce::Branch::For < ::RuboCop::Cop::VariableForce::Branch::Base # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#252 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#252 def always_run?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def collection?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def element?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def loop_body?; end end @@ -55618,40 +55791,40 @@ end # truthy_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#166 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#166 class RuboCop::Cop::VariableForce::Branch::If < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::SimpleConditional - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def conditional_clause?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def falsey_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def truthy_body?; end end # Mix-in module for logical operator control structures. # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#258 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#258 module RuboCop::Cop::VariableForce::Branch::LogicalOperator # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#259 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#259 def always_run?; end end # left_body || right_body # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#273 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#273 class RuboCop::Cop::VariableForce::Branch::Or < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::LogicalOperator - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def left_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def right_body?; end end @@ -55662,38 +55835,38 @@ end # else_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#297 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#297 class RuboCop::Cop::VariableForce::Branch::Rescue < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::ExceptionHandler # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#304 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#304 def always_run?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def else_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def main_body?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def rescue_clause?; end end # Mix-in module for simple conditional control structures. # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#145 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#145 module RuboCop::Cop::VariableForce::Branch::SimpleConditional # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#150 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#150 def always_run?; end # @raise [NotImplementedError] # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#146 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#146 def conditional_clause?; end end @@ -55701,14 +55874,14 @@ end # loop_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#187 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#187 class RuboCop::Cop::VariableForce::Branch::Until < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::SimpleConditional - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def conditional_clause?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def loop_body?; end end @@ -55716,14 +55889,14 @@ end # loop_body # end until conditional_clause # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#207 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#207 class RuboCop::Cop::VariableForce::Branch::UntilPost < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::SimpleConditional - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def conditional_clause?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def loop_body?; end end @@ -55731,14 +55904,14 @@ end # loop_body # end # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#177 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#177 class RuboCop::Cop::VariableForce::Branch::While < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::SimpleConditional - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def conditional_clause?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def loop_body?; end end @@ -55746,90 +55919,90 @@ end # loop_body # end while conditional_clause # -# source://rubocop/lib/rubocop/cop/variable_force/branch.rb#197 +# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#197 class RuboCop::Cop::VariableForce::Branch::WhilePost < ::RuboCop::Cop::VariableForce::Branch::Base include ::RuboCop::Cop::VariableForce::Branch::SimpleConditional - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def conditional_clause?; end - # source://rubocop/lib/rubocop/cop/variable_force/branch.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 def loop_body?; end end # Mix-in module for classes which own a node and need branch information # of the node. The user classes must implement #node and #scope. # -# source://rubocop/lib/rubocop/cop/variable_force/branchable.rb#8 +# source://rubocop//lib/rubocop/cop/variable_force/branchable.rb#8 module RuboCop::Cop::VariableForce::Branchable - # source://rubocop/lib/rubocop/cop/variable_force/branchable.rb#9 + # source://rubocop//lib/rubocop/cop/variable_force/branchable.rb#9 def branch; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/branchable.rb#15 + # source://rubocop//lib/rubocop/cop/variable_force/branchable.rb#15 def run_exclusively_with?(other); end end # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#42 +# source://rubocop//lib/rubocop/cop/variable_force.rb#42 RuboCop::Cop::VariableForce::LOGICAL_OPERATOR_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#51 +# source://rubocop//lib/rubocop/cop/variable_force.rb#51 RuboCop::Cop::VariableForce::LOOP_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#45 +# source://rubocop//lib/rubocop/cop/variable_force.rb#45 RuboCop::Cop::VariableForce::MULTIPLE_ASSIGNMENT_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#115 +# source://rubocop//lib/rubocop/cop/variable_force.rb#115 RuboCop::Cop::VariableForce::NODE_HANDLER_METHOD_NAMES = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#43 +# source://rubocop//lib/rubocop/cop/variable_force.rb#43 RuboCop::Cop::VariableForce::OPERATOR_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#30 +# source://rubocop//lib/rubocop/cop/variable_force.rb#30 RuboCop::Cop::VariableForce::PATTERN_MATCH_VARIABLE_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#50 +# source://rubocop//lib/rubocop/cop/variable_force.rb#50 RuboCop::Cop::VariableForce::POST_CONDITION_LOOP_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#29 +# source://rubocop//lib/rubocop/cop/variable_force.rb#29 RuboCop::Cop::VariableForce::REGEXP_NAMED_CAPTURE_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#53 +# source://rubocop//lib/rubocop/cop/variable_force.rb#53 RuboCop::Cop::VariableForce::RESCUE_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#46 +# source://rubocop//lib/rubocop/cop/variable_force.rb#46 RuboCop::Cop::VariableForce::REST_ASSIGNMENT_TYPE = T.let(T.unsafe(nil), Symbol) # This class represents each reference of a variable. # -# source://rubocop/lib/rubocop/cop/variable_force/reference.rb#7 +# source://rubocop//lib/rubocop/cop/variable_force/reference.rb#7 class RuboCop::Cop::VariableForce::Reference include ::RuboCop::Cop::VariableForce::Branchable # @return [Reference] a new instance of Reference # - # source://rubocop/lib/rubocop/cop/variable_force/reference.rb#16 + # source://rubocop//lib/rubocop/cop/variable_force/reference.rb#16 def initialize(node, scope); end # There's an implicit variable reference by the zero-arity `super`: @@ -55849,219 +56022,219 @@ class RuboCop::Cop::VariableForce::Reference # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/reference.rb#41 + # source://rubocop//lib/rubocop/cop/variable_force/reference.rb#41 def explicit?; end # Returns the value of attribute node. # - # source://rubocop/lib/rubocop/cop/variable_force/reference.rb#14 + # source://rubocop//lib/rubocop/cop/variable_force/reference.rb#14 def node; end # Returns the value of attribute scope. # - # source://rubocop/lib/rubocop/cop/variable_force/reference.rb#14 + # source://rubocop//lib/rubocop/cop/variable_force/reference.rb#14 def scope; end end -# source://rubocop/lib/rubocop/cop/variable_force/reference.rb#10 +# source://rubocop//lib/rubocop/cop/variable_force/reference.rb#10 RuboCop::Cop::VariableForce::Reference::VARIABLE_REFERENCE_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#58 +# source://rubocop//lib/rubocop/cop/variable_force.rb#58 RuboCop::Cop::VariableForce::SCOPE_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#60 +# source://rubocop//lib/rubocop/cop/variable_force.rb#60 RuboCop::Cop::VariableForce::SEND_TYPE = T.let(T.unsafe(nil), Symbol) # A Scope represents a context of local variable visibility. # This is a place where local variables belong to. # A scope instance holds a scope node and variable entries. # -# source://rubocop/lib/rubocop/cop/variable_force/scope.rb#9 +# source://rubocop//lib/rubocop/cop/variable_force/scope.rb#9 class RuboCop::Cop::VariableForce::Scope # @return [Scope] a new instance of Scope # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#22 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#22 def initialize(node); end - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#35 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#35 def ==(other); end - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#43 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#43 def body_node; end # @yield [node] # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#61 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#61 def each_node(&block); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#57 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#57 def include?(target_node); end # Returns the value of attribute naked_top_level. # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#18 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#18 def naked_top_level; end # Returns the value of attribute naked_top_level. # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#18 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#20 def naked_top_level?; end - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#39 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#39 def name; end # Returns the value of attribute node. # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#18 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#18 def node; end # Returns the value of attribute variables. # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#18 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#18 def variables; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#100 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#100 def ancestor_node?(target_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#90 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#90 def belong_to_inner_scope?(target_node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#79 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#79 def belong_to_outer_scope?(target_node); end - # source://rubocop/lib/rubocop/cop/variable_force/scope.rb#70 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#70 def scan_node(node, &block); end end -# source://rubocop/lib/rubocop/cop/variable_force/scope.rb#10 +# source://rubocop//lib/rubocop/cop/variable_force/scope.rb#10 RuboCop::Cop::VariableForce::Scope::OUTER_SCOPE_CHILD_INDICES = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#57 +# source://rubocop//lib/rubocop/cop/variable_force.rb#57 RuboCop::Cop::VariableForce::TWISTED_SCOPE_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#28 +# source://rubocop//lib/rubocop/cop/variable_force.rb#28 RuboCop::Cop::VariableForce::VARIABLE_ASSIGNMENT_TYPE = T.let(T.unsafe(nil), Symbol) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#31 +# source://rubocop//lib/rubocop/cop/variable_force.rb#31 RuboCop::Cop::VariableForce::VARIABLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#48 +# source://rubocop//lib/rubocop/cop/variable_force.rb#48 RuboCop::Cop::VariableForce::VARIABLE_REFERENCE_TYPE = T.let(T.unsafe(nil), Symbol) # A Variable represents existence of a local variable. # This holds a variable declaration node and some states of the variable. # -# source://rubocop/lib/rubocop/cop/variable_force/variable.rb#8 +# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#8 class RuboCop::Cop::VariableForce::Variable # @return [Variable] a new instance of Variable # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#15 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#15 def initialize(name, declaration_node, scope); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#98 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#98 def argument?; end - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#31 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#31 def assign(node); end # Returns the value of attribute assignments. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def assignments; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#106 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#106 def block_argument?; end - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#78 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#78 def capture_with_block!; end # Returns the value of attribute captured_by_block. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def captured_by_block; end # Returns the value of attribute captured_by_block. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13 def captured_by_block?; end # Returns the value of attribute declaration_node. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def declaration_node; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#114 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#114 def explicit_block_local_variable?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#70 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#70 def in_modifier_conditional?(assignment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#110 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#110 def keyword_argument?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#102 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#102 def method_argument?; end # Returns the value of attribute name. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def name; end - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#44 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#44 def reference!(node); end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#39 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#39 def referenced?; end # Returns the value of attribute references. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def references; end # Returns the value of attribute scope. # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 def scope; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#94 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#94 def should_be_unused?; end # This is a convenient way to check whether the variable is used @@ -56075,39 +56248,52 @@ class RuboCop::Cop::VariableForce::Variable # # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable.rb#90 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#90 def used?; end end -# source://rubocop/lib/rubocop/cop/variable_force/variable.rb#9 +# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#9 RuboCop::Cop::VariableForce::Variable::VARIABLE_DECLARATION_TYPES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#62 +# source://rubocop//lib/rubocop/cop/variable_force.rb#62 class RuboCop::Cop::VariableForce::VariableReference < ::Struct # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force.rb#63 + # source://rubocop//lib/rubocop/cop/variable_force.rb#63 def assignment?; end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def name=(_); end class << self + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def new(*_arg0); end end end @@ -56118,287 +56304,287 @@ end # variables to current scope, and find local variables by considering # variable visibility of the current scope. # -# source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#11 +# source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#11 class RuboCop::Cop::VariableForce::VariableTable # @return [VariableTable] a new instance of VariableTable # - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#12 def initialize(hook_receiver = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#113 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#113 def accessible_variables; end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#56 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#56 def assign_to_variable(name, node); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#40 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#40 def current_scope; end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#44 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#44 def current_scope_level; end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#48 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#48 def declare_variable(name, node); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#94 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#94 def find_variable(name); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#16 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#16 def invoke_hook(hook_name, *args); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#32 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#32 def pop_scope; end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#24 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#24 def push_scope(scope_node); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#68 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#68 def reference_variable(name, node); end - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#20 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#20 def scope_stack; end # @return [Boolean] # - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#109 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#109 def variable_exist?(name); end private - # source://rubocop/lib/rubocop/cop/variable_force/variable_table.rb#122 + # source://rubocop//lib/rubocop/cop/variable_force/variable_table.rb#122 def mark_variable_as_captured_by_block_if_so(variable); end end # @api private # -# source://rubocop/lib/rubocop/cop/variable_force.rb#55 +# source://rubocop//lib/rubocop/cop/variable_force.rb#55 RuboCop::Cop::VariableForce::ZERO_ARITY_SUPER_TYPE = T.let(T.unsafe(nil), Symbol) # Help methods for determining node visibility. # -# source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#8 +# source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#8 module RuboCop::Cop::VisibilityHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#57 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#57 def visibility_block?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#62 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#62 def visibility_inline_on_def?(param0 = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#67 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#67 def visibility_inline_on_method_name?(param0 = T.unsafe(nil), method_name:); end private # Navigate to find the last protected method # - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#48 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#48 def find_visibility_end(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#43 def find_visibility_start(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#15 def node_visibility(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#39 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#39 def node_visibility_from_visibility_block(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#21 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#21 def node_visibility_from_visibility_inline(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#28 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#28 def node_visibility_from_visibility_inline_on_def(node); end - # source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#33 + # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#33 def node_visibility_from_visibility_inline_on_method_name(node); end end -# source://rubocop/lib/rubocop/cop/mixin/visibility_help.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#11 RuboCop::Cop::VisibilityHelp::VISIBILITY_SCOPES = T.let(T.unsafe(nil), Set) # This class wraps the `Parser::Source::Comment` object that represents a # cops it contains. # -# source://rubocop/lib/rubocop/directive_comment.rb#7 +# source://rubocop//lib/rubocop/directive_comment.rb#7 class RuboCop::DirectiveComment # @return [DirectiveComment] a new instance of DirectiveComment # - # source://rubocop/lib/rubocop/directive_comment.rb#32 + # source://rubocop//lib/rubocop/directive_comment.rb#32 def initialize(comment, cop_registry = T.unsafe(nil)); end # Checks if all cops specified in this directive # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#82 + # source://rubocop//lib/rubocop/directive_comment.rb#82 def all_cops?; end # Returns the value of attribute comment. # - # source://rubocop/lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#30 def comment; end # Returns array of specified in this directive cop names # - # source://rubocop/lib/rubocop/directive_comment.rb#87 + # source://rubocop//lib/rubocop/directive_comment.rb#87 def cop_names; end # Returns the value of attribute cop_registry. # - # source://rubocop/lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#30 def cop_registry; end # Returns the value of attribute cops. # - # source://rubocop/lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#30 def cops; end # Returns array of specified in this directive department names # when all department disabled # - # source://rubocop/lib/rubocop/directive_comment.rb#93 + # source://rubocop//lib/rubocop/directive_comment.rb#93 def department_names; end - # source://rubocop/lib/rubocop/directive_comment.rb#107 + # source://rubocop//lib/rubocop/directive_comment.rb#107 def directive_count; end # Checks if this directive disables cops # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#62 + # source://rubocop//lib/rubocop/directive_comment.rb#62 def disabled?; end # Checks if this directive disables all cops # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#77 + # source://rubocop//lib/rubocop/directive_comment.rb#77 def disabled_all?; end # Checks if this directive enables cops # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#67 + # source://rubocop//lib/rubocop/directive_comment.rb#67 def enabled?; end # Checks if this directive enables all cops # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#72 + # source://rubocop//lib/rubocop/directive_comment.rb#72 def enabled_all?; end # Checks if directive departments include cop # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#98 + # source://rubocop//lib/rubocop/directive_comment.rb#98 def in_directive_department?(cop); end # Returns line number for directive # - # source://rubocop/lib/rubocop/directive_comment.rb#112 + # source://rubocop//lib/rubocop/directive_comment.rb#112 def line_number; end # Checks if this directive contains all the given cop names # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#44 + # source://rubocop//lib/rubocop/directive_comment.rb#44 def match?(cop_names); end # Returns match captures to directive comment pattern # - # source://rubocop/lib/rubocop/directive_comment.rb#57 + # source://rubocop//lib/rubocop/directive_comment.rb#57 def match_captures; end # Returns the value of attribute mode. # - # source://rubocop/lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#30 def mode; end # Checks if cop department has already used in directive comment # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#103 + # source://rubocop//lib/rubocop/directive_comment.rb#103 def overridden_by_department?(cop); end - # source://rubocop/lib/rubocop/directive_comment.rb#48 + # source://rubocop//lib/rubocop/directive_comment.rb#48 def range; end # Checks if this directive relates to single line # # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#39 + # source://rubocop//lib/rubocop/directive_comment.rb#39 def single_line?; end private - # source://rubocop/lib/rubocop/directive_comment.rb#133 + # source://rubocop//lib/rubocop/directive_comment.rb#133 def all_cop_names; end - # source://rubocop/lib/rubocop/directive_comment.rb#137 + # source://rubocop//lib/rubocop/directive_comment.rb#137 def cop_names_for_department(department); end # @return [Boolean] # - # source://rubocop/lib/rubocop/directive_comment.rb#129 + # source://rubocop//lib/rubocop/directive_comment.rb#129 def department?(name); end - # source://rubocop/lib/rubocop/directive_comment.rb#142 + # source://rubocop//lib/rubocop/directive_comment.rb#142 def exclude_lint_department_cops(cops); end - # source://rubocop/lib/rubocop/directive_comment.rb#122 + # source://rubocop//lib/rubocop/directive_comment.rb#122 def parsed_cop_names; end - # source://rubocop/lib/rubocop/directive_comment.rb#118 + # source://rubocop//lib/rubocop/directive_comment.rb#118 def splitted_cops_string; end class << self - # source://rubocop/lib/rubocop/directive_comment.rb#26 + # source://rubocop//lib/rubocop/directive_comment.rb#26 def before_comment(line); end end end # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#19 +# source://rubocop//lib/rubocop/directive_comment.rb#19 RuboCop::DirectiveComment::COPS_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#17 +# source://rubocop//lib/rubocop/directive_comment.rb#17 RuboCop::DirectiveComment::COP_NAMES_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#15 +# source://rubocop//lib/rubocop/directive_comment.rb#15 RuboCop::DirectiveComment::COP_NAME_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#21 +# source://rubocop//lib/rubocop/directive_comment.rb#21 RuboCop::DirectiveComment::DIRECTIVE_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#9 +# source://rubocop//lib/rubocop/directive_comment.rb#9 RuboCop::DirectiveComment::LINT_DEPARTMENT = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#11 +# source://rubocop//lib/rubocop/directive_comment.rb#11 RuboCop::DirectiveComment::LINT_REDUNDANT_DIRECTIVE_COP = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/directive_comment.rb#13 +# source://rubocop//lib/rubocop/directive_comment.rb#13 RuboCop::DirectiveComment::LINT_SYNTAX_COP = T.let(T.unsafe(nil), String) # An Error exception is different from an Offense with severity 'error' @@ -56406,125 +56592,125 @@ RuboCop::DirectiveComment::LINT_SYNTAX_COP = T.let(T.unsafe(nil), String) # a requested action (probably due to misconfiguration) and must stop # immediately, rather than carrying on # -# source://rubocop/lib/rubocop/error.rb#8 +# source://rubocop//lib/rubocop/error.rb#8 class RuboCop::Error < ::StandardError; end # A wrapper to display errored location of analyzed file. # -# source://rubocop/lib/rubocop/error.rb#13 +# source://rubocop//lib/rubocop/error.rb#13 class RuboCop::ErrorWithAnalyzedFileLocation < ::RuboCop::Error # @return [ErrorWithAnalyzedFileLocation] a new instance of ErrorWithAnalyzedFileLocation # - # source://rubocop/lib/rubocop/error.rb#14 + # source://rubocop//lib/rubocop/error.rb#14 def initialize(cause:, node:, cop:); end # Returns the value of attribute cause. # - # source://rubocop/lib/rubocop/error.rb#21 + # source://rubocop//lib/rubocop/error.rb#21 def cause; end - # source://rubocop/lib/rubocop/error.rb#27 + # source://rubocop//lib/rubocop/error.rb#27 def column; end # Returns the value of attribute cop. # - # source://rubocop/lib/rubocop/error.rb#21 + # source://rubocop//lib/rubocop/error.rb#21 def cop; end - # source://rubocop/lib/rubocop/error.rb#23 + # source://rubocop//lib/rubocop/error.rb#23 def line; end - # source://rubocop/lib/rubocop/error.rb#31 + # source://rubocop//lib/rubocop/error.rb#31 def message; end end # Allows specified configuration options to have an exclude limit # ie. a maximum value tracked that it can be used by `--auto-gen-config`. # -# source://rubocop/lib/rubocop/cop/exclude_limit.rb#6 +# source://rubocop//lib/rubocop/cop/exclude_limit.rb#6 module RuboCop::ExcludeLimit # Sets up a configuration option to have an exclude limit tracked. # The parameter name given is transformed into a method name (eg. `Max` # becomes `self.max=` and `MinDigits` becomes `self.min_digits=`). # - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#10 + # source://rubocop//lib/rubocop/cop/exclude_limit.rb#10 def exclude_limit(parameter_name, method_name: T.unsafe(nil)); end private - # source://rubocop/lib/rubocop/cop/exclude_limit.rb#22 + # source://rubocop//lib/rubocop/cop/exclude_limit.rb#22 def transform(parameter_name); end end -# source://rubocop/lib/rubocop/ext/comment.rb#4 +# source://rubocop//lib/rubocop/ext/comment.rb#4 module RuboCop::Ext; end # Extensions to `Parser::Source::Comment`. # -# source://rubocop/lib/rubocop/ext/comment.rb#6 +# source://rubocop//lib/rubocop/ext/comment.rb#6 module RuboCop::Ext::Comment - # source://rubocop/lib/rubocop/ext/comment.rb#7 + # source://rubocop//lib/rubocop/ext/comment.rb#7 def source; end - # source://rubocop/lib/rubocop/ext/comment.rb#11 + # source://rubocop//lib/rubocop/ext/comment.rb#11 def source_range; end end # Extensions to AST::ProcessedSource for our cached comment_config # -# source://rubocop/lib/rubocop/ext/processed_source.rb#6 +# source://rubocop//lib/rubocop/ext/processed_source.rb#6 module RuboCop::Ext::ProcessedSource - # source://rubocop/lib/rubocop/ext/processed_source.rb#9 + # source://rubocop//lib/rubocop/ext/processed_source.rb#9 def comment_config; end # Returns the value of attribute config. # - # source://rubocop/lib/rubocop/ext/processed_source.rb#7 + # source://rubocop//lib/rubocop/ext/processed_source.rb#7 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://rubocop/lib/rubocop/ext/processed_source.rb#7 + # source://rubocop//lib/rubocop/ext/processed_source.rb#7 def config=(_arg0); end - # source://rubocop/lib/rubocop/ext/processed_source.rb#13 + # source://rubocop//lib/rubocop/ext/processed_source.rb#13 def disabled_line_ranges; end # Returns the value of attribute registry. # - # source://rubocop/lib/rubocop/ext/processed_source.rb#7 + # source://rubocop//lib/rubocop/ext/processed_source.rb#7 def registry; end # Sets the attribute registry # # @param value the value to set the attribute registry to. # - # source://rubocop/lib/rubocop/ext/processed_source.rb#7 + # source://rubocop//lib/rubocop/ext/processed_source.rb#7 def registry=(_arg0); end end # Extensions to Parser::Source::Range # -# source://rubocop/lib/rubocop/ext/range.rb#6 +# source://rubocop//lib/rubocop/ext/range.rb#6 module RuboCop::Ext::Range # Adds `Range#single_line?` to parallel `Node#single_line?` # # @return [Boolean] # - # source://rubocop/lib/rubocop/ext/range.rb#8 + # source://rubocop//lib/rubocop/ext/range.rb#8 def single_line?; end end # Extensions to AST::RegexpNode for our cached parsed regexp info # -# source://rubocop/lib/rubocop/ext/regexp_node.rb#6 +# source://rubocop//lib/rubocop/ext/regexp_node.rb#6 module RuboCop::Ext::RegexpNode - # source://rubocop/lib/rubocop/ext/regexp_node.rb#18 + # source://rubocop//lib/rubocop/ext/regexp_node.rb#18 def assign_properties(*_arg0); end - # source://rubocop/lib/rubocop/ext/regexp_node.rb#31 + # source://rubocop//lib/rubocop/ext/regexp_node.rb#31 def each_capture(named: T.unsafe(nil)); end # Note: we extend Regexp nodes to provide `loc` and `expression` @@ -56532,38 +56718,38 @@ module RuboCop::Ext::RegexpNode # # @return [Regexp::Expression::Root, nil] # - # source://rubocop/lib/rubocop/ext/regexp_node.rb#16 + # source://rubocop//lib/rubocop/ext/regexp_node.rb#16 def parsed_tree; end private # @return [Boolean] # - # source://rubocop/lib/rubocop/ext/regexp_node.rb#43 + # source://rubocop//lib/rubocop/ext/regexp_node.rb#43 def named_capturing?(exp, event, named); end - # source://rubocop/lib/rubocop/ext/regexp_node.rb#51 + # source://rubocop//lib/rubocop/ext/regexp_node.rb#51 def with_interpolations_blanked; end end -# source://rubocop/lib/rubocop/ext/regexp_node.rb#7 +# source://rubocop//lib/rubocop/ext/regexp_node.rb#7 RuboCop::Ext::RegexpNode::ANY = T.let(T.unsafe(nil), Object) # Extensions for `regexp_parser` gem # -# source://rubocop/lib/rubocop/ext/regexp_parser.rb#6 +# source://rubocop//lib/rubocop/ext/regexp_parser.rb#6 module RuboCop::Ext::RegexpParser; end -# source://rubocop/lib/rubocop/ext/regexp_parser.rb#20 +# source://rubocop//lib/rubocop/ext/regexp_parser.rb#20 module RuboCop::Ext::RegexpParser::Expression; end # Add `expression` and `loc` to all `regexp_parser` nodes # -# source://rubocop/lib/rubocop/ext/regexp_parser.rb#22 +# source://rubocop//lib/rubocop/ext/regexp_parser.rb#22 module RuboCop::Ext::RegexpParser::Expression::Base # Shortcut to `loc.expression` # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#26 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#26 def expression; end # E.g. @@ -56576,62 +56762,62 @@ module RuboCop::Ext::RegexpParser::Expression::Base # # Please open issue if you need other locations # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#44 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#44 def loc; end # Returns the value of attribute origin. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#23 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#23 def origin; end # Sets the attribute origin # # @param value the value to set the attribute origin to. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#23 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#23 def origin=(_arg0); end private - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#50 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#50 def build_location; end end # Provide `CharacterSet` with `begin` and `end` locations. # -# source://rubocop/lib/rubocop/ext/regexp_parser.rb#62 +# source://rubocop//lib/rubocop/ext/regexp_parser.rb#62 module RuboCop::Ext::RegexpParser::Expression::CharacterSet - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#63 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#63 def build_location; end end # Source map for RegexpParser nodes # -# source://rubocop/lib/rubocop/ext/regexp_parser.rb#8 +# source://rubocop//lib/rubocop/ext/regexp_parser.rb#8 class RuboCop::Ext::RegexpParser::Map < ::Parser::Source::Map # @return [Map] a new instance of Map # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#11 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#11 def initialize(expression, body:, quantifier: T.unsafe(nil), begin_l: T.unsafe(nil), end_l: T.unsafe(nil)); end # Returns the value of attribute begin. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#9 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#9 def begin; end # Returns the value of attribute body. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#9 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#9 def body; end # Returns the value of attribute end. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#9 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#9 def end; end # Returns the value of attribute quantifier. # - # source://rubocop/lib/rubocop/ext/regexp_parser.rb#9 + # source://rubocop//lib/rubocop/ext/regexp_parser.rb#9 def quantifier; end end @@ -56648,19 +56834,19 @@ end # # @api private # -# source://rubocop/lib/rubocop/feature_loader.rb#16 +# source://rubocop//lib/rubocop/feature_loader.rb#16 class RuboCop::FeatureLoader # @api private # @param config_directory_path [String] # @param feature [String] # @return [FeatureLoader] a new instance of FeatureLoader # - # source://rubocop/lib/rubocop/feature_loader.rb#27 + # source://rubocop//lib/rubocop/feature_loader.rb#27 def initialize(config_directory_path:, feature:); end # @api private # - # source://rubocop/lib/rubocop/feature_loader.rb#32 + # source://rubocop//lib/rubocop/feature_loader.rb#32 def load; end private @@ -56668,39 +56854,39 @@ class RuboCop::FeatureLoader # @api private # @return [String] # - # source://rubocop/lib/rubocop/feature_loader.rb#55 + # source://rubocop//lib/rubocop/feature_loader.rb#55 def namespaced_feature; end # @api private # @return [String] # - # source://rubocop/lib/rubocop/feature_loader.rb#60 + # source://rubocop//lib/rubocop/feature_loader.rb#60 def namespaced_target; end # @api private # @param [String] # @return [String] # - # source://rubocop/lib/rubocop/feature_loader.rb#70 + # source://rubocop//lib/rubocop/feature_loader.rb#70 def relative(feature); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/feature_loader.rb#75 + # source://rubocop//lib/rubocop/feature_loader.rb#75 def relative?; end # @api private # @param error [LoadError] # @return [Boolean] # - # source://rubocop/lib/rubocop/feature_loader.rb#81 + # source://rubocop//lib/rubocop/feature_loader.rb#81 def seems_cannot_load_such_file_error?(error); end # @api private # @return [String] # - # source://rubocop/lib/rubocop/feature_loader.rb#86 + # source://rubocop//lib/rubocop/feature_loader.rb#86 def target; end class << self @@ -56708,7 +56894,7 @@ class RuboCop::FeatureLoader # @param config_directory_path [String] # @param feature [String] # - # source://rubocop/lib/rubocop/feature_loader.rb#20 + # source://rubocop//lib/rubocop/feature_loader.rb#20 def load(config_directory_path:, feature:); end end end @@ -56717,39 +56903,39 @@ end # # @api private # -# source://rubocop/lib/rubocop/file_finder.rb#8 +# source://rubocop//lib/rubocop/file_finder.rb#8 module RuboCop::FileFinder # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#13 + # source://rubocop//lib/rubocop/file_finder.rb#13 def find_file_upwards(filename, start_dir, stop_dir = T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#20 + # source://rubocop//lib/rubocop/file_finder.rb#20 def find_last_file_upwards(filename, start_dir, stop_dir = T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#26 + # source://rubocop//lib/rubocop/file_finder.rb#26 def traverse_directories_upwards(start_dir, stop_dir = T.unsafe(nil)); end private # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#36 + # source://rubocop//lib/rubocop/file_finder.rb#36 def traverse_files_upwards(filename, start_dir, stop_dir); end class << self # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#10 + # source://rubocop//lib/rubocop/file_finder.rb#10 def root_level; end # @api private # - # source://rubocop/lib/rubocop/file_finder.rb#10 + # source://rubocop//lib/rubocop/file_finder.rb#10 def root_level=(_arg0); end end end @@ -56766,45 +56952,45 @@ end # # @api private # -# source://rubocop/lib/rubocop/file_patterns.rb#14 +# source://rubocop//lib/rubocop/file_patterns.rb#14 class RuboCop::FilePatterns # @api private # @return [FilePatterns] a new instance of FilePatterns # - # source://rubocop/lib/rubocop/file_patterns.rb#21 + # source://rubocop//lib/rubocop/file_patterns.rb#21 def initialize(patterns); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/file_patterns.rb#27 + # source://rubocop//lib/rubocop/file_patterns.rb#27 def match?(path); end private # @api private # - # source://rubocop/lib/rubocop/file_patterns.rb#33 + # source://rubocop//lib/rubocop/file_patterns.rb#33 def partition_patterns(patterns); end class << self # @api private # - # source://rubocop/lib/rubocop/file_patterns.rb#17 + # source://rubocop//lib/rubocop/file_patterns.rb#17 def from(patterns); end end end # The bootstrap module for formatter. # -# source://rubocop/lib/rubocop/formatter.rb#5 +# source://rubocop//lib/rubocop/formatter.rb#5 module RuboCop::Formatter; end # Does not show individual offenses in the console. # -# source://rubocop/lib/rubocop/formatter/auto_gen_config_formatter.rb#6 +# source://rubocop//lib/rubocop/formatter/auto_gen_config_formatter.rb#6 class RuboCop::Formatter::AutoGenConfigFormatter < ::RuboCop::Formatter::ProgressFormatter - # source://rubocop/lib/rubocop/formatter/auto_gen_config_formatter.rb#7 + # source://rubocop//lib/rubocop/formatter/auto_gen_config_formatter.rb#7 def finished(inspected_files); end end @@ -56844,13 +57030,13 @@ end # * `#file_finished` # * `#finished` # -# source://rubocop/lib/rubocop/formatter/base_formatter.rb#41 +# source://rubocop//lib/rubocop/formatter/base_formatter.rb#41 class RuboCop::Formatter::BaseFormatter # @api public # @param output [IO] `$stdout` or opened file # @return [BaseFormatter] a new instance of BaseFormatter # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#63 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#63 def initialize(output, options = T.unsafe(nil)); end # Invoked at the end of inspecting each files. @@ -56861,7 +57047,7 @@ class RuboCop::Formatter::BaseFormatter # @return [void] # @see RuboCop::Cop::Offense # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#104 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#104 def file_finished(file, offenses); end # Invoked at the beginning of inspecting each files. @@ -56871,7 +57057,7 @@ class RuboCop::Formatter::BaseFormatter # @param options [Hash] file specific information, currently this is always empty. # @return [void] # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#89 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#89 def file_started(file, options); end # Invoked after all files are inspected or interrupted by user. @@ -56882,20 +57068,20 @@ class RuboCop::Formatter::BaseFormatter # unless RuboCop is interrupted by user. # @return [void] # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#116 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#116 def finished(inspected_files); end # @api public # @return [Hash] # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#57 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#57 def options; end # @api public # @return [IO] the IO object passed to `#initialize` # @see #initialize # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#50 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#50 def output; end # Invoked once before any files are inspected. @@ -56904,7 +57090,7 @@ class RuboCop::Formatter::BaseFormatter # @param target_files [Array(String)] all target file paths to be inspected # @return [void] # - # source://rubocop/lib/rubocop/formatter/base_formatter.rb#76 + # source://rubocop//lib/rubocop/formatter/base_formatter.rb#76 def started(target_files); end end @@ -56912,109 +57098,109 @@ end # The precise location of the problem is shown together with the # relevant source code. # -# source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#8 +# source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#8 class RuboCop::Formatter::ClangStyleFormatter < ::RuboCop::Formatter::SimpleTextFormatter - # source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#11 + # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#11 def report_file(file, offenses); end private - # source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#47 + # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#47 def report_highlighted_area(highlighted_area); end - # source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#37 + # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#37 def report_line(location); end - # source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#17 + # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#17 def report_offense(file, offense); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#33 def valid_line?(offense); end end -# source://rubocop/lib/rubocop/formatter/clang_style_formatter.rb#9 +# source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#9 RuboCop::Formatter::ClangStyleFormatter::ELLIPSES = T.let(T.unsafe(nil), String) # This mix-in module provides string coloring methods for terminals. # It automatically disables coloring if coloring is disabled in the process # globally or the formatter's output is not a terminal. # -# source://rubocop/lib/rubocop/formatter/colorizable.rb#8 +# source://rubocop//lib/rubocop/formatter/colorizable.rb#8 module RuboCop::Formatter::Colorizable - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def black(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def blue(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#21 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#21 def colorize(string, *args); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def cyan(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def green(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def magenta(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#9 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#9 def rainbow; end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def red(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def white(string); end - # source://rubocop/lib/rubocop/formatter/colorizable.rb#35 + # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 def yellow(string); end end # This formatter displays a YAML configuration file where all cops that # detected any offenses are configured to not detect the offense. # -# source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#7 +# source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#7 class RuboCop::Formatter::DisabledConfigFormatter < ::RuboCop::Formatter::BaseFormatter include ::RuboCop::PathUtil # @return [DisabledConfigFormatter] a new instance of DisabledConfigFormatter # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#27 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#27 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#40 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#40 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#33 def file_started(_file, options); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#48 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#48 def finished(_inspected_files); end private # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#69 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#69 def auto_gen_enforced_style?; end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#73 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#73 def command; end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#165 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#165 def cop_config_params(default_cfg, cfg); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#185 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#185 def default_config(cop_name); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#229 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#229 def excludes(offending_files, cop_name, parent); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#200 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#200 def filtered_config(cfg); end # Returns true if the given arr include the given elm or if any of the @@ -57022,121 +57208,121 @@ class RuboCop::Formatter::DisabledConfigFormatter < ::RuboCop::Formatter::BaseFo # # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#277 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#277 def include_or_match?(arr, elm); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#250 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#250 def merge_mode_for_exclude?(cfg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#271 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#271 def no_exclude_limit?; end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#102 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#102 def output_cop(cop_name, offense_count); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#137 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#137 def output_cop_comments(output_buffer, cfg, cop_name, offense_count); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#189 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#189 def output_cop_config(output_buffer, cfg, cop_name); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#172 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#172 def output_cop_param_comments(output_buffer, params, default_cfg); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#219 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#219 def output_exclude_list(output_buffer, offending_files, cop_name); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#254 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#254 def output_exclude_path(output_buffer, exclude_path, parent); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#208 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#208 def output_offending_files(output_buffer, cfg, cop_name); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#96 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#96 def output_offenses; end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#267 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#267 def safe_autocorrect?(config); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#116 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#116 def set_max(cfg, cop_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#125 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#125 def should_set_max?(cop_name); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#65 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#65 def show_offense_counts?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#61 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#61 def show_timestamp?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#157 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#157 def supports_safe_autocorrect?(cop_class, default_cfg); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#161 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#161 def supports_unsafe_autocorrect?(cop_class, default_cfg); end - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#92 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#92 def timestamp; end class << self # Returns the value of attribute config_to_allow_offenses. # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#24 def config_to_allow_offenses; end # Sets the attribute config_to_allow_offenses # # @param value the value to set the attribute config_to_allow_offenses to. # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#24 def config_to_allow_offenses=(_arg0); end # Returns the value of attribute detected_styles. # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#24 def detected_styles; end # Sets the attribute detected_styles # # @param value the value to set the attribute detected_styles to. # - # source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#24 def detected_styles=(_arg0); end end end -# source://rubocop/lib/rubocop/formatter/disabled_config_formatter.rb#10 +# source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#10 RuboCop::Formatter::DisabledConfigFormatter::HEADING = T.let(T.unsafe(nil), String) # This formatter displays the report data in format that's # easy to process in the Emacs text editor. # The output is machine-parsable. # -# source://rubocop/lib/rubocop/formatter/emacs_style_formatter.rb#8 +# source://rubocop//lib/rubocop/formatter/emacs_style_formatter.rb#8 class RuboCop::Formatter::EmacsStyleFormatter < ::RuboCop::Formatter::BaseFormatter - # source://rubocop/lib/rubocop/formatter/emacs_style_formatter.rb#9 + # source://rubocop//lib/rubocop/formatter/emacs_style_formatter.rb#9 def file_finished(file, offenses); end private - # source://rubocop/lib/rubocop/formatter/emacs_style_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/emacs_style_formatter.rb#24 def message(offense); end end @@ -57148,9 +57334,9 @@ end # /some/file # /some/other/file # -# source://rubocop/lib/rubocop/formatter/file_list_formatter.rb#12 +# source://rubocop//lib/rubocop/formatter/file_list_formatter.rb#12 class RuboCop::Formatter::FileListFormatter < ::RuboCop::Formatter::BaseFormatter - # source://rubocop/lib/rubocop/formatter/file_list_formatter.rb#13 + # source://rubocop//lib/rubocop/formatter/file_list_formatter.rb#13 def file_finished(file, offenses); end end @@ -57158,50 +57344,50 @@ end # formatter instances and provides transparent formatter API methods # which invoke same method of each formatters. # -# source://rubocop/lib/rubocop/formatter/formatter_set.rb#10 +# source://rubocop//lib/rubocop/formatter/formatter_set.rb#10 class RuboCop::Formatter::FormatterSet < ::Array # @return [FormatterSet] a new instance of FormatterSet # - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#40 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#40 def initialize(options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#56 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#56 def add_formatter(formatter_type, output_path = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#68 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#68 def close_output_files; end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#51 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#51 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#45 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#45 def file_started(file, options); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#35 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#35 def finished(*args); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#35 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#35 def started(*args); end private - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#87 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#87 def builtin_formatter_class(specified_key); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#105 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#105 def custom_formatter_class(specified_class_name); end - # source://rubocop/lib/rubocop/formatter/formatter_set.rb#76 + # source://rubocop//lib/rubocop/formatter/formatter_set.rb#76 def formatter_class(formatter_type); end end -# source://rubocop/lib/rubocop/formatter/formatter_set.rb#11 +# source://rubocop//lib/rubocop/formatter/formatter_set.rb#11 RuboCop::Formatter::FormatterSet::BUILTIN_FORMATTERS_FOR_KEYS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/formatter/formatter_set.rb#30 +# source://rubocop//lib/rubocop/formatter/formatter_set.rb#30 RuboCop::Formatter::FormatterSet::BUILTIN_FORMATTER_NAMES = T.let(T.unsafe(nil), Array) -# source://rubocop/lib/rubocop/formatter/formatter_set.rb#32 +# source://rubocop//lib/rubocop/formatter/formatter_set.rb#32 RuboCop::Formatter::FormatterSet::FORMATTER_APIS = T.let(T.unsafe(nil), Array) # This formatter displays a progress bar and shows details of offenses as @@ -57209,332 +57395,395 @@ RuboCop::Formatter::FormatterSet::FORMATTER_APIS = T.let(T.unsafe(nil), Array) # This is inspired by the Fuubar formatter for RSpec by Jeff Kreeftmeijer. # https://github.com/jeffkreeftmeijer/fuubar # -# source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#11 +# source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#11 class RuboCop::Formatter::FuubarStyleFormatter < ::RuboCop::Formatter::ClangStyleFormatter # @return [FuubarStyleFormatter] a new instance of FuubarStyleFormatter # - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#14 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#14 def initialize(*output); end - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#51 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#51 def count_stats(offenses); end - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#40 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#40 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#71 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#71 def progressbar_color; end - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#20 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#20 def started(target_files); end - # source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#61 + # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#61 def with_color; end end -# source://rubocop/lib/rubocop/formatter/fuubar_style_formatter.rb#12 +# source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#12 RuboCop::Formatter::FuubarStyleFormatter::RESET_SEQUENCE = T.let(T.unsafe(nil), String) # This formatter formats report data as GitHub Workflow commands resulting # in GitHub check annotations when run within GitHub Actions. # -# source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#7 +# source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#7 class RuboCop::Formatter::GitHubActionsFormatter < ::RuboCop::Formatter::BaseFormatter - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#14 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#14 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#18 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#18 def finished(_inspected_files); end - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#10 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#10 def started(_target_files); end private - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#29 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#29 def github_escape(string); end - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#41 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#41 def github_severity(offense); end - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#33 def minimum_severity_to_fail; end - # source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#45 + # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#45 def report_offense(file, offense); end end -# source://rubocop/lib/rubocop/formatter/github_actions_formatter.rb#8 +# source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#8 RuboCop::Formatter::GitHubActionsFormatter::ESCAPE_MAP = T.let(T.unsafe(nil), Hash) # This formatter saves the output as an html file. # -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#9 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#9 class RuboCop::Formatter::HTMLFormatter < ::RuboCop::Formatter::BaseFormatter # @return [HTMLFormatter] a new instance of HTMLFormatter # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#29 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#29 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#39 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#39 def file_finished(file, offenses); end # Returns the value of attribute files. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#27 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#27 def files; end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#44 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#44 def finished(inspected_files); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#50 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#50 def render_html; end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#35 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#35 def started(target_files); end # Returns the value of attribute summary. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#27 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#27 def summary; end end # This class provides helper methods used in the ERB CSS template. # -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#137 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#137 class RuboCop::Formatter::HTMLFormatter::CSSContext # Make Kernel#binding public. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#148 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#148 def binding; end end -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#138 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#138 RuboCop::Formatter::HTMLFormatter::CSSContext::SEVERITY_COLORS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#12 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#12 RuboCop::Formatter::HTMLFormatter::CSS_PATH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#14 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # Returns the value of attribute alpha # # @return [Object] the current value of alpha + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def alpha; end # Sets the attribute alpha # # @param value [Object] the value to set the attribute alpha to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def alpha=(_); end # Returns the value of attribute blue # # @return [Object] the current value of blue + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def blue; end # Sets the attribute blue # # @param value [Object] the value to set the attribute blue to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def blue=(_); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#19 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#19 def fade_out(amount); end # Returns the value of attribute green # # @return [Object] the current value of green + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def green; end # Sets the attribute green # # @param value [Object] the value to set the attribute green to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def green=(_); end # Returns the value of attribute red # # @return [Object] the current value of red + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def red; end # Sets the attribute red # # @param value [Object] the value to set the attribute red to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def red=(_); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#15 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#15 def to_s; end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#10 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#10 RuboCop::Formatter::HTMLFormatter::ELLIPSES = T.let(T.unsafe(nil), String) # This class provides helper methods used in the ERB template. # -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#63 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#63 class RuboCop::Formatter::HTMLFormatter::ERBContext include ::RuboCop::PathUtil include ::RuboCop::Formatter::TextUtil # @return [ERBContext] a new instance of ERBContext # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#71 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#71 def initialize(files, summary); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#118 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#118 def base64_encoded_logo_image; end # Make Kernel#binding public. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#78 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#78 def binding; end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#83 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#83 def decorated_message(offense); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#114 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#114 def escape(string); end # Returns the value of attribute files. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#69 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#69 def files; end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#94 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#94 def highlight_source_tag(offense); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#87 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#87 def highlighted_source_line(offense); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#110 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#110 def possible_ellipses(location); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#126 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#126 def render_css; end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#105 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#105 def source_after_highlight(offense); end - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#100 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#100 def source_before_highlight(offense); end # Returns the value of attribute summary. # - # source://rubocop/lib/rubocop/formatter/html_formatter.rb#69 + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#69 def summary; end end -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#67 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#67 RuboCop::Formatter::HTMLFormatter::ERBContext::LOGO_IMAGE_PATH = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#25 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 class RuboCop::Formatter::HTMLFormatter::FileOffenses < ::Struct # Returns the value of attribute offenses # # @return [Object] the current value of offenses + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def offenses; end # Sets the attribute offenses # # @param value [Object] the value to set the attribute offenses to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def offenses=(_); end # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def path=(_); end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#24 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct # Returns the value of attribute inspected_files # # @return [Object] the current value of inspected_files + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspected_files; end # Sets the attribute inspected_files # # @param value [Object] the value to set the attribute inspected_files to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspected_files=(_); end # Returns the value of attribute offense_count # # @return [Object] the current value of offense_count + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def offense_count; end # Sets the attribute offense_count # # @param value [Object] the value to set the attribute offense_count to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def offense_count=(_); end # Returns the value of attribute target_files # # @return [Object] the current value of target_files + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def target_files; end # Sets the attribute target_files # # @param value [Object] the value to set the attribute target_files to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def target_files=(_); end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def new(*_arg0); end end end -# source://rubocop/lib/rubocop/formatter/html_formatter.rb#11 +# source://rubocop//lib/rubocop/formatter/html_formatter.rb#11 RuboCop::Formatter::HTMLFormatter::TEMPLATE_PATH = T.let(T.unsafe(nil), String) # This formatter formats the report data in JSON format. # -# source://rubocop/lib/rubocop/formatter/json_formatter.rb#8 +# source://rubocop//lib/rubocop/formatter/json_formatter.rb#8 class RuboCop::Formatter::JSONFormatter < ::RuboCop::Formatter::BaseFormatter include ::RuboCop::PathUtil # @return [JSONFormatter] a new instance of JSONFormatter # - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#13 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#13 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#22 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#22 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#27 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#27 def finished(inspected_files); end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#42 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#42 def hash_for_file(file, offenses); end # TODO: Consider better solution for Offense#real_column. @@ -57542,163 +57791,163 @@ class RuboCop::Formatter::JSONFormatter < ::RuboCop::Formatter::BaseFormatter # So, the minimum value of `last_column` should be 1. # And non-zero value of `last_column` should be used as is. # - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#64 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#64 def hash_for_location(offense); end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#49 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#49 def hash_for_offense(offense); end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#32 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#32 def metadata_hash; end # Returns the value of attribute output_hash. # - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#11 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#11 def output_hash; end - # source://rubocop/lib/rubocop/formatter/json_formatter.rb#18 + # source://rubocop//lib/rubocop/formatter/json_formatter.rb#18 def started(target_files); end end # This formatter formats the report data in JUnit format. # -# source://rubocop/lib/rubocop/formatter/junit_formatter.rb#15 +# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#15 class RuboCop::Formatter::JUnitFormatter < ::RuboCop::Formatter::BaseFormatter # @return [JUnitFormatter] a new instance of JUnitFormatter # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#24 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#32 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#32 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#51 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#51 def finished(_inspected_files); end private - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#106 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#106 def add_failure_to(testcase, offenses, cop_name); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#85 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#85 def add_testcase_element_to_testsuite_element(file, target_offenses, cop); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#94 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#94 def classname_attribute_value(file); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#81 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#81 def offenses_for_cop(all_offenses, cop); end # @return [Boolean] # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#77 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#77 def relevant_for_output?(options, target_offenses); end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#101 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#101 def reset_count; end - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#118 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#118 def xml_escape(string); end end -# source://rubocop/lib/rubocop/formatter/junit_formatter.rb#16 +# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#16 RuboCop::Formatter::JUnitFormatter::ESCAPE_MAP = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/formatter/junit_formatter.rb#132 +# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#132 class RuboCop::Formatter::JUnitFormatter::FailureElement # @return [FailureElement] a new instance of FailureElement # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#135 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#135 def initialize(type:, message:, text:); end # Returns the value of attribute message. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#133 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#133 def message; end # Returns the value of attribute text. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#133 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#133 def text; end # Returns the value of attribute type. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#133 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#133 def type; end end -# source://rubocop/lib/rubocop/formatter/junit_formatter.rb#122 +# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#122 class RuboCop::Formatter::JUnitFormatter::TestCaseElement # @return [TestCaseElement] a new instance of TestCaseElement # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#125 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#125 def initialize(classname:, name:); end # Returns the value of attribute classname. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#123 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#123 def classname; end # Returns the value of attribute failures. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#123 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#123 def failures; end # Returns the value of attribute name. # - # source://rubocop/lib/rubocop/formatter/junit_formatter.rb#123 + # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#123 def name; end end # This formatter displays the report data in markdown # -# source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#6 +# source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#6 class RuboCop::Formatter::MarkdownFormatter < ::RuboCop::Formatter::BaseFormatter include ::RuboCop::Formatter::TextUtil include ::RuboCop::PathUtil # @return [MarkdownFormatter] a new instance of MarkdownFormatter # - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#11 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#11 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#21 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#21 def file_finished(file, offenses); end # Returns the value of attribute files. # - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#9 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#9 def files; end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#26 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#26 def finished(inspected_files); end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#17 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#17 def started(target_files); end # Returns the value of attribute summary. # - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#9 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#9 def summary; end private - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#73 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#73 def possible_ellipses(location); end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#33 def render_markdown; end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#67 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#67 def write_code(offense); end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#61 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#61 def write_context(offense); end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#42 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#42 def write_file_messages; end - # source://rubocop/lib/rubocop/formatter/markdown_formatter.rb#54 + # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#54 def write_heading(file); end end @@ -57712,32 +57961,32 @@ end # -- # 29 Total in 5 files # -# source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#16 +# source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#16 class RuboCop::Formatter::OffenseCountFormatter < ::RuboCop::Formatter::BaseFormatter - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#81 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#81 def cop_information(cop_name); end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#42 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#42 def file_finished(_file, offenses); end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#51 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#51 def finished(_inspected_files); end # Returns the value of attribute offense_counts. # - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#17 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#17 def offense_counts; end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#73 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#73 def ordered_offense_counts(offense_counts); end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#56 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#56 def report_summary(offense_counts, offending_files_count); end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#19 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#19 def started(target_files); end - # source://rubocop/lib/rubocop/formatter/offense_count_formatter.rb#77 + # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#77 def total_offense_count(offense_counts); end end @@ -57747,99 +57996,99 @@ end # This is inspired by the Pacman formatter for RSpec by Carlos Rojas. # https://github.com/go-labs/rspec_pacman_formatter # -# source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#10 +# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#10 class RuboCop::Formatter::PacmanFormatter < ::RuboCop::Formatter::ClangStyleFormatter include ::RuboCop::Formatter::TextUtil # @return [PacmanFormatter] a new instance of PacmanFormatter # - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#19 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#19 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#50 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#50 def cols; end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#37 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#37 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#33 def file_started(_file, _options); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#43 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#43 def next_step(offenses); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#64 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#64 def pacdots(number); end # Returns the value of attribute progress_line. # - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#12 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#12 def progress_line; end # Sets the attribute progress_line # # @param value the value to set the attribute progress_line to. # - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#12 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#12 def progress_line=(_arg0); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#26 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#26 def started(target_files); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#68 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#68 def step(character); end - # source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#57 + # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#57 def update_progress_line; end end -# source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#14 +# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#14 RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer) -# source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#15 +# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#15 RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#17 +# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#17 RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter) -# source://rubocop/lib/rubocop/formatter/pacman_formatter.rb#16 +# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#16 RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter) # This formatter display dots for files with no offenses and # letters for files with problems in the them. In the end it # appends the regular report data in the clang style format. # -# source://rubocop/lib/rubocop/formatter/progress_formatter.rb#8 +# source://rubocop//lib/rubocop/formatter/progress_formatter.rb#8 class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter include ::RuboCop::Formatter::TextUtil # @return [ProgressFormatter] a new instance of ProgressFormatter # - # source://rubocop/lib/rubocop/formatter/progress_formatter.rb#13 + # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#13 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/progress_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#24 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/progress_formatter.rb#33 + # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#33 def finished(inspected_files); end - # source://rubocop/lib/rubocop/formatter/progress_formatter.rb#50 + # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#50 def report_file_as_mark(offenses); end - # source://rubocop/lib/rubocop/formatter/progress_formatter.rb#18 + # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#18 def started(target_files); end end -# source://rubocop/lib/rubocop/formatter/progress_formatter.rb#11 +# source://rubocop//lib/rubocop/formatter/progress_formatter.rb#11 RuboCop::Formatter::ProgressFormatter::DOT = T.let(T.unsafe(nil), String) # If no offenses are found, no output is displayed. # Otherwise, SimpleTextFormatter's output is displayed. # -# source://rubocop/lib/rubocop/formatter/quiet_formatter.rb#7 +# source://rubocop//lib/rubocop/formatter/quiet_formatter.rb#7 class RuboCop::Formatter::QuietFormatter < ::RuboCop::Formatter::SimpleTextFormatter - # source://rubocop/lib/rubocop/formatter/quiet_formatter.rb#8 + # source://rubocop//lib/rubocop/formatter/quiet_formatter.rb#8 def report_summary(file_count, offense_count, correction_count, correctable_count); end end @@ -57847,119 +58096,119 @@ end # Offenses are displayed at compact form - just the # location of the problem and the associated message. # -# source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#10 +# source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#10 class RuboCop::Formatter::SimpleTextFormatter < ::RuboCop::Formatter::BaseFormatter include ::RuboCop::Formatter::Colorizable include ::RuboCop::PathUtil - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#29 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#29 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#36 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#36 def finished(inspected_files); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#43 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#43 def report_file(file, offenses); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#57 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#57 def report_summary(file_count, offense_count, correction_count, correctable_count); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#23 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#23 def started(_target_files); end private - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#85 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#85 def annotate_message(msg); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#80 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#80 def colored_severity_code(offense); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#73 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#73 def count_stats(offenses); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#89 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#89 def message(offense); end end -# source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#14 +# source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#14 RuboCop::Formatter::SimpleTextFormatter::COLOR_FOR_SEVERITY = T.let(T.unsafe(nil), Hash) # A helper class for building the report summary text. # -# source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#105 +# source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#105 class RuboCop::Formatter::SimpleTextFormatter::Report include ::RuboCop::Formatter::Colorizable include ::RuboCop::Formatter::TextUtil # @return [Report] a new instance of Report # - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#110 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#110 def initialize(file_count, offense_count, correction_count, correctable_count, rainbow, safe_autocorrect: T.unsafe(nil)); end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#123 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#123 def summary; end private - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#160 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#160 def correctable; end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#153 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#153 def corrections; end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#142 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#142 def files; end - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#146 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#146 def offenses; end # Returns the value of attribute rainbow. # - # source://rubocop/lib/rubocop/formatter/simple_text_formatter.rb#140 + # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#140 def rainbow; end end # This formatter formats report data using the Test Anything Protocol. # TAP allows for to communicate tests results in a language agnostics way. # -# source://rubocop/lib/rubocop/formatter/tap_formatter.rb#7 +# source://rubocop//lib/rubocop/formatter/tap_formatter.rb#7 class RuboCop::Formatter::TapFormatter < ::RuboCop::Formatter::ClangStyleFormatter - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#14 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#14 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#8 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#8 def started(target_files); end private - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#62 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#62 def annotate_message(msg); end - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#66 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#66 def message(offense); end - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#39 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#39 def report_highlighted_area(highlighted_area); end - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#29 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#29 def report_line(location); end - # source://rubocop/lib/rubocop/formatter/tap_formatter.rb#46 + # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#46 def report_offense(file, offense); end end # Common logic for UI texts. # -# source://rubocop/lib/rubocop/formatter/text_util.rb#6 +# source://rubocop//lib/rubocop/formatter/text_util.rb#6 module RuboCop::Formatter::TextUtil private - # source://rubocop/lib/rubocop/formatter/text_util.rb#9 + # source://rubocop//lib/rubocop/formatter/text_util.rb#9 def pluralize(number, thing, options = T.unsafe(nil)); end class << self - # source://rubocop/lib/rubocop/formatter/text_util.rb#9 + # source://rubocop//lib/rubocop/formatter/text_util.rb#9 def pluralize(number, thing, options = T.unsafe(nil)); end end end @@ -57974,38 +58223,38 @@ end # -- # 29 Total in 2 files # -# source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#16 +# source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#16 class RuboCop::Formatter::WorstOffendersFormatter < ::RuboCop::Formatter::BaseFormatter - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#24 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#24 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#31 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#31 def finished(_inspected_files); end # Returns the value of attribute offense_counts. # - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#17 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#17 def offense_counts; end - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#55 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#55 def ordered_offense_counts(offense_counts); end - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#36 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#36 def report_summary(offense_counts); end - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#19 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#19 def started(target_files); end - # source://rubocop/lib/rubocop/formatter/worst_offenders_formatter.rb#59 + # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#59 def total_offense_count(offense_counts); end end -# source://rubocop/lib/rubocop/options.rb#8 +# source://rubocop//lib/rubocop/options.rb#8 class RuboCop::IncorrectCopNameError < ::StandardError; end # The RuboCop's built-in LSP module. # -# source://rubocop/lib/rubocop/lsp.rb#5 +# source://rubocop//lib/rubocop/lsp.rb#5 module RuboCop::LSP private @@ -58013,21 +58262,21 @@ module RuboCop::LSP # # @return [void] # - # source://rubocop/lib/rubocop/lsp.rb#25 + # source://rubocop//lib/rubocop/lsp.rb#25 def disable(&block); end # Enable LSP. # # @return [void] # - # source://rubocop/lib/rubocop/lsp.rb#18 + # source://rubocop//lib/rubocop/lsp.rb#18 def enable; end # Returns true when LSP is enabled, false when disabled. # # @return [Boolean] # - # source://rubocop/lib/rubocop/lsp.rb#11 + # source://rubocop//lib/rubocop/lsp.rb#11 def enabled?; end class << self @@ -58035,21 +58284,21 @@ module RuboCop::LSP # # @return [void] # - # source://rubocop/lib/rubocop/lsp.rb#25 + # source://rubocop//lib/rubocop/lsp.rb#25 def disable(&block); end # Enable LSP. # # @return [void] # - # source://rubocop/lib/rubocop/lsp.rb#18 + # source://rubocop//lib/rubocop/lsp.rb#18 def enable; end # Returns true when LSP is enabled, false when disabled. # # @return [Boolean] # - # source://rubocop/lib/rubocop/lsp.rb#11 + # source://rubocop//lib/rubocop/lsp.rb#11 def enabled?; end end end @@ -58059,13 +58308,13 @@ end # # @api private # -# source://rubocop/lib/rubocop/lockfile.rb#15 +# source://rubocop//lib/rubocop/lockfile.rb#15 class RuboCop::Lockfile # @api private # @param lockfile_path [String, Pathname, nil] # @return [Lockfile] a new instance of Lockfile # - # source://rubocop/lib/rubocop/lockfile.rb#17 + # source://rubocop//lib/rubocop/lockfile.rb#17 def initialize(lockfile_path = T.unsafe(nil)); end # Gems that the bundle directly depends on. @@ -58073,7 +58322,7 @@ class RuboCop::Lockfile # @api private # @return [Array, nil] # - # source://rubocop/lib/rubocop/lockfile.rb#29 + # source://rubocop//lib/rubocop/lockfile.rb#29 def dependencies; end # Returns the locked versions of gems from this lockfile. @@ -58082,7 +58331,7 @@ class RuboCop::Lockfile # @param include_transitive_dependencies: [Boolean] When false, only direct dependencies # are returned, i.e. those listed explicitly in the `Gemfile`. # - # source://rubocop/lib/rubocop/lockfile.rb#49 + # source://rubocop//lib/rubocop/lockfile.rb#49 def gem_versions(include_transitive_dependencies: T.unsafe(nil)); end # All activated gems, including transitive dependencies. @@ -58090,7 +58339,7 @@ class RuboCop::Lockfile # @api private # @return [Array, nil] # - # source://rubocop/lib/rubocop/lockfile.rb#37 + # source://rubocop//lib/rubocop/lockfile.rb#37 def gems; end # Whether this lockfile includes the named gem, directly or indirectly. @@ -58099,7 +58348,7 @@ class RuboCop::Lockfile # @param name [String] # @return [Boolean] # - # source://rubocop/lib/rubocop/lockfile.rb#65 + # source://rubocop//lib/rubocop/lockfile.rb#65 def includes_gem?(name); end private @@ -58107,13 +58356,13 @@ class RuboCop::Lockfile # @api private # @return [Bundler::LockfileParser, nil] # - # source://rubocop/lib/rubocop/lockfile.rb#72 + # source://rubocop//lib/rubocop/lockfile.rb#72 def parser; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/lockfile.rb#85 + # source://rubocop//lib/rubocop/lockfile.rb#85 def use_bundler_lock_parser?; end end @@ -58121,21 +58370,21 @@ end # # @abstract parent of three different magic comment handlers # -# source://rubocop/lib/rubocop/magic_comment.rb#7 +# source://rubocop//lib/rubocop/magic_comment.rb#7 class RuboCop::MagicComment # @return [MagicComment] a new instance of MagicComment # - # source://rubocop/lib/rubocop/magic_comment.rb#32 + # source://rubocop//lib/rubocop/magic_comment.rb#32 def initialize(comment); end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#36 + # source://rubocop//lib/rubocop/magic_comment.rb#36 def any?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#104 + # source://rubocop//lib/rubocop/magic_comment.rb#104 def encoding_specified?; end # Expose the `frozen_string_literal` value coerced to a boolean if possible. @@ -58144,7 +58393,7 @@ class RuboCop::MagicComment # @return [nil] if frozen_string_literal comment isn't found # @return [String] if comment is found but isn't true or false # - # source://rubocop/lib/rubocop/magic_comment.rb#86 + # source://rubocop//lib/rubocop/magic_comment.rb#86 def frozen_string_literal; end # Does the magic comment enable the frozen string literal feature. @@ -58155,53 +58404,53 @@ class RuboCop::MagicComment # # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#55 + # source://rubocop//lib/rubocop/magic_comment.rb#55 def frozen_string_literal?; end # Was a magic comment for the frozen string literal found? # # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#70 + # source://rubocop//lib/rubocop/magic_comment.rb#70 def frozen_string_literal_specified?; end # Expose the `shareable_constant_value` value coerced to a boolean if possible. # # @return [String] for shareable_constant_value config # - # source://rubocop/lib/rubocop/magic_comment.rb#100 + # source://rubocop//lib/rubocop/magic_comment.rb#100 def shareable_constant_value; end # Was a shareable_constant_value specified? # # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#77 + # source://rubocop//lib/rubocop/magic_comment.rb#77 def shareable_constant_value_specified?; end - # source://rubocop/lib/rubocop/magic_comment.rb#115 + # source://rubocop//lib/rubocop/magic_comment.rb#115 def typed; end # Was the Sorbet `typed` sigil specified? # # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#111 + # source://rubocop//lib/rubocop/magic_comment.rb#111 def typed_specified?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#43 + # source://rubocop//lib/rubocop/magic_comment.rb#43 def valid?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#59 + # source://rubocop//lib/rubocop/magic_comment.rb#59 def valid_literal_value?; end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#63 + # source://rubocop//lib/rubocop/magic_comment.rb#63 def valid_shareable_constant_value?; end private @@ -58212,12 +58461,12 @@ class RuboCop::MagicComment # @return [String] if pattern matched # @return [nil] otherwise # - # source://rubocop/lib/rubocop/magic_comment.rb#131 + # source://rubocop//lib/rubocop/magic_comment.rb#131 def extract(pattern); end # @return [Boolean] # - # source://rubocop/lib/rubocop/magic_comment.rb#121 + # source://rubocop//lib/rubocop/magic_comment.rb#121 def specified?(value); end class << self @@ -58226,7 +58475,7 @@ class RuboCop::MagicComment # @param comment [String] # @return [RuboCop::MagicComment] # - # source://rubocop/lib/rubocop/magic_comment.rb#23 + # source://rubocop//lib/rubocop/magic_comment.rb#23 def parse(comment); end end end @@ -58235,14 +58484,14 @@ end # # @abstract # -# source://rubocop/lib/rubocop/magic_comment.rb#138 +# source://rubocop//lib/rubocop/magic_comment.rb#138 class RuboCop::MagicComment::EditorComment < ::RuboCop::MagicComment - # source://rubocop/lib/rubocop/magic_comment.rb#139 + # source://rubocop//lib/rubocop/magic_comment.rb#139 def encoding; end # Rewrite the comment without a given token type # - # source://rubocop/lib/rubocop/magic_comment.rb#144 + # source://rubocop//lib/rubocop/magic_comment.rb#144 def without(type); end private @@ -58253,14 +58502,14 @@ class RuboCop::MagicComment::EditorComment < ::RuboCop::MagicComment # @return [String] extracted value if it is found # @return [nil] otherwise # - # source://rubocop/lib/rubocop/magic_comment.rb#159 + # source://rubocop//lib/rubocop/magic_comment.rb#159 def match(keyword); end # Individual tokens composing an editor specific comment string. # # @return [Array] # - # source://rubocop/lib/rubocop/magic_comment.rb#174 + # source://rubocop//lib/rubocop/magic_comment.rb#174 def tokens; end end @@ -58275,35 +58524,35 @@ end # @see https://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html # @see https://github.com/ruby/ruby/blob/3f306dc/parse.y#L6873-L6892 Emacs handling in parse.y # -# source://rubocop/lib/rubocop/magic_comment.rb#190 +# source://rubocop//lib/rubocop/magic_comment.rb#190 class RuboCop::MagicComment::EmacsComment < ::RuboCop::MagicComment::EditorComment private - # source://rubocop/lib/rubocop/magic_comment.rb#198 + # source://rubocop//lib/rubocop/magic_comment.rb#198 def extract_frozen_string_literal; end - # source://rubocop/lib/rubocop/magic_comment.rb#202 + # source://rubocop//lib/rubocop/magic_comment.rb#202 def extract_shareable_constant_value; end # Emacs comments cannot specify Sorbet typechecking behavior. # - # source://rubocop/lib/rubocop/magic_comment.rb#207 + # source://rubocop//lib/rubocop/magic_comment.rb#207 def extract_typed; end end -# source://rubocop/lib/rubocop/magic_comment.rb#192 +# source://rubocop//lib/rubocop/magic_comment.rb#192 RuboCop::MagicComment::EmacsComment::FORMAT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/magic_comment.rb#194 +# source://rubocop//lib/rubocop/magic_comment.rb#194 RuboCop::MagicComment::EmacsComment::OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/magic_comment.rb#191 +# source://rubocop//lib/rubocop/magic_comment.rb#191 RuboCop::MagicComment::EmacsComment::REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/magic_comment.rb#193 +# source://rubocop//lib/rubocop/magic_comment.rb#193 RuboCop::MagicComment::EmacsComment::SEPARATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/magic_comment.rb#11 +# source://rubocop//lib/rubocop/magic_comment.rb#11 RuboCop::MagicComment::KEYWORDS = T.let(T.unsafe(nil), Hash) # Wrapper for regular magic comments not bound to an editor. @@ -58319,16 +58568,16 @@ RuboCop::MagicComment::KEYWORDS = T.let(T.unsafe(nil), Hash) # comment2.frozen_string_literal # => nil # comment2.encoding # => 'utf-8' # -# source://rubocop/lib/rubocop/magic_comment.rb#261 +# source://rubocop//lib/rubocop/magic_comment.rb#261 class RuboCop::MagicComment::SimpleComment < ::RuboCop::MagicComment # Match `encoding` or `coding` # - # source://rubocop/lib/rubocop/magic_comment.rb#265 + # source://rubocop//lib/rubocop/magic_comment.rb#265 def encoding; end # Rewrite the comment without a given token type # - # source://rubocop/lib/rubocop/magic_comment.rb#270 + # source://rubocop//lib/rubocop/magic_comment.rb#270 def without(type); end private @@ -58342,24 +58591,24 @@ class RuboCop::MagicComment::SimpleComment < ::RuboCop::MagicComment # # @see https://github.com/ruby/ruby/blob/78b95b49f8/parse.y#L7134-L7138 # - # source://rubocop/lib/rubocop/magic_comment.rb#287 + # source://rubocop//lib/rubocop/magic_comment.rb#287 def extract_frozen_string_literal; end - # source://rubocop/lib/rubocop/magic_comment.rb#291 + # source://rubocop//lib/rubocop/magic_comment.rb#291 def extract_shareable_constant_value; end - # source://rubocop/lib/rubocop/magic_comment.rb#295 + # source://rubocop//lib/rubocop/magic_comment.rb#295 def extract_typed; end end -# source://rubocop/lib/rubocop/magic_comment.rb#262 +# source://rubocop//lib/rubocop/magic_comment.rb#262 RuboCop::MagicComment::SimpleComment::FSTRING_LITERAL_COMMENT = T.let(T.unsafe(nil), String) # IRB's pattern for matching magic comment tokens. # # @see https://github.com/ruby/ruby/blob/b4a55c1/lib/irb/magic-file.rb#L5 # -# source://rubocop/lib/rubocop/magic_comment.rb#10 +# source://rubocop//lib/rubocop/magic_comment.rb#10 RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), String) # Wrapper for Vim style magic comments. @@ -58371,7 +58620,7 @@ RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), String) # # comment.encoding # => 'ascii-8bit' # -# source://rubocop/lib/rubocop/magic_comment.rb#218 +# source://rubocop//lib/rubocop/magic_comment.rb#218 class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment # For some reason the fileencoding keyword only works if there # is at least one other token included in the string. For example @@ -58382,99 +58631,99 @@ class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment # # does nothing # # vim: foo=bar, fileencoding=ascii-8bit # - # source://rubocop/lib/rubocop/magic_comment.rb#234 + # source://rubocop//lib/rubocop/magic_comment.rb#234 def encoding; end # Vim comments cannot specify Sorbet typechecking behavior. # - # source://rubocop/lib/rubocop/magic_comment.rb#245 + # source://rubocop//lib/rubocop/magic_comment.rb#245 def extract_typed; end # Vim comments cannot specify frozen string literal behavior. # - # source://rubocop/lib/rubocop/magic_comment.rb#239 + # source://rubocop//lib/rubocop/magic_comment.rb#239 def frozen_string_literal; end # Vim comments cannot specify shareable constant values behavior. # - # source://rubocop/lib/rubocop/magic_comment.rb#242 + # source://rubocop//lib/rubocop/magic_comment.rb#242 def shareable_constant_value; end end -# source://rubocop/lib/rubocop/magic_comment.rb#220 +# source://rubocop//lib/rubocop/magic_comment.rb#220 RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/magic_comment.rb#223 +# source://rubocop//lib/rubocop/magic_comment.rb#223 RuboCop::MagicComment::VimComment::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/magic_comment.rb#222 +# source://rubocop//lib/rubocop/magic_comment.rb#222 RuboCop::MagicComment::VimComment::OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/magic_comment.rb#219 +# source://rubocop//lib/rubocop/magic_comment.rb#219 RuboCop::MagicComment::VimComment::REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/magic_comment.rb#221 +# source://rubocop//lib/rubocop/magic_comment.rb#221 RuboCop::MagicComment::VimComment::SEPARATOR = T.let(T.unsafe(nil), String) # Common functionality for finding names that are similar to a given name. # # @api private # -# source://rubocop/lib/rubocop/name_similarity.rb#6 +# source://rubocop//lib/rubocop/name_similarity.rb#6 module RuboCop::NameSimilarity private # @api private # - # source://rubocop/lib/rubocop/name_similarity.rb#9 + # source://rubocop//lib/rubocop/name_similarity.rb#9 def find_similar_name(target_name, names); end # @api private # - # source://rubocop/lib/rubocop/name_similarity.rb#15 + # source://rubocop//lib/rubocop/name_similarity.rb#15 def find_similar_names(target_name, names); end class << self # @api private # - # source://rubocop/lib/rubocop/name_similarity.rb#9 + # source://rubocop//lib/rubocop/name_similarity.rb#9 def find_similar_name(target_name, names); end # @api private # - # source://rubocop/lib/rubocop/name_similarity.rb#15 + # source://rubocop//lib/rubocop/name_similarity.rb#15 def find_similar_names(target_name, names); end end end -# source://rubocop/lib/rubocop/ast_aliases.rb#5 +# source://rubocop//lib/rubocop/ast_aliases.rb#5 RuboCop::NodePattern = RuboCop::AST::NodePattern -# source://rubocop/lib/rubocop/options.rb#10 +# source://rubocop//lib/rubocop/options.rb#10 class RuboCop::OptionArgumentError < ::StandardError; end # This class handles command line options. # # @api private # -# source://rubocop/lib/rubocop/options.rb#14 +# source://rubocop//lib/rubocop/options.rb#14 class RuboCop::Options # @api private # @return [Options] a new instance of Options # - # source://rubocop/lib/rubocop/options.rb#22 + # source://rubocop//lib/rubocop/options.rb#22 def initialize; end # @api private # - # source://rubocop/lib/rubocop/options.rb#27 + # source://rubocop//lib/rubocop/options.rb#27 def parse(command_line_args); end private # @api private # - # source://rubocop/lib/rubocop/options.rb#229 + # source://rubocop//lib/rubocop/options.rb#229 def add_additional_modes(opts); end # the autocorrect command-line arguments map to the autocorrect @options values like so: @@ -58486,67 +58735,67 @@ class RuboCop::Options # # @api private # - # source://rubocop/lib/rubocop/options.rb#140 + # source://rubocop//lib/rubocop/options.rb#140 def add_autocorrection_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#205 + # source://rubocop//lib/rubocop/options.rb#205 def add_cache_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#73 + # source://rubocop//lib/rubocop/options.rb#73 def add_check_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#163 + # source://rubocop//lib/rubocop/options.rb#163 def add_config_generation_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#181 + # source://rubocop//lib/rubocop/options.rb#181 def add_cop_selection_csv_option(option, opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#241 + # source://rubocop//lib/rubocop/options.rb#241 def add_general_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#212 + # source://rubocop//lib/rubocop/options.rb#212 def add_lsp_option(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#105 + # source://rubocop//lib/rubocop/options.rb#105 def add_output_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#253 + # source://rubocop//lib/rubocop/options.rb#253 def add_profile_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#218 + # source://rubocop//lib/rubocop/options.rb#218 def add_server_options(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#196 + # source://rubocop//lib/rubocop/options.rb#196 def add_severity_option(opts); end # @api private # - # source://rubocop/lib/rubocop/options.rb#53 + # source://rubocop//lib/rubocop/options.rb#53 def define_options; end # @api private # - # source://rubocop/lib/rubocop/options.rb#263 + # source://rubocop//lib/rubocop/options.rb#263 def handle_deprecated_option(old_option, new_option); end # Finds the option in `args` starting with -- and converts it to a symbol, @@ -58554,7 +58803,7 @@ class RuboCop::Options # # @api private # - # source://rubocop/lib/rubocop/options.rb#297 + # source://rubocop//lib/rubocop/options.rb#297 def long_opt_symbol(args); end # Sets a value in the @options hash, based on the given long option and its @@ -58562,17 +58811,17 @@ class RuboCop::Options # # @api private # - # source://rubocop/lib/rubocop/options.rb#286 + # source://rubocop//lib/rubocop/options.rb#286 def option(opts, *args); end # @api private # - # source://rubocop/lib/rubocop/options.rb#268 + # source://rubocop//lib/rubocop/options.rb#268 def rainbow; end # @api private # - # source://rubocop/lib/rubocop/options.rb#302 + # source://rubocop//lib/rubocop/options.rb#302 def require_feature(file); end # Creates a section of options in order to separate them visually when @@ -58580,148 +58829,148 @@ class RuboCop::Options # # @api private # - # source://rubocop/lib/rubocop/options.rb#278 + # source://rubocop//lib/rubocop/options.rb#278 def section(opts, heading, &_block); end end # @api private # -# source://rubocop/lib/rubocop/options.rb#20 +# source://rubocop//lib/rubocop/options.rb#20 RuboCop::Options::DEFAULT_MAXIMUM_EXCLUSION_ITEMS = T.let(T.unsafe(nil), Integer) # @api private # -# source://rubocop/lib/rubocop/options.rb#19 +# source://rubocop//lib/rubocop/options.rb#19 RuboCop::Options::EXITING_OPTIONS = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/options.rb#15 +# source://rubocop//lib/rubocop/options.rb#15 RuboCop::Options::E_STDIN_NO_PATH = T.let(T.unsafe(nil), String) # This module contains help texts for command line options. # # @api private # -# source://rubocop/lib/rubocop/options.rb#498 +# source://rubocop//lib/rubocop/options.rb#498 module RuboCop::OptionsHelp; end # @api private # -# source://rubocop/lib/rubocop/options.rb#500 +# source://rubocop//lib/rubocop/options.rb#500 RuboCop::OptionsHelp::FORMATTER_OPTION_LIST = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/options.rb#499 +# source://rubocop//lib/rubocop/options.rb#499 RuboCop::OptionsHelp::MAX_EXCL = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/options.rb#502 +# source://rubocop//lib/rubocop/options.rb#502 RuboCop::OptionsHelp::TEXT = T.let(T.unsafe(nil), Hash) # Validates option arguments and the options' compatibility with each other. # # @api private # -# source://rubocop/lib/rubocop/options.rb#312 +# source://rubocop//lib/rubocop/options.rb#312 class RuboCop::OptionsValidator # @api private # @return [OptionsValidator] a new instance of OptionsValidator # - # source://rubocop/lib/rubocop/options.rb#350 + # source://rubocop//lib/rubocop/options.rb#350 def initialize(options); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/options.rb#472 + # source://rubocop//lib/rubocop/options.rb#472 def boolean_or_empty_cache?; end # @api private # - # source://rubocop/lib/rubocop/options.rb#442 + # source://rubocop//lib/rubocop/options.rb#442 def disable_parallel_when_invalid_option_combo; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/options.rb#468 + # source://rubocop//lib/rubocop/options.rb#468 def except_syntax?; end # @api private # - # source://rubocop/lib/rubocop/options.rb#476 + # source://rubocop//lib/rubocop/options.rb#476 def incompatible_options; end # @api private # - # source://rubocop/lib/rubocop/options.rb#455 + # source://rubocop//lib/rubocop/options.rb#455 def invalid_arguments_for_parallel; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/options.rb#463 + # source://rubocop//lib/rubocop/options.rb#463 def only_includes_redundant_disable?; end # @api private # - # source://rubocop/lib/rubocop/options.rb#382 + # source://rubocop//lib/rubocop/options.rb#382 def validate_auto_gen_config; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#428 + # source://rubocop//lib/rubocop/options.rb#428 def validate_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#488 + # source://rubocop//lib/rubocop/options.rb#488 def validate_cache_enabled_for_cache_root; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#359 + # source://rubocop//lib/rubocop/options.rb#359 def validate_compatibility; end # @api private # - # source://rubocop/lib/rubocop/options.rb#354 + # source://rubocop//lib/rubocop/options.rb#354 def validate_cop_options; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#403 + # source://rubocop//lib/rubocop/options.rb#403 def validate_display_only_correctable_and_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#395 + # source://rubocop//lib/rubocop/options.rb#395 def validate_display_only_failed; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#412 + # source://rubocop//lib/rubocop/options.rb#412 def validate_display_only_failed_and_display_only_correctable; end # @api private # @raise [OptionParser::MissingArgument] # - # source://rubocop/lib/rubocop/options.rb#480 + # source://rubocop//lib/rubocop/options.rb#480 def validate_exclude_limit_option; end # @api private # @raise [OptionArgumentError] # - # source://rubocop/lib/rubocop/options.rb#421 + # source://rubocop//lib/rubocop/options.rb#421 def validate_lsp_and_editor_mode; end class << self @@ -58730,55 +58979,55 @@ class RuboCop::OptionsValidator # # @api private # - # source://rubocop/lib/rubocop/options.rb#319 + # source://rubocop//lib/rubocop/options.rb#319 def validate_cop_list(names); end private # @api private # - # source://rubocop/lib/rubocop/options.rb#336 + # source://rubocop//lib/rubocop/options.rb#336 def format_message_from(name, cop_names); end end end # Common methods and behaviors for dealing with paths. # -# source://rubocop/lib/rubocop/path_util.rb#5 +# source://rubocop//lib/rubocop/path_util.rb#5 module RuboCop::PathUtil private # Returns true for an absolute Unix or Windows path. # - # source://rubocop/lib/rubocop/path_util.rb#79 + # source://rubocop//lib/rubocop/path_util.rb#79 def absolute?(path); end # Returns true for a glob # - # source://rubocop/lib/rubocop/path_util.rb#84 + # source://rubocop//lib/rubocop/path_util.rb#84 def glob?(path); end - # source://rubocop/lib/rubocop/path_util.rb#114 + # source://rubocop//lib/rubocop/path_util.rb#114 def hidden_dir?(path); end - # source://rubocop/lib/rubocop/path_util.rb#97 + # source://rubocop//lib/rubocop/path_util.rb#97 def hidden_file?(path); end - # source://rubocop/lib/rubocop/path_util.rb#88 + # source://rubocop//lib/rubocop/path_util.rb#88 def hidden_file_in_not_hidden_dir?(pattern, path); end - # source://rubocop/lib/rubocop/path_util.rb#51 + # source://rubocop//lib/rubocop/path_util.rb#51 def match_path?(pattern, path); end # Loose check to reduce memory allocations # - # source://rubocop/lib/rubocop/path_util.rb#104 + # source://rubocop//lib/rubocop/path_util.rb#104 def maybe_hidden_file?(path); end - # source://rubocop/lib/rubocop/path_util.rb#13 + # source://rubocop//lib/rubocop/path_util.rb#13 def relative_path(path, base_dir = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/path_util.rb#34 + # source://rubocop//lib/rubocop/path_util.rb#34 def smart_path(path); end class << self @@ -58786,83 +59035,83 @@ module RuboCop::PathUtil # # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#79 + # source://rubocop//lib/rubocop/path_util.rb#79 def absolute?(path); end # Returns true for a glob # # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#84 + # source://rubocop//lib/rubocop/path_util.rb#84 def glob?(path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#114 + # source://rubocop//lib/rubocop/path_util.rb#114 def hidden_dir?(path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#97 + # source://rubocop//lib/rubocop/path_util.rb#97 def hidden_file?(path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#88 + # source://rubocop//lib/rubocop/path_util.rb#88 def hidden_file_in_not_hidden_dir?(pattern, path); end # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#51 + # source://rubocop//lib/rubocop/path_util.rb#51 def match_path?(pattern, path); end # Loose check to reduce memory allocations # # @return [Boolean] # - # source://rubocop/lib/rubocop/path_util.rb#104 + # source://rubocop//lib/rubocop/path_util.rb#104 def maybe_hidden_file?(path); end - # source://rubocop/lib/rubocop/path_util.rb#13 + # source://rubocop//lib/rubocop/path_util.rb#13 def relative_path(path, base_dir = T.unsafe(nil)); end # Returns the value of attribute relative_paths_cache. # - # source://rubocop/lib/rubocop/path_util.rb#7 + # source://rubocop//lib/rubocop/path_util.rb#7 def relative_paths_cache; end # Sets the attribute relative_paths_cache # # @param value the value to set the attribute relative_paths_cache to. # - # source://rubocop/lib/rubocop/path_util.rb#7 + # source://rubocop//lib/rubocop/path_util.rb#7 def relative_paths_cache=(_arg0); end - # source://rubocop/lib/rubocop/path_util.rb#34 + # source://rubocop//lib/rubocop/path_util.rb#34 def smart_path(path); end end end -# source://rubocop/lib/rubocop/path_util.rb#101 +# source://rubocop//lib/rubocop/path_util.rb#101 RuboCop::PathUtil::HIDDEN_FILE_PATTERN = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/path_util.rb#31 +# source://rubocop//lib/rubocop/path_util.rb#31 RuboCop::PathUtil::SMART_PATH_CACHE = T.let(T.unsafe(nil), Hash) # This module provides information on the platform that RuboCop is being run # on. # -# source://rubocop/lib/rubocop/platform.rb#6 +# source://rubocop//lib/rubocop/platform.rb#6 module RuboCop::Platform class << self # @return [Boolean] # - # source://rubocop/lib/rubocop/platform.rb#7 + # source://rubocop//lib/rubocop/platform.rb#7 def windows?; end end end -# source://rubocop/lib/rubocop/ast_aliases.rb#6 +# source://rubocop//lib/rubocop/ast_aliases.rb#6 RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource # Provides a custom rake task. @@ -58873,112 +59122,112 @@ RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource # Use global Rake namespace here to avoid namespace issues with custom # rubocop-rake tasks # -# source://rubocop/lib/rubocop/rake_task.rb#14 +# source://rubocop//lib/rubocop/rake_task.rb#14 class RuboCop::RakeTask < ::Rake::TaskLib # @return [RakeTask] a new instance of RakeTask # - # source://rubocop/lib/rubocop/rake_task.rb#17 + # source://rubocop//lib/rubocop/rake_task.rb#17 def initialize(name = T.unsafe(nil), *args, &task_block); end # Returns the value of attribute fail_on_error. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def fail_on_error; end # Sets the attribute fail_on_error # # @param value the value to set the attribute fail_on_error to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def fail_on_error=(_arg0); end # Returns the value of attribute formatters. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def formatters; end # Sets the attribute formatters # # @param value the value to set the attribute formatters to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def formatters=(_arg0); end # Returns the value of attribute name. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def name=(_arg0); end # Returns the value of attribute options. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def options=(_arg0); end # Returns the value of attribute patterns. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def patterns; end # Sets the attribute patterns # # @param value the value to set the attribute patterns to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def patterns=(_arg0); end # Returns the value of attribute requires. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def requires; end # Sets the attribute requires # # @param value the value to set the attribute requires to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def requires=(_arg0); end # Returns the value of attribute verbose. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def verbose; end # Sets the attribute verbose # # @param value the value to set the attribute verbose to. # - # source://rubocop/lib/rubocop/rake_task.rb#15 + # source://rubocop//lib/rubocop/rake_task.rb#15 def verbose=(_arg0); end private - # source://rubocop/lib/rubocop/rake_task.rb#55 + # source://rubocop//lib/rubocop/rake_task.rb#55 def full_options; end - # source://rubocop/lib/rubocop/rake_task.rb#35 + # source://rubocop//lib/rubocop/rake_task.rb#35 def perform(option); end - # source://rubocop/lib/rubocop/rake_task.rb#44 + # source://rubocop//lib/rubocop/rake_task.rb#44 def run_cli(verbose, options); end - # source://rubocop/lib/rubocop/rake_task.rb#62 + # source://rubocop//lib/rubocop/rake_task.rb#62 def setup_ivars(name); end - # source://rubocop/lib/rubocop/rake_task.rb#72 + # source://rubocop//lib/rubocop/rake_task.rb#72 def setup_subtasks(name, *args, &task_block); end end @@ -58986,118 +59235,118 @@ end # # @api private # -# source://rubocop/lib/rubocop/remote_config.rb#9 +# source://rubocop//lib/rubocop/remote_config.rb#9 class RuboCop::RemoteConfig # @api private # @return [RemoteConfig] a new instance of RemoteConfig # - # source://rubocop/lib/rubocop/remote_config.rb#14 + # source://rubocop//lib/rubocop/remote_config.rb#14 def initialize(url, base_dir); end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#23 + # source://rubocop//lib/rubocop/remote_config.rb#23 def file; end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#36 + # source://rubocop//lib/rubocop/remote_config.rb#36 def inherit_from_remote(file, path); end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#10 + # source://rubocop//lib/rubocop/remote_config.rb#10 def uri; end private # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#99 + # source://rubocop//lib/rubocop/remote_config.rb#99 def cache_name_from_uri; end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#82 + # source://rubocop//lib/rubocop/remote_config.rb#82 def cache_path; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/remote_config.rb#86 + # source://rubocop//lib/rubocop/remote_config.rb#86 def cache_path_exists?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/remote_config.rb#90 + # source://rubocop//lib/rubocop/remote_config.rb#90 def cache_path_expired?; end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#105 + # source://rubocop//lib/rubocop/remote_config.rb#105 def cloned_url; end # @api private # @yield [request] # - # source://rubocop/lib/rubocop/remote_config.rb#57 + # source://rubocop//lib/rubocop/remote_config.rb#57 def generate_request(uri); end # @api private # - # source://rubocop/lib/rubocop/remote_config.rb#66 + # source://rubocop//lib/rubocop/remote_config.rb#66 def handle_response(response, limit, &block); end # @api private # @raise [ArgumentError] # - # source://rubocop/lib/rubocop/remote_config.rb#44 + # source://rubocop//lib/rubocop/remote_config.rb#44 def request(uri = T.unsafe(nil), limit = T.unsafe(nil), &block); end end # @api private # -# source://rubocop/lib/rubocop/remote_config.rb#12 +# source://rubocop//lib/rubocop/remote_config.rb#12 RuboCop::RemoteConfig::CACHE_LIFETIME = T.let(T.unsafe(nil), Integer) # Provides functionality for caching RuboCop runs. # # @api private # -# source://rubocop/lib/rubocop/result_cache.rb#11 +# source://rubocop//lib/rubocop/result_cache.rb#11 class RuboCop::ResultCache # @api private # @return [ResultCache] a new instance of ResultCache # - # source://rubocop/lib/rubocop/result_cache.rb#87 + # source://rubocop//lib/rubocop/result_cache.rb#87 def initialize(file, team, options, config_store, cache_root = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#100 + # source://rubocop//lib/rubocop/result_cache.rb#100 def debug?; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#108 + # source://rubocop//lib/rubocop/result_cache.rb#108 def load; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#85 + # source://rubocop//lib/rubocop/result_cache.rb#85 def path; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#113 + # source://rubocop//lib/rubocop/result_cache.rb#113 def save(offenses); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#104 + # source://rubocop//lib/rubocop/result_cache.rb#104 def valid?; end private @@ -59105,7 +59354,7 @@ class RuboCop::ResultCache # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#146 + # source://rubocop//lib/rubocop/result_cache.rb#146 def any_symlink?(path); end # We combine team and options into a single "context" checksum to avoid @@ -59115,17 +59364,17 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#229 + # source://rubocop//lib/rubocop/result_cache.rb#229 def context_checksum(team, options); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#189 + # source://rubocop//lib/rubocop/result_cache.rb#189 def digest(path); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#157 + # source://rubocop//lib/rubocop/result_cache.rb#157 def file_checksum(file, config_store); end # Return a hash of the options given at invocation, minus the ones that have @@ -59134,37 +59383,37 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#220 + # source://rubocop//lib/rubocop/result_cache.rb#220 def relevant_options_digest(options); end # The checksum of the RuboCop program running the inspection. # # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#174 + # source://rubocop//lib/rubocop/result_cache.rb#174 def rubocop_checksum; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#200 + # source://rubocop//lib/rubocop/result_cache.rb#200 def rubocop_extra_features; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#142 + # source://rubocop//lib/rubocop/result_cache.rb#142 def symlink_protection_triggered?(path); end class << self # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#81 + # source://rubocop//lib/rubocop/result_cache.rb#81 def allow_symlinks_in_cache_location?(config_store); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#75 + # source://rubocop//lib/rubocop/result_cache.rb#75 def cache_root(config_store); end # Remove old files so that the cache doesn't grow too big. When the @@ -59176,220 +59425,220 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#28 + # source://rubocop//lib/rubocop/result_cache.rb#28 def cleanup(config_store, verbose, cache_root = T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#170 + # source://rubocop//lib/rubocop/result_cache.rb#170 def inhibit_cleanup; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#170 + # source://rubocop//lib/rubocop/result_cache.rb#170 def inhibit_cleanup=(_arg0); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#42 + # source://rubocop//lib/rubocop/result_cache.rb#42 def rubocop_required_features; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#42 + # source://rubocop//lib/rubocop/result_cache.rb#42 def rubocop_required_features=(_arg0); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#170 + # source://rubocop//lib/rubocop/result_cache.rb#170 def source_checksum; end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#170 + # source://rubocop//lib/rubocop/result_cache.rb#170 def source_checksum=(_arg0); end private # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#65 + # source://rubocop//lib/rubocop/result_cache.rb#65 def remove_files(files, dirs, remove_count); end # @api private # - # source://rubocop/lib/rubocop/result_cache.rb#52 + # source://rubocop//lib/rubocop/result_cache.rb#52 def remove_oldest_files(files, dirs, cache_root, verbose); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/result_cache.rb#48 + # source://rubocop//lib/rubocop/result_cache.rb#48 def requires_file_removal?(file_count, config_store); end end end # @api private # -# source://rubocop/lib/rubocop/result_cache.rb#16 +# source://rubocop//lib/rubocop/result_cache.rb#16 RuboCop::ResultCache::DL_EXTENSIONS = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/result_cache.rb#12 +# source://rubocop//lib/rubocop/result_cache.rb#12 RuboCop::ResultCache::NON_CHANGING = T.let(T.unsafe(nil), Array) # This class handles the processing of files, which includes dealing with # formatters and letting cops inspect the files. # -# source://rubocop/lib/rubocop/runner.rb#8 +# source://rubocop//lib/rubocop/runner.rb#8 class RuboCop::Runner # @return [Runner] a new instance of Runner # - # source://rubocop/lib/rubocop/runner.rb#59 + # source://rubocop//lib/rubocop/runner.rb#59 def initialize(options, config_store); end # Sets the attribute aborting # # @param value the value to set the attribute aborting to. # - # source://rubocop/lib/rubocop/runner.rb#57 + # source://rubocop//lib/rubocop/runner.rb#57 def aborting=(_arg0); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#83 + # source://rubocop//lib/rubocop/runner.rb#83 def aborting?; end # Returns the value of attribute errors. # - # source://rubocop/lib/rubocop/runner.rb#56 + # source://rubocop//lib/rubocop/runner.rb#56 def errors; end - # source://rubocop/lib/rubocop/runner.rb#67 + # source://rubocop//lib/rubocop/runner.rb#67 def run(paths); end # Returns the value of attribute warnings. # - # source://rubocop/lib/rubocop/runner.rb#56 + # source://rubocop//lib/rubocop/runner.rb#56 def warnings; end private - # source://rubocop/lib/rubocop/runner.rb#199 + # source://rubocop//lib/rubocop/runner.rb#199 def add_redundant_disables(file, offenses, source); end - # source://rubocop/lib/rubocop/runner.rb#173 + # source://rubocop//lib/rubocop/runner.rb#173 def cached_result(file, team); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#253 + # source://rubocop//lib/rubocop/runner.rb#253 def cached_run?; end # Check whether a run created source identical to a previous run, which # means that we definitely have an infinite loop. # - # source://rubocop/lib/rubocop/runner.rb#331 + # source://rubocop//lib/rubocop/runner.rb#331 def check_for_infinite_loop(processed_source, offenses_by_iteration); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#225 + # source://rubocop//lib/rubocop/runner.rb#225 def check_for_redundant_disables?(source); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#433 + # source://rubocop//lib/rubocop/runner.rb#433 def considered_failure?(offense); end - # source://rubocop/lib/rubocop/runner.rb#470 + # source://rubocop//lib/rubocop/runner.rb#470 def default_config(cop_name); end - # source://rubocop/lib/rubocop/runner.rb#275 + # source://rubocop//lib/rubocop/runner.rb#275 def do_inspection_loop(file); end - # source://rubocop/lib/rubocop/runner.rb#133 + # source://rubocop//lib/rubocop/runner.rb#133 def each_inspected_file(files); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#239 + # source://rubocop//lib/rubocop/runner.rb#239 def except_redundant_cop_disable_directive?; end - # source://rubocop/lib/rubocop/runner.rb#360 + # source://rubocop//lib/rubocop/runner.rb#360 def extract_ruby_sources(processed_source); end - # source://rubocop/lib/rubocop/runner.rb#248 + # source://rubocop//lib/rubocop/runner.rb#248 def file_finished(file, offenses); end - # source://rubocop/lib/rubocop/runner.rb#177 + # source://rubocop//lib/rubocop/runner.rb#177 def file_offense_cache(file); end - # source://rubocop/lib/rubocop/runner.rb#165 + # source://rubocop//lib/rubocop/runner.rb#165 def file_offenses(file); end - # source://rubocop/lib/rubocop/runner.rb#243 + # source://rubocop//lib/rubocop/runner.rb#243 def file_started(file); end - # source://rubocop/lib/rubocop/runner.rb#413 + # source://rubocop//lib/rubocop/runner.rb#413 def filter_cop_classes(cop_classes, config); end - # source://rubocop/lib/rubocop/runner.rb#104 + # source://rubocop//lib/rubocop/runner.rb#104 def find_target_files(paths); end - # source://rubocop/lib/rubocop/runner.rb#424 + # source://rubocop//lib/rubocop/runner.rb#424 def formatter_set; end - # source://rubocop/lib/rubocop/runner.rb#485 + # source://rubocop//lib/rubocop/runner.rb#485 def get_processed_source(file); end - # source://rubocop/lib/rubocop/runner.rb#345 + # source://rubocop//lib/rubocop/runner.rb#345 def inspect_file(processed_source, team = T.unsafe(nil)); end - # source://rubocop/lib/rubocop/runner.rb#115 + # source://rubocop//lib/rubocop/runner.rb#115 def inspect_files(files); end - # source://rubocop/lib/rubocop/runner.rb#306 + # source://rubocop//lib/rubocop/runner.rb#306 def iterate_until_no_changes(source, offenses_by_iteration); end - # source://rubocop/lib/rubocop/runner.rb#148 + # source://rubocop//lib/rubocop/runner.rb#148 def list_files(paths); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#466 + # source://rubocop//lib/rubocop/runner.rb#466 def mark_as_safe_by_config?(config); end - # source://rubocop/lib/rubocop/runner.rb#474 + # source://rubocop//lib/rubocop/runner.rb#474 def minimum_severity_to_fail; end - # source://rubocop/lib/rubocop/runner.rb#374 + # source://rubocop//lib/rubocop/runner.rb#374 def mobilize_team(processed_source); end - # source://rubocop/lib/rubocop/runner.rb#379 + # source://rubocop//lib/rubocop/runner.rb#379 def mobilized_cop_classes(config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#442 + # source://rubocop//lib/rubocop/runner.rb#442 def offense_displayed?(offense); end - # source://rubocop/lib/rubocop/runner.rb#454 + # source://rubocop//lib/rubocop/runner.rb#454 def offenses_to_report(offenses); end - # source://rubocop/lib/rubocop/runner.rb#152 + # source://rubocop//lib/rubocop/runner.rb#152 def process_file(file); end - # source://rubocop/lib/rubocop/runner.rb#403 + # source://rubocop//lib/rubocop/runner.rb#403 def qualify_option_cop_names; end # @yield [cop] # - # source://rubocop/lib/rubocop/runner.rb#231 + # source://rubocop//lib/rubocop/runner.rb#231 def redundant_cop_disable_directive(file); end - # source://rubocop/lib/rubocop/runner.rb#265 + # source://rubocop//lib/rubocop/runner.rb#265 def save_in_cache(cache, offenses); end # A Cop::Team instance is stateful and may change when inspecting. @@ -59397,41 +59646,41 @@ class RuboCop::Runner # otherwise dormant team that can be used for config- and option- # level caching in ResultCache. # - # source://rubocop/lib/rubocop/runner.rb#513 + # source://rubocop//lib/rubocop/runner.rb#513 def standby_team(config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#420 + # source://rubocop//lib/rubocop/runner.rb#420 def style_guide_cops_only?(config); end # @return [Boolean] # - # source://rubocop/lib/rubocop/runner.rb#458 + # source://rubocop//lib/rubocop/runner.rb#458 def supports_safe_autocorrect?(offense); end # @yield [team] # - # source://rubocop/lib/rubocop/runner.rb#214 + # source://rubocop//lib/rubocop/runner.rb#214 def team_for_redundant_disables(file, offenses, source); end # Warms up the RuboCop cache by forking a suitable number of RuboCop # instances that each inspects its allotted group of files. # - # source://rubocop/lib/rubocop/runner.rb#91 + # source://rubocop//lib/rubocop/runner.rb#91 def warm_cache(target_files); end class << self # @return [Array<#call>] # - # source://rubocop/lib/rubocop/runner.rb#29 + # source://rubocop//lib/rubocop/runner.rb#29 def ruby_extractors; end private # @return [#call] # - # source://rubocop/lib/rubocop/runner.rb#36 + # source://rubocop//lib/rubocop/runner.rb#36 def default_ruby_extractor; end end end @@ -59439,71 +59688,71 @@ end # An exception indicating that the inspection loop got stuck correcting # offenses back and forth. # -# source://rubocop/lib/rubocop/runner.rb#11 +# source://rubocop//lib/rubocop/runner.rb#11 class RuboCop::Runner::InfiniteCorrectionLoop < ::StandardError # @return [InfiniteCorrectionLoop] a new instance of InfiniteCorrectionLoop # - # source://rubocop/lib/rubocop/runner.rb#14 + # source://rubocop//lib/rubocop/runner.rb#14 def initialize(path, offenses_by_iteration, loop_start: T.unsafe(nil)); end # Returns the value of attribute offenses. # - # source://rubocop/lib/rubocop/runner.rb#12 + # source://rubocop//lib/rubocop/runner.rb#12 def offenses; end end # @api private # -# source://rubocop/lib/rubocop/runner.rb#49 +# source://rubocop//lib/rubocop/runner.rb#49 RuboCop::Runner::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer) # @api private # -# source://rubocop/lib/rubocop/runner.rb#52 +# source://rubocop//lib/rubocop/runner.rb#52 RuboCop::Runner::REDUNDANT_COP_DISABLE_DIRECTIVE_RULES = T.let(T.unsafe(nil), Array) # Take a string with embedded escapes, and convert the escapes as the Ruby # interpreter would when reading a double-quoted string literal. # For example, "\\n" will be converted to "\n". # -# source://rubocop/lib/rubocop/string_interpreter.rb#7 +# source://rubocop//lib/rubocop/string_interpreter.rb#7 class RuboCop::StringInterpreter class << self - # source://rubocop/lib/rubocop/string_interpreter.rb#24 + # source://rubocop//lib/rubocop/string_interpreter.rb#24 def interpret(string); end private - # source://rubocop/lib/rubocop/string_interpreter.rb#51 + # source://rubocop//lib/rubocop/string_interpreter.rb#51 def interpret_hex(escape); end - # source://rubocop/lib/rubocop/string_interpreter.rb#55 + # source://rubocop//lib/rubocop/string_interpreter.rb#55 def interpret_octal(escape); end - # source://rubocop/lib/rubocop/string_interpreter.rb#33 + # source://rubocop//lib/rubocop/string_interpreter.rb#33 def interpret_string_escape(escape); end - # source://rubocop/lib/rubocop/string_interpreter.rb#43 + # source://rubocop//lib/rubocop/string_interpreter.rb#43 def interpret_unicode(escape); end end end -# source://rubocop/lib/rubocop/string_interpreter.rb#8 +# source://rubocop//lib/rubocop/string_interpreter.rb#8 RuboCop::StringInterpreter::STRING_ESCAPES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/string_interpreter.rb#12 +# source://rubocop//lib/rubocop/string_interpreter.rb#12 RuboCop::StringInterpreter::STRING_ESCAPE_REGEX = T.let(T.unsafe(nil), Regexp) # This class finds target files to inspect by scanning the directory tree and picking ruby files. # # @api private # -# source://rubocop/lib/rubocop/target_finder.rb#6 +# source://rubocop//lib/rubocop/target_finder.rb#6 class RuboCop::TargetFinder # @api private # @return [TargetFinder] a new instance of TargetFinder # - # source://rubocop/lib/rubocop/target_finder.rb#9 + # source://rubocop//lib/rubocop/target_finder.rb#9 def initialize(config_store, options = T.unsafe(nil)); end # Generate a list of target files by expanding globbing patterns (if any). If args is empty, @@ -59512,7 +59761,7 @@ class RuboCop::TargetFinder # @api private # @return [Array] array of file paths # - # source://rubocop/lib/rubocop/target_finder.rb#17 + # source://rubocop//lib/rubocop/target_finder.rb#17 def find(args, mode); end # Search for files recursively starting at the given base directory using the given flags that @@ -59522,7 +59771,7 @@ class RuboCop::TargetFinder # # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#58 + # source://rubocop//lib/rubocop/target_finder.rb#58 def find_files(base_dir, flags); end # Finds all Ruby source files under the current or other supplied directory. A Ruby source file @@ -59536,177 +59785,177 @@ class RuboCop::TargetFinder # ruby source files # @return [Array] Array of filenames # - # source://rubocop/lib/rubocop/target_finder.rb#41 + # source://rubocop//lib/rubocop/target_finder.rb#41 def target_files_in_dir(base_dir = T.unsafe(nil)); end private # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#120 + # source://rubocop//lib/rubocop/target_finder.rb#120 def all_cops_include; end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#106 + # source://rubocop//lib/rubocop/target_finder.rb#106 def combined_exclude_glob_patterns(base_dir); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#172 + # source://rubocop//lib/rubocop/target_finder.rb#172 def configured_include?(file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#208 + # source://rubocop//lib/rubocop/target_finder.rb#208 def debug?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#212 + # source://rubocop//lib/rubocop/target_finder.rb#212 def fail_fast?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#200 + # source://rubocop//lib/rubocop/target_finder.rb#200 def force_exclusion?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#204 + # source://rubocop//lib/rubocop/target_finder.rb#204 def ignore_parent_exclusion?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#145 + # source://rubocop//lib/rubocop/target_finder.rb#145 def included_file?(file); end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#191 + # source://rubocop//lib/rubocop/target_finder.rb#191 def order; end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#124 + # source://rubocop//lib/rubocop/target_finder.rb#124 def process_explicit_path(path, mode); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#176 + # source://rubocop//lib/rubocop/target_finder.rb#176 def ruby_executable?(file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#157 + # source://rubocop//lib/rubocop/target_finder.rb#157 def ruby_extension?(file); end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#161 + # source://rubocop//lib/rubocop/target_finder.rb#161 def ruby_extensions; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#149 + # source://rubocop//lib/rubocop/target_finder.rb#149 def ruby_file?(file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#168 + # source://rubocop//lib/rubocop/target_finder.rb#168 def ruby_filename?(file); end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#113 + # source://rubocop//lib/rubocop/target_finder.rb#113 def ruby_filenames; end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#187 + # source://rubocop//lib/rubocop/target_finder.rb#187 def ruby_interpreters(file); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#153 + # source://rubocop//lib/rubocop/target_finder.rb#153 def stdin?; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#98 + # source://rubocop//lib/rubocop/target_finder.rb#98 def symlink_excluded_or_infinite_loop?(base_dir, current_dir, exclude_pattern, flags); end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_finder.rb#73 + # source://rubocop//lib/rubocop/target_finder.rb#73 def to_inspect?(file, hidden_files, base_dir_config); end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#82 + # source://rubocop//lib/rubocop/target_finder.rb#82 def wanted_dir_patterns(base_dir, exclude_pattern, flags); end # @api private # - # source://rubocop/lib/rubocop/target_finder.rb#134 + # source://rubocop//lib/rubocop/target_finder.rb#134 def without_excluded(files); end end # @api private # -# source://rubocop/lib/rubocop/target_finder.rb#7 +# source://rubocop//lib/rubocop/target_finder.rb#7 RuboCop::TargetFinder::HIDDEN_PATH_SUBSTRING = T.let(T.unsafe(nil), String) # The kind of Ruby that code inspected by RuboCop is written in. # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#6 +# source://rubocop//lib/rubocop/target_ruby.rb#6 class RuboCop::TargetRuby # @api private # @return [TargetRuby] a new instance of TargetRuby # - # source://rubocop/lib/rubocop/target_ruby.rb#273 + # source://rubocop//lib/rubocop/target_ruby.rb#273 def initialize(config); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#289 + # source://rubocop//lib/rubocop/target_ruby.rb#289 def rubocop_version_with_support; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#277 + # source://rubocop//lib/rubocop/target_ruby.rb#277 def source; end # @api private # @return [Boolean] # - # source://rubocop/lib/rubocop/target_ruby.rb#285 + # source://rubocop//lib/rubocop/target_ruby.rb#285 def supported?; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#281 + # source://rubocop//lib/rubocop/target_ruby.rb#281 def version; end class << self # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#258 + # source://rubocop//lib/rubocop/target_ruby.rb#258 def supported_versions; end end end @@ -59715,47 +59964,47 @@ end # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#205 +# source://rubocop//lib/rubocop/target_ruby.rb#205 class RuboCop::TargetRuby::BundlerLockFile < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#206 + # source://rubocop//lib/rubocop/target_ruby.rb#206 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#239 + # source://rubocop//lib/rubocop/target_ruby.rb#239 def bundler_lock_file_path; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#212 + # source://rubocop//lib/rubocop/target_ruby.rb#212 def find_version; end end # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#8 +# source://rubocop//lib/rubocop/target_ruby.rb#8 RuboCop::TargetRuby::DEFAULT_VERSION = T.let(T.unsafe(nil), Float) # If all else fails, a default version will be picked. # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#246 +# source://rubocop//lib/rubocop/target_ruby.rb#246 class RuboCop::TargetRuby::Default < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#247 + # source://rubocop//lib/rubocop/target_ruby.rb#247 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#253 + # source://rubocop//lib/rubocop/target_ruby.rb#253 def find_version; end end @@ -59763,80 +60012,80 @@ end # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#67 +# source://rubocop//lib/rubocop/target_ruby.rb#67 class RuboCop::TargetRuby::GemspecFile < ::RuboCop::TargetRuby::Source extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop/lib/rubocop/target_ruby.rb#76 + # source://rubocop//lib/rubocop/target_ruby.rb#76 def gem_requirement_versions(param0 = T.unsafe(nil)); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#82 + # source://rubocop//lib/rubocop/target_ruby.rb#82 def name; end - # source://rubocop/lib/rubocop/target_ruby.rb#71 + # source://rubocop//lib/rubocop/target_ruby.rb#71 def required_ruby_version(param0); end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#137 + # source://rubocop//lib/rubocop/target_ruby.rb#137 def find_minimal_known_ruby(right_hand_side); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#88 + # source://rubocop//lib/rubocop/target_ruby.rb#88 def find_version; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#98 + # source://rubocop//lib/rubocop/target_ruby.rb#98 def gemspec_filepath; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#133 + # source://rubocop//lib/rubocop/target_ruby.rb#133 def version_from_array(array); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#112 + # source://rubocop//lib/rubocop/target_ruby.rb#112 def version_from_gemspec_file(file); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#121 + # source://rubocop//lib/rubocop/target_ruby.rb#121 def version_from_right_hand_side(right_hand_side); end end # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#7 +# source://rubocop//lib/rubocop/target_ruby.rb#7 RuboCop::TargetRuby::KNOWN_RUBIES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#10 +# source://rubocop//lib/rubocop/target_ruby.rb#10 RuboCop::TargetRuby::OBSOLETE_RUBIES = T.let(T.unsafe(nil), Hash) # The target ruby version may be configured in RuboCop's config. # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#53 +# source://rubocop//lib/rubocop/target_ruby.rb#53 class RuboCop::TargetRuby::RuboCopConfig < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#54 + # source://rubocop//lib/rubocop/target_ruby.rb#54 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#60 + # source://rubocop//lib/rubocop/target_ruby.rb#60 def find_version; end end @@ -59845,18 +60094,18 @@ end # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#39 +# source://rubocop//lib/rubocop/target_ruby.rb#39 class RuboCop::TargetRuby::RuboCopEnvVar < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#40 + # source://rubocop//lib/rubocop/target_ruby.rb#40 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#46 + # source://rubocop//lib/rubocop/target_ruby.rb#46 def find_version; end end @@ -59864,76 +60113,76 @@ end # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#151 +# source://rubocop//lib/rubocop/target_ruby.rb#151 class RuboCop::TargetRuby::RubyVersionFile < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#155 + # source://rubocop//lib/rubocop/target_ruby.rb#155 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#161 + # source://rubocop//lib/rubocop/target_ruby.rb#161 def filename; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#169 + # source://rubocop//lib/rubocop/target_ruby.rb#169 def find_version; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#165 + # source://rubocop//lib/rubocop/target_ruby.rb#165 def pattern; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#176 + # source://rubocop//lib/rubocop/target_ruby.rb#176 def version_file; end end # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#152 +# source://rubocop//lib/rubocop/target_ruby.rb#152 RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#153 +# source://rubocop//lib/rubocop/target_ruby.rb#153 RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#262 +# source://rubocop//lib/rubocop/target_ruby.rb#262 RuboCop::TargetRuby::SOURCES = T.let(T.unsafe(nil), Array) # A place where information about a target ruby version is found. # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#24 +# source://rubocop//lib/rubocop/target_ruby.rb#24 class RuboCop::TargetRuby::Source # @api private # @return [Source] a new instance of Source # - # source://rubocop/lib/rubocop/target_ruby.rb#27 + # source://rubocop//lib/rubocop/target_ruby.rb#27 def initialize(config); end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#25 + # source://rubocop//lib/rubocop/target_ruby.rb#25 def name; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#32 + # source://rubocop//lib/rubocop/target_ruby.rb#32 def to_s; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#25 + # source://rubocop//lib/rubocop/target_ruby.rb#25 def version; end end @@ -59942,70 +60191,70 @@ end # # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#184 +# source://rubocop//lib/rubocop/target_ruby.rb#184 class RuboCop::TargetRuby::ToolVersionsFile < ::RuboCop::TargetRuby::RubyVersionFile # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#188 + # source://rubocop//lib/rubocop/target_ruby.rb#188 def name; end private # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#194 + # source://rubocop//lib/rubocop/target_ruby.rb#194 def filename; end # @api private # - # source://rubocop/lib/rubocop/target_ruby.rb#198 + # source://rubocop//lib/rubocop/target_ruby.rb#198 def pattern; end end # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#185 +# source://rubocop//lib/rubocop/target_ruby.rb#185 RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop/lib/rubocop/target_ruby.rb#186 +# source://rubocop//lib/rubocop/target_ruby.rb#186 RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop/lib/rubocop/ast_aliases.rb#7 +# source://rubocop//lib/rubocop/ast_aliases.rb#7 RuboCop::Token = RuboCop::AST::Token # This module contains a collection of useful utility methods. # -# source://rubocop/lib/rubocop/util.rb#5 +# source://rubocop//lib/rubocop/util.rb#5 module RuboCop::Util class << self - # source://rubocop/lib/rubocop/util.rb#6 + # source://rubocop//lib/rubocop/util.rb#6 def silence_warnings; end end end -# source://rubocop/lib/rubocop/error.rb#10 +# source://rubocop//lib/rubocop/error.rb#10 class RuboCop::ValidationError < ::RuboCop::Error; end # This module holds the RuboCop version information. # -# source://rubocop/lib/rubocop/version.rb#5 +# source://rubocop//lib/rubocop/version.rb#5 module RuboCop::Version class << self # @api private # - # source://rubocop/lib/rubocop/version.rb#99 + # source://rubocop//lib/rubocop/version.rb#99 def config_for_pwd(env); end # @api private # - # source://rubocop/lib/rubocop/version.rb#129 + # source://rubocop//lib/rubocop/version.rb#129 def document_version; end # @api private # - # source://rubocop/lib/rubocop/version.rb#66 + # source://rubocop//lib/rubocop/version.rb#66 def extension_versions(env); end # Returns feature version in one of two ways: @@ -60015,48 +60264,48 @@ module RuboCop::Version # # @api private # - # source://rubocop/lib/rubocop/version.rb#113 + # source://rubocop//lib/rubocop/version.rb#113 def feature_version(feature); end # @api private # - # source://rubocop/lib/rubocop/version.rb#51 + # source://rubocop//lib/rubocop/version.rb#51 def parser_version; end # @api private # - # source://rubocop/lib/rubocop/version.rb#134 + # source://rubocop//lib/rubocop/version.rb#134 def server_mode; end # @api private # - # source://rubocop/lib/rubocop/version.rb#90 + # source://rubocop//lib/rubocop/version.rb#90 def target_ruby_version(env); end # @api private # - # source://rubocop/lib/rubocop/version.rb#46 + # source://rubocop//lib/rubocop/version.rb#46 def verbose(env: T.unsafe(nil)); end # NOTE: Marked as private but used by gems like standard. # # @api private # - # source://rubocop/lib/rubocop/version.rb#23 + # source://rubocop//lib/rubocop/version.rb#23 def version(debug: T.unsafe(nil), env: T.unsafe(nil)); end end end -# source://rubocop/lib/rubocop/version.rb#13 +# source://rubocop//lib/rubocop/version.rb#13 RuboCop::Version::CANONICAL_FEATURE_NAMES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/version.rb#17 +# source://rubocop//lib/rubocop/version.rb#17 RuboCop::Version::EXTENSION_PATH_NAMES = T.let(T.unsafe(nil), Hash) -# source://rubocop/lib/rubocop/version.rb#8 +# source://rubocop//lib/rubocop/version.rb#8 RuboCop::Version::MSG = T.let(T.unsafe(nil), String) -# source://rubocop/lib/rubocop/version.rb#6 +# source://rubocop//lib/rubocop/version.rb#6 RuboCop::Version::STRING = T.let(T.unsafe(nil), String) # A Warning exception is different from an Offense with severity 'warning' @@ -60065,42 +60314,54 @@ RuboCop::Version::STRING = T.let(T.unsafe(nil), String) # user error # For example, a configuration value in .rubocop.yml might be malformed # -# source://rubocop/lib/rubocop/warning.rb#9 +# source://rubocop//lib/rubocop/warning.rb#9 class RuboCop::Warning < ::StandardError; end # Find duplicated keys from YAML. # # @api private # -# source://rubocop/lib/rubocop/yaml_duplication_checker.rb#6 +# source://rubocop//lib/rubocop/yaml_duplication_checker.rb#6 module RuboCop::YAMLDuplicationChecker class << self # @api private # - # source://rubocop/lib/rubocop/yaml_duplication_checker.rb#7 + # source://rubocop//lib/rubocop/yaml_duplication_checker.rb#7 def check(yaml_string, filename, &on_duplicated); end end end # @api private # -# source://rubocop/lib/rubocop/yaml_duplication_checker.rb#14 +# source://rubocop//lib/rubocop/yaml_duplication_checker.rb#14 class RuboCop::YAMLDuplicationChecker::DuplicationCheckHandler < ::Psych::TreeBuilder # @api private # @return [DuplicationCheckHandler] a new instance of DuplicationCheckHandler # - # source://rubocop/lib/rubocop/yaml_duplication_checker.rb#15 + # source://rubocop//lib/rubocop/yaml_duplication_checker.rb#15 def initialize(&block); end # @api private # - # source://rubocop/lib/rubocop/yaml_duplication_checker.rb#20 + # source://rubocop//lib/rubocop/yaml_duplication_checker.rb#20 def end_mapping; end end # Extensions to the core String class # -# source://rubocop/lib/rubocop/core_ext/string.rb#4 +# source://rubocop//lib/rubocop/core_ext/string.rb#4 class String include ::Comparable + + # Checks whether a string is blank. A string is considered blank if it + # is either empty or contains only whitespace characters. + # + # @example + # ''.blank? #=> true + # ' '.blank? #=> true + # ' test'.blank? #=> false + # @return [Boolean] true is the string is blank, false otherwise + # + # source://rubocop//lib/rubocop/core_ext/string.rb#15 + def blank?; end end diff --git a/sorbet/rbi/gems/ruby-lsp@0.23.7.rbi b/sorbet/rbi/gems/ruby-lsp@0.23.7.rbi index f64da9535..7b7402a5c 100644 --- a/sorbet/rbi/gems/ruby-lsp@0.23.7.rbi +++ b/sorbet/rbi/gems/ruby-lsp@0.23.7.rbi @@ -451,7 +451,7 @@ class RubyIndexer::Entry # @return [RubyIndexer::Location] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#25 def name_location(*args, **_arg1, &blk); end # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#57 @@ -824,7 +824,7 @@ class RubyIndexer::Entry::Parameter # # @return [Symbol] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#248 def decorated_name(*args, **_arg1, &blk); end # Name includes just the name of the parameter, excluding symbols like splats @@ -5684,7 +5684,7 @@ class RubyLsp::ResponseBuilders::DocumentSymbol < ::RubyLsp::ResponseBuilders::R # @param symbol [Interface::DocumentSymbol] # @return [void] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#37 def <<(*args, **_arg1, &blk); end # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#47 @@ -6123,7 +6123,7 @@ class RubyLsp::Server < ::RubyLsp::BaseServer # @param message [Hash{Symbol => T.untyped}] # @return [void] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_lsp/server.rb#505 def text_document_code_lens(*args, **_arg1, &blk); end # source://ruby-lsp//lib/ruby_lsp/server.rb#905 @@ -6161,19 +6161,19 @@ class RubyLsp::Server < ::RubyLsp::BaseServer # @param message [Hash{Symbol => T.untyped}] # @return [void] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_lsp/server.rb#504 def text_document_document_link(*args, **_arg1, &blk); end # @param message [Hash{Symbol => T.untyped}] # @return [void] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_lsp/server.rb#503 def text_document_document_symbol(*args, **_arg1, &blk); end # @param message [Hash{Symbol => T.untyped}] # @return [void] # - # source://sorbet-runtime/0.5.11781/lib/types/private/methods/_methods.rb#257 + # source://ruby-lsp//lib/ruby_lsp/server.rb#506 def text_document_folding_range(*args, **_arg1, &blk); end # source://ruby-lsp//lib/ruby_lsp/server.rb#612 @@ -6450,10 +6450,40 @@ RubyLsp::VERSION = T.let(T.unsafe(nil), String) class URI::Generic include ::URI::RFC2396_REGEXP + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#49 + sig { params(load_path_entry: ::String).void } + def add_require_path_from_load_entry(load_path_entry); end + + # @return [String, nil] + # + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#72 + def full_path(*args, **_arg1, &blk); end + + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#46 + sig { returns(T.nilable(::String)) } + def require_path; end + # @return [String, nil] # # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#46 def require_path=(_arg0); end + + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#57 + sig { returns(T.nilable(::String)) } + def to_standardized_path; end + + class << self + # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#24 + sig do + params( + path: ::String, + fragment: T.nilable(::String), + scheme: ::String, + load_path_entry: T.nilable(::String) + ).returns(::URI::Generic) + end + def from_path(path:, fragment: T.unsafe(nil), scheme: T.unsafe(nil), load_path_entry: T.unsafe(nil)); end + end end # Avoid a deprecation warning with Ruby 3.4 where the default parser was changed to RFC3986. @@ -6471,14 +6501,14 @@ class URI::Source < ::URI::File sig { params(v: T.nilable(::String)).returns(T::Boolean) } def check_host(v); end - # source://uri/0.13.0/lib/uri/generic.rb#243 + # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#29 def gem_name; end # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#33 sig { returns(T.nilable(::String)) } def gem_version; end - # source://uri/0.13.0/lib/uri/generic.rb#283 + # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#30 def line_number; end # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#59 diff --git a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi index b99829ac2..7300ec966 100644 --- a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +++ b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi @@ -22,6 +22,9 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45 def initialize(options = T.unsafe(nil)); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 + def clear(*args, **_arg1, &block); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137 def decrement; end @@ -33,7 +36,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129 def finished?; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#209 def format(other); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203 @@ -45,20 +48,29 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199 def inspect; end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 + def log(*args, **_arg1, &block); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102 def pause; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#127 def paused?; end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#41 + def progress(*args, **_arg1, &block); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145 def progress=(new_progress); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153 def progress_mark=(mark); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 + def refresh(*args, **_arg1, &block); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157 def remainder_mark=(mark); end @@ -96,6 +108,9 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169 def to_s(new_format = T.unsafe(nil)); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#41 + def total(*args, **_arg1, &block); end + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149 def total=(new_total); end @@ -913,7 +928,7 @@ class ProgressBar::Outputs::Tty < ::ProgressBar::Output # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27 def eol; end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45 + # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#8 def refresh_with_format_change; end # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#23 diff --git a/sorbet/rbi/gems/securerandom@0.4.0.rbi b/sorbet/rbi/gems/securerandom@0.4.0.rbi index 22722568f..c2d45fc18 100644 --- a/sorbet/rbi/gems/securerandom@0.4.0.rbi +++ b/sorbet/rbi/gems/securerandom@0.4.0.rbi @@ -40,7 +40,7 @@ # If a secure random number generator is not available, # +NotImplementedError+ is raised. # -# source://securerandom/lib/securerandom.rb#41 +# source://securerandom//lib/securerandom.rb#41 module SecureRandom extend ::Random::Formatter @@ -49,27 +49,27 @@ module SecureRandom # # See Random.bytes # - # source://securerandom/lib/securerandom.rb#50 + # source://securerandom//lib/securerandom.rb#50 def bytes(n); end - # source://securerandom/lib/securerandom.rb#64 + # source://securerandom//lib/securerandom.rb#78 def gen_random(n); end private # Implementation using OpenSSL # - # source://securerandom/lib/securerandom.rb#59 + # source://securerandom//lib/securerandom.rb#59 def gen_random_openssl(n); end # Implementation using system random device # - # source://securerandom/lib/securerandom.rb#64 + # source://securerandom//lib/securerandom.rb#64 def gen_random_urandom(n); end end end # The version # -# source://securerandom/lib/securerandom.rb#44 +# source://securerandom//lib/securerandom.rb#44 SecureRandom::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/shopify-money@2.2.2.rbi b/sorbet/rbi/gems/shopify-money@2.2.2.rbi deleted file mode 100644 index a22cd4133..000000000 --- a/sorbet/rbi/gems/shopify-money@2.2.2.rbi +++ /dev/null @@ -1,989 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `shopify-money` gem. -# Please instead update this file by running `bin/tapioca gem shopify-money`. - - -# source://shopify-money//lib/money/deprecations.rb#3 -ACTIVE_SUPPORT_DEFINED = T.let(T.unsafe(nil), String) - -# source://shopify-money//lib/money/version.rb#2 -class Money - include ::Comparable - extend ::Forwardable - - # @raise [ArgumentError] - # @return [Money] a new instance of Money - # - # source://shopify-money//lib/money/money.rb#130 - def initialize(value, currency); end - - # @raise [ArgumentError] - # - # source://shopify-money//lib/money/money.rb#187 - def *(numeric); end - - # source://shopify-money//lib/money/money.rb#173 - def +(other); end - - # source://shopify-money//lib/money/money.rb#180 - def -(other); end - - # source://shopify-money//lib/money/money.rb#162 - def -@; end - - # source://shopify-money//lib/money/money.rb#194 - def /(numeric); end - - # source://shopify-money//lib/money/money.rb#166 - def <=>(other); end - - # source://shopify-money//lib/money/money.rb#202 - def ==(other); end - - # source://shopify-money//lib/money/money.rb#278 - def abs; end - - # @see Money::Allocator#allocate - # - # source://shopify-money//lib/money/money.rb#304 - def allocate(splits, strategy = T.unsafe(nil)); end - - # @see Money::Allocator#allocate_max_amounts - # - # source://shopify-money//lib/money/money.rb#309 - def allocate_max_amounts(maximums); end - - # source://shopify-money//lib/money/money.rb#270 - def as_json(options = T.unsafe(nil)); end - - # Calculate the splits evenly without losing pennies. - # Returns the number of high and low splits and the value of the high and low splits. - # Where high represents the Money value with the extra penny - # and low a Money without the extra penny. - # - # @example - # Money.new(100, "USD").calculate_splits(3) #=> {Money.new(34) => 1, Money.new(33) => 2} - # @param number [2] of parties. - # @return [Hash] - # - # source://shopify-money//lib/money/money.rb#336 - def calculate_splits(num); end - - # Clamps the value to be within the specified minimum and maximum. Returns - # self if the value is within bounds, otherwise a new Money object with the - # closest min or max value. - # - # @example - # Money.new(50, "CAD").clamp(1, 100) #=> Money.new(50, "CAD") - # - # Money.new(120, "CAD").clamp(0, 100) #=> Money.new(100, "CAD") - # @raise [ArgumentError] - # - # source://shopify-money//lib/money/money.rb#348 - def clamp(min, max); end - - # @raise [TypeError] - # - # source://shopify-money//lib/money/money.rb#213 - def coerce(other); end - - # Returns the value of attribute currency. - # - # source://shopify-money//lib/money/money.rb#10 - def currency; end - - # source://shopify-money//lib/money/money.rb#141 - def encode_with(coder); end - - # TODO: Remove once cross-currency mathematical operations are no longer allowed - # - # @return [Boolean] - # - # source://shopify-money//lib/money/money.rb#207 - def eql?(other); end - - # source://shopify-money//lib/money/money.rb#284 - def floor; end - - # @raise [ArgumentError] - # - # source://shopify-money//lib/money/money.rb#296 - def fraction(rate); end - - # source://shopify-money//lib/money/money.rb#137 - def init_with(coder); end - - # source://shopify-money//lib/money/money.rb#198 - def inspect; end - - # @return [Boolean] - # - # source://shopify-money//lib/money/money.rb#158 - def no_currency?; end - - # source://shopify-money//lib/money/money.rb#290 - def round(ndigits = T.unsafe(nil)); end - - # Split money amongst parties evenly without losing pennies. - # - # @example - # Money.new(100, "USD").split(3) #=> Enumerable[Money.new(34), Money.new(33), Money.new(33)] - # @param number [2] of parties. - # @return [Enumerable] - # - # source://shopify-money//lib/money/money.rb#321 - def split(num); end - - # source://shopify-money//lib/money/money.rb#146 - def subunits(format: T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#233 - def to_d; end - - # source://shopify-money//lib/money/money.rb#237 - def to_formatted_s(style = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#237 - def to_fs(style = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#262 - def to_json(options = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#218 - def to_money(new_currency = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#237 - def to_s(style = T.unsafe(nil)); end - - # Returns the value of attribute value. - # - # source://shopify-money//lib/money/money.rb#10 - def value; end - - private - - # source://shopify-money//lib/money/money.rb#363 - def arithmetic(other); end - - # source://shopify-money//lib/money/money.rb#393 - def calculated_currency(other); end - - # source://shopify-money//lib/money/money.rb#383 - def ensure_compatible_currency(other_currency, msg); end - - class << self - # source://shopify-money//lib/money/deprecations.rb#5 - def active_support_deprecator; end - - # Returns the value of attribute config. - # - # source://shopify-money//lib/money/money.rb#39 - def config; end - - # Sets the attribute config - # - # @param value the value to set the attribute config to. - # - # source://shopify-money//lib/money/money.rb#39 - def config=(_arg0); end - - # @yield [config] - # - # source://shopify-money//lib/money/money.rb#42 - def configure; end - - # source://shopify-money//lib/money/money.rb#84 - def current_currency; end - - # source://shopify-money//lib/money/money.rb#88 - def current_currency=(currency); end - - # source://shopify-money//lib/money/deprecations.rb#12 - def deprecate(message); end - - # source://shopify-money//lib/money/money.rb#47 - def from_amount(value = T.unsafe(nil), currency = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#62 - def from_subunits(subunits, currency_iso, format: T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#47 - def new(value = T.unsafe(nil), currency = T.unsafe(nil)); end - - # source://shopify-money//lib/money/money.rb#77 - def rational(money1, money2); end - - # Set Money.default_currency inside the supplied block, resets it to - # the previous value when done to prevent leaking state. Similar to - # I18n.with_locale and ActiveSupport's Time.use_zone. This won't affect - # instances being created with explicitly set currency. - # - # source://shopify-money//lib/money/money.rb#96 - def with_currency(new_currency); end - - private - - # source://shopify-money//lib/money/money.rb#108 - def new_from_money(amount, currency); end - end -end - -# source://shopify-money//lib/money/allocator.rb#5 -class Money::Allocator < ::SimpleDelegator - # @return [Allocator] a new instance of Allocator - # - # source://shopify-money//lib/money/allocator.rb#6 - def initialize(money); end - - # source://shopify-money//lib/money/allocator.rb#58 - def allocate(splits, strategy = T.unsafe(nil)); end - - # Allocates money between different parties up to the maximum amounts specified. - # Left over subunits will be assigned round-robin up to the maximum specified. - # Subunits are dropped when the maximums are attained. - # - # @example - # Money.new(30.75).allocate_max_amounts([Money.new(26), Money.new(4.75)]) - # #=> [Money.new(26), Money.new(4.75)] - # - # Money.new(30.75).allocate_max_amounts([Money.new(26), Money.new(4.74)] - # #=> [Money.new(26), Money.new(4.74)] - # - # Money.new(30).allocate_max_amounts([Money.new(15), Money.new(15)] - # #=> [Money.new(15), Money.new(15)] - # - # Money.new(1).allocate_max_amounts([Money.new(33), Money.new(33), Money.new(33)]) - # #=> [Money.new(0.34), Money.new(0.33), Money.new(0.33)] - # - # Money.new(100).allocate_max_amounts([Money.new(5), Money.new(2)]) - # #=> [Money.new(5), Money.new(2)] - # - # source://shopify-money//lib/money/allocator.rb#109 - def allocate_max_amounts(maximums); end - - private - - # @return [Boolean] - # - # source://shopify-money//lib/money/allocator.rb#165 - def all_rational?(splits); end - - # @raise [ArgumentError] - # - # source://shopify-money//lib/money/allocator.rb#147 - def amounts_from_splits(allocations, splits, subunits_to_split = T.unsafe(nil)); end - - # source://shopify-money//lib/money/allocator.rb#139 - def extract_currency(money_array); end - - # Given a list of decimal numbers, return a list ordered by which is nearest to the next whole number. - # For instance, given inputs [1.1, 1.5, 1.9] the correct ranking is 2, 1, 0. This is because 1.9 is nearly 2. - # Note that we are not ranking by absolute size, we only care about the distance between our input number and - # the next whole number. Similarly, given the input [9.1, 5.5, 3.9] the correct ranking is *still* 2, 1, 0. This - # is because 3.9 is nearer to 4 than 9.1 is to 10. - # - # source://shopify-money//lib/money/allocator.rb#174 - def rank_by_nearest(amounts); end -end - -# source://shopify-money//lib/money/allocator.rb#10 -Money::Allocator::ONE = T.let(T.unsafe(nil), BigDecimal) - -# source://shopify-money//lib/money/config.rb#4 -class Money::Config - # @return [Config] a new instance of Config - # - # source://shopify-money//lib/money/config.rb#19 - def initialize; end - - # Returns the value of attribute default_currency. - # - # source://shopify-money//lib/money/config.rb#5 - def default_currency; end - - # Sets the attribute default_currency - # - # @param value the value to set the attribute default_currency to. - # - # source://shopify-money//lib/money/config.rb#5 - def default_currency=(_arg0); end - - # source://shopify-money//lib/money/config.rb#7 - def legacy_default_currency!; end - - # Returns the value of attribute legacy_deprecations. - # - # source://shopify-money//lib/money/config.rb#5 - def legacy_deprecations; end - - # source://shopify-money//lib/money/config.rb#11 - def legacy_deprecations!; end - - # Sets the attribute legacy_deprecations - # - # @param value the value to set the attribute legacy_deprecations to. - # - # source://shopify-money//lib/money/config.rb#5 - def legacy_deprecations=(_arg0); end - - # Returns the value of attribute legacy_json_format. - # - # source://shopify-money//lib/money/config.rb#5 - def legacy_json_format; end - - # source://shopify-money//lib/money/config.rb#15 - def legacy_json_format!; end - - # Sets the attribute legacy_json_format - # - # @param value the value to set the attribute legacy_json_format to. - # - # source://shopify-money//lib/money/config.rb#5 - def legacy_json_format=(_arg0); end -end - -# source://shopify-money//lib/money/currency/loader.rb#5 -class Money::Currency - # @raise [UnknownCurrency] - # @return [Currency] a new instance of Currency - # - # source://shopify-money//lib/money/currency.rb#33 - def initialize(currency_iso); end - - # @return [Boolean] - # - # source://shopify-money//lib/money/currency.rb#49 - def ==(other); end - - # @return [Boolean] - # - # source://shopify-money//lib/money/currency.rb#57 - def compatible?(other); end - - # Returns the value of attribute decimal_mark. - # - # source://shopify-money//lib/money/currency.rb#30 - def decimal_mark; end - - # Returns the value of attribute disambiguate_symbol. - # - # source://shopify-money//lib/money/currency.rb#30 - def disambiguate_symbol; end - - # @return [Boolean] - # - # source://shopify-money//lib/money/currency.rb#49 - def eql?(other); end - - # source://shopify-money//lib/money/currency.rb#53 - def hash; end - - # Returns the value of attribute iso_code. - # - # source://shopify-money//lib/money/currency.rb#30 - def iso_code; end - - # Returns the value of attribute iso_numeric. - # - # source://shopify-money//lib/money/currency.rb#30 - def iso_numeric; end - - # Returns the value of attribute minor_units. - # - # source://shopify-money//lib/money/currency.rb#30 - def minor_units; end - - # Returns the value of attribute name. - # - # source://shopify-money//lib/money/currency.rb#30 - def name; end - - # Returns the value of attribute smallest_denomination. - # - # source://shopify-money//lib/money/currency.rb#30 - def smallest_denomination; end - - # Returns the value of attribute subunit_symbol. - # - # source://shopify-money//lib/money/currency.rb#30 - def subunit_symbol; end - - # Returns the value of attribute subunit_to_unit. - # - # source://shopify-money//lib/money/currency.rb#30 - def subunit_to_unit; end - - # Returns the value of attribute symbol. - # - # source://shopify-money//lib/money/currency.rb#30 - def symbol; end - - # Returns the value of attribute iso_code. - # - # source://shopify-money//lib/money/currency.rb#30 - def to_s; end - - class << self - # source://shopify-money//lib/money/currency.rb#25 - def currencies; end - - # source://shopify-money//lib/money/currency.rb#19 - def find(currency_iso); end - - # @raise [UnknownCurrency] - # - # source://shopify-money//lib/money/currency.rb#12 - def find!(currency_iso); end - - # @raise [UnknownCurrency] - # - # source://shopify-money//lib/money/currency.rb#12 - def new(currency_iso); end - end -end - -# source://shopify-money//lib/money/currency/loader.rb#6 -module Money::Currency::Loader - class << self - # source://shopify-money//lib/money/currency/loader.rb#8 - def load_currencies; end - - private - - # source://shopify-money//lib/money/currency/loader.rb#20 - def deep_deduplicate!(data); end - end -end - -# source://shopify-money//lib/money/currency.rb#9 -class Money::Currency::UnknownCurrency < ::ArgumentError; end - -# source://shopify-money//lib/money/errors.rb#3 -class Money::Error < ::StandardError; end - -# source://shopify-money//lib/money/helpers.rb#5 -module Money::Helpers - private - - # source://shopify-money//lib/money/helpers.rb#44 - def value_to_currency(currency); end - - # source://shopify-money//lib/money/helpers.rb#16 - def value_to_decimal(num); end - - class << self - # source://shopify-money//lib/money/helpers.rb#44 - def value_to_currency(currency); end - - # source://shopify-money//lib/money/helpers.rb#16 - def value_to_decimal(num); end - end -end - -# source://shopify-money//lib/money/helpers.rb#8 -Money::Helpers::DECIMAL_ZERO = T.let(T.unsafe(nil), BigDecimal) - -# source://shopify-money//lib/money/helpers.rb#9 -Money::Helpers::MAX_DECIMAL = T.let(T.unsafe(nil), Integer) - -# source://shopify-money//lib/money/helpers.rb#11 -Money::Helpers::STRIPE_SUBUNIT_OVERRIDE = T.let(T.unsafe(nil), Hash) - -# source://shopify-money//lib/money/errors.rb#6 -class Money::IncompatibleCurrencyError < ::Money::Error; end - -# source://shopify-money//lib/money/money.rb#8 -Money::NULL_CURRENCY = T.let(T.unsafe(nil), Money::NullCurrency) - -# A placeholder currency for instances where no actual currency is available, -# as defined by ISO4217. You should rarely, if ever, need to use this -# directly. It's here mostly for backwards compatibility and for that reason -# behaves like a dollar, which is how this gem worked before the introduction -# of currency. -# -# Here follows a list of preferred alternatives over using Money with -# NullCurrency: -# -# For comparisons where you don't know the currency beforehand, you can use -# Numeric predicate methods like #positive?/#negative?/#zero?/#nonzero?. -# Comparison operators with Numeric (==, !=, <=, =>, <, >) work as well. -# -# Money with NullCurrency has behaviour that may surprise you, such as -# database validations or GraphQL enum not allowing the string representation -# of NullCurrency. Prefer using Money.new(0, currency) where possible, as -# this sidesteps these issues and provides additional currency check -# safeties. -# -# Unlike other currencies, it is allowed to calculate a Money object with -# NullCurrency with another currency. The resulting Money object will have -# the other currency. -# -# @example -# Money.new(1, 'CAD').positive? #=> true -# Money.new(2, 'CAD') >= 0 #=> true -# @example -# Money.new(0, Money::NULL_CURRENCY) + Money.new(5, 'CAD') -# #=> # -# -# source://shopify-money//lib/money/null_currency.rb#34 -class Money::NullCurrency - # @return [NullCurrency] a new instance of NullCurrency - # - # source://shopify-money//lib/money/null_currency.rb#39 - def initialize; end - - # @return [Boolean] - # - # source://shopify-money//lib/money/null_currency.rb#57 - def ==(other); end - - # @return [Boolean] - # - # source://shopify-money//lib/money/null_currency.rb#53 - def compatible?(other); end - - # Returns the value of attribute decimal_mark. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def decimal_mark; end - - # Returns the value of attribute disambiguate_symbol. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def disambiguate_symbol; end - - # @return [Boolean] - # - # source://shopify-money//lib/money/null_currency.rb#57 - def eql?(other); end - - # Returns the value of attribute iso_code. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def iso_code; end - - # Returns the value of attribute iso_numeric. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def iso_numeric; end - - # Returns the value of attribute minor_units. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def minor_units; end - - # Returns the value of attribute name. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def name; end - - # Returns the value of attribute smallest_denomination. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def smallest_denomination; end - - # Returns the value of attribute subunit_symbol. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def subunit_symbol; end - - # Returns the value of attribute subunit_to_unit. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def subunit_to_unit; end - - # Returns the value of attribute symbol. - # - # source://shopify-money//lib/money/null_currency.rb#36 - def symbol; end - - # source://shopify-money//lib/money/null_currency.rb#61 - def to_s; end -end - -# source://shopify-money//lib/money/parser/fuzzy.rb#3 -module Money::Parser; end - -# source://shopify-money//lib/money/parser/accounting.rb#4 -class Money::Parser::Accounting < ::Money::Parser::Fuzzy - # source://shopify-money//lib/money/parser/accounting.rb#5 - def parse(input, currency = T.unsafe(nil), **options); end -end - -# source://shopify-money//lib/money/parser/fuzzy.rb#4 -class Money::Parser::Fuzzy - # Parses an input string and attempts to find the decimal separator based on certain heuristics, like the amount - # decimals for the fractional part a currency has or the incorrect notion a currency has a defined decimal - # separator (this is a property of the locale). While these heuristics can lead to the expected result for some - # cases, the other cases can lead to surprising results such as parsed amounts being 1000x larger than intended. - # - # @deprecated Use {LocaleAware.parse} or {Simple.parse} instead. - # @param input [String] - # @param currency [String, Money::Currency, nil] - # @param strict [Boolean] - # @raise [MoneyFormatError] - # @return [Money] - # - # source://shopify-money//lib/money/parser/fuzzy.rb#74 - def parse(input, currency = T.unsafe(nil), strict: T.unsafe(nil)); end - - private - - # source://shopify-money//lib/money/parser/fuzzy.rb#82 - def extract_amount_from_string(input, currency, strict); end - - # @return [Boolean] - # - # source://shopify-money//lib/money/parser/fuzzy.rb#143 - def last_digits_decimals?(digits, marks, currency); end - - # source://shopify-money//lib/money/parser/fuzzy.rb#132 - def normalize_number(number, marks, currency); end - - class << self - # source://shopify-money//lib/money/parser/fuzzy.rb#60 - def parse(input, currency = T.unsafe(nil), **options); end - end -end - -# 1,1123,4567.89 -# -# source://shopify-money//lib/money/parser/fuzzy.rb#51 -Money::Parser::Fuzzy::CHINESE_NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) - -# 1.234.567,89 -# -# source://shopify-money//lib/money/parser/fuzzy.rb#30 -Money::Parser::Fuzzy::COMMA_DECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) - -# 1,234,567.89 -# -# source://shopify-money//lib/money/parser/fuzzy.rb#20 -Money::Parser::Fuzzy::DOT_DECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) - -# source://shopify-money//lib/money/parser/fuzzy.rb#9 -Money::Parser::Fuzzy::ESCAPED_MARKS = T.let(T.unsafe(nil), String) - -# source://shopify-money//lib/money/parser/fuzzy.rb#12 -Money::Parser::Fuzzy::ESCAPED_NON_COMMA_MARKS = T.let(T.unsafe(nil), String) - -# source://shopify-money//lib/money/parser/fuzzy.rb#11 -Money::Parser::Fuzzy::ESCAPED_NON_DOT_MARKS = T.let(T.unsafe(nil), String) - -# source://shopify-money//lib/money/parser/fuzzy.rb#10 -Money::Parser::Fuzzy::ESCAPED_NON_SPACE_MARKS = T.let(T.unsafe(nil), String) - -# 12,34,567.89 -# -# source://shopify-money//lib/money/parser/fuzzy.rb#40 -Money::Parser::Fuzzy::INDIAN_NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) - -# source://shopify-money//lib/money/parser/fuzzy.rb#7 -Money::Parser::Fuzzy::MARKS = T.let(T.unsafe(nil), Array) - -# source://shopify-money//lib/money/parser/fuzzy.rb#5 -class Money::Parser::Fuzzy::MoneyFormatError < ::ArgumentError; end - -# source://shopify-money//lib/money/parser/fuzzy.rb#14 -Money::Parser::Fuzzy::NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) - -# source://shopify-money//lib/money/parser/locale_aware.rb#4 -class Money::Parser::LocaleAware - class << self - # The +Proc+ called to get the current locale decimal separator. In Rails apps this defaults to the same lookup - # ActionView's +number_to_currency+ helper will use to format the monetary amount for display. - # - # source://shopify-money//lib/money/parser/locale_aware.rb#10 - def decimal_separator_resolver; end - - # Set the default +Proc+ to determine the current locale decimal separator. - # - # @example - # Money::Parser::LocaleAware.decimal_separator_resolver = - # ->() { MyFormattingLibrary.current_locale.decimal.separator } - # - # source://shopify-money//lib/money/parser/locale_aware.rb#19 - def decimal_separator_resolver=(proc); end - - # Parses an input string, normalizing some non-ASCII characters to their equivalent ASCII, then discarding any - # character that is not a digit, hyphen-minus or the decimal separator. To prevent user confusion, make sure - # that formatted Money strings can be parsed back into equivalent Money objects. - # - # @param input [String] - # @param currency [String, Money::Currency] - # @param strict [Boolean] - # @param decimal_separator [String] - # @raise [ArgumentError] - # @return [Money, nil] - # - # source://shopify-money//lib/money/parser/locale_aware.rb#32 - def parse(input, currency, strict: T.unsafe(nil), decimal_separator: T.unsafe(nil)); end - end -end - -# source://shopify-money//lib/money/parser/simple.rb#4 -class Money::Parser::Simple - class << self - # Parses an input string using BigDecimal, it always expects a dot character as a decimal separator and - # generally does not accept other characters other than minus-hyphen and digits. It is useful for APIs, interop - # with other languages and other use cases where you expect well-formatted input and do not need to take user - # locale into consideration. - # - # @param input [String] - # @param currency [String, Money::Currency] - # @param strict [Boolean] - # @return [Money, nil] - # - # source://shopify-money//lib/money/parser/simple.rb#16 - def parse(input, currency, strict: T.unsafe(nil)); end - end -end - -# source://shopify-money//lib/money/parser/simple.rb#5 -Money::Parser::Simple::SIGNED_DECIMAL_MATCHER = T.let(T.unsafe(nil), Regexp) - -# source://shopify-money//lib/money/railtie.rb#4 -class Money::Railtie < ::Rails::Railtie; end - -# source://shopify-money//lib/money/money.rb#13 -class Money::ReverseOperationProxy - include ::Comparable - - # @return [ReverseOperationProxy] a new instance of ReverseOperationProxy - # - # source://shopify-money//lib/money/money.rb#16 - def initialize(value); end - - # source://shopify-money//lib/money/money.rb#32 - def *(other); end - - # source://shopify-money//lib/money/money.rb#24 - def +(other); end - - # source://shopify-money//lib/money/money.rb#28 - def -(other); end - - # source://shopify-money//lib/money/money.rb#20 - def <=>(other); end -end - -# source://shopify-money//lib/money/splitter.rb#4 -class Money::Splitter - include ::Enumerable - - # @raise [ArgumentError] - # @return [Splitter] a new instance of Splitter - # - # source://shopify-money//lib/money/splitter.rb#7 - def initialize(money, num); end - - # source://shopify-money//lib/money/splitter.rb#76 - def [](index); end - - # source://shopify-money//lib/money/splitter.rb#95 - def each(&block); end - - # source://shopify-money//lib/money/splitter.rb#33 - def first(count = T.unsafe(nil)); end - - # source://shopify-money//lib/money/splitter.rb#54 - def last(count = T.unsafe(nil)); end - - # source://shopify-money//lib/money/splitter.rb#103 - def reverse; end - - # source://shopify-money//lib/money/splitter.rb#87 - def reverse_each(&block); end - - # source://shopify-money//lib/money/splitter.rb#109 - def size; end - - # source://shopify-money//lib/money/splitter.rb#16 - def split; end - - def to_ary(*_arg0); end - - protected - - # Sets the attribute split - # - # @param value the value to set the attribute split to. - # - # source://shopify-money//lib/money/splitter.rb#14 - def split=(_arg0); end -end - -# source://shopify-money//lib/money/version.rb#3 -Money::VERSION = T.let(T.unsafe(nil), String) - -# source://shopify-money//lib/money_column/active_record_hooks.rb#2 -module MoneyColumn; end - -# source://shopify-money//lib/money_column/active_record_hooks.rb#5 -module MoneyColumn::ActiveRecordHooks - mixes_in_class_methods ::MoneyColumn::ActiveRecordHooks::ClassMethods - - # source://shopify-money//lib/money_column/active_record_hooks.rb#10 - def reload(*_arg0); end - - private - - # source://shopify-money//lib/money_column/active_record_hooks.rb#22 - def clear_money_column_cache; end - - # source://shopify-money//lib/money_column/active_record_hooks.rb#26 - def init_internals; end - - # source://shopify-money//lib/money_column/active_record_hooks.rb#15 - def initialize_dup(*_arg0); end - - # source://shopify-money//lib/money_column/active_record_hooks.rb#31 - def read_money_attribute(column); end - - # source://shopify-money//lib/money_column/active_record_hooks.rb#44 - def write_money_attribute(column, money); end - - class << self - # @private - # - # source://shopify-money//lib/money_column/active_record_hooks.rb#6 - def included(base); end - end -end - -# source://shopify-money//lib/money_column/active_record_hooks.rb#75 -module MoneyColumn::ActiveRecordHooks::ClassMethods - # source://shopify-money//lib/money_column/active_record_hooks.rb#78 - def money_column(*columns, currency_column: T.unsafe(nil), currency: T.unsafe(nil), currency_read_only: T.unsafe(nil), coerce_null: T.unsafe(nil)); end - - # Returns the value of attribute money_column_options. - # - # source://shopify-money//lib/money_column/active_record_hooks.rb#76 - def money_column_options; end - - private - - # source://shopify-money//lib/money_column/active_record_hooks.rb#126 - def clear_cache_on_currency_change(currency_column); end - - # source://shopify-money//lib/money_column/active_record_hooks.rb#135 - def inherited(subclass); end - - # @raise [ArgumentError] - # - # source://shopify-money//lib/money_column/active_record_hooks.rb#111 - def normalize_money_column_options(options); end -end - -# source://shopify-money//lib/money_column/active_record_type.rb#2 -class MoneyColumn::ActiveRecordType < ::ActiveModel::Type::Decimal - # source://shopify-money//lib/money_column/active_record_type.rb#3 - def serialize(money); end -end - -# source://shopify-money//lib/money_column/active_record_hooks.rb#3 -class MoneyColumn::CurrencyReadOnlyError < ::StandardError; end - -# source://shopify-money//lib/money_column/railtie.rb#3 -class MoneyColumn::Railtie < ::Rails::Railtie; end - -# Allows Writing of 100.to_money for +Numeric+ types -# 100.to_money => # -# 100.37.to_money => # -# -# source://shopify-money//lib/money/core_extensions.rb#5 -class Numeric - include ::Comparable - - # source://shopify-money//lib/money/core_extensions.rb#6 - def to_money(currency = T.unsafe(nil)); end -end - -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#3 -module RuboCop; end - -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#4 -module RuboCop::Cop; end - -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#5 -module RuboCop::Cop::Money; end - -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#6 -class RuboCop::Cop::Money::MissingCurrency < ::RuboCop::Cop::Cop - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#48 - def autocorrect(node); end - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#22 - def money_new(param0 = T.unsafe(nil)); end - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 - def on_csend(node); end - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 - def on_send(node); end - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#30 - def to_money_block?(param0 = T.unsafe(nil)); end - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#26 - def to_money_without_currency?(param0 = T.unsafe(nil)); end - - private - - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#74 - def replacement_currency; end -end - -# source://shopify-money//lib/rubocop/cop/money/zero_money.rb#6 -class RuboCop::Cop::Money::ZeroMoney < ::RuboCop::Cop::Cop - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#39 - def autocorrect(node); end - - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#29 - def money_zero(param0 = T.unsafe(nil)); end - - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#33 - def on_send(node); end - - private - - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#56 - def replacement_currency(currency_arg); end -end - -# `Money.zero` and it's alias `empty`, with or without currency -# argument is removed in favour of the more explicit Money.new -# syntax. Supplying it with a real currency is preferred for -# additional currency safety checks. -# -# If no currency was supplied, it defaults to -# Money::NULL_CURRENCY which was the default setting of -# Money.default_currency and should effectively be the same. The cop -# can be configured with a ReplacementCurrency in case that is more -# appropriate for your application. -# -# @example -# -# # bad -# Money.zero -# -# # good when configured with `ReplacementCurrency: CAD` -# Money.new(0, 'CAD') -# -# source://shopify-money//lib/rubocop/cop/money/zero_money.rb#27 -RuboCop::Cop::Money::ZeroMoney::MSG = T.let(T.unsafe(nil), String) - -# Allows Writing of '100'.to_money for +String+ types -# Excess characters will be discarded -# '100'.to_money => # -# '100.37'.to_money => # -# -# source://shopify-money//lib/money/core_extensions.rb#15 -class String - include ::Comparable - - # source://shopify-money//lib/money/core_extensions.rb#16 - def to_money(currency = T.unsafe(nil)); end -end diff --git a/sorbet/rbi/gems/shopify-money@3.0.0.rbi b/sorbet/rbi/gems/shopify-money@3.0.0.rbi index 596284718..06e3bacbb 100644 --- a/sorbet/rbi/gems/shopify-money@3.0.0.rbi +++ b/sorbet/rbi/gems/shopify-money@3.0.0.rbi @@ -8,6 +8,15 @@ # source://shopify-money//lib/money/deprecations.rb#3 ACTIVE_SUPPORT_DEFINED = T.let(T.unsafe(nil), String) +class ActiveRecord::Base + include ::ActiveModel::Access + include ::ActiveModel::ForbiddenAttributesProtection + include ::ActiveModel::AttributeAssignment + include ::ActiveModel::Serialization + include ::MoneyColumn::ActiveRecordHooks + extend ::MoneyColumn::ActiveRecordHooks::ClassMethods +end + # source://shopify-money//lib/money/version.rb#2 class Money include ::Comparable @@ -115,7 +124,7 @@ class Money # source://shopify-money//lib/money/money.rb#300 def fraction(rate); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def hash(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#137 @@ -124,7 +133,7 @@ class Money # source://shopify-money//lib/money/money.rb#198 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def negative?(*args, **_arg1, &block); end # @return [Boolean] @@ -132,10 +141,10 @@ class Money # source://shopify-money//lib/money/money.rb#158 def no_currency?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def nonzero?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def positive?(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#294 @@ -157,16 +166,16 @@ class Money # source://shopify-money//lib/money/money.rb#237 def to_d; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def to_f(*args, **_arg1, &block); end - # source://shopify-money//lib/money/money.rb#241 + # source://shopify-money//lib/money/money.rb#264 def to_formatted_s(style = T.unsafe(nil)); end # source://shopify-money//lib/money/money.rb#241 def to_fs(style = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def to_i(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#266 @@ -175,7 +184,7 @@ class Money # source://shopify-money//lib/money/money.rb#222 def to_money(new_currency = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#241 + # source://shopify-money//lib/money/money.rb#263 def to_s(style = T.unsafe(nil)); end # Returns the value of attribute value. @@ -183,7 +192,7 @@ class Money # source://shopify-money//lib/money/money.rb#10 def value; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def zero?(*args, **_arg1, &block); end private @@ -224,16 +233,16 @@ class Money # source://shopify-money//lib/money/money.rb#88 def current_currency=(currency); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#40 def default_currency(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#40 def default_currency=(*args, **_arg1, &block); end # source://shopify-money//lib/money/deprecations.rb#12 def deprecate(message); end - # source://shopify-money//lib/money/money.rb#47 + # source://shopify-money//lib/money/money.rb#60 def from_amount(value = T.unsafe(nil), currency = T.unsafe(nil)); end # source://shopify-money//lib/money/money.rb#62 @@ -384,7 +393,7 @@ class Money::Currency # @return [Boolean] # - # source://shopify-money//lib/money/currency.rb#49 + # source://shopify-money//lib/money/currency.rb#61 def ==(other); end # @return [Boolean] @@ -452,7 +461,7 @@ class Money::Currency # Returns the value of attribute iso_code. # - # source://shopify-money//lib/money/currency.rb#30 + # source://shopify-money//lib/money/currency.rb#62 def to_s; end class << self @@ -464,7 +473,7 @@ class Money::Currency # @raise [UnknownCurrency] # - # source://shopify-money//lib/money/currency.rb#12 + # source://shopify-money//lib/money/currency.rb#17 def find!(currency_iso); end # @raise [UnknownCurrency] @@ -566,7 +575,7 @@ class Money::NullCurrency # @return [Boolean] # - # source://shopify-money//lib/money/null_currency.rb#57 + # source://shopify-money//lib/money/null_currency.rb#65 def ==(other); end # @return [Boolean] @@ -833,6 +842,7 @@ class Money::Splitter # source://shopify-money//lib/money/splitter.rb#16 def split; end + # source://shopify-money//lib/money/splitter.rb#31 def to_ary(*_arg0); end protected @@ -948,7 +958,7 @@ class RuboCop::Cop::Money::MissingCurrency < ::RuboCop::Cop::Cop # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#22 def money_new(param0 = T.unsafe(nil)); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 + # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#46 def on_csend(node); end # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 diff --git a/sorbet/rbi/gems/sidekiq@7.3.8.rbi b/sorbet/rbi/gems/sidekiq@7.3.8.rbi index 8fd886096..204a3dc1f 100644 --- a/sorbet/rbi/gems/sidekiq@7.3.8.rbi +++ b/sorbet/rbi/gems/sidekiq@7.3.8.rbi @@ -5,269 +5,13 @@ # Please instead update this file by running `bin/tapioca gem sidekiq`. -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#16 -module ActiveJob - class << self - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#7 - def adapter_name(adapter); end - - # source://activejob/7.1.5.1lib/active_job/deprecator.rb#4 - def deprecator; end - - # source://activejob/7.1.5.1lib/active_job/gem_version.rb#5 - def gem_version; end - - # source://activejob/7.1.5.1lib/active_job/enqueuing.rb#14 - def perform_all_later(*jobs); end - - # source://activejob/7.1.5.1lib/active_job.rb#56 - def use_big_decimal_serializer; end - - # source://activejob/7.1.5.1lib/active_job.rb#56 - def use_big_decimal_serializer=(_arg0); end - - # source://activejob/7.1.5.1lib/active_job.rb#64 - def verbose_enqueue_logs; end - - # source://activejob/7.1.5.1lib/active_job.rb#64 - def verbose_enqueue_logs=(_arg0); end - - # source://activejob/7.1.5.1lib/active_job/version.rb#7 - def version; end - - private - - # source://activejob/7.1.5.1lib/active_job/instrumentation.rb#6 - def instrument_enqueue_all(queue_adapter, jobs); end - end -end - -class ActiveJob::Base - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _enqueue_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#963 - def _perform_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_enqueue_callbacks(&block); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#951 - def _run_perform_callbacks(&block); end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs; end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs=(_arg0); end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs?; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#11 - def logger; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#11 - def logger=(val); end - - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#26 - def queue_adapter(&block); end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix=(_arg0); end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix?; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://sidekiq/lib/sidekiq/job.rb#141 - def sidekiq_options_hash; end - - # source://sidekiq/lib/sidekiq/job.rb#153 - def sidekiq_options_hash=(_arg0); end - - # source://sidekiq/lib/sidekiq/job.rb#141 - def sidekiq_retries_exhausted_block; end - - # source://sidekiq/lib/sidekiq/job.rb#153 - def sidekiq_retries_exhausted_block=(_arg0); end - - # source://sidekiq/lib/sidekiq/job.rb#141 - def sidekiq_retry_in_block; end - - # source://sidekiq/lib/sidekiq/job.rb#153 - def sidekiq_retry_in_block=(_arg0); end - - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _enqueue_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _enqueue_callbacks=(value); end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#955 - def _perform_callbacks; end - - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#959 - def _perform_callbacks=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#24 - def _queue_adapter; end - - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#24 - def _queue_adapter=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#23 - def _queue_adapter_name; end +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#16 +module ActiveJob; end - # source://activejob/7.1.5.1lib/active_job/queue_adapter.rb#23 - def _queue_adapter_name=(value); end +class ActiveJob::Base; end - # source://activejob/7.1.5.1lib/active_job/test_helper.rb#19 - def _test_adapter; end - - # source://activejob/7.1.5.1lib/active_job/test_helper.rb#19 - def _test_adapter=(value); end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs; end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs=(value); end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#12 - def after_discard_procs?; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#12 - def log_arguments; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#12 - def log_arguments=(value); end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#12 - def log_arguments?; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#11 - def logger; end - - # source://activejob/7.1.5.1lib/active_job/logging.rb#11 - def logger=(val); end - - # source://activejob/7.1.5.1lib/active_job/queue_priority.rb#49 - def priority; end - - # source://activejob/7.1.5.1lib/active_job/queue_priority.rb#49 - def priority=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_priority.rb#49 - def priority?; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 - def queue_name; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 - def queue_name=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#55 - def queue_name?; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#56 - def queue_name_delimiter; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#56 - def queue_name_delimiter=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#56 - def queue_name_delimiter?; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix; end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix=(value); end - - # source://activejob/7.1.5.1lib/active_job/queue_name.rb#57 - def queue_name_prefix?; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.1.5.1lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#11 - def retry_jitter; end - - # source://activejob/7.1.5.1lib/active_job/exceptions.rb#11 - def retry_jitter=(value); end - - # source://sidekiq/lib/sidekiq/job.rb#108 - def sidekiq_options_hash; end - - # source://sidekiq/lib/sidekiq/job.rb#116 - def sidekiq_options_hash=(val); end - - # source://sidekiq/lib/sidekiq/job.rb#108 - def sidekiq_retries_exhausted_block; end - - # source://sidekiq/lib/sidekiq/job.rb#116 - def sidekiq_retries_exhausted_block=(val); end - - # source://sidekiq/lib/sidekiq/job.rb#108 - def sidekiq_retry_in_block; end - - # source://sidekiq/lib/sidekiq/job.rb#116 - def sidekiq_retry_in_block=(val); end - - private - - # source://sidekiq/lib/sidekiq/job.rb#103 - def __synchronized_sidekiq_options_hash; end - - # source://sidekiq/lib/sidekiq/job.rb#103 - def __synchronized_sidekiq_retries_exhausted_block; end - - # source://sidekiq/lib/sidekiq/job.rb#103 - def __synchronized_sidekiq_retry_in_block; end - end -end - -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#17 -module ActiveJob::QueueAdapters - class << self - # source://activejob/7.1.5.1lib/active_job/queue_adapters.rb#137 - def lookup(name); end - end -end +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#17 +module ActiveJob::QueueAdapters; end # Sidekiq adapter for Active Job # @@ -275,11 +19,11 @@ end # # Rails.application.config.active_job.queue_adapter = :sidekiq # -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#26 +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#26 class ActiveJob::QueueAdapters::SidekiqAdapter # @api private # - # source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#35 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#35 def enqueue(job); end # Defines whether enqueuing should happen implicitly to after commit when called @@ -288,17 +32,17 @@ class ActiveJob::QueueAdapters::SidekiqAdapter # @api private # @return [Boolean] # - # source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#30 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#30 def enqueue_after_transaction_commit?; end # @api private # - # source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#51 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#51 def enqueue_all(jobs); end # @api private # - # source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#43 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#43 def enqueue_at(job, timestamp); end end @@ -306,17 +50,17 @@ end # # @api private # -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#84 +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#84 class ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper < ::Sidekiq::ActiveJob::Wrapper; end # Use `Sidekiq.transactional_push!` in your sidekiq.rb initializer # -# source://sidekiq/lib/sidekiq/version.rb#3 +# source://sidekiq//lib/sidekiq/version.rb#3 module Sidekiq class << self # @yield [default_configuration] # - # source://sidekiq/lib/sidekiq.rb#136 + # source://sidekiq//lib/sidekiq.rb#136 def configure_client; end # Creates a Sidekiq::Config instance that is more tuned for embedding @@ -338,76 +82,76 @@ module Sidekiq # # @yield [cfg] # - # source://sidekiq/lib/sidekiq.rb#124 + # source://sidekiq//lib/sidekiq.rb#124 def configure_embed(&block); end # @yield [default_configuration] # - # source://sidekiq/lib/sidekiq.rb#97 + # source://sidekiq//lib/sidekiq.rb#97 def configure_server(&block); end - # source://sidekiq/lib/sidekiq.rb#89 + # source://sidekiq//lib/sidekiq.rb#89 def default_configuration; end - # source://sidekiq/lib/sidekiq.rb#85 + # source://sidekiq//lib/sidekiq.rb#85 def default_job_options; end - # source://sidekiq/lib/sidekiq.rb#81 + # source://sidekiq//lib/sidekiq.rb#81 def default_job_options=(hash); end - # source://sidekiq/lib/sidekiq.rb#57 + # source://sidekiq//lib/sidekiq.rb#57 def dump_json(object); end # @return [Boolean] # - # source://sidekiq/lib/sidekiq.rb#65 + # source://sidekiq//lib/sidekiq.rb#65 def ent?; end - # source://sidekiq/lib/sidekiq.rb#102 + # source://sidekiq//lib/sidekiq.rb#102 def freeze!; end - # source://sidekiq/lib/sidekiq/version.rb#7 + # source://sidekiq//lib/sidekiq/version.rb#7 def gem_version; end - # source://sidekiq/lib/sidekiq.rb#53 + # source://sidekiq//lib/sidekiq.rb#53 def load_json(string); end - # source://sidekiq/lib/sidekiq.rb#93 + # source://sidekiq//lib/sidekiq.rb#93 def logger; end # @return [Boolean] # - # source://sidekiq/lib/sidekiq.rb#61 + # source://sidekiq//lib/sidekiq.rb#61 def pro?; end - # source://sidekiq/lib/sidekiq.rb#73 + # source://sidekiq//lib/sidekiq.rb#73 def redis(&block); end - # source://sidekiq/lib/sidekiq.rb#69 + # source://sidekiq//lib/sidekiq.rb#69 def redis_pool; end # @return [Boolean] # - # source://sidekiq/lib/sidekiq.rb#49 + # source://sidekiq//lib/sidekiq.rb#49 def server?; end - # source://sidekiq/lib/sidekiq.rb#77 + # source://sidekiq//lib/sidekiq.rb#77 def strict_args!(mode = T.unsafe(nil)); end - # source://sidekiq/lib/sidekiq/transaction_aware_client.rb#40 + # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#40 def transactional_push!; end - # source://sidekiq/lib/sidekiq.rb#45 + # source://sidekiq//lib/sidekiq.rb#45 def ❨╯°□°❩╯︵┻━┻; end end end -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#4 +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#4 module Sidekiq::ActiveJob; end # @api private # -# source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#6 +# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#6 class Sidekiq::ActiveJob::Wrapper include ::Sidekiq::Job include ::Sidekiq::Job::Options @@ -416,60 +160,60 @@ class Sidekiq::ActiveJob::Wrapper # @api private # - # source://sidekiq/lib/active_job/queue_adapters/sidekiq_adapter.rb#9 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#9 def perform(job_data); end - # source://sidekiq/lib/sidekiq/job.rb#141 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_options_hash; end - # source://sidekiq/lib/sidekiq/job.rb#153 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_options_hash=(_arg0); end - # source://sidekiq/lib/sidekiq/job.rb#141 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retries_exhausted_block; end - # source://sidekiq/lib/sidekiq/job.rb#153 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retries_exhausted_block=(_arg0); end - # source://sidekiq/lib/sidekiq/job.rb#141 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retry_in_block; end - # source://sidekiq/lib/sidekiq/job.rb#153 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retry_in_block=(_arg0); end class << self - # source://sidekiq/lib/sidekiq/job.rb#108 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_options_hash; end - # source://sidekiq/lib/sidekiq/job.rb#116 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_options_hash=(val); end - # source://sidekiq/lib/sidekiq/job.rb#108 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retries_exhausted_block; end - # source://sidekiq/lib/sidekiq/job.rb#116 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retries_exhausted_block=(val); end - # source://sidekiq/lib/sidekiq/job.rb#108 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retry_in_block; end - # source://sidekiq/lib/sidekiq/job.rb#116 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def sidekiq_retry_in_block=(val); end private - # source://sidekiq/lib/sidekiq/job.rb#103 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def __synchronized_sidekiq_options_hash; end - # source://sidekiq/lib/sidekiq/job.rb#103 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def __synchronized_sidekiq_retries_exhausted_block; end - # source://sidekiq/lib/sidekiq/job.rb#103 + # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#7 def __synchronized_sidekiq_retry_in_block; end end end -# source://sidekiq/lib/sidekiq/client.rb#8 +# source://sidekiq//lib/sidekiq/client.rb#8 class Sidekiq::Client include ::Sidekiq::JobUtil @@ -487,14 +231,14 @@ class Sidekiq::Client # @param chain [Sidekiq::Middleware::Chain] use the given middleware chain # @return [Client] a new instance of Client # - # source://sidekiq/lib/sidekiq/client.rb#45 + # source://sidekiq//lib/sidekiq/client.rb#45 def initialize(*args, **kwargs); end # Cancel the IterableJob with the given JID. # **NB: Cancellation is asynchronous.** Iteration checks every # five seconds so this will not immediately stop the given job. # - # source://sidekiq/lib/sidekiq/client.rb#64 + # source://sidekiq//lib/sidekiq/client.rb#64 def cancel!(jid); end # Define client-side middleware: @@ -508,7 +252,7 @@ class Sidekiq::Client # All client instances default to the globally-defined # Sidekiq.client_middleware but you can change as necessary. # - # source://sidekiq/lib/sidekiq/client.rb#23 + # source://sidekiq//lib/sidekiq/client.rb#23 def middleware(&block); end # The main method used to push a job to Redis. Accepts a number of options: @@ -535,7 +279,7 @@ class Sidekiq::Client # Example: # push('queue' => 'my_queue', 'class' => MyJob, 'args' => ['foo', 1, :bat => 'bar']) # - # source://sidekiq/lib/sidekiq/client.rb#103 + # source://sidekiq//lib/sidekiq/client.rb#103 def push(item); end # Push a large number of jobs to Redis. This method cuts out the redis @@ -557,27 +301,27 @@ class Sidekiq::Client # # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/client.rb#133 + # source://sidekiq//lib/sidekiq/client.rb#133 def push_bulk(items); end # Returns the value of attribute redis_pool. # - # source://sidekiq/lib/sidekiq/client.rb#31 + # source://sidekiq//lib/sidekiq/client.rb#31 def redis_pool; end # Sets the attribute redis_pool # # @param value the value to set the attribute redis_pool to. # - # source://sidekiq/lib/sidekiq/client.rb#31 + # source://sidekiq//lib/sidekiq/client.rb#31 def redis_pool=(_arg0); end private - # source://sidekiq/lib/sidekiq/client.rb#265 + # source://sidekiq//lib/sidekiq/client.rb#265 def atomic_push(conn, payloads); end - # source://sidekiq/lib/sidekiq/client.rb#241 + # source://sidekiq//lib/sidekiq/client.rb#241 def raw_push(payloads); end class << self @@ -589,31 +333,31 @@ class Sidekiq::Client # # Messages are enqueued to the 'default' queue. # - # source://sidekiq/lib/sidekiq/client.rb#206 + # source://sidekiq//lib/sidekiq/client.rb#206 def enqueue(klass, *args); end # Example usage: # Sidekiq::Client.enqueue_in(3.minutes, MyJob, 'foo', 1, :bat => 'bar') # - # source://sidekiq/lib/sidekiq/client.rb#234 + # source://sidekiq//lib/sidekiq/client.rb#234 def enqueue_in(interval, klass, *args); end # Example usage: # Sidekiq::Client.enqueue_to(:queue_name, MyJob, 'foo', 1, :bat => 'bar') # - # source://sidekiq/lib/sidekiq/client.rb#213 + # source://sidekiq//lib/sidekiq/client.rb#213 def enqueue_to(queue, klass, *args); end # Example usage: # Sidekiq::Client.enqueue_to_in(:queue_name, 3.minutes, MyJob, 'foo', 1, :bat => 'bar') # - # source://sidekiq/lib/sidekiq/client.rb#220 + # source://sidekiq//lib/sidekiq/client.rb#220 def enqueue_to_in(queue, interval, klass, *args); end - # source://sidekiq/lib/sidekiq/client.rb#190 + # source://sidekiq//lib/sidekiq/client.rb#190 def push(item); end - # source://sidekiq/lib/sidekiq/client.rb#194 + # source://sidekiq//lib/sidekiq/client.rb#194 def push_bulk(*_arg0, **_arg1, &_arg2); end # Allows sharding of jobs across any number of Redis instances. All jobs @@ -629,31 +373,31 @@ class Sidekiq::Client # thousands of jobs per second. I do not recommend sharding unless # you cannot scale any other way (e.g. splitting your app into smaller apps). # - # source://sidekiq/lib/sidekiq/client.rb#180 + # source://sidekiq//lib/sidekiq/client.rb#180 def via(pool); end end end # no difference for now # -# source://sidekiq/lib/sidekiq/middleware/modules.rb#22 +# source://sidekiq//lib/sidekiq/middleware/modules.rb#22 Sidekiq::ClientMiddleware = Sidekiq::ServerMiddleware # Sidekiq::Config represents the global configuration for an instance of Sidekiq. # -# source://sidekiq/lib/sidekiq/config.rb#10 +# source://sidekiq//lib/sidekiq/config.rb#10 class Sidekiq::Config extend ::Forwardable # @return [Config] a new instance of Config # - # source://sidekiq/lib/sidekiq/config.rb#53 + # source://sidekiq//lib/sidekiq/config.rb#53 def initialize(options = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def []=(*args, **_arg1, &block); end # How frequently Redis should be checked by a random Sidekiq process for @@ -662,33 +406,33 @@ class Sidekiq::Config # # See sidekiq/scheduled.rb for an in-depth explanation of this value # - # source://sidekiq/lib/sidekiq/config.rb#236 + # source://sidekiq//lib/sidekiq/config.rb#236 def average_scheduled_poll_interval=(interval); end # register a new queue processing subsystem # # @yield [cap] # - # source://sidekiq/lib/sidekiq/config.rb#123 + # source://sidekiq//lib/sidekiq/config.rb#123 def capsule(name); end # Returns the value of attribute capsules. # - # source://sidekiq/lib/sidekiq/config.rb#62 + # source://sidekiq//lib/sidekiq/config.rb#62 def capsules; end # @yield [@client_chain] # - # source://sidekiq/lib/sidekiq/config.rb#106 + # source://sidekiq//lib/sidekiq/config.rb#106 def client_middleware; end - # source://sidekiq/lib/sidekiq/config.rb#80 + # source://sidekiq//lib/sidekiq/config.rb#80 def concurrency; end # LEGACY: edits the default capsule # config.concurrency = 5 # - # source://sidekiq/lib/sidekiq/config.rb#76 + # source://sidekiq//lib/sidekiq/config.rb#76 def concurrency=(val); end # Death handlers are called when all retries for a job have been exhausted and @@ -700,13 +444,13 @@ class Sidekiq::Config # end # end # - # source://sidekiq/lib/sidekiq/config.rb#227 + # source://sidekiq//lib/sidekiq/config.rb#227 def death_handlers; end - # source://sidekiq/lib/sidekiq/config.rb#118 + # source://sidekiq//lib/sidekiq/config.rb#118 def default_capsule(&block); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def dig(*args, **_arg1, &block); end # Register a proc to handle any error which occurs within the Sidekiq process. @@ -717,44 +461,44 @@ class Sidekiq::Config # # The default error handler logs errors to @logger. # - # source://sidekiq/lib/sidekiq/config.rb#247 + # source://sidekiq//lib/sidekiq/config.rb#247 def error_handlers; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def fetch(*args, **_arg1, &block); end - # source://sidekiq/lib/sidekiq/config.rb#212 + # source://sidekiq//lib/sidekiq/config.rb#212 def freeze!; end # INTERNAL USE ONLY # - # source://sidekiq/lib/sidekiq/config.rb#291 + # source://sidekiq//lib/sidekiq/config.rb#291 def handle_exception(ex, ctx = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def has_key?(*args, **_arg1, &block); end - # source://sidekiq/lib/sidekiq/config.rb#64 + # source://sidekiq//lib/sidekiq/config.rb#64 def inspect; end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def key?(*args, **_arg1, &block); end - # source://sidekiq/lib/sidekiq/config.rb#265 + # source://sidekiq//lib/sidekiq/config.rb#265 def logger; end - # source://sidekiq/lib/sidekiq/config.rb#276 + # source://sidekiq//lib/sidekiq/config.rb#276 def logger=(logger); end # find a singleton # - # source://sidekiq/lib/sidekiq/config.rb#204 + # source://sidekiq//lib/sidekiq/config.rb#204 def lookup(name, default_class = T.unsafe(nil)); end - # source://forwardable/1.3.3forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#61 def merge!(*args, **_arg1, &block); end - # source://sidekiq/lib/sidekiq/config.rb#148 + # source://sidekiq//lib/sidekiq/config.rb#148 def new_redis_pool(size, name = T.unsafe(nil)); end # Register a block to run at a point in the Sidekiq lifecycle. @@ -768,10 +512,10 @@ class Sidekiq::Config # # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/config.rb#259 + # source://sidekiq//lib/sidekiq/config.rb#259 def on(event, &block); end - # source://sidekiq/lib/sidekiq/config.rb#102 + # source://sidekiq//lib/sidekiq/config.rb#102 def queues; end # Edit the default capsule. @@ -785,71 +529,71 @@ class Sidekiq::Config # are ridiculous and unnecessarily expensive. You can get random queue ordering # by explicitly setting all weights to 1. # - # source://sidekiq/lib/sidekiq/config.rb#98 + # source://sidekiq//lib/sidekiq/config.rb#98 def queues=(val); end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/config.rb#170 + # source://sidekiq//lib/sidekiq/config.rb#170 def redis; end # All capsules must use the same Redis configuration # - # source://sidekiq/lib/sidekiq/config.rb#134 + # source://sidekiq//lib/sidekiq/config.rb#134 def redis=(hash); end - # source://sidekiq/lib/sidekiq/config.rb#154 + # source://sidekiq//lib/sidekiq/config.rb#154 def redis_info; end - # source://sidekiq/lib/sidekiq/config.rb#138 + # source://sidekiq//lib/sidekiq/config.rb#138 def redis_pool; end # register global singletons which can be accessed elsewhere # - # source://sidekiq/lib/sidekiq/config.rb#193 + # source://sidekiq//lib/sidekiq/config.rb#193 def register(name, instance); end # @yield [@server_chain] # - # source://sidekiq/lib/sidekiq/config.rb#112 + # source://sidekiq//lib/sidekiq/config.rb#112 def server_middleware; end - # source://sidekiq/lib/sidekiq/config.rb#70 + # source://sidekiq//lib/sidekiq/config.rb#70 def to_json(*_arg0); end - # source://sidekiq/lib/sidekiq/config.rb#84 + # source://sidekiq//lib/sidekiq/config.rb#84 def total_concurrency; end private - # source://sidekiq/lib/sidekiq/config.rb#142 + # source://sidekiq//lib/sidekiq/config.rb#142 def local_redis_pool; end - # source://sidekiq/lib/sidekiq/config.rb#285 + # source://sidekiq//lib/sidekiq/config.rb#285 def parameter_size(handler); end end -# source://sidekiq/lib/sidekiq/config.rb#13 +# source://sidekiq//lib/sidekiq/config.rb#13 Sidekiq::Config::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://sidekiq/lib/sidekiq/config.rb#43 +# source://sidekiq//lib/sidekiq/config.rb#43 Sidekiq::Config::ERROR_HANDLER = T.let(T.unsafe(nil), Proc) -# source://sidekiq/lib/sidekiq/logger.rb#7 +# source://sidekiq//lib/sidekiq/logger.rb#7 module Sidekiq::Context class << self - # source://sidekiq/lib/sidekiq/logger.rb#20 + # source://sidekiq//lib/sidekiq/logger.rb#20 def add(k, v); end - # source://sidekiq/lib/sidekiq/logger.rb#16 + # source://sidekiq//lib/sidekiq/logger.rb#16 def current; end - # source://sidekiq/lib/sidekiq/logger.rb#8 + # source://sidekiq//lib/sidekiq/logger.rb#8 def with(hash); end end end -# source://sidekiq/lib/sidekiq/iterable_job.rb#34 +# source://sidekiq//lib/sidekiq/iterable_job.rb#34 module Sidekiq::IterableJob include ::Sidekiq::Job::Options include ::Sidekiq::Job @@ -862,7 +606,7 @@ module Sidekiq::IterableJob class << self # @private # - # source://sidekiq/lib/sidekiq/iterable_job.rb#35 + # source://sidekiq//lib/sidekiq/iterable_job.rb#35 def included(base); end end end @@ -904,7 +648,7 @@ end # this reason, we don't implement `perform_later` as our call semantics # are very different. # -# source://sidekiq/lib/sidekiq/job.rb#44 +# source://sidekiq//lib/sidekiq/job.rb#44 module Sidekiq::Job include ::Sidekiq::Job::Options @@ -913,39 +657,39 @@ module Sidekiq::Job # This attribute is implementation-specific and not a public API # - # source://sidekiq/lib/sidekiq/job.rb#163 + # source://sidekiq//lib/sidekiq/job.rb#163 def _context; end # This attribute is implementation-specific and not a public API # - # source://sidekiq/lib/sidekiq/job.rb#163 + # source://sidekiq//lib/sidekiq/job.rb#163 def _context=(_arg0); end # @return [Boolean] # - # source://sidekiq/lib/sidekiq/job.rb#176 + # source://sidekiq//lib/sidekiq/job.rb#176 def interrupted?; end # Returns the value of attribute jid. # - # source://sidekiq/lib/sidekiq/job.rb#160 + # source://sidekiq//lib/sidekiq/job.rb#160 def jid; end # Sets the attribute jid # # @param value the value to set the attribute jid to. # - # source://sidekiq/lib/sidekiq/job.rb#160 + # source://sidekiq//lib/sidekiq/job.rb#160 def jid=(_arg0); end - # source://sidekiq/lib/sidekiq/job.rb#172 + # source://sidekiq//lib/sidekiq/job.rb#172 def logger; end class << self # @private # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job.rb#165 + # source://sidekiq//lib/sidekiq/job.rb#165 def included(base); end end end @@ -988,38 +732,38 @@ end # When I sign up as "foo@example.com" # Then I should receive a welcome email to "foo@example.com" # -# source://sidekiq/lib/sidekiq/job.rb#275 +# source://sidekiq//lib/sidekiq/job.rb#275 module Sidekiq::Job::ClassMethods - # source://sidekiq/lib/sidekiq/job.rb#378 + # source://sidekiq//lib/sidekiq/job.rb#378 def build_client; end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job.rb#363 + # source://sidekiq//lib/sidekiq/job.rb#363 def client_push(item); end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job.rb#276 + # source://sidekiq//lib/sidekiq/job.rb#276 def delay(*args); end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job.rb#280 + # source://sidekiq//lib/sidekiq/job.rb#280 def delay_for(*args); end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job.rb#284 + # source://sidekiq//lib/sidekiq/job.rb#284 def delay_until(*args); end - # source://sidekiq/lib/sidekiq/job.rb#296 + # source://sidekiq//lib/sidekiq/job.rb#296 def perform_async(*args); end # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq/lib/sidekiq/job.rb#332 + # source://sidekiq//lib/sidekiq/job.rb#344 def perform_at(interval, *args); end # Push a large number of jobs to Redis, while limiting the batch of @@ -1041,29 +785,29 @@ module Sidekiq::Job::ClassMethods # # SomeJob.perform_bulk([[1], [2], [3]]) # - # source://sidekiq/lib/sidekiq/job.rb#326 + # source://sidekiq//lib/sidekiq/job.rb#326 def perform_bulk(*args, **kwargs); end # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq/lib/sidekiq/job.rb#332 + # source://sidekiq//lib/sidekiq/job.rb#332 def perform_in(interval, *args); end # Inline execution of job's perform method after passing through Sidekiq.client_middleware and Sidekiq.server_middleware # - # source://sidekiq/lib/sidekiq/job.rb#301 + # source://sidekiq//lib/sidekiq/job.rb#301 def perform_inline(*args); end # Inline execution of job's perform method after passing through Sidekiq.client_middleware and Sidekiq.server_middleware # - # source://sidekiq/lib/sidekiq/job.rb#301 + # source://sidekiq//lib/sidekiq/job.rb#304 def perform_sync(*args); end - # source://sidekiq/lib/sidekiq/job.rb#288 + # source://sidekiq//lib/sidekiq/job.rb#288 def queue_as(q); end - # source://sidekiq/lib/sidekiq/job.rb#292 + # source://sidekiq//lib/sidekiq/job.rb#292 def set(options); end # Allows customization for this type of Job. @@ -1079,14 +823,14 @@ module Sidekiq::Job::ClassMethods # In practice, any option is allowed. This is the main mechanism to configure the # options for a specific job. # - # source://sidekiq/lib/sidekiq/job.rb#359 + # source://sidekiq//lib/sidekiq/job.rb#359 def sidekiq_options(opts = T.unsafe(nil)); end end -# source://sidekiq/lib/sidekiq/job/iterable.rb#7 +# source://sidekiq//lib/sidekiq/job/iterable.rb#7 class Sidekiq::Job::Interrupted < ::RuntimeError; end -# source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#5 +# source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#5 module Sidekiq::Job::Iterable include ::Sidekiq::Job::Iterable::Enumerators @@ -1094,17 +838,17 @@ module Sidekiq::Job::Iterable # @api private # - # source://sidekiq/lib/sidekiq/job/iterable.rb#26 + # source://sidekiq//lib/sidekiq/job/iterable.rb#26 def initialize; end - # source://sidekiq/lib/sidekiq/job/iterable.rb#37 + # source://sidekiq//lib/sidekiq/job/iterable.rb#37 def arguments; end # A hook to override that will be called around each iteration. # # Can be useful for some metrics collection, performance tracking etc. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#80 + # source://sidekiq//lib/sidekiq/job/iterable.rb#80 def around_iteration; end # The enumerator to be iterated over. @@ -1113,19 +857,19 @@ module Sidekiq::Job::Iterable # implement an override for this method. # @return [Enumerator] # - # source://sidekiq/lib/sidekiq/job/iterable.rb#108 + # source://sidekiq//lib/sidekiq/job/iterable.rb#108 def build_enumerator(*_arg0); end # Set a flag in Redis to mark this job as cancelled. # Cancellation is asynchronous and is checked at the start of iteration # and every 5 seconds thereafter as part of the recurring state flush. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#49 + # source://sidekiq//lib/sidekiq/job/iterable.rb#49 def cancel!; end # @return [Boolean] # - # source://sidekiq/lib/sidekiq/job/iterable.rb#65 + # source://sidekiq//lib/sidekiq/job/iterable.rb#65 def cancelled?; end # The action to be performed on each item from the enumerator. @@ -1134,115 +878,115 @@ module Sidekiq::Job::Iterable # implement an override for this method. # @return [void] # - # source://sidekiq/lib/sidekiq/job/iterable.rb#119 + # source://sidekiq//lib/sidekiq/job/iterable.rb#119 def each_iteration(*_arg0); end - # source://sidekiq/lib/sidekiq/job/iterable.rb#123 + # source://sidekiq//lib/sidekiq/job/iterable.rb#123 def iteration_key; end # A hook to override that will be called when the job finished iterating. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#98 + # source://sidekiq//lib/sidekiq/job/iterable.rb#98 def on_complete; end # A hook to override that will be called when the job resumes iterating. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#86 + # source://sidekiq//lib/sidekiq/job/iterable.rb#86 def on_resume; end # A hook to override that will be called when the job starts iterating. # # It is called only once, for the first time. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#73 + # source://sidekiq//lib/sidekiq/job/iterable.rb#73 def on_start; end # A hook to override that will be called each time the job is interrupted. # # This can be due to interruption or sidekiq stopping. # - # source://sidekiq/lib/sidekiq/job/iterable.rb#93 + # source://sidekiq//lib/sidekiq/job/iterable.rb#93 def on_stop; end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable.rb#128 + # source://sidekiq//lib/sidekiq/job/iterable.rb#128 def perform(*args); end private - # source://sidekiq/lib/sidekiq/job/iterable.rb#242 + # source://sidekiq//lib/sidekiq/job/iterable.rb#242 def assert_enumerator!(enum); end - # source://sidekiq/lib/sidekiq/job/iterable.rb#274 + # source://sidekiq//lib/sidekiq/job/iterable.rb#274 def cleanup; end - # source://sidekiq/lib/sidekiq/job/iterable.rb#170 + # source://sidekiq//lib/sidekiq/job/iterable.rb#170 def fetch_previous_iteration_state; end - # source://sidekiq/lib/sidekiq/job/iterable.rb#257 + # source://sidekiq//lib/sidekiq/job/iterable.rb#257 def flush_state; end - # source://sidekiq/lib/sidekiq/job/iterable.rb#281 + # source://sidekiq//lib/sidekiq/job/iterable.rb#281 def handle_completed(completed); end # @return [Boolean] # - # source://sidekiq/lib/sidekiq/job/iterable.rb#166 + # source://sidekiq//lib/sidekiq/job/iterable.rb#166 def is_cancelled?; end # one month # - # source://sidekiq/lib/sidekiq/job/iterable.rb#185 + # source://sidekiq//lib/sidekiq/job/iterable.rb#185 def iterate_with_enumerator(enumerator, arguments); end # @raise [Interrupted] # - # source://sidekiq/lib/sidekiq/job/iterable.rb#235 + # source://sidekiq//lib/sidekiq/job/iterable.rb#235 def reenqueue_iteration_job; end - # source://sidekiq/lib/sidekiq/job/iterable.rb#225 + # source://sidekiq//lib/sidekiq/job/iterable.rb#225 def verify_iteration_time(time_limit, object); end class << self # @api private # @private # - # source://sidekiq/lib/sidekiq/job/iterable.rb#13 + # source://sidekiq//lib/sidekiq/job/iterable.rb#13 def included(base); end end end # @api private # -# source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#7 +# source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#7 class Sidekiq::Job::Iterable::ActiveRecordEnumerator # @api private # @return [ActiveRecordEnumerator] a new instance of ActiveRecordEnumerator # - # source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#8 + # source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#8 def initialize(relation, cursor: T.unsafe(nil), **options); end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#22 + # source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#22 def batches; end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#14 + # source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#14 def records; end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#30 + # source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#30 def relations; end private # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/active_record_enumerator.rb#46 + # source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#46 def relations_size; end end @@ -1250,48 +994,48 @@ end # execute when using the default retry scheme. We don't want to "forget" the job # is cancelled before it has a chance to execute and cancel itself. # -# source://sidekiq/lib/sidekiq/job/iterable.rb#44 +# source://sidekiq//lib/sidekiq/job/iterable.rb#44 Sidekiq::Job::Iterable::CANCELLATION_PERIOD = T.let(T.unsafe(nil), String) # @api private # -# source://sidekiq/lib/sidekiq/job/iterable.rb#18 +# source://sidekiq//lib/sidekiq/job/iterable.rb#18 module Sidekiq::Job::Iterable::ClassMethods # @api private # - # source://sidekiq/lib/sidekiq/job/iterable.rb#19 + # source://sidekiq//lib/sidekiq/job/iterable.rb#19 def method_added(method_name); end end # @api private # -# source://sidekiq/lib/sidekiq/job/iterable/csv_enumerator.rb#7 +# source://sidekiq//lib/sidekiq/job/iterable/csv_enumerator.rb#7 class Sidekiq::Job::Iterable::CsvEnumerator # @api private # @return [CsvEnumerator] a new instance of CsvEnumerator # - # source://sidekiq/lib/sidekiq/job/iterable/csv_enumerator.rb#8 + # source://sidekiq//lib/sidekiq/job/iterable/csv_enumerator.rb#8 def initialize(csv); end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/csv_enumerator.rb#23 + # source://sidekiq//lib/sidekiq/job/iterable/csv_enumerator.rb#23 def batches(cursor:, batch_size: T.unsafe(nil)); end # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/csv_enumerator.rb#16 + # source://sidekiq//lib/sidekiq/job/iterable/csv_enumerator.rb#16 def rows(cursor:); end private # @api private # - # source://sidekiq/lib/sidekiq/job/iterable/csv_enumerator.rb#33 + # source://sidekiq//lib/sidekiq/job/iterable/csv_enumerator.rb#33 def count_of_rows_in_file; end end -# source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#9 +# source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#9 module Sidekiq::Job::Iterable::Enumerators # Builds Enumerator from `ActiveRecord::Relation` and enumerates on batches of records. # Each Enumerator tick moves the cursor `:batch_size` rows forward. @@ -1311,7 +1055,7 @@ module Sidekiq::Job::Iterable::Enumerators # end # @see #active_record_records_enumerator # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#68 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#68 def active_record_batches_enumerator(relation, cursor:, **options); end # Builds Enumerator from `ActiveRecord::Relation`. @@ -1331,7 +1075,7 @@ module Sidekiq::Job::Iterable::Enumerators # ActiveRecord batching methods # @return [ActiveRecordEnumerator] # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#46 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#46 def active_record_records_enumerator(relation, cursor:, **options); end # Builds Enumerator from `ActiveRecord::Relation` and enumerates on batches, @@ -1352,7 +1096,7 @@ module Sidekiq::Job::Iterable::Enumerators # end # @see #active_record_records_enumerator # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#90 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#90 def active_record_relations_enumerator(relation, cursor:, **options); end # Builds Enumerator object from a given array, using +cursor+ as an offset. @@ -1364,7 +1108,7 @@ module Sidekiq::Job::Iterable::Enumerators # @raise [ArgumentError] # @return [Enumerator] # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#20 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#20 def array_enumerator(array, cursor:); end # Builds Enumerator from a CSV file and enumerates on batches of records. @@ -1383,7 +1127,7 @@ module Sidekiq::Job::Iterable::Enumerators # @param cursor [Integer] offset to start iteration from # @param options [Hash] a customizable set of options # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#129 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#129 def csv_batches_enumerator(csv, cursor:, **options); end # Builds Enumerator from a CSV file. @@ -1400,42 +1144,42 @@ module Sidekiq::Job::Iterable::Enumerators # @param csv [CSV] an instance of CSV object # @param cursor [Integer] offset to start iteration from # - # source://sidekiq/lib/sidekiq/job/iterable/enumerators.rb#109 + # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#109 def csv_enumerator(csv, cursor:); end end # seconds # -# source://sidekiq/lib/sidekiq/job/iterable.rb#180 +# source://sidekiq//lib/sidekiq/job/iterable.rb#180 Sidekiq::Job::Iterable::STATE_FLUSH_INTERVAL = T.let(T.unsafe(nil), Integer) # we need to keep the state around as long as the job # might be retrying # -# source://sidekiq/lib/sidekiq/job/iterable.rb#183 +# source://sidekiq//lib/sidekiq/job/iterable.rb#183 Sidekiq::Job::Iterable::STATE_TTL = T.let(T.unsafe(nil), Integer) # The Options module is extracted so we can include it in ActiveJob::Base # and allow native AJs to configure Sidekiq features/internals. # -# source://sidekiq/lib/sidekiq/job.rb#48 +# source://sidekiq//lib/sidekiq/job.rb#48 module Sidekiq::Job::Options mixes_in_class_methods ::Sidekiq::Job::Options::ClassMethods class << self # @private # - # source://sidekiq/lib/sidekiq/job.rb#49 + # source://sidekiq//lib/sidekiq/job.rb#49 def included(base); end end end -# source://sidekiq/lib/sidekiq/job.rb#56 +# source://sidekiq//lib/sidekiq/job.rb#56 module Sidekiq::Job::Options::ClassMethods - # source://sidekiq/lib/sidekiq/job.rb#88 + # source://sidekiq//lib/sidekiq/job.rb#88 def get_sidekiq_options; end - # source://sidekiq/lib/sidekiq/job.rb#92 + # source://sidekiq//lib/sidekiq/job.rb#92 def sidekiq_class_attribute(*attrs); end # Allows customization for this type of Job. @@ -1450,182 +1194,182 @@ module Sidekiq::Job::Options::ClassMethods # In practice, any option is allowed. This is the main mechanism to configure the # options for a specific job. # - # source://sidekiq/lib/sidekiq/job.rb#71 + # source://sidekiq//lib/sidekiq/job.rb#71 def sidekiq_options(opts = T.unsafe(nil)); end - # source://sidekiq/lib/sidekiq/job.rb#84 + # source://sidekiq//lib/sidekiq/job.rb#84 def sidekiq_retries_exhausted(&block); end - # source://sidekiq/lib/sidekiq/job.rb#80 + # source://sidekiq//lib/sidekiq/job.rb#80 def sidekiq_retry_in(&block); end end -# source://sidekiq/lib/sidekiq/job.rb#57 +# source://sidekiq//lib/sidekiq/job.rb#57 Sidekiq::Job::Options::ClassMethods::ACCESSOR_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) # This helper class encapsulates the set options for `set`, e.g. # # SomeJob.set(queue: 'foo').perform_async(....) # -# source://sidekiq/lib/sidekiq/job.rb#184 +# source://sidekiq//lib/sidekiq/job.rb#184 class Sidekiq::Job::Setter include ::Sidekiq::JobUtil # @return [Setter] a new instance of Setter # - # source://sidekiq/lib/sidekiq/job.rb#187 + # source://sidekiq//lib/sidekiq/job.rb#187 def initialize(klass, opts); end - # source://sidekiq/lib/sidekiq/job.rb#205 + # source://sidekiq//lib/sidekiq/job.rb#205 def perform_async(*args); end # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq/lib/sidekiq/job.rb#258 + # source://sidekiq//lib/sidekiq/job.rb#261 def perform_at(interval, *args); end - # source://sidekiq/lib/sidekiq/job.rb#251 + # source://sidekiq//lib/sidekiq/job.rb#251 def perform_bulk(args, batch_size: T.unsafe(nil)); end # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq/lib/sidekiq/job.rb#258 + # source://sidekiq//lib/sidekiq/job.rb#258 def perform_in(interval, *args); end # Explicit inline execution of a job. Returns nil if the job did not # execute, true otherwise. # - # source://sidekiq/lib/sidekiq/job.rb#215 + # source://sidekiq//lib/sidekiq/job.rb#215 def perform_inline(*args); end # Explicit inline execution of a job. Returns nil if the job did not # execute, true otherwise. # - # source://sidekiq/lib/sidekiq/job.rb#215 + # source://sidekiq//lib/sidekiq/job.rb#249 def perform_sync(*args); end - # source://sidekiq/lib/sidekiq/job.rb#197 + # source://sidekiq//lib/sidekiq/job.rb#197 def set(options); end private - # source://sidekiq/lib/sidekiq/job.rb#265 + # source://sidekiq//lib/sidekiq/job.rb#265 def at(interval); end end -# source://sidekiq/lib/sidekiq/job_util.rb#7 +# source://sidekiq//lib/sidekiq/job_util.rb#7 module Sidekiq::JobUtil # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job_util.rb#43 + # source://sidekiq//lib/sidekiq/job_util.rb#43 def normalize_item(item); end - # source://sidekiq/lib/sidekiq/job_util.rb#65 + # source://sidekiq//lib/sidekiq/job_util.rb#65 def normalized_hash(item_class); end # @raise [ArgumentError] # - # source://sidekiq/lib/sidekiq/job_util.rb#12 + # source://sidekiq//lib/sidekiq/job_util.rb#12 def validate(item); end - # source://sidekiq/lib/sidekiq/job_util.rb#21 + # source://sidekiq//lib/sidekiq/job_util.rb#21 def verify_json(item); end private # @return [Boolean] # - # source://sidekiq/lib/sidekiq/job_util.rb#105 + # source://sidekiq//lib/sidekiq/job_util.rb#105 def json_unsafe?(item); end end -# source://sidekiq/lib/sidekiq/job_util.rb#76 +# source://sidekiq//lib/sidekiq/job_util.rb#76 Sidekiq::JobUtil::RECURSIVE_JSON_UNSAFE = T.let(T.unsafe(nil), Hash) # These functions encapsulate various job utilities. # -# source://sidekiq/lib/sidekiq/job_util.rb#10 +# source://sidekiq//lib/sidekiq/job_util.rb#10 Sidekiq::JobUtil::TRANSIENT_ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://sidekiq/lib/sidekiq.rb#43 +# source://sidekiq//lib/sidekiq.rb#43 Sidekiq::LICENSE = T.let(T.unsafe(nil), String) -# source://sidekiq/lib/sidekiq/logger.rb#75 +# source://sidekiq//lib/sidekiq/logger.rb#75 class Sidekiq::Logger < ::Logger include ::Sidekiq::LoggingUtils end -# source://sidekiq/lib/sidekiq/logger.rb#78 +# source://sidekiq//lib/sidekiq/logger.rb#78 module Sidekiq::Logger::Formatters; end -# source://sidekiq/lib/sidekiq/logger.rb#79 +# source://sidekiq//lib/sidekiq/logger.rb#79 class Sidekiq::Logger::Formatters::Base < ::Logger::Formatter - # source://sidekiq/lib/sidekiq/logger.rb#84 + # source://sidekiq//lib/sidekiq/logger.rb#84 def ctx; end - # source://sidekiq/lib/sidekiq/logger.rb#88 + # source://sidekiq//lib/sidekiq/logger.rb#88 def format_context; end - # source://sidekiq/lib/sidekiq/logger.rb#80 + # source://sidekiq//lib/sidekiq/logger.rb#80 def tid; end end -# source://sidekiq/lib/sidekiq/logger.rb#114 +# source://sidekiq//lib/sidekiq/logger.rb#114 class Sidekiq::Logger::Formatters::JSON < ::Sidekiq::Logger::Formatters::Base - # source://sidekiq/lib/sidekiq/logger.rb#115 + # source://sidekiq//lib/sidekiq/logger.rb#115 def call(severity, time, program_name, message); end end -# source://sidekiq/lib/sidekiq/logger.rb#102 +# source://sidekiq//lib/sidekiq/logger.rb#102 class Sidekiq::Logger::Formatters::Pretty < ::Sidekiq::Logger::Formatters::Base - # source://sidekiq/lib/sidekiq/logger.rb#103 + # source://sidekiq//lib/sidekiq/logger.rb#103 def call(severity, time, program_name, message); end end -# source://sidekiq/lib/sidekiq/logger.rb#108 +# source://sidekiq//lib/sidekiq/logger.rb#108 class Sidekiq::Logger::Formatters::WithoutTimestamp < ::Sidekiq::Logger::Formatters::Pretty - # source://sidekiq/lib/sidekiq/logger.rb#109 + # source://sidekiq//lib/sidekiq/logger.rb#109 def call(severity, time, program_name, message); end end -# source://sidekiq/lib/sidekiq/logger.rb#25 +# source://sidekiq//lib/sidekiq/logger.rb#25 module Sidekiq::LoggingUtils - # source://sidekiq/lib/sidekiq/logger.rb#39 + # source://sidekiq//lib/sidekiq/logger.rb#39 def debug?; end - # source://sidekiq/lib/sidekiq/logger.rb#39 + # source://sidekiq//lib/sidekiq/logger.rb#39 def error?; end - # source://sidekiq/lib/sidekiq/logger.rb#39 + # source://sidekiq//lib/sidekiq/logger.rb#39 def fatal?; end - # source://sidekiq/lib/sidekiq/logger.rb#39 + # source://sidekiq//lib/sidekiq/logger.rb#39 def info?; end - # source://sidekiq/lib/sidekiq/logger.rb#61 + # source://sidekiq//lib/sidekiq/logger.rb#61 def level; end - # source://sidekiq/lib/sidekiq/logger.rb#44 + # source://sidekiq//lib/sidekiq/logger.rb#44 def local_level; end - # source://sidekiq/lib/sidekiq/logger.rb#48 + # source://sidekiq//lib/sidekiq/logger.rb#48 def local_level=(level); end # Change the thread-local level for the duration of the given block. # - # source://sidekiq/lib/sidekiq/logger.rb#66 + # source://sidekiq//lib/sidekiq/logger.rb#66 def log_at(level); end - # source://sidekiq/lib/sidekiq/logger.rb#39 + # source://sidekiq//lib/sidekiq/logger.rb#39 def warn?; end end -# source://sidekiq/lib/sidekiq/logger.rb#26 +# source://sidekiq//lib/sidekiq/logger.rb#26 Sidekiq::LoggingUtils::LEVELS = T.let(T.unsafe(nil), Hash) -# source://sidekiq/lib/sidekiq/version.rb#5 +# source://sidekiq//lib/sidekiq/version.rb#5 Sidekiq::MAJOR = T.let(T.unsafe(nil), Integer) # Middleware is code configured to run before/after @@ -1701,10 +1445,10 @@ Sidekiq::MAJOR = T.let(T.unsafe(nil), Integer) # end # end # -# source://sidekiq/lib/sidekiq/middleware/chain.rb#79 +# source://sidekiq//lib/sidekiq/middleware/chain.rb#79 module Sidekiq::Middleware; end -# source://sidekiq/lib/sidekiq/middleware/chain.rb#80 +# source://sidekiq//lib/sidekiq/middleware/chain.rb#80 class Sidekiq::Middleware::Chain include ::Enumerable @@ -1713,7 +1457,7 @@ class Sidekiq::Middleware::Chain # @yield [_self] # @yieldparam _self [Sidekiq::Middleware::Chain] the object that the method was called on # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#89 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#89 def initialize(config = T.unsafe(nil)); end # Add the given middleware to the end of the chain. @@ -1725,75 +1469,75 @@ class Sidekiq::Middleware::Chain # @param klass [Class] Your middleware class # @param *args [Array] Set of arguments to pass to every instance of your middleware # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#119 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#119 def add(klass, *args); end - # source://sidekiq/lib/sidekiq/middleware/chain.rb#163 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#163 def clear; end - # source://sidekiq/lib/sidekiq/middleware/chain.rb#99 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#99 def copy_for(capsule); end # Iterate through each middleware in the chain # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#84 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#84 def each(&block); end # @return [Boolean] if the chain contains no middleware # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#155 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#155 def empty?; end - # source://sidekiq/lib/sidekiq/middleware/chain.rb#95 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#95 def entries; end # @return [Boolean] if the given class is already in the chain # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#149 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#149 def exists?(klass); end # @return [Boolean] if the given class is already in the chain # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#149 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#152 def include?(klass); end # Inserts +newklass+ after +oldklass+ in the chain. # Useful if one middleware must run after another middleware. # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#141 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#141 def insert_after(oldklass, newklass, *args); end # Inserts +newklass+ before +oldklass+ in the chain. # Useful if one middleware must run before another middleware. # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#132 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#132 def insert_before(oldklass, newklass, *args); end # Used by Sidekiq to execute the middleware at runtime # # @api private # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#169 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#169 def invoke(*args, &block); end # Identical to {#add} except the middleware is added to the front of the chain. # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#125 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#125 def prepend(klass, *args); end # Remove all middleware matching the given Class # # @param klass [Class] # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#107 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#107 def remove(klass); end - # source://sidekiq/lib/sidekiq/middleware/chain.rb#159 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#159 def retrieve; end private - # source://sidekiq/lib/sidekiq/middleware/chain.rb#178 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#178 def traverse(chain, index, args, &block); end end @@ -1801,238 +1545,233 @@ end # # @api private # -# source://sidekiq/lib/sidekiq/middleware/chain.rb#191 +# source://sidekiq//lib/sidekiq/middleware/chain.rb#191 class Sidekiq::Middleware::Entry # @api private # @return [Entry] a new instance of Entry # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#194 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#194 def initialize(config, klass, *args); end # @api private # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#192 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#192 def klass; end # @api private # - # source://sidekiq/lib/sidekiq/middleware/chain.rb#200 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#200 def make_new; end end -# source://sidekiq/lib/sidekiq.rb#42 +# source://sidekiq//lib/sidekiq.rb#42 Sidekiq::NAME = T.let(T.unsafe(nil), String) -# source://sidekiq/lib/sidekiq/rails.rb#7 -class Sidekiq::Rails < ::Rails::Engine - class << self - # source://activesupport/7.1.5.1lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +# source://sidekiq//lib/sidekiq/rails.rb#7 +class Sidekiq::Rails < ::Rails::Engine; end -# source://sidekiq/lib/sidekiq/rails.rb#8 +# source://sidekiq//lib/sidekiq/rails.rb#8 class Sidekiq::Rails::Reloader # @return [Reloader] a new instance of Reloader # - # source://sidekiq/lib/sidekiq/rails.rb#9 + # source://sidekiq//lib/sidekiq/rails.rb#9 def initialize(app = T.unsafe(nil)); end - # source://sidekiq/lib/sidekiq/rails.rb#13 + # source://sidekiq//lib/sidekiq/rails.rb#13 def call; end - # source://sidekiq/lib/sidekiq/rails.rb#20 + # source://sidekiq//lib/sidekiq/rails.rb#20 def inspect; end - # source://sidekiq/lib/sidekiq/rails.rb#24 + # source://sidekiq//lib/sidekiq/rails.rb#24 def to_hash; end end -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#8 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#8 class Sidekiq::RedisClientAdapter # @return [RedisClientAdapter] a new instance of RedisClientAdapter # - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#63 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#63 def initialize(options); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#79 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#79 def new_client; end private - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#85 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#85 def client_opts(options); end end -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#9 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#9 Sidekiq::RedisClientAdapter::BaseError = RedisClient::Error -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#10 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#10 Sidekiq::RedisClientAdapter::CommandError = RedisClient::CommandError -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#0 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#55 class Sidekiq::RedisClientAdapter::CompatClient < ::RedisClient::Decorator::Client include ::Sidekiq::RedisClientAdapter::CompatMethods - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#58 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#58 def config; end end -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#0 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#55 class Sidekiq::RedisClientAdapter::CompatClient::Pipeline < ::RedisClient::Decorator::Pipeline include ::Sidekiq::RedisClientAdapter::CompatMethods end -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#15 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#15 module Sidekiq::RedisClientAdapter::CompatMethods - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def bitfield(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def bitfield_ro(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def del(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#20 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#20 def evalsha(sha, keys, argv); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def exists(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def expire(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def flushdb(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def get(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hdel(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hget(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hgetall(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hincrby(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hlen(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hmget(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hset(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def hsetnx(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def incr(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def incrby(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#16 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#16 def info; end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lindex(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def llen(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lmove(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lpop(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lpush(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lrange(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def lrem(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def mget(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def mset(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def ping(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def pttl(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def publish(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def rpop(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def rpush(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def sadd(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def scard(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def script(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def set(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def sismember(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def smembers(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def srem(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def ttl(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def type(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def unlink(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zadd(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zcard(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zincrby(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zrange(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zrem(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zremrangebyrank(*args, **kwargs); end - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#35 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#35 def zremrangebyscore(*args, **kwargs); end private @@ -2040,12 +1779,12 @@ module Sidekiq::RedisClientAdapter::CompatMethods # this allows us to use methods like `conn.hmset(...)` instead of having to use # redis-client's native `conn.call("hmset", ...)` # - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#44 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#44 def method_missing(*args, **_arg1, &block); end # @return [Boolean] # - # source://sidekiq/lib/sidekiq/redis_client_adapter.rb#50 + # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#50 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -2053,29 +1792,29 @@ end # to be comprehensive, we use this as a performance enhancement to # avoid calling method_missing on most commands # -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#27 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#27 Sidekiq::RedisClientAdapter::CompatMethods::USED_COMMANDS = T.let(T.unsafe(nil), Array) # You can add/remove items or clear the whole thing if you don't want deprecation warnings. # -# source://sidekiq/lib/sidekiq/redis_client_adapter.rb#13 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#13 Sidekiq::RedisClientAdapter::DEPRECATED_COMMANDS = T.let(T.unsafe(nil), Set) -# source://sidekiq/lib/sidekiq/redis_connection.rb#8 +# source://sidekiq//lib/sidekiq/redis_connection.rb#8 module Sidekiq::RedisConnection class << self - # source://sidekiq/lib/sidekiq/redis_connection.rb#10 + # source://sidekiq//lib/sidekiq/redis_connection.rb#10 def create(options = T.unsafe(nil)); end private - # source://sidekiq/lib/sidekiq/redis_connection.rb#41 + # source://sidekiq//lib/sidekiq/redis_connection.rb#41 def deep_symbolize_keys(object); end - # source://sidekiq/lib/sidekiq/redis_connection.rb#81 + # source://sidekiq//lib/sidekiq/redis_connection.rb#81 def determine_redis_provider; end - # source://sidekiq/lib/sidekiq/redis_connection.rb#54 + # source://sidekiq//lib/sidekiq/redis_connection.rb#54 def scrub(options); end end end @@ -2083,27 +1822,27 @@ end # Server-side middleware must import this Module in order # to get access to server resources during `call`. # -# source://sidekiq/lib/sidekiq/middleware/modules.rb#6 +# source://sidekiq//lib/sidekiq/middleware/modules.rb#6 module Sidekiq::ServerMiddleware # Returns the value of attribute config. # - # source://sidekiq/lib/sidekiq/middleware/modules.rb#7 + # source://sidekiq//lib/sidekiq/middleware/modules.rb#7 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://sidekiq/lib/sidekiq/middleware/modules.rb#7 + # source://sidekiq//lib/sidekiq/middleware/modules.rb#7 def config=(_arg0); end - # source://sidekiq/lib/sidekiq/middleware/modules.rb#12 + # source://sidekiq//lib/sidekiq/middleware/modules.rb#12 def logger; end - # source://sidekiq/lib/sidekiq/middleware/modules.rb#16 + # source://sidekiq//lib/sidekiq/middleware/modules.rb#16 def redis(&block); end - # source://sidekiq/lib/sidekiq/middleware/modules.rb#8 + # source://sidekiq//lib/sidekiq/middleware/modules.rb#8 def redis_pool; end end @@ -2114,33 +1853,33 @@ end # otherwise Ruby's Thread#kill will commit. See #377. # DO NOT RESCUE THIS ERROR IN YOUR JOBS # -# source://sidekiq/lib/sidekiq.rb#146 +# source://sidekiq//lib/sidekiq.rb#146 class Sidekiq::Shutdown < ::Interrupt; end -# source://sidekiq/lib/sidekiq/transaction_aware_client.rb#7 +# source://sidekiq//lib/sidekiq/transaction_aware_client.rb#7 class Sidekiq::TransactionAwareClient # @return [TransactionAwareClient] a new instance of TransactionAwareClient # - # source://sidekiq/lib/sidekiq/transaction_aware_client.rb#8 + # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#8 def initialize(pool: T.unsafe(nil), config: T.unsafe(nil)); end # @return [Boolean] # - # source://sidekiq/lib/sidekiq/transaction_aware_client.rb#12 + # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#12 def batching?; end - # source://sidekiq/lib/sidekiq/transaction_aware_client.rb#16 + # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#16 def push(item); end # We don't provide transactionality for push_bulk because we don't want # to hold potentially hundreds of thousands of job records in memory due to # a long running enqueue process. # - # source://sidekiq/lib/sidekiq/transaction_aware_client.rb#31 + # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#31 def push_bulk(items); end end -# source://sidekiq/lib/sidekiq/version.rb#4 +# source://sidekiq//lib/sidekiq/version.rb#4 Sidekiq::VERSION = T.let(T.unsafe(nil), String) # Sidekiq::Job is a new alias for Sidekiq::Worker as of Sidekiq 6.3.0. @@ -2152,5 +1891,5 @@ Sidekiq::VERSION = T.let(T.unsafe(nil), String) # "worker". This change brings Sidekiq closer to ActiveJob where your job # classes extend ApplicationJob. # -# source://sidekiq/lib/sidekiq/worker_compatibility_alias.rb#12 +# source://sidekiq//lib/sidekiq/worker_compatibility_alias.rb#12 Sidekiq::Worker = Sidekiq::Job diff --git a/sorbet/rbi/gems/smart_properties@1.17.0.rbi b/sorbet/rbi/gems/smart_properties@1.17.0.rbi index d8a4a1c44..329c1086b 100644 --- a/sorbet/rbi/gems/smart_properties@1.17.0.rbi +++ b/sorbet/rbi/gems/smart_properties@1.17.0.rbi @@ -470,6 +470,7 @@ class SmartProperties::Validations::Ancestor def validate(klass); end class << self + # source://smart_properties//lib/smart_properties/validations/ancestor.rb#23 def must_be(*_arg0); end end end diff --git a/sorbet/rbi/gems/spoom@1.5.2.rbi b/sorbet/rbi/gems/spoom@1.5.2.rbi index 0b4d4d0f1..b9f291201 100644 --- a/sorbet/rbi/gems/spoom@1.5.2.rbi +++ b/sorbet/rbi/gems/spoom@1.5.2.rbi @@ -26,6 +26,9 @@ class Spoom::Cli::Deadcode < ::Thor sig { params(paths: ::String).void } def deadcode(*paths); end + # source://spoom//lib/spoom/cli.rb#72 + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/deadcode.rb#154 def remove(location_string); end end @@ -132,13 +135,13 @@ class Spoom::Cli::Main < ::Thor # source://spoom//lib/spoom/cli.rb#65 def coverage(*args); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli.rb#72 def deadcode(*args); end # source://spoom//lib/spoom/cli.rb#75 def lsp(*args); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli.rb#22 def srb(*args); end # source://spoom//lib/spoom/cli.rb#94 @@ -173,6 +176,9 @@ class Spoom::Cli::Srb::Bump < ::Thor sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/srb.rb#21 + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/srb/bump.rb#171 def print_changes(files, command:, from: T.unsafe(nil), to: T.unsafe(nil), dry: T.unsafe(nil), path: T.unsafe(nil)); end @@ -188,6 +194,9 @@ class Spoom::Cli::Srb::Coverage < ::Thor # source://spoom//lib/spoom/cli/srb/coverage.rb#199 def bundle_install(path, sha); end + # source://spoom//lib/spoom/cli/srb.rb#18 + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/srb/coverage.rb#211 def message_no_data(file); end @@ -225,6 +234,9 @@ class Spoom::Cli::Srb::LSP < ::Thor # source://spoom//lib/spoom/cli/srb/lsp.rb#55 def find(query); end + # source://spoom//lib/spoom/cli/srb.rb#15 + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + # TODO: options, filter, limit, kind etc.. filter rbi # # source://spoom//lib/spoom/cli/srb/lsp.rb#31 @@ -270,21 +282,22 @@ end # source://spoom//lib/spoom/cli/srb.rb#13 class Spoom::Cli::Srb::Main < ::Thor - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#21 def bump(*args); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#18 def coverage(*args); end + # source://spoom//lib/spoom/cli.rb#22 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#15 def lsp(*args); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#24 def sigs(*args); end - # source://thor/1.3.2/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#27 def tc(*args); end end @@ -296,6 +309,7 @@ class Spoom::Cli::Srb::Sigs < ::Thor # source://spoom//lib/spoom/cli/srb/sigs.rb#45 def collect_files(paths); end + # source://spoom//lib/spoom/cli/srb.rb#24 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # source://spoom//lib/spoom/cli/srb/sigs.rb#32 @@ -319,6 +333,9 @@ class Spoom::Cli::Srb::Tc < ::Thor # source://spoom//lib/spoom/cli/srb/tc.rb#123 def format_error(error, format); end + # source://spoom//lib/spoom/cli/srb.rb#27 + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/srb/tc.rb#27 def tc(*paths_to_select); end end @@ -1015,11 +1032,6 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :true, ::String prop :strict, ::String prop :strong, ::String - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. @@ -1356,9 +1368,6 @@ class Spoom::Coverage::Snapshot < ::T::Struct # source://spoom//lib/spoom/coverage/snapshot.rb#52 sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -1491,11 +1500,6 @@ class Spoom::Deadcode::Definition < ::T::Struct # source://spoom//lib/spoom/deadcode/definition.rb#100 sig { params(args: T.untyped).returns(::String) } def to_json(*args); end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom/deadcode/definition.rb#10 @@ -2379,11 +2383,6 @@ class Spoom::Deadcode::Send < ::T::Struct # source://spoom//lib/spoom/deadcode/send.rb#29 sig { params(block: T.proc.params(key: ::Prism::Node, value: T.nilable(::Prism::Node)).void).void } def each_arg_assoc(&block); end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom.rb#12 @@ -2399,11 +2398,6 @@ class Spoom::ExecResult < ::T::Struct # source://spoom//lib/spoom/context/exec.rb#14 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom/file_collector.rb#5 @@ -2597,11 +2591,6 @@ class Spoom::FileTree::Node < ::T::Struct # source://spoom//lib/spoom/file_tree.rb#92 sig { returns(::String) } def path; end - - class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - end end # An internal class used to print a FileTree @@ -2665,9 +2654,6 @@ class Spoom::Git::Commit < ::T::Struct def timestamp; end class << self - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - # Parse a line formatted as `%h %at` into a `Commit` # # source://spoom//lib/spoom/context/git.rb#14 @@ -2776,9 +2762,6 @@ class Spoom::LSP::Diagnostic < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#191 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2809,9 +2792,6 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#227 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2867,9 +2847,6 @@ class Spoom::LSP::Hover < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#30 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2892,9 +2869,6 @@ class Spoom::LSP::Location < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#123 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2955,9 +2929,6 @@ class Spoom::LSP::Position < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#61 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2993,9 +2964,6 @@ class Spoom::LSP::Range < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#91 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -3059,9 +3027,6 @@ class Spoom::LSP::SignatureHelp < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#155 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end end end @@ -3486,9 +3451,6 @@ class Spoom::Model::Reference < ::T::Struct sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://sorbet-runtime/0.5.11781/lib/types/struct.rb#13 - def inherited(s); end - # source://spoom//lib/spoom/model/reference.rb#29 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def method(name, location); end diff --git a/sorbet/rbi/gems/sprockets@4.2.1.rbi b/sorbet/rbi/gems/sprockets@4.2.1.rbi index 376731562..4da22f386 100644 --- a/sorbet/rbi/gems/sprockets@4.2.1.rbi +++ b/sorbet/rbi/gems/sprockets@4.2.1.rbi @@ -83,7 +83,7 @@ class Sprockets::Asset # # @return [Boolean] # - # source://sprockets//lib/sprockets/asset.rb#207 + # source://sprockets//lib/sprockets/asset.rb#210 def ==(other); end # Public: Returns String base64 digest of source. @@ -93,7 +93,7 @@ class Sprockets::Asset # Public: Returns Integer length of source. # - # source://sprockets//lib/sprockets/asset.rb#120 + # source://sprockets//lib/sprockets/asset.rb#123 def bytesize; end # Public: Get charset of source. @@ -394,7 +394,7 @@ class Sprockets::Base # # @raise [NotImplementedError] # - # source://sprockets//lib/sprockets/base.rb#53 + # source://sprockets//lib/sprockets/base.rb#56 def index; end # Pretty inspect @@ -924,7 +924,7 @@ class Sprockets::CachedEnvironment < ::Sprockets::Base # No-op return self as cached environment. # - # source://sprockets//lib/sprockets/cached_environment.rb#27 + # source://sprockets//lib/sprockets/cached_environment.rb#30 def index; end # Internal: Cache Environment#load @@ -1395,7 +1395,7 @@ class Sprockets::Context # current file is `app/javascripts/foo/bar.js`, `load_path` would # return `app/javascripts`. # - # source://sprockets//lib/sprockets/context.rb#73 + # source://sprockets//lib/sprockets/context.rb#74 def root_path; end # `stub_asset` blacklists `path` from being included in the bundle. @@ -1488,7 +1488,7 @@ module Sprockets::Dependencies # # Returns nothing. # - # source://sprockets//lib/sprockets/dependencies.rb#48 + # source://sprockets//lib/sprockets/dependencies.rb#53 def depend_on(uri); end # Public: Default set of dependency URIs for assets. @@ -2211,7 +2211,7 @@ class Sprockets::Environment < ::Sprockets::Base # faster. This behavior is ideal in production since the file # system only changes between deploys. # - # source://sprockets//lib/sprockets/environment.rb#25 + # source://sprockets//lib/sprockets/environment.rb#28 def index; end # source://sprockets//lib/sprockets/environment.rb#42 @@ -2778,7 +2778,7 @@ class Sprockets::Manifest # Returns the value of attribute directory. # - # source://sprockets//lib/sprockets/manifest.rb#80 + # source://sprockets//lib/sprockets/manifest.rb#81 def dir; end # Returns the value of attribute directory. @@ -2828,7 +2828,7 @@ class Sprockets::Manifest # Returns String path to manifest.json file. # - # source://sprockets//lib/sprockets/manifest.rb#77 + # source://sprockets//lib/sprockets/manifest.rb#78 def path; end # Removes file from directory and from manifest. `filename` must @@ -3462,7 +3462,7 @@ module Sprockets::Processing # Preprocessors are ran before Postprocessors and Engine # processors. # - # source://sprockets//lib/sprockets/processing.rb#33 + # source://sprockets//lib/sprockets/processing.rb#36 def processors; end # Public: Register bundle metadata reducer function. @@ -3539,7 +3539,7 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#53 + # source://sprockets//lib/sprockets/processing.rb#57 def register_processor(*args, &block); end # Remove Bundle Processor `klass` for `mime_type`. @@ -3567,7 +3567,7 @@ module Sprockets::Processing # # unregister_preprocessor 'text/css', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#78 + # source://sprockets//lib/sprockets/processing.rb#82 def unregister_processor(*args); end protected @@ -4705,41 +4705,62 @@ class Sprockets::Transformers::Transformer < ::Struct # Returns the value of attribute from # # @return [Object] the current value of from + # + # source://sprockets//lib/sprockets/transformers.rb#22 def from; end # Sets the attribute from # # @param value [Object] the value to set the attribute from to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def from=(_); end # Returns the value of attribute proc # # @return [Object] the current value of proc + # + # source://sprockets//lib/sprockets/transformers.rb#22 def proc; end # Sets the attribute proc # # @param value [Object] the value to set the attribute proc to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def proc=(_); end # Returns the value of attribute to # # @return [Object] the current value of to + # + # source://sprockets//lib/sprockets/transformers.rb#22 def to; end # Sets the attribute to # # @param value [Object] the value to set the attribute to to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def to=(_); end class << self + # source://sprockets//lib/sprockets/transformers.rb#22 def [](*_arg0); end + + # source://sprockets//lib/sprockets/transformers.rb#22 def inspect; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def keyword_init?; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def members; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/sqlite3@2.5.0.rbi b/sorbet/rbi/gems/sqlite3@2.5.0.rbi index dfb715839..9d69e9262 100644 --- a/sorbet/rbi/gems/sqlite3@2.5.0.rbi +++ b/sorbet/rbi/gems/sqlite3@2.5.0.rbi @@ -12,7 +12,7 @@ module Process extend ::ActiveSupport::ForkTracker::ModernCoreExt end -# source://sqlite3/lib/sqlite3/constants.rb#1 +# source://sqlite3//lib/sqlite3/constants.rb#1 module SQLite3 class << self def libversion; end @@ -24,15 +24,15 @@ module SQLite3 # # @return [Boolean] # - # source://sqlite3/lib/sqlite3.rb#14 + # source://sqlite3//lib/sqlite3.rb#14 def threadsafe?; end end end -# source://sqlite3/lib/sqlite3/errors.rb#43 +# source://sqlite3//lib/sqlite3/errors.rb#43 class SQLite3::AbortException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#81 +# source://sqlite3//lib/sqlite3/errors.rb#81 class SQLite3::AuthorizationException < ::SQLite3::Exception; end class SQLite3::Backup @@ -46,13 +46,13 @@ end class SQLite3::Blob < ::String; end -# source://sqlite3/lib/sqlite3/errors.rb#45 +# source://sqlite3//lib/sqlite3/errors.rb#45 class SQLite3::BusyException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#63 +# source://sqlite3//lib/sqlite3/errors.rb#63 class SQLite3::CantOpenException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/constants.rb#2 +# source://sqlite3//lib/sqlite3/constants.rb#2 module SQLite3::Constants; end # CAPI3REF: Fundamental Datatypes @@ -69,22 +69,22 @@ module SQLite3::Constants; end # # These constants are codes for each of those types. # -# source://sqlite3/lib/sqlite3/constants.rb#39 +# source://sqlite3//lib/sqlite3/constants.rb#39 module SQLite3::Constants::ColumnType; end -# source://sqlite3/lib/sqlite3/constants.rb#43 +# source://sqlite3//lib/sqlite3/constants.rb#43 SQLite3::Constants::ColumnType::BLOB = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/constants.rb#41 +# source://sqlite3//lib/sqlite3/constants.rb#41 SQLite3::Constants::ColumnType::FLOAT = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/constants.rb#40 +# source://sqlite3//lib/sqlite3/constants.rb#40 SQLite3::Constants::ColumnType::INTEGER = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/constants.rb#44 +# source://sqlite3//lib/sqlite3/constants.rb#44 SQLite3::Constants::ColumnType::NULL = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/constants.rb#42 +# source://sqlite3//lib/sqlite3/constants.rb#42 SQLite3::Constants::ColumnType::TEXT = T.let(T.unsafe(nil), Integer) # CAPI3REF: Result Codes @@ -94,162 +94,162 @@ SQLite3::Constants::ColumnType::TEXT = T.let(T.unsafe(nil), Integer) # # New error codes may be added in future versions of SQLite. # -# source://sqlite3/lib/sqlite3/constants.rb#55 +# source://sqlite3//lib/sqlite3/constants.rb#55 module SQLite3::Constants::ErrorCode; end # Callback routine requested an abort # -# source://sqlite3/lib/sqlite3/constants.rb#65 +# source://sqlite3//lib/sqlite3/constants.rb#65 SQLite3::Constants::ErrorCode::ABORT = T.let(T.unsafe(nil), Integer) # Authorization denied # -# source://sqlite3/lib/sqlite3/constants.rb#103 +# source://sqlite3//lib/sqlite3/constants.rb#103 SQLite3::Constants::ErrorCode::AUTH = T.let(T.unsafe(nil), Integer) # The database file is locked # -# source://sqlite3/lib/sqlite3/constants.rb#67 +# source://sqlite3//lib/sqlite3/constants.rb#67 SQLite3::Constants::ErrorCode::BUSY = T.let(T.unsafe(nil), Integer) # Unable to open the database file # -# source://sqlite3/lib/sqlite3/constants.rb#85 +# source://sqlite3//lib/sqlite3/constants.rb#85 SQLite3::Constants::ErrorCode::CANTOPEN = T.let(T.unsafe(nil), Integer) # Abort due to constraint violation # -# source://sqlite3/lib/sqlite3/constants.rb#95 +# source://sqlite3//lib/sqlite3/constants.rb#95 SQLite3::Constants::ErrorCode::CONSTRAINT = T.let(T.unsafe(nil), Integer) # The database disk image is malformed # -# source://sqlite3/lib/sqlite3/constants.rb#79 +# source://sqlite3//lib/sqlite3/constants.rb#79 SQLite3::Constants::ErrorCode::CORRUPT = T.let(T.unsafe(nil), Integer) # sqlite_step() has finished executing # -# source://sqlite3/lib/sqlite3/constants.rb#117 +# source://sqlite3//lib/sqlite3/constants.rb#117 SQLite3::Constants::ErrorCode::DONE = T.let(T.unsafe(nil), Integer) # (Internal Only) Database table is empty # -# source://sqlite3/lib/sqlite3/constants.rb#89 +# source://sqlite3//lib/sqlite3/constants.rb#89 SQLite3::Constants::ErrorCode::EMPTY = T.let(T.unsafe(nil), Integer) # SQL error or missing database # -# source://sqlite3/lib/sqlite3/constants.rb#59 +# source://sqlite3//lib/sqlite3/constants.rb#59 SQLite3::Constants::ErrorCode::ERROR = T.let(T.unsafe(nil), Integer) # Not used # -# source://sqlite3/lib/sqlite3/constants.rb#105 +# source://sqlite3//lib/sqlite3/constants.rb#105 SQLite3::Constants::ErrorCode::FORMAT = T.let(T.unsafe(nil), Integer) # Insertion failed because database is full # -# source://sqlite3/lib/sqlite3/constants.rb#83 +# source://sqlite3//lib/sqlite3/constants.rb#83 SQLite3::Constants::ErrorCode::FULL = T.let(T.unsafe(nil), Integer) # An internal logic error in SQLite # -# source://sqlite3/lib/sqlite3/constants.rb#61 +# source://sqlite3//lib/sqlite3/constants.rb#61 SQLite3::Constants::ErrorCode::INTERNAL = T.let(T.unsafe(nil), Integer) # Operation terminated by sqlite_interrupt() # -# source://sqlite3/lib/sqlite3/constants.rb#75 +# source://sqlite3//lib/sqlite3/constants.rb#75 SQLite3::Constants::ErrorCode::INTERRUPT = T.let(T.unsafe(nil), Integer) # Some kind of disk I/O error occurred # -# source://sqlite3/lib/sqlite3/constants.rb#77 +# source://sqlite3//lib/sqlite3/constants.rb#77 SQLite3::Constants::ErrorCode::IOERR = T.let(T.unsafe(nil), Integer) # A table in the database is locked # -# source://sqlite3/lib/sqlite3/constants.rb#69 +# source://sqlite3//lib/sqlite3/constants.rb#69 SQLite3::Constants::ErrorCode::LOCKED = T.let(T.unsafe(nil), Integer) # Data type mismatch # -# source://sqlite3/lib/sqlite3/constants.rb#97 +# source://sqlite3//lib/sqlite3/constants.rb#97 SQLite3::Constants::ErrorCode::MISMATCH = T.let(T.unsafe(nil), Integer) # Library used incorrectly # -# source://sqlite3/lib/sqlite3/constants.rb#99 +# source://sqlite3//lib/sqlite3/constants.rb#99 SQLite3::Constants::ErrorCode::MISUSE = T.let(T.unsafe(nil), Integer) # Uses OS features not supported on host # -# source://sqlite3/lib/sqlite3/constants.rb#101 +# source://sqlite3//lib/sqlite3/constants.rb#101 SQLite3::Constants::ErrorCode::NOLFS = T.let(T.unsafe(nil), Integer) # A malloc() failed # -# source://sqlite3/lib/sqlite3/constants.rb#71 +# source://sqlite3//lib/sqlite3/constants.rb#71 SQLite3::Constants::ErrorCode::NOMEM = T.let(T.unsafe(nil), Integer) # File opened that is not a database file # -# source://sqlite3/lib/sqlite3/constants.rb#109 +# source://sqlite3//lib/sqlite3/constants.rb#109 SQLite3::Constants::ErrorCode::NOTADB = T.let(T.unsafe(nil), Integer) # (Internal Only) Table or record not found # -# source://sqlite3/lib/sqlite3/constants.rb#81 +# source://sqlite3//lib/sqlite3/constants.rb#81 SQLite3::Constants::ErrorCode::NOTFOUND = T.let(T.unsafe(nil), Integer) # Notifications from sqlite3_log() # -# source://sqlite3/lib/sqlite3/constants.rb#111 +# source://sqlite3//lib/sqlite3/constants.rb#111 SQLite3::Constants::ErrorCode::NOTICE = T.let(T.unsafe(nil), Integer) # Successful result # -# source://sqlite3/lib/sqlite3/constants.rb#57 +# source://sqlite3//lib/sqlite3/constants.rb#57 SQLite3::Constants::ErrorCode::OK = T.let(T.unsafe(nil), Integer) # Access permission denied # -# source://sqlite3/lib/sqlite3/constants.rb#63 +# source://sqlite3//lib/sqlite3/constants.rb#63 SQLite3::Constants::ErrorCode::PERM = T.let(T.unsafe(nil), Integer) # Database lock protocol error # -# source://sqlite3/lib/sqlite3/constants.rb#87 +# source://sqlite3//lib/sqlite3/constants.rb#87 SQLite3::Constants::ErrorCode::PROTOCOL = T.let(T.unsafe(nil), Integer) # 2nd parameter to sqlite3_bind out of range # -# source://sqlite3/lib/sqlite3/constants.rb#107 +# source://sqlite3//lib/sqlite3/constants.rb#107 SQLite3::Constants::ErrorCode::RANGE = T.let(T.unsafe(nil), Integer) # Attempt to write a readonly database # -# source://sqlite3/lib/sqlite3/constants.rb#73 +# source://sqlite3//lib/sqlite3/constants.rb#73 SQLite3::Constants::ErrorCode::READONLY = T.let(T.unsafe(nil), Integer) # sqlite_step() has another row ready # -# source://sqlite3/lib/sqlite3/constants.rb#115 +# source://sqlite3//lib/sqlite3/constants.rb#115 SQLite3::Constants::ErrorCode::ROW = T.let(T.unsafe(nil), Integer) # The database schema changed # -# source://sqlite3/lib/sqlite3/constants.rb#91 +# source://sqlite3//lib/sqlite3/constants.rb#91 SQLite3::Constants::ErrorCode::SCHEMA = T.let(T.unsafe(nil), Integer) # Too much data for one row of a table # -# source://sqlite3/lib/sqlite3/constants.rb#93 +# source://sqlite3//lib/sqlite3/constants.rb#93 SQLite3::Constants::ErrorCode::TOOBIG = T.let(T.unsafe(nil), Integer) # Warnings from sqlite3_log() # -# source://sqlite3/lib/sqlite3/constants.rb#113 +# source://sqlite3//lib/sqlite3/constants.rb#113 SQLite3::Constants::ErrorCode::WARNING = T.let(T.unsafe(nil), Integer) module SQLite3::Constants::Open; end @@ -275,38 +275,38 @@ SQLite3::Constants::Open::TRANSIENT_DB = T.let(T.unsafe(nil), Integer) SQLite3::Constants::Open::URI = T.let(T.unsafe(nil), Integer) SQLite3::Constants::Open::WAL = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/constants.rb#174 +# source://sqlite3//lib/sqlite3/constants.rb#174 module SQLite3::Constants::Optimize; end # Run ANALYZE on tables that might benefit. On by default. # -# source://sqlite3/lib/sqlite3/constants.rb#180 +# source://sqlite3//lib/sqlite3/constants.rb#180 SQLite3::Constants::Optimize::ANALYZE_TABLES = T.let(T.unsafe(nil), Integer) # Check the size of all tables, not just tables that have not been recently used, to see if # any have grown and shrunk significantly and hence might benefit from being re-analyzed. Off # by default. # -# source://sqlite3/lib/sqlite3/constants.rb#189 +# source://sqlite3//lib/sqlite3/constants.rb#189 SQLite3::Constants::Optimize::CHECK_ALL_TABLES = T.let(T.unsafe(nil), Integer) # Debugging mode. Do not actually perform any optimizations but instead return one line of # text for each optimization that would have been done. Off by default. # -# source://sqlite3/lib/sqlite3/constants.rb#177 +# source://sqlite3//lib/sqlite3/constants.rb#177 SQLite3::Constants::Optimize::DEBUG = T.let(T.unsafe(nil), Integer) # Useful for adding a bit to the default behavior, for example # # db.optimize(Optimize::DEFAULT | Optimize::CHECK_ALL_TABLES) # -# source://sqlite3/lib/sqlite3/constants.rb#195 +# source://sqlite3//lib/sqlite3/constants.rb#195 SQLite3::Constants::Optimize::DEFAULT = T.let(T.unsafe(nil), Integer) # When running ANALYZE, set a temporary PRAGMA analysis_limit to prevent excess run-time. On # by default. # -# source://sqlite3/lib/sqlite3/constants.rb#184 +# source://sqlite3//lib/sqlite3/constants.rb#184 SQLite3::Constants::Optimize::LIMIT_ANALYZE = T.let(T.unsafe(nil), Integer) # CAPI3REF: Status Parameters @@ -314,12 +314,12 @@ SQLite3::Constants::Optimize::LIMIT_ANALYZE = T.let(T.unsafe(nil), Integer) # These integer constants designate various run-time status parameters # that can be returned by SQLite3.status # -# source://sqlite3/lib/sqlite3/constants.rb#126 +# source://sqlite3//lib/sqlite3/constants.rb#126 module SQLite3::Constants::Status; end # This parameter records the number of separate memory allocations currently checked out. # -# source://sqlite3/lib/sqlite3/constants.rb#171 +# source://sqlite3//lib/sqlite3/constants.rb#171 SQLite3::Constants::Status::MALLOC_COUNT = T.let(T.unsafe(nil), Integer) # This parameter records the largest memory allocation request handed to sqlite3_malloc() or @@ -327,7 +327,7 @@ SQLite3::Constants::Status::MALLOC_COUNT = T.let(T.unsafe(nil), Integer) # *pHighwater parameter to sqlite3_status() is of interest. The value written into the # *pCurrent parameter is undefined. # -# source://sqlite3/lib/sqlite3/constants.rb#155 +# source://sqlite3//lib/sqlite3/constants.rb#155 SQLite3::Constants::Status::MALLOC_SIZE = T.let(T.unsafe(nil), Integer) # This parameter is the current amount of memory checked out using sqlite3_malloc(), either @@ -336,7 +336,7 @@ SQLite3::Constants::Status::MALLOC_SIZE = T.let(T.unsafe(nil), Integer) # controlled by SQLITE_CONFIG_PAGECACHE is not included in this parameter. The amount returned # is the sum of the allocation sizes as reported by the xSize method in sqlite3_mem_methods. # -# source://sqlite3/lib/sqlite3/constants.rb#132 +# source://sqlite3//lib/sqlite3/constants.rb#132 SQLite3::Constants::Status::MEMORY_USED = T.let(T.unsafe(nil), Integer) # This parameter returns the number of bytes of page cache allocation which could not be @@ -345,42 +345,42 @@ SQLite3::Constants::Status::MEMORY_USED = T.let(T.unsafe(nil), Integer) # too large (they were larger than the "sz" parameter to SQLITE_CONFIG_PAGECACHE) and # allocations that overflowed because no space was left in the page cache. # -# source://sqlite3/lib/sqlite3/constants.rb#143 +# source://sqlite3//lib/sqlite3/constants.rb#143 SQLite3::Constants::Status::PAGECACHE_OVERFLOW = T.let(T.unsafe(nil), Integer) # This parameter records the largest memory allocation request handed to the pagecache memory # allocator. Only the value returned in the *pHighwater parameter to sqlite3_status() is of # interest. The value written into the *pCurrent parameter is undefined. # -# source://sqlite3/lib/sqlite3/constants.rb#165 +# source://sqlite3//lib/sqlite3/constants.rb#165 SQLite3::Constants::Status::PAGECACHE_SIZE = T.let(T.unsafe(nil), Integer) # This parameter returns the number of pages used out of the pagecache memory allocator that # was configured using SQLITE_CONFIG_PAGECACHE. The value returned is in pages, not in bytes. # -# source://sqlite3/lib/sqlite3/constants.rb#136 +# source://sqlite3//lib/sqlite3/constants.rb#136 SQLite3::Constants::Status::PAGECACHE_USED = T.let(T.unsafe(nil), Integer) # The *pHighwater parameter records the deepest parser stack. The *pCurrent value is # undefined. The *pHighwater value is only meaningful if SQLite is compiled with # YYTRACKMAXSTACKDEPTH. # -# source://sqlite3/lib/sqlite3/constants.rb#160 +# source://sqlite3//lib/sqlite3/constants.rb#160 SQLite3::Constants::Status::PARSER_STACK = T.let(T.unsafe(nil), Integer) # NOT USED # -# source://sqlite3/lib/sqlite3/constants.rb#149 +# source://sqlite3//lib/sqlite3/constants.rb#149 SQLite3::Constants::Status::SCRATCH_OVERFLOW = T.let(T.unsafe(nil), Integer) # NOT USED # -# source://sqlite3/lib/sqlite3/constants.rb#168 +# source://sqlite3//lib/sqlite3/constants.rb#168 SQLite3::Constants::Status::SCRATCH_SIZE = T.let(T.unsafe(nil), Integer) # NOT USED # -# source://sqlite3/lib/sqlite3/constants.rb#146 +# source://sqlite3//lib/sqlite3/constants.rb#146 SQLite3::Constants::Status::SCRATCH_USED = T.let(T.unsafe(nil), Integer) # CAPI3REF: Text Encodings @@ -388,43 +388,43 @@ SQLite3::Constants::Status::SCRATCH_USED = T.let(T.unsafe(nil), Integer) # These constant define integer codes that represent the various # text encodings supported by SQLite. # -# source://sqlite3/lib/sqlite3/constants.rb#9 +# source://sqlite3//lib/sqlite3/constants.rb#9 module SQLite3::Constants::TextRep; end # Deprecated # -# source://sqlite3/lib/sqlite3/constants.rb#19 +# source://sqlite3//lib/sqlite3/constants.rb#19 SQLite3::Constants::TextRep::ANY = T.let(T.unsafe(nil), Integer) # sqlite3_create_collation only # -# source://sqlite3/lib/sqlite3/constants.rb#21 +# source://sqlite3//lib/sqlite3/constants.rb#21 SQLite3::Constants::TextRep::DETERMINISTIC = T.let(T.unsafe(nil), Integer) # Use native byte order # -# source://sqlite3/lib/sqlite3/constants.rb#17 +# source://sqlite3//lib/sqlite3/constants.rb#17 SQLite3::Constants::TextRep::UTF16 = T.let(T.unsafe(nil), Integer) # IMP: R-51971-34154 # -# source://sqlite3/lib/sqlite3/constants.rb#15 +# source://sqlite3//lib/sqlite3/constants.rb#15 SQLite3::Constants::TextRep::UTF16BE = T.let(T.unsafe(nil), Integer) # IMP: R-03371-37637 # -# source://sqlite3/lib/sqlite3/constants.rb#13 +# source://sqlite3//lib/sqlite3/constants.rb#13 SQLite3::Constants::TextRep::UTF16LE = T.let(T.unsafe(nil), Integer) # IMP: R-37514-35566 # -# source://sqlite3/lib/sqlite3/constants.rb#11 +# source://sqlite3//lib/sqlite3/constants.rb#11 SQLite3::Constants::TextRep::UTF8 = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/errors.rb#73 +# source://sqlite3//lib/sqlite3/errors.rb#73 class SQLite3::ConstraintException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#57 +# source://sqlite3//lib/sqlite3/errors.rb#57 class SQLite3::CorruptException < ::SQLite3::Exception; end # == Overview @@ -502,7 +502,7 @@ class SQLite3::CorruptException < ::SQLite3::Exception; end # - .sqlpkg/nalgeon/crypto/crypto.so # a filesystem path # - <%= SQLean::UUID.to_path %> # or ruby code returning a path # -# source://sqlite3/lib/sqlite3/database.rb#86 +# source://sqlite3//lib/sqlite3/database.rb#86 class SQLite3::Database include ::SQLite3::Pragmas @@ -528,7 +528,7 @@ class SQLite3::Database # # @return [Database] a new instance of Database # - # source://sqlite3/lib/sqlite3/database.rb#141 + # source://sqlite3//lib/sqlite3/database.rb#141 def initialize(file, options = T.unsafe(nil), zvfs = T.unsafe(nil)); end # Installs (or removes) a block that will be invoked for every access @@ -536,7 +536,7 @@ class SQLite3::Database # is allowed to proceed. Returning 1 causes an authorization error to # occur, and returning 2 causes the access to be silently denied. # - # source://sqlite3/lib/sqlite3/database.rb#206 + # source://sqlite3//lib/sqlite3/database.rb#206 def authorizer(&block); end def authorizer=(_arg0); end @@ -544,7 +544,7 @@ class SQLite3::Database # Given a statement, return a result set. # This is not intended for general consumption # - # source://sqlite3/lib/sqlite3/database.rb#789 + # source://sqlite3//lib/sqlite3/database.rb#789 def build_result_set(stmt); end def busy_handler(*_arg0); end @@ -554,10 +554,12 @@ class SQLite3::Database # This is an alternative to #busy_timeout, which holds the GVL # while SQLite sleeps and retries. # - # source://sqlite3/lib/sqlite3/database.rb#692 + # source://sqlite3//lib/sqlite3/database.rb#692 def busy_handler_timeout=(milliseconds); end + # source://sqlite3//lib/sqlite3/database.rb#386 def busy_timeout(_arg0); end + def busy_timeout=(_arg0); end def changes; end def close; end @@ -566,7 +568,7 @@ class SQLite3::Database # Returns the value of attribute collations. # - # source://sqlite3/lib/sqlite3/database.rb#87 + # source://sqlite3//lib/sqlite3/database.rb#87 def collations; end # Commits the current transaction. If there is no current transaction, @@ -574,7 +576,7 @@ class SQLite3::Database # to allow it to be used in idioms like # abort? and rollback or commit. # - # source://sqlite3/lib/sqlite3/database.rb#668 + # source://sqlite3//lib/sqlite3/database.rb#668 def commit; end def complete?(_arg0); end @@ -616,7 +618,7 @@ class SQLite3::Database # See also #create_aggregate_handler for a more object-oriented approach to # aggregate functions. # - # source://sqlite3/lib/sqlite3/database.rb#456 + # source://sqlite3//lib/sqlite3/database.rb#456 def create_aggregate(name, arity, step = T.unsafe(nil), finalize = T.unsafe(nil), text_rep = T.unsafe(nil), &block); end # This is another approach to creating an aggregate function (see @@ -667,7 +669,7 @@ class SQLite3::Database # db.create_aggregate_handler( LengthsAggregateHandler ) # puts db.get_first_value( "select lengths(name) from A" ) # - # source://sqlite3/lib/sqlite3/database.rb#554 + # source://sqlite3//lib/sqlite3/database.rb#554 def create_aggregate_handler(handler); end # Creates a new function for use in SQL statements. It will be added as @@ -694,7 +696,7 @@ class SQLite3::Database # # puts db.get_first_value( "select maim(name) from table" ) # - # source://sqlite3/lib/sqlite3/database.rb#411 + # source://sqlite3//lib/sqlite3/database.rb#411 def create_function(name, arity, text_rep = T.unsafe(nil), &block); end # Define an aggregate function named +name+ using a object template @@ -708,7 +710,7 @@ class SQLite3::Database # already provide a suitable +clone+. # The functions arity is the arity of the +step+ method. # - # source://sqlite3/lib/sqlite3/database.rb#591 + # source://sqlite3//lib/sqlite3/database.rb#591 def define_aggregator(name, aggregator); end def define_function(_arg0); end @@ -719,7 +721,7 @@ class SQLite3::Database # # Fetch the encoding set on this database # - # source://sqlite3/lib/sqlite3/database.rb#198 + # source://sqlite3//lib/sqlite3/database.rb#198 def encoding; end def errcode; end @@ -740,7 +742,7 @@ class SQLite3::Database # See also #execute2, #query, and #execute_batch for additional ways of # executing statements. # - # source://sqlite3/lib/sqlite3/database.rb#247 + # source://sqlite3//lib/sqlite3/database.rb#247 def execute(sql, bind_vars = T.unsafe(nil), &block); end # Executes the given SQL statement, exactly as with #execute. However, the @@ -754,7 +756,7 @@ class SQLite3::Database # See also #execute, #query, and #execute_batch for additional ways of # executing statements. # - # source://sqlite3/lib/sqlite3/database.rb#272 + # source://sqlite3//lib/sqlite3/database.rb#272 def execute2(sql, *bind_vars); end # Executes all SQL statements in the given string. By contrast, the other @@ -768,7 +770,7 @@ class SQLite3::Database # See also #execute_batch2 for additional ways of # executing statements. # - # source://sqlite3/lib/sqlite3/database.rb#296 + # source://sqlite3//lib/sqlite3/database.rb#296 def execute_batch(sql, bind_vars = T.unsafe(nil)); end # Executes all SQL statements in the given string. By contrast, the other @@ -785,7 +787,7 @@ class SQLite3::Database # See also #execute_batch for additional ways of # executing statements. # - # source://sqlite3/lib/sqlite3/database.rb#329 + # source://sqlite3//lib/sqlite3/database.rb#329 def execute_batch2(sql, &block); end def extended_result_codes=(_arg0); end @@ -794,7 +796,7 @@ class SQLite3::Database # to "main". Main return `nil` or an empty string if the database is # temporary or in-memory. # - # source://sqlite3/lib/sqlite3/database.rb#229 + # source://sqlite3//lib/sqlite3/database.rb#229 def filename(db_name = T.unsafe(nil)); end # A convenience method for obtaining the first row of a result set, and @@ -802,7 +804,7 @@ class SQLite3::Database # # See also #get_first_value. # - # source://sqlite3/lib/sqlite3/database.rb#368 + # source://sqlite3//lib/sqlite3/database.rb#368 def get_first_row(sql, *bind_vars); end # A convenience method for obtaining the first value of the first row of a @@ -811,12 +813,12 @@ class SQLite3::Database # # See also #get_first_row. # - # source://sqlite3/lib/sqlite3/database.rb#377 + # source://sqlite3//lib/sqlite3/database.rb#377 def get_first_value(sql, *bind_vars); end # @raise [TypeError] # - # source://sqlite3/lib/sqlite3/database.rb#737 + # source://sqlite3//lib/sqlite3/database.rb#737 def initialize_extensions(extensions); end def interrupt; end @@ -843,7 +845,7 @@ class SQLite3::Database # # db.load_extension(SQLean::VSV) # - # source://sqlite3/lib/sqlite3/database.rb#728 + # source://sqlite3//lib/sqlite3/database.rb#728 def load_extension(extension_specifier); end # Returns a Statement object representing the given SQL. This does not @@ -851,7 +853,7 @@ class SQLite3::Database # # The Statement can then be executed using Statement#execute. # - # source://sqlite3/lib/sqlite3/database.rb#215 + # source://sqlite3//lib/sqlite3/database.rb#215 def prepare(sql); end # This is a convenience method for creating a statement, binding @@ -866,7 +868,7 @@ class SQLite3::Database # with a block, +close+ will be invoked implicitly when the block # terminates. # - # source://sqlite3/lib/sqlite3/database.rb#351 + # source://sqlite3//lib/sqlite3/database.rb#351 def query(sql, bind_vars = T.unsafe(nil)); end # Returns +true+ if the database has been open in readonly mode @@ -874,19 +876,19 @@ class SQLite3::Database # # @return [Boolean] # - # source://sqlite3/lib/sqlite3/database.rb#684 + # source://sqlite3//lib/sqlite3/database.rb#684 def readonly?; end # A boolean that indicates whether rows in result sets should be returned # as hashes or not. By default, rows are returned as arrays. # - # source://sqlite3/lib/sqlite3/database.rb#119 + # source://sqlite3//lib/sqlite3/database.rb#119 def results_as_hash; end # A boolean that indicates whether rows in result sets should be returned # as hashes or not. By default, rows are returned as arrays. # - # source://sqlite3/lib/sqlite3/database.rb#119 + # source://sqlite3//lib/sqlite3/database.rb#119 def results_as_hash=(_arg0); end # Rolls the current transaction back. If there is no current transaction, @@ -894,7 +896,7 @@ class SQLite3::Database # to allow it to be used in idioms like # abort? and rollback or commit. # - # source://sqlite3/lib/sqlite3/database.rb#677 + # source://sqlite3//lib/sqlite3/database.rb#677 def rollback; end def statement_timeout=(_arg0); end @@ -920,7 +922,7 @@ class SQLite3::Database # transaction explicitly, either by calling #commit, or by calling # #rollback. # - # source://sqlite3/lib/sqlite3/database.rb#645 + # source://sqlite3//lib/sqlite3/database.rb#645 def transaction(mode = T.unsafe(nil)); end def transaction_active?; end @@ -941,14 +943,14 @@ class SQLite3::Database # With block, like new closes the database at the end, but unlike new # returns the result of the block instead of the database instance. # - # source://sqlite3/lib/sqlite3/database.rb#95 + # source://sqlite3//lib/sqlite3/database.rb#95 def open(*args); end # Quotes the given string, making it safe to use in an SQL statement. # It replaces all instances of the single-quote character with two # single-quote characters. The modified string is returned. # - # source://sqlite3/lib/sqlite3/database.rb#112 + # source://sqlite3//lib/sqlite3/database.rb#112 def quote(string); end end end @@ -962,7 +964,7 @@ end # This class will almost _always_ be instantiated indirectly, by working # with the create methods mentioned above. # -# source://sqlite3/lib/sqlite3/database.rb#761 +# source://sqlite3//lib/sqlite3/database.rb#761 class SQLite3::Database::FunctionProxy # Create a new FunctionProxy that encapsulates the given +func+ object. # If context is non-nil, the functions context will be set to that. If @@ -971,131 +973,131 @@ class SQLite3::Database::FunctionProxy # # @return [FunctionProxy] a new instance of FunctionProxy # - # source://sqlite3/lib/sqlite3/database.rb#768 + # source://sqlite3//lib/sqlite3/database.rb#768 def initialize; end # Returns the value with the given key from the context. This is only # available to aggregate functions. # - # source://sqlite3/lib/sqlite3/database.rb#775 + # source://sqlite3//lib/sqlite3/database.rb#775 def [](key); end # Sets the value with the given key in the context. This is only # available to aggregate functions. # - # source://sqlite3/lib/sqlite3/database.rb#781 + # source://sqlite3//lib/sqlite3/database.rb#781 def []=(key, value); end # Returns the value of attribute result. # - # source://sqlite3/lib/sqlite3/database.rb#762 + # source://sqlite3//lib/sqlite3/database.rb#762 def result; end # Sets the attribute result # # @param value the value to set the attribute result to. # - # source://sqlite3/lib/sqlite3/database.rb#762 + # source://sqlite3//lib/sqlite3/database.rb#762 def result=(_arg0); end end -# source://sqlite3/lib/sqlite3/errors.rb#67 +# source://sqlite3//lib/sqlite3/errors.rb#67 class SQLite3::EmptyException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#4 +# source://sqlite3//lib/sqlite3/errors.rb#4 class SQLite3::Exception < ::StandardError # A convenience for accessing the error code for this exception. # - # source://sqlite3/lib/sqlite3/errors.rb#6 + # source://sqlite3//lib/sqlite3/errors.rb#6 def code; end - # source://sqlite3/lib/sqlite3/errors.rb#15 + # source://sqlite3//lib/sqlite3/errors.rb#15 def message; end # If the error is associated with a SQL query, this is the query # - # source://sqlite3/lib/sqlite3/errors.rb#9 + # source://sqlite3//lib/sqlite3/errors.rb#9 def sql; end # If the error is associated with a particular offset in a SQL query, this is the non-negative # offset. If the offset is not available, this will be -1. # - # source://sqlite3/lib/sqlite3/errors.rb#13 + # source://sqlite3//lib/sqlite3/errors.rb#13 def sql_offset; end private - # source://sqlite3/lib/sqlite3/errors.rb#19 + # source://sqlite3//lib/sqlite3/errors.rb#19 def sql_error; end end # based on Rails's active_support/fork_tracker.rb # -# source://sqlite3/lib/sqlite3/fork_safety.rb#7 +# source://sqlite3//lib/sqlite3/fork_safety.rb#7 module SQLite3::ForkSafety class << self - # source://sqlite3/lib/sqlite3/fork_safety.rb#33 + # source://sqlite3//lib/sqlite3/fork_safety.rb#33 def discard; end - # source://sqlite3/lib/sqlite3/fork_safety.rb#23 + # source://sqlite3//lib/sqlite3/fork_safety.rb#23 def hook!; end # Call to suppress the fork-related warnings. # - # source://sqlite3/lib/sqlite3/fork_safety.rb#59 + # source://sqlite3//lib/sqlite3/fork_safety.rb#59 def suppress_warnings!; end - # source://sqlite3/lib/sqlite3/fork_safety.rb#27 + # source://sqlite3//lib/sqlite3/fork_safety.rb#27 def track(database); end end end -# source://sqlite3/lib/sqlite3/fork_safety.rb#8 +# source://sqlite3//lib/sqlite3/fork_safety.rb#8 module SQLite3::ForkSafety::CoreExt - # source://sqlite3/lib/sqlite3/fork_safety.rb#9 + # source://sqlite3//lib/sqlite3/fork_safety.rb#9 def _fork; end end -# source://sqlite3/lib/sqlite3/errors.rb#83 +# source://sqlite3//lib/sqlite3/errors.rb#83 class SQLite3::FormatException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#61 +# source://sqlite3//lib/sqlite3/errors.rb#61 class SQLite3::FullException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/resultset.rb#93 +# source://sqlite3//lib/sqlite3/resultset.rb#93 class SQLite3::HashResultSet < ::SQLite3::ResultSet - # source://sqlite3/lib/sqlite3/resultset.rb#85 + # source://sqlite3//lib/sqlite3/resultset.rb#94 def next; end end -# source://sqlite3/lib/sqlite3/errors.rb#55 +# source://sqlite3//lib/sqlite3/errors.rb#55 class SQLite3::IOException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#39 +# source://sqlite3//lib/sqlite3/errors.rb#39 class SQLite3::InternalException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#53 +# source://sqlite3//lib/sqlite3/errors.rb#53 class SQLite3::InterruptException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#47 +# source://sqlite3//lib/sqlite3/errors.rb#47 class SQLite3::LockedException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#49 +# source://sqlite3//lib/sqlite3/errors.rb#49 class SQLite3::MemoryException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#75 +# source://sqlite3//lib/sqlite3/errors.rb#75 class SQLite3::MismatchException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#77 +# source://sqlite3//lib/sqlite3/errors.rb#77 class SQLite3::MisuseException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#87 +# source://sqlite3//lib/sqlite3/errors.rb#87 class SQLite3::NotADatabaseException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#59 +# source://sqlite3//lib/sqlite3/errors.rb#59 class SQLite3::NotFoundException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#41 +# source://sqlite3//lib/sqlite3/errors.rb#41 class SQLite3::PermissionException < ::SQLite3::Exception; end # This module is intended for inclusion solely by the Database class. It @@ -1104,228 +1106,228 @@ class SQLite3::PermissionException < ::SQLite3::Exception; end # For a detailed description of these pragmas, see the SQLite3 documentation # at http://sqlite.org/pragma.html. # -# source://sqlite3/lib/sqlite3/pragmas.rb#9 +# source://sqlite3//lib/sqlite3/pragmas.rb#9 module SQLite3::Pragmas - # source://sqlite3/lib/sqlite3/pragmas.rb#101 + # source://sqlite3//lib/sqlite3/pragmas.rb#101 def application_id; end - # source://sqlite3/lib/sqlite3/pragmas.rb#105 + # source://sqlite3//lib/sqlite3/pragmas.rb#105 def application_id=(integer); end - # source://sqlite3/lib/sqlite3/pragmas.rb#109 + # source://sqlite3//lib/sqlite3/pragmas.rb#109 def auto_vacuum; end - # source://sqlite3/lib/sqlite3/pragmas.rb#113 + # source://sqlite3//lib/sqlite3/pragmas.rb#113 def auto_vacuum=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#117 + # source://sqlite3//lib/sqlite3/pragmas.rb#117 def automatic_index; end - # source://sqlite3/lib/sqlite3/pragmas.rb#121 + # source://sqlite3//lib/sqlite3/pragmas.rb#121 def automatic_index=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#125 + # source://sqlite3//lib/sqlite3/pragmas.rb#125 def busy_timeout; end - # source://sqlite3/lib/sqlite3/pragmas.rb#129 + # source://sqlite3//lib/sqlite3/pragmas.rb#129 def busy_timeout=(milliseconds); end - # source://sqlite3/lib/sqlite3/pragmas.rb#133 + # source://sqlite3//lib/sqlite3/pragmas.rb#133 def cache_size; end - # source://sqlite3/lib/sqlite3/pragmas.rb#137 + # source://sqlite3//lib/sqlite3/pragmas.rb#137 def cache_size=(size); end - # source://sqlite3/lib/sqlite3/pragmas.rb#141 + # source://sqlite3//lib/sqlite3/pragmas.rb#141 def cache_spill; end - # source://sqlite3/lib/sqlite3/pragmas.rb#145 + # source://sqlite3//lib/sqlite3/pragmas.rb#145 def cache_spill=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#149 + # source://sqlite3//lib/sqlite3/pragmas.rb#149 def case_sensitive_like=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#153 + # source://sqlite3//lib/sqlite3/pragmas.rb#153 def cell_size_check; end - # source://sqlite3/lib/sqlite3/pragmas.rb#157 + # source://sqlite3//lib/sqlite3/pragmas.rb#157 def cell_size_check=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#161 + # source://sqlite3//lib/sqlite3/pragmas.rb#161 def checkpoint_fullfsync; end - # source://sqlite3/lib/sqlite3/pragmas.rb#165 + # source://sqlite3//lib/sqlite3/pragmas.rb#165 def checkpoint_fullfsync=(mode); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#169 + # source://sqlite3//lib/sqlite3/pragmas.rb#169 def collation_list(&block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#173 + # source://sqlite3//lib/sqlite3/pragmas.rb#173 def compile_options(&block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#177 + # source://sqlite3//lib/sqlite3/pragmas.rb#177 def count_changes; end - # source://sqlite3/lib/sqlite3/pragmas.rb#181 + # source://sqlite3//lib/sqlite3/pragmas.rb#181 def count_changes=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#185 + # source://sqlite3//lib/sqlite3/pragmas.rb#185 def data_version; end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#189 + # source://sqlite3//lib/sqlite3/pragmas.rb#189 def database_list(&block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#193 + # source://sqlite3//lib/sqlite3/pragmas.rb#193 def default_cache_size; end - # source://sqlite3/lib/sqlite3/pragmas.rb#197 + # source://sqlite3//lib/sqlite3/pragmas.rb#197 def default_cache_size=(size); end - # source://sqlite3/lib/sqlite3/pragmas.rb#201 + # source://sqlite3//lib/sqlite3/pragmas.rb#201 def default_synchronous; end - # source://sqlite3/lib/sqlite3/pragmas.rb#205 + # source://sqlite3//lib/sqlite3/pragmas.rb#205 def default_synchronous=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#209 + # source://sqlite3//lib/sqlite3/pragmas.rb#209 def default_temp_store; end - # source://sqlite3/lib/sqlite3/pragmas.rb#213 + # source://sqlite3//lib/sqlite3/pragmas.rb#213 def default_temp_store=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#217 + # source://sqlite3//lib/sqlite3/pragmas.rb#217 def defer_foreign_keys; end - # source://sqlite3/lib/sqlite3/pragmas.rb#221 + # source://sqlite3//lib/sqlite3/pragmas.rb#221 def defer_foreign_keys=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#225 + # source://sqlite3//lib/sqlite3/pragmas.rb#225 def encoding; end - # source://sqlite3/lib/sqlite3/pragmas.rb#229 + # source://sqlite3//lib/sqlite3/pragmas.rb#229 def encoding=(mode); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#233 + # source://sqlite3//lib/sqlite3/pragmas.rb#233 def foreign_key_check(*table, &block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#237 + # source://sqlite3//lib/sqlite3/pragmas.rb#237 def foreign_key_list(table, &block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#241 + # source://sqlite3//lib/sqlite3/pragmas.rb#241 def foreign_keys; end - # source://sqlite3/lib/sqlite3/pragmas.rb#245 + # source://sqlite3//lib/sqlite3/pragmas.rb#245 def foreign_keys=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#249 + # source://sqlite3//lib/sqlite3/pragmas.rb#249 def freelist_count; end - # source://sqlite3/lib/sqlite3/pragmas.rb#253 + # source://sqlite3//lib/sqlite3/pragmas.rb#253 def full_column_names; end - # source://sqlite3/lib/sqlite3/pragmas.rb#257 + # source://sqlite3//lib/sqlite3/pragmas.rb#257 def full_column_names=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#261 + # source://sqlite3//lib/sqlite3/pragmas.rb#261 def fullfsync; end - # source://sqlite3/lib/sqlite3/pragmas.rb#265 + # source://sqlite3//lib/sqlite3/pragmas.rb#265 def fullfsync=(mode); end # Returns +true+ or +false+ depending on the value of the named pragma. # - # source://sqlite3/lib/sqlite3/pragmas.rb#11 + # source://sqlite3//lib/sqlite3/pragmas.rb#11 def get_boolean_pragma(name); end # Return the value of the given pragma. # - # source://sqlite3/lib/sqlite3/pragmas.rb#51 + # source://sqlite3//lib/sqlite3/pragmas.rb#51 def get_enum_pragma(name); end # Returns the value of the given pragma as an integer. # - # source://sqlite3/lib/sqlite3/pragmas.rb#69 + # source://sqlite3//lib/sqlite3/pragmas.rb#69 def get_int_pragma(name); end # Requests the given pragma (and parameters), and if the block is given, # each row of the result set will be yielded to it. Otherwise, the results # are returned as an array. # - # source://sqlite3/lib/sqlite3/pragmas.rb#41 + # source://sqlite3//lib/sqlite3/pragmas.rb#41 def get_query_pragma(name, *params, &block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#269 + # source://sqlite3//lib/sqlite3/pragmas.rb#269 def ignore_check_constraints=(mode); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#273 + # source://sqlite3//lib/sqlite3/pragmas.rb#273 def incremental_vacuum(pages, &block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#277 + # source://sqlite3//lib/sqlite3/pragmas.rb#277 def index_info(index, &block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#281 + # source://sqlite3//lib/sqlite3/pragmas.rb#281 def index_list(table, &block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#285 + # source://sqlite3//lib/sqlite3/pragmas.rb#285 def index_xinfo(index, &block); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#289 + # source://sqlite3//lib/sqlite3/pragmas.rb#289 def integrity_check(*num_errors, &block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#293 + # source://sqlite3//lib/sqlite3/pragmas.rb#293 def journal_mode; end - # source://sqlite3/lib/sqlite3/pragmas.rb#297 + # source://sqlite3//lib/sqlite3/pragmas.rb#297 def journal_mode=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#301 + # source://sqlite3//lib/sqlite3/pragmas.rb#301 def journal_size_limit; end - # source://sqlite3/lib/sqlite3/pragmas.rb#305 + # source://sqlite3//lib/sqlite3/pragmas.rb#305 def journal_size_limit=(size); end - # source://sqlite3/lib/sqlite3/pragmas.rb#309 + # source://sqlite3//lib/sqlite3/pragmas.rb#309 def legacy_file_format; end - # source://sqlite3/lib/sqlite3/pragmas.rb#313 + # source://sqlite3//lib/sqlite3/pragmas.rb#313 def legacy_file_format=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#317 + # source://sqlite3//lib/sqlite3/pragmas.rb#317 def locking_mode; end - # source://sqlite3/lib/sqlite3/pragmas.rb#321 + # source://sqlite3//lib/sqlite3/pragmas.rb#321 def locking_mode=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#325 + # source://sqlite3//lib/sqlite3/pragmas.rb#325 def max_page_count; end - # source://sqlite3/lib/sqlite3/pragmas.rb#329 + # source://sqlite3//lib/sqlite3/pragmas.rb#329 def max_page_count=(size); end - # source://sqlite3/lib/sqlite3/pragmas.rb#333 + # source://sqlite3//lib/sqlite3/pragmas.rb#333 def mmap_size; end - # source://sqlite3/lib/sqlite3/pragmas.rb#337 + # source://sqlite3//lib/sqlite3/pragmas.rb#337 def mmap_size=(size); end # Attempt to optimize the database. @@ -1335,73 +1337,73 @@ module SQLite3::Pragmas # # See https://www.sqlite.org/pragma.html#pragma_optimize for more information. # - # source://sqlite3/lib/sqlite3/pragmas.rb#347 + # source://sqlite3//lib/sqlite3/pragmas.rb#347 def optimize(bitmask = T.unsafe(nil)); end - # source://sqlite3/lib/sqlite3/pragmas.rb#355 + # source://sqlite3//lib/sqlite3/pragmas.rb#355 def page_count; end - # source://sqlite3/lib/sqlite3/pragmas.rb#359 + # source://sqlite3//lib/sqlite3/pragmas.rb#359 def page_size; end - # source://sqlite3/lib/sqlite3/pragmas.rb#363 + # source://sqlite3//lib/sqlite3/pragmas.rb#363 def page_size=(size); end - # source://sqlite3/lib/sqlite3/pragmas.rb#367 + # source://sqlite3//lib/sqlite3/pragmas.rb#367 def parser_trace=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#371 + # source://sqlite3//lib/sqlite3/pragmas.rb#371 def query_only; end - # source://sqlite3/lib/sqlite3/pragmas.rb#375 + # source://sqlite3//lib/sqlite3/pragmas.rb#375 def query_only=(mode); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#379 + # source://sqlite3//lib/sqlite3/pragmas.rb#379 def quick_check(*num_errors, &block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#383 + # source://sqlite3//lib/sqlite3/pragmas.rb#383 def read_uncommitted; end - # source://sqlite3/lib/sqlite3/pragmas.rb#387 + # source://sqlite3//lib/sqlite3/pragmas.rb#387 def read_uncommitted=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#391 + # source://sqlite3//lib/sqlite3/pragmas.rb#391 def recursive_triggers; end - # source://sqlite3/lib/sqlite3/pragmas.rb#395 + # source://sqlite3//lib/sqlite3/pragmas.rb#395 def recursive_triggers=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#399 + # source://sqlite3//lib/sqlite3/pragmas.rb#399 def reverse_unordered_selects; end - # source://sqlite3/lib/sqlite3/pragmas.rb#403 + # source://sqlite3//lib/sqlite3/pragmas.rb#403 def reverse_unordered_selects=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#407 + # source://sqlite3//lib/sqlite3/pragmas.rb#407 def schema_cookie; end - # source://sqlite3/lib/sqlite3/pragmas.rb#411 + # source://sqlite3//lib/sqlite3/pragmas.rb#411 def schema_cookie=(cookie); end - # source://sqlite3/lib/sqlite3/pragmas.rb#415 + # source://sqlite3//lib/sqlite3/pragmas.rb#415 def schema_version; end - # source://sqlite3/lib/sqlite3/pragmas.rb#419 + # source://sqlite3//lib/sqlite3/pragmas.rb#419 def schema_version=(version); end - # source://sqlite3/lib/sqlite3/pragmas.rb#423 + # source://sqlite3//lib/sqlite3/pragmas.rb#423 def secure_delete; end - # source://sqlite3/lib/sqlite3/pragmas.rb#427 + # source://sqlite3//lib/sqlite3/pragmas.rb#427 def secure_delete=(mode); end # Sets the given pragma to the given boolean value. The value itself # may be +true+ or +false+, or any other commonly used string or # integer that represents truth. # - # source://sqlite3/lib/sqlite3/pragmas.rb#18 + # source://sqlite3//lib/sqlite3/pragmas.rb#18 def set_boolean_pragma(name, mode); end # Set the value of the given pragma to +mode+. The +mode+ parameter must @@ -1410,99 +1412,99 @@ module SQLite3::Pragmas # have duplicate values. See #synchronous, #default_synchronous, # #temp_store, and #default_temp_store for usage examples. # - # source://sqlite3/lib/sqlite3/pragmas.rb#60 + # source://sqlite3//lib/sqlite3/pragmas.rb#60 def set_enum_pragma(name, mode, enums); end # Set the value of the given pragma to the integer value of the +value+ # parameter. # - # source://sqlite3/lib/sqlite3/pragmas.rb#75 + # source://sqlite3//lib/sqlite3/pragmas.rb#75 def set_int_pragma(name, value); end - # source://sqlite3/lib/sqlite3/pragmas.rb#431 + # source://sqlite3//lib/sqlite3/pragmas.rb#431 def short_column_names; end - # source://sqlite3/lib/sqlite3/pragmas.rb#435 + # source://sqlite3//lib/sqlite3/pragmas.rb#435 def short_column_names=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#439 + # source://sqlite3//lib/sqlite3/pragmas.rb#439 def shrink_memory; end - # source://sqlite3/lib/sqlite3/pragmas.rb#443 + # source://sqlite3//lib/sqlite3/pragmas.rb#443 def soft_heap_limit; end - # source://sqlite3/lib/sqlite3/pragmas.rb#447 + # source://sqlite3//lib/sqlite3/pragmas.rb#447 def soft_heap_limit=(mode); end # :yields: row # - # source://sqlite3/lib/sqlite3/pragmas.rb#451 + # source://sqlite3//lib/sqlite3/pragmas.rb#451 def stats(&block); end - # source://sqlite3/lib/sqlite3/pragmas.rb#455 + # source://sqlite3//lib/sqlite3/pragmas.rb#455 def synchronous; end - # source://sqlite3/lib/sqlite3/pragmas.rb#459 + # source://sqlite3//lib/sqlite3/pragmas.rb#459 def synchronous=(mode); end # Returns information about +table+. Yields each row of table information # if a block is provided. # - # source://sqlite3/lib/sqlite3/pragmas.rb#538 + # source://sqlite3//lib/sqlite3/pragmas.rb#538 def table_info(table); end - # source://sqlite3/lib/sqlite3/pragmas.rb#463 + # source://sqlite3//lib/sqlite3/pragmas.rb#463 def temp_store; end - # source://sqlite3/lib/sqlite3/pragmas.rb#467 + # source://sqlite3//lib/sqlite3/pragmas.rb#467 def temp_store=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#471 + # source://sqlite3//lib/sqlite3/pragmas.rb#471 def threads; end - # source://sqlite3/lib/sqlite3/pragmas.rb#475 + # source://sqlite3//lib/sqlite3/pragmas.rb#475 def threads=(count); end - # source://sqlite3/lib/sqlite3/pragmas.rb#479 + # source://sqlite3//lib/sqlite3/pragmas.rb#479 def user_cookie; end - # source://sqlite3/lib/sqlite3/pragmas.rb#483 + # source://sqlite3//lib/sqlite3/pragmas.rb#483 def user_cookie=(cookie); end - # source://sqlite3/lib/sqlite3/pragmas.rb#487 + # source://sqlite3//lib/sqlite3/pragmas.rb#487 def user_version; end - # source://sqlite3/lib/sqlite3/pragmas.rb#491 + # source://sqlite3//lib/sqlite3/pragmas.rb#491 def user_version=(version); end - # source://sqlite3/lib/sqlite3/pragmas.rb#495 + # source://sqlite3//lib/sqlite3/pragmas.rb#495 def vdbe_addoptrace=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#499 + # source://sqlite3//lib/sqlite3/pragmas.rb#499 def vdbe_debug=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#503 + # source://sqlite3//lib/sqlite3/pragmas.rb#503 def vdbe_listing=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#507 + # source://sqlite3//lib/sqlite3/pragmas.rb#507 def vdbe_trace; end - # source://sqlite3/lib/sqlite3/pragmas.rb#511 + # source://sqlite3//lib/sqlite3/pragmas.rb#511 def vdbe_trace=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#515 + # source://sqlite3//lib/sqlite3/pragmas.rb#515 def wal_autocheckpoint; end - # source://sqlite3/lib/sqlite3/pragmas.rb#519 + # source://sqlite3//lib/sqlite3/pragmas.rb#519 def wal_autocheckpoint=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#523 + # source://sqlite3//lib/sqlite3/pragmas.rb#523 def wal_checkpoint; end - # source://sqlite3/lib/sqlite3/pragmas.rb#527 + # source://sqlite3//lib/sqlite3/pragmas.rb#527 def wal_checkpoint=(mode); end - # source://sqlite3/lib/sqlite3/pragmas.rb#531 + # source://sqlite3//lib/sqlite3/pragmas.rb#531 def writable_schema=(mode); end private @@ -1511,57 +1513,57 @@ module SQLite3::Pragmas # value of the row as a quoted SQL value. This method essentially # unquotes those values. # - # source://sqlite3/lib/sqlite3/pragmas.rb#588 + # source://sqlite3//lib/sqlite3/pragmas.rb#588 def tweak_default(hash); end # Compares two version strings # - # source://sqlite3/lib/sqlite3/pragmas.rb#572 + # source://sqlite3//lib/sqlite3/pragmas.rb#572 def version_compare(v1, v2); end end # The enumeration of valid auto vacuum modes. # -# source://sqlite3/lib/sqlite3/pragmas.rb#86 +# source://sqlite3//lib/sqlite3/pragmas.rb#86 SQLite3::Pragmas::AUTO_VACUUM_MODES = T.let(T.unsafe(nil), Array) # The list of valid encodings. # -# source://sqlite3/lib/sqlite3/pragmas.rb#96 +# source://sqlite3//lib/sqlite3/pragmas.rb#96 SQLite3::Pragmas::ENCODINGS = T.let(T.unsafe(nil), Array) # The list of valid journaling modes. # -# source://sqlite3/lib/sqlite3/pragmas.rb#89 +# source://sqlite3//lib/sqlite3/pragmas.rb#89 SQLite3::Pragmas::JOURNAL_MODES = T.let(T.unsafe(nil), Array) # The list of valid locking modes. # -# source://sqlite3/lib/sqlite3/pragmas.rb#93 +# source://sqlite3//lib/sqlite3/pragmas.rb#93 SQLite3::Pragmas::LOCKING_MODES = T.let(T.unsafe(nil), Array) # The enumeration of valid synchronous modes. # -# source://sqlite3/lib/sqlite3/pragmas.rb#80 +# source://sqlite3//lib/sqlite3/pragmas.rb#80 SQLite3::Pragmas::SYNCHRONOUS_MODES = T.let(T.unsafe(nil), Array) # The enumeration of valid temp store modes. # -# source://sqlite3/lib/sqlite3/pragmas.rb#83 +# source://sqlite3//lib/sqlite3/pragmas.rb#83 SQLite3::Pragmas::TEMP_STORE_MODES = T.let(T.unsafe(nil), Array) # The list of valid WAL checkpoints. # -# source://sqlite3/lib/sqlite3/pragmas.rb#99 +# source://sqlite3//lib/sqlite3/pragmas.rb#99 SQLite3::Pragmas::WAL_CHECKPOINTS = T.let(T.unsafe(nil), Array) -# source://sqlite3/lib/sqlite3/errors.rb#65 +# source://sqlite3//lib/sqlite3/errors.rb#65 class SQLite3::ProtocolException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#85 +# source://sqlite3//lib/sqlite3/errors.rb#85 class SQLite3::RangeException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#51 +# source://sqlite3//lib/sqlite3/errors.rb#51 class SQLite3::ReadOnlyException < ::SQLite3::Exception; end # The ResultSet object encapsulates the enumerability of a query's output. @@ -1569,7 +1571,7 @@ class SQLite3::ReadOnlyException < ::SQLite3::Exception; end # very rarely (if ever) be instantiated directly. Instead, clients should # obtain a ResultSet instance via Statement#execute. # -# source://sqlite3/lib/sqlite3/resultset.rb#9 +# source://sqlite3//lib/sqlite3/resultset.rb#9 class SQLite3::ResultSet include ::Enumerable @@ -1578,45 +1580,45 @@ class SQLite3::ResultSet # # @return [ResultSet] a new instance of ResultSet # - # source://sqlite3/lib/sqlite3/resultset.rb#14 + # source://sqlite3//lib/sqlite3/resultset.rb#14 def initialize(db, stmt); end # Closes the statement that spawned this result set. # Use with caution! Closing a result set will automatically # close any other result sets that were spawned from the same statement. # - # source://sqlite3/lib/sqlite3/resultset.rb#65 + # source://sqlite3//lib/sqlite3/resultset.rb#65 def close; end # Queries whether the underlying statement has been closed or not. # # @return [Boolean] # - # source://sqlite3/lib/sqlite3/resultset.rb#70 + # source://sqlite3//lib/sqlite3/resultset.rb#70 def closed?; end # Returns the names of the columns returned by this result set. # - # source://sqlite3/lib/sqlite3/resultset.rb#80 + # source://sqlite3//lib/sqlite3/resultset.rb#80 def columns; end # Required by the Enumerable mixin. Provides an internal iterator over the # rows of the result set. # - # source://sqlite3/lib/sqlite3/resultset.rb#48 + # source://sqlite3//lib/sqlite3/resultset.rb#48 def each; end # Provides an internal iterator over the rows of the result set where # each row is yielded as a hash. # - # source://sqlite3/lib/sqlite3/resultset.rb#56 + # source://sqlite3//lib/sqlite3/resultset.rb#56 def each_hash; end # Query whether the cursor has reached the end of the result set or not. # # @return [Boolean] # - # source://sqlite3/lib/sqlite3/resultset.rb#27 + # source://sqlite3//lib/sqlite3/resultset.rb#27 def eof?; end # Obtain the next row from the cursor. If there are no more rows to be @@ -1631,27 +1633,27 @@ class SQLite3::ResultSet # For hashes, the column names are the keys of the hash, and the column # types are accessible via the +types+ property. # - # source://sqlite3/lib/sqlite3/resultset.rb#42 + # source://sqlite3//lib/sqlite3/resultset.rb#42 def next; end # Return the next row as a hash # - # source://sqlite3/lib/sqlite3/resultset.rb#85 + # source://sqlite3//lib/sqlite3/resultset.rb#85 def next_hash; end # Reset the cursor, so that a result set which has reached end-of-file # can be rewound and reiterated. # - # source://sqlite3/lib/sqlite3/resultset.rb#21 + # source://sqlite3//lib/sqlite3/resultset.rb#21 def reset(*bind_params); end # Returns the types of the columns returned by this result set. # - # source://sqlite3/lib/sqlite3/resultset.rb#75 + # source://sqlite3//lib/sqlite3/resultset.rb#75 def types; end end -# source://sqlite3/lib/sqlite3/errors.rb#37 +# source://sqlite3//lib/sqlite3/errors.rb#37 class SQLite3::SQLException < ::SQLite3::Exception; end SQLite3::SQLITE_LOADED_VERSION = T.let(T.unsafe(nil), String) @@ -1660,14 +1662,14 @@ SQLite3::SQLITE_PRECOMPILED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) SQLite3::SQLITE_VERSION = T.let(T.unsafe(nil), String) SQLite3::SQLITE_VERSION_NUMBER = T.let(T.unsafe(nil), Integer) -# source://sqlite3/lib/sqlite3/errors.rb#69 +# source://sqlite3//lib/sqlite3/errors.rb#69 class SQLite3::SchemaChangedException < ::SQLite3::Exception; end # A statement represents a prepared-but-unexecuted SQL query. It will rarely # (if ever) be instantiated directly by a client, and is most often obtained # via the Database#prepare method. # -# source://sqlite3/lib/sqlite3/statement.rb#14 +# source://sqlite3//lib/sqlite3/statement.rb#14 class SQLite3::Statement include ::Enumerable @@ -1681,7 +1683,7 @@ class SQLite3::Statement # @raise [ArgumentError] # @return [Statement] a new instance of Statement # - # source://sqlite3/lib/sqlite3/statement.rb#28 + # source://sqlite3//lib/sqlite3/statement.rb#28 def initialize(db, sql); end # Returns true if the statement is currently active, meaning it has an @@ -1689,7 +1691,7 @@ class SQLite3::Statement # # @return [Boolean] # - # source://sqlite3/lib/sqlite3/statement.rb#111 + # source://sqlite3//lib/sqlite3/statement.rb#111 def active?; end def bind_param(_arg0, _arg1); end @@ -1709,7 +1711,7 @@ class SQLite3::Statement # See also #execute, #bind_param, Statement#bind_param, and # Statement#bind_params. # - # source://sqlite3/lib/sqlite3/statement.rb#52 + # source://sqlite3//lib/sqlite3/statement.rb#52 def bind_params(*bind_vars); end def clear_bindings!; end @@ -1723,12 +1725,12 @@ class SQLite3::Statement # may execute the statement in order to obtain the metadata; this makes it # a (potentially) expensive operation. # - # source://sqlite3/lib/sqlite3/statement.rb#118 + # source://sqlite3//lib/sqlite3/statement.rb#118 def columns; end def done?; end - # source://sqlite3/lib/sqlite3/statement.rb#123 + # source://sqlite3//lib/sqlite3/statement.rb#123 def each; end # Execute the statement. This creates a new ResultSet object for the @@ -1748,7 +1750,7 @@ class SQLite3::Statement # # @yield [results] # - # source://sqlite3/lib/sqlite3/statement.rb#78 + # source://sqlite3//lib/sqlite3/statement.rb#78 def execute(*bind_vars); end # Execute the statement. If no block was given, this returns an array of @@ -1766,7 +1768,7 @@ class SQLite3::Statement # # See also #bind_params, #execute. # - # source://sqlite3/lib/sqlite3/statement.rb#104 + # source://sqlite3//lib/sqlite3/statement.rb#104 def execute!(*bind_vars, &block); end def expanded_sql; end @@ -1775,14 +1777,14 @@ class SQLite3::Statement # Performs a sanity check to ensure that the statement is not # closed. If it is, an exception is raised. # - # source://sqlite3/lib/sqlite3/statement.rb#142 + # source://sqlite3//lib/sqlite3/statement.rb#142 def must_be_open!; end # This is any text that followed the first valid SQL statement in the text # with which the statement was initialized. If there was no trailing text, # this will be the empty string. # - # source://sqlite3/lib/sqlite3/statement.rb#20 + # source://sqlite3//lib/sqlite3/statement.rb#20 def remainder; end def reset!; end @@ -1808,7 +1810,7 @@ class SQLite3::Statement # - +filter_hits+: the number of times that a join step was bypassed # because a Bloom filter returned not-found # - # source://sqlite3/lib/sqlite3/statement.rb#167 + # source://sqlite3//lib/sqlite3/statement.rb#167 def stat(key = T.unsafe(nil)); end def step; end @@ -1817,7 +1819,7 @@ class SQLite3::Statement # that this may execute the statement in order to obtain the metadata; this # makes it a (potentially) expensive operation. # - # source://sqlite3/lib/sqlite3/statement.rb#134 + # source://sqlite3//lib/sqlite3/statement.rb#134 def types; end private @@ -1826,7 +1828,7 @@ class SQLite3::Statement # that this will actually execute the SQL, which means it can be a # (potentially) expensive operation. # - # source://sqlite3/lib/sqlite3/statement.rb#180 + # source://sqlite3//lib/sqlite3/statement.rb#180 def get_metadata; end def prepare(_arg0, _arg1); end @@ -1834,65 +1836,65 @@ class SQLite3::Statement def stats_as_hash; end end -# source://sqlite3/lib/sqlite3/errors.rb#71 +# source://sqlite3//lib/sqlite3/errors.rb#71 class SQLite3::TooBigException < ::SQLite3::Exception; end -# source://sqlite3/lib/sqlite3/errors.rb#79 +# source://sqlite3//lib/sqlite3/errors.rb#79 class SQLite3::UnsupportedException < ::SQLite3::Exception; end # (String) the version of the sqlite3 gem, e.g. "2.1.1" # -# source://sqlite3/lib/sqlite3/version.rb#3 +# source://sqlite3//lib/sqlite3/version.rb#3 SQLite3::VERSION = T.let(T.unsafe(nil), String) # a hash of descriptive metadata about the current version of the sqlite3 gem # -# source://sqlite3/lib/sqlite3/version_info.rb#3 +# source://sqlite3//lib/sqlite3/version_info.rb#3 SQLite3::VERSION_INFO = T.let(T.unsafe(nil), Hash) -# source://sqlite3/lib/sqlite3/value.rb#4 +# source://sqlite3//lib/sqlite3/value.rb#4 class SQLite3::Value # @return [Value] a new instance of Value # - # source://sqlite3/lib/sqlite3/value.rb#7 + # source://sqlite3//lib/sqlite3/value.rb#7 def initialize(db, handle); end # Returns the value of attribute handle. # - # source://sqlite3/lib/sqlite3/value.rb#5 + # source://sqlite3//lib/sqlite3/value.rb#5 def handle; end - # source://sqlite3/lib/sqlite3/value.rb#20 + # source://sqlite3//lib/sqlite3/value.rb#20 def length(utf16 = T.unsafe(nil)); end # @return [Boolean] # - # source://sqlite3/lib/sqlite3/value.rb#12 + # source://sqlite3//lib/sqlite3/value.rb#12 def null?; end - # source://sqlite3/lib/sqlite3/value.rb#16 + # source://sqlite3//lib/sqlite3/value.rb#16 def to_blob; end - # source://sqlite3/lib/sqlite3/value.rb#28 + # source://sqlite3//lib/sqlite3/value.rb#28 def to_f; end - # source://sqlite3/lib/sqlite3/value.rb#32 + # source://sqlite3//lib/sqlite3/value.rb#32 def to_i; end - # source://sqlite3/lib/sqlite3/value.rb#36 + # source://sqlite3//lib/sqlite3/value.rb#36 def to_int64; end - # source://sqlite3/lib/sqlite3/value.rb#40 + # source://sqlite3//lib/sqlite3/value.rb#40 def to_s(utf16 = T.unsafe(nil)); end - # source://sqlite3/lib/sqlite3/value.rb#44 + # source://sqlite3//lib/sqlite3/value.rb#44 def type; end end -# source://sqlite3/lib/sqlite3/statement.rb#4 +# source://sqlite3//lib/sqlite3/statement.rb#4 class String include ::Comparable - # source://sqlite3/lib/sqlite3/statement.rb#5 + # source://sqlite3//lib/sqlite3/statement.rb#5 def to_blob; end end diff --git a/sorbet/rbi/gems/state_machines@0.6.0.rbi b/sorbet/rbi/gems/state_machines@0.6.0.rbi index 899c057a6..710447c35 100644 --- a/sorbet/rbi/gems/state_machines@0.6.0.rbi +++ b/sorbet/rbi/gems/state_machines@0.6.0.rbi @@ -89,7 +89,10 @@ class StateMachines::AllMatcher < ::StateMachines::Matcher class << self private + # source://state_machines//lib/state_machines/matcher.rb#24 def allocate; end + + # source://state_machines//lib/state_machines/matcher.rb#24 def new(*_arg0); end end end @@ -1166,7 +1169,7 @@ module StateMachines::Integrations # StateMachines::Integrations.integrations # # => [StateMachines::Integrations::ActiveModel] # - # source://state_machines//lib/state_machines/integrations.rb#48 + # source://state_machines//lib/state_machines/integrations.rb#53 def list; end # Attempts to find an integration that matches the given class. This will @@ -1369,7 +1372,10 @@ class StateMachines::LoopbackMatcher < ::StateMachines::Matcher class << self private + # source://state_machines//lib/state_machines/matcher.rb#102 def allocate; end + + # source://state_machines//lib/state_machines/matcher.rb#102 def new(*_arg0); end end end @@ -2723,7 +2729,7 @@ class StateMachines::Machine # end # end # - # source://state_machines//lib/state_machines/machine.rb#1308 + # source://state_machines//lib/state_machines/machine.rb#1337 def on(*names, &block); end # Customizes the definition of one or more states in the machine. @@ -2994,7 +3000,7 @@ class StateMachines::Machine # The minimum requirement is that the last argument in the method be an # options hash which contains at least :if condition support. # - # source://state_machines//lib/state_machines/machine.rb#1005 + # source://state_machines//lib/state_machines/machine.rb#1038 def other_states(*names, &block); end # The class that the machine is defined in @@ -4409,7 +4415,7 @@ module StateMachines::MatcherHelpers # * +stalled+ # * +idling+ # - # source://state_machines//lib/state_machines/matcher_helpers.rb#28 + # source://state_machines//lib/state_machines/matcher_helpers.rb#31 def any; end # Represents a state that matches the original +from+ state. This is useful @@ -4932,7 +4938,7 @@ class StateMachines::State # Whether or not this state is the initial state to use for new objects # - # source://state_machines//lib/state_machines/state.rb#33 + # source://state_machines//lib/state_machines/state.rb#34 def initial?; end # Generates a nicely formatted description of this state's contents. diff --git a/sorbet/rbi/gems/thor@1.3.2.rbi b/sorbet/rbi/gems/thor@1.3.2.rbi index 10202a5de..f77cb8524 100644 --- a/sorbet/rbi/gems/thor@1.3.2.rbi +++ b/sorbet/rbi/gems/thor@1.3.2.rbi @@ -78,7 +78,7 @@ class Thor # # Then it is required either only one of "--one" or "--two". # - # source://thor//lib/thor.rb#246 + # source://thor//lib/thor.rb#250 def at_least_one(*args, &block); end # Extend check unknown options to accept a hash of conditions. @@ -131,7 +131,7 @@ class Thor # ==== Parameters # meth:: name of the default command # - # source://thor//lib/thor.rb#21 + # source://thor//lib/thor.rb#28 def default_task(meth = T.unsafe(nil)); end # source://thor//lib/thor/base.rb#26 @@ -188,7 +188,7 @@ class Thor # If you give "--one" and "--two" at the same time ExclusiveArgumentsError # will be raised. # - # source://thor//lib/thor.rb#203 + # source://thor//lib/thor.rb#207 def exclusive(*args, &block); end # Prints help information for this class. @@ -364,7 +364,7 @@ class Thor # :banner - String to show on usage notes. # :hide - If you want to hide this option from the help. # - # source://thor//lib/thor.rb#163 + # source://thor//lib/thor.rb#175 def option(name, options = T.unsafe(nil)); end # Declares the options for the next command to be declared. @@ -374,7 +374,7 @@ class Thor # is the type of the option. Can be :string, :array, :hash, :boolean, :numeric # or :required (string). If you give a value, the type of the value is used. # - # source://thor//lib/thor.rb#129 + # source://thor//lib/thor.rb#135 def options(options = T.unsafe(nil)); end # Allows for custom "Command" package naming. @@ -393,7 +393,7 @@ class Thor # Returns commands ready to be printed. # - # source://thor//lib/thor.rb#309 + # source://thor//lib/thor.rb#318 def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end # Registers another Thor subclass as a command. @@ -462,10 +462,10 @@ class Thor # source://thor//lib/thor.rb#320 def subcommands; end - # source://thor//lib/thor.rb#329 + # source://thor//lib/thor.rb#344 def subtask(subcommand, subcommand_class); end - # source://thor//lib/thor.rb#320 + # source://thor//lib/thor.rb#323 def subtasks; end # Prints help information for the given command. @@ -474,7 +474,7 @@ class Thor # shell # command_name # - # source://thor//lib/thor.rb#258 + # source://thor//lib/thor.rb#281 def task_help(shell, command_name); end protected @@ -493,7 +493,7 @@ class Thor # source://thor//lib/thor.rb#560 def create_command(meth); end - # source://thor//lib/thor.rb#560 + # source://thor//lib/thor.rb#584 def create_task(meth); end # help command has the required check disabled by default. @@ -522,7 +522,7 @@ class Thor # and determines whether it is an unambiguous substrings of a command or # alias name. # - # source://thor//lib/thor.rb#626 + # source://thor//lib/thor.rb#639 def find_task_possibilities(meth); end # source://thor//lib/thor.rb#586 @@ -567,7 +567,7 @@ class Thor # # @raise [AmbiguousTaskError] # - # source://thor//lib/thor.rb#605 + # source://thor//lib/thor.rb#621 def normalize_task_name(meth); end # source://thor//lib/thor.rb#493 @@ -583,7 +583,7 @@ class Thor # Retrieve the command name from given args. # - # source://thor//lib/thor.rb#592 + # source://thor//lib/thor.rb#596 def retrieve_task_name(args); end # Sort the commands, lexicographically by default. @@ -600,7 +600,7 @@ class Thor # source://thor//lib/thor.rb#641 def subcommand_help(cmd); end - # source://thor//lib/thor.rb#641 + # source://thor//lib/thor.rb#647 def subtask_help(cmd); end end end @@ -643,7 +643,7 @@ module Thor::Actions # # create_file "config/apache.conf", "your apache config" # - # source://thor//lib/thor/actions/create_file.rb#22 + # source://thor//lib/thor/actions/create_file.rb#27 def add_file(destination, *args, &block); end # Create a new file relative to the destination root from the given source. @@ -658,7 +658,7 @@ module Thor::Actions # # create_link "config/apache.conf", "/etc/apache.conf" # - # source://thor//lib/thor/actions/create_link.rb#17 + # source://thor//lib/thor/actions/create_link.rb#22 def add_link(destination, *args); end # Append text to a file. Since it depends on insert_into_file, it's reversible. @@ -676,7 +676,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#192 + # source://thor//lib/thor/actions/file_manipulation.rb#197 def append_file(path, *args, &block); end # Append text to a file. Since it depends on insert_into_file, it's reversible. @@ -956,7 +956,7 @@ module Thor::Actions # source://thor//lib/thor/actions/file_manipulation.rb#216 def inject_into_class(path, klass, *args, &block); end - # source://thor//lib/thor/actions/inject_into_file.rb#26 + # source://thor//lib/thor/actions/inject_into_file.rb#34 def inject_into_file(destination, *args, &block); end # Injects text right after the module definition. Since it depends on @@ -1028,7 +1028,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#170 + # source://thor//lib/thor/actions/file_manipulation.rb#175 def prepend_file(path, *args, &block); end # Prepend text to a file. Since it depends on insert_into_file, it's reversible. @@ -1066,7 +1066,7 @@ module Thor::Actions # remove_file 'README' # remove_file 'app/controllers/application_controller.rb' # - # source://thor//lib/thor/actions/file_manipulation.rb#325 + # source://thor//lib/thor/actions/file_manipulation.rb#335 def remove_dir(path, config = T.unsafe(nil)); end # Removes a file at the given location. @@ -1568,7 +1568,7 @@ class Thor::Argument # Returns the value of attribute name. # - # source://thor//lib/thor/parser/argument.rb#5 + # source://thor//lib/thor/parser/argument.rb#6 def human_name; end # Returns the value of attribute name. @@ -1852,7 +1852,7 @@ module Thor::Base::ClassMethods # Hash:: An ordered hash with commands names as keys and Thor::Command # objects as values. # - # source://thor//lib/thor/base.rb#482 + # source://thor//lib/thor/base.rb#486 def all_tasks; end # If you want to use defaults that don't match the type of an option, @@ -2090,7 +2090,7 @@ module Thor::Base::ClassMethods # @raise [UndefinedCommandError] # - # source://thor//lib/thor/base.rb#613 + # source://thor//lib/thor/base.rb#616 def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end # Sets the namespace for the Thor or Thor::Group class. By default the @@ -2167,7 +2167,7 @@ module Thor::Base::ClassMethods # remove_command :this_is_not_a_command # end # - # source://thor//lib/thor/base.rb#530 + # source://thor//lib/thor/base.rb#534 def no_tasks(&block); end # Allows to use private methods from parent in child classes as commands. @@ -2193,7 +2193,7 @@ module Thor::Base::ClassMethods # public_command :foo # public_command :foo, :bar, :baz # - # source://thor//lib/thor/base.rb#606 + # source://thor//lib/thor/base.rb#611 def public_task(*names); end # Removes a previous defined argument. If :undefine is given, undefine @@ -2250,7 +2250,7 @@ module Thor::Base::ClassMethods # options:: You can give :undefine => true if you want commands the method # to be undefined from the class as well. # - # source://thor//lib/thor/base.rb#500 + # source://thor//lib/thor/base.rb#509 def remove_task(*names); end # Parses the command and options from the given args, instantiate the class @@ -2294,7 +2294,7 @@ module Thor::Base::ClassMethods # Hash:: An ordered hash with commands names as keys and Thor::Command # objects as values. # - # source://thor//lib/thor/base.rb#471 + # source://thor//lib/thor/base.rb#474 def tasks; end protected @@ -2357,7 +2357,7 @@ module Thor::Base::ClassMethods # SIGNATURE: Creates a new command if valid_command? is true. This method is # called when a new method is added to the class. # - # source://thor//lib/thor/base.rb#782 + # source://thor//lib/thor/base.rb#784 def create_task(meth); end # SIGNATURE: The hook invoked by start. @@ -2378,7 +2378,7 @@ module Thor::Base::ClassMethods # class, just return it, otherwise dup it and add the fresh copy to the # current command hash. # - # source://thor//lib/thor/base.rb#708 + # source://thor//lib/thor/base.rb#717 def find_and_refresh_task(name); end # Retrieves a value from superclass. If it reaches the baseclass, @@ -2756,7 +2756,7 @@ class Thor::Group # Returns commands ready to be printed. # - # source://thor//lib/thor/group.rb#199 + # source://thor//lib/thor/group.rb#205 def printable_tasks(*_arg0); end # Remove a previously added invocation. @@ -2782,7 +2782,7 @@ class Thor::Group # source://thor//lib/thor/group.rb#263 def create_command(meth); end - # source://thor//lib/thor/group.rb#263 + # source://thor//lib/thor/group.rb#267 def create_task(meth); end # The method responsible for dispatching given the args. @@ -2799,7 +2799,7 @@ class Thor::Group # Represents the whole class as a command. # - # source://thor//lib/thor/group.rb#254 + # source://thor//lib/thor/group.rb#257 def self_task; end end end @@ -2919,7 +2919,7 @@ module Thor::Invocation # Invoke the given command if the given args. # - # source://thor//lib/thor/invocation.rb#122 + # source://thor//lib/thor/invocation.rb#130 def invoke_task(command, *args); end # Invokes using shell padding. @@ -2947,7 +2947,7 @@ module Thor::Invocation # use the given name and return self as class. Otherwise, call # prepare_for_invocation in the current class. # - # source://thor//lib/thor/invocation.rb#153 + # source://thor//lib/thor/invocation.rb#163 def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end # Configuration values that are shared between invocations. @@ -3128,10 +3128,10 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#99 def aliases_for_usage; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def array?; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def boolean?; end # Returns the value of attribute group. @@ -3139,7 +3139,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#3 def group; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def hash?; end # Returns the value of attribute hide. @@ -3155,7 +3155,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#3 def lazy_default; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def numeric?; end # Returns the value of attribute repeatable. @@ -3168,7 +3168,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#107 def show_default?; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def string?; end # source://thor//lib/thor/parser/option.rb#75 @@ -3421,37 +3421,37 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#44 def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def ask(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def error(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def file_collision(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def no?(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_in_columns(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_table(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_wrapped(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say_error(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say_status(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def set_color(*args, &block); end # Holds the shell for the given Thor instance. If no shell is given, @@ -3467,7 +3467,7 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#25 def shell=(_arg0); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def terminal_width(*args, &block); end # Yields the given block with padding. @@ -3475,7 +3475,7 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#66 def with_padding; end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def yes?(*args, &block); end protected @@ -4292,7 +4292,7 @@ module Thor::Util # ==== Parameters # namespace # - # source://thor//lib/thor/util.rb#131 + # source://thor//lib/thor/util.rb#148 def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end # Where to look for Thor files. diff --git a/sorbet/rbi/gems/timeout@0.4.1.rbi b/sorbet/rbi/gems/timeout@0.4.1.rbi index 378f4513c..7cb150302 100644 --- a/sorbet/rbi/gems/timeout@0.4.1.rbi +++ b/sorbet/rbi/gems/timeout@0.4.1.rbi @@ -5,6 +5,7 @@ # Please instead update this file by running `bin/tapioca gem timeout`. +# source://timeout//lib/timeout.rb#25 module Timeout private @@ -34,11 +35,11 @@ module Timeout # Timeout into your classes so they have a #timeout method, as well as # a module method, so you can call it directly as Timeout.timeout(). # - # source://timeout//timeout.rb#169 + # source://timeout//lib/timeout.rb#169 def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end class << self - # source://timeout//timeout.rb#127 + # source://timeout//lib/timeout.rb#127 def ensure_timeout_thread_created; end # Perform an operation in a block, raising an error if it takes longer than @@ -67,77 +68,82 @@ module Timeout # Timeout into your classes so they have a #timeout method, as well as # a module method, so you can call it directly as Timeout.timeout(). # - # source://timeout//timeout.rb#169 + # source://timeout//lib/timeout.rb#198 def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end private - # source://timeout//timeout.rb#97 + # source://timeout//lib/timeout.rb#97 def create_timeout_thread; end end end # :stopdoc: # -# source://timeout//timeout.rb#50 +# source://timeout//lib/timeout.rb#50 Timeout::CONDVAR = T.let(T.unsafe(nil), Thread::ConditionVariable) # Raised by Timeout.timeout when the block times out. +# +# source://timeout//lib/timeout.rb#36 class Timeout::Error < ::RuntimeError class << self - # source://timeout//timeout.rb#37 + # source://timeout//lib/timeout.rb#37 def handle_timeout(message); end end end # Internal error raised to when a timeout is triggered. +# +# source://timeout//lib/timeout.rb#29 class Timeout::ExitException < ::Exception - # source://timeout//timeout.rb#30 + # source://timeout//lib/timeout.rb#30 def exception(*_arg0); end end # We keep a private reference so that time mocking libraries won't break # Timeout. # -# source://timeout//timeout.rb#139 +# source://timeout//lib/timeout.rb#139 Timeout::GET_TIME = T.let(T.unsafe(nil), Method) -# source://timeout//timeout.rb#51 +# source://timeout//lib/timeout.rb#51 Timeout::QUEUE = T.let(T.unsafe(nil), Thread::Queue) -# source://timeout//timeout.rb#52 +# source://timeout//lib/timeout.rb#52 Timeout::QUEUE_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) +# source://timeout//lib/timeout.rb#57 class Timeout::Request # @return [Request] a new instance of Request # - # source://timeout//timeout.rb#60 + # source://timeout//lib/timeout.rb#60 def initialize(thread, timeout, exception_class, message); end # Returns the value of attribute deadline. # - # source://timeout//timeout.rb#58 + # source://timeout//lib/timeout.rb#58 def deadline; end # @return [Boolean] # - # source://timeout//timeout.rb#70 + # source://timeout//lib/timeout.rb#70 def done?; end # @return [Boolean] # - # source://timeout//timeout.rb#76 + # source://timeout//lib/timeout.rb#76 def expired?(now); end - # source://timeout//timeout.rb#89 + # source://timeout//lib/timeout.rb#89 def finished; end - # source://timeout//timeout.rb#80 + # source://timeout//lib/timeout.rb#80 def interrupt; end end -# source://timeout//timeout.rb#53 +# source://timeout//lib/timeout.rb#53 Timeout::TIMEOUT_THREAD_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://timeout//timeout.rb#26 +# source://timeout//lib/timeout.rb#26 Timeout::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/tzinfo@2.0.6.rbi b/sorbet/rbi/gems/tzinfo@2.0.6.rbi index f8f9c81f9..7d84c69a8 100644 --- a/sorbet/rbi/gems/tzinfo@2.0.6.rbi +++ b/sorbet/rbi/gems/tzinfo@2.0.6.rbi @@ -68,7 +68,7 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul # with the same {transition_at} and day as this # {AbsoluteDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#153 + # source://tzinfo//lib/tzinfo/transition_rule.rb#156 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the @@ -346,7 +346,7 @@ class TZInfo::Country # @return [Array] an `Array` containing the identifier for each time # zone observed by the country # - # source://tzinfo//lib/tzinfo/country.rb#111 + # source://tzinfo//lib/tzinfo/country.rb#114 def zone_names; end # Returns An `Array` containing a {Timezone} instance for each time zone @@ -2248,7 +2248,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # same {transition_at}, month, week and day of week as this # {DayOfMonthTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#353 + # source://tzinfo//lib/tzinfo/transition_rule.rb#356 def eql?(r); end protected @@ -2322,7 +2322,7 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule # same {transition_at}, month and day of week as this # {DayOfWeekTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#299 + # source://tzinfo//lib/tzinfo/transition_rule.rb#302 def eql?(r); end # @return [Boolean] `false`. @@ -2392,7 +2392,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # same {transition_at} and day as this {DayOfYearTransitionRule}, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#94 + # source://tzinfo//lib/tzinfo/transition_rule.rb#97 def eql?(r); end protected @@ -3097,7 +3097,7 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # the same {transition_at} and day as this # {JulianDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#226 + # source://tzinfo//lib/tzinfo/transition_rule.rb#229 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the @@ -3186,7 +3186,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # the same {transition_at}, month and day of week as this # {LastDayOfMonthTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#420 + # source://tzinfo//lib/tzinfo/transition_rule.rb#423 def eql?(r); end protected @@ -3332,7 +3332,7 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod # @return [Boolean] `true` if `p` is a {OffsetTimezonePeriod} with the same # {offset}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#32 + # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#35 def eql?(p); end # @return [Integer] a hash based on {offset}. @@ -3457,7 +3457,7 @@ class TZInfo::TimeWithOffset < ::Time # @return [Boolean] `true` if daylight savings time is being observed, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#43 + # source://tzinfo//lib/tzinfo/time_with_offset.rb#47 def isdst; end # An overridden version of `Time#localtime` that clears the associated @@ -3607,6 +3607,7 @@ class TZInfo::Timestamp # source://tzinfo//lib/tzinfo/timestamp.rb#372 def add_and_set_utc_offset(seconds, utc_offset); end + # source://tzinfo//lib/tzinfo/timestamp.rb#464 def eql?(_arg0); end # @return [Integer] a hash based on the value, sub-second and whether there @@ -4092,7 +4093,7 @@ class TZInfo::Timezone # offset. # @return [String] the abbreviation of this {Timezone} at the given time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1048 + # source://tzinfo//lib/tzinfo/timezone.rb#1051 def abbr(time = T.unsafe(nil)); end # @param time [Object] a `Time`, `DateTime` or `Timestamp`. @@ -4191,7 +4192,7 @@ class TZInfo::Timezone # time zone as the first element and the current {TimezonePeriod} for the # time zone as the second element. # - # source://tzinfo//lib/tzinfo/timezone.rb#1008 + # source://tzinfo//lib/tzinfo/timezone.rb#1018 def current_period_and_time; end # Returns the current local time and {TimezonePeriod} for the time zone as @@ -4845,7 +4846,7 @@ class TZInfo::Timezone # @return [Integer] the observed offset from UTC in seconds at the given # time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1094 + # source://tzinfo//lib/tzinfo/timezone.rb#1097 def utc_offset(time = T.unsafe(nil)); end # Converts a time in UTC to the local time for the time zone. @@ -5087,7 +5088,7 @@ class TZInfo::TimezoneOffset # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#50 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#51 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5186,7 +5187,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#21 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#22 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5194,7 +5195,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#43 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#44 def utc_total_offset; end end @@ -5225,7 +5226,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#80 + # source://tzinfo//lib/tzinfo/timezone_period.rb#83 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5371,7 +5372,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#54 + # source://tzinfo//lib/tzinfo/timezone_period.rb#57 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5379,7 +5380,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#90 + # source://tzinfo//lib/tzinfo/timezone_period.rb#93 def utc_total_offset; end # The abbreviation that identifies this offset. For example GMT @@ -5387,7 +5388,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#80 + # source://tzinfo//lib/tzinfo/timezone_period.rb#84 def zone_identifier; end private @@ -5638,7 +5639,7 @@ class TZInfo::TimezoneTransition # {offset}, {previous_offset} and {timestamp_value} as this # {TimezoneTransition}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#86 + # source://tzinfo//lib/tzinfo/timezone_transition.rb#90 def eql?(tti); end # @return [Integer] a hash based on {offset}, {previous_offset} and @@ -5741,7 +5742,7 @@ class TZInfo::TransitionRule # @return [Boolean] `true` if `r` is a {TransitionRule} with the same # {transition_at} as this {TransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#47 + # source://tzinfo//lib/tzinfo/transition_rule.rb#50 def eql?(r); end # @return [Integer] a hash based on {hash_args} (defaulting to @@ -5816,7 +5817,7 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # same {offset}, {start_transition} and {end_transition}, otherwise # `false`. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#47 + # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#50 def eql?(p); end # @return [Integer] a hash based on {start_transition} and {end_transition}. diff --git a/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi b/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi index c485ddd85..0d6ec7f17 100644 --- a/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +++ b/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi @@ -8,78 +8,78 @@ # require "rbconfig" # RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ # windows # -# source://unicode-display_width/lib/unicode/display_width/constants.rb#3 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#3 module Unicode; end -# source://unicode-display_width/lib/unicode/display_width/constants.rb#4 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#4 class Unicode::DisplayWidth # @return [DisplayWidth] a new instance of DisplayWidth # - # source://unicode-display_width/lib/unicode/display_width.rb#229 + # source://unicode-display_width//lib/unicode/display_width.rb#229 def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end - # source://unicode-display_width/lib/unicode/display_width.rb#235 + # source://unicode-display_width//lib/unicode/display_width.rb#235 def get_config(**kwargs); end - # source://unicode-display_width/lib/unicode/display_width.rb#243 + # source://unicode-display_width//lib/unicode/display_width.rb#243 def of(string, **kwargs); end class << self - # source://unicode-display_width/lib/unicode/display_width/index.rb#14 + # source://unicode-display_width//lib/unicode/display_width/index.rb#14 def decompress_index(index, level); end # Returns width of all considered Emoji and remaining string # - # source://unicode-display_width/lib/unicode/display_width.rb#143 + # source://unicode-display_width//lib/unicode/display_width.rb#143 def emoji_width(string, mode = T.unsafe(nil), ambiguous = T.unsafe(nil)); end # Match possible Emoji first, then refine # - # source://unicode-display_width/lib/unicode/display_width.rb#173 + # source://unicode-display_width//lib/unicode/display_width.rb#173 def emoji_width_via_possible(string, emoji_set_regex, strict_eaw = T.unsafe(nil), ambiguous = T.unsafe(nil)); end - # source://unicode-display_width/lib/unicode/display_width.rb#201 + # source://unicode-display_width//lib/unicode/display_width.rb#201 def normalize_options(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), old_options = T.unsafe(nil), **options); end # Returns monospace display width of string # - # source://unicode-display_width/lib/unicode/display_width.rb#51 + # source://unicode-display_width//lib/unicode/display_width.rb#51 def of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), old_options = T.unsafe(nil), **options); end # Returns width for ASCII-only strings. Will consider zero-width control symbols. # - # source://unicode-display_width/lib/unicode/display_width.rb#133 + # source://unicode-display_width//lib/unicode/display_width.rb#133 def width_ascii(string); end # Returns width of custom overwrites and remaining string # - # source://unicode-display_width/lib/unicode/display_width.rb#117 + # source://unicode-display_width//lib/unicode/display_width.rb#117 def width_custom(string, overwrite); end end end -# source://unicode-display_width/lib/unicode/display_width.rb#16 +# source://unicode-display_width//lib/unicode/display_width.rb#16 Unicode::DisplayWidth::AMBIGUOUS_MAP = T.let(T.unsafe(nil), Hash) -# source://unicode-display_width/lib/unicode/display_width.rb#15 +# source://unicode-display_width//lib/unicode/display_width.rb#15 Unicode::DisplayWidth::ASCII_BACKSPACE = T.let(T.unsafe(nil), String) -# source://unicode-display_width/lib/unicode/display_width.rb#13 +# source://unicode-display_width//lib/unicode/display_width.rb#13 Unicode::DisplayWidth::ASCII_NON_ZERO_REGEX = T.let(T.unsafe(nil), Regexp) -# source://unicode-display_width/lib/unicode/display_width.rb#14 +# source://unicode-display_width//lib/unicode/display_width.rb#14 Unicode::DisplayWidth::ASCII_NON_ZERO_STRING = T.let(T.unsafe(nil), String) -# source://unicode-display_width/lib/unicode/display_width/constants.rb#7 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#7 Unicode::DisplayWidth::DATA_DIRECTORY = T.let(T.unsafe(nil), String) -# source://unicode-display_width/lib/unicode/display_width.rb#11 +# source://unicode-display_width//lib/unicode/display_width.rb#11 Unicode::DisplayWidth::DEFAULT_AMBIGUOUS = T.let(T.unsafe(nil), Integer) -# source://unicode-display_width/lib/unicode/display_width.rb#32 +# source://unicode-display_width//lib/unicode/display_width.rb#32 Unicode::DisplayWidth::EMOJI_SEQUENCES_REGEX_MAPPING = T.let(T.unsafe(nil), Hash) -# source://unicode-display_width/lib/unicode/display_width/emoji_support.rb#6 +# source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#6 module Unicode::DisplayWidth::EmojiSupport class << self # Tries to find out which terminal emulator is used to @@ -91,42 +91,42 @@ module Unicode::DisplayWidth::EmojiSupport # Please note: Many terminals do not set any ENV vars, # maybe CSI queries can help? # - # source://unicode-display_width/lib/unicode/display_width/emoji_support.rb#15 + # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#15 def recommended; end end end -# source://unicode-display_width/lib/unicode/display_width.rb#28 +# source://unicode-display_width//lib/unicode/display_width.rb#28 Unicode::DisplayWidth::FIRST_4096 = T.let(T.unsafe(nil), Hash) -# source://unicode-display_width/lib/unicode/display_width.rb#20 +# source://unicode-display_width//lib/unicode/display_width.rb#20 Unicode::DisplayWidth::FIRST_AMBIGUOUS = T.let(T.unsafe(nil), Hash) -# source://unicode-display_width/lib/unicode/display_width/index.rb#11 +# source://unicode-display_width//lib/unicode/display_width/index.rb#11 Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Hash) -# source://unicode-display_width/lib/unicode/display_width/constants.rb#8 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#8 Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String) -# source://unicode-display_width/lib/unicode/display_width.rb#12 +# source://unicode-display_width//lib/unicode/display_width.rb#12 Unicode::DisplayWidth::INITIAL_DEPTH = T.let(T.unsafe(nil), Integer) -# source://unicode-display_width/lib/unicode/display_width.rb#24 +# source://unicode-display_width//lib/unicode/display_width.rb#24 Unicode::DisplayWidth::NOT_COMMON_NARROW_REGEX = T.let(T.unsafe(nil), Hash) # ebase = Unicode::Emoji::REGEX_PROP_MODIFIER_BASE.source # -# source://unicode-display_width/lib/unicode/display_width.rb#47 +# source://unicode-display_width//lib/unicode/display_width.rb#47 Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES = T.let(T.unsafe(nil), Regexp) -# source://unicode-display_width/lib/unicode/display_width.rb#48 +# source://unicode-display_width//lib/unicode/display_width.rb#48 Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES_AND_VS16 = T.let(T.unsafe(nil), Regexp) -# source://unicode-display_width/lib/unicode/display_width.rb#37 +# source://unicode-display_width//lib/unicode/display_width.rb#37 Unicode::DisplayWidth::REGEX_EMOJI_VS16 = T.let(T.unsafe(nil), Regexp) -# source://unicode-display_width/lib/unicode/display_width/constants.rb#6 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#6 Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String) -# source://unicode-display_width/lib/unicode/display_width/constants.rb#5 +# source://unicode-display_width//lib/unicode/display_width/constants.rb#5 Unicode::DisplayWidth::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi b/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi index 5d551dd6e..fcf0c2219 100644 --- a/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +++ b/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi @@ -8,15 +8,15 @@ # This file was generated by a script, please do not edit it by hand. # See `$ rake generate_constants` and data/generate_constants.rb for more info. # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#3 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#3 module Unicode; end -# source://unicode-emoji/lib/unicode/emoji/constants.rb#4 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#4 module Unicode::Emoji class << self # Returns ordered list of Emoji, categorized in a three-level deep Hash structure # - # source://unicode-emoji/lib/unicode/emoji.rb#80 + # source://unicode-emoji//lib/unicode/emoji.rb#80 def list(key = T.unsafe(nil), sub_key = T.unsafe(nil)); end # Return Emoji properties of character as an Array or nil @@ -24,228 +24,228 @@ module Unicode::Emoji # # Source: see https://www.unicode.org/Public/16.0.0/ucd/emoji/emoji-data.txt # - # source://unicode-emoji/lib/unicode/emoji.rb#68 + # source://unicode-emoji//lib/unicode/emoji.rb#68 def properties(char); end private - # source://unicode-emoji/lib/unicode/emoji.rb#88 + # source://unicode-emoji//lib/unicode/emoji.rb#88 def get_codepoint_value(char); end end end # Last codepoint of tag-based subdivision flags # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#31 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#31 Unicode::Emoji::CANCEL_TAG = T.let(T.unsafe(nil), Integer) -# source://unicode-emoji/lib/unicode/emoji/constants.rb#7 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#7 Unicode::Emoji::CLDR_VERSION = T.let(T.unsafe(nil), String) -# source://unicode-emoji/lib/unicode/emoji/constants.rb#8 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#8 Unicode::Emoji::DATA_DIRECTORY = T.let(T.unsafe(nil), String) # The current list of codepoints with the "Emoji" property # Same characters as \p{Emoji} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#8 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#8 Unicode::Emoji::EMOJI_CHAR = T.let(T.unsafe(nil), Array) # The current list of codepoints with the "Emoji_Component" property # Same characters as \p{Emoji Component} or \p{EComp} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#21 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#21 Unicode::Emoji::EMOJI_COMPONENT = T.let(T.unsafe(nil), Array) # The list of characters that can be used as base for keycap sequences # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#42 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#42 Unicode::Emoji::EMOJI_KEYCAPS = T.let(T.unsafe(nil), Array) # Combining Enclosing Keycap character # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#37 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#37 Unicode::Emoji::EMOJI_KEYCAP_SUFFIX = T.let(T.unsafe(nil), Integer) # The current list of codepoints with the "Emoji_Modifier" property # Same characters as \p{Emoji Modifier} or \p{EMod} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#31 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#31 Unicode::Emoji::EMOJI_MODIFIERS = T.let(T.unsafe(nil), Array) # The current list of codepoints with the "Emoji_Modifier_Base" property # Same characters as \p{Emoji Modifier Base} or \p{EBase} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#26 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#26 Unicode::Emoji::EMOJI_MODIFIER_BASES = T.let(T.unsafe(nil), Array) # The current list of codepoints with the "Emoji_Presentation" property # Same characters as \p{Emoji Presentation} or \p{EPres} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#13 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#13 Unicode::Emoji::EMOJI_PRESENTATION = T.let(T.unsafe(nil), Array) # First codepoint of tag-based subdivision flags # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#28 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#28 Unicode::Emoji::EMOJI_TAG_BASE_FLAG = T.let(T.unsafe(nil), Integer) # Variation Selector 16 (VS16), enables emoji presentation mode for preceding codepoint # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#22 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#22 Unicode::Emoji::EMOJI_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer) -# source://unicode-emoji/lib/unicode/emoji/constants.rb#6 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#6 Unicode::Emoji::EMOJI_VERSION = T.let(T.unsafe(nil), String) # The current list of codepoints with the "Extended_Pictographic" property # Same characters as \p{Extended Pictographic} or \p{ExtPict} # (Emoji version of this gem might be more recent than Ruby's Emoji version) # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#36 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#36 Unicode::Emoji::EXTENDED_PICTOGRAPHIC = T.let(T.unsafe(nil), Array) # The current list of codepoints with the "Extended_Pictographic" property that don't have the "Emoji" property # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#39 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#39 Unicode::Emoji::EXTENDED_PICTOGRAPHIC_NO_EMOJI = T.let(T.unsafe(nil), Array) -# source://unicode-emoji/lib/unicode/emoji/index.rb#11 +# source://unicode-emoji//lib/unicode/emoji/index.rb#11 Unicode::Emoji::INDEX = T.let(T.unsafe(nil), Hash) -# source://unicode-emoji/lib/unicode/emoji/constants.rb#9 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#9 Unicode::Emoji::INDEX_FILENAME = T.let(T.unsafe(nil), String) # Contains an ordered and group list of all currently recommended Emoji (RGI/FQE) # -# source://unicode-emoji/lib/unicode/emoji/list.rb#6 +# source://unicode-emoji//lib/unicode/emoji/list.rb#6 Unicode::Emoji::LIST = T.let(T.unsafe(nil), Hash) # Sometimes, categories change, we issue a warning in these cases # -# source://unicode-emoji/lib/unicode/emoji/list.rb#9 +# source://unicode-emoji//lib/unicode/emoji/list.rb#9 Unicode::Emoji::LIST_REMOVED_KEYS = T.let(T.unsafe(nil), Array) # Unicode properties, see https://www.unicode.org/Public/16.0.0/ucd/emoji/emoji-data.txt # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#12 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#12 Unicode::Emoji::PROPERTY_NAMES = T.let(T.unsafe(nil), Hash) # The list RGI tag sequence flags # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#51 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#51 Unicode::Emoji::RECOMMENDED_SUBDIVISION_FLAGS = T.let(T.unsafe(nil), Array) # The list of fully-qualified RGI Emoji ZWJ sequences # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#54 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#54 Unicode::Emoji::RECOMMENDED_ZWJ_SEQUENCES = T.let(T.unsafe(nil), Array) -# source://unicode-emoji/lib/unicode/emoji/generated/regex.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex.rb#6 Unicode::Emoji::REGEX = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_basic.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_basic.rb#6 Unicode::Emoji::REGEX_BASIC = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_emoji_keycap.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_emoji_keycap.rb#6 Unicode::Emoji::REGEX_EMOJI_KEYCAP = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_include_mqe.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_mqe.rb#6 Unicode::Emoji::REGEX_INCLUDE_MQE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_include_mqe_uqe.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_mqe_uqe.rb#6 Unicode::Emoji::REGEX_INCLUDE_MQE_UQE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_include_text.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_text.rb#6 Unicode::Emoji::REGEX_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_picto.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_picto.rb#6 Unicode::Emoji::REGEX_PICTO = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_picto_no_emoji.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_picto_no_emoji.rb#6 Unicode::Emoji::REGEX_PICTO_NO_EMOJI = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_possible.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_possible.rb#6 Unicode::Emoji::REGEX_POSSIBLE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_prop_component.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_component.rb#6 Unicode::Emoji::REGEX_PROP_COMPONENT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_prop_emoji.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_emoji.rb#6 Unicode::Emoji::REGEX_PROP_EMOJI = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_prop_modifier.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_modifier.rb#6 Unicode::Emoji::REGEX_PROP_MODIFIER = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_prop_modifier_base.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_modifier_base.rb#6 Unicode::Emoji::REGEX_PROP_MODIFIER_BASE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_prop_presentation.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_presentation.rb#6 Unicode::Emoji::REGEX_PROP_PRESENTATION = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_text.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_text.rb#6 Unicode::Emoji::REGEX_TEXT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_text_presentation.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_text_presentation.rb#6 Unicode::Emoji::REGEX_TEXT_PRESENTATION = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_valid.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_valid.rb#6 Unicode::Emoji::REGEX_VALID = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_valid_include_text.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_valid_include_text.rb#6 Unicode::Emoji::REGEX_VALID_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_well_formed.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_well_formed.rb#6 Unicode::Emoji::REGEX_WELL_FORMED = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji/lib/unicode/emoji/generated/regex_well_formed_include_text.rb#6 +# source://unicode-emoji//lib/unicode/emoji/generated/regex_well_formed_include_text.rb#6 Unicode::Emoji::REGEX_WELL_FORMED_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp) # Two regional indicators make up a region # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#43 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#43 Unicode::Emoji::REGIONAL_INDICATORS = T.let(T.unsafe(nil), Array) # Tags characters allowed in tag-based subdivision flags # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#34 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#34 Unicode::Emoji::SPEC_TAGS = T.let(T.unsafe(nil), Array) # The current list of codepoints with the "Emoji" property that lack the "Emoji Presentation" property # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#16 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#16 Unicode::Emoji::TEXT_PRESENTATION = T.let(T.unsafe(nil), Array) # Variation Selector 15 (VS15), enables text presentation mode for preceding codepoint # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#25 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#25 Unicode::Emoji::TEXT_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer) # The list of valid regions # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#45 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#45 Unicode::Emoji::VALID_REGION_FLAGS = T.let(T.unsafe(nil), Array) # The list of valid subdivisions in regex character class syntax # -# source://unicode-emoji/lib/unicode/emoji/lazy_constants.rb#48 +# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#48 Unicode::Emoji::VALID_SUBDIVISIONS = T.let(T.unsafe(nil), Array) -# source://unicode-emoji/lib/unicode/emoji/constants.rb#5 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#5 Unicode::Emoji::VERSION = T.let(T.unsafe(nil), String) # The current list of Emoji components that should have a visual representation # Currently skin tone modifiers + hair components # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#47 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#47 Unicode::Emoji::VISUAL_COMPONENT = T.let(T.unsafe(nil), Array) # Zero-width-joiner to enable combination of multiple Emoji in a sequence # -# source://unicode-emoji/lib/unicode/emoji/constants.rb#40 +# source://unicode-emoji//lib/unicode/emoji/constants.rb#40 Unicode::Emoji::ZWJ = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/uri@0.13.0.rbi b/sorbet/rbi/gems/uri@0.13.0.rbi index 61534aa69..6e12971f3 100644 --- a/sorbet/rbi/gems/uri@0.13.0.rbi +++ b/sorbet/rbi/gems/uri@0.13.0.rbi @@ -4,7 +4,10 @@ # This is an autogenerated file for types exported from the `uri` gem. # Please instead update this file by running `bin/tapioca gem uri`. + # module URI +# +# source://uri//lib/uri/common.rb#829 module Kernel private @@ -18,7 +21,7 @@ module Kernel # URI(uri) # # => # # - # source://uri//uri/common.rb#842 + # source://uri//lib/uri/common.rb#842 def URI(uri); end class << self @@ -32,18 +35,19 @@ module Kernel # URI(uri) # # => # # - # source://uri//uri/common.rb#842 + # source://uri//lib/uri/common.rb#852 def URI(uri); end end end +# source://uri//lib/uri.rb#90 module URI include ::URI::RFC2396_REGEXP class << self # Like URI.decode_www_form_component, except that '+' is preserved. # - # source://uri//uri/common.rb#379 + # source://uri//lib/uri/common.rb#379 def decode_uri_component(str, enc = T.unsafe(nil)); end # Returns name/value pairs derived from the given string +str+, @@ -56,7 +60,7 @@ module URI # each subarray is a name/value pair (both are strings). # Each returned string has encoding +enc+, # and has had invalid characters removed via - # {String#scrub}[rdoc-ref:String#scrub]. + # {String#scrub}[https://docs.ruby-lang.org/en/master/String.html#method-i-scrub]. # # A simple example: # @@ -81,7 +85,7 @@ module URI # # @raise [ArgumentError] # - # source://uri//uri/common.rb#554 + # source://uri//lib/uri/common.rb#554 def decode_www_form(str, enc = T.unsafe(nil), separator: T.unsafe(nil), use__charset_: T.unsafe(nil), isindex: T.unsafe(nil)); end # Returns a string decoded from the given \URL-encoded string +str+. @@ -114,17 +118,17 @@ module URI # # Related: URI.decode_uri_component (preserves '+'). # - # source://uri//uri/common.rb#368 + # source://uri//lib/uri/common.rb#368 def decode_www_form_component(str, enc = T.unsafe(nil)); end # Like URI.encode_www_form_component, except that ' ' (space) # is encoded as '%20' (instead of '+'). # - # source://uri//uri/common.rb#374 + # source://uri//lib/uri/common.rb#374 def encode_uri_component(str, enc = T.unsafe(nil)); end # Returns a URL-encoded string derived from the given - # {Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes] + # {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html#module-Enumerable-label-Enumerable+in+Ruby+Classes] # +enum+. # # The result is suitable for use as form data @@ -193,7 +197,7 @@ module URI # each +key+/+value+ pair is converted to one or more fields: # # - If +value+ is - # {Array-convertible}[rdoc-ref:implicit_conversion.rdoc@Array-Convertible+Objects], + # {Array-convertible}[https://docs.ruby-lang.org/en/master/implicit_conversion_rdoc.html#label-Array-Convertible+Objects], # each element +ele+ in +value+ is paired with +key+ to form a field: # # name = URI.encode_www_form_component(key, enc) @@ -221,7 +225,7 @@ module URI # URI.encode_www_form({foo: [0, 1], bar: 2}) # # => "foo=0&foo=1&bar=2" # - # source://uri//uri/common.rb#501 + # source://uri//lib/uri/common.rb#501 def encode_www_form(enum, enc = T.unsafe(nil)); end # Returns a URL-encoded string derived from the given string +str+. @@ -261,7 +265,7 @@ module URI # # Related: URI.encode_uri_component (encodes ' ' as '%20'). # - # source://uri//uri/common.rb#335 + # source://uri//lib/uri/common.rb#335 def encode_www_form_component(str, enc = T.unsafe(nil)); end # == Synopsis @@ -287,7 +291,7 @@ module URI # URI.extract("text here http://foo.example.org/bla and here mailto:test@example.com and here also.") # # => ["http://foo.example.com/bla", "mailto:test@example.com"] # - # source://uri//uri/common.rb#239 + # source://uri//lib/uri/common.rb#239 def extract(str, schemes = T.unsafe(nil), &block); end # Returns a new object constructed from the given +scheme+, +arguments+, @@ -306,13 +310,13 @@ module URI # URI.for('foo', *values, default: URI::HTTP) # # => # # - # source://uri//uri/common.rb#123 + # source://uri//lib/uri/common.rb#123 def for(scheme, *arguments, default: T.unsafe(nil)); end # return encoding or nil # http://encoding.spec.whatwg.org/#concept-encoding-get # - # source://uri//uri/common.rb#824 + # source://uri//lib/uri/common.rb#824 def get_encoding(label); end # Merges the given URI strings +str+ @@ -338,7 +342,7 @@ module URI # URI.join('http://example.com', '/foo/', 'bar') # # => # # - # source://uri//uri/common.rb#211 + # source://uri//lib/uri/common.rb#211 def join(*str); end # Returns a new \URI object constructed from the given string +uri+: @@ -351,7 +355,7 @@ module URI # It's recommended to first ::escape string +uri+ # if it may contain invalid URI characters. # - # source://uri//uri/common.rb#184 + # source://uri//lib/uri/common.rb#184 def parse(uri); end # == Synopsis @@ -385,7 +389,7 @@ module URI # p $& # end # - # source://uri//uri/common.rb#276 + # source://uri//lib/uri/common.rb#276 def regexp(schemes = T.unsafe(nil)); end # Registers the given +klass+ as the class to be instantiated @@ -397,7 +401,7 @@ module URI # Note that after calling String#upcase on +scheme+, it must be a valid # constant name. # - # source://uri//uri/common.rb#79 + # source://uri//lib/uri/common.rb#79 def register_scheme(scheme, klass); end # Returns a hash of the defined schemes: @@ -415,7 +419,7 @@ module URI # # Related: URI.register_scheme. # - # source://uri//uri/common.rb#97 + # source://uri//lib/uri/common.rb#97 def scheme_list; end # Returns a 9-element array representing the parts of the \URI @@ -436,17 +440,17 @@ module URI # ["query", "tag=networking&order=newest"], # ["fragment", "top"]] # - # source://uri//uri/common.rb#170 + # source://uri//lib/uri/common.rb#170 def split(uri); end private # @raise [ArgumentError] # - # source://uri//uri/common.rb#397 + # source://uri//lib/uri/common.rb#397 def _decode_uri_component(regexp, str, enc); end - # source://uri//uri/common.rb#383 + # source://uri//lib/uri/common.rb#383 def _encode_uri_component(regexp, table, str, enc); end end end @@ -457,6 +461,8 @@ end # the structure of its path. draft-hoffman-ftp-uri-04 is a draft but it # is a good summary about the de facto spec. # http://tools.ietf.org/html/draft-hoffman-ftp-uri-04 +# +# source://uri//lib/uri/ftp.rb#22 class URI::FTP < ::URI::Generic # == Description # @@ -472,10 +478,10 @@ class URI::FTP < ::URI::Generic # @raise [InvalidURIError] # @return [FTP] a new instance of FTP # - # source://uri//uri/ftp.rb#133 + # source://uri//lib/uri/ftp.rb#133 def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = T.unsafe(nil), arg_check = T.unsafe(nil)); end - # source://uri//uri/ftp.rb#214 + # source://uri//lib/uri/ftp.rb#214 def merge(oth); end # Returns the path from an FTP URI. @@ -495,19 +501,19 @@ class URI::FTP < ::URI::Generic # # This method will then return "/pub/ruby". # - # source://uri//uri/ftp.rb#240 + # source://uri//lib/uri/ftp.rb#240 def path; end # Returns a String representation of the URI::FTP. # - # source://uri//uri/ftp.rb#251 + # source://uri//lib/uri/ftp.rb#251 def to_s; end # typecode accessor. # # See URI::FTP::COMPONENT. # - # source://uri//uri/ftp.rb#161 + # source://uri//lib/uri/ftp.rb#161 def typecode; end # == Args @@ -532,21 +538,21 @@ class URI::FTP < ::URI::Generic # uri # #=> # # - # source://uri//uri/ftp.rb#208 + # source://uri//lib/uri/ftp.rb#208 def typecode=(typecode); end protected # Private setter for the path of the URI::FTP. # - # source://uri//uri/ftp.rb#245 + # source://uri//lib/uri/ftp.rb#245 def set_path(v); end # Private setter for the typecode +v+. # # See also URI::FTP.typecode=. # - # source://uri//uri/ftp.rb#180 + # source://uri//lib/uri/ftp.rb#180 def set_typecode(v); end private @@ -554,7 +560,7 @@ class URI::FTP < ::URI::Generic # Validates typecode +v+, # returns +true+ or +false+. # - # source://uri//uri/ftp.rb#166 + # source://uri//lib/uri/ftp.rb#166 def check_typecode(v); end class << self @@ -586,62 +592,64 @@ class URI::FTP < ::URI::Generic # :path => 'ruby/src'}) # uri2.to_s # => "ftp://ftp.example.com/ruby/src" # - # source://uri//uri/ftp.rb#96 + # source://uri//lib/uri/ftp.rb#96 def build(args); end - # source://uri//uri/ftp.rb#47 + # source://uri//lib/uri/ftp.rb#47 def new2(user, password, host, port, path, typecode = T.unsafe(nil), arg_check = T.unsafe(nil)); end end end # The "file" URI is defined by RFC8089. +# +# source://uri//lib/uri/file.rb#10 class URI::File < ::URI::Generic # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//uri/file.rb#82 + # source://uri//lib/uri/file.rb#82 def check_password(user); end # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//uri/file.rb#77 + # source://uri//lib/uri/file.rb#77 def check_user(user); end # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//uri/file.rb#72 + # source://uri//lib/uri/file.rb#72 def check_userinfo(user); end # Protected setter for the host component +v+. # # See also URI::Generic.host=. # - # source://uri//uri/file.rb#62 + # source://uri//lib/uri/file.rb#62 def set_host(v); end # do nothing # - # source://uri//uri/file.rb#95 + # source://uri//lib/uri/file.rb#95 def set_password(v); end # do nothing # - # source://uri//uri/file.rb#68 + # source://uri//lib/uri/file.rb#68 def set_port(v); end # do nothing # - # source://uri//uri/file.rb#91 + # source://uri//lib/uri/file.rb#91 def set_user(v); end # do nothing # - # source://uri//uri/file.rb#87 + # source://uri//lib/uri/file.rb#87 def set_userinfo(v); end class << self @@ -674,28 +682,27 @@ class URI::File < ::URI::Generic # uri3 = URI::File.build({:path => URI::escape('/path/my file.txt')}) # uri3.to_s # => "file:///path/my%20file.txt" # - # source://uri//uri/file.rb#53 + # source://uri//lib/uri/file.rb#53 def build(args); end end end # An Array of the available components for URI::File. # -# source://uri//uri/file.rb#17 +# source://uri//lib/uri/file.rb#17 URI::File::COMPONENT = T.let(T.unsafe(nil), Array) # A Default port of nil for URI::File. # -# source://uri//uri/file.rb#12 +# source://uri//lib/uri/file.rb#12 URI::File::DEFAULT_PORT = T.let(T.unsafe(nil), T.untyped) -class URI::GID < ::URI::Generic - # source://uri//uri/generic.rb#243 - def app; end -end +class URI::GID < ::URI::Generic; end # Base class for all URI classes. # Implements generic URI syntax as per RFC 2396. +# +# source://uri//lib/uri/generic.rb#21 class URI::Generic include ::URI::RFC2396_REGEXP include ::URI @@ -731,7 +738,7 @@ class URI::Generic # # @return [Generic] a new instance of Generic # - # source://uri//uri/generic.rb#169 + # source://uri//lib/uri/generic.rb#169 def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = T.unsafe(nil), arg_check = T.unsafe(nil)); end # == Args @@ -752,7 +759,7 @@ class URI::Generic # # => "http://my.example.com/main.rbx?page=1" # merge # - # source://uri//uri/generic.rb#1109 + # source://uri//lib/uri/generic.rb#1152 def +(oth); end # == Args @@ -772,26 +779,26 @@ class URI::Generic # uri.route_from('http://my.example.com') # #=> # # - # source://uri//uri/generic.rb#1262 + # source://uri//lib/uri/generic.rb#1282 def -(oth); end # Compares two URIs. # - # source://uri//uri/generic.rb#1384 + # source://uri//lib/uri/generic.rb#1384 def ==(oth); end # Returns true if URI has a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//uri/generic.rb#972 + # source://uri//lib/uri/generic.rb#979 def absolute; end # Returns true if URI has a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//uri/generic.rb#972 + # source://uri//lib/uri/generic.rb#972 def absolute?; end # == Args @@ -812,32 +819,32 @@ class URI::Generic # uri.coerce("http://foo.com") # #=> [#, #] # - # source://uri//uri/generic.rb#1474 + # source://uri//lib/uri/generic.rb#1474 def coerce(oth); end # Components of the URI in the order. # - # source://uri//uri/generic.rb#313 + # source://uri//lib/uri/generic.rb#313 def component; end # Returns the password component after URI decoding. # - # source://uri//uri/generic.rb#583 + # source://uri//lib/uri/generic.rb#583 def decoded_password; end # Returns the user component after URI decoding. # - # source://uri//uri/generic.rb#578 + # source://uri//lib/uri/generic.rb#578 def decoded_user; end # Returns default port. # - # source://uri//uri/generic.rb#39 + # source://uri//lib/uri/generic.rb#39 def default_port; end # @return [Boolean] # - # source://uri//uri/generic.rb#1396 + # source://uri//lib/uri/generic.rb#1396 def eql?(oth); end # Returns a proxy URI. @@ -858,14 +865,14 @@ class URI::Generic # # @raise [BadURIError] # - # source://uri//uri/generic.rb#1500 + # source://uri//lib/uri/generic.rb#1500 def find_proxy(env = T.unsafe(nil)); end # Returns the fragment component of the URI. # # URI("http://foo/bar/baz?search=FooBar#ponies").fragment #=> "ponies" # - # source://uri//uri/generic.rb#283 + # source://uri//lib/uri/generic.rb#283 def fragment; end # Checks the fragment +v+ component against the URI::Parser Regexp for :FRAGMENT. @@ -889,10 +896,10 @@ class URI::Generic # uri.fragment = "time=1305212086" # uri.to_s #=> "http://my.example.com/?id=25#time=1305212086" # - # source://uri//uri/generic.rb#929 + # source://uri//lib/uri/generic.rb#929 def fragment=(v); end - # source://uri//uri/generic.rb#1392 + # source://uri//lib/uri/generic.rb#1392 def hash; end # Returns true if URI is hierarchical. @@ -915,7 +922,7 @@ class URI::Generic # # @return [Boolean] # - # source://uri//uri/generic.rb#961 + # source://uri//lib/uri/generic.rb#961 def hierarchical?; end # Returns the host component of the URI. @@ -938,7 +945,7 @@ class URI::Generic # URI("http://[::1]/bar/baz").host #=> "[::1]" # URI("http://[::1]/bar/baz").hostname #=> "::1" # - # source://uri//uri/generic.rb#243 + # source://uri//lib/uri/generic.rb#243 def host; end # == Args @@ -961,7 +968,7 @@ class URI::Generic # uri.host = "foo.com" # uri.to_s #=> "http://foo.com" # - # source://uri//uri/generic.rb#639 + # source://uri//lib/uri/generic.rb#639 def host=(v); end # Extract the host part of the URI and unwrap brackets for IPv6 addresses. @@ -973,7 +980,7 @@ class URI::Generic # uri.hostname #=> "::1" # uri.host #=> "[::1]" # - # source://uri//uri/generic.rb#654 + # source://uri//lib/uri/generic.rb#654 def hostname; end # Sets the host part of the URI as the argument with brackets for IPv6 addresses. @@ -988,10 +995,10 @@ class URI::Generic # If the argument seems to be an IPv6 address, # it is wrapped with brackets. # - # source://uri//uri/generic.rb#671 + # source://uri//lib/uri/generic.rb#671 def hostname=(v); end - # source://uri//uri/generic.rb#1451 + # source://uri//lib/uri/generic.rb#1451 def inspect; end # == Args @@ -1011,7 +1018,7 @@ class URI::Generic # uri.merge("/main.rbx?page=1") # # => "http://my.example.com/main.rbx?page=1" # - # source://uri//uri/generic.rb#1109 + # source://uri//lib/uri/generic.rb#1109 def merge(oth); end # == Args @@ -1031,7 +1038,7 @@ class URI::Generic # uri.merge!("/main.rbx?page=1") # uri.to_s # => "http://my.example.com/main.rbx?page=1" # - # source://uri//uri/generic.rb#1081 + # source://uri//lib/uri/generic.rb#1081 def merge!(oth); end # Returns normalized URI. @@ -1046,12 +1053,12 @@ class URI::Generic # * scheme and host are converted to lowercase, # * an empty path component is set to "/". # - # source://uri//uri/generic.rb#1319 + # source://uri//lib/uri/generic.rb#1319 def normalize; end # Destructive version of #normalize. # - # source://uri//uri/generic.rb#1328 + # source://uri//lib/uri/generic.rb#1328 def normalize!; end # Returns the opaque part of the URI. @@ -1063,7 +1070,7 @@ class URI::Generic # The path typically refers to an absolute path or an opaque part. # (See RFC2396 Section 3 and 5.2.) # - # source://uri//uri/generic.rb#277 + # source://uri//lib/uri/generic.rb#277 def opaque; end # == Args @@ -1078,19 +1085,19 @@ class URI::Generic # # See also URI::Generic.check_opaque. # - # source://uri//uri/generic.rb#901 + # source://uri//lib/uri/generic.rb#901 def opaque=(v); end # Returns the parser to be used. # # Unless a URI::Parser is defined, DEFAULT_PARSER is used. # - # source://uri//uri/generic.rb#289 + # source://uri//lib/uri/generic.rb#289 def parser; end # Returns the password component (without URI decoding). # - # source://uri//uri/generic.rb#573 + # source://uri//lib/uri/generic.rb#573 def password; end # == Args @@ -1113,14 +1120,14 @@ class URI::Generic # uri.password = "V3ry_S3nsit1ve" # uri.to_s #=> "http://john:V3ry_S3nsit1ve@my.example.com" # - # source://uri//uri/generic.rb#498 + # source://uri//lib/uri/generic.rb#498 def password=(password); end # Returns the path component of the URI. # # URI("http://foo/bar/baz").path #=> "/bar/baz" # - # source://uri//uri/generic.rb#260 + # source://uri//lib/uri/generic.rb#260 def path; end # == Args @@ -1143,7 +1150,7 @@ class URI::Generic # uri.path = "/faq/" # uri.to_s #=> "http://my.example.com/faq/" # - # source://uri//uri/generic.rb#815 + # source://uri//lib/uri/generic.rb#815 def path=(v); end # Returns the port component of the URI. @@ -1151,7 +1158,7 @@ class URI::Generic # URI("http://foo/bar/baz").port #=> 80 # URI("http://foo:8080/bar/baz").port #=> 8080 # - # source://uri//uri/generic.rb#250 + # source://uri//lib/uri/generic.rb#250 def port; end # == Args @@ -1174,14 +1181,14 @@ class URI::Generic # uri.port = 8080 # uri.to_s #=> "http://my.example.com:8080" # - # source://uri//uri/generic.rb#729 + # source://uri//lib/uri/generic.rb#729 def port=(v); end # Returns the query component of the URI. # # URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar" # - # source://uri//uri/generic.rb#266 + # source://uri//lib/uri/generic.rb#266 def query; end # == Args @@ -1203,22 +1210,22 @@ class URI::Generic # # @raise [InvalidURIError] # - # source://uri//uri/generic.rb#839 + # source://uri//lib/uri/generic.rb#839 def query=(v); end - # source://uri//uri/generic.rb#252 + # source://uri//lib/uri/generic.rb#252 def registry; end # @raise [InvalidURIError] # - # source://uri//uri/generic.rb#745 + # source://uri//lib/uri/generic.rb#745 def registry=(v); end # Returns true if URI does not have a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//uri/generic.rb#984 + # source://uri//lib/uri/generic.rb#984 def relative?; end # == Args @@ -1238,7 +1245,7 @@ class URI::Generic # uri.route_from('http://my.example.com') # #=> # # - # source://uri//uri/generic.rb#1262 + # source://uri//lib/uri/generic.rb#1262 def route_from(oth); end # == Args @@ -1258,14 +1265,14 @@ class URI::Generic # uri.route_to('http://my.example.com/main.rbx?page=1') # #=> # # - # source://uri//uri/generic.rb#1302 + # source://uri//lib/uri/generic.rb#1302 def route_to(oth); end # Returns the scheme component of the URI. # # URI("http://foo/bar/baz").scheme #=> "http" # - # source://uri//uri/generic.rb#221 + # source://uri//lib/uri/generic.rb#221 def scheme; end # == Args @@ -1288,7 +1295,7 @@ class URI::Generic # uri.scheme = "https" # uri.to_s #=> "https://my.example.com" # - # source://uri//uri/generic.rb#360 + # source://uri//lib/uri/generic.rb#360 def scheme=(v); end # == Args @@ -1308,22 +1315,22 @@ class URI::Generic # uri.select(:userinfo, :host, :path) # # => ["myuser:mypass", "my.example.com", "/test.rbx"] # - # source://uri//uri/generic.rb#1440 + # source://uri//lib/uri/generic.rb#1440 def select(*components); end # Constructs String from URI. # - # source://uri//uri/generic.rb#1343 + # source://uri//lib/uri/generic.rb#1343 def to_s; end # Constructs String from URI. # - # source://uri//uri/generic.rb#1343 + # source://uri//lib/uri/generic.rb#1379 def to_str; end # Returns the user component (without URI decoding). # - # source://uri//uri/generic.rb#568 + # source://uri//lib/uri/generic.rb#568 def user; end # == Args @@ -1346,78 +1353,78 @@ class URI::Generic # uri.user = "sam" # uri.to_s #=> "http://sam:V3ry_S3nsit1ve@my.example.com" # - # source://uri//uri/generic.rb#471 + # source://uri//lib/uri/generic.rb#471 def user=(user); end # Returns the userinfo, either as 'user' or 'user:password'. # - # source://uri//uri/generic.rb#557 + # source://uri//lib/uri/generic.rb#557 def userinfo; end # Sets userinfo, argument is string like 'name:pass'. # - # source://uri//uri/generic.rb#441 + # source://uri//lib/uri/generic.rb#441 def userinfo=(userinfo); end protected # Returns an Array of the components defined from the COMPONENT Array. # - # source://uri//uri/generic.rb#1416 + # source://uri//lib/uri/generic.rb#1416 def component_ary; end # Protected setter for the host component +v+. # # See also URI::Generic.host=. # - # source://uri//uri/generic.rb#613 + # source://uri//lib/uri/generic.rb#613 def set_host(v); end # Protected setter for the opaque component +v+. # # See also URI::Generic.opaque=. # - # source://uri//uri/generic.rb#883 + # source://uri//lib/uri/generic.rb#883 def set_opaque(v); end # Protected setter for the password component +v+. # # See also URI::Generic.password=. # - # source://uri//uri/generic.rb#534 + # source://uri//lib/uri/generic.rb#534 def set_password(v); end # Protected setter for the path component +v+. # # See also URI::Generic.path=. # - # source://uri//uri/generic.rb#789 + # source://uri//lib/uri/generic.rb#789 def set_path(v); end # Protected setter for the port component +v+. # # See also URI::Generic.port=. # - # source://uri//uri/generic.rb#702 + # source://uri//lib/uri/generic.rb#702 def set_port(v); end # @raise [InvalidURIError] # - # source://uri//uri/generic.rb#740 + # source://uri//lib/uri/generic.rb#740 def set_registry(v); end # Protected setter for the scheme component +v+. # # See also URI::Generic.scheme=. # - # source://uri//uri/generic.rb#334 + # source://uri//lib/uri/generic.rb#334 def set_scheme(v); end # Protected setter for the user component +v+. # # See also URI::Generic.user=. # - # source://uri//uri/generic.rb#524 + # source://uri//lib/uri/generic.rb#524 def set_user(v); end # Protected setter for the +user+ component, and +password+ if available @@ -1425,7 +1432,7 @@ class URI::Generic # # See also URI::Generic.userinfo=. # - # source://uri//uri/generic.rb#509 + # source://uri//lib/uri/generic.rb#509 def set_userinfo(user, password = T.unsafe(nil)); end private @@ -1436,7 +1443,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a host component defined. # - # source://uri//uri/generic.rb#594 + # source://uri//lib/uri/generic.rb#594 def check_host(v); end # Checks the opaque +v+ component for RFC2396 compliance and @@ -1445,7 +1452,7 @@ class URI::Generic # Can not have a host, port, user, or path component defined, # with an opaque component defined. # - # source://uri//uri/generic.rb#861 + # source://uri//lib/uri/generic.rb#861 def check_opaque(v); end # Checks the password +v+ component for RFC2396 compliance @@ -1454,7 +1461,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a user component defined. # - # source://uri//uri/generic.rb#417 + # source://uri//lib/uri/generic.rb#417 def check_password(v, user = T.unsafe(nil)); end # Checks the path +v+ component for RFC2396 compliance @@ -1464,7 +1471,7 @@ class URI::Generic # Can not have a opaque component defined, # with a path component defined. # - # source://uri//uri/generic.rb#757 + # source://uri//lib/uri/generic.rb#757 def check_path(v); end # Checks the port +v+ component for RFC2396 compliance @@ -1473,17 +1480,17 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a port component defined. # - # source://uri//uri/generic.rb#683 + # source://uri//lib/uri/generic.rb#683 def check_port(v); end # @raise [InvalidURIError] # - # source://uri//uri/generic.rb#735 + # source://uri//lib/uri/generic.rb#735 def check_registry(v); end # Checks the scheme +v+ component against the URI::Parser Regexp for :SCHEME. # - # source://uri//uri/generic.rb#320 + # source://uri//lib/uri/generic.rb#320 def check_scheme(v); end # Checks the user +v+ component for RFC2396 compliance @@ -1492,7 +1499,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a user component defined. # - # source://uri//uri/generic.rb#393 + # source://uri//lib/uri/generic.rb#393 def check_user(v); end # Checks the +user+ and +password+. @@ -1503,44 +1510,44 @@ class URI::Generic # # See also URI::Generic.check_user, URI::Generic.check_password. # - # source://uri//uri/generic.rb#375 + # source://uri//lib/uri/generic.rb#375 def check_userinfo(user, password = T.unsafe(nil)); end # Escapes 'user:password' +v+ based on RFC 1738 section 3.1. # - # source://uri//uri/generic.rb#551 + # source://uri//lib/uri/generic.rb#551 def escape_userpass(v); end # Merges a base path +base+, with relative path +rel+, # returns a modified base path. # - # source://uri//uri/generic.rb#1000 + # source://uri//lib/uri/generic.rb#1000 def merge_path(base, rel); end # Replaces self by other URI object. # - # source://uri//uri/generic.rb#299 + # source://uri//lib/uri/generic.rb#299 def replace!(oth); end # :stopdoc: # - # source://uri//uri/generic.rb#1194 + # source://uri//lib/uri/generic.rb#1194 def route_from0(oth); end # :stopdoc: # - # source://uri//uri/generic.rb#1155 + # source://uri//lib/uri/generic.rb#1155 def route_from_path(src, dst); end # Returns an Array of the path split on '/'. # - # source://uri//uri/generic.rb#991 + # source://uri//lib/uri/generic.rb#991 def split_path(path); end # Returns the userinfo +ui+ as [user, password] # if properly formatted as 'user:password'. # - # source://uri//uri/generic.rb#542 + # source://uri//lib/uri/generic.rb#542 def split_userinfo(ui); end class << self @@ -1555,7 +1562,7 @@ class URI::Generic # opaque, query, and fragment. You can provide arguments either by an Array or a Hash. # See ::new for hash keys to use or for order of array items. # - # source://uri//uri/generic.rb#116 + # source://uri//lib/uri/generic.rb#116 def build(args); end # == Synopsis @@ -1568,25 +1575,25 @@ class URI::Generic # URI::Generic::build. But, if exception URI::InvalidComponentError is raised, # then it does URI::Escape.escape all URI components and tries again. # - # source://uri//uri/generic.rb#78 + # source://uri//lib/uri/generic.rb#78 def build2(args); end # Components of the URI in the order. # - # source://uri//uri/generic.rb#57 + # source://uri//lib/uri/generic.rb#57 def component; end # Returns default port. # - # source://uri//uri/generic.rb#32 + # source://uri//lib/uri/generic.rb#32 def default_port; end # @return [Boolean] # - # source://uri//uri/generic.rb#1566 + # source://uri//lib/uri/generic.rb#1566 def use_proxy?(hostname, addr, port, no_proxy); end - # source://uri//uri/generic.rb#63 + # source://uri//lib/uri/generic.rb#63 def use_registry; end end end @@ -1597,6 +1604,8 @@ end # passwords. This is not legal as per the RFC, but used to be # supported in Internet Explorer 5 and 6, before the MS04-004 security # update. See . +# +# source://uri//lib/uri/http.rb#22 class URI::HTTP < ::URI::Generic # == Description # @@ -1610,7 +1619,7 @@ class URI::HTTP < ::URI::Generic # URI::HTTP.build(host: 'www.example.com', port: 8000, path: '/foo/bar').authority #=> "www.example.com:8000" # URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').authority #=> "www.example.com" # - # source://uri//uri/http.rb#97 + # source://uri//lib/uri/http.rb#97 def authority; end # == Description @@ -1626,7 +1635,7 @@ class URI::HTTP < ::URI::Generic # URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').origin #=> "http://www.example.com" # URI::HTTPS.build(host: 'www.example.com', path: '/foo/bar').origin #=> "https://www.example.com" # - # source://uri//uri/http.rb#119 + # source://uri//lib/uri/http.rb#119 def origin; end # == Description @@ -1641,7 +1650,7 @@ class URI::HTTP < ::URI::Generic # uri = URI::HTTP.build(path: '/foo/bar', query: 'test=true') # uri.request_uri # => "/foo/bar?test=true" # - # source://uri//uri/http.rb#77 + # source://uri//lib/uri/http.rb#77 def request_uri; end class << self @@ -1668,18 +1677,20 @@ class URI::HTTP < ::URI::Generic # Currently, if passed userinfo components this method generates # invalid HTTP URIs as per RFC 1738. # - # source://uri//uri/http.rb#59 + # source://uri//lib/uri/http.rb#59 def build(args); end end end -# source://uri//uri/common.rb#103 +# source://uri//lib/uri/common.rb#103 URI::INITIAL_SCHEMES = T.let(T.unsafe(nil), Hash) # LDAP URI SCHEMA (described in RFC2255). # -- # ldap:///[?[?[?[?]]]] # ++ +# +# source://uri//lib/uri/ldap.rb#23 class URI::LDAP < ::URI::Generic # == Description # @@ -1698,47 +1709,47 @@ class URI::LDAP < ::URI::Generic # # @return [LDAP] a new instance of LDAP # - # source://uri//uri/ldap.rb#108 + # source://uri//lib/uri/ldap.rb#108 def initialize(*arg); end # Returns attributes. # - # source://uri//uri/ldap.rb#178 + # source://uri//lib/uri/ldap.rb#178 def attributes; end # Setter for attributes +val+. # - # source://uri//uri/ldap.rb#191 + # source://uri//lib/uri/ldap.rb#191 def attributes=(val); end # Returns dn. # - # source://uri//uri/ldap.rb#159 + # source://uri//lib/uri/ldap.rb#159 def dn; end # Setter for dn +val+. # - # source://uri//uri/ldap.rb#172 + # source://uri//lib/uri/ldap.rb#172 def dn=(val); end # Returns extensions. # - # source://uri//uri/ldap.rb#235 + # source://uri//lib/uri/ldap.rb#235 def extensions; end # Setter for extensions +val+. # - # source://uri//uri/ldap.rb#248 + # source://uri//lib/uri/ldap.rb#248 def extensions=(val); end # Returns filter. # - # source://uri//uri/ldap.rb#216 + # source://uri//lib/uri/ldap.rb#216 def filter; end # Setter for filter +val+. # - # source://uri//uri/ldap.rb#229 + # source://uri//lib/uri/ldap.rb#229 def filter=(val); end # Checks if URI has a path. @@ -1746,64 +1757,64 @@ class URI::LDAP < ::URI::Generic # # @return [Boolean] # - # source://uri//uri/ldap.rb#255 + # source://uri//lib/uri/ldap.rb#255 def hierarchical?; end # Returns scope. # - # source://uri//uri/ldap.rb#197 + # source://uri//lib/uri/ldap.rb#197 def scope; end # Setter for scope +val+. # - # source://uri//uri/ldap.rb#210 + # source://uri//lib/uri/ldap.rb#210 def scope=(val); end protected # Private setter for attributes +val+. # - # source://uri//uri/ldap.rb#183 + # source://uri//lib/uri/ldap.rb#183 def set_attributes(val); end # Private setter for dn +val+. # - # source://uri//uri/ldap.rb#164 + # source://uri//lib/uri/ldap.rb#164 def set_dn(val); end # Private setter for extensions +val+. # - # source://uri//uri/ldap.rb#240 + # source://uri//lib/uri/ldap.rb#240 def set_extensions(val); end # Private setter for filter +val+. # - # source://uri//uri/ldap.rb#221 + # source://uri//lib/uri/ldap.rb#221 def set_filter(val); end # Private setter for scope +val+. # - # source://uri//uri/ldap.rb#202 + # source://uri//lib/uri/ldap.rb#202 def set_scope(val); end private # Private method to assemble +query+ from +attributes+, +scope+, +filter+, and +extensions+. # - # source://uri//uri/ldap.rb#146 + # source://uri//lib/uri/ldap.rb#146 def build_path_query; end # Private method to cleanup +dn+ from using the +path+ component attribute. # # @raise [InvalidURIError] # - # source://uri//uri/ldap.rb#120 + # source://uri//lib/uri/ldap.rb#120 def parse_dn; end # Private method to cleanup +attributes+, +scope+, +filter+, and +extensions+ # from using the +query+ component attribute. # - # source://uri//uri/ldap.rb#128 + # source://uri//lib/uri/ldap.rb#128 def parse_query; end class << self @@ -1828,12 +1839,14 @@ class URI::LDAP < ::URI::Generic # uri = URI::LDAP.build(["ldap.example.com", nil, # "/dc=example;dc=com", "query", nil, nil, nil]) # - # source://uri//uri/ldap.rb#74 + # source://uri//lib/uri/ldap.rb#74 def build(args); end end end # RFC6068, the mailto URL scheme. +# +# source://uri//lib/uri/mailto.rb#17 class URI::MailTo < ::URI::Generic # == Description # @@ -1845,27 +1858,27 @@ class URI::MailTo < ::URI::Generic # # @return [MailTo] a new instance of MailTo # - # source://uri//uri/mailto.rb#132 + # source://uri//lib/uri/mailto.rb#132 def initialize(*arg); end # E-mail headers set by the URL, as an Array of Arrays. # - # source://uri//uri/mailto.rb#166 + # source://uri//lib/uri/mailto.rb#166 def headers; end # Setter for headers +v+. # - # source://uri//uri/mailto.rb#232 + # source://uri//lib/uri/mailto.rb#232 def headers=(v); end # The primary e-mail address of the URL, as a String. # - # source://uri//uri/mailto.rb#163 + # source://uri//lib/uri/mailto.rb#163 def to; end # Setter for to +v+. # - # source://uri//uri/mailto.rb#200 + # source://uri//lib/uri/mailto.rb#200 def to=(v); end # Returns the RFC822 e-mail text equivalent of the URL, as a String. @@ -1878,7 +1891,7 @@ class URI::MailTo < ::URI::Generic # uri.to_mailtext # # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n" # - # source://uri//uri/mailto.rb#268 + # source://uri//lib/uri/mailto.rb#268 def to_mailtext; end # Returns the RFC822 e-mail text equivalent of the URL, as a String. @@ -1891,24 +1904,24 @@ class URI::MailTo < ::URI::Generic # uri.to_mailtext # # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n" # - # source://uri//uri/mailto.rb#268 + # source://uri//lib/uri/mailto.rb#289 def to_rfc822text; end # Constructs String from URI. # - # source://uri//uri/mailto.rb#239 + # source://uri//lib/uri/mailto.rb#239 def to_s; end protected # Private setter for headers +v+. # - # source://uri//uri/mailto.rb#221 + # source://uri//lib/uri/mailto.rb#221 def set_headers(v); end # Private setter for to +v+. # - # source://uri//uri/mailto.rb#194 + # source://uri//lib/uri/mailto.rb#194 def set_to(v); end private @@ -1916,12 +1929,12 @@ class URI::MailTo < ::URI::Generic # Checks the headers +v+ component against either # * HEADER_REGEXP # - # source://uri//uri/mailto.rb#208 + # source://uri//lib/uri/mailto.rb#208 def check_headers(v); end # Checks the to +v+ component. # - # source://uri//uri/mailto.rb#169 + # source://uri//lib/uri/mailto.rb#169 def check_to(v); end class << self @@ -1951,7 +1964,7 @@ class URI::MailTo < ::URI::Generic # m3 = URI::MailTo.build({:to => 'listman@example.com', :headers => [['subject', 'subscribe']]}) # m3.to_s # => "mailto:listman@example.com?subject=subscribe" # - # source://uri//uri/mailto.rb#85 + # source://uri//lib/uri/mailto.rb#85 def build(args); end end end @@ -1959,6 +1972,8 @@ end # Class that parses String's into URI's. # # It contains a Hash set of patterns and Regexp's that match and validate. +# +# source://uri//lib/uri/rfc2396_parser.rb#64 class URI::RFC2396_Parser include ::URI::RFC2396_REGEXP @@ -1995,7 +2010,7 @@ class URI::RFC2396_Parser # # @return [RFC2396_Parser] a new instance of RFC2396_Parser # - # source://uri//uri/rfc2396_parser.rb#99 + # source://uri//lib/uri/rfc2396_parser.rb#99 def initialize(opts = T.unsafe(nil)); end # :call-seq: @@ -2014,7 +2029,7 @@ class URI::RFC2396_Parser # Constructs a safe String from +str+, removing unsafe characters, # replacing them with codes. # - # source://uri//uri/rfc2396_parser.rb#287 + # source://uri//lib/uri/rfc2396_parser.rb#287 def escape(str, unsafe = T.unsafe(nil)); end # :call-seq: @@ -2037,10 +2052,10 @@ class URI::RFC2396_Parser # # See also URI::Parser.make_regexp. # - # source://uri//uri/rfc2396_parser.rb#249 + # source://uri//lib/uri/rfc2396_parser.rb#249 def extract(str, schemes = T.unsafe(nil)); end - # source://uri//uri/rfc2396_parser.rb#326 + # source://uri//lib/uri/rfc2396_parser.rb#326 def inspect; end # == Args @@ -2052,13 +2067,13 @@ class URI::RFC2396_Parser # # Attempts to parse and merge a set of URIs. # - # source://uri//uri/rfc2396_parser.rb#223 + # source://uri//lib/uri/rfc2396_parser.rb#223 def join(*uris); end # Returns Regexp that is default +self.regexp[:ABS_URI_REF]+, # unless +schemes+ is provided. Then it is a Regexp.union with +self.pattern[:X_ABS_URI]+. # - # source://uri//uri/rfc2396_parser.rb#262 + # source://uri//lib/uri/rfc2396_parser.rb#262 def make_regexp(schemes = T.unsafe(nil)); end # == Args @@ -2077,26 +2092,26 @@ class URI::RFC2396_Parser # p.parse("ldap://ldap.example.com/dc=example?user=john") # #=> # # - # source://uri//uri/rfc2396_parser.rb#209 + # source://uri//lib/uri/rfc2396_parser.rb#209 def parse(uri); end # The Hash of patterns. # # See also URI::Parser.initialize_pattern. # - # source://uri//uri/rfc2396_parser.rb#112 + # source://uri//lib/uri/rfc2396_parser.rb#112 def pattern; end # The Hash of Regexp. # # See also URI::Parser.initialize_regexp. # - # source://uri//uri/rfc2396_parser.rb#117 + # source://uri//lib/uri/rfc2396_parser.rb#117 def regexp; end # Returns a split URI against +regexp[:ABS_URI]+. # - # source://uri//uri/rfc2396_parser.rb#120 + # source://uri//lib/uri/rfc2396_parser.rb#120 def split(uri); end # :call-seq: @@ -2114,163 +2129,131 @@ class URI::RFC2396_Parser # # Removes escapes from +str+. # - # source://uri//uri/rfc2396_parser.rb#318 + # source://uri//lib/uri/rfc2396_parser.rb#318 def unescape(str, escaped = T.unsafe(nil)); end private - # source://uri//uri/rfc2396_parser.rb#527 + # source://uri//lib/uri/rfc2396_parser.rb#527 def convert_to_uri(uri); end # Constructs the default Hash of patterns. # - # source://uri//uri/rfc2396_parser.rb#338 + # source://uri//lib/uri/rfc2396_parser.rb#338 def initialize_pattern(opts = T.unsafe(nil)); end # Constructs the default Hash of Regexp's. # - # source://uri//uri/rfc2396_parser.rb#496 + # source://uri//lib/uri/rfc2396_parser.rb#496 def initialize_regexp(pattern); end end +# source://uri//lib/uri/rfc3986_parser.rb#3 class URI::RFC3986_Parser # @return [RFC3986_Parser] a new instance of RFC3986_Parser # - # source://uri//uri/rfc3986_parser.rb#73 + # source://uri//lib/uri/rfc3986_parser.rb#73 def initialize; end - # source://uri//uri/rfc3986_parser.rb#146 + # source://uri//lib/uri/rfc3986_parser.rb#146 def inspect; end - # source://uri//uri/rfc3986_parser.rb#139 + # source://uri//lib/uri/rfc3986_parser.rb#139 def join(*uris); end - # source://uri//uri/rfc3986_parser.rb#134 + # source://uri//lib/uri/rfc3986_parser.rb#134 def parse(uri); end # Returns the value of attribute regexp. # - # source://uri//uri/rfc3986_parser.rb#71 + # source://uri//lib/uri/rfc3986_parser.rb#71 def regexp; end - # source://uri//uri/rfc3986_parser.rb#77 + # source://uri//lib/uri/rfc3986_parser.rb#77 def split(uri); end private - # source://uri//uri/rfc3986_parser.rb#171 + # source://uri//lib/uri/rfc3986_parser.rb#171 def convert_to_uri(uri); end - # source://uri//uri/rfc3986_parser.rb#157 + # source://uri//lib/uri/rfc3986_parser.rb#157 def default_regexp; end end -# source://uri//uri/rfc3986_parser.rb#33 +# source://uri//lib/uri/rfc3986_parser.rb#33 URI::RFC3986_Parser::FRAGMENT = T.let(T.unsafe(nil), String) # URI defined in RFC3986 # -# source://uri//uri/rfc3986_parser.rb#5 +# source://uri//lib/uri/rfc3986_parser.rb#5 URI::RFC3986_Parser::HOST = T.let(T.unsafe(nil), Regexp) -# source://uri//uri/rfc3986_parser.rb#54 +# source://uri//lib/uri/rfc3986_parser.rb#54 URI::RFC3986_Parser::RFC3986_relative_ref = T.let(T.unsafe(nil), Regexp) -# source://uri//uri/rfc3986_parser.rb#30 +# source://uri//lib/uri/rfc3986_parser.rb#30 URI::RFC3986_Parser::SCHEME = T.let(T.unsafe(nil), String) -# source://uri//uri/rfc3986_parser.rb#31 +# source://uri//lib/uri/rfc3986_parser.rb#31 URI::RFC3986_Parser::SEG = T.let(T.unsafe(nil), String) -# source://uri//uri/rfc3986_parser.rb#32 +# source://uri//lib/uri/rfc3986_parser.rb#32 URI::RFC3986_Parser::SEG_NC = T.let(T.unsafe(nil), String) -# source://uri//uri/rfc3986_parser.rb#28 +# source://uri//lib/uri/rfc3986_parser.rb#28 URI::RFC3986_Parser::USERINFO = T.let(T.unsafe(nil), Regexp) +# source://uri//lib/uri/common.rb#67 module URI::Schemes; end -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::FILE = URI::File -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::FTP = URI::FTP -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::GID = URI::GID -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::HTTP = URI::HTTP -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::HTTPS = URI::HTTPS -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::LDAP = URI::LDAP -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::LDAPS = URI::LDAPS -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::MAILTO = URI::MailTo -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::SOURCE = URI::Source -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::WS = URI::WS -# source://uri//uri/common.rb#80 +# source://uri//lib/uri/common.rb#80 URI::Schemes::WSS = URI::WSS -class URI::Source < ::URI::File - # source://tapioca/0.16.1/lib/tapioca/helpers/source_uri.rb#58 - sig { params(v: T.nilable(::String)).returns(T::Boolean) } - def check_host(v); end - - # source://uri//uri/generic.rb#243 - def gem_name; end +class URI::Source < ::URI::File; end - # source://tapioca/0.16.1/lib/tapioca/helpers/source_uri.rb#25 - sig { returns(T.nilable(::String)) } - def gem_version; end - - # source://uri//uri/generic.rb#283 - def line_number; end - - # source://tapioca/0.16.1/lib/tapioca/helpers/source_uri.rb#51 - sig { params(v: T.nilable(::String)).void } - def set_path(v); end - - # source://tapioca/0.16.1/lib/tapioca/helpers/source_uri.rb#70 - sig { returns(::String) } - def to_s; end - - class << self - # source://tapioca/0.16.1/lib/tapioca/helpers/source_uri.rb#38 - sig do - params( - gem_name: ::String, - gem_version: T.nilable(::String), - path: ::String, - line_number: T.nilable(::String) - ).returns(::URI::Source) - end - def build(gem_name:, gem_version:, path:, line_number:); end - end -end - -# source://uri//uri/common.rb#285 +# source://uri//lib/uri/common.rb#285 URI::TBLENCURICOMP_ = T.let(T.unsafe(nil), Hash) +# source://uri//lib/uri/common.rb#35 module URI::Util private - # source://uri//uri/common.rb#36 + # source://uri//lib/uri/common.rb#36 def make_components_hash(klass, array_hash); end class << self - # source://uri//uri/common.rb#36 + # source://uri//lib/uri/common.rb#64 def make_components_hash(klass, array_hash); end end end @@ -2281,6 +2264,8 @@ end # passwords. This is not legal as per the RFC, but used to be # supported in Internet Explorer 5 and 6, before the MS04-004 security # update. See . +# +# source://uri//lib/uri/ws.rb#22 class URI::WS < ::URI::Generic # == Description # @@ -2294,7 +2279,7 @@ class URI::WS < ::URI::Generic # uri = URI::WS.build(path: '/foo/bar', query: 'test=true') # uri.request_uri # => "/foo/bar?test=true" # - # source://uri//uri/ws.rb#74 + # source://uri//lib/uri/ws.rb#74 def request_uri; end class << self @@ -2319,7 +2304,7 @@ class URI::WS < ::URI::Generic # Currently, if passed userinfo components this method generates # invalid WS URIs as per RFC 1738. # - # source://uri//uri/ws.rb#56 + # source://uri//lib/uri/ws.rb#56 def build(args); end end end @@ -2327,9 +2312,11 @@ end # The default port for WSS URIs is 443, and the scheme is 'wss:' rather # than 'ws:'. Other than that, WSS URIs are identical to WS URIs; # see URI::WS. +# +# source://uri//lib/uri/wss.rb#17 class URI::WSS < ::URI::WS; end # A Default port of 443 for URI::WSS # -# source://uri//uri/wss.rb#19 +# source://uri//lib/uri/wss.rb#19 URI::WSS::DEFAULT_PORT = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/webmock@3.24.0.rbi b/sorbet/rbi/gems/webmock@3.24.0.rbi index 2c7e1b1dc..53b130058 100644 --- a/sorbet/rbi/gems/webmock@3.24.0.rbi +++ b/sorbet/rbi/gems/webmock@3.24.0.rbi @@ -92,6 +92,27 @@ module WebMock include ::WebMock::API extend ::WebMock::API + # source://webmock//lib/webmock/webmock.rb#168 + def after_request(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def allow_net_connect!(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def disable_net_connect!(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def net_connect_allowed?(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def registered_request?(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def reset_callbacks(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 + def reset_webmock(*args, &block); end + class << self # source://webmock//lib/webmock/webmock.rb#143 def after_request(options = T.unsafe(nil), &block); end @@ -105,13 +126,13 @@ module WebMock # source://webmock//lib/webmock/webmock.rb#51 def disable_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#51 + # source://webmock//lib/webmock/webmock.rb#60 def disallow_net_connect!(options = T.unsafe(nil)); end # source://webmock//lib/webmock/webmock.rb#38 def enable!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#46 + # source://webmock//lib/webmock/webmock.rb#59 def enable_net_connect!(options = T.unsafe(nil)); end # source://webmock//lib/webmock/webmock.rb#155 @@ -151,7 +172,7 @@ module WebMock # source://webmock//lib/webmock/webmock.rb#147 def registered_request?(request_signature); end - # source://webmock//lib/webmock/api.rb#14 + # source://webmock//lib/webmock/webmock.rb#23 def request(method, uri); end # source://webmock//lib/webmock/webmock.rb#129 @@ -214,7 +235,7 @@ module WebMock::API # source://webmock//lib/webmock/api.rb#51 def hash_including(*args); end - # source://webmock//lib/webmock/api.rb#31 + # source://webmock//lib/webmock/api.rb#39 def refute_requested(*args, &block); end # source://webmock//lib/webmock/api.rb#67 @@ -223,7 +244,7 @@ module WebMock::API # source://webmock//lib/webmock/api.rb#71 def reset_executed_requests!; end - # source://webmock//lib/webmock/api.rb#7 + # source://webmock//lib/webmock/api.rb#12 def stub_http_request(method, uri); end # source://webmock//lib/webmock/api.rb#7 @@ -246,7 +267,7 @@ module WebMock::API def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end class << self - # source://webmock//lib/webmock/api.rb#14 + # source://webmock//lib/webmock/api.rb#19 def request(method, uri); end end end @@ -475,7 +496,10 @@ class WebMock::Config class << self private + # source://webmock//lib/webmock/config.rb#5 def allocate; end + + # source://webmock//lib/webmock/config.rb#5 def new(*_arg0); end end end @@ -589,7 +613,10 @@ class WebMock::HttpLibAdapterRegistry class << self private + # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#5 def allocate; end + + # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#5 def new(*_arg0); end end end @@ -996,7 +1023,10 @@ class WebMock::RequestRegistry class << self private + # source://webmock//lib/webmock/request_registry.rb#6 def allocate; end + + # source://webmock//lib/webmock/request_registry.rb#6 def new(*_arg0); end end end @@ -1010,7 +1040,7 @@ class WebMock::RequestSignature # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#34 + # source://webmock//lib/webmock/request_signature.rb#37 def ==(other); end # Returns the value of attribute body. @@ -1129,18 +1159,18 @@ class WebMock::RequestStub # source://webmock//lib/webmock/request_stub.rb#8 def initialize(method, uri); end - # source://webmock//lib/webmock/request_stub.rb#65 + # source://webmock//lib/webmock/request_stub.rb#71 def and_raise(*exceptions); end - # source://webmock//lib/webmock/request_stub.rb#19 + # source://webmock//lib/webmock/request_stub.rb#27 def and_return(*response_hashes, &block); end # @raise [ArgumentError] # - # source://webmock//lib/webmock/request_stub.rb#29 + # source://webmock//lib/webmock/request_stub.rb#59 def and_return_json(*response_hashes); end - # source://webmock//lib/webmock/request_stub.rb#73 + # source://webmock//lib/webmock/request_stub.rb#77 def and_timeout; end # @return [Boolean] @@ -1363,7 +1393,10 @@ class WebMock::StubRegistry class << self private + # source://webmock//lib/webmock/stub_registry.rb#6 def allocate; end + + # source://webmock//lib/webmock/stub_registry.rb#6 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/websocket-driver@0.7.6.rbi b/sorbet/rbi/gems/websocket-driver@0.7.6.rbi index b50d786a7..afa6f1990 100644 --- a/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +++ b/sorbet/rbi/gems/websocket-driver@0.7.6.rbi @@ -148,30 +148,47 @@ class WebSocket::Driver::CloseEvent < ::Struct # Returns the value of attribute code # # @return [Object] the current value of code + # + # source://websocket-driver//lib/websocket/driver.rb#53 def code; end # Sets the attribute code # # @param value [Object] the value to set the attribute code to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#53 def code=(_); end # Returns the value of attribute reason # # @return [Object] the current value of reason + # + # source://websocket-driver//lib/websocket/driver.rb#53 def reason; end # Sets the attribute reason # # @param value [Object] the value to set the attribute reason to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#53 def reason=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#53 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#53 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def new(*_arg0); end end end @@ -182,10 +199,19 @@ class WebSocket::Driver::ConfigurationError < ::ArgumentError; end # source://websocket-driver//lib/websocket/driver.rb#48 class WebSocket::Driver::ConnectEvent < ::Struct class << self + # source://websocket-driver//lib/websocket/driver.rb#48 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#48 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def new(*_arg0); end end end @@ -647,19 +673,32 @@ class WebSocket::Driver::MessageEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#50 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#50 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#50 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#50 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def new(*_arg0); end end end @@ -667,10 +706,19 @@ end # source://websocket-driver//lib/websocket/driver.rb#49 class WebSocket::Driver::OpenEvent < ::Struct class << self + # source://websocket-driver//lib/websocket/driver.rb#49 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#49 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def new(*_arg0); end end end @@ -683,19 +731,32 @@ class WebSocket::Driver::PingEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#51 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#51 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#51 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#51 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def new(*_arg0); end end end @@ -705,19 +766,32 @@ class WebSocket::Driver::PongEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#52 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#52 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#52 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#52 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi b/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi index 162d4081b..0d7d6e5dc 100644 --- a/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +++ b/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi @@ -39,7 +39,7 @@ class WebSocket::Extensions # source://websocket-extensions//lib/websocket/extensions.rb#120 def valid_frame_rsv(frame); end - # source://websocket-extensions//lib/websocket/extensions.rb#120 + # source://websocket-extensions//lib/websocket/extensions.rb#135 def valid_frame_rsv?(frame); end private diff --git a/sorbet/rbi/gems/xpath@3.2.0.rbi b/sorbet/rbi/gems/xpath@3.2.0.rbi index 314056462..aaecf5009 100644 --- a/sorbet/rbi/gems/xpath@3.2.0.rbi +++ b/sorbet/rbi/gems/xpath@3.2.0.rbi @@ -21,43 +21,43 @@ end # source://xpath//lib/xpath/dsl.rb#4 module XPath::DSL - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#101 def !(*args); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def !=(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def %(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def &(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def *(rhs); end - # source://xpath//lib/xpath/dsl.rb#62 + # source://xpath//lib/xpath/dsl.rb#65 def +(*expressions); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def /(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def <(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def <=(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def ==(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def >(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def >=(rhs); end - # source://xpath//lib/xpath/dsl.rb#45 + # source://xpath//lib/xpath/dsl.rb#52 def [](expression); end # source://xpath//lib/xpath/dsl.rb#136 @@ -150,7 +150,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#90 def id(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#99 def inverse(*args); end # source://xpath//lib/xpath/dsl.rb#54 @@ -186,7 +186,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#122 def multiply(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#103 def n(*args); end # source://xpath//lib/xpath/dsl.rb#136 @@ -198,7 +198,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#166 def next_sibling(*expressions); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#102 def normalize(*args); end # source://xpath//lib/xpath/dsl.rb#90 @@ -246,7 +246,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#136 def self(*element_names); end - # source://xpath//lib/xpath/dsl.rb#136 + # source://xpath//lib/xpath/dsl.rb#141 def self_axis(*element_names); end # source://xpath//lib/xpath/dsl.rb#90 @@ -288,10 +288,10 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#45 def where(expression); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def |(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#100 def ~(*args); end end @@ -346,7 +346,7 @@ class XPath::Expression # source://xpath//lib/xpath/expression.rb#5 def expression=(_arg0); end - # source://xpath//lib/xpath/expression.rb#17 + # source://xpath//lib/xpath/expression.rb#20 def to_s(type = T.unsafe(nil)); end # source://xpath//lib/xpath/expression.rb#17 @@ -454,7 +454,7 @@ class XPath::Union # Returns the value of attribute expressions. # - # source://xpath//lib/xpath/union.rb#7 + # source://xpath//lib/xpath/union.rb#8 def arguments; end # source://xpath//lib/xpath/union.rb#18 @@ -471,7 +471,7 @@ class XPath::Union # source://xpath//lib/xpath/union.rb#22 def method_missing(*args); end - # source://xpath//lib/xpath/union.rb#26 + # source://xpath//lib/xpath/union.rb#29 def to_s(type = T.unsafe(nil)); end # source://xpath//lib/xpath/union.rb#26 diff --git a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi index c4b656265..ac59d98a6 100644 --- a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +++ b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `yard-sorbet` gem. # Please instead update this file by running `bin/tapioca gem yard-sorbet`. + class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base include ::YARDSorbet::Handlers::StructClassHandler end @@ -259,7 +260,10 @@ module YARDSorbet::NodeUtils # # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#21 sig do - params(node: ::YARD::Parser::Ruby::AstNode, _blk: T.proc.params(n: ::YARD::Parser::Ruby::AstNode).void).void + params( + node: ::YARD::Parser::Ruby::AstNode, + _blk: T.proc.params(n: ::YARD::Parser::Ruby::AstNode).void + ).void end def bfs_traverse(node, &_blk); end @@ -382,11 +386,6 @@ class YARDSorbet::TStructProp < ::T::Struct const :prop_name, ::String const :source, ::String const :types, T::Array[::String] - - class << self - # source://sorbet-runtime/0.5.11520/lib/types/struct.rb#13 - def inherited(s); end - end end # Helper methods for working with `YARD` tags diff --git a/sorbet/rbi/gems/yard@0.9.37.rbi b/sorbet/rbi/gems/yard@0.9.37.rbi index 3964ef11e..0906d4ec5 100644 --- a/sorbet/rbi/gems/yard@0.9.37.rbi +++ b/sorbet/rbi/gems/yard@0.9.37.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `yard` gem. # Please instead update this file by running `bin/tapioca gem yard`. + # source://yard//lib/yard.rb#61 ::RUBY18 = T.let(T.unsafe(nil), FalseClass) @@ -176,7 +177,7 @@ class Gem::SourceIndex # source://yard//lib/yard/rubygems/backports/source_index.rb#143 def latest_specs(include_prerelease = T.unsafe(nil)); end - # source://yard//lib/yard/rubygems/backports/source_index.rb#248 + # source://yard//lib/yard/rubygems/backports/source_index.rb#251 def length; end # Reconstruct the source index from the specifications in +spec_dirs+. @@ -490,21 +491,9 @@ RUBY19 = T.let(T.unsafe(nil), TrueClass) # # source://yard//lib/yard/server/rack_adapter.rb#93 class Rack::Request - # source://rack/3.1.7/lib/rack/request.rb#62 - def initialize(env); end - - # source://rack/3.1.7/lib/rack/request.rb#76 - def delete_param(k); end - - # source://rack/3.1.7/lib/rack/request.rb#67 - def params; end - - # source://rack/3.1.7/lib/rack/request.rb#67 + # source://yard//lib/yard/server/rack_adapter.rb#95 def query; end - # source://rack/3.1.7/lib/rack/request.rb#71 - def update_param(k, v); end - # Returns the value of attribute version_supplied. # # source://yard//lib/yard/server/rack_adapter.rb#94 @@ -521,26 +510,6 @@ class Rack::Request # # source://yard//lib/yard/server/rack_adapter.rb#96 def xhr?; end - - class << self - # source://rack/3.1.7/lib/rack/request.rb#31 - def forwarded_priority; end - - # source://rack/3.1.7/lib/rack/request.rb#31 - def forwarded_priority=(_arg0); end - - # source://rack/3.1.7/lib/rack/request.rb#18 - def ip_filter; end - - # source://rack/3.1.7/lib/rack/request.rb#18 - def ip_filter=(_arg0); end - - # source://rack/3.1.7/lib/rack/request.rb#40 - def x_forwarded_proto_priority; end - - # source://rack/3.1.7/lib/rack/request.rb#40 - def x_forwarded_proto_priority=(_arg0); end - end end # source://yard//lib/yard/core_ext/string.rb#2 @@ -601,7 +570,7 @@ class SymbolHash < ::Hash # @param key [#to_sym] the key to test # @return [Boolean] whether the key exists # - # source://yard//lib/yard/core_ext/symbol_hash.rb#59 + # source://yard//lib/yard/core_ext/symbol_hash.rb#60 def has_key?(key); end # Tests if a symbolized key exists @@ -626,7 +595,7 @@ class SymbolHash < ::Hash # @param hash [Hash] the hash object to copy the values from # @return [SymbolHash] self # - # source://yard//lib/yard/core_ext/symbol_hash.rb#67 + # source://yard//lib/yard/core_ext/symbol_hash.rb#68 def merge!(hash); end # Updates the object with the contents of another Hash object. @@ -647,28 +616,6 @@ class SymbolHash < ::Hash end end -# @private -# -# source://yard//lib/yard/server/webrick_adapter.rb#42 -class WEBrick::HTTPRequest - # Returns the value of attribute version_supplied. - # - # source://yard//lib/yard/server/webrick_adapter.rb#43 - def version_supplied; end - - # Sets the attribute version_supplied - # - # @param value the value to set the attribute version_supplied to. - # - # source://yard//lib/yard/server/webrick_adapter.rb#43 - def version_supplied=(_arg0); end - - # @return [Boolean] - # - # source://yard//lib/yard/server/webrick_adapter.rb#44 - def xhr?; end -end - # Gem::YARDoc provides methods to generate YARDoc and yri data for installed gems # upon gem installation. # @@ -1292,10 +1239,10 @@ class YARD::CLI::GraphOptions < ::YARD::Templates::TemplateOptions # @return [:dot] the default output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/graph.rb#7 def format; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/graph.rb#7 def format=(_arg0); end # @return [Boolean] whether to list the full class diagram @@ -2232,18 +2179,18 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Array] the list of extra files rendered along with objects # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#11 def files; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#11 def files=(_arg0); end # @return [Symbol] the default output format (:html). # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#24 def format; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#24 def format=(_arg0); end # @return [Numeric] An index value for rendering sequentially related templates @@ -2293,10 +2240,10 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Boolean] whether the data should be rendered in a single page, # if the template supports it. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#28 def onefile; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#28 def onefile=(_arg0); end # @return [CodeObjects::ExtraFileObject] the README file object rendered @@ -2314,26 +2261,26 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Serializers::Base] the default serializer for generating output # to disk. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#21 def serializer; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#21 def serializer=(_arg0); end # @return [String] the default title appended to each generated page # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#14 def title; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#14 def title=(_arg0); end # @return [Verifier] the default verifier object to filter queries # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#17 def verifier; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#17 def verifier=(_arg0); end end @@ -2559,7 +2506,7 @@ class YARD::CodeObjects::Base # the paths are equal # @return [Boolean] whether or not the objects are considered the same # - # source://yard//lib/yard/code_objects/base.rb#323 + # source://yard//lib/yard/code_objects/base.rb#330 def ==(other); end # Accesses a custom attribute on the object @@ -2607,7 +2554,7 @@ class YARD::CodeObjects::Base # @return [Docstring] the documentation string # @since 0.8.4 # - # source://yard//lib/yard/code_objects/base.rb#166 + # source://yard//lib/yard/code_objects/base.rb#164 def base_docstring; end # Copies all data in this object to another code object, except for @@ -2666,7 +2613,7 @@ class YARD::CodeObjects::Base # the paths are equal # @return [Boolean] whether or not the objects are considered the same # - # source://yard//lib/yard/code_objects/base.rb#323 + # source://yard//lib/yard/code_objects/base.rb#331 def eql?(other); end # Tests if another object is equal to this, including a proxy @@ -2791,7 +2738,7 @@ class YARD::CodeObjects::Base # # @return [NamespaceObject] the namespace object # - # source://yard//lib/yard/code_objects/base.rb#142 + # source://yard//lib/yard/code_objects/base.rb#543 def parent; end # Sets the namespace the object is defined in. @@ -2800,7 +2747,7 @@ class YARD::CodeObjects::Base # for {Registry.root}). If obj is nil, the object is unregistered # from the Registry. # - # source://yard//lib/yard/code_objects/base.rb#522 + # source://yard//lib/yard/code_objects/base.rb#544 def parent=(obj); end # Represents the unique path of the object. The default implementation @@ -2926,7 +2873,7 @@ class YARD::CodeObjects::Base # @return [String] the unique path of the object # @see #sep # - # source://yard//lib/yard/code_objects/base.rb#453 + # source://yard//lib/yard/code_objects/base.rb#460 def to_s; end # Default type is the lowercase class name without the "Object" suffix. @@ -2944,7 +2891,7 @@ class YARD::CodeObjects::Base # @return [Symbol] the visibility of an object (:public, :private, :protected) # - # source://yard//lib/yard/code_objects/base.rb#183 + # source://yard//lib/yard/code_objects/base.rb#181 def visibility=(v); end protected @@ -3129,7 +3076,7 @@ class YARD::CodeObjects::CodeObjectList < ::Array # @param value [Base] a code object to add # @return [CodeObjectList] self # - # source://yard//lib/yard/code_objects/base.rb#19 + # source://yard//lib/yard/code_objects/base.rb#28 def <<(value); end # Adds a new value to the list @@ -3223,10 +3170,10 @@ class YARD::CodeObjects::ExtraFileObject # source://yard//lib/yard/code_objects/extra_file_object.rb#44 def contents=(contents); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#64 + # source://yard//lib/yard/code_objects/extra_file_object.rb#68 def eql?(other); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#64 + # source://yard//lib/yard/code_objects/extra_file_object.rb#69 def equal?(other); end # Returns the value of attribute filename. @@ -3273,13 +3220,13 @@ class YARD::CodeObjects::ExtraFileObject # Returns the value of attribute name. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#10 + # source://yard//lib/yard/code_objects/extra_file_object.rb#28 def path; end # source://yard//lib/yard/code_objects/extra_file_object.rb#35 def title; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#57 + # source://yard//lib/yard/code_objects/extra_file_object.rb#60 def to_s; end # source://yard//lib/yard/code_objects/extra_file_object.rb#62 @@ -3459,7 +3406,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @return [nil] if the +data+ has no macro tag or if the macro is # not new and no macro by the macro name is found. # - # source://yard//lib/yard/code_objects/macro_object.rb#70 + # source://yard//lib/yard/code_objects/macro_object.rb#73 def create_docstring(macro_name, data, method_object = T.unsafe(nil)); end # Expands +macro_data+ using the interpolation parameters. @@ -4047,7 +3994,7 @@ class YARD::CodeObjects::Proxy # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#127 + # source://yard//lib/yard/code_objects/proxy.rb#134 def ==(other); end # @return [Boolean] @@ -4120,7 +4067,7 @@ class YARD::CodeObjects::Proxy # Returns the value of attribute namespace. # - # source://yard//lib/yard/code_objects/proxy.rb#27 + # source://yard//lib/yard/code_objects/proxy.rb#28 def parent; end # If the proxy resolves to an object, returns its path, otherwise @@ -4150,7 +4097,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#105 def title; end # If the proxy resolves to an object, returns its path, otherwise @@ -4159,7 +4106,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#103 def to_s; end # If the proxy resolves to an object, returns its path, otherwise @@ -4168,7 +4115,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#104 def to_str; end # Returns the type of the proxy. If it cannot be resolved at the @@ -4573,7 +4520,7 @@ class YARD::Docstring < ::String # # @param content [String] the raw comments to be parsed # - # source://yard//lib/yard/docstring.rb#132 + # source://yard//lib/yard/docstring.rb#144 def all=(content, parse = T.unsafe(nil)); end # Returns true if the docstring has no content that is visible to a template. @@ -5350,36 +5297,36 @@ class YARD::Handlers::Base # Returns the value of attribute extra_state. # - # source://yard//lib/yard/handlers/base.rb#348 + # source://yard//lib/yard/handlers/base.rb#333 def extra_state; end # Returns the value of attribute globals. # - # source://yard//lib/yard/handlers/base.rb#347 + # source://yard//lib/yard/handlers/base.rb#330 def globals; end # Returns the value of attribute namespace. # - # source://yard//lib/yard/handlers/base.rb#341 + # source://yard//lib/yard/handlers/base.rb#321 def namespace; end # Sets the attribute namespace # # @param value the value to set the attribute namespace to. # - # source://yard//lib/yard/handlers/base.rb#342 + # source://yard//lib/yard/handlers/base.rb#321 def namespace=(v); end # Returns the value of attribute owner. # - # source://yard//lib/yard/handlers/base.rb#339 + # source://yard//lib/yard/handlers/base.rb#318 def owner; end # Sets the attribute owner # # @param value the value to set the attribute owner to. # - # source://yard//lib/yard/handlers/base.rb#340 + # source://yard//lib/yard/handlers/base.rb#318 def owner=(v); end # Parses the semantic "block" contained in the statement node. @@ -5523,14 +5470,14 @@ class YARD::Handlers::Base # Returns the value of attribute scope. # - # source://yard//lib/yard/handlers/base.rb#345 + # source://yard//lib/yard/handlers/base.rb#327 def scope; end # Sets the attribute scope # # @param value the value to set the attribute scope to. # - # source://yard//lib/yard/handlers/base.rb#346 + # source://yard//lib/yard/handlers/base.rb#327 def scope=(v); end # @return [Object] the statement object currently being processed. Usually @@ -5542,14 +5489,14 @@ class YARD::Handlers::Base # Returns the value of attribute visibility. # - # source://yard//lib/yard/handlers/base.rb#343 + # source://yard//lib/yard/handlers/base.rb#324 def visibility; end # Sets the attribute visibility # # @param value the value to set the attribute visibility to. # - # source://yard//lib/yard/handlers/base.rb#344 + # source://yard//lib/yard/handlers/base.rb#324 def visibility=(v); end class << self @@ -6237,7 +6184,7 @@ class YARD::Handlers::Processor # @return [Hash] a list of registered parser type extensions # @since 0.6.0 # - # source://yard//lib/yard/handlers/processor.rb#32 + # source://yard//lib/yard/handlers/processor.rb#30 def namespace_for_handler; end # Registers a new namespace for handlers of the given type. @@ -7142,13 +7089,13 @@ class YARD::I18n::Locale # @return [String, nil] the default locale name. # @since 0.8.4 # - # source://yard//lib/yard/i18n/locale.rb#15 + # source://yard//lib/yard/i18n/locale.rb#12 def default; end # @return [String, nil] the default locale name. # @since 0.8.4 # - # source://yard//lib/yard/i18n/locale.rb#20 + # source://yard//lib/yard/i18n/locale.rb#12 def default=(locale); end end end @@ -7562,7 +7509,7 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#205 + # source://yard//lib/yard/logging.rb#209 def <<(msg = T.unsafe(nil)); end # Prints the backtrace +exc+ to the logger as error data. @@ -8378,7 +8325,7 @@ class YARD::Parser::C::Statement # source://yard//lib/yard/parser/c/statement.rb#36 def show; end - # source://yard//lib/yard/parser/c/statement.rb#30 + # source://yard//lib/yard/parser/c/statement.rb#34 def signature; end # Returns the value of attribute source. @@ -8550,17 +8497,17 @@ class YARD::Parser::Ruby::AstNode < ::Array # Returns the value of attribute docstring. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#50 def comments; end # Returns the value of attribute docstring_hash_flag. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#42 + # source://yard//lib/yard/parser/ruby/ast_node.rb#52 def comments_hash_flag; end # Returns the value of attribute docstring_range. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#51 def comments_range; end # @return [Boolean] whether the node is a if/elsif/else condition @@ -8744,7 +8691,7 @@ class YARD::Parser::Ruby::AstNode < ::Array # @return [String] the parse of {#full_source} that the node represents # - # source://yard//lib/yard/parser/ruby/ast_node.rb#89 + # source://yard//lib/yard/parser/ruby/ast_node.rb#43 def source; end # Sets the attribute source @@ -8769,7 +8716,7 @@ class YARD::Parser::Ruby::AstNode < ::Array # Returns the value of attribute source. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#53 def to_s; end # @return [Boolean] whether the node is a token @@ -8845,7 +8792,7 @@ end # # source://yard//lib/yard/parser/ruby/ast_node.rb#548 class YARD::Parser::Ruby::CommentNode < ::YARD::Parser::Ruby::AstNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#549 + # source://yard//lib/yard/parser/ruby/ast_node.rb#551 def comments; end # source://yard//lib/yard/parser/ruby/ast_node.rb#549 @@ -9220,7 +9167,12 @@ YARD::Parser::Ruby::Legacy::RubyToken::EXPR_MID = T.let(T.unsafe(nil), Symbol) YARD::Parser::Ruby::Legacy::RubyToken::NEWLINE_TOKEN = T.let(T.unsafe(nil), YARD::Parser::Ruby::Legacy::RubyToken::TkNL) # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::OPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::OPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkALIAS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end @@ -9232,25 +9184,50 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkAMPER < ::YARD::Parser::Ruby::Leg class YARD::Parser::Ruby::Legacy::RubyToken::TkAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkANDOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkANDOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkAREF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkAREF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkASET < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkASET < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkASSIGN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkASSOC < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkASSOC < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKQUOTE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKQUOTE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKSLASH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end @@ -9262,16 +9239,36 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkBACK_REF < ::YARD::Parser::Ruby:: class YARD::Parser::Ruby::Legacy::RubyToken::TkBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkBITAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkBITAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkBITNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkBITNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkBITOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkBITOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkBITXOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkBITXOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBREAK < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end @@ -9291,16 +9288,36 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkCASE < ::YARD::Parser::Ruby::Lega class YARD::Parser::Ruby::Legacy::RubyToken::TkCLASS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkCMP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkCMP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMA < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end @@ -9318,7 +9335,12 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkDEF < ::YARD::Parser::Ruby::Legac class YARD::Parser::Ruby::Legacy::RubyToken::TkDEFINED < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkDIV < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkDIV < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end @@ -9330,10 +9352,20 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkDOLLAR < ::YARD::Parser::Ruby::Le class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkDREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end @@ -9360,10 +9392,20 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkEND_OF_SCRIPT < ::YARD::Parser::R class YARD::Parser::Ruby::Legacy::RubyToken::TkENSURE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkEQQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkEQQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#115 class YARD::Parser::Ruby::Legacy::RubyToken::TkError < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end @@ -9381,10 +9423,20 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkFLOAT < ::YARD::Parser::Ruby::Leg class YARD::Parser::Ruby::Legacy::RubyToken::TkFOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkGEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkGEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkGT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkGT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkGVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end @@ -9437,34 +9489,74 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACE < ::YARD::Parser::Ruby::Le class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkLEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkLEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkLPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkLSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkLSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkLT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkLT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkMOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkMOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkMODULE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkMULT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkMULT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkNEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkNEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNEXT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end @@ -9476,13 +9568,23 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkNIL < ::YARD::Parser::Ruby::Legac class YARD::Parser::Ruby::Legacy::RubyToken::TkNL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkNMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkNMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkNOTOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkNOTOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNTH_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end @@ -9512,7 +9614,12 @@ end class YARD::Parser::Ruby::Legacy::RubyToken::TkOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkOROP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkOROP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#92 class YARD::Parser::Ruby::Legacy::RubyToken::TkOp < ::YARD::Parser::Ruby::Legacy::RubyToken::Token @@ -9521,13 +9628,28 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkOp < ::YARD::Parser::Ruby::Legacy end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkPOW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkPOW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkQUESTION < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkQUESTION < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end @@ -9554,7 +9676,12 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkRETURN < ::YARD::Parser::Ruby::Le class YARD::Parser::Ruby::Legacy::RubyToken::TkRPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkRSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkRSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # { reading => token_class } # { reading => [token_class, *opt] } @@ -9604,7 +9731,12 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkTHEN < ::YARD::Parser::Ruby::Lega class YARD::Parser::Ruby::Legacy::RubyToken::TkTRUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkUMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkUMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkUNDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end @@ -9622,7 +9754,12 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL < ::YARD::Parser::Ruby::Leg class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 -class YARD::Parser::Ruby::Legacy::RubyToken::TkUPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp; end +class YARD::Parser::Ruby::Legacy::RubyToken::TkUPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp + class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 + def op_name; end + end +end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#107 class YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar < ::YARD::Parser::Ruby::Legacy::RubyToken::Token @@ -9811,10 +9948,10 @@ class YARD::Parser::Ruby::Legacy::Statement # source://yard//lib/yard/parser/ruby/legacy/statement.rb#41 def show; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#21 + # source://yard//lib/yard/parser/ruby/legacy/statement.rb#25 def signature; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#27 + # source://yard//lib/yard/parser/ruby/legacy/statement.rb#32 def source(include_block = T.unsafe(nil)); end # source://yard//lib/yard/parser/ruby/legacy/statement.rb#27 @@ -9975,7 +10112,7 @@ class YARD::Parser::Ruby::Legacy::TokenList < ::Array # @param tokens [TokenList, Token, String] A list of tokens. If the token is a string, it # is parsed with {RubyLex}. # - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#21 + # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#35 def <<(*tokens); end # @param tokens [TokenList, Token, String] A list of tokens. If the token is a string, it @@ -10056,6 +10193,9 @@ end # source://yard//lib/yard/parser/ruby/ast_node.rb#479 class YARD::Parser::Ruby::MethodDefinitionNode < ::YARD::Parser::Ruby::AstNode + # source://yard//lib/yard/parser/ruby/ast_node.rb#506 + def block(n = T.unsafe(nil)); end + # @return [Boolean] # # source://yard//lib/yard/parser/ruby/ast_node.rb#481 @@ -10186,490 +10326,490 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # source://yard//lib/yard/parser/ruby/ruby_parser.rb#29 def frozen_string_line; end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_BEGIN(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_CHAR(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_END(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on___end__(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_alias_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_arg_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_arg_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add_block(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_args_forward(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_args_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_aryptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assign_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assoc_splat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_backref(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_backtick(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_begin(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_binary(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_block_var(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_blockarg(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_brace_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_break(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_case(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_class(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_class_name_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_comma(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_command(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_command_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_const(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_const_path_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_const_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_cvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_def(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_defined(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_defs(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_do_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_dot2(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_dot3(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_else(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_elsif(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embexpr_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embexpr_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_ensure(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_excessed_comma(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_fcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_float(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_fndptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_for(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_gvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_heredoc_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_heredoc_dedent(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_heredoc_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_hshptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ident(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_if(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_if_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_ifop(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#222 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ignored_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ignored_sp(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_imaginary(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_in(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_int(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ivar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#209 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_kw(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_kwrest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_label_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_lbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_lparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_magic_comment(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_massign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_method_add_arg(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_method_add_block(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add_post(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_mlhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_mlhs_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_module(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mrhs_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mrhs_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_mrhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_mrhs_new_from_args(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_next(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#222 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_nokw_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#209 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_op(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_opassign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_operator_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_param_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_period(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_qsymbols_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_qsymbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_qsymbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_qwords_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_qwords_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_qwords_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rational(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_redo(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_regexp_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_regexp_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_regexp_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_regexp_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_regexp_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_rescue_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_rest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_retry(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_return(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_return0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_sclass(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_semicolon(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_stmts_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_stmts_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_string_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_string_concat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_string_dvar(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_string_embexpr(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_super(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_symbeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_symbol(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_symbol_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_symbols_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_symbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_symbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tlambda(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tlambeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_top_const_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tstring_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tstring_content(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tstring_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_undef(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_unless(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_unless_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_until(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_until_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_vcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_when(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_while(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_while_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_word_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_word_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_words_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_words_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_words_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_words_sep(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_xstring_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_xstring_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_xstring_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_yield(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_yield0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_zsuper(*args); end # @since 0.5.6 @@ -10679,7 +10819,7 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#30 def root; end # @since 0.5.6 @@ -10713,7 +10853,7 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @raise [ParserSyntaxError] # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#606 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#609 def compile_error(msg); end # @since 0.5.6 @@ -10728,32 +10868,32 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#377 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_aref(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#385 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_aref_field(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#391 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_array(other); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#352 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assoc_new(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#364 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assoclist_from_args(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#360 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_bare_assoc_hash(*args); end # @since 0.5.6 @@ -10763,113 +10903,113 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#347 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_bodystmt(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#542 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_comment(comment); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#441 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_const_path_ref(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#419 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_dyna_symbol(sym); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#592 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embdoc(text); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#586 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embdoc_beg(text); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#597 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embdoc_end(text); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#356 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_hash(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#534 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_label(data); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#497 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_lambda(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#409 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_lbracket(tok); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#515 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_params(*args); end # @raise [ParserSyntaxError] # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#606 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_parse_error(msg); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#343 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_program(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#414 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rbracket(tok); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#506 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_rescue(exc, *args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#232 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_sp(tok); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#501 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_string_content(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#484 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_string_literal(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#429 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_top_const_ref(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#368 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_unary(op, val); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#511 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_void_stmt; end # @since 0.5.6 @@ -11614,7 +11754,7 @@ module YARD::Registry # @return [CodeObjects::Base] the object at path # @return [nil] if no object is found # - # source://yard//lib/yard/registry.rb#261 + # source://yard//lib/yard/registry.rb#262 def [](path); end # Returns all objects in the registry that match one of the types provided @@ -11774,14 +11914,14 @@ module YARD::Registry # # @return [String] the directory that has .po files # - # source://yard//lib/yard/registry.rb#353 + # source://yard//lib/yard/registry.rb#349 def po_dir; end # Gets/sets the directory that has LANG.po files # # @return [String] the directory that has .po files # - # source://yard//lib/yard/registry.rb#351 + # source://yard//lib/yard/registry.rb#349 def po_dir=(dir); end # The assumed types of a list of paths. This method is used by CodeObjects::Base @@ -11857,7 +11997,7 @@ module YARD::Registry # @return [Boolean, nil] if this value is set to nil, the storage # adapter will decide how to store the data. # - # source://yard//lib/yard/registry.rb#335 + # source://yard//lib/yard/registry.rb#332 def single_object_db; end # Whether or not the Registry storage should load everything into a @@ -11869,7 +12009,7 @@ module YARD::Registry # @return [Boolean, nil] if this value is set to nil, the storage # adapter will decide how to store the data. # - # source://yard//lib/yard/registry.rb#334 + # source://yard//lib/yard/registry.rb#332 def single_object_db=(v); end # Gets/sets the yardoc filename @@ -11877,7 +12017,7 @@ module YARD::Registry # @return [String] the yardoc filename # @see DEFAULT_YARDOC_FILE # - # source://yard//lib/yard/registry.rb#88 + # source://yard//lib/yard/registry.rb#84 def yardoc_file; end # Gets/sets the yardoc filename @@ -11885,7 +12025,7 @@ module YARD::Registry # @return [String] the yardoc filename # @see DEFAULT_YARDOC_FILE # - # source://yard//lib/yard/registry.rb#86 + # source://yard//lib/yard/registry.rb#84 def yardoc_file=(v); end # Returns the .yardoc file associated with a gem. @@ -12066,7 +12206,7 @@ class YARD::RegistryStore # If it is empty or :root, returns the {#root} object. # @return [CodeObjects::Base, nil] a code object or nil if none is found # - # source://yard//lib/yard/registry_store.rb#33 + # source://yard//lib/yard/registry_store.rb#69 def [](key); end # Associates an object with a path @@ -12075,7 +12215,7 @@ class YARD::RegistryStore # @param value [CodeObjects::Base] the object to store # @return [CodeObjects::Base] returns +value+ # - # source://yard//lib/yard/registry_store.rb#55 + # source://yard//lib/yard/registry_store.rb#70 def []=(key, value); end # Returns the value of attribute checksums. @@ -13266,22 +13406,22 @@ class YARD::Server::Commands::LibraryIndexOptions < ::YARD::CLI::YardocOptions # source://yard//lib/yard/server/commands/library_index_command.rb#6 def libraries=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#9 def serialize; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#9 def serialize=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#7 def template; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#7 def template=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#8 def type; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#8 def type=(_arg0); end end @@ -13818,7 +13958,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#223 + # source://yard//lib/yard/server/http_utils.rb#228 def dequote(str); end # Escapes HTTP reserved and unwise characters in +str+ @@ -13853,7 +13993,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#112 + # source://yard//lib/yard/server/http_utils.rb#128 def load_mime_types(file); end # Returns the mime type of +filename+ from the list in +mime_tab+. If no @@ -13861,7 +14001,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#134 + # source://yard//lib/yard/server/http_utils.rb#139 def mime_type(filename, mime_tab); end # Normalizes a request path. Raises an exception if the path cannot be @@ -13869,14 +14009,14 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#31 + # source://yard//lib/yard/server/http_utils.rb#42 def normalize_path(path); end # Parses form data in +io+ with the given +boundary+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#395 + # source://yard//lib/yard/server/http_utils.rb#421 def parse_form_data(io, boundary); end # Parses an HTTP header +raw+ into a hash of header fields with an Array @@ -13884,42 +14024,42 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#145 + # source://yard//lib/yard/server/http_utils.rb#170 def parse_header(raw); end # Parses the query component of a URI in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#371 + # source://yard//lib/yard/server/http_utils.rb#390 def parse_query(str); end # Parses q values in +value+ as used in Accept headers. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#202 + # source://yard//lib/yard/server/http_utils.rb#218 def parse_qvalues(value); end # Parses a Range header value +ranges_specifier+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#184 + # source://yard//lib/yard/server/http_utils.rb#197 def parse_range_header(ranges_specifier); end # Quotes and escapes quotes in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#233 + # source://yard//lib/yard/server/http_utils.rb#236 def quote(str); end # Splits a header value +str+ according to HTTP specification. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#175 + # source://yard//lib/yard/server/http_utils.rb#179 def split_header_value(str); end # Unescapes HTTP reserved and unwise characters in +str+ @@ -14048,7 +14188,7 @@ class YARD::Server::HTTPUtils::FormData < ::String # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#347 + # source://yard//lib/yard/server/http_utils.rb#358 def to_ary; end # This FormData's body @@ -14211,7 +14351,7 @@ class YARD::Server::LibraryVersion # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#153 + # source://yard//lib/yard/server/library_version.rb#157 def ==(other); end # @return [Boolean] whether another LibraryVersion is equal to this one @@ -14223,7 +14363,7 @@ class YARD::Server::LibraryVersion # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#153 + # source://yard//lib/yard/server/library_version.rb#158 def equal?(other); end # @return [Gem::Specification] a gemspec object for a given library. Used @@ -14705,50 +14845,6 @@ module YARD::Server::StaticCaching def check_static_cache; end end -# The main adapter to initialize a WEBrick server. -# -# @since 0.6.0 -# -# source://yard//lib/yard/server/webrick_adapter.rb#7 -class YARD::Server::WebrickAdapter < ::YARD::Server::Adapter - # Initializes a WEBrick server. If {Adapter#server_options} contains a - # +:daemonize+ key set to true, the server will be daemonized. - # - # @since 0.6.0 - # - # source://yard//lib/yard/server/webrick_adapter.rb#10 - def start; end -end - -# The main WEBrick servlet implementation, accepting only GET requests. -# -# @since 0.6.0 -# -# source://yard//lib/yard/server/webrick_adapter.rb#20 -class YARD::Server::WebrickServlet < ::WEBrick::HTTPServlet::AbstractServlet - # @return [WebrickServlet] a new instance of WebrickServlet - # @since 0.6.0 - # - # source://yard//lib/yard/server/webrick_adapter.rb#23 - def initialize(server, adapter); end - - # @since 0.6.0 - # - # source://yard//lib/yard/server/webrick_adapter.rb#21 - def adapter; end - - # @since 0.6.0 - # - # source://yard//lib/yard/server/webrick_adapter.rb#21 - def adapter=(_arg0); end - - # @private - # @since 0.6.0 - # - # source://yard//lib/yard/server/webrick_adapter.rb#29 - def do_GET(request, response); end -end - # Stubs marshal dumps and acts a delegate class for an object by path # # @private @@ -15214,7 +15310,7 @@ class YARD::Tags::Library # def run; raise NotImplementedError end # end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def abstract_tag(text); end # Declares the API that the object belongs to. Does not display in @@ -15234,7 +15330,7 @@ class YARD::Tags::Library # documentation if it is listed, letting users know that the # method is not to be used by external components. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def api_tag(text); end # Declares a readonly attribute on a Struct or class. @@ -15246,7 +15342,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_reader_tag(text); end # Declares a readwrite attribute on a Struct or class. @@ -15258,7 +15354,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_tag(text); end # Declares a writeonly attribute on a Struct or class. @@ -15270,7 +15366,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_writer_tag(text); end # source://yard//lib/yard/tags/library.rb#202 @@ -15282,7 +15378,7 @@ class YARD::Tags::Library # # @author Foo Bar # class MyClass; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def author_tag(text); end # Marks a method/class as deprecated with an optional description. @@ -15300,7 +15396,7 @@ class YARD::Tags::Library # def kill; end # end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def deprecated_tag(text); end # Creates a new directive with tag information and a docstring parser @@ -15325,7 +15421,7 @@ class YARD::Tags::Library # # "mystring".reverse #=> "gnirtsym" # def reverse; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def example_tag(text); end # A factory class to handle parsing of tags, defaults to {default_factory} @@ -15368,7 +15464,7 @@ class YARD::Tags::Library # def eject; end # @see tag:todo # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def note_tag(text); end # Describe an options hash in a method. The tag takes the @@ -15389,7 +15485,7 @@ class YARD::Tags::Library # def send_email(opts = {}) end # @note For keyword parameters, use +@param+, not +@option+. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def option_tag(text); end # Describe that your method can be used in various @@ -15408,7 +15504,7 @@ class YARD::Tags::Library # # @param value [Object] describe value param # def set(*args) end # - # source://yard//lib/yard/tags/library.rb#161 + # source://yard//lib/yard/tags/library.rb#160 def overload_tag(text); end # Documents a single method parameter (either regular or keyword) with a given name, type @@ -15419,7 +15515,7 @@ class YARD::Tags::Library # # @param directory [String] the name of the directory to save to # def load_page(url, directory: 'pages') end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def param_tag(text); end # source://yard//lib/yard/tags/library.rb#202 @@ -15454,7 +15550,7 @@ class YARD::Tags::Library # it is redefined on the child object. # @see tag:api # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def private_tag(text); end # Describes that a method may raise a given exception, with @@ -15465,7 +15561,7 @@ class YARD::Tags::Library # # sufficient funds to perform the transaction # def withdraw(amount) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def raise_tag(text); end # Describes the return value (and type or types) of a method. @@ -15483,7 +15579,7 @@ class YARD::Tags::Library # # returned. # def find(query) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def return_tag(text); end # Sets the scope of a DSL method. Only applicable to DSL method @@ -15503,7 +15599,7 @@ class YARD::Tags::Library # # @see NTPHelperMethods # class NTPUpdater; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def see_tag(text); end # Lists the version that the object was first added. @@ -15516,7 +15612,7 @@ class YARD::Tags::Library # applied to all children objects of that namespace unless # it is redefined on the child object. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def since_tag(text); end # Creates a new {Tag} object with a given tag name and data @@ -15551,7 +15647,7 @@ class YARD::Tags::Library # class Wonderlander; end # @see tag:note # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def todo_tag(text); end # Lists the version of a class, module or method. This is @@ -15566,7 +15662,7 @@ class YARD::Tags::Library # # @version 2.0 # class JabberwockyAPI; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def version_tag(text); end # Sets the visibility of a DSL method. Only applicable to @@ -15589,7 +15685,7 @@ class YARD::Tags::Library # @see tag:yieldparam # @see tag:yieldreturn # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yield_tag(text); end # Defines a parameter yielded by a block. If you define the @@ -15600,7 +15696,7 @@ class YARD::Tags::Library # # @yieldparam [String] name the name that is yielded # def with_name(name) yield(name) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yieldparam_tag(text); end # Documents the value and type that the block is expected @@ -15611,7 +15707,7 @@ class YARD::Tags::Library # def add5_block(&block) 5 + yield end # @see tag:return # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yieldreturn_tag(text); end private @@ -16070,7 +16166,7 @@ class YARD::Tags::OverloadTag < ::YARD::Tags::Tag # @return [Boolean] # - # source://yard//lib/yard/tags/overload_tag.rb#36 + # source://yard//lib/yard/tags/overload_tag.rb#39 def kind_of?(other); end # source://yard//lib/yard/tags/overload_tag.rb#28 @@ -16365,6 +16461,7 @@ class YARD::Tags::TypesExplainer private + # source://yard//lib/yard/tags/types_explainer.rb#22 def new(*_arg0); end end end @@ -16818,7 +16915,7 @@ module YARD::Templates::Helpers::BaseHelper # @return [CodeObjects::Base] the object representing the current generated # page. Might not be the current {#object} when inside sub-templates. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#11 + # source://yard//lib/yard/templates/helpers/base_helper.rb#9 def owner; end # Runs a list of objects against the {Verifier} object passed into the @@ -17112,7 +17209,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param relative [Boolean] use a relative or absolute link # @return [String] the URL location of the object # - # source://yard//lib/yard/templates/helpers/html_helper.rb#368 + # source://yard//lib/yard/templates/helpers/html_helper.rb#399 def mtime_url(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end # Resolves any text in the form of +{Name}+ to the object specified by @@ -17266,7 +17363,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the URL # @return [String] the escaped URL # - # source://yard//lib/yard/templates/helpers/html_helper.rb#31 + # source://yard//lib/yard/templates/helpers/html_helper.rb#47 def urlencode(text); end end end @@ -17648,7 +17745,7 @@ class YARD::Templates::Section < ::Array # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#45 + # source://yard//lib/yard/templates/section.rb#48 def <<(*args); end # @since 0.6.0 @@ -18066,17 +18163,17 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#34 def __globals; end # @return [String] the default return type for a method with no return tags # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#20 def default_return; end # @return [String] the default return type for a method with no return tags # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#20 def default_return=(_arg0); end # @example A list of mixin path names (including wildcards) @@ -18086,7 +18183,7 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # Useful for modules like ClassMethods. If the name contains '::', the module # is matched against the full mixin path, otherwise only the module name is used. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#71 def embed_mixins; end # @example A list of mixin path names (including wildcards) @@ -18096,7 +18193,7 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # Useful for modules like ClassMethods. If the name contains '::', the module # is matched against the full mixin path, otherwise only the module name is used. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#71 def embed_mixins=(_arg0); end # @param mixin [CodeObjects::Base] accepts any code object, but returns @@ -18109,44 +18206,44 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the template output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#11 def format; end # @return [Symbol] the template output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#11 def format=(_arg0); end # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#33 def globals; end # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#33 def globals=(_arg0); end # @return [Boolean] whether void methods should show "void" in their signature # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#23 def hide_void_return; end # @return [Boolean] whether void methods should show "void" in their signature # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#23 def hide_void_return=(_arg0); end # @return [Boolean] whether code blocks should be syntax highlighted # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#26 def highlight; end # @return [Boolean] whether code blocks should be syntax highlighted # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#26 def highlight=(_arg0); end # @return [Boolean] whether the page is the "index" @@ -18161,12 +18258,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the markup format to use when parsing docstrings # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#17 def markup; end # @return [Symbol] the markup format to use when parsing docstrings # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#17 def markup=(_arg0); end # @return [Class] the markup provider class for the markup format @@ -18182,7 +18279,7 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @deprecated use {#highlight} instead. # @return [Boolean] whether highlighting should be ignored # - # source://yard//lib/yard/templates/template_options.rb#56 + # source://yard//lib/yard/templates/template_options.rb#54 def no_highlight; end # source://yard//lib/yard/templates/template_options.rb#57 @@ -18220,12 +18317,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#46 def serialize; end # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#46 def serialize=(_arg0); end # @return [Serializers::Base] the serializer used to generate links and serialize @@ -18242,12 +18339,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#14 def template; end # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#14 def template=(_arg0); end # @return [Symbol] the template type used to generate output @@ -18363,7 +18460,7 @@ class YARD::Verifier # @return [CodeObjects::Base] the current object being tested # - # source://yard//lib/yard/verifier.rb#98 + # source://yard//lib/yard/verifier.rb#99 def o; end # @return [CodeObjects::Base] the current object being tested diff --git a/sorbet/rbi/gems/zeitwerk@2.6.18.rbi b/sorbet/rbi/gems/zeitwerk@2.6.18.rbi index 5712fcdab..5cbb07e7c 100644 --- a/sorbet/rbi/gems/zeitwerk@2.6.18.rbi +++ b/sorbet/rbi/gems/zeitwerk@2.6.18.rbi @@ -12,9 +12,39 @@ module Kernel # source://zeitwerk//lib/zeitwerk/kernel.rb#23 def require(path); end + # Zeitwerk's main idea is to define autoloads for project constants, and then + # intercept them when triggered in this thin `Kernel#require` wrapper. + # + # That allows us to complete the circle, invoke callbacks, autovivify modules, + # define autoloads for just autoloaded namespaces, update internal state, etc. + # + # On the other hand, if you publish a new version of a gem that is now managed + # by Zeitwerk, client code can reference directly your classes and modules and + # should not require anything. But if someone has legacy require calls around, + # they will work as expected, and in a compatible way. This feature is by now + # EXPERIMENTAL and UNDOCUMENTED. + # + # source://zeitwerk//lib/zeitwerk/kernel.rb#17 + def zeitwerk_original_require(name); end + class << self # source://zeitwerk//lib/zeitwerk/kernel.rb#23 def require(path); end + + # Zeitwerk's main idea is to define autoloads for project constants, and then + # intercept them when triggered in this thin `Kernel#require` wrapper. + # + # That allows us to complete the circle, invoke callbacks, autovivify modules, + # define autoloads for just autoloaded namespaces, update internal state, etc. + # + # On the other hand, if you publish a new version of a gem that is now managed + # by Zeitwerk, client code can reference directly your classes and modules and + # should not require anything. But if someone has legacy require calls around, + # they will work as expected, and in a compatible way. This feature is by now + # EXPERIMENTAL and UNDOCUMENTED. + # + # source://zeitwerk//lib/zeitwerk/kernel.rb#19 + def zeitwerk_original_require(name); end end end @@ -182,6 +212,7 @@ class Zeitwerk::GemLoader < ::Zeitwerk::Loader private + # source://zeitwerk//lib/zeitwerk/gem_loader.rb#10 def new(*_arg0); end end end @@ -247,22 +278,22 @@ class Zeitwerk::Loader # source://zeitwerk//lib/zeitwerk/loader.rb#100 def initialize; end - # source://zeitwerk//lib/zeitwerk/loader.rb#42 + # source://zeitwerk//lib/zeitwerk/loader.rb#43 def __autoloaded_dirs; end - # source://zeitwerk//lib/zeitwerk/loader.rb#32 + # source://zeitwerk//lib/zeitwerk/loader.rb#33 def __autoloads; end - # source://zeitwerk//lib/zeitwerk/loader.rb#78 + # source://zeitwerk//lib/zeitwerk/loader.rb#79 def __namespace_dirs; end # source://zeitwerk//lib/zeitwerk/loader.rb#344 def __shadowed_file?(file); end - # source://zeitwerk//lib/zeitwerk/loader.rb#89 + # source://zeitwerk//lib/zeitwerk/loader.rb#90 def __shadowed_files; end - # source://zeitwerk//lib/zeitwerk/loader.rb#60 + # source://zeitwerk//lib/zeitwerk/loader.rb#61 def __to_unload; end # Returns a hash that maps the absolute paths of the managed files and @@ -553,6 +584,7 @@ module Zeitwerk::Loader::Config # source://zeitwerk//lib/zeitwerk/loader/config.rb#296 def __ignores?(abspath); end + # source://zeitwerk//lib/zeitwerk/loader/config.rb#30 def __roots; end # Configure directories or glob patterns to be collapsed.